ddy-process-h5 1.0.1-rc.3.91 → 1.0.1-rc.3.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/v2/ddy-process-h5.js +3650 -3476
- package/v2/ddy-process-h5.umd.cjs +16 -16
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-h5.js +189 -15
- package/v2.7/ddy-process-h5.umd.cjs +2 -2
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-h5.js +2494 -2349
- package/v3/ddy-process-h5.umd.cjs +9 -9
- package/v3/style.css +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
(function(vt,
|
|
1
|
+
(function(vt,Ps){typeof exports=="object"&&typeof module<"u"?Ps(exports,require("dsbridge"),require("checked-pick-app")):typeof define=="function"&&define.amd?define(["exports","dsbridge","checked-pick-app"],Ps):(vt=typeof globalThis<"u"?globalThis:vt||self,Ps(vt["ddy-process-h5"]={},vt.dsbridge,vt["checked-pick-app"]))})(this,function(vt,Ps,Jt){"use strict";const rl=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(Ps);/*!
|
|
2
2
|
* Vue.js v2.6.14
|
|
3
3
|
* (c) 2014-2021 Evan You
|
|
4
4
|
* Released under the MIT License.
|
|
5
|
-
*/var dt=Object.freeze({});function ie(e){return e==null}function b(e){return e!=null}function Ie(e){return e===!0}function
|
|
5
|
+
*/var dt=Object.freeze({});function ie(e){return e==null}function b(e){return e!=null}function Ie(e){return e===!0}function Jh(e){return e===!1}function Kt(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function Oe(e){return e!==null&&typeof e=="object"}var hn=Object.prototype.toString;function fn(e){return hn.call(e).slice(8,-1)}function Ve(e){return hn.call(e)==="[object Object]"}function al(e){return hn.call(e)==="[object RegExp]"}function ol(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function Or(e){return b(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function Kh(e){return e==null?"":Array.isArray(e)||Ve(e)&&e.toString===hn?JSON.stringify(e,null,2):String(e)}function Ds(e){var t=parseFloat(e);return isNaN(t)?e:t}function st(e,t){for(var i=Object.create(null),s=e.split(","),n=0;n<s.length;n++)i[s[n]]=!0;return t?function(r){return i[r.toLowerCase()]}:function(r){return i[r]}}var Wh=st("slot,component",!0),ll=st("key,ref,slot,slot-scope,is");function Lt(e,t){if(e.length){var i=e.indexOf(t);if(i>-1)return e.splice(i,1)}}var zh=Object.prototype.hasOwnProperty;function Pe(e,t){return zh.call(e,t)}function mi(e){var t=Object.create(null);return function(s){var n=t[s];return n||(t[s]=e(s))}}var Yh=/-(\w)/g,gi=mi(function(e){return e.replace(Yh,function(t,i){return i?i.toUpperCase():""})}),cl=mi(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Xh=/\B([A-Z])/g,yi=mi(function(e){return e.replace(Xh,"-$1").toLowerCase()});function Zh(e,t){function i(s){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,s):e.call(t)}return i._length=e.length,i}function $h(e,t){return e.bind(t)}var ef=Function.prototype.bind?$h:Zh;function Mr(e,t){t=t||0;for(var i=e.length-t,s=new Array(i);i--;)s[i]=e[i+t];return s}function ye(e,t){for(var i in t)e[i]=t[i];return e}function ul(e){for(var t={},i=0;i<e.length;i++)e[i]&&ye(t,e[i]);return t}function De(e,t,i){}var mn=function(e,t,i){return!1},pl=function(e){return e};function vi(e,t){if(e===t)return!0;var i=Oe(e),s=Oe(t);if(i&&s)try{var n=Array.isArray(e),r=Array.isArray(t);if(n&&r)return e.length===t.length&&e.every(function(l,p){return vi(l,t[p])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!n&&!r){var a=Object.keys(e),o=Object.keys(t);return a.length===o.length&&a.every(function(l){return vi(e[l],t[l])})}else return!1}catch{return!1}else return!i&&!s?String(e)===String(t):!1}function dl(e,t){for(var i=0;i<e.length;i++)if(vi(e[i],t))return i;return-1}function gn(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var hl="data-server-rendered",yn=["component","directive","filter"],fl=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],me={optionMergeStrategies:Object.create(null),silent:!1,productionTip:process.env.NODE_ENV!=="production",devtools:process.env.NODE_ENV!=="production",performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:mn,isReservedAttr:mn,isUnknownElement:mn,getTagNamespace:De,parsePlatformTagName:pl,mustUseProp:mn,async:!0,_lifecycleHooks:fl},ml=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function gl(e){var t=(e+"").charCodeAt(0);return t===36||t===95}function Xi(e,t,i,s){Object.defineProperty(e,t,{value:i,enumerable:!!s,writable:!0,configurable:!0})}var tf=new RegExp("[^"+ml.source+".$_\\d]");function sf(e){if(!tf.test(e)){var t=e.split(".");return function(i){for(var s=0;s<t.length;s++){if(!i)return;i=i[t[s]]}return i}}}var nf="__proto__"in{},We=typeof window<"u",Br=typeof WXEnvironment<"u"&&!!WXEnvironment.platform,yl=Br&&WXEnvironment.platform.toLowerCase(),Re=We&&window.navigator.userAgent.toLowerCase(),Zi=Re&&/msie|trident/.test(Re),$i=Re&&Re.indexOf("msie 9.0")>0,Rr=Re&&Re.indexOf("edge/")>0;Re&&Re.indexOf("android")>0;var rf=Re&&/iphone|ipad|ipod|ios/.test(Re)||yl==="ios";Re&&/chrome\/\d+/.test(Re),Re&&/phantomjs/.test(Re);var vl=Re&&Re.match(/firefox\/(\d+)/),Lr={}.watch,Al=!1;if(We)try{var bl={};Object.defineProperty(bl,"passive",{get:function(){Al=!0}}),window.addEventListener("test-passive",null,bl)}catch{}var vn,An=function(){return vn===void 0&&(!We&&!Br&&typeof global<"u"?vn=global.process&&global.process.env.VUE_ENV==="server":vn=!1),vn},bn=We&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Ai(e){return typeof e=="function"&&/native code/.test(e.toString())}var Cn=typeof Symbol<"u"&&Ai(Symbol)&&typeof Reflect<"u"&&Ai(Reflect.ownKeys),Os;typeof Set<"u"&&Ai(Set)?Os=Set:Os=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(i){return this.set[i]===!0},e.prototype.add=function(i){this.set[i]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Q=De,Fr=De,Vr=De,bi=De;if(process.env.NODE_ENV!=="production"){var Cl=typeof console<"u",af=/(?:^|[-_])(\w)/g,of=function(e){return e.replace(af,function(t){return t.toUpperCase()}).replace(/[-_]/g,"")};Q=function(e,t){var i=t?Vr(t):"";me.warnHandler?me.warnHandler.call(null,e,t,i):Cl&&!me.silent&&console.error("[Vue warn]: "+e+i)},Fr=function(e,t){Cl&&!me.silent&&""+e+(t?Vr(t):"")},bi=function(e,t){if(e.$root===e)return"<Root>";var i=typeof e=="function"&&e.cid!=null?e.options:e._isVue?e.$options||e.constructor.options:e,s=i.name||i._componentTag,n=i.__file;if(!s&&n){var r=n.match(/([^/\\]+)\.vue$/);s=r&&r[1]}return(s?"<"+of(s)+">":"<Anonymous>")+(n&&t!==!1?" at "+n:"")};var lf=function(e,t){for(var i="";t;)t%2===1&&(i+=e),t>1&&(e+=e),t>>=1;return i};Vr=function(e){if(e._isVue&&e.$parent){for(var t=[],i=0;e;){if(t.length>0){var s=t[t.length-1];if(s.constructor===e.constructor){i++,e=e.$parent;continue}else i>0&&(t[t.length-1]=[s,i],i=0)}t.push(e),e=e.$parent}return`
|
|
6
6
|
|
|
7
7
|
found in
|
|
8
8
|
|
|
9
|
-
`+t.map(function(
|
|
9
|
+
`+t.map(function(n,r){return""+(r===0?"---> ":lf(" ",5+r*2))+(Array.isArray(n)?bi(n[0])+"... ("+n[1]+" recursive calls)":bi(n))}).join(`
|
|
10
10
|
`)}else return`
|
|
11
11
|
|
|
12
|
-
(found in `+bi(e)+")"}}var cf=0,st=function(){this.id=cf++,this.subs=[]};st.prototype.addSub=function(t){this.subs.push(t)},st.prototype.removeSub=function(t){Lt(this.subs,t)},st.prototype.depend=function(){st.target&&st.target.addDep(this)},st.prototype.notify=function(){var t=this.subs.slice();process.env.NODE_ENV!=="production"&&!me.async&&t.sort(function(s,r){return s.id-r.id});for(var i=0,n=t.length;i<n;i++)t[i].update()},st.target=null;var ws=[];function Bn(e){ws.push(e),st.target=e}function Rn(){ws.pop(),st.target=ws[ws.length-1]}var ze=function(t,i,n,s,r,a,o,l){this.tag=t,this.data=i,this.children=n,this.text=s,this.elm=r,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=i&&i.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},wl={child:{configurable:!0}};wl.child.get=function(){return this.componentInstance},Object.defineProperties(ze.prototype,wl);var Ci=function(e){e===void 0&&(e="");var t=new ze;return t.text=e,t.isComment=!0,t};function en(e){return new ze(void 0,void 0,void 0,String(e))}function jr(e){var t=new ze(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var El=Array.prototype,Es=Object.create(El),uf=["push","pop","shift","unshift","splice","sort","reverse"];uf.forEach(function(e){var t=El[e];Xi(Es,e,function(){for(var n=[],s=arguments.length;s--;)n[s]=arguments[s];var r=t.apply(this,n),a=this.__ob__,o;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2);break}return o&&a.observeArray(o),a.dep.notify(),r})});var pf=Object.getOwnPropertyNames(Es),Ur=!0;function Wt(e){Ur=e}var xs=function(t){this.value=t,this.dep=new st,this.vmCount=0,Xi(t,"__ob__",this),Array.isArray(t)?(sf?df(t,Es):hf(t,Es,pf),this.observeArray(t)):this.walk(t)};xs.prototype.walk=function(t){for(var i=Object.keys(t),n=0;n<i.length;n++)At(t,i[n])},xs.prototype.observeArray=function(t){for(var i=0,n=t.length;i<n;i++)wi(t[i])};function df(e,t){e.__proto__=t}function hf(e,t,i){for(var n=0,s=i.length;n<s;n++){var r=i[n];Xi(e,r,t[r])}}function wi(e,t){if(!(!Oe(e)||e instanceof ze)){var i;return Pe(e,"__ob__")&&e.__ob__ instanceof xs?i=e.__ob__:Ur&&!As()&&(Array.isArray(e)||Ve(e))&&Object.isExtensible(e)&&!e._isVue&&(i=new xs(e)),t&&i&&i.vmCount++,i}}function At(e,t,i,n,s){var r=new st,a=Object.getOwnPropertyDescriptor(e,t);if(!(a&&a.configurable===!1)){var o=a&&a.get,l=a&&a.set;(!o||l)&&arguments.length===2&&(i=e[t]);var p=!s&&wi(i);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var d=o?o.call(e):i;return st.target&&(r.depend(),p&&(p.dep.depend(),Array.isArray(d)&&Il(d))),d},set:function(d){var y=o?o.call(e):i;d===y||d!==d&&y!==y||(process.env.NODE_ENV!=="production"&&n&&n(),!(o&&!l)&&(l?l.call(e,d):i=d,p=!s&&wi(d),r.notify()))}})}}function Qr(e,t,i){if(process.env.NODE_ENV!=="production"&&(ie(e)||Kt(e))&&Q("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&ol(t))return e.length=Math.max(e.length,t),e.splice(t,1,i),i;if(t in e&&!(t in Object.prototype))return e[t]=i,i;var n=e.__ob__;return e._isVue||n&&n.vmCount?(process.env.NODE_ENV!=="production"&&Q("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),i):n?(At(n.value,t,i),n.dep.notify(),i):(e[t]=i,i)}function xl(e,t){if(process.env.NODE_ENV!=="production"&&(ie(e)||Kt(e))&&Q("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&ol(t)){e.splice(t,1);return}var i=e.__ob__;if(e._isVue||i&&i.vmCount){process.env.NODE_ENV!=="production"&&Q("Avoid deleting properties on a Vue instance or its root $data - just set it to null.");return}!Pe(e,t)||(delete e[t],i&&i.dep.notify())}function Il(e){for(var t=void 0,i=0,n=e.length;i<n;i++)t=e[i],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Il(t)}var ht=me.optionMergeStrategies;process.env.NODE_ENV!=="production"&&(ht.el=ht.propsData=function(e,t,i,n){return i||Q('option "'+n+'" can only be used during instance creation with the `new` keyword.'),Tl(e,t)});function Gr(e,t){if(!t)return e;for(var i,n,s,r=Cs?Reflect.ownKeys(t):Object.keys(t),a=0;a<r.length;a++)i=r[a],i!=="__ob__"&&(n=e[i],s=t[i],Pe(e,i)?n!==s&&Ve(n)&&Ve(s)&&Gr(n,s):Qr(e,i,s));return e}function qr(e,t,i){return i?function(){var s=typeof t=="function"?t.call(i,i):t,r=typeof e=="function"?e.call(i,i):e;return s?Gr(s,r):r}:t?e?function(){return Gr(typeof t=="function"?t.call(this,this):t,typeof e=="function"?e.call(this,this):e)}:t:e}ht.data=function(e,t,i){return i?qr(e,t,i):t&&typeof t!="function"?(process.env.NODE_ENV!=="production"&&Q('The "data" option should be a function that returns a per-instance value in component definitions.',i),e):qr(e,t)};function ff(e,t){var i=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return i&&mf(i)}function mf(e){for(var t=[],i=0;i<e.length;i++)t.indexOf(e[i])===-1&&t.push(e[i]);return t}fl.forEach(function(e){ht[e]=ff});function gf(e,t,i,n){var s=Object.create(e||null);return t?(process.env.NODE_ENV!=="production"&&Hr(n,t,i),ye(s,t)):s}ys.forEach(function(e){ht[e+"s"]=gf}),ht.watch=function(e,t,i,n){if(e===Lr&&(e=void 0),t===Lr&&(t=void 0),!t)return Object.create(e||null);if(process.env.NODE_ENV!=="production"&&Hr(n,t,i),!e)return t;var s={};ye(s,e);for(var r in t){var a=s[r],o=t[r];a&&!Array.isArray(a)&&(a=[a]),s[r]=a?a.concat(o):Array.isArray(o)?o:[o]}return s},ht.props=ht.methods=ht.inject=ht.computed=function(e,t,i,n){if(t&&process.env.NODE_ENV!=="production"&&Hr(n,t,i),!e)return t;var s=Object.create(null);return ye(s,e),t&&ye(s,t),s},ht.provide=qr;var Tl=function(e,t){return t===void 0?e:t};function yf(e){for(var t in e.components)Jr(t)}function Jr(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+ml.source+"]*$").test(e)||Q('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(Wh(e)||me.isReservedTag(e))&&Q("Do not use built-in or reserved HTML elements as component id: "+e)}function vf(e,t){var i=e.props;if(!!i){var n={},s,r,a;if(Array.isArray(i))for(s=i.length;s--;)r=i[s],typeof r=="string"?(a=gi(r),n[a]={type:null}):process.env.NODE_ENV!=="production"&&Q("props must be strings when using array syntax.");else if(Ve(i))for(var o in i)r=i[o],a=gi(o),n[a]=Ve(r)?r:{type:r};else process.env.NODE_ENV!=="production"&&Q('Invalid value for option "props": expected an Array or an Object, but got '+fs(i)+".",t);e.props=n}}function Af(e,t){var i=e.inject;if(!!i){var n=e.inject={};if(Array.isArray(i))for(var s=0;s<i.length;s++)n[i[s]]={from:i[s]};else if(Ve(i))for(var r in i){var a=i[r];n[r]=Ve(a)?ye({from:r},a):{from:a}}else process.env.NODE_ENV!=="production"&&Q('Invalid value for option "inject": expected an Array or an Object, but got '+fs(i)+".",t)}}function bf(e){var t=e.directives;if(t)for(var i in t){var n=t[i];typeof n=="function"&&(t[i]={bind:n,update:n})}}function Hr(e,t,i){Ve(t)||Q('Invalid value for option "'+e+'": expected an Object, but got '+fs(t)+".",i)}function Ei(e,t,i){if(process.env.NODE_ENV!=="production"&&yf(t),typeof t=="function"&&(t=t.options),vf(t,i),Af(t,i),bf(t),!t._base&&(t.extends&&(e=Ei(e,t.extends,i)),t.mixins))for(var n=0,s=t.mixins.length;n<s;n++)e=Ei(e,t.mixins[n],i);var r={},a;for(a in e)o(a);for(a in t)Pe(e,a)||o(a);function o(l){var p=ht[l]||Tl;r[l]=p(e[l],t[l],i,l)}return r}function Kr(e,t,i,n){if(typeof i=="string"){var s=e[t];if(Pe(s,i))return s[i];var r=gi(i);if(Pe(s,r))return s[r];var a=cl(r);if(Pe(s,a))return s[a];var o=s[i]||s[r]||s[a];return process.env.NODE_ENV!=="production"&&n&&!o&&Q("Failed to resolve "+t.slice(0,-1)+": "+i,e),o}}function Wr(e,t,i,n){var s=t[e],r=!Pe(i,e),a=i[e],o=Nl(Boolean,s.type);if(o>-1){if(r&&!Pe(s,"default"))a=!1;else if(a===""||a===yi(e)){var l=Nl(String,s.type);(l<0||o<l)&&(a=!0)}}if(a===void 0){a=Cf(n,s,e);var p=Ur;Wt(!0),wi(a),Wt(p)}return process.env.NODE_ENV!=="production"&&wf(s,e,a,n,r),a}function Cf(e,t,i){if(!!Pe(t,"default")){var n=t.default;return process.env.NODE_ENV!=="production"&&Oe(n)&&Q('Invalid default value for prop "'+i+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&e.$options.propsData[i]===void 0&&e._props[i]!==void 0?e._props[i]:typeof n=="function"&&Is(t.type)!=="Function"?n.call(e):n}}function wf(e,t,i,n,s){if(e.required&&s){Q('Missing required prop: "'+t+'"',n);return}if(!(i==null&&!e.required)){var r=e.type,a=!r||r===!0,o=[];if(r){Array.isArray(r)||(r=[r]);for(var l=0;l<r.length&&!a;l++){var p=xf(i,r[l],n);o.push(p.expectedType||""),a=p.valid}}var h=o.some(function(y){return y});if(!a&&h){Q(Tf(t,i,o),n);return}var d=e.validator;d&&(d(i)||Q('Invalid prop: custom validator check failed for prop "'+t+'".',n))}}var Ef=/^(String|Number|Boolean|Function|Symbol|BigInt)$/;function xf(e,t,i){var n,s=Is(t);if(Ef.test(s)){var r=typeof e;n=r===s.toLowerCase(),!n&&r==="object"&&(n=e instanceof t)}else if(s==="Object")n=Ve(e);else if(s==="Array")n=Array.isArray(e);else try{n=e instanceof t}catch{Q('Invalid prop type: "'+String(t)+'" is not a constructor',i),n=!1}return{valid:n,expectedType:s}}var If=/^\s*function (\w+)/;function Is(e){var t=e&&e.toString().match(If);return t?t[1]:""}function _l(e,t){return Is(e)===Is(t)}function Nl(e,t){if(!Array.isArray(t))return _l(t,e)?0:-1;for(var i=0,n=t.length;i<n;i++)if(_l(t[i],e))return i;return-1}function Tf(e,t,i){var n='Invalid prop: type check failed for prop "'+e+'". Expected '+i.map(cl).join(", "),s=i[0],r=fs(t);return i.length===1&&zr(s)&&zr(typeof t)&&!Nf(s,r)&&(n+=" with value "+kl(t,s)),n+=", got "+r+" ",zr(r)&&(n+="with value "+kl(t,r)+"."),n}function kl(e,t){return t==="String"?'"'+e+'"':t==="Number"?""+Number(e):""+e}var _f=["string","number","boolean"];function zr(e){return _f.some(function(t){return e.toLowerCase()===t})}function Nf(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return e.some(function(i){return i.toLowerCase()==="boolean"})}function zt(e,t,i){Bn();try{if(t)for(var n=t;n=n.$parent;){var s=n.$options.errorCaptured;if(s)for(var r=0;r<s.length;r++)try{var a=s[r].call(n,e,t,i)===!1;if(a)return}catch(o){Sl(o,n,"errorCaptured hook")}}Sl(e,t,i)}finally{Rn()}}function tn(e,t,i,n,s){var r;try{r=i?e.apply(t,i):e.call(t),r&&!r._isVue&&Or(r)&&!r._handled&&(r.catch(function(a){return zt(a,n,s+" (Promise/async)")}),r._handled=!0)}catch(a){zt(a,n,s)}return r}function Sl(e,t,i){if(me.errorHandler)try{return me.errorHandler.call(null,e,t,i)}catch(n){n!==e&&Pl(n,null,"config.errorHandler")}Pl(e,t,i)}function Pl(e,t,i){if(process.env.NODE_ENV!=="production"&&Q("Error in "+i+': "'+e.toString()+'"',t),(We||Br)&&typeof console<"u")console.error(e);else throw e}var Yr=!1,Xr=[],Zr=!1;function Ts(){Zr=!1;var e=Xr.slice(0);Xr.length=0;for(var t=0;t<e.length;t++)e[t]()}var Ln;if(typeof Promise<"u"&&Ai(Promise)){var kf=Promise.resolve();Ln=function(){kf.then(Ts),rf&&setTimeout(De)},Yr=!0}else if(!Zi&&typeof MutationObserver<"u"&&(Ai(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var _s=1,Sf=new MutationObserver(Ts),Dl=document.createTextNode(String(_s));Sf.observe(Dl,{characterData:!0}),Ln=function(){_s=(_s+1)%2,Dl.data=String(_s)},Yr=!0}else typeof setImmediate<"u"&&Ai(setImmediate)?Ln=function(){setImmediate(Ts)}:Ln=function(){setTimeout(Ts,0)};function $r(e,t){var i;if(Xr.push(function(){if(e)try{e.call(t)}catch(n){zt(n,t,"nextTick")}else i&&i(t)}),Zr||(Zr=!0,Ln()),!e&&typeof Promise<"u")return new Promise(function(n){i=n})}var Ol;if(process.env.NODE_ENV!=="production"){var Pf=nt("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,require"),Ml=function(e,t){Q('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},Bl=function(e,t){Q('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},Rl=typeof Proxy<"u"&&Ai(Proxy);if(Rl){var Df=nt("stop,prevent,self,ctrl,shift,alt,meta,exact");me.keyCodes=new Proxy(me.keyCodes,{set:function(t,i,n){return Df(i)?(Q("Avoid overwriting built-in modifier in config.keyCodes: ."+i),!1):(t[i]=n,!0)}})}var Of={has:function(t,i){var n=i in t,s=Pf(i)||typeof i=="string"&&i.charAt(0)==="_"&&!(i in t.$data);return!n&&!s&&(i in t.$data?Bl(t,i):Ml(t,i)),n||!s}},Mf={get:function(t,i){return typeof i=="string"&&!(i in t)&&(i in t.$data?Bl(t,i):Ml(t,i)),t[i]}};Ol=function(t){if(Rl){var i=t.$options,n=i.render&&i.render._withStripped?Mf:Of;t._renderProxy=new Proxy(t,n)}else t._renderProxy=t}}var Ll=new Mn;function Ns(e){ea(e,Ll),Ll.clear()}function ea(e,t){var i,n,s=Array.isArray(e);if(!(!s&&!Oe(e)||Object.isFrozen(e)||e instanceof ze)){if(e.__ob__){var r=e.__ob__.dep.id;if(t.has(r))return;t.add(r)}if(s)for(i=e.length;i--;)ea(e[i],t);else for(n=Object.keys(e),i=n.length;i--;)ea(e[n[i]],t)}}var kt,ks;if(process.env.NODE_ENV!=="production"){var Ft=We&&window.performance;Ft&&Ft.mark&&Ft.measure&&Ft.clearMarks&&Ft.clearMeasures&&(kt=function(e){return Ft.mark(e)},ks=function(e,t,i){Ft.measure(e,t,i),Ft.clearMarks(t),Ft.clearMarks(i)})}var Fl=mi(function(e){var t=e.charAt(0)==="&";e=t?e.slice(1):e;var i=e.charAt(0)==="~";e=i?e.slice(1):e;var n=e.charAt(0)==="!";return e=n?e.slice(1):e,{name:e,once:i,capture:n,passive:t}});function ta(e,t){function i(){var n=arguments,s=i.fns;if(Array.isArray(s))for(var r=s.slice(),a=0;a<r.length;a++)tn(r[a],null,n,t,"v-on handler");else return tn(s,null,arguments,t,"v-on handler")}return i.fns=e,i}function Vl(e,t,i,n,s,r){var a,o,l,p;for(a in e)o=e[a],l=t[a],p=Fl(a),ie(o)?process.env.NODE_ENV!=="production"&&Q('Invalid handler for event "'+p.name+'": got '+String(o),r):ie(l)?(ie(o.fns)&&(o=e[a]=ta(o,r)),Ie(p.once)&&(o=e[a]=s(p.name,o,p.capture)),i(p.name,o,p.capture,p.passive,p.params)):o!==l&&(l.fns=o,e[a]=l);for(a in t)ie(e[a])&&(p=Fl(a),n(p.name,t[a],p.capture))}function Yt(e,t,i){e instanceof ze&&(e=e.data.hook||(e.data.hook={}));var n,s=e[t];function r(){i.apply(this,arguments),Lt(n.fns,r)}ie(s)?n=ta([r]):b(s.fns)&&Ie(s.merged)?(n=s,n.fns.push(r)):n=ta([s,r]),n.merged=!0,e[t]=n}function Bf(e,t,i){var n=t.options.props;if(!ie(n)){var s={},r=e.attrs,a=e.props;if(b(r)||b(a))for(var o in n){var l=yi(o);if(process.env.NODE_ENV!=="production"){var p=o.toLowerCase();o!==p&&r&&Pe(r,p)&&Fr('Prop "'+p+'" is passed to component '+bi(i||t)+', but the declared prop name is "'+o+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+l+'" instead of "'+o+'".')}jl(s,a,o,l,!0)||jl(s,r,o,l,!1)}return s}}function jl(e,t,i,n,s){if(b(t)){if(Pe(t,i))return e[i]=t[i],s||delete t[i],!0;if(Pe(t,n))return e[i]=t[n],s||delete t[n],!0}return!1}function Rf(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function ia(e){return Kt(e)?[en(e)]:Array.isArray(e)?Ul(e):void 0}function Fn(e){return b(e)&&b(e.text)&&Hh(e.isComment)}function Ul(e,t){var i=[],n,s,r,a;for(n=0;n<e.length;n++)s=e[n],!(ie(s)||typeof s=="boolean")&&(r=i.length-1,a=i[r],Array.isArray(s)?s.length>0&&(s=Ul(s,(t||"")+"_"+n),Fn(s[0])&&Fn(a)&&(i[r]=en(a.text+s[0].text),s.shift()),i.push.apply(i,s)):Kt(s)?Fn(a)?i[r]=en(a.text+s):s!==""&&i.push(en(s)):Fn(s)&&Fn(a)?i[r]=en(a.text+s.text):(Ie(e._isVList)&&b(s.tag)&&ie(s.key)&&b(t)&&(s.key="__vlist"+t+"_"+n+"__"),i.push(s)));return i}function Lf(e){var t=e.$options.provide;t&&(e._provided=typeof t=="function"?t.call(e):t)}function Ff(e){var t=Ql(e.$options.inject,e);t&&(Wt(!1),Object.keys(t).forEach(function(i){process.env.NODE_ENV!=="production"?At(e,i,t[i],function(){Q('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+i+'"',e)}):At(e,i,t[i])}),Wt(!0))}function Ql(e,t){if(e){for(var i=Object.create(null),n=Cs?Reflect.ownKeys(e):Object.keys(e),s=0;s<n.length;s++){var r=n[s];if(r!=="__ob__"){for(var a=e[r].from,o=t;o;){if(o._provided&&Pe(o._provided,a)){i[r]=o._provided[a];break}o=o.$parent}if(!o)if("default"in e[r]){var l=e[r].default;i[r]=typeof l=="function"?l.call(t):l}else process.env.NODE_ENV!=="production"&&Q('Injection "'+r+'" not found',t)}}return i}}function na(e,t){if(!e||!e.length)return{};for(var i={},n=0,s=e.length;n<s;n++){var r=e[n],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,(r.context===t||r.fnContext===t)&&a&&a.slot!=null){var o=a.slot,l=i[o]||(i[o]=[]);r.tag==="template"?l.push.apply(l,r.children||[]):l.push(r)}else(i.default||(i.default=[])).push(r)}for(var p in i)i[p].every(Vf)&&delete i[p];return i}function Vf(e){return e.isComment&&!e.asyncFactory||e.text===" "}function Vn(e){return e.isComment&&e.asyncFactory}function Ss(e,t,i){var n,s=Object.keys(t).length>0,r=e?!!e.$stable:!s,a=e&&e.$key;if(!e)n={};else{if(e._normalized)return e._normalized;if(r&&i&&i!==dt&&a===i.$key&&!s&&!i.$hasNormal)return i;n={};for(var o in e)e[o]&&o[0]!=="$"&&(n[o]=jf(t,o,e[o]))}for(var l in t)l in n||(n[l]=Uf(t,l));return e&&Object.isExtensible(e)&&(e._normalized=n),Xi(n,"$stable",r),Xi(n,"$key",a),Xi(n,"$hasNormal",s),n}function jf(e,t,i){var n=function(){var s=arguments.length?i.apply(null,arguments):i({});s=s&&typeof s=="object"&&!Array.isArray(s)?[s]:ia(s);var r=s&&s[0];return s&&(!r||s.length===1&&r.isComment&&!Vn(r))?void 0:s};return i.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n}function Uf(e,t){return function(){return e[t]}}function Qf(e,t){var i,n,s,r,a;if(Array.isArray(e)||typeof e=="string")for(i=new Array(e.length),n=0,s=e.length;n<s;n++)i[n]=t(e[n],n);else if(typeof e=="number")for(i=new Array(e),n=0;n<e;n++)i[n]=t(n+1,n);else if(Oe(e))if(Cs&&e[Symbol.iterator]){i=[];for(var o=e[Symbol.iterator](),l=o.next();!l.done;)i.push(t(l.value,i.length)),l=o.next()}else for(r=Object.keys(e),i=new Array(r.length),n=0,s=r.length;n<s;n++)a=r[n],i[n]=t(e[a],a,n);return b(i)||(i=[]),i._isVList=!0,i}function Gf(e,t,i,n){var s=this.$scopedSlots[e],r;s?(i=i||{},n&&(process.env.NODE_ENV!=="production"&&!Oe(n)&&Q("slot v-bind without argument expects an Object",this),i=ye(ye({},n),i)),r=s(i)||(typeof t=="function"?t():t)):r=this.$slots[e]||(typeof t=="function"?t():t);var a=i&&i.slot;return a?this.$createElement("template",{slot:a},r):r}function qf(e){return Kr(this.$options,"filters",e,!0)||pl}function Gl(e,t){return Array.isArray(e)?e.indexOf(t)===-1:e!==t}function Jf(e,t,i,n,s){var r=me.keyCodes[t]||i;return s&&n&&!me.keyCodes[t]?Gl(s,n):r?Gl(r,e):n?yi(n)!==t:e===void 0}function Hf(e,t,i,n,s){if(i)if(!Oe(i))process.env.NODE_ENV!=="production"&&Q("v-bind without argument expects an Object or Array value",this);else{Array.isArray(i)&&(i=ul(i));var r,a=function(l){if(l==="class"||l==="style"||ll(l))r=e;else{var p=e.attrs&&e.attrs.type;r=n||me.mustUseProp(t,p,l)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var h=gi(l),d=yi(l);if(!(h in r)&&!(d in r)&&(r[l]=i[l],s)){var y=e.on||(e.on={});y["update:"+l]=function(x){i[l]=x}}};for(var o in i)a(o)}return e}function Kf(e,t){var i=this._staticTrees||(this._staticTrees=[]),n=i[e];return n&&!t||(n=i[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),ql(n,"__static__"+e,!1)),n}function Wf(e,t,i){return ql(e,"__once__"+t+(i?"_"+i:""),!0),e}function ql(e,t,i){if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]&&typeof e[n]!="string"&&Jl(e[n],t+"_"+n,i);else Jl(e,t,i)}function Jl(e,t,i){e.isStatic=!0,e.key=t,e.isOnce=i}function zf(e,t){if(t)if(!Ve(t))process.env.NODE_ENV!=="production"&&Q("v-on without argument expects an Object value",this);else{var i=e.on=e.on?ye({},e.on):{};for(var n in t){var s=i[n],r=t[n];i[n]=s?[].concat(s,r):r}}return e}function Hl(e,t,i,n){t=t||{$stable:!i};for(var s=0;s<e.length;s++){var r=e[s];Array.isArray(r)?Hl(r,t,i):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return n&&(t.$key=n),t}function Yf(e,t){for(var i=0;i<t.length;i+=2){var n=t[i];typeof n=="string"&&n?e[t[i]]=t[i+1]:process.env.NODE_ENV!=="production"&&n!==""&&n!==null&&Q("Invalid value for dynamic directive argument (expected string or null): "+n,this)}return e}function Xf(e,t){return typeof e=="string"?t+e:e}function Kl(e){e._o=Wf,e._n=On,e._s=Kh,e._l=Qf,e._t=Gf,e._q=vi,e._i=dl,e._m=Kf,e._f=qf,e._k=Jf,e._b=Hf,e._v=en,e._e=Ci,e._u=Hl,e._g=zf,e._d=Yf,e._p=Xf}function sa(e,t,i,n,s){var r=this,a=s.options,o;Pe(n,"_uid")?(o=Object.create(n),o._original=n):(o=n,n=n._original);var l=Ie(a._compiled),p=!l;this.data=e,this.props=t,this.children=i,this.parent=n,this.listeners=e.on||dt,this.injections=Ql(a.inject,n),this.slots=function(){return r.$slots||Ss(e.scopedSlots,r.$slots=na(i,n)),r.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ss(e.scopedSlots,this.slots())}}),l&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=Ss(e.scopedSlots,this.$slots)),a._scopeId?this._c=function(h,d,y,x){var M=Ps(o,h,d,y,x,p);return M&&!Array.isArray(M)&&(M.fnScopeId=a._scopeId,M.fnContext=n),M}:this._c=function(h,d,y,x){return Ps(o,h,d,y,x,p)}}Kl(sa.prototype);function Zf(e,t,i,n,s){var r=e.options,a={},o=r.props;if(b(o))for(var l in o)a[l]=Wr(l,o,t||dt);else b(i.attrs)&&zl(a,i.attrs),b(i.props)&&zl(a,i.props);var p=new sa(i,a,s,n,e),h=r.render.call(null,p._c,p);if(h instanceof ze)return Wl(h,i,p.parent,r,p);if(Array.isArray(h)){for(var d=ia(h)||[],y=new Array(d.length),x=0;x<d.length;x++)y[x]=Wl(d[x],i,p.parent,r,p);return y}}function Wl(e,t,i,n,s){var r=jr(e);return r.fnContext=i,r.fnOptions=n,process.env.NODE_ENV!=="production"&&((r.devtoolsMeta=r.devtoolsMeta||{}).renderContext=s),t.slot&&((r.data||(r.data={})).slot=t.slot),r}function zl(e,t){for(var i in t)e[gi(i)]=t[i]}var ra={init:function(t,i){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;ra.prepatch(n,n)}else{var s=t.componentInstance=$f(t,xi);s.$mount(i?t.elm:void 0,i)}},prepatch:function(t,i){var n=i.componentOptions,s=i.componentInstance=t.componentInstance;vm(s,n.propsData,n.listeners,i,n.children)},insert:function(t){var i=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,bt(n,"mounted")),t.data.keepAlive&&(i._isMounted?wm(n):la(n,!0))},destroy:function(t){var i=t.componentInstance;i._isDestroyed||(t.data.keepAlive?sc(i,!0):i.$destroy())}},Yl=Object.keys(ra);function Xl(e,t,i,n,s){if(!ie(e)){var r=i.$options._base;if(Oe(e)&&(e=r.extend(e)),typeof e!="function"){process.env.NODE_ENV!=="production"&&Q("Invalid Component definition: "+String(e),i);return}var a;if(ie(e.cid)&&(a=e,e=cm(a,r),e===void 0))return lm(a,t,i,n,s);t=t||{},ga(e),b(t.model)&&im(e.options,t);var o=Bf(t,e,s);if(Ie(e.options.functional))return Zf(e,o,t,i,n);var l=t.on;if(t.on=t.nativeOn,Ie(e.options.abstract)){var p=t.slot;t={},p&&(t.slot=p)}em(t);var h=e.options.name||s,d=new ze("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,i,{Ctor:e,propsData:o,listeners:l,tag:s,children:n},a);return d}}function $f(e,t){var i={_isComponent:!0,_parentVnode:e,parent:t},n=e.data.inlineTemplate;return b(n)&&(i.render=n.render,i.staticRenderFns=n.staticRenderFns),new e.componentOptions.Ctor(i)}function em(e){for(var t=e.hook||(e.hook={}),i=0;i<Yl.length;i++){var n=Yl[i],s=t[n],r=ra[n];s!==r&&!(s&&s._merged)&&(t[n]=s?tm(r,s):r)}}function tm(e,t){var i=function(n,s){e(n,s),t(n,s)};return i._merged=!0,i}function im(e,t){var i=e.model&&e.model.prop||"value",n=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[i]=t.model.value;var s=t.on||(t.on={}),r=s[n],a=t.model.callback;b(r)?(Array.isArray(r)?r.indexOf(a)===-1:r!==a)&&(s[n]=[a].concat(r)):s[n]=a}var nm=1,Zl=2;function Ps(e,t,i,n,s,r){return(Array.isArray(i)||Kt(i))&&(s=n,n=i,i=void 0),Ie(r)&&(s=Zl),sm(e,t,i,n,s)}function sm(e,t,i,n,s){if(b(i)&&b(i.__ob__))return process.env.NODE_ENV!=="production"&&Q("Avoid using observed data object as vnode data: "+JSON.stringify(i)+`
|
|
13
|
-
Always create fresh vnode data objects in each render!`,e),Ci();if(b(i)&&b(i.is)&&(t=i.is),!t)return Ci();process.env.NODE_ENV!=="production"&&b(i)&&b(i.key)&&!Kt(i.key)&&Q("Avoid using non-primitive value as key, use string/number value instead.",e),Array.isArray(
|
|
14
|
-
Reason: `+d:"")),b(e.errorComp)&&(e.error=!0,o(!0))}),h=e(l,p);return Oe(h)&&(Or(h)?ie(e.resolved)&&h.then(l,p):Or(h.component)&&(h.component.then(l,p),b(h.error)&&(e.errorComp=oa(h.error,t)),b(h.loading)&&(e.loadingComp=oa(h.loading,t),h.delay===0?e.loading=!0:r=setTimeout(function(){r=null,ie(e.resolved)&&ie(e.error)&&(e.loading=!0,o(!1))},h.delay||200)),b(h.timeout)&&(a=setTimeout(function(){a=null,ie(e.resolved)&&p(process.env.NODE_ENV!=="production"?"timeout ("+h.timeout+"ms)":null)},h.timeout)))),s=!1,e.loading?e.loadingComp:e.resolved}}function ec(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var i=e[t];if(b(i)&&(b(i.componentOptions)||Vn(i)))return i}}function um(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&tc(e,t)}var jn;function pm(e,t){jn.$on(e,t)}function dm(e,t){jn.$off(e,t)}function hm(e,t){var i=jn;return function n(){var s=t.apply(null,arguments);s!==null&&i.$off(e,n)}}function tc(e,t,i){jn=e,Vl(t,i||{},pm,dm,hm,e),jn=void 0}function fm(e){var t=/^hook:/;e.prototype.$on=function(i,n){var s=this;if(Array.isArray(i))for(var r=0,a=i.length;r<a;r++)s.$on(i[r],n);else(s._events[i]||(s._events[i]=[])).push(n),t.test(i)&&(s._hasHookEvent=!0);return s},e.prototype.$once=function(i,n){var s=this;function r(){s.$off(i,r),n.apply(s,arguments)}return r.fn=n,s.$on(i,r),s},e.prototype.$off=function(i,n){var s=this;if(!arguments.length)return s._events=Object.create(null),s;if(Array.isArray(i)){for(var r=0,a=i.length;r<a;r++)s.$off(i[r],n);return s}var o=s._events[i];if(!o)return s;if(!n)return s._events[i]=null,s;for(var l,p=o.length;p--;)if(l=o[p],l===n||l.fn===n){o.splice(p,1);break}return s},e.prototype.$emit=function(i){var n=this;if(process.env.NODE_ENV!=="production"){var s=i.toLowerCase();s!==i&&n._events[s]&&Fr('Event "'+s+'" is emitted in component '+bi(n)+' but the handler is registered for "'+i+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+yi(i)+'" instead of "'+i+'".')}var r=n._events[i];if(r){r=r.length>1?Mr(r):r;for(var a=Mr(arguments,1),o='event handler for "'+i+'"',l=0,p=r.length;l<p;l++)tn(r[l],n,a,n,o)}return n}}var xi=null,Un=!1;function ic(e){var t=xi;return xi=e,function(){xi=t}}function mm(e){var t=e.$options,i=t.parent;if(i&&!t.abstract){for(;i.$options.abstract&&i.$parent;)i=i.$parent;i.$children.push(e)}e.$parent=i,e.$root=i?i.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function gm(e){e.prototype._update=function(t,i){var n=this,s=n.$el,r=n._vnode,a=ic(n);n._vnode=t,r?n.$el=n.__patch__(r,t):n.$el=n.__patch__(n.$el,t,i,!1),a(),s&&(s.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},e.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){bt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var i=t.$parent;i&&!i._isBeingDestroyed&&!t.$options.abstract&&Lt(i.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),bt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function ym(e,t,i){e.$el=t,e.$options.render||(e.$options.render=Ci,process.env.NODE_ENV!=="production"&&(e.$options.template&&e.$options.template.charAt(0)!=="#"||e.$options.el||t?Q("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):Q("Failed to mount component: template or render function not defined.",e))),bt(e,"beforeMount");var n;return process.env.NODE_ENV!=="production"&&me.performance&&kt?n=function(){var s=e._name,r=e._uid,a="vue-perf-start:"+r,o="vue-perf-end:"+r;kt(a);var l=e._render();kt(o),ks("vue "+s+" render",a,o),kt(a),e._update(l,i),kt(o),ks("vue "+s+" patch",a,o)}:n=function(){e._update(e._render(),i)},new Ct(e,n,De,{before:function(){e._isMounted&&!e._isDestroyed&&bt(e,"beforeUpdate")}},!0),i=!1,e.$vnode==null&&(e._isMounted=!0,bt(e,"mounted")),e}function vm(e,t,i,n,s){process.env.NODE_ENV!=="production"&&(Un=!0);var r=n.data.scopedSlots,a=e.$scopedSlots,o=!!(r&&!r.$stable||a!==dt&&!a.$stable||r&&e.$scopedSlots.$key!==r.$key||!r&&e.$scopedSlots.$key),l=!!(s||e.$options._renderChildren||o);if(e.$options._parentVnode=n,e.$vnode=n,e._vnode&&(e._vnode.parent=n),e.$options._renderChildren=s,e.$attrs=n.data.attrs||dt,e.$listeners=i||dt,t&&e.$options.props){Wt(!1);for(var p=e._props,h=e.$options._propKeys||[],d=0;d<h.length;d++){var y=h[d],x=e.$options.props;p[y]=Wr(y,x,t,e)}Wt(!0),e.$options.propsData=t}i=i||dt;var M=e.$options._parentListeners;e.$options._parentListeners=i,tc(e,i,M),l&&(e.$slots=na(s,n.context),e.$forceUpdate()),process.env.NODE_ENV!=="production"&&(Un=!1)}function nc(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function la(e,t){if(t){if(e._directInactive=!1,nc(e))return}else if(e._directInactive)return;if(e._inactive||e._inactive===null){e._inactive=!1;for(var i=0;i<e.$children.length;i++)la(e.$children[i]);bt(e,"activated")}}function sc(e,t){if(!(t&&(e._directInactive=!0,nc(e)))&&!e._inactive){e._inactive=!0;for(var i=0;i<e.$children.length;i++)sc(e.$children[i]);bt(e,"deactivated")}}function bt(e,t){Bn();var i=e.$options[t],n=t+" hook";if(i)for(var s=0,r=i.length;s<r;s++)tn(i[s],e,null,e,n);e._hasHookEvent&&e.$emit("hook:"+t),Rn()}var Am=100,Vt=[],ca=[],Qn={},Ds={},ua=!1,pa=!1,nn=0;function bm(){nn=Vt.length=ca.length=0,Qn={},process.env.NODE_ENV!=="production"&&(Ds={}),ua=pa=!1}var rc=0,da=Date.now;if(We&&!Zi){var ha=window.performance;ha&&typeof ha.now=="function"&&da()>document.createEvent("Event").timeStamp&&(da=function(){return ha.now()})}function ac(){rc=da(),pa=!0;var e,t;for(Vt.sort(function(s,r){return s.id-r.id}),nn=0;nn<Vt.length;nn++)if(e=Vt[nn],e.before&&e.before(),t=e.id,Qn[t]=null,e.run(),process.env.NODE_ENV!=="production"&&Qn[t]!=null&&(Ds[t]=(Ds[t]||0)+1,Ds[t]>Am)){Q("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var i=ca.slice(),n=Vt.slice();bm(),Em(i),Cm(n),bs&&me.devtools&&bs.emit("flush")}function Cm(e){for(var t=e.length;t--;){var i=e[t],n=i.vm;n._watcher===i&&n._isMounted&&!n._isDestroyed&&bt(n,"updated")}}function wm(e){e._inactive=!1,ca.push(e)}function Em(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,la(e[t],!0)}function xm(e){var t=e.id;if(Qn[t]==null){if(Qn[t]=!0,!pa)Vt.push(e);else{for(var i=Vt.length-1;i>nn&&Vt[i].id>e.id;)i--;Vt.splice(i+1,0,e)}if(!ua){if(ua=!0,process.env.NODE_ENV!=="production"&&!me.async){ac();return}$r(ac)}}}var Im=0,Ct=function(t,i,n,s,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),s?(this.deep=!!s.deep,this.user=!!s.user,this.lazy=!!s.lazy,this.sync=!!s.sync,this.before=s.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Im,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Mn,this.newDepIds=new Mn,this.expression=process.env.NODE_ENV!=="production"?i.toString():"",typeof i=="function"?this.getter=i:(this.getter=nf(i),this.getter||(this.getter=De,process.env.NODE_ENV!=="production"&&Q('Failed watching path: "'+i+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',t))),this.value=this.lazy?void 0:this.get()};Ct.prototype.get=function(){Bn(this);var t,i=this.vm;try{t=this.getter.call(i,i)}catch(n){if(this.user)zt(n,i,'getter for watcher "'+this.expression+'"');else throw n}finally{this.deep&&Ns(t),Rn(),this.cleanupDeps()}return t},Ct.prototype.addDep=function(t){var i=t.id;this.newDepIds.has(i)||(this.newDepIds.add(i),this.newDeps.push(t),this.depIds.has(i)||t.addSub(this))},Ct.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var i=this.deps[t];this.newDepIds.has(i.id)||i.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Ct.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():xm(this)},Ct.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||Oe(t)||this.deep){var i=this.value;if(this.value=t,this.user){var n='callback for watcher "'+this.expression+'"';tn(this.cb,this.vm,[t,i],this.vm,n)}else this.cb.call(this.vm,t,i)}}},Ct.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ct.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Ct.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||Lt(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var St={enumerable:!0,configurable:!0,get:De,set:De};function fa(e,t,i){St.get=function(){return this[t][i]},St.set=function(s){this[t][i]=s},Object.defineProperty(e,i,St)}function Tm(e){e._watchers=[];var t=e.$options;t.props&&_m(e,t.props),t.methods&&Dm(e,t.methods),t.data?Nm(e):wi(e._data={},!0),t.computed&&Pm(e,t.computed),t.watch&&t.watch!==Lr&&Om(e,t.watch)}function _m(e,t){var i=e.$options.propsData||{},n=e._props={},s=e.$options._propKeys=[],r=!e.$parent;r||Wt(!1);var a=function(l){s.push(l);var p=Wr(l,t,i,e);if(process.env.NODE_ENV!=="production"){var h=yi(l);(ll(h)||me.isReservedAttr(h))&&Q('"'+h+'" is a reserved attribute and cannot be used as component prop.',e),At(n,l,p,function(){!r&&!Un&&Q(`Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "`+l+'"',e)})}else At(n,l,p);l in e||fa(e,"_props",l)};for(var o in t)a(o);Wt(!0)}function Nm(e){var t=e.$options.data;t=e._data=typeof t=="function"?km(t,e):t||{},Ve(t)||(t={},process.env.NODE_ENV!=="production"&&Q(`data functions should return an object:
|
|
15
|
-
https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function`,e));for(var i=Object.keys(t),n=e.$options.props,s=e.$options.methods,r=i.length;r--;){var a=i[r];process.env.NODE_ENV!=="production"&&s&&Pe(s,a)&&Q('Method "'+a+'" has already been defined as a data property.',e),n&&Pe(n,a)?process.env.NODE_ENV!=="production"&&Q('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):gl(a)||fa(e,"_data",a)}wi(t,!0)}function km(e,t){Bn();try{return e.call(t,t)}catch(i){return zt(i,t,"data()"),{}}finally{Rn()}}var Sm={lazy:!0};function Pm(e,t){var i=e._computedWatchers=Object.create(null),n=As();for(var s in t){var r=t[s],a=typeof r=="function"?r:r.get;process.env.NODE_ENV!=="production"&&a==null&&Q('Getter is missing for computed property "'+s+'".',e),n||(i[s]=new Ct(e,a||De,De,Sm)),s in e?process.env.NODE_ENV!=="production"&&(s in e.$data?Q('The computed property "'+s+'" is already defined in data.',e):e.$options.props&&s in e.$options.props?Q('The computed property "'+s+'" is already defined as a prop.',e):e.$options.methods&&s in e.$options.methods&&Q('The computed property "'+s+'" is already defined as a method.',e)):oc(e,s,r)}}function oc(e,t,i){var n=!As();typeof i=="function"?(St.get=n?lc(t):cc(i),St.set=De):(St.get=i.get?n&&i.cache!==!1?lc(t):cc(i.get):De,St.set=i.set||De),process.env.NODE_ENV!=="production"&&St.set===De&&(St.set=function(){Q('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,St)}function lc(e){return function(){var i=this._computedWatchers&&this._computedWatchers[e];if(i)return i.dirty&&i.evaluate(),st.target&&i.depend(),i.value}}function cc(e){return function(){return e.call(this,this)}}function Dm(e,t){var i=e.$options.props;for(var n in t)process.env.NODE_ENV!=="production"&&(typeof t[n]!="function"&&Q('Method "'+n+'" has type "'+typeof t[n]+'" in the component definition. Did you reference the function correctly?',e),i&&Pe(i,n)&&Q('Method "'+n+'" has already been defined as a prop.',e),n in e&&gl(n)&&Q('Method "'+n+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.')),e[n]=typeof t[n]!="function"?De:ef(t[n],e)}function Om(e,t){for(var i in t){var n=t[i];if(Array.isArray(n))for(var s=0;s<n.length;s++)ma(e,i,n[s]);else ma(e,i,n)}}function ma(e,t,i,n){return Ve(i)&&(n=i,i=i.handler),typeof i=="string"&&(i=e[i]),e.$watch(t,i,n)}function Mm(e){var t={};t.get=function(){return this._data};var i={};i.get=function(){return this._props},process.env.NODE_ENV!=="production"&&(t.set=function(){Q("Avoid replacing instance root $data. Use nested data properties instead.",this)},i.set=function(){Q("$props is readonly.",this)}),Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",i),e.prototype.$set=Qr,e.prototype.$delete=xl,e.prototype.$watch=function(n,s,r){var a=this;if(Ve(s))return ma(a,n,s,r);r=r||{},r.user=!0;var o=new Ct(a,n,s,r);if(r.immediate){var l='callback for immediate watcher "'+o.expression+'"';Bn(),tn(s,a,[o.value],a,l),Rn()}return function(){o.teardown()}}}var Bm=0;function Rm(e){e.prototype._init=function(t){var i=this;i._uid=Bm++;var n,s;process.env.NODE_ENV!=="production"&&me.performance&&kt&&(n="vue-perf-start:"+i._uid,s="vue-perf-end:"+i._uid,kt(n)),i._isVue=!0,t&&t._isComponent?Lm(i,t):i.$options=Ei(ga(i.constructor),t||{},i),process.env.NODE_ENV!=="production"?Ol(i):i._renderProxy=i,i._self=i,mm(i),um(i),am(i),bt(i,"beforeCreate"),Ff(i),Tm(i),Lf(i),bt(i,"created"),process.env.NODE_ENV!=="production"&&me.performance&&kt&&(i._name=bi(i,!1),kt(s),ks("vue "+i._name+" init",n,s)),i.$options.el&&i.$mount(i.$options.el)}}function Lm(e,t){var i=e.$options=Object.create(e.constructor.options),n=t._parentVnode;i.parent=t.parent,i._parentVnode=n;var s=n.componentOptions;i.propsData=s.propsData,i._parentListeners=s.listeners,i._renderChildren=s.children,i._componentTag=s.tag,t.render&&(i.render=t.render,i.staticRenderFns=t.staticRenderFns)}function ga(e){var t=e.options;if(e.super){var i=ga(e.super),n=e.superOptions;if(i!==n){e.superOptions=i;var s=Fm(e);s&&ye(e.extendOptions,s),t=e.options=Ei(i,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Fm(e){var t,i=e.options,n=e.sealedOptions;for(var s in i)i[s]!==n[s]&&(t||(t={}),t[s]=i[s]);return t}function Ce(e){process.env.NODE_ENV!=="production"&&!(this instanceof Ce)&&Q("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}Rm(Ce),Mm(Ce),fm(Ce),gm(Ce),om(Ce);function Vm(e){e.use=function(t){var i=this._installedPlugins||(this._installedPlugins=[]);if(i.indexOf(t)>-1)return this;var n=Mr(arguments,1);return n.unshift(this),typeof t.install=="function"?t.install.apply(t,n):typeof t=="function"&&t.apply(null,n),i.push(t),this}}function jm(e){e.mixin=function(t){return this.options=Ei(this.options,t),this}}function Um(e){e.cid=0;var t=1;e.extend=function(i){i=i||{};var n=this,s=n.cid,r=i._Ctor||(i._Ctor={});if(r[s])return r[s];var a=i.name||n.options.name;process.env.NODE_ENV!=="production"&&a&&Jr(a);var o=function(p){this._init(p)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=Ei(n.options,i),o.super=n,o.options.props&&Qm(o),o.options.computed&&Gm(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,ys.forEach(function(l){o[l]=n[l]}),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=i,o.sealedOptions=ye({},o.options),r[s]=o,o}}function Qm(e){var t=e.options.props;for(var i in t)fa(e.prototype,"_props",i)}function Gm(e){var t=e.options.computed;for(var i in t)oc(e.prototype,i,t[i])}function qm(e){ys.forEach(function(t){e[t]=function(i,n){return n?(process.env.NODE_ENV!=="production"&&t==="component"&&Jr(i),t==="component"&&Ve(n)&&(n.name=n.name||i,n=this.options._base.extend(n)),t==="directive"&&typeof n=="function"&&(n={bind:n,update:n}),this.options[t+"s"][i]=n,n):this.options[t+"s"][i]}})}function uc(e){return e&&(e.Ctor.options.name||e.tag)}function Os(e,t){return Array.isArray(e)?e.indexOf(t)>-1:typeof e=="string"?e.split(",").indexOf(t)>-1:al(e)?e.test(t):!1}function pc(e,t){var i=e.cache,n=e.keys,s=e._vnode;for(var r in i){var a=i[r];if(a){var o=a.name;o&&!t(o)&&ya(i,r,n,s)}}}function ya(e,t,i,n){var s=e[t];s&&(!n||s.tag!==n.tag)&&s.componentInstance.$destroy(),e[t]=null,Lt(i,t)}var dc=[String,RegExp,Array],Jm={name:"keep-alive",abstract:!0,props:{include:dc,exclude:dc,max:[String,Number]},methods:{cacheVNode:function(){var t=this,i=t.cache,n=t.keys,s=t.vnodeToCache,r=t.keyToCache;if(s){var a=s.tag,o=s.componentInstance,l=s.componentOptions;i[r]={name:uc(l),tag:a,componentInstance:o},n.push(r),this.max&&n.length>parseInt(this.max)&&ya(i,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)ya(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(i){pc(t,function(n){return Os(i,n)})}),this.$watch("exclude",function(i){pc(t,function(n){return!Os(i,n)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,i=ec(t),n=i&&i.componentOptions;if(n){var s=uc(n),r=this,a=r.include,o=r.exclude;if(a&&(!s||!Os(a,s))||o&&s&&Os(o,s))return i;var l=this,p=l.cache,h=l.keys,d=i.key==null?n.Ctor.cid+(n.tag?"::"+n.tag:""):i.key;p[d]?(i.componentInstance=p[d].componentInstance,Lt(h,d),h.push(d)):(this.vnodeToCache=i,this.keyToCache=d),i.data.keepAlive=!0}return i||t&&t[0]}},Hm={KeepAlive:Jm};function Km(e){var t={};t.get=function(){return me},process.env.NODE_ENV!=="production"&&(t.set=function(){Q("Do not replace the Vue.config object, set individual fields instead.")}),Object.defineProperty(e,"config",t),e.util={warn:Q,extend:ye,mergeOptions:Ei,defineReactive:At},e.set=Qr,e.delete=xl,e.nextTick=$r,e.observable=function(i){return wi(i),i},e.options=Object.create(null),ys.forEach(function(i){e.options[i+"s"]=Object.create(null)}),e.options._base=e,ye(e.options.components,Hm),Vm(e),jm(e),Um(e),qm(e)}Km(Ce),Object.defineProperty(Ce.prototype,"$isServer",{get:As}),Object.defineProperty(Ce.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ce,"FunctionalRenderContext",{value:sa}),Ce.version="2.6.14";var Wm=nt("style,class"),zm=nt("input,textarea,option,select,progress"),Ym=function(e,t,i){return i==="value"&&zm(e)&&t!=="button"||i==="selected"&&e==="option"||i==="checked"&&e==="input"||i==="muted"&&e==="video"},hc=nt("contenteditable,draggable,spellcheck"),Xm=nt("events,caret,typing,plaintext-only"),Zm=function(e,t){return Ms(t)||t==="false"?"false":e==="contenteditable"&&Xm(t)?t:"true"},$m=nt("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),va="http://www.w3.org/1999/xlink",Aa=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},fc=function(e){return Aa(e)?e.slice(6,e.length):""},Ms=function(e){return e==null||e===!1};function eg(e){for(var t=e.data,i=e,n=e;b(n.componentInstance);)n=n.componentInstance._vnode,n&&n.data&&(t=mc(n.data,t));for(;b(i=i.parent);)i&&i.data&&(t=mc(t,i.data));return tg(t.staticClass,t.class)}function mc(e,t){return{staticClass:ba(e.staticClass,t.staticClass),class:b(e.class)?[e.class,t.class]:t.class}}function tg(e,t){return b(e)||b(t)?ba(e,Ca(t)):""}function ba(e,t){return e?t?e+" "+t:e:t||""}function Ca(e){return Array.isArray(e)?ig(e):Oe(e)?ng(e):typeof e=="string"?e:""}function ig(e){for(var t="",i,n=0,s=e.length;n<s;n++)b(i=Ca(e[n]))&&i!==""&&(t&&(t+=" "),t+=i);return t}function ng(e){var t="";for(var i in e)e[i]&&(t&&(t+=" "),t+=i);return t}var sg={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},rg=nt("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),wa=nt("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),gc=function(e){return rg(e)||wa(e)};function ag(e){if(wa(e))return"svg";if(e==="math")return"math"}var Bs=Object.create(null);function og(e){if(!We)return!0;if(gc(e))return!1;if(e=e.toLowerCase(),Bs[e]!=null)return Bs[e];var t=document.createElement(e);return e.indexOf("-")>-1?Bs[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Bs[e]=/HTMLUnknownElement/.test(t.toString())}var Ea=nt("text,number,password,search,email,tel,url");function lg(e){if(typeof e=="string"){var t=document.querySelector(e);return t||(process.env.NODE_ENV!=="production"&&Q("Cannot find element: "+e),document.createElement("div"))}else return e}function cg(e,t){var i=document.createElement(e);return e!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&i.setAttribute("multiple","multiple"),i}function ug(e,t){return document.createElementNS(sg[e],t)}function pg(e){return document.createTextNode(e)}function dg(e){return document.createComment(e)}function hg(e,t,i){e.insertBefore(t,i)}function fg(e,t){e.removeChild(t)}function mg(e,t){e.appendChild(t)}function gg(e){return e.parentNode}function yg(e){return e.nextSibling}function vg(e){return e.tagName}function Ag(e,t){e.textContent=t}function bg(e,t){e.setAttribute(t,"")}var Cg=Object.freeze({createElement:cg,createElementNS:ug,createTextNode:pg,createComment:dg,insertBefore:hg,removeChild:fg,appendChild:mg,parentNode:gg,nextSibling:yg,tagName:vg,setTextContent:Ag,setStyleScope:bg}),wg={create:function(t,i){sn(i)},update:function(t,i){t.data.ref!==i.data.ref&&(sn(t,!0),sn(i))},destroy:function(t){sn(t,!0)}};function sn(e,t){var i=e.data.ref;if(!!b(i)){var n=e.context,s=e.componentInstance||e.elm,r=n.$refs;t?Array.isArray(r[i])?Lt(r[i],s):r[i]===s&&(r[i]=void 0):e.data.refInFor?Array.isArray(r[i])?r[i].indexOf(s)<0&&r[i].push(s):r[i]=[s]:r[i]=s}}var Ii=new ze("",{},[]),Gn=["create","activate","update","remove","destroy"];function Ti(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&b(e.data)===b(t.data)&&Eg(e,t)||Ie(e.isAsyncPlaceholder)&&ie(t.asyncFactory.error))}function Eg(e,t){if(e.tag!=="input")return!0;var i,n=b(i=e.data)&&b(i=i.attrs)&&i.type,s=b(i=t.data)&&b(i=i.attrs)&&i.type;return n===s||Ea(n)&&Ea(s)}function xg(e,t,i){var n,s,r={};for(n=t;n<=i;++n)s=e[n].key,b(s)&&(r[s]=n);return r}function Ig(e){var t,i,n={},s=e.modules,r=e.nodeOps;for(t=0;t<Gn.length;++t)for(n[Gn[t]]=[],i=0;i<s.length;++i)b(s[i][Gn[t]])&&n[Gn[t]].push(s[i][Gn[t]]);function a(g){return new ze(r.tagName(g).toLowerCase(),{},[],void 0,g)}function o(g,v){function I(){--I.listeners===0&&l(g)}return I.listeners=v,I}function l(g){var v=r.parentNode(g);b(v)&&r.removeChild(v,g)}function p(g,v){return!v&&!g.ns&&!(me.ignoredElements.length&&me.ignoredElements.some(function(I){return al(I)?I.test(g.tag):I===g.tag}))&&me.isUnknownElement(g.tag)}var h=0;function d(g,v,I,R,W,re,C){if(b(g.elm)&&b(re)&&(g=re[C]=jr(g)),g.isRootInsert=!W,!y(g,v,I,R)){var w=g.data,O=g.children,Y=g.tag;b(Y)?(process.env.NODE_ENV!=="production"&&(w&&w.pre&&h++,p(g,h)&&Q("Unknown custom element: <"+Y+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',g.context)),g.elm=g.ns?r.createElementNS(g.ns,Y):r.createElement(Y,g),N(g),Z(g,O,v),b(w)&&U(g,v),B(I,g.elm,R),process.env.NODE_ENV!=="production"&&w&&w.pre&&h--):Ie(g.isComment)?(g.elm=r.createComment(g.text),B(I,g.elm,R)):(g.elm=r.createTextNode(g.text),B(I,g.elm,R))}}function y(g,v,I,R){var W=g.data;if(b(W)){var re=b(g.componentInstance)&&W.keepAlive;if(b(W=W.hook)&&b(W=W.init)&&W(g,!1),b(g.componentInstance))return x(g,v),B(I,g.elm,R),Ie(re)&&M(g,v,I,R),!0}}function x(g,v){b(g.data.pendingInsert)&&(v.push.apply(v,g.data.pendingInsert),g.data.pendingInsert=null),g.elm=g.componentInstance.$el,J(g)?(U(g,v),N(g)):(sn(g),v.push(g))}function M(g,v,I,R){for(var W,re=g;re.componentInstance;)if(re=re.componentInstance._vnode,b(W=re.data)&&b(W=W.transition)){for(W=0;W<n.activate.length;++W)n.activate[W](Ii,re);v.push(re);break}B(I,g.elm,R)}function B(g,v,I){b(g)&&(b(I)?r.parentNode(I)===g&&r.insertBefore(g,v,I):r.appendChild(g,v))}function Z(g,v,I){if(Array.isArray(v)){process.env.NODE_ENV!=="production"&&V(v);for(var R=0;R<v.length;++R)d(v[R],I,g.elm,null,!0,v,R)}else Kt(g.text)&&r.appendChild(g.elm,r.createTextNode(String(g.text)))}function J(g){for(;g.componentInstance;)g=g.componentInstance._vnode;return b(g.tag)}function U(g,v){for(var I=0;I<n.create.length;++I)n.create[I](Ii,g);t=g.data.hook,b(t)&&(b(t.create)&&t.create(Ii,g),b(t.insert)&&v.push(g))}function N(g){var v;if(b(v=g.fnScopeId))r.setStyleScope(g.elm,v);else for(var I=g;I;)b(v=I.context)&&b(v=v.$options._scopeId)&&r.setStyleScope(g.elm,v),I=I.parent;b(v=xi)&&v!==g.context&&v!==g.fnContext&&b(v=v.$options._scopeId)&&r.setStyleScope(g.elm,v)}function E(g,v,I,R,W,re){for(;R<=W;++R)d(I[R],re,g,v,!1,I,R)}function P(g){var v,I,R=g.data;if(b(R))for(b(v=R.hook)&&b(v=v.destroy)&&v(g),v=0;v<n.destroy.length;++v)n.destroy[v](g);if(b(v=g.children))for(I=0;I<g.children.length;++I)P(g.children[I])}function S(g,v,I){for(;v<=I;++v){var R=g[v];b(R)&&(b(R.tag)?(k(R),P(R)):l(R.elm))}}function k(g,v){if(b(v)||b(g.data)){var I,R=n.remove.length+1;for(b(v)?v.listeners+=R:v=o(g.elm,R),b(I=g.componentInstance)&&b(I=I._vnode)&&b(I.data)&&k(I,v),I=0;I<n.remove.length;++I)n.remove[I](g,v);b(I=g.data.hook)&&b(I=I.remove)?I(g,v):v()}else l(g.elm)}function _(g,v,I,R,W){var re=0,C=0,w=v.length-1,O=v[0],Y=v[w],ee=I.length-1,se=I[0],f=I[ee],c,u,m,A,T=!W;for(process.env.NODE_ENV!=="production"&&V(I);re<=w&&C<=ee;)ie(O)?O=v[++re]:ie(Y)?Y=v[--w]:Ti(O,se)?(F(O,se,R,I,C),O=v[++re],se=I[++C]):Ti(Y,f)?(F(Y,f,R,I,ee),Y=v[--w],f=I[--ee]):Ti(O,f)?(F(O,f,R,I,ee),T&&r.insertBefore(g,O.elm,r.nextSibling(Y.elm)),O=v[++re],f=I[--ee]):Ti(Y,se)?(F(Y,se,R,I,C),T&&r.insertBefore(g,Y.elm,O.elm),Y=v[--w],se=I[++C]):(ie(c)&&(c=xg(v,re,w)),u=b(se.key)?c[se.key]:D(se,v,re,w),ie(u)?d(se,R,g,O.elm,!1,I,C):(m=v[u],Ti(m,se)?(F(m,se,R,I,C),v[u]=void 0,T&&r.insertBefore(g,m.elm,O.elm)):d(se,R,g,O.elm,!1,I,C)),se=I[++C]);re>w?(A=ie(I[ee+1])?null:I[ee+1].elm,E(g,A,I,C,ee,R)):C>ee&&S(v,re,w)}function V(g){for(var v={},I=0;I<g.length;I++){var R=g[I],W=R.key;b(W)&&(v[W]?Q("Duplicate keys detected: '"+W+"'. This may cause an update error.",R.context):v[W]=!0)}}function D(g,v,I,R){for(var W=I;W<R;W++){var re=v[W];if(b(re)&&Ti(g,re))return W}}function F(g,v,I,R,W,re){if(g!==v){b(v.elm)&&b(R)&&(v=R[W]=jr(v));var C=v.elm=g.elm;if(Ie(g.isAsyncPlaceholder)){b(v.asyncFactory.resolved)?Ne(g.elm,v,I):v.isAsyncPlaceholder=!0;return}if(Ie(v.isStatic)&&Ie(g.isStatic)&&v.key===g.key&&(Ie(v.isCloned)||Ie(v.isOnce))){v.componentInstance=g.componentInstance;return}var w,O=v.data;b(O)&&b(w=O.hook)&&b(w=w.prepatch)&&w(g,v);var Y=g.children,ee=v.children;if(b(O)&&J(v)){for(w=0;w<n.update.length;++w)n.update[w](g,v);b(w=O.hook)&&b(w=w.update)&&w(g,v)}ie(v.text)?b(Y)&&b(ee)?Y!==ee&&_(C,Y,ee,I,re):b(ee)?(process.env.NODE_ENV!=="production"&&V(ee),b(g.text)&&r.setTextContent(C,""),E(C,null,ee,0,ee.length-1,I)):b(Y)?S(Y,0,Y.length-1):b(g.text)&&r.setTextContent(C,""):g.text!==v.text&&r.setTextContent(C,v.text),b(O)&&b(w=O.hook)&&b(w=w.postpatch)&&w(g,v)}}function L(g,v,I){if(Ie(I)&&b(g.parent))g.parent.data.pendingInsert=v;else for(var R=0;R<v.length;++R)v[R].data.hook.insert(v[R])}var q=!1,$=nt("attrs,class,staticClass,staticStyle,key");function Ne(g,v,I,R){var W,re=v.tag,C=v.data,w=v.children;if(R=R||C&&C.pre,v.elm=g,Ie(v.isComment)&&b(v.asyncFactory))return v.isAsyncPlaceholder=!0,!0;if(process.env.NODE_ENV!=="production"&&!oe(g,v,R))return!1;if(b(C)&&(b(W=C.hook)&&b(W=W.init)&&W(v,!0),b(W=v.componentInstance)))return x(v,I),!0;if(b(re)){if(b(w))if(!g.hasChildNodes())Z(v,w,I);else if(b(W=C)&&b(W=W.domProps)&&b(W=W.innerHTML)){if(W!==g.innerHTML)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!q&&(q=!0,g.innerHTML),!1}else{for(var O=!0,Y=g.firstChild,ee=0;ee<w.length;ee++){if(!Y||!Ne(Y,w[ee],I,R)){O=!1;break}Y=Y.nextSibling}if(!O||Y)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!q&&(q=!0,g.childNodes),!1}if(b(C)){var se=!1;for(var f in C)if(!$(f)){se=!0,U(v,I);break}!se&&C.class&&Ns(C.class)}}else g.data!==v.text&&(g.data=v.text);return!0}function oe(g,v,I){return b(v.tag)?v.tag.indexOf("vue-component")===0||!p(v,I)&&v.tag.toLowerCase()===(g.tagName&&g.tagName.toLowerCase()):g.nodeType===(v.isComment?8:3)}return function(v,I,R,W){if(ie(I)){b(v)&&P(v);return}var re=!1,C=[];if(ie(v))re=!0,d(I,C);else{var w=b(v.nodeType);if(!w&&Ti(v,I))F(v,I,C,null,null,W);else{if(w){if(v.nodeType===1&&v.hasAttribute(hl)&&(v.removeAttribute(hl),R=!0),Ie(R)){if(Ne(v,I,C))return L(I,C,!0),v;process.env.NODE_ENV!=="production"&&Q("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}v=a(v)}var O=v.elm,Y=r.parentNode(O);if(d(I,C,O._leaveCb?null:Y,r.nextSibling(O)),b(I.parent))for(var ee=I.parent,se=J(I);ee;){for(var f=0;f<n.destroy.length;++f)n.destroy[f](ee);if(ee.elm=I.elm,se){for(var c=0;c<n.create.length;++c)n.create[c](Ii,ee);var u=ee.data.hook.insert;if(u.merged)for(var m=1;m<u.fns.length;m++)u.fns[m]()}else sn(ee);ee=ee.parent}b(Y)?S([v],0,0):b(v.tag)&&P(v)}}return L(I,C,re),I.elm}}var Tg={create:xa,update:xa,destroy:function(t){xa(t,Ii)}};function xa(e,t){(e.data.directives||t.data.directives)&&_g(e,t)}function _g(e,t){var i=e===Ii,n=t===Ii,s=yc(e.data.directives,e.context),r=yc(t.data.directives,t.context),a=[],o=[],l,p,h;for(l in r)p=s[l],h=r[l],p?(h.oldValue=p.value,h.oldArg=p.arg,qn(h,"update",t,e),h.def&&h.def.componentUpdated&&o.push(h)):(qn(h,"bind",t,e),h.def&&h.def.inserted&&a.push(h));if(a.length){var d=function(){for(var y=0;y<a.length;y++)qn(a[y],"inserted",t,e)};i?Yt(t,"insert",d):d()}if(o.length&&Yt(t,"postpatch",function(){for(var y=0;y<o.length;y++)qn(o[y],"componentUpdated",t,e)}),!i)for(l in s)r[l]||qn(s[l],"unbind",e,e,n)}var Ng=Object.create(null);function yc(e,t){var i=Object.create(null);if(!e)return i;var n,s;for(n=0;n<e.length;n++)s=e[n],s.modifiers||(s.modifiers=Ng),i[kg(s)]=s,s.def=Kr(t.$options,"directives",s.name,!0);return i}function kg(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function qn(e,t,i,n,s){var r=e.def&&e.def[t];if(r)try{r(i.elm,e,i,n,s)}catch(a){zt(a,i.context,"directive "+e.name+" "+t+" hook")}}var Sg=[wg,Tg];function vc(e,t){var i=t.componentOptions;if(!(b(i)&&i.Ctor.options.inheritAttrs===!1)&&!(ie(e.data.attrs)&&ie(t.data.attrs))){var n,s,r,a=t.elm,o=e.data.attrs||{},l=t.data.attrs||{};b(l.__ob__)&&(l=t.data.attrs=ye({},l));for(n in l)s=l[n],r=o[n],r!==s&&Ac(a,n,s,t.data.pre);(Zi||Rr)&&l.value!==o.value&&Ac(a,"value",l.value);for(n in o)ie(l[n])&&(Aa(n)?a.removeAttributeNS(va,fc(n)):hc(n)||a.removeAttribute(n))}}function Ac(e,t,i,n){n||e.tagName.indexOf("-")>-1?bc(e,t,i):$m(t)?Ms(i)?e.removeAttribute(t):(i=t==="allowfullscreen"&&e.tagName==="EMBED"?"true":t,e.setAttribute(t,i)):hc(t)?e.setAttribute(t,Zm(t,i)):Aa(t)?Ms(i)?e.removeAttributeNS(va,fc(t)):e.setAttributeNS(va,t,i):bc(e,t,i)}function bc(e,t,i){if(Ms(i))e.removeAttribute(t);else{if(Zi&&!$i&&e.tagName==="TEXTAREA"&&t==="placeholder"&&i!==""&&!e.__ieph){var n=function(s){s.stopImmediatePropagation(),e.removeEventListener("input",n)};e.addEventListener("input",n),e.__ieph=!0}e.setAttribute(t,i)}}var Pg={create:vc,update:vc};function Cc(e,t){var i=t.elm,n=t.data,s=e.data;if(!(ie(n.staticClass)&&ie(n.class)&&(ie(s)||ie(s.staticClass)&&ie(s.class)))){var r=eg(t),a=i._transitionClasses;b(a)&&(r=ba(r,Ca(a))),r!==i._prevClass&&(i.setAttribute("class",r),i._prevClass=r)}}var Dg={create:Cc,update:Cc},Ia="__r",Ta="__c";function Og(e){if(b(e[Ia])){var t=Zi?"change":"input";e[t]=[].concat(e[Ia],e[t]||[]),delete e[Ia]}b(e[Ta])&&(e.change=[].concat(e[Ta],e.change||[]),delete e[Ta])}var Jn;function Mg(e,t,i){var n=Jn;return function s(){var r=t.apply(null,arguments);r!==null&&wc(e,s,i,n)}}var Bg=Yr&&!(vl&&Number(vl[1])<=53);function Rg(e,t,i,n){if(Bg){var s=rc,r=t;t=r._wrapper=function(a){if(a.target===a.currentTarget||a.timeStamp>=s||a.timeStamp<=0||a.target.ownerDocument!==document)return r.apply(this,arguments)}}Jn.addEventListener(e,t,Al?{capture:i,passive:n}:i)}function wc(e,t,i,n){(n||Jn).removeEventListener(e,t._wrapper||t,i)}function Ec(e,t){if(!(ie(e.data.on)&&ie(t.data.on))){var i=t.data.on||{},n=e.data.on||{};Jn=t.elm,Og(i),Vl(i,n,Rg,wc,Mg,t.context),Jn=void 0}}var Lg={create:Ec,update:Ec},Rs;function xc(e,t){if(!(ie(e.data.domProps)&&ie(t.data.domProps))){var i,n,s=t.elm,r=e.data.domProps||{},a=t.data.domProps||{};b(a.__ob__)&&(a=t.data.domProps=ye({},a));for(i in r)i in a||(s[i]="");for(i in a){if(n=a[i],i==="textContent"||i==="innerHTML"){if(t.children&&(t.children.length=0),n===r[i])continue;s.childNodes.length===1&&s.removeChild(s.childNodes[0])}if(i==="value"&&s.tagName!=="PROGRESS"){s._value=n;var o=ie(n)?"":String(n);Fg(s,o)&&(s.value=o)}else if(i==="innerHTML"&&wa(s.tagName)&&ie(s.innerHTML)){Rs=Rs||document.createElement("div"),Rs.innerHTML="<svg>"+n+"</svg>";for(var l=Rs.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;l.firstChild;)s.appendChild(l.firstChild)}else if(n!==r[i])try{s[i]=n}catch{}}}}function Fg(e,t){return!e.composing&&(e.tagName==="OPTION"||Vg(e,t)||jg(e,t))}function Vg(e,t){var i=!0;try{i=document.activeElement!==e}catch{}return i&&e.value!==t}function jg(e,t){var i=e.value,n=e._vModifiers;if(b(n)){if(n.number)return On(i)!==On(t);if(n.trim)return i.trim()!==t.trim()}return i!==t}var Ug={create:xc,update:xc},Qg=mi(function(e){var t={},i=/;(?![^(]*\))/g,n=/:(.+)/;return e.split(i).forEach(function(s){if(s){var r=s.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function _a(e){var t=Ic(e.style);return e.staticStyle?ye(e.staticStyle,t):t}function Ic(e){return Array.isArray(e)?ul(e):typeof e=="string"?Qg(e):e}function Gg(e,t){var i={},n;if(t)for(var s=e;s.componentInstance;)s=s.componentInstance._vnode,s&&s.data&&(n=_a(s.data))&&ye(i,n);(n=_a(e.data))&&ye(i,n);for(var r=e;r=r.parent;)r.data&&(n=_a(r.data))&&ye(i,n);return i}var qg=/^--/,Tc=/\s*!important$/,_c=function(e,t,i){if(qg.test(t))e.style.setProperty(t,i);else if(Tc.test(i))e.style.setProperty(yi(t),i.replace(Tc,""),"important");else{var n=Jg(t);if(Array.isArray(i))for(var s=0,r=i.length;s<r;s++)e.style[n]=i[s];else e.style[n]=i}},Nc=["Webkit","Moz","ms"],Ls,Jg=mi(function(e){if(Ls=Ls||document.createElement("div").style,e=gi(e),e!=="filter"&&e in Ls)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<Nc.length;i++){var n=Nc[i]+t;if(n in Ls)return n}});function kc(e,t){var i=t.data,n=e.data;if(!(ie(i.staticStyle)&&ie(i.style)&&ie(n.staticStyle)&&ie(n.style))){var s,r,a=t.elm,o=n.staticStyle,l=n.normalizedStyle||n.style||{},p=o||l,h=Ic(t.data.style)||{};t.data.normalizedStyle=b(h.__ob__)?ye({},h):h;var d=Gg(t,!0);for(r in p)ie(d[r])&&_c(a,r,"");for(r in d)s=d[r],s!==p[r]&&_c(a,r,s==null?"":s)}}var Hg={create:kc,update:kc},Sc=/\s+/;function Pc(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Sc).forEach(function(n){return e.classList.add(n)}):e.classList.add(t);else{var i=" "+(e.getAttribute("class")||"")+" ";i.indexOf(" "+t+" ")<0&&e.setAttribute("class",(i+t).trim())}}function Dc(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Sc).forEach(function(s){return e.classList.remove(s)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var i=" "+(e.getAttribute("class")||"")+" ",n=" "+t+" ";i.indexOf(n)>=0;)i=i.replace(n," ");i=i.trim(),i?e.setAttribute("class",i):e.removeAttribute("class")}}function Oc(e){if(!!e){if(typeof e=="object"){var t={};return e.css!==!1&&ye(t,Mc(e.name||"v")),ye(t,e),t}else if(typeof e=="string")return Mc(e)}}var Mc=mi(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Bc=We&&!$i,rn="transition",Na="animation",Fs="transition",Vs="transitionend",ka="animation",Rc="animationend";Bc&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Fs="WebkitTransition",Vs="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(ka="WebkitAnimation",Rc="webkitAnimationEnd"));var Lc=We?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Fc(e){Lc(function(){Lc(e)})}function _i(e,t){var i=e._transitionClasses||(e._transitionClasses=[]);i.indexOf(t)<0&&(i.push(t),Pc(e,t))}function jt(e,t){e._transitionClasses&&Lt(e._transitionClasses,t),Dc(e,t)}function Vc(e,t,i){var n=jc(e,t),s=n.type,r=n.timeout,a=n.propCount;if(!s)return i();var o=s===rn?Vs:Rc,l=0,p=function(){e.removeEventListener(o,h),i()},h=function(d){d.target===e&&++l>=a&&p()};setTimeout(function(){l<a&&p()},r+1),e.addEventListener(o,h)}var Kg=/\b(transform|all)(,|$)/;function jc(e,t){var i=window.getComputedStyle(e),n=(i[Fs+"Delay"]||"").split(", "),s=(i[Fs+"Duration"]||"").split(", "),r=Uc(n,s),a=(i[ka+"Delay"]||"").split(", "),o=(i[ka+"Duration"]||"").split(", "),l=Uc(a,o),p,h=0,d=0;t===rn?r>0&&(p=rn,h=r,d=s.length):t===Na?l>0&&(p=Na,h=l,d=o.length):(h=Math.max(r,l),p=h>0?r>l?rn:Na:null,d=p?p===rn?s.length:o.length:0);var y=p===rn&&Kg.test(i[Fs+"Property"]);return{type:p,timeout:h,propCount:d,hasTransform:y}}function Uc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(i,n){return Qc(i)+Qc(e[n])}))}function Qc(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Sa(e,t){var i=e.elm;b(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var n=Oc(e.data.transition);if(!ie(n)&&!(b(i._enterCb)||i.nodeType!==1)){for(var s=n.css,r=n.type,a=n.enterClass,o=n.enterToClass,l=n.enterActiveClass,p=n.appearClass,h=n.appearToClass,d=n.appearActiveClass,y=n.beforeEnter,x=n.enter,M=n.afterEnter,B=n.enterCancelled,Z=n.beforeAppear,J=n.appear,U=n.afterAppear,N=n.appearCancelled,E=n.duration,P=xi,S=xi.$vnode;S&&S.parent;)P=S.context,S=S.parent;var k=!P._isMounted||!e.isRootInsert;if(!(k&&!J&&J!=="")){var _=k&&p?p:a,V=k&&d?d:l,D=k&&h?h:o,F=k&&Z||y,L=k&&typeof J=="function"?J:x,q=k&&U||M,$=k&&N||B,Ne=On(Oe(E)?E.enter:E);process.env.NODE_ENV!=="production"&&Ne!=null&&qc(Ne,"enter",e);var oe=s!==!1&&!$i,g=Pa(L),v=i._enterCb=gs(function(){oe&&(jt(i,D),jt(i,V)),v.cancelled?(oe&&jt(i,_),$&&$(i)):q&&q(i),i._enterCb=null});e.data.show||Yt(e,"insert",function(){var I=i.parentNode,R=I&&I._pending&&I._pending[e.key];R&&R.tag===e.tag&&R.elm._leaveCb&&R.elm._leaveCb(),L&&L(i,v)}),F&&F(i),oe&&(_i(i,_),_i(i,V),Fc(function(){jt(i,_),v.cancelled||(_i(i,D),g||(Jc(Ne)?setTimeout(v,Ne):Vc(i,r,v)))})),e.data.show&&(t&&t(),L&&L(i,v)),!oe&&!g&&v()}}}function Gc(e,t){var i=e.elm;b(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var n=Oc(e.data.transition);if(ie(n)||i.nodeType!==1)return t();if(b(i._leaveCb))return;var s=n.css,r=n.type,a=n.leaveClass,o=n.leaveToClass,l=n.leaveActiveClass,p=n.beforeLeave,h=n.leave,d=n.afterLeave,y=n.leaveCancelled,x=n.delayLeave,M=n.duration,B=s!==!1&&!$i,Z=Pa(h),J=On(Oe(M)?M.leave:M);process.env.NODE_ENV!=="production"&&b(J)&&qc(J,"leave",e);var U=i._leaveCb=gs(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[e.key]=null),B&&(jt(i,o),jt(i,l)),U.cancelled?(B&&jt(i,a),y&&y(i)):(t(),d&&d(i)),i._leaveCb=null});x?x(N):N();function N(){U.cancelled||(!e.data.show&&i.parentNode&&((i.parentNode._pending||(i.parentNode._pending={}))[e.key]=e),p&&p(i),B&&(_i(i,a),_i(i,l),Fc(function(){jt(i,a),U.cancelled||(_i(i,o),Z||(Jc(J)?setTimeout(U,J):Vc(i,r,U)))})),h&&h(i,U),!B&&!Z&&U())}}function qc(e,t,i){typeof e!="number"?Q("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",i.context):isNaN(e)&&Q("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",i.context)}function Jc(e){return typeof e=="number"&&!isNaN(e)}function Pa(e){if(ie(e))return!1;var t=e.fns;return b(t)?Pa(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Hc(e,t){t.data.show!==!0&&Sa(t)}var Wg=We?{create:Hc,activate:Hc,remove:function(t,i){t.data.show!==!0?Gc(t,i):i()}}:{},zg=[Pg,Dg,Lg,Ug,Hg,Wg],Yg=zg.concat(Sg),Xg=Ig({nodeOps:Cg,modules:Yg});$i&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Da(e,"input")});var Kc={inserted:function(t,i,n,s){n.tag==="select"?(s.elm&&!s.elm._vOptions?Yt(n,"postpatch",function(){Kc.componentUpdated(t,i,n)}):Wc(t,i,n.context),t._vOptions=[].map.call(t.options,js)):(n.tag==="textarea"||Ea(t.type))&&(t._vModifiers=i.modifiers,i.modifiers.lazy||(t.addEventListener("compositionstart",Zg),t.addEventListener("compositionend",Xc),t.addEventListener("change",Xc),$i&&(t.vmodel=!0)))},componentUpdated:function(t,i,n){if(n.tag==="select"){Wc(t,i,n.context);var s=t._vOptions,r=t._vOptions=[].map.call(t.options,js);if(r.some(function(o,l){return!vi(o,s[l])})){var a=t.multiple?i.value.some(function(o){return Yc(o,r)}):i.value!==i.oldValue&&Yc(i.value,r);a&&Da(t,"change")}}}};function Wc(e,t,i){zc(e,t,i),(Zi||Rr)&&setTimeout(function(){zc(e,t,i)},0)}function zc(e,t,i){var n=t.value,s=e.multiple;if(s&&!Array.isArray(n)){process.env.NODE_ENV!=="production"&&Q('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(n).slice(8,-1),i);return}for(var r,a,o=0,l=e.options.length;o<l;o++)if(a=e.options[o],s)r=dl(n,js(a))>-1,a.selected!==r&&(a.selected=r);else if(vi(js(a),n)){e.selectedIndex!==o&&(e.selectedIndex=o);return}s||(e.selectedIndex=-1)}function Yc(e,t){return t.every(function(i){return!vi(i,e)})}function js(e){return"_value"in e?e._value:e.value}function Zg(e){e.target.composing=!0}function Xc(e){!e.target.composing||(e.target.composing=!1,Da(e.target,"input"))}function Da(e,t){var i=document.createEvent("HTMLEvents");i.initEvent(t,!0,!0),e.dispatchEvent(i)}function Oa(e){return e.componentInstance&&(!e.data||!e.data.transition)?Oa(e.componentInstance._vnode):e}var $g={bind:function(t,i,n){var s=i.value;n=Oa(n);var r=n.data&&n.data.transition,a=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;s&&r?(n.data.show=!0,Sa(n,function(){t.style.display=a})):t.style.display=s?a:"none"},update:function(t,i,n){var s=i.value,r=i.oldValue;if(!s!=!r){n=Oa(n);var a=n.data&&n.data.transition;a?(n.data.show=!0,s?Sa(n,function(){t.style.display=t.__vOriginalDisplay}):Gc(n,function(){t.style.display="none"})):t.style.display=s?t.__vOriginalDisplay:"none"}},unbind:function(t,i,n,s,r){r||(t.style.display=t.__vOriginalDisplay)}},ey={model:Kc,show:$g},Zc={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ma(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ma(ec(t.children)):e}function $c(e){var t={},i=e.$options;for(var n in i.propsData)t[n]=e[n];var s=i._parentListeners;for(var r in s)t[gi(r)]=s[r];return t}function eu(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function ty(e){for(;e=e.parent;)if(e.data.transition)return!0}function iy(e,t){return t.key===e.key&&t.tag===e.tag}var ny=function(e){return e.tag||Vn(e)},sy=function(e){return e.name==="show"},ry={name:"transition",props:Zc,abstract:!0,render:function(t){var i=this,n=this.$slots.default;if(!!n&&(n=n.filter(ny),!!n.length)){process.env.NODE_ENV!=="production"&&n.length>1&&Q("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var s=this.mode;process.env.NODE_ENV!=="production"&&s&&s!=="in-out"&&s!=="out-in"&&Q("invalid <transition> mode: "+s,this.$parent);var r=n[0];if(ty(this.$vnode))return r;var a=Ma(r);if(!a)return r;if(this._leaving)return eu(t,r);var o="__transition-"+this._uid+"-";a.key=a.key==null?a.isComment?o+"comment":o+a.tag:Kt(a.key)?String(a.key).indexOf(o)===0?a.key:o+a.key:a.key;var l=(a.data||(a.data={})).transition=$c(this),p=this._vnode,h=Ma(p);if(a.data.directives&&a.data.directives.some(sy)&&(a.data.show=!0),h&&h.data&&!iy(a,h)&&!Vn(h)&&!(h.componentInstance&&h.componentInstance._vnode.isComment)){var d=h.data.transition=ye({},l);if(s==="out-in")return this._leaving=!0,Yt(d,"afterLeave",function(){i._leaving=!1,i.$forceUpdate()}),eu(t,r);if(s==="in-out"){if(Vn(a))return p;var y,x=function(){y()};Yt(l,"afterEnter",x),Yt(l,"enterCancelled",x),Yt(d,"delayLeave",function(M){y=M})}}return r}}},tu=ye({tag:String,moveClass:String},Zc);delete tu.mode;var ay={props:tu,beforeMount:function(){var t=this,i=this._update;this._update=function(n,s){var r=ic(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),i.call(t,n,s)}},render:function(t){for(var i=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),s=this.prevChildren=this.children,r=this.$slots.default||[],a=this.children=[],o=$c(this),l=0;l<r.length;l++){var p=r[l];if(p.tag){if(p.key!=null&&String(p.key).indexOf("__vlist")!==0)a.push(p),n[p.key]=p,(p.data||(p.data={})).transition=o;else if(process.env.NODE_ENV!=="production"){var h=p.componentOptions,d=h?h.Ctor.options.name||h.tag||"":p.tag;Q("<transition-group> children must be keyed: <"+d+">")}}}if(s){for(var y=[],x=[],M=0;M<s.length;M++){var B=s[M];B.data.transition=o,B.data.pos=B.elm.getBoundingClientRect(),n[B.key]?y.push(B):x.push(B)}this.kept=t(i,null,y),this.removed=x}return t(i,null,a)},updated:function(){var t=this.prevChildren,i=this.moveClass||(this.name||"v")+"-move";!t.length||!this.hasMove(t[0].elm,i)||(t.forEach(oy),t.forEach(ly),t.forEach(cy),this._reflow=document.body.offsetHeight,t.forEach(function(n){if(n.data.moved){var s=n.elm,r=s.style;_i(s,i),r.transform=r.WebkitTransform=r.transitionDuration="",s.addEventListener(Vs,s._moveCb=function a(o){o&&o.target!==s||(!o||/transform$/.test(o.propertyName))&&(s.removeEventListener(Vs,a),s._moveCb=null,jt(s,i))})}}))},methods:{hasMove:function(t,i){if(!Bc)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(r){Dc(n,r)}),Pc(n,i),n.style.display="none",this.$el.appendChild(n);var s=jc(n);return this.$el.removeChild(n),this._hasMove=s.hasTransform}}};function oy(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ly(e){e.data.newPos=e.elm.getBoundingClientRect()}function cy(e){var t=e.data.pos,i=e.data.newPos,n=t.left-i.left,s=t.top-i.top;if(n||s){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+n+"px,"+s+"px)",r.transitionDuration="0s"}}var uy={Transition:ry,TransitionGroup:ay};Ce.config.mustUseProp=Ym,Ce.config.isReservedTag=gc,Ce.config.isReservedAttr=Wm,Ce.config.getTagNamespace=ag,Ce.config.isUnknownElement=og,ye(Ce.options.directives,ey),ye(Ce.options.components,uy),Ce.prototype.__patch__=We?Xg:De,Ce.prototype.$mount=function(e,t){return e=e&&We?lg(e):void 0,ym(this,e,t)},We&&setTimeout(function(){me.devtools&&(bs?bs.emit("init",Ce):process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&console[console.info?"info":"log"](`Download the Vue Devtools extension for a better development experience:
|
|
12
|
+
(found in `+bi(e)+")"}}var cf=0,nt=function(){this.id=cf++,this.subs=[]};nt.prototype.addSub=function(t){this.subs.push(t)},nt.prototype.removeSub=function(t){Lt(this.subs,t)},nt.prototype.depend=function(){nt.target&&nt.target.addDep(this)},nt.prototype.notify=function(){var t=this.subs.slice();process.env.NODE_ENV!=="production"&&!me.async&&t.sort(function(n,r){return n.id-r.id});for(var i=0,s=t.length;i<s;i++)t[i].update()},nt.target=null;var wn=[];function Ms(e){wn.push(e),nt.target=e}function Bs(){wn.pop(),nt.target=wn[wn.length-1]}var ze=function(t,i,s,n,r,a,o,l){this.tag=t,this.data=i,this.children=s,this.text=n,this.elm=r,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=i&&i.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},wl={child:{configurable:!0}};wl.child.get=function(){return this.componentInstance},Object.defineProperties(ze.prototype,wl);var Ci=function(e){e===void 0&&(e="");var t=new ze;return t.text=e,t.isComment=!0,t};function es(e){return new ze(void 0,void 0,void 0,String(e))}function jr(e){var t=new ze(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var El=Array.prototype,En=Object.create(El),uf=["push","pop","shift","unshift","splice","sort","reverse"];uf.forEach(function(e){var t=El[e];Xi(En,e,function(){for(var s=[],n=arguments.length;n--;)s[n]=arguments[n];var r=t.apply(this,s),a=this.__ob__,o;switch(e){case"push":case"unshift":o=s;break;case"splice":o=s.slice(2);break}return o&&a.observeArray(o),a.dep.notify(),r})});var pf=Object.getOwnPropertyNames(En),Ur=!0;function Wt(e){Ur=e}var xn=function(t){this.value=t,this.dep=new nt,this.vmCount=0,Xi(t,"__ob__",this),Array.isArray(t)?(nf?df(t,En):hf(t,En,pf),this.observeArray(t)):this.walk(t)};xn.prototype.walk=function(t){for(var i=Object.keys(t),s=0;s<i.length;s++)At(t,i[s])},xn.prototype.observeArray=function(t){for(var i=0,s=t.length;i<s;i++)wi(t[i])};function df(e,t){e.__proto__=t}function hf(e,t,i){for(var s=0,n=i.length;s<n;s++){var r=i[s];Xi(e,r,t[r])}}function wi(e,t){if(!(!Oe(e)||e instanceof ze)){var i;return Pe(e,"__ob__")&&e.__ob__ instanceof xn?i=e.__ob__:Ur&&!An()&&(Array.isArray(e)||Ve(e))&&Object.isExtensible(e)&&!e._isVue&&(i=new xn(e)),t&&i&&i.vmCount++,i}}function At(e,t,i,s,n){var r=new nt,a=Object.getOwnPropertyDescriptor(e,t);if(!(a&&a.configurable===!1)){var o=a&&a.get,l=a&&a.set;(!o||l)&&arguments.length===2&&(i=e[t]);var p=!n&&wi(i);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var d=o?o.call(e):i;return nt.target&&(r.depend(),p&&(p.dep.depend(),Array.isArray(d)&&Il(d))),d},set:function(d){var y=o?o.call(e):i;d===y||d!==d&&y!==y||(process.env.NODE_ENV!=="production"&&s&&s(),!(o&&!l)&&(l?l.call(e,d):i=d,p=!n&&wi(d),r.notify()))}})}}function Qr(e,t,i){if(process.env.NODE_ENV!=="production"&&(ie(e)||Kt(e))&&Q("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&ol(t))return e.length=Math.max(e.length,t),e.splice(t,1,i),i;if(t in e&&!(t in Object.prototype))return e[t]=i,i;var s=e.__ob__;return e._isVue||s&&s.vmCount?(process.env.NODE_ENV!=="production"&&Q("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),i):s?(At(s.value,t,i),s.dep.notify(),i):(e[t]=i,i)}function xl(e,t){if(process.env.NODE_ENV!=="production"&&(ie(e)||Kt(e))&&Q("Cannot delete reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&ol(t)){e.splice(t,1);return}var i=e.__ob__;if(e._isVue||i&&i.vmCount){process.env.NODE_ENV!=="production"&&Q("Avoid deleting properties on a Vue instance or its root $data - just set it to null.");return}!Pe(e,t)||(delete e[t],i&&i.dep.notify())}function Il(e){for(var t=void 0,i=0,s=e.length;i<s;i++)t=e[i],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Il(t)}var ht=me.optionMergeStrategies;process.env.NODE_ENV!=="production"&&(ht.el=ht.propsData=function(e,t,i,s){return i||Q('option "'+s+'" can only be used during instance creation with the `new` keyword.'),Tl(e,t)});function Gr(e,t){if(!t)return e;for(var i,s,n,r=Cn?Reflect.ownKeys(t):Object.keys(t),a=0;a<r.length;a++)i=r[a],i!=="__ob__"&&(s=e[i],n=t[i],Pe(e,i)?s!==n&&Ve(s)&&Ve(n)&&Gr(s,n):Qr(e,i,n));return e}function qr(e,t,i){return i?function(){var n=typeof t=="function"?t.call(i,i):t,r=typeof e=="function"?e.call(i,i):e;return n?Gr(n,r):r}:t?e?function(){return Gr(typeof t=="function"?t.call(this,this):t,typeof e=="function"?e.call(this,this):e)}:t:e}ht.data=function(e,t,i){return i?qr(e,t,i):t&&typeof t!="function"?(process.env.NODE_ENV!=="production"&&Q('The "data" option should be a function that returns a per-instance value in component definitions.',i),e):qr(e,t)};function ff(e,t){var i=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return i&&mf(i)}function mf(e){for(var t=[],i=0;i<e.length;i++)t.indexOf(e[i])===-1&&t.push(e[i]);return t}fl.forEach(function(e){ht[e]=ff});function gf(e,t,i,s){var n=Object.create(e||null);return t?(process.env.NODE_ENV!=="production"&&Jr(s,t,i),ye(n,t)):n}yn.forEach(function(e){ht[e+"s"]=gf}),ht.watch=function(e,t,i,s){if(e===Lr&&(e=void 0),t===Lr&&(t=void 0),!t)return Object.create(e||null);if(process.env.NODE_ENV!=="production"&&Jr(s,t,i),!e)return t;var n={};ye(n,e);for(var r in t){var a=n[r],o=t[r];a&&!Array.isArray(a)&&(a=[a]),n[r]=a?a.concat(o):Array.isArray(o)?o:[o]}return n},ht.props=ht.methods=ht.inject=ht.computed=function(e,t,i,s){if(t&&process.env.NODE_ENV!=="production"&&Jr(s,t,i),!e)return t;var n=Object.create(null);return ye(n,e),t&&ye(n,t),n},ht.provide=qr;var Tl=function(e,t){return t===void 0?e:t};function yf(e){for(var t in e.components)Hr(t)}function Hr(e){new RegExp("^[a-zA-Z][\\-\\.0-9_"+ml.source+"]*$").test(e)||Q('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(Wh(e)||me.isReservedTag(e))&&Q("Do not use built-in or reserved HTML elements as component id: "+e)}function vf(e,t){var i=e.props;if(!!i){var s={},n,r,a;if(Array.isArray(i))for(n=i.length;n--;)r=i[n],typeof r=="string"?(a=gi(r),s[a]={type:null}):process.env.NODE_ENV!=="production"&&Q("props must be strings when using array syntax.");else if(Ve(i))for(var o in i)r=i[o],a=gi(o),s[a]=Ve(r)?r:{type:r};else process.env.NODE_ENV!=="production"&&Q('Invalid value for option "props": expected an Array or an Object, but got '+fn(i)+".",t);e.props=s}}function Af(e,t){var i=e.inject;if(!!i){var s=e.inject={};if(Array.isArray(i))for(var n=0;n<i.length;n++)s[i[n]]={from:i[n]};else if(Ve(i))for(var r in i){var a=i[r];s[r]=Ve(a)?ye({from:r},a):{from:a}}else process.env.NODE_ENV!=="production"&&Q('Invalid value for option "inject": expected an Array or an Object, but got '+fn(i)+".",t)}}function bf(e){var t=e.directives;if(t)for(var i in t){var s=t[i];typeof s=="function"&&(t[i]={bind:s,update:s})}}function Jr(e,t,i){Ve(t)||Q('Invalid value for option "'+e+'": expected an Object, but got '+fn(t)+".",i)}function Ei(e,t,i){if(process.env.NODE_ENV!=="production"&&yf(t),typeof t=="function"&&(t=t.options),vf(t,i),Af(t,i),bf(t),!t._base&&(t.extends&&(e=Ei(e,t.extends,i)),t.mixins))for(var s=0,n=t.mixins.length;s<n;s++)e=Ei(e,t.mixins[s],i);var r={},a;for(a in e)o(a);for(a in t)Pe(e,a)||o(a);function o(l){var p=ht[l]||Tl;r[l]=p(e[l],t[l],i,l)}return r}function Kr(e,t,i,s){if(typeof i=="string"){var n=e[t];if(Pe(n,i))return n[i];var r=gi(i);if(Pe(n,r))return n[r];var a=cl(r);if(Pe(n,a))return n[a];var o=n[i]||n[r]||n[a];return process.env.NODE_ENV!=="production"&&s&&!o&&Q("Failed to resolve "+t.slice(0,-1)+": "+i,e),o}}function Wr(e,t,i,s){var n=t[e],r=!Pe(i,e),a=i[e],o=Nl(Boolean,n.type);if(o>-1){if(r&&!Pe(n,"default"))a=!1;else if(a===""||a===yi(e)){var l=Nl(String,n.type);(l<0||o<l)&&(a=!0)}}if(a===void 0){a=Cf(s,n,e);var p=Ur;Wt(!0),wi(a),Wt(p)}return process.env.NODE_ENV!=="production"&&wf(n,e,a,s,r),a}function Cf(e,t,i){if(!!Pe(t,"default")){var s=t.default;return process.env.NODE_ENV!=="production"&&Oe(s)&&Q('Invalid default value for prop "'+i+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&e.$options.propsData[i]===void 0&&e._props[i]!==void 0?e._props[i]:typeof s=="function"&&In(t.type)!=="Function"?s.call(e):s}}function wf(e,t,i,s,n){if(e.required&&n){Q('Missing required prop: "'+t+'"',s);return}if(!(i==null&&!e.required)){var r=e.type,a=!r||r===!0,o=[];if(r){Array.isArray(r)||(r=[r]);for(var l=0;l<r.length&&!a;l++){var p=xf(i,r[l],s);o.push(p.expectedType||""),a=p.valid}}var h=o.some(function(y){return y});if(!a&&h){Q(Tf(t,i,o),s);return}var d=e.validator;d&&(d(i)||Q('Invalid prop: custom validator check failed for prop "'+t+'".',s))}}var Ef=/^(String|Number|Boolean|Function|Symbol|BigInt)$/;function xf(e,t,i){var s,n=In(t);if(Ef.test(n)){var r=typeof e;s=r===n.toLowerCase(),!s&&r==="object"&&(s=e instanceof t)}else if(n==="Object")s=Ve(e);else if(n==="Array")s=Array.isArray(e);else try{s=e instanceof t}catch{Q('Invalid prop type: "'+String(t)+'" is not a constructor',i),s=!1}return{valid:s,expectedType:n}}var If=/^\s*function (\w+)/;function In(e){var t=e&&e.toString().match(If);return t?t[1]:""}function _l(e,t){return In(e)===In(t)}function Nl(e,t){if(!Array.isArray(t))return _l(t,e)?0:-1;for(var i=0,s=t.length;i<s;i++)if(_l(t[i],e))return i;return-1}function Tf(e,t,i){var s='Invalid prop: type check failed for prop "'+e+'". Expected '+i.map(cl).join(", "),n=i[0],r=fn(t);return i.length===1&&zr(n)&&zr(typeof t)&&!Nf(n,r)&&(s+=" with value "+kl(t,n)),s+=", got "+r+" ",zr(r)&&(s+="with value "+kl(t,r)+"."),s}function kl(e,t){return t==="String"?'"'+e+'"':t==="Number"?""+Number(e):""+e}var _f=["string","number","boolean"];function zr(e){return _f.some(function(t){return e.toLowerCase()===t})}function Nf(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return e.some(function(i){return i.toLowerCase()==="boolean"})}function zt(e,t,i){Ms();try{if(t)for(var s=t;s=s.$parent;){var n=s.$options.errorCaptured;if(n)for(var r=0;r<n.length;r++)try{var a=n[r].call(s,e,t,i)===!1;if(a)return}catch(o){Sl(o,s,"errorCaptured hook")}}Sl(e,t,i)}finally{Bs()}}function ts(e,t,i,s,n){var r;try{r=i?e.apply(t,i):e.call(t),r&&!r._isVue&&Or(r)&&!r._handled&&(r.catch(function(a){return zt(a,s,n+" (Promise/async)")}),r._handled=!0)}catch(a){zt(a,s,n)}return r}function Sl(e,t,i){if(me.errorHandler)try{return me.errorHandler.call(null,e,t,i)}catch(s){s!==e&&Pl(s,null,"config.errorHandler")}Pl(e,t,i)}function Pl(e,t,i){if(process.env.NODE_ENV!=="production"&&Q("Error in "+i+': "'+e.toString()+'"',t),(We||Br)&&typeof console<"u")console.error(e);else throw e}var Yr=!1,Xr=[],Zr=!1;function Tn(){Zr=!1;var e=Xr.slice(0);Xr.length=0;for(var t=0;t<e.length;t++)e[t]()}var Rs;if(typeof Promise<"u"&&Ai(Promise)){var kf=Promise.resolve();Rs=function(){kf.then(Tn),rf&&setTimeout(De)},Yr=!0}else if(!Zi&&typeof MutationObserver<"u"&&(Ai(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var _n=1,Sf=new MutationObserver(Tn),Dl=document.createTextNode(String(_n));Sf.observe(Dl,{characterData:!0}),Rs=function(){_n=(_n+1)%2,Dl.data=String(_n)},Yr=!0}else typeof setImmediate<"u"&&Ai(setImmediate)?Rs=function(){setImmediate(Tn)}:Rs=function(){setTimeout(Tn,0)};function $r(e,t){var i;if(Xr.push(function(){if(e)try{e.call(t)}catch(s){zt(s,t,"nextTick")}else i&&i(t)}),Zr||(Zr=!0,Rs()),!e&&typeof Promise<"u")return new Promise(function(s){i=s})}var Ol;if(process.env.NODE_ENV!=="production"){var Pf=st("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,require"),Ml=function(e,t){Q('Property or method "'+t+'" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',e)},Bl=function(e,t){Q('Property "'+t+'" must be accessed with "$data.'+t+'" because properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://vuejs.org/v2/api/#data',e)},Rl=typeof Proxy<"u"&&Ai(Proxy);if(Rl){var Df=st("stop,prevent,self,ctrl,shift,alt,meta,exact");me.keyCodes=new Proxy(me.keyCodes,{set:function(t,i,s){return Df(i)?(Q("Avoid overwriting built-in modifier in config.keyCodes: ."+i),!1):(t[i]=s,!0)}})}var Of={has:function(t,i){var s=i in t,n=Pf(i)||typeof i=="string"&&i.charAt(0)==="_"&&!(i in t.$data);return!s&&!n&&(i in t.$data?Bl(t,i):Ml(t,i)),s||!n}},Mf={get:function(t,i){return typeof i=="string"&&!(i in t)&&(i in t.$data?Bl(t,i):Ml(t,i)),t[i]}};Ol=function(t){if(Rl){var i=t.$options,s=i.render&&i.render._withStripped?Mf:Of;t._renderProxy=new Proxy(t,s)}else t._renderProxy=t}}var Ll=new Os;function Nn(e){ea(e,Ll),Ll.clear()}function ea(e,t){var i,s,n=Array.isArray(e);if(!(!n&&!Oe(e)||Object.isFrozen(e)||e instanceof ze)){if(e.__ob__){var r=e.__ob__.dep.id;if(t.has(r))return;t.add(r)}if(n)for(i=e.length;i--;)ea(e[i],t);else for(s=Object.keys(e),i=s.length;i--;)ea(e[s[i]],t)}}var kt,kn;if(process.env.NODE_ENV!=="production"){var Ft=We&&window.performance;Ft&&Ft.mark&&Ft.measure&&Ft.clearMarks&&Ft.clearMeasures&&(kt=function(e){return Ft.mark(e)},kn=function(e,t,i){Ft.measure(e,t,i),Ft.clearMarks(t),Ft.clearMarks(i)})}var Fl=mi(function(e){var t=e.charAt(0)==="&";e=t?e.slice(1):e;var i=e.charAt(0)==="~";e=i?e.slice(1):e;var s=e.charAt(0)==="!";return e=s?e.slice(1):e,{name:e,once:i,capture:s,passive:t}});function ta(e,t){function i(){var s=arguments,n=i.fns;if(Array.isArray(n))for(var r=n.slice(),a=0;a<r.length;a++)ts(r[a],null,s,t,"v-on handler");else return ts(n,null,arguments,t,"v-on handler")}return i.fns=e,i}function Vl(e,t,i,s,n,r){var a,o,l,p;for(a in e)o=e[a],l=t[a],p=Fl(a),ie(o)?process.env.NODE_ENV!=="production"&&Q('Invalid handler for event "'+p.name+'": got '+String(o),r):ie(l)?(ie(o.fns)&&(o=e[a]=ta(o,r)),Ie(p.once)&&(o=e[a]=n(p.name,o,p.capture)),i(p.name,o,p.capture,p.passive,p.params)):o!==l&&(l.fns=o,e[a]=l);for(a in t)ie(e[a])&&(p=Fl(a),s(p.name,t[a],p.capture))}function Yt(e,t,i){e instanceof ze&&(e=e.data.hook||(e.data.hook={}));var s,n=e[t];function r(){i.apply(this,arguments),Lt(s.fns,r)}ie(n)?s=ta([r]):b(n.fns)&&Ie(n.merged)?(s=n,s.fns.push(r)):s=ta([n,r]),s.merged=!0,e[t]=s}function Bf(e,t,i){var s=t.options.props;if(!ie(s)){var n={},r=e.attrs,a=e.props;if(b(r)||b(a))for(var o in s){var l=yi(o);if(process.env.NODE_ENV!=="production"){var p=o.toLowerCase();o!==p&&r&&Pe(r,p)&&Fr('Prop "'+p+'" is passed to component '+bi(i||t)+', but the declared prop name is "'+o+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+l+'" instead of "'+o+'".')}jl(n,a,o,l,!0)||jl(n,r,o,l,!1)}return n}}function jl(e,t,i,s,n){if(b(t)){if(Pe(t,i))return e[i]=t[i],n||delete t[i],!0;if(Pe(t,s))return e[i]=t[s],n||delete t[s],!0}return!1}function Rf(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function ia(e){return Kt(e)?[es(e)]:Array.isArray(e)?Ul(e):void 0}function Ls(e){return b(e)&&b(e.text)&&Jh(e.isComment)}function Ul(e,t){var i=[],s,n,r,a;for(s=0;s<e.length;s++)n=e[s],!(ie(n)||typeof n=="boolean")&&(r=i.length-1,a=i[r],Array.isArray(n)?n.length>0&&(n=Ul(n,(t||"")+"_"+s),Ls(n[0])&&Ls(a)&&(i[r]=es(a.text+n[0].text),n.shift()),i.push.apply(i,n)):Kt(n)?Ls(a)?i[r]=es(a.text+n):n!==""&&i.push(es(n)):Ls(n)&&Ls(a)?i[r]=es(a.text+n.text):(Ie(e._isVList)&&b(n.tag)&&ie(n.key)&&b(t)&&(n.key="__vlist"+t+"_"+s+"__"),i.push(n)));return i}function Lf(e){var t=e.$options.provide;t&&(e._provided=typeof t=="function"?t.call(e):t)}function Ff(e){var t=Ql(e.$options.inject,e);t&&(Wt(!1),Object.keys(t).forEach(function(i){process.env.NODE_ENV!=="production"?At(e,i,t[i],function(){Q('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+i+'"',e)}):At(e,i,t[i])}),Wt(!0))}function Ql(e,t){if(e){for(var i=Object.create(null),s=Cn?Reflect.ownKeys(e):Object.keys(e),n=0;n<s.length;n++){var r=s[n];if(r!=="__ob__"){for(var a=e[r].from,o=t;o;){if(o._provided&&Pe(o._provided,a)){i[r]=o._provided[a];break}o=o.$parent}if(!o)if("default"in e[r]){var l=e[r].default;i[r]=typeof l=="function"?l.call(t):l}else process.env.NODE_ENV!=="production"&&Q('Injection "'+r+'" not found',t)}}return i}}function sa(e,t){if(!e||!e.length)return{};for(var i={},s=0,n=e.length;s<n;s++){var r=e[s],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,(r.context===t||r.fnContext===t)&&a&&a.slot!=null){var o=a.slot,l=i[o]||(i[o]=[]);r.tag==="template"?l.push.apply(l,r.children||[]):l.push(r)}else(i.default||(i.default=[])).push(r)}for(var p in i)i[p].every(Vf)&&delete i[p];return i}function Vf(e){return e.isComment&&!e.asyncFactory||e.text===" "}function Fs(e){return e.isComment&&e.asyncFactory}function Sn(e,t,i){var s,n=Object.keys(t).length>0,r=e?!!e.$stable:!n,a=e&&e.$key;if(!e)s={};else{if(e._normalized)return e._normalized;if(r&&i&&i!==dt&&a===i.$key&&!n&&!i.$hasNormal)return i;s={};for(var o in e)e[o]&&o[0]!=="$"&&(s[o]=jf(t,o,e[o]))}for(var l in t)l in s||(s[l]=Uf(t,l));return e&&Object.isExtensible(e)&&(e._normalized=s),Xi(s,"$stable",r),Xi(s,"$key",a),Xi(s,"$hasNormal",n),s}function jf(e,t,i){var s=function(){var n=arguments.length?i.apply(null,arguments):i({});n=n&&typeof n=="object"&&!Array.isArray(n)?[n]:ia(n);var r=n&&n[0];return n&&(!r||n.length===1&&r.isComment&&!Fs(r))?void 0:n};return i.proxy&&Object.defineProperty(e,t,{get:s,enumerable:!0,configurable:!0}),s}function Uf(e,t){return function(){return e[t]}}function Qf(e,t){var i,s,n,r,a;if(Array.isArray(e)||typeof e=="string")for(i=new Array(e.length),s=0,n=e.length;s<n;s++)i[s]=t(e[s],s);else if(typeof e=="number")for(i=new Array(e),s=0;s<e;s++)i[s]=t(s+1,s);else if(Oe(e))if(Cn&&e[Symbol.iterator]){i=[];for(var o=e[Symbol.iterator](),l=o.next();!l.done;)i.push(t(l.value,i.length)),l=o.next()}else for(r=Object.keys(e),i=new Array(r.length),s=0,n=r.length;s<n;s++)a=r[s],i[s]=t(e[a],a,s);return b(i)||(i=[]),i._isVList=!0,i}function Gf(e,t,i,s){var n=this.$scopedSlots[e],r;n?(i=i||{},s&&(process.env.NODE_ENV!=="production"&&!Oe(s)&&Q("slot v-bind without argument expects an Object",this),i=ye(ye({},s),i)),r=n(i)||(typeof t=="function"?t():t)):r=this.$slots[e]||(typeof t=="function"?t():t);var a=i&&i.slot;return a?this.$createElement("template",{slot:a},r):r}function qf(e){return Kr(this.$options,"filters",e,!0)||pl}function Gl(e,t){return Array.isArray(e)?e.indexOf(t)===-1:e!==t}function Hf(e,t,i,s,n){var r=me.keyCodes[t]||i;return n&&s&&!me.keyCodes[t]?Gl(n,s):r?Gl(r,e):s?yi(s)!==t:e===void 0}function Jf(e,t,i,s,n){if(i)if(!Oe(i))process.env.NODE_ENV!=="production"&&Q("v-bind without argument expects an Object or Array value",this);else{Array.isArray(i)&&(i=ul(i));var r,a=function(l){if(l==="class"||l==="style"||ll(l))r=e;else{var p=e.attrs&&e.attrs.type;r=s||me.mustUseProp(t,p,l)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var h=gi(l),d=yi(l);if(!(h in r)&&!(d in r)&&(r[l]=i[l],n)){var y=e.on||(e.on={});y["update:"+l]=function(x){i[l]=x}}};for(var o in i)a(o)}return e}function Kf(e,t){var i=this._staticTrees||(this._staticTrees=[]),s=i[e];return s&&!t||(s=i[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),ql(s,"__static__"+e,!1)),s}function Wf(e,t,i){return ql(e,"__once__"+t+(i?"_"+i:""),!0),e}function ql(e,t,i){if(Array.isArray(e))for(var s=0;s<e.length;s++)e[s]&&typeof e[s]!="string"&&Hl(e[s],t+"_"+s,i);else Hl(e,t,i)}function Hl(e,t,i){e.isStatic=!0,e.key=t,e.isOnce=i}function zf(e,t){if(t)if(!Ve(t))process.env.NODE_ENV!=="production"&&Q("v-on without argument expects an Object value",this);else{var i=e.on=e.on?ye({},e.on):{};for(var s in t){var n=i[s],r=t[s];i[s]=n?[].concat(n,r):r}}return e}function Jl(e,t,i,s){t=t||{$stable:!i};for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?Jl(r,t,i):r&&(r.proxy&&(r.fn.proxy=!0),t[r.key]=r.fn)}return s&&(t.$key=s),t}function Yf(e,t){for(var i=0;i<t.length;i+=2){var s=t[i];typeof s=="string"&&s?e[t[i]]=t[i+1]:process.env.NODE_ENV!=="production"&&s!==""&&s!==null&&Q("Invalid value for dynamic directive argument (expected string or null): "+s,this)}return e}function Xf(e,t){return typeof e=="string"?t+e:e}function Kl(e){e._o=Wf,e._n=Ds,e._s=Kh,e._l=Qf,e._t=Gf,e._q=vi,e._i=dl,e._m=Kf,e._f=qf,e._k=Hf,e._b=Jf,e._v=es,e._e=Ci,e._u=Jl,e._g=zf,e._d=Yf,e._p=Xf}function na(e,t,i,s,n){var r=this,a=n.options,o;Pe(s,"_uid")?(o=Object.create(s),o._original=s):(o=s,s=s._original);var l=Ie(a._compiled),p=!l;this.data=e,this.props=t,this.children=i,this.parent=s,this.listeners=e.on||dt,this.injections=Ql(a.inject,s),this.slots=function(){return r.$slots||Sn(e.scopedSlots,r.$slots=sa(i,s)),r.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Sn(e.scopedSlots,this.slots())}}),l&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=Sn(e.scopedSlots,this.$slots)),a._scopeId?this._c=function(h,d,y,x){var M=Pn(o,h,d,y,x,p);return M&&!Array.isArray(M)&&(M.fnScopeId=a._scopeId,M.fnContext=s),M}:this._c=function(h,d,y,x){return Pn(o,h,d,y,x,p)}}Kl(na.prototype);function Zf(e,t,i,s,n){var r=e.options,a={},o=r.props;if(b(o))for(var l in o)a[l]=Wr(l,o,t||dt);else b(i.attrs)&&zl(a,i.attrs),b(i.props)&&zl(a,i.props);var p=new na(i,a,n,s,e),h=r.render.call(null,p._c,p);if(h instanceof ze)return Wl(h,i,p.parent,r,p);if(Array.isArray(h)){for(var d=ia(h)||[],y=new Array(d.length),x=0;x<d.length;x++)y[x]=Wl(d[x],i,p.parent,r,p);return y}}function Wl(e,t,i,s,n){var r=jr(e);return r.fnContext=i,r.fnOptions=s,process.env.NODE_ENV!=="production"&&((r.devtoolsMeta=r.devtoolsMeta||{}).renderContext=n),t.slot&&((r.data||(r.data={})).slot=t.slot),r}function zl(e,t){for(var i in t)e[gi(i)]=t[i]}var ra={init:function(t,i){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var s=t;ra.prepatch(s,s)}else{var n=t.componentInstance=$f(t,xi);n.$mount(i?t.elm:void 0,i)}},prepatch:function(t,i){var s=i.componentOptions,n=i.componentInstance=t.componentInstance;vm(n,s.propsData,s.listeners,i,s.children)},insert:function(t){var i=t.context,s=t.componentInstance;s._isMounted||(s._isMounted=!0,bt(s,"mounted")),t.data.keepAlive&&(i._isMounted?wm(s):la(s,!0))},destroy:function(t){var i=t.componentInstance;i._isDestroyed||(t.data.keepAlive?nc(i,!0):i.$destroy())}},Yl=Object.keys(ra);function Xl(e,t,i,s,n){if(!ie(e)){var r=i.$options._base;if(Oe(e)&&(e=r.extend(e)),typeof e!="function"){process.env.NODE_ENV!=="production"&&Q("Invalid Component definition: "+String(e),i);return}var a;if(ie(e.cid)&&(a=e,e=cm(a,r),e===void 0))return lm(a,t,i,s,n);t=t||{},ga(e),b(t.model)&&im(e.options,t);var o=Bf(t,e,n);if(Ie(e.options.functional))return Zf(e,o,t,i,s);var l=t.on;if(t.on=t.nativeOn,Ie(e.options.abstract)){var p=t.slot;t={},p&&(t.slot=p)}em(t);var h=e.options.name||n,d=new ze("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,i,{Ctor:e,propsData:o,listeners:l,tag:n,children:s},a);return d}}function $f(e,t){var i={_isComponent:!0,_parentVnode:e,parent:t},s=e.data.inlineTemplate;return b(s)&&(i.render=s.render,i.staticRenderFns=s.staticRenderFns),new e.componentOptions.Ctor(i)}function em(e){for(var t=e.hook||(e.hook={}),i=0;i<Yl.length;i++){var s=Yl[i],n=t[s],r=ra[s];n!==r&&!(n&&n._merged)&&(t[s]=n?tm(r,n):r)}}function tm(e,t){var i=function(s,n){e(s,n),t(s,n)};return i._merged=!0,i}function im(e,t){var i=e.model&&e.model.prop||"value",s=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[i]=t.model.value;var n=t.on||(t.on={}),r=n[s],a=t.model.callback;b(r)?(Array.isArray(r)?r.indexOf(a)===-1:r!==a)&&(n[s]=[a].concat(r)):n[s]=a}var sm=1,Zl=2;function Pn(e,t,i,s,n,r){return(Array.isArray(i)||Kt(i))&&(n=s,s=i,i=void 0),Ie(r)&&(n=Zl),nm(e,t,i,s,n)}function nm(e,t,i,s,n){if(b(i)&&b(i.__ob__))return process.env.NODE_ENV!=="production"&&Q("Avoid using observed data object as vnode data: "+JSON.stringify(i)+`
|
|
13
|
+
Always create fresh vnode data objects in each render!`,e),Ci();if(b(i)&&b(i.is)&&(t=i.is),!t)return Ci();process.env.NODE_ENV!=="production"&&b(i)&&b(i.key)&&!Kt(i.key)&&Q("Avoid using non-primitive value as key, use string/number value instead.",e),Array.isArray(s)&&typeof s[0]=="function"&&(i=i||{},i.scopedSlots={default:s[0]},s.length=0),n===Zl?s=ia(s):n===sm&&(s=Rf(s));var r,a;if(typeof t=="string"){var o;a=e.$vnode&&e.$vnode.ns||me.getTagNamespace(t),me.isReservedTag(t)?(process.env.NODE_ENV!=="production"&&b(i)&&b(i.nativeOn)&&i.tag!=="component"&&Q("The .native modifier for v-on is only valid on components but it was used on <"+t+">.",e),r=new ze(me.parsePlatformTagName(t),i,s,void 0,void 0,e)):(!i||!i.pre)&&b(o=Kr(e.$options,"components",t))?r=Xl(o,i,e,s,t):r=new ze(t,i,s,void 0,void 0,e)}else r=Xl(t,i,e,s);return Array.isArray(r)?r:b(r)?(b(a)&&$l(r,a),b(i)&&rm(i),r):Ci()}function $l(e,t,i){if(e.ns=t,e.tag==="foreignObject"&&(t=void 0,i=!0),b(e.children))for(var s=0,n=e.children.length;s<n;s++){var r=e.children[s];b(r.tag)&&(ie(r.ns)||Ie(i)&&r.tag!=="svg")&&$l(r,t,i)}}function rm(e){Oe(e.style)&&Nn(e.style),Oe(e.class)&&Nn(e.class)}function am(e){e._vnode=null,e._staticTrees=null;var t=e.$options,i=e.$vnode=t._parentVnode,s=i&&i.context;e.$slots=sa(t._renderChildren,s),e.$scopedSlots=dt,e._c=function(r,a,o,l){return Pn(e,r,a,o,l,!1)},e.$createElement=function(r,a,o,l){return Pn(e,r,a,o,l,!0)};var n=i&&i.data;process.env.NODE_ENV!=="production"?(At(e,"$attrs",n&&n.attrs||dt,function(){!js&&Q("$attrs is readonly.",e)},!0),At(e,"$listeners",t._parentListeners||dt,function(){!js&&Q("$listeners is readonly.",e)},!0)):(At(e,"$attrs",n&&n.attrs||dt,null,!0),At(e,"$listeners",t._parentListeners||dt,null,!0))}var aa=null;function om(e){Kl(e.prototype),e.prototype.$nextTick=function(t){return $r(t,this)},e.prototype._render=function(){var t=this,i=t.$options,s=i.render,n=i._parentVnode;n&&(t.$scopedSlots=Sn(n.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=n;var r;try{aa=t,r=s.call(t._renderProxy,t.$createElement)}catch(a){if(zt(a,t,"render"),process.env.NODE_ENV!=="production"&&t.$options.renderError)try{r=t.$options.renderError.call(t._renderProxy,t.$createElement,a)}catch(o){zt(o,t,"renderError"),r=t._vnode}else r=t._vnode}finally{aa=null}return Array.isArray(r)&&r.length===1&&(r=r[0]),r instanceof ze||(process.env.NODE_ENV!=="production"&&Array.isArray(r)&&Q("Multiple root nodes returned from render function. Render function should return a single root node.",t),r=Ci()),r.parent=n,r}}function oa(e,t){return(e.__esModule||Cn&&e[Symbol.toStringTag]==="Module")&&(e=e.default),Oe(e)?t.extend(e):e}function lm(e,t,i,s,n){var r=Ci();return r.asyncFactory=e,r.asyncMeta={data:t,context:i,children:s,tag:n},r}function cm(e,t){if(Ie(e.error)&&b(e.errorComp))return e.errorComp;if(b(e.resolved))return e.resolved;var i=aa;if(i&&b(e.owners)&&e.owners.indexOf(i)===-1&&e.owners.push(i),Ie(e.loading)&&b(e.loadingComp))return e.loadingComp;if(i&&!b(e.owners)){var s=e.owners=[i],n=!0,r=null,a=null;i.$on("hook:destroyed",function(){return Lt(s,i)});var o=function(d){for(var y=0,x=s.length;y<x;y++)s[y].$forceUpdate();d&&(s.length=0,r!==null&&(clearTimeout(r),r=null),a!==null&&(clearTimeout(a),a=null))},l=gn(function(d){e.resolved=oa(d,t),n?s.length=0:o(!0)}),p=gn(function(d){process.env.NODE_ENV!=="production"&&Q("Failed to resolve async component: "+String(e)+(d?`
|
|
14
|
+
Reason: `+d:"")),b(e.errorComp)&&(e.error=!0,o(!0))}),h=e(l,p);return Oe(h)&&(Or(h)?ie(e.resolved)&&h.then(l,p):Or(h.component)&&(h.component.then(l,p),b(h.error)&&(e.errorComp=oa(h.error,t)),b(h.loading)&&(e.loadingComp=oa(h.loading,t),h.delay===0?e.loading=!0:r=setTimeout(function(){r=null,ie(e.resolved)&&ie(e.error)&&(e.loading=!0,o(!1))},h.delay||200)),b(h.timeout)&&(a=setTimeout(function(){a=null,ie(e.resolved)&&p(process.env.NODE_ENV!=="production"?"timeout ("+h.timeout+"ms)":null)},h.timeout)))),n=!1,e.loading?e.loadingComp:e.resolved}}function ec(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var i=e[t];if(b(i)&&(b(i.componentOptions)||Fs(i)))return i}}function um(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&tc(e,t)}var Vs;function pm(e,t){Vs.$on(e,t)}function dm(e,t){Vs.$off(e,t)}function hm(e,t){var i=Vs;return function s(){var n=t.apply(null,arguments);n!==null&&i.$off(e,s)}}function tc(e,t,i){Vs=e,Vl(t,i||{},pm,dm,hm,e),Vs=void 0}function fm(e){var t=/^hook:/;e.prototype.$on=function(i,s){var n=this;if(Array.isArray(i))for(var r=0,a=i.length;r<a;r++)n.$on(i[r],s);else(n._events[i]||(n._events[i]=[])).push(s),t.test(i)&&(n._hasHookEvent=!0);return n},e.prototype.$once=function(i,s){var n=this;function r(){n.$off(i,r),s.apply(n,arguments)}return r.fn=s,n.$on(i,r),n},e.prototype.$off=function(i,s){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(i)){for(var r=0,a=i.length;r<a;r++)n.$off(i[r],s);return n}var o=n._events[i];if(!o)return n;if(!s)return n._events[i]=null,n;for(var l,p=o.length;p--;)if(l=o[p],l===s||l.fn===s){o.splice(p,1);break}return n},e.prototype.$emit=function(i){var s=this;if(process.env.NODE_ENV!=="production"){var n=i.toLowerCase();n!==i&&s._events[n]&&Fr('Event "'+n+'" is emitted in component '+bi(s)+' but the handler is registered for "'+i+'". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "'+yi(i)+'" instead of "'+i+'".')}var r=s._events[i];if(r){r=r.length>1?Mr(r):r;for(var a=Mr(arguments,1),o='event handler for "'+i+'"',l=0,p=r.length;l<p;l++)ts(r[l],s,a,s,o)}return s}}var xi=null,js=!1;function ic(e){var t=xi;return xi=e,function(){xi=t}}function mm(e){var t=e.$options,i=t.parent;if(i&&!t.abstract){for(;i.$options.abstract&&i.$parent;)i=i.$parent;i.$children.push(e)}e.$parent=i,e.$root=i?i.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function gm(e){e.prototype._update=function(t,i){var s=this,n=s.$el,r=s._vnode,a=ic(s);s._vnode=t,r?s.$el=s.__patch__(r,t):s.$el=s.__patch__(s.$el,t,i,!1),a(),n&&(n.__vue__=null),s.$el&&(s.$el.__vue__=s),s.$vnode&&s.$parent&&s.$vnode===s.$parent._vnode&&(s.$parent.$el=s.$el)},e.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},e.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){bt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var i=t.$parent;i&&!i._isBeingDestroyed&&!t.$options.abstract&&Lt(i.$children,t),t._watcher&&t._watcher.teardown();for(var s=t._watchers.length;s--;)t._watchers[s].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),bt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function ym(e,t,i){e.$el=t,e.$options.render||(e.$options.render=Ci,process.env.NODE_ENV!=="production"&&(e.$options.template&&e.$options.template.charAt(0)!=="#"||e.$options.el||t?Q("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):Q("Failed to mount component: template or render function not defined.",e))),bt(e,"beforeMount");var s;return process.env.NODE_ENV!=="production"&&me.performance&&kt?s=function(){var n=e._name,r=e._uid,a="vue-perf-start:"+r,o="vue-perf-end:"+r;kt(a);var l=e._render();kt(o),kn("vue "+n+" render",a,o),kt(a),e._update(l,i),kt(o),kn("vue "+n+" patch",a,o)}:s=function(){e._update(e._render(),i)},new Ct(e,s,De,{before:function(){e._isMounted&&!e._isDestroyed&&bt(e,"beforeUpdate")}},!0),i=!1,e.$vnode==null&&(e._isMounted=!0,bt(e,"mounted")),e}function vm(e,t,i,s,n){process.env.NODE_ENV!=="production"&&(js=!0);var r=s.data.scopedSlots,a=e.$scopedSlots,o=!!(r&&!r.$stable||a!==dt&&!a.$stable||r&&e.$scopedSlots.$key!==r.$key||!r&&e.$scopedSlots.$key),l=!!(n||e.$options._renderChildren||o);if(e.$options._parentVnode=s,e.$vnode=s,e._vnode&&(e._vnode.parent=s),e.$options._renderChildren=n,e.$attrs=s.data.attrs||dt,e.$listeners=i||dt,t&&e.$options.props){Wt(!1);for(var p=e._props,h=e.$options._propKeys||[],d=0;d<h.length;d++){var y=h[d],x=e.$options.props;p[y]=Wr(y,x,t,e)}Wt(!0),e.$options.propsData=t}i=i||dt;var M=e.$options._parentListeners;e.$options._parentListeners=i,tc(e,i,M),l&&(e.$slots=sa(n,s.context),e.$forceUpdate()),process.env.NODE_ENV!=="production"&&(js=!1)}function sc(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function la(e,t){if(t){if(e._directInactive=!1,sc(e))return}else if(e._directInactive)return;if(e._inactive||e._inactive===null){e._inactive=!1;for(var i=0;i<e.$children.length;i++)la(e.$children[i]);bt(e,"activated")}}function nc(e,t){if(!(t&&(e._directInactive=!0,sc(e)))&&!e._inactive){e._inactive=!0;for(var i=0;i<e.$children.length;i++)nc(e.$children[i]);bt(e,"deactivated")}}function bt(e,t){Ms();var i=e.$options[t],s=t+" hook";if(i)for(var n=0,r=i.length;n<r;n++)ts(i[n],e,null,e,s);e._hasHookEvent&&e.$emit("hook:"+t),Bs()}var Am=100,Vt=[],ca=[],Us={},Dn={},ua=!1,pa=!1,is=0;function bm(){is=Vt.length=ca.length=0,Us={},process.env.NODE_ENV!=="production"&&(Dn={}),ua=pa=!1}var rc=0,da=Date.now;if(We&&!Zi){var ha=window.performance;ha&&typeof ha.now=="function"&&da()>document.createEvent("Event").timeStamp&&(da=function(){return ha.now()})}function ac(){rc=da(),pa=!0;var e,t;for(Vt.sort(function(n,r){return n.id-r.id}),is=0;is<Vt.length;is++)if(e=Vt[is],e.before&&e.before(),t=e.id,Us[t]=null,e.run(),process.env.NODE_ENV!=="production"&&Us[t]!=null&&(Dn[t]=(Dn[t]||0)+1,Dn[t]>Am)){Q("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var i=ca.slice(),s=Vt.slice();bm(),Em(i),Cm(s),bn&&me.devtools&&bn.emit("flush")}function Cm(e){for(var t=e.length;t--;){var i=e[t],s=i.vm;s._watcher===i&&s._isMounted&&!s._isDestroyed&&bt(s,"updated")}}function wm(e){e._inactive=!1,ca.push(e)}function Em(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,la(e[t],!0)}function xm(e){var t=e.id;if(Us[t]==null){if(Us[t]=!0,!pa)Vt.push(e);else{for(var i=Vt.length-1;i>is&&Vt[i].id>e.id;)i--;Vt.splice(i+1,0,e)}if(!ua){if(ua=!0,process.env.NODE_ENV!=="production"&&!me.async){ac();return}$r(ac)}}}var Im=0,Ct=function(t,i,s,n,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=s,this.id=++Im,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Os,this.newDepIds=new Os,this.expression=process.env.NODE_ENV!=="production"?i.toString():"",typeof i=="function"?this.getter=i:(this.getter=sf(i),this.getter||(this.getter=De,process.env.NODE_ENV!=="production"&&Q('Failed watching path: "'+i+'" Watcher only accepts simple dot-delimited paths. For full control, use a function instead.',t))),this.value=this.lazy?void 0:this.get()};Ct.prototype.get=function(){Ms(this);var t,i=this.vm;try{t=this.getter.call(i,i)}catch(s){if(this.user)zt(s,i,'getter for watcher "'+this.expression+'"');else throw s}finally{this.deep&&Nn(t),Bs(),this.cleanupDeps()}return t},Ct.prototype.addDep=function(t){var i=t.id;this.newDepIds.has(i)||(this.newDepIds.add(i),this.newDeps.push(t),this.depIds.has(i)||t.addSub(this))},Ct.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var i=this.deps[t];this.newDepIds.has(i.id)||i.removeSub(this)}var s=this.depIds;this.depIds=this.newDepIds,this.newDepIds=s,this.newDepIds.clear(),s=this.deps,this.deps=this.newDeps,this.newDeps=s,this.newDeps.length=0},Ct.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():xm(this)},Ct.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||Oe(t)||this.deep){var i=this.value;if(this.value=t,this.user){var s='callback for watcher "'+this.expression+'"';ts(this.cb,this.vm,[t,i],this.vm,s)}else this.cb.call(this.vm,t,i)}}},Ct.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ct.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Ct.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||Lt(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var St={enumerable:!0,configurable:!0,get:De,set:De};function fa(e,t,i){St.get=function(){return this[t][i]},St.set=function(n){this[t][i]=n},Object.defineProperty(e,i,St)}function Tm(e){e._watchers=[];var t=e.$options;t.props&&_m(e,t.props),t.methods&&Dm(e,t.methods),t.data?Nm(e):wi(e._data={},!0),t.computed&&Pm(e,t.computed),t.watch&&t.watch!==Lr&&Om(e,t.watch)}function _m(e,t){var i=e.$options.propsData||{},s=e._props={},n=e.$options._propKeys=[],r=!e.$parent;r||Wt(!1);var a=function(l){n.push(l);var p=Wr(l,t,i,e);if(process.env.NODE_ENV!=="production"){var h=yi(l);(ll(h)||me.isReservedAttr(h))&&Q('"'+h+'" is a reserved attribute and cannot be used as component prop.',e),At(s,l,p,function(){!r&&!js&&Q(`Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "`+l+'"',e)})}else At(s,l,p);l in e||fa(e,"_props",l)};for(var o in t)a(o);Wt(!0)}function Nm(e){var t=e.$options.data;t=e._data=typeof t=="function"?km(t,e):t||{},Ve(t)||(t={},process.env.NODE_ENV!=="production"&&Q(`data functions should return an object:
|
|
15
|
+
https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function`,e));for(var i=Object.keys(t),s=e.$options.props,n=e.$options.methods,r=i.length;r--;){var a=i[r];process.env.NODE_ENV!=="production"&&n&&Pe(n,a)&&Q('Method "'+a+'" has already been defined as a data property.',e),s&&Pe(s,a)?process.env.NODE_ENV!=="production"&&Q('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):gl(a)||fa(e,"_data",a)}wi(t,!0)}function km(e,t){Ms();try{return e.call(t,t)}catch(i){return zt(i,t,"data()"),{}}finally{Bs()}}var Sm={lazy:!0};function Pm(e,t){var i=e._computedWatchers=Object.create(null),s=An();for(var n in t){var r=t[n],a=typeof r=="function"?r:r.get;process.env.NODE_ENV!=="production"&&a==null&&Q('Getter is missing for computed property "'+n+'".',e),s||(i[n]=new Ct(e,a||De,De,Sm)),n in e?process.env.NODE_ENV!=="production"&&(n in e.$data?Q('The computed property "'+n+'" is already defined in data.',e):e.$options.props&&n in e.$options.props?Q('The computed property "'+n+'" is already defined as a prop.',e):e.$options.methods&&n in e.$options.methods&&Q('The computed property "'+n+'" is already defined as a method.',e)):oc(e,n,r)}}function oc(e,t,i){var s=!An();typeof i=="function"?(St.get=s?lc(t):cc(i),St.set=De):(St.get=i.get?s&&i.cache!==!1?lc(t):cc(i.get):De,St.set=i.set||De),process.env.NODE_ENV!=="production"&&St.set===De&&(St.set=function(){Q('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,St)}function lc(e){return function(){var i=this._computedWatchers&&this._computedWatchers[e];if(i)return i.dirty&&i.evaluate(),nt.target&&i.depend(),i.value}}function cc(e){return function(){return e.call(this,this)}}function Dm(e,t){var i=e.$options.props;for(var s in t)process.env.NODE_ENV!=="production"&&(typeof t[s]!="function"&&Q('Method "'+s+'" has type "'+typeof t[s]+'" in the component definition. Did you reference the function correctly?',e),i&&Pe(i,s)&&Q('Method "'+s+'" has already been defined as a prop.',e),s in e&&gl(s)&&Q('Method "'+s+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.')),e[s]=typeof t[s]!="function"?De:ef(t[s],e)}function Om(e,t){for(var i in t){var s=t[i];if(Array.isArray(s))for(var n=0;n<s.length;n++)ma(e,i,s[n]);else ma(e,i,s)}}function ma(e,t,i,s){return Ve(i)&&(s=i,i=i.handler),typeof i=="string"&&(i=e[i]),e.$watch(t,i,s)}function Mm(e){var t={};t.get=function(){return this._data};var i={};i.get=function(){return this._props},process.env.NODE_ENV!=="production"&&(t.set=function(){Q("Avoid replacing instance root $data. Use nested data properties instead.",this)},i.set=function(){Q("$props is readonly.",this)}),Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",i),e.prototype.$set=Qr,e.prototype.$delete=xl,e.prototype.$watch=function(s,n,r){var a=this;if(Ve(n))return ma(a,s,n,r);r=r||{},r.user=!0;var o=new Ct(a,s,n,r);if(r.immediate){var l='callback for immediate watcher "'+o.expression+'"';Ms(),ts(n,a,[o.value],a,l),Bs()}return function(){o.teardown()}}}var Bm=0;function Rm(e){e.prototype._init=function(t){var i=this;i._uid=Bm++;var s,n;process.env.NODE_ENV!=="production"&&me.performance&&kt&&(s="vue-perf-start:"+i._uid,n="vue-perf-end:"+i._uid,kt(s)),i._isVue=!0,t&&t._isComponent?Lm(i,t):i.$options=Ei(ga(i.constructor),t||{},i),process.env.NODE_ENV!=="production"?Ol(i):i._renderProxy=i,i._self=i,mm(i),um(i),am(i),bt(i,"beforeCreate"),Ff(i),Tm(i),Lf(i),bt(i,"created"),process.env.NODE_ENV!=="production"&&me.performance&&kt&&(i._name=bi(i,!1),kt(n),kn("vue "+i._name+" init",s,n)),i.$options.el&&i.$mount(i.$options.el)}}function Lm(e,t){var i=e.$options=Object.create(e.constructor.options),s=t._parentVnode;i.parent=t.parent,i._parentVnode=s;var n=s.componentOptions;i.propsData=n.propsData,i._parentListeners=n.listeners,i._renderChildren=n.children,i._componentTag=n.tag,t.render&&(i.render=t.render,i.staticRenderFns=t.staticRenderFns)}function ga(e){var t=e.options;if(e.super){var i=ga(e.super),s=e.superOptions;if(i!==s){e.superOptions=i;var n=Fm(e);n&&ye(e.extendOptions,n),t=e.options=Ei(i,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Fm(e){var t,i=e.options,s=e.sealedOptions;for(var n in i)i[n]!==s[n]&&(t||(t={}),t[n]=i[n]);return t}function Ce(e){process.env.NODE_ENV!=="production"&&!(this instanceof Ce)&&Q("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}Rm(Ce),Mm(Ce),fm(Ce),gm(Ce),om(Ce);function Vm(e){e.use=function(t){var i=this._installedPlugins||(this._installedPlugins=[]);if(i.indexOf(t)>-1)return this;var s=Mr(arguments,1);return s.unshift(this),typeof t.install=="function"?t.install.apply(t,s):typeof t=="function"&&t.apply(null,s),i.push(t),this}}function jm(e){e.mixin=function(t){return this.options=Ei(this.options,t),this}}function Um(e){e.cid=0;var t=1;e.extend=function(i){i=i||{};var s=this,n=s.cid,r=i._Ctor||(i._Ctor={});if(r[n])return r[n];var a=i.name||s.options.name;process.env.NODE_ENV!=="production"&&a&&Hr(a);var o=function(p){this._init(p)};return o.prototype=Object.create(s.prototype),o.prototype.constructor=o,o.cid=t++,o.options=Ei(s.options,i),o.super=s,o.options.props&&Qm(o),o.options.computed&&Gm(o),o.extend=s.extend,o.mixin=s.mixin,o.use=s.use,yn.forEach(function(l){o[l]=s[l]}),a&&(o.options.components[a]=o),o.superOptions=s.options,o.extendOptions=i,o.sealedOptions=ye({},o.options),r[n]=o,o}}function Qm(e){var t=e.options.props;for(var i in t)fa(e.prototype,"_props",i)}function Gm(e){var t=e.options.computed;for(var i in t)oc(e.prototype,i,t[i])}function qm(e){yn.forEach(function(t){e[t]=function(i,s){return s?(process.env.NODE_ENV!=="production"&&t==="component"&&Hr(i),t==="component"&&Ve(s)&&(s.name=s.name||i,s=this.options._base.extend(s)),t==="directive"&&typeof s=="function"&&(s={bind:s,update:s}),this.options[t+"s"][i]=s,s):this.options[t+"s"][i]}})}function uc(e){return e&&(e.Ctor.options.name||e.tag)}function On(e,t){return Array.isArray(e)?e.indexOf(t)>-1:typeof e=="string"?e.split(",").indexOf(t)>-1:al(e)?e.test(t):!1}function pc(e,t){var i=e.cache,s=e.keys,n=e._vnode;for(var r in i){var a=i[r];if(a){var o=a.name;o&&!t(o)&&ya(i,r,s,n)}}}function ya(e,t,i,s){var n=e[t];n&&(!s||n.tag!==s.tag)&&n.componentInstance.$destroy(),e[t]=null,Lt(i,t)}var dc=[String,RegExp,Array],Hm={name:"keep-alive",abstract:!0,props:{include:dc,exclude:dc,max:[String,Number]},methods:{cacheVNode:function(){var t=this,i=t.cache,s=t.keys,n=t.vnodeToCache,r=t.keyToCache;if(n){var a=n.tag,o=n.componentInstance,l=n.componentOptions;i[r]={name:uc(l),tag:a,componentInstance:o},s.push(r),this.max&&s.length>parseInt(this.max)&&ya(i,s[0],s,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)ya(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(i){pc(t,function(s){return On(i,s)})}),this.$watch("exclude",function(i){pc(t,function(s){return!On(i,s)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,i=ec(t),s=i&&i.componentOptions;if(s){var n=uc(s),r=this,a=r.include,o=r.exclude;if(a&&(!n||!On(a,n))||o&&n&&On(o,n))return i;var l=this,p=l.cache,h=l.keys,d=i.key==null?s.Ctor.cid+(s.tag?"::"+s.tag:""):i.key;p[d]?(i.componentInstance=p[d].componentInstance,Lt(h,d),h.push(d)):(this.vnodeToCache=i,this.keyToCache=d),i.data.keepAlive=!0}return i||t&&t[0]}},Jm={KeepAlive:Hm};function Km(e){var t={};t.get=function(){return me},process.env.NODE_ENV!=="production"&&(t.set=function(){Q("Do not replace the Vue.config object, set individual fields instead.")}),Object.defineProperty(e,"config",t),e.util={warn:Q,extend:ye,mergeOptions:Ei,defineReactive:At},e.set=Qr,e.delete=xl,e.nextTick=$r,e.observable=function(i){return wi(i),i},e.options=Object.create(null),yn.forEach(function(i){e.options[i+"s"]=Object.create(null)}),e.options._base=e,ye(e.options.components,Jm),Vm(e),jm(e),Um(e),qm(e)}Km(Ce),Object.defineProperty(Ce.prototype,"$isServer",{get:An}),Object.defineProperty(Ce.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ce,"FunctionalRenderContext",{value:na}),Ce.version="2.6.14";var Wm=st("style,class"),zm=st("input,textarea,option,select,progress"),Ym=function(e,t,i){return i==="value"&&zm(e)&&t!=="button"||i==="selected"&&e==="option"||i==="checked"&&e==="input"||i==="muted"&&e==="video"},hc=st("contenteditable,draggable,spellcheck"),Xm=st("events,caret,typing,plaintext-only"),Zm=function(e,t){return Mn(t)||t==="false"?"false":e==="contenteditable"&&Xm(t)?t:"true"},$m=st("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),va="http://www.w3.org/1999/xlink",Aa=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},fc=function(e){return Aa(e)?e.slice(6,e.length):""},Mn=function(e){return e==null||e===!1};function eg(e){for(var t=e.data,i=e,s=e;b(s.componentInstance);)s=s.componentInstance._vnode,s&&s.data&&(t=mc(s.data,t));for(;b(i=i.parent);)i&&i.data&&(t=mc(t,i.data));return tg(t.staticClass,t.class)}function mc(e,t){return{staticClass:ba(e.staticClass,t.staticClass),class:b(e.class)?[e.class,t.class]:t.class}}function tg(e,t){return b(e)||b(t)?ba(e,Ca(t)):""}function ba(e,t){return e?t?e+" "+t:e:t||""}function Ca(e){return Array.isArray(e)?ig(e):Oe(e)?sg(e):typeof e=="string"?e:""}function ig(e){for(var t="",i,s=0,n=e.length;s<n;s++)b(i=Ca(e[s]))&&i!==""&&(t&&(t+=" "),t+=i);return t}function sg(e){var t="";for(var i in e)e[i]&&(t&&(t+=" "),t+=i);return t}var ng={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},rg=st("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),wa=st("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),gc=function(e){return rg(e)||wa(e)};function ag(e){if(wa(e))return"svg";if(e==="math")return"math"}var Bn=Object.create(null);function og(e){if(!We)return!0;if(gc(e))return!1;if(e=e.toLowerCase(),Bn[e]!=null)return Bn[e];var t=document.createElement(e);return e.indexOf("-")>-1?Bn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Bn[e]=/HTMLUnknownElement/.test(t.toString())}var Ea=st("text,number,password,search,email,tel,url");function lg(e){if(typeof e=="string"){var t=document.querySelector(e);return t||(process.env.NODE_ENV!=="production"&&Q("Cannot find element: "+e),document.createElement("div"))}else return e}function cg(e,t){var i=document.createElement(e);return e!=="select"||t.data&&t.data.attrs&&t.data.attrs.multiple!==void 0&&i.setAttribute("multiple","multiple"),i}function ug(e,t){return document.createElementNS(ng[e],t)}function pg(e){return document.createTextNode(e)}function dg(e){return document.createComment(e)}function hg(e,t,i){e.insertBefore(t,i)}function fg(e,t){e.removeChild(t)}function mg(e,t){e.appendChild(t)}function gg(e){return e.parentNode}function yg(e){return e.nextSibling}function vg(e){return e.tagName}function Ag(e,t){e.textContent=t}function bg(e,t){e.setAttribute(t,"")}var Cg=Object.freeze({createElement:cg,createElementNS:ug,createTextNode:pg,createComment:dg,insertBefore:hg,removeChild:fg,appendChild:mg,parentNode:gg,nextSibling:yg,tagName:vg,setTextContent:Ag,setStyleScope:bg}),wg={create:function(t,i){ss(i)},update:function(t,i){t.data.ref!==i.data.ref&&(ss(t,!0),ss(i))},destroy:function(t){ss(t,!0)}};function ss(e,t){var i=e.data.ref;if(!!b(i)){var s=e.context,n=e.componentInstance||e.elm,r=s.$refs;t?Array.isArray(r[i])?Lt(r[i],n):r[i]===n&&(r[i]=void 0):e.data.refInFor?Array.isArray(r[i])?r[i].indexOf(n)<0&&r[i].push(n):r[i]=[n]:r[i]=n}}var Ii=new ze("",{},[]),Qs=["create","activate","update","remove","destroy"];function Ti(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&b(e.data)===b(t.data)&&Eg(e,t)||Ie(e.isAsyncPlaceholder)&&ie(t.asyncFactory.error))}function Eg(e,t){if(e.tag!=="input")return!0;var i,s=b(i=e.data)&&b(i=i.attrs)&&i.type,n=b(i=t.data)&&b(i=i.attrs)&&i.type;return s===n||Ea(s)&&Ea(n)}function xg(e,t,i){var s,n,r={};for(s=t;s<=i;++s)n=e[s].key,b(n)&&(r[n]=s);return r}function Ig(e){var t,i,s={},n=e.modules,r=e.nodeOps;for(t=0;t<Qs.length;++t)for(s[Qs[t]]=[],i=0;i<n.length;++i)b(n[i][Qs[t]])&&s[Qs[t]].push(n[i][Qs[t]]);function a(g){return new ze(r.tagName(g).toLowerCase(),{},[],void 0,g)}function o(g,v){function I(){--I.listeners===0&&l(g)}return I.listeners=v,I}function l(g){var v=r.parentNode(g);b(v)&&r.removeChild(v,g)}function p(g,v){return!v&&!g.ns&&!(me.ignoredElements.length&&me.ignoredElements.some(function(I){return al(I)?I.test(g.tag):I===g.tag}))&&me.isUnknownElement(g.tag)}var h=0;function d(g,v,I,R,W,re,C){if(b(g.elm)&&b(re)&&(g=re[C]=jr(g)),g.isRootInsert=!W,!y(g,v,I,R)){var w=g.data,O=g.children,Y=g.tag;b(Y)?(process.env.NODE_ENV!=="production"&&(w&&w.pre&&h++,p(g,h)&&Q("Unknown custom element: <"+Y+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',g.context)),g.elm=g.ns?r.createElementNS(g.ns,Y):r.createElement(Y,g),N(g),Z(g,O,v),b(w)&&U(g,v),B(I,g.elm,R),process.env.NODE_ENV!=="production"&&w&&w.pre&&h--):Ie(g.isComment)?(g.elm=r.createComment(g.text),B(I,g.elm,R)):(g.elm=r.createTextNode(g.text),B(I,g.elm,R))}}function y(g,v,I,R){var W=g.data;if(b(W)){var re=b(g.componentInstance)&&W.keepAlive;if(b(W=W.hook)&&b(W=W.init)&&W(g,!1),b(g.componentInstance))return x(g,v),B(I,g.elm,R),Ie(re)&&M(g,v,I,R),!0}}function x(g,v){b(g.data.pendingInsert)&&(v.push.apply(v,g.data.pendingInsert),g.data.pendingInsert=null),g.elm=g.componentInstance.$el,H(g)?(U(g,v),N(g)):(ss(g),v.push(g))}function M(g,v,I,R){for(var W,re=g;re.componentInstance;)if(re=re.componentInstance._vnode,b(W=re.data)&&b(W=W.transition)){for(W=0;W<s.activate.length;++W)s.activate[W](Ii,re);v.push(re);break}B(I,g.elm,R)}function B(g,v,I){b(g)&&(b(I)?r.parentNode(I)===g&&r.insertBefore(g,v,I):r.appendChild(g,v))}function Z(g,v,I){if(Array.isArray(v)){process.env.NODE_ENV!=="production"&&V(v);for(var R=0;R<v.length;++R)d(v[R],I,g.elm,null,!0,v,R)}else Kt(g.text)&&r.appendChild(g.elm,r.createTextNode(String(g.text)))}function H(g){for(;g.componentInstance;)g=g.componentInstance._vnode;return b(g.tag)}function U(g,v){for(var I=0;I<s.create.length;++I)s.create[I](Ii,g);t=g.data.hook,b(t)&&(b(t.create)&&t.create(Ii,g),b(t.insert)&&v.push(g))}function N(g){var v;if(b(v=g.fnScopeId))r.setStyleScope(g.elm,v);else for(var I=g;I;)b(v=I.context)&&b(v=v.$options._scopeId)&&r.setStyleScope(g.elm,v),I=I.parent;b(v=xi)&&v!==g.context&&v!==g.fnContext&&b(v=v.$options._scopeId)&&r.setStyleScope(g.elm,v)}function E(g,v,I,R,W,re){for(;R<=W;++R)d(I[R],re,g,v,!1,I,R)}function P(g){var v,I,R=g.data;if(b(R))for(b(v=R.hook)&&b(v=v.destroy)&&v(g),v=0;v<s.destroy.length;++v)s.destroy[v](g);if(b(v=g.children))for(I=0;I<g.children.length;++I)P(g.children[I])}function S(g,v,I){for(;v<=I;++v){var R=g[v];b(R)&&(b(R.tag)?(k(R),P(R)):l(R.elm))}}function k(g,v){if(b(v)||b(g.data)){var I,R=s.remove.length+1;for(b(v)?v.listeners+=R:v=o(g.elm,R),b(I=g.componentInstance)&&b(I=I._vnode)&&b(I.data)&&k(I,v),I=0;I<s.remove.length;++I)s.remove[I](g,v);b(I=g.data.hook)&&b(I=I.remove)?I(g,v):v()}else l(g.elm)}function _(g,v,I,R,W){var re=0,C=0,w=v.length-1,O=v[0],Y=v[w],ee=I.length-1,ne=I[0],f=I[ee],c,u,m,A,T=!W;for(process.env.NODE_ENV!=="production"&&V(I);re<=w&&C<=ee;)ie(O)?O=v[++re]:ie(Y)?Y=v[--w]:Ti(O,ne)?(F(O,ne,R,I,C),O=v[++re],ne=I[++C]):Ti(Y,f)?(F(Y,f,R,I,ee),Y=v[--w],f=I[--ee]):Ti(O,f)?(F(O,f,R,I,ee),T&&r.insertBefore(g,O.elm,r.nextSibling(Y.elm)),O=v[++re],f=I[--ee]):Ti(Y,ne)?(F(Y,ne,R,I,C),T&&r.insertBefore(g,Y.elm,O.elm),Y=v[--w],ne=I[++C]):(ie(c)&&(c=xg(v,re,w)),u=b(ne.key)?c[ne.key]:D(ne,v,re,w),ie(u)?d(ne,R,g,O.elm,!1,I,C):(m=v[u],Ti(m,ne)?(F(m,ne,R,I,C),v[u]=void 0,T&&r.insertBefore(g,m.elm,O.elm)):d(ne,R,g,O.elm,!1,I,C)),ne=I[++C]);re>w?(A=ie(I[ee+1])?null:I[ee+1].elm,E(g,A,I,C,ee,R)):C>ee&&S(v,re,w)}function V(g){for(var v={},I=0;I<g.length;I++){var R=g[I],W=R.key;b(W)&&(v[W]?Q("Duplicate keys detected: '"+W+"'. This may cause an update error.",R.context):v[W]=!0)}}function D(g,v,I,R){for(var W=I;W<R;W++){var re=v[W];if(b(re)&&Ti(g,re))return W}}function F(g,v,I,R,W,re){if(g!==v){b(v.elm)&&b(R)&&(v=R[W]=jr(v));var C=v.elm=g.elm;if(Ie(g.isAsyncPlaceholder)){b(v.asyncFactory.resolved)?Ne(g.elm,v,I):v.isAsyncPlaceholder=!0;return}if(Ie(v.isStatic)&&Ie(g.isStatic)&&v.key===g.key&&(Ie(v.isCloned)||Ie(v.isOnce))){v.componentInstance=g.componentInstance;return}var w,O=v.data;b(O)&&b(w=O.hook)&&b(w=w.prepatch)&&w(g,v);var Y=g.children,ee=v.children;if(b(O)&&H(v)){for(w=0;w<s.update.length;++w)s.update[w](g,v);b(w=O.hook)&&b(w=w.update)&&w(g,v)}ie(v.text)?b(Y)&&b(ee)?Y!==ee&&_(C,Y,ee,I,re):b(ee)?(process.env.NODE_ENV!=="production"&&V(ee),b(g.text)&&r.setTextContent(C,""),E(C,null,ee,0,ee.length-1,I)):b(Y)?S(Y,0,Y.length-1):b(g.text)&&r.setTextContent(C,""):g.text!==v.text&&r.setTextContent(C,v.text),b(O)&&b(w=O.hook)&&b(w=w.postpatch)&&w(g,v)}}function L(g,v,I){if(Ie(I)&&b(g.parent))g.parent.data.pendingInsert=v;else for(var R=0;R<v.length;++R)v[R].data.hook.insert(v[R])}var q=!1,$=st("attrs,class,staticClass,staticStyle,key");function Ne(g,v,I,R){var W,re=v.tag,C=v.data,w=v.children;if(R=R||C&&C.pre,v.elm=g,Ie(v.isComment)&&b(v.asyncFactory))return v.isAsyncPlaceholder=!0,!0;if(process.env.NODE_ENV!=="production"&&!oe(g,v,R))return!1;if(b(C)&&(b(W=C.hook)&&b(W=W.init)&&W(v,!0),b(W=v.componentInstance)))return x(v,I),!0;if(b(re)){if(b(w))if(!g.hasChildNodes())Z(v,w,I);else if(b(W=C)&&b(W=W.domProps)&&b(W=W.innerHTML)){if(W!==g.innerHTML)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!q&&(q=!0,g.innerHTML),!1}else{for(var O=!0,Y=g.firstChild,ee=0;ee<w.length;ee++){if(!Y||!Ne(Y,w[ee],I,R)){O=!1;break}Y=Y.nextSibling}if(!O||Y)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!q&&(q=!0,g.childNodes),!1}if(b(C)){var ne=!1;for(var f in C)if(!$(f)){ne=!0,U(v,I);break}!ne&&C.class&&Nn(C.class)}}else g.data!==v.text&&(g.data=v.text);return!0}function oe(g,v,I){return b(v.tag)?v.tag.indexOf("vue-component")===0||!p(v,I)&&v.tag.toLowerCase()===(g.tagName&&g.tagName.toLowerCase()):g.nodeType===(v.isComment?8:3)}return function(v,I,R,W){if(ie(I)){b(v)&&P(v);return}var re=!1,C=[];if(ie(v))re=!0,d(I,C);else{var w=b(v.nodeType);if(!w&&Ti(v,I))F(v,I,C,null,null,W);else{if(w){if(v.nodeType===1&&v.hasAttribute(hl)&&(v.removeAttribute(hl),R=!0),Ie(R)){if(Ne(v,I,C))return L(I,C,!0),v;process.env.NODE_ENV!=="production"&&Q("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}v=a(v)}var O=v.elm,Y=r.parentNode(O);if(d(I,C,O._leaveCb?null:Y,r.nextSibling(O)),b(I.parent))for(var ee=I.parent,ne=H(I);ee;){for(var f=0;f<s.destroy.length;++f)s.destroy[f](ee);if(ee.elm=I.elm,ne){for(var c=0;c<s.create.length;++c)s.create[c](Ii,ee);var u=ee.data.hook.insert;if(u.merged)for(var m=1;m<u.fns.length;m++)u.fns[m]()}else ss(ee);ee=ee.parent}b(Y)?S([v],0,0):b(v.tag)&&P(v)}}return L(I,C,re),I.elm}}var Tg={create:xa,update:xa,destroy:function(t){xa(t,Ii)}};function xa(e,t){(e.data.directives||t.data.directives)&&_g(e,t)}function _g(e,t){var i=e===Ii,s=t===Ii,n=yc(e.data.directives,e.context),r=yc(t.data.directives,t.context),a=[],o=[],l,p,h;for(l in r)p=n[l],h=r[l],p?(h.oldValue=p.value,h.oldArg=p.arg,Gs(h,"update",t,e),h.def&&h.def.componentUpdated&&o.push(h)):(Gs(h,"bind",t,e),h.def&&h.def.inserted&&a.push(h));if(a.length){var d=function(){for(var y=0;y<a.length;y++)Gs(a[y],"inserted",t,e)};i?Yt(t,"insert",d):d()}if(o.length&&Yt(t,"postpatch",function(){for(var y=0;y<o.length;y++)Gs(o[y],"componentUpdated",t,e)}),!i)for(l in n)r[l]||Gs(n[l],"unbind",e,e,s)}var Ng=Object.create(null);function yc(e,t){var i=Object.create(null);if(!e)return i;var s,n;for(s=0;s<e.length;s++)n=e[s],n.modifiers||(n.modifiers=Ng),i[kg(n)]=n,n.def=Kr(t.$options,"directives",n.name,!0);return i}function kg(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function Gs(e,t,i,s,n){var r=e.def&&e.def[t];if(r)try{r(i.elm,e,i,s,n)}catch(a){zt(a,i.context,"directive "+e.name+" "+t+" hook")}}var Sg=[wg,Tg];function vc(e,t){var i=t.componentOptions;if(!(b(i)&&i.Ctor.options.inheritAttrs===!1)&&!(ie(e.data.attrs)&&ie(t.data.attrs))){var s,n,r,a=t.elm,o=e.data.attrs||{},l=t.data.attrs||{};b(l.__ob__)&&(l=t.data.attrs=ye({},l));for(s in l)n=l[s],r=o[s],r!==n&&Ac(a,s,n,t.data.pre);(Zi||Rr)&&l.value!==o.value&&Ac(a,"value",l.value);for(s in o)ie(l[s])&&(Aa(s)?a.removeAttributeNS(va,fc(s)):hc(s)||a.removeAttribute(s))}}function Ac(e,t,i,s){s||e.tagName.indexOf("-")>-1?bc(e,t,i):$m(t)?Mn(i)?e.removeAttribute(t):(i=t==="allowfullscreen"&&e.tagName==="EMBED"?"true":t,e.setAttribute(t,i)):hc(t)?e.setAttribute(t,Zm(t,i)):Aa(t)?Mn(i)?e.removeAttributeNS(va,fc(t)):e.setAttributeNS(va,t,i):bc(e,t,i)}function bc(e,t,i){if(Mn(i))e.removeAttribute(t);else{if(Zi&&!$i&&e.tagName==="TEXTAREA"&&t==="placeholder"&&i!==""&&!e.__ieph){var s=function(n){n.stopImmediatePropagation(),e.removeEventListener("input",s)};e.addEventListener("input",s),e.__ieph=!0}e.setAttribute(t,i)}}var Pg={create:vc,update:vc};function Cc(e,t){var i=t.elm,s=t.data,n=e.data;if(!(ie(s.staticClass)&&ie(s.class)&&(ie(n)||ie(n.staticClass)&&ie(n.class)))){var r=eg(t),a=i._transitionClasses;b(a)&&(r=ba(r,Ca(a))),r!==i._prevClass&&(i.setAttribute("class",r),i._prevClass=r)}}var Dg={create:Cc,update:Cc},Ia="__r",Ta="__c";function Og(e){if(b(e[Ia])){var t=Zi?"change":"input";e[t]=[].concat(e[Ia],e[t]||[]),delete e[Ia]}b(e[Ta])&&(e.change=[].concat(e[Ta],e.change||[]),delete e[Ta])}var qs;function Mg(e,t,i){var s=qs;return function n(){var r=t.apply(null,arguments);r!==null&&wc(e,n,i,s)}}var Bg=Yr&&!(vl&&Number(vl[1])<=53);function Rg(e,t,i,s){if(Bg){var n=rc,r=t;t=r._wrapper=function(a){if(a.target===a.currentTarget||a.timeStamp>=n||a.timeStamp<=0||a.target.ownerDocument!==document)return r.apply(this,arguments)}}qs.addEventListener(e,t,Al?{capture:i,passive:s}:i)}function wc(e,t,i,s){(s||qs).removeEventListener(e,t._wrapper||t,i)}function Ec(e,t){if(!(ie(e.data.on)&&ie(t.data.on))){var i=t.data.on||{},s=e.data.on||{};qs=t.elm,Og(i),Vl(i,s,Rg,wc,Mg,t.context),qs=void 0}}var Lg={create:Ec,update:Ec},Rn;function xc(e,t){if(!(ie(e.data.domProps)&&ie(t.data.domProps))){var i,s,n=t.elm,r=e.data.domProps||{},a=t.data.domProps||{};b(a.__ob__)&&(a=t.data.domProps=ye({},a));for(i in r)i in a||(n[i]="");for(i in a){if(s=a[i],i==="textContent"||i==="innerHTML"){if(t.children&&(t.children.length=0),s===r[i])continue;n.childNodes.length===1&&n.removeChild(n.childNodes[0])}if(i==="value"&&n.tagName!=="PROGRESS"){n._value=s;var o=ie(s)?"":String(s);Fg(n,o)&&(n.value=o)}else if(i==="innerHTML"&&wa(n.tagName)&&ie(n.innerHTML)){Rn=Rn||document.createElement("div"),Rn.innerHTML="<svg>"+s+"</svg>";for(var l=Rn.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;l.firstChild;)n.appendChild(l.firstChild)}else if(s!==r[i])try{n[i]=s}catch{}}}}function Fg(e,t){return!e.composing&&(e.tagName==="OPTION"||Vg(e,t)||jg(e,t))}function Vg(e,t){var i=!0;try{i=document.activeElement!==e}catch{}return i&&e.value!==t}function jg(e,t){var i=e.value,s=e._vModifiers;if(b(s)){if(s.number)return Ds(i)!==Ds(t);if(s.trim)return i.trim()!==t.trim()}return i!==t}var Ug={create:xc,update:xc},Qg=mi(function(e){var t={},i=/;(?![^(]*\))/g,s=/:(.+)/;return e.split(i).forEach(function(n){if(n){var r=n.split(s);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function _a(e){var t=Ic(e.style);return e.staticStyle?ye(e.staticStyle,t):t}function Ic(e){return Array.isArray(e)?ul(e):typeof e=="string"?Qg(e):e}function Gg(e,t){var i={},s;if(t)for(var n=e;n.componentInstance;)n=n.componentInstance._vnode,n&&n.data&&(s=_a(n.data))&&ye(i,s);(s=_a(e.data))&&ye(i,s);for(var r=e;r=r.parent;)r.data&&(s=_a(r.data))&&ye(i,s);return i}var qg=/^--/,Tc=/\s*!important$/,_c=function(e,t,i){if(qg.test(t))e.style.setProperty(t,i);else if(Tc.test(i))e.style.setProperty(yi(t),i.replace(Tc,""),"important");else{var s=Hg(t);if(Array.isArray(i))for(var n=0,r=i.length;n<r;n++)e.style[s]=i[n];else e.style[s]=i}},Nc=["Webkit","Moz","ms"],Ln,Hg=mi(function(e){if(Ln=Ln||document.createElement("div").style,e=gi(e),e!=="filter"&&e in Ln)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<Nc.length;i++){var s=Nc[i]+t;if(s in Ln)return s}});function kc(e,t){var i=t.data,s=e.data;if(!(ie(i.staticStyle)&&ie(i.style)&&ie(s.staticStyle)&&ie(s.style))){var n,r,a=t.elm,o=s.staticStyle,l=s.normalizedStyle||s.style||{},p=o||l,h=Ic(t.data.style)||{};t.data.normalizedStyle=b(h.__ob__)?ye({},h):h;var d=Gg(t,!0);for(r in p)ie(d[r])&&_c(a,r,"");for(r in d)n=d[r],n!==p[r]&&_c(a,r,n==null?"":n)}}var Jg={create:kc,update:kc},Sc=/\s+/;function Pc(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Sc).forEach(function(s){return e.classList.add(s)}):e.classList.add(t);else{var i=" "+(e.getAttribute("class")||"")+" ";i.indexOf(" "+t+" ")<0&&e.setAttribute("class",(i+t).trim())}}function Dc(e,t){if(!(!t||!(t=t.trim())))if(e.classList)t.indexOf(" ")>-1?t.split(Sc).forEach(function(n){return e.classList.remove(n)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var i=" "+(e.getAttribute("class")||"")+" ",s=" "+t+" ";i.indexOf(s)>=0;)i=i.replace(s," ");i=i.trim(),i?e.setAttribute("class",i):e.removeAttribute("class")}}function Oc(e){if(!!e){if(typeof e=="object"){var t={};return e.css!==!1&&ye(t,Mc(e.name||"v")),ye(t,e),t}else if(typeof e=="string")return Mc(e)}}var Mc=mi(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),Bc=We&&!$i,ns="transition",Na="animation",Fn="transition",Vn="transitionend",ka="animation",Rc="animationend";Bc&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Fn="WebkitTransition",Vn="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(ka="WebkitAnimation",Rc="webkitAnimationEnd"));var Lc=We?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Fc(e){Lc(function(){Lc(e)})}function _i(e,t){var i=e._transitionClasses||(e._transitionClasses=[]);i.indexOf(t)<0&&(i.push(t),Pc(e,t))}function jt(e,t){e._transitionClasses&&Lt(e._transitionClasses,t),Dc(e,t)}function Vc(e,t,i){var s=jc(e,t),n=s.type,r=s.timeout,a=s.propCount;if(!n)return i();var o=n===ns?Vn:Rc,l=0,p=function(){e.removeEventListener(o,h),i()},h=function(d){d.target===e&&++l>=a&&p()};setTimeout(function(){l<a&&p()},r+1),e.addEventListener(o,h)}var Kg=/\b(transform|all)(,|$)/;function jc(e,t){var i=window.getComputedStyle(e),s=(i[Fn+"Delay"]||"").split(", "),n=(i[Fn+"Duration"]||"").split(", "),r=Uc(s,n),a=(i[ka+"Delay"]||"").split(", "),o=(i[ka+"Duration"]||"").split(", "),l=Uc(a,o),p,h=0,d=0;t===ns?r>0&&(p=ns,h=r,d=n.length):t===Na?l>0&&(p=Na,h=l,d=o.length):(h=Math.max(r,l),p=h>0?r>l?ns:Na:null,d=p?p===ns?n.length:o.length:0);var y=p===ns&&Kg.test(i[Fn+"Property"]);return{type:p,timeout:h,propCount:d,hasTransform:y}}function Uc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(i,s){return Qc(i)+Qc(e[s])}))}function Qc(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Sa(e,t){var i=e.elm;b(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var s=Oc(e.data.transition);if(!ie(s)&&!(b(i._enterCb)||i.nodeType!==1)){for(var n=s.css,r=s.type,a=s.enterClass,o=s.enterToClass,l=s.enterActiveClass,p=s.appearClass,h=s.appearToClass,d=s.appearActiveClass,y=s.beforeEnter,x=s.enter,M=s.afterEnter,B=s.enterCancelled,Z=s.beforeAppear,H=s.appear,U=s.afterAppear,N=s.appearCancelled,E=s.duration,P=xi,S=xi.$vnode;S&&S.parent;)P=S.context,S=S.parent;var k=!P._isMounted||!e.isRootInsert;if(!(k&&!H&&H!=="")){var _=k&&p?p:a,V=k&&d?d:l,D=k&&h?h:o,F=k&&Z||y,L=k&&typeof H=="function"?H:x,q=k&&U||M,$=k&&N||B,Ne=Ds(Oe(E)?E.enter:E);process.env.NODE_ENV!=="production"&&Ne!=null&&qc(Ne,"enter",e);var oe=n!==!1&&!$i,g=Pa(L),v=i._enterCb=gn(function(){oe&&(jt(i,D),jt(i,V)),v.cancelled?(oe&&jt(i,_),$&&$(i)):q&&q(i),i._enterCb=null});e.data.show||Yt(e,"insert",function(){var I=i.parentNode,R=I&&I._pending&&I._pending[e.key];R&&R.tag===e.tag&&R.elm._leaveCb&&R.elm._leaveCb(),L&&L(i,v)}),F&&F(i),oe&&(_i(i,_),_i(i,V),Fc(function(){jt(i,_),v.cancelled||(_i(i,D),g||(Hc(Ne)?setTimeout(v,Ne):Vc(i,r,v)))})),e.data.show&&(t&&t(),L&&L(i,v)),!oe&&!g&&v()}}}function Gc(e,t){var i=e.elm;b(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var s=Oc(e.data.transition);if(ie(s)||i.nodeType!==1)return t();if(b(i._leaveCb))return;var n=s.css,r=s.type,a=s.leaveClass,o=s.leaveToClass,l=s.leaveActiveClass,p=s.beforeLeave,h=s.leave,d=s.afterLeave,y=s.leaveCancelled,x=s.delayLeave,M=s.duration,B=n!==!1&&!$i,Z=Pa(h),H=Ds(Oe(M)?M.leave:M);process.env.NODE_ENV!=="production"&&b(H)&&qc(H,"leave",e);var U=i._leaveCb=gn(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[e.key]=null),B&&(jt(i,o),jt(i,l)),U.cancelled?(B&&jt(i,a),y&&y(i)):(t(),d&&d(i)),i._leaveCb=null});x?x(N):N();function N(){U.cancelled||(!e.data.show&&i.parentNode&&((i.parentNode._pending||(i.parentNode._pending={}))[e.key]=e),p&&p(i),B&&(_i(i,a),_i(i,l),Fc(function(){jt(i,a),U.cancelled||(_i(i,o),Z||(Hc(H)?setTimeout(U,H):Vc(i,r,U)))})),h&&h(i,U),!B&&!Z&&U())}}function qc(e,t,i){typeof e!="number"?Q("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",i.context):isNaN(e)&&Q("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",i.context)}function Hc(e){return typeof e=="number"&&!isNaN(e)}function Pa(e){if(ie(e))return!1;var t=e.fns;return b(t)?Pa(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Jc(e,t){t.data.show!==!0&&Sa(t)}var Wg=We?{create:Jc,activate:Jc,remove:function(t,i){t.data.show!==!0?Gc(t,i):i()}}:{},zg=[Pg,Dg,Lg,Ug,Jg,Wg],Yg=zg.concat(Sg),Xg=Ig({nodeOps:Cg,modules:Yg});$i&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Da(e,"input")});var Kc={inserted:function(t,i,s,n){s.tag==="select"?(n.elm&&!n.elm._vOptions?Yt(s,"postpatch",function(){Kc.componentUpdated(t,i,s)}):Wc(t,i,s.context),t._vOptions=[].map.call(t.options,jn)):(s.tag==="textarea"||Ea(t.type))&&(t._vModifiers=i.modifiers,i.modifiers.lazy||(t.addEventListener("compositionstart",Zg),t.addEventListener("compositionend",Xc),t.addEventListener("change",Xc),$i&&(t.vmodel=!0)))},componentUpdated:function(t,i,s){if(s.tag==="select"){Wc(t,i,s.context);var n=t._vOptions,r=t._vOptions=[].map.call(t.options,jn);if(r.some(function(o,l){return!vi(o,n[l])})){var a=t.multiple?i.value.some(function(o){return Yc(o,r)}):i.value!==i.oldValue&&Yc(i.value,r);a&&Da(t,"change")}}}};function Wc(e,t,i){zc(e,t,i),(Zi||Rr)&&setTimeout(function(){zc(e,t,i)},0)}function zc(e,t,i){var s=t.value,n=e.multiple;if(n&&!Array.isArray(s)){process.env.NODE_ENV!=="production"&&Q('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(s).slice(8,-1),i);return}for(var r,a,o=0,l=e.options.length;o<l;o++)if(a=e.options[o],n)r=dl(s,jn(a))>-1,a.selected!==r&&(a.selected=r);else if(vi(jn(a),s)){e.selectedIndex!==o&&(e.selectedIndex=o);return}n||(e.selectedIndex=-1)}function Yc(e,t){return t.every(function(i){return!vi(i,e)})}function jn(e){return"_value"in e?e._value:e.value}function Zg(e){e.target.composing=!0}function Xc(e){!e.target.composing||(e.target.composing=!1,Da(e.target,"input"))}function Da(e,t){var i=document.createEvent("HTMLEvents");i.initEvent(t,!0,!0),e.dispatchEvent(i)}function Oa(e){return e.componentInstance&&(!e.data||!e.data.transition)?Oa(e.componentInstance._vnode):e}var $g={bind:function(t,i,s){var n=i.value;s=Oa(s);var r=s.data&&s.data.transition,a=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;n&&r?(s.data.show=!0,Sa(s,function(){t.style.display=a})):t.style.display=n?a:"none"},update:function(t,i,s){var n=i.value,r=i.oldValue;if(!n!=!r){s=Oa(s);var a=s.data&&s.data.transition;a?(s.data.show=!0,n?Sa(s,function(){t.style.display=t.__vOriginalDisplay}):Gc(s,function(){t.style.display="none"})):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,i,s,n,r){r||(t.style.display=t.__vOriginalDisplay)}},ey={model:Kc,show:$g},Zc={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ma(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ma(ec(t.children)):e}function $c(e){var t={},i=e.$options;for(var s in i.propsData)t[s]=e[s];var n=i._parentListeners;for(var r in n)t[gi(r)]=n[r];return t}function eu(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function ty(e){for(;e=e.parent;)if(e.data.transition)return!0}function iy(e,t){return t.key===e.key&&t.tag===e.tag}var sy=function(e){return e.tag||Fs(e)},ny=function(e){return e.name==="show"},ry={name:"transition",props:Zc,abstract:!0,render:function(t){var i=this,s=this.$slots.default;if(!!s&&(s=s.filter(sy),!!s.length)){process.env.NODE_ENV!=="production"&&s.length>1&&Q("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var n=this.mode;process.env.NODE_ENV!=="production"&&n&&n!=="in-out"&&n!=="out-in"&&Q("invalid <transition> mode: "+n,this.$parent);var r=s[0];if(ty(this.$vnode))return r;var a=Ma(r);if(!a)return r;if(this._leaving)return eu(t,r);var o="__transition-"+this._uid+"-";a.key=a.key==null?a.isComment?o+"comment":o+a.tag:Kt(a.key)?String(a.key).indexOf(o)===0?a.key:o+a.key:a.key;var l=(a.data||(a.data={})).transition=$c(this),p=this._vnode,h=Ma(p);if(a.data.directives&&a.data.directives.some(ny)&&(a.data.show=!0),h&&h.data&&!iy(a,h)&&!Fs(h)&&!(h.componentInstance&&h.componentInstance._vnode.isComment)){var d=h.data.transition=ye({},l);if(n==="out-in")return this._leaving=!0,Yt(d,"afterLeave",function(){i._leaving=!1,i.$forceUpdate()}),eu(t,r);if(n==="in-out"){if(Fs(a))return p;var y,x=function(){y()};Yt(l,"afterEnter",x),Yt(l,"enterCancelled",x),Yt(d,"delayLeave",function(M){y=M})}}return r}}},tu=ye({tag:String,moveClass:String},Zc);delete tu.mode;var ay={props:tu,beforeMount:function(){var t=this,i=this._update;this._update=function(s,n){var r=ic(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),i.call(t,s,n)}},render:function(t){for(var i=this.tag||this.$vnode.data.tag||"span",s=Object.create(null),n=this.prevChildren=this.children,r=this.$slots.default||[],a=this.children=[],o=$c(this),l=0;l<r.length;l++){var p=r[l];if(p.tag){if(p.key!=null&&String(p.key).indexOf("__vlist")!==0)a.push(p),s[p.key]=p,(p.data||(p.data={})).transition=o;else if(process.env.NODE_ENV!=="production"){var h=p.componentOptions,d=h?h.Ctor.options.name||h.tag||"":p.tag;Q("<transition-group> children must be keyed: <"+d+">")}}}if(n){for(var y=[],x=[],M=0;M<n.length;M++){var B=n[M];B.data.transition=o,B.data.pos=B.elm.getBoundingClientRect(),s[B.key]?y.push(B):x.push(B)}this.kept=t(i,null,y),this.removed=x}return t(i,null,a)},updated:function(){var t=this.prevChildren,i=this.moveClass||(this.name||"v")+"-move";!t.length||!this.hasMove(t[0].elm,i)||(t.forEach(oy),t.forEach(ly),t.forEach(cy),this._reflow=document.body.offsetHeight,t.forEach(function(s){if(s.data.moved){var n=s.elm,r=n.style;_i(n,i),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Vn,n._moveCb=function a(o){o&&o.target!==n||(!o||/transform$/.test(o.propertyName))&&(n.removeEventListener(Vn,a),n._moveCb=null,jt(n,i))})}}))},methods:{hasMove:function(t,i){if(!Bc)return!1;if(this._hasMove)return this._hasMove;var s=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(r){Dc(s,r)}),Pc(s,i),s.style.display="none",this.$el.appendChild(s);var n=jc(s);return this.$el.removeChild(s),this._hasMove=n.hasTransform}}};function oy(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ly(e){e.data.newPos=e.elm.getBoundingClientRect()}function cy(e){var t=e.data.pos,i=e.data.newPos,s=t.left-i.left,n=t.top-i.top;if(s||n){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate("+s+"px,"+n+"px)",r.transitionDuration="0s"}}var uy={Transition:ry,TransitionGroup:ay};Ce.config.mustUseProp=Ym,Ce.config.isReservedTag=gc,Ce.config.isReservedAttr=Wm,Ce.config.getTagNamespace=ag,Ce.config.isUnknownElement=og,ye(Ce.options.directives,ey),ye(Ce.options.components,uy),Ce.prototype.__patch__=We?Xg:De,Ce.prototype.$mount=function(e,t){return e=e&&We?lg(e):void 0,ym(this,e,t)},We&&setTimeout(function(){me.devtools&&(bn?bn.emit("init",Ce):process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&console[console.info?"info":"log"](`Download the Vue Devtools extension for a better development experience:
|
|
16
16
|
https://github.com/vuejs/vue-devtools`)),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&me.productionTip!==!1&&typeof console<"u"&&console[console.info?"info":"log"](`You are running Vue in development mode.
|
|
17
17
|
Make sure to turn on production mode when deploying for production.
|
|
18
|
-
See more tips at https://vuejs.org/guide/deployment.html`)},0);var Ba=function(e,t){return Ba=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},Ba(e,t)};function py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ba(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function iu(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function dy(e){var t;rt(e,(t=Fa())===null||t===void 0?void 0:t.proxy)}var Ra,Us=[],nu=function(){function e(t){this.active=!0,this.effects=[],this.cleanups=[],this.vm=t}return e.prototype.run=function(t){if(this.active)try{return this.on(),t()}finally{this.off()}else process.env.NODE_ENV!=="production"&&dy("cannot run an inactive effect scope.")},e.prototype.on=function(){this.active&&(Us.push(this),Ra=this)},e.prototype.off=function(){this.active&&(Us.pop(),Ra=Us[Us.length-1])},e.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach(function(t){return t.stop()}),this.cleanups.forEach(function(t){return t()}),this.active=!1)},e}();(function(e){py(t,e);function t(i){i===void 0&&(i=!1);var n=this,s=void 0;return yy(function(){s=uu(Gs())}),n=e.call(this,s)||this,i||hy(n),n}return t})(nu);function hy(e,t){var i;if(t=t||Ra,t&&t.active){t.effects.push(e);return}var n=(i=Fa())===null||i===void 0?void 0:i.proxy;n&&n.$on("hook:destroyed",function(){return e.stop()})}function fy(e){if(!e.scope){var t=new nu(e.proxy);e.scope=t,e.proxy.$on("hook:destroyed",function(){return t.stop()})}return e.scope}var La=void 0;try{var Ni=require("vue");Ni&&ru(Ni)?La=Ni:Ni&&"default"in Ni&&ru(Ni.default)&&(La=Ni.default)}catch{}var ki=null,an=null,Qs=!0,su="__composition_api_installed__";function ru(e){return e&&Si(e)&&e.name==="Vue"}function my(e){return ki&&Pt(e,su)}function Gs(){return process.env.NODE_ENV!=="production"&&ja(ki,"must call Vue.use(VueCompositionAPI) before using any function."),ki}function au(){var e=ki||La;return process.env.NODE_ENV!=="production"&&ja(e,"No vue dependency found."),e}function gy(e){process.env.NODE_ENV!=="production"&&ki&&e.__proto__!==ki.__proto__&&rt("[vue-composition-api] another instance of Vue installed"),ki=e,Object.defineProperty(e,su,{configurable:!0,writable:!0,value:!0})}function yy(e){var t=Qs;Qs=!1;try{e()}finally{Qs=t}}function ou(e){if(!!Qs){var t=an;t==null||t.scope.off(),an=e,an==null||an.scope.on()}}function Fa(){return an}var Va=new WeakMap;function qs(e){if(Va.has(e))return Va.get(e);var t={proxy:e,update:e.$forceUpdate,type:e.$options,uid:e._uid,emit:e.$emit.bind(e),parent:null,root:null};fy(t);var i=["data","props","attrs","refs","vnode","slots"];return i.forEach(function(n){je(t,n,{get:function(){return e["$".concat(n)]}})}),je(t,"isMounted",{get:function(){return e._isMounted}}),je(t,"isUnmounted",{get:function(){return e._isDestroyed}}),je(t,"isDeactivated",{get:function(){return e._inactive}}),je(t,"emitted",{get:function(){return e._events}}),Va.set(e,t),e.$parent&&(t.parent=qs(e.$parent)),e.$root&&(t.root=qs(e.$root)),t}var vy=function(e){return Object.prototype.toString.call(e)};function lu(e){return typeof e=="function"&&/native code/.test(e.toString())}var Ay=typeof Symbol<"u"&&lu(Symbol)&&typeof Reflect<"u"&&lu(Reflect.ownKeys),on=function(e){return e};function je(e,t,i){var n=i.get,s=i.set;Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:n||on,set:s||on})}function cu(e,t,i,n){Object.defineProperty(e,t,{value:i,enumerable:!!n,writable:!0,configurable:!0})}function Pt(e,t){return Object.hasOwnProperty.call(e,t)}function ja(e,t){if(!e)throw new Error("[vue-composition-api] ".concat(t))}function by(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function ln(e){return Array.isArray(e)}var Cy=4294967295;function wy(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)&&t<=Cy}function Js(e){return e!==null&&typeof e=="object"}function Xt(e){return vy(e)==="[object Object]"}function Si(e){return typeof e=="function"}function Ey(e){return e==null}function rt(e,t){var i=au();!i||!i.util?"[vue-composition-api] ".concat(e):i.util.warn(e,t)}function uu(e,t){t===void 0&&(t={});var i=e.config.silent;e.config.silent=!0;var n=new e(t);return e.config.silent=i,n}function xy(e){var t=Gs();return t&&e instanceof t}function Iy(e,t){return function(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];return e.$scopedSlots[t]?e.$scopedSlots[t].apply(e,i):process.env.NODE_ENV!=="production"?rt("slots.".concat(t,'() got called outside of the "render()" scope'),e):void 0}}function Ty(e,t){var i;if(!e)i={};else{if(e._normalized)return e._normalized;i={};for(var n in e)e[n]&&n[0]!=="$"&&(i[n]=!0)}for(var n in t)n in i||(i[n]=!0);return i}var Hn="composition-api.refKey",pu=new WeakMap,_y=new WeakMap;function Ny(e,t,i){var n=Gs(),s=n.util,r=s.warn,a=s.defineReactive;process.env.NODE_ENV!=="production"&&(Ey(e)||by(e))&&r("Cannot set reactive property on undefined, null, or primitive value: ".concat(e));var o=e.__ob__;function l(){o&&Js(i)&&!Pt(i,"__ob__")&&Qa(i)}if(ln(e)){if(wy(t))return e.length=Math.max(e.length,t),e.splice(t,1,i),l(),i;if(t==="length"&&i!==e.length)return e.length=i,o==null||o.dep.notify(),i}return t in e&&!(t in Object.prototype)?(e[t]=i,l(),i):e._isVue||o&&o.vmCount?(process.env.NODE_ENV!=="production"&&r("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),i):o?(a(o.value,t,i),gu(e,t,i),l(),o.dep.notify(),i):(e[t]=i,i)}var du=function(){function e(t){var i=t.get,n=t.set;je(this,"value",{get:i,set:n})}return e}();function hu(e,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var n=new du(e);i&&(n.effect=!0);var s=Object.seal(n);return t&&_y.set(s,!0),s}function fu(e){var t;if(Ue(e))return e;var i=vu((t={},t[Hn]=e,t));return hu({get:function(){return i[Hn]},set:function(n){return i[Hn]=n}})}function Ue(e){return e instanceof du}function ky(e){if(process.env.NODE_ENV!=="production"&&!un(e)&&rt("toRefs() expects a reactive object but received a plain one."),!Xt(e))return e;var t={};for(var i in e)t[i]=Sy(e,i);return t}function Sy(e,t){t in e||Ny(e,t,void 0);var i=e[t];return Ue(i)?i:hu({get:function(){return e[t]},set:function(n){return e[t]=n}})}var mu="__v_skip";function cn(e){var t;return Boolean(e&&Pt(e,"__ob__")&&typeof e.__ob__=="object"&&((t=e.__ob__)===null||t===void 0?void 0:t[mu]))}function un(e){var t;return Boolean(e&&Pt(e,"__ob__")&&typeof e.__ob__=="object"&&!(!((t=e.__ob__)===null||t===void 0)&&t[mu]))}function Ua(e){if(!(!Xt(e)||cn(e)||ln(e)||Ue(e)||xy(e)||pu.has(e))){pu.set(e,!0);for(var t=Object.keys(e),i=0;i<t.length;i++)gu(e,t[i])}}function gu(e,t,i){if(t!=="__ob__"&&!cn(e[t])){var n,s,r=Object.getOwnPropertyDescriptor(e,t);if(r){if(r.configurable===!1)return;n=r.get,s=r.set,(!n||s)&&arguments.length===2&&(i=e[t])}Ua(i),je(e,t,{get:function(){var o=n?n.call(e):i;return t!==Hn&&Ue(o)?o.value:o},set:function(o){n&&!s||(t!==Hn&&Ue(i)&&!Ue(o)?i.value=o:(s&&s.call(e,o),i=o),Ua(o))}})}}function yu(e){var t=au(),i;if(t.observable)i=t.observable(e);else{var n=uu(t,{data:{$$state:e}});i=n._data.$$state}return Pt(i,"__ob__")||Qa(i),i}function Qa(e,t){var i,n;if(t===void 0&&(t=new Set),!(t.has(e)||Pt(e,"__ob__")||!Object.isExtensible(e))){cu(e,"__ob__",Py(e)),t.add(e);try{for(var s=iu(Object.keys(e)),r=s.next();!r.done;r=s.next()){var a=r.value,o=e[a];!(Xt(o)||ln(o))||cn(o)||!Object.isExtensible(o)||Qa(o,t)}}catch(l){i={error:l}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}}}function Py(e){return e===void 0&&(e={}),{value:e,dep:{notify:on,depend:on,addSub:on,removeSub:on}}}function Dy(){return yu({}).__ob__}function vu(e){if(!Js(e))return process.env.NODE_ENV!=="production"&&rt('"reactive()" must be called on an object.'),e;if(!(Xt(e)||ln(e))||cn(e)||!Object.isExtensible(e))return e;var t=yu(e);return Ua(t),t}process.env.NODE_ENV!=="production"&&Object.freeze({});function Oy(e,t,i){var n=e.__composition_api_state__=e.__composition_api_state__||{};n[t]=i}function My(e,t){return(e.__composition_api_state__||{})[t]}var Zt={set:Oy,get:My};function By(e,t,i){var n=e.$options.props;!(t in e)&&!(n&&Pt(n,t))?(Ue(i)?je(e,t,{get:function(){return i.value},set:function(s){i.value=s}}):je(e,t,{get:function(){return un(i)&&i.__ob__.dep.depend(),i},set:function(s){i=s}}),process.env.NODE_ENV!=="production"&&e.$nextTick(function(){Object.keys(e._data).indexOf(t)===-1&&(Ue(i)?je(e._data,t,{get:function(){return i.value},set:function(s){i.value=s}}):je(e._data,t,{get:function(){return i},set:function(s){i=s}}))})):process.env.NODE_ENV!=="production"&&(n&&Pt(n,t)?rt('The setup binding property "'.concat(t,'" is already declared as a prop.'),e):rt('The setup binding property "'.concat(t,'" is already declared.'),e))}function Ry(e){var t=Zt.get(e,"rawBindings")||{};if(!(!t||!Object.keys(t).length)){for(var i=e.$refs,n=Zt.get(e,"refs")||[],s=0;s<n.length;s++){var r=n[s],a=t[r];!i[r]&&a&&Ue(a)&&(a.value=null)}for(var o=Object.keys(i),l=[],s=0;s<o.length;s++){var r=o[s],a=t[r];i[r]&&a&&Ue(a)&&(a.value=i[r],l.push(r))}Zt.set(e,"refs",l)}}function Au(e){for(var t=[e._vnode];t.length;){var i=t.pop();if(i&&(i.context&&Ry(i.context),i.children))for(var n=0;n<i.children.length;++n)t.push(i.children[n])}}function bu(e,t){var i,n;if(!!e){var s=Zt.get(e,"attrBindings");if(!(!s&&!t)){if(!s){var r=vu({});s={ctx:t,data:r},Zt.set(e,"attrBindings",s),je(t,"attrs",{get:function(){return s==null?void 0:s.data},set:function(){process.env.NODE_ENV!=="production"&&rt("Cannot assign to '$attrs' because it is a read-only property",e)}})}var a=e.$attrs,o=function(d){Pt(s.data,d)||je(s.data,d,{get:function(){return e.$attrs[d]}})};try{for(var l=iu(Object.keys(a)),p=l.next();!p.done;p=l.next()){var h=p.value;o(h)}}catch(d){i={error:d}}finally{try{p&&!p.done&&(n=l.return)&&n.call(l)}finally{if(i)throw i.error}}}}}function Cu(e,t){var i=e.$options._parentVnode;if(!!i){for(var n=Zt.get(e,"slots")||[],s=Ty(i.data.scopedSlots,e.$slots),r=0;r<n.length;r++){var a=n[r];s[a]||delete t[a]}for(var o=Object.keys(s),r=0;r<o.length;r++){var a=o[r];t[a]||(t[a]=Iy(e,a))}Zt.set(e,"slots",o)}}function Ga(e,t,i){var n=Fa();ou(e);try{return t(e)}catch(s){if(i)i(s);else throw s}finally{ou(n)}}function Ly(e){e.mixin({beforeCreate:t,mounted:function(){Au(this)},beforeUpdate:function(){bu(this)},updated:function(){Au(this)}});function t(){var a=this,o=a.$options,l=o.setup,p=o.render;if(p&&(o.render=function(){for(var d=this,y=[],x=0;x<arguments.length;x++)y[x]=arguments[x];return Ga(qs(a),function(){return p.apply(d,y)})}),!!l){if(!Si(l)){process.env.NODE_ENV!=="production"&&rt('The "setup" option should be a function that returns a object in component definitions.',a);return}var h=o.data;o.data=function(){return i(a,a.$props),Si(h)?h.call(a,a):h||{}}}}function i(a,o){o===void 0&&(o={});var l=a.$options.setup,p=r(a),h=qs(a);h.setupContext=p,cu(o,"__ob__",Dy()),Cu(a,p.slots);var d;if(Ga(h,function(){d=l(o,p)}),!!d){if(Si(d)){var y=d;a.$options.render=function(){return Cu(a,p.slots),Ga(h,function(){return y()})};return}else if(Js(d)){un(d)&&(d=ky(d)),Zt.set(a,"rawBindings",d);var x=d;Object.keys(x).forEach(function(M){var B=x[M];if(!Ue(B))if(un(B))ln(B)&&(B=fu(B));else if(Si(B)){var Z=B;B=B.bind(a),Object.keys(Z).forEach(function(J){B[J]=Z[J]})}else Js(B)?s(B)&&n(B):B=fu(B);By(a,M,B)});return}process.env.NODE_ENV!=="production"&&ja(!1,'"setup" must return a "Object" or a "Function", got "'.concat(Object.prototype.toString.call(d).slice(8,-1),'"'))}}function n(a,o){if(o===void 0&&(o=new Set),!o.has(a)&&!(!Xt(a)||Ue(a)||un(a)||cn(a))){var l=Gs(),p=l.util.defineReactive;Object.keys(a).forEach(function(h){var d=a[h];p(a,h,d),d&&(o.add(d),n(d,o))})}}function s(a,o){return o===void 0&&(o=new Map),o.has(a)?o.get(a):(o.set(a,!1),ln(a)&&un(a)?(o.set(a,!0),!0):!Xt(a)||cn(a)||Ue(a)?!1:Object.keys(a).some(function(l){return s(a[l],o)}))}function r(a){var o={slots:{}},l=["root","parent","refs","listeners","isServer","ssrContext"],p=["emit"];return l.forEach(function(h){var d="$".concat(h);je(o,h,{get:function(){return a[d]},set:function(){process.env.NODE_ENV!=="production"&&rt("Cannot assign to '".concat(h,"' because it is a read-only property"),a)}})}),bu(a,o),p.forEach(function(h){var d="$".concat(h);je(o,h,{get:function(){return function(){for(var y=[],x=0;x<arguments.length;x++)y[x]=arguments[x];var M=a[d];M.apply(a,y)}}})}),process.env.NODE_ENV==="test"&&(o._vm=a),o}}function wu(e,t){if(!e)return t;if(!t)return e;for(var i,n,s,r=Ay?Reflect.ownKeys(e):Object.keys(e),a=0;a<r.length;a++)i=r[a],i!=="__ob__"&&(n=t[i],s=e[i],Pt(t,i)?n!==s&&Xt(n)&&!Ue(n)&&Xt(s)&&!Ue(s)&&wu(s,n):t[i]=s);return t}function Fy(e){if(my(e)){process.env.NODE_ENV!=="production"&&rt("[vue-composition-api] already installed. Vue.use(VueCompositionAPI) should be called only once.");return}process.env.NODE_ENV!=="production"&&(e.version?(e.version[0]!=="2"||e.version[1]!==".")&&rt("[vue-composition-api] only works with Vue 2, v".concat(e.version," found.")):rt("[vue-composition-api] no Vue version found")),e.config.optionMergeStrategies.setup=function(t,i){return function(s,r){return wu(Si(t)?t(s,r)||{}:void 0,Si(i)?i(s,r)||{}:void 0)}},gy(e),Ly(e)}var Eu={install:function(e){return Fy(e)}};function yT(e){return e}typeof window<"u"&&window.Vue&&window.Vue.use(Eu);function Vy(e){e=e||Ce,e&&!e.__composition_api_installed__&&e.use(Eu)}Vy(Ce),Ce.version;const jy={name:"TopPopup",props:{titleText:{default:"top-popup",type:String},context:{default:"\u5185\u5BB9",type:String},cancelText:{default:"\u53D6\u6D88",type:String},comfigText:{default:"\u786E\u5B9A",type:String},comfig:{default:null,type:Function},cancel:{default:null,type:Function},isMask:{default:!0,type:Boolean},isMaskClose:{default:!0,type:Boolean},isTips:{default:!1,type:Boolean},isDrawer:{default:!1,type:Boolean},visible:{default:!1,type:Boolean},isIndex:{type:Number},width:{type:String,default:"95vw"},className:{type:String,default:""},appendClass:{type:String,default:""}},data(){return{show:!1,top:0,useHidden:!1}},watch:{visible:{handler(e,t){if(e)this.show=e,document.body.style.position=="fixed"&&document.body.style.overflow=="hidden"?this.useHidden=!0:this.useHidden=!1,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=`${-top}px`,document.body.style.overflow="hidden";else{if(this.useHidden){this.show=e,this.$emit("update:visible",!1);return}else document.body.style.position="",document.body.style.top="",document.body.style.overflow="visible",window.scrollTo(0,this.top);this.show=e,this.$emit("update:visible",!1)}},immediate:!0}},methods:{handleOpen(){this.show=!0,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=-this.top+"px"},handleClose(){document.body.style.position="",document.body.style.top="",window.scrollTo(0,this.top),this.show=!1,this.$emit("update:visible",!1),typeof this.cancel=="function"&&this.cancel()},handleCancel(){typeof this.cancel=="function"&&this.cancel(),this.handleClose()},handleComfig(){typeof this.comfig=="function"&&this.comfig()},isIOS(){let e=navigator.userAgent.includes("iPhone"),t=navigator.userAgent.includes("iPad");return e||t}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el),document.documentElement.scrollTop||document.body.scrollTop})}};var Uy=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"top-popup-zindex",class:e.className,style:`${e.isIndex?`z-index:${e.isIndex}`:""}`},[i("div",{staticClass:"top-popup-mask",style:e.show&&e.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:function(n){e.isMaskClose&&e.handleClose()}}}),!e.isTips&&!e.isDrawer?i("div",{staticClass:"top-popup",style:e.show?"transform: translateY(0)":"transform: translateY(150%)"},[i("div",{staticClass:"top-popup-header"},[i("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),i("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),i("div",{staticClass:"header-comfig",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])]),i("div",{staticClass:"top-popup-body"},[e._t("default")],2)]):!e.isTips&&e.isDrawer?i("div",{staticClass:"top-popup-drawer",class:e.show?"top-popup-drawer--active":"",style:e.width?`width:${e.width};`:""},[i("div",{staticClass:"top-popup-drawer-header"},[i("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" \u5173\u95ED ")]),i("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),i("div",{staticClass:"header-comfig",staticStyle:{width:"20px"}})]),i("div",{staticClass:"top-popup-drawer--body"},[e._t("default")],2)]):e.isTips&&!e.isDrawer?i("div",{staticClass:"top-tips",style:e.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)"},[i("div",{staticClass:"top-tips-header"},[e._v(e._s(e.titleText))]),i("div",{staticClass:"top-tips-body"},[e._v(e._s(e.context))]),i("div",{staticClass:"top-tips-footer"},[i("div",{staticClass:"top-tips-btn",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),i("div",{staticClass:"top-tips-btn",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])])]):e._e()])},Qy=[];const vT="";function ve(e,t,i,n,s,r,a,o){var l=typeof e=="function"?e.options:e;t&&(l.render=t,l.staticRenderFns=i,l._compiled=!0),n&&(l.functional=!0),r&&(l._scopeId="data-v-"+r);var p;if(a?(p=function(y){y=y||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!y&&typeof __VUE_SSR_CONTEXT__<"u"&&(y=__VUE_SSR_CONTEXT__),s&&s.call(this,y),y&&y._registeredComponents&&y._registeredComponents.add(a)},l._ssrRegister=p):s&&(p=o?function(){s.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:s),p)if(l.functional){l._injectStyles=p;var h=l.render;l.render=function(x,M){return p.call(M),h(x,M)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,p):[p]}return{exports:e,options:l}}const xu={};var Gy=ve(jy,Uy,Qy,!1,qy,"5e392d42",null,null);function qy(e){for(let t in xu)this[t]=xu[t]}const at=function(){return Gy.exports}(),Jy={name:"PreView",props:{file:{type:String,default:""}},data(){return{url:"",video:["mp4","avi","rmvb"],videoShow:!1}},watch:{file:{handler(e,t){if(e)if(this.video.includes(e.substring(e.lastIndexOf(".")+1)))this.videoShow=!0,this.url=e;else{this.videoShow=!1;let i=e.indexOf("https://")==-1?0:1;this.url=`https://wdyl.ddzg.cn:8089/?ssl=${i}&furl=${e}`}},immediate:!0,deep:!0}}};var Hy=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.url?i("div",{staticStyle:{width:"100%",height:"calc(100% - 40px)"}},[e.videoShow?i("video",{staticStyle:{height:"100%",width:"100%"},attrs:{controls:""}},[i("source",{attrs:{src:e.url,type:"video/mp4"}})]):i("iframe",{staticStyle:{height:"100%",border:"unset",width:"100%"},attrs:{src:e.url}})]):e._e()},Ky=[];const Iu={};var Wy=ve(Jy,Hy,Ky,!1,zy,null,null,null);function zy(e){for(let t in Iu)this[t]=Iu[t]}const Tu=function(){return Wy.exports}(),Yy={name:"preview-image",props:{images:{type:Array,defalut:()=>[]},startPosition:{type:Number,defalut:0},visible:{type:Boolean,defalut:!1},indexd:{type:Number,defalut:0},isOne:{type:Boolean,defalut:!1},isStyle:{type:String,defalut:""}},data(){return{imagesList:[],moveNum:0,flag:!1,windowWidth:0,windowHeight:0,startX:0,startY:0,move:0,startMove:0,maxX:0,duration:"transition-duration: 0.2s;transition-timing-function:ease;",isIndex:1,show:!1,displacement:{scale:1},styleZoom:"",styleOrigin:"",moveX:"-50%",moveY:"-50%",newScaleData:1}},watch:{images:{handler(e,t){this.imagesList=e},immediate:!0,deep:!0},visible:{handler(e,t){this.show=e},immediate:!0},indexd:{handler(e,t){e>=0&&(this.isIndex=e+1,this.move=e*100*-1)},immediate:!0}},methods:{handelTouchstart(e){let t=e.touches,i=t[0],n=t[1];this.displacement.pageX=i.pageX,this.displacement.pageY=i.pageY,this.displacement.moveable=!0,n?(this.displacement.pageX2=n.pageX,this.displacement.pageY2=n.pageY):(this.duration="transition-duration: 0.05s;transition-timing-function:linear",this.windowWidth=(document.documentElement.clientWidth||document.body.clientWidth)/100,this.windowHeight=(document.documentElement.clientHeight||document.body.clientHeight)/100,this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY,this.startMove=this.move),this.displacement.originScale=this.displacement.scale||1},handelTouchmove(e){if(!this.displacement.moveable)return;e.preventDefault();let t=e.touches,i=t[0],n=t[1];if(n){this.displacement.pageX2||(this.displacement.pageX2=n.pageX),this.displacement.pageY2||(this.displacement.pageY2=n.pageY);let s=this.getDistance({x:i.pageX,y:i.pageY},{x:n.pageX,y:n.pageY})/this.getDistance({x:this.displacement.pageX,y:this.displacement.pageY},{x:this.displacement.pageX2,y:this.displacement.pageY2}),r=this.displacement.originScale*s;r<.5?r=.5:r>3&&(r=3),this.displacement.scale=r,this.styleZoom=`scale(${r})`,this.styleOrigin="0 0"}else this.moveX=`calc(${(e.touches[0].clientX-this.startX)/this.displacement.scale}px - 50%)`,this.moveY=`calc(${(e.touches[0].clientY-this.startY)/this.displacement.scale}px - 50%)`},getDistance(e,t){return Math.hypot(t.x-e.x,t.y-e.y)},touchstartView(e){this.isOne||(this.duration="transition-duration: 0.05s;transition-timing-function:linear",this.flag=!0,this.windowWidth=(document.documentElement.clientWidth||document.body.clientWidth)/100,this.startX=e.touches[0].clientX,this.startMove=this.move)},touchmoveView(e){this.isOne||(this.startX>e.touches[0].clientX?this.move<=-((this.imagesList.length-1)*100)?this.move=-((this.imagesList.length-1)*100):this.move=this.startMove+Math.ceil((e.touches[0].clientX-this.startX)/this.windowWidth):this.startX<e.touches[0].clientX&&this.move<0&&(this.move>=0?this.move=0:this.move=this.startMove+Math.ceil((e.touches[0].clientX-this.startX)/this.windowWidth)))},touchendView(){if(this.isOne)return;this.duration="transition-duration: 0.2s;transition-timing-function:ease";let e=Math.floor(Math.abs(this.move/100));Math.abs(this.move/100%1)>.5?(this.isIndex=e+2,this.move=(e+1)*100*-1):(this.isIndex=e+1,this.move=e*100*-1),this.flag=!1},handleClose(){this.$emit("update:visible",!1)}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el)})}};var Xy=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.visible?i("div",{staticClass:"preview-image"},[i("div",{staticClass:"preview-image-mask",on:{click:e.handleClose}}),e.isOne?i("div",{staticClass:"preview-image-view--one",style:`transform:${e.styleZoom} translate(${e.moveX},${e.moveY});${e.duration};${e.styleOrigin?`transformOrigin:${e.styleOrigin}`:""};`,on:{touchstart:e.handelTouchstart,touchmove:e.handelTouchmove}},e._l(e.imagesList,function(n,s){return i("img",{key:s,staticClass:"img-view",attrs:{src:n}})}),0):i("div",{staticClass:"preview-image-view--img",style:`transform: translate(${e.move}%,-50%);${e.duration}`,on:{touchstart:e.touchstartView,touchmove:e.touchmoveView,touchend:e.touchendView}},[i("div",{staticClass:"preview-image-mask",staticStyle:{opacity:"0","z-index":"1"},on:{click:e.handleClose}}),e._l(e.imagesList,function(n,s){return i("img",{key:s,staticClass:"img-view",attrs:{src:n}})})],2),e.isOne?e._e():i("div",{staticClass:"preview-image-view--page"},[i("span",{staticClass:"page-item"},[e._v(e._s(e.isIndex)+"/"+e._s(e.imagesList.length))])]),i("div",{staticClass:"preview-image-view--close"})]):e._e()},Zy=[];const AT="",_u={};var $y=ve(Yy,Xy,Zy,!1,ev,"2d4b6adf",null,null);function ev(e){for(let t in _u)this[t]=_u[t]}const Hs=function(){return $y.exports}(),Nu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAECBJREFUeF7dW21QVFeaPu+53TQEkU+VKKDyIQ4x0k3HuMnsjFbUmcq0hOjKbkpJpVIbQzSx/DH5Mdl/82f9laxGE6tI2FQsJ5sJE60kpVu7zjrZGEVUPoMYV4gogwEUuvnsz3vO1nO9l2qwkb4NuHFvVRcU9L33vM/7vs/7cd5DbHYuYozhg0vov0vGmLJq1apliqLkE1GmoijJqqqmEtF8IkqRUibhBiIallJ6pJRDiqK4VVUdlFL2qKra3tra2skYU8OeyfX34Pn4zOgyFh3LQ6i8vFxbTE1NDRYiysvLlWvXrmVLKbOI6FHO+SIppSawECKBc25ljMVJKeM45/hp0QEICSECRBRgjAWEEEHOuReAEJFbCNHLGLtFRH9tbGzs0kHm5eXl2vpramoAekxgxAqAcZ/20tzc3OSUlJSlUsoVRFTIGMPv2YyxdCLC4iBYCIuUUqr63/B3fHABSC6l5ESk6NoGOAAJ/7sjpYTgN6SU3zPGrvp8vptXr14d1u+fsB4z2owVAE1xRUVFVs45NPyUoiibOOcrICFjLEhEhqCQ2njP5PdNtXANWCLSfgIEKSWAseJvQog2xtifrVZr/ejo6EBbW1vwQVmAZvY1NTWq0+nMEEJsJKJfMMYysTj9AwykrmUzyrjvd3XrMLgGFgWhe6WUZzjnf66vr78DFzTrDtFagOZvEByrLC4u/lsi2kBEuUSUpa/cq5OVprxJpjlTIAz/NizCQkTxukt1M8Y6GGOnGhsba/EiHQiNl6Z7cTQAGKiLp556KsHn8z1NRFuklI+BtIgIZKUxfpjg0713pv/H+0JEBNdIAKkyxlpCodDnXq+3rr293a/zyrSRIloApNPpTA4Gg7+0WCwVIDfG2JAutBGWZipUrPdDy7DMJCllHxEd8fl8Z9va2kbCQueUz74fA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LztzM5zZtjhpz8w9r4QxbhAKgJpwKs9MAT7GZuMTc3lmyfa8WgSjWPssgOpfxT+07f762alE3XMEWlZMx85sQXl+o3e1AFjVNlF9PhVyA+C/TLWGVzx89ZuflMJ3OoAAXHlUSshnj6y3CWuocKyu24k8Y1fMCIBVAXCUFQaTwXiMPkm1K+UrTb1uTcaGiUHpzrRRGJi0rADUu2KeU5wjVC+SXUU8o2AUAAMD0IWuqHhOgj0A2G0b5u16wRlwpDttN+2W1mJ8gEogfGT3tV9MEq9kw76PQO5ktbKjYFQ2XDuRBlIA1Aage8io+q1+3GV8ao3fcbLxW4Po6cy8nR9NBN+YKfjzVVSyqf5PTVav393yJZuwigwsAqAWsU7TdktVMCQABhbkkwDeIRtd+dTIkz/96hsHSrmZyKsnxfq8scy+xWflsrnLEwYvZVAzgRsYaAKjiYimBnabFRoWACsMoJI75kEQegnoZeAIg3YmbWxDvbk3c9n2AUesSkRrMo//Bwdf9ZzE6Zx0AAAAAElFTkSuQmCC",tv={name:"ViewAttchList",components:{PreView:Tu,TopPopup:at,PreviewImage:Hs},computed:{del(){return Nu},doc(){return ku},file(){return Su},image(){return Pu},pdf(){return Du},xls(){return Ou},zip(){return Mu}},props:{inList:{type:Array,default:()=>[]}},data(){return{listData:[],imgIcon:["jpg","jpge","png","gif"],docIcon:["doc","docx"],xlsIcon:["xls","xlsx"],zipIcon:["zip","rar","7z"],preList:[],fileUrl:"",visible:!1,visibleImg:!1,lists:[],indexd:0}},watch:{inList:{handler(e,t){if(e.length){this.listData=e,this.lists=[];let i=[];e.map((n,s)=>{this.imgIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())}),i=e.filter(n=>this.imgIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())),i.forEach((n,s)=>{this.lists.push(n.url)})}},immediate:!0,deep:!0}},methods:{viewFile(e){this.imgIcon.includes(e.url.substring(e.url.lastIndexOf(".")+1).toLowerCase())?(this.visibleImg=!0,this.indexd=this.lists.indexOf(e.url)):(this.fileUrl=e.url,this.visible=!0)},loadFile(e){var t;if(rl.default.hasNativeMethod("vueUpLoadFile"))rl.default.call("vueUpLoadFile",e.url);else{if(typeof nativeMethod<"u"&&(nativeMethod==null?void 0:nativeMethod.vueUpLoadFile))return nativeMethod.vueUpLoadFile(e.url),!1;const i=document.createElement("a");i.download=(t=e.url)==null?void 0:t.match(/([^\/]+)$/g)[0],i.href=e.url,i.click()}}}};var iv=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-wrap"},[e.listData.length>0?i("div",{staticClass:"attch-list"},e._l(e.listData,function(n,s){return i("div",{key:n.id,staticClass:"list-items"},[i("div",{staticClass:"list-items-icon"},[e.xlsIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.xls}}):e.imgIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.image}}):n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?i("img",{staticClass:"icon-img",attrs:{src:e.pdf}}):e.docIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.doc}}):e.zipIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.zip}}):i("img",{staticClass:"icon-img",attrs:{src:e.file}})]),i("div",{staticClass:"list-items-info",on:{click:function(r){return e.viewFile(n)}}},[i("div",{staticClass:"info-name"},[i("span",{staticClass:"info-name-text"},[e._v(e._s(n.name))])]),i("div",{staticClass:"info-attribute"},[i("span",{staticClass:"info-attribute-time"},[e._v(e._s(n.uploadTime))]),i("span",{staticClass:"info-attribute-size"},[e._v(e._s(n.size<1024?n.size:n.size/1024>1024?parseFloat((n.size/1024/1024).toFixed(2)):parseFloat((n.size/1024).toFixed(2)))+e._s(n.size<1024?"b":parseFloat((n.size/1024).toFixed(2))<1024?"kb":"M")+" ")])])]),i("div",{staticClass:"list-items-download",on:{click:function(r){return e.loadFile(n)}}},[i("span",{staticClass:"download-text"},[e._v("\u4E0B\u8F7D")])])])}),0):i("div",{staticClass:"attch-list"},[e._m(0)]),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},on:{"update:visible":function(n){return e.visible=n}}},[i("PreView",{attrs:{file:e.fileUrl}})],1),i("PreviewImage",{attrs:{images:e.lists,visible:e.visibleImg,indexd:e.indexd},on:{"update:visible":function(n){return e.visibleImg=n}}})],1)},nv=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"attch-list--white"},[i("div",{staticClass:"attch-list--label"},[e._v("\u6682\u65E0\u9644\u4EF6")])])}];const bT="",Bu={};var sv=ve(tv,iv,nv,!1,rv,"7ee87e48",null,null);function rv(e){for(let t in Bu)this[t]=Bu[t]}const Ru=function(){return sv.exports}();function Dt(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}const Kn=Object.prototype.toString,av=Object.prototype.hasOwnProperty;function qa(e){return e===void 0}function pn(e){return e!==void 0}function Lu(e){return e==null}function wt(e){return Kn.call(e)==="[object Array]"}function Pi(e){return Kn.call(e)==="[object Object]"}function $t(e){return Kn.call(e)==="[object Number]"}function ei(e){const t=Kn.call(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object AsyncGeneratorFunction]"||t==="[object Proxy]"}function Et(e){return Kn.call(e)==="[object String]"}function dn(e,t){return!Lu(e)&&av.call(e,t)}function xt(e,t){const i=Ja(t);let n;return G(e,function(s,r){if(i(s,r))return n=s,!1}),n}function ov(e,t){const i=Ja(t);let n=wt(e)?-1:void 0;return G(e,function(s,r){if(i(s,r))return n=r,!1}),n}function hn(e,t){const i=Ja(t);let n=[];return G(e,function(s,r){i(s,r)&&n.push(s)}),n}function G(e,t){let i,n;if(qa(e))return;const s=wt(e)?uv:cv;for(let r in e)if(dn(e,r)&&(i=e[r],n=t(i,s(r)),n===!1))return i}function fn(e,t,i){return G(e,function(n,s){i=t(i,n,s)}),i}function Fu(e,t){return!!fn(e,function(i,n,s){return i&&t(n,s)},!0)}function Vu(e,t){return!!xt(e,t)}function lv(e,t){let i=[];return G(e,function(n,s){i.push(t(n,s))}),i}function ju(e){return function(t){return Fu(e,function(i,n){return t[n]===i})}}function Ja(e){return ei(e)?e:t=>t===e}function cv(e){return e}function uv(e){return Number(e)}function pv(e,t){let i,n,s,r;function a(d){let y=Date.now(),x=d?0:r+t-y;if(x>0)return o(x);e.apply(s,n),l()}function o(d){i=setTimeout(a,d)}function l(){i&&clearTimeout(i),i=r=n=s=void 0}function p(){i&&a(!0),l()}function h(...d){r=Date.now(),n=d,s=this,i||o(t)}return h.flush=p,h.cancel=l,h}function ti(e,t){return e.bind(t)}function X(e,...t){return Object.assign(e,...t)}function dv(e,t,i){let n=e;return G(t,function(s,r){if(typeof s!="number"&&typeof s!="string")throw new Error("illegal key type: "+typeof s+". Key should be of type number or string.");if(s==="constructor")throw new Error("illegal key: constructor");if(s==="__proto__")throw new Error("illegal key: __proto__");let a=t[r+1],o=n[s];pn(a)&&Lu(o)&&(o=n[s]=isNaN(+a)?{}:[]),qa(a)?qa(i)?delete n[s]:n[s]=i:n=o}),e}function hv(e,t){let i={},n=Object(e);return G(t,function(s){s in n&&(i[s]=e[s])}),i}function fv(e,t){let i={},n=Object(e);return G(n,function(s,r){t.indexOf(r)===-1&&(i[r]=s)}),i}var mv=1e3;function Ut(e,t){var i=this;t=t||mv,e.on(["render.shape","render.connection"],t,function(n,s){var r=n.type,a=s.element,o=s.gfx,l=s.attrs;if(i.canRender(a))return r==="render.shape"?i.drawShape(o,a,l):i.drawConnection(o,a,l)}),e.on(["render.getShapePath","render.getConnectionPath"],t,function(n,s){if(i.canRender(s))return n.type==="render.getShapePath"?i.getShapePath(s):i.getConnectionPath(s)})}Ut.prototype.canRender=function(e){},Ut.prototype.drawShape=function(e,t){},Ut.prototype.drawConnection=function(e,t){},Ut.prototype.getShapePath=function(e){},Ut.prototype.getConnectionPath=function(e){};function K(e,t){var i=we(e);return i&&typeof i.$instanceOf=="function"&&i.$instanceOf(t)}function gv(e,t){return Vu(t,function(i){return K(e,i)})}function we(e){return e&&e.businessObject||e}function Di(e){return e&&e.di}function Oi(e,t){return K(e,"bpmn:CallActivity")?!1:K(e,"bpmn:SubProcess")?(t=t||Di(e),t&&K(t,"bpmndi:BPMNPlane")?!0:t&&!!t.isExpanded):K(e,"bpmn:Participant")?!!we(e).processRef:!0}function Uu(e){if(!(!K(e,"bpmn:Participant")&&!K(e,"bpmn:Lane"))){var t=Di(e).isHorizontal;return t===void 0?!0:t}}function yv(e){return e&&!!we(e).triggeredByEvent}function vv(e){return Pi(e)&&dn(e,"waypoints")}var Ks={width:90,height:20},Qu=15;function Av(e){return K(e,"bpmn:Event")||K(e,"bpmn:Gateway")||K(e,"bpmn:DataStoreReference")||K(e,"bpmn:DataObjectReference")||K(e,"bpmn:DataInput")||K(e,"bpmn:DataOutput")||K(e,"bpmn:SequenceFlow")||K(e,"bpmn:MessageFlow")||K(e,"bpmn:Group")}function bv(e){var t=e.length/2-1,i=e[Math.floor(t)],n=e[Math.ceil(t+.01)],s=Cv(e),r=Math.atan((n.y-i.y)/(n.x-i.x)),a=s.x,o=s.y;return Math.abs(r)<Math.PI/2?o-=Qu:a+=Qu,{x:a,y:o}}function Cv(e){var t=e.length/2-1,i=e[Math.floor(t)],n=e[Math.ceil(t+.01)];return{x:i.x+(n.x-i.x)/2,y:i.y+(n.y-i.y)/2}}function wv(e){return e.waypoints?bv(e.waypoints):K(e,"bpmn:Group")?{x:e.x+e.width/2,y:e.y+Ks.height/2}:{x:e.x+e.width/2,y:e.y+e.height+Ks.height/2}}function Ev(e,t){var i,n,s,r=e.label;return r&&r.bounds?(s=r.bounds,n={width:Math.max(Ks.width,s.width),height:s.height},i={x:s.x+s.width/2,y:s.y+s.height/2}):(i=wv(t),n=Ks),X({x:i.x-n.width/2,y:i.y-n.height/2},n)}function xv(e){if(K(e,"bpmn:FlowElement")||K(e,"bpmn:Participant")||K(e,"bpmn:Lane")||K(e,"bpmn:SequenceFlow")||K(e,"bpmn:MessageFlow")||K(e,"bpmn:DataInput")||K(e,"bpmn:DataOutput"))return"name";if(K(e,"bpmn:TextAnnotation"))return"text";if(K(e,"bpmn:Group"))return"categoryValueRef"}function Iv(e){var t=e.categoryValueRef;return t&&t.value||""}function Ws(e){var t=e.businessObject,i=xv(t);if(i)return i==="categoryValueRef"?Iv(t):t[i]||""}function Tv(e,t){if(e.ownerDocument!==t.ownerDocument)try{return t.ownerDocument.importNode(e,!0)}catch{}return e}function Gu(e,t){return t.appendChild(Tv(e,t))}function Ee(e,t){return Gu(t,e),e}var Ha=2,qu={"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":Ha,"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":Ha,"text-anchor":1,"text-decoration":1,"text-rendering":1,"unicode-bidi":1,visibility:1,"word-spacing":1,"writing-mode":1};function _v(e,t){return qu[t]?e.style[t]:e.getAttributeNS(null,t)}function Ju(e,t,i){var n=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),s=qu[n];s?(s===Ha&&typeof i=="number"&&(i=String(i)+"px"),e.style[n]=i):e.setAttributeNS(null,t,i)}function Nv(e,t){var i=Object.keys(t),n,s;for(n=0,s;s=i[n];n++)Ju(e,s,t[s])}function he(e,t,i){if(typeof t=="string")if(i!==void 0)Ju(e,t,i);else return _v(e,t);else Nv(e,t);return e}const kv=Object.prototype.toString;function ot(e){return new ii(e)}function ii(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}ii.prototype.add=function(e){return this.list.add(e),this},ii.prototype.remove=function(e){return kv.call(e)=="[object RegExp]"?this.removeMatching(e):(this.list.remove(e),this)},ii.prototype.removeMatching=function(e){const t=this.array();for(let i=0;i<t.length;i++)e.test(t[i])&&this.remove(t[i]);return this},ii.prototype.toggle=function(e,t){return typeof t<"u"?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this},ii.prototype.array=function(){return Array.from(this.list)},ii.prototype.has=ii.prototype.contains=function(e){return this.list.contains(e)};function Hu(e){for(var t;t=e.firstChild;)e.removeChild(t);return e}var Ka={svg:"http://www.w3.org/2000/svg"},Ku='<svg xmlns="'+Ka.svg+'"';function Wu(e){var t=!1;e.substring(0,4)==="<svg"?e.indexOf(Ka.svg)===-1&&(e=Ku+e.substring(4)):(e=Ku+">"+e+"</svg>",t=!0);var i=Sv(e);if(!t)return i;for(var n=document.createDocumentFragment(),s=i.firstChild;s.firstChild;)n.appendChild(s.firstChild);return n}function Sv(e){var t;return t=new DOMParser,t.async=!1,t.parseFromString(e,"text/xml")}function ge(e,t){var i;return e=e.trim(),e.charAt(0)==="<"?(i=Wu(e).firstChild,i=document.importNode(i,!0)):i=document.createElementNS(Ka.svg,e),t&&he(i,t),i}var Wa=null;function za(){return Wa===null&&(Wa=ge("svg")),Wa}function zu(e,t){var i,n,s=Object.keys(t);for(i=0;n=s[i];i++)e[n]=t[n];return e}function Pv(e,t,i,n,s,r){var a=za().createSVGMatrix();switch(arguments.length){case 0:return a;case 1:return zu(a,e);case 6:return zu(a,{a:e,b:t,c:i,d:n,e:s,f:r})}}function Wn(e){return e?za().createSVGTransformFromMatrix(e):za().createSVGTransform()}var Yu=/([&<>]{1})/g,Dv=/([&<>\n\r"]{1})/g,Ov={"&":"&","<":"<",">":">",'"':"'"};function Ya(e,t){function i(n,s){return Ov[s]||s}return e.replace(t,i)}function Xu(e,t){var i,n,s,r,a;switch(e.nodeType){case 3:t.push(Ya(e.textContent,Yu));break;case 1:if(t.push("<",e.tagName),e.hasAttributes())for(s=e.attributes,i=0,n=s.length;i<n;++i)r=s.item(i),t.push(" ",r.name,'="',Ya(r.value,Dv),'"');if(e.hasChildNodes()){for(t.push(">"),a=e.childNodes,i=0,n=a.length;i<n;++i)Xu(a.item(i),t);t.push("</",e.tagName,">")}else t.push("/>");break;case 8:t.push("<!--",Ya(e.nodeValue,Yu),"-->");break;case 4:t.push("<![CDATA[",e.nodeValue,"]]>");break;default:throw new Error("unable to handle node "+e.nodeType)}return t}function Mv(e,t){var i=Wu(t);if(Hu(e),!!t){Rv(i)||(i=i.documentElement);for(var n=Lv(i.childNodes),s=0;s<n.length;s++)Gu(n[s],e)}}function Bv(e){for(var t=e.firstChild,i=[];t;)Xu(t,i),t=t.nextSibling;return i.join("")}function Rv(e){return e.nodeName==="#document-fragment"}function Zu(e,t){if(t!==void 0){try{Mv(e,t)}catch(i){throw new Error("error parsing SVG: "+i.message)}return e}else return Bv(e)}function Lv(e){return Array.prototype.slice.call(e)}function zn(e){var t=e.parentNode;return t&&t.removeChild(e),e}function Fv(e,t){return t instanceof SVGMatrix?e.createSVGTransformFromMatrix(t):t}function Vv(e,t){var i,n;for(e.clear(),i=0;n=t[i];i++)e.appendItem(Fv(e,n))}function Yn(e,t){var i=e.transform.baseVal;return t&&(Array.isArray(t)||(t=[t]),Vv(i,t)),i.consolidate()}function Mi(e){return e.flat().join(",").replace(/,?([A-z]),?/g,"$1")}function jv(e){return["M",e.x,e.y]}function Xa(e){return["L",e.x,e.y]}function Uv(e,t,i){return["C",e.x,e.y,t.x,t.y,i.x,i.y]}function Qv(e,t){const i=e.length,n=[jv(e[0])];for(let s=1;s<i;s++){const r=e[s-1],a=e[s],o=e[s+1];if(!o||!t){n.push(Xa(a));continue}const l=Math.min(t,Za(a.x-r.x,a.y-r.y),Za(o.x-a.x,o.y-a.y));if(!l){n.push(Xa(a));continue}const p=zs(a,r,l),h=zs(a,r,l*.5),d=zs(a,o,l),y=zs(a,o,l*.5);n.push(Xa(p)),n.push(Uv(h,y,d))}return n}function zs(e,t,i){const n=t.x-e.x,s=t.y-e.y,r=Za(n,s),a=i/r;return{x:e.x+n*a,y:e.y+s*a}}function Za(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}function $a(e,t,i){$t(t)&&(i=t,t=null),t||(t={});const n=ge("path",t);return $t(i)&&(n.dataset.cornerRadius=String(i)),$u(n,e)}function $u(e,t){const i=parseInt(e.dataset.cornerRadius,10)||0;return he(e,{d:Mi(Qv(t,i))}),e}var eo="hsl(225, 10%, 15%)",Gv="white";function Ot(e,t){return Vu(e.eventDefinitions,function(i){return i.$type===t})}function qv(e){return e.$type==="bpmn:IntermediateThrowEvent"||e.$type==="bpmn:EndEvent"}function Jv(e){var t=e.dataObjectRef;return e.isCollection||t&&t.isCollection}function ne(e,t,i){var n=Di(e);return i||n.get("color:background-color")||n.get("bioc:fill")||t||Gv}function j(e,t,i){var n=Di(e);return i||n.get("color:border-color")||n.get("bioc:stroke")||t||eo}function Xn(e,t,i,n){var s=Di(e),r=s.get("label");return n||r&&r.get("color:color")||t||j(e,i)}function Hv(e){var t=e.x+e.width/2,i=e.y+e.height/2,n=e.width/2,s=[["M",t,i],["m",0,-n],["a",n,n,0,1,1,0,2*n],["a",n,n,0,1,1,0,-2*n],["z"]];return Mi(s)}function Kv(e,t){var i=e.x,n=e.y,s=e.width,r=e.height,a=[["M",i+t,n],["l",s-t*2,0],["a",t,t,0,0,1,t,t],["l",0,r-t*2],["a",t,t,0,0,1,-t,t],["l",t*2-s,0],["a",t,t,0,0,1,-t,-t],["l",0,t*2-r],["a",t,t,0,0,1,t,-t],["z"]];return Mi(a)}function Wv(e){var t=e.width,i=e.height,n=e.x,s=e.y,r=t/2,a=i/2,o=[["M",n+r,s],["l",r,a],["l",-r,a],["l",-r,-a],["z"]];return Mi(o)}function zv(e){var t=e.x,i=e.y,n=e.width,s=e.height,r=[["M",t,i],["l",n,0],["l",0,s],["l",-n,0],["z"]];return Mi(r)}function Zn(e,t={}){return{width:ft(e,t),height:Ye(e,t)}}function ft(e,t={}){return dn(t,"width")?t.width:e.width}function Ye(e,t={}){return dn(t,"height")?t.height:e.height}function Yv(e,t){return t.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(n){if(n!=="default"&&!(n in e)){var s=Object.getOwnPropertyDescriptor(i,n);Object.defineProperty(e,n,s.get?s:{enumerable:!0,get:function(){return i[n]}})}})}),Object.freeze(e)}const Xv=Object.prototype.toString,Zv=Object.prototype.hasOwnProperty;function $v(e){return e===void 0}function eA(e){return Xv.call(e)==="[object Array]"}function tA(e,t){return Zv.call(e,t)}function ep(e,t){let i,n;if($v(e))return;const s=eA(e)?nA:iA;for(let r in e)if(tA(e,r)&&(i=e[r],n=t(i,s(r)),n===!1))return i}function iA(e){return e}function nA(e){return Number(e)}function Me(e,...t){const i=e.style;return ep(t,function(n){!n||ep(n,function(s,r){i[r]=s})}),e}function tp(e,t,i){return arguments.length==2?e.getAttribute(t):i===null?e.removeAttribute(t):(e.setAttribute(t,i),e)}const sA=Object.prototype.toString;function Bi(e){return new ni(e)}function ni(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}ni.prototype.add=function(e){return this.list.add(e),this},ni.prototype.remove=function(e){return sA.call(e)=="[object RegExp]"?this.removeMatching(e):(this.list.remove(e),this)},ni.prototype.removeMatching=function(e){const t=this.array();for(let i=0;i<t.length;i++)e.test(t[i])&&this.remove(t[i]);return this},ni.prototype.toggle=function(e,t){return typeof t<"u"?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this},ni.prototype.array=function(){return Array.from(this.list)},ni.prototype.has=ni.prototype.contains=function(e){return this.list.contains(e)};function ip(e){for(var t;t=e.firstChild;)e.removeChild(t);return e}function np(e,t,i){var n=i?e:e.parentNode;return n&&typeof n.closest=="function"&&n.closest(t)||null}var Ys={},Xs,to,io;function sp(){Xs=window.addEventListener?"addEventListener":"attachEvent",to=window.removeEventListener?"removeEventListener":"detachEvent",io=Xs!=="addEventListener"?"on":""}var rA=Ys.bind=function(e,t,i,n){return Xs||sp(),e[Xs](io+t,i,n||!1),i},aA=Ys.unbind=function(e,t,i,n){return to||sp(),e[to](io+t,i,n||!1),i},Ri=Yv({__proto__:null,bind:rA,unbind:aA,default:Ys},[Ys]),rp=["focus","blur"];function oA(e,t,i,n,s){return rp.indexOf(i)!==-1&&(s=!0),Ri.bind(e,i,function(r){var a=r.target||r.srcElement;r.delegateTarget=np(a,t,!0),r.delegateTarget&&n.call(e,r)},s)}function lA(e,t,i,n){return rp.indexOf(t)!==-1&&(n=!0),Ri.unbind(e,t,i,n)}var mn={bind:oA,unbind:lA},cA=uA,ap=!1,Zs;typeof document<"u"&&(Zs=document.createElement("div"),Zs.innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',ap=!Zs.getElementsByTagName("link").length,Zs=void 0);var Te={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:ap?[1,"X<div>","</div>"]:[0,"",""]};Te.td=Te.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],Te.option=Te.optgroup=[1,'<select multiple="multiple">',"</select>"],Te.thead=Te.tbody=Te.colgroup=Te.caption=Te.tfoot=[1,"<table>","</table>"],Te.polyline=Te.ellipse=Te.polygon=Te.circle=Te.text=Te.line=Te.path=Te.rect=Te.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"];function uA(e,t){if(typeof e!="string")throw new TypeError("String expected");t||(t=document);var i=/<([\w:]+)/.exec(e);if(!i)return t.createTextNode(e);e=e.replace(/^\s+|\s+$/g,"");var n=i[1];if(n=="body"){var l=t.createElement("html");return l.innerHTML=e,l.removeChild(l.lastChild)}var s=Object.prototype.hasOwnProperty.call(Te,n)?Te[n]:Te._default,r=s[0],a=s[1],o=s[2],l=t.createElement("div");for(l.innerHTML=a+e+o;r--;)l=l.lastChild;if(l.firstChild==l.lastChild)return l.removeChild(l.firstChild);for(var p=t.createDocumentFragment();l.firstChild;)p.appendChild(l.removeChild(l.firstChild));return p}var lt=cA;function It(e,t){return t=t||document,t.querySelector(e)}function pA(e,t){return t=t||document,t.querySelectorAll(e)}function gn(e){e.parentNode&&e.parentNode.removeChild(e)}function no(e,t,i,n,s){var r=Wn();r.setTranslate(t,i);var a=Wn();a.setRotate(n||0,0,0);var o=Wn();o.setScale(s||1,s||1),Yn(e,[r,a,o])}function op(e,t,i){var n=Wn();n.setTranslate(t,i),Yn(e,n)}function dA(e,t){var i=Wn();i.setRotate(t,0,0),Yn(e,i)}function hA(e,t){return t={exports:{}},e(t,t.exports),t.exports}var fA=hA(function(e){var t=e.exports=function(i,n){if(n||(n=16),i===void 0&&(i=128),i<=0)return"0";for(var s=Math.log(Math.pow(2,i))/Math.log(n),r=2;s===1/0;r*=2)s=Math.log(Math.pow(2,i/r))/Math.log(n)*r;for(var a=s-Math.floor(s),o="",r=0;r<Math.floor(s);r++){var l=Math.floor(Math.random()*n).toString(n);o=l+o}if(a){var p=Math.pow(n,a),l=Math.floor(Math.random()*p).toString(n);o=l+o}var h=parseInt(o,n);return h!==1/0&&h>=Math.pow(2,i)?t(i,n):o};t.rack=function(i,n,s){var r=function(o){var l=0;do{if(l++>10)if(s)i+=s;else throw new Error("too many ID collisions, use more bits");var p=t(i,n)}while(Object.hasOwnProperty.call(a,p));return a[p]=o,p},a=r.hats={};return r.get=function(o){return r.hats[o]},r.set=function(o,l){return r.hats[o]=l,r},r.bits=i||128,r.base=n||16,r}});function Qt(e){if(!(this instanceof Qt))return new Qt(e);e=e||[128,36,1],this._seed=e.length?fA.rack(e[0],e[1],e[2]):e}Qt.prototype.next=function(e){return this._seed(e||!0)},Qt.prototype.nextPrefixed=function(e,t){var i;do i=e+this.next(!0);while(this.assigned(i));return this.claim(i,t),i},Qt.prototype.claim=function(e,t){this._seed.set(e,t||!0)},Qt.prototype.assigned=function(e){return this._seed.get(e)||!1},Qt.prototype.unclaim=function(e){delete this._seed.hats[e]},Qt.prototype.clear=function(){var e=this._seed.hats,t;for(t in e)this.unclaim(t)};var mA=new Qt,gA=10,$s=3,yA=1.5,er=10,yn=.95,vA=1,AA=.25;function Li(e,t,i,n,s,r,a){Ut.call(this,t,a);var o=e&&e.defaultFillColor,l=e&&e.defaultStrokeColor,p=e&&e.defaultLabelColor,h=mA.next(),d={};function y(f){return i.computeStyle(f,{strokeLinecap:"round",strokeLinejoin:"round",stroke:eo,strokeWidth:2,fill:"white"})}function x(f){return i.computeStyle(f,["no-fill"],{strokeLinecap:"round",strokeLinejoin:"round",stroke:eo,strokeWidth:2})}function M(f,c){var{ref:u={x:0,y:0},scale:m=1,element:A}=c,T=ge("marker",{id:f,viewBox:"0 0 20 20",refX:u.x,refY:u.y,markerWidth:20*m,markerHeight:20*m,orient:"auto"});Ee(T,A);var H=It("defs",s._svg);H||(H=ge("defs"),Ee(s._svg,H)),Ee(H,T),d[f]=T}function B(f){return f.replace(/[^0-9a-zA-Z]+/g,"_")}function Z(f,c,u){var m=f+"-"+B(c)+"-"+B(u)+"-"+h;return d[m]||J(m,f,c,u),"url(#"+m+")"}function J(f,c,u,m){if(c==="sequenceflow-end"){var A=ge("path",{d:"M 1 5 L 11 10 L 1 15 Z",...y({fill:m,stroke:m,strokeWidth:1})});M(f,{element:A,ref:{x:11,y:10},scale:.5})}if(c==="messageflow-start"){var T=ge("circle",{cx:6,cy:6,r:3.5,...y({fill:u,stroke:m,strokeWidth:1,strokeDasharray:[1e4,1]})});M(f,{element:T,ref:{x:6,y:6}})}if(c==="messageflow-end"){var H=ge("path",{d:"m 1 5 l 0 -3 l 7 3 l -7 3 z",...y({fill:u,stroke:m,strokeWidth:1,strokeDasharray:[1e4,1]})});M(f,{element:H,ref:{x:8.5,y:5}})}if(c==="association-start"){var ce=ge("path",{d:"M 11 5 L 1 10 L 11 15",...x({fill:"none",stroke:m,strokeWidth:1.5,strokeDasharray:[1e4,1]})});M(f,{element:ce,ref:{x:1,y:10},scale:.5})}if(c==="association-end"){var le=ge("path",{d:"M 1 5 L 11 10 L 1 15",...x({fill:"none",stroke:m,strokeWidth:1.5,strokeDasharray:[1e4,1]})});M(f,{element:le,ref:{x:11,y:10},scale:.5})}if(c==="conditional-flow-marker"){var ue=ge("path",{d:"M 0 10 L 8 6 L 16 10 L 8 14 Z",...y({fill:u,stroke:m})});M(f,{element:ue,ref:{x:-1,y:10},scale:.5})}if(c==="conditional-default-flow-marker"){var ke=ge("path",{d:"M 6 4 L 10 16",...y({stroke:m})});M(f,{element:ke,ref:{x:0,y:10},scale:.5})}}function U(f,c,u,m,A={}){Pi(m)&&(A=m,m=0),m=m||0,A=y(A);var T=c/2,H=u/2,ce=ge("circle",{cx:T,cy:H,r:Math.round((c+u)/4-m),...A});return Ee(f,ce),ce}function N(f,c,u,m,A,T){Pi(A)&&(T=A,A=0),A=A||0,T=y(T);var H=ge("rect",{x:A,y:A,width:c-A*2,height:u-A*2,rx:m,ry:m,...T});return Ee(f,H),H}function E(f,c,u,m){var A=c/2,T=u/2,H=[{x:A,y:0},{x:c,y:T},{x:A,y:u},{x:0,y:T}],ce=H.map(function(ue){return ue.x+","+ue.y}).join(" ");m=y(m);var le=ge("polygon",{...m,points:ce});return Ee(f,le),le}function P(f,c,u,m){u=x(u);var A=$a(c,u,m);return Ee(f,A),A}function S(f,c,u){return P(f,c,u,5)}function k(f,c,u){u=x(u);var m=ge("path",{...u,d:c});return Ee(f,m),m}function _(f,c,u,m){return k(c,u,X({"data-marker":f},m))}function V(f){return se[f]}function D(f){return function(c,u,m){return V(f)(c,u,m)}}var F={"bpmn:MessageEventDefinition":function(f,c,u={},m){var A=n.getScaledPath("EVENT_MESSAGE",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:c.width,containerHeight:c.height,position:{mx:.235,my:.315}}),T=m?j(c,l,u.stroke):ne(c,o,u.fill),H=m?ne(c,o,u.fill):j(c,l,u.stroke),ce=k(f,A,{fill:T,stroke:H,strokeWidth:1});return ce},"bpmn:TimerEventDefinition":function(f,c,u={}){var m=U(f,c.width,c.height,.2*c.height,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:2}),A=n.getScaledPath("EVENT_TIMER_WH",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.5}});k(f,A,{stroke:j(c,l,u.stroke),strokeWidth:2});for(var T=0;T<12;T++){var H=n.getScaledPath("EVENT_TIMER_LINE",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.5}}),ce=c.width/2,le=c.height/2;k(f,H,{strokeWidth:1,stroke:j(c,l,u.stroke),transform:"rotate("+T*30+","+le+","+ce+")"})}return m},"bpmn:EscalationEventDefinition":function(f,c,u={},m){var A=n.getScaledPath("EVENT_ESCALATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.2}}),T=m?j(c,l,u.stroke):ne(c,o,u.fill);return k(f,A,{fill:T,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:ConditionalEventDefinition":function(f,c,u={}){var m=n.getScaledPath("EVENT_CONDITIONAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.222}});return k(f,m,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:LinkEventDefinition":function(f,c,u={},m){var A=n.getScaledPath("EVENT_LINK",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.57,my:.263}}),T=m?j(c,l,u.stroke):ne(c,o,u.fill);return k(f,A,{fill:T,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:ErrorEventDefinition":function(f,c,u={},m){var A=n.getScaledPath("EVENT_ERROR",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:c.width,containerHeight:c.height,position:{mx:.2,my:.722}}),T=m?j(c,l,u.stroke):ne(c,o,u.fill);return k(f,A,{fill:T,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:CancelEventDefinition":function(f,c,u={},m){var A=n.getScaledPath("EVENT_CANCEL_45",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.638,my:-.055}}),T=m?j(c,l,u.stroke):"none",H=k(f,A,{fill:T,stroke:j(c,l,u.stroke),strokeWidth:1});return dA(H,45),H},"bpmn:CompensateEventDefinition":function(f,c,u={},m){var A=n.getScaledPath("EVENT_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.22,my:.5}}),T=m?j(c,l,u.stroke):ne(c,o,u.fill);return k(f,A,{fill:T,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:SignalEventDefinition":function(f,c,u={},m){var A=n.getScaledPath("EVENT_SIGNAL",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.2}}),T=m?j(c,l,u.stroke):ne(c,o,u.fill);return k(f,A,{strokeWidth:1,fill:T,stroke:j(c,l,u.stroke)})},"bpmn:MultipleEventDefinition":function(f,c,u={},m){var A=n.getScaledPath("EVENT_MULTIPLE",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:c.width,containerHeight:c.height,position:{mx:.222,my:.36}}),T=m?j(c,l,u.stroke):ne(c,o,u.fill);return k(f,A,{fill:T,strokeWidth:1})},"bpmn:ParallelMultipleEventDefinition":function(f,c,u={}){var m=n.getScaledPath("EVENT_PARALLEL_MULTIPLE",{xScaleFactor:1.2,yScaleFactor:1.2,containerWidth:c.width,containerHeight:c.height,position:{mx:.458,my:.194}});return k(f,m,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:TerminateEventDefinition":function(f,c,u={}){var m=U(f,c.width,c.height,8,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:4});return m}};function L(f,c,u={}){var m=we(f),A=qv(m);return m.get("eventDefinitions")&&m.get("eventDefinitions").length>1?m.get("parallelMultiple")?F["bpmn:ParallelMultipleEventDefinition"](c,f,u,A):F["bpmn:MultipleEventDefinition"](c,f,u,A):Ot(m,"bpmn:MessageEventDefinition")?F["bpmn:MessageEventDefinition"](c,f,u,A):Ot(m,"bpmn:TimerEventDefinition")?F["bpmn:TimerEventDefinition"](c,f,u,A):Ot(m,"bpmn:ConditionalEventDefinition")?F["bpmn:ConditionalEventDefinition"](c,f,u,A):Ot(m,"bpmn:SignalEventDefinition")?F["bpmn:SignalEventDefinition"](c,f,u,A):Ot(m,"bpmn:EscalationEventDefinition")?F["bpmn:EscalationEventDefinition"](c,f,u,A):Ot(m,"bpmn:LinkEventDefinition")?F["bpmn:LinkEventDefinition"](c,f,u,A):Ot(m,"bpmn:ErrorEventDefinition")?F["bpmn:ErrorEventDefinition"](c,f,u,A):Ot(m,"bpmn:CancelEventDefinition")?F["bpmn:CancelEventDefinition"](c,f,u,A):Ot(m,"bpmn:CompensateEventDefinition")?F["bpmn:CompensateEventDefinition"](c,f,u,A):Ot(m,"bpmn:TerminateEventDefinition")?F["bpmn:TerminateEventDefinition"](c,f,u,A):null}var q={ParticipantMultiplicityMarker:function(f,c,u={}){var m=ft(c,u),A=Ye(c,u),T=n.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:m,containerHeight:A,position:{mx:(m/2-6)/m,my:(A-15)/A}});_("participant-multiplicity",f,T,{strokeWidth:2,fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke)})},SubProcessMarker:function(f,c,u={}){var m=N(f,14,14,0,{strokeWidth:1,fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke)});op(m,c.width/2-7.5,c.height-20);var A=n.getScaledPath("MARKER_SUB_PROCESS",{xScaleFactor:1.5,yScaleFactor:1.5,containerWidth:c.width,containerHeight:c.height,position:{mx:(c.width/2-7.5)/c.width,my:(c.height-20)/c.height}});_("sub-process",f,A,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke)})},ParallelMarker:function(f,c,u){var m=ft(c,u),A=Ye(c,u),T=n.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:m,containerHeight:A,position:{mx:(m/2+u.parallel)/m,my:(A-20)/A}});_("parallel",f,T,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke)})},SequentialMarker:function(f,c,u){var m=n.getScaledPath("MARKER_SEQUENTIAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:(c.width/2+u.seq)/c.width,my:(c.height-19)/c.height}});_("sequential",f,m,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke)})},CompensationMarker:function(f,c,u){var m=n.getScaledPath("MARKER_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:(c.width/2+u.compensation)/c.width,my:(c.height-13)/c.height}});_("compensation",f,m,{strokeWidth:1,fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke)})},LoopMarker:function(f,c,u){var m=ft(c,u),A=Ye(c,u),T=n.getScaledPath("MARKER_LOOP",{xScaleFactor:1,yScaleFactor:1,containerWidth:m,containerHeight:A,position:{mx:(m/2+u.loop)/m,my:(A-7)/A}});_("loop",f,T,{strokeWidth:1.5,fill:"none",stroke:j(c,l,u.stroke),strokeMiterlimit:.5})},AdhocMarker:function(f,c,u){var m=ft(c,u),A=Ye(c,u),T=n.getScaledPath("MARKER_ADHOC",{xScaleFactor:1,yScaleFactor:1,containerWidth:m,containerHeight:A,position:{mx:(m/2+u.adhoc)/m,my:(A-15)/A}});_("adhoc",f,T,{strokeWidth:1,fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke)})}};function $(f,c,u,m){q[f](c,u,m)}function Ne(f,c,u,m={}){m={fill:m.fill,stroke:m.stroke,width:ft(c,m),height:Ye(c,m)};var A=we(c),T=u&&u.includes("SubProcessMarker");T?m={...m,seq:-21,parallel:-22,compensation:-42,loop:-18,adhoc:10}:m={...m,seq:-5,parallel:-6,compensation:-27,loop:0,adhoc:10},G(u,function(le){$(le,f,c,m)}),A.get("isForCompensation")&&$("CompensationMarker",f,c,m),K(A,"bpmn:AdHocSubProcess")&&$("AdhocMarker",f,c,m);var H=A.get("loopCharacteristics"),ce=H&&H.get("isSequential");H&&(ce===void 0&&$("LoopMarker",f,c,m),ce===!1&&$("ParallelMarker",f,c,m),ce===!0&&$("SequentialMarker",f,c,m))}function oe(f,c,u={}){u=X({size:{width:100}},u);var m=r.createText(c||"",u);return ot(m).add("djs-label"),Ee(f,m),m}function g(f,c,u,m={}){var A=we(c),T=Zn({x:c.x,y:c.y,width:c.width,height:c.height},m);return oe(f,A.name,{align:u,box:T,padding:7,style:{fill:Xn(c,p,l,m.stroke)}})}function v(f,c,u={}){var m={width:90,height:30,x:c.width/2+c.x,y:c.height/2+c.y};return oe(f,Ws(c),{box:m,fitBox:!0,style:X({},r.getExternalStyle(),{fill:Xn(c,p,l,u.stroke)})})}function I(f,c,u,m={}){var A=Uu(u),T=oe(f,c,{box:{height:30,width:A?Ye(u,m):ft(u,m)},align:"center-middle",style:{fill:Xn(u,p,l,m.stroke)}});if(A){var H=-1*Ye(u,m);no(T,0,-H,270)}}function R(f,c,u={}){var{width:m,height:A}=Zn(c,u);return N(f,m,A,er,{...u,fill:ne(c,o,u.fill),fillOpacity:yn,stroke:j(c,l,u.stroke)})}function W(f,c,u={}){var m=we(c),A=ne(c,o,u.fill),T=j(c,l,u.stroke);return(m.get("associationDirection")==="One"||m.get("associationDirection")==="Both")&&(u.markerEnd=Z("association-end",A,T)),m.get("associationDirection")==="Both"&&(u.markerStart=Z("association-start",A,T)),u=ae(u,["markerStart","markerEnd"]),S(f,c.waypoints,{...u,stroke:T,strokeDasharray:"0, 5"})}function re(f,c,u={}){var m=ne(c,o,u.fill),A=j(c,l,u.stroke),T=n.getScaledPath("DATA_OBJECT_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.474,my:.296}}),H=k(f,T,{fill:m,fillOpacity:yn,stroke:A}),ce=we(c);if(Jv(ce)){var le=n.getScaledPath("DATA_OBJECT_COLLECTION_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.33,my:(c.height-18)/c.height}});k(f,le,{strokeWidth:2,fill:m,stroke:A})}return H}function C(f,c,u={}){return U(f,c.width,c.height,{fillOpacity:yn,...u,fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke)})}function w(f,c,u={}){return E(f,c.width,c.height,{fill:ne(c,o,u.fill),fillOpacity:yn,stroke:j(c,l,u.stroke)})}function O(f,c,u={}){var m=N(f,ft(c,u),Ye(c,u),0,{fill:ne(c,o,u.fill),fillOpacity:u.fillOpacity||yn,stroke:j(c,l,u.stroke),strokeWidth:1.5}),A=we(c);if(K(A,"bpmn:Lane")){var T=A.get("name");I(f,T,c,u)}return m}function Y(f,c,u={}){var m=R(f,c,u);yv(c)&&he(m,{strokeDasharray:"0, 5.5",strokeWidth:2.5});var A=Oi(c);return g(f,c,A?"center-top":"center-middle",u),A?Ne(f,c,void 0,u):Ne(f,c,["SubProcessMarker"],u),m}function ee(f,c,u={}){var m=R(f,c,u);return g(f,c,"center-middle",u),Ne(f,c,void 0,u),m}var se=this.handlers={"bpmn:AdHocSubProcess":function(f,c,u={}){return Oi(c)?u=ae(u,["fill","stroke","width","height"]):u=ae(u,["fill","stroke"]),Y(f,c,u)},"bpmn:Association":function(f,c,u={}){return u=ae(u,["fill","stroke"]),W(f,c,u)},"bpmn:BoundaryEvent":function(f,c,u={}){var{renderIcon:m=!0}=u;u=ae(u,["fill","stroke"]);var A=we(c),T=A.get("cancelActivity");u={strokeWidth:1.5,fill:ne(c,o,u.fill),fillOpacity:vA,stroke:j(c,l,u.stroke)},T||(u.strokeDasharray="6");var H=C(f,c,u);return U(f,c.width,c.height,$s,{...u,fill:"none"}),m&&L(c,f,u),H},"bpmn:BusinessRuleTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u),A=n.getScaledPath("TASK_TYPE_BUSINESS_RULE_MAIN",{abspos:{x:8,y:8}}),T=k(f,A);he(T,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1});var H=n.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER",{abspos:{x:8,y:8}}),ce=k(f,H);return he(ce,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:CallActivity":function(f,c,u={}){return u=ae(u,["fill","stroke"]),Y(f,c,{strokeWidth:5,...u})},"bpmn:ComplexGateway":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=w(f,c,u),A=n.getScaledPath("GATEWAY_COMPLEX",{xScaleFactor:.5,yScaleFactor:.5,containerWidth:c.width,containerHeight:c.height,position:{mx:.46,my:.26}});return k(f,A,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:DataInput":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=n.getRawPath("DATA_ARROW"),A=re(f,c,u);return k(f,m,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1}),A},"bpmn:DataInputAssociation":function(f,c,u={}){return u=ae(u,["fill","stroke"]),W(f,c,{...u,markerEnd:Z("association-end",ne(c,o,u.fill),j(c,l,u.stroke))})},"bpmn:DataObject":function(f,c,u={}){return u=ae(u,["fill","stroke"]),re(f,c,u)},"bpmn:DataObjectReference":D("bpmn:DataObject"),"bpmn:DataOutput":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=n.getRawPath("DATA_ARROW"),A=re(f,c,u);return k(f,m,{strokeWidth:1,fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke)}),A},"bpmn:DataOutputAssociation":function(f,c,u={}){return u=ae(u,["fill","stroke"]),W(f,c,{...u,markerEnd:Z("association-end",ne(c,o,u.fill),j(c,l,u.stroke))})},"bpmn:DataStoreReference":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=n.getScaledPath("DATA_STORE",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:0,my:.133}});return k(f,m,{fill:ne(c,o,u.fill),fillOpacity:yn,stroke:j(c,l,u.stroke),strokeWidth:2})},"bpmn:EndEvent":function(f,c,u={}){var{renderIcon:m=!0}=u;u=ae(u,["fill","stroke"]);var A=C(f,c,{...u,strokeWidth:4});return m&&L(c,f,u),A},"bpmn:EventBasedGateway":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=we(c),A=w(f,c,u);U(f,c.width,c.height,c.height*.2,{fill:ne(c,"none",u.fill),stroke:j(c,l,u.stroke),strokeWidth:1});var T=m.get("eventGatewayType"),H=!!m.get("instantiate");function ce(){var ue=n.getScaledPath("GATEWAY_EVENT_BASED",{xScaleFactor:.18,yScaleFactor:.18,containerWidth:c.width,containerHeight:c.height,position:{mx:.36,my:.44}});k(f,ue,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:2})}if(T==="Parallel"){var le=n.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:c.width,containerHeight:c.height,position:{mx:.474,my:.296}});k(f,le,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1})}else T==="Exclusive"&&(H||U(f,c.width,c.height,c.height*.26,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1}),ce());return A},"bpmn:ExclusiveGateway":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=w(f,c,u),A=n.getScaledPath("GATEWAY_EXCLUSIVE",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:c.width,containerHeight:c.height,position:{mx:.32,my:.3}}),T=Di(c);return T.get("isMarkerVisible")&&k(f,A,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:Gateway":function(f,c,u={}){return u=ae(u,["fill","stroke"]),w(f,c,u)},"bpmn:Group":function(f,c,u={}){return u=ae(u,["fill","stroke","width","height"]),N(f,c.width,c.height,er,{stroke:j(c,l,u.stroke),strokeWidth:1.5,strokeDasharray:"10, 6, 0, 6",fill:"none",pointerEvents:"none",width:ft(c,u),height:Ye(c,u)})},"bpmn:InclusiveGateway":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=w(f,c,u);return U(f,c.width,c.height,c.height*.24,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:2.5}),m},"bpmn:IntermediateEvent":function(f,c,u={}){var{renderIcon:m=!0}=u;u=ae(u,["fill","stroke"]);var A=C(f,c,{...u,strokeWidth:1.5});return U(f,c.width,c.height,$s,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1.5}),m&&L(c,f,u),A},"bpmn:IntermediateCatchEvent":D("bpmn:IntermediateEvent"),"bpmn:IntermediateThrowEvent":D("bpmn:IntermediateEvent"),"bpmn:Lane":function(f,c,u={}){return u=ae(u,["fill","stroke","width","height"]),O(f,c,{...u,fillOpacity:AA})},"bpmn:ManualTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u),A=n.getScaledPath("TASK_TYPE_MANUAL",{abspos:{x:17,y:15}});return k(f,A,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:.5}),m},"bpmn:MessageFlow":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=we(c),A=Di(c),T=ne(c,o,u.fill),H=j(c,l,u.stroke),ce=S(f,c.waypoints,{markerEnd:Z("messageflow-end",T,H),markerStart:Z("messageflow-start",T,H),stroke:H,strokeDasharray:"10, 11",strokeWidth:1.5});if(m.get("messageRef")){var le=ce.getPointAtLength(ce.getTotalLength()/2),ue=n.getScaledPath("MESSAGE_FLOW_MARKER",{abspos:{x:le.x,y:le.y}}),ke={strokeWidth:1};A.get("messageVisibleKind")==="initiating"?(ke.fill=T,ke.stroke=H):(ke.fill=H,ke.stroke=T);var pe=k(f,ue,ke),fi=m.get("messageRef"),Dr=fi.get("name"),it=oe(f,Dr,{align:"center-top",fitBox:!0,style:{fill:H}}),z=pe.getBBox(),de=it.getBBox(),fT=le.x-de.width/2,mT=le.y+z.height/2+gA;no(it,fT,mT,0)}return ce},"bpmn:ParallelGateway":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=w(f,c,u),A=n.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.6,yScaleFactor:.6,containerWidth:c.width,containerHeight:c.height,position:{mx:.46,my:.2}});return k(f,A,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:Participant":function(f,c,u={}){u=ae(u,["fill","stroke","width","height"]);var m=O(f,c,u),A=Oi(c),T=Uu(c),H=we(c),ce=H.get("name");if(A){var le=T?[{x:30,y:0},{x:30,y:Ye(c,u)}]:[{x:0,y:30},{x:ft(c,u),y:30}];P(f,le,{stroke:j(c,l,u.stroke),strokeWidth:yA}),I(f,ce,c,u)}else{var ue=Zn(c,u);T||(ue.height=ft(c,u),ue.width=Ye(c,u));var ke=oe(f,ce,{box:ue,align:"center-middle",style:{fill:Xn(c,p,l,u.stroke)}});if(!T){var pe=-1*Ye(c,u);no(ke,0,-pe,270)}}return H.get("participantMultiplicity")&&$("ParticipantMultiplicityMarker",f,c,u),m},"bpmn:ReceiveTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=we(c),A=ee(f,c,u),T;return m.get("instantiate")?(U(f,28,28,20*.22,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),T=n.getScaledPath("TASK_TYPE_INSTANTIATING_SEND",{abspos:{x:7.77,y:9.52}})):T=n.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:21,containerHeight:14,position:{mx:.3,my:.4}}),k(f,T,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),A},"bpmn:ScriptTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u),A=n.getScaledPath("TASK_TYPE_SCRIPT",{abspos:{x:15,y:20}});return k(f,A,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:SendTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u),A=n.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:1,yScaleFactor:1,containerWidth:21,containerHeight:14,position:{mx:.285,my:.357}});return k(f,A,{fill:j(c,l,u.stroke),stroke:ne(c,o,u.fill),strokeWidth:1}),m},"bpmn:SequenceFlow":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ne(c,o,u.fill),A=j(c,l,u.stroke),T=S(f,c.waypoints,{markerEnd:Z("sequenceflow-end",m,A),stroke:A}),H=we(c),{source:ce}=c;if(ce){var le=we(ce);H.get("conditionExpression")&&K(le,"bpmn:Activity")&&he(T,{markerStart:Z("conditional-flow-marker",m,A)}),le.get("default")&&(K(le,"bpmn:Gateway")||K(le,"bpmn:Activity"))&&le.get("default")===H&&he(T,{markerStart:Z("conditional-default-flow-marker",m,A)})}return T},"bpmn:ServiceTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u);U(f,10,10,{fill:ne(c,o,u.fill),stroke:"none",transform:"translate(6, 6)"});var A=n.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:12,y:18}});k(f,A,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),U(f,10,10,{fill:ne(c,o,u.fill),stroke:"none",transform:"translate(11, 10)"});var T=n.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:17,y:22}});return k(f,T,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:StartEvent":function(f,c,u={}){var{renderIcon:m=!0}=u;u=ae(u,["fill","stroke"]);var A=we(c);A.get("isInterrupting")||(u={...u,strokeDasharray:"6"});var T=C(f,c,u);return m&&L(c,f,u),T},"bpmn:SubProcess":function(f,c,u={}){return Oi(c)?u=ae(u,["fill","stroke","width","height"]):u=ae(u,["fill","stroke"]),Y(f,c,u)},"bpmn:Task":function(f,c,u={}){return u=ae(u,["fill","stroke"]),ee(f,c,u)},"bpmn:TextAnnotation":function(f,c,u={}){u=ae(u,["fill","stroke","width","height"]);var{width:m,height:A}=Zn(c,u),T=N(f,m,A,0,0,{fill:"none",stroke:"none"}),H=n.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:m,containerHeight:A,position:{mx:0,my:0}});k(f,H,{stroke:j(c,l,u.stroke)});var ce=we(c),le=ce.get("text")||"";return oe(f,le,{align:"left-top",box:Zn(c,u),padding:7,style:{fill:Xn(c,p,l,u.stroke)}}),T},"bpmn:Transaction":function(f,c,u={}){Oi(c)?u=ae(u,["fill","stroke","width","height"]):u=ae(u,["fill","stroke"]);var m=Y(f,c,{strokeWidth:1.5,...u}),A=i.style(["no-fill","no-events"],{stroke:j(c,l,u.stroke),strokeWidth:1.5}),T=Oi(c);return T||(u={}),N(f,ft(c,u),Ye(c,u),er-$s,$s,A),m},"bpmn:UserTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u),A=15,T=12,H=n.getScaledPath("TASK_TYPE_USER_1",{abspos:{x:A,y:T}});k(f,H,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:.5});var ce=n.getScaledPath("TASK_TYPE_USER_2",{abspos:{x:A,y:T}});k(f,ce,{fill:ne(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:.5});var le=n.getScaledPath("TASK_TYPE_USER_3",{abspos:{x:A,y:T}});return k(f,le,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:.5}),m},label:function(f,c,u={}){return v(f,c,u)}};this._drawPath=k,this._renderer=V}Dt(Li,Ut),Li.$inject=["config.bpmnRenderer","eventBus","styles","pathMap","canvas","textRenderer"],Li.prototype.canRender=function(e){return K(e,"bpmn:BaseElement")},Li.prototype.drawShape=function(e,t,i={}){var{type:n}=t,s=this._renderer(n);return s(e,t,i)},Li.prototype.drawConnection=function(e,t,i={}){var{type:n}=t,s=this._renderer(n);return s(e,t,i)},Li.prototype.getShapePath=function(e){return K(e,"bpmn:Event")?Hv(e):K(e,"bpmn:Activity")?Kv(e,er):K(e,"bpmn:Gateway")?Wv(e):zv(e)};function ae(e,t=[]){return t.reduce((i,n)=>(e[n]&&(i[n]=e[n]),i),{})}var bA=0,CA={width:150,height:50};function wA(e){var t=e.split("-");return{horizontal:t[0]||"center",vertical:t[1]||"top"}}function EA(e){return Pi(e)?X({top:0,left:0,right:0,bottom:0},e):{top:e,left:e,right:e,bottom:e}}function xA(e,t){t.textContent=e;var i;try{var n,s=e==="";return t.textContent=s?"dummy":e,i=t.getBBox(),n={width:i.width+i.x*2,height:i.height},s&&(n.width=0),n}catch{return{width:0,height:0}}}function IA(e,t,i){for(var n=e.shift(),s=n,r;;){if(r=xA(s,i),r.width=s?r.width:0,s===" "||s===""||r.width<Math.round(t)||s.length<2)return TA(e,s,n,r);s=NA(s,r.width,t)}}function TA(e,t,i,n){if(t.length<i.length){var s=i.slice(t.length).trim();e.unshift(s)}return{width:n.width,height:n.height,text:t}}var lp="\xAD";function _A(e,t){var i=e.split(/(\s|-|\u00AD)/g),n,s=[],r=0;if(i.length>1)for(;n=i.shift();)if(n.length+r<t)s.push(n),r+=n.length;else{(n==="-"||n===lp)&&s.pop();break}var a=s[s.length-1];return a&&a===lp&&(s[s.length-1]="-"),s.join("")}function NA(e,t,i){var n=Math.max(e.length*(i/t),1),s=_A(e,n);return s||(s=e.slice(0,Math.max(Math.round(n-1),1))),s}function kA(){var e=document.getElementById("helper-svg");return e||(e=ge("svg"),he(e,{id:"helper-svg"}),Me(e,{visibility:"hidden",position:"fixed",width:0,height:0}),document.body.appendChild(e)),e}function tr(e){this._config=X({},{size:CA,padding:bA,style:{},align:"center-top"},e||{})}tr.prototype.createText=function(e,t){return this.layoutText(e,t).element},tr.prototype.getDimensions=function(e,t){return this.layoutText(e,t).dimensions},tr.prototype.layoutText=function(e,t){var i=X({},this._config.size,t.box),n=X({},this._config.style,t.style),s=wA(t.align||this._config.align),r=EA(t.padding!==void 0?t.padding:this._config.padding),a=t.fitBox||!1,o=SA(n),l=e.split(/\u00AD?\r?\n/),p=[],h=i.width-r.left-r.right,d=ge("text");he(d,{x:0,y:0}),he(d,n);var y=kA();for(Ee(y,d);l.length;)p.push(IA(l,h,d));s.vertical==="middle"&&(r.top=r.bottom=0);var x=fn(p,function(U,N,E){return U+(o||N.height)},0)+r.top+r.bottom,M=fn(p,function(U,N,E){return N.width>U?N.width:U},0),B=r.top;s.vertical==="middle"&&(B+=(i.height-x)/2),B-=(o||p[0].height)/4;var Z=ge("text");he(Z,n),G(p,function(U){var N;switch(B+=o||U.height,s.horizontal){case"left":N=r.left;break;case"right":N=(a?M:h)-r.right-U.width;break;default:N=Math.max(((a?M:h)-U.width)/2+r.left,0)}var E=ge("tspan");he(E,{x:N,y:B}),E.textContent=U.text,Ee(Z,E)}),zn(d);var J={width:M,height:x};return{dimensions:J,element:Z}};function SA(e){if("fontSize"in e&&"lineHeight"in e)return e.lineHeight*parseInt(e.fontSize,10)}var PA=12,DA=1.2,OA=30;function cp(e){var t=X({fontFamily:"Arial, sans-serif",fontSize:PA,fontWeight:"normal",lineHeight:DA},e&&e.defaultStyle||{}),i=parseInt(t.fontSize,10)-1,n=X({},t,{fontSize:i},e&&e.externalStyle||{}),s=new tr({style:t});this.getExternalLabelBounds=function(r,a){var o=s.getDimensions(a,{box:{width:90,height:30},style:n});return{x:Math.round(r.x+r.width/2-o.width/2),y:Math.round(r.y),width:Math.ceil(o.width),height:Math.ceil(o.height)}},this.getTextAnnotationBounds=function(r,a){var o=s.getDimensions(a,{box:r,style:t,align:"left-top",padding:5});return{x:r.x,y:r.y,width:r.width,height:Math.max(OA,Math.round(o.height))}},this.createText=function(r,a){return s.createText(r,a||{})},this.getDefaultStyle=function(){return t},this.getExternalStyle=function(){return n}}cp.$inject=["config.textRenderer"];function MA(){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(t){return this.pathMap[t].d},this.getScaledPath=function(t,i){var n=this.pathMap[t],s,r;i.abspos?(s=i.abspos.x,r=i.abspos.y):(s=i.containerWidth*i.position.mx,r=i.containerHeight*i.position.my);var a={};if(i.position){for(var o=i.containerHeight/n.height*i.yScaleFactor,l=i.containerWidth/n.width*i.xScaleFactor,p=0;p<n.heightElements.length;p++)a["y"+p]=n.heightElements[p]*o;for(var h=0;h<n.widthElements.length;h++)a["x"+h]=n.widthElements[h]*l}var d=FA(n.d,{mx:s,my:r,e:a});return d}}var BA=/\{([^{}]+)\}/g,RA=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;function LA(e,t,i){var n=i;return t.replace(RA,function(s,r,a,o,l){r=r||o,n&&(r in n&&(n=n[r]),typeof n=="function"&&l&&(n=n()))}),n=(n==null||n==i?e:n)+"",n}function FA(e,t){return String(e).replace(BA,function(i,n){return LA(i,n,t)})}const VA={__init__:["bpmnRenderer"],bpmnRenderer:["type",Li],textRenderer:["type",cp],pathMap:["type",MA]};function jA(e,t){return t=t||{},e.replace(/{([^}]+)}/g,function(i,n){return t[n]||"{"+n+"}"})}const up={translate:["value",jA]};function UA(e){return{x:Math.round(e.x),y:Math.round(e.y)}}function so(e){return{top:e.y,right:e.x+(e.width||0),bottom:e.y+(e.height||0),left:e.x}}function QA(e){return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}function GA(e){return UA({x:e.x+(e.width||0)/2,y:e.y+(e.height||0)/2})}function qA(e){for(var t=e.waypoints,i=t.reduce(function(p,h,d){var y=t[d-1];if(y){var x=p[p.length-1],M=x&&x.endLength||0,B=JA(y,h);p.push({start:y,end:h,startLength:M,endLength:M+B,length:B})}return p},[]),n=i.reduce(function(p,h){return p+h.length},0),s=n/2,r=0,a=i[r];a.endLength<s;)a=i[++r];var o=(s-a.startLength)/a.length,l={x:a.start.x+(a.end.x-a.start.x)*o,y:a.start.y+(a.end.y-a.start.y)*o};return l}function ro(e){return vv(e)?qA(e):GA(e)}function JA(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Be(e){return e?"<"+e.$type+(e.id?' id="'+e.id:"")+'" />':"<null>"}function ir(e,t,i){return X({id:e.id,type:e.$type,businessObject:e,di:t},i)}function HA(e,t,i){var n=e.waypoint;return!n||n.length<2?[ro(t),ro(i)]:n.map(function(s){return{x:s.x,y:s.y}})}function pp(e,t,i,n){return new Error(e("element {element} referenced by {referenced}#{property} not yet drawn",{element:Be(i),referenced:Be(t),property:n}))}function Gt(e,t,i,n,s,r){this._eventBus=e,this._canvas=t,this._elementFactory=i,this._elementRegistry=n,this._translate=s,this._textRenderer=r}Gt.$inject=["eventBus","canvas","elementFactory","elementRegistry","translate","textRenderer"],Gt.prototype.add=function(e,t,i){var n,s=this._translate,r,a;if(K(t,"bpmndi:BPMNPlane")){var o=K(e,"bpmn:SubProcess")?{id:e.id+"_plane"}:{};n=this._elementFactory.createRoot(ir(e,t,o)),this._canvas.addRootElement(n)}else if(K(t,"bpmndi:BPMNShape")){var l=!Oi(e,t),p=WA(e);r=i&&(i.hidden||i.collapsed);var h=t.bounds;n=this._elementFactory.createShape(ir(e,t,{collapsed:l,hidden:r,x:Math.round(h.x),y:Math.round(h.y),width:Math.round(h.width),height:Math.round(h.height),isFrame:p})),K(e,"bpmn:BoundaryEvent")&&this._attachBoundary(e,n),K(e,"bpmn:Lane")&&(a=0),K(e,"bpmn:DataStoreReference")&&(KA(i,ro(h))||(i=this._canvas.findRoot(i))),this._canvas.addShape(n,i,a)}else if(K(t,"bpmndi:BPMNEdge")){var d=this._getSource(e),y=this._getTarget(e);r=i&&(i.hidden||i.collapsed),n=this._elementFactory.createConnection(ir(e,t,{hidden:r,source:d,target:y,waypoints:HA(t,d,y)})),K(e,"bpmn:DataAssociation")&&(i=this._canvas.findRoot(i)),this._canvas.addConnection(n,i,a)}else throw new Error(s("unknown di {di} for element {semantic}",{di:Be(t),semantic:Be(e)}));return Av(e)&&Ws(n)&&this.addLabel(e,t,n),this._eventBus.fire("bpmnElement.added",{element:n}),n},Gt.prototype._attachBoundary=function(e,t){var i=this._translate,n=e.attachedToRef;if(!n)throw new Error(i("missing {semantic}#attachedToRef",{semantic:Be(e)}));var s=this._elementRegistry.get(n.id),r=s&&s.attachers;if(!s)throw pp(i,e,n,"attachedToRef");t.host=s,r||(s.attachers=r=[]),r.indexOf(t)===-1&&r.push(t)},Gt.prototype.addLabel=function(e,t,i){var n,s,r;return n=Ev(t,i),s=Ws(i),s&&(n=this._textRenderer.getExternalLabelBounds(n,s)),r=this._elementFactory.createLabel(ir(e,t,{id:e.id+"_label",labelTarget:i,type:"label",hidden:i.hidden||!Ws(i),x:Math.round(n.x),y:Math.round(n.y),width:Math.round(n.width),height:Math.round(n.height)})),this._canvas.addShape(r,i.parent)},Gt.prototype._getConnectedElement=function(e,t){var i,n,s=e.$type,r=this._translate;if(n=e[t+"Ref"],t==="source"&&s==="bpmn:DataInputAssociation"&&(n=n&&n[0]),(t==="source"&&s==="bpmn:DataOutputAssociation"||t==="target"&&s==="bpmn:DataInputAssociation")&&(n=e.$parent),i=n&&this._getElement(n),i)return i;throw n?pp(r,e,n,t+"Ref"):new Error(r("{semantic}#{side} Ref not specified",{semantic:Be(e),side:t}))},Gt.prototype._getSource=function(e){return this._getConnectedElement(e,"source")},Gt.prototype._getTarget=function(e){return this._getConnectedElement(e,"target")},Gt.prototype._getElement=function(e){return this._elementRegistry.get(e.id)};function KA(e,t){var i=t.x,n=t.y;return i>=e.x&&i<=e.x+e.width&&n>=e.y&&n<=e.y+e.height}function WA(e){return K(e,"bpmn:Group")}const zA={__depends__:[VA,{__depends__:[up],bpmnImporter:["type",Gt]}]};function ao(e){return e.originalEvent||e.srcEvent}function YA(){return/mac/i.test(navigator.platform)}function dp(e,t){return(ao(e)||e).button===t}function $n(e){return dp(e,0)}function XA(e){return dp(e,1)}function ZA(e){var t=ao(e)||e;return $n(e)?YA()?t.metaKey:t.ctrlKey:!1}function $A(e){var t=ao(e)||e;return $n(e)&&t.shiftKey}function eb(e){return!0}function nr(e){return $n(e)||XA(e)}var hp=500;function fp(e,t,i){var n=this;function s(_,V,D){if(!o(_,V)){var F,L,q;D?L=t.getGraphics(D):(F=V.delegateTarget||V.target,F&&(L=F,D=t.get(L))),!(!L||!D)&&(q=e.fire(_,{element:D,gfx:L,originalEvent:V}),q===!1&&(V.stopPropagation(),V.preventDefault()))}}var r={};function a(_){return r[_]}function o(_,V){var D=p[_]||$n;return!D(V)}var l={click:"element.click",contextmenu:"element.contextmenu",dblclick:"element.dblclick",mousedown:"element.mousedown",mousemove:"element.mousemove",mouseover:"element.hover",mouseout:"element.out",mouseup:"element.mouseup"},p={"element.contextmenu":eb,"element.mousedown":nr,"element.mouseup":nr,"element.click":nr,"element.dblclick":nr};function h(_,V,D){var F=l[_];if(!F)throw new Error("unmapped DOM event name <"+_+">");return s(F,V,D)}var d="svg, .djs-element";function y(_,V,D,F){var L=r[D]=function(q){s(D,q)};F&&(p[D]=F),L.$delegate=mn.bind(_,d,V,L)}function x(_,V,D){var F=a(D);!F||mn.unbind(_,V,F.$delegate)}function M(_){G(l,function(V,D){y(_,D,V)})}function B(_){G(l,function(V,D){x(_,D,V)})}e.on("canvas.destroy",function(_){B(_.svg)}),e.on("canvas.init",function(_){M(_.svg)}),e.on(["shape.added","connection.added"],function(_){var V=_.element,D=_.gfx;e.fire("interactionEvents.createHit",{element:V,gfx:D})}),e.on(["shape.changed","connection.changed"],hp,function(_){var V=_.element,D=_.gfx;e.fire("interactionEvents.updateHit",{element:V,gfx:D})}),e.on("interactionEvents.createHit",hp,function(_){var V=_.element,D=_.gfx;n.createDefaultHit(V,D)}),e.on("interactionEvents.updateHit",function(_){var V=_.element,D=_.gfx;n.updateDefaultHit(V,D)});var Z=P("djs-hit djs-hit-stroke"),J=P("djs-hit djs-hit-click-stroke"),U=P("djs-hit djs-hit-all"),N=P("djs-hit djs-hit-no-move"),E={all:U,"click-stroke":J,stroke:Z,"no-move":N};function P(_,V){return V=X({stroke:"white",strokeWidth:15},V||{}),i.cls(_,["no-fill","no-border"],V)}function S(_,V){var D=E[V];if(!D)throw new Error("invalid hit type <"+V+">");return he(_,D),_}function k(_,V){Ee(_,V)}this.removeHits=function(_){var V=pA(".djs-hit",_);G(V,zn)},this.createDefaultHit=function(_,V){var D=_.waypoints,F=_.isFrame,L;return D?this.createWaypointsHit(V,D):(L=F?"stroke":"all",this.createBoxHit(V,L,{width:_.width,height:_.height}))},this.createWaypointsHit=function(_,V){var D=$a(V);return S(D,"stroke"),k(_,D),D},this.createBoxHit=function(_,V,D){D=X({x:0,y:0},D);var F=ge("rect");return S(F,V),he(F,D),k(_,F),F},this.updateDefaultHit=function(_,V){var D=It(".djs-hit",V);if(!!D)return _.waypoints?$u(D,_.waypoints):he(D,{width:_.width,height:_.height}),D},this.fire=s,this.triggerMouseEvent=h,this.mouseHandler=a,this.registerEvent=y,this.unregisterEvent=x}fp.$inject=["eventBus","elementRegistry","styles"];const tb={__init__:["interactionEvents"],interactionEvents:["type",fp]};function Fi(e,t){t=!!t,wt(e)||(e=[e]);var i,n,s,r;return G(e,function(a){var o=a;a.waypoints&&!t&&(o=Fi(a.waypoints,!0));var l=o.x,p=o.y,h=o.height||0,d=o.width||0;(l<i||i===void 0)&&(i=l),(p<n||n===void 0)&&(n=p),(l+d>s||s===void 0)&&(s=l+d),(p+h>r||r===void 0)&&(r=p+h)}),{x:i,y:n,height:r-n,width:s-i}}function mp(e){return"waypoints"in e?"connection":"x"in e?"shape":"root"}function gp(e){return!!(e&&e.isFrame)}var ib=500,nb=1e3;function Vi(e,t){this._eventBus=e,this.offset=5;var i=t.cls("djs-outline",["no-fill"]),n=this;function s(r){var a=ge("rect");return he(a,X({x:0,y:0,rx:4,width:100,height:100},i)),a}e.on(["shape.added","shape.changed"],ib,function(r){var a=r.element,o=r.gfx,l=It(".djs-outline",o);l||(l=n.getOutline(a)||s(),Ee(o,l)),n.updateShapeOutline(l,a)}),e.on(["connection.added","connection.changed"],function(r){var a=r.element,o=r.gfx,l=It(".djs-outline",o);l||(l=s(),Ee(o,l)),n.updateConnectionOutline(l,a)})}Vi.prototype.updateShapeOutline=function(e,t){var i=!1,n=this._getProviders();n.length&&G(n,function(s){i=i||s.updateOutline(t,e)}),i||he(e,{x:-this.offset,y:-this.offset,width:t.width+this.offset*2,height:t.height+this.offset*2})},Vi.prototype.updateConnectionOutline=function(e,t){var i=Fi(t);he(e,{x:i.x-this.offset,y:i.y-this.offset,width:i.width+this.offset*2,height:i.height+this.offset*2})},Vi.prototype.registerProvider=function(e,t){t||(t=e,e=nb),this._eventBus.on("outline.getProviders",e,function(i){i.providers.push(t)})},Vi.prototype._getProviders=function(){var e=this._eventBus.createEvent({type:"outline.getProviders",providers:[]});return this._eventBus.fire(e),e.providers},Vi.prototype.getOutline=function(e){var t,i=this._getProviders();return G(i,function(n){!ei(n.getOutline)||(t=t||n.getOutline(e))}),t},Vi.$inject=["eventBus","styles","elementRegistry"];const sb={__init__:["outline"],outline:["type",Vi]};function vn(e,t){this._eventBus=e,this._canvas=t,this._selectedElements=[];var i=this;e.on(["shape.remove","connection.remove"],function(n){var s=n.element;i.deselect(s)}),e.on(["diagram.clear","root.set"],function(n){i.select(null)})}vn.$inject=["eventBus","canvas"],vn.prototype.deselect=function(e){var t=this._selectedElements,i=t.indexOf(e);if(i!==-1){var n=t.slice();t.splice(i,1),this._eventBus.fire("selection.changed",{oldSelection:n,newSelection:t})}},vn.prototype.get=function(){return this._selectedElements},vn.prototype.isSelected=function(e){return this._selectedElements.indexOf(e)!==-1},vn.prototype.select=function(e,t){var i=this._selectedElements,n=i.slice();wt(e)||(e=e?[e]:[]);var s=this._canvas,r=s.getRootElement();e=e.filter(function(a){var o=s.findRoot(a);return r===o}),t?G(e,function(a){i.indexOf(a)===-1&&i.push(a)}):this._selectedElements=i=e.slice(),this._eventBus.fire("selection.changed",{oldSelection:n,newSelection:i})};var yp="hover",vp="selected",sr=6;function oo(e,t,i){this._canvas=e;var n=this;this._multiSelectionBox=null;function s(a,o){e.addMarker(a,o)}function r(a,o){e.removeMarker(a,o)}t.on("element.hover",function(a){s(a.element,yp)}),t.on("element.out",function(a){r(a.element,yp)}),t.on("selection.changed",function(a){function o(d){r(d,vp)}function l(d){s(d,vp)}var p=a.oldSelection,h=a.newSelection;G(p,function(d){h.indexOf(d)===-1&&o(d)}),G(h,function(d){p.indexOf(d)===-1&&l(d)}),n._updateSelectionOutline(h)}),t.on("element.changed",function(a){i.isSelected(a.element)&&n._updateSelectionOutline(i.get())})}oo.$inject=["canvas","eventBus","selection"],oo.prototype._updateSelectionOutline=function(e){var t=this._canvas.getLayer("selectionOutline");Hu(t);var i=e.length>1,n=this._canvas.getContainer();if(ot(n)[i?"add":"remove"]("djs-multi-select"),!!i){var s=rb(Fi(e)),r=ge("rect");he(r,X({rx:3},s)),ot(r).add("djs-selection-outline"),Ee(t,r)}};function rb(e){return{x:e.x-sr,y:e.y-sr,width:e.width+sr*2,height:e.height+sr*2}}function Ap(e,t,i,n){e.on("create.end",500,function(s){var r=s.context,a=r.canExecute,o=r.elements,l=r.hints||{},p=l.autoSelect;if(a){if(p===!1)return;wt(p)?t.select(p):t.select(o.filter(ab))}}),e.on("connect.end",500,function(s){var r=s.context,a=r.connection;a&&t.select(a)}),e.on("shape.move.end",500,function(s){var r=s.previousSelection||[],a=n.get(s.context.shape.id),o=xt(r,function(l){return a.id===l.id});o||t.select(a)}),e.on("element.click",function(s){if(!!$n(s)){var r=s.element;r===i.getRootElement()&&(r=null);var a=t.isSelected(r),o=t.get().length>1,l=ZA(s)||$A(s);if(a&&o)return l?t.deselect(r):t.select(r);a?t.deselect(r):t.select(r,l)}})}Ap.$inject=["eventBus","selection","canvas","elementRegistry"];function ab(e){return!e.hidden}const ob={__init__:["selectionVisuals","selectionBehavior"],__depends__:[tb,sb],selection:["type",vn],selectionVisuals:["type",oo],selectionBehavior:["type",Ap]};function bp(e){this._counter=0,this._prefix=(e?e+"-":"")+Math.floor(Math.random()*1e9)+"-"}bp.prototype.next=function(){return this._prefix+ ++this._counter};var lb=new bp("ov"),cb=500;function Se(e,t,i,n){this._eventBus=t,this._canvas=i,this._elementRegistry=n,this._ids=lb,this._overlayDefaults=X({show:null,scale:!0},e&&e.defaults),this._overlays={},this._overlayContainers=[],this._overlayRoot=ub(i.getContainer()),this._init()}Se.$inject=["config.overlays","eventBus","canvas","elementRegistry"],Se.prototype.get=function(e){if(Et(e)&&(e={id:e}),Et(e.element)&&(e.element=this._elementRegistry.get(e.element)),e.element){var t=this._getOverlayContainer(e.element,!0);return t?e.type?hn(t.overlays,ju({type:e.type})):t.overlays.slice():[]}else return e.type?hn(this._overlays,ju({type:e.type})):e.id?this._overlays[e.id]:null},Se.prototype.add=function(e,t,i){if(Pi(t)&&(i=t,t=null),e.id||(e=this._elementRegistry.get(e)),!i.position)throw new Error("must specifiy overlay position");if(!i.html)throw new Error("must specifiy overlay html");if(!e)throw new Error("invalid element specified");var n=this._ids.next();return i=X({},this._overlayDefaults,i,{id:n,type:t,element:e,html:i.html}),this._addOverlay(i),n},Se.prototype.remove=function(e){var t=this.get(e)||[];wt(t)||(t=[t]);var i=this;G(t,function(n){var s=i._getOverlayContainer(n.element,!0);if(n&&(gn(n.html),gn(n.htmlContainer),delete n.htmlContainer,delete n.element,delete i._overlays[n.id]),s){var r=s.overlays.indexOf(n);r!==-1&&s.overlays.splice(r,1)}})},Se.prototype.isShown=function(){return this._overlayRoot.style.display!=="none"},Se.prototype.show=function(){rr(this._overlayRoot)},Se.prototype.hide=function(){rr(this._overlayRoot,!1)},Se.prototype.clear=function(){this._overlays={},this._overlayContainers=[],ip(this._overlayRoot)},Se.prototype._updateOverlayContainer=function(e){var t=e.element,i=e.html,n=t.x,s=t.y;if(t.waypoints){var r=Fi(t);n=r.x,s=r.y}Cp(i,n,s),tp(e.html,"data-container-id",t.id)},Se.prototype._updateOverlay=function(e){var t=e.position,i=e.htmlContainer,n=e.element,s=t.left,r=t.top;if(t.right!==void 0){var a;n.waypoints?a=Fi(n).width:a=n.width,s=t.right*-1+a}if(t.bottom!==void 0){var o;n.waypoints?o=Fi(n).height:o=n.height,r=t.bottom*-1+o}Cp(i,s||0,r||0),this._updateOverlayVisibilty(e,this._canvas.viewbox())},Se.prototype._createOverlayContainer=function(e){var t=lt('<div class="djs-overlays" />');Me(t,{position:"absolute"}),this._overlayRoot.appendChild(t);var i={html:t,element:e,overlays:[]};return this._updateOverlayContainer(i),this._overlayContainers.push(i),i},Se.prototype._updateRoot=function(e){var t=e.scale||1,i="matrix("+[t,0,0,t,-1*e.x*t,-1*e.y*t].join(",")+")";wp(this._overlayRoot,i)},Se.prototype._getOverlayContainer=function(e,t){var i=xt(this._overlayContainers,function(n){return n.element===e});return!i&&!t?this._createOverlayContainer(e):i},Se.prototype._addOverlay=function(e){var t=e.id,i=e.element,n=e.html,s,r;n.get&&n.constructor.prototype.jquery&&(n=n.get(0)),Et(n)&&(n=lt(n)),r=this._getOverlayContainer(i),s=lt('<div class="djs-overlay" data-overlay-id="'+t+'">'),Me(s,{position:"absolute"}),s.appendChild(n),e.type&&Bi(s).add("djs-overlay-"+e.type);var a=this._canvas.findRoot(i),o=this._canvas.getRootElement();rr(s,a===o),e.htmlContainer=s,r.overlays.push(e),r.html.appendChild(s),this._overlays[t]=e,this._updateOverlay(e),this._updateOverlayVisibilty(e,this._canvas.viewbox())},Se.prototype._updateOverlayVisibilty=function(e,t){var i=e.show,n=this._canvas.findRoot(e.element),s=i&&i.minZoom,r=i&&i.maxZoom,a=e.htmlContainer,o=this._canvas.getRootElement(),l=!0;(n!==o||i&&(pn(s)&&s>t.scale||pn(r)&&r<t.scale))&&(l=!1),rr(a,l),this._updateOverlayScale(e,t)},Se.prototype._updateOverlayScale=function(e,t){var i=e.scale,n,s,r=e.htmlContainer,a,o="";i!==!0&&(i===!1?(n=1,s=1):(n=i.min,s=i.max),pn(n)&&t.scale<n&&(a=(1/t.scale||1)*n),pn(s)&&t.scale>s&&(a=(1/t.scale||1)*s)),pn(a)&&(o="scale("+a+","+a+")"),wp(r,o)},Se.prototype._updateOverlaysVisibilty=function(e){var t=this;G(this._overlays,function(i){t._updateOverlayVisibilty(i,e)})},Se.prototype._init=function(){var e=this._eventBus,t=this;function i(n){t._updateRoot(n),t._updateOverlaysVisibilty(n),t.show()}e.on("canvas.viewbox.changing",function(n){t.hide()}),e.on("canvas.viewbox.changed",function(n){i(n.viewbox)}),e.on(["shape.remove","connection.remove"],function(n){var s=n.element,r=t.get({element:s});G(r,function(l){t.remove(l.id)});var a=t._getOverlayContainer(s);if(a){gn(a.html);var o=t._overlayContainers.indexOf(a);o!==-1&&t._overlayContainers.splice(o,1)}}),e.on("element.changed",cb,function(n){var s=n.element,r=t._getOverlayContainer(s,!0);r&&(G(r.overlays,function(a){t._updateOverlay(a)}),t._updateOverlayContainer(r))}),e.on("element.marker.update",function(n){var s=t._getOverlayContainer(n.element,!0);s&&Bi(s.html)[n.add?"add":"remove"](n.marker)}),e.on("root.set",function(){t._updateOverlaysVisibilty(t._canvas.viewbox())}),e.on("diagram.clear",this.clear,this)};function ub(e){var t=lt('<div class="djs-overlay-container" />');return Me(t,{position:"absolute",width:0,height:0}),e.insertBefore(t,e.firstChild),t}function Cp(e,t,i){Me(e,{left:t+"px",top:i+"px"})}function rr(e,t){e.style.display=t===!1?"none":""}function wp(e,t){e.style["transform-origin"]="top left",["","-ms-","-webkit-"].forEach(function(i){e.style[i+"transform"]=t})}const Ep={__init__:["overlays"],overlays:["type",Se]};function xp(e,t,i,n){e.on("element.changed",function(s){var r=s.element;(r.parent||r===t.getRootElement())&&(s.gfx=i.getGraphics(r)),s.gfx&&e.fire(mp(r)+".changed",s)}),e.on("elements.changed",function(s){var r=s.elements;r.forEach(function(a){e.fire("element.changed",{element:a})}),n.updateContainments(r)}),e.on("shape.changed",function(s){n.update("shape",s.element,s.gfx)}),e.on("connection.changed",function(s){n.update("connection",s.element,s.gfx)})}xp.$inject=["eventBus","canvas","elementRegistry","graphicsFactory"];const pb={__init__:["changeSupport"],changeSupport:["type",xp]};var db=1e3;function Qe(e){this._eventBus=e}Qe.$inject=["eventBus"];function hb(e,t){return function(i){return e.call(t||null,i.context,i.command,i)}}Qe.prototype.on=function(e,t,i,n,s,r){if((ei(t)||$t(t))&&(r=s,s=n,n=i,i=t,t=null),ei(i)&&(r=s,s=n,n=i,i=db),Pi(s)&&(r=s,s=!1),!ei(n))throw new Error("handlerFn must be a function");wt(e)||(e=[e]);var a=this._eventBus;G(e,function(o){var l=["commandStack",o,t].filter(function(p){return p}).join(".");a.on(l,i,s?hb(n,r):n,r)})},Qe.prototype.canExecute=qt("canExecute"),Qe.prototype.preExecute=qt("preExecute"),Qe.prototype.preExecuted=qt("preExecuted"),Qe.prototype.execute=qt("execute"),Qe.prototype.executed=qt("executed"),Qe.prototype.postExecute=qt("postExecute"),Qe.prototype.postExecuted=qt("postExecuted"),Qe.prototype.revert=qt("revert"),Qe.prototype.reverted=qt("reverted");function qt(e){return function(i,n,s,r,a){(ei(i)||$t(i))&&(a=r,r=s,s=n,n=i,i=null),this.on(i,e,n,s,r,a)}}function lo(e,t){t.invoke(Qe,this),this.executed(function(i){var n=i.context;n.rootElement?e.setRootElement(n.rootElement):n.rootElement=e.getRootElement()}),this.revert(function(i){var n=i.context;n.rootElement&&e.setRootElement(n.rootElement)})}Dt(lo,Qe),lo.$inject=["canvas","injector"];const fb={__init__:["rootElementsBehavior"],rootElementsBehavior:["type",lo]};var mb={"&":"&","<":"<",">":">",'"':""","'":"'"};function gb(e){return e=""+e,e&&e.replace(/[&<>"']/g,function(t){return mb[t]})}var yb="_plane";function co(e){var t=e.id;return K(e,"bpmn:SubProcess")?vb(t):t}function vb(e){return e+yb}var Ab="bjs-breadcrumbs-shown";function Ip(e,t,i){var n=lt('<ul class="bjs-breadcrumbs"></ul>'),s=i.getContainer(),r=Bi(s);s.appendChild(n);var a=[];e.on("element.changed",function(l){var p=l.element,h=we(p),d=xt(a,function(y){return y===h});!d||o()});function o(l){l&&(a=bb(l));var p=a.map(function(d){var y=gb(d.name||d.id),x=lt('<li><span class="bjs-crumb"><a title="'+y+'">'+y+"</a></span></li>"),M=i.findRoot(co(d))||i.findRoot(d.id);if(!M&&K(d,"bpmn:Process")){var B=t.find(function(Z){var J=we(Z);return J&&J.get("processRef")&&J.get("processRef")===d});M=i.findRoot(B.id)}return x.addEventListener("click",function(){i.setRootElement(M)}),x});n.innerHTML="";var h=p.length>1;r.toggle(Ab,h),p.forEach(function(d){n.appendChild(d)})}e.on("root.set",function(l){o(l.element)})}Ip.$inject=["eventBus","elementRegistry","canvas"];function bb(e){for(var t=we(e),i=[],n=t;n;n=n.$parent)(K(n,"bpmn:SubProcess")||K(n,"bpmn:Process"))&&i.push(n);return i.reverse()}function Tp(e,t){var i=null,n=new Cb;e.on("root.set",function(s){var r=s.element,a=t.viewbox(),o=n.get(r);if(n.set(i,{x:a.x,y:a.y,zoom:a.scale}),i=r,!(K(r,"bpmn:Collaboration")&&!o)){o=o||{x:0,y:0,zoom:1};var l=(a.x-o.x)*a.scale,p=(a.y-o.y)*a.scale;(l!==0||p!==0)&&t.scroll({dx:l,dy:p}),o.zoom!==a.scale&&t.zoom(o.zoom,{x:0,y:0})}}),e.on("diagram.clear",function(){n.clear(),i=null})}Tp.$inject=["eventBus","canvas"];function Cb(){this._entries=[],this.set=function(e,t){var i=!1;for(var n in this._entries)if(this._entries[n][0]===e){this._entries[n][1]=t,i=!0;break}i||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 i in this._entries)if(this._entries[i][0]===e){t=i;break}t!==-1&&this._entries.splice(t,1)}}var _p={x:180,y:160};function ji(e,t){this._eventBus=e,this._moddle=t;var i=this;e.on("import.render.start",1500,function(n,s){i._handleImport(s.definitions)})}ji.prototype._handleImport=function(e){if(!!e.diagrams){var t=this;this._definitions=e,this._processToDiagramMap={},e.diagrams.forEach(function(n){!n.plane||!n.plane.bpmnElement||(t._processToDiagramMap[n.plane.bpmnElement.id]=n)});var i=[];e.diagrams.forEach(function(n){var s=t._createNewDiagrams(n.plane);Array.prototype.push.apply(i,s)}),i.forEach(function(n){t._movePlaneElementsToOrigin(n.plane)})}},ji.prototype._createNewDiagrams=function(e){var t=this,i=[],n=[];e.get("planeElement").forEach(function(r){var a=r.bpmnElement;if(!!a){var o=a.$parent;K(a,"bpmn:SubProcess")&&!r.isExpanded&&i.push(a),Eb(a,e)&&n.push({diElement:r,parent:o})}});var s=[];return i.forEach(function(r){if(!t._processToDiagramMap[r.id]){var a=t._createDiagram(r);t._processToDiagramMap[r.id]=a,s.push(a)}}),n.forEach(function(r){for(var a=r.diElement,o=r.parent;o&&i.indexOf(o)===-1;)o=o.$parent;if(!!o){var l=t._processToDiagramMap[o.id];t._moveToDiPlane(a,l.plane)}}),s},ji.prototype._movePlaneElementsToOrigin=function(e){var t=e.get("planeElement"),i=wb(e),n={x:i.x-_p.x,y:i.y-_p.y};t.forEach(function(s){s.waypoint?s.waypoint.forEach(function(r){r.x=r.x-n.x,r.y=r.y-n.y}):s.bounds&&(s.bounds.x=s.bounds.x-n.x,s.bounds.y=s.bounds.y-n.y)})},ji.prototype._moveToDiPlane=function(e,t){var i=Np(e),n=i.plane.get("planeElement");n.splice(n.indexOf(e),1),t.get("planeElement").push(e)},ji.prototype._createDiagram=function(e){var t=this._moddle.create("bpmndi:BPMNPlane",{bpmnElement:e}),i=this._moddle.create("bpmndi:BPMNDiagram",{plane:t});return t.$parent=i,t.bpmnElement=e,i.$parent=this._definitions,this._definitions.diagrams.push(i),i},ji.$inject=["eventBus","moddle"];function Np(e){return K(e,"bpmndi:BPMNDiagram")?e:Np(e.$parent)}function wb(e){var t={top:1/0,right:-1/0,bottom:-1/0,left:1/0};return e.planeElement.forEach(function(i){if(!!i.bounds){var n=so(i.bounds);t.top=Math.min(n.top,t.top),t.left=Math.min(n.left,t.left)}}),QA(t)}function Eb(e,t){var i=e.$parent;return!(!K(i,"bpmn:SubProcess")||i===t.bpmnElement||gv(e,["bpmn:DataInputAssociation","bpmn:DataOutputAssociation"]))}var ar=250,xb='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.81801948,3.50735931 L10.4996894,9.1896894 L10.5,4 L12,4 L12,12 L4,12 L4,10.5 L9.6896894,10.4996894 L3.75735931,4.56801948 C3.46446609,4.27512627 3.46446609,3.80025253 3.75735931,3.50735931 C4.05025253,3.21446609 4.52512627,3.21446609 4.81801948,3.50735931 Z"/></svg>',Ib="bjs-drilldown-empty";function si(e,t,i,n){Qe.call(this,t),this._canvas=e,this._eventBus=t,this._elementRegistry=i,this._overlays=n;var s=this;this.executed("shape.toggleCollapse",ar,function(r){var a=r.shape;s._canDrillDown(a)?s._addOverlay(a):s._removeOverlay(a)},!0),this.reverted("shape.toggleCollapse",ar,function(r){var a=r.shape;s._canDrillDown(a)?s._addOverlay(a):s._removeOverlay(a)},!0),this.executed(["shape.create","shape.move","shape.delete"],ar,function(r){var a=r.oldParent,o=r.newParent||r.parent,l=r.shape;s._canDrillDown(l)&&s._addOverlay(l),s._updateDrilldownOverlay(a),s._updateDrilldownOverlay(o),s._updateDrilldownOverlay(l)},!0),this.reverted(["shape.create","shape.move","shape.delete"],ar,function(r){var a=r.oldParent,o=r.newParent||r.parent,l=r.shape;s._canDrillDown(l)&&s._addOverlay(l),s._updateDrilldownOverlay(a),s._updateDrilldownOverlay(o),s._updateDrilldownOverlay(l)},!0),t.on("import.render.complete",function(){i.filter(function(r){return s._canDrillDown(r)}).map(function(r){s._addOverlay(r)})})}Dt(si,Qe),si.prototype._updateDrilldownOverlay=function(e){var t=this._canvas;if(!!e){var i=t.findRoot(e);i&&this._updateOverlayVisibility(i)}},si.prototype._canDrillDown=function(e){var t=this._canvas;return K(e,"bpmn:SubProcess")&&t.findRoot(co(e))},si.prototype._updateOverlayVisibility=function(e){var t=this._overlays,i=we(e),n=t.get({element:i.id,type:"drilldown"})[0];if(!!n){var s=i&&i.get("flowElements")&&i.get("flowElements").length;Bi(n.html).toggle(Ib,!s)}},si.prototype._addOverlay=function(e){var t=this._canvas,i=this._overlays,n=i.get({element:e,type:"drilldown"});n.length&&this._removeOverlay(e);var s=lt('<button class="bjs-drilldown">'+xb+"</button>");s.addEventListener("click",function(){t.setRootElement(t.findRoot(co(e)))}),i.add(e,"drilldown",{position:{bottom:-7,right:-8},html:s}),this._updateOverlayVisibility(e)},si.prototype._removeOverlay=function(e){var t=this._overlays;t.remove({element:e,type:"drilldown"})},si.$inject=["canvas","eventBus","elementRegistry","overlays"];const Tb={__depends__:[Ep,pb,fb],__init__:["drilldownBreadcrumbs","drilldownOverlayBehavior","drilldownCentering","subprocessCompatibility"],drilldownBreadcrumbs:["type",Ip],drilldownCentering:["type",Tp],drilldownOverlayBehavior:["type",si],subprocessCompatibility:["type",ji]},_b=/^class[ {]/;function Nb(e){return _b.test(e.toString())}function uo(e){return Array.isArray(e)}function po(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function or(...e){e.length===1&&uo(e[0])&&(e=e[0]),e=[...e];const t=e.pop();return t.$inject=e,t}const kb=/constructor\s*[^(]*\(\s*([^)]*)\)/m,Sb=/^(?:async\s+)?(?:function\s*[^(]*)?(?:\(\s*([^)]*)\)|(\w+))/m,Pb=/\/\*([^*]*)\*\//m;function Db(e){if(typeof e!="function")throw new Error(`Cannot annotate "${e}". Expected a function!`);const t=e.toString().match(Nb(e)?kb:Sb);if(!t)return[];const i=t[1]||t[2];return i&&i.split(",").map(n=>{const s=n.match(Pb);return(s&&s[1]||n).trim()})||[]}function kp(e,t){const i=t||{get:function(N,E){if(n.push(N),E===!1)return null;throw o(`No provider for "${N}"!`)}},n=[],s=this._providers=Object.create(i._providers||null),r=this._instances=Object.create(null),a=r.injector=this,o=function(N){const E=n.join(" -> ");return n.length=0,new Error(E?`${N} (Resolving: ${E})`:N)};function l(N,E){if(!s[N]&&N.includes(".")){const P=N.split(".");let S=l(P.shift());for(;P.length;)S=S[P.shift()];return S}if(po(r,N))return r[N];if(po(s,N)){if(n.indexOf(N)!==-1)throw n.push(N),o("Cannot resolve circular dependency!");return n.push(N),r[N]=s[N][0](s[N][1]),n.pop(),r[N]}return i.get(N,E)}function p(N,E){if(typeof E>"u"&&(E={}),typeof N!="function")if(uo(N))N=or(N.slice());else throw o(`Cannot invoke "${N}". Expected a function!`);const S=(N.$inject||Db(N)).map(k=>po(E,k)?E[k]:l(k));return{fn:N,dependencies:S}}function h(N){const{fn:E,dependencies:P}=p(N),S=Function.prototype.bind.call(E,null,...P);return new S}function d(N,E,P){const{fn:S,dependencies:k}=p(N,P);return S.apply(E,k)}function y(N){return or(E=>N.get(E))}function x(N,E){if(E&&E.length){const P=Object.create(null),S=Object.create(null),k=[],_=[],V=[];let D,F,L,q;for(let $ in s)D=s[$],E.indexOf($)!==-1&&(D[2]==="private"?(F=k.indexOf(D[3]),F===-1?(L=D[3].createChild([],E),q=y(L),k.push(D[3]),_.push(L),V.push(q),P[$]=[q,$,"private",L]):P[$]=[V[F],$,"private",_[F]]):P[$]=[D[2],D[1]],S[$]=!0),(D[2]==="factory"||D[2]==="type")&&D[1].$scope&&E.forEach(Ne=>{D[1].$scope.indexOf(Ne)!==-1&&(P[$]=[D[2],D[1]],S[Ne]=!0)});E.forEach($=>{if(!S[$])throw new Error('No provider for "'+$+'". Cannot use provider from the parent!')}),N.unshift(P)}return new kp(N,a)}const M={factory:d,type:h,value:function(N){return N}};function B(N,E){const P=N.__init__||[];return function(){P.forEach(S=>{typeof S=="string"?E.get(S):E.invoke(S)})}}function Z(N){const E=N.__exports__;if(E){const P=N.__modules__,S=Object.keys(N).reduce((F,L)=>(L!=="__exports__"&&L!=="__modules__"&&L!=="__init__"&&L!=="__depends__"&&(F[L]=N[L]),F),Object.create(null)),k=(P||[]).concat(S),_=x(k),V=or(function(F){return _.get(F)});E.forEach(function(F){s[F]=[V,F,"private",_]});const D=(N.__init__||[]).slice();return D.unshift(function(){_.init()}),N=Object.assign({},N,{__init__:D}),B(N,_)}return Object.keys(N).forEach(function(P){if(P==="__init__"||P==="__depends__")return;const S=N[P];if(S[2]==="private"){s[P]=S;return}const k=S[0],_=S[1];s[P]=[M[k],Ob(k,_),k]}),B(N,a)}function J(N,E){return N.indexOf(E)!==-1||(N=(E.__depends__||[]).reduce(J,N),N.indexOf(E)!==-1)?N:N.concat(E)}function U(N){const E=N.reduce(J,[]).map(Z);let P=!1;return function(){P||(P=!0,E.forEach(S=>S()))}}this.get=l,this.invoke=d,this.instantiate=h,this.createChild=x,this.init=U(e)}function Ob(e,t){return e!=="value"&&uo(t)&&(t=or(t.slice())),t}var Mb=1;function ri(e,t){Ut.call(this,e,Mb),this.CONNECTION_STYLE=t.style(["no-fill"],{strokeWidth:5,stroke:"fuchsia"}),this.SHAPE_STYLE=t.style({fill:"white",stroke:"fuchsia",strokeWidth:2}),this.FRAME_STYLE=t.style(["no-fill"],{stroke:"fuchsia",strokeDasharray:4,strokeWidth:2})}Dt(ri,Ut),ri.prototype.canRender=function(){return!0},ri.prototype.drawShape=function(t,i,n){var s=ge("rect");return he(s,{x:0,y:0,width:i.width||0,height:i.height||0}),gp(i)?he(s,X({},this.FRAME_STYLE,n||{})):he(s,X({},this.SHAPE_STYLE,n||{})),Ee(t,s),s},ri.prototype.drawConnection=function(t,i,n){var s=$a(i.waypoints,X({},this.CONNECTION_STYLE,n||{}));return Ee(t,s),s},ri.prototype.getShapePath=function(t){var i=t.x,n=t.y,s=t.width,r=t.height,a=[["M",i,n],["l",s,0],["l",0,r],["l",-s,0],["z"]];return Mi(a)},ri.prototype.getConnectionPath=function(t){var i=t.waypoints,n,s,r=[];for(n=0;s=i[n];n++)s=s.original||s,r.push([n===0?"M":"L",s.x,s.y]);return Mi(r)},ri.$inject=["eventBus","styles"];function Bb(){var e={"no-fill":{fill:"none"},"no-border":{strokeOpacity:0},"no-events":{pointerEvents:"none"}},t=this;this.cls=function(i,n,s){var r=this.style(n,s);return X(r,{class:i})},this.style=function(i,n){!wt(i)&&!n&&(n=i,i=[]);var s=fn(i,function(r,a){return X(r,e[a]||{})},{});return n?X(s,n):s},this.computeStyle=function(i,n,s){return wt(n)||(s=n,n=[]),t.style(n||[],X({},s,i||{}))}}const Rb={__init__:["defaultRenderer"],defaultRenderer:["type",ri],styles:["type",Bb]};function Lb(e,t){if(!e||!t)return-1;var i=e.indexOf(t);return i!==-1&&e.splice(i,1),i}function Fb(e,t,i){if(!(!e||!t)){typeof i!="number"&&(i=-1);var n=e.indexOf(t);if(n!==-1){if(n===i)return;if(i!==-1)e.splice(n,1);else return}i!==-1?e.splice(i,0,t):e.push(t)}}function lr(e,t){return Math.round(e*t)/t}function Sp(e){return $t(e)?e+"px":e}function Vb(e){for(;e.parent;)e=e.parent;return e}function jb(e){e=X({},{width:"100%",height:"100%"},e);const t=e.container||document.body,i=document.createElement("div");return i.setAttribute("class","djs-container djs-parent"),Me(i,{position:"relative",overflow:"hidden",width:Sp(e.width),height:Sp(e.height)}),t.appendChild(i),i}function Pp(e,t,i){const n=ge("g");ot(n).add(t);const s=i!==void 0?i:e.childNodes.length-1;return e.insertBefore(n,e.childNodes[s]||null),n}const Ub="base",Dp=0,Qb=1,Gb={shape:["x","y","width","height"],connection:["waypoints"]};function te(e,t,i,n){this._eventBus=t,this._elementRegistry=n,this._graphicsFactory=i,this._rootsIdx=0,this._layers={},this._planes=[],this._rootElement=null,this._init(e||{})}te.$inject=["config.canvas","eventBus","graphicsFactory","elementRegistry"],te.prototype._init=function(e){const t=this._eventBus,i=this._container=jb(e),n=this._svg=ge("svg");he(n,{width:"100%",height:"100%"}),Ee(i,n);const s=this._viewport=Pp(n,"viewport");e.deferUpdate&&(this._viewboxChanged=pv(ti(this._viewboxChanged,this),300)),t.on("diagram.init",()=>{t.fire("canvas.init",{svg:n,viewport:s})}),t.on(["shape.added","connection.added","shape.removed","connection.removed","elements.changed","root.set"],()=>{delete this._cachedViewbox}),t.on("diagram.destroy",500,this._destroy,this),t.on("diagram.clear",500,this._clear,this)},te.prototype._destroy=function(){this._eventBus.fire("canvas.destroy",{svg:this._svg,viewport:this._viewport});const e=this._container.parentNode;e&&e.removeChild(this._container),delete this._svg,delete this._container,delete this._layers,delete this._planes,delete this._rootElement,delete this._viewport},te.prototype._clear=function(){this._elementRegistry.getAll().forEach(t=>{const i=mp(t);i==="root"?this.removeRootElement(t):this._removeElement(t,i)}),this._planes=[],this._rootElement=null,delete this._cachedViewbox},te.prototype.getDefaultLayer=function(){return this.getLayer(Ub,Dp)},te.prototype.getLayer=function(e,t){if(!e)throw new Error("must specify a name");let i=this._layers[e];if(i||(i=this._layers[e]=this._createLayer(e,t)),typeof t<"u"&&i.index!==t)throw new Error("layer <"+e+"> already created at index <"+t+">");return i.group},te.prototype._getChildIndex=function(e){return fn(this._layers,function(t,i){return i.visible&&e>=i.index&&t++,t},0)},te.prototype._createLayer=function(e,t){typeof t>"u"&&(t=Qb);const i=this._getChildIndex(t);return{group:Pp(this._viewport,"layer-"+e,i),index:t,visible:!0}},te.prototype.showLayer=function(e){if(!e)throw new Error("must specify a name");const t=this._layers[e];if(!t)throw new Error("layer <"+e+"> does not exist");const i=this._viewport,n=t.group,s=t.index;if(t.visible)return n;const r=this._getChildIndex(s);return i.insertBefore(n,i.childNodes[r]||null),t.visible=!0,n},te.prototype.hideLayer=function(e){if(!e)throw new Error("must specify a name");const t=this._layers[e];if(!t)throw new Error("layer <"+e+"> does not exist");const i=t.group;return t.visible&&(zn(i),t.visible=!1),i},te.prototype._removeLayer=function(e){const t=this._layers[e];t&&(delete this._layers[e],zn(t.group))},te.prototype.getActiveLayer=function(){const e=this._findPlaneForRoot(this.getRootElement());return e?e.layer:null},te.prototype.findRoot=function(e){return typeof e=="string"&&(e=this._elementRegistry.get(e)),e?(this._findPlaneForRoot(Vb(e))||{}).rootElement:void 0},te.prototype.getRootElements=function(){return this._planes.map(function(e){return e.rootElement})},te.prototype._findPlaneForRoot=function(e){return xt(this._planes,function(t){return t.rootElement===e})},te.prototype.getContainer=function(){return this._container},te.prototype._updateMarker=function(e,t,i){let n;e.id||(e=this._elementRegistry.get(e)),n=this._elementRegistry._elements[e.id],n&&(G([n.gfx,n.secondaryGfx],function(s){s&&(i?ot(s).add(t):ot(s).remove(t))}),this._eventBus.fire("element.marker.update",{element:e,gfx:n.gfx,marker:t,add:!!i}))},te.prototype.addMarker=function(e,t){this._updateMarker(e,t,!0)},te.prototype.removeMarker=function(e,t){this._updateMarker(e,t,!1)},te.prototype.hasMarker=function(e,t){e.id||(e=this._elementRegistry.get(e));const i=this.getGraphics(e);return ot(i).has(t)},te.prototype.toggleMarker=function(e,t){this.hasMarker(e,t)?this.removeMarker(e,t):this.addMarker(e,t)},te.prototype.getRootElement=function(){const e=this._rootElement;return e||this._planes.length?e:this.setRootElement(this.addRootElement(null))},te.prototype.addRootElement=function(e){const t=this._rootsIdx++;e||(e={id:"__implicitroot_"+t,children:[],isImplicit:!0});const i=e.layer="root-"+t;this._ensureValid("root",e);const n=this.getLayer(i,Dp);return this.hideLayer(i),this._addRoot(e,n),this._planes.push({rootElement:e,layer:n}),e},te.prototype.removeRootElement=function(e){if(typeof e=="string"&&(e=this._elementRegistry.get(e)),!!this._findPlaneForRoot(e))return this._removeRoot(e),this._removeLayer(e.layer),this._planes=this._planes.filter(function(i){return i.rootElement!==e}),this._rootElement===e&&(this._rootElement=null),e},te.prototype.setRootElement=function(e){if(e===this._rootElement)return;let t;if(!e)throw new Error("rootElement required");return t=this._findPlaneForRoot(e),t||(e=this.addRootElement(e)),this._setRoot(e),e},te.prototype._removeRoot=function(e){const t=this._elementRegistry,i=this._eventBus;i.fire("root.remove",{element:e}),i.fire("root.removed",{element:e}),t.remove(e)},te.prototype._addRoot=function(e,t){const i=this._elementRegistry,n=this._eventBus;n.fire("root.add",{element:e}),i.add(e,t),n.fire("root.added",{element:e,gfx:t})},te.prototype._setRoot=function(e,t){const i=this._rootElement;i&&(this._elementRegistry.updateGraphics(i,null,!0),this.hideLayer(i.layer)),e&&(t||(t=this._findPlaneForRoot(e).layer),this._elementRegistry.updateGraphics(e,this._svg,!0),this.showLayer(e.layer)),this._rootElement=e,this._eventBus.fire("root.set",{element:e})},te.prototype._ensureValid=function(e,t){if(!t.id)throw new Error("element must have an id");if(this._elementRegistry.get(t.id))throw new Error("element <"+t.id+"> already exists");const i=Gb[e];if(!Fu(i,function(s){return typeof t[s]<"u"}))throw new Error("must supply { "+i.join(", ")+" } with "+e)},te.prototype._setParent=function(e,t,i){Fb(t.children,e,i),e.parent=t},te.prototype._addElement=function(e,t,i,n){i=i||this.getRootElement();const s=this._eventBus,r=this._graphicsFactory;this._ensureValid(e,t),s.fire(e+".add",{element:t,parent:i}),this._setParent(t,i,n);const a=r.create(e,t,n);return this._elementRegistry.add(t,a),r.update(e,t,a),s.fire(e+".added",{element:t,gfx:a}),t},te.prototype.addShape=function(e,t,i){return this._addElement("shape",e,t,i)},te.prototype.addConnection=function(e,t,i){return this._addElement("connection",e,t,i)},te.prototype._removeElement=function(e,t){const i=this._elementRegistry,n=this._graphicsFactory,s=this._eventBus;if(e=i.get(e.id||e),!!e)return s.fire(t+".remove",{element:e}),n.remove(e),Lb(e.parent&&e.parent.children,e),e.parent=null,s.fire(t+".removed",{element:e}),i.remove(e),e},te.prototype.removeShape=function(e){return this._removeElement(e,"shape")},te.prototype.removeConnection=function(e){return this._removeElement(e,"connection")},te.prototype.getGraphics=function(e,t){return this._elementRegistry.getGraphics(e,t)},te.prototype._changeViewbox=function(e){this._eventBus.fire("canvas.viewbox.changing"),e.apply(this),this._cachedViewbox=null,this._viewboxChanged()},te.prototype._viewboxChanged=function(){this._eventBus.fire("canvas.viewbox.changed",{viewbox:this.viewbox()})},te.prototype.viewbox=function(e){if(e===void 0&&this._cachedViewbox)return this._cachedViewbox;const t=this._viewport,i=this.getSize();let n,s,r,a,o,l,p;if(e)this._changeViewbox(function(){o=Math.min(i.width/e.width,i.height/e.height);const h=this._svg.createSVGMatrix().scale(o).translate(-e.x,-e.y);Yn(t,h)});else return r=this._rootElement?this.getActiveLayer():null,n=r&&r.getBBox()||{},a=Yn(t),s=a?a.matrix:Pv(),o=lr(s.a,1e3),l=lr(-s.e||0,1e3),p=lr(-s.f||0,1e3),e=this._cachedViewbox={x:l?l/o:0,y:p?p/o:0,width:i.width/o,height:i.height/o,scale:o,inner:{width:n.width||0,height:n.height||0,x:n.x||0,y:n.y||0},outer:i},e;return e},te.prototype.scroll=function(e){const t=this._viewport;let i=t.getCTM();return e&&this._changeViewbox(function(){e=X({dx:0,dy:0},e||{}),i=this._svg.createSVGMatrix().translate(e.dx,e.dy).multiply(i),Op(t,i)}),{x:i.e,y:i.f}},te.prototype.scrollToElement=function(e,t){let i=100;typeof e=="string"&&(e=this._elementRegistry.get(e));const n=this.findRoot(e);if(n!==this.getRootElement()&&this.setRootElement(n),n===e)return;t||(t={}),typeof t=="number"&&(i=t),t={top:t.top||i,right:t.right||i,bottom:t.bottom||i,left:t.left||i};const s=Fi(e),r=so(s),a=this.viewbox(),o=this.zoom();let l,p;a.y+=t.top/o,a.x+=t.left/o,a.width-=(t.right+t.left)/o,a.height-=(t.bottom+t.top)/o;const h=so(a);if(!(s.width<a.width&&s.height<a.height))l=s.x-a.x,p=s.y-a.y;else{const y=Math.max(0,r.right-h.right),x=Math.min(0,r.left-h.left),M=Math.max(0,r.bottom-h.bottom),B=Math.min(0,r.top-h.top);l=y||x,p=M||B}this.scroll({dx:-l*o,dy:-p*o})},te.prototype.zoom=function(e,t){if(!e)return this.viewbox(e).scale;if(e==="fit-viewport")return this._fitViewport(t);let i,n;return this._changeViewbox(function(){typeof t!="object"&&(i=this.viewbox().outer,t={x:i.width/2,y:i.height/2}),n=this._setZoom(e,t)}),lr(n.a,1e3)};function Op(e,t){const i="matrix("+t.a+","+t.b+","+t.c+","+t.d+","+t.e+","+t.f+")";e.setAttribute("transform",i)}te.prototype._fitViewport=function(e){const t=this.viewbox(),i=t.outer,n=t.inner;let s,r;return n.x>=0&&n.y>=0&&n.x+n.width<=i.width&&n.y+n.height<=i.height&&!e?r={x:0,y:0,width:Math.max(n.width+n.x,i.width),height:Math.max(n.height+n.y,i.height)}:(s=Math.min(1,i.width/n.width,i.height/n.height),r={x:n.x+(e?n.width/2-i.width/s/2:0),y:n.y+(e?n.height/2-i.height/s/2:0),width:i.width/s,height:i.height/s}),this.viewbox(r),this.viewbox(!1).scale},te.prototype._setZoom=function(e,t){const i=this._svg,n=this._viewport,s=i.createSVGMatrix(),r=i.createSVGPoint();let a,o,l,p,h;l=n.getCTM();const d=l.a;return t?(a=X(r,t),o=a.matrixTransform(l.inverse()),p=s.translate(o.x,o.y).scale(1/d*e).translate(-o.x,-o.y),h=l.multiply(p)):h=s.scale(e),Op(this._viewport,h),h},te.prototype.getSize=function(){return{width:this._container.clientWidth,height:this._container.clientHeight}},te.prototype.getAbsoluteBBox=function(e){const t=this.viewbox();let i;e.waypoints?i=this.getGraphics(e).getBBox():i=e;const n=i.x*t.scale-t.x*t.scale,s=i.y*t.scale-t.y*t.scale,r=i.width*t.scale,a=i.height*t.scale;return{x:n,y:s,width:r,height:a}},te.prototype.resized=function(){delete this._cachedViewbox,this._eventBus.fire("canvas.resized")};var An="data-element-id";function ct(e){this._elements={},this._eventBus=e}ct.$inject=["eventBus"],ct.prototype.add=function(e,t,i){var n=e.id;this._validateId(n),he(t,An,n),i&&he(i,An,n),this._elements[n]={element:e,gfx:t,secondaryGfx:i}},ct.prototype.remove=function(e){var t=this._elements,i=e.id||e,n=i&&t[i];n&&(he(n.gfx,An,""),n.secondaryGfx&&he(n.secondaryGfx,An,""),delete t[i])},ct.prototype.updateId=function(e,t){this._validateId(t),typeof e=="string"&&(e=this.get(e)),this._eventBus.fire("element.updateId",{element:e,newId:t});var i=this.getGraphics(e),n=this.getGraphics(e,!0);this.remove(e),e.id=t,this.add(e,i,n)},ct.prototype.updateGraphics=function(e,t,i){var n=e.id||e,s=this._elements[n];return i?s.secondaryGfx=t:s.gfx=t,t&&he(t,An,n),t},ct.prototype.get=function(e){var t;typeof e=="string"?t=e:t=e&&he(e,An);var i=this._elements[t];return i&&i.element},ct.prototype.filter=function(e){var t=[];return this.forEach(function(i,n){e(i,n)&&t.push(i)}),t},ct.prototype.find=function(e){for(var t=this._elements,i=Object.keys(t),n=0;n<i.length;n++){var s=i[n],r=t[s],a=r.element,o=r.gfx;if(e(a,o))return a}},ct.prototype.getAll=function(){return this.filter(function(e){return e})},ct.prototype.forEach=function(e){var t=this._elements;Object.keys(t).forEach(function(i){var n=t[i],s=n.element,r=n.gfx;return e(s,r)})},ct.prototype.getGraphics=function(e,t){var i=e.id||e,n=this._elements[i];return n&&(t?n.secondaryGfx:n.gfx)},ct.prototype._validateId=function(e){if(!e)throw new Error("element must have an id");if(this._elements[e])throw new Error("element with id "+e+" already added")};function qb(e,t,i,n){var s=i.inverse;return Object.defineProperty(e,"remove",{value:function(r){var a=this.indexOf(r);return a!==-1&&(this.splice(a,1),t.unset(r,s,n)),r}}),Object.defineProperty(e,"contains",{value:function(r){return this.indexOf(r)!==-1}}),Object.defineProperty(e,"add",{value:function(r,a){var o=this.indexOf(r);if(typeof a>"u"){if(o!==-1)return;a=this.length}o!==-1&&this.splice(o,1),this.splice(a,0,r),o===-1&&t.set(r,s,n)}}),Object.defineProperty(e,"__refs_collection",{value:!0}),e}function Jb(e){return e.__refs_collection===!0}function Hb(e,t){return Object.prototype.hasOwnProperty.call(e,t.name||t)}function Mp(e,t,i){var n=qb(i[t.name]||[],e,t,i);Object.defineProperty(i,t.name,{enumerable:t.enumerable,value:n}),n.length&&n.forEach(function(s){e.set(s,t.inverse,i)})}function Kb(e,t,i){var n=t.inverse,s=i[t.name];Object.defineProperty(i,t.name,{configurable:t.configurable,enumerable:t.enumerable,get:function(){return s},set:function(r){if(r!==s){var a=s;s=null,a&&e.unset(a,n,i),s=r,e.set(s,n,i)}}})}function mt(e,t){if(!(this instanceof mt))return new mt(e,t);e.inverse=t,t.inverse=e,this.props={},this.props[e.name]=e,this.props[t.name]=t}mt.prototype.bind=function(e,t){if(typeof t=="string"){if(!this.props[t])throw new Error("no property <"+t+"> in ref");t=this.props[t]}t.collection?Mp(this,t,e):Kb(this,t,e)},mt.prototype.ensureRefsCollection=function(e,t){var i=e[t.name];return Jb(i)||Mp(this,t,e),i},mt.prototype.ensureBound=function(e,t){Hb(e,t)||this.bind(e,t)},mt.prototype.unset=function(e,t,i){e&&(this.ensureBound(e,t),t.collection?this.ensureRefsCollection(e,t).remove(i):e[t.name]=void 0)},mt.prototype.set=function(e,t,i){e&&(this.ensureBound(e,t),t.collection?this.ensureRefsCollection(e,t).add(i):e[t.name]=i)};var ho=new mt({name:"children",enumerable:!0,collection:!0},{name:"parent"}),Bp=new mt({name:"labels",enumerable:!0,collection:!0},{name:"labelTarget"}),Rp=new mt({name:"attachers",collection:!0},{name:"host"}),Lp=new mt({name:"outgoing",collection:!0},{name:"source"}),Fp=new mt({name:"incoming",collection:!0},{name:"target"});function es(){Object.defineProperty(this,"businessObject",{writable:!0}),Object.defineProperty(this,"label",{get:function(){return this.labels[0]},set:function(e){var t=this.label,i=this.labels;!e&&t?i.remove(t):i.add(e,0)}}),ho.bind(this,"parent"),Bp.bind(this,"labels"),Lp.bind(this,"outgoing"),Fp.bind(this,"incoming")}function ts(){es.call(this),ho.bind(this,"children"),Rp.bind(this,"host"),Rp.bind(this,"attachers")}Dt(ts,es);function Vp(){es.call(this),ho.bind(this,"children")}Dt(Vp,ts);function jp(){ts.call(this),Bp.bind(this,"labelTarget")}Dt(jp,ts);function Up(){es.call(this),Lp.bind(this,"source"),Fp.bind(this,"target")}Dt(Up,es);var Wb={connection:Up,shape:ts,label:jp,root:Vp};function zb(e,t){var i=Wb[e];if(!i)throw new Error("unknown type: <"+e+">");return X(new i,t)}function bn(){this._uid=12}bn.prototype.createRoot=function(e){return this.create("root",e)},bn.prototype.createLabel=function(e){return this.create("label",e)},bn.prototype.createShape=function(e){return this.create("shape",e)},bn.prototype.createConnection=function(e){return this.create("connection",e)},bn.prototype.create=function(e,t){return t=X({},t||{}),t.id||(t.id=e+"_"+this._uid++),zb(e,t)};var cr="__fn",Qp=1e3,Yb=Array.prototype.slice;function Xe(){this._listeners={},this.on("diagram.destroy",1,this._destroy,this)}Xe.prototype.on=function(e,t,i,n){if(e=wt(e)?e:[e],ei(t)&&(n=i,i=t,t=Qp),!$t(t))throw new Error("priority must be a number");var s=i;n&&(s=ti(i,n),s[cr]=i[cr]||i);var r=this;e.forEach(function(a){r._addListener(a,{priority:t,callback:s,next:null})})},Xe.prototype.once=function(e,t,i,n){var s=this;if(ei(t)&&(n=i,i=t,t=Qp),!$t(t))throw new Error("priority must be a number");function r(){r.__isTomb=!0;var a=i.apply(n,arguments);return s.off(e,r),a}r[cr]=i,this.on(e,t,r)},Xe.prototype.off=function(e,t){e=wt(e)?e:[e];var i=this;e.forEach(function(n){i._removeListener(n,t)})},Xe.prototype.createEvent=function(e){var t=new is;return t.init(e),t},Xe.prototype.fire=function(e,t){var i,n,s,r;if(r=Yb.call(arguments),typeof e=="object"&&(t=e,e=t.type),!e)throw new Error("no event type specified");if(n=this._listeners[e],!!n){t instanceof is?i=t:i=this.createEvent(t),r[0]=i;var a=i.type;e!==a&&(i.type=e);try{s=this._invokeListeners(i,r,n)}finally{e!==a&&(i.type=a)}return s===void 0&&i.defaultPrevented&&(s=!1),s}},Xe.prototype.handleError=function(e){return this.fire("error",{error:e})===!1},Xe.prototype._destroy=function(){this._listeners={}},Xe.prototype._invokeListeners=function(e,t,i){for(var n;i&&!e.cancelBubble;)n=this._invokeListener(e,t,i),i=i.next;return n},Xe.prototype._invokeListener=function(e,t,i){var n;if(i.callback.__isTomb)return n;try{n=Xb(i.callback,t),n!==void 0&&(e.returnValue=n,e.stopPropagation()),n===!1&&e.preventDefault()}catch(s){if(!this.handleError(s))throw console.error("unhandled error in event listener",s),s}return n},Xe.prototype._addListener=function(e,t){var i=this._getListeners(e),n;if(!i){this._setListeners(e,t);return}for(;i;){if(i.priority<t.priority){t.next=i,n?n.next=t:this._setListeners(e,t);return}n=i,i=i.next}n.next=t},Xe.prototype._getListeners=function(e){return this._listeners[e]},Xe.prototype._setListeners=function(e,t){this._listeners[e]=t},Xe.prototype._removeListener=function(e,t){var i=this._getListeners(e),n,s,r;if(!t){this._setListeners(e,null);return}for(;i;)n=i.next,r=i.callback,(r===t||r[cr]===t)&&(s?s.next=n:this._setListeners(e,n)),s=i,i=n};function is(){}is.prototype.stopPropagation=function(){this.cancelBubble=!0},is.prototype.preventDefault=function(){this.defaultPrevented=!0},is.prototype.init=function(e){X(this,e||{})};function Xb(e,t){return e.apply(null,t)}function Zb(e){return e.childNodes[0]}function $b(e){return e.parentNode.childNodes[1]}function ut(e,t){this._eventBus=e,this._elementRegistry=t}ut.$inject=["eventBus","elementRegistry"],ut.prototype._getChildrenContainer=function(e){var t=this._elementRegistry.getGraphics(e),i;return e.parent?(i=$b(t),i||(i=ge("g"),ot(i).add("djs-children"),Ee(t.parentNode,i))):i=t,i},ut.prototype._clear=function(e){var t=Zb(e);return ip(t),t},ut.prototype._createContainer=function(e,t,i,n){var s=ge("g");ot(s).add("djs-group"),typeof i<"u"?Gp(s,t,t.childNodes[i]):Ee(t,s);var r=ge("g");ot(r).add("djs-element"),ot(r).add("djs-"+e),n&&ot(r).add("djs-frame"),Ee(s,r);var a=ge("g");return ot(a).add("djs-visual"),Ee(r,a),r},ut.prototype.create=function(e,t,i){var n=this._getChildrenContainer(t.parent);return this._createContainer(e,n,i,gp(t))},ut.prototype.updateContainments=function(e){var t=this,i=this._elementRegistry,n;n=fn(e,function(s,r){return r.parent&&(s[r.parent.id]=r.parent),s},{}),G(n,function(s){var r=s.children;if(!!r){var a=t._getChildrenContainer(s);G(r.slice().reverse(),function(o){var l=i.getGraphics(o);Gp(l.parentNode,a)})}})},ut.prototype.drawShape=function(e,t,i={}){var n=this._eventBus;return n.fire("render.shape",{gfx:e,element:t,attrs:i})},ut.prototype.getShapePath=function(e){var t=this._eventBus;return t.fire("render.getShapePath",e)},ut.prototype.drawConnection=function(e,t,i={}){var n=this._eventBus;return n.fire("render.connection",{gfx:e,element:t,attrs:i})},ut.prototype.getConnectionPath=function(e){var t=this._eventBus;return t.fire("render.getConnectionPath",e)},ut.prototype.update=function(e,t,i){if(!!t.parent){var n=this._clear(i);if(e==="shape")this.drawShape(n,t),op(i,t.x,t.y);else if(e==="connection")this.drawConnection(n,t);else throw new Error("unknown type: "+e);t.hidden?he(i,"display","none"):he(i,"display","block")}},ut.prototype.remove=function(e){var t=this._elementRegistry.getGraphics(e);zn(t.parentNode)};function Gp(e,t,i){var n=i||t.firstChild;e!==n&&t.insertBefore(e,n)}const e0={__depends__:[Rb],__init__:["canvas"],canvas:["type",te],elementRegistry:["type",ct],elementFactory:["type",bn],eventBus:["type",Xe],graphicsFactory:["type",ut]};function t0(e){var t=new kp(e);return t.init(),t}function i0(e){e=e||{};var t={config:["value",e]},i=[t,e0].concat(e.modules||[]);return t0(i)}function Cn(e,t){this._injector=t=t||i0(e),this.get=t.get,this.invoke=t.invoke,this.get("eventBus").fire("diagram.init")}Cn.prototype.destroy=function(){this.get("eventBus").fire("diagram.destroy")},Cn.prototype.clear=function(){this.get("eventBus").fire("diagram.clear")};function fo(){}fo.prototype.get=function(e){return this.$model.properties.get(this,e)},fo.prototype.set=function(e,t){this.$model.properties.set(this,e,t)};function qp(e,t){this.model=e,this.properties=t}qp.prototype.createType=function(e){var t=this.model,i=this.properties,n=Object.create(fo.prototype);G(e.properties,function(a){!a.isMany&&a.default!==void 0&&(n[a.name]=a.default)}),i.defineModel(n,t),i.defineDescriptor(n,e);var s=e.ns.name;function r(a){i.define(this,"$type",{value:s,enumerable:!0}),i.define(this,"$attrs",{value:{}}),i.define(this,"$parent",{writable:!0}),G(a,ti(function(o,l){this.set(l,o)},this))}return r.prototype=n,r.hasType=n.$instanceOf=this.model.hasType,i.defineModel(r,t),i.defineDescriptor(r,e),r};var n0={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},Jp={String:function(e){return e},Boolean:function(e){return e==="true"},Integer:function(e){return parseInt(e,10)},Real:function(e){return parseFloat(e)}};function mo(e,t){var i=Jp[e];return i?i(t):t}function go(e){return!!n0[e]}function Hp(e){return!!Jp[e]}function Le(e,t){var i=e.split(/:/),n,s;if(i.length===1)n=e,s=t;else if(i.length===2)n=i[1],s=i[0];else throw new Error("expected <prefix:localName> or <localName>, got "+e);return e=(s?s+":":"")+n,{name:e,prefix:s,localName:n}}function pt(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}pt.prototype.build=function(){return hv(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},pt.prototype.addProperty=function(e,t,i){typeof t=="boolean"&&(i=t,t=void 0),this.addNamedProperty(e,i!==!1);var n=this.properties;t!==void 0?n.splice(t,0,e):n.push(e)},pt.prototype.replaceProperty=function(e,t,i){var n=e.ns,s=this.properties,r=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 o=s.indexOf(e);if(o===-1)throw new Error("property <"+n.name+"> not found in property list");s.splice(o,1),this.addProperty(t,i?void 0:o,a),r[n.name]=r[n.localName]=t},pt.prototype.redefineProperty=function(e,t,i){var n=e.ns.prefix,s=t.split("#"),r=Le(s[0],n),a=Le(s[1],r.prefix).name,o=this.propertiesByName[a];if(o)this.replaceProperty(o,e,i);else throw new Error("refined property <"+a+"> not found");delete e.redefines},pt.prototype.addNamedProperty=function(e,t){var i=e.ns,n=this.propertiesByName;t&&(this.assertNotDefined(e,i.name),this.assertNotDefined(e,i.localName)),n[i.name]=n[i.localName]=e},pt.prototype.removeNamedProperty=function(e){var t=e.ns,i=this.propertiesByName;delete i[t.name],delete i[t.localName]},pt.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},pt.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},pt.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},pt.prototype.assertNotDefined=function(e,t){var i=e.name,n=this.propertiesByName[i];if(n)throw new Error("property <"+i+"> already defined; override of <"+n.definedBy.ns.name+"#"+n.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},pt.prototype.hasProperty=function(e){return this.propertiesByName[e]},pt.prototype.addTrait=function(e,t){t&&this.assertNotTrait(e);var i=this.allTypesByName,n=this.allTypes,s=e.name;s in i||(G(e.properties,ti(function(r){r=X({},r,{name:r.ns.localName,inherited:t}),Object.defineProperty(r,"definedBy",{value:e});var a=r.replaces,o=r.redefines;a||o?this.redefineProperty(r,a||o,a):(r.isBody&&this.setBodyProperty(r),r.isId&&this.setIdProperty(r),this.addProperty(r))},this)),n.push(e),i[s]=e)};function ai(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,G(e,ti(this.registerPackage,this))}ai.prototype.getPackage=function(e){return this.packageMap[e]},ai.prototype.getPackages=function(){return this.packages},ai.prototype.registerPackage=function(e){e=X({},e);var t=this.packageMap;Kp(t,e,"prefix"),Kp(t,e,"uri"),G(e.types,ti(function(i){this.registerType(i,e)},this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},ai.prototype.registerType=function(e,t){e=X({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:X(e.meta||{})});var i=Le(e.name,t.prefix),n=i.name,s={};G(e.properties,ti(function(r){var a=Le(r.name,i.prefix),o=a.name;go(r.type)||(r.type=Le(r.type,a.prefix).name),X(r,{ns:a,name:o}),s[o]=r},this)),X(e,{ns:i,name:n,propertiesByName:s}),G(e.extends,ti(function(r){var a=Le(r,i.prefix),o=this.typeMap[a.name];o.traits=o.traits||[],o.traits.push(n)},this)),this.definePackage(e,t),this.typeMap[n]=e},ai.prototype.mapTypes=function(e,t,i){var n=go(e.name)?{name:e.name}:this.typeMap[e.name],s=this;function r(l,p){var h=Le(l,go(l)?"":e.prefix);s.mapTypes(h,t,p)}function a(l){return r(l,!0)}function o(l){return r(l,!1)}if(!n)throw new Error("unknown type <"+e.name+">");G(n.superClass,i?a:o),t(n,!i),G(n.traits,a)},ai.prototype.getEffectiveDescriptor=function(e){var t=Le(e),i=new pt(t);this.mapTypes(t,function(s,r){i.addTrait(s,r)});var n=i.build();return this.definePackage(n,n.allTypes[n.allTypes.length-1].$pkg),n},ai.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})};function Kp(e,t,i){var n=t[i];if(n in e)throw new Error("package with "+i+" <"+n+"> already defined")}function Ui(e){this.model=e}Ui.prototype.set=function(e,t,i){if(!Et(t)||!t.length)throw new TypeError("property name must be a non-empty string");var n=this.getProperty(e,t),s=n&&n.name;s0(i)?n?delete e[s]:delete e.$attrs[yo(t)]:n?s in e?e[s]=i:Wp(e,n,i):e.$attrs[yo(t)]=i},Ui.prototype.get=function(e,t){var i=this.getProperty(e,t);if(!i)return e.$attrs[yo(t)];var n=i.name;return!e[n]&&i.isMany&&Wp(e,i,[]),e[n]},Ui.prototype.define=function(e,t,i){if(!i.writable){var n=i.value;i=X({},i,{get:function(){return n}}),delete i.value}Object.defineProperty(e,t,i)},Ui.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},Ui.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},Ui.prototype.getProperty=function(e,t){var i=this.model,n=i.getPropertyDescriptor(e,t);if(n)return n;if(t.includes(":"))return null;const s=i.config.strict;if(typeof s<"u"){const r=new TypeError(`unknown property <${t}> on <${e.$type}>`);if(s)throw r;typeof console<"u"}return null};function s0(e){return typeof e>"u"}function Wp(e,t,i){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:i,configurable:!0})}function yo(e){return e.replace(/^:/,"")}function gt(e,t={}){this.properties=new Ui(this),this.factory=new qp(this,this.properties),this.registry=new ai(e,this.properties),this.typeCache={},this.config=t}gt.prototype.create=function(e,t){var i=this.getType(e);if(!i)throw new Error("unknown type <"+e+">");return new i(t)},gt.prototype.getType=function(e){var t=this.typeCache,i=Et(e)?e:e.ns.name,n=t[i];return n||(e=this.registry.getEffectiveDescriptor(i),n=t[i]=this.factory.createType(e)),n},gt.prototype.createAny=function(e,t,i){var n=Le(e),s={$type:e,$instanceOf:function(a){return a===this.$type},get:function(a){return this[a]},set:function(a,o){dv(this,[a],o)}},r={name:e,isGeneric:!0,ns:{prefix:n.prefix,localName:n.localName,uri:t}};return this.properties.defineDescriptor(s,r),this.properties.defineModel(s,this),this.properties.define(s,"get",{enumerable:!1,writable:!0}),this.properties.define(s,"set",{enumerable:!1,writable:!0}),this.properties.define(s,"$parent",{enumerable:!1,writable:!0}),this.properties.define(s,"$instanceOf",{enumerable:!1,writable:!0}),G(i,function(a,o){Pi(a)&&a.value!==void 0?s[a.name]=a.value:s[o]=a}),s},gt.prototype.getPackage=function(e){return this.registry.getPackage(e)},gt.prototype.getPackages=function(){return this.registry.getPackages()},gt.prototype.getElementDescriptor=function(e){return e.$descriptor},gt.prototype.hasType=function(e,t){t===void 0&&(t=e,e=this);var i=e.$model.getElementDescriptor(e);return t in i.allTypesByName},gt.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},gt.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var zp=String.fromCharCode,r0=Object.prototype.hasOwnProperty,a0=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/ig,ns={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};Object.keys(ns).forEach(function(e){ns[e.toUpperCase()]=ns[e]});function o0(e,t,i,n){return n?r0.call(ns,n)?ns[n]:"&"+n+";":zp(t||parseInt(i,16))}function Qi(e){return e.length>3&&e.indexOf("&")!==-1?e.replace(a0,o0):e}var l0="http://www.w3.org/2001/XMLSchema-instance",c0="xsi",Yp="xsi:type",Xp="non-whitespace outside of root node";function wn(e){return new Error(e)}function Zp(e){return"missing namespace for prefix <"+e+">"}function ur(e){return{get:e,enumerable:!0}}function u0(e){var t={},i;for(i in e)t[i]=e[i];return t}function vo(e){return e+"$uri"}function p0(e){var t={},i,n;for(i in e)n=e[i],t[n]=n,t[vo(n)]=i;return t}function $p(){return{line:0,column:0}}function d0(e){throw e}function ed(e){if(!this)return new ed(e);var t=e&&e.proxy,i,n,s,r,a=d0,o,l,p,h,d=$p,y=!1,x=!1,M=null,B=!1,Z;function J(E){E instanceof Error||(E=wn(E)),M=E,a(E,d)}function U(E){!o||(E instanceof Error||(E=wn(E)),o(E,d))}this.on=function(E,P){if(typeof P!="function")throw wn("required args <name, cb>");switch(E){case"openTag":n=P;break;case"text":i=P;break;case"closeTag":s=P;break;case"error":a=P;break;case"warn":o=P;break;case"cdata":r=P;break;case"attention":h=P;break;case"question":p=P;break;case"comment":l=P;break;default:throw wn("unsupported event: "+E)}return this},this.ns=function(E){if(typeof E>"u"&&(E={}),typeof E!="object")throw wn("required args <nsMap={}>");var P={},S;for(S in E)P[S]=E[S];return P[l0]=c0,x=!0,Z=P,this},this.parse=function(E){if(typeof E!="string")throw wn("required args <xml=string>");return M=null,N(E),d=$p,B=!1,M},this.stop=function(){B=!0};function N(E){var P=x?[]:null,S=x?p0(Z):null,k,_=[],V=0,D=!1,F=!1,L=0,q=0,$,Ne,oe,g,v,I,R,W,re,C="",w=0,O;function Y(){if(O!==null)return O;var se,f,c,u=x&&S.xmlns,m=x&&y?[]:null,A=w,T=C,H=T.length,ce,le,ue,ke,pe,fi={},Dr={},it,z,de;e:for(;A<H;A++)if(it=!1,z=T.charCodeAt(A),!(z===32||z<14&&z>8)){for((z<65||z>122||z>90&&z<97)&&z!==95&&z!==58&&(U("illegal first char attribute name"),it=!0),de=A+1;de<H;de++)if(z=T.charCodeAt(de),!(z>96&&z<123||z>64&&z<91||z>47&&z<59||z===46||z===45||z===95)){if(z===32||z<14&&z>8){U("missing attribute value"),A=de;continue e}if(z===61)break;U("illegal attribute name char"),it=!0}if(pe=T.substring(A,de),pe==="xmlns:xmlns"&&(U("illegal declaration of xmlns"),it=!0),z=T.charCodeAt(de+1),z===34)de=T.indexOf('"',A=de+2),de===-1&&(de=T.indexOf("'",A),de!==-1&&(U("attribute value quote missmatch"),it=!0));else if(z===39)de=T.indexOf("'",A=de+2),de===-1&&(de=T.indexOf('"',A),de!==-1&&(U("attribute value quote missmatch"),it=!0));else for(U("missing attribute value quotes"),it=!0,de=de+1;de<H&&(z=T.charCodeAt(de+1),!(z===32||z<14&&z>8));de++);for(de===-1&&(U("missing closing quotes"),de=H,it=!0),it||(ue=T.substring(A,de)),A=de;de+1<H&&(z=T.charCodeAt(de+1),!(z===32||z<14&&z>8));de++)A===de&&(U("illegal character after attribute end"),it=!0);if(A=de+1,it)continue e;if(pe in Dr){U("attribute <"+pe+"> already defined");continue}if(Dr[pe]=!0,!x){fi[pe]=ue;continue}if(y){if(le=pe==="xmlns"?"xmlns":pe.charCodeAt(0)===120&&pe.substr(0,6)==="xmlns:"?pe.substr(6):null,le!==null){if(se=Qi(ue),f=vo(le),ke=Z[se],!ke){if(le==="xmlns"||f in S&&S[f]!==se)do ke="ns"+V++;while(typeof S[ke]<"u");else ke=le;Z[se]=ke}S[le]!==ke&&(ce||(S=u0(S),ce=!0),S[le]=ke,le==="xmlns"&&(S[vo(ke)]=se,u=ke),S[f]=se),fi[pe]=ue;continue}m.push(pe,ue);continue}if(z=pe.indexOf(":"),z===-1){fi[pe]=ue;continue}if(!(c=S[pe.substring(0,z)])){U(Zp(pe.substring(0,z)));continue}pe=u===c?pe.substr(z+1):c+pe.substr(z),pe===Yp&&(z=ue.indexOf(":"),z!==-1?(c=ue.substring(0,z),c=S[c]||c,ue=c+ue.substring(z)):ue=u+":"+ue),fi[pe]=ue}if(y)for(A=0,H=m.length;A<H;A++){if(pe=m[A++],ue=m[A],z=pe.indexOf(":"),z!==-1){if(!(c=S[pe.substring(0,z)])){U(Zp(pe.substring(0,z)));continue}pe=u===c?pe.substr(z+1):c+pe.substr(z),pe===Yp&&(z=ue.indexOf(":"),z!==-1?(c=ue.substring(0,z),c=S[c]||c,ue=c+ue.substring(z)):ue=u+":"+ue)}fi[pe]=ue}return O=fi}function ee(){for(var se=/(\r\n|\r|\n)/g,f=0,c=0,u=0,m=q,A,T;L>=u&&(A=se.exec(E),!(!A||(m=A[0].length+A.index,m>L)));)f+=1,u=m;return L==-1?(c=m,T=E.substring(q)):q===0?T=E.substring(q,L):(c=L-u,T=q==-1?E.substring(L):E.substring(L,q+1)),{data:T,line:f,column:c}}for(d=ee,t&&(re=Object.create({},{name:ur(function(){return R}),originalName:ur(function(){return W}),attrs:ur(Y),ns:ur(function(){return S})}));q!==-1;){if(E.charCodeAt(q)===60?L=q:L=E.indexOf("<",q),L===-1){if(_.length)return J("unexpected end of file");if(q===0)return J("missing start tag");q<E.length&&E.substring(q).trim()&&U(Xp);return}if(q!==L){if(_.length){if(i&&(i(E.substring(q,L),Qi,d),B))return}else if(E.substring(q,L).trim()&&(U(Xp),B))return}if(g=E.charCodeAt(L+1),g===33){if(oe=E.charCodeAt(L+2),oe===91&&E.substr(L+3,6)==="CDATA["){if(q=E.indexOf("]]>",L),q===-1)return J("unclosed cdata");if(r&&(r(E.substring(L+9,q),d),B))return;q+=3;continue}if(oe===45&&E.charCodeAt(L+3)===45){if(q=E.indexOf("-->",L),q===-1)return J("unclosed comment");if(l&&(l(E.substring(L+4,q),Qi,d),B))return;q+=3;continue}}if(g===63){if(q=E.indexOf("?>",L),q===-1)return J("unclosed question");if(p&&(p(E.substring(L,q+2),d),B))return;q+=2;continue}for($=L+1;;$++){if(v=E.charCodeAt($),isNaN(v))return q=-1,J("unclosed tag");if(v===34)oe=E.indexOf('"',$+1),$=oe!==-1?oe:$;else if(v===39)oe=E.indexOf("'",$+1),$=oe!==-1?oe:$;else if(v===62){q=$;break}}if(g===33){if(h&&(h(E.substring(L,q+1),Qi,d),B))return;q+=1;continue}if(O={},g===47){if(D=!1,F=!0,!_.length)return J("missing open tag");if($=R=_.pop(),oe=L+2+$.length,E.substring(L+2,oe)!==$)return J("closing tag mismatch");for(;oe<q;oe++)if(g=E.charCodeAt(oe),!(g===32||g>8&&g<14))return J("close tag")}else{if(E.charCodeAt(q-1)===47?($=R=E.substring(L+1,q-1),D=!0,F=!0):($=R=E.substring(L+1,q),D=!0,F=!1),!(g>96&&g<123||g>64&&g<91||g===95||g===58))return J("illegal first char nodeName");for(oe=1,Ne=$.length;oe<Ne;oe++)if(g=$.charCodeAt(oe),!(g>96&&g<123||g>64&&g<91||g>47&&g<59||g===45||g===95||g==46)){if(g===32||g<14&&g>8){R=$.substring(0,oe),O=null;break}return J("invalid nodeName")}F||_.push(R)}if(x){if(k=S,D&&(F||P.push(k),O===null&&(y=$.indexOf("xmlns",oe)!==-1)&&(w=oe,C=$,Y(),y=!1)),W=R,g=R.indexOf(":"),g!==-1){if(I=S[R.substring(0,g)],!I)return J("missing namespace on <"+W+">");R=R.substr(g+1)}else I=S.xmlns;I&&(R=I+":"+R)}if(D&&(w=oe,C=$,n&&(t?n(re,Qi,F,d):n(R,Y,Qi,F,d),B)))return;if(F){if(s&&(s(t?re:R,Qi,D,d),B))return;x&&(D?S=k:S=P.pop())}q+=1}}}function td(e){return e.xml&&e.xml.tagAlias==="lowerCase"}var h0={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},pr="xsi:type";function id(e){return e.xml&&e.xml.serialize}function nd(e){return id(e)===pr}function f0(e){return id(e)==="property"}function m0(e){return e.charAt(0).toUpperCase()+e.slice(1)}function sd(e,t){return td(t)?e.prefix+":"+m0(e.localName):e.name}function g0(e,t){var i=e.name,n=e.localName,s=t.xml&&t.xml.typePrefix;return s&&n.indexOf(s)===0?e.prefix+":"+n.slice(s.length):i}function y0(e,t){var i=Le(e),n=t.getPackage(i.prefix);return g0(i,n)}function oi(e){return new Error(e)}function Jt(e){return e.$descriptor}function v0(e){X(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(t){this.references.push(t)},this.addElement=function(t){if(!t)throw oi("expected element");var i=this.elementsById,n=Jt(t),s=n.idProperty,r;if(s&&(r=t.get(s.name),r)){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(r))throw new Error("illegal ID <"+r+">");if(i[r])throw oi("duplicate ID <"+r+">");i[r]=t}},this.addWarning=function(t){this.warnings.push(t)}}function ss(){}ss.prototype.handleEnd=function(){},ss.prototype.handleText=function(){},ss.prototype.handleNode=function(){};function Ao(){}Ao.prototype=Object.create(ss.prototype),Ao.prototype.handleNode=function(){return this};function En(){}En.prototype=Object.create(ss.prototype),En.prototype.handleText=function(e){this.body=(this.body||"")+e};function rs(e,t){this.property=e,this.context=t}rs.prototype=Object.create(En.prototype),rs.prototype.handleNode=function(e){if(this.element)throw oi("expected no sub nodes");return this.element=this.createReference(e),this},rs.prototype.handleEnd=function(){this.element.id=this.body},rs.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}};function bo(e,t){this.element=t,this.propertyDesc=e}bo.prototype=Object.create(En.prototype),bo.prototype.handleEnd=function(){var e=this.body||"",t=this.element,i=this.propertyDesc;e=mo(i.type,e),i.isMany?t.get(i.name).push(e):t.set(i.name,e)};function dr(){}dr.prototype=Object.create(En.prototype),dr.prototype.handleNode=function(e){var t=this,i=this.element;return i?t=this.handleChild(e):(i=this.element=this.createElement(e),this.context.addElement(i)),t};function Fe(e,t,i){this.model=e,this.type=e.getType(t),this.context=i}Fe.prototype=Object.create(dr.prototype),Fe.prototype.addReference=function(e){this.context.addReference(e)},Fe.prototype.handleText=function(e){var t=this.element,i=Jt(t),n=i.bodyProperty;if(!n)throw oi("unexpected body text <"+e+">");En.prototype.handleText.call(this,e)},Fe.prototype.handleEnd=function(){var e=this.body,t=this.element,i=Jt(t),n=i.bodyProperty;n&&e!==void 0&&(e=mo(n.type,e),t.set(n.name,e))},Fe.prototype.createElement=function(e){var t=e.attributes,i=this.type,n=Jt(i),s=this.context,r=new i({}),a=this.model,o;return G(t,function(l,p){var h=n.propertiesByName[p],d;h&&h.isReference?h.isMany?(d=l.split(" "),G(d,function(y){s.addReference({element:r,property:h.ns.name,id:y})})):s.addReference({element:r,property:h.ns.name,id:l}):(h?l=mo(h.type,l):p!=="xmlns"&&(o=Le(p,n.ns.prefix),a.getPackage(o.prefix)&&s.addWarning({message:"unknown attribute <"+p+">",element:r,property:p,value:l})),r.set(p,l))}),r},Fe.prototype.getPropertyForNode=function(e){var t=e.name,i=Le(t),n=this.type,s=this.model,r=Jt(n),a=i.name,o=r.propertiesByName[a],l,p;if(o&&!o.isAttr)return nd(o)&&(l=e.attributes[pr],l)?(l=y0(l,s),p=s.getType(l),X({},o,{effectiveType:Jt(p).name})):o;var h=s.getPackage(i.prefix);if(h){if(l=sd(i,h),p=s.getType(l),o=xt(r.properties,function(d){return!d.isVirtual&&!d.isReference&&!d.isAttribute&&p.hasType(d.type)}),o)return X({},o,{effectiveType:Jt(p).name})}else if(o=xt(r.properties,function(d){return!d.isReference&&!d.isAttribute&&d.type==="Element"}),o)return o;throw oi("unrecognized element <"+i.name+">")},Fe.prototype.toString=function(){return"ElementDescriptor["+Jt(this.type).name+"]"},Fe.prototype.valueHandler=function(e,t){return new bo(e,t)},Fe.prototype.referenceHandler=function(e){return new rs(e,this.context)},Fe.prototype.handler=function(e){return e==="Element"?new xn(this.model,e,this.context):new Fe(this.model,e,this.context)},Fe.prototype.handleChild=function(e){var t,i,n,s;if(t=this.getPropertyForNode(e),n=this.element,i=t.effectiveType||t.type,Hp(i))return this.valueHandler(t,n);t.isReference?s=this.referenceHandler(t).handleNode(e):s=this.handler(i).handleNode(e);var r=s.element;return r!==void 0&&(t.isMany?n.get(t.name).push(r):n.set(t.name,r),t.isReference?(X(r,{element:n}),this.context.addReference(r)):r.$parent=n),s};function Co(e,t,i){Fe.call(this,e,t,i)}Co.prototype=Object.create(Fe.prototype),Co.prototype.createElement=function(e){var t=e.name,i=Le(t),n=this.model,s=this.type,r=n.getPackage(i.prefix),a=r&&sd(i,r)||t;if(!s.hasType(a))throw oi("unexpected element <"+e.originalName+">");return Fe.prototype.createElement.call(this,e)};function xn(e,t,i){this.model=e,this.context=i}xn.prototype=Object.create(dr.prototype),xn.prototype.createElement=function(e){var t=e.name,i=Le(t),n=i.prefix,s=e.ns[n+"$uri"],r=e.attributes;return this.model.createAny(t,s,r)},xn.prototype.handleChild=function(e){var t=new xn(this.model,"Element",this.context).handleNode(e),i=this.element,n=t.element,s;return n!==void 0&&(s=i.$children=i.$children||[],s.push(n),n.$parent=i),t},xn.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)};function wo(e){e instanceof gt&&(e={model:e}),X(this,{lax:!1},e)}wo.prototype.fromXML=function(e,t,i){var n=t.rootHandler;t instanceof Fe?(n=t,t={}):typeof t=="string"?(n=this.handler(t),t={}):typeof n=="string"&&(n=this.handler(n));var s=this.model,r=this.lax,a=new v0(X({},t,{rootHandler:n})),o=new ed({proxy:!0}),l=A0();n.context=a,l.push(n);function p(P,S,k){var _=S(),V=_.line,D=_.column,F=_.data;F.charAt(0)==="<"&&F.indexOf(" ")!==-1&&(F=F.slice(0,F.indexOf(" "))+">");var L="unparsable content "+(F?F+" ":"")+`detected
|
|
18
|
+
See more tips at https://vuejs.org/guide/deployment.html`)},0);var Ba=function(e,t){return Ba=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,s){i.__proto__=s}||function(i,s){for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(i[n]=s[n])},Ba(e,t)};function py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ba(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function iu(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],s=0;if(i)return i.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&s>=e.length&&(e=void 0),{value:e&&e[s++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function dy(e){var t;rt(e,(t=Fa())===null||t===void 0?void 0:t.proxy)}var Ra,Un=[],su=function(){function e(t){this.active=!0,this.effects=[],this.cleanups=[],this.vm=t}return e.prototype.run=function(t){if(this.active)try{return this.on(),t()}finally{this.off()}else process.env.NODE_ENV!=="production"&&dy("cannot run an inactive effect scope.")},e.prototype.on=function(){this.active&&(Un.push(this),Ra=this)},e.prototype.off=function(){this.active&&(Un.pop(),Ra=Un[Un.length-1])},e.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach(function(t){return t.stop()}),this.cleanups.forEach(function(t){return t()}),this.active=!1)},e}();(function(e){py(t,e);function t(i){i===void 0&&(i=!1);var s=this,n=void 0;return yy(function(){n=uu(Gn())}),s=e.call(this,n)||this,i||hy(s),s}return t})(su);function hy(e,t){var i;if(t=t||Ra,t&&t.active){t.effects.push(e);return}var s=(i=Fa())===null||i===void 0?void 0:i.proxy;s&&s.$on("hook:destroyed",function(){return e.stop()})}function fy(e){if(!e.scope){var t=new su(e.proxy);e.scope=t,e.proxy.$on("hook:destroyed",function(){return t.stop()})}return e.scope}var La=void 0;try{var Ni=require("vue");Ni&&ru(Ni)?La=Ni:Ni&&"default"in Ni&&ru(Ni.default)&&(La=Ni.default)}catch{}var ki=null,rs=null,Qn=!0,nu="__composition_api_installed__";function ru(e){return e&&Si(e)&&e.name==="Vue"}function my(e){return ki&&Pt(e,nu)}function Gn(){return process.env.NODE_ENV!=="production"&&ja(ki,"must call Vue.use(VueCompositionAPI) before using any function."),ki}function au(){var e=ki||La;return process.env.NODE_ENV!=="production"&&ja(e,"No vue dependency found."),e}function gy(e){process.env.NODE_ENV!=="production"&&ki&&e.__proto__!==ki.__proto__&&rt("[vue-composition-api] another instance of Vue installed"),ki=e,Object.defineProperty(e,nu,{configurable:!0,writable:!0,value:!0})}function yy(e){var t=Qn;Qn=!1;try{e()}finally{Qn=t}}function ou(e){if(!!Qn){var t=rs;t==null||t.scope.off(),rs=e,rs==null||rs.scope.on()}}function Fa(){return rs}var Va=new WeakMap;function qn(e){if(Va.has(e))return Va.get(e);var t={proxy:e,update:e.$forceUpdate,type:e.$options,uid:e._uid,emit:e.$emit.bind(e),parent:null,root:null};fy(t);var i=["data","props","attrs","refs","vnode","slots"];return i.forEach(function(s){je(t,s,{get:function(){return e["$".concat(s)]}})}),je(t,"isMounted",{get:function(){return e._isMounted}}),je(t,"isUnmounted",{get:function(){return e._isDestroyed}}),je(t,"isDeactivated",{get:function(){return e._inactive}}),je(t,"emitted",{get:function(){return e._events}}),Va.set(e,t),e.$parent&&(t.parent=qn(e.$parent)),e.$root&&(t.root=qn(e.$root)),t}var vy=function(e){return Object.prototype.toString.call(e)};function lu(e){return typeof e=="function"&&/native code/.test(e.toString())}var Ay=typeof Symbol<"u"&&lu(Symbol)&&typeof Reflect<"u"&&lu(Reflect.ownKeys),as=function(e){return e};function je(e,t,i){var s=i.get,n=i.set;Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:s||as,set:n||as})}function cu(e,t,i,s){Object.defineProperty(e,t,{value:i,enumerable:!!s,writable:!0,configurable:!0})}function Pt(e,t){return Object.hasOwnProperty.call(e,t)}function ja(e,t){if(!e)throw new Error("[vue-composition-api] ".concat(t))}function by(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function os(e){return Array.isArray(e)}var Cy=4294967295;function wy(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)&&t<=Cy}function Hn(e){return e!==null&&typeof e=="object"}function Xt(e){return vy(e)==="[object Object]"}function Si(e){return typeof e=="function"}function Ey(e){return e==null}function rt(e,t){var i=au();!i||!i.util?"[vue-composition-api] ".concat(e):i.util.warn(e,t)}function uu(e,t){t===void 0&&(t={});var i=e.config.silent;e.config.silent=!0;var s=new e(t);return e.config.silent=i,s}function xy(e){var t=Gn();return t&&e instanceof t}function Iy(e,t){return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return e.$scopedSlots[t]?e.$scopedSlots[t].apply(e,i):process.env.NODE_ENV!=="production"?rt("slots.".concat(t,'() got called outside of the "render()" scope'),e):void 0}}function Ty(e,t){var i;if(!e)i={};else{if(e._normalized)return e._normalized;i={};for(var s in e)e[s]&&s[0]!=="$"&&(i[s]=!0)}for(var s in t)s in i||(i[s]=!0);return i}var Hs="composition-api.refKey",pu=new WeakMap,_y=new WeakMap;function Ny(e,t,i){var s=Gn(),n=s.util,r=n.warn,a=n.defineReactive;process.env.NODE_ENV!=="production"&&(Ey(e)||by(e))&&r("Cannot set reactive property on undefined, null, or primitive value: ".concat(e));var o=e.__ob__;function l(){o&&Hn(i)&&!Pt(i,"__ob__")&&Qa(i)}if(os(e)){if(wy(t))return e.length=Math.max(e.length,t),e.splice(t,1,i),l(),i;if(t==="length"&&i!==e.length)return e.length=i,o==null||o.dep.notify(),i}return t in e&&!(t in Object.prototype)?(e[t]=i,l(),i):e._isVue||o&&o.vmCount?(process.env.NODE_ENV!=="production"&&r("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),i):o?(a(o.value,t,i),gu(e,t,i),l(),o.dep.notify(),i):(e[t]=i,i)}var du=function(){function e(t){var i=t.get,s=t.set;je(this,"value",{get:i,set:s})}return e}();function hu(e,t,i){t===void 0&&(t=!1),i===void 0&&(i=!1);var s=new du(e);i&&(s.effect=!0);var n=Object.seal(s);return t&&_y.set(n,!0),n}function fu(e){var t;if(Ue(e))return e;var i=vu((t={},t[Hs]=e,t));return hu({get:function(){return i[Hs]},set:function(s){return i[Hs]=s}})}function Ue(e){return e instanceof du}function ky(e){if(process.env.NODE_ENV!=="production"&&!cs(e)&&rt("toRefs() expects a reactive object but received a plain one."),!Xt(e))return e;var t={};for(var i in e)t[i]=Sy(e,i);return t}function Sy(e,t){t in e||Ny(e,t,void 0);var i=e[t];return Ue(i)?i:hu({get:function(){return e[t]},set:function(s){return e[t]=s}})}var mu="__v_skip";function ls(e){var t;return Boolean(e&&Pt(e,"__ob__")&&typeof e.__ob__=="object"&&((t=e.__ob__)===null||t===void 0?void 0:t[mu]))}function cs(e){var t;return Boolean(e&&Pt(e,"__ob__")&&typeof e.__ob__=="object"&&!(!((t=e.__ob__)===null||t===void 0)&&t[mu]))}function Ua(e){if(!(!Xt(e)||ls(e)||os(e)||Ue(e)||xy(e)||pu.has(e))){pu.set(e,!0);for(var t=Object.keys(e),i=0;i<t.length;i++)gu(e,t[i])}}function gu(e,t,i){if(t!=="__ob__"&&!ls(e[t])){var s,n,r=Object.getOwnPropertyDescriptor(e,t);if(r){if(r.configurable===!1)return;s=r.get,n=r.set,(!s||n)&&arguments.length===2&&(i=e[t])}Ua(i),je(e,t,{get:function(){var o=s?s.call(e):i;return t!==Hs&&Ue(o)?o.value:o},set:function(o){s&&!n||(t!==Hs&&Ue(i)&&!Ue(o)?i.value=o:(n&&n.call(e,o),i=o),Ua(o))}})}}function yu(e){var t=au(),i;if(t.observable)i=t.observable(e);else{var s=uu(t,{data:{$$state:e}});i=s._data.$$state}return Pt(i,"__ob__")||Qa(i),i}function Qa(e,t){var i,s;if(t===void 0&&(t=new Set),!(t.has(e)||Pt(e,"__ob__")||!Object.isExtensible(e))){cu(e,"__ob__",Py(e)),t.add(e);try{for(var n=iu(Object.keys(e)),r=n.next();!r.done;r=n.next()){var a=r.value,o=e[a];!(Xt(o)||os(o))||ls(o)||!Object.isExtensible(o)||Qa(o,t)}}catch(l){i={error:l}}finally{try{r&&!r.done&&(s=n.return)&&s.call(n)}finally{if(i)throw i.error}}}}function Py(e){return e===void 0&&(e={}),{value:e,dep:{notify:as,depend:as,addSub:as,removeSub:as}}}function Dy(){return yu({}).__ob__}function vu(e){if(!Hn(e))return process.env.NODE_ENV!=="production"&&rt('"reactive()" must be called on an object.'),e;if(!(Xt(e)||os(e))||ls(e)||!Object.isExtensible(e))return e;var t=yu(e);return Ua(t),t}process.env.NODE_ENV!=="production"&&Object.freeze({});function Oy(e,t,i){var s=e.__composition_api_state__=e.__composition_api_state__||{};s[t]=i}function My(e,t){return(e.__composition_api_state__||{})[t]}var Zt={set:Oy,get:My};function By(e,t,i){var s=e.$options.props;!(t in e)&&!(s&&Pt(s,t))?(Ue(i)?je(e,t,{get:function(){return i.value},set:function(n){i.value=n}}):je(e,t,{get:function(){return cs(i)&&i.__ob__.dep.depend(),i},set:function(n){i=n}}),process.env.NODE_ENV!=="production"&&e.$nextTick(function(){Object.keys(e._data).indexOf(t)===-1&&(Ue(i)?je(e._data,t,{get:function(){return i.value},set:function(n){i.value=n}}):je(e._data,t,{get:function(){return i},set:function(n){i=n}}))})):process.env.NODE_ENV!=="production"&&(s&&Pt(s,t)?rt('The setup binding property "'.concat(t,'" is already declared as a prop.'),e):rt('The setup binding property "'.concat(t,'" is already declared.'),e))}function Ry(e){var t=Zt.get(e,"rawBindings")||{};if(!(!t||!Object.keys(t).length)){for(var i=e.$refs,s=Zt.get(e,"refs")||[],n=0;n<s.length;n++){var r=s[n],a=t[r];!i[r]&&a&&Ue(a)&&(a.value=null)}for(var o=Object.keys(i),l=[],n=0;n<o.length;n++){var r=o[n],a=t[r];i[r]&&a&&Ue(a)&&(a.value=i[r],l.push(r))}Zt.set(e,"refs",l)}}function Au(e){for(var t=[e._vnode];t.length;){var i=t.pop();if(i&&(i.context&&Ry(i.context),i.children))for(var s=0;s<i.children.length;++s)t.push(i.children[s])}}function bu(e,t){var i,s;if(!!e){var n=Zt.get(e,"attrBindings");if(!(!n&&!t)){if(!n){var r=vu({});n={ctx:t,data:r},Zt.set(e,"attrBindings",n),je(t,"attrs",{get:function(){return n==null?void 0:n.data},set:function(){process.env.NODE_ENV!=="production"&&rt("Cannot assign to '$attrs' because it is a read-only property",e)}})}var a=e.$attrs,o=function(d){Pt(n.data,d)||je(n.data,d,{get:function(){return e.$attrs[d]}})};try{for(var l=iu(Object.keys(a)),p=l.next();!p.done;p=l.next()){var h=p.value;o(h)}}catch(d){i={error:d}}finally{try{p&&!p.done&&(s=l.return)&&s.call(l)}finally{if(i)throw i.error}}}}}function Cu(e,t){var i=e.$options._parentVnode;if(!!i){for(var s=Zt.get(e,"slots")||[],n=Ty(i.data.scopedSlots,e.$slots),r=0;r<s.length;r++){var a=s[r];n[a]||delete t[a]}for(var o=Object.keys(n),r=0;r<o.length;r++){var a=o[r];t[a]||(t[a]=Iy(e,a))}Zt.set(e,"slots",o)}}function Ga(e,t,i){var s=Fa();ou(e);try{return t(e)}catch(n){if(i)i(n);else throw n}finally{ou(s)}}function Ly(e){e.mixin({beforeCreate:t,mounted:function(){Au(this)},beforeUpdate:function(){bu(this)},updated:function(){Au(this)}});function t(){var a=this,o=a.$options,l=o.setup,p=o.render;if(p&&(o.render=function(){for(var d=this,y=[],x=0;x<arguments.length;x++)y[x]=arguments[x];return Ga(qn(a),function(){return p.apply(d,y)})}),!!l){if(!Si(l)){process.env.NODE_ENV!=="production"&&rt('The "setup" option should be a function that returns a object in component definitions.',a);return}var h=o.data;o.data=function(){return i(a,a.$props),Si(h)?h.call(a,a):h||{}}}}function i(a,o){o===void 0&&(o={});var l=a.$options.setup,p=r(a),h=qn(a);h.setupContext=p,cu(o,"__ob__",Dy()),Cu(a,p.slots);var d;if(Ga(h,function(){d=l(o,p)}),!!d){if(Si(d)){var y=d;a.$options.render=function(){return Cu(a,p.slots),Ga(h,function(){return y()})};return}else if(Hn(d)){cs(d)&&(d=ky(d)),Zt.set(a,"rawBindings",d);var x=d;Object.keys(x).forEach(function(M){var B=x[M];if(!Ue(B))if(cs(B))os(B)&&(B=fu(B));else if(Si(B)){var Z=B;B=B.bind(a),Object.keys(Z).forEach(function(H){B[H]=Z[H]})}else Hn(B)?n(B)&&s(B):B=fu(B);By(a,M,B)});return}process.env.NODE_ENV!=="production"&&ja(!1,'"setup" must return a "Object" or a "Function", got "'.concat(Object.prototype.toString.call(d).slice(8,-1),'"'))}}function s(a,o){if(o===void 0&&(o=new Set),!o.has(a)&&!(!Xt(a)||Ue(a)||cs(a)||ls(a))){var l=Gn(),p=l.util.defineReactive;Object.keys(a).forEach(function(h){var d=a[h];p(a,h,d),d&&(o.add(d),s(d,o))})}}function n(a,o){return o===void 0&&(o=new Map),o.has(a)?o.get(a):(o.set(a,!1),os(a)&&cs(a)?(o.set(a,!0),!0):!Xt(a)||ls(a)||Ue(a)?!1:Object.keys(a).some(function(l){return n(a[l],o)}))}function r(a){var o={slots:{}},l=["root","parent","refs","listeners","isServer","ssrContext"],p=["emit"];return l.forEach(function(h){var d="$".concat(h);je(o,h,{get:function(){return a[d]},set:function(){process.env.NODE_ENV!=="production"&&rt("Cannot assign to '".concat(h,"' because it is a read-only property"),a)}})}),bu(a,o),p.forEach(function(h){var d="$".concat(h);je(o,h,{get:function(){return function(){for(var y=[],x=0;x<arguments.length;x++)y[x]=arguments[x];var M=a[d];M.apply(a,y)}}})}),process.env.NODE_ENV==="test"&&(o._vm=a),o}}function wu(e,t){if(!e)return t;if(!t)return e;for(var i,s,n,r=Ay?Reflect.ownKeys(e):Object.keys(e),a=0;a<r.length;a++)i=r[a],i!=="__ob__"&&(s=t[i],n=e[i],Pt(t,i)?s!==n&&Xt(s)&&!Ue(s)&&Xt(n)&&!Ue(n)&&wu(n,s):t[i]=n);return t}function Fy(e){if(my(e)){process.env.NODE_ENV!=="production"&&rt("[vue-composition-api] already installed. Vue.use(VueCompositionAPI) should be called only once.");return}process.env.NODE_ENV!=="production"&&(e.version?(e.version[0]!=="2"||e.version[1]!==".")&&rt("[vue-composition-api] only works with Vue 2, v".concat(e.version," found.")):rt("[vue-composition-api] no Vue version found")),e.config.optionMergeStrategies.setup=function(t,i){return function(n,r){return wu(Si(t)?t(n,r)||{}:void 0,Si(i)?i(n,r)||{}:void 0)}},gy(e),Ly(e)}var Eu={install:function(e){return Fy(e)}};function yT(e){return e}typeof window<"u"&&window.Vue&&window.Vue.use(Eu);function Vy(e){e=e||Ce,e&&!e.__composition_api_installed__&&e.use(Eu)}Vy(Ce),Ce.version;const jy={name:"TopPopup",props:{showHeader:{default:!0,type:Boolean},titleText:{default:"top-popup",type:String},context:{default:"\u5185\u5BB9",type:String},cancelText:{default:"\u53D6\u6D88",type:String},comfigText:{default:"\u786E\u5B9A",type:String},comfig:{default:null,type:Function},cancel:{default:null,type:Function},isMask:{default:!0,type:Boolean},isMaskClose:{default:!0,type:Boolean},isTips:{default:!1,type:Boolean},isDrawer:{default:!1,type:Boolean},visible:{default:!1,type:Boolean},isIndex:{type:Number},width:{type:String,default:"95vw"},className:{type:String,default:""},appendClass:{type:String,default:""}},data(){return{show:!1,top:0,useHidden:!1}},watch:{visible:{handler(e,t){if(e)this.show=e,document.body.style.position=="fixed"&&document.body.style.overflow=="hidden"?this.useHidden=!0:this.useHidden=!1,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=`${-top}px`,document.body.style.overflow="hidden";else{if(this.useHidden){this.show=e,this.$emit("update:visible",!1);return}else document.body.style.position="",document.body.style.top="",document.body.style.overflow="visible",window.scrollTo(0,this.top);this.show=e,this.$emit("update:visible",!1)}},immediate:!0}},methods:{handleOpen(){this.show=!0,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=-this.top+"px"},handleClose(){document.body.style.position="",document.body.style.top="",window.scrollTo(0,this.top),this.show=!1,this.$emit("update:visible",!1),typeof this.cancel=="function"&&this.cancel()},handleCancel(){typeof this.cancel=="function"&&this.cancel(),this.handleClose()},handleComfig(){typeof this.comfig=="function"&&this.comfig()},isIOS(){let e=navigator.userAgent.includes("iPhone"),t=navigator.userAgent.includes("iPad");return e||t}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el),document.documentElement.scrollTop||document.body.scrollTop})}};var Uy=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"top-popup-zindex",class:e.className,style:`${e.isIndex?`z-index:${e.isIndex}`:""}`},[i("div",{staticClass:"top-popup-mask",style:e.show&&e.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:function(s){e.isMaskClose&&e.handleClose()}}}),!e.isTips&&!e.isDrawer?i("div",{staticClass:"top-popup",style:e.show?"transform: translateY(0)":"transform: translateY(150%)"},[e.showHeader?i("div",{staticClass:"top-popup-header"},[i("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),i("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),i("div",{staticClass:"header-comfig",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])]):e._e(),i("div",{staticClass:"top-popup-body"},[e._t("default")],2)]):!e.isTips&&e.isDrawer?i("div",{staticClass:"top-popup-drawer",class:e.show?"top-popup-drawer--active":"",style:e.width?`width:${e.width};`:""},[i("div",{staticClass:"top-popup-drawer-header"},[i("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" \u5173\u95ED ")]),i("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),i("div",{staticClass:"header-comfig",staticStyle:{width:"20px"}})]),i("div",{staticClass:"top-popup-drawer--body"},[e._t("default")],2)]):e.isTips&&!e.isDrawer?i("div",{staticClass:"top-tips",style:e.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)"},[i("div",{staticClass:"top-tips-header"},[e._v(e._s(e.titleText))]),i("div",{staticClass:"top-tips-body"},[e._v(e._s(e.context))]),i("div",{staticClass:"top-tips-footer"},[i("div",{staticClass:"top-tips-btn",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),i("div",{staticClass:"top-tips-btn",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])])]):e._e()])},Qy=[];const vT="";function ve(e,t,i,s,n,r,a,o){var l=typeof e=="function"?e.options:e;t&&(l.render=t,l.staticRenderFns=i,l._compiled=!0),s&&(l.functional=!0),r&&(l._scopeId="data-v-"+r);var p;if(a?(p=function(y){y=y||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!y&&typeof __VUE_SSR_CONTEXT__<"u"&&(y=__VUE_SSR_CONTEXT__),n&&n.call(this,y),y&&y._registeredComponents&&y._registeredComponents.add(a)},l._ssrRegister=p):n&&(p=o?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),p)if(l.functional){l._injectStyles=p;var h=l.render;l.render=function(x,M){return p.call(M),h(x,M)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,p):[p]}return{exports:e,options:l}}const xu={};var Gy=ve(jy,Uy,Qy,!1,qy,"5fb4d1e1",null,null);function qy(e){for(let t in xu)this[t]=xu[t]}const at=function(){return Gy.exports}(),Hy={name:"PreView",props:{file:{type:String,default:""}},data(){return{url:"",video:["mp4","avi","rmvb"],videoShow:!1}},watch:{file:{handler(e,t){if(e)if(this.video.includes(e.substring(e.lastIndexOf(".")+1)))this.videoShow=!0,this.url=e;else{this.videoShow=!1;let i=e.indexOf("https://")==-1?0:1;this.url=`https://wdyl.ddzg.cn:8089/?ssl=${i}&furl=${e}`}},immediate:!0,deep:!0}}};var Jy=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.url?i("div",{staticStyle:{width:"100%",height:"calc(100% - 40px)"}},[e.videoShow?i("video",{staticStyle:{height:"100%",width:"100%"},attrs:{controls:""}},[i("source",{attrs:{src:e.url,type:"video/mp4"}})]):i("iframe",{staticStyle:{height:"100%",border:"unset",width:"100%"},attrs:{src:e.url}})]):e._e()},Ky=[];const Iu={};var Wy=ve(Hy,Jy,Ky,!1,zy,null,null,null);function zy(e){for(let t in Iu)this[t]=Iu[t]}const Tu=function(){return Wy.exports}(),Yy={name:"preview-image",props:{images:{type:Array,defalut:()=>[]},startPosition:{type:Number,defalut:0},visible:{type:Boolean,defalut:!1},indexd:{type:Number,defalut:0},isOne:{type:Boolean,defalut:!1},isStyle:{type:String,defalut:""}},data(){return{imagesList:[],moveNum:0,flag:!1,windowWidth:0,windowHeight:0,startX:0,startY:0,move:0,startMove:0,maxX:0,duration:"transition-duration: 0.2s;transition-timing-function:ease;",isIndex:1,show:!1,displacement:{scale:1},styleZoom:"",styleOrigin:"",moveX:"-50%",moveY:"-50%",newScaleData:1}},watch:{images:{handler(e,t){this.imagesList=e},immediate:!0,deep:!0},visible:{handler(e,t){this.show=e},immediate:!0},indexd:{handler(e,t){e>=0&&(this.isIndex=e+1,this.move=e*100*-1)},immediate:!0}},methods:{handelTouchstart(e){let t=e.touches,i=t[0],s=t[1];this.displacement.pageX=i.pageX,this.displacement.pageY=i.pageY,this.displacement.moveable=!0,s?(this.displacement.pageX2=s.pageX,this.displacement.pageY2=s.pageY):(this.duration="transition-duration: 0.05s;transition-timing-function:linear",this.windowWidth=(document.documentElement.clientWidth||document.body.clientWidth)/100,this.windowHeight=(document.documentElement.clientHeight||document.body.clientHeight)/100,this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY,this.startMove=this.move),this.displacement.originScale=this.displacement.scale||1},handelTouchmove(e){if(!this.displacement.moveable)return;e.preventDefault();let t=e.touches,i=t[0],s=t[1];if(s){this.displacement.pageX2||(this.displacement.pageX2=s.pageX),this.displacement.pageY2||(this.displacement.pageY2=s.pageY);let n=this.getDistance({x:i.pageX,y:i.pageY},{x:s.pageX,y:s.pageY})/this.getDistance({x:this.displacement.pageX,y:this.displacement.pageY},{x:this.displacement.pageX2,y:this.displacement.pageY2}),r=this.displacement.originScale*n;r<.5?r=.5:r>3&&(r=3),this.displacement.scale=r,this.styleZoom=`scale(${r})`,this.styleOrigin="0 0"}else this.moveX=`calc(${(e.touches[0].clientX-this.startX)/this.displacement.scale}px - 50%)`,this.moveY=`calc(${(e.touches[0].clientY-this.startY)/this.displacement.scale}px - 50%)`},getDistance(e,t){return Math.hypot(t.x-e.x,t.y-e.y)},touchstartView(e){this.isOne||(this.duration="transition-duration: 0.05s;transition-timing-function:linear",this.flag=!0,this.windowWidth=(document.documentElement.clientWidth||document.body.clientWidth)/100,this.startX=e.touches[0].clientX,this.startMove=this.move)},touchmoveView(e){this.isOne||(this.startX>e.touches[0].clientX?this.move<=-((this.imagesList.length-1)*100)?this.move=-((this.imagesList.length-1)*100):this.move=this.startMove+Math.ceil((e.touches[0].clientX-this.startX)/this.windowWidth):this.startX<e.touches[0].clientX&&this.move<0&&(this.move>=0?this.move=0:this.move=this.startMove+Math.ceil((e.touches[0].clientX-this.startX)/this.windowWidth)))},touchendView(){if(this.isOne)return;this.duration="transition-duration: 0.2s;transition-timing-function:ease";let e=Math.floor(Math.abs(this.move/100));Math.abs(this.move/100%1)>.5?(this.isIndex=e+2,this.move=(e+1)*100*-1):(this.isIndex=e+1,this.move=e*100*-1),this.flag=!1},handleClose(){this.$emit("update:visible",!1)}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el)})}};var Xy=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.visible?i("div",{staticClass:"preview-image"},[i("div",{staticClass:"preview-image-mask",on:{click:e.handleClose}}),e.isOne?i("div",{staticClass:"preview-image-view--one",style:`transform:${e.styleZoom} translate(${e.moveX},${e.moveY});${e.duration};${e.styleOrigin?`transformOrigin:${e.styleOrigin}`:""};`,on:{touchstart:e.handelTouchstart,touchmove:e.handelTouchmove}},e._l(e.imagesList,function(s,n){return i("img",{key:n,staticClass:"img-view",attrs:{src:s}})}),0):i("div",{staticClass:"preview-image-view--img",style:`transform: translate(${e.move}%,-50%);${e.duration}`,on:{touchstart:e.touchstartView,touchmove:e.touchmoveView,touchend:e.touchendView}},[i("div",{staticClass:"preview-image-mask",staticStyle:{opacity:"0","z-index":"1"},on:{click:e.handleClose}}),e._l(e.imagesList,function(s,n){return i("img",{key:n,staticClass:"img-view",attrs:{src:s}})})],2),e.isOne?e._e():i("div",{staticClass:"preview-image-view--page"},[i("span",{staticClass:"page-item"},[e._v(e._s(e.isIndex)+"/"+e._s(e.imagesList.length))])]),i("div",{staticClass:"preview-image-view--close"})]):e._e()},Zy=[];const AT="",_u={};var $y=ve(Yy,Xy,Zy,!1,ev,"2d4b6adf",null,null);function ev(e){for(let t in _u)this[t]=_u[t]}const Jn=function(){return $y.exports}(),Nu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAECBJREFUeF7dW21QVFeaPu+53TQEkU+VKKDyIQ4x0k3HuMnsjFbUmcq0hOjKbkpJpVIbQzSx/DH5Mdl/82f9laxGE6tI2FQsJ5sJE60kpVu7zjrZGEVUPoMYV4gogwEUuvnsz3vO1nO9l2qwkb4NuHFvVRcU9L33vM/7vs/7cd5DbHYuYozhg0vov0vGmLJq1apliqLkE1GmoijJqqqmEtF8IkqRUibhBiIallJ6pJRDiqK4VVUdlFL2qKra3tra2skYU8OeyfX34Pn4zOgyFh3LQ6i8vFxbTE1NDRYiysvLlWvXrmVLKbOI6FHO+SIppSawECKBc25ljMVJKeM45/hp0QEICSECRBRgjAWEEEHOuReAEJFbCNHLGLtFRH9tbGzs0kH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AttchList",components:{PreView:Tu,TopPopup:at,PreviewImage:Jn},computed:{del(){return Nu},doc(){return ku},file(){return Su},image(){return Pu},pdf(){return Du},xls(){return Ou},zip(){return Mu}},props:{inList:{type:Array,default:()=>[]}},data(){return{listData:[],imgIcon:["jpg","jpge","png","gif"],docIcon:["doc","docx"],xlsIcon:["xls","xlsx"],zipIcon:["zip","rar","7z"],preList:[],fileUrl:"",visible:!1,visibleImg:!1,lists:[],indexd:0}},watch:{inList:{handler(e,t){if(e.length){this.listData=e,this.lists=[];let i=[];e.map((s,n)=>{this.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())}),i=e.filter(s=>this.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())),i.forEach((s,n)=>{this.lists.push(s.url)})}},immediate:!0,deep:!0}},methods:{viewFile(e){this.imgIcon.includes(e.url.substring(e.url.lastIndexOf(".")+1).toLowerCase())?(this.visibleImg=!0,this.indexd=this.lists.indexOf(e.url)):(this.fileUrl=e.url,this.visible=!0)},loadFile(e){var t;if(rl.default.hasNativeMethod("vueUpLoadFile"))rl.default.call("vueUpLoadFile",e.url);else{if(typeof nativeMethod<"u"&&(nativeMethod==null?void 0:nativeMethod.vueUpLoadFile))return nativeMethod.vueUpLoadFile(e.url),!1;const i=document.createElement("a");i.download=(t=e.url)==null?void 0:t.match(/([^\/]+)$/g)[0],i.href=e.url,i.click()}}}};var iv=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-wrap"},[e.listData.length>0?i("div",{staticClass:"attch-list"},e._l(e.listData,function(s,n){return i("div",{key:s.id,staticClass:"list-items"},[i("div",{staticClass:"list-items-icon"},[e.xlsIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.xls}}):e.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.image}}):s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?i("img",{staticClass:"icon-img",attrs:{src:e.pdf}}):e.docIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.doc}}):e.zipIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.zip}}):i("img",{staticClass:"icon-img",attrs:{src:e.file}})]),i("div",{staticClass:"list-items-info",on:{click:function(r){return e.viewFile(s)}}},[i("div",{staticClass:"info-name"},[i("span",{staticClass:"info-name-text"},[e._v(e._s(s.name))])]),i("div",{staticClass:"info-attribute"},[i("span",{staticClass:"info-attribute-time"},[e._v(e._s(s.uploadTime))]),i("span",{staticClass:"info-attribute-size"},[e._v(e._s(s.size<1024?s.size:s.size/1024>1024?parseFloat((s.size/1024/1024).toFixed(2)):parseFloat((s.size/1024).toFixed(2)))+e._s(s.size<1024?"b":parseFloat((s.size/1024).toFixed(2))<1024?"kb":"M")+" ")])])]),i("div",{staticClass:"list-items-download",on:{click:function(r){return e.loadFile(s)}}},[i("span",{staticClass:"download-text"},[e._v("\u4E0B\u8F7D")])])])}),0):i("div",{staticClass:"attch-list"},[e._m(0)]),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},on:{"update:visible":function(s){return e.visible=s}}},[i("PreView",{attrs:{file:e.fileUrl}})],1),i("PreviewImage",{attrs:{images:e.lists,visible:e.visibleImg,indexd:e.indexd},on:{"update:visible":function(s){return e.visibleImg=s}}})],1)},sv=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"attch-list--white"},[i("div",{staticClass:"attch-list--label"},[e._v("\u6682\u65E0\u9644\u4EF6")])])}];const bT="",Bu={};var nv=ve(tv,iv,sv,!1,rv,"7ee87e48",null,null);function rv(e){for(let t in Bu)this[t]=Bu[t]}const Ru=function(){return nv.exports}();function Dt(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}const Js=Object.prototype.toString,av=Object.prototype.hasOwnProperty;function qa(e){return e===void 0}function us(e){return e!==void 0}function Lu(e){return e==null}function wt(e){return Js.call(e)==="[object Array]"}function Pi(e){return Js.call(e)==="[object Object]"}function $t(e){return Js.call(e)==="[object Number]"}function ei(e){const t=Js.call(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object AsyncGeneratorFunction]"||t==="[object Proxy]"}function Et(e){return Js.call(e)==="[object String]"}function ps(e,t){return!Lu(e)&&av.call(e,t)}function xt(e,t){const i=Ha(t);let s;return G(e,function(n,r){if(i(n,r))return s=n,!1}),s}function ov(e,t){const i=Ha(t);let s=wt(e)?-1:void 0;return G(e,function(n,r){if(i(n,r))return s=r,!1}),s}function ds(e,t){const i=Ha(t);let s=[];return G(e,function(n,r){i(n,r)&&s.push(n)}),s}function G(e,t){let i,s;if(qa(e))return;const n=wt(e)?uv:cv;for(let r in e)if(ps(e,r)&&(i=e[r],s=t(i,n(r)),s===!1))return i}function hs(e,t,i){return G(e,function(s,n){i=t(i,s,n)}),i}function Fu(e,t){return!!hs(e,function(i,s,n){return i&&t(s,n)},!0)}function Vu(e,t){return!!xt(e,t)}function lv(e,t){let i=[];return G(e,function(s,n){i.push(t(s,n))}),i}function ju(e){return function(t){return Fu(e,function(i,s){return t[s]===i})}}function Ha(e){return ei(e)?e:t=>t===e}function cv(e){return e}function uv(e){return Number(e)}function pv(e,t){let i,s,n,r;function a(d){let y=Date.now(),x=d?0:r+t-y;if(x>0)return o(x);e.apply(n,s),l()}function o(d){i=setTimeout(a,d)}function l(){i&&clearTimeout(i),i=r=s=n=void 0}function p(){i&&a(!0),l()}function h(...d){r=Date.now(),s=d,n=this,i||o(t)}return h.flush=p,h.cancel=l,h}function ti(e,t){return e.bind(t)}function X(e,...t){return Object.assign(e,...t)}function dv(e,t,i){let s=e;return G(t,function(n,r){if(typeof n!="number"&&typeof n!="string")throw new Error("illegal key type: "+typeof n+". Key should be of type number or string.");if(n==="constructor")throw new Error("illegal key: constructor");if(n==="__proto__")throw new Error("illegal key: __proto__");let a=t[r+1],o=s[n];us(a)&&Lu(o)&&(o=s[n]=isNaN(+a)?{}:[]),qa(a)?qa(i)?delete s[n]:s[n]=i:s=o}),e}function hv(e,t){let i={},s=Object(e);return G(t,function(n){n in s&&(i[n]=e[n])}),i}function fv(e,t){let i={},s=Object(e);return G(s,function(n,r){t.indexOf(r)===-1&&(i[r]=n)}),i}var mv=1e3;function Ut(e,t){var i=this;t=t||mv,e.on(["render.shape","render.connection"],t,function(s,n){var r=s.type,a=n.element,o=n.gfx,l=n.attrs;if(i.canRender(a))return r==="render.shape"?i.drawShape(o,a,l):i.drawConnection(o,a,l)}),e.on(["render.getShapePath","render.getConnectionPath"],t,function(s,n){if(i.canRender(n))return s.type==="render.getShapePath"?i.getShapePath(n):i.getConnectionPath(n)})}Ut.prototype.canRender=function(e){},Ut.prototype.drawShape=function(e,t){},Ut.prototype.drawConnection=function(e,t){},Ut.prototype.getShapePath=function(e){},Ut.prototype.getConnectionPath=function(e){};function K(e,t){var i=we(e);return i&&typeof i.$instanceOf=="function"&&i.$instanceOf(t)}function gv(e,t){return Vu(t,function(i){return K(e,i)})}function we(e){return e&&e.businessObject||e}function Di(e){return e&&e.di}function Oi(e,t){return K(e,"bpmn:CallActivity")?!1:K(e,"bpmn:SubProcess")?(t=t||Di(e),t&&K(t,"bpmndi:BPMNPlane")?!0:t&&!!t.isExpanded):K(e,"bpmn:Participant")?!!we(e).processRef:!0}function Uu(e){if(!(!K(e,"bpmn:Participant")&&!K(e,"bpmn:Lane"))){var t=Di(e).isHorizontal;return t===void 0?!0:t}}function yv(e){return e&&!!we(e).triggeredByEvent}function vv(e){return Pi(e)&&ps(e,"waypoints")}var Kn={width:90,height:20},Qu=15;function Av(e){return K(e,"bpmn:Event")||K(e,"bpmn:Gateway")||K(e,"bpmn:DataStoreReference")||K(e,"bpmn:DataObjectReference")||K(e,"bpmn:DataInput")||K(e,"bpmn:DataOutput")||K(e,"bpmn:SequenceFlow")||K(e,"bpmn:MessageFlow")||K(e,"bpmn:Group")}function bv(e){var t=e.length/2-1,i=e[Math.floor(t)],s=e[Math.ceil(t+.01)],n=Cv(e),r=Math.atan((s.y-i.y)/(s.x-i.x)),a=n.x,o=n.y;return Math.abs(r)<Math.PI/2?o-=Qu:a+=Qu,{x:a,y:o}}function Cv(e){var t=e.length/2-1,i=e[Math.floor(t)],s=e[Math.ceil(t+.01)];return{x:i.x+(s.x-i.x)/2,y:i.y+(s.y-i.y)/2}}function wv(e){return e.waypoints?bv(e.waypoints):K(e,"bpmn:Group")?{x:e.x+e.width/2,y:e.y+Kn.height/2}:{x:e.x+e.width/2,y:e.y+e.height+Kn.height/2}}function Ev(e,t){var i,s,n,r=e.label;return r&&r.bounds?(n=r.bounds,s={width:Math.max(Kn.width,n.width),height:n.height},i={x:n.x+n.width/2,y:n.y+n.height/2}):(i=wv(t),s=Kn),X({x:i.x-s.width/2,y:i.y-s.height/2},s)}function xv(e){if(K(e,"bpmn:FlowElement")||K(e,"bpmn:Participant")||K(e,"bpmn:Lane")||K(e,"bpmn:SequenceFlow")||K(e,"bpmn:MessageFlow")||K(e,"bpmn:DataInput")||K(e,"bpmn:DataOutput"))return"name";if(K(e,"bpmn:TextAnnotation"))return"text";if(K(e,"bpmn:Group"))return"categoryValueRef"}function Iv(e){var t=e.categoryValueRef;return t&&t.value||""}function Wn(e){var t=e.businessObject,i=xv(t);if(i)return i==="categoryValueRef"?Iv(t):t[i]||""}function Tv(e,t){if(e.ownerDocument!==t.ownerDocument)try{return t.ownerDocument.importNode(e,!0)}catch{}return e}function Gu(e,t){return t.appendChild(Tv(e,t))}function Ee(e,t){return Gu(t,e),e}var Ja=2,qu={"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":Ja,"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":Ja,"text-anchor":1,"text-decoration":1,"text-rendering":1,"unicode-bidi":1,visibility:1,"word-spacing":1,"writing-mode":1};function _v(e,t){return qu[t]?e.style[t]:e.getAttributeNS(null,t)}function Hu(e,t,i){var s=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),n=qu[s];n?(n===Ja&&typeof i=="number"&&(i=String(i)+"px"),e.style[s]=i):e.setAttributeNS(null,t,i)}function Nv(e,t){var i=Object.keys(t),s,n;for(s=0,n;n=i[s];s++)Hu(e,n,t[n])}function he(e,t,i){if(typeof t=="string")if(i!==void 0)Hu(e,t,i);else return _v(e,t);else Nv(e,t);return e}const kv=Object.prototype.toString;function ot(e){return new ii(e)}function ii(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}ii.prototype.add=function(e){return this.list.add(e),this},ii.prototype.remove=function(e){return kv.call(e)=="[object RegExp]"?this.removeMatching(e):(this.list.remove(e),this)},ii.prototype.removeMatching=function(e){const t=this.array();for(let i=0;i<t.length;i++)e.test(t[i])&&this.remove(t[i]);return this},ii.prototype.toggle=function(e,t){return typeof t<"u"?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this},ii.prototype.array=function(){return Array.from(this.list)},ii.prototype.has=ii.prototype.contains=function(e){return this.list.contains(e)};function Ju(e){for(var t;t=e.firstChild;)e.removeChild(t);return e}var Ka={svg:"http://www.w3.org/2000/svg"},Ku='<svg xmlns="'+Ka.svg+'"';function Wu(e){var t=!1;e.substring(0,4)==="<svg"?e.indexOf(Ka.svg)===-1&&(e=Ku+e.substring(4)):(e=Ku+">"+e+"</svg>",t=!0);var i=Sv(e);if(!t)return i;for(var s=document.createDocumentFragment(),n=i.firstChild;n.firstChild;)s.appendChild(n.firstChild);return s}function Sv(e){var t;return t=new DOMParser,t.async=!1,t.parseFromString(e,"text/xml")}function ge(e,t){var i;return e=e.trim(),e.charAt(0)==="<"?(i=Wu(e).firstChild,i=document.importNode(i,!0)):i=document.createElementNS(Ka.svg,e),t&&he(i,t),i}var Wa=null;function za(){return Wa===null&&(Wa=ge("svg")),Wa}function zu(e,t){var i,s,n=Object.keys(t);for(i=0;s=n[i];i++)e[s]=t[s];return e}function Pv(e,t,i,s,n,r){var a=za().createSVGMatrix();switch(arguments.length){case 0:return a;case 1:return zu(a,e);case 6:return zu(a,{a:e,b:t,c:i,d:s,e:n,f:r})}}function Ks(e){return e?za().createSVGTransformFromMatrix(e):za().createSVGTransform()}var Yu=/([&<>]{1})/g,Dv=/([&<>\n\r"]{1})/g,Ov={"&":"&","<":"<",">":">",'"':"'"};function Ya(e,t){function i(s,n){return Ov[n]||n}return e.replace(t,i)}function Xu(e,t){var i,s,n,r,a;switch(e.nodeType){case 3:t.push(Ya(e.textContent,Yu));break;case 1:if(t.push("<",e.tagName),e.hasAttributes())for(n=e.attributes,i=0,s=n.length;i<s;++i)r=n.item(i),t.push(" ",r.name,'="',Ya(r.value,Dv),'"');if(e.hasChildNodes()){for(t.push(">"),a=e.childNodes,i=0,s=a.length;i<s;++i)Xu(a.item(i),t);t.push("</",e.tagName,">")}else t.push("/>");break;case 8:t.push("<!--",Ya(e.nodeValue,Yu),"-->");break;case 4:t.push("<![CDATA[",e.nodeValue,"]]>");break;default:throw new Error("unable to handle node "+e.nodeType)}return t}function Mv(e,t){var i=Wu(t);if(Ju(e),!!t){Rv(i)||(i=i.documentElement);for(var s=Lv(i.childNodes),n=0;n<s.length;n++)Gu(s[n],e)}}function Bv(e){for(var t=e.firstChild,i=[];t;)Xu(t,i),t=t.nextSibling;return i.join("")}function Rv(e){return e.nodeName==="#document-fragment"}function Zu(e,t){if(t!==void 0){try{Mv(e,t)}catch(i){throw new Error("error parsing SVG: "+i.message)}return e}else return Bv(e)}function Lv(e){return Array.prototype.slice.call(e)}function Ws(e){var t=e.parentNode;return t&&t.removeChild(e),e}function Fv(e,t){return t instanceof SVGMatrix?e.createSVGTransformFromMatrix(t):t}function Vv(e,t){var i,s;for(e.clear(),i=0;s=t[i];i++)e.appendItem(Fv(e,s))}function zs(e,t){var i=e.transform.baseVal;return t&&(Array.isArray(t)||(t=[t]),Vv(i,t)),i.consolidate()}function Mi(e){return e.flat().join(",").replace(/,?([A-z]),?/g,"$1")}function jv(e){return["M",e.x,e.y]}function Xa(e){return["L",e.x,e.y]}function Uv(e,t,i){return["C",e.x,e.y,t.x,t.y,i.x,i.y]}function Qv(e,t){const i=e.length,s=[jv(e[0])];for(let n=1;n<i;n++){const r=e[n-1],a=e[n],o=e[n+1];if(!o||!t){s.push(Xa(a));continue}const l=Math.min(t,Za(a.x-r.x,a.y-r.y),Za(o.x-a.x,o.y-a.y));if(!l){s.push(Xa(a));continue}const p=zn(a,r,l),h=zn(a,r,l*.5),d=zn(a,o,l),y=zn(a,o,l*.5);s.push(Xa(p)),s.push(Uv(h,y,d))}return s}function zn(e,t,i){const s=t.x-e.x,n=t.y-e.y,r=Za(s,n),a=i/r;return{x:e.x+s*a,y:e.y+n*a}}function Za(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}function $a(e,t,i){$t(t)&&(i=t,t=null),t||(t={});const s=ge("path",t);return $t(i)&&(s.dataset.cornerRadius=String(i)),$u(s,e)}function $u(e,t){const i=parseInt(e.dataset.cornerRadius,10)||0;return he(e,{d:Mi(Qv(t,i))}),e}var eo="hsl(225, 10%, 15%)",Gv="white";function Ot(e,t){return Vu(e.eventDefinitions,function(i){return i.$type===t})}function qv(e){return e.$type==="bpmn:IntermediateThrowEvent"||e.$type==="bpmn:EndEvent"}function Hv(e){var t=e.dataObjectRef;return e.isCollection||t&&t.isCollection}function se(e,t,i){var s=Di(e);return i||s.get("color:background-color")||s.get("bioc:fill")||t||Gv}function j(e,t,i){var s=Di(e);return i||s.get("color:border-color")||s.get("bioc:stroke")||t||eo}function Ys(e,t,i,s){var n=Di(e),r=n.get("label");return s||r&&r.get("color:color")||t||j(e,i)}function Jv(e){var t=e.x+e.width/2,i=e.y+e.height/2,s=e.width/2,n=[["M",t,i],["m",0,-s],["a",s,s,0,1,1,0,2*s],["a",s,s,0,1,1,0,-2*s],["z"]];return Mi(n)}function Kv(e,t){var i=e.x,s=e.y,n=e.width,r=e.height,a=[["M",i+t,s],["l",n-t*2,0],["a",t,t,0,0,1,t,t],["l",0,r-t*2],["a",t,t,0,0,1,-t,t],["l",t*2-n,0],["a",t,t,0,0,1,-t,-t],["l",0,t*2-r],["a",t,t,0,0,1,t,-t],["z"]];return Mi(a)}function Wv(e){var t=e.width,i=e.height,s=e.x,n=e.y,r=t/2,a=i/2,o=[["M",s+r,n],["l",r,a],["l",-r,a],["l",-r,-a],["z"]];return Mi(o)}function zv(e){var t=e.x,i=e.y,s=e.width,n=e.height,r=[["M",t,i],["l",s,0],["l",0,n],["l",-s,0],["z"]];return Mi(r)}function Xs(e,t={}){return{width:ft(e,t),height:Ye(e,t)}}function ft(e,t={}){return ps(t,"width")?t.width:e.width}function Ye(e,t={}){return ps(t,"height")?t.height:e.height}function Yv(e,t){return t.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(s){if(s!=="default"&&!(s in e)){var n=Object.getOwnPropertyDescriptor(i,s);Object.defineProperty(e,s,n.get?n:{enumerable:!0,get:function(){return i[s]}})}})}),Object.freeze(e)}const Xv=Object.prototype.toString,Zv=Object.prototype.hasOwnProperty;function $v(e){return e===void 0}function eA(e){return Xv.call(e)==="[object Array]"}function tA(e,t){return Zv.call(e,t)}function ep(e,t){let i,s;if($v(e))return;const n=eA(e)?sA:iA;for(let r in e)if(tA(e,r)&&(i=e[r],s=t(i,n(r)),s===!1))return i}function iA(e){return e}function sA(e){return Number(e)}function Me(e,...t){const i=e.style;return ep(t,function(s){!s||ep(s,function(n,r){i[r]=n})}),e}function tp(e,t,i){return arguments.length==2?e.getAttribute(t):i===null?e.removeAttribute(t):(e.setAttribute(t,i),e)}const nA=Object.prototype.toString;function Bi(e){return new si(e)}function si(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}si.prototype.add=function(e){return this.list.add(e),this},si.prototype.remove=function(e){return nA.call(e)=="[object RegExp]"?this.removeMatching(e):(this.list.remove(e),this)},si.prototype.removeMatching=function(e){const t=this.array();for(let i=0;i<t.length;i++)e.test(t[i])&&this.remove(t[i]);return this},si.prototype.toggle=function(e,t){return typeof t<"u"?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this},si.prototype.array=function(){return Array.from(this.list)},si.prototype.has=si.prototype.contains=function(e){return this.list.contains(e)};function ip(e){for(var t;t=e.firstChild;)e.removeChild(t);return e}function sp(e,t,i){var s=i?e:e.parentNode;return s&&typeof s.closest=="function"&&s.closest(t)||null}var Yn={},Xn,to,io;function np(){Xn=window.addEventListener?"addEventListener":"attachEvent",to=window.removeEventListener?"removeEventListener":"detachEvent",io=Xn!=="addEventListener"?"on":""}var rA=Yn.bind=function(e,t,i,s){return Xn||np(),e[Xn](io+t,i,s||!1),i},aA=Yn.unbind=function(e,t,i,s){return to||np(),e[to](io+t,i,s||!1),i},Ri=Yv({__proto__:null,bind:rA,unbind:aA,default:Yn},[Yn]),rp=["focus","blur"];function oA(e,t,i,s,n){return rp.indexOf(i)!==-1&&(n=!0),Ri.bind(e,i,function(r){var a=r.target||r.srcElement;r.delegateTarget=sp(a,t,!0),r.delegateTarget&&s.call(e,r)},n)}function lA(e,t,i,s){return rp.indexOf(t)!==-1&&(s=!0),Ri.unbind(e,t,i,s)}var fs={bind:oA,unbind:lA},cA=uA,ap=!1,Zn;typeof document<"u"&&(Zn=document.createElement("div"),Zn.innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',ap=!Zn.getElementsByTagName("link").length,Zn=void 0);var Te={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:ap?[1,"X<div>","</div>"]:[0,"",""]};Te.td=Te.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],Te.option=Te.optgroup=[1,'<select multiple="multiple">',"</select>"],Te.thead=Te.tbody=Te.colgroup=Te.caption=Te.tfoot=[1,"<table>","</table>"],Te.polyline=Te.ellipse=Te.polygon=Te.circle=Te.text=Te.line=Te.path=Te.rect=Te.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"];function uA(e,t){if(typeof e!="string")throw new TypeError("String expected");t||(t=document);var i=/<([\w:]+)/.exec(e);if(!i)return t.createTextNode(e);e=e.replace(/^\s+|\s+$/g,"");var s=i[1];if(s=="body"){var l=t.createElement("html");return l.innerHTML=e,l.removeChild(l.lastChild)}var n=Object.prototype.hasOwnProperty.call(Te,s)?Te[s]:Te._default,r=n[0],a=n[1],o=n[2],l=t.createElement("div");for(l.innerHTML=a+e+o;r--;)l=l.lastChild;if(l.firstChild==l.lastChild)return l.removeChild(l.firstChild);for(var p=t.createDocumentFragment();l.firstChild;)p.appendChild(l.removeChild(l.firstChild));return p}var lt=cA;function It(e,t){return t=t||document,t.querySelector(e)}function pA(e,t){return t=t||document,t.querySelectorAll(e)}function ms(e){e.parentNode&&e.parentNode.removeChild(e)}function so(e,t,i,s,n){var r=Ks();r.setTranslate(t,i);var a=Ks();a.setRotate(s||0,0,0);var o=Ks();o.setScale(n||1,n||1),zs(e,[r,a,o])}function op(e,t,i){var s=Ks();s.setTranslate(t,i),zs(e,s)}function dA(e,t){var i=Ks();i.setRotate(t,0,0),zs(e,i)}function hA(e,t){return t={exports:{}},e(t,t.exports),t.exports}var fA=hA(function(e){var t=e.exports=function(i,s){if(s||(s=16),i===void 0&&(i=128),i<=0)return"0";for(var n=Math.log(Math.pow(2,i))/Math.log(s),r=2;n===1/0;r*=2)n=Math.log(Math.pow(2,i/r))/Math.log(s)*r;for(var a=n-Math.floor(n),o="",r=0;r<Math.floor(n);r++){var l=Math.floor(Math.random()*s).toString(s);o=l+o}if(a){var p=Math.pow(s,a),l=Math.floor(Math.random()*p).toString(s);o=l+o}var h=parseInt(o,s);return h!==1/0&&h>=Math.pow(2,i)?t(i,s):o};t.rack=function(i,s,n){var r=function(o){var l=0;do{if(l++>10)if(n)i+=n;else throw new Error("too many ID collisions, use more bits");var p=t(i,s)}while(Object.hasOwnProperty.call(a,p));return a[p]=o,p},a=r.hats={};return r.get=function(o){return r.hats[o]},r.set=function(o,l){return r.hats[o]=l,r},r.bits=i||128,r.base=s||16,r}});function Qt(e){if(!(this instanceof Qt))return new Qt(e);e=e||[128,36,1],this._seed=e.length?fA.rack(e[0],e[1],e[2]):e}Qt.prototype.next=function(e){return this._seed(e||!0)},Qt.prototype.nextPrefixed=function(e,t){var i;do i=e+this.next(!0);while(this.assigned(i));return this.claim(i,t),i},Qt.prototype.claim=function(e,t){this._seed.set(e,t||!0)},Qt.prototype.assigned=function(e){return this._seed.get(e)||!1},Qt.prototype.unclaim=function(e){delete this._seed.hats[e]},Qt.prototype.clear=function(){var e=this._seed.hats,t;for(t in e)this.unclaim(t)};var mA=new Qt,gA=10,$n=3,yA=1.5,er=10,gs=.95,vA=1,AA=.25;function Li(e,t,i,s,n,r,a){Ut.call(this,t,a);var o=e&&e.defaultFillColor,l=e&&e.defaultStrokeColor,p=e&&e.defaultLabelColor,h=mA.next(),d={};function y(f){return i.computeStyle(f,{strokeLinecap:"round",strokeLinejoin:"round",stroke:eo,strokeWidth:2,fill:"white"})}function x(f){return i.computeStyle(f,["no-fill"],{strokeLinecap:"round",strokeLinejoin:"round",stroke:eo,strokeWidth:2})}function M(f,c){var{ref:u={x:0,y:0},scale:m=1,element:A}=c,T=ge("marker",{id:f,viewBox:"0 0 20 20",refX:u.x,refY:u.y,markerWidth:20*m,markerHeight:20*m,orient:"auto"});Ee(T,A);var J=It("defs",n._svg);J||(J=ge("defs"),Ee(n._svg,J)),Ee(J,T),d[f]=T}function B(f){return f.replace(/[^0-9a-zA-Z]+/g,"_")}function Z(f,c,u){var m=f+"-"+B(c)+"-"+B(u)+"-"+h;return d[m]||H(m,f,c,u),"url(#"+m+")"}function H(f,c,u,m){if(c==="sequenceflow-end"){var A=ge("path",{d:"M 1 5 L 11 10 L 1 15 Z",...y({fill:m,stroke:m,strokeWidth:1})});M(f,{element:A,ref:{x:11,y:10},scale:.5})}if(c==="messageflow-start"){var T=ge("circle",{cx:6,cy:6,r:3.5,...y({fill:u,stroke:m,strokeWidth:1,strokeDasharray:[1e4,1]})});M(f,{element:T,ref:{x:6,y:6}})}if(c==="messageflow-end"){var J=ge("path",{d:"m 1 5 l 0 -3 l 7 3 l -7 3 z",...y({fill:u,stroke:m,strokeWidth:1,strokeDasharray:[1e4,1]})});M(f,{element:J,ref:{x:8.5,y:5}})}if(c==="association-start"){var ce=ge("path",{d:"M 11 5 L 1 10 L 11 15",...x({fill:"none",stroke:m,strokeWidth:1.5,strokeDasharray:[1e4,1]})});M(f,{element:ce,ref:{x:1,y:10},scale:.5})}if(c==="association-end"){var le=ge("path",{d:"M 1 5 L 11 10 L 1 15",...x({fill:"none",stroke:m,strokeWidth:1.5,strokeDasharray:[1e4,1]})});M(f,{element:le,ref:{x:11,y:10},scale:.5})}if(c==="conditional-flow-marker"){var ue=ge("path",{d:"M 0 10 L 8 6 L 16 10 L 8 14 Z",...y({fill:u,stroke:m})});M(f,{element:ue,ref:{x:-1,y:10},scale:.5})}if(c==="conditional-default-flow-marker"){var ke=ge("path",{d:"M 6 4 L 10 16",...y({stroke:m})});M(f,{element:ke,ref:{x:0,y:10},scale:.5})}}function U(f,c,u,m,A={}){Pi(m)&&(A=m,m=0),m=m||0,A=y(A);var T=c/2,J=u/2,ce=ge("circle",{cx:T,cy:J,r:Math.round((c+u)/4-m),...A});return Ee(f,ce),ce}function N(f,c,u,m,A,T){Pi(A)&&(T=A,A=0),A=A||0,T=y(T);var J=ge("rect",{x:A,y:A,width:c-A*2,height:u-A*2,rx:m,ry:m,...T});return Ee(f,J),J}function E(f,c,u,m){var A=c/2,T=u/2,J=[{x:A,y:0},{x:c,y:T},{x:A,y:u},{x:0,y:T}],ce=J.map(function(ue){return ue.x+","+ue.y}).join(" ");m=y(m);var le=ge("polygon",{...m,points:ce});return Ee(f,le),le}function P(f,c,u,m){u=x(u);var A=$a(c,u,m);return Ee(f,A),A}function S(f,c,u){return P(f,c,u,5)}function k(f,c,u){u=x(u);var m=ge("path",{...u,d:c});return Ee(f,m),m}function _(f,c,u,m){return k(c,u,X({"data-marker":f},m))}function V(f){return ne[f]}function D(f){return function(c,u,m){return V(f)(c,u,m)}}var F={"bpmn:MessageEventDefinition":function(f,c,u={},m){var A=s.getScaledPath("EVENT_MESSAGE",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:c.width,containerHeight:c.height,position:{mx:.235,my:.315}}),T=m?j(c,l,u.stroke):se(c,o,u.fill),J=m?se(c,o,u.fill):j(c,l,u.stroke),ce=k(f,A,{fill:T,stroke:J,strokeWidth:1});return ce},"bpmn:TimerEventDefinition":function(f,c,u={}){var m=U(f,c.width,c.height,.2*c.height,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:2}),A=s.getScaledPath("EVENT_TIMER_WH",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.5}});k(f,A,{stroke:j(c,l,u.stroke),strokeWidth:2});for(var T=0;T<12;T++){var J=s.getScaledPath("EVENT_TIMER_LINE",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.5}}),ce=c.width/2,le=c.height/2;k(f,J,{strokeWidth:1,stroke:j(c,l,u.stroke),transform:"rotate("+T*30+","+le+","+ce+")"})}return m},"bpmn:EscalationEventDefinition":function(f,c,u={},m){var A=s.getScaledPath("EVENT_ESCALATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.2}}),T=m?j(c,l,u.stroke):se(c,o,u.fill);return k(f,A,{fill:T,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:ConditionalEventDefinition":function(f,c,u={}){var m=s.getScaledPath("EVENT_CONDITIONAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.222}});return k(f,m,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:LinkEventDefinition":function(f,c,u={},m){var A=s.getScaledPath("EVENT_LINK",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.57,my:.263}}),T=m?j(c,l,u.stroke):se(c,o,u.fill);return k(f,A,{fill:T,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:ErrorEventDefinition":function(f,c,u={},m){var A=s.getScaledPath("EVENT_ERROR",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:c.width,containerHeight:c.height,position:{mx:.2,my:.722}}),T=m?j(c,l,u.stroke):se(c,o,u.fill);return k(f,A,{fill:T,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:CancelEventDefinition":function(f,c,u={},m){var A=s.getScaledPath("EVENT_CANCEL_45",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.638,my:-.055}}),T=m?j(c,l,u.stroke):"none",J=k(f,A,{fill:T,stroke:j(c,l,u.stroke),strokeWidth:1});return dA(J,45),J},"bpmn:CompensateEventDefinition":function(f,c,u={},m){var A=s.getScaledPath("EVENT_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.22,my:.5}}),T=m?j(c,l,u.stroke):se(c,o,u.fill);return k(f,A,{fill:T,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:SignalEventDefinition":function(f,c,u={},m){var A=s.getScaledPath("EVENT_SIGNAL",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.2}}),T=m?j(c,l,u.stroke):se(c,o,u.fill);return k(f,A,{strokeWidth:1,fill:T,stroke:j(c,l,u.stroke)})},"bpmn:MultipleEventDefinition":function(f,c,u={},m){var A=s.getScaledPath("EVENT_MULTIPLE",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:c.width,containerHeight:c.height,position:{mx:.222,my:.36}}),T=m?j(c,l,u.stroke):se(c,o,u.fill);return k(f,A,{fill:T,strokeWidth:1})},"bpmn:ParallelMultipleEventDefinition":function(f,c,u={}){var m=s.getScaledPath("EVENT_PARALLEL_MULTIPLE",{xScaleFactor:1.2,yScaleFactor:1.2,containerWidth:c.width,containerHeight:c.height,position:{mx:.458,my:.194}});return k(f,m,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:TerminateEventDefinition":function(f,c,u={}){var m=U(f,c.width,c.height,8,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:4});return m}};function L(f,c,u={}){var m=we(f),A=qv(m);return m.get("eventDefinitions")&&m.get("eventDefinitions").length>1?m.get("parallelMultiple")?F["bpmn:ParallelMultipleEventDefinition"](c,f,u,A):F["bpmn:MultipleEventDefinition"](c,f,u,A):Ot(m,"bpmn:MessageEventDefinition")?F["bpmn:MessageEventDefinition"](c,f,u,A):Ot(m,"bpmn:TimerEventDefinition")?F["bpmn:TimerEventDefinition"](c,f,u,A):Ot(m,"bpmn:ConditionalEventDefinition")?F["bpmn:ConditionalEventDefinition"](c,f,u,A):Ot(m,"bpmn:SignalEventDefinition")?F["bpmn:SignalEventDefinition"](c,f,u,A):Ot(m,"bpmn:EscalationEventDefinition")?F["bpmn:EscalationEventDefinition"](c,f,u,A):Ot(m,"bpmn:LinkEventDefinition")?F["bpmn:LinkEventDefinition"](c,f,u,A):Ot(m,"bpmn:ErrorEventDefinition")?F["bpmn:ErrorEventDefinition"](c,f,u,A):Ot(m,"bpmn:CancelEventDefinition")?F["bpmn:CancelEventDefinition"](c,f,u,A):Ot(m,"bpmn:CompensateEventDefinition")?F["bpmn:CompensateEventDefinition"](c,f,u,A):Ot(m,"bpmn:TerminateEventDefinition")?F["bpmn:TerminateEventDefinition"](c,f,u,A):null}var q={ParticipantMultiplicityMarker:function(f,c,u={}){var m=ft(c,u),A=Ye(c,u),T=s.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:m,containerHeight:A,position:{mx:(m/2-6)/m,my:(A-15)/A}});_("participant-multiplicity",f,T,{strokeWidth:2,fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})},SubProcessMarker:function(f,c,u={}){var m=N(f,14,14,0,{strokeWidth:1,fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)});op(m,c.width/2-7.5,c.height-20);var A=s.getScaledPath("MARKER_SUB_PROCESS",{xScaleFactor:1.5,yScaleFactor:1.5,containerWidth:c.width,containerHeight:c.height,position:{mx:(c.width/2-7.5)/c.width,my:(c.height-20)/c.height}});_("sub-process",f,A,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})},ParallelMarker:function(f,c,u){var m=ft(c,u),A=Ye(c,u),T=s.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:m,containerHeight:A,position:{mx:(m/2+u.parallel)/m,my:(A-20)/A}});_("parallel",f,T,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})},SequentialMarker:function(f,c,u){var m=s.getScaledPath("MARKER_SEQUENTIAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:(c.width/2+u.seq)/c.width,my:(c.height-19)/c.height}});_("sequential",f,m,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})},CompensationMarker:function(f,c,u){var m=s.getScaledPath("MARKER_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:(c.width/2+u.compensation)/c.width,my:(c.height-13)/c.height}});_("compensation",f,m,{strokeWidth:1,fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})},LoopMarker:function(f,c,u){var m=ft(c,u),A=Ye(c,u),T=s.getScaledPath("MARKER_LOOP",{xScaleFactor:1,yScaleFactor:1,containerWidth:m,containerHeight:A,position:{mx:(m/2+u.loop)/m,my:(A-7)/A}});_("loop",f,T,{strokeWidth:1.5,fill:"none",stroke:j(c,l,u.stroke),strokeMiterlimit:.5})},AdhocMarker:function(f,c,u){var m=ft(c,u),A=Ye(c,u),T=s.getScaledPath("MARKER_ADHOC",{xScaleFactor:1,yScaleFactor:1,containerWidth:m,containerHeight:A,position:{mx:(m/2+u.adhoc)/m,my:(A-15)/A}});_("adhoc",f,T,{strokeWidth:1,fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke)})}};function $(f,c,u,m){q[f](c,u,m)}function Ne(f,c,u,m={}){m={fill:m.fill,stroke:m.stroke,width:ft(c,m),height:Ye(c,m)};var A=we(c),T=u&&u.includes("SubProcessMarker");T?m={...m,seq:-21,parallel:-22,compensation:-42,loop:-18,adhoc:10}:m={...m,seq:-5,parallel:-6,compensation:-27,loop:0,adhoc:10},G(u,function(le){$(le,f,c,m)}),A.get("isForCompensation")&&$("CompensationMarker",f,c,m),K(A,"bpmn:AdHocSubProcess")&&$("AdhocMarker",f,c,m);var J=A.get("loopCharacteristics"),ce=J&&J.get("isSequential");J&&(ce===void 0&&$("LoopMarker",f,c,m),ce===!1&&$("ParallelMarker",f,c,m),ce===!0&&$("SequentialMarker",f,c,m))}function oe(f,c,u={}){u=X({size:{width:100}},u);var m=r.createText(c||"",u);return ot(m).add("djs-label"),Ee(f,m),m}function g(f,c,u,m={}){var A=we(c),T=Xs({x:c.x,y:c.y,width:c.width,height:c.height},m);return oe(f,A.name,{align:u,box:T,padding:7,style:{fill:Ys(c,p,l,m.stroke)}})}function v(f,c,u={}){var m={width:90,height:30,x:c.width/2+c.x,y:c.height/2+c.y};return oe(f,Wn(c),{box:m,fitBox:!0,style:X({},r.getExternalStyle(),{fill:Ys(c,p,l,u.stroke)})})}function I(f,c,u,m={}){var A=Uu(u),T=oe(f,c,{box:{height:30,width:A?Ye(u,m):ft(u,m)},align:"center-middle",style:{fill:Ys(u,p,l,m.stroke)}});if(A){var J=-1*Ye(u,m);so(T,0,-J,270)}}function R(f,c,u={}){var{width:m,height:A}=Xs(c,u);return N(f,m,A,er,{...u,fill:se(c,o,u.fill),fillOpacity:gs,stroke:j(c,l,u.stroke)})}function W(f,c,u={}){var m=we(c),A=se(c,o,u.fill),T=j(c,l,u.stroke);return(m.get("associationDirection")==="One"||m.get("associationDirection")==="Both")&&(u.markerEnd=Z("association-end",A,T)),m.get("associationDirection")==="Both"&&(u.markerStart=Z("association-start",A,T)),u=ae(u,["markerStart","markerEnd"]),S(f,c.waypoints,{...u,stroke:T,strokeDasharray:"0, 5"})}function re(f,c,u={}){var m=se(c,o,u.fill),A=j(c,l,u.stroke),T=s.getScaledPath("DATA_OBJECT_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.474,my:.296}}),J=k(f,T,{fill:m,fillOpacity:gs,stroke:A}),ce=we(c);if(Hv(ce)){var le=s.getScaledPath("DATA_OBJECT_COLLECTION_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.33,my:(c.height-18)/c.height}});k(f,le,{strokeWidth:2,fill:m,stroke:A})}return J}function C(f,c,u={}){return U(f,c.width,c.height,{fillOpacity:gs,...u,fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})}function w(f,c,u={}){return E(f,c.width,c.height,{fill:se(c,o,u.fill),fillOpacity:gs,stroke:j(c,l,u.stroke)})}function O(f,c,u={}){var m=N(f,ft(c,u),Ye(c,u),0,{fill:se(c,o,u.fill),fillOpacity:u.fillOpacity||gs,stroke:j(c,l,u.stroke),strokeWidth:1.5}),A=we(c);if(K(A,"bpmn:Lane")){var T=A.get("name");I(f,T,c,u)}return m}function Y(f,c,u={}){var m=R(f,c,u);yv(c)&&he(m,{strokeDasharray:"0, 5.5",strokeWidth:2.5});var A=Oi(c);return g(f,c,A?"center-top":"center-middle",u),A?Ne(f,c,void 0,u):Ne(f,c,["SubProcessMarker"],u),m}function ee(f,c,u={}){var m=R(f,c,u);return g(f,c,"center-middle",u),Ne(f,c,void 0,u),m}var ne=this.handlers={"bpmn:AdHocSubProcess":function(f,c,u={}){return Oi(c)?u=ae(u,["fill","stroke","width","height"]):u=ae(u,["fill","stroke"]),Y(f,c,u)},"bpmn:Association":function(f,c,u={}){return u=ae(u,["fill","stroke"]),W(f,c,u)},"bpmn:BoundaryEvent":function(f,c,u={}){var{renderIcon:m=!0}=u;u=ae(u,["fill","stroke"]);var A=we(c),T=A.get("cancelActivity");u={strokeWidth:1.5,fill:se(c,o,u.fill),fillOpacity:vA,stroke:j(c,l,u.stroke)},T||(u.strokeDasharray="6");var J=C(f,c,u);return U(f,c.width,c.height,$n,{...u,fill:"none"}),m&&L(c,f,u),J},"bpmn:BusinessRuleTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u),A=s.getScaledPath("TASK_TYPE_BUSINESS_RULE_MAIN",{abspos:{x:8,y:8}}),T=k(f,A);he(T,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1});var J=s.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER",{abspos:{x:8,y:8}}),ce=k(f,J);return he(ce,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:CallActivity":function(f,c,u={}){return u=ae(u,["fill","stroke"]),Y(f,c,{strokeWidth:5,...u})},"bpmn:ComplexGateway":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=w(f,c,u),A=s.getScaledPath("GATEWAY_COMPLEX",{xScaleFactor:.5,yScaleFactor:.5,containerWidth:c.width,containerHeight:c.height,position:{mx:.46,my:.26}});return k(f,A,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:DataInput":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=s.getRawPath("DATA_ARROW"),A=re(f,c,u);return k(f,m,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1}),A},"bpmn:DataInputAssociation":function(f,c,u={}){return u=ae(u,["fill","stroke"]),W(f,c,{...u,markerEnd:Z("association-end",se(c,o,u.fill),j(c,l,u.stroke))})},"bpmn:DataObject":function(f,c,u={}){return u=ae(u,["fill","stroke"]),re(f,c,u)},"bpmn:DataObjectReference":D("bpmn:DataObject"),"bpmn:DataOutput":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=s.getRawPath("DATA_ARROW"),A=re(f,c,u);return k(f,m,{strokeWidth:1,fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)}),A},"bpmn:DataOutputAssociation":function(f,c,u={}){return u=ae(u,["fill","stroke"]),W(f,c,{...u,markerEnd:Z("association-end",se(c,o,u.fill),j(c,l,u.stroke))})},"bpmn:DataStoreReference":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=s.getScaledPath("DATA_STORE",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:0,my:.133}});return k(f,m,{fill:se(c,o,u.fill),fillOpacity:gs,stroke:j(c,l,u.stroke),strokeWidth:2})},"bpmn:EndEvent":function(f,c,u={}){var{renderIcon:m=!0}=u;u=ae(u,["fill","stroke"]);var A=C(f,c,{...u,strokeWidth:4});return m&&L(c,f,u),A},"bpmn:EventBasedGateway":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=we(c),A=w(f,c,u);U(f,c.width,c.height,c.height*.2,{fill:se(c,"none",u.fill),stroke:j(c,l,u.stroke),strokeWidth:1});var T=m.get("eventGatewayType"),J=!!m.get("instantiate");function ce(){var ue=s.getScaledPath("GATEWAY_EVENT_BASED",{xScaleFactor:.18,yScaleFactor:.18,containerWidth:c.width,containerHeight:c.height,position:{mx:.36,my:.44}});k(f,ue,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:2})}if(T==="Parallel"){var le=s.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:c.width,containerHeight:c.height,position:{mx:.474,my:.296}});k(f,le,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1})}else T==="Exclusive"&&(J||U(f,c.width,c.height,c.height*.26,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1}),ce());return A},"bpmn:ExclusiveGateway":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=w(f,c,u),A=s.getScaledPath("GATEWAY_EXCLUSIVE",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:c.width,containerHeight:c.height,position:{mx:.32,my:.3}}),T=Di(c);return T.get("isMarkerVisible")&&k(f,A,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:Gateway":function(f,c,u={}){return u=ae(u,["fill","stroke"]),w(f,c,u)},"bpmn:Group":function(f,c,u={}){return u=ae(u,["fill","stroke","width","height"]),N(f,c.width,c.height,er,{stroke:j(c,l,u.stroke),strokeWidth:1.5,strokeDasharray:"10, 6, 0, 6",fill:"none",pointerEvents:"none",width:ft(c,u),height:Ye(c,u)})},"bpmn:InclusiveGateway":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=w(f,c,u);return U(f,c.width,c.height,c.height*.24,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:2.5}),m},"bpmn:IntermediateEvent":function(f,c,u={}){var{renderIcon:m=!0}=u;u=ae(u,["fill","stroke"]);var A=C(f,c,{...u,strokeWidth:1.5});return U(f,c.width,c.height,$n,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1.5}),m&&L(c,f,u),A},"bpmn:IntermediateCatchEvent":D("bpmn:IntermediateEvent"),"bpmn:IntermediateThrowEvent":D("bpmn:IntermediateEvent"),"bpmn:Lane":function(f,c,u={}){return u=ae(u,["fill","stroke","width","height"]),O(f,c,{...u,fillOpacity:AA})},"bpmn:ManualTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u),A=s.getScaledPath("TASK_TYPE_MANUAL",{abspos:{x:17,y:15}});return k(f,A,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:.5}),m},"bpmn:MessageFlow":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=we(c),A=Di(c),T=se(c,o,u.fill),J=j(c,l,u.stroke),ce=S(f,c.waypoints,{markerEnd:Z("messageflow-end",T,J),markerStart:Z("messageflow-start",T,J),stroke:J,strokeDasharray:"10, 11",strokeWidth:1.5});if(m.get("messageRef")){var le=ce.getPointAtLength(ce.getTotalLength()/2),ue=s.getScaledPath("MESSAGE_FLOW_MARKER",{abspos:{x:le.x,y:le.y}}),ke={strokeWidth:1};A.get("messageVisibleKind")==="initiating"?(ke.fill=T,ke.stroke=J):(ke.fill=J,ke.stroke=T);var pe=k(f,ue,ke),fi=m.get("messageRef"),Dr=fi.get("name"),it=oe(f,Dr,{align:"center-top",fitBox:!0,style:{fill:J}}),z=pe.getBBox(),de=it.getBBox(),fT=le.x-de.width/2,mT=le.y+z.height/2+gA;so(it,fT,mT,0)}return ce},"bpmn:ParallelGateway":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=w(f,c,u),A=s.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.6,yScaleFactor:.6,containerWidth:c.width,containerHeight:c.height,position:{mx:.46,my:.2}});return k(f,A,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:Participant":function(f,c,u={}){u=ae(u,["fill","stroke","width","height"]);var m=O(f,c,u),A=Oi(c),T=Uu(c),J=we(c),ce=J.get("name");if(A){var le=T?[{x:30,y:0},{x:30,y:Ye(c,u)}]:[{x:0,y:30},{x:ft(c,u),y:30}];P(f,le,{stroke:j(c,l,u.stroke),strokeWidth:yA}),I(f,ce,c,u)}else{var ue=Xs(c,u);T||(ue.height=ft(c,u),ue.width=Ye(c,u));var ke=oe(f,ce,{box:ue,align:"center-middle",style:{fill:Ys(c,p,l,u.stroke)}});if(!T){var pe=-1*Ye(c,u);so(ke,0,-pe,270)}}return J.get("participantMultiplicity")&&$("ParticipantMultiplicityMarker",f,c,u),m},"bpmn:ReceiveTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=we(c),A=ee(f,c,u),T;return m.get("instantiate")?(U(f,28,28,20*.22,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),T=s.getScaledPath("TASK_TYPE_INSTANTIATING_SEND",{abspos:{x:7.77,y:9.52}})):T=s.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:21,containerHeight:14,position:{mx:.3,my:.4}}),k(f,T,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),A},"bpmn:ScriptTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u),A=s.getScaledPath("TASK_TYPE_SCRIPT",{abspos:{x:15,y:20}});return k(f,A,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:SendTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u),A=s.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:1,yScaleFactor:1,containerWidth:21,containerHeight:14,position:{mx:.285,my:.357}});return k(f,A,{fill:j(c,l,u.stroke),stroke:se(c,o,u.fill),strokeWidth:1}),m},"bpmn:SequenceFlow":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=se(c,o,u.fill),A=j(c,l,u.stroke),T=S(f,c.waypoints,{markerEnd:Z("sequenceflow-end",m,A),stroke:A}),J=we(c),{source:ce}=c;if(ce){var le=we(ce);J.get("conditionExpression")&&K(le,"bpmn:Activity")&&he(T,{markerStart:Z("conditional-flow-marker",m,A)}),le.get("default")&&(K(le,"bpmn:Gateway")||K(le,"bpmn:Activity"))&&le.get("default")===J&&he(T,{markerStart:Z("conditional-default-flow-marker",m,A)})}return T},"bpmn:ServiceTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u);U(f,10,10,{fill:se(c,o,u.fill),stroke:"none",transform:"translate(6, 6)"});var A=s.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:12,y:18}});k(f,A,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),U(f,10,10,{fill:se(c,o,u.fill),stroke:"none",transform:"translate(11, 10)"});var T=s.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:17,y:22}});return k(f,T,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),m},"bpmn:StartEvent":function(f,c,u={}){var{renderIcon:m=!0}=u;u=ae(u,["fill","stroke"]);var A=we(c);A.get("isInterrupting")||(u={...u,strokeDasharray:"6"});var T=C(f,c,u);return m&&L(c,f,u),T},"bpmn:SubProcess":function(f,c,u={}){return Oi(c)?u=ae(u,["fill","stroke","width","height"]):u=ae(u,["fill","stroke"]),Y(f,c,u)},"bpmn:Task":function(f,c,u={}){return u=ae(u,["fill","stroke"]),ee(f,c,u)},"bpmn:TextAnnotation":function(f,c,u={}){u=ae(u,["fill","stroke","width","height"]);var{width:m,height:A}=Xs(c,u),T=N(f,m,A,0,0,{fill:"none",stroke:"none"}),J=s.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:m,containerHeight:A,position:{mx:0,my:0}});k(f,J,{stroke:j(c,l,u.stroke)});var ce=we(c),le=ce.get("text")||"";return oe(f,le,{align:"left-top",box:Xs(c,u),padding:7,style:{fill:Ys(c,p,l,u.stroke)}}),T},"bpmn:Transaction":function(f,c,u={}){Oi(c)?u=ae(u,["fill","stroke","width","height"]):u=ae(u,["fill","stroke"]);var m=Y(f,c,{strokeWidth:1.5,...u}),A=i.style(["no-fill","no-events"],{stroke:j(c,l,u.stroke),strokeWidth:1.5}),T=Oi(c);return T||(u={}),N(f,ft(c,u),Ye(c,u),er-$n,$n,A),m},"bpmn:UserTask":function(f,c,u={}){u=ae(u,["fill","stroke"]);var m=ee(f,c,u),A=15,T=12,J=s.getScaledPath("TASK_TYPE_USER_1",{abspos:{x:A,y:T}});k(f,J,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:.5});var ce=s.getScaledPath("TASK_TYPE_USER_2",{abspos:{x:A,y:T}});k(f,ce,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:.5});var le=s.getScaledPath("TASK_TYPE_USER_3",{abspos:{x:A,y:T}});return k(f,le,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:.5}),m},label:function(f,c,u={}){return v(f,c,u)}};this._drawPath=k,this._renderer=V}Dt(Li,Ut),Li.$inject=["config.bpmnRenderer","eventBus","styles","pathMap","canvas","textRenderer"],Li.prototype.canRender=function(e){return K(e,"bpmn:BaseElement")},Li.prototype.drawShape=function(e,t,i={}){var{type:s}=t,n=this._renderer(s);return n(e,t,i)},Li.prototype.drawConnection=function(e,t,i={}){var{type:s}=t,n=this._renderer(s);return n(e,t,i)},Li.prototype.getShapePath=function(e){return K(e,"bpmn:Event")?Jv(e):K(e,"bpmn:Activity")?Kv(e,er):K(e,"bpmn:Gateway")?Wv(e):zv(e)};function ae(e,t=[]){return t.reduce((i,s)=>(e[s]&&(i[s]=e[s]),i),{})}var bA=0,CA={width:150,height:50};function wA(e){var t=e.split("-");return{horizontal:t[0]||"center",vertical:t[1]||"top"}}function EA(e){return Pi(e)?X({top:0,left:0,right:0,bottom:0},e):{top:e,left:e,right:e,bottom:e}}function xA(e,t){t.textContent=e;var i;try{var s,n=e==="";return t.textContent=n?"dummy":e,i=t.getBBox(),s={width:i.width+i.x*2,height:i.height},n&&(s.width=0),s}catch{return{width:0,height:0}}}function IA(e,t,i){for(var s=e.shift(),n=s,r;;){if(r=xA(n,i),r.width=n?r.width:0,n===" "||n===""||r.width<Math.round(t)||n.length<2)return TA(e,n,s,r);n=NA(n,r.width,t)}}function TA(e,t,i,s){if(t.length<i.length){var n=i.slice(t.length).trim();e.unshift(n)}return{width:s.width,height:s.height,text:t}}var lp="\xAD";function _A(e,t){var i=e.split(/(\s|-|\u00AD)/g),s,n=[],r=0;if(i.length>1)for(;s=i.shift();)if(s.length+r<t)n.push(s),r+=s.length;else{(s==="-"||s===lp)&&n.pop();break}var a=n[n.length-1];return a&&a===lp&&(n[n.length-1]="-"),n.join("")}function NA(e,t,i){var s=Math.max(e.length*(i/t),1),n=_A(e,s);return n||(n=e.slice(0,Math.max(Math.round(s-1),1))),n}function kA(){var e=document.getElementById("helper-svg");return e||(e=ge("svg"),he(e,{id:"helper-svg"}),Me(e,{visibility:"hidden",position:"fixed",width:0,height:0}),document.body.appendChild(e)),e}function tr(e){this._config=X({},{size:CA,padding:bA,style:{},align:"center-top"},e||{})}tr.prototype.createText=function(e,t){return this.layoutText(e,t).element},tr.prototype.getDimensions=function(e,t){return this.layoutText(e,t).dimensions},tr.prototype.layoutText=function(e,t){var i=X({},this._config.size,t.box),s=X({},this._config.style,t.style),n=wA(t.align||this._config.align),r=EA(t.padding!==void 0?t.padding:this._config.padding),a=t.fitBox||!1,o=SA(s),l=e.split(/\u00AD?\r?\n/),p=[],h=i.width-r.left-r.right,d=ge("text");he(d,{x:0,y:0}),he(d,s);var y=kA();for(Ee(y,d);l.length;)p.push(IA(l,h,d));n.vertical==="middle"&&(r.top=r.bottom=0);var x=hs(p,function(U,N,E){return U+(o||N.height)},0)+r.top+r.bottom,M=hs(p,function(U,N,E){return N.width>U?N.width:U},0),B=r.top;n.vertical==="middle"&&(B+=(i.height-x)/2),B-=(o||p[0].height)/4;var Z=ge("text");he(Z,s),G(p,function(U){var N;switch(B+=o||U.height,n.horizontal){case"left":N=r.left;break;case"right":N=(a?M:h)-r.right-U.width;break;default:N=Math.max(((a?M:h)-U.width)/2+r.left,0)}var E=ge("tspan");he(E,{x:N,y:B}),E.textContent=U.text,Ee(Z,E)}),Ws(d);var H={width:M,height:x};return{dimensions:H,element:Z}};function SA(e){if("fontSize"in e&&"lineHeight"in e)return e.lineHeight*parseInt(e.fontSize,10)}var PA=12,DA=1.2,OA=30;function cp(e){var t=X({fontFamily:"Arial, sans-serif",fontSize:PA,fontWeight:"normal",lineHeight:DA},e&&e.defaultStyle||{}),i=parseInt(t.fontSize,10)-1,s=X({},t,{fontSize:i},e&&e.externalStyle||{}),n=new tr({style:t});this.getExternalLabelBounds=function(r,a){var o=n.getDimensions(a,{box:{width:90,height:30},style:s});return{x:Math.round(r.x+r.width/2-o.width/2),y:Math.round(r.y),width:Math.ceil(o.width),height:Math.ceil(o.height)}},this.getTextAnnotationBounds=function(r,a){var o=n.getDimensions(a,{box:r,style:t,align:"left-top",padding:5});return{x:r.x,y:r.y,width:r.width,height:Math.max(OA,Math.round(o.height))}},this.createText=function(r,a){return n.createText(r,a||{})},this.getDefaultStyle=function(){return t},this.getExternalStyle=function(){return s}}cp.$inject=["config.textRenderer"];function MA(){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(t){return this.pathMap[t].d},this.getScaledPath=function(t,i){var s=this.pathMap[t],n,r;i.abspos?(n=i.abspos.x,r=i.abspos.y):(n=i.containerWidth*i.position.mx,r=i.containerHeight*i.position.my);var a={};if(i.position){for(var o=i.containerHeight/s.height*i.yScaleFactor,l=i.containerWidth/s.width*i.xScaleFactor,p=0;p<s.heightElements.length;p++)a["y"+p]=s.heightElements[p]*o;for(var h=0;h<s.widthElements.length;h++)a["x"+h]=s.widthElements[h]*l}var d=FA(s.d,{mx:n,my:r,e:a});return d}}var BA=/\{([^{}]+)\}/g,RA=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;function LA(e,t,i){var s=i;return t.replace(RA,function(n,r,a,o,l){r=r||o,s&&(r in s&&(s=s[r]),typeof s=="function"&&l&&(s=s()))}),s=(s==null||s==i?e:s)+"",s}function FA(e,t){return String(e).replace(BA,function(i,s){return LA(i,s,t)})}const VA={__init__:["bpmnRenderer"],bpmnRenderer:["type",Li],textRenderer:["type",cp],pathMap:["type",MA]};function jA(e,t){return t=t||{},e.replace(/{([^}]+)}/g,function(i,s){return t[s]||"{"+s+"}"})}const up={translate:["value",jA]};function UA(e){return{x:Math.round(e.x),y:Math.round(e.y)}}function no(e){return{top:e.y,right:e.x+(e.width||0),bottom:e.y+(e.height||0),left:e.x}}function QA(e){return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}function GA(e){return UA({x:e.x+(e.width||0)/2,y:e.y+(e.height||0)/2})}function qA(e){for(var t=e.waypoints,i=t.reduce(function(p,h,d){var y=t[d-1];if(y){var x=p[p.length-1],M=x&&x.endLength||0,B=HA(y,h);p.push({start:y,end:h,startLength:M,endLength:M+B,length:B})}return p},[]),s=i.reduce(function(p,h){return p+h.length},0),n=s/2,r=0,a=i[r];a.endLength<n;)a=i[++r];var o=(n-a.startLength)/a.length,l={x:a.start.x+(a.end.x-a.start.x)*o,y:a.start.y+(a.end.y-a.start.y)*o};return l}function ro(e){return vv(e)?qA(e):GA(e)}function HA(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Be(e){return e?"<"+e.$type+(e.id?' id="'+e.id:"")+'" />':"<null>"}function ir(e,t,i){return X({id:e.id,type:e.$type,businessObject:e,di:t},i)}function JA(e,t,i){var s=e.waypoint;return!s||s.length<2?[ro(t),ro(i)]:s.map(function(n){return{x:n.x,y:n.y}})}function pp(e,t,i,s){return new Error(e("element {element} referenced by {referenced}#{property} not yet drawn",{element:Be(i),referenced:Be(t),property:s}))}function Gt(e,t,i,s,n,r){this._eventBus=e,this._canvas=t,this._elementFactory=i,this._elementRegistry=s,this._translate=n,this._textRenderer=r}Gt.$inject=["eventBus","canvas","elementFactory","elementRegistry","translate","textRenderer"],Gt.prototype.add=function(e,t,i){var s,n=this._translate,r,a;if(K(t,"bpmndi:BPMNPlane")){var o=K(e,"bpmn:SubProcess")?{id:e.id+"_plane"}:{};s=this._elementFactory.createRoot(ir(e,t,o)),this._canvas.addRootElement(s)}else if(K(t,"bpmndi:BPMNShape")){var l=!Oi(e,t),p=WA(e);r=i&&(i.hidden||i.collapsed);var h=t.bounds;s=this._elementFactory.createShape(ir(e,t,{collapsed:l,hidden:r,x:Math.round(h.x),y:Math.round(h.y),width:Math.round(h.width),height:Math.round(h.height),isFrame:p})),K(e,"bpmn:BoundaryEvent")&&this._attachBoundary(e,s),K(e,"bpmn:Lane")&&(a=0),K(e,"bpmn:DataStoreReference")&&(KA(i,ro(h))||(i=this._canvas.findRoot(i))),this._canvas.addShape(s,i,a)}else if(K(t,"bpmndi:BPMNEdge")){var d=this._getSource(e),y=this._getTarget(e);r=i&&(i.hidden||i.collapsed),s=this._elementFactory.createConnection(ir(e,t,{hidden:r,source:d,target:y,waypoints:JA(t,d,y)})),K(e,"bpmn:DataAssociation")&&(i=this._canvas.findRoot(i)),this._canvas.addConnection(s,i,a)}else throw new Error(n("unknown di {di} for element {semantic}",{di:Be(t),semantic:Be(e)}));return Av(e)&&Wn(s)&&this.addLabel(e,t,s),this._eventBus.fire("bpmnElement.added",{element:s}),s},Gt.prototype._attachBoundary=function(e,t){var i=this._translate,s=e.attachedToRef;if(!s)throw new Error(i("missing {semantic}#attachedToRef",{semantic:Be(e)}));var n=this._elementRegistry.get(s.id),r=n&&n.attachers;if(!n)throw pp(i,e,s,"attachedToRef");t.host=n,r||(n.attachers=r=[]),r.indexOf(t)===-1&&r.push(t)},Gt.prototype.addLabel=function(e,t,i){var s,n,r;return s=Ev(t,i),n=Wn(i),n&&(s=this._textRenderer.getExternalLabelBounds(s,n)),r=this._elementFactory.createLabel(ir(e,t,{id:e.id+"_label",labelTarget:i,type:"label",hidden:i.hidden||!Wn(i),x:Math.round(s.x),y:Math.round(s.y),width:Math.round(s.width),height:Math.round(s.height)})),this._canvas.addShape(r,i.parent)},Gt.prototype._getConnectedElement=function(e,t){var i,s,n=e.$type,r=this._translate;if(s=e[t+"Ref"],t==="source"&&n==="bpmn:DataInputAssociation"&&(s=s&&s[0]),(t==="source"&&n==="bpmn:DataOutputAssociation"||t==="target"&&n==="bpmn:DataInputAssociation")&&(s=e.$parent),i=s&&this._getElement(s),i)return i;throw s?pp(r,e,s,t+"Ref"):new Error(r("{semantic}#{side} Ref not specified",{semantic:Be(e),side:t}))},Gt.prototype._getSource=function(e){return this._getConnectedElement(e,"source")},Gt.prototype._getTarget=function(e){return this._getConnectedElement(e,"target")},Gt.prototype._getElement=function(e){return this._elementRegistry.get(e.id)};function KA(e,t){var i=t.x,s=t.y;return i>=e.x&&i<=e.x+e.width&&s>=e.y&&s<=e.y+e.height}function WA(e){return K(e,"bpmn:Group")}const zA={__depends__:[VA,{__depends__:[up],bpmnImporter:["type",Gt]}]};function ao(e){return e.originalEvent||e.srcEvent}function YA(){return/mac/i.test(navigator.platform)}function dp(e,t){return(ao(e)||e).button===t}function Zs(e){return dp(e,0)}function XA(e){return dp(e,1)}function ZA(e){var t=ao(e)||e;return Zs(e)?YA()?t.metaKey:t.ctrlKey:!1}function $A(e){var t=ao(e)||e;return Zs(e)&&t.shiftKey}function eb(e){return!0}function sr(e){return Zs(e)||XA(e)}var hp=500;function fp(e,t,i){var s=this;function n(_,V,D){if(!o(_,V)){var F,L,q;D?L=t.getGraphics(D):(F=V.delegateTarget||V.target,F&&(L=F,D=t.get(L))),!(!L||!D)&&(q=e.fire(_,{element:D,gfx:L,originalEvent:V}),q===!1&&(V.stopPropagation(),V.preventDefault()))}}var r={};function a(_){return r[_]}function o(_,V){var D=p[_]||Zs;return!D(V)}var l={click:"element.click",contextmenu:"element.contextmenu",dblclick:"element.dblclick",mousedown:"element.mousedown",mousemove:"element.mousemove",mouseover:"element.hover",mouseout:"element.out",mouseup:"element.mouseup"},p={"element.contextmenu":eb,"element.mousedown":sr,"element.mouseup":sr,"element.click":sr,"element.dblclick":sr};function h(_,V,D){var F=l[_];if(!F)throw new Error("unmapped DOM event name <"+_+">");return n(F,V,D)}var d="svg, .djs-element";function y(_,V,D,F){var L=r[D]=function(q){n(D,q)};F&&(p[D]=F),L.$delegate=fs.bind(_,d,V,L)}function x(_,V,D){var F=a(D);!F||fs.unbind(_,V,F.$delegate)}function M(_){G(l,function(V,D){y(_,D,V)})}function B(_){G(l,function(V,D){x(_,D,V)})}e.on("canvas.destroy",function(_){B(_.svg)}),e.on("canvas.init",function(_){M(_.svg)}),e.on(["shape.added","connection.added"],function(_){var V=_.element,D=_.gfx;e.fire("interactionEvents.createHit",{element:V,gfx:D})}),e.on(["shape.changed","connection.changed"],hp,function(_){var V=_.element,D=_.gfx;e.fire("interactionEvents.updateHit",{element:V,gfx:D})}),e.on("interactionEvents.createHit",hp,function(_){var V=_.element,D=_.gfx;s.createDefaultHit(V,D)}),e.on("interactionEvents.updateHit",function(_){var V=_.element,D=_.gfx;s.updateDefaultHit(V,D)});var Z=P("djs-hit djs-hit-stroke"),H=P("djs-hit djs-hit-click-stroke"),U=P("djs-hit djs-hit-all"),N=P("djs-hit djs-hit-no-move"),E={all:U,"click-stroke":H,stroke:Z,"no-move":N};function P(_,V){return V=X({stroke:"white",strokeWidth:15},V||{}),i.cls(_,["no-fill","no-border"],V)}function S(_,V){var D=E[V];if(!D)throw new Error("invalid hit type <"+V+">");return he(_,D),_}function k(_,V){Ee(_,V)}this.removeHits=function(_){var V=pA(".djs-hit",_);G(V,Ws)},this.createDefaultHit=function(_,V){var D=_.waypoints,F=_.isFrame,L;return D?this.createWaypointsHit(V,D):(L=F?"stroke":"all",this.createBoxHit(V,L,{width:_.width,height:_.height}))},this.createWaypointsHit=function(_,V){var D=$a(V);return S(D,"stroke"),k(_,D),D},this.createBoxHit=function(_,V,D){D=X({x:0,y:0},D);var F=ge("rect");return S(F,V),he(F,D),k(_,F),F},this.updateDefaultHit=function(_,V){var D=It(".djs-hit",V);if(!!D)return _.waypoints?$u(D,_.waypoints):he(D,{width:_.width,height:_.height}),D},this.fire=n,this.triggerMouseEvent=h,this.mouseHandler=a,this.registerEvent=y,this.unregisterEvent=x}fp.$inject=["eventBus","elementRegistry","styles"];const tb={__init__:["interactionEvents"],interactionEvents:["type",fp]};function Fi(e,t){t=!!t,wt(e)||(e=[e]);var i,s,n,r;return G(e,function(a){var o=a;a.waypoints&&!t&&(o=Fi(a.waypoints,!0));var l=o.x,p=o.y,h=o.height||0,d=o.width||0;(l<i||i===void 0)&&(i=l),(p<s||s===void 0)&&(s=p),(l+d>n||n===void 0)&&(n=l+d),(p+h>r||r===void 0)&&(r=p+h)}),{x:i,y:s,height:r-s,width:n-i}}function mp(e){return"waypoints"in e?"connection":"x"in e?"shape":"root"}function gp(e){return!!(e&&e.isFrame)}var ib=500,sb=1e3;function Vi(e,t){this._eventBus=e,this.offset=5;var i=t.cls("djs-outline",["no-fill"]),s=this;function n(r){var a=ge("rect");return he(a,X({x:0,y:0,rx:4,width:100,height:100},i)),a}e.on(["shape.added","shape.changed"],ib,function(r){var a=r.element,o=r.gfx,l=It(".djs-outline",o);l||(l=s.getOutline(a)||n(),Ee(o,l)),s.updateShapeOutline(l,a)}),e.on(["connection.added","connection.changed"],function(r){var a=r.element,o=r.gfx,l=It(".djs-outline",o);l||(l=n(),Ee(o,l)),s.updateConnectionOutline(l,a)})}Vi.prototype.updateShapeOutline=function(e,t){var i=!1,s=this._getProviders();s.length&&G(s,function(n){i=i||n.updateOutline(t,e)}),i||he(e,{x:-this.offset,y:-this.offset,width:t.width+this.offset*2,height:t.height+this.offset*2})},Vi.prototype.updateConnectionOutline=function(e,t){var i=Fi(t);he(e,{x:i.x-this.offset,y:i.y-this.offset,width:i.width+this.offset*2,height:i.height+this.offset*2})},Vi.prototype.registerProvider=function(e,t){t||(t=e,e=sb),this._eventBus.on("outline.getProviders",e,function(i){i.providers.push(t)})},Vi.prototype._getProviders=function(){var e=this._eventBus.createEvent({type:"outline.getProviders",providers:[]});return this._eventBus.fire(e),e.providers},Vi.prototype.getOutline=function(e){var t,i=this._getProviders();return G(i,function(s){!ei(s.getOutline)||(t=t||s.getOutline(e))}),t},Vi.$inject=["eventBus","styles","elementRegistry"];const nb={__init__:["outline"],outline:["type",Vi]};function ys(e,t){this._eventBus=e,this._canvas=t,this._selectedElements=[];var i=this;e.on(["shape.remove","connection.remove"],function(s){var n=s.element;i.deselect(n)}),e.on(["diagram.clear","root.set"],function(s){i.select(null)})}ys.$inject=["eventBus","canvas"],ys.prototype.deselect=function(e){var t=this._selectedElements,i=t.indexOf(e);if(i!==-1){var s=t.slice();t.splice(i,1),this._eventBus.fire("selection.changed",{oldSelection:s,newSelection:t})}},ys.prototype.get=function(){return this._selectedElements},ys.prototype.isSelected=function(e){return this._selectedElements.indexOf(e)!==-1},ys.prototype.select=function(e,t){var i=this._selectedElements,s=i.slice();wt(e)||(e=e?[e]:[]);var n=this._canvas,r=n.getRootElement();e=e.filter(function(a){var o=n.findRoot(a);return r===o}),t?G(e,function(a){i.indexOf(a)===-1&&i.push(a)}):this._selectedElements=i=e.slice(),this._eventBus.fire("selection.changed",{oldSelection:s,newSelection:i})};var yp="hover",vp="selected",nr=6;function oo(e,t,i){this._canvas=e;var s=this;this._multiSelectionBox=null;function n(a,o){e.addMarker(a,o)}function r(a,o){e.removeMarker(a,o)}t.on("element.hover",function(a){n(a.element,yp)}),t.on("element.out",function(a){r(a.element,yp)}),t.on("selection.changed",function(a){function o(d){r(d,vp)}function l(d){n(d,vp)}var p=a.oldSelection,h=a.newSelection;G(p,function(d){h.indexOf(d)===-1&&o(d)}),G(h,function(d){p.indexOf(d)===-1&&l(d)}),s._updateSelectionOutline(h)}),t.on("element.changed",function(a){i.isSelected(a.element)&&s._updateSelectionOutline(i.get())})}oo.$inject=["canvas","eventBus","selection"],oo.prototype._updateSelectionOutline=function(e){var t=this._canvas.getLayer("selectionOutline");Ju(t);var i=e.length>1,s=this._canvas.getContainer();if(ot(s)[i?"add":"remove"]("djs-multi-select"),!!i){var n=rb(Fi(e)),r=ge("rect");he(r,X({rx:3},n)),ot(r).add("djs-selection-outline"),Ee(t,r)}};function rb(e){return{x:e.x-nr,y:e.y-nr,width:e.width+nr*2,height:e.height+nr*2}}function Ap(e,t,i,s){e.on("create.end",500,function(n){var r=n.context,a=r.canExecute,o=r.elements,l=r.hints||{},p=l.autoSelect;if(a){if(p===!1)return;wt(p)?t.select(p):t.select(o.filter(ab))}}),e.on("connect.end",500,function(n){var r=n.context,a=r.connection;a&&t.select(a)}),e.on("shape.move.end",500,function(n){var r=n.previousSelection||[],a=s.get(n.context.shape.id),o=xt(r,function(l){return a.id===l.id});o||t.select(a)}),e.on("element.click",function(n){if(!!Zs(n)){var r=n.element;r===i.getRootElement()&&(r=null);var a=t.isSelected(r),o=t.get().length>1,l=ZA(n)||$A(n);if(a&&o)return l?t.deselect(r):t.select(r);a?t.deselect(r):t.select(r,l)}})}Ap.$inject=["eventBus","selection","canvas","elementRegistry"];function ab(e){return!e.hidden}const ob={__init__:["selectionVisuals","selectionBehavior"],__depends__:[tb,nb],selection:["type",ys],selectionVisuals:["type",oo],selectionBehavior:["type",Ap]};function bp(e){this._counter=0,this._prefix=(e?e+"-":"")+Math.floor(Math.random()*1e9)+"-"}bp.prototype.next=function(){return this._prefix+ ++this._counter};var lb=new bp("ov"),cb=500;function Se(e,t,i,s){this._eventBus=t,this._canvas=i,this._elementRegistry=s,this._ids=lb,this._overlayDefaults=X({show:null,scale:!0},e&&e.defaults),this._overlays={},this._overlayContainers=[],this._overlayRoot=ub(i.getContainer()),this._init()}Se.$inject=["config.overlays","eventBus","canvas","elementRegistry"],Se.prototype.get=function(e){if(Et(e)&&(e={id:e}),Et(e.element)&&(e.element=this._elementRegistry.get(e.element)),e.element){var t=this._getOverlayContainer(e.element,!0);return t?e.type?ds(t.overlays,ju({type:e.type})):t.overlays.slice():[]}else return e.type?ds(this._overlays,ju({type:e.type})):e.id?this._overlays[e.id]:null},Se.prototype.add=function(e,t,i){if(Pi(t)&&(i=t,t=null),e.id||(e=this._elementRegistry.get(e)),!i.position)throw new Error("must specifiy overlay position");if(!i.html)throw new Error("must specifiy overlay html");if(!e)throw new Error("invalid element specified");var s=this._ids.next();return i=X({},this._overlayDefaults,i,{id:s,type:t,element:e,html:i.html}),this._addOverlay(i),s},Se.prototype.remove=function(e){var t=this.get(e)||[];wt(t)||(t=[t]);var i=this;G(t,function(s){var n=i._getOverlayContainer(s.element,!0);if(s&&(ms(s.html),ms(s.htmlContainer),delete s.htmlContainer,delete s.element,delete i._overlays[s.id]),n){var r=n.overlays.indexOf(s);r!==-1&&n.overlays.splice(r,1)}})},Se.prototype.isShown=function(){return this._overlayRoot.style.display!=="none"},Se.prototype.show=function(){rr(this._overlayRoot)},Se.prototype.hide=function(){rr(this._overlayRoot,!1)},Se.prototype.clear=function(){this._overlays={},this._overlayContainers=[],ip(this._overlayRoot)},Se.prototype._updateOverlayContainer=function(e){var t=e.element,i=e.html,s=t.x,n=t.y;if(t.waypoints){var r=Fi(t);s=r.x,n=r.y}Cp(i,s,n),tp(e.html,"data-container-id",t.id)},Se.prototype._updateOverlay=function(e){var t=e.position,i=e.htmlContainer,s=e.element,n=t.left,r=t.top;if(t.right!==void 0){var a;s.waypoints?a=Fi(s).width:a=s.width,n=t.right*-1+a}if(t.bottom!==void 0){var o;s.waypoints?o=Fi(s).height:o=s.height,r=t.bottom*-1+o}Cp(i,n||0,r||0),this._updateOverlayVisibilty(e,this._canvas.viewbox())},Se.prototype._createOverlayContainer=function(e){var t=lt('<div class="djs-overlays" />');Me(t,{position:"absolute"}),this._overlayRoot.appendChild(t);var i={html:t,element:e,overlays:[]};return this._updateOverlayContainer(i),this._overlayContainers.push(i),i},Se.prototype._updateRoot=function(e){var t=e.scale||1,i="matrix("+[t,0,0,t,-1*e.x*t,-1*e.y*t].join(",")+")";wp(this._overlayRoot,i)},Se.prototype._getOverlayContainer=function(e,t){var i=xt(this._overlayContainers,function(s){return s.element===e});return!i&&!t?this._createOverlayContainer(e):i},Se.prototype._addOverlay=function(e){var t=e.id,i=e.element,s=e.html,n,r;s.get&&s.constructor.prototype.jquery&&(s=s.get(0)),Et(s)&&(s=lt(s)),r=this._getOverlayContainer(i),n=lt('<div class="djs-overlay" data-overlay-id="'+t+'">'),Me(n,{position:"absolute"}),n.appendChild(s),e.type&&Bi(n).add("djs-overlay-"+e.type);var a=this._canvas.findRoot(i),o=this._canvas.getRootElement();rr(n,a===o),e.htmlContainer=n,r.overlays.push(e),r.html.appendChild(n),this._overlays[t]=e,this._updateOverlay(e),this._updateOverlayVisibilty(e,this._canvas.viewbox())},Se.prototype._updateOverlayVisibilty=function(e,t){var i=e.show,s=this._canvas.findRoot(e.element),n=i&&i.minZoom,r=i&&i.maxZoom,a=e.htmlContainer,o=this._canvas.getRootElement(),l=!0;(s!==o||i&&(us(n)&&n>t.scale||us(r)&&r<t.scale))&&(l=!1),rr(a,l),this._updateOverlayScale(e,t)},Se.prototype._updateOverlayScale=function(e,t){var i=e.scale,s,n,r=e.htmlContainer,a,o="";i!==!0&&(i===!1?(s=1,n=1):(s=i.min,n=i.max),us(s)&&t.scale<s&&(a=(1/t.scale||1)*s),us(n)&&t.scale>n&&(a=(1/t.scale||1)*n)),us(a)&&(o="scale("+a+","+a+")"),wp(r,o)},Se.prototype._updateOverlaysVisibilty=function(e){var t=this;G(this._overlays,function(i){t._updateOverlayVisibilty(i,e)})},Se.prototype._init=function(){var e=this._eventBus,t=this;function i(s){t._updateRoot(s),t._updateOverlaysVisibilty(s),t.show()}e.on("canvas.viewbox.changing",function(s){t.hide()}),e.on("canvas.viewbox.changed",function(s){i(s.viewbox)}),e.on(["shape.remove","connection.remove"],function(s){var n=s.element,r=t.get({element:n});G(r,function(l){t.remove(l.id)});var a=t._getOverlayContainer(n);if(a){ms(a.html);var o=t._overlayContainers.indexOf(a);o!==-1&&t._overlayContainers.splice(o,1)}}),e.on("element.changed",cb,function(s){var n=s.element,r=t._getOverlayContainer(n,!0);r&&(G(r.overlays,function(a){t._updateOverlay(a)}),t._updateOverlayContainer(r))}),e.on("element.marker.update",function(s){var n=t._getOverlayContainer(s.element,!0);n&&Bi(n.html)[s.add?"add":"remove"](s.marker)}),e.on("root.set",function(){t._updateOverlaysVisibilty(t._canvas.viewbox())}),e.on("diagram.clear",this.clear,this)};function ub(e){var t=lt('<div class="djs-overlay-container" />');return Me(t,{position:"absolute",width:0,height:0}),e.insertBefore(t,e.firstChild),t}function Cp(e,t,i){Me(e,{left:t+"px",top:i+"px"})}function rr(e,t){e.style.display=t===!1?"none":""}function wp(e,t){e.style["transform-origin"]="top left",["","-ms-","-webkit-"].forEach(function(i){e.style[i+"transform"]=t})}const Ep={__init__:["overlays"],overlays:["type",Se]};function xp(e,t,i,s){e.on("element.changed",function(n){var r=n.element;(r.parent||r===t.getRootElement())&&(n.gfx=i.getGraphics(r)),n.gfx&&e.fire(mp(r)+".changed",n)}),e.on("elements.changed",function(n){var r=n.elements;r.forEach(function(a){e.fire("element.changed",{element:a})}),s.updateContainments(r)}),e.on("shape.changed",function(n){s.update("shape",n.element,n.gfx)}),e.on("connection.changed",function(n){s.update("connection",n.element,n.gfx)})}xp.$inject=["eventBus","canvas","elementRegistry","graphicsFactory"];const pb={__init__:["changeSupport"],changeSupport:["type",xp]};var db=1e3;function Qe(e){this._eventBus=e}Qe.$inject=["eventBus"];function hb(e,t){return function(i){return e.call(t||null,i.context,i.command,i)}}Qe.prototype.on=function(e,t,i,s,n,r){if((ei(t)||$t(t))&&(r=n,n=s,s=i,i=t,t=null),ei(i)&&(r=n,n=s,s=i,i=db),Pi(n)&&(r=n,n=!1),!ei(s))throw new Error("handlerFn must be a function");wt(e)||(e=[e]);var a=this._eventBus;G(e,function(o){var l=["commandStack",o,t].filter(function(p){return p}).join(".");a.on(l,i,n?hb(s,r):s,r)})},Qe.prototype.canExecute=qt("canExecute"),Qe.prototype.preExecute=qt("preExecute"),Qe.prototype.preExecuted=qt("preExecuted"),Qe.prototype.execute=qt("execute"),Qe.prototype.executed=qt("executed"),Qe.prototype.postExecute=qt("postExecute"),Qe.prototype.postExecuted=qt("postExecuted"),Qe.prototype.revert=qt("revert"),Qe.prototype.reverted=qt("reverted");function qt(e){return function(i,s,n,r,a){(ei(i)||$t(i))&&(a=r,r=n,n=s,s=i,i=null),this.on(i,e,s,n,r,a)}}function lo(e,t){t.invoke(Qe,this),this.executed(function(i){var s=i.context;s.rootElement?e.setRootElement(s.rootElement):s.rootElement=e.getRootElement()}),this.revert(function(i){var s=i.context;s.rootElement&&e.setRootElement(s.rootElement)})}Dt(lo,Qe),lo.$inject=["canvas","injector"];const fb={__init__:["rootElementsBehavior"],rootElementsBehavior:["type",lo]};var mb={"&":"&","<":"<",">":">",'"':""","'":"'"};function gb(e){return e=""+e,e&&e.replace(/[&<>"']/g,function(t){return mb[t]})}var yb="_plane";function co(e){var t=e.id;return K(e,"bpmn:SubProcess")?vb(t):t}function vb(e){return e+yb}var Ab="bjs-breadcrumbs-shown";function Ip(e,t,i){var s=lt('<ul class="bjs-breadcrumbs"></ul>'),n=i.getContainer(),r=Bi(n);n.appendChild(s);var a=[];e.on("element.changed",function(l){var p=l.element,h=we(p),d=xt(a,function(y){return y===h});!d||o()});function o(l){l&&(a=bb(l));var p=a.map(function(d){var y=gb(d.name||d.id),x=lt('<li><span class="bjs-crumb"><a title="'+y+'">'+y+"</a></span></li>"),M=i.findRoot(co(d))||i.findRoot(d.id);if(!M&&K(d,"bpmn:Process")){var B=t.find(function(Z){var H=we(Z);return H&&H.get("processRef")&&H.get("processRef")===d});M=i.findRoot(B.id)}return x.addEventListener("click",function(){i.setRootElement(M)}),x});s.innerHTML="";var h=p.length>1;r.toggle(Ab,h),p.forEach(function(d){s.appendChild(d)})}e.on("root.set",function(l){o(l.element)})}Ip.$inject=["eventBus","elementRegistry","canvas"];function bb(e){for(var t=we(e),i=[],s=t;s;s=s.$parent)(K(s,"bpmn:SubProcess")||K(s,"bpmn:Process"))&&i.push(s);return i.reverse()}function Tp(e,t){var i=null,s=new Cb;e.on("root.set",function(n){var r=n.element,a=t.viewbox(),o=s.get(r);if(s.set(i,{x:a.x,y:a.y,zoom:a.scale}),i=r,!(K(r,"bpmn:Collaboration")&&!o)){o=o||{x:0,y:0,zoom:1};var l=(a.x-o.x)*a.scale,p=(a.y-o.y)*a.scale;(l!==0||p!==0)&&t.scroll({dx:l,dy:p}),o.zoom!==a.scale&&t.zoom(o.zoom,{x:0,y:0})}}),e.on("diagram.clear",function(){s.clear(),i=null})}Tp.$inject=["eventBus","canvas"];function Cb(){this._entries=[],this.set=function(e,t){var i=!1;for(var s in this._entries)if(this._entries[s][0]===e){this._entries[s][1]=t,i=!0;break}i||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 i in this._entries)if(this._entries[i][0]===e){t=i;break}t!==-1&&this._entries.splice(t,1)}}var _p={x:180,y:160};function ji(e,t){this._eventBus=e,this._moddle=t;var i=this;e.on("import.render.start",1500,function(s,n){i._handleImport(n.definitions)})}ji.prototype._handleImport=function(e){if(!!e.diagrams){var t=this;this._definitions=e,this._processToDiagramMap={},e.diagrams.forEach(function(s){!s.plane||!s.plane.bpmnElement||(t._processToDiagramMap[s.plane.bpmnElement.id]=s)});var i=[];e.diagrams.forEach(function(s){var n=t._createNewDiagrams(s.plane);Array.prototype.push.apply(i,n)}),i.forEach(function(s){t._movePlaneElementsToOrigin(s.plane)})}},ji.prototype._createNewDiagrams=function(e){var t=this,i=[],s=[];e.get("planeElement").forEach(function(r){var a=r.bpmnElement;if(!!a){var o=a.$parent;K(a,"bpmn:SubProcess")&&!r.isExpanded&&i.push(a),Eb(a,e)&&s.push({diElement:r,parent:o})}});var n=[];return i.forEach(function(r){if(!t._processToDiagramMap[r.id]){var a=t._createDiagram(r);t._processToDiagramMap[r.id]=a,n.push(a)}}),s.forEach(function(r){for(var a=r.diElement,o=r.parent;o&&i.indexOf(o)===-1;)o=o.$parent;if(!!o){var l=t._processToDiagramMap[o.id];t._moveToDiPlane(a,l.plane)}}),n},ji.prototype._movePlaneElementsToOrigin=function(e){var t=e.get("planeElement"),i=wb(e),s={x:i.x-_p.x,y:i.y-_p.y};t.forEach(function(n){n.waypoint?n.waypoint.forEach(function(r){r.x=r.x-s.x,r.y=r.y-s.y}):n.bounds&&(n.bounds.x=n.bounds.x-s.x,n.bounds.y=n.bounds.y-s.y)})},ji.prototype._moveToDiPlane=function(e,t){var i=Np(e),s=i.plane.get("planeElement");s.splice(s.indexOf(e),1),t.get("planeElement").push(e)},ji.prototype._createDiagram=function(e){var t=this._moddle.create("bpmndi:BPMNPlane",{bpmnElement:e}),i=this._moddle.create("bpmndi:BPMNDiagram",{plane:t});return t.$parent=i,t.bpmnElement=e,i.$parent=this._definitions,this._definitions.diagrams.push(i),i},ji.$inject=["eventBus","moddle"];function Np(e){return K(e,"bpmndi:BPMNDiagram")?e:Np(e.$parent)}function wb(e){var t={top:1/0,right:-1/0,bottom:-1/0,left:1/0};return e.planeElement.forEach(function(i){if(!!i.bounds){var s=no(i.bounds);t.top=Math.min(s.top,t.top),t.left=Math.min(s.left,t.left)}}),QA(t)}function Eb(e,t){var i=e.$parent;return!(!K(i,"bpmn:SubProcess")||i===t.bpmnElement||gv(e,["bpmn:DataInputAssociation","bpmn:DataOutputAssociation"]))}var ar=250,xb='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.81801948,3.50735931 L10.4996894,9.1896894 L10.5,4 L12,4 L12,12 L4,12 L4,10.5 L9.6896894,10.4996894 L3.75735931,4.56801948 C3.46446609,4.27512627 3.46446609,3.80025253 3.75735931,3.50735931 C4.05025253,3.21446609 4.52512627,3.21446609 4.81801948,3.50735931 Z"/></svg>',Ib="bjs-drilldown-empty";function ni(e,t,i,s){Qe.call(this,t),this._canvas=e,this._eventBus=t,this._elementRegistry=i,this._overlays=s;var n=this;this.executed("shape.toggleCollapse",ar,function(r){var a=r.shape;n._canDrillDown(a)?n._addOverlay(a):n._removeOverlay(a)},!0),this.reverted("shape.toggleCollapse",ar,function(r){var a=r.shape;n._canDrillDown(a)?n._addOverlay(a):n._removeOverlay(a)},!0),this.executed(["shape.create","shape.move","shape.delete"],ar,function(r){var a=r.oldParent,o=r.newParent||r.parent,l=r.shape;n._canDrillDown(l)&&n._addOverlay(l),n._updateDrilldownOverlay(a),n._updateDrilldownOverlay(o),n._updateDrilldownOverlay(l)},!0),this.reverted(["shape.create","shape.move","shape.delete"],ar,function(r){var a=r.oldParent,o=r.newParent||r.parent,l=r.shape;n._canDrillDown(l)&&n._addOverlay(l),n._updateDrilldownOverlay(a),n._updateDrilldownOverlay(o),n._updateDrilldownOverlay(l)},!0),t.on("import.render.complete",function(){i.filter(function(r){return n._canDrillDown(r)}).map(function(r){n._addOverlay(r)})})}Dt(ni,Qe),ni.prototype._updateDrilldownOverlay=function(e){var t=this._canvas;if(!!e){var i=t.findRoot(e);i&&this._updateOverlayVisibility(i)}},ni.prototype._canDrillDown=function(e){var t=this._canvas;return K(e,"bpmn:SubProcess")&&t.findRoot(co(e))},ni.prototype._updateOverlayVisibility=function(e){var t=this._overlays,i=we(e),s=t.get({element:i.id,type:"drilldown"})[0];if(!!s){var n=i&&i.get("flowElements")&&i.get("flowElements").length;Bi(s.html).toggle(Ib,!n)}},ni.prototype._addOverlay=function(e){var t=this._canvas,i=this._overlays,s=i.get({element:e,type:"drilldown"});s.length&&this._removeOverlay(e);var n=lt('<button class="bjs-drilldown">'+xb+"</button>");n.addEventListener("click",function(){t.setRootElement(t.findRoot(co(e)))}),i.add(e,"drilldown",{position:{bottom:-7,right:-8},html:n}),this._updateOverlayVisibility(e)},ni.prototype._removeOverlay=function(e){var t=this._overlays;t.remove({element:e,type:"drilldown"})},ni.$inject=["canvas","eventBus","elementRegistry","overlays"];const Tb={__depends__:[Ep,pb,fb],__init__:["drilldownBreadcrumbs","drilldownOverlayBehavior","drilldownCentering","subprocessCompatibility"],drilldownBreadcrumbs:["type",Ip],drilldownCentering:["type",Tp],drilldownOverlayBehavior:["type",ni],subprocessCompatibility:["type",ji]},_b=/^class[ {]/;function Nb(e){return _b.test(e.toString())}function uo(e){return Array.isArray(e)}function po(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function or(...e){e.length===1&&uo(e[0])&&(e=e[0]),e=[...e];const t=e.pop();return t.$inject=e,t}const kb=/constructor\s*[^(]*\(\s*([^)]*)\)/m,Sb=/^(?:async\s+)?(?:function\s*[^(]*)?(?:\(\s*([^)]*)\)|(\w+))/m,Pb=/\/\*([^*]*)\*\//m;function Db(e){if(typeof e!="function")throw new Error(`Cannot annotate "${e}". Expected a function!`);const t=e.toString().match(Nb(e)?kb:Sb);if(!t)return[];const i=t[1]||t[2];return i&&i.split(",").map(s=>{const n=s.match(Pb);return(n&&n[1]||s).trim()})||[]}function kp(e,t){const i=t||{get:function(N,E){if(s.push(N),E===!1)return null;throw o(`No provider for "${N}"!`)}},s=[],n=this._providers=Object.create(i._providers||null),r=this._instances=Object.create(null),a=r.injector=this,o=function(N){const E=s.join(" -> ");return s.length=0,new Error(E?`${N} (Resolving: ${E})`:N)};function l(N,E){if(!n[N]&&N.includes(".")){const P=N.split(".");let S=l(P.shift());for(;P.length;)S=S[P.shift()];return S}if(po(r,N))return r[N];if(po(n,N)){if(s.indexOf(N)!==-1)throw s.push(N),o("Cannot resolve circular dependency!");return s.push(N),r[N]=n[N][0](n[N][1]),s.pop(),r[N]}return i.get(N,E)}function p(N,E){if(typeof E>"u"&&(E={}),typeof N!="function")if(uo(N))N=or(N.slice());else throw o(`Cannot invoke "${N}". Expected a function!`);const S=(N.$inject||Db(N)).map(k=>po(E,k)?E[k]:l(k));return{fn:N,dependencies:S}}function h(N){const{fn:E,dependencies:P}=p(N),S=Function.prototype.bind.call(E,null,...P);return new S}function d(N,E,P){const{fn:S,dependencies:k}=p(N,P);return S.apply(E,k)}function y(N){return or(E=>N.get(E))}function x(N,E){if(E&&E.length){const P=Object.create(null),S=Object.create(null),k=[],_=[],V=[];let D,F,L,q;for(let $ in n)D=n[$],E.indexOf($)!==-1&&(D[2]==="private"?(F=k.indexOf(D[3]),F===-1?(L=D[3].createChild([],E),q=y(L),k.push(D[3]),_.push(L),V.push(q),P[$]=[q,$,"private",L]):P[$]=[V[F],$,"private",_[F]]):P[$]=[D[2],D[1]],S[$]=!0),(D[2]==="factory"||D[2]==="type")&&D[1].$scope&&E.forEach(Ne=>{D[1].$scope.indexOf(Ne)!==-1&&(P[$]=[D[2],D[1]],S[Ne]=!0)});E.forEach($=>{if(!S[$])throw new Error('No provider for "'+$+'". Cannot use provider from the parent!')}),N.unshift(P)}return new kp(N,a)}const M={factory:d,type:h,value:function(N){return N}};function B(N,E){const P=N.__init__||[];return function(){P.forEach(S=>{typeof S=="string"?E.get(S):E.invoke(S)})}}function Z(N){const E=N.__exports__;if(E){const P=N.__modules__,S=Object.keys(N).reduce((F,L)=>(L!=="__exports__"&&L!=="__modules__"&&L!=="__init__"&&L!=="__depends__"&&(F[L]=N[L]),F),Object.create(null)),k=(P||[]).concat(S),_=x(k),V=or(function(F){return _.get(F)});E.forEach(function(F){n[F]=[V,F,"private",_]});const D=(N.__init__||[]).slice();return D.unshift(function(){_.init()}),N=Object.assign({},N,{__init__:D}),B(N,_)}return Object.keys(N).forEach(function(P){if(P==="__init__"||P==="__depends__")return;const S=N[P];if(S[2]==="private"){n[P]=S;return}const k=S[0],_=S[1];n[P]=[M[k],Ob(k,_),k]}),B(N,a)}function H(N,E){return N.indexOf(E)!==-1||(N=(E.__depends__||[]).reduce(H,N),N.indexOf(E)!==-1)?N:N.concat(E)}function U(N){const E=N.reduce(H,[]).map(Z);let P=!1;return function(){P||(P=!0,E.forEach(S=>S()))}}this.get=l,this.invoke=d,this.instantiate=h,this.createChild=x,this.init=U(e)}function Ob(e,t){return e!=="value"&&uo(t)&&(t=or(t.slice())),t}var Mb=1;function ri(e,t){Ut.call(this,e,Mb),this.CONNECTION_STYLE=t.style(["no-fill"],{strokeWidth:5,stroke:"fuchsia"}),this.SHAPE_STYLE=t.style({fill:"white",stroke:"fuchsia",strokeWidth:2}),this.FRAME_STYLE=t.style(["no-fill"],{stroke:"fuchsia",strokeDasharray:4,strokeWidth:2})}Dt(ri,Ut),ri.prototype.canRender=function(){return!0},ri.prototype.drawShape=function(t,i,s){var n=ge("rect");return he(n,{x:0,y:0,width:i.width||0,height:i.height||0}),gp(i)?he(n,X({},this.FRAME_STYLE,s||{})):he(n,X({},this.SHAPE_STYLE,s||{})),Ee(t,n),n},ri.prototype.drawConnection=function(t,i,s){var n=$a(i.waypoints,X({},this.CONNECTION_STYLE,s||{}));return Ee(t,n),n},ri.prototype.getShapePath=function(t){var i=t.x,s=t.y,n=t.width,r=t.height,a=[["M",i,s],["l",n,0],["l",0,r],["l",-n,0],["z"]];return Mi(a)},ri.prototype.getConnectionPath=function(t){var i=t.waypoints,s,n,r=[];for(s=0;n=i[s];s++)n=n.original||n,r.push([s===0?"M":"L",n.x,n.y]);return Mi(r)},ri.$inject=["eventBus","styles"];function Bb(){var e={"no-fill":{fill:"none"},"no-border":{strokeOpacity:0},"no-events":{pointerEvents:"none"}},t=this;this.cls=function(i,s,n){var r=this.style(s,n);return X(r,{class:i})},this.style=function(i,s){!wt(i)&&!s&&(s=i,i=[]);var n=hs(i,function(r,a){return X(r,e[a]||{})},{});return s?X(n,s):n},this.computeStyle=function(i,s,n){return wt(s)||(n=s,s=[]),t.style(s||[],X({},n,i||{}))}}const Rb={__init__:["defaultRenderer"],defaultRenderer:["type",ri],styles:["type",Bb]};function Lb(e,t){if(!e||!t)return-1;var i=e.indexOf(t);return i!==-1&&e.splice(i,1),i}function Fb(e,t,i){if(!(!e||!t)){typeof i!="number"&&(i=-1);var s=e.indexOf(t);if(s!==-1){if(s===i)return;if(i!==-1)e.splice(s,1);else return}i!==-1?e.splice(i,0,t):e.push(t)}}function lr(e,t){return Math.round(e*t)/t}function Sp(e){return $t(e)?e+"px":e}function Vb(e){for(;e.parent;)e=e.parent;return e}function jb(e){e=X({},{width:"100%",height:"100%"},e);const t=e.container||document.body,i=document.createElement("div");return i.setAttribute("class","djs-container djs-parent"),Me(i,{position:"relative",overflow:"hidden",width:Sp(e.width),height:Sp(e.height)}),t.appendChild(i),i}function Pp(e,t,i){const s=ge("g");ot(s).add(t);const n=i!==void 0?i:e.childNodes.length-1;return e.insertBefore(s,e.childNodes[n]||null),s}const Ub="base",Dp=0,Qb=1,Gb={shape:["x","y","width","height"],connection:["waypoints"]};function te(e,t,i,s){this._eventBus=t,this._elementRegistry=s,this._graphicsFactory=i,this._rootsIdx=0,this._layers={},this._planes=[],this._rootElement=null,this._init(e||{})}te.$inject=["config.canvas","eventBus","graphicsFactory","elementRegistry"],te.prototype._init=function(e){const t=this._eventBus,i=this._container=jb(e),s=this._svg=ge("svg");he(s,{width:"100%",height:"100%"}),Ee(i,s);const n=this._viewport=Pp(s,"viewport");e.deferUpdate&&(this._viewboxChanged=pv(ti(this._viewboxChanged,this),300)),t.on("diagram.init",()=>{t.fire("canvas.init",{svg:s,viewport:n})}),t.on(["shape.added","connection.added","shape.removed","connection.removed","elements.changed","root.set"],()=>{delete this._cachedViewbox}),t.on("diagram.destroy",500,this._destroy,this),t.on("diagram.clear",500,this._clear,this)},te.prototype._destroy=function(){this._eventBus.fire("canvas.destroy",{svg:this._svg,viewport:this._viewport});const e=this._container.parentNode;e&&e.removeChild(this._container),delete this._svg,delete this._container,delete this._layers,delete this._planes,delete this._rootElement,delete this._viewport},te.prototype._clear=function(){this._elementRegistry.getAll().forEach(t=>{const i=mp(t);i==="root"?this.removeRootElement(t):this._removeElement(t,i)}),this._planes=[],this._rootElement=null,delete this._cachedViewbox},te.prototype.getDefaultLayer=function(){return this.getLayer(Ub,Dp)},te.prototype.getLayer=function(e,t){if(!e)throw new Error("must specify a name");let i=this._layers[e];if(i||(i=this._layers[e]=this._createLayer(e,t)),typeof t<"u"&&i.index!==t)throw new Error("layer <"+e+"> already created at index <"+t+">");return i.group},te.prototype._getChildIndex=function(e){return hs(this._layers,function(t,i){return i.visible&&e>=i.index&&t++,t},0)},te.prototype._createLayer=function(e,t){typeof t>"u"&&(t=Qb);const i=this._getChildIndex(t);return{group:Pp(this._viewport,"layer-"+e,i),index:t,visible:!0}},te.prototype.showLayer=function(e){if(!e)throw new Error("must specify a name");const t=this._layers[e];if(!t)throw new Error("layer <"+e+"> does not exist");const i=this._viewport,s=t.group,n=t.index;if(t.visible)return s;const r=this._getChildIndex(n);return i.insertBefore(s,i.childNodes[r]||null),t.visible=!0,s},te.prototype.hideLayer=function(e){if(!e)throw new Error("must specify a name");const t=this._layers[e];if(!t)throw new Error("layer <"+e+"> does not exist");const i=t.group;return t.visible&&(Ws(i),t.visible=!1),i},te.prototype._removeLayer=function(e){const t=this._layers[e];t&&(delete this._layers[e],Ws(t.group))},te.prototype.getActiveLayer=function(){const e=this._findPlaneForRoot(this.getRootElement());return e?e.layer:null},te.prototype.findRoot=function(e){return typeof e=="string"&&(e=this._elementRegistry.get(e)),e?(this._findPlaneForRoot(Vb(e))||{}).rootElement:void 0},te.prototype.getRootElements=function(){return this._planes.map(function(e){return e.rootElement})},te.prototype._findPlaneForRoot=function(e){return xt(this._planes,function(t){return t.rootElement===e})},te.prototype.getContainer=function(){return this._container},te.prototype._updateMarker=function(e,t,i){let s;e.id||(e=this._elementRegistry.get(e)),s=this._elementRegistry._elements[e.id],s&&(G([s.gfx,s.secondaryGfx],function(n){n&&(i?ot(n).add(t):ot(n).remove(t))}),this._eventBus.fire("element.marker.update",{element:e,gfx:s.gfx,marker:t,add:!!i}))},te.prototype.addMarker=function(e,t){this._updateMarker(e,t,!0)},te.prototype.removeMarker=function(e,t){this._updateMarker(e,t,!1)},te.prototype.hasMarker=function(e,t){e.id||(e=this._elementRegistry.get(e));const i=this.getGraphics(e);return ot(i).has(t)},te.prototype.toggleMarker=function(e,t){this.hasMarker(e,t)?this.removeMarker(e,t):this.addMarker(e,t)},te.prototype.getRootElement=function(){const e=this._rootElement;return e||this._planes.length?e:this.setRootElement(this.addRootElement(null))},te.prototype.addRootElement=function(e){const t=this._rootsIdx++;e||(e={id:"__implicitroot_"+t,children:[],isImplicit:!0});const i=e.layer="root-"+t;this._ensureValid("root",e);const s=this.getLayer(i,Dp);return this.hideLayer(i),this._addRoot(e,s),this._planes.push({rootElement:e,layer:s}),e},te.prototype.removeRootElement=function(e){if(typeof e=="string"&&(e=this._elementRegistry.get(e)),!!this._findPlaneForRoot(e))return this._removeRoot(e),this._removeLayer(e.layer),this._planes=this._planes.filter(function(i){return i.rootElement!==e}),this._rootElement===e&&(this._rootElement=null),e},te.prototype.setRootElement=function(e){if(e===this._rootElement)return;let t;if(!e)throw new Error("rootElement required");return t=this._findPlaneForRoot(e),t||(e=this.addRootElement(e)),this._setRoot(e),e},te.prototype._removeRoot=function(e){const t=this._elementRegistry,i=this._eventBus;i.fire("root.remove",{element:e}),i.fire("root.removed",{element:e}),t.remove(e)},te.prototype._addRoot=function(e,t){const i=this._elementRegistry,s=this._eventBus;s.fire("root.add",{element:e}),i.add(e,t),s.fire("root.added",{element:e,gfx:t})},te.prototype._setRoot=function(e,t){const i=this._rootElement;i&&(this._elementRegistry.updateGraphics(i,null,!0),this.hideLayer(i.layer)),e&&(t||(t=this._findPlaneForRoot(e).layer),this._elementRegistry.updateGraphics(e,this._svg,!0),this.showLayer(e.layer)),this._rootElement=e,this._eventBus.fire("root.set",{element:e})},te.prototype._ensureValid=function(e,t){if(!t.id)throw new Error("element must have an id");if(this._elementRegistry.get(t.id))throw new Error("element <"+t.id+"> already exists");const i=Gb[e];if(!Fu(i,function(n){return typeof t[n]<"u"}))throw new Error("must supply { "+i.join(", ")+" } with "+e)},te.prototype._setParent=function(e,t,i){Fb(t.children,e,i),e.parent=t},te.prototype._addElement=function(e,t,i,s){i=i||this.getRootElement();const n=this._eventBus,r=this._graphicsFactory;this._ensureValid(e,t),n.fire(e+".add",{element:t,parent:i}),this._setParent(t,i,s);const a=r.create(e,t,s);return this._elementRegistry.add(t,a),r.update(e,t,a),n.fire(e+".added",{element:t,gfx:a}),t},te.prototype.addShape=function(e,t,i){return this._addElement("shape",e,t,i)},te.prototype.addConnection=function(e,t,i){return this._addElement("connection",e,t,i)},te.prototype._removeElement=function(e,t){const i=this._elementRegistry,s=this._graphicsFactory,n=this._eventBus;if(e=i.get(e.id||e),!!e)return n.fire(t+".remove",{element:e}),s.remove(e),Lb(e.parent&&e.parent.children,e),e.parent=null,n.fire(t+".removed",{element:e}),i.remove(e),e},te.prototype.removeShape=function(e){return this._removeElement(e,"shape")},te.prototype.removeConnection=function(e){return this._removeElement(e,"connection")},te.prototype.getGraphics=function(e,t){return this._elementRegistry.getGraphics(e,t)},te.prototype._changeViewbox=function(e){this._eventBus.fire("canvas.viewbox.changing"),e.apply(this),this._cachedViewbox=null,this._viewboxChanged()},te.prototype._viewboxChanged=function(){this._eventBus.fire("canvas.viewbox.changed",{viewbox:this.viewbox()})},te.prototype.viewbox=function(e){if(e===void 0&&this._cachedViewbox)return this._cachedViewbox;const t=this._viewport,i=this.getSize();let s,n,r,a,o,l,p;if(e)this._changeViewbox(function(){o=Math.min(i.width/e.width,i.height/e.height);const h=this._svg.createSVGMatrix().scale(o).translate(-e.x,-e.y);zs(t,h)});else return r=this._rootElement?this.getActiveLayer():null,s=r&&r.getBBox()||{},a=zs(t),n=a?a.matrix:Pv(),o=lr(n.a,1e3),l=lr(-n.e||0,1e3),p=lr(-n.f||0,1e3),e=this._cachedViewbox={x:l?l/o:0,y:p?p/o:0,width:i.width/o,height:i.height/o,scale:o,inner:{width:s.width||0,height:s.height||0,x:s.x||0,y:s.y||0},outer:i},e;return e},te.prototype.scroll=function(e){const t=this._viewport;let i=t.getCTM();return e&&this._changeViewbox(function(){e=X({dx:0,dy:0},e||{}),i=this._svg.createSVGMatrix().translate(e.dx,e.dy).multiply(i),Op(t,i)}),{x:i.e,y:i.f}},te.prototype.scrollToElement=function(e,t){let i=100;typeof e=="string"&&(e=this._elementRegistry.get(e));const s=this.findRoot(e);if(s!==this.getRootElement()&&this.setRootElement(s),s===e)return;t||(t={}),typeof t=="number"&&(i=t),t={top:t.top||i,right:t.right||i,bottom:t.bottom||i,left:t.left||i};const n=Fi(e),r=no(n),a=this.viewbox(),o=this.zoom();let l,p;a.y+=t.top/o,a.x+=t.left/o,a.width-=(t.right+t.left)/o,a.height-=(t.bottom+t.top)/o;const h=no(a);if(!(n.width<a.width&&n.height<a.height))l=n.x-a.x,p=n.y-a.y;else{const y=Math.max(0,r.right-h.right),x=Math.min(0,r.left-h.left),M=Math.max(0,r.bottom-h.bottom),B=Math.min(0,r.top-h.top);l=y||x,p=M||B}this.scroll({dx:-l*o,dy:-p*o})},te.prototype.zoom=function(e,t){if(!e)return this.viewbox(e).scale;if(e==="fit-viewport")return this._fitViewport(t);let i,s;return this._changeViewbox(function(){typeof t!="object"&&(i=this.viewbox().outer,t={x:i.width/2,y:i.height/2}),s=this._setZoom(e,t)}),lr(s.a,1e3)};function Op(e,t){const i="matrix("+t.a+","+t.b+","+t.c+","+t.d+","+t.e+","+t.f+")";e.setAttribute("transform",i)}te.prototype._fitViewport=function(e){const t=this.viewbox(),i=t.outer,s=t.inner;let n,r;return s.x>=0&&s.y>=0&&s.x+s.width<=i.width&&s.y+s.height<=i.height&&!e?r={x:0,y:0,width:Math.max(s.width+s.x,i.width),height:Math.max(s.height+s.y,i.height)}:(n=Math.min(1,i.width/s.width,i.height/s.height),r={x:s.x+(e?s.width/2-i.width/n/2:0),y:s.y+(e?s.height/2-i.height/n/2:0),width:i.width/n,height:i.height/n}),this.viewbox(r),this.viewbox(!1).scale},te.prototype._setZoom=function(e,t){const i=this._svg,s=this._viewport,n=i.createSVGMatrix(),r=i.createSVGPoint();let a,o,l,p,h;l=s.getCTM();const d=l.a;return t?(a=X(r,t),o=a.matrixTransform(l.inverse()),p=n.translate(o.x,o.y).scale(1/d*e).translate(-o.x,-o.y),h=l.multiply(p)):h=n.scale(e),Op(this._viewport,h),h},te.prototype.getSize=function(){return{width:this._container.clientWidth,height:this._container.clientHeight}},te.prototype.getAbsoluteBBox=function(e){const t=this.viewbox();let i;e.waypoints?i=this.getGraphics(e).getBBox():i=e;const s=i.x*t.scale-t.x*t.scale,n=i.y*t.scale-t.y*t.scale,r=i.width*t.scale,a=i.height*t.scale;return{x:s,y:n,width:r,height:a}},te.prototype.resized=function(){delete this._cachedViewbox,this._eventBus.fire("canvas.resized")};var vs="data-element-id";function ct(e){this._elements={},this._eventBus=e}ct.$inject=["eventBus"],ct.prototype.add=function(e,t,i){var s=e.id;this._validateId(s),he(t,vs,s),i&&he(i,vs,s),this._elements[s]={element:e,gfx:t,secondaryGfx:i}},ct.prototype.remove=function(e){var t=this._elements,i=e.id||e,s=i&&t[i];s&&(he(s.gfx,vs,""),s.secondaryGfx&&he(s.secondaryGfx,vs,""),delete t[i])},ct.prototype.updateId=function(e,t){this._validateId(t),typeof e=="string"&&(e=this.get(e)),this._eventBus.fire("element.updateId",{element:e,newId:t});var i=this.getGraphics(e),s=this.getGraphics(e,!0);this.remove(e),e.id=t,this.add(e,i,s)},ct.prototype.updateGraphics=function(e,t,i){var s=e.id||e,n=this._elements[s];return i?n.secondaryGfx=t:n.gfx=t,t&&he(t,vs,s),t},ct.prototype.get=function(e){var t;typeof e=="string"?t=e:t=e&&he(e,vs);var i=this._elements[t];return i&&i.element},ct.prototype.filter=function(e){var t=[];return this.forEach(function(i,s){e(i,s)&&t.push(i)}),t},ct.prototype.find=function(e){for(var t=this._elements,i=Object.keys(t),s=0;s<i.length;s++){var n=i[s],r=t[n],a=r.element,o=r.gfx;if(e(a,o))return a}},ct.prototype.getAll=function(){return this.filter(function(e){return e})},ct.prototype.forEach=function(e){var t=this._elements;Object.keys(t).forEach(function(i){var s=t[i],n=s.element,r=s.gfx;return e(n,r)})},ct.prototype.getGraphics=function(e,t){var i=e.id||e,s=this._elements[i];return s&&(t?s.secondaryGfx:s.gfx)},ct.prototype._validateId=function(e){if(!e)throw new Error("element must have an id");if(this._elements[e])throw new Error("element with id "+e+" already added")};function qb(e,t,i,s){var n=i.inverse;return Object.defineProperty(e,"remove",{value:function(r){var a=this.indexOf(r);return a!==-1&&(this.splice(a,1),t.unset(r,n,s)),r}}),Object.defineProperty(e,"contains",{value:function(r){return this.indexOf(r)!==-1}}),Object.defineProperty(e,"add",{value:function(r,a){var o=this.indexOf(r);if(typeof a>"u"){if(o!==-1)return;a=this.length}o!==-1&&this.splice(o,1),this.splice(a,0,r),o===-1&&t.set(r,n,s)}}),Object.defineProperty(e,"__refs_collection",{value:!0}),e}function Hb(e){return e.__refs_collection===!0}function Jb(e,t){return Object.prototype.hasOwnProperty.call(e,t.name||t)}function Mp(e,t,i){var s=qb(i[t.name]||[],e,t,i);Object.defineProperty(i,t.name,{enumerable:t.enumerable,value:s}),s.length&&s.forEach(function(n){e.set(n,t.inverse,i)})}function Kb(e,t,i){var s=t.inverse,n=i[t.name];Object.defineProperty(i,t.name,{configurable:t.configurable,enumerable:t.enumerable,get:function(){return n},set:function(r){if(r!==n){var a=n;n=null,a&&e.unset(a,s,i),n=r,e.set(n,s,i)}}})}function mt(e,t){if(!(this instanceof mt))return new mt(e,t);e.inverse=t,t.inverse=e,this.props={},this.props[e.name]=e,this.props[t.name]=t}mt.prototype.bind=function(e,t){if(typeof t=="string"){if(!this.props[t])throw new Error("no property <"+t+"> in ref");t=this.props[t]}t.collection?Mp(this,t,e):Kb(this,t,e)},mt.prototype.ensureRefsCollection=function(e,t){var i=e[t.name];return Hb(i)||Mp(this,t,e),i},mt.prototype.ensureBound=function(e,t){Jb(e,t)||this.bind(e,t)},mt.prototype.unset=function(e,t,i){e&&(this.ensureBound(e,t),t.collection?this.ensureRefsCollection(e,t).remove(i):e[t.name]=void 0)},mt.prototype.set=function(e,t,i){e&&(this.ensureBound(e,t),t.collection?this.ensureRefsCollection(e,t).add(i):e[t.name]=i)};var ho=new mt({name:"children",enumerable:!0,collection:!0},{name:"parent"}),Bp=new mt({name:"labels",enumerable:!0,collection:!0},{name:"labelTarget"}),Rp=new mt({name:"attachers",collection:!0},{name:"host"}),Lp=new mt({name:"outgoing",collection:!0},{name:"source"}),Fp=new mt({name:"incoming",collection:!0},{name:"target"});function $s(){Object.defineProperty(this,"businessObject",{writable:!0}),Object.defineProperty(this,"label",{get:function(){return this.labels[0]},set:function(e){var t=this.label,i=this.labels;!e&&t?i.remove(t):i.add(e,0)}}),ho.bind(this,"parent"),Bp.bind(this,"labels"),Lp.bind(this,"outgoing"),Fp.bind(this,"incoming")}function en(){$s.call(this),ho.bind(this,"children"),Rp.bind(this,"host"),Rp.bind(this,"attachers")}Dt(en,$s);function Vp(){$s.call(this),ho.bind(this,"children")}Dt(Vp,en);function jp(){en.call(this),Bp.bind(this,"labelTarget")}Dt(jp,en);function Up(){$s.call(this),Lp.bind(this,"source"),Fp.bind(this,"target")}Dt(Up,$s);var Wb={connection:Up,shape:en,label:jp,root:Vp};function zb(e,t){var i=Wb[e];if(!i)throw new Error("unknown type: <"+e+">");return X(new i,t)}function As(){this._uid=12}As.prototype.createRoot=function(e){return this.create("root",e)},As.prototype.createLabel=function(e){return this.create("label",e)},As.prototype.createShape=function(e){return this.create("shape",e)},As.prototype.createConnection=function(e){return this.create("connection",e)},As.prototype.create=function(e,t){return t=X({},t||{}),t.id||(t.id=e+"_"+this._uid++),zb(e,t)};var cr="__fn",Qp=1e3,Yb=Array.prototype.slice;function Xe(){this._listeners={},this.on("diagram.destroy",1,this._destroy,this)}Xe.prototype.on=function(e,t,i,s){if(e=wt(e)?e:[e],ei(t)&&(s=i,i=t,t=Qp),!$t(t))throw new Error("priority must be a number");var n=i;s&&(n=ti(i,s),n[cr]=i[cr]||i);var r=this;e.forEach(function(a){r._addListener(a,{priority:t,callback:n,next:null})})},Xe.prototype.once=function(e,t,i,s){var n=this;if(ei(t)&&(s=i,i=t,t=Qp),!$t(t))throw new Error("priority must be a number");function r(){r.__isTomb=!0;var a=i.apply(s,arguments);return n.off(e,r),a}r[cr]=i,this.on(e,t,r)},Xe.prototype.off=function(e,t){e=wt(e)?e:[e];var i=this;e.forEach(function(s){i._removeListener(s,t)})},Xe.prototype.createEvent=function(e){var t=new tn;return t.init(e),t},Xe.prototype.fire=function(e,t){var i,s,n,r;if(r=Yb.call(arguments),typeof e=="object"&&(t=e,e=t.type),!e)throw new Error("no event type specified");if(s=this._listeners[e],!!s){t instanceof tn?i=t:i=this.createEvent(t),r[0]=i;var a=i.type;e!==a&&(i.type=e);try{n=this._invokeListeners(i,r,s)}finally{e!==a&&(i.type=a)}return n===void 0&&i.defaultPrevented&&(n=!1),n}},Xe.prototype.handleError=function(e){return this.fire("error",{error:e})===!1},Xe.prototype._destroy=function(){this._listeners={}},Xe.prototype._invokeListeners=function(e,t,i){for(var s;i&&!e.cancelBubble;)s=this._invokeListener(e,t,i),i=i.next;return s},Xe.prototype._invokeListener=function(e,t,i){var s;if(i.callback.__isTomb)return s;try{s=Xb(i.callback,t),s!==void 0&&(e.returnValue=s,e.stopPropagation()),s===!1&&e.preventDefault()}catch(n){if(!this.handleError(n))throw console.error("unhandled error in event listener",n),n}return s},Xe.prototype._addListener=function(e,t){var i=this._getListeners(e),s;if(!i){this._setListeners(e,t);return}for(;i;){if(i.priority<t.priority){t.next=i,s?s.next=t:this._setListeners(e,t);return}s=i,i=i.next}s.next=t},Xe.prototype._getListeners=function(e){return this._listeners[e]},Xe.prototype._setListeners=function(e,t){this._listeners[e]=t},Xe.prototype._removeListener=function(e,t){var i=this._getListeners(e),s,n,r;if(!t){this._setListeners(e,null);return}for(;i;)s=i.next,r=i.callback,(r===t||r[cr]===t)&&(n?n.next=s:this._setListeners(e,s)),n=i,i=s};function tn(){}tn.prototype.stopPropagation=function(){this.cancelBubble=!0},tn.prototype.preventDefault=function(){this.defaultPrevented=!0},tn.prototype.init=function(e){X(this,e||{})};function Xb(e,t){return e.apply(null,t)}function Zb(e){return e.childNodes[0]}function $b(e){return e.parentNode.childNodes[1]}function ut(e,t){this._eventBus=e,this._elementRegistry=t}ut.$inject=["eventBus","elementRegistry"],ut.prototype._getChildrenContainer=function(e){var t=this._elementRegistry.getGraphics(e),i;return e.parent?(i=$b(t),i||(i=ge("g"),ot(i).add("djs-children"),Ee(t.parentNode,i))):i=t,i},ut.prototype._clear=function(e){var t=Zb(e);return ip(t),t},ut.prototype._createContainer=function(e,t,i,s){var n=ge("g");ot(n).add("djs-group"),typeof i<"u"?Gp(n,t,t.childNodes[i]):Ee(t,n);var r=ge("g");ot(r).add("djs-element"),ot(r).add("djs-"+e),s&&ot(r).add("djs-frame"),Ee(n,r);var a=ge("g");return ot(a).add("djs-visual"),Ee(r,a),r},ut.prototype.create=function(e,t,i){var s=this._getChildrenContainer(t.parent);return this._createContainer(e,s,i,gp(t))},ut.prototype.updateContainments=function(e){var t=this,i=this._elementRegistry,s;s=hs(e,function(n,r){return r.parent&&(n[r.parent.id]=r.parent),n},{}),G(s,function(n){var r=n.children;if(!!r){var a=t._getChildrenContainer(n);G(r.slice().reverse(),function(o){var l=i.getGraphics(o);Gp(l.parentNode,a)})}})},ut.prototype.drawShape=function(e,t,i={}){var s=this._eventBus;return s.fire("render.shape",{gfx:e,element:t,attrs:i})},ut.prototype.getShapePath=function(e){var t=this._eventBus;return t.fire("render.getShapePath",e)},ut.prototype.drawConnection=function(e,t,i={}){var s=this._eventBus;return s.fire("render.connection",{gfx:e,element:t,attrs:i})},ut.prototype.getConnectionPath=function(e){var t=this._eventBus;return t.fire("render.getConnectionPath",e)},ut.prototype.update=function(e,t,i){if(!!t.parent){var s=this._clear(i);if(e==="shape")this.drawShape(s,t),op(i,t.x,t.y);else if(e==="connection")this.drawConnection(s,t);else throw new Error("unknown type: "+e);t.hidden?he(i,"display","none"):he(i,"display","block")}},ut.prototype.remove=function(e){var t=this._elementRegistry.getGraphics(e);Ws(t.parentNode)};function Gp(e,t,i){var s=i||t.firstChild;e!==s&&t.insertBefore(e,s)}const e0={__depends__:[Rb],__init__:["canvas"],canvas:["type",te],elementRegistry:["type",ct],elementFactory:["type",As],eventBus:["type",Xe],graphicsFactory:["type",ut]};function t0(e){var t=new kp(e);return t.init(),t}function i0(e){e=e||{};var t={config:["value",e]},i=[t,e0].concat(e.modules||[]);return t0(i)}function bs(e,t){this._injector=t=t||i0(e),this.get=t.get,this.invoke=t.invoke,this.get("eventBus").fire("diagram.init")}bs.prototype.destroy=function(){this.get("eventBus").fire("diagram.destroy")},bs.prototype.clear=function(){this.get("eventBus").fire("diagram.clear")};function fo(){}fo.prototype.get=function(e){return this.$model.properties.get(this,e)},fo.prototype.set=function(e,t){this.$model.properties.set(this,e,t)};function qp(e,t){this.model=e,this.properties=t}qp.prototype.createType=function(e){var t=this.model,i=this.properties,s=Object.create(fo.prototype);G(e.properties,function(a){!a.isMany&&a.default!==void 0&&(s[a.name]=a.default)}),i.defineModel(s,t),i.defineDescriptor(s,e);var n=e.ns.name;function r(a){i.define(this,"$type",{value:n,enumerable:!0}),i.define(this,"$attrs",{value:{}}),i.define(this,"$parent",{writable:!0}),G(a,ti(function(o,l){this.set(l,o)},this))}return r.prototype=s,r.hasType=s.$instanceOf=this.model.hasType,i.defineModel(r,t),i.defineDescriptor(r,e),r};var s0={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},Hp={String:function(e){return e},Boolean:function(e){return e==="true"},Integer:function(e){return parseInt(e,10)},Real:function(e){return parseFloat(e)}};function mo(e,t){var i=Hp[e];return i?i(t):t}function go(e){return!!s0[e]}function Jp(e){return!!Hp[e]}function Le(e,t){var i=e.split(/:/),s,n;if(i.length===1)s=e,n=t;else if(i.length===2)s=i[1],n=i[0];else throw new Error("expected <prefix:localName> or <localName>, got "+e);return e=(n?n+":":"")+s,{name:e,prefix:n,localName:s}}function pt(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}pt.prototype.build=function(){return hv(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},pt.prototype.addProperty=function(e,t,i){typeof t=="boolean"&&(i=t,t=void 0),this.addNamedProperty(e,i!==!1);var s=this.properties;t!==void 0?s.splice(t,0,e):s.push(e)},pt.prototype.replaceProperty=function(e,t,i){var s=e.ns,n=this.properties,r=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 o=n.indexOf(e);if(o===-1)throw new Error("property <"+s.name+"> not found in property list");n.splice(o,1),this.addProperty(t,i?void 0:o,a),r[s.name]=r[s.localName]=t},pt.prototype.redefineProperty=function(e,t,i){var s=e.ns.prefix,n=t.split("#"),r=Le(n[0],s),a=Le(n[1],r.prefix).name,o=this.propertiesByName[a];if(o)this.replaceProperty(o,e,i);else throw new Error("refined property <"+a+"> not found");delete e.redefines},pt.prototype.addNamedProperty=function(e,t){var i=e.ns,s=this.propertiesByName;t&&(this.assertNotDefined(e,i.name),this.assertNotDefined(e,i.localName)),s[i.name]=s[i.localName]=e},pt.prototype.removeNamedProperty=function(e){var t=e.ns,i=this.propertiesByName;delete i[t.name],delete i[t.localName]},pt.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},pt.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},pt.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},pt.prototype.assertNotDefined=function(e,t){var i=e.name,s=this.propertiesByName[i];if(s)throw new Error("property <"+i+"> already defined; override of <"+s.definedBy.ns.name+"#"+s.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},pt.prototype.hasProperty=function(e){return this.propertiesByName[e]},pt.prototype.addTrait=function(e,t){t&&this.assertNotTrait(e);var i=this.allTypesByName,s=this.allTypes,n=e.name;n in i||(G(e.properties,ti(function(r){r=X({},r,{name:r.ns.localName,inherited:t}),Object.defineProperty(r,"definedBy",{value:e});var a=r.replaces,o=r.redefines;a||o?this.redefineProperty(r,a||o,a):(r.isBody&&this.setBodyProperty(r),r.isId&&this.setIdProperty(r),this.addProperty(r))},this)),s.push(e),i[n]=e)};function ai(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,G(e,ti(this.registerPackage,this))}ai.prototype.getPackage=function(e){return this.packageMap[e]},ai.prototype.getPackages=function(){return this.packages},ai.prototype.registerPackage=function(e){e=X({},e);var t=this.packageMap;Kp(t,e,"prefix"),Kp(t,e,"uri"),G(e.types,ti(function(i){this.registerType(i,e)},this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},ai.prototype.registerType=function(e,t){e=X({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:X(e.meta||{})});var i=Le(e.name,t.prefix),s=i.name,n={};G(e.properties,ti(function(r){var a=Le(r.name,i.prefix),o=a.name;go(r.type)||(r.type=Le(r.type,a.prefix).name),X(r,{ns:a,name:o}),n[o]=r},this)),X(e,{ns:i,name:s,propertiesByName:n}),G(e.extends,ti(function(r){var a=Le(r,i.prefix),o=this.typeMap[a.name];o.traits=o.traits||[],o.traits.push(s)},this)),this.definePackage(e,t),this.typeMap[s]=e},ai.prototype.mapTypes=function(e,t,i){var s=go(e.name)?{name:e.name}:this.typeMap[e.name],n=this;function r(l,p){var h=Le(l,go(l)?"":e.prefix);n.mapTypes(h,t,p)}function a(l){return r(l,!0)}function o(l){return r(l,!1)}if(!s)throw new Error("unknown type <"+e.name+">");G(s.superClass,i?a:o),t(s,!i),G(s.traits,a)},ai.prototype.getEffectiveDescriptor=function(e){var t=Le(e),i=new pt(t);this.mapTypes(t,function(n,r){i.addTrait(n,r)});var s=i.build();return this.definePackage(s,s.allTypes[s.allTypes.length-1].$pkg),s},ai.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})};function Kp(e,t,i){var s=t[i];if(s in e)throw new Error("package with "+i+" <"+s+"> already defined")}function Ui(e){this.model=e}Ui.prototype.set=function(e,t,i){if(!Et(t)||!t.length)throw new TypeError("property name must be a non-empty string");var s=this.getProperty(e,t),n=s&&s.name;n0(i)?s?delete e[n]:delete e.$attrs[yo(t)]:s?n in e?e[n]=i:Wp(e,s,i):e.$attrs[yo(t)]=i},Ui.prototype.get=function(e,t){var i=this.getProperty(e,t);if(!i)return e.$attrs[yo(t)];var s=i.name;return!e[s]&&i.isMany&&Wp(e,i,[]),e[s]},Ui.prototype.define=function(e,t,i){if(!i.writable){var s=i.value;i=X({},i,{get:function(){return s}}),delete i.value}Object.defineProperty(e,t,i)},Ui.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},Ui.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},Ui.prototype.getProperty=function(e,t){var i=this.model,s=i.getPropertyDescriptor(e,t);if(s)return s;if(t.includes(":"))return null;const n=i.config.strict;if(typeof n<"u"){const r=new TypeError(`unknown property <${t}> on <${e.$type}>`);if(n)throw r;typeof console<"u"}return null};function n0(e){return typeof e>"u"}function Wp(e,t,i){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:i,configurable:!0})}function yo(e){return e.replace(/^:/,"")}function gt(e,t={}){this.properties=new Ui(this),this.factory=new qp(this,this.properties),this.registry=new ai(e,this.properties),this.typeCache={},this.config=t}gt.prototype.create=function(e,t){var i=this.getType(e);if(!i)throw new Error("unknown type <"+e+">");return new i(t)},gt.prototype.getType=function(e){var t=this.typeCache,i=Et(e)?e:e.ns.name,s=t[i];return s||(e=this.registry.getEffectiveDescriptor(i),s=t[i]=this.factory.createType(e)),s},gt.prototype.createAny=function(e,t,i){var s=Le(e),n={$type:e,$instanceOf:function(a){return a===this.$type},get:function(a){return this[a]},set:function(a,o){dv(this,[a],o)}},r={name:e,isGeneric:!0,ns:{prefix:s.prefix,localName:s.localName,uri:t}};return this.properties.defineDescriptor(n,r),this.properties.defineModel(n,this),this.properties.define(n,"get",{enumerable:!1,writable:!0}),this.properties.define(n,"set",{enumerable:!1,writable:!0}),this.properties.define(n,"$parent",{enumerable:!1,writable:!0}),this.properties.define(n,"$instanceOf",{enumerable:!1,writable:!0}),G(i,function(a,o){Pi(a)&&a.value!==void 0?n[a.name]=a.value:n[o]=a}),n},gt.prototype.getPackage=function(e){return this.registry.getPackage(e)},gt.prototype.getPackages=function(){return this.registry.getPackages()},gt.prototype.getElementDescriptor=function(e){return e.$descriptor},gt.prototype.hasType=function(e,t){t===void 0&&(t=e,e=this);var i=e.$model.getElementDescriptor(e);return t in i.allTypesByName},gt.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},gt.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var zp=String.fromCharCode,r0=Object.prototype.hasOwnProperty,a0=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/ig,sn={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};Object.keys(sn).forEach(function(e){sn[e.toUpperCase()]=sn[e]});function o0(e,t,i,s){return s?r0.call(sn,s)?sn[s]:"&"+s+";":zp(t||parseInt(i,16))}function Qi(e){return e.length>3&&e.indexOf("&")!==-1?e.replace(a0,o0):e}var l0="http://www.w3.org/2001/XMLSchema-instance",c0="xsi",Yp="xsi:type",Xp="non-whitespace outside of root node";function Cs(e){return new Error(e)}function Zp(e){return"missing namespace for prefix <"+e+">"}function ur(e){return{get:e,enumerable:!0}}function u0(e){var t={},i;for(i in e)t[i]=e[i];return t}function vo(e){return e+"$uri"}function p0(e){var t={},i,s;for(i in e)s=e[i],t[s]=s,t[vo(s)]=i;return t}function $p(){return{line:0,column:0}}function d0(e){throw e}function ed(e){if(!this)return new ed(e);var t=e&&e.proxy,i,s,n,r,a=d0,o,l,p,h,d=$p,y=!1,x=!1,M=null,B=!1,Z;function H(E){E instanceof Error||(E=Cs(E)),M=E,a(E,d)}function U(E){!o||(E instanceof Error||(E=Cs(E)),o(E,d))}this.on=function(E,P){if(typeof P!="function")throw Cs("required args <name, cb>");switch(E){case"openTag":s=P;break;case"text":i=P;break;case"closeTag":n=P;break;case"error":a=P;break;case"warn":o=P;break;case"cdata":r=P;break;case"attention":h=P;break;case"question":p=P;break;case"comment":l=P;break;default:throw Cs("unsupported event: "+E)}return this},this.ns=function(E){if(typeof E>"u"&&(E={}),typeof E!="object")throw Cs("required args <nsMap={}>");var P={},S;for(S in E)P[S]=E[S];return P[l0]=c0,x=!0,Z=P,this},this.parse=function(E){if(typeof E!="string")throw Cs("required args <xml=string>");return M=null,N(E),d=$p,B=!1,M},this.stop=function(){B=!0};function N(E){var P=x?[]:null,S=x?p0(Z):null,k,_=[],V=0,D=!1,F=!1,L=0,q=0,$,Ne,oe,g,v,I,R,W,re,C="",w=0,O;function Y(){if(O!==null)return O;var ne,f,c,u=x&&S.xmlns,m=x&&y?[]:null,A=w,T=C,J=T.length,ce,le,ue,ke,pe,fi={},Dr={},it,z,de;e:for(;A<J;A++)if(it=!1,z=T.charCodeAt(A),!(z===32||z<14&&z>8)){for((z<65||z>122||z>90&&z<97)&&z!==95&&z!==58&&(U("illegal first char attribute name"),it=!0),de=A+1;de<J;de++)if(z=T.charCodeAt(de),!(z>96&&z<123||z>64&&z<91||z>47&&z<59||z===46||z===45||z===95)){if(z===32||z<14&&z>8){U("missing attribute value"),A=de;continue e}if(z===61)break;U("illegal attribute name char"),it=!0}if(pe=T.substring(A,de),pe==="xmlns:xmlns"&&(U("illegal declaration of xmlns"),it=!0),z=T.charCodeAt(de+1),z===34)de=T.indexOf('"',A=de+2),de===-1&&(de=T.indexOf("'",A),de!==-1&&(U("attribute value quote missmatch"),it=!0));else if(z===39)de=T.indexOf("'",A=de+2),de===-1&&(de=T.indexOf('"',A),de!==-1&&(U("attribute value quote missmatch"),it=!0));else for(U("missing attribute value quotes"),it=!0,de=de+1;de<J&&(z=T.charCodeAt(de+1),!(z===32||z<14&&z>8));de++);for(de===-1&&(U("missing closing quotes"),de=J,it=!0),it||(ue=T.substring(A,de)),A=de;de+1<J&&(z=T.charCodeAt(de+1),!(z===32||z<14&&z>8));de++)A===de&&(U("illegal character after attribute end"),it=!0);if(A=de+1,it)continue e;if(pe in Dr){U("attribute <"+pe+"> already defined");continue}if(Dr[pe]=!0,!x){fi[pe]=ue;continue}if(y){if(le=pe==="xmlns"?"xmlns":pe.charCodeAt(0)===120&&pe.substr(0,6)==="xmlns:"?pe.substr(6):null,le!==null){if(ne=Qi(ue),f=vo(le),ke=Z[ne],!ke){if(le==="xmlns"||f in S&&S[f]!==ne)do ke="ns"+V++;while(typeof S[ke]<"u");else ke=le;Z[ne]=ke}S[le]!==ke&&(ce||(S=u0(S),ce=!0),S[le]=ke,le==="xmlns"&&(S[vo(ke)]=ne,u=ke),S[f]=ne),fi[pe]=ue;continue}m.push(pe,ue);continue}if(z=pe.indexOf(":"),z===-1){fi[pe]=ue;continue}if(!(c=S[pe.substring(0,z)])){U(Zp(pe.substring(0,z)));continue}pe=u===c?pe.substr(z+1):c+pe.substr(z),pe===Yp&&(z=ue.indexOf(":"),z!==-1?(c=ue.substring(0,z),c=S[c]||c,ue=c+ue.substring(z)):ue=u+":"+ue),fi[pe]=ue}if(y)for(A=0,J=m.length;A<J;A++){if(pe=m[A++],ue=m[A],z=pe.indexOf(":"),z!==-1){if(!(c=S[pe.substring(0,z)])){U(Zp(pe.substring(0,z)));continue}pe=u===c?pe.substr(z+1):c+pe.substr(z),pe===Yp&&(z=ue.indexOf(":"),z!==-1?(c=ue.substring(0,z),c=S[c]||c,ue=c+ue.substring(z)):ue=u+":"+ue)}fi[pe]=ue}return O=fi}function ee(){for(var ne=/(\r\n|\r|\n)/g,f=0,c=0,u=0,m=q,A,T;L>=u&&(A=ne.exec(E),!(!A||(m=A[0].length+A.index,m>L)));)f+=1,u=m;return L==-1?(c=m,T=E.substring(q)):q===0?T=E.substring(q,L):(c=L-u,T=q==-1?E.substring(L):E.substring(L,q+1)),{data:T,line:f,column:c}}for(d=ee,t&&(re=Object.create({},{name:ur(function(){return R}),originalName:ur(function(){return W}),attrs:ur(Y),ns:ur(function(){return S})}));q!==-1;){if(E.charCodeAt(q)===60?L=q:L=E.indexOf("<",q),L===-1){if(_.length)return H("unexpected end of file");if(q===0)return H("missing start tag");q<E.length&&E.substring(q).trim()&&U(Xp);return}if(q!==L){if(_.length){if(i&&(i(E.substring(q,L),Qi,d),B))return}else if(E.substring(q,L).trim()&&(U(Xp),B))return}if(g=E.charCodeAt(L+1),g===33){if(oe=E.charCodeAt(L+2),oe===91&&E.substr(L+3,6)==="CDATA["){if(q=E.indexOf("]]>",L),q===-1)return H("unclosed cdata");if(r&&(r(E.substring(L+9,q),d),B))return;q+=3;continue}if(oe===45&&E.charCodeAt(L+3)===45){if(q=E.indexOf("-->",L),q===-1)return H("unclosed comment");if(l&&(l(E.substring(L+4,q),Qi,d),B))return;q+=3;continue}}if(g===63){if(q=E.indexOf("?>",L),q===-1)return H("unclosed question");if(p&&(p(E.substring(L,q+2),d),B))return;q+=2;continue}for($=L+1;;$++){if(v=E.charCodeAt($),isNaN(v))return q=-1,H("unclosed tag");if(v===34)oe=E.indexOf('"',$+1),$=oe!==-1?oe:$;else if(v===39)oe=E.indexOf("'",$+1),$=oe!==-1?oe:$;else if(v===62){q=$;break}}if(g===33){if(h&&(h(E.substring(L,q+1),Qi,d),B))return;q+=1;continue}if(O={},g===47){if(D=!1,F=!0,!_.length)return H("missing open tag");if($=R=_.pop(),oe=L+2+$.length,E.substring(L+2,oe)!==$)return H("closing tag mismatch");for(;oe<q;oe++)if(g=E.charCodeAt(oe),!(g===32||g>8&&g<14))return H("close tag")}else{if(E.charCodeAt(q-1)===47?($=R=E.substring(L+1,q-1),D=!0,F=!0):($=R=E.substring(L+1,q),D=!0,F=!1),!(g>96&&g<123||g>64&&g<91||g===95||g===58))return H("illegal first char nodeName");for(oe=1,Ne=$.length;oe<Ne;oe++)if(g=$.charCodeAt(oe),!(g>96&&g<123||g>64&&g<91||g>47&&g<59||g===45||g===95||g==46)){if(g===32||g<14&&g>8){R=$.substring(0,oe),O=null;break}return H("invalid nodeName")}F||_.push(R)}if(x){if(k=S,D&&(F||P.push(k),O===null&&(y=$.indexOf("xmlns",oe)!==-1)&&(w=oe,C=$,Y(),y=!1)),W=R,g=R.indexOf(":"),g!==-1){if(I=S[R.substring(0,g)],!I)return H("missing namespace on <"+W+">");R=R.substr(g+1)}else I=S.xmlns;I&&(R=I+":"+R)}if(D&&(w=oe,C=$,s&&(t?s(re,Qi,F,d):s(R,Y,Qi,F,d),B)))return;if(F){if(n&&(n(t?re:R,Qi,D,d),B))return;x&&(D?S=k:S=P.pop())}q+=1}}}function td(e){return e.xml&&e.xml.tagAlias==="lowerCase"}var h0={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},pr="xsi:type";function id(e){return e.xml&&e.xml.serialize}function sd(e){return id(e)===pr}function f0(e){return id(e)==="property"}function m0(e){return e.charAt(0).toUpperCase()+e.slice(1)}function nd(e,t){return td(t)?e.prefix+":"+m0(e.localName):e.name}function g0(e,t){var i=e.name,s=e.localName,n=t.xml&&t.xml.typePrefix;return n&&s.indexOf(n)===0?e.prefix+":"+s.slice(n.length):i}function y0(e,t){var i=Le(e),s=t.getPackage(i.prefix);return g0(i,s)}function oi(e){return new Error(e)}function Ht(e){return e.$descriptor}function v0(e){X(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(t){this.references.push(t)},this.addElement=function(t){if(!t)throw oi("expected element");var i=this.elementsById,s=Ht(t),n=s.idProperty,r;if(n&&(r=t.get(n.name),r)){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(r))throw new Error("illegal ID <"+r+">");if(i[r])throw oi("duplicate ID <"+r+">");i[r]=t}},this.addWarning=function(t){this.warnings.push(t)}}function nn(){}nn.prototype.handleEnd=function(){},nn.prototype.handleText=function(){},nn.prototype.handleNode=function(){};function Ao(){}Ao.prototype=Object.create(nn.prototype),Ao.prototype.handleNode=function(){return this};function ws(){}ws.prototype=Object.create(nn.prototype),ws.prototype.handleText=function(e){this.body=(this.body||"")+e};function rn(e,t){this.property=e,this.context=t}rn.prototype=Object.create(ws.prototype),rn.prototype.handleNode=function(e){if(this.element)throw oi("expected no sub nodes");return this.element=this.createReference(e),this},rn.prototype.handleEnd=function(){this.element.id=this.body},rn.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}};function bo(e,t){this.element=t,this.propertyDesc=e}bo.prototype=Object.create(ws.prototype),bo.prototype.handleEnd=function(){var e=this.body||"",t=this.element,i=this.propertyDesc;e=mo(i.type,e),i.isMany?t.get(i.name).push(e):t.set(i.name,e)};function dr(){}dr.prototype=Object.create(ws.prototype),dr.prototype.handleNode=function(e){var t=this,i=this.element;return i?t=this.handleChild(e):(i=this.element=this.createElement(e),this.context.addElement(i)),t};function Fe(e,t,i){this.model=e,this.type=e.getType(t),this.context=i}Fe.prototype=Object.create(dr.prototype),Fe.prototype.addReference=function(e){this.context.addReference(e)},Fe.prototype.handleText=function(e){var t=this.element,i=Ht(t),s=i.bodyProperty;if(!s)throw oi("unexpected body text <"+e+">");ws.prototype.handleText.call(this,e)},Fe.prototype.handleEnd=function(){var e=this.body,t=this.element,i=Ht(t),s=i.bodyProperty;s&&e!==void 0&&(e=mo(s.type,e),t.set(s.name,e))},Fe.prototype.createElement=function(e){var t=e.attributes,i=this.type,s=Ht(i),n=this.context,r=new i({}),a=this.model,o;return G(t,function(l,p){var h=s.propertiesByName[p],d;h&&h.isReference?h.isMany?(d=l.split(" "),G(d,function(y){n.addReference({element:r,property:h.ns.name,id:y})})):n.addReference({element:r,property:h.ns.name,id:l}):(h?l=mo(h.type,l):p!=="xmlns"&&(o=Le(p,s.ns.prefix),a.getPackage(o.prefix)&&n.addWarning({message:"unknown attribute <"+p+">",element:r,property:p,value:l})),r.set(p,l))}),r},Fe.prototype.getPropertyForNode=function(e){var t=e.name,i=Le(t),s=this.type,n=this.model,r=Ht(s),a=i.name,o=r.propertiesByName[a],l,p;if(o&&!o.isAttr)return sd(o)&&(l=e.attributes[pr],l)?(l=y0(l,n),p=n.getType(l),X({},o,{effectiveType:Ht(p).name})):o;var h=n.getPackage(i.prefix);if(h){if(l=nd(i,h),p=n.getType(l),o=xt(r.properties,function(d){return!d.isVirtual&&!d.isReference&&!d.isAttribute&&p.hasType(d.type)}),o)return X({},o,{effectiveType:Ht(p).name})}else if(o=xt(r.properties,function(d){return!d.isReference&&!d.isAttribute&&d.type==="Element"}),o)return o;throw oi("unrecognized element <"+i.name+">")},Fe.prototype.toString=function(){return"ElementDescriptor["+Ht(this.type).name+"]"},Fe.prototype.valueHandler=function(e,t){return new bo(e,t)},Fe.prototype.referenceHandler=function(e){return new rn(e,this.context)},Fe.prototype.handler=function(e){return e==="Element"?new Es(this.model,e,this.context):new Fe(this.model,e,this.context)},Fe.prototype.handleChild=function(e){var t,i,s,n;if(t=this.getPropertyForNode(e),s=this.element,i=t.effectiveType||t.type,Jp(i))return this.valueHandler(t,s);t.isReference?n=this.referenceHandler(t).handleNode(e):n=this.handler(i).handleNode(e);var r=n.element;return r!==void 0&&(t.isMany?s.get(t.name).push(r):s.set(t.name,r),t.isReference?(X(r,{element:s}),this.context.addReference(r)):r.$parent=s),n};function Co(e,t,i){Fe.call(this,e,t,i)}Co.prototype=Object.create(Fe.prototype),Co.prototype.createElement=function(e){var t=e.name,i=Le(t),s=this.model,n=this.type,r=s.getPackage(i.prefix),a=r&&nd(i,r)||t;if(!n.hasType(a))throw oi("unexpected element <"+e.originalName+">");return Fe.prototype.createElement.call(this,e)};function Es(e,t,i){this.model=e,this.context=i}Es.prototype=Object.create(dr.prototype),Es.prototype.createElement=function(e){var t=e.name,i=Le(t),s=i.prefix,n=e.ns[s+"$uri"],r=e.attributes;return this.model.createAny(t,n,r)},Es.prototype.handleChild=function(e){var t=new Es(this.model,"Element",this.context).handleNode(e),i=this.element,s=t.element,n;return s!==void 0&&(n=i.$children=i.$children||[],n.push(s),s.$parent=i),t},Es.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)};function wo(e){e instanceof gt&&(e={model:e}),X(this,{lax:!1},e)}wo.prototype.fromXML=function(e,t,i){var s=t.rootHandler;t instanceof Fe?(s=t,t={}):typeof t=="string"?(s=this.handler(t),t={}):typeof s=="string"&&(s=this.handler(s));var n=this.model,r=this.lax,a=new v0(X({},t,{rootHandler:s})),o=new ed({proxy:!0}),l=A0();s.context=a,l.push(s);function p(P,S,k){var _=S(),V=_.line,D=_.column,F=_.data;F.charAt(0)==="<"&&F.indexOf(" ")!==-1&&(F=F.slice(0,F.indexOf(" "))+">");var L="unparsable content "+(F?F+" ":"")+`detected
|
|
19
19
|
line: `+V+`
|
|
20
20
|
column: `+D+`
|
|
21
|
-
nested error: `+P.message;if(k)return a.addWarning({message:L,error:P}),!0;throw oi(L)}function h(P,S){return p(P,S,!0)}function d(){var P=a.elementsById,S=a.references,k,_;for(k=0;_=S[k];k++){var V=_.element,D=P[_.id],F=
|
|
22
|
-
`,C0=/<|>|'|"|&|\n\r|\n/g,rd=/<|>|&/g;function w0(e){var t={},i={},
|
|
23
|
-
`),this},this.appendIndent=function(){return t&&e.write(i.join(" ")),this},this.indent=function(){return i.push(""),this},this.unindent=function(){return i.pop(),this}}function L0(e){e=X({format:!1,preamble:!0},e||{});function t(i,n){var s=n||new B0,r=new R0(s,e.format);if(e.preamble&&r.append(b0),new Ae().build(i).serializeTo(r),!n)return s.value}return{toXML:t}}function fr(e,t){gt.call(this,e,t)}fr.prototype=Object.create(gt.prototype),fr.prototype.fromXML=function(e,t,i){Et(t)||(i=t,t="bpmn:Definitions");var n=new wo(X({model:this,lax:!0},i)),s=n.handler(t);return n.fromXML(e,s)},fr.prototype.toXML=function(e,t){var i=new L0(t);return new Promise(function(n,s){try{var r=i.toXML(e);return n({xml:r})}catch(a){return s(a)}})};var F0="BPMN20",V0="http://www.omg.org/spec/BPMN/20100524/MODEL",j0="bpmn",U0=[],Q0=[{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"}]}],G0=[{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"}]}],q0={tagAlias:"lowerCase",typePrefix:"t"},J0={name:F0,uri:V0,prefix:j0,associations:U0,types:Q0,enumerations:G0,xml:q0},H0="BPMNDI",K0="http://www.omg.org/spec/BPMN/20100524/DI",W0="bpmndi",z0=[{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"]}],Y0=[{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"}]}],X0=[],Z0={name:H0,uri:K0,prefix:W0,types:z0,enumerations:Y0,associations:X0},$0="DC",eC="http://www.omg.org/spec/DD/20100524/DC",tC="dc",iC=[{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}]}],nC=[],sC={name:$0,uri:eC,prefix:tC,types:iC,associations:nC},rC="DI",aC="http://www.omg.org/spec/DD/20100524/DI",oC="di",lC=[{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"}]}],cC=[],uC={tagAlias:"lowerCase"},pC={name:rC,uri:aC,prefix:oC,types:lC,associations:cC,xml:uC},dC="bpmn.io colors for BPMN",hC="http://bpmn.io/schema/bpmn/biocolor/1.0",fC="bioc",mC=[{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"}]}],gC=[],yC=[],vC={name:dC,uri:hC,prefix:fC,types:mC,enumerations:gC,associations:yC},AC="BPMN in Color",bC="http://www.omg.org/spec/BPMN/non-normative/color/1.0",CC="color",wC=[{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"}]}],EC=[],xC=[],IC={name:AC,uri:bC,prefix:CC,types:wC,enumerations:EC,associations:xC},TC={bpmn:J0,bpmndi:Z0,dc:sC,di:pC,bioc:vC,color:IC};function _C(e,t){var i=X({},TC,e);return new fr(i,t)}var NC="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 kC(e){dn(e,"di")||Object.defineProperty(e,"di",{enumerable:!1,get:function(){throw new Error(NC)}})}function Ge(e,t){return e.$instanceOf(t)}function SC(e){return xt(e.rootElements,function(t){return Ge(t,"bpmn:Process")||Ge(t,"bpmn:Collaboration")})}function PC(e,t){var i={},n=[],s={};function r(C,w){return function(O){C(O,w)}}function a(C){i[C.id]=C}function o(C){return i[C.id]}function l(C,w){var O=C.gfx;if(O)throw new Error(t("already rendered {element}",{element:Be(C)}));return e.element(C,s[C.id],w)}function p(C,w){return e.root(C,s[C.id],w)}function h(C,w){try{var O=s[C.id]&&l(C,w);return a(C),O}catch(Y){d(Y.message,{element:C,error:Y}),console.error(t("failed to import {element}",{element:Be(C)})),console.error(Y)}}function d(C,w){e.error(C,w)}var y=this.registerDi=function(w){var O=w.bpmnElement;O?s[O.id]?d(t("multiple DI elements defined for {element}",{element:Be(O)}),{element:O}):(s[O.id]=w,kC(O)):d(t("no bpmnElement referenced in {element}",{element:Be(w)}),{element:w})};function x(C){M(C.plane)}function M(C){y(C),G(C.planeElement,B)}function B(C){y(C)}this.handleDefinitions=function(w,O){var Y=w.diagrams;if(O&&Y.indexOf(O)===-1)throw new Error(t("diagram not part of bpmn:Definitions"));if(!O&&Y&&Y.length&&(O=Y[0]),!O)throw new Error(t("no diagram to display"));s={},x(O);var ee=O.plane;if(!ee)throw new Error(t("no plane for {element}",{element:Be(O)}));var se=ee.bpmnElement;if(!se)if(se=SC(w),se)d(t("correcting missing bpmnElement on {plane} to {rootElement}",{plane:Be(ee),rootElement:Be(se)})),ee.bpmnElement=se,y(ee);else throw new Error(t("no process or collaboration to display"));var f=p(se,ee);if(Ge(se,"bpmn:Process")||Ge(se,"bpmn:SubProcess"))J(se,f);else if(Ge(se,"bpmn:Collaboration"))W(se,f),U(w.rootElements,f);else throw new Error(t("unsupported bpmnElement for {plane}: {rootElement}",{plane:Be(ee),rootElement:Be(se)}));Z(n)};var Z=this.handleDeferred=function(){for(var w;n.length;)w=n.shift(),w()};function J(C,w){v(C,w),D(C.ioSpecification,w),V(C.artifacts,w),a(C)}function U(C,w){var O=hn(C,function(Y){return!o(Y)&&Ge(Y,"bpmn:Process")&&Y.laneSets});O.forEach(r(J,w))}function N(C,w){h(C,w)}function E(C,w){G(C,r(N,w))}function P(C,w){h(C,w)}function S(C,w){h(C,w)}function k(C,w){h(C,w)}function _(C,w){h(C,w)}function V(C,w){G(C,function(O){Ge(O,"bpmn:Association")?n.push(function(){_(O,w)}):_(O,w)})}function D(C,w){!C||(G(C.dataInputs,r(S,w)),G(C.dataOutputs,r(k,w)))}var F=this.handleSubProcess=function(w,O){v(w,O),V(w.artifacts,O)};function L(C,w){var O=h(C,w);Ge(C,"bpmn:SubProcess")&&F(C,O||w),Ge(C,"bpmn:Activity")&&D(C.ioSpecification,w),n.push(function(){G(C.dataInputAssociations,r(P,w)),G(C.dataOutputAssociations,r(P,w))})}function q(C,w){h(C,w)}function $(C,w){h(C,w)}function Ne(C,w){n.push(function(){var O=h(C,w);C.childLaneSet&&oe(C.childLaneSet,O||w),re(C)})}function oe(C,w){G(C.lanes,r(Ne,w))}function g(C,w){G(C,r(oe,w))}function v(C,w){I(C.flowElements,w),C.laneSets&&g(C.laneSets,w)}function I(C,w){G(C,function(O){Ge(O,"bpmn:SequenceFlow")?n.push(function(){q(O,w)}):Ge(O,"bpmn:BoundaryEvent")?n.unshift(function(){L(O,w)}):Ge(O,"bpmn:FlowNode")?L(O,w):Ge(O,"bpmn:DataObject")||(Ge(O,"bpmn:DataStoreReference")||Ge(O,"bpmn:DataObjectReference")?$(O,w):d(t("unrecognized flowElement {element} in context {context}",{element:Be(O),context:w?Be(w.businessObject):"null"}),{element:O,context:w}))})}function R(C,w){var O=h(C,w),Y=C.processRef;Y&&J(Y,O||w)}function W(C,w){G(C.participants,r(R,w)),V(C.artifacts,w),n.push(function(){E(C.messageFlows,w)})}function re(C){G(C.flowNodeRef,function(w){var O=w.get("lanes");O&&O.push(C)})}}function DC(e,t,i){var n,s,r,a,o,l=[];function p(h,d){var y={root:function(Z,J){return n.add(Z,J)},element:function(Z,J,U){return n.add(Z,J,U)},error:function(Z,J){l.push({message:Z,context:J})}},x=new PC(y,r);d=d||h.diagrams&&h.diagrams[0];var M=OC(h,d);if(!M)throw new Error(r("no diagram to display"));G(M,function(Z){x.handleDefinitions(h,Z)});var B=d.plane.bpmnElement.id;a.setRootElement(a.findRoot(B+"_plane")||a.findRoot(B))}return new Promise(function(h,d){try{return n=e.get("bpmnImporter"),s=e.get("eventBus"),r=e.get("translate"),a=e.get("canvas"),s.fire("import.render.start",{definitions:t}),p(t,i),s.fire("import.render.complete",{error:o,warnings:l}),h({warnings:l})}catch(y){return y.warnings=l,d(y)}})}function OC(e,t){if(!!t){var i=t.plane.bpmnElement,n=i;!K(i,"bpmn:Process")&&!K(i,"bpmn:Collaboration")&&(n=MC(i));var s;K(n,"bpmn:Collaboration")?s=n:s=xt(e.rootElements,function(p){if(!!K(p,"bpmn:Collaboration"))return xt(p.participants,function(h){return h.processRef===n})});var r=[n];s&&(r=lv(s.participants,function(p){return p.processRef}),r.push(s));var a=cd(r),o=[t],l=[i];return G(e.diagrams,function(p){var h=p.plane.bpmnElement;a.indexOf(h)!==-1&&l.indexOf(h)===-1&&(o.push(p),l.push(h))}),o}}function cd(e){var t=[];return G(e,function(i){!i||(t.push(i),t=t.concat(cd(i.flowElements)))}),t}function MC(e){for(var t=e;t;){if(K(t,"bpmn:Process"))return t;t=t.$parent}}var BC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.02 5.57" width="53" height="21"><path fill="currentColor" d="M1.88.92v.14c0 .41-.13.68-.4.8.33.14.46.44.46.86v.33c0 .61-.33.95-.95.95H0V0h.95c.65 0 .93.3.93.92zM.63.57v1.06h.24c.24 0 .38-.1.38-.43V.98c0-.28-.1-.4-.32-.4zm0 1.63v1.22h.36c.2 0 .32-.1.32-.39v-.35c0-.37-.12-.48-.4-.48H.63zM4.18.99v.52c0 .64-.31.98-.94.98h-.3V4h-.62V0h.92c.63 0 .94.35.94.99zM2.94.57v1.35h.3c.2 0 .3-.09.3-.37v-.6c0-.29-.1-.38-.3-.38h-.3zm2.89 2.27L6.25 0h.88v4h-.6V1.12L6.1 3.99h-.6l-.46-2.82v2.82h-.55V0h.87zM8.14 1.1V4h-.56V0h.79L9 2.4V0h.56v4h-.64zm2.49 2.29v.6h-.6v-.6zM12.12 1c0-.63.33-1 .95-1 .61 0 .95.37.95 1v2.04c0 .64-.34 1-.95 1-.62 0-.95-.37-.95-1zm.62 2.08c0 .28.13.39.33.39s.32-.1.32-.4V.98c0-.29-.12-.4-.32-.4s-.33.11-.33.4z"/><path fill="currentColor" d="M0 4.53h14.02v1.04H0zM11.08 0h.63v.62h-.63zm.63 4V1h-.63v2.98z"/></svg>',ud=BC,pd={verticalAlign:"middle"},dd={color:"#404040"},RC={zIndex:"1001",position:"fixed",top:"0",left:"0",right:"0",bottom:"0"},LC={width:"100%",height:"100%",background:"rgba(40,40,40,0.2)"},FC={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"},VC='<div class="bjs-powered-by-lightbox"><div class="backdrop"></div><div class="notice"><a href="https://bpmn.io" target="_blank" rel="noopener" class="link">'+ud+'</a><span>Web-based tooling for BPMN, DMN and forms powered by <a href="https://bpmn.io" target="_blank" rel="noopener">bpmn.io</a>.</span></div></div>',Mt;function jC(){Mt=lt(VC),Me(Mt,RC),Me(It("svg",Mt),pd),Me(It(".backdrop",Mt),LC),Me(It(".notice",Mt),FC),Me(It(".link",Mt),dd,{margin:"15px 20px 15px 10px",alignSelf:"center"})}function UC(){Mt||(jC(),mn.bind(Mt,".backdrop","click",function(e){document.body.removeChild(Mt)})),document.body.appendChild(Mt)}function xe(e){e=X({},GC,e),this._moddle=this._createModdle(e),this._container=this._createContainer(e),JC(this._container),this._init(this._container,this._moddle,e)}Dt(xe,Cn),xe.prototype.importXML=async function(t,i){const n=this;function s(a){return n.get("eventBus").createEvent(a)}let r=[];try{t=this._emit("import.parse.start",{xml:t})||t;let a;try{a=await this._moddle.fromXML(t,"bpmn:Definitions")}catch(y){throw this._emit("import.parse.complete",{error:y}),y}let o=a.rootElement;const l=a.references,p=a.warnings,h=a.elementsById;r=r.concat(p),o=this._emit("import.parse.complete",s({error:null,definitions:o,elementsById:h,references:l,warnings:r}))||o;const d=await this.importDefinitions(o,i);return r=r.concat(d.warnings),this._emit("import.done",{error:null,warnings:r}),{warnings:r}}catch(a){let o=a;throw r=r.concat(o.warnings||[]),mr(o,r),o=QC(o),this._emit("import.done",{error:o,warnings:o.warnings}),o}},xe.prototype.importDefinitions=async function(t,i){return this._setDefinitions(t),{warnings:(await this.open(i)).warnings}},xe.prototype.open=async function(t){const i=this._definitions;let n=t;if(!i){const r=new Error("no XML imported");throw mr(r,[]),r}if(typeof t=="string"&&(n=qC(i,t),!n)){const r=new Error("BPMNDiagram <"+t+"> not found");throw mr(r,[]),r}try{this.clear()}catch(r){throw mr(r,[]),r}const{warnings:s}=await DC(this,i,n);return{warnings:s}},xe.prototype.saveXML=async function(t){t=t||{};let i=this._definitions,n,s;try{if(!i)throw new Error("no definitions loaded");i=this._emit("saveXML.start",{definitions:i})||i,s=(await this._moddle.toXML(i,t)).xml,s=this._emit("saveXML.serialized",{xml:s})||s}catch(a){n=a}const r=n?{error:n}:{xml:s};if(this._emit("saveXML.done",r),n)throw n;return r},xe.prototype.saveSVG=async function(){this._emit("saveSVG.start");let t,i;try{const n=this.get("canvas"),s=n.getActiveLayer(),r=It("defs",n._svg),a=Zu(s),o=r?"<defs>"+Zu(r)+"</defs>":"",l=s.getBBox();t=`<?xml version="1.0" encoding="utf-8"?>
|
|
21
|
+
nested error: `+P.message;if(k)return a.addWarning({message:L,error:P}),!0;throw oi(L)}function h(P,S){return p(P,S,!0)}function d(){var P=a.elementsById,S=a.references,k,_;for(k=0;_=S[k];k++){var V=_.element,D=P[_.id],F=Ht(V).propertiesByName[_.property];if(D||a.addWarning({message:"unresolved reference <"+_.id+">",element:_.element,property:_.property,value:_.id}),F.isMany){var L=V.get(F.name),q=L.indexOf(_);q===-1&&(q=L.length),D?L[q]=D:L.splice(q,1)}else V.set(F.name,D)}}function y(){l.pop().handleEnd()}var x=/^<\?xml /i,M=/ encoding="([^"]+)"/i,B=/^utf-8$/i;function Z(P){if(!!x.test(P)){var S=M.exec(P),k=S&&S[1];!k||B.test(k)||a.addWarning({message:"unsupported document encoding <"+k+">, falling back to UTF-8"})}}function H(P,S){var k=l.peek();try{l.push(k.handleNode(P))}catch(_){p(_,S,r)&&l.push(new Ao)}}function U(P,S){try{l.peek().handleText(P)}catch(k){h(k,S)}}function N(P,S){!P.trim()||U(P,S)}var E=n.getPackages().reduce(function(P,S){return P[S.uri]=S.prefix,P},{"http://www.w3.org/XML/1998/namespace":"xml"});return o.ns(E).on("openTag",function(P,S,k,_){var V=P.attrs||{},D=Object.keys(V).reduce(function(L,q){var $=S(V[q]);return L[q]=$,L},{}),F={name:P.name,originalName:P.originalName,attributes:D,ns:P.ns};H(F,_)}).on("question",Z).on("closeTag",y).on("cdata",U).on("text",function(P,S,k){N(S(P),k)}).on("error",p).on("warn",h),new Promise(function(P,S){var k;try{o.parse(e),d()}catch(L){k=L}var _=s.element;!k&&!_&&(k=oi("failed to parse document as <"+s.type.$descriptor.name+">"));var V=a.warnings,D=a.references,F=a.elementsById;return k?(k.warnings=V,S(k)):P({rootElement:_,elementsById:F,references:D,warnings:V})})},wo.prototype.handler=function(e){return new Co(this.model,e)};function A0(){var e=[];return Object.defineProperty(e,"peek",{value:function(){return this[this.length-1]}}),e}var b0=`<?xml version="1.0" encoding="UTF-8"?>
|
|
22
|
+
`,C0=/<|>|'|"|&|\n\r|\n/g,rd=/<|>|&/g;function w0(e){var t={},i={},s={},n=[],r=[];this.byUri=function(a){return i[a]||e&&e.byUri(a)},this.add=function(a,o){i[a.uri]=a,o?n.push(a):r.push(a),this.mapPrefix(a.prefix,a.uri)},this.uriByPrefix=function(a){return t[a||"xmlns"]},this.mapPrefix=function(a,o){t[a||"xmlns"]=o},this.getNSKey=function(a){return a.prefix!==void 0?a.uri+"|"+a.prefix:a.uri},this.logUsed=function(a){var o=a.uri,l=this.getNSKey(a);s[l]=this.byUri(o),e&&e.logUsed(a)},this.getUsed=function(a){function o(h){var d=l.getNSKey(h);return s[d]}var l=this,p=[].concat(n,r);return p.filter(o)}}function E0(e){return e.charAt(0).toLowerCase()+e.slice(1)}function x0(e,t){return td(t)?E0(e):e}function ad(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function od(e){return Et(e)?e:(e.prefix?e.prefix+":":"")+e.localName}function I0(e){return e.getUsed().filter(function(t){return t.prefix!=="xml"}).map(function(t){var i="xmlns"+(t.prefix?":"+t.prefix:"");return{name:i,value:t.uri}})}function T0(e,t){return t.isGeneric?X({localName:t.ns.localName},e):X({localName:x0(t.ns.localName,t.$pkg)},e)}function _0(e,t){return X({localName:t.ns.localName},e)}function N0(e){var t=e.$descriptor;return ds(t.properties,function(i){var s=i.name;if(i.isVirtual||!ps(e,s))return!1;var n=e[s];return n===i.default||n===null?!1:i.isMany?n.length:!0})}var k0={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},S0={"<":"lt",">":"gt","&":"amp"};function ld(e,t,i){return e=Et(e)?e:""+e,e.replace(t,function(s){return"&"+i[s]+";"})}function P0(e){return ld(e,C0,k0)}function D0(e){return ld(e,rd,S0)}function O0(e){return ds(e,function(t){return t.isAttr})}function M0(e){return ds(e,function(t){return!t.isAttr})}function Eo(e){this.tagName=e}Eo.prototype.build=function(e){return this.element=e,this},Eo.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()};function Gi(){}Gi.prototype.serializeValue=Gi.prototype.serializeTo=function(e){e.append(this.escape?D0(this.value):this.value)},Gi.prototype.build=function(e,t){return this.value=t,e.type==="String"&&t.search(rd)!==-1&&(this.escape=!0),this};function xo(e){this.tagName=e}ad(xo,Gi),xo.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("</"+this.tagName+">").appendNewLine()};function Ae(e,t){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=t}Ae.prototype.build=function(e){this.element=e;var t=e.$descriptor,i=this.propertyDescriptor,s,n,r=t.isGeneric;return r?s=this.parseGeneric(e):s=this.parseNsAttributes(e),i?this.ns=this.nsPropertyTagName(i):this.ns=this.nsTagName(t),this.tagName=this.addTagName(this.ns),r||(n=N0(e),this.parseAttributes(O0(n)),this.parseContainments(M0(n))),this.parseGenericAttributes(e,s),this},Ae.prototype.nsTagName=function(e){var t=this.logNamespaceUsed(e.ns);return T0(t,e)},Ae.prototype.nsPropertyTagName=function(e){var t=this.logNamespaceUsed(e.ns);return _0(t,e)},Ae.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},Ae.prototype.nsAttributeName=function(e){var t;if(Et(e)?t=Le(e):t=e.ns,e.inherited)return{localName:t.localName};var i=this.logNamespaceUsed(t);return this.getNamespaces().logUsed(i),this.isLocalNs(i)?{localName:t.localName}:X({localName:t.localName},i)},Ae.prototype.parseGeneric=function(e){var t=this,i=this.body,s=[];return G(e,function(n,r){var a;r==="$body"?i.push(new Gi().build({type:"String"},n)):r==="$children"?G(n,function(o){i.push(new Ae(t).build(o))}):r.indexOf("$")!==0&&(a=t.parseNsAttribute(e,r,n),a&&s.push({name:r,value:n}))}),s},Ae.prototype.parseNsAttribute=function(e,t,i){var s=e.$model,n=Le(t),r;if(n.prefix==="xmlns"&&(r={prefix:n.localName,uri:i}),!n.prefix&&n.localName==="xmlns"&&(r={uri:i}),!r)return{name:t,value:i};if(s&&s.getPackage(i))this.logNamespace(r,!0,!0);else{var a=this.logNamespaceUsed(r,!0);this.getNamespaces().logUsed(a)}},Ae.prototype.parseNsAttributes=function(e,t){var i=this,s=e.$attrs,n=[];return G(s,function(r,a){var o=i.parseNsAttribute(e,a,r);o&&n.push(o)}),n},Ae.prototype.parseGenericAttributes=function(e,t){var i=this;G(t,function(s){if(s.name!==pr)try{i.addAttribute(i.nsAttributeName(s.name),s.value)}catch(n){s.name,s.value}})},Ae.prototype.parseContainments=function(e){var t=this,i=this.body,s=this.element;G(e,function(n){var r=s.get(n.name),a=n.isReference,o=n.isMany;if(o||(r=[r]),n.isBody)i.push(new Gi().build(n,r[0]));else if(Jp(n.type))G(r,function(h){i.push(new xo(t.addTagName(t.nsPropertyTagName(n))).build(n,h))});else if(a)G(r,function(h){i.push(new Eo(t.addTagName(t.nsPropertyTagName(n))).build(h))});else{var l=sd(n),p=f0(n);G(r,function(h){var d;l?d=new hr(t,n):p?d=new Ae(t,n):d=new Ae(t),i.push(d.build(h))})}})},Ae.prototype.getNamespaces=function(e){var t=this.namespaces,i=this.parent,s;return t||(s=i&&i.getNamespaces(),e||!s?this.namespaces=t=new w0(s):t=s),t},Ae.prototype.logNamespace=function(e,t,i){var s=this.getNamespaces(i),n=e.uri,r=e.prefix,a=s.byUri(n);return(!a||i)&&s.add(e,t),s.mapPrefix(r,n),e},Ae.prototype.logNamespaceUsed=function(e,t){var i=this.element,s=i.$model,n=this.getNamespaces(t),r=e.prefix,a=e.uri,o,l,p;if(!r&&!a)return{localName:e.localName};if(p=h0[r]||s&&(s.getPackage(r)||{}).uri,a=a||p||n.uriByPrefix(r),!a)throw new Error("no namespace uri given for prefix <"+r+">");if(e=n.byUri(a),!e){for(o=r,l=1;n.uriByPrefix(o);)o=r+"_"+l++;e=this.logNamespace({prefix:o,uri:a},p===a)}return r&&n.mapPrefix(r,a),e},Ae.prototype.parseAttributes=function(e){var t=this,i=this.element;G(e,function(s){var n=i.get(s.name);if(s.isReference)if(!s.isMany)n=n.id;else{var r=[];G(n,function(a){r.push(a.id)}),n=r.join(" ")}t.addAttribute(t.nsAttributeName(s),n)})},Ae.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),od(e)},Ae.prototype.addAttribute=function(e,t){var i=this.attrs;Et(t)&&(t=P0(t));var s=ov(i,function(r){return r.name.localName===e.localName&&r.name.uri===e.uri&&r.name.prefix===e.prefix}),n={name:e,value:t};s!==-1?i.splice(s,1,n):i.push(n)},Ae.prototype.serializeAttributes=function(e){var t=this.attrs,i=this.namespaces;i&&(t=I0(i).concat(t)),G(t,function(s){e.append(" ").append(od(s.name)).append('="').append(s.value).append('"')})},Ae.prototype.serializeTo=function(e){var t=this.body[0],i=t&&t.constructor!==Gi;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(t?">":" />"),t&&(i&&e.appendNewLine().indent(),G(this.body,function(s){s.serializeTo(e)}),i&&e.unindent().appendIndent(),e.append("</"+this.tagName+">")),e.appendNewLine()};function hr(e,t){Ae.call(this,e,t)}ad(hr,Ae),hr.prototype.parseNsAttributes=function(e){var t=Ae.prototype.parseNsAttributes.call(this,e),i=e.$descriptor;if(i.name===this.propertyDescriptor.type)return t;var s=this.typeNs=this.nsTagName(i);this.getNamespaces().logUsed(this.typeNs);var n=e.$model.getPackage(s.uri),r=n.xml&&n.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(pr),(s.prefix?s.prefix+":":"")+r+i.ns.localName),t},hr.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri};function B0(){this.value="",this.write=function(e){this.value+=e}}function R0(e,t){var i=[""];this.append=function(s){return e.write(s),this},this.appendNewLine=function(){return t&&e.write(`
|
|
23
|
+
`),this},this.appendIndent=function(){return t&&e.write(i.join(" ")),this},this.indent=function(){return i.push(""),this},this.unindent=function(){return i.pop(),this}}function L0(e){e=X({format:!1,preamble:!0},e||{});function t(i,s){var n=s||new B0,r=new R0(n,e.format);if(e.preamble&&r.append(b0),new Ae().build(i).serializeTo(r),!s)return n.value}return{toXML:t}}function fr(e,t){gt.call(this,e,t)}fr.prototype=Object.create(gt.prototype),fr.prototype.fromXML=function(e,t,i){Et(t)||(i=t,t="bpmn:Definitions");var s=new wo(X({model:this,lax:!0},i)),n=s.handler(t);return s.fromXML(e,n)},fr.prototype.toXML=function(e,t){var i=new L0(t);return new Promise(function(s,n){try{var r=i.toXML(e);return s({xml:r})}catch(a){return n(a)}})};var F0="BPMN20",V0="http://www.omg.org/spec/BPMN/20100524/MODEL",j0="bpmn",U0=[],Q0=[{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"}]}],G0=[{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"}]}],q0={tagAlias:"lowerCase",typePrefix:"t"},H0={name:F0,uri:V0,prefix:j0,associations:U0,types:Q0,enumerations:G0,xml:q0},J0="BPMNDI",K0="http://www.omg.org/spec/BPMN/20100524/DI",W0="bpmndi",z0=[{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"]}],Y0=[{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"}]}],X0=[],Z0={name:J0,uri:K0,prefix:W0,types:z0,enumerations:Y0,associations:X0},$0="DC",eC="http://www.omg.org/spec/DD/20100524/DC",tC="dc",iC=[{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}]}],sC=[],nC={name:$0,uri:eC,prefix:tC,types:iC,associations:sC},rC="DI",aC="http://www.omg.org/spec/DD/20100524/DI",oC="di",lC=[{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"}]}],cC=[],uC={tagAlias:"lowerCase"},pC={name:rC,uri:aC,prefix:oC,types:lC,associations:cC,xml:uC},dC="bpmn.io colors for BPMN",hC="http://bpmn.io/schema/bpmn/biocolor/1.0",fC="bioc",mC=[{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"}]}],gC=[],yC=[],vC={name:dC,uri:hC,prefix:fC,types:mC,enumerations:gC,associations:yC},AC="BPMN in Color",bC="http://www.omg.org/spec/BPMN/non-normative/color/1.0",CC="color",wC=[{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"}]}],EC=[],xC=[],IC={name:AC,uri:bC,prefix:CC,types:wC,enumerations:EC,associations:xC},TC={bpmn:H0,bpmndi:Z0,dc:nC,di:pC,bioc:vC,color:IC};function _C(e,t){var i=X({},TC,e);return new fr(i,t)}var NC="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 kC(e){ps(e,"di")||Object.defineProperty(e,"di",{enumerable:!1,get:function(){throw new Error(NC)}})}function Ge(e,t){return e.$instanceOf(t)}function SC(e){return xt(e.rootElements,function(t){return Ge(t,"bpmn:Process")||Ge(t,"bpmn:Collaboration")})}function PC(e,t){var i={},s=[],n={};function r(C,w){return function(O){C(O,w)}}function a(C){i[C.id]=C}function o(C){return i[C.id]}function l(C,w){var O=C.gfx;if(O)throw new Error(t("already rendered {element}",{element:Be(C)}));return e.element(C,n[C.id],w)}function p(C,w){return e.root(C,n[C.id],w)}function h(C,w){try{var O=n[C.id]&&l(C,w);return a(C),O}catch(Y){d(Y.message,{element:C,error:Y}),console.error(t("failed to import {element}",{element:Be(C)})),console.error(Y)}}function d(C,w){e.error(C,w)}var y=this.registerDi=function(w){var O=w.bpmnElement;O?n[O.id]?d(t("multiple DI elements defined for {element}",{element:Be(O)}),{element:O}):(n[O.id]=w,kC(O)):d(t("no bpmnElement referenced in {element}",{element:Be(w)}),{element:w})};function x(C){M(C.plane)}function M(C){y(C),G(C.planeElement,B)}function B(C){y(C)}this.handleDefinitions=function(w,O){var Y=w.diagrams;if(O&&Y.indexOf(O)===-1)throw new Error(t("diagram not part of bpmn:Definitions"));if(!O&&Y&&Y.length&&(O=Y[0]),!O)throw new Error(t("no diagram to display"));n={},x(O);var ee=O.plane;if(!ee)throw new Error(t("no plane for {element}",{element:Be(O)}));var ne=ee.bpmnElement;if(!ne)if(ne=SC(w),ne)d(t("correcting missing bpmnElement on {plane} to {rootElement}",{plane:Be(ee),rootElement:Be(ne)})),ee.bpmnElement=ne,y(ee);else throw new Error(t("no process or collaboration to display"));var f=p(ne,ee);if(Ge(ne,"bpmn:Process")||Ge(ne,"bpmn:SubProcess"))H(ne,f);else if(Ge(ne,"bpmn:Collaboration"))W(ne,f),U(w.rootElements,f);else throw new Error(t("unsupported bpmnElement for {plane}: {rootElement}",{plane:Be(ee),rootElement:Be(ne)}));Z(s)};var Z=this.handleDeferred=function(){for(var w;s.length;)w=s.shift(),w()};function H(C,w){v(C,w),D(C.ioSpecification,w),V(C.artifacts,w),a(C)}function U(C,w){var O=ds(C,function(Y){return!o(Y)&&Ge(Y,"bpmn:Process")&&Y.laneSets});O.forEach(r(H,w))}function N(C,w){h(C,w)}function E(C,w){G(C,r(N,w))}function P(C,w){h(C,w)}function S(C,w){h(C,w)}function k(C,w){h(C,w)}function _(C,w){h(C,w)}function V(C,w){G(C,function(O){Ge(O,"bpmn:Association")?s.push(function(){_(O,w)}):_(O,w)})}function D(C,w){!C||(G(C.dataInputs,r(S,w)),G(C.dataOutputs,r(k,w)))}var F=this.handleSubProcess=function(w,O){v(w,O),V(w.artifacts,O)};function L(C,w){var O=h(C,w);Ge(C,"bpmn:SubProcess")&&F(C,O||w),Ge(C,"bpmn:Activity")&&D(C.ioSpecification,w),s.push(function(){G(C.dataInputAssociations,r(P,w)),G(C.dataOutputAssociations,r(P,w))})}function q(C,w){h(C,w)}function $(C,w){h(C,w)}function Ne(C,w){s.push(function(){var O=h(C,w);C.childLaneSet&&oe(C.childLaneSet,O||w),re(C)})}function oe(C,w){G(C.lanes,r(Ne,w))}function g(C,w){G(C,r(oe,w))}function v(C,w){I(C.flowElements,w),C.laneSets&&g(C.laneSets,w)}function I(C,w){G(C,function(O){Ge(O,"bpmn:SequenceFlow")?s.push(function(){q(O,w)}):Ge(O,"bpmn:BoundaryEvent")?s.unshift(function(){L(O,w)}):Ge(O,"bpmn:FlowNode")?L(O,w):Ge(O,"bpmn:DataObject")||(Ge(O,"bpmn:DataStoreReference")||Ge(O,"bpmn:DataObjectReference")?$(O,w):d(t("unrecognized flowElement {element} in context {context}",{element:Be(O),context:w?Be(w.businessObject):"null"}),{element:O,context:w}))})}function R(C,w){var O=h(C,w),Y=C.processRef;Y&&H(Y,O||w)}function W(C,w){G(C.participants,r(R,w)),V(C.artifacts,w),s.push(function(){E(C.messageFlows,w)})}function re(C){G(C.flowNodeRef,function(w){var O=w.get("lanes");O&&O.push(C)})}}function DC(e,t,i){var s,n,r,a,o,l=[];function p(h,d){var y={root:function(Z,H){return s.add(Z,H)},element:function(Z,H,U){return s.add(Z,H,U)},error:function(Z,H){l.push({message:Z,context:H})}},x=new PC(y,r);d=d||h.diagrams&&h.diagrams[0];var M=OC(h,d);if(!M)throw new Error(r("no diagram to display"));G(M,function(Z){x.handleDefinitions(h,Z)});var B=d.plane.bpmnElement.id;a.setRootElement(a.findRoot(B+"_plane")||a.findRoot(B))}return new Promise(function(h,d){try{return s=e.get("bpmnImporter"),n=e.get("eventBus"),r=e.get("translate"),a=e.get("canvas"),n.fire("import.render.start",{definitions:t}),p(t,i),n.fire("import.render.complete",{error:o,warnings:l}),h({warnings:l})}catch(y){return y.warnings=l,d(y)}})}function OC(e,t){if(!!t){var i=t.plane.bpmnElement,s=i;!K(i,"bpmn:Process")&&!K(i,"bpmn:Collaboration")&&(s=MC(i));var n;K(s,"bpmn:Collaboration")?n=s:n=xt(e.rootElements,function(p){if(!!K(p,"bpmn:Collaboration"))return xt(p.participants,function(h){return h.processRef===s})});var r=[s];n&&(r=lv(n.participants,function(p){return p.processRef}),r.push(n));var a=cd(r),o=[t],l=[i];return G(e.diagrams,function(p){var h=p.plane.bpmnElement;a.indexOf(h)!==-1&&l.indexOf(h)===-1&&(o.push(p),l.push(h))}),o}}function cd(e){var t=[];return G(e,function(i){!i||(t.push(i),t=t.concat(cd(i.flowElements)))}),t}function MC(e){for(var t=e;t;){if(K(t,"bpmn:Process"))return t;t=t.$parent}}var BC='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14.02 5.57" width="53" height="21"><path fill="currentColor" d="M1.88.92v.14c0 .41-.13.68-.4.8.33.14.46.44.46.86v.33c0 .61-.33.95-.95.95H0V0h.95c.65 0 .93.3.93.92zM.63.57v1.06h.24c.24 0 .38-.1.38-.43V.98c0-.28-.1-.4-.32-.4zm0 1.63v1.22h.36c.2 0 .32-.1.32-.39v-.35c0-.37-.12-.48-.4-.48H.63zM4.18.99v.52c0 .64-.31.98-.94.98h-.3V4h-.62V0h.92c.63 0 .94.35.94.99zM2.94.57v1.35h.3c.2 0 .3-.09.3-.37v-.6c0-.29-.1-.38-.3-.38h-.3zm2.89 2.27L6.25 0h.88v4h-.6V1.12L6.1 3.99h-.6l-.46-2.82v2.82h-.55V0h.87zM8.14 1.1V4h-.56V0h.79L9 2.4V0h.56v4h-.64zm2.49 2.29v.6h-.6v-.6zM12.12 1c0-.63.33-1 .95-1 .61 0 .95.37.95 1v2.04c0 .64-.34 1-.95 1-.62 0-.95-.37-.95-1zm.62 2.08c0 .28.13.39.33.39s.32-.1.32-.4V.98c0-.29-.12-.4-.32-.4s-.33.11-.33.4z"/><path fill="currentColor" d="M0 4.53h14.02v1.04H0zM11.08 0h.63v.62h-.63zm.63 4V1h-.63v2.98z"/></svg>',ud=BC,pd={verticalAlign:"middle"},dd={color:"#404040"},RC={zIndex:"1001",position:"fixed",top:"0",left:"0",right:"0",bottom:"0"},LC={width:"100%",height:"100%",background:"rgba(40,40,40,0.2)"},FC={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"},VC='<div class="bjs-powered-by-lightbox"><div class="backdrop"></div><div class="notice"><a href="https://bpmn.io" target="_blank" rel="noopener" class="link">'+ud+'</a><span>Web-based tooling for BPMN, DMN and forms powered by <a href="https://bpmn.io" target="_blank" rel="noopener">bpmn.io</a>.</span></div></div>',Mt;function jC(){Mt=lt(VC),Me(Mt,RC),Me(It("svg",Mt),pd),Me(It(".backdrop",Mt),LC),Me(It(".notice",Mt),FC),Me(It(".link",Mt),dd,{margin:"15px 20px 15px 10px",alignSelf:"center"})}function UC(){Mt||(jC(),fs.bind(Mt,".backdrop","click",function(e){document.body.removeChild(Mt)})),document.body.appendChild(Mt)}function xe(e){e=X({},GC,e),this._moddle=this._createModdle(e),this._container=this._createContainer(e),HC(this._container),this._init(this._container,this._moddle,e)}Dt(xe,bs),xe.prototype.importXML=async function(t,i){const s=this;function n(a){return s.get("eventBus").createEvent(a)}let r=[];try{t=this._emit("import.parse.start",{xml:t})||t;let a;try{a=await this._moddle.fromXML(t,"bpmn:Definitions")}catch(y){throw this._emit("import.parse.complete",{error:y}),y}let o=a.rootElement;const l=a.references,p=a.warnings,h=a.elementsById;r=r.concat(p),o=this._emit("import.parse.complete",n({error:null,definitions:o,elementsById:h,references:l,warnings:r}))||o;const d=await this.importDefinitions(o,i);return r=r.concat(d.warnings),this._emit("import.done",{error:null,warnings:r}),{warnings:r}}catch(a){let o=a;throw r=r.concat(o.warnings||[]),mr(o,r),o=QC(o),this._emit("import.done",{error:o,warnings:o.warnings}),o}},xe.prototype.importDefinitions=async function(t,i){return this._setDefinitions(t),{warnings:(await this.open(i)).warnings}},xe.prototype.open=async function(t){const i=this._definitions;let s=t;if(!i){const r=new Error("no XML imported");throw mr(r,[]),r}if(typeof t=="string"&&(s=qC(i,t),!s)){const r=new Error("BPMNDiagram <"+t+"> not found");throw mr(r,[]),r}try{this.clear()}catch(r){throw mr(r,[]),r}const{warnings:n}=await DC(this,i,s);return{warnings:n}},xe.prototype.saveXML=async function(t){t=t||{};let i=this._definitions,s,n;try{if(!i)throw new Error("no definitions loaded");i=this._emit("saveXML.start",{definitions:i})||i,n=(await this._moddle.toXML(i,t)).xml,n=this._emit("saveXML.serialized",{xml:n})||n}catch(a){s=a}const r=s?{error:s}:{xml:n};if(this._emit("saveXML.done",r),s)throw s;return r},xe.prototype.saveSVG=async function(){this._emit("saveSVG.start");let t,i;try{const s=this.get("canvas"),n=s.getActiveLayer(),r=It("defs",s._svg),a=Zu(n),o=r?"<defs>"+Zu(r)+"</defs>":"",l=n.getBBox();t=`<?xml version="1.0" encoding="utf-8"?>
|
|
24
24
|
<!-- created with bpmn-js / http://bpmn.io -->
|
|
25
25
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
26
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="`+l.width+'" height="'+l.height+'" viewBox="'+l.x+" "+l.y+" "+l.width+" "+l.height+'" version="1.1">'+o+a+"</svg>"}catch(n){i=n}if(this._emit("saveSVG.done",{error:i,svg:t}),i)throw i;return{svg:t}},xe.prototype._setDefinitions=function(e){this._definitions=e},xe.prototype.getModules=function(){return this._modules},xe.prototype.clear=function(){!this.getDefinitions()||Cn.prototype.clear.call(this)},xe.prototype.destroy=function(){Cn.prototype.destroy.call(this),gn(this._container)},xe.prototype.on=function(e,t,i,n){return this.get("eventBus").on(e,t,i,n)},xe.prototype.off=function(e,t){this.get("eventBus").off(e,t)},xe.prototype.attachTo=function(e){if(!e)throw new Error("parentNode required");this.detach(),e.get&&e.constructor.prototype.jquery&&(e=e.get(0)),typeof e=="string"&&(e=It(e)),e.appendChild(this._container),this._emit("attach",{}),this.get("canvas").resized()},xe.prototype.getDefinitions=function(){return this._definitions},xe.prototype.detach=function(){const e=this._container,t=e.parentNode;!t||(this._emit("detach",{}),t.removeChild(e))},xe.prototype._init=function(e,t,i){const n=i.modules||this.getModules(i),s=i.additionalModules||[],r=[{bpmnjs:["value",this],moddle:["value",t]}],a=[].concat(r,n,s),o=X(fv(i,["additionalModules"]),{canvas:X({},i.canvas,{container:e}),modules:a});Cn.call(this,o),i&&i.container&&this.attachTo(i.container)},xe.prototype._emit=function(e,t){return this.get("eventBus").fire(e,t)},xe.prototype._createContainer=function(e){const t=lt('<div class="bjs-container"></div>');return Me(t,{width:hd(e.width),height:hd(e.height),position:e.position}),t},xe.prototype._createModdle=function(e){const t=X({},this._moddleExtensions,e.moddleExtensions);return new _C(t)},xe.prototype._modules=[];function mr(e,t){return e.warnings=t,e}function QC(e){const i=/unparsable content <([^>]+)> detected([\s\S]*)$/.exec(e.message);return i&&(e.message="unparsable content <"+i[1]+"> detected; this may indicate an invalid BPMN 2.0 diagram file"+i[2]),e}const GC={width:"100%",height:"100%",position:"relative"};function hd(e){return e+($t(e)?"px":"")}function qC(e,t){return t&&xt(e.diagrams,function(i){return i.id===t})||null}function JC(e){const i='<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" >'+ud+"</a>",n=lt(i);Me(It("svg",n),pd),Me(n,dd,{position:"absolute",bottom:"15px",right:"15px",zIndex:"100"}),e.appendChild(n),Ri.bind(n,"click",function(s){UC(),s.preventDefault()})}function In(e){xe.call(this,e)}Dt(In,xe),In.prototype._modules=[zA,up,ob,Ep,Tb],In.prototype._moddleExtensions={};var HC=/^djs-cursor-.*$/;function fd(e){var t=Bi(document.body);t.removeMatching(HC),e&&t.add("djs-cursor-"+e)}function KC(){fd(null)}var WC=5e3;function zC(e,t){t=t||"element.click";function i(){return!1}return e.once(t,WC,i),function(){e.off(t,i)}}function md(e,t){return{x:e.x-t.x,y:e.y-t.y}}function gd(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}var YC=15;function yd(e,t){var i;function n(o){return a(o.originalEvent)}e.on("canvas.focus.changed",function(o){o.focused?e.on("element.mousedown",500,n):e.off("element.mousedown",n)});function s(o){var l=i.start,p=i.button,h=gd(o),d=md(h,l);if(!i.dragging&&XC(d)>YC&&(i.dragging=!0,p===0&&zC(e),fd("grab")),i.dragging){var y=i.last||i.start;d=md(h,y),t.scroll({dx:d.x,dy:d.y}),i.last=h}o.preventDefault()}function r(o){Ri.unbind(document,"mousemove",s),Ri.unbind(document,"mouseup",r),i=null,KC()}function a(o){if(!np(o.target,".djs-draggable")){var l=o.button;if(!(l>=2||o.ctrlKey||o.shiftKey||o.altKey))return i={button:l,start:gd(o)},Ri.bind(document,"mousemove",s),Ri.bind(document,"mouseup",r),!0}}this.isActive=function(){return!!i}}yd.$inject=["eventBus","canvas"];function XC(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}const Io={__init__:["moveCanvas"],moveCanvas:["type",yd]};function vd(e){this._counter=0,this._prefix=(e?e+"-":"")+Math.floor(Math.random()*1e9)+"-"}vd.prototype.next=function(){return this._prefix+ ++this._counter};var ZC=new vd("tt");function $C(e){var t=lt('<div class="djs-tooltip-container" />');return Me(t,{position:"absolute",width:"0",height:"0"}),e.insertBefore(t,e.firstChild),t}function ew(e,t,i){Me(e,{left:t+"px",top:i+"px"})}function To(e,t){e.style.display=t===!1?"none":""}var Ad="djs-tooltip",_o="."+Ad;function qe(e,t){this._eventBus=e,this._canvas=t,this._ids=ZC,this._tooltipDefaults={show:{minZoom:.7,maxZoom:5}},this._tooltips={},this._tooltipRoot=$C(t.getContainer());var i=this;mn.bind(this._tooltipRoot,_o,"mousedown",function(n){n.stopPropagation()}),mn.bind(this._tooltipRoot,_o,"mouseover",function(n){i.trigger("mouseover",n)}),mn.bind(this._tooltipRoot,_o,"mouseout",function(n){i.trigger("mouseout",n)}),this._init()}qe.$inject=["eventBus","canvas"],qe.prototype.add=function(e){if(!e.position)throw new Error("must specifiy tooltip position");if(!e.html)throw new Error("must specifiy tooltip html");var t=this._ids.next();return e=X({},this._tooltipDefaults,e,{id:t}),this._addTooltip(e),e.timeout&&this.setTimeout(e),t},qe.prototype.trigger=function(e,t){var i=t.delegateTarget||t.target,n=this.get(tp(i,"data-tooltip-id"));!n||(e==="mouseover"&&n.timeout&&this.clearTimeout(n),e==="mouseout"&&n.timeout&&(n.timeout=1e3,this.setTimeout(n)))},qe.prototype.get=function(e){return typeof e!="string"&&(e=e.id),this._tooltips[e]},qe.prototype.clearTimeout=function(e){if(e=this.get(e),!!e){var t=e.removeTimer;t&&(clearTimeout(t),e.removeTimer=null)}},qe.prototype.setTimeout=function(e){if(e=this.get(e),!!e){this.clearTimeout(e);var t=this;e.removeTimer=setTimeout(function(){t.remove(e)},e.timeout)}},qe.prototype.remove=function(e){var t=this.get(e);t&&(gn(t.html),gn(t.htmlContainer),delete t.htmlContainer,delete this._tooltips[t.id])},qe.prototype.show=function(){To(this._tooltipRoot)},qe.prototype.hide=function(){To(this._tooltipRoot,!1)},qe.prototype._updateRoot=function(e){var t=e.scale||1,i=e.scale||1,n="matrix("+t+",0,0,"+i+","+-1*e.x*t+","+-1*e.y*i+")";this._tooltipRoot.style.transform=n,this._tooltipRoot.style["-ms-transform"]=n},qe.prototype._addTooltip=function(e){var t=e.id,i=e.html,n,s=this._tooltipRoot;i.get&&i.constructor.prototype.jquery&&(i=i.get(0)),Et(i)&&(i=lt(i)),n=lt('<div data-tooltip-id="'+t+'" class="'+Ad+'">'),Me(n,{position:"absolute"}),n.appendChild(i),e.type&&Bi(n).add("djs-tooltip-"+e.type),e.className&&Bi(n).add(e.className),e.htmlContainer=n,s.appendChild(n),this._tooltips[t]=e,this._updateTooltip(e)},qe.prototype._updateTooltip=function(e){var t=e.position,i=e.htmlContainer;ew(i,t.x,t.y)},qe.prototype._updateTooltipVisibilty=function(e){G(this._tooltips,function(t){var i=t.show,n=t.htmlContainer,s=!0;i&&((i.minZoom>e.scale||i.maxZoom<e.scale)&&(s=!1),To(n,s))})},qe.prototype._init=function(){var e=this;function t(i){e._updateRoot(i),e._updateTooltipVisibilty(i),e.show()}this._eventBus.on("canvas.viewbox.changing",function(i){e.hide()}),this._eventBus.on("canvas.viewbox.changed",function(i){t(i.viewbox)})};const No={__init__:["tooltips"],tooltips:["type",qe]},tw=e=>{var t=Object.prototype.toString,i={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"};return e instanceof Element?"element":i[t.call(e)]},ko=e=>{var t=tw(e),i;if(t==="array")i=[];else if(t==="object")i={};else return e;if(t==="array")for(var n=0,s=e.length;n<s;n++)i.push(ko(e[n]));else if(t==="object")for(var r in e)i[r]=ko(e[r]);return i};function iw(e,t="YYYY-MM-DD HH:mm:ss"){const i=new Date(e),n=i.getFullYear(),s=i.getMonth()+1,r=i.getDate(),a=i.getHours(),o=i.getMinutes(),l=i.getSeconds(),p=i.getDay(),d={YYYY:n,MM:s,DD:r,HH:a,mm:o,ss:l,ww:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"][p]};for(let y in d)t=t.replace(y,d[y]);return t}function nw(e){e=ko(e);const t={};e.forEach(n=>{t[n.historyActivityId]?t[n.historyActivityId].push(n):t[n.historyActivityId]=[n]});for(let n in t){const s=t[n];if(s.length>1){const r=e.findLast(a=>a.historyActivityId==n);r.assigneeName=Array.from(new Set(s.map(a=>a.assigneeName))).join("/")}}const i=[];return e.forEach(n=>{let{assigneeName:s,createTime:r,endTime:a,comments:o}=n;/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&(r=r.replace(/-/g,"/"),a=a.replace(/-/g,"/"));const l={id:n.historyActivityId,class:!a&&n.historyActivityType!="candidate"?"nodePrimary":""};let p="";if(s||o&&o.length>0){if(p=`<span title='${s}'>${s}</span><br>`,r){let d=(r||"").replaceAll("/","-");p+=`<span title='${r}'>${d}</span><br>`}if(o&&o.length>0){let d,{type:y,fullMessage:x}=o.find(M=>M.action=="AddComment")||{};y=="assigneeComment"&&(d="\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A"+x,l.class="nodeWarn"),y=="dispatchComment"&&(d="\u8C03\u5EA6\uFF1A"+x,l.class="nodeWarn"),y=="transferComment"&&(d="\u8F6C\u529E\uFF1A"+x,l.class="nodeWarn"),y=="delegateComment"&&(d="\u59D4\u6258\uFF1A"+x,l.class="nodeWarn"),y=="rollbackComment"&&(d="\u6307\u5B9A\u56DE\u9000\uFF1A"+x,l.class="nodeError"),y=="terminateComment"&&(d="\u7EC8\u6B62\uFF1A"+x,l.class="nodeError"),(y=="addMultiInstanceComment"||(y||"").includes("\u52A0\u7B7E"))&&(d="\u52A0\u7B7E\uFF1A"+x,l.class="nodeWarn"),y=="deleteMultiInstanceComment"&&(d="\u51CF\u7B7E\uFF1A"+x,l.class="nodeError"),y=="withdrawComment"&&(d="\u64A4\u9500\uFF1A"+x,l.class="nodeWarn"),y=="deleteProcessComment"&&(d="\u5220\u9664\u6D41\u7A0B\uFF1A"+x,l.class="nodeError"),y=="cancelProcessComment"&&(d="\u62D2\u7EDD\uFF1A"+x,l.class="nodeError"),y=="comment"&&(d="\u5BA1\u6279\uFF1A"+x,l.class="nodeSuccess"),d&&(p+=`<span title='${d}'>${d}</span>`)}l.tooltip=p}n.historyActivityType=="sequenceFlow"?l.class="lineWarn":!l.class&&n.historyActivityType!="candidate"&&(l.class="nodeSuccess");const h=i.findIndex(d=>d.id==n.historyActivityId);h!=-1?i.splice(h,1,l):i.push(l)}),i}function bd(e){const t=[],i=[],n=[];return e.routeTxt&&e.routeTxt.length>0&&e.routeTxt.forEach(s=>{s.type==="user"?t.push(...s.ids.filter(r=>r&&r.trim()!=="")):s.type==="post"?i.push(...s.ids):s.type==="dept"&&n.push(...s.ids)}),{intersection:e.assigneeRetain=="true"?1:0,userIds:[...new Set(t)],postIds:[...new Set(i)],deptIds:[...new Set(n)]}}function Cd(e){const t=[];return e.forEach(i=>{let{assigneeName:n,createTime:s,endTime:r,comments:a}=i;/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&(s=s.replace(/-/g,"/"),r=r.replace(/-/g,"/"));const o={id:i.historyActivityId,class:!r&&i.historyActivityType!="candidate"?"nodePrimary":""};let l="";if(n||a&&a.length>0){if(l=`<span title='${n}'>${n}</span><br>`,s&&(l+=`<span title='${s}'>${iw(s,"YYYY-MM-DD HH:mm")}</span><br>`),a&&a.length>0){let h,{type:d,fullMessage:y}=a.find(x=>x.action=="AddComment")||{};d=="assigneeComment"&&(h="\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A"+y,o.class="nodeWarn"),d=="dispatchComment"&&(h="\u8C03\u5EA6\uFF1A"+y,o.class="nodeWarn"),d=="transferComment"&&(h="\u8F6C\u529E\uFF1A"+y,o.class="nodeWarn"),d=="delegateComment"&&(h="\u59D4\u6258\uFF1A"+y,o.class="nodeWarn"),d=="rollbackComment"&&(h="\u6307\u5B9A\u56DE\u9000\uFF1A"+y,o.class="nodeError"),d=="terminateComment"&&(h="\u7EC8\u6B62\uFF1A"+y,o.class="nodeError"),(d=="addMultiInstanceComment"||(d||"").includes("\u52A0\u7B7E"))&&(h="\u52A0\u7B7E\uFF1A"+y,o.class="nodeWarn"),d=="deleteMultiInstanceComment"&&(h="\u51CF\u7B7E\uFF1A"+y,o.class="nodeError"),d=="withdrawComment"&&(h="\u64A4\u9500\uFF1A"+y,o.class="nodeWarn"),d=="deleteProcessComment"&&(h="\u5220\u9664\u6D41\u7A0B\uFF1A"+y,o.class="nodeError"),d=="cancelProcessComment"&&(h="\u62D2\u7EDD\uFF1A"+y,o.class="nodeError"),d=="comment"&&(h="\u5BA1\u6279\uFF1A"+y,o.class="nodeSuccess"),h&&(l+=`<span title='${h}'>${h}</span>`)}o.tooltip=l}i.historyActivityType=="sequenceFlow"?o.class="lineWarn":!o.class&&i.historyActivityType!="candidate"&&(o.class="nodeSuccess");const p=t.findIndex(h=>h.id==i.historyActivityId);p!=-1?t.splice(p,1,o):t.push({...i,...o})}),t}function sw(e,t){const i=Object.create(null),n=e.split(",");for(let s=0;s<n.length;s++)i[n[s]]=!0;return t?s=>!!i[s.toLowerCase()]:s=>!!i[s]}const Bt=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const So=()=>{},rw=()=>!1,aw=/^on[^a-z]/,ow=e=>aw.test(e),yt=Object.assign,lw=(e,t)=>{const i=e.indexOf(t);i>-1&&e.splice(i,1)},cw=Object.prototype.hasOwnProperty,_e=(e,t)=>cw.call(e,t),be=Array.isArray,Tn=e=>gr(e)==="[object Map]",uw=e=>gr(e)==="[object Set]",Je=e=>typeof e=="function",Tt=e=>typeof e=="string",Po=e=>typeof e=="symbol",Ze=e=>e!==null&&typeof e=="object",pw=e=>Ze(e)&&Je(e.then)&&Je(e.catch),dw=Object.prototype.toString,gr=e=>dw.call(e),wd=e=>gr(e).slice(8,-1),hw=e=>gr(e)==="[object Object]",Do=e=>Tt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fw=(e=>{const t=Object.create(null);return i=>t[i]||(t[i]=e(i))})(e=>e.charAt(0).toUpperCase()+e.slice(1)),yr=(e,t)=>!Object.is(e,t),mw=(e,t,i)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:i})};let Ed;const Oo=()=>Ed||(Ed=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Mo(e){if(be(e)){const t={};for(let i=0;i<e.length;i++){const n=e[i],s=Tt(n)?Aw(n):Mo(n);if(s)for(const r in s)t[r]=s[r]}return t}else{if(Tt(e))return e;if(Ze(e))return e}}const gw=/;(?![^(]*\))/g,yw=/:([^]+)/,vw=/\/\*[^]*?\*\//g;function Aw(e){const t={};return e.replace(vw,"").split(gw).forEach(i=>{if(i){const n=i.split(yw);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Bo(e){let t="";if(Tt(e))t=e;else if(be(e))for(let i=0;i<e.length;i++){const n=Bo(e[i]);n&&(t+=n+" ")}else if(Ze(e))for(const i in e)e[i]&&(t+=i+" ");return t.trim()}function xd(e,...t){`${e}`,[...t]}let Id;function bw(e,t=Id){t&&t.active&&t.effects.push(e)}function Cw(){return Id}const Ro=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Td=e=>(e.w&li)>0,_d=e=>(e.n&li)>0,ww=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=li},Ew=e=>{const{deps:t}=e;if(t.length){let i=0;for(let n=0;n<t.length;n++){const s=t[n];Td(s)&&!_d(s)?s.delete(e):t[i++]=s,s.w&=~li,s.n&=~li}t.length=i}},Lo=new WeakMap;let as=0,li=1;const Fo=30;let $e;const qi=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),Vo=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");class xw{constructor(t,i=null,n){this.fn=t,this.scheduler=i,this.active=!0,this.deps=[],this.parent=void 0,bw(this,n)}run(){if(!this.active)return this.fn();let t=$e,i=Ji;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=$e,$e=this,Ji=!0,li=1<<++as,as<=Fo?ww(this):Nd(this),this.fn()}finally{as<=Fo&&Ew(this),li=1<<--as,$e=this.parent,Ji=i,this.parent=void 0,this.deferStop&&this.stop()}}stop(){$e===this?this.deferStop=!0:this.active&&(Nd(this),this.onStop&&this.onStop(),this.active=!1)}}function Nd(e){const{deps:t}=e;if(t.length){for(let i=0;i<t.length;i++)t[i].delete(e);t.length=0}}let Ji=!0;const kd=[];function Sd(){kd.push(Ji),Ji=!1}function Pd(){const e=kd.pop();Ji=e===void 0?!0:e}function et(e,t,i){if(Ji&&$e){let n=Lo.get(e);n||Lo.set(e,n=new Map);let s=n.get(i);s||n.set(i,s=Ro());const r=process.env.NODE_ENV!=="production"?{effect:$e,target:e,type:t,key:i}:void 0;Iw(s,r)}}function Iw(e,t){let i=!1;as<=Fo?_d(e)||(e.n|=li,i=!Td(e)):i=!e.has($e),i&&(e.add($e),$e.deps.push(e),process.env.NODE_ENV!=="production"&&$e.onTrack&&$e.onTrack(yt({effect:$e},t)))}function ci(e,t,i,n,s,r){const a=Lo.get(e);if(!a)return;let o=[];if(t==="clear")o=[...a.values()];else if(i==="length"&&be(e)){const p=Number(n);a.forEach((h,d)=>{(d==="length"||d>=p)&&o.push(h)})}else switch(i!==void 0&&o.push(a.get(i)),t){case"add":be(e)?Do(i)&&o.push(a.get("length")):(o.push(a.get(qi)),Tn(e)&&o.push(a.get(Vo)));break;case"delete":be(e)||(o.push(a.get(qi)),Tn(e)&&o.push(a.get(Vo)));break;case"set":Tn(e)&&o.push(a.get(qi));break}const l=process.env.NODE_ENV!=="production"?{target:e,type:t,key:i,newValue:n,oldValue:s,oldTarget:r}:void 0;if(o.length===1)o[0]&&(process.env.NODE_ENV!=="production"?vr(o[0],l):vr(o[0]));else{const p=[];for(const h of o)h&&p.push(...h);process.env.NODE_ENV!=="production"?vr(Ro(p),l):vr(Ro(p))}}function vr(e,t){const i=be(e)?e:[...e];for(const n of i)n.computed&&Dd(n,t);for(const n of i)n.computed||Dd(n,t)}function Dd(e,t){(e!==$e||e.allowRecurse)&&(process.env.NODE_ENV!=="production"&&e.onTrigger&&e.onTrigger(yt({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Tw=sw("__proto__,__v_isRef,__isVue"),Od=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Po)),_w=jo(),Nw=jo(!0),kw=jo(!0,!0),Md=Sw();function Sw(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...i){const n=fe(this);for(let r=0,a=this.length;r<a;r++)et(n,"get",r+"");const s=n[t](...i);return s===-1||s===!1?n[t](...i.map(fe)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...i){Sd();const n=fe(this)[t].apply(this,i);return Pd(),n}}),e}function Pw(e){const t=fe(this);return et(t,"has",e),t.hasOwnProperty(e)}function jo(e=!1,t=!1){return function(n,s,r){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&r===(e?t?Gd:Qd:t?Kw:Ud).get(n))return n;const a=be(n);if(!e){if(a&&_e(Md,s))return Reflect.get(Md,s,r);if(s==="hasOwnProperty")return Pw}const o=Reflect.get(n,s,r);return(Po(s)?Od.has(s):Tw(s))||(e||et(n,"get",s),t)?o:tt(o)?a&&Do(s)?o:o.value:Ze(o)?e?Jd(o):qd(o):o}}const Dw=Ow();function Ow(e=!1){return function(i,n,s,r){let a=i[n];if(Ki(a)&&tt(a)&&!tt(s))return!1;if(!e&&(!qo(s)&&!Ki(s)&&(a=fe(a),s=fe(s)),!be(i)&&tt(a)&&!tt(s)))return a.value=s,!0;const o=be(i)&&Do(n)?Number(n)<i.length:_e(i,n),l=Reflect.set(i,n,s,r);return i===fe(r)&&(o?yr(s,a)&&ci(i,"set",n,s,a):ci(i,"add",n,s)),l}}function Mw(e,t){const i=_e(e,t),n=e[t],s=Reflect.deleteProperty(e,t);return s&&i&&ci(e,"delete",t,void 0,n),s}function Bw(e,t){const i=Reflect.has(e,t);return(!Po(t)||!Od.has(t))&&et(e,"has",t),i}function Rw(e){return et(e,"iterate",be(e)?"length":qi),Reflect.ownKeys(e)}const Lw={get:_w,set:Dw,deleteProperty:Mw,has:Bw,ownKeys:Rw},Bd={get:Nw,set(e,t){return process.env.NODE_ENV!=="production"&&xd(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return process.env.NODE_ENV!=="production"&&xd(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},Fw=yt({},Bd,{get:kw}),Uo=e=>e,Ar=e=>Reflect.getPrototypeOf(e);function br(e,t,i=!1,n=!1){e=e.__v_raw;const s=fe(e),r=fe(t);i||(t!==r&&et(s,"get",t),et(s,"get",r));const{has:a}=Ar(s),o=n?Uo:i?Ko:Ho;if(a.call(s,t))return o(e.get(t));if(a.call(s,r))return o(e.get(r));e!==s&&e.get(t)}function Cr(e,t=!1){const i=this.__v_raw,n=fe(i),s=fe(e);return t||(e!==s&&et(n,"has",e),et(n,"has",s)),e===s?i.has(e):i.has(e)||i.has(s)}function wr(e,t=!1){return e=e.__v_raw,!t&&et(fe(e),"iterate",qi),Reflect.get(e,"size",e)}function Rd(e){e=fe(e);const t=fe(this);return Ar(t).has.call(t,e)||(t.add(e),ci(t,"add",e,e)),this}function Ld(e,t){t=fe(t);const i=fe(this),{has:n,get:s}=Ar(i);let r=n.call(i,e);r?process.env.NODE_ENV!=="production"&&jd(i,n,e):(e=fe(e),r=n.call(i,e));const a=s.call(i,e);return i.set(e,t),r?yr(t,a)&&ci(i,"set",e,t,a):ci(i,"add",e,t),this}function Fd(e){const t=fe(this),{has:i,get:n}=Ar(t);let s=i.call(t,e);s?process.env.NODE_ENV!=="production"&&jd(t,i,e):(e=fe(e),s=i.call(t,e));const r=n?n.call(t,e):void 0,a=t.delete(e);return s&&ci(t,"delete",e,void 0,r),a}function Vd(){const e=fe(this),t=e.size!==0,i=process.env.NODE_ENV!=="production"?Tn(e)?new Map(e):new Set(e):void 0,n=e.clear();return t&&ci(e,"clear",void 0,void 0,i),n}function Er(e,t){return function(n,s){const r=this,a=r.__v_raw,o=fe(a),l=t?Uo:e?Ko:Ho;return!e&&et(o,"iterate",qi),a.forEach((p,h)=>n.call(s,l(p),l(h),r))}}function xr(e,t,i){return function(...n){const s=this.__v_raw,r=fe(s),a=Tn(r),o=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,p=s[e](...n),h=i?Uo:t?Ko:Ho;return!t&&et(r,"iterate",l?Vo:qi),{next(){const{value:d,done:y}=p.next();return y?{value:d,done:y}:{value:o?[h(d[0]),h(d[1])]:h(d),done:y}},[Symbol.iterator](){return this}}}}function ui(e){return function(...t){if(process.env.NODE_ENV!=="production"){const i=t[0]?`on key "${t[0]}" `:"";`${fw(e)}${i}`,fe(this)}return e==="delete"?!1:this}}function Vw(){const e={get(r){return br(this,r)},get size(){return wr(this)},has:Cr,add:Rd,set:Ld,delete:Fd,clear:Vd,forEach:Er(!1,!1)},t={get(r){return br(this,r,!1,!0)},get size(){return wr(this)},has:Cr,add:Rd,set:Ld,delete:Fd,clear:Vd,forEach:Er(!1,!0)},i={get(r){return br(this,r,!0)},get size(){return wr(this,!0)},has(r){return Cr.call(this,r,!0)},add:ui("add"),set:ui("set"),delete:ui("delete"),clear:ui("clear"),forEach:Er(!0,!1)},n={get(r){return br(this,r,!0,!0)},get size(){return wr(this,!0)},has(r){return Cr.call(this,r,!0)},add:ui("add"),set:ui("set"),delete:ui("delete"),clear:ui("clear"),forEach:Er(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=xr(r,!1,!1),i[r]=xr(r,!0,!1),t[r]=xr(r,!1,!0),n[r]=xr(r,!0,!0)}),[e,i,t,n]}const[jw,Uw,Qw,Gw]=Vw();function Qo(e,t){const i=t?e?Gw:Qw:e?Uw:jw;return(n,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?n:Reflect.get(_e(i,s)&&s in n?i:n,s,r)}const qw={get:Qo(!1,!1)},Jw={get:Qo(!0,!1)},Hw={get:Qo(!0,!0)};function jd(e,t,i){const n=fe(i);if(n!==i&&t.call(e,n)){const s=wd(e);`${s}`}}const Ud=new WeakMap,Kw=new WeakMap,Qd=new WeakMap,Gd=new WeakMap;function Ww(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zw(e){return e.__v_skip||!Object.isExtensible(e)?0:Ww(wd(e))}function qd(e){return Ki(e)?e:Go(e,!1,Lw,qw,Ud)}function Jd(e){return Go(e,!0,Bd,Jw,Qd)}function Ir(e){return Go(e,!0,Fw,Hw,Gd)}function Go(e,t,i,n,s){if(!Ze(e))return process.env.NODE_ENV!=="production"&&`${String(e)}`,e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const a=zw(e);if(a===0)return e;const o=new Proxy(e,a===2?n:i);return s.set(e,o),o}function Hi(e){return Ki(e)?Hi(e.__v_raw):!!(e&&e.__v_isReactive)}function Ki(e){return!!(e&&e.__v_isReadonly)}function qo(e){return!!(e&&e.__v_isShallow)}function Jo(e){return Hi(e)||Ki(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Yw(e){return mw(e,"__v_skip",!0),e}const Ho=e=>Ze(e)?qd(e):e,Ko=e=>Ze(e)?Jd(e):e;function tt(e){return!!(e&&e.__v_isRef===!0)}function Xw(e){return tt(e)?e.value:e}const Zw={get:(e,t,i)=>Xw(Reflect.get(e,t,i)),set:(e,t,i,n)=>{const s=e[t];return tt(s)&&!tt(i)?(s.value=i,!0):Reflect.set(e,t,i,n)}};function $w(e){return Hi(e)?e:new Proxy(e,Zw)}const Wi=[];function eE(e){Wi.push(e)}function tE(){Wi.pop()}function He(e,...t){if(process.env.NODE_ENV==="production")return;Sd();const i=Wi.length?Wi[Wi.length-1].component:null,n=i&&i.appContext.config.warnHandler,s=iE();if(n)zi(n,i,11,[e+t.join(""),i&&i.proxy,s.map(({vnode:r})=>`at <${fh(i,r.type)}>`).join(`
|
|
27
|
-
`),
|
|
28
|
-
`,...
|
|
29
|
-
`],...sE(i))}),t}function sE({vnode:e,recurseCount:t}){const i=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,s=` at <${fh(e.component,e.type,n)}`,r=">"+i;return e.props?[s,...rE(e.props),r]:[s+r]}function rE(e){const t=[],i=Object.keys(e);return i.slice(0,3).forEach(n=>{t.push(...Hd(n,e[n]))}),i.length>3&&t.push(" ..."),t}function Hd(e,t,i){return Tt(t)?(t=JSON.stringify(t),i?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?i?t:[`${e}=${t}`]:tt(t)?(t=Hd(e,fe(t.value),!0),i?t:[`${e}=Ref<`,t,">"]):Je(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=fe(t),i?t:[`${e}=`,t])}const Kd={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function zi(e,t,i,n){let s;try{s=n?e(...n):e()}catch(r){Wd(r,t,i)}return s}function Wo(e,t,i,n){if(Je(e)){const r=zi(e,t,i,n);return r&&pw(r)&&r.catch(a=>{Wd(a,t,i)}),r}const s=[];for(let r=0;r<e.length;r++)s.push(Wo(e[r],t,i,n));return s}function Wd(e,t,i,n=!0){const s=t?t.vnode:null;if(t){let r=t.parent;const a=t.proxy,o=process.env.NODE_ENV!=="production"?Kd[i]:i;for(;r;){const p=r.ec;if(p){for(let h=0;h<p.length;h++)if(p[h](e,a,o)===!1)return}r=r.parent}const l=t.appContext.config.errorHandler;if(l){zi(l,null,10,[e,a,o]);return}}aE(e,i,s,n)}function aE(e,t,i,n=!0){if(process.env.NODE_ENV!=="production"){const s=Kd[t];if(i&&eE(i),He(`Unhandled error${s?` during execution of ${s}`:""}`),i&&tE(),n)throw e;console.error(e)}else console.error(e)}let Tr=!1,zo=!1;const _t=[];let pi=0;const _n=[];let Rt=null,di=0;const zd=Promise.resolve();let Yo=null;const oE=100;function lE(e){const t=Yo||zd;return e?t.then(this?e.bind(this):e):t}function cE(e){let t=pi+1,i=_t.length;for(;t<i;){const n=t+i>>>1;os(_t[n])<e?t=n+1:i=n}return t}function Xo(e){(!_t.length||!_t.includes(e,Tr&&e.allowRecurse?pi+1:pi))&&(e.id==null?_t.push(e):_t.splice(cE(e.id),0,e),Yd())}function Yd(){!Tr&&!zo&&(zo=!0,Yo=zd.then(Zd))}function Xd(e){be(e)?_n.push(...e):(!Rt||!Rt.includes(e,e.allowRecurse?di+1:di))&&_n.push(e),Yd()}function uE(e){if(_n.length){const t=[...new Set(_n)];if(_n.length=0,Rt){Rt.push(...t);return}for(Rt=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Rt.sort((i,n)=>os(i)-os(n)),di=0;di<Rt.length;di++)process.env.NODE_ENV!=="production"&&$d(e,Rt[di])||Rt[di]();Rt=null,di=0}}const os=e=>e.id==null?1/0:e.id,pE=(e,t)=>{const i=os(e)-os(t);if(i===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return i};function Zd(e){zo=!1,Tr=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),_t.sort(pE);const t=process.env.NODE_ENV!=="production"?i=>$d(e,i):So;try{for(pi=0;pi<_t.length;pi++){const i=_t[pi];if(i&&i.active!==!1){if(process.env.NODE_ENV!=="production"&&t(i))continue;zi(i,null,14)}}}finally{pi=0,_t.length=0,uE(e),Tr=!1,Yo=null,(_t.length||_n.length)&&Zd(e)}}function $d(e,t){if(!e.has(t))e.set(t,1);else{const i=e.get(t);if(i>oE){const n=t.ownerInstance,s=n&&hh(n.type);return He(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,i+1)}}const ls=new Set;process.env.NODE_ENV!=="production"&&(Oo().__VUE_HMR_RUNTIME__={createRecord:Zo(dE),rerender:Zo(hE),reload:Zo(fE)});const _r=new Map;function dE(e,t){return _r.has(e)?!1:(_r.set(e,{initialDef:cs(t),instances:new Set}),!0)}function cs(e){return mh(e)?e.__vccOpts:e}function hE(e,t){const i=_r.get(e);!i||(i.initialDef.render=t,[...i.instances].forEach(n=>{t&&(n.render=t,cs(n.type).render=t),n.renderCache=[],n.update()}))}function fE(e,t){const i=_r.get(e);if(!i)return;t=cs(t),eh(i.initialDef,t);const n=[...i.instances];for(const s of n){const r=cs(s.type);ls.has(r)||(r!==i.initialDef&&eh(r,t),ls.add(r)),s.appContext.propsCache.delete(s.type),s.appContext.emitsCache.delete(s.type),s.appContext.optionsCache.delete(s.type),s.ceReload?(ls.add(r),s.ceReload(t.styles),ls.delete(r)):s.parent?Xo(s.parent.update):s.appContext.reload?s.appContext.reload():typeof window<"u"&&window.location.reload()}Xd(()=>{for(const s of n)ls.delete(cs(s.type))})}function eh(e,t){yt(e,t);for(const i in e)i!=="__file"&&!(i in t)&&delete e[i]}function Zo(e){return(t,i)=>{try{return e(t,i)}catch(n){console.error(n)}}}let hi=null,mE=null;function ET(){}const gE=e=>e.__isSuspense;function yE(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):Xd(e)}const Nr={};function vE(e,t,{immediate:i,deep:n,flush:s,onTrack:r,onTrigger:a}=Bt){var o;process.env.NODE_ENV!=="production"&&!t&&(i!==void 0&&He('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),n!==void 0&&He('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const l=E=>{He("Invalid watch source: ",E,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},p=Cw()===((o=Sn)==null?void 0:o.scope)?Sn:null;let h,d=!1,y=!1;if(tt(e)?(h=()=>e.value,d=qo(e)):Hi(e)?(h=()=>e,n=!0):be(e)?(y=!0,d=e.some(E=>Hi(E)||qo(E)),h=()=>e.map(E=>{if(tt(E))return E.value;if(Hi(E))return Nn(E);if(Je(E))return zi(E,p,2);process.env.NODE_ENV!=="production"&&l(E)})):Je(e)?t?h=()=>zi(e,p,2):h=()=>{if(!(p&&p.isUnmounted))return x&&x(),Wo(e,p,3,[M])}:(h=So,process.env.NODE_ENV!=="production"&&l(e)),t&&n){const E=h;h=()=>Nn(E())}let x,M=E=>{x=U.onStop=()=>{zi(E,p,4)}},B=y?new Array(e.length).fill(Nr):Nr;const Z=()=>{if(!!U.active)if(t){const E=U.run();(n||d||(y?E.some((P,S)=>yr(P,B[S])):yr(E,B)))&&(x&&x(),Wo(t,p,3,[E,B===Nr?void 0:y&&B[0]===Nr?[]:B,M]),B=E)}else U.run()};Z.allowRecurse=!!t;let J;s==="sync"?J=Z:s==="post"?J=()=>rh(Z,p&&p.suspense):(Z.pre=!0,p&&(Z.id=p.uid),J=()=>Xo(Z));const U=new xw(h,J);return process.env.NODE_ENV!=="production"&&(U.onTrack=r,U.onTrigger=a),t?i?Z():B=U.run():s==="post"?rh(U.run.bind(U),p&&p.suspense):U.run(),()=>{U.stop(),p&&p.scope&&lw(p.scope.effects,U)}}function AE(e,t,i){const n=this.proxy,s=Tt(e)?e.includes(".")?bE(n,e):()=>n[e]:e.bind(n,n);let r;Je(t)?r=t:(r=t.handler,i=t);const a=Sn;dh(this);const o=vE(s,r.bind(n),i);return a?dh(a):jE(),o}function bE(e,t){const i=t.split(".");return()=>{let n=e;for(let s=0;s<i.length&&n;s++)n=n[i[s]];return n}}function Nn(e,t){if(!Ze(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),tt(e))Nn(e.value,t);else if(be(e))for(let i=0;i<e.length;i++)Nn(e[i],t);else if(uw(e)||Tn(e))e.forEach(i=>{Nn(i,t)});else if(hw(e))for(const i in e)Nn(e[i],t);return e}const CE=Symbol.for("v-ndc"),$o=e=>e?UE(e)?QE(e)||e.proxy:$o(e.parent):null,us=yt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Ir(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Ir(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Ir(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Ir(e.refs):e.refs,$parent:e=>$o(e.parent),$root:e=>$o(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?IE(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>Xo(e.update)),$nextTick:e=>e.n||(e.n=lE.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?AE.bind(e):So}),wE=e=>e==="_"||e==="$",el=(e,t)=>e!==Bt&&!e.__isScriptSetup&&_e(e,t),EE={get({_:e},t){const{ctx:i,setupState:n,data:s,props:r,accessCache:a,type:o,appContext:l}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let p;if(t[0]!=="$"){const x=a[t];if(x!==void 0)switch(x){case 1:return n[t];case 2:return s[t];case 4:return i[t];case 3:return r[t]}else{if(el(n,t))return a[t]=1,n[t];if(s!==Bt&&_e(s,t))return a[t]=2,s[t];if((p=e.propsOptions[0])&&_e(p,t))return a[t]=3,r[t];if(i!==Bt&&_e(i,t))return a[t]=4,i[t];(!__VUE_OPTIONS_API__||xE)&&(a[t]=0)}}const h=us[t];let d,y;if(h)return t==="$attrs"?(et(e,"get",t),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&et(e,"get",t),h(e);if((d=o.__cssModules)&&(d=d[t]))return d;if(i!==Bt&&_e(i,t))return a[t]=4,i[t];if(y=l.config.globalProperties,_e(y,t))return y[t];process.env.NODE_ENV!=="production"&&hi&&(!Tt(t)||t.indexOf("__v")!==0)&&(s!==Bt&&wE(t[0])&&_e(s,t)?He(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===hi&&He(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,i){const{data:n,setupState:s,ctx:r}=e;return el(s,t)?(s[t]=i,!0):process.env.NODE_ENV!=="production"&&s.__isScriptSetup&&_e(s,t)?(He(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==Bt&&_e(n,t)?(n[t]=i,!0):_e(e.props,t)?(process.env.NODE_ENV!=="production"&&He(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&He(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:i}):r[t]=i,!0)},has({_:{data:e,setupState:t,accessCache:i,ctx:n,appContext:s,propsOptions:r}},a){let o;return!!i[a]||e!==Bt&&_e(e,a)||el(t,a)||(o=r[0])&&_e(o,a)||_e(n,a)||_e(us,a)||_e(s.config.globalProperties,a)},defineProperty(e,t,i){return i.get!=null?e._.accessCache[t]=0:_e(i,"value")&&this.set(e,t,i.value,null),Reflect.defineProperty(e,t,i)}};process.env.NODE_ENV!=="production"&&(EE.ownKeys=e=>(He("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function th(e){return be(e)?e.reduce((t,i)=>(t[i]=null,t),{}):e}let xE=!0;function IE(e){const t=e.type,{mixins:i,extends:n}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,o=r.get(t);let l;return o?l=o:!s.length&&!i&&!n?l=t:(l={},s.length&&s.forEach(p=>kr(l,p,a,!0)),kr(l,t,a)),Ze(t)&&r.set(t,l),l}function kr(e,t,i,n=!1){const{mixins:s,extends:r}=t;r&&kr(e,r,i,!0),s&&s.forEach(a=>kr(e,a,i,!0));for(const a in t)if(n&&a==="expose")process.env.NODE_ENV!=="production"&&He('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=TE[a]||i&&i[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const TE={data:ih,props:sh,emits:sh,methods:ps,computed:ps,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:ps,directives:ps,watch:NE,provide:ih,inject:_E};function ih(e,t){return t?e?function(){return yt(Je(e)?e.call(this,this):e,Je(t)?t.call(this,this):t)}:t:e}function _E(e,t){return ps(nh(e),nh(t))}function nh(e){if(be(e)){const t={};for(let i=0;i<e.length;i++)t[e[i]]=e[i];return t}return e}function Ke(e,t){return e?[...new Set([].concat(e,t))]:t}function ps(e,t){return e?yt(Object.create(null),e,t):t}function sh(e,t){return e?be(e)&&be(t)?[...new Set([...e,...t])]:yt(Object.create(null),th(e),th(t!=null?t:{})):t}function NE(e,t){if(!e)return t;if(!t)return e;const i=yt(Object.create(null),e);for(const n in t)i[n]=Ke(e[n],t[n]);return i}function kE(){return{app:null,config:{isNativeTag:rw,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}const rh=yE,SE=e=>e.__isTeleport,ah=Symbol.for("v-fgt"),PE=Symbol.for("v-txt"),DE=Symbol.for("v-cmt");let kn=null;function OE(e){return e?e.__v_isVNode===!0:!1}const ME=(...e)=>ch(...e),oh="__vInternal",lh=({key:e})=>e!=null?e:null,Sr=({ref:e,ref_key:t,ref_for:i})=>(typeof e=="number"&&(e=""+e),e!=null?Tt(e)||tt(e)||Je(e)?{i:hi,r:e,k:t,f:!!i}:e:null);function BE(e,t=null,i=null,n=0,s=null,r=e===ah?0:1,a=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lh(t),ref:t&&Sr(t),scopeId:mE,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:hi};return o?(tl(l,i),r&128&&e.normalize(l)):i&&(l.shapeFlag|=Tt(i)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&He("VNode created with invalid key (NaN). VNode type:",l.type),!a&&kn&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&kn.push(l),l}const RE=process.env.NODE_ENV!=="production"?ME:ch;function ch(e,t=null,i=null,n=0,s=null,r=!1){if((!e||e===CE)&&(process.env.NODE_ENV!=="production"&&!e&&He(`Invalid vnode type when creating vnode: ${e}.`),e=DE),OE(e)){const o=Pr(e,t,!0);return i&&tl(o,i),!r&&kn&&(o.shapeFlag&6?kn[kn.indexOf(e)]=o:kn.push(o)),o.patchFlag|=-2,o}if(mh(e)&&(e=e.__vccOpts),t){t=LE(t);let{class:o,style:l}=t;o&&!Tt(o)&&(t.class=Bo(o)),Ze(l)&&(Jo(l)&&!be(l)&&(l=yt({},l)),t.style=Mo(l))}const a=Tt(e)?1:gE(e)?128:SE(e)?64:Ze(e)?4:Je(e)?2:0;return process.env.NODE_ENV!=="production"&&a&4&&Jo(e)&&(e=fe(e),He("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
30
|
-
Component that was made reactive: `,e)),BE(e,t,i,n,s,a,r,!0)}function LE(e){return e?Jo(e)||oh in e?yt({},e):e:null}function Pr(e,t,i=!1){const{props:n,ref:s,patchFlag:r,children:a}=e,o=t?VE(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&lh(o),ref:t&&t.ref?i&&s?be(s)?s.concat(Sr(t)):[s,Sr(t)]:Sr(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&r===-1&&be(a)?a.map(uh):a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ah?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pr(e.ssContent),ssFallback:e.ssFallback&&Pr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function uh(e){const t=Pr(e);return be(e.children)&&(t.children=e.children.map(uh)),t}function FE(e=" ",t=0){return RE(PE,null,e,t)}function tl(e,t){let i=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(be(t))i=16;else if(typeof t=="object")if(n&65){const s=t.default;s&&(s._c&&(s._d=!1),tl(e,s()),s._c&&(s._d=!0));return}else{i=32;const s=t._;!s&&!(oh in t)?t._ctx=hi:s===3&&hi&&(hi.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Je(t)?(t={default:t,_ctx:hi},i=32):(t=String(t),n&64?(i=16,t=[FE(t)]):i=8);e.children=t,e.shapeFlag|=i}function VE(...e){const t={};for(let i=0;i<e.length;i++){const n=e[i];for(const s in n)if(s==="class")t.class!==n.class&&(t.class=Bo([t.class,n.class]));else if(s==="style")t.style=Mo([t.style,n.style]);else if(ow(s)){const r=t[s],a=n[s];a&&r!==a&&!(be(r)&&r.includes(a))&&(t[s]=r?[].concat(r,a):a)}else s!==""&&(t[s]=n[s])}return t}kE();let Sn=null,il,Pn,ph="__VUE_INSTANCE_SETTERS__";(Pn=Oo()[ph])||(Pn=Oo()[ph]=[]),Pn.push(e=>Sn=e),il=e=>{Pn.length>1?Pn.forEach(t=>t(e)):Pn[0](e)};const dh=e=>{il(e),e.scope.on()},jE=()=>{Sn&&Sn.scope.off(),il(null)};function UE(e){return e.vnode.shapeFlag&4}function QE(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy($w(Yw(e.exposed)),{get(t,i){if(i in t)return t[i];if(i in us)return us[i](e)},has(t,i){return i in t||i in us}}))}const GE=/(?:^|[-_])(\w)/g,qE=e=>e.replace(GE,t=>t.toUpperCase()).replace(/[-_]/g,"");function hh(e,t=!0){return Je(e)?e.displayName||e.name:e.name||t&&e.__name}function fh(e,t,i=!1){let n=hh(t);if(!n&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(n=s[1])}if(!n&&e&&e.parent){const s=r=>{for(const a in r)if(r[a]===t)return a};n=s(e.components||e.parent.type.components)||s(e.appContext.components)}return n?qE(n):i?"App":"Anonymous"}function mh(e){return Je(e)&&"__vccOpts"in e}function nl(e){return!!(e&&e.__v_isShallow)}function JE(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},i={style:"color:#b62e24"},n={style:"color:#9d288c"},s={header(d){return Ze(d)?d.__isVue?["div",e,"VueInstance"]:tt(d)?["div",{},["span",e,h(d)],"<",o(d.value),">"]:Hi(d)?["div",{},["span",e,nl(d)?"ShallowReactive":"Reactive"],"<",o(d),`>${Ki(d)?" (readonly)":""}`]:Ki(d)?["div",{},["span",e,nl(d)?"ShallowReadonly":"Readonly"],"<",o(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...r(d.$)]}};function r(d){const y=[];d.type.props&&d.props&&y.push(a("props",fe(d.props))),d.setupState!==Bt&&y.push(a("setup",d.setupState)),d.data!==Bt&&y.push(a("data",fe(d.data)));const x=l(d,"computed");x&&y.push(a("computed",x));const M=l(d,"inject");return M&&y.push(a("injected",M)),y.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),y}function a(d,y){return y=yt({},y),Object.keys(y).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(y).map(x=>["div",{},["span",n,x+": "],o(y[x],!1)])]]:["span",{}]}function o(d,y=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",i,JSON.stringify(d)]:typeof d=="boolean"?["span",n,d]:Ze(d)?["object",{object:y?fe(d):d}]:["span",i,String(d)]}function l(d,y){const x=d.type;if(Je(x))return;const M={};for(const B in d.ctx)p(x,B,y)&&(M[B]=d.ctx[B]);return M}function p(d,y,x){const M=d[x];if(be(M)&&M.includes(y)||Ze(M)&&y in M||d.extends&&p(d.extends,y,x)||d.mixins&&d.mixins.some(B=>p(B,y,x)))return!0}function h(d){return nl(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(s):window.devtoolsFormatters=[s]}function HE(){JE()}process.env.NODE_ENV!=="production"&&HE();const KE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAByFJREFUeF7t19HJLEUUhdHpQEzEOMREjOMmIsZhIgYyou8KvTecA1Xrgm+zLXrV/9H08/GPAIH/FHjYECDw3wIC8ddB4H8EBOLPg4BA/A0QyAS8QTI3q0sEBHLJRXvMTEAgmZvVJQICueSiPWYmIJDMzeoSAYFcctEeMxMQSOZmdYmAQC65aI+ZCQgkc7O6REAgl1y0x8wEBJK5WV0iIJBLLtpjZgICydysLhEQyCUX7TEzAYFkblaXCAjkkov2mJmAQDI3q0sEBHLJRXvMTEAgmZvVJQICueSiPWYmIJDMrVp9v9+fP5/PHy//J788z/Pny42flwICKQGTuUAStZ2NQBbcBbKAHh4pkBCumQmk0ZvdCmTW+9/TBLKAHh4pkBCumQmk0ZvdCmTW2xtkwbs5UiCNXrj1BgnhFmYCWUAXyAJ6eKRAQrhmJpBGb3YrkFlv3yAL3s2RAmn0wq03SAi3MBPIArpAFtDDIwUSwjUzgTR6s1uBzHr7Blnwbo4USKMXbr1BQriFmUAW0AWygB4eKZAQrpkJpNGb3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EJ9utAqiAAEJkmiG6VOAgPh0o1UQBQhIkEQzTJ8CBMSnG62CKEBAgiSaYfoUICA+3WgVRAECEiTRDNOnAAHx6UarIAoQkCCJZpg+BQiITzdaBVGAgARJNMP0KUBAfLrRKogCBCRIohmmTwEC4tONVkEUICBBEs0wfQoQEJ9utAqiAAEJkmiG6VOAgPh0o1UQBQhIkEQzTJ8CBMSnG62CKEBAgiSaYfoUICA+3WgVRAECEiTRDNOnAAHx6UarIAoQkCCJZpg+BQiITzdaBVGAgARJNMP0KUBAfLrRKogCBCRIohmmTwEC4tONVkEUICBBEs0wfQoQEJ9utAqiAAEJkmiG6VPgf/UDKvbyCmTdAAAAAElFTkSuQmCC",zE={name:"TopTips",props:{text:{default:"",type:String},type:{default:"default",type:String},statusTips:{default:!1,type:Boolean},domNode:{default:"",type:String},visible:{default:!1,type:Boolean}},data(){return{show:!1,status:"",timeOut:null}},computed:{error(){return KE},loading(){return WE},success(){return sl}},watch:{type:{handler(e,t){if(e=="loading"){clearInterval(this.timeOut);return}else this.timeOut=setTimeout(()=>{this.show=!1},1500)},immediate:!0,deep:!0}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el)})},methods:{handleOpen(){this.show||(this.show=!0,this.type=="loading"?clearInterval(this.timeOut):this.timeOut=setTimeout(()=>{this.show=!1},1500))},handleClose(){this.show=!1}}};var YE=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.show?i("div",[e.statusTips?i("div",{staticClass:"top-tipss",style:e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;"},[i("div",{staticClass:"top-tipss-status"},[e.type=="loading"?i("div",{staticClass:"top-tipss-loadinig"},[i("img",{attrs:{src:e.loading}}),e.text?i("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e(),e.type=="success"?i("div",{staticClass:"top-tipss-success"},[i("img",{attrs:{src:e.success}}),e.text?i("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e(),e.type=="error"?i("div",{staticClass:"top-tipss-error"},[i("img",{attrs:{src:e.error}}),e.text?i("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e()])]):i("div",{staticClass:"top-tipss",style:e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;"},[e.text?i("div",{staticClass:"top-tipss-text"},[e._v(e._s(e.text))]):e._e()]),i("div",{staticClass:"top-tipss-mask",style:e.show&&e.statusTips?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"})]):e._e()},XE=[];const xT="",gh={};var ZE=ve(zE,YE,XE,!1,$E,"79d9d777",null,null);function $E(e){for(let t in gh)this[t]=gh[t]}const Nt=function(){return ZE.exports}(),ex="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAEmBJREFUeF7tnAt0VdWZx397n3PvDUlISHgEkJfDGxXRVnGqq2o7PtvB1hl0fFun6ji+xhfgzCioq5WA2hFxptUOY23VqlNf06laW7VrVUfs8gEqgmBFRZ4hIRBIcu85e8/69j4HriEJAYLiY691181Ncs/Z+3/++/u+/b0U3T1mWM0AAlZhmaEirFUoZZlus+WlDM8ZJqKpsJZhCiYAxmgC5T8Pk+lYWG4Vy7UhBrSF15ViOYaNrZr5TVt4lxtUfuu1Z9iQAShWETNDme5ckuqWiwkIdxGyEsUMCg6QOTbXazMDAs1wYD9jGKk1gwJFX6UIUZQrS7W7v0AI5fJKAGqy0IQVrMAq6rE0WUsUW9YZwwqtWQq8FRve3VDGKi5TrQ6wGWRQGKYTu3ns5tg9gGRCD6NZ5Njinlz1HFtBK/thOUwZJmjNKGCcggoDthChYguRvIqetTFCJb8arf0rHaGGUEGgIBNiNcjKNwK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nVTVNJHyOqdaWhSvNSdZ1B7UjfpqtKnB/2N4UQUVwFjlEoaLFmMa7CknH2iXEcp7d633r+zBkvSXCl5SaWQdSFxabCkXJcXAUbUgTRYulVrfvPpN1hKQWqnRVfVTFupDOMIOSwwTLAwWmnGttuiqyhVRhb9sRZdRY9OmNJeiy5reFvBklhadEW8ZDWLGqapxq3G307Km/aeffcwyPcWChB1mjR5GzHH5ta1MjCMGI5mnIGRGgYFmr4KpHawp1JJkzd/5tm+yVsyY2uRcu1N0vYsNqwzsELDUgyLopB3++ZYuWyvbPLW0XbrpE1gFg5DUYFvC3iQy+U0rp3XMKUZ6hSmL9Nejnb5nfK315A2gZaNeXjpk2wT+P9KELohNtx5+AAAAABJRU5ErkJggg==",tx={name:"attchViews",components:{TopTips:Nt,PreviewImage:Hs,PreView:Tu,TopPopup:at},props:{request:{type:Function,defalut:()=>{}},limit:{type:[Number,String],default:4},changeFn:{type:Function,default:null},requires:{default:!1},inComing:{type:Array,defalut:()=>[]},deletFn:{type:Function},onlyShow:{type:Boolean,default:!1},linkUrl:{type:Function,defalut:null}},data(){return{lists:[],filesArr:[],imgIcon:["jpg","jpeg","png","gif"],docIcon:["doc","docx"],xlsIcon:["xls","xlsx"],zipIcon:["zip","rar","7z"],extension:["bmp","gif","jpg","jpeg","png","doc","docx","xls","xlsx","ppt","pptx","html","htm","txt","wps","rar","zip","gz","bz2","mp4","avi","rmvb","pdf"],current:"",buttonLoading:!1,handleCloseType:!0,uploadState:!0,textTips:"",statusTips:!1,typeTips:"success",visible:!1,indexd:0,visibleS:!1,fileUrl:""}},watch:{inComing:{handler(e,t){e&&(this.filesArr=[].concat(e),this.emitView())},immediate:!0,deep:!0}},computed:{haveCount(){return this.limit==-1?100:this.limit-this.filesArr.length},addFile(){return ex},del(){return Nu},doc(){return ku},file(){return Su},image(){return Pu},pdf(){return Du},xls(){return Ou},zip(){return Mu}},mounted(){this.$nextTick(()=>{let e=document.createElement("input");e.type="file",e.className="upload-input",e.style="opacity: 0;position: absolute;width:100%;height:100%;visibility: hidden;",e.multiple=!0,e.id="fileUp",e.addEventListener("change",this.handleSelect),document.getElementById("inputfile").appendChild(e)})},methods:{handleClick(){if(typeof nativeMethod<"u"&&nativeMethod.vueSelectFile&&nativeMethod.vueSelectFile(2,"*",this.limit||1),this.haveCount<=0){this.handleTips(`\u6700\u591A\u4E0A\u4F20${this.limit}\u4E2A\u6587\u4EF6`,!1,"success");return}document.getElementById("fileUp").click()},async handleSelect(e,t){this.handleTips("\u4E0A\u4F20\u4E2D",!0,"loading");const i=Array.from(e.target.files);document.getElementById("fileUp").value="";let n=0,s=this.haveCount>i.length?i.length:this.haveCount;try{for(let r=0;r<s;r++)if(this.extension.includes(i[r].name.substring(i[r].name.lastIndexOf(".")+1))){const a=new FormData;a.append("file",i[r]);const o=await this.request.post("/file/upload",a,{headers:{"Content-Type":"multipart/form-data"}});if(o.code===200){if(this.filesArr.length>0){for(let l=0;l<this.filesArr.length;l++)if(o.name==this.filesArr[l].name&&n++,this.filesArr[l].name.includes(`(${n})`)&&n++,n>0){let p=o.name.lastIndexOf(".");o.name=`${o.name.substring(0,p)} (${n}) .${o.name.substring(o.name.lastIndexOf(".")+1)}`}}this.filesArr.push(o.data)}else{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.viewImage();return}}else{this.handleTips(`\u6587\u4EF6${i[r].name}\u683C\u5F0F\u9519\u8BEF,\u8BF7\u91CD\u65B0\u4E0A\u4F20`,!0,"error");return}this.handleTips("\u4E0A\u4F20\u6210\u529F",!0,"success"),this.viewImage(),this.emitView()}catch{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.emitView()}},handleDel(e,t){if(this.deletFn){if(this.deletFn(t)===!1){this.handleTips("\u5220\u9664\u5931\u8D25",!0,"error");return}this.filesArr.splice(e,1),this.emitView()}else this.filesArr.splice(e,1),this.emitView()},viewFile(e,t){this.imgIcon.includes(e.name.substring(e.name.lastIndexOf(".")+1).toLowerCase())?(this.indexd=this.lists.indexOf(e.url),this.visible=!0):e.url&&(this.fileUrl=e.url,this.visibleS=!0)},viewImage(){this.lists=[];let e=[];this.filesArr.map((t,i)=>{this.imgIcon.includes(t.name.substring(t.name.lastIndexOf(".")+1).toLowerCase())}),e=this.filesArr.filter(t=>this.imgIcon.includes(t.name.substring(t.name.lastIndexOf(".")+1).toLowerCase())),e.forEach((t,i)=>{this.lists.push(t.url)})},emitView(){this.$emit("getValue",this.filesArr)},clearData(){this.filesArr=[]},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()}}};var ix=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"attch-upload"},[e.buttonLoading?i("div",{staticClass:"attch-upload-mask"}):e._e(),i("div",{staticClass:"attch-upload-body"},[i("div",{staticClass:"upload-header"},[i("div",{staticClass:"upload-header-title"},[e._v(" \u9644\u4EF6 "),e.requires?i("span",{staticClass:"upload-header-title--re"},[e._v("*")]):e._e()]),i("div",{staticClass:"upload-header-upload"},[e.onlyShow?e._e():i("div",{staticClass:"upload-header-upload--item",attrs:{id:"inputfile"},on:{click:e.handleClick}},[i("img",{attrs:{src:e.addFile}}),e._v("\u4E0A\u4F20\u9644\u4EF6 ")])])]),i("div",{staticClass:"upload-body"},[e.filesArr.length>0?i("div",{staticClass:"upload-list"},e._l(e.filesArr,function(n,s){return i("div",{key:n.uuid,staticClass:"list-items"},[i("div",{staticClass:"list-items-icon"},[e.xlsIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.xls}}):e.imgIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.image}}):n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?i("img",{staticClass:"icon-img",attrs:{src:e.pdf}}):e.docIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.doc}}):e.zipIcon.includes(n.name.substring(n.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.zip}}):i("img",{staticClass:"icon-img",attrs:{src:e.file}})]),i("div",{staticClass:"list-items-info"},[i("div",{staticClass:"info-name"},[e._v(" "+e._s(n.name)+" ")]),i("div",{staticClass:"info-attribute"},[i("span",{staticClass:"info-attribute-size"},[e._v(e._s(n.fileSize<1024?n.fileSize:n.fileSize/1024>1024?parseFloat((n.fileSize/1024/1024).toFixed(2)):parseFloat((n.fileSize/1024).toFixed(2)))+e._s(n.fileSize<1024?"b":parseFloat((n.fileSize/1024).toFixed(2))<1024?"kb":"M")+" ")]),i("span",{staticClass:"info-attribute-views",on:{click:function(r){return e.viewFile(n,s)}}},[e._v(" \u9884\u89C8 ")])])]),e.onlyShow?e._e():i("div",{staticClass:"list-items-operation"},[i("div",{staticClass:"list-items-operation-img",on:{click:function(r){return e.handleDel(s,n)}}},[i("img",{attrs:{src:e.del}})])])])}),0):e._e()])]),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("PreviewImage",{attrs:{images:e.lists,visible:e.visible,indexd:e.indexd},on:{"update:visible":function(n){return e.visible=n}}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleS,titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},on:{"update:visible":function(n){return e.visibleS=n}}},[e.visibleS?i("PreView",{attrs:{file:e.fileUrl}}):e._e()],1)],1)},nx=[];const IT="",yh={};var sx=ve(tx,ix,nx,!1,rx,"26dcacc2",null,null);function rx(e){for(let t in yh)this[t]=yh[t]}const Yi=function(){return sx.exports}();var ax=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-flow",attrs:{type:"flex"}},[i("div",[e._l(e.getColors(e.flowList),function(n,s){return[["candidate","sequenceFlow"].includes(n.historyActivityType)?e._e():i("div",{key:n.id,staticClass:"flow-item",attrs:{timestamp:n.endTime||n.createTime,placement:"top"}},[i("p",[i("span",{staticClass:"flow-name"},[e._v(e._s(n.assigneeName||(n.comments&&n.comments.length>0?n.comments[n.comments.length-1].userId:"")))]),e._v(" \u5728 "),i("span",{staticClass:"flow-time"},[e._v(e._s(n.createTime))]),e._v(" \u5F00\u59CB\u5904\u7406 "),i("span",{staticClass:"flow-node"},[e._v(e._s(n.historyActivityType=="endEvent"?"\u7ED3\u675F":n.historyActivityName||"\u672A\u547D\u540D"))]),e._v(" \u73AF\u8282 ")]),n.historyActivityDurationTime?i("p",{staticClass:"flow-time"},[e._v(" \u4EFB\u52A1\u5386\u65F6 "+e._s(n.historyActivityDurationTime)+" ")]):e._e(),n.comments&&n.comments.length>0?[e._l(n.comments.filter(function(r){return r.action==="AddComment"}),function(r,a){return[a<1?[i("span",{class:["comment-type",n.class]},[e._v(e._s(e.commentMap[r.type]||r.type))]),i("span",{staticClass:"comment-user"},[e._v(e._s(r.userId))]),e._v(": "),i("span",[e._v(" "+e._s(r.fullMessage)+" ")]),n.comments.filter(function(o){return o.action==="AddComment"}).length>1?i("span",{staticStyle:{color:"#1989fa",float:"right"},on:{click:e.handleClick}},[e._v(" "+e._s(e.toggleText)+" "),i("i",{class:[e.isFlag?"arrow-up":"arrow-down"]})]):e._e(),r.time&&e.isFlag?i("p",{staticStyle:{color:"gray","font-size":"12px"}},[e._v(e._s(r.time))]):e._e()]:e._e(),a>0&&e.isFlag?[i("span",{staticClass:"comment-type"},[e._v(e._s(e.commentMap[r.type]||r.type))]),i("span",{staticClass:"comment-user"},[e._v(e._s(r.userId))]),e._v(": "),i("span",[e._v(" "+e._s(r.fullMessage)+" ")]),r.time?i("p",{staticStyle:{color:"gray","font-size":"12px"}},[e._v(e._s(r.time))]):e._e()]:e._e()]})]:e._e(),n.endTime?i("p",{staticClass:"flow-time"},[e._v("\u7ED3\u675F\u65F6\u95F4: "+e._s(n.endTime))]):e._e(),i("div",{staticClass:"p-file"},[n.attachmentsFujian&&n.attachmentsFujian.length>0?i("div",{on:{click:function(r){return e.$emit("view",n.attachmentsFujian)}}},[e._v(" \u67E5\u770B\u9644\u4EF6")]):e._e(),n.attachmentsQianzi&&n.attachmentsQianzi.length>0?i("div",{on:{click:function(r){return e.$emit("view",n.attachmentsQianzi)}}},[e._v(" \u67E5\u770B\u7B7E\u5B57")]):e._e()])],2)]})],2)])},ox=[];const TT="",lx={name:"nf-flow",components:{attchViews:Yi},props:{request:{type:Object,default:()=>{}},flowList:{type:Array,default:()=>[]}},data(){return{getColors:Cd,isFlag:!0,toggleText:"\u6536\u8D77",commentMap:{assigneeComment:"\u53D8\u66F4",dispatchComment:"\u8C03\u5EA6",transferComment:"\u8F6C\u529E",delegateComment:"\u59D4\u6258",rollbackComment:"\u56DE\u9000",terminateComment:"\u7EC8\u6B62",addMultiInstanceComment:"\u52A0\u7B7E",deleteMultiInstanceComment:"\u51CF\u7B7E",withdrawComment:"\u64A4\u9500",recallComment:"\u64A4\u56DE",deleteProcessComment:"\u5220\u9664",cancelProcessComment:"\u62D2\u7EDD",skipComment:"\u8DF3\u8FC7",comment:"\u5BA1\u6279",\u524D\u52A0\u7B7E:"\u52A0\u7B7E",\u540E\u52A0\u7B7E:"\u52A0\u7B7E"}}},methods:{handleClick(){this.isFlag=!this.isFlag,this.toggleText=this.isFlag?"\u6536\u8D77":"\u5C55\u5F00"}}},vh={};var cx=ve(lx,ax,ox,!1,ux,"35b01ec6",null,null);function ux(e){for(let t in vh)this[t]=vh[t]}const Ah=function(){return cx.exports}();var px=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:["bpmnnd-box",e.visible?"bpmnnd-box-active":""]},[i("processFlow",{staticStyle:{width:"70vw"},attrs:{request:e.request,"flow-list":e.formatFlow(e.curData)}})],1)},dx=[];const _T="",hx={components:{processFlow:Ah},inject:["request"],data(){return{visible:!1,curData:[],curName:"",commentMap:{assigneeComment:"\u53D8\u66F4\u5BA1\u6838\u4EBA",dispatchComment:"\u8C03\u5EA6",transferComment:"\u8F6C\u529E",delegateComment:"\u59D4\u6258",rollbackComment:"\u6307\u5B9A\u56DE\u9000\u6D41\u7A0B",terminateComment:"\u7EC8\u6B62\u610F\u89C1",addMultiInstanceComment:"\u52A0\u7B7E",deleteMultiInstanceComment:"\u51CF\u7B7E",withdrawComment:"\u64A4\u9500",recallComment:"\u64A4\u56DE",deleteProcessComment:"\u5220\u9664\u6D41\u7A0B",cancelProcessComment:"\u62D2\u7EDD",skipComment:"\u8DF3\u8FC7",comment:"\u5BA1\u6279\u610F\u89C1"}}},watch:{visible(e){e||this.$emit("close")}},methods:{formatFlow(e){let t=(e||[]).map(i=>({...i,attachmentsFujian:(i.attachments||[]).filter(n=>n.type!="signature"),attachmentsQianzi:(i.attachments||[]).filter(n=>n.type=="signature")}));return t=t.reverse(),Cd(t)},openDrawer(e,t){let i=t.filter(n=>n.historyActivityType=="userTask");this.curData=i.filter(n=>n.historyActivityId==e.id),this.curData,this.curName=this.curData.length?this.curData[0].historyActivityName:"",this.visible=!!(this.curData&&this.curData.length>0)},closeDrawer(){this.visible=!1}}},bh={};var fx=ve(hx,px,dx,!1,mx,"15b7ee40",null,null);function mx(e){for(let t in bh)this[t]=bh[t]}const gx=function(){return fx.exports}();var yx=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"container",staticClass:"bpmn-look",on:{wheel:e.handleWheel}},[i("bpmnNodeDetail",{ref:"bpmnNodeDetailRef",on:{close:e.closeDetail}})],1)},vx=[];const NT="",Ax={name:"bpmn-look",components:{bpmnNodeDetail:gx},props:{diagram:{type:String,default:"",required:!0},approvalData:{type:Array,default:()=>[]},isXml:{type:Boolean,default:!0}},data(){return{drawer:!1,isAdd:!1,viewer:null,loading:!0}},mounted(){this.initViewer(),this.$refs.container&&this.$refs.container.addEventListener("resize",this.canvasResize)},watch:{diagram:{async handler(e){let t=e;t&&this.isXml&&this.loadXml(t)},immediate:!0}},methods:{async getXml(e){let t={},i="";try{t=await api.repository.getXmlByProcessDefId({processDefId:e}),t.code==200&&(i=t.data)}catch(n){console.error(n)}return i},async initViewer(){this.viewer&&this.viewer.destroy();const e=Object.prototype.toString.call(In)=="[object Function]"?In:In.default,t=Object.prototype.toString.call(No)=="[object Object]"?No:No.default,i=Object.prototype.toString.call(Io)=="[object Object]"?Io:Io.default;this.viewer=new e({container:this.$refs.container,additionalModules:[t,i]}),this.viewer.on("import.done",({error:n})=>{n||(this.canvasResize(),this.addApprovalData(),this.enableTouchMove())}),this.viewer.on("element.click",n=>{n.type,n.element,n&&n.element&&(n.element.type||"").includes("UserTask")?(this.drawer=!0,this.$refs.bpmnNodeDetailRef.openDrawer(n.element,this.approvalData)):(this.drawer=!1,this.$refs.bpmnNodeDetailRef.closeDrawer(n.element,this.approvalData))})},closeDetail(){this.drawer,this.drawer=!1},canvasResize(){this.viewer&&this.viewer.get("canvas").zoom("fit-viewport","auto")},enableTouchMove(){const e=this.viewer.get("canvas"),t=e._svg,i=document.querySelector(".viewport"),n=document.querySelector(".djs-tooltip-container");let s=!1,r,a,o=0,l=0,p=0,h=0;t.addEventListener("touchstart",d=>{s=!0;const y=d.touches[0];r=y.clientX,a=y.clientY;const x=i.getAttribute("transform").match(/matrix\(([^)]+)\)/)[1].split(/\s*,\s*|\s+/);o=parseFloat(x[4]),l=parseFloat(x[5]);const M=this.getTransformMatrix(n.style.transform);this.isAdd?(p=parseFloat(M[4]),h=parseFloat(M[5])):(p=parseFloat(M[4])+30,h=parseFloat(M[5])+16,this.isAdd=!0)}),t.addEventListener("touchmove",d=>{if(!s)return;const y=d.touches[0],x=y.clientX-r,M=y.clientY-a;l!==void 0&&(i.setAttribute("transform",`matrix(0.679276 0 0 0.679276 ${o+x} ${l+M})`),n.setAttribute("style",`position: absolute; width: 0px; height: 0px; transform: matrix(0.615, 0, 0, 0.615, ${p+x}, ${h+M});`)),e._cachedViewbox&&(e._cachedViewbox.x=x,e._cachedViewbox.y=M),d.preventDefault()}),t.addEventListener("touchend",()=>{s=!1})},getTransformMatrix(e){if(!e||e==="none")return[1,0,0,1,0,0];const t=e.match(/matrix(3d)?\(([^)]+)\)/i);if(!t)return null;const i=t[2].split(/\s*,\s*|\s+/).map(parseFloat);return t[1]!=="3d"&&i.length===6||t[1]==="3d"&&i.length===16?i:null},setNodeColor(e){const t=this.viewer.get("canvas"),i=this.viewer.get("elementRegistry"),n=this.viewer.get("tooltips");e.forEach(s=>{if(s.id&&s.class&&t.addMarker(s.id,s.class),s.id&&s.tooltip){const r=i.get(s.id);if(r){let{x:a,y:o,type:l}=r;["bpmn:StartEvent","bpmn:EndEvent"].includes(l)?(a=a-45,o=o+65):["bpmn:UserTask"].includes(l)&&(a=a-10,o=o+90),n.add({position:{x:a,y:o},html:s.tooltip})}}})},addApprovalData(){if(!this.approvalData||this.approvalData.length==0)return;const e=nw(this.approvalData);e&&e.length>0&&this.setNodeColor(e)},async loadXml(e){this.viewer||await this.initViewer();try{const{warnings:t}=await this.viewer.importXML(e);t.length&&this.$emit("warning",t)}catch(t){this.$emit("error",{message:"XML \u52A0\u8F7D\u5931\u8D25",detail:t.message}),console.error("XML \u52A0\u8F7D\u5931\u8D25:",t)}}},beforeDestroy(){this.$refs.container&&this.$refs.container.removeEventListener("resize",this.canvasResize),this.viewer&&this.viewer.destroy()}},Ch={};var bx=ve(Ax,yx,vx,!1,Cx,"728e4284",null,null);function Cx(e){for(let t in Ch)this[t]=Ch[t]}const wh=function(){return bx.exports}(),wx={name:"TopTab",components:{processFlow:Ah,BpmnLook:wh,TopPopup:at,ViewAttchList:Ru,PreviewImage:Hs},props:{ProcessInsObj:{type:Object,default:()=>({})},processXml:{type:String,default:""},approvalData:{type:Array,default:()=>[]},tapList:{type:Array,default:()=>[]},selfTapList:{type:Array,default:()=>[]},track:{type:String,default:""},taskComment:{type:Array,default:()=>[]},trackList:{type:Array,default:()=>[]}},data(){return{trackUrl:"",taskCommentList:[],active:"",defaultTabList:[{label:"\u57FA\u672C\u4FE1\u606F",key:"a",type:"default",slot:"default"},{label:"\u6D41\u7A0B\u56FE",key:"b",type:"default",slot:"b"},{label:"\u5BA1\u6279\u8BB0\u5F55",key:"c",type:"default",slot:"c"}],isTapList:[{label:"\u57FA\u672C\u4FE1\u606F",key:"a",type:"default",slot:"default"},{label:"\u6D41\u7A0B\u56FE",key:"b",type:"default",slot:"b"},{label:"\u5BA1\u6279\u8BB0\u5F55",key:"c",type:"default",slot:"c"}],label:document.getElementsByClassName("tops-tab-header-items"),visible:!1,inList:[],visibleTack:!1,trackListss:[],signPreViewVisible:!1,signLists:[],indexd:0}},watch:{tapList:{handler(e,t){this.selfTapList.length||(this.isTapList=[].concat(this.defaultTabList),e.length>0&&e.forEach((i,n)=>{i.sort&&i.sort>1?this.isTapList.splice(i.sort-1,0,i):i.sort==1?this.isTapList.unshift(i):this.isTapList.push(i)}),this.active=this.isTapList[0].key)},immediate:!0,deep:!0},selfTapList:{handler(e,t){e.length&&(this.isTapList=[].concat(e),this.active=this.isTapList[0].key)},immediate:!0,deep:!0},track:{handler(e,t){e&&(this.trackUrl=e,window.location.protocol=="https:"&&(this.trackUrl=this.trackUrl.replace("http://59.53.91.230:8088/","https://kq.ddzg.cn:8093/"),this.trackUrl=this.trackUrl.replace("http://59.53.91.231:8088/","https://acme-test.ddzg.cn:2119/"),this.trackUrl=this.trackUrl.replace("http://121.40.143.183:80/","https://acme-aws.ddzg.cn/"),this.trackUrl=this.trackUrl.replace("http://121.40.143.183/","https://acme-aws.ddzg.cn/"),this.trackUrl=this.trackUrl.replace("http://acme-aws.ddzg.cn/","https://acme-aws.ddzg.cn/")))},immediate:!0,deep:!0},taskComment:{handler(e,t){e&&(this.taskCommentList=e)},immediate:!0,deep:!0},trackList:{handler(e,t){e&&(this.trackListss=e)},immediate:!0,deep:!0}},mounted(){this.tabAnimation(0)},methods:{formatFlow(e){let t=(e||[]).map(i=>({...i,attachmentsFujian:(i.attachments||[]).filter(n=>n.type!="signature"),attachmentsQianzi:(i.attachments||[]).filter(n=>n.type=="signature")}));return t=t.reverse(),t},handleActive(e,t){e!==this.active&&(this.active=e,this.tabAnimation(t))},tabAnimation(e){if(this.label.length){let t=document.getElementsByClassName("bottom-line")[0],i;if(t.offsetWidth<this.label[e].offsetWidth-10){let n=(this.label[e].offsetWidth-t.offsetWidth-10)/2;i=`${this.label[e].offsetLeft+n}px`}else if(t.offsetWidth>this.label[e].offsetWidth-10){let n=(t.offsetWidth-this.label[e].offsetWidth+10)/2;i=`${this.label[e].offsetLeft-n}px`}else i=`${this.label[e].offsetLeft}px`;t.style.transition=".3s",t.style.transform=`translateX(${i})`}},viewList(e){this.visible=!0,this.inList=e},viewSign(e,t){this.signLists=e.filter(i=>i.digitalSignature).map(i=>i.digitalSignature),this.indexd=this.signLists.findIndex(i=>i==t),this.signPreViewVisible=!0}}};var Ex=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"tops-tab"},[i("div",{staticClass:"tops-tab-header"},[e._l(e.isTapList,function(n,s){return[i("div",{staticClass:"tops-tab-header-items",class:[n.key===e.active?"active":""],on:{click:function(r){return e.handleActive(n.key,s)}}},[e._v(" "+e._s(n.label)+" ")])]}),e.isTapList.length?i("div",{staticClass:"bottom-line"}):e._e()],2),i("div",{staticClass:"tops-tab-body"},e._l(e.isTapList,function(n){return i("div",{directives:[{name:"show",rawName:"v-show",value:e.active===n.key,expression:"active === item.key"}],key:n.key,class:[n.key==="c"&&"tops-tab-body-taskcommentlist"],staticStyle:{height:"100%"}},[n.key==="a"&&n.type==="default"?e._t("default"):e._e(),e.active===n.key&&n.key==="b"&&n.type==="default"?i("div",{staticClass:"uph-tab-b",staticStyle:{height:"100%"},attrs:{name:n.slot}},[e.processXml?i("div",{staticStyle:{padding:"10px 20px",color:"#1389ff"},on:{click:function(){return e.visibleTack=!0}}},[e._v(" \u67E5\u770B\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F ")]):e._e(),n.key==="b"&&e.processXml?i("BpmnLook",{ref:"PreviewRef",refInFor:!0,attrs:{diagram:e.processXml,approvalData:e.approvalData}}):i("div",{staticClass:"textnone"},[e._v(" \u6682\u65E0\u6D41\u7A0B\u56FE ")])],1):e._e(),n.key==="c"&&n.type==="default"?i("div",{staticStyle:{height:"100%"}},[n.key==="c"&&e.ProcessInsObj.flow?i("processFlow",{attrs:{request:e.ProcessInsObj.request,"flow-list":e.formatFlow(e.ProcessInsObj.flow)},on:{view:e.viewList}}):i("div",{staticClass:"textnone"},[e._v("\u6682\u65E0\u6570\u636E")])],1):e._e(),n.type=="slot"?e._t(n.slot):e._e()],2)}),0),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9644\u4EF6\u5217\u8868",isDrawer:"",isIndex:5},on:{"update:visible":function(n){return e.visible=n}}},[i("ViewAttchList",{attrs:{inList:e.inList}})],1),i("PreviewImage",{attrs:{images:e.signLists,visible:e.signPreViewVisible,indexd:e.indexd},on:{"update:visible":function(n){return e.signPreViewVisible=n}}}),i("TopPopup",{ref:"TopPopups",attrs:{visible:e.visibleTack,titleText:"\u6D41\u7A0B\u4FE1\u606F",isDrawer:"",width:"60vw"},on:{"update:visible":function(n){return e.visibleTack=n}}},[e.trackListss&&e.trackListss.length?e._l(e.trackListss,function(n,s){return i("div",{key:n.id,staticClass:"seal-list__item"},[i("div",[i("div",{staticClass:"seal-list__item--option"},[i("span",[e._v("\u5E8F\u53F7")]),i("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(s+1))])]),i("div",{staticClass:"seal-list__item--option"},[i("span",[e._v("\u8282\u70B9\u540D\u79F0")]),i("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(n.historyActivityName))])]),i("div",{staticClass:"seal-list__item--option"},[i("span",[e._v("\u5BA1\u6279\u4EBA")]),i("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(n.assigneeName))])])])])}):e._e()],2)],1)},xx=[];const kT="",Eh={};var Ix=ve(wx,Ex,xx,!1,Tx,"8ff4442e",null,null);function Tx(e){for(let t in Eh)this[t]=Eh[t]}const _x=function(){return Ix.exports}(),Nx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACfVJREFUeF7tnT2S1FYYRaUCYgJ2wArYgRMIYQPGMVUQt8bDAoDRxFBFbLwBE5qEHbACdkBAbCi5HjxgGKbn6b7Wz9O7h9B8avV3rk7J6r7VtA1/IACBvQRa2EAAAvsJIAhXBwQuIYAgXB4QQBCuAQjkEeAOkseNo0wIIIhJ0KyZRwBB8rhxlAkBBDEJmjXzCCBIHjeOMiGAICZBs2YeAQTJ48ZRJgQQxCRo1swjgCB53DjKhACCmATNmnkEECSPG0eZEEAQk6BZM48AguRx4ygTAghiEjRr5hFAkDxuHGVCAEFMgmbNPAIIkseNo0wIIIhJ0KyZRwBB8rhxlAkBBDEJmjXzCCBIHjeOMiGAICZBs2YeAQTJ48ZRJgQQxCRo1swjgCB53DjKhACCmATNmnkEECSPG0eZEEAQk6BZM48AguRx4ygTAghiEjRr5hFAkDxuHGVCAEFMgmbNPAIIkseNo0wIIIhJ0KyZRwBB8rhxlAkBBDEJmjXzCCBIHjeOMiGAICZBs2YeAQTJ48ZRJgQQxCRo1swjgCB53DjKhACCmATNmnkEECSPG0eZEPhFkL7vnzZN86fJ/qwJgbMEnnVdd3z2P1x4Bzk9PX0+DMND2EHAhUDbti92u92j8/vu/V+svu//aprmvgsg9rQm8Krruj8uInDpM0jf9/80TXPXGh3L107gddd19/YteakgL1++vPbx48d/m6b5rXZK7GdJ4O3169fvPHjw4L8sQcJBT548uXH16tU3TdPcskTI0rUSePfp06fbjx8//nDZgqM+5n369OnNK1euhDvJzVppsZcVgfefP3++c3x8/D619ShBwov0fX9rGIY3bdveSL0ofw+BUgkMw/ChbdvbXde9G/MeRwsSJQnPIuFOcm3MizMDgcIIhGeNO13XvR37viRBwouenp7eHYYhfLrFHwhsikDbtvd2u91r5U3LgoQXPzk5+b1t21fKiZiFwJoEhmG4f3R09Lf6HrIEiZI8b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QhAUfkyo69e3ogo5GAY+yCRt9WAsgoJEtrV621a6ehfbi/XV451aasMYEyQEYgMWa85hg41qQU8E0pIJMiAUfA4q+9shyQyZCAY+2mBn1XEsgkSMARtPRbri0LJDkScGzZ0sBvSwNJigQcgQu/9eryQJIhAcfWDQ3+XgJIEiTgCF52y/UyQIKRgMOynQnOSAEJQgKOBItufYIckMFIwGHdzCTnJIEMQgKOJEu+5xmyQJyRgGPPViY6Kw3ECQk4Ei343qfIA+mMBBx7NzLZeYD8N5AO/7EoOJItd4/nAOQkxR1IwNFjGxPWAMj/hmJAAo6Ei93rSQA5k+QGJODotYlJ6wDkicGsQAKOpEvd81kAuZDmBSTg6LmFiWsB5JnhnEECjsQL3ftpAFmR6AmSa/5pnhWBFfoEICuHeUTy+Wb5svJzPiuSAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBL4Csq/cvbKQGitAAAAAElFTkSuQmCC",Sx={name:"TopDownSelect",props:{option:{type:Array,default:[]},optionStyle:{type:String,default:""},maskShow:{type:Boolean,default:!0},border:{type:Boolean,default:!1},defaultValue:{type:String,default:""},placeholder:{type:String,default:"\u8BF7\u9009\u62E9"},isSlots:{type:Boolean,default:!1},disibled:{type:Boolean,default:!1}},data(){return{value:{id:"",text:""},lists:[],expand:!1,active:"",activeItem:{name:""}}},watch:{option:{handler(e,t){e&&e.length&&(this.lists=e)},immediate:!0,deep:!0},defaultValue:{immediate:!0,deep:!0,handler(e,t){this.active=e;let n=JSON.parse(JSON.stringify(this.option)).filter((s,r)=>s.id==e);this.activeItem=n[0],this.activeItem&&this.$emit("change",this.activeItem)}}},computed:{arrow(){return Nx},check(){return kx}},methods:{handleExpand(){this.disibled||(this.expand?this.expand=!1:this.expand=!0)},handleClick(e,t){this.active!=e.id&&(this.active=e.id,this.activeItem=e,this.expand=!1,this.$emit("change",this.activeItem,this.lists))},handleClose(){this.expand=!1,this.active="",this.activeItem={name:""}}}};var Px=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"top-select"},[e.isSlots?i("div",{staticStyle:{position:"relative","z-index":"80"}},[e._t("header",null,{data:Object.assign({},e.activeItem,{placeholder:e.placeholder})})],2):i("div",{staticClass:"top-select-menu",class:[e.border&&"top-select-menu-border",!e.activeItem&&"top-select-menu-placeholder"],on:{click:e.handleExpand}},[e._v(" "+e._s(e.activeItem?e.activeItem.name:e.placeholder)+" "),e.disibled?e._e():i("img",{staticClass:"top-select-menu--arrow",class:[e.expand?"arrow-active":""],attrs:{src:e.arrow}})]),e.maskShow?i("div",{staticClass:"top-select-option-mask",style:e.expand?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"}):e._e(),e.lists&&e.lists.length?i("div",{staticClass:"top-select-option",class:[e.border&&"top-select-option-border"],style:`${e.expand?"transform: translateY(2%);visibility: visible; opacity: 1;":"transform: translateY(-50%);visibility: hidden; opacity: 0"};${e.optionStyle?e.optionStyle:""}`},e._l(e.lists,function(n,s){return i("div",{key:n.id,staticClass:"option-items",class:[e.active==n.id?"option-items-active":""],on:{click:function(r){return e.handleClick(n,s)}}},[e._v(" "+e._s(n.name)+" "),e.active==n.id?i("img",{staticClass:"option-items-check",attrs:{src:e.check}}):e._e()])}),0):e._e()])},Dx=[];const ST="",xh={};var Ox=ve(Sx,Px,Dx,!1,Mx,"a791e974",null,null);function Mx(e){for(let t in xh)this[t]=xh[t]}const Ih=function(){return Ox.exports}(),Bx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADGdJREFUeF7tnVFSHDkMhuVhD7AV9j1wksBJApeA5YnwlJBLQE4COUl63zOpHGAZb3l2mpqQGWYsS7as/qna2oe0ZeuXvpHd7W4Hwh8UgAJbFQjQBgpAge0KABBkBxR4RQEAgvSAAgAEOQAFeAqggvB0Q6uJKABAJhJouMlTAIDwdEOriSgAQCYSaLjJUwCA8HRDq4koAEAmEmi4yVMAgPB0Q6uJKNAdIH9+jEezGb0PkY5oRkeU/k/L/4ZlzAINtKAhBhpmC/r6/So8TiSWcFNBgS4AOfwcz2Kkt4HoA0ODgSI9hkhfAAtDvYk3MQ3IXx/jSZzR3apClIcq0v1TpJufV+H/aoM/KLBDAZOApGnUwQHdUaQThQgOkej+x2W4UbANk84UMAfIqmo8VNB5eFrQKapJBaU77sIUIG9u4zVzncENwUCBbuYX4Z5rAO18K2AGkMPP8UFpSrUrgphy7VJowv9uApAGleNlyIewoHPc5ZowCVtcbw5IxTXHruhjTbJLoQn+e1NADMExhn6YX4bjCeYBXLZYQRquO7YnRKBzLNrBy6hAswpisHqgioCL3xRoBojJ6rGSJxJ9wINE0JIUaAJI2ltFcbmFxOof1iJWI1N5XG0A+RTvKNBZZV+zugsLOsVt3yzJXF7cBpDb+E1sA6JWWCLdz/8O51rmYbcPBaoD0sH0Cov1PnK3yiirA2LgqfnewmKatbdUbi+sDshhB+uP53vgWIe4Tfx9HQMgrymFh4b75pHb6+oD0sMCHc9D3CZ8rmMA5BXF8MAwN538XQ9AAIi/rBb0qD4g7V6MypYNFSRbMncNAAgW6e6SWtKh6oDgOYhk+GBLW4HqgBje5v6b1vPLUF0f7YDDfp4C1RNg+c2rGaW9WLb/sBfLdnwqja46IMkvy++CPOsOQCqloO1uWgFi/X0QelrQMT4qZzt5a4yuCSD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jQYmAUFAIiFKGAMZhUAIGZDg4FZUOA/PPf9I/jtWsEAAAAASUVORK5CYII=";var Rx=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("TopPopup",{ref:"TopPopupFixedPerson",attrs:{visible:e.showFixedPerson,titleText:"\u9009\u62E9\u4EBA\u5458("+e.fixedPersonList.length+"\u4EBA)",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u786E\u5B9A",comfig:e.handleSumbitFixedPerson},on:{"update:visible":e.updateVisible}},[i("div",{staticClass:"s-tree"},e._l([].concat(e.fixedPersonList),function(n){return i("div",{key:n.userId,staticClass:"s-node",on:{click:function(s){return e.handleClickFixedPerson(n)}}},[e.mySelectIds.includes(n.userId)?i("div",{staticClass:"radio-select"},[i("svg",{staticClass:"icon",attrs:{t:"1758260488735",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7527",width:"18",height:"18"}},[i("path",{attrs:{d:"M512 0a512 512 0 1 0 512 512A512 512 0 0 0 512 0z m314.916571 369.371429l-354.304 349.184a46.409143 46.409143 0 0 1-64.987428 0l-212.955429-209.883429a44.763429 44.763429 0 0 1 0-64 46.336 46.336 0 0 1 64.987429 0l180.443428 177.810286 321.828572-317.184a46.482286 46.482286 0 0 1 64.987428 0 44.836571 44.836571 0 0 1-0.036571 64.073143z",fill:"#409eff","p-id":"7528"}})])]):i("div",{staticClass:"radio-select-not"},[i("svg",{staticClass:"icon",attrs:{t:"1758260589679",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8704",width:"18",height:"18"}},[i("path",{attrs:{d:"M150.144 150.144C250.24 50.048 370.88 0 512 0s261.76 50.048 361.856 150.144S1024 370.88 1024 512s-50.048 261.76-150.144 361.856S653.12 1024 512 1024s-261.76-50.048-361.856-150.144S0 653.12 0 512s50.048-261.76 150.144-361.856zM64 512c0 124.16 43.328 228.48 131.392 316.608C283.52 916.672 387.84 960 512 960s228.48-43.328 316.608-131.392C916.672 740.48 960 636.16 960 512s-43.328-228.48-131.392-316.608C740.48 107.328 636.16 64 512 64s-228.48 43.328-316.608 131.392C107.328 283.52 64 387.84 64 512z",fill:"#b5bbc1","p-id":"8705"}})])]),n.avatar?i("img",{staticClass:"node-avatar",attrs:{src:n.avatar,alt:"\u5934\u50CF"}}):i("div",{staticClass:"node-avatar-text"},[e._v(" "+e._s((n.realName||"").slice(-2))+" ")]),i("div",{staticClass:"node-name"},[i("div",{staticClass:"node-name-text"},[e._v(e._s(n.realName))]),i("div",{staticClass:"node-name-phone"},[e._v(e._s(n.phonenumber))])])])}),0)])},Lx=[];const PT="",Fx={name:"selectFixedPerson",components:{TopPopup:at},props:{multiple:{},visible:{type:Boolean,default:!1},list:{type:Array,default(){return[]}},select:{type:Array,default(){return[]}},multiple:{type:Boolean,default:!1}},data(){return{showFixedPerson:!1,fixedPersonList:[],mySelect:[],mySelectIds:[]}},watch:{visible:{handler(e,t){this.showFixedPerson=e,e?(this.fixedPersonList=this.list||[],this.mySelect=this.select||[],this.mySelectIds=this.mySelect.map(i=>i.userId)):(this.fixedPersonList=[],this.mySelect=[],this.mySelectIds=[])},immediate:!0},fixedPersonList:{handler(e,t){e&&e.length>0&&JSON.stringify(e)!==JSON.stringify(this.list)&&this.$emit("updateList",e)},immediate:!0,deep:!0}},methods:{updateVisible(e){this.$emit("updateVisible",e)},handleClickFixedPerson(e){const t=this.select.find(i=>i.userId===e.userId);this.multiple||(this.mySelect=[],this.mySelectIds=[]),t?(this.mySelect=this.select.filter(i=>i.userId!==e.userId),this.mySelectIds=this.mySelect.map(i=>i.userId)):(this.mySelect.push(e),this.mySelectIds.push(e.userId)),this.$emit("updateSelect",this.mySelect)},handleSumbitFixedPerson(){this.$emit("confirm",this.mySelect)}}},Th={};var Vx=ve(Fx,Rx,Lx,!1,jx,"4e0e3ca1",null,null);function jx(e){for(let t in Th)this[t]=Th[t]}const _h=function(){return Vx.exports}(),Ux={name:"TopSubmitPopup",components:{SelectFixedPerson:_h,BpmnLook:wh,TopPopup:at,TopDownSelect:Ih,PreviewImage:Hs,departPerson:Ht.departPerson,TopTips:Nt},props:{isCheckType:{type:String,default:"0"},visible:{type:Boolean,default:!1},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{},upload:()=>{}})},appId:{type:String,default:""},processName:{type:String,default:""},resubmit:{type:Boolean,default:!1},id:{type:String,default:""},businessType:{type:[String,Number]},businessDeptId:{type:[String,Number]},businessSubjectId:{type:[String,Number]},todoParameter:{type:Object,default(){return{}}},isClearHistory:{type:Boolean,default:!1},title:{type:String,default:"\u6D4B\u8BD5"},showType:{type:String,default:"all"},beforeFunction:{type:Function,default:null},manual:{type:Boolean,default:!1},selfList:{type:Array,default:()=>[]},isOrgType:{type:Array,default:()=>[0]},isCodeType:{type:Array,default:()=>[3]},extraParams:{type:Object,default:()=>{}},isSelectFirst:{type:Boolean,default:!0},showFlowForecast:{default:!1,type:Boolean},flowForecastFunction:{type:Function,default:null}},data(){return{currentClickItem:{},fixedSelect:{},showFixedPerson:!1,fixedPersonList:[],approvalData:[],processXml:"",showFlow:!1,showFirstPerson:!1,selectDeptData:{},showDept:!1,deptList:[],show:!1,option:[],checkedItem:{},personList:[],checkedArray:[],trackUrl:[],taskurlshow:!1,isStyle:"width:35%",visiblePerson:!1,entity:{source:"0",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:!1,checkedArray:[]},multiNodeParticipant:{},personListCopy:{},partNode:{},personObjId:"",processId:"",textTips:"",statusTips:!1,typeTips:"success",firstPerson:[],selectDefaultValue:"",businessTypeData:"",businessDeptIdData:"",idData:"",processNameData:"",titleData:"",todoParameterData:{},humanPerformerName:"",btnLoading:!1,flowForecastVisible:!1,flowForecastData:{completeTime:"",processBudgetModelList:[]},flowForecastProcessInstId:""}},watch:{visible:{async handler(e,t){this.show=e,this.$emit("update:visible",this.show),e?(this.selectDefaultValue="",this.handleOption()):this.$refs.TopDownSelect.handleClose()}},show:{handler(e,t){e||this.$refs.TopDownSelect.handleClose()}},businessType:{handler(e,t){this.businessTypeData=e},immediate:!0},businessDeptId:{handler(e,t){e&&(this.businessDeptIdData=e)},immediate:!0},extraParams:{handler(e,t){e&&e.businessDeptId&&(console.error(e.businessDeptId,"\u4E1A\u52A1\u90E8\u95E8id\u66F4\u65B0\u5230extraParams.businessDeptId\u4E2D\uFF0C\u8BF7\u68C0\u67E5\u662F\u5426\u9700\u8981\u66F4\u65B0\u5230\u6B64\u5904"),this.businessDeptIdData=e.businessDeptId)},immediate:!0,deep:!0},id:{handler(e,t){e&&(this.idData=e,this.resubmit&&this.getProcessInstance())},immediate:!0},processName:{handler(e,t){this.processNameData=e},immediate:!0},title:{handler(e,t){this.titleData=e},immediate:!0},todoParameter:{handler(e,t){this.todoParameterData=e},immediate:!0,deep:!0},selfList:{handler(e,t){e&&e.length&&(this.option=e,this.checkedItem=this.option[0],this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id))},immediate:!0,deep:!0},resubmit:{handler(e,t){e&&this.getProcessInstance()}}},computed:{ProcessImg(){return Bx}},methods:{getXmlByProcessDefId(e){this.request.get("/bladex/blade-workflow/process/getXmlByProcessDefId",{params:{processDefId:e}}).then(t=>{t.code==200&&(this.processXml=t.data)})},handleFlowSelect(){this.showFlow=!0},handleSumbitFlow(){this.showFlow=!1},handleDeptSelect(){this.showDept=!0},handleSumbitDept(){},async handleClickDept(e){this.businessDeptIdData=e.id,this.showDept=!1,this.selectDeptData=e,await this.getUserDataByDeptId(),this.showFirstPerson=!0,this.handleTips("",!1,"success")},handleSelect(){this.$refs.TopDownSelect.handleExpand()},async getTaskModelDetail(){this.request.get("/bladex/blade-workflow/tis/getTaskModelDetail",{params:this.taskId?{processInstId:this.extraParams.processId||this.extraParams.processInstId,taskId:this.taskId}:{processInstId:this.extraParams.processId||this.extraParams.processInstId}}).then(e=>{if(e.code==200){this.handleTips("",!1,"success");let t=(e.data||{}).process||{};this.checkedItem={id:t.processDefinitionId,key:t.processDefinitionKey,name:t.processDefinitionName,version:t.processDefinitionVersion},this.option=[this.checkedItem],this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id),this.businessDeptIdData||this.getNodeUserDept()}})},async handleOption(){if(this.checkedItem={},this.firstPerson=[],this.personList=[],this.selfList&&this.selfList.length)return;this.handleTips("",!0,"loading");let e={businessCode:this.businessType,appId:this.appId,subjectId:this.businessSubjectId,processGroupName:this.processNameData,...this.extraParams};if(this.processNameData&&delete e.processGroupName,this.extraParams.processId||this.extraParams.processInstId){this.getTaskModelDetail();return}await this.request.post("/bladex/blade-workflow/repository/getProcessDefList",e).then(t=>{t.code==200&&(this.option=t.data,t.data&&t.data.length?(this.handleTips("",!1,"success"),(this.isSelectFirst||t.data.length==1)&&(this.checkedItem=this.option[0],this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id))):(this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F",!0,"error"),this.option=[]),this.businessDeptIdData||this.getNodeUserDept())})},async getProcessInstance(){},async getNodeUserDept(){let e={};try{e=await this.request.get("/auth/dept/list/user/dept/selectTree")}catch(t){}this.deptList=e.data||[]},async getNodeUser({deptId:e,intersection:t,userIds:i,postIds:n,deptIds:s}){return await this.request.post("/auth/user/getTaskAuditor",{deptId:e,intersection:t,userIds:i,postIds:n,deptIds:s})},getUserDataByDeptId(){this.firstPerson.map(async(e,t)=>{const i=bd(e);let n;try{n=await this.getNodeUser({deptId:this.businessDeptIdData,intersection:(i.intersection,0),userIds:i.userIds,postIds:i.postIds,deptIds:i.deptIds})}catch(s){}if(n.code==200){const s=this.firstPerson[t];s.userList=n.data,this.$set(this.firstPerson,t,s)}})},async handlefirstNode(e){e&&(this.handleTips("",!0,"loading"),await this.request.get("/bladex/blade-workflow/repository/getAllProcessNode",{params:{processDefId:e}}).then(async t=>{if(t.code===200){if(this.firstPerson=t.data,await this.getNodeUserDept(),!this.businessDeptIdData){this.handleTips("",!1,"success");return}if(await this.getUserDataByDeptId(),this.showFirstPerson=!0,this.handleTips("",!1,"success"),Date.now())return;t.data.map(i=>{{let n={taskDefId:i.id,postIds:[]};i.routeTxt.postList.map(s=>{n.postIds.push(s.postId)}),this.request.post("/auth/user/getTaskAuditor",{deptId:this.businessDeptIdData,taskPostIds:[n]}).then(s=>{let r=[],a=[],o=!1;s.data.map(p=>{p.posts.map(h=>{a.push(...h.users),h.users.length==1?r.push(...h.users):o=!0})}),r.length>i.loopCardinality&&i.loopCardinality>0&&(o=!0),o&&(r=[]);let l=[];s.data[0].posts.map(p=>{l.push({...p,projectPost:!this.businessDeptIdData,id:p.users.map(h=>h.id),subjectId:p.subjectId})}),a.length==0&&this.$set(i,"noPersonnel",!0),r.length>0&&(this.personObjId=i.id,this.humanPerformerName=i.humanPerformerName,this.$set(i,"noPersonnel",!0),this.handleCallback(r)),i.positionArray=l})}}),this.getAfferentParticipantNodeList()}else this.firstPerson=[],this.getAfferentParticipantNodeList()}).catch(t=>{this.firstPerson=[],this.getAfferentParticipantNodeList()}))},async handleChange(e,t){this.selectDefaultValue!=e.id&&(this.handleTips("",!0,"loading"),this.checkedItem={},this.selectDefaultValue="",this.firstPerson=[],this.personList=[],this.checkedItem=e,this.selectDefaultValue=this.checkedItem.id,this.handlefirstNode(this.checkedItem.id),this.getXmlByProcessDefId(this.checkedItem.id),this.$emit("change",e,t))},async getAfferentParticipantNodeList(){await this.request.get("/aws/repository/getAfferentParticipantNodeList",{params:{processDefId:this.checkedItem.id}}).then(e=>{e.code==200&&(this.firstPerson&&this.firstPerson.length&&(e.data.map(t=>{if(t.humanPerformerName==="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let i={taskDefId:t.id,postIds:[]};t.routeTxt.postList.map(n=>{i.postIds.push(n.postId)}),this.request.post("/auth/user/getTaskAuditor",{deptId:this.businessDeptIdData,taskPostIds:[i]}).then(n=>{let s=[],r=[],a=!1;n.data.map(l=>{l.posts.map(p=>{r.push(...p.users),p.users.length==1?s.push(...p.users):a=!0})}),s.length>t.loopCardinality&&t.loopCardinality>0&&(a=!0),a&&(s=[]);let o=[];n.data[0].posts.map(l=>{o.push({...l,projectPost:!(this.param.taskNode&&this.param.taskNode[0].vars&&this.param.taskNode[0].vars._businessDeptId),id:l.users.map(p=>p.id),subjectId:l.subjectId})}),r.length==0&&this.$set(t,"noPersonnel",!0),s.length>0&&(this.personObjId=t.id,this.humanPerformerName=t.humanPerformerName,this.$set(t,"noPersonnel",!0),this.handleCallback(s)),t.positionArray=o})}}),this.personList=e.data.filter(t=>!this.firstPerson.some(i=>i.id==t.id))),this.$emit("change",this.checkedItem,this.option)),this.$refs.topTips.handleClose()})},getDiagramUrl(){this.request.get("/aws/repository/getDiagramUrl",{params:{processDefId:this.checkedItem.id,diagramType:1,type:"pc"}}).then(e=>{e.code==200&&(this.trackUrl=[e.data])})},handleOpenFixedPerson(e){this.currentClickItem=e,this.personObjId=e.id,this.showFixedPerson=!0,this.fixedPersonList=e.userList||[]},updateFixedPersonVisible(e){this.showFixedPerson=e},updateFixedSelect(e){},handleSumbitFixedPerson(e){this.$set(this.fixedSelect,this.personObjId,e),this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.personObjId].push(t.userId),this.partNode[this.personObjId].push(t.realName)}),this.showFixedPerson=!1},handleClickFixedPerson(e){this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.personObjId].push(t.userId),this.partNode[this.personObjId].push(t.realName)}),this.showFixedPerson=!1},handleOpenPerson(e){if(this.visiblePerson=!0,this.personObjId=e.id,this.humanPerformerName=e.humanPerformerName,e.humanPerformerName==="\u4EFB\u610F\u6307\u5B9A")this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:[]},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(t=>({id:t.id,subjectId:t.subjectId,type:t.type,deptId:this.handleLastStr(t.ancestors,t.subjectId)})):this.entity.checkedArray=[];else if(e.humanPerformerName==="\u56FA\u5B9A\u90E8\u95E8"){let t,i=[];e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length>1?(e.routeTxt.departmentIds.forEach((n,s)=>{i.push(n.rangeId)}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCodeArray:i,multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1}):e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length==1&&(e.routeTxt.departmentIds.forEach((n,s)=>{t=n.rangeId}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCode:t,multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(n=>({id:n.id,subjectId:n.subjectId,type:n.type,deptId:t})):this.entity.checkedArray=[]}else if(e.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"){let t;e.routeTxt.companyIds.map((i,n)=>{t=i.name}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:t},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(i=>({id:i.id,subjectId:i.subjectId,type:i.type,deptId:this.handleLastStr(i.ancestors,i.subjectId),subjectName:i.ancestorNames.slice(0,i.ancestorNames.indexOf("/"))})):this.entity.checkedArray=[]}else e.humanPerformerName==="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"?(this.entity={source:"1",type:this.isCheckType||"0",orgType:[5],request:this.request,codeType:[8],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,positionArray:e.positionArray},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(t=>({id:t.id,subjectId:t.subjectId,type:t.type,deptId:this.handleLastStr(t.ancestors,t.subjectId),subjectName:t.ancestorNames.slice(0,t.ancestorNames.indexOf("/"))})):this.entity.checkedArray=[]):(this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:[]},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(t=>({id:t.id,subjectId:t.subjectId,type:t.type,deptId:this.handleLastStr(t.ancestors,t.subjectId)})):this.entity.checkedArray=[])},handleCallback(e){this.personListCopy[this.personObjId]=e,this.entity.checkedArray=e.map(t=>({id:t.id,subjectId:t.subjectId,type:t.type,deptId:this.handleLastStr(t.ancestors,t.subjectId),subjectName:this.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"?t.ancestorNames.slice(0,t.ancestorNames.indexOf("/")):""})),this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.personObjId].push(t.id),this.partNode[this.personObjId].push(t.name)}),this.visiblePerson=!1},handleCancel(){},handleLastStr(e,t){if(!!e)return e.split(",")[e.split(",").length-1]!==t?e.split(",")[e.split(",").length-1]:""},async handleSumbit(){if(!this.btnLoading){if(this.btnLoading=!0,!this.isSelectFirst&&!this.checkedItem.id){this.handleTips("\u8BF7\u5148\u9009\u62E9\u6D41\u7A0B",!0,"error"),this.btnLoading=!1;return}if(!this.isSelectFirst&&!this.businessDeptIdData){this.handleTips("\u8BF7\u5148\u9009\u62E9\u90E8\u95E8",!0,"error"),this.btnLoading=!1;return}if(this.firstPerson&&this.firstPerson.length&&!this.firstPerson[0].routeTxt.userNames&&(!this.multiNodeParticipant[this.firstPerson[0].id]||!this.multiNodeParticipant[this.firstPerson[0].id].length)){this.handleTips(`${this.firstPerson[0].name}\u8282\u70B9\u672A\u9009\u62E9\u5BA1\u6279\u4EBA`,!0,"error"),this.btnLoading=!1;return}this.beforeFunction&&(await this.beforeFunction(),this.manual&&(this.btnLoading=!1)),this.manual||this.$nextTick(async()=>{await this.handleSongshen()})}},handleSongshen(){if(this.btnLoading=!0,this.resubmit)this.handleTips("",!0,"loading"),this.request.post("/bladex/blade-workflow/pis/reactivate",{processDefId:this.checkedItem.id,isClearHistory:this.isClearHistory,reactivateReason:"\u91CD\u65B0\u63D0\u4EA4",multiNodeParticipant:this.multiNodeParticipant,firstNodeId:this.firstPerson&&this.firstPerson.length>0?this.firstPerson[0].id:"",processInstId:this.extraParams.processInstId,vars:{businessType:this.businessType,deptId:this.businessDeptIdData,reactivate:!0,showType:"all",subjectId:this.businessSubjectId,...this.extraParams,_businessDeptId:this.businessDeptIdData}}).then(e=>{e.code==200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):(this.handleTips(e.msg,!0,"error"),this.btnLoading=!1)}).catch(e=>{this.handleTips(e.msg,!0,"error"),this.btnLoading=!1});else{this.handleTips("",!0,"loading");let e={processDefId:this.checkedItem.id,multiNodeParticipant:this.multiNodeParticipant,firstNodeId:this.firstPerson&&this.firstPerson.length>0?this.firstPerson[0].id:"",vars:{processBusinessKey:this.id||this.extraParams.businessKey,showType:"all",subjectId:this.businessSubjectId,deptId:this.businessDeptIdData,businessType:this.businessType,name:this.extraParams.name,title:this.title||this.extraParams.title,applyUserId:this.extraParams.applyUserId}};if(!this.checkedItem.id){this.$refs.topTips.handleClose(),this.btnLoading=!1;return}this.request.post("/bladex/blade-workflow/pis/createAndStart",e).then(t=>{t.code===200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):t.code==499?this.request.post("/bladex/blade-workflow/pis/reactivate",{processInstId:this.processId,isClearHistory:this.isClearHistory,reactivateReason:"\u91CD\u65B0\u63D0\u4EA4",multiNodeParticipant:this.multiNodeParticipant}).then(i=>{i.code==200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):(this.handleTips(i.msg,!0,"error"),this.btnLoading=!1)}).catch(i=>{this.handleTips(i.msg,!0,"error"),this.btnLoading=!1}):(this.handleTips(t.msg,!0,"error"),this.btnLoading=!1)}).catch(t=>{this.handleTips(t.msg,!0,"error"),this.btnLoading=!1})}},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips&&this.$refs.topTips.handleOpen()},viewFlowForecast(){this.flowForecastFunction?this.flowForecastFunction():this.forecast({appId:this.appId,title:"1"})},forecast(e){this.request.post("/aws/pis/getProcessForecast",{processDefId:this.checkedItem.id,...e}).then(t=>{t.code==200?(t.data&&t.data.processBudgetModelList&&t.data.processBudgetModelList.length?this.flowForecastProcessInstId=t.data.processBudgetModelList[0].processInstId:(t.data.processBudgetModelList=[],this.flowForecastProcessInstId=""),this.flowForecastData=t.data,this.flowForecastVisible=!0):this.handleTips(t.msg,!0,"error")}).catch(t=>{this.btnLoading=!1,this.handleTips("\u6D41\u7A0B\u9884\u6D4B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",!0,"error")})},flowForecastClose(){this.flowForecastProcessInstId?this.request.get("/aws/pis/deleteProcessById",{params:{processInstId:this.flowForecastProcessInstId}}).then(e=>{e.code==200&&(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]},this.flowForecastProcessInstId="")}):(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]})}}};var Qx=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"sumbmitPopup-index-sumbit"},[i("div",{staticClass:"top-popup"}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.show,titleText:"\u9001\u5BA1",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u9001\u5BA1",comfig:e.handleSumbit},on:{"update:visible":function(n){return e.show=n,e.$emit("update:visible",n)}}},[i("TopDownSelect",{ref:"TopDownSelect",attrs:{isSlots:"",option:e.option,defaultValue:e.selectDefaultValue,disibled:!1},on:{change:e.handleChange},scopedSlots:e._u([{key:"header",fn:function(n){return[i("div",{staticClass:"sumbmitPopup-select"},[i("div",{staticClass:"sumbmitPopup-select-checked",on:{click:e.handleSelect}},[i("div",{staticClass:"sumbmitPopup-select-checked-title"},[e._v("\u5F53\u524D\u6D41\u7A0B")]),i("div",{staticClass:"sumbmitPopup-select-checked-node",class:""},[e._v(" "+e._s(n.data.name?n.data.name:n.data.placeholder)+" ")])]),e.businessDeptIdData?e._e():i("div",{staticClass:"sumbmitPopup-select-checked",on:{click:e.handleDeptSelect}},[i("div",{staticClass:"sumbmitPopup-select-checked-title"},[e._v("\u9009\u62E9\u90E8\u95E8")]),i("div",{staticClass:"sumbmitPopup-select-checked-node",class:""},[e._v(" "+e._s(e.selectDeptData.label?e.selectDeptData.label:"\u8BF7\u9009\u62E9")+" ")])]),i("div",{staticClass:"sumbmitPopup-select-viewTrack",staticStyle:{display:"flex"}},[e.checkedItem.id?i("div",{staticClass:"viewTrack",on:{click:e.handleFlowSelect}},[i("img",{attrs:{src:e.ProcessImg}}),e._v(" \u67E5\u770B\u6D41\u7A0B\u56FE ")]):e._e(),e.checkedItem.id&&e.showFlowForecast?i("div",{staticClass:"viewTrack",on:{click:e.viewFlowForecast}},[e._v(" \u6D41\u7A0B\u9884\u6D4B ")]):e._e()])])]}}])}),e.showFirstPerson&&e.firstPerson&&e.firstPerson.length?i("div",{staticClass:"person-views"},[i("div",{staticClass:"person-views-title"},[e._v("\u4E0B\u4E00\u6B65\u5904\u7406\u8282\u70B9")]),e._l(e.firstPerson,function(n,s){var r;return i("div",{key:s,staticClass:"views-items"},[i("div",{staticClass:"views-items-label"},[i("div",{staticClass:"views-items-name"},[i("div",{staticClass:"views-items-name-left"},[e._v(" "+e._s(n.name)+" "),s==0?i("span",{staticClass:"views-items-name--re"},[e._v("*")]):e._e()])]),i("div",{staticClass:"views-items-set"},[e.partNode[n.id]&&e.partNode[n.id].length?i("div",[e._l(e.partNode[n.id],function(a,o){return i("span",{key:o},[e._v(" "+e._s(o>=3?"":o==0?a:`,${a}`)+" ")])}),e.partNode[n.id].length>3?i("span",[e._v("...\u7B49"+e._s(e.partNode[n.id].length)+"\u4EBA")]):e._e()],2):n.routeTxt&&n.routeTxt.userNames?i("div",[e._v(" "+e._s(n.routeTxt.userNames)+" ")]):e._e(),n.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||n.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"||((r=e.partNode[n.id])===null||r===void 0?void 0:r.length)>0&&n.noPersonnel?i("div"):n.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||n.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"||n.noPersonnel?i("div",[e._v(" \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")]):n.userList&&n.userList.length>0?i("div",{staticClass:"views-items-set-btn",on:{click:function(a){return e.handleOpenFixedPerson(n)}}},[e._v(" \u9009\u62E9 ")]):i("div",{staticClass:"views-items-set-btn",on:{click:function(a){return e.handleOpenPerson(n)}}},[e._v(" \u8BBE\u7F6E ")])])]),n.routeTxt&&n.routeTxt.length>0?i("div",{staticClass:"views-items-includes"},[i("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),i("div",{staticClass:"views-items-and2"},e._l(n.routeTxt,function(a,o){return i("div",{key:a.type},[a.ids&&a.ids.length>0?i("div",[i("div",{staticClass:"include"},[i("b",{staticClass:"include include-type",class:["include-"+a.type]},[e._v(e._s(a.type=="user"?"\u7528\u6237":a.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),i("span",{staticClass:"include include-name"},[e._v(e._s(a.name))])]),o!==n.routeTxt.length-1?i("div",{staticClass:"include include-assign",class:["include-assign-"+(a.assigneeRetain?"true":"false")]},[e._v(e._s(n.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])})],2):e._e(),e.personList&&e.personList.length?i("div",{staticClass:"person-views"},[i("div",{staticClass:"person-views-title"},[e._v("\u5176\u4ED6\u5904\u7406\u8282\u70B9")]),e._l(e.personList,function(n,s){return i("div",{staticClass:"views-items"},[i("div",{staticClass:"views-items-name"},[e._v(" "+e._s(n.name)+" ")]),i("div",{staticClass:"views-items-set"},[n.noPersonnel?e._e():i("div",{staticClass:"views-items-set-btn",on:{click:function(r){return e.handleOpenPerson(n)}}},[e._v(" \u8BBE\u7F6E ")]),e.partNode[n.id]&&e.partNode[n.id].length?i("div",[e._l(e.partNode[n.id],function(r,a){return i("span",[e._v(" "+e._s(a>=3?"":a==0?r:`,${r}`)+" ")])}),e.partNode[n.id].length>3?i("span",[e._v("...\u7B49"+e._s(e.partNode[n.id].length)+"\u4EBA")]):e._e()],2):n.noPersonnel?i("div",[e._v("\u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E")]):i("div")])])})],2):e._e(),!e.firstPerson&&!e.firstPerson.length&&!e.personList&&!e.personList.length?i("div",{staticClass:"person-views-white"},[e._v(" \u65E0\u9700\u8BBE\u7F6E ")]):e._e()],1),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visiblePerson,titleText:"\u9009\u4EBA",isDrawer:!0,isIndex:199},on:{"update:visible":function(n){return e.visiblePerson=n}}},[i("div",{staticStyle:{height:"100%"}},[e.visiblePerson?i("departPerson",e._b({attrs:{isTitle:!1,visible:e.visiblePerson,checkedArray:e.checkedArray},on:{"update:visible":function(n){e.visiblePerson=n},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),i("TopPopup",{ref:"TopPopupDept",attrs:{visible:e.showDept,titleText:"\u9009\u62E9\u90E8\u95E8",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u786E\u5B9A",comfig:e.handleSumbitDept},on:{"update:visible":function(n){return e.showDept=n}}},[i("div",{staticClass:"tree"},e._l([].concat(e.deptList),function(n){return i("div",{key:n.id,staticClass:"node"},[i("div",{staticClass:"node-p",on:{click:function(s){return e.handleClickDept(n)}}},[e._v(e._s(n.label))]),n.children?i("div",{staticClass:"children"},e._l(n.children,function(s){return i("div",{key:s.id,staticClass:"node-s",on:{click:function(r){return e.handleClickDept(s)}}},[e._v(" "+e._s(s.label)+" ")])}),0):e._e()])}),0)]),i("SelectFixedPerson",{attrs:{visible:e.showFixedPerson,list:e.fixedPersonList,multiple:e.currentClickItem.loopCardinality==-1,select:e.fixedSelect[e.personObjId]||[]},on:{updateList:e.handleClickFixedPerson,updateVisible:e.updateFixedPersonVisible,updateSelect:e.updateFixedSelect,confirm:e.handleSumbitFixedPerson}}),i("TopPopup",{ref:"TopPopupFlow",staticClass:"top-pop-flow",attrs:{visible:e.showFlow,titleText:"\u67E5\u770B\u6D41\u7A0B\u56FE",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u5173\u95ED",comfig:e.handleSumbitFlow},on:{"update:visible":function(n){return e.showFlow=n}}},[e.showFlow&&e.processXml?i("BpmnLook",{ref:"PreviewRef",attrs:{diagram:e.processXml,approvalData:e.approvalData}}):e._e()],1),i("PreviewImage",{attrs:{images:e.trackUrl,visible:e.taskurlshow,indexd:0,isOne:!0,isStyle:e.isStyle},on:{"update:visible":function(n){return e.taskurlshow=n}}}),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopupFF",attrs:{visible:e.flowForecastVisible,titleText:"\u6D41\u7A0B\u9884\u6D4B",isIndex:129,cancel:e.flowForecastClose,comfig:e.flowForecastClose},on:{"update:visible":function(n){return e.flowForecastVisible=n}}},[i("div",{staticStyle:{margin:"20px"}},[i("div",{staticStyle:{"margin-left":"10px","margin-bottom":"10px"},domProps:{innerHTML:e._s(e.flowForecastData.completeTime)}}),i("div",{staticClass:"timeline"},e._l(e.flowForecastData.processBudgetModelList,function(n,s){return i("div",{key:s,staticClass:"timeline-item"},[i("div",{staticClass:"item-top"},[i("div",{staticClass:"top-spot"},[i("div",{staticClass:"spot",class:{active:s==0}})]),i("div",{staticClass:"top-title"},[e._v(e._s(n.title))])]),i("div",{staticClass:"item-bottom",class:{last:s==e.flowForecastData.processBudgetModelList.length-1}},[i("span",{staticStyle:{color:"#009800"}},[e._v(" \u6267\u884C\u4EBA\uFF1A"+e._s(n.excutor)+" ")])])])}),0)])])],1)},Gx=[];const DT="",Nh={};var qx=ve(Ux,Qx,Gx,!1,Jx,"a0f579ac",null,null);function Jx(e){for(let t in Nh)this[t]=Nh[t]}const kh=function(){return qx.exports}(),Hx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADG5JREFUeF7tnVFaGzcXhjUD16WsoLCSwl1qsoeElRRWEroHcLkL/0rqfwUpvS6jPuPYiXGw0ZE+4TOel6s8T6Rj6T36pE/yWNME/iAAgY0EGthAAAKbCSAQRgcEthBAIAwPCCAQxgAE8giwguRxo9ZICCAQR4n+8u7dybfmHB5+/fe//86O7+9nj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LMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsLk5JVbTV5I4tBnGmfj0k1zHicX0doYT7/xd3MvVqZAgoerdqwDYCzlrVcQrXBxc0OMG4Hk3oXrabYZy8BP7WfupBdCQCDrkPsbOGJo+ut1Mv7i1dF0ep1RkSqVCJTks+ZVqNbuullBjJe0vdBPRGJNfq3yuW5g2Z7al9lZ+u1GIH2jC5bkZZ/7+2UXV3/GKnfNWuCOrWyMzVnGRdXPMHmzzK4EUjrzjG1A7ml/3ew/er6uBFJus/Z0yIyoW57slTuB9A2yXLw8onEzlq66Wj1cCoRVZCxa+LGf3lYPlwLpG1VyRDje4TX0nvs8hXS1B1lNMRv2oQ/49PZ7O7labblbgfRWq2kOPpUeG6aniZK7IOBZHG4t1jJRi/1I/yJN00spd5FoPjOLgJt3EW5qvdsVZE0kv6e+UiwrTVR6cwLeV44lEPcC6Rua+EqxN08yH5hNwN1x7mBXkNWGsy/JHpBeKr7JexGVnR3ECrLe4Q3v3lNyIZaWgOt3OW7r6iAFsro/OWjbs8WLKvuNPJt57cDOjTZ/UWjTxIeh/wxh0AJ5KXvzF1bytxMCx/f3e/cE9d4JZCcjgw/dWwIIZG9TS8cUBBCIgiIx9pYAAtnb1NIxBQEEoqBIjL0lgED2NrV0TEHgP1VLsH2X3+jEAAAAAElFTkSuQmCC";var Kx=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.visible?i("div",{staticClass:"top-msg"},e._l(e.listData,function(n){return i("div",{staticClass:"top-msg-items",on:{click:function(s){return e.handleMsg(n)}}},[i("div",{staticClass:"top-msg-items-text"},[e._v(e._s(n.opinionName))]),i("div",{staticClass:"top-msg-items-del",on:{click:function(s){return s.stopPropagation(),e.handleOpenMsg(n)}}},[i("img",{attrs:{src:e.Del}})])])}),0):e._e(),i("TopPopup",{attrs:{isIndex:2299,titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06\u5E38\u7528\u610F\u89C1'${e.opinion.opinionName}'\u5220\u9664`,cancel:e.handleTipsCancel,comfig:e.handleDel,visible:e.visibleListMsg},on:{"update:visible":function(n){return e.visibleListMsg=n}}})],1)},Wx=[];const OT="",zx={name:"msgList",components:{TopPopup:at},props:{visible:{type:Boolean,default:!1},request:{default:null},useInfo:{type:Object,default:()=>{}}},data(){return{listData:[],visibleListMsg:!1,opinion:{},textTips:"",statusTips:!1,typeTips:""}},computed:{Del(){return Hx}},watch:{visible:{handler(e,t){e&&this.request.get("/auth/user/opinion/my").then(i=>{i.code===200&&(this.listData=i.data)})}}},methods:{handleMsg(e){this.$emit("handleMsg",e.opinionName)},handleOpenMsg(e){this.opinion=e,this.visibleListMsg=!0},handleTipsCancel(){this.visibleListMsg=!1},async handleDel(){this.opinion.opinionId&&(this.visibleListMsg=!1,this.$emit("handleTips","",!0,"loading"),await this.request.get(`/auth/user/opinion/del/${this.opinion.opinionId}`).then(e=>{e.code===200?(this.$emit("handleTips","\u5220\u9664\u6210\u529F",!0,"success"),this.request.get("/auth/user/opinion/my").then(t=>{t.code===200&&(this.listData=t.data)})):this.$emit("handleTips",e.msg,!0,"error")}).catch(e=>{this.$emit("handleTips",e.msg,!0,"error")}))}}},Sh={};var Yx=ve(zx,Kx,Wx,!1,Xx,"66478dbb",null,null);function Xx(e){for(let t in Sh)this[t]=Sh[t]}const ds=function(){return Yx.exports}();var Zx=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-popup-content"},[i("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?i("div",[i("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(n){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),i("div",{staticClass:"process-pc-value"},[i("div",{staticClass:"process-popup-textarea"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(n){n.target.composing||(e.commentMsg=n.target.value)}}}),i("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?i("div",{staticClass:"msg-btn"},[i("span",{staticClass:"msg-btn-click",on:{click:function(n){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),i("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(n){return[i("div",[i("br"),e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:function(s){return e.handleOpenPopup(n.id)}}},[i("div",{staticClass:"process-pc-value--people"},[e.partNode[n.id]&&e.partNode[n.id].length?i("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[n.id],function(s,r){return i("span",[e._v(" "+e._s(r==0?s:`,${s}`)+" ")])}),0):i("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[i("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(n){return[i("div",{staticClass:"process-pc-label"},[i("br"),e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:function(s){return e.handleOpenPopup(n.id)}}},[i("div",{staticClass:"process-pc-value--people"},[e.partNode[n.id]&&e.partNode[n.id].length?i("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[n.id],function(s,r){return i("span",[e._v(" "+e._s(r==0?s:`,${s}`)+" ")])}),0):i("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[i("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e._e()],2),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(n){return e.visible=n}}},[i("div",{staticStyle:{height:"100%"}},[e.visible?i("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(n){e.visible=n},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="5"?i("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(n){return e.visibleListMsg=n}}},[i("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),i("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(n){return e.visibleMsgComfig=n}}})],1)},$x=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-pc-label"},[e._v(" \u52A0\u7B7E\u7406\u7531\uFF1A"),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const MT="",eI={name:"counterSign",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,attchViews:Yi,TopPopup:at,departPerson:Ht.departPerson,MsgList:ds},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||"0",request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{handler(e,t){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.checkedArray=[],this.entity.source="1",this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},confirm(){if(!this.commentMsg)return this.textTips="\u8BF7\u8F93\u5165\u52A0\u7B7E\u7406\u7531!",this.$refs.topTips.handleOpen(),!1;let e=[];this.multiNodeParticipant[this.partObjId].map((t,i)=>{e.push(t)}),this.handleTips("",!0,"loading"),this.param.request.post("/bladex/blade-workflow/tis/addSignTask",{signPersoneds:e,taskId:this.param.taskInstId,comment:this.commentMsg}).then(t=>{t.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(t.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=e[1]?JSON.parse(e[1]):!1,this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,id:t.id,subjectId:t.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((i,n)=>{i.size=i.fileSize,i.format=i.originFileName.substring(i.originFileName.lastIndexOf(".")+1),i.uploadTime=i.createTime,i.processInstId=this.param.processInstId,i.taskInstId=this.param.taskInstId,i.name=i.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("counterSign")}}},Ph={};var tI=ve(eI,Zx,$x,!1,iI,"62fe31ec",null,null);function iI(e){for(let t in Ph)this[t]=Ph[t]}const nI=function(){return tI.exports}();var sI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-popup-content"},[i("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?i("div",[i("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(n){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),i("div",{staticClass:"process-pc-value"},[i("div",{staticClass:"process-popup-textarea"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(n){n.target.composing||(e.commentMsg=n.target.value)}}}),i("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?i("div",{staticClass:"msg-btn"},[i("span",{staticClass:"msg-btn-click",on:{click:function(n){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),i("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(n){return[i("div",[e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:function(s){return e.handleOpenPopup(n.id)}}},[i("div",{staticClass:"process-pc-value--people"},[e.partNode[n.id]&&e.partNode[n.id].length?i("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[n.id],function(s,r){return i("span",[e._v(" "+e._s(r==0?s:`,${s}`)+" ")])}),0):i("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[i("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(n){return[i("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:function(s){return e.handleOpenPopup(n.id)}}},[i("div",{staticClass:"process-pc-value--people"},[e.partNode[n.id]&&e.partNode[n.id].length?i("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[n.id],function(s,r){return i("span",[e._v(" "+e._s(r==0?s:`,${s}`)+" ")])}),0):i("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[i("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e._e()],2),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(n){return e.visible=n}}},[i("div",{staticStyle:{height:"100%"}},[e.visible?i("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(n){e.visible=n},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="1"?i("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(n){return e.visibleListMsg=n}}},[i("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),i("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(n){return e.visibleMsgComfig=n}}})],1)},rI=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-pc-label"},[e._v(" \u8F6C\u5BA1\u7406\u7531\uFF1A"),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const BT="",aI={name:"delegateTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,attchViews:Yi,TopPopup:at,departPerson:Ht.departPerson,MsgList:ds},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,maxMultiple:1,checkedArray:[]},multiNodeParticipant:{},partNodeArr:{},partObjId:[],partNode:{},actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{handler(e,t){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,this.attachShow(),e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){if(!this.commentMsg){this.textTips="\u8BF7\u8F93\u5165\u8F6C\u5BA1\u7406\u7531!",this.$refs.topTips.handleOpen();return}let e=this.partNodeArr[this.partObjId].map(t=>t.id).join(",");this.handleTips("",!0,"loading"),await this.param.request.post("/bladex/blade-workflow/tis/transferTask",{comment:this.commentMsg,taskId:this.param.taskInstId,assignee:e}).then(t=>{t.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(t.msg,!0,"error")})},attachShow(e="\u529E\u7406"){const t=(this.param||{}).extendedProperties||[];let i=!1,n,s="";n=t.find(a=>a.name=="delegateTaskButtonAnnex"),s=n?n.value:"",s&&(i=!0);let r="";if(typeof s!="string"&&s!=null&&s.map(a=>{a.indexOf(this.operationLabel)!=-1&&(i=!0,r=a)}),r&&(s=r),i){const a=s.split(":");this.attachRule.required=a[1]=="true",this.attachRule.limit=a[2]==-1?999:a[2],this.otherList=s;let o=this.otherList.split(":");this.limit=o[2],this.requires=JSON.parse(o[1]),this.labels=o[0]}return this.labels,this.limit,i},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNodeArr[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNodeArr[this.partObjId].push(t),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,id:t.id,subjectId:t.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((i,n)=>{i.size=i.fileSize,i.format=i.originFileName.substring(i.originFileName.lastIndexOf(".")+1),i.uploadTime=i.createTime,i.processInstId=this.param.processInstId,i.taskInstId=this.param.taskInstId,i.name=i.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("delegateTask")}}},Dh={};var oI=ve(aI,sI,rI,!1,lI,"3e18ae74",null,null);function lI(e){for(let t in Dh)this[t]=Dh[t]}const cI=function(){return oI.exports}(),uI="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACZ5JREFUeF7tne1xG0cMhkE2EqeS2JXY6iLRZMb2jEdJF3YqiVNJ5EbMzIlhRDIiecAt9uPeh3+9wC5e4BEWx7O0MT4ogAIXFdigDQqgwGUFAITqQIErCgAI5YECA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XRxX4AAyfV8AsfSenfb9wcIkLycROBwF3cJgz4BARKeVpWo7gI++gUESPbppXMUKPO4i74BUYcEOOKVXciyf0BUIQGOQiW+zM0YgKhBAhzLqrqg9TiAqEACHAXLe7mrsQBZOyTAsbyiC3sYD5C1QgIchUu7jLsxAVkbJMBRppoTvIwLyFogAY6Esi7ncmxARocEOMpVcpKn8QEZFRLgSCrpsm7XAchokABH2SpO9LYeQEaBBDgSy7m863UB0jskwFG+gpM9rg+QXiEBjuRSznG/TkB6gwQ4cqq3gtf1AtILJMBRoYzztlg3IK0hAY68yq3kef2AtIIEOCqVcO42GoDUhgQ4cqu2oncdQGpBAhwVyzd/Ky1AsiEBjvyKrbyDHiBZkABH5dKts50mIKUhAY461dpgF11ASkECHA3Ktt6W2oAshQQ46lVqo50AJAoJcDQq2brbAshB7/3fJ5n7R3K+2MPmrm6q2K2FAgByrvr97p2ZvTez/V+WOv082tbunv7yFB8JBQDkUpr3HeW1mf1gZt9sa4+AIcHESZAAopdzInYoACAOsViqpwCA6OWciB0KAIhDLJbqKQAgejknYocCAOIQi6V6CgCIXs6J2KEAgDjEYqmeAgCil3MidigAIA6xWKqnAIDo5ZyIHQoAiEMsluopACB6OSdihwIA4hCLpXoKAIhezonYoQCAOMRiqZ4CAKKXcyJ2KAAgDrFYqqcAgOjlnIgdCgCIQyyW6ikAIHo5J2KHAgDiEIulegoAiF7OidihAIA4xGKpngIAopdzInYoACAOsViqpwCA6OWciB0KAIhDLJbqKQAgejknYocCAOIQi6V6CgCIXs6J2KEAgDjEYqmeAgCil3MidigAIA6xWKqnAIDo5ZyIHQoAiEMsluopACB6OSdihwIA4hCLpXoKAIhezonYoQCAOMRiqZ4CAKKXcyJ2KAAgDrFYqqcAgOjlnIgdCgCIQyyW6inwD771qeduEnFsAAAAAElFTkSuQmCC",RT="";var pI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.nodeItems&&e.nodeItems.length?i("div",{staticClass:"treenode"},[e.endNode?e._e():i("div",{staticClass:"treenode-multi"},[i("div",{staticClass:"treenode-node",staticStyle:{"margin-top":"0"}},[e._l(e.nodeItems,function(n){return[e.checkType=="InclusiveGatewayModel"&&e.nodeItems.length>1?i("div",{staticClass:"treenode-checkbox",class:e.checkBoxArr.includes(n.id)?"treenode-checkbox-active":"",on:{click:function(s){return e.handleCheckBoxClick(n)}}},[i("span",[e.checkBoxArr.includes(n.id)?i("img",{staticClass:"treenode-checkbox-active-img",attrs:{src:e.check}}):e._e()]),e._v(" "+e._s(n.nodeName||n.name)+" ")]):e.checkType=="ExclusiveGatewayModel"&&e.nodeItems.length>1?i("div",{staticClass:"treenode-radio",class:e.radioArr==n.id?"treenode-radio-active":"",on:{click:function(s){return e.handleRadioClick(n)}}},[i("span"),e._v(" "+e._s(n.nodeName||n.name)+" ")]):e._e()]})],2),e.checkType=="InclusiveGatewayModel"&&e.checkBoxItem&&e.checkBoxItem.length?e._l(e.checkBoxItem,function(n){return i("div",{staticClass:"treenode-node"},[n.childNode&&n.childNode.length?i("div",[i("TreeNode",{attrs:{items:n.childNode,endNode:n.childNode.length==1,nodeType:e.nodeType,param:e.param,checkType:n.type},on:{onMultiNode:e.onMultiNode,onVars:e.onVars}})],1):i("div",{staticClass:"personselect"},[i("div",{staticClass:"personselect-name"},[e._v(" "+e._s(n.name||n.nodeName)+" ")]),i("div",{staticClass:"items-person"},[n.userList&&n.userList.length>0?i("div",{staticClass:"items-person-set",on:{click:function(s){return e.handleOpenFixedPerson(n)}}},[e._v(" \u9009\u62E9 ")]):n.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&n.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?[i("div",{staticClass:"items-person-set",on:{click:function(s){return s.stopPropagation(),e.handleOpenPopup(n)}}},[e._v(" \u8BBE\u7F6E ")])]:e._e(),n.userList&&n.userList.length>0?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[n.id]?e.partNode[n.id].join(","):"")+" ")]):n.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&n.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[n.id]?e.partNode[n.id].join(","):"")+" ")]):n.routeTxt&&n.routeTxt.userNames?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(n.routeTxt.userNames)+" ")]):e._e()],2),n.routeTxt&&n.routeTxt.length>0?i("div",{staticClass:"views-items-includes"},[i("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),i("div",{staticClass:"views-items-and2"},e._l(n.routeTxt,function(s,r){return i("div",{key:s.type},[s.ids&&s.ids.length>0?i("div",[i("div",{staticClass:"include"},[i("b",{staticClass:"include include-type",class:["include-"+s.type]},[e._v(e._s(s.type=="user"?"\u7528\u6237":s.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),i("span",{staticClass:"include include-name"},[e._v(e._s(s.name))])]),r!==n.routeTxt.length-1?i("div",{staticClass:"include include-assign",class:["include-assign-"+(s.assigneeRetain?"true":"false")]},[e._v(e._s(n.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}):e._e(),e.checkType=="ExclusiveGatewayModel"&&e.radioItem&&e.radioItem.length?e._l(e.radioItem,function(n){return i("div",{staticClass:"treenode-node"},[n.childNode&&n.childNode.length?i("div",[i("TreeNode",{attrs:{items:n.childNode,endNode:n.childNode.length==1,nodeType:e.nodeType,param:e.param,checkType:n.type},on:{onMultiNode:e.onMultiNode,onVars:e.onVars}})],1):i("div",{staticClass:"personselect"},[i("div",{staticClass:"personselect-name"},[e._v(" "+e._s(n.name||n.nodeName)+" ")]),i("div",{staticClass:"items-person"},[n.userList&&n.userList.length>0?i("div",{staticClass:"items-person-set",on:{click:function(s){return e.handleOpenFixedPerson(n)}}},[e._v(" \u9009\u62E9 ")]):n.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&n.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?[i("div",{staticClass:"items-person-set",on:{click:function(s){return s.stopPropagation(),e.handleOpenPopup(n)}}},[e._v(" \u8BBE\u7F6E ")])]:e._e(),n.userList&&n.userList.length>0?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[n.id]?e.partNode[n.id].join(","):"")+" ")]):n.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&n.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[n.id]?e.partNode[n.id].join(","):"")+" ")]):n.routeTxt&&n.routeTxt.userNames?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(n.routeTxt.userNames)+" ")]):e._e()],2),n.routeTxt&&n.routeTxt.length>0?i("div",{staticClass:"views-items-includes"},[i("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),i("div",{staticClass:"views-items-and2"},e._l(n.routeTxt,function(s,r){return i("div",{key:s.type},[s.ids&&s.ids.length>0?i("div",[i("div",{staticClass:"include"},[i("b",{staticClass:"include include-type",class:["include-"+s.type]},[e._v(e._s(s.type=="user"?"\u7528\u6237":s.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),i("span",{staticClass:"include include-name"},[e._v(e._s(s.name))])]),r!==n.routeTxt.length-1?i("div",{staticClass:"include include-assign",class:["include-assign-"+(s.assigneeRetain?"true":"false")]},[e._v(e._s(n.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}):e._e()],2),e.endNode?i("div",{staticClass:"treenode-single"},e._l(e.nodeItems,function(n){return i("div",{staticClass:"treenode-single-items"},[i("div",{staticClass:"personselect"},[i("div",{staticClass:"personselect-name"},[e._v(" "+e._s(n.name||n.nodeName)+" ")]),n.nodeType!=="endEvent"?i("div",{staticClass:"items-person"},[n.userList&&n.userList.length>0?i("div",{staticClass:"items-person-set",on:{click:function(s){return e.handleOpenFixedPerson(n)}}},[e._v(" \u9009\u62E9 ")]):n.setPersonnel?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s((n.assignees||[]).map(function(s){return s.name}).join(","))+" ")]):[i("div",{staticClass:"items-person-set",on:{click:function(s){return s.stopPropagation(),e.handleOpenPopup(n)}}},[e._v(" \u8BBE\u7F6E ")])],i("div",{staticClass:"items-person-name"},[!e.partNode[n.id]&&n.humanPerformerName=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"&&n.noPersonnel?i("div",[e._v(" \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")]):e._e(),e._v(" "+e._s(e.partNode[n.id]?e.partNode[n.id].join(","):"")+" ")])],2):e._e(),n.routeTxt&&n.routeTxt.length>0?i("div",{staticClass:"views-items-includes"},[i("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),i("div",{staticClass:"views-items-and2"},e._l(n.routeTxt,function(s,r){return i("div",{key:s.type},[s.ids&&s.ids.length>0?i("div",[i("div",{staticClass:"include"},[i("b",{staticClass:"include include-type",class:["include-"+s.type]},[e._v(e._s(s.type=="user"?"\u7528\u6237":s.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),i("span",{staticClass:"include include-name"},[e._v(e._s(s.name))])]),r!==n.routeTxt.length-1?i("div",{staticClass:"include include-assign",class:["include-assign-"+(s.assigneeRetain?"true":"false")]},[e._v(e._s(n.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}),0):e._e(),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(n){return e.visible=n}}},[e.visible?i("departPerson",e._b({attrs:{isTitle:!1},on:{callback:e.handleCallback}},"departPerson",e.entity,!1)):e._e()],1),i("SelectFixedPerson",{attrs:{visible:e.showFixedPerson,list:e.fixedPersonList,multiple:e.currentClickItem.loopCardinality==-1,select:e.fixedSelect[e.partObjId]||[]},on:{updateList:e.handleClickFixedPerson,updateVisible:e.updateFixedPersonVisible,updateSelect:e.updateFixedSelect,confirm:e.handleSumbitFixedPerson}}),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}})],1):e._e()},dI=[];const LT="",hI={name:"TreeNode",components:{SelectFixedPerson:_h,TopPopup:at,TopTips:Nt,departPerson:Ht.departPerson},props:{items:{type:Array,default:()=>[]},endNode:{type:Boolean,default:!1},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}},checkType:{type:String,default:""}},data(){return{currentClickItem:{},fixedSelect:{},showFixedPerson:!1,fixedPersonList:[],nodeItems:[],visible:!1,checkBoxArr:[],checkBoxItem:[],radioArr:"",radioItem:[],partObjId:"",entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partNode:{},partNodeArr:{},textTips:"",statusTips:!1,typeTips:"success",gateVars:{},onMultiNodeData:{},onVarsData:{},personMake:[],personMakeList:{}}},watch:{items:{handler(e,t){e&&e.length&&(this.multiNodeParticipant={},this.partNode={},this.partNodeArr={},this.gateVars={},this.nodeItems=JSON.parse(JSON.stringify(e)),this.nodeItems,this.nodeItems.map(i=>{if(Array.isArray(i.assignees),i.assignees,i.userTaskModelDTO||(i.userTaskModelDTO={name:i.name,humanPerformer:{name:i.humanPerformerName},routeTxt:i.routeTxt,participantList:i.participantList}),Array.isArray(i.assignees)&&i.assignees.length&&(this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNodeArr[i.id]||(this.partNodeArr[i.id]=[]),i.assignees.forEach(n=>{this.partNodeArr,this.multiNodeParticipant;const s=this.partNodeArr[i.id].find(a=>a.name==n.name),r=this.multiNodeParticipant[i.id].find(a=>a==n.id);s||this.partNodeArr[i.id].push(n),r||this.multiNodeParticipant[i.id].push(n.id)})),i.userTaskModelDTO&&i.userTaskModelDTO.participantList&&i.userTaskModelDTO.participantList.length&&i.userTaskModelDTO.humanPerformer&&i.userTaskModelDTO.participantList.map(n=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.partNodeArr[i.id]||(this.partNodeArr[i.id]=[]),this.multiNodeParticipant[i.id].includes(n.id)||this.multiNodeParticipant[i.id].push(n.id),this.partNode[i.id].includes(n.name)||this.partNode[i.id].push(n.name),this.partNodeArr[i.id].find(s=>s.name==n.name)||this.partNodeArr[i.id].push(n)}),(i.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||i.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(i.id),i.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let n={taskDefId:i.id,postIds:[]};i.userTaskModelDTO.routeTxt.postList.map(s=>{n.postIds.push(s.postId)}),this.param.request.post("/auth/user/getTaskAuditor",{deptId:this.param.taskNode&&this.param.taskNode[0].vars?this.param.taskNode[0].vars._businessDeptId:"",taskPostIds:[n]}).then(s=>{let r=[],a=[],o=!1;s.data.map(p=>{p.posts.map(h=>{a.push(...h.users),h.users.length==1?r.push(...h.users):o=!0})}),r.length>i.loopCardinality&&i.loopCardinality>0&&(o=!0),o&&(r=[]);let l=[];s.data[0].posts.map(p=>{l.push({...p,projectPost:!(this.param.taskNode&&this.param.taskNode[0].vars&&this.param.taskNode[0].vars._businessDeptId),id:p.users.map(h=>h.id)})}),a.length==0&&this.$set(i,"noPersonnel",!0),r.length>0&&(this.$set(i,"noPersonnel",!0),this.partObjId=i.id,this.handleCallback(r)),i.positionArray=l})}this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(n=>{n.code==200&&(this.personMakeList=n.data)})}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.$emit("onVars",this.gateVars),this.checkType=="ExclusiveGatewayModel"&&e.length==1&&this.handleRadioClick(e[0]))},immediate:!0,deep:!0}},computed:{check(){return sl}},mounted(){},methods:{clear(){this.radioArr="",this.radioItem=[],this.checkBoxArr=[],this.checkBoxItem=[],this.multiNodeParticipant={},this.partNode={},this.partNodeArr={},this.gateVars={}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"||e=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"},handleCallback(e){this.visible=!1,this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name),this.partNodeArr[this.partObjId].push(t)}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr)},handleRadioClick(e){e&&(this.multiNodeParticipant={},this.gateVars={},this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),e.incomingConditionItemList.length>0&&e.incomingConditionItemList[0].itemName&&e.incomingConditionItemList[0].compareValue&&(this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue),this.radioArr=e.id,this.radioItem=[e],this.handleNode(e),this.$emit("onVars",this.gateVars))},handleCheckBoxClick(e){e&&(this.checkBoxArr.includes(e.id)?(e.incomingConditionItemList.length>0&&e.incomingConditionItemList[0].itemName&&e.incomingConditionItemList[0].compareValue&&delete this.gateVars[e.incomingConditionItemList[0].itemName],delete this.multiNodeParticipant[e.id],this.checkBoxItem.splice(this.checkBoxArr.indexOf(e.id),1),this.checkBoxArr.splice(this.checkBoxArr.indexOf(e.id),1)):(e.incomingConditionItemList.length>0&&e.incomingConditionItemList[0].itemName&&e.incomingConditionItemList[0].compareValue&&(this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue),this.checkBoxItem.push(e),this.checkBoxArr.push(e.id)),this.handleNode(e),this.$emit("onVars",this.gateVars))},handleNode(e){let t=e.childNode&&e.childNode.length?e.childNode:e&&e.length?e:[e];t&&t.length&&t.forEach((i,n)=>{i.participantList&&i.participantList.length?i.participantList.forEach((s,r)=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.partNodeArr[i.id]||(this.partNodeArr[i.id]=[]),this.multiNodeParticipant[i.id].includes(s.id)||this.multiNodeParticipant[i.id].push(s.id),this.partNode[i.id].includes(s.name)||this.partNode[i.id].push(s.name),this.partNodeArr[i.id].find(a=>a.name==s.name)||this.partNodeArr[i.id].push(s)}):i.id&&i.humanPerformerName=="\u56FA\u5B9A\u4EBA\u5458"&&this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[i.id]}).then(s=>{s.code==200&&(this.partNode[i.id]={},this.partNode[i.id]=s.data[i.id].split(";"))}),this.nodeType=="outing"&&(this.onVarsData&&(this.gateVars={...this.gateVars,...this.onVarsData}),this.$emit("onVars",this.gateVars))})},handleOpenFixedPerson(e){this.currentClickItem=e,this.partObjId=e.id,this.showFixedPerson=!0,this.fixedPersonList=e.userList||[]},updateFixedPersonVisible(e){this.showFixedPerson=e},updateFixedSelect(e){},handleSumbitFixedPerson(e){this.$set(this.fixedSelect,this.partObjId,e),this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.userId),this.partNode[this.partObjId].push(t.realName),this.partNodeArr[this.partObjId].push({...t,name:t.realName,id:t.userId})}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.showFixedPerson=!1},handleClickFixedPerson(e){this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.userId),this.partNode[this.partObjId].push(t.realName),this.partNodeArr[this.partObjId].push({...t,name:t.realName,id:t.userId})}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.showFixedPerson=!1},handleOpenPopup(e){if(this.visible=!0,this.partObjId=e.id,this.nodeType=="nexting"?e={...e,...e.userTaskModelDTO}:this.nodeType=="outing"?e={...e,humanPerformer:{name:e.humanPerformerName}}:this.handleTips("\u52A0\u8F7D\u5931\u8D25,\u8BF7\u5237\u65B0",!0,"error"),e.humanPerformer.name=="\u56FA\u5B9A\u5355\u4F4D"||e.humanPerformerName=="\u56FA\u5B9A\u5355\u4F4D"){let t,i=[];this.multiNodeParticipant,this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((n,s)=>{i.push({type:3,id:n.id,subjectId:n.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:t,checkedArray:i}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"||e.humanPerformerName=="\u56FA\u5B9A\u90E8\u95E8"){let t,i=[],n=[];e.routeTxt.departmentIds.forEach((s,r)=>{e.routeTxt.departmentIds.length>1?i.push(s.rangeId):t=s.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((s,r)=>{n.push({type:3,id:s.id,deptId:t,subjectId:s.subjectId})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCodeArray:i,checkedArray:n}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCode:t,checkedArray:n}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"||e.humanPerformerName=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let t=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((i,n)=>{t.push({type:3,id:i.id,subjectId:i.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:[5],request:this.param.request,codeType:[8],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,positionArray:e.positionArray,checkedArray:t}}else{let t=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((i,n)=>{t.push({type:3,id:i.id,subjectId:i.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:t}}},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},onMultiNode(e){e&&(this.onMultiNodeData=e,this.multiNode={...this.multiNode,...this.onMultiNodeData},this.$emit("onMultiNode",this.multiNode),this.$emit("onMultiNodeObj",this.partNodeArr))},onVars(e){e&&(this.onVarsData=e,this.getVars={...this.gateVars,...this.onVarsData},this.$emit("onVars",this.getVars))}}},Oh={};var fI=ve(hI,pI,dI,!1,mI,"4064b34c",null,null);function mI(e){for(let t in Oh)this[t]=Oh[t]}const gI=function(){return fI.exports}();var yI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"test"},[e.param.nodeLoading?[e._m(0)]:[e.nodeItems&&e.nodeItems.length?i("div",e._l(e.nodeItems,function(n,s){return i("div",{key:s,staticClass:"treeperson"},[n.nodeType=="endEvent"?[i("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")])]:n.branches&&n.branches.length?[e.nodeType=="nexting"&&n.nodeType!="inclusiveGateway"?[n.nodeType=="exclusiveGateway"&&n.branches.length>1?i("div",{staticClass:"treeperson-firstnode"},[e._m(1,!0),e._l(n.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,n.branches)}}},[i("span"),e._v(" "+e._s(r.id.includes("Flow")?r.nodeName||r.name?r.nodeName||r.name:r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:"":r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name||r.nodeName||r.name:r.nodeName||r.name)+" ")])})],2):n.nodeType=="exclusiveGateway"&&n.branches.length==1?i("div",{staticClass:"treeperson-firstnode"},e._l(n.branches,function(r,a){return i("div",[i("span"),i("tree-person",{ref:"TreePersonRef",refInFor:!0,attrs:{items:r.branches&&r.branches.length>0?r.branches:[r],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})],1)}),0):n.nodeType=="inclusiveGateway"&&n.branches.length>=1?i("div",{staticClass:"treeperson-firstnode"},[e._m(2,!0),e._l(n.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleMultiFirstNodeClick(r)}}},[i("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])})],2):i("div",{staticClass:"treeperson-firstnode"},[e._m(3,!0),e._l(n.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,n.branches)}}},[i("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])})],2),e.childrenItems&&e.childrenItems.length>0&&e.childrenItems[0].nodeInfoDTO&&e.childrenItems[0].nodeInfoDTO.nodeType!="userTask"?[i("tree-person",{key:e.firstCheck,ref:"TreePersonRef",refInFor:!0,attrs:{items:[e.firstCheckItem],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})]:e.childrenItems&&e.childrenItems.length>1&&e.childrenItems[0].nodeInfoDTO&&e.childrenItems[0].nodeInfoDTO.nodeType=="userTask"?[e._m(4,!0),i("div",{staticClass:"treeperson-checkbox-box"},e._l(e.childrenItems,function(r,a){return i("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstMultiCheckSub.includes(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleMultiFirstNodeClickSub(r,e.childrenItems)}}},[i("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])}),0),e._l(e.filterMultiItemsSub(e.childrenItems),function(r){return[i("TreeNode",{attrs:{items:r.branches&&r.branches.length>0?r.branches:[r.nodeInfoDTO?r.nodeInfoDTO:r],endNode:!0,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(a){return e.onMultiNode(a,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]})]:[i("TreeNode",{attrs:{items:e.childrenItems,endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:e.nodeType=="nexting"&&n.nodeType=="inclusiveGateway"?[n.nodeType=="inclusiveGateway"&&n.branches.length>=1?i("div",{staticClass:"treeperson-firstnode"},[e._m(5,!0),i("div",{staticClass:"treeperson-checkbox-box"},e._l(n.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstMultiCheck.includes(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleMultiFirstNodeClick(r,n.branches)}}},[i("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])}),0)]):e._e(),e._l(e.filterMultiItems(n.branches),function(r){return[i("TreeNode",{attrs:{items:r.branches&&r.branches.length>0?r.branches:[r.nodeInfoDTO?r.nodeInfoDTO:r],endNode:!0,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(a){return e.onMultiNode(a,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]})]:e._e()]:n.nodeType=="exclusiveGateway"&&n.branches&&n.branches.length>1?[e._m(6,!0),n.type=="ExclusiveGatewayModel"&&n.branches.length==1?e._e():i("div",{staticClass:"treeperson-firstnode"},e._l(n.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstCheck==r.id?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,n.branches)}}},[i("span"),e._v(" "+e._s(r.nodeName||r.name)+" ")])}),0),i("TreeNode",{attrs:{items:e.childrenItems,endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(r){return e.onMultiNode(r,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]:n.nodeType=="exclusiveGateway"&&n.branches&&n.branches.length==1?[e._m(7,!0),e.nodeType=="nexting"?[i("TreeNode",{attrs:{items:[n.branches[0]],endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]:[i("TreeNode",{attrs:{items:[n.branches[0]],endNode:!0,nodeType:"nexting",param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:n.id||n.nodeInfoDTO&&n.nodeInfoDTO.id?[e.nodeType=="nexting"?[n.nodeInfoDTO&&n.nodeInfoDTO.nodeType=="exclusiveGateway"?[e._m(8,!0),e._l(n.nodeInfoDTO.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,n.nodeInfoDTO.branches)}}},[i("span"),e._v(" "+e._s(r.nodeName||r.name)+" ")])}),i("tree-person",{key:e.firstCheck,ref:"TreePersonRef",refInFor:!0,attrs:{items:[e.firstCheckItem],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})]:[e._m(9,!0),i("TreeNode",{attrs:{items:[n.nodeInfoDTO?n.nodeInfoDTO:n],endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:[i("TreeNode",{attrs:{items:[n],endNode:!0,nodeType:"nexting",param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:void 0],2)}),0):e._e()]],2)},vI=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("span",[e._v("\u4E0B\u4E00\u8282\u70B9: ")]),i("b",{staticStyle:{"font-size":"16px"}},[e._v("\u8282\u70B9\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E......")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])}];const FT="",AI={name:"tree-person",components:{TreeNode:gI},props:{items:{type:Array,default:()=>[]},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}}},data(){return{nodeItems:[],visible:!1,partObjId:"",partNode:[],firstCheck:"",firstCheckItem:{},firstType:"",firstMultiCheck:[],firstMultiCheckItem:[],firstMultiType:[],firstMultiCheckSub:[],firstMultiCheckItemSub:[],firstMultiTypeSub:[],childrenItems:[],childrenEndItems:!1,childrenItemsSub:[],childrenEndItemsSub:!1,gateVars:{},multiNode:{},partNodeArr:{},getVars:{}}},watch:{items:{handler(e,t){e&&e.length&&(this.nodeType=="nexting"?(this.nodeItems=[],this.childrenEndItems=!0,e.forEach(i=>{i={...i,...i.userTaskModelDTO},this.nodeItems.push(i)})):this.nodeType=="outing"&&(this.nodeItems=e),this.nodeItems.length==1&&this.nodeItems[0].type=="ExclusiveGatewayModel"&&this.nodeItems[0].childNode&&this.nodeItems[0].childNode.length==1&&this.handleFirstNodeClick(this.nodeItems[0]),this.nodeItems)},immediate:!0,deep:!0}},methods:{filterMultiItems(e=[]){return this.firstMultiCheck,e.filter(t=>this.firstMultiCheck.includes(t.nodeInfoDTO?t.nodeInfoDTO.id:t.id))},filterMultiItemsSub(e=[]){return this.firstMultiCheckSub,e.filter(t=>this.firstMultiCheckSub.includes(t.nodeInfoDTO?t.nodeInfoDTO.id:t.id))},onMultiNode(e,t=""){t&&Object.prototype.toString.call(e)=="[object Object]"?Object.prototype.toString.call(this.multiNode)=="[object Object]"?Object.keys(e).forEach(i=>{e[i]||(e[i]=[""]),e[i]&&e[i].length>=1?this.multiNode[i]=e[i].filter(n=>n):this.multiNode[i]=e[i]}):this.multiNode=e:this.multiNode=e,this.$emit("onMultiNode",this.multiNode)},onMultiNodeObj(e){this.partNodeArr=e,this.$emit("onMultiNodeObj",this.partNodeArr)},onVars(e){e?this.getVars={...this.gateVars,...e}:this.getVars={...this.gateVars},this.$emit("onVars",this.getVars)},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"||e=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"},handleMultiFirstNodeClick(e,t=[]){let i=e;if(i&&i.nodeInfoDTO&&(i=i.nodeInfoDTO),this.firstMultiCheck.includes(i.id)){this.firstMultiCheck=this.firstMultiCheck.filter(n=>n!=i.id),this.firstMultiCheckItem=this.firstMultiCheckItem.filter(n=>n.id!=i.id),this.firstMultiType=this.firstMultiType.filter(n=>n!=i.nodeType),delete this.param.selChildrenItems[i.id];return}if(i){this.firstMultiCheck.push(i.id),this.firstMultiCheckItem.push(i),this.firstMultiType.push(i.nodeType);let n=[i];i.branches&&i.branches.length?(this.childrenItems=i.branches,this.childrenEndItems=!1):(this.childrenItems=[i],this.childrenEndItems=!0),t.forEach(s=>{delete this.param.selChildrenItems[s.id],this.param.selChildrenItems[i.id]=(this.childrenItems||[]).map(r=>r.nodeInfoDTO||r)}),this.gateVars={},n.forEach(s=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(s.incomingConditionItemList)&&s.incomingConditionItemList.length>0&&(this.param.vars[s.incomingConditionItemList[0].itemName]=s.incomingConditionItemList[0].compareValue,this.gateVars[s.incomingConditionItemList[0].itemName]=s.incomingConditionItemList[0].compareValue)})}},handleMultiFirstNodeClickSub(e,t=[]){let i=e;if(i&&i.nodeInfoDTO&&(i=i.nodeInfoDTO),this.firstMultiCheckSub.includes(i.id)){this.firstMultiCheckSub=this.firstMultiCheckSub.filter(n=>n!=i.id),this.firstMultiCheckItemSub=this.firstMultiCheckItemSub.filter(n=>n.id!=i.id),this.firstMultiTypeSub=this.firstMultiTypeSub.filter(n=>n!=i.nodeType),this.childrenItemsSub=this.childrenItemsSub.filter(n=>n.id!=i.id),t.forEach(n=>{delete this.param.selChildrenItems[n.nodeInfoDTO?n.nodeInfoDTO.id:n.id]}),delete this.param.selChildrenItems[i.id];return}if(i){this.firstMultiCheckSub.push(i.id),this.firstMultiCheckItemSub.push(i),this.firstMultiTypeSub.push(i.nodeType);let n=[i];i.branches&&i.branches.length?(this.childrenItemsSub.push(i.branches),this.childrenEndItemsSub=!1):(this.childrenItemsSub.push(i),this.childrenEndItemsSub=!0),t.forEach(s=>{delete this.param.selChildrenItems[s.nodeInfoDTO?s.nodeInfoDTO.id:s.id],this.param.selChildrenItems[i.id]=(this.childrenItemsSub||[]).map(r=>r.nodeInfoDTO||r)}),this.gateVars={},n.forEach(s=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(s.incomingConditionItemList)&&s.incomingConditionItemList.length>0&&(this.param.vars[s.incomingConditionItemList[0].itemName]=s.incomingConditionItemList[0].compareValue,this.gateVars[s.incomingConditionItemList[0].itemName]=s.incomingConditionItemList[0].compareValue)})}},handleFirstNodeClick(e,t=[]){let i=e;if(i&&i.nodeInfoDTO&&(i=i.nodeInfoDTO),i){this.firstCheck=i.id,this.firstCheckItem=i,this.firstType=i.nodeType;let n=[i];i.branches&&i.branches.length?(this.childrenItems=i.branches,this.childrenEndItems=!1):(this.childrenItems=[i],this.childrenEndItems=!0),t.forEach(s=>{const r=this.param.selChildrenItems[s.nodeInfoDTO?s.nodeInfoDTO.id:s.id];Array.isArray(r)&&r.forEach(a=>{delete this.param.selChildrenItems[a.id]}),delete this.param.selChildrenItems[s.nodeInfoDTO?s.nodeInfoDTO.id:s.id],this.param.selChildrenItems[i.id]=(this.childrenItems||[]).map(a=>a.nodeInfoDTO||a)}),this.gateVars={},n.forEach(s=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(s.incomingConditionItemList)&&s.incomingConditionItemList.length>0&&(this.param.vars[s.incomingConditionItemList[0].itemName]=s.incomingConditionItemList[0].compareValue,this.gateVars[s.incomingConditionItemList[0].itemName]=s.incomingConditionItemList[0].compareValue)})}}}},Mh={};var bI=ve(AI,yI,vI,!1,CI,"04a361c0",null,null);function CI(e){for(let t in Mh)this[t]=Mh[t]}const wI=function(){return bI.exports}();var EI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"top-popup-zindex",class:e.className,style:`${e.isIndex?`z-index:${e.isIndex}`:""}`},[i("div",{staticClass:"top-popup-mask",style:e.show&&e.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:function(n){e.isMaskClose&&e.handleClose()}}}),!e.isTips&&!e.isDrawer?i("div",{staticClass:"top-popup",style:e.show?"transform: translateY(0)":"transform: translateY(150%)"},[i("div",{staticClass:"top-popup-header"},[i("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),i("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),i("div",{staticClass:"header-comfig",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])]),i("div",{staticClass:"top-popup-body"},[e._t("default")],2)]):!e.isTips&&e.isDrawer?i("div",{staticClass:"top-popup-drawer",class:e.show?"top-popup-drawer--active":"",style:e.width?`width:${e.width};`:""},[i("div",{staticClass:"top-popup-drawer--body"},[e._t("default")],2)]):e.isTips&&!e.isDrawer?i("div",{staticClass:"top-tips",style:e.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)"},[i("div",{staticClass:"top-tips-header"},[e._v(e._s(e.titleText))]),i("div",{staticClass:"top-tips-body"},[e._v(e._s(e.context))]),i("div",{staticClass:"top-tips-footer"},[i("div",{staticClass:"top-tips-btn",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),i("div",{staticClass:"top-tips-btn",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])])]):e._e()])},xI=[];const VT="",II={data(){},props:{titleText:{default:"top-popup",type:String},context:{default:"\u5185\u5BB9",type:String},cancelText:{default:"\u53D6\u6D88",type:String},comfigText:{default:"\u786E\u5B9A",type:String},comfig:{default:null,type:Function},cancel:{default:null,type:Function},isMask:{default:!0,type:Boolean},isMaskClose:{default:!0,type:Boolean},isTips:{default:!1,type:Boolean},isDrawer:{default:!1,type:Boolean},visible:{default:!1,type:Boolean},isIndex:{type:Number},width:{type:String,default:"95vw"},className:{type:String,default:""},appendClass:{type:String,default:""}},data(){return{show:!1,top:0,useHidden:!1}},watch:{visible:{handler(e,t){if(e)this.show=e,document.body.style.position=="fixed"&&document.body.style.overflow=="hidden"?this.useHidden=!0:this.useHidden=!1,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=`${-top}px`,document.body.style.overflow="hidden";else{if(this.useHidden){this.show=e,this.$emit("update:visible",!1);return}else document.body.style.position="",document.body.style.top="",document.body.style.overflow="visible",window.scrollTo(0,this.top);this.show=e,this.$emit("update:visible",!1)}},immediate:!0}},methods:{handleOpen(){this.show=!0,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=-this.top+"px"},handleClose(){document.body.style.position="",document.body.style.top="",window.scrollTo(0,this.top),this.show=!1,this.$emit("update:visible",!1)},handleCancel(){typeof this.cancel=="function"&&this.cancel(),this.handleClose()},handleComfig(){typeof this.comfig=="function"&&this.comfig()},isIOS(){let e=navigator.userAgent.includes("iPhone"),t=navigator.userAgent.includes("iPad");return e||t}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el),document.documentElement.scrollTop||document.body.scrollTop})}},Bh={};var TI=ve(II,EI,xI,!1,_I,"37f0c2ca",null,null);function _I(e){for(let t in Bh)this[t]=Bh[t]}const Rh=function(){return TI.exports}();var NI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"sign-container",style:e.setDynamicVars},[i("div",{staticClass:"canvas-container"},[e.paths.length==0&&e.currentPath.length==0?i("div",{staticClass:"tips"},[e._v("\u8BF7\u5728\u6B64\u533A\u57DF\u7B7E\u5B57")]):e._e(),i("canvas",{ref:"canvasRef",class:{"uni-canvas-style":e.isUniCanvas()},attrs:{id:"canvas-id","canvas-id":"canvas-id"},on:{touchmove:e.draw,touchstart:e.startDrawing,touchend:e.finishDrawing}})]),i("div",{staticClass:"history"},[i("div",{staticClass:"img-grid",on:{click:function(n){return e.useHistory(0)}}},[e.historyPics[0]?i("img",{attrs:{src:e.historyPics[0]?e.historyPics[0].url:"",fit:"scale-down"}}):e._e()]),i("div",{staticClass:"img-grid",on:{click:function(n){return e.useHistory(1)}}},[e.historyPics[1]&&e.historyPics[1].url?i("img",{attrs:{src:e.historyPics[1].url,fit:"scale-down"}}):e._e()]),i("div",{staticClass:"img-grid",staticStyle:{"margin-right":"10rpx"},on:{click:function(n){return e.useHistory(2)}}},[e.historyPics[2]&&e.historyPics[2].url?i("img",{attrs:{src:e.historyPics[2].url,fit:"scale-down"}}):e._e()])]),i("div",{staticClass:"actions-area"},[i("button",{staticClass:"btns-common cmf-btn",on:{click:e.confirmSave}},[e._v("\u786E\u8BA4")]),i("button",{staticClass:"btns-common",on:{click:e.cancelSign}},[e._v("\u8FD4\u56DE")]),i("button",{staticClass:"btns-common",on:{click:e.undo}},[e._v("\u64A4\u9500")]),i("button",{staticClass:"btns-common",on:{click:e.clearCanvas}},[e._v("\u6E05\u7A7A")])]),i("signDrawer",{ref:"TopPopupSign",attrs:{visible:e.confirmVisible,titleText:"",isDrawer:!1,isTips:!0,context:"\u63D0\u4EA4\u4E4B\u540E\u5C06\u4E0D\u80FD\u518D\u4FEE\u6539,\u786E\u8BA4\u8981\u63D0\u4EA4\u7B7E\u540D\u5417?",comfig:e.saveSignature},on:{"update:visible":function(n){return e.confirmVisible=n}}})],1)},kI=[];const jT="",SI={props:{request:{type:Function,default:()=>{}}},components:{signDrawer:Rh},data(){return{ctx:null,signatureImage:"",actionHeight:0,historyHeight:0,isDrawing:!1,paths:[],currentPath:[],historyPics:[],savaClock:!1,confirmVisible:!1}},methods:{startDrawing(e){if(this.$refs.canvasRef.getContext){this.isDrawing=!0,this.currentPath=[];const t=this.$refs.canvasRef.getBoundingClientRect(),i=(e.touches[0].clientX-t.left)*(this.$refs.canvasRef.width/t.width)/window.devicePixelRatio,n=(e.touches[0].clientY-t.top)*(this.$refs.canvasRef.height/t.height)/window.devicePixelRatio;this.ctx.beginPath(),this.ctx.moveTo(i,n),this.currentPath.push({x:i,y:n})}else this.isDrawing=!0,this.currentPath=[],this.currentPath.push({x:e.touches[0].x,y:e.touches[0].y})},draw(e){if(!!this.isDrawing)if(this.$refs.canvasRef.getContext&&this.currentPath.length>0){const t=this.$refs.canvasRef.getBoundingClientRect(),i=(e.touches[0].clientX-t.left)*(this.$refs.canvasRef.width/t.width)/window.devicePixelRatio,n=(e.touches[0].clientY-t.top)*(this.$refs.canvasRef.height/t.height)/window.devicePixelRatio;this.ctx.lineWidth=3,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.strokeStyle="#000000",this.ctx.imageSmoothingEnabled=!0,this.ctx.imageSmoothingQuality="high",this.$refs.canvasRef.style.imageRendering="auto",this.ctx.lineTo(i,n),this.ctx.stroke(),this.currentPath.push({x:i,y:n})}else this.currentPath.length>0&&(this.currentPath.push({x:e.touches[0].x,y:e.touches[0].y}),this.ctx.moveTo(this.currentPath[this.currentPath.length-2].x,this.currentPath[this.currentPath.length-2].y),this.ctx.lineTo(this.currentPath[this.currentPath.length-1].x,this.currentPath[this.currentPath.length-1].y),this.ctx.setLineWidth(3),this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.setStrokeStyle("#000"),this.ctx.stroke(),this.ctx.draw(!0))},undo(){if(this.$refs.canvasRef.getContext){this.paths.pop(),this.ctx.clearRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height),this.ctx.fillStyle="#fff",this.ctx.fillRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height);for(let e of this.paths)for(let t=0;t<e.length-1;t++){const{x:i,y:n}=e[t];t===0?(this.ctx.beginPath(),this.ctx.moveTo(i,n)):(this.ctx.lineTo(i,n),this.ctx.stroke())}}else if(this.paths.length>0){this.paths.pop(),this.ctx.clearRect(0,0,this.$refs.canvasRef.$el.offsetWidth,this.$refs.canvasRef.$el.offsetHeight),this.ctx.draw(!0);for(let e of this.paths)for(let t=0;t<e.length-1;t++)this.ctx.moveTo(e[t].x,e[t].y),this.ctx.lineTo(e[t+1].x,e[t+1].y),this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.setLineWidth(4),this.ctx.setStrokeStyle("#000"),this.ctx.stroke(),this.ctx.draw(!0);this.ctx.draw(!0)}this.currentPath=[]},finishDrawing(e){this.paths.push(this.currentPath),this.currentPath=[],this.isDrawing=!1},clearCanvas(){var e,t;(t=(e=this.$refs)==null?void 0:e.canvasRef)!=null&&t.getContext?(this.ctx.clearRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height),this.ctx.fillStyle="#fff",this.ctx.fillRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height),this.signatureImage="",this.paths=[]):(this.ctx.clearRect(0,0,this.$refs.canvasRef.$el.offsetWidth,this.$refs.canvasRef.$el.offsetHeight),this.ctx.draw(!0),this.signatureImage="",this.paths=[]),this.currentPath=[],this.$emit("saveSignature","",!1)},cancelSign(){this.clearCanvas(),this.$emit("close")},fixAccuracy(e,t){const i=new Blob([e],{type:"text/plain"}),r=new File([i],"text.txt").size/1024;if(r<=64){const a=document.getElementById("canvas-id");return this.getRotatedDataURL(a,-90,t)}else{if(r>300)return null;{let a,o;if(t<.005)return null;if(t-.05>0){a=t-.05;const l=document.getElementById("canvas-id");return o=this.getRotatedDataURL(l,-90,a),this.fixAccuracy(o,a)}else{a=t/2;const l=document.getElementById("canvas-id");return o=this.getRotatedDataURL(l,-90,a),this.fixAccuracy(o,a)}}}},confirmSave(){if(this.paths.length==0){this.$emit("validateFail","\u8BF7\u7B7E\u5B57!");return}this.confirmVisible=!0},saveSignature(){if(this.confirmVisible=!1,this.savaClock)return;this.savaClock=!0;let e=this;if(this.$refs.canvasRef.getContext){let t=.6;const i=document.getElementById("canvas-id");return this.getRotatedDataURL(i,-90,t),!0}else uni.canvasToTempFilePath({canvasId:"canvas-id",success(t){e.signatureImage=t.tempFilePath;let i=JSON.parse(localStorage.getItem("signaturesArr"))||[];i.unshift(this.signatureImage),this.$set(this,"historyPics",i.slice(0,3)),localStorage.setItem("signaturesArr",JSON.stringify(this.historyPics)),e.$emit("saveSignature",e.signatureImage)}},e)},isUniCanvas(){var e;return!((e=this.$refs.canvasRef)!=null&&e.getContext)},disableWeChatScroll(e){e.preventDefault()},useHistory(e){this.historyPics[e]&&this.$emit("saveSignature",this.historyPics[e],!0)},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},getRotatedDataURL(e,t,i){let n=e.width/window.devicePixelRatio,s=e.height/window.devicePixelRatio,r=t*Math.PI/180,a=Math.max(n*Math.abs(Math.cos(r)),s*Math.abs(Math.sin(r))),o=Math.max(n*Math.abs(Math.sin(r)),s*Math.abs(Math.cos(r)));const l=document.createElement("canvas"),p=l.getContext("2d");l.width=a,l.height=o,p.translate(a/2,o/2),p.rotate(r),p.drawImage(e,-n/2,-s/2,n,s),l.toBlob(h=>{this.uploadImage(h)},"image/png",.95)},async uploadImage(e,t){this.loading=!0;const i=new FormData;i.append("file",e,t||`signature-${Date.now()}.png`);const n=await this.request.post("/file/upload",i,{headers:{"Content-Type":"multipart/form-data"}});if(this.loading=!1,!n.success)return;let s=JSON.parse(localStorage.getItem("signaturesArr"))||[];s.unshift(n.data),this.$set(this,"historyPics",s.slice(0,3)),localStorage.setItem("signaturesArr",JSON.stringify(this.historyPics)),this.$emit("saveSignature",n.data,!0)}},computed:{setDynamicVars(){return{"--action-height":`${this.historyHeight}px`}}},mounted(){var e;if(this.historyHeight=(e=document.querySelector(".history"))==null?void 0:e.offsetHeight,this.$refs.canvasRef.getContext){let t=document.querySelector(".canvas-container");if(t){let i=document.getElementById("canvas-id");const n=t.offsetWidth,s=t.offsetHeight-this.actionHeight-this.historyHeight;i.style.width=`${n}px`,i.style.height=`${s}px`,i.width=n*window.devicePixelRatio,i.height=s*window.devicePixelRatio,this.ctx=this.$refs.canvasRef.getContext("2d"),this.ctx.scale(window.devicePixelRatio,window.devicePixelRatio),this.ctx.fillStyle="#fff",this.ctx.fillRect(0,0,i.width,i.height)}}else{this.ctx=uni.createCanvasContext("canvas-id",this);const t=uni.getSystemInfoSync().pixelRatio;this.ctx.scale(t,t)}document.addEventListener("touchmove",this.disableWeChatScroll,{passive:!1}),localStorage.getItem("signaturesArr")?this.historyPics=JSON.parse(localStorage.getItem("signaturesArr")):this.historyPics=[]},beforeDestroy(){document.removeEventListener("touchmove",this.disableWeChatScroll)}},Lh={};var PI=ve(SI,NI,kI,!1,DI,"58762489",null,null);function DI(e){for(let t in Lh)this[t]=Lh[t]}const OI=function(){return PI.exports}();var MI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-popup-content"},[e.param.ProcessInsObj&&e.param.ProcessInsObj.processDefId!="obj_94014ede99b6495d8f6d5977314faa15"?i("div",{staticClass:"process-popup-content-msg"},[e.param.isQuickReply?i("div",{staticClass:"process-pc-label"},[e._v("\u5FEB\u6377\u56DE\u590D")]):e._e(),e.param.isQuickReply?i("div",{staticClass:"process-pc-value",staticStyle:{display:"flex"}},[i("div",{staticClass:"process-radio",staticStyle:{width:"100%"}},[e.param.isDocument?e._l(e.msgCheckList,function(n){return i("div",{staticClass:"process-radio-item",class:n==e.commentMsg?"process-radio-item--check":"",on:{click:function(){return e.commentMsg=n}}},[i("span"),e._v(" "+e._s(n)+" ")])}):e._l(e.msgCheckListS,function(n){return i("div",{staticClass:"process-radio-item",class:n==e.commentMsg?"process-radio-item--check":"",on:{click:function(){return e.commentMsg=n}}},[i("span"),e._v(" "+e._s(n)+" ")])}),e.param.isMsg?i("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px","margin-left":"auto"},on:{click:function(n){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")]):e._e()],2)]):e._e(),e.param.isMsg&&!e.param.isQuickReply?i("div",[i("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(n){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),i("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u610F\u89C1 "),e.param.isRequire?i("span",{staticClass:"process-pc-label--re"},[e._v("*")]):e._e()]),i("div",{staticClass:"process-pc-value"},[i("div",{staticClass:"process-popup-textarea"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(n){n.target.composing||(e.commentMsg=n.target.value)}}}),i("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?i("div",{staticClass:"msg-btn"},[i("span",{staticClass:"msg-btn-click",on:{click:function(n){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]):e._e(),i("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length==1&&e.nextNodeData[0].nodeType=="endEvent"?i("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]):e.nextNodeData&&e.nextNodeData.nodeType=="endEvent"?i("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]):e.param.ProcessInsObj.taskParentId?e._e():i("TreePerson",{ref:"TreePersonRef",attrs:{items:e.nextNodeData,nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})],1),e._t("completeSlot"),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(n){return e.visible=n}}},[i("div",{staticStyle:{height:"100%"}},[e.visible?i("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible},on:{"update:visible":function(n){e.visible=n},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(n){return e.visibleListMsg=n}}},[i("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),i("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(n){return e.visibleMsgComfig=n}}}),e.labels=="1"?i("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),i("signDrawer",{ref:"TopPopupSign",attrs:{visible:e.signVisible,titleText:"\u7B7E\u5B57",isDrawer:!0,width:"100vw"},on:{"update:visible":function(n){return e.signVisible=n}}},[i("div",{staticStyle:{height:"100%"}},[e.signVisible?i("TopSign",{attrs:{request:e.param.request},on:{saveSignature:e.handleSignature,validateFail:e.noticeFail,close:e.handleClose}}):e._e()],1)])],2)},BI=[];const UT="",RI={name:"complete",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,attchViews:Yi,TopPopup:at,departPerson:Ht.departPerson,MsgList:ds,TreePerson:wI,TopSign:OI,signDrawer:Rh},computed:{check(){return sl},checkS(){return uI},isSelectPerson(){if(this.pureTip=!1,this.nextNodeData,this.taskNode,this.multiNodeParticipant,this.$refs.TreePersonRef,this.param,Array.isArray(this.nextNodeData)&&this.nextNodeData[0].nodeType!="endEvent"){let e=this.param.selChildrenItems||{},t=[];if(Object.keys(e).filter(n=>n.startsWith("Activity")).forEach(n=>{t=t.concat(e[n])}),t.length==0&&Object.values(e).forEach(n=>{Array.isArray(n)&&n.length>0&&n.forEach(s=>{(s.id||"").startsWith("Activity")&&(t=t.concat(s))})}),t.length>0){let n="";const s=t.every(r=>{let a=this.multiNodeParticipant[r.id];a=(a||[]).filter(l=>l);const o=a&&a.length>0;return o||(n=r),o});return s?!1:n.name}else if(this.nextNodeData[0].nodeType=="exclusiveGateway"&&this.nextNodeData[0].branches&&this.nextNodeData[0].branches.length==1){const n=this.findUserTaskNode(this.nextNodeData[0].branches[0]);let s=(this.multiNodeParticipant[n.id]||[]).filter(a=>a);const r=s&&s.length>0;return this.nextNodeData[0].branches[0],r?!1:n.name}else if(this.nextNodeData[0].nodeType=="exclusiveGateway"&&this.nextNodeData[0].branches&&this.nextNodeData[0].branches.length>1){const n=this.$refs.TreePersonRef.childrenItems||null;if(n&&n.length>0){let s="";return n.every(a=>{const o=this.multiNodeParticipant[a.id]&&this.multiNodeParticipant[a.id].length>0;return o||(s=a),o})?!1:s.name}else return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"}else if(this.nextNodeData[0].nodeType=="userTask"){let n=(this.multiNodeParticipant[this.nextNodeData[0].id]||[]).filter(s=>s);return n&&n.length>0?!1:this.nextNodeData[0].name}}else return!1;if(this.nextNodeData.nodeType!="endEvent"){let e=this.param.selChildrenItems||{},t=[];if(Object.keys(e).filter(n=>n.startsWith("Activity")).forEach(n=>{t=t.concat(e[n])}),t.length==0&&Object.values(e).forEach(n=>{Array.isArray(n)&&n.length>0&&n.forEach(s=>{(s.id||"").startsWith("Activity")&&(t=t.concat(s))})}),t.length>0){let n="";const s=t.every(r=>{let a=this.multiNodeParticipant[r.id];a=(a||[]).filter(l=>l);const o=a&&a.length>0;return o||(n=r),o});return s?!1:n.name}else if(this.nextNodeData.nodeType=="exclusiveGateway"&&this.nextNodeData.branches&&this.nextNodeData.branches.length==1){const n=this.findUserTaskNode(this.nextNodeData.branches[0]);let s=(this.multiNodeParticipant[n.id]||[]).filter(a=>a);const r=s&&s.length>0;return this.nextNodeData.branches[0],r?!1:n.name}else if(this.nextNodeData.nodeType=="exclusiveGateway"&&this.nextNodeData.branches&&this.nextNodeData.branches.length>1){const n=this.$refs.TreePersonRef.childrenItems||null;if(n&&n.length>0){let s="";return n.every(a=>{const o=this.multiNodeParticipant[a.id]&&this.multiNodeParticipant[a.id].length>0;return o||(s=a),o})?!1:s.name}else return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"}else if(this.nextNodeData.nodeType=="userTask"){let n=(this.multiNodeParticipant[this.nextNodeData.id]||[]).filter(s=>s);return n&&n.length>0?!1:this.nextNodeData.name}}else return!1;if(Array.isArray(this.nextNodeData)&&this.nextNodeData.length==1&&this.nextNodeData[0].userTaskModelDTO&&this.taskNode&&this.taskNode.length>0&&this.taskNode[0].taskState!=4&&this.taskNode[0].taskState!=11){let e=this.nextNodeData[0].userTaskModelDTO.humanPerformer.name;if(e!="\u56FA\u5B9A\u8D26\u6237"&&e!="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"&&JSON.stringify(this.multiNodeParticipant)=="{}")return this.nextNodeData[0].userTaskModelDTO.name}return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"},signRequired(){return!!this.param.extendedProperties.find(t=>t.name=="signature")}},data(){return{pureTip:!1,showFile:!1,attachRule:{limit:0,required:!1},partNodeArr:{},commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partObjId:[],partNode:{},canCheck:!0,radioCheck:"",radioCheckChild:[],radioCheckName:"",radioCheckNameList:[],radioCheckNode:[],radioCheckNodeList:[],partList:[],gateVars:{},personMake:[],personMakeList:{},visibleListMsg:!1,visibleMsgComfig:!1,msgCheck:"",msgCheckList:["\u540C\u610F","\u5982\u62DF","\u5DF2\u9605"],msgCheckListS:["\u540C\u610F","\u5DF2\u9605"],actionName:"",partNodeS:[],makeType:"",digitalSignature:"",signVisible:!1}},watch:{"param.nodeLoading":{handler(e,t){e||(this.param,this.nextNodeData=this.param.nextNodeData,this.nextNodeData&&this.nextNodeData.length?(this.nextNodeData.map((i,n)=>{i.nodeType!=="endEvent"&&(i.userTaskModelDTO||(i.userTaskModelDTO={name:i.name,humanPerformer:{name:i.humanPerformerName},routeTxt:i.routeTxt,participantList:i.participantList}),i.userTaskModelDTO&&i.userTaskModelDTO.participantList&&i.userTaskModelDTO.participantList.length&&i.userTaskModelDTO.participantList.map(s=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(s.id)||this.multiNodeParticipant[i.id].push(s.id),this.partNode[i.id].includes(s.name)||this.partNode[i.id].push(s.name)}),(i.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||i.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(i.id))}),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(i=>{i.code==200&&(this.personMakeList=i.data)})):this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map((i,n)=>{i.nodeType!=="endEvent"&&i.participantList&&i.participantList.length&&i.participantList.map(s=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(s.id)||this.multiNodeParticipant[i.id].push(s.id),this.partNode[i.id].includes(s.name)||this.partNode[i.id].push(s.name)})}))}},"param.visible":{handler(e,t){this.nextNodeData=this.param.nextNodeData,this.taskNode=this.param.taskNode,this.outGatewayUserTaskModel=this.param.outGatewayUserTaskModel,this.actionName=this.param.actionName,this.attachShow(),this.showFile,this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map(i=>{i.type!=="endEvent"&&(i.userTaskModelDTO={name:i.name,humanPerformer:{name:i.humanPerformerName},routeTxt:i.routeTxt,participantList:i.participantList},i.humanPerformer={name:i.humanPerformerName})}),this.nextNodeData&&this.nextNodeData.length?(this.nextNodeData.map((i,n)=>{i.nodeType!=="endEvent"&&(i.userTaskModelDTO||(i.userTaskModelDTO={name:i.name,humanPerformer:{name:i.humanPerformerName},routeTxt:i.routeTxt,participantList:i.participantList}),i.userTaskModelDTO&&i.userTaskModelDTO.participantList&&i.userTaskModelDTO.participantList.length&&i.userTaskModelDTO.participantList.map(s=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(s.id)||this.multiNodeParticipant[i.id].push(s.id),this.partNode[i.id].includes(s.name)||this.partNode[i.id].push(s.name)}),(i.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||i.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(i.id))}),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(i=>{i.code==200&&(this.personMakeList=i.data)})):this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map((i,n)=>{i.nodeType!=="endEvent"&&i.participantList&&i.participantList.length&&i.participantList.map(s=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(s.id)||this.multiNodeParticipant[i.id].push(s.id),this.partNode[i.id].includes(s.name)||this.partNode[i.id].push(s.name)})})},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{findUserTaskNode(e){return e?e.nodeInfoDTO&&e.nodeInfoDTO.nodeType!="userTask"?this.findUserTaskNode(e.nodeInfoDTO.branches[0]):e.nodeInfoDTO?e.nodeInfoDTO:e:{}},handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth/user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleSaveNode(e){this.makeType=="InclusiveGatewayModel"?(this.radioCheckNameList.includes(e.id)?this.radioCheckNameList.splice(this.radioCheckNameList.indexOf(e.id),1):(this.radioCheckNameList.push(e.id),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue),this.gateVars[e.itemName]=e.compareValue):(this.radioCheckNameList=[],this.radioCheckNodeList=[],this.radioCheckNameList.push(e.id),e.childNode&&e.childNode.length&&(this.radioCheckNodeList=e.childNode),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue,this.gateVars[e.itemName]=e.compareValue)},handleSaveNodeS(e){this.makeType=="InclusiveGatewayModel"?this.radioCheckNode.includes(e.id)?this.radioCheckNode.splice(this.radioCheckNode.indexOf(e.id),1):this.radioCheckNode.push(e.id):this.radioCheckNode&&this.radioCheckNode.length?this.radioCheckNode=[]:(this.radioCheckNode.push(e.id),e.childNode&&e.childNode.length&&this.radioCheckNodeList.push(e.childNode))},forRadioChild(e,t){e.map((i,n)=>{i.childNode&&i.childNode.length?this.forRadioChild(i.childNode,!0):t&&this.radioCheckChild.push(i)})},async handleNode(e){this.makeType=e.type,this.radioCheckNameList=[],this.radioCheck=e.id,this.radioCheckName=e.nodeName,this.radioCheckChild=e.childNode&&e.childNode.length?e.childNode:[e],this.radioCheckChild&&this.radioCheckChild.length&&this.radioCheckChild.map(t=>{t.participantList&&t.participantList.length?t.participantList.map(i=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.multiNodeParticipant[t.id].includes(i.id)||this.multiNodeParticipant[t.id].push(i.id),this.partNode[t.id].includes(i.name)||this.partNode[t.id].push(i.name)}):this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[t.id]}).then(i=>{i.code==200&&(this.partNodeS=[],this.partNodeS.push(i.data[t.id]))})}),(!this.radioCheckChild[0].incomingConditionItemList||!this.radioCheckChild[0].incomingConditionItemList.length)&&e.incomingConditionItemList&&e.incomingConditionItemList.length&&(this.radioCheckChild[0].incomingConditionItemList=e.incomingConditionItemList),this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&(this.radioCheckChild&&this.radioCheckChild.length?(this.gateVars[this.radioCheckChild[0].incomingConditionItemList[0].itemName]=this.radioCheckChild[0].incomingConditionItemList[0].compareValue,this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue):this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue)},handleOpenPopup(e){if(this.visible=!0,this.partObjId=e.id,this.nextNodeData&&this.nextNodeData.length?e={...e,...e.userTaskModelDTO}:e.humanPerformer||(e={...e,humanPerformer:{name:e.humanPerformerName}}),e.humanPerformer.name=="\u56FA\u5B9A\u5355\u4F4D"){let t,i=[];e.routeTxt.companyIds.map((n,s)=>{t=n.name}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((n,s)=>{i.push({type:3,id:n})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:t,checkedArray:i}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"){let t,i=[],n=[];e.routeTxt.departmentIds.forEach((s,r)=>{e.routeTxt.departmentIds.length>1?i.push(s.rangeId):t=s.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].forEach((s,r)=>{n.push({type:3,id:s,deptId:t})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCodeArray:i,checkedArray:n}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCode:t,checkedArray:n}}else{let t=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((i,n)=>{t.push({type:3,id:i})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:t}}},handleOpenMsg(){this.visibleListMsg=!0},async confirm(){this.signRequired?this.signConfirm():this.commonConfirm()},async commonConfirm(){if(this.param.ProcessInsObj.processDefId=="obj_94014ede99b6495d8f6d5977314faa15"&&(this.commentMsg="\u540C\u610F"),!this.commentMsg&&this.param.isRequire){this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success");return}if(this.requires&&this.attchLists.length<=0){this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!",!1,"success");return}if(this.isSelectPerson!==!1&&this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId){this.handleTips(this.pureTip?this.isSelectPerson:"\u8BF7\u9009\u62E9["+this.isSelectPerson+"]\u5BA1\u6279\u4EBA!",!1,"success");return}this.commentMsg||(this.commentMsg=" ");let e={};if(this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId)if(this.radioCheckNameList&&this.radioCheckNameList.length){if(this.radioCheckChild[0].type!=="EndEventModel"){let i=0;if(this.radioCheckNameList.map((n,s)=>{(!this.multiNodeParticipant[n]||!this.multiNodeParticipant[n].length)&&this.radioCheckChild.map((r,a)=>{r.id==n&&(r.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"||r.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&(!r.childNode||!r.childNode.length?i+=1:this.radioCheckNode.map((o,l)=>{(!this.multiNodeParticipant[o]||!this.multiNodeParticipant[o].length)&&(i+=1),e[o]=this.multiNodeParticipant[o]}))}),e[n]=this.multiNodeParticipant[n]}),i>0){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}}}else{if(this.multiNodeParticipant[this.partObjId]&&!this.multiNodeParticipant[this.partObjId].length){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}e=this.multiNodeParticipant}if(this.signRequired){this.signVisible=!0;return}if(this.param.beforeFunction&&!await this.param.beforeFunction())return;(this.param.incomingConditionItemList||[]).forEach(i=>{let n=this.param.vars||this.gateVars||{};n[i.itemName]||(n[i.itemName]="")}),this.handleTips("",!0,"loading");let t=[];if(this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId){const i=Array.isArray(this.param.nextNodeData)?this.param.nextNodeData[0]:this.param.nextNodeData;i.setPersonnel?t=i.assignees:t=(this.partNodeArr[i.id]||[]).map(o=>({id:o.id,name:o.name})),Object.keys(e).forEach(o=>{Array.isArray(e[o])&&(e[o]=e[o].filter(l=>l)),(!e[o]||Array.isArray(e[o])&&e[o].length<=0)&&delete e[o]});let n=i&&i.nodeType!="endEvent"&&(!i.branches||i.branches.length<=0),s=i&&i.nodeType!="endEvent"&&i.branches&&i.branches.length==1&&i.branches[0].nodeInfoDTO&&i.branches[0].nodeInfoDTO.nodeType!="endEvent",r=i&&i.nodeType!="endEvent"&&i.branches&&i.branches.length==1&&!i.branches[0].nodeInfoDTO&&i.branches[0].nodeType!="endEvent";if((n||s||r)&&!Object.keys(e).length){let l={};return n?l=i:s?l=i.branches[0].nodeInfoDTO:r&&(l=i.branches[0]),this.handleTips(l.nodeType?"\u8BF7\u9009\u62E9["+l.name+"]\u5BA1\u6279\u4EBA!":"\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA",!0,"error"),!1}Date.now()&&(this.param.processInstId,this.param.actionComplete,this.commentMsg,this.param.taskInstId,this.param.vars||this.gateVars,this.attchLists)}await this.param.request.post("/bladex/blade-workflow/tis/complete",{pass:!0,assignees:t,processInstanceId:this.param.processInstId,actionName:this.param.actionComplete,commentMsg:this.commentMsg,comment:this.commentMsg,taskId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:e,attachment:this.attchLists}).then(i=>{i.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(i.msg,!0,"error")})},async signConfirm(e=!0){if(this.param.ProcessInsObj.processDefId=="obj_94014ede99b6495d8f6d5977314faa15"&&(this.commentMsg="\u540C\u610F"),!this.commentMsg&&this.param.isRequire){this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success");return}if(this.requires&&this.attchLists.length<=0){this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!",!1,"success");return}if(this.isSelectPerson!==!1&&this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId){this.handleTips(this.pureTip?this.isSelectPerson:"\u8BF7\u9009\u62E9["+this.isSelectPerson+"]\u5BA1\u6279\u4EBA!",!1,"success");return}this.commentMsg||(this.commentMsg=" ");let t={};if(this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId)if(this.radioCheckNameList&&this.radioCheckNameList.length){if(this.radioCheckChild[0].type!=="EndEventModel"){let n=0;if(this.radioCheckNameList.map((s,r)=>{(!this.multiNodeParticipant[s]||!this.multiNodeParticipant[s].length)&&this.radioCheckChild.map((a,o)=>{a.id==s&&(a.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"||a.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&(!a.childNode||!a.childNode.length?n+=1:this.radioCheckNode.map((l,p)=>{(!this.multiNodeParticipant[l]||!this.multiNodeParticipant[l].length)&&(n+=1),t[l]=this.multiNodeParticipant[l]}))}),t[s]=this.multiNodeParticipant[s]}),n>0){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}}}else{if(this.multiNodeParticipant[this.partObjId]&&!this.multiNodeParticipant[this.partObjId].length){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}t=this.multiNodeParticipant}if(e){this.signVisible=!0;return}if(!this.digitalSignature){this.handleTips("\u8BF7\u7B7E\u5B57!",!1,"success");return}if(this.param.beforeFunction&&!await this.param.beforeFunction())return;this.handleTips("",!0,"loading"),this.signVisible=(!1)(this.param.incomingConditionItemList||[]).forEach(n=>{let s=this.param.vars||this.gateVars||{};s[n.itemName]||(s[n.itemName]="")});let i=[];if(this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId){const n=Array.isArray(this.param.nextNodeData)?this.param.nextNodeData[0]:this.param.nextNodeData;n.setPersonnel?i=n.assignees:i=(this.partNodeArr[n.id]||[]).map(l=>({id:l.id,name:l.name})),Object.keys(t).forEach(l=>{Array.isArray(t[l])&&(t[l]=t[l].filter(p=>p)),(!t[l]||Array.isArray(t[l])&&t[l].length<=0)&&delete t[l]});let s=n&&n.nodeType!="endEvent"&&(!n.branches||n.branches.length<=0),r=n&&n.nodeType!="endEvent"&&n.branches&&n.branches.length==1&&n.branches[0].nodeInfoDTO&&n.branches[0].nodeInfoDTO.nodeType!="endEvent",a=n&&n.nodeType!="endEvent"&&n.branches&&n.branches.length==1&&!n.branches[0].nodeInfoDTO&&n.branches[0].nodeType!="endEvent";if((s||r||a)&&!Object.keys(t).length){let p={};return s?p=n:r?p=n.branches[0].nodeInfoDTO:a&&(p=n.branches[0]),this.handleTips(p.nodeType?"\u8BF7\u9009\u62E9["+p.name+"]\u5BA1\u6279\u4EBA!":"\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA",!0,"error"),!1}}await this.param.request.post("/bladex/blade-workflow/tis/complete",{pass:!0,assignees:i,processInstanceId:this.param.processInstId,actionName:this.param.actionComplete,commentMsg:this.commentMsg,comment:this.commentMsg,taskId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:t,digitalSignature:this.digitalSignature,attachment:this.attchLists}).then(n=>{n.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(n.msg,!0,"error")})},attachShow(e="\u529E\u7406"){const t=(this.param||{}).extendedProperties||[];let i=!1,n,s="";n=t.find(a=>a.name=="completeButtonAnnex"),s=n?n.value:"",s&&(i=!0);let r="";if(typeof s!="string"&&s!=null&&s.map(a=>{a.indexOf(this.operationLabel)!=-1&&(i=!0,r=a)}),r&&(s=r),i){const a=s.split(":");this.attachRule.required=a[1]=="true",this.attachRule.limit=a[2]==-1?999:a[2],this.otherList=s;let o=this.otherList.split(":");this.limit=o[2],this.requires=JSON.parse(o[1]),this.labels=o[0]}return this.labels,this.limit,i},makeDelegateTaskButtonAnnex(){},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name)})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((i,n)=>{i.size=i.fileSize,i.format=i.name.substring(i.name.lastIndexOf(".")+1),i.uploadTime=i.createTime,i.processInstId=this.param.processInstId,i.taskInstId=this.param.taskInstId,i.name=i.name});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("complete")},onMultiNode(e){this.multiNodeParticipant=e},onMultiNodeObj(e){this.partNodeArr=e},onVars(e){this.gateVars=e},handleSignature(e,t){this.digitalSignature=e,t&&(this.signVisible=!1,this.signConfirm(!1))},noticeFail(e){this.handleTips(e,!1,"success")},handleClose(){this.signVisible=!1}}},Fh={};var LI=ve(RI,MI,BI,!1,FI,"42da1044",null,null);function FI(e){for(let t in Fh)this[t]=Fh[t]}const Vh=function(){return LI.exports}();var VI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-popup-content"},[i("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?i("div",[i("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(n){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),i("div",{staticClass:"process-pc-value"},[i("div",{staticClass:"process-popup-textarea"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(n){n.target.composing||(e.commentMsg=n.target.value)}}}),i("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?i("div",{staticClass:"msg-btn"},[i("span",{staticClass:"msg-btn-click",on:{click:function(n){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),e.taskNode&&e.taskNode.length>0&&e.taskNode[0].taskState!=4?i("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(n){var s,r;return[e.isOption(n==null||(s=n.userTaskModelDTO)===null||s===void 0||(r=s.humanPerformer)===null||r===void 0?void 0:r.name)?[i("div",[e._v(" "+e._s(n.userTaskModelDTO.name)+" "),i("br"),e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:function(a){return e.handleOpenPopup(n.id)}}},[i("div",{staticClass:"process-pc-value--people"},[e.partNode[n.id]&&e.partNode[n.id].length?i("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[n.id],function(a,o){return i("span",[e._v(" "+e._s(o==0?a:`,${a}`)+" ")])}),0):i("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[i("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]:e._e()]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(n){return[e.isOption(n.humanPerformerName)?[i("div",{staticStyle:{"font-size":"15px"}},[e._v(" "+e._s(n.name)+" ")]),i("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:e.handleOpenPopup}},[i("div",{staticClass:"process-pc-value--people"},[e._v(" "+e._s(234)+" ")])])]:e._e()]})]:e._e()],2):e._e(),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(n){return e.visible=n}}},[i("div",{staticStyle:{height:"100%"}},[e.visible?i("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(n){e.visible=n},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="\u62D2\u7EDD"?i("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(n){return e.visibleListMsg=n}}},[i("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),i("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(n){return e.visibleMsgComfig=n}}})],1)},jI=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-pc-label"},[e._v(" \u62D2\u7EDD\u7406\u7531\uFF1A "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const QT="",UI={name:"cancel",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,attchViews:Yi,TopPopup:at,departPerson:Ht.departPerson,MsgList:ds},watch:{param:{async handler(e,t){this.entity.checkedArray=[],this.actionName=e.actionName},immediate:!0,deep:!0}},data(){return{commentMsg:"",actionName:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[770],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},visibleListMsg:!1,visibleMsgComfig:!1}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){if(!this.commentMsg)return this.handleTips("\u8BF7\u8F93\u5165\u62D2\u7EDD\u7406\u7531!",!1,"success"),!1;this.handleTips("",!0,"loading"),await this.param.request.post("/bladex/blade-workflow/tis/complete",{pass:!1,assignees:[],processInstanceId:this.param.processInstId,commentMsg:this.commentMsg,comment:this.commentMsg||" ",taskId:this.param.taskInstId}).then(e=>{e.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),window.top.postMessage("success","*"),this.commentMsg=""):this.handleTips(e.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,id:t.id,subjectId:t.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((i,n)=>{i.size=i.fileSize,i.format=i.originFileName.substring(i.originFileName.lastIndexOf(".")+1),i.uploadTime=i.createTime,i.processInstId=this.param.processInstId,i.taskInstId=this.param.taskInstId,i.name=i.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u62D2\u7EDD")}}},jh={};var QI=ve(UI,VI,jI,!1,GI,"3be26d49",null,null);function GI(e){for(let t in jh)this[t]=jh[t]}const qI=function(){return QI.exports}();var JI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-popup-content"},[i("div",{staticClass:"process-popup-content-msg"},[e._m(0),i("div",{staticClass:"process-pc-value",staticStyle:{display:"inline-block",width:"50%"}},[i("TopDownSelect",{attrs:{option:e.option,optionStyle:"width:calc(100% - 40px);left:20px;",maskShow:!1,border:""},on:{change:e.handleChange}})],1),e._m(1),i("div",{staticClass:"process-pc-value"},[i("div",{staticClass:"process-popup-textarea"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(n){n.target.composing||(e.commentMsg=n.target.value)}}}),i("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])])])]),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(n){return e.visibleListMsg=n}}},[i("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),i("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(n){return e.visibleMsgComfig=n}}}),e.labels=="\u9000\u56DE"?i("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e()],1)},HI=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-pc-label",staticStyle:{"background-color":"#fff",position:"relative","z-index":"199",display:"inline-block",width:"50%"}},[e._v(" \u9000\u56DE\u8282\u70B9\uFF1A "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-pc-label"},[e._v(" \u9000\u56DE\u7406\u7531\uFF1A "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const GT="",KI={name:"backNode",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,attchViews:Yi,TopPopup:at,departPerson:Ht.departPerson,TopDownSelect:Ih,MsgList:ds},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},option:[],nodeId:"",actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{async handler(e,t){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.entity.checkedArray=[],this.actionName=e.actionName},immediate:!0,deep:!0}},created(){this.getReturnNode()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},getReturnNode(){this.param.request.get("/bladex/blade-workflow/process/getBackNodes",{params:{taskId:this.param.taskInstId}}).then(e=>{e.code===200&&(this.option=(e.data||[]).map(t=>({...t,name:t.nodeName,id:t.nodeId})).filter(t=>!(t.nodeId||"").includes("startEvent")))})},handleChange(e){this.nodeId=e.id},handleOpenPopup(e){this.visible=!0,this.partObjId=e},confirm(){if(!this.commentMsg)return this.textTips="\u8BF7\u8F93\u5165\u9000\u56DE\u7406\u7531!",this.$refs.topTips.handleOpen(),!1;if(!this.nodeId)return this.textTips="\u8BF7\u9009\u62E9\u9000\u56DE\u8282\u70B9!",this.$refs.topTips.handleOpen(),!1;this.handleTips("",!0,"loading"),this.param.request.post("/bladex/blade-workflow/tis/rollback",{taskInstId:this.param.taskInstId,rollbackReason:this.commentMsg,targetActivityId:this.nodeId}).then(e=>{e.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,id:t.id,subjectId:t.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((i,n)=>{i.size=i.fileSize,i.format=i.originFileName.substring(i.originFileName.lastIndexOf(".")+1),i.uploadTime=i.createTime,i.processInstId=this.param.processInstId,i.taskInstId=this.param.taskInstId,i.name=i.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u9000\u56DE")}}},Uh={};var WI=ve(KI,JI,HI,!1,zI,"0d20c2b4",null,null);function zI(e){for(let t in Uh)this[t]=Uh[t]}const YI=function(){return WI.exports}();var XI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticStyle:{height:"100%"}},[e.param.visible?i("departPerson",e._b({attrs:{isTitle:!1,request:e.param.request},on:{callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e(),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}})],1)},ZI=[];const qT="",$I={name:"ccTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,departPerson:Ht.departPerson},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},actionName:""}},watch:{param:{handler(e,t){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.checkedArray=[],this.entity.source="1",this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){let e="";this.multiNodeParticipant[this.partObjId].map((t,i)=>{i==0?e=t:e=`${e} ${t}`}),await this.param.request.post("/bladex/blade-workflow/tis/createCCTask",{processInstId:this.param.processInstId,taskId:this.param.taskInstId,title:"",participant:e}).then(t=>{t.code==200?(this.$emit("handleClosecctaskTopPopup"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal()):this.handleTips(t.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,id:t.id,subjectId:t.subjectId})}),e&&e.length&&this.confirm()},handleCancel(){},getValues(e){this.attchLists=e},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("ccTask")}}},Qh={};var eT=ve($I,XI,ZI,!1,tT,null,null,null);function tT(e){for(let t in Qh)this[t]=Qh[t]}const iT=function(){return eT.exports}();var nT=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-btns"},[e.process.status=="todo"?[e.getButton("wf_pass")?i("button",{staticClass:"process-button success",attrs:{size:"default",disabled:e.loading},on:{click:function(n){e.$emit("examine",!0,["deleted"].includes(e.process.processIsFinished)?"\u91CD\u65B0\u63D0\u4EA4":e.getButton("wf_pass").name)}}},[["deleted"].includes(e.process.processIsFinished)?i("span",[e._v("\u91CD\u65B0\u63D0\u4EA4")]):i("span",[e._v(e._s(e.getButton("wf_pass").name))])]):e._e(),e.getButton("wf_reject")?i("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(n){e.$emit("examine",!1,(e.backNodes.length>1,e.getButton("wf_reject").name))}}},[e.backNodes.length>1?i("span",[e._v(e._s(e.getButton("wf_reject").name))]):i("span",[e._v(e._s(e.getButton("wf_reject").name))])]):e._e(),e.uid==(e.process.variables||{}).applyUserId?i("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(n){return e.$emit("reminders")}}},[i("span",[e._v("\u50AC\u529E")])]):e._e(),e.getButton("wf_transfer")?i("button",{staticClass:"process-button primary",attrs:{size:"default",disabled:e.loading},on:{click:function(n){e.$emit("user-select",{type:"transfer",checkType:"radio",name:e.getButton("wf_transfer").name})}}},[e._v(e._s(e.getButton("wf_transfer").name))]):e._e(),e.getButton("wf_delegate")?i("button",{staticClass:"process-button warning",attrs:{size:"default",disabled:e.loading},on:{click:function(n){e.$emit("user-select",{type:"delegate",checkType:"radio",name:e.getButton("wf_delegate").name})}}},[e._v(" "+e._s(e.getButton("wf_delegate").name)+" ")]):e._e(),e.getButton("wf_rollback")?i("button",{staticClass:"process-button success",attrs:{size:"default",disabled:e.loading},on:{click:function(n){e.$emit("rollback",e.getButton("wf_rollback").name)}}},[e._v(" "+e._s(e.getButton("wf_rollback").name)+" ")]):e._e(),e.getButton("wf_terminate")?i("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(n){return e.$emit("terminate")}}},[e._v(" "+e._s(e.getButton("wf_terminate").name)+" ")]):e._e(),e.process.isMultiInstance&&e.getButton("wf_add_instance")?i("button",{staticClass:"process-button primary",attrs:{size:"default",disabled:e.loading},on:{click:function(n){e.$emit("user-select",{type:"addInstance",checkType:"checkbox",name:e.getButton("wf_add_instance").name})}}},[e._v(" "+e._s(e.getButton("wf_add_instance").name)+" ")]):e._e(),e.getButton("wf_cctask")?i("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(n){e.$emit("circulate",e.getButton("wf_cctask").name)}}},[i("span",[e._v(e._s(e.getButton("wf_cctask").name))])]):e._e()]:e._e(),e.process.isOwner&&e.process.isReturnable&&!["deleted"].includes(e.process.processIsFinished)?i("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(n){return e.$emit("withdraw","\u64A4\u9500")}}},[e._v(" \u64A4\u9500 ")]):e._e(),e.getButton("wf_print")?i("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(n){return e.$emit("print")}}},[e._v(" "+e._s(e.getButton("wf_print").name)+" ")]):e._e()],2)},sT=[];const JT="",rT={name:"nf-button",components:{TopTips:Nt},props:{uid:{type:String,default:""},loading:{type:Boolean,default:!1},buttonList:{type:Array,default:()=>[]},process:{type:Object,default:()=>({variables:{}})},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{}})},comment:String},data(){return{isCollapse:!0,nodeVisible:!1,nodeForm:{},nodeOption:{column:[{label:"\u8282\u70B9",prop:"nodeId",type:"select",props:{label:"nodeName",value:"nodeId"},span:24,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u56DE\u9000\u8282\u70B9",trigger:"change"}]}]},backNodes:[]}},watch:{process:{handler(e,t){e&&e.taskId&&this.request.get("/bladex/blade-workflow/process/getBackNodes",{params:{taskId:e.taskId}}).then(i=>{const n=i.data;this.backNodes=n})},deep:!0,immediate:!0}},methods:{handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleRollback(){if(!this.comment){this.$message.error("\u8BF7\u586B\u5199\u6279\u590D\u610F\u89C1");return}this.nodeVisible=!0},handleNodeSubmit(){const{nodeId:e}=this.nodeForm;this.$emit("rollback",e)},getButton(e){return this.buttonList.find(t=>t.buttonKey==e)}}},Gh={};var aT=ve(rT,nT,sT,!1,oT,"128c5f57",null,null);function oT(e){for(let t in Gh)this[t]=Gh[t]}const lT={name:"TopProcess",provide(){return{request:this.request}},components:{processBtns:function(){return aT.exports}(),TopTab:_x,TopPopup:at,TopTips:Nt,TopSumbitPopup:kh},props:{tapList:{require:!1,default:()=>[],type:Array},selfTapList:{require:!1,default:()=>[],type:Array},processDefId:{require:!0,default:"",type:String},processInstId:{require:!0,default:"",type:String},taskId:{require:!1,default:"",type:String},isAdditional:{require:!1,default:!1,type:Boolean},isView:{default:!1,type:Boolean},businessSubjectId:{default:"",type:String},formData:{default:{},type:Object},getVarsStatus:{default:!0,type:Boolean},getVars:{default:null,type:Function},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{}})},endFunction:{type:Function,default:null},beforeFunction:{type:Function,default:null},isDocument:{type:Boolean,default:!1},restartData:{type:Object,default:{businessType:"",showType:"",processName:""}},selfList:{type:Array,default:()=>[]},selfBtn:{type:Array,default:()=>[]},uid:{type:String,default:""},isMsg:{type:Boolean,default:!0},isRequire:{type:Boolean,default:!0},isCheckType:{type:String,default:"0"},isOrgType:{type:Array,default:()=>[0]},isCodeType:{type:Array,default:()=>[3]},isQuickReply:{type:Boolean,default:!1},ccTaskFunction:{type:Function,default:null},hideHeader:{type:Boolean,default:!1},needResubmit:{type:Boolean,default:!0}},data(){return{currentProcess:{currentProcessOriginData:[],currentMan:[],currentFirstNode:{}},incomingConditionItemList:[],submitLoading:!1,nextTaskNode:{},deptId:"",absoluteTaskId:"",comment:"",processXml:"",approvalData:[],processStatus:{},processDefList:{},processBusiness:{},getFirstProcessNode:{},taskNode:[],taskNodeList:[],taskNodeIds:[],taskState:NaN,taskCurrent:0,taskObj:{},taskNodeShow:!1,actionShow:!1,titleText:"",btnStyle:"",processIntId:"",trackUrl:"",taskCommentList:[],operationCom:null,operationComKey:Date.now(),ProcessInsObj:{button:[],flow:[],form:{},process:{}},popupContext:"",operationParam:{},nextTaskNode:{},annexlabel:"",handleTipsType:"",textTips:"",statusTips:!1,typeTips:"",outGatewayUserTaskModel:[],nextNodeData:[],visibleSong:!1,trackList:[],user:{},canCheck:!0,approveNode:{},restartDataS:{},selfBtnList:[],topNum:144,bottomNum:70,userIdData:"",TopPopup1:!1,cctaskTopPopup:!1,cctaskTopPopupTitle:"\u6284\u9001"}},watch:{processInstId:{async handler(e,t){this.$nextTick(()=>{this.processIntId=this.processInstId||this.formData.processId||this.formData.processInstId,e&&(this.request.get("/bladex/blade-workflow/tis/getTaskModelDetail",{params:this.taskId?{processInstId:this.processInstId,taskId:this.taskId}:{processInstId:this.processInstId}}).then(i=>{var n;if(i.code==200){this.ProcessInsObj={...this.ProcessInsObj,...i.data},this.taskObj.buttons=this.ProcessInsObj.button||[],this.trackList=(((n=i.data)==null?void 0:n.flow)||[]).filter(a=>["userTask","candidate"].includes(a.historyActivityType));const s=((this.ProcessInsObj.process||{}).variables||{}).deptId;this.deptId=s;const r=(this.ProcessInsObj.process||{}).taskId;this.absoluteTaskId=r,this.approvalData=(i.data||{}).flow||[],this.processXml=((i.data||{}).process||{}).xml||"",this.handleGetProcessStatus(),this.$emit("get-process-data",this.ProcessInsObj)}}),this.getCurrentProcess(),this.getUserInfo())})},immediate:!0,deep:!0},restartData:{handler(e,t){e&&(this.restartDataS=e)},immediate:!0,deep:!0},selfBtn:{handler(e,t){e&&e.length&&(this.selfBtnList=e)},immediate:!0,deep:!0},uid:{handler(e,t){e&&(this.userIdData=e)},immediate:!0,deep:!0}},mounted(){},computed:{actionBtn(){return this.operBtn.length>3?this.operBtn.slice(3):[]},operBtn(){let e=[];const t=this.ProcessInsObj.process,i=this.ProcessInsObj.button;if(!t||!i)return e;if(this.getButton("wf_pass"),this.needResubmit&&t.status=="todo"&&this.userIdData&&t.isOwner&&["deleted"].includes(t.processIsFinished)&&this.getButton("wf_pass")){let s={};s.name="\u91CD\u65B0\u63D0\u4EA4",s.btnProps={type:"default"},e.push(s),s.click=r=>{this.handlePass("\u91CD\u65B0\u63D0\u4EA4"),this.submitLoading=!0,this.handleActionClose()}}if(!this.isView&&t.status=="todo"&&this.getButton("wf_pass")){let s={};s.name=this.getButton("wf_pass").name,s.btnProps={type:"primary"},e.push(s),s.click=r=>{this.handlePass(this.getButton("wf_pass").name),this.submitLoading=!0,this.handleActionClose()}}if(!this.isView&&t.status=="todo"&&this.getButton("wf_reject")){let s={};s.name=this.getButton("wf_reject").name,s.btnProps={type:"danger"},e.push(s),s.click=r=>{this.handleCancel(this.getButton("wf_reject").name),this.submitLoading=!0,this.handleActionClose()}}if(this.selfBtnList&&this.selfBtnList.length&&this.selfBtnList.map(s=>{let r={};r.name=s.name,r.btnProps={type:s.type},e.push(r),r.click=s.click}),["wf_edit"].map(s=>{if(!this.isView&&t.status=="todo"&&this.getButton(s)){let r={};r.name=this.getButton(s).name,r.btnProps={},r.key=r.name,r.click=()=>{this.$emit("clickCustomButton",r.name)},e.push(r)}}),!this.isView&&t.status=="todo"&&this.getButton("wf_rollback")){let s={};s.name=this.getButton("wf_rollback").name,s.btnProps={type:"danger"},e.push(s),s.click=r=>{this.handleRollbackTask(this.getButton("wf_rollback").name),this.handleActionClose()}}if(!this.isView&&t.status=="todo"&&this.getButton("wf_cctask")){let s={};s.name=this.getButton("wf_cctask").name,s.btnProps={type:"default"},s.click=async r=>{this.handleCirculate(this.getButton("wf_cctask").name),this.handleActionClose()},e.push(s)}if(!this.isView&&t.status=="todo"&&this.getButton("wf_delegate")){let s={};s.name=this.getButton("wf_delegate").name,s.btnProps={type:"warning"},s.key="cc2",s.click=()=>{this.handleUserSelect({type:"delegate",checkType:"radio",name:this.getButton("wf_delegate").name}),this.handleActionClose()},e.push(s)}if(!this.isView&&t.status=="todo"&&this.getButton("wf_terminate")){let s={};s.name=this.getButton("wf_terminate").name,s.btnProps={type:"danger"},s.key="cc3",s.click=()=>{this.handleTerminateProcess(),this.handleActionClose()},e.push(s)}if(!this.isView&&t.status=="todo"&&this.getButton("wf_transfer")){let s={};s.name=this.getButton("wf_transfer").name,s.btnProps={type:"default"},s.click=r=>{this.handleUserSelect({type:"transfer",checkType:"radio",name:this.getButton("wf_transfer").name}),this.handleActionClose()},e.push(s)}if(t.status=="todo"&&this.getButton("wf_add_instance")){let s={};s.name=this.getButton("wf_add_instance").name,s.btnProps={type:"primary"},s.click=r=>{this.handleUserSelect({type:"addInstance",checkType:"checkbox",name:this.getButton("wf_add_instance").name}),this.handleActionClose()},e.push(s)}if(t.isReturnable&&t.isOwner){let s={};s.name="\u50AC\u529E",s.btnProps={type:"default"},s.click=r=>{this.handleReminders("\u50AC\u529E"),this.handleActionClose()},e.push(s)}if(t.isOwner&&t.isReturnable&&!["deleted"].includes(t.processIsFinished)){let s={};s.name="\u64A4\u9500",s.btnProps={type:"default"},s.click=r=>{this.handleWithdrawTask("\u64A4\u9500"),this.handleActionClose()},e.push(s)}return console.error(e,"btnList"),e},processCardHeight(){let e=this.topNum+this.bottomNum-10;return this.isAdditional&&!this.operBtn&&!this.operBtn.length&&!this.ProcessInsObj.end&&(e-=this.bottomNum),this.hideHeader&&(e-=204),`calc(100vh - ${e}px)`},processBtn(){if(this.isAdditional&&!this.operBtn&&!this.operBtn.length&&!this.ProcessInsObj.end)return`-${this.bottomNum}px`}},methods:{async getCurrentProcess(){this.request.get("/bladex/blade-workflow/repository/queryTaskNodeList",{params:this.taskId?{processInstId:this.processIntId,taskId:this.taskId}:{processInstId:this.processIntId}}).then(e=>{if(e.code==200){const t={};if(t.currentProcessOriginData=e.data||[],t.currentProcessOriginData.length>0){let i=t.currentProcessOriginData[0],n=(i.currentName||"").split(","),s=(i.avatar||"").split(",");n=n.map((r,a)=>({realName:r,avatar:s[a]||"",phone:"",ancestorNames:[]})),t.currentMan=n,t.currentFirstNode=i,this.currentProcess=t}}else this.currentProcess={currentProcessOriginData:[],currentMan:[],currentFirstNode:{}}}).catch(e=>{console.error(e)})},getButton(e){const t=(this.ProcessInsObj.button||[]).find(i=>i.buttonKey==e);return t},handleActionBtn(e){switch(e.buttonKey){case"wf_pass":this.handleExamine(!0,["deleted"].includes(this.ProcessInsObj.process.processIsFinished)?"\u91CD\u65B0\u63D0\u4EA4":e.name);break;case"wf_reject":this.handleExamine(!1,e.name);break;case"wf_transfer":this.handleTransfer(e.name);break;case"wf_add_instance":this.handleAddInstance(e.name);break;case"wf_rollback":this.handleRollbackTask(e.name);break;case"wf_transfer":this.handleTransfer(e.name);break;case"wf_terminate":this.handleTerminateProcess(e.name);case"wf_cctask":this.handleCirculate(e.name);break}this.handleActionClose()},handleDraft(){this.submitLoading=!0},handleExamine(e,t){e?this.handlePass(t):this.handleCancel(t),this.submitLoading=!0},async handlePass(e){this.operationParam.nodeLoading=!0,this.before?this.before().then(()=>{this.showOperation(Vh,e)}):this.showOperation(Vh,e),this.deptId&&(await this.getNextNode(this.deptId),this.operationParam={...this.operationParam,nodeLoading:!1,incomingConditionItemList:this.incomingConditionItemList,nextNodeData:this.nextTaskNode})},handleCancel(e){this.showOperation(qI,e)},handleUserSelect({type:e,checkType:t,name:i}){e=="transfer"?this.handleTransfer(i):e=="addInstance"&&this.handleAddInstance(i)},async handleTransfer(e){this.deptId&&await this.getNextNode(this.deptId),this.showOperation(cI,e)},async handleAddInstance(e){this.deptId&&await this.getNextNode(this.deptId),this.showOperation(nI,e)},handlePrint(){},handleRollbackTask(e){this.showOperation(YI,e)},handleTerminateProcess(){},handleWithdrawTask(e){this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText="\u64A4\u9500",this.popupContext="\u786E\u5B9A\u64A4\u9500\u5417?",this.handleTipsType="\u64A4\u9500"},handleReminders(e){this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText="\u50AC\u529E",this.popupContext="\u786E\u5B9A\u50AC\u529E\u5417?",this.handleTipsType="\u50AC\u529E"},handleCirculate(e){this.showOperation(iT,e,this.request,this.taskObj.ccTaskButtonAnnex,"\u6284\u9001"),this.cctaskTopPopupTitle=e},async getNextNode(e){let t;try{t=await this.request.get("/bladex/blade-workflow/tis/simulation",{params:{taskId:this.absoluteTaskId,processInstId:this.processIntId}})}catch(n){console.error(n),t={}}let i=t.data||{};t.code==200&&!t.data.evaluation&&(this.incomingConditionItemList=[],i.branches=await this.getOutgoingProcessNode(this.absoluteTaskId,t.data.id)),t.code==200&&t.data.evaluation&&t.data.branches&&t.data.branches.length>0&&t.data.branches[0].nodeType!="userTask"&&(this.incomingConditionItemList=[],i.branches=await this.getOutgoingProcessNode(this.absoluteTaskId,t.data.branches[0].id)),i=await this.getSelectFixData(i,e),this.nextTaskNode=i,this.operationParam={...this.operationParam,nextNodeData:(this.nextTaskNode||{}).id?[this.nextTaskNode]:[]}},async getNodeUser({deptId:e,intersection:t,userIds:i,postIds:n,deptIds:s}){return await this.request.post("/auth/user/getTaskAuditor",{deptId:e,intersection:t,userIds:i,postIds:n,deptIds:s})},handleGetHeight(){this.$nextTick(()=>{setTimeout(()=>{let e=document.getElementById("process-header"),t=document.getElementById("process-footer");this.bottomNum=t?t.scrollHeight+10:70,this.topNum=e?e.scrollHeight+10:144},1e3)})},handleTestsss(e,t){},handleTestS(){this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success")},handleTest(){this.visibleSong=!0},async getUserInfo(){let e=await this.request.get("/app/user/info");e.code===200&&(this.user=e.data||{},this.userIdData=e.data.userId)},async handleGetSimulation(e){this.handleTips("",!0,"loading");let t={processInstId:this.processInstId,taskInstId:this.taskNode.length?this.taskNode[0].taskId:"",vars:e,errorTip:!1},i=await this.request.post("/aws/tis/simulation",t);if(i.success){this.handleTips("",!1,"success"),this.nextNodeData=i.data;for(let n=0;n<this.nextNodeData.length;n++)this.approveNode=this.nextNodeData[n]}else{let n=this.taskNode&&this.taskNode.length?this.taskNode[0].taskId:"";this.outGatewayUserTaskModel=await this.getOutgoingProcessNode(n,"")}},async getSelectFixData(e,t){let i=JSON.parse(JSON.stringify(e));if(i.nodeType!="userTask"&&Array.isArray(i.branches))for(let n=0;n<i.branches.length;n++){let s=i.branches[n],r=s.nodeInfoDTO?s.nodeInfoDTO:s;try{r=await this.getSelectFixData(r,t)}catch(a){}s.nodeInfoDTO?s.nodeInfoDTO=r:s=r,i.branches[n]=s}else if(i.nodeType=="userTask"&&!i.setPersonnel){let n=bd(i),s;try{s=await this.getNodeUser({deptId:t,intersection:n.intersection?1:0,userIds:n.userIds,postIds:n.postIds,deptIds:n.deptIds}),s.code==$enum.apiCode.success}catch(r){}s.code==200&&(i.userList=s.data)}return i},async getOutgoingProcessNode(e,t){let i=await this.request.get("/bladex/blade-workflow/tis/getOutgoingProcessNode",{params:{taskId:e,processNodeId:t}});if(i.code==200){if(i.data&&i.data.length){for(let n=0;n<i.data.length;n++){let s=i.data[n];s.incomingConditionItemList&&s.incomingConditionItemList.length!==0&&(s.nodeInfoDTO.incomingConditionItemList=s.incomingConditionItemList,this.incomingConditionItemList.push(...s.incomingConditionItemList)),s.nodeInfoDTO.nodeType!="userTask"&&(s.nodeInfoDTO.branches=await this.getOutgoingProcessNode(e,s.nodeInfoDTO.id))}return this.handleTips("",!1,"success"),i.data}return this.handleTips("",!1,"success"),[]}return[]},handleGet(e){this.taskNode=[].concat(e),this.taskNodeShow=!1,this.actionShow=!1,this.handleGetProcessStatus(),this.handleGetUserTaskModel()},handleGetProcessStatus(){this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/repository/findTaskTodoInfoByTaskId",{params:{taskId:this.absoluteTaskId||""}}).then(e=>{e.code==200&&(this.processStatus={...e.data||{},...e.data.vars?e.data.vars:{},bizStatusName:e.data.taskState,currUserName:e.data.currentName,allUserNames:e.data.currentName}),this.handleGetHeight(),this.handleTips("",!1,"success")}).catch(e=>{this.handleGetHeight()}).finally(()=>{})},handleGetUserTaskModel(){this.taskNode&&this.taskNode.length?this.request.get("/aws/repository/getUserTaskModel",{params:{taskId:this.taskNode[0].taskId}}).then(e=>{e.code==200&&(this.taskObj=e.data),this.handleGetHeight(),this.$refs.topTips.handleClose()}).catch(e=>{this.handleGetHeight(),this.$refs.topTips.handleClose()}):this.$refs.topTips.handleClose()},async showOperation(e,t,i,n,s){switch(this.beforeFunction&&(this.operationParam.beforeFunction=this.beforeFunction),this.operationParam.request=this.request,this.annexlabel=n||"fasdfsafdsa",this.titleText=t,this.operationCom=e,this.operationComKey=Date.now(),this.operationParam.selChildrenItems={},this.operationParam.annex=n||"fasdfsafdsa",this.operationParam.subjectId=this.formData.subjectId,this.operationParam.processInstId=this.processIntId,this.operationParam.taskInstId=(this.ProcessInsObj.process||{}).taskId||"",this.operationParam.variables=(this.ProcessInsObj.process||{}).variables||{},this.operationParam.extendedProperties=(this.ProcessInsObj.form||{}).extendedProperties||[],this.operationParam.actionName=t,this.operationParam.formData=this.formData,this.operationParam.ProcessInsObj=this.ProcessInsObj.process||{},this.operationParam.userInfo=this.user,this.nextTaskNode,this.operationParam.nextNodeData=(this.nextTaskNode||{}).id?[this.nextTaskNode]:[],this.operationParam.incomingConditionItemList=this.incomingConditionItemList,this.operationParam.outGatewayUserTaskModel=this.outGatewayUserTaskModel,this.operationParam.taskNode=this.taskNode,this.operationParam.appId=this.processStatus.appId,this.operationParam.endFunction=this.endFunction,this.operationParam.isDocument=this.isDocument,this.operationParam.isQuickReply=this.isQuickReply,this.operationParam.isMsg=this.isMsg,this.operationParam.isRequire=this.isRequire,this.operationParam.canCheck=this.canCheck,this.operationParam.isCheckType=this.isCheckType,this.operationParam.isOrgType=this.isOrgType,this.operationParam.isCodeType=this.isCodeType,s){case"\u6284\u9001":this.operationParam.visible=!0,this.cctaskTopPopup=!0;break;default:this.operationParam.visible=!0,this.TopPopup1=!0;break}},handleCancelPopup(){this.TopPopup1=!1,this.operationParam.visible=!1,this.submitLoading=!1},async handleComfig(){this.$refs.operationRef.confirm()},handleClosePopup1(){this.TopPopup1=!1,this.operationParam.visible=!1,this.submitLoading=!1},handleClosecctaskTopPopup(){this.cctaskTopPopup=!1,this.operationParam.visible=!1,this.submitLoading=!1},handleTipsComfig(){this.$refs.TopPopup2.handleCancel(),this.handleTipsType=="\u50AC\u529E"&&(this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/tis/reminders",{params:{processInstId:this.processIntId}}).then(e=>{e.code==200?(this.handleTips("\u50AC\u529E\u6210\u529F",!0,"success"),window.top.postMessage("success","*"),this.endFunction("\u50AC\u529E")):this.handleTips(e.msg,!0,"error")})),this.handleTipsType=="\u64A4\u9500"&&(this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/tis/withdrawTask",{params:{processInstId:this.processIntId}}).then(e=>{e.code==200?(this.handleTips("\u64A4\u9500\u6210\u529F",!0,"success"),window.top.postMessage("success","*"),this.endFunction("\u64A4\u9500")):(this.textTips=e.msg,this.typeTips="error",this.handleTips(e.msg,!0,"error"))}))},handleTipsCancel(){},getColor(e){return e=="\u5BA1\u6838\u4E2D"?"#FFA52D":e=="\u5DF2\u9A73\u56DE"?"#F14B4C":e=="\u5DF2\u64A4\u9500"?"#CECECE":e=="\u5DF2\u5B8C\u6210"?"#6DC743":"#1389FF"},handleActionOpen(){this.actionShow=!0},handleActionClose(){this.actionShow=!1},actionClick(e){this.titleText=e,this.actionShow=!1},getBtnStyle(e){switch(e){case"primary":return"background-color:#3c9cff;color:#fff";case"danger":return"background-color:rgb(255, 230, 230);color:rgb(255, 96, 96)";case"default":return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)";default:return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)"}},async handleRestart(){this.handleTips("",!0,"loading"),await this.request.post("/bladex/blade-workflow/repository/getProcessDefList",{appId:this.processStatus.appId,subjectId:this.formData.subjectId||this.businessSubjectId}).then(e=>{this.processDefList=e.data,this.request.get("/aws/pis/getProcessInstanceByBusinessKey",{params:{businessKey:this.formData.businessKey}}).then(t=>{this.processBusiness=t.data,this.request.get("/bladex/blade-workflow/repository/getAllProcessNode",{params:{processDefId:this.processBusiness.processDefId}}).then(i=>{this.getFirstProcessNode=i.data[0],this.operationParam.getFirstProcessNode=this.getFirstProcessNode,this.operationParam.formData=this.formData,this.handleTips("",!1,"success"),this.handleActionClose(),this.showOperation(void 0,"\u91CD\u65B0\u63D0\u4EA4",this.request)}).catch(i=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(t=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(e=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()}}};var cT=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"process-warp"},[(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)&&!e.hideHeader?i("div",{ref:"processheader",staticClass:"process-main",attrs:{id:"process-header"}},[i("div",{staticClass:"process-ml-item border"},[i("div",{staticClass:"process-mli-name"},[e._v("\u6D41\u7A0B\u72B6\u6001")]),i("div",{staticClass:"process-mli-value"},[e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status?i("div",{staticClass:"process-mliv-dd",style:{background:e.getColor(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)}},[e._v(" "+e._s(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)+" ")]):e._e()])]),i("div",{staticClass:"process-ml-item border"},[i("div",{staticClass:"process-mli-name"},[e._v("\u6D41\u7A0B\u53D1\u8D77\u65F6\u95F4")]),i("div",{staticClass:"process-mli-value"},[i("span",[e._v(e._s(e.processStatus.createTime))])])]),e.processStatus.allUserNames&&e.processStatus.allUserNames.length?i("div",{staticClass:"process-ml-item"},[i("div",{staticClass:"process-mli-name"},[e._v("\u5BA1\u6279\u8282\u70B9")]),i("div",{staticClass:"process-mli-value",staticStyle:{width:"50%","text-align":"right"}},[i("span",{staticClass:"process-mliv-jd"},[e._v(e._s(`${e.processStatus.taskState==4?e.processStatus.currUserName:e.processStatus.allUserNames.toString()}\u5BA1\u6279\u4E2D`))])])]):e._e()]):e._e(),i("div",{staticClass:"process-card",style:{height:e.processCardHeight}},[i("TopTab",{attrs:{ProcessInsObj:e.ProcessInsObj,processXml:e.processXml,approvalData:e.approvalData,tapList:e.tapList,selfTapList:e.selfTapList,processIntId:e.processIntId,track:e.trackUrl,taskComment:e.taskCommentList,trackList:e.trackList}},[e.selfTapList&&e.selfTapList.length?e._l(e.selfTapList,function(n,s){return i("div",{key:s,staticStyle:{height:"100%"},attrs:{slot:n.slot},slot:n.slot},[e._t(n.slot,null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)}):[i("div",{staticStyle:{height:"100%"},attrs:{slot:"default"},slot:"default"},[e._t("default",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2),e._l(e.tapList,function(n,s){return i("div",{key:s,staticStyle:{height:"100%"},attrs:{slot:n.slot},slot:n.slot},[e._t(n.slot,null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)})]],2)],1),e.isView?e._e():i("div",{staticClass:"process-btn",style:{bottom:e.processBtn},attrs:{id:"process-footer"}},[e.isAdditional?i("div",{staticClass:"footBtnRow"},[e._t("btn",null,{data:e.processStatus,processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2):[e.isDocument&&(e.formData.currentState=="\u7F16\u6587\u53F7\u5957\u7EA2"||e.formData.currentState=="\u76D6\u7AE0")?[i("div",{staticClass:"top-button",style:e.getBtnStyle("default")},[e._v(" \u8BF7\u53BBPC\u7AEF\u5904\u7406\u8BE5\u6D41\u7A0B ")])]:[e.formData.currentState!="\u5DF2\u5B8C\u6210"||e.processStatus.status!="\u5DF2\u5B8C\u6210"||e.processStatus.bizStatusName!="\u5DF2\u5B8C\u6210"?[e._l(e.operBtn,function(n,s){return[s<3?i("div",{key:n.name,staticClass:"top-button",style:e.getBtnStyle((n.btnProps.type||"default").toString()),on:{click:function(r){return n.click(n.name)}}},[e._v(" "+e._s(n.name)+" ")]):e._e()]})]:e._e(),e.operBtn.length>3&&e.actionBtn&&e.actionBtn.length?i("div",{staticClass:"elips",on:{click:e.handleActionOpen}},[i("div",{staticClass:"circle"}),i("div",{staticClass:"circle"}),i("div",{staticClass:"circle"})]):e._e()]]],2)]),i("TopPopup",{ref:"TopPopup1",attrs:{cancel:e.handleCancelPopup,comfig:e.handleComfig,titleText:e.titleText,visible:e.TopPopup1,className:"toppopup-component"},on:{"update:visible":function(n){return e.TopPopup1=n}}},[i(e.operationCom,{key:e.operationComKey,ref:"operationRef",tag:"component",attrs:{param:e.operationParam},on:{handleClosePopup1:e.handleClosePopup1}},[i("div",{attrs:{slot:"completeSlot"},slot:"completeSlot"},[e._t("completeSlot",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)])],1),i("TopPopup",{ref:"TopPopup2",attrs:{titleText:e.titleText,isTips:!0,context:e.popupContext,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig}}),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),e.actionBtn&&e.actionBtn.length||e.taskNodeList&&e.taskNodeList.length?i("div",{staticClass:"top-elips",style:e.actionShow?"transform: translateY(0)":"transform: translateY(100%)"},[e.taskNodeShow?e._l(e.taskNodeList,function(n){return i("div",{key:n.taskId,staticClass:"top-elips-items",on:{click:function(s){return e.handleGet(n)}}},[e._v(" "+e._s(n.name)+" ")])}):e._l(e.actionBtn,function(n){return i("div",{key:n.name,staticClass:"top-elips-items",on:{click:function(s){return n.click(n.name)}}},[e._v(" "+e._s(n.name)+" ")])}),i("div",{staticClass:"top-elips-items top-elips-items--cancel",on:{click:e.handleActionClose}},[e._v(" \u53D6\u6D88 ")])],2):e._e(),i("div",{staticClass:"top-elips-mask",style:e.actionShow?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:e.handleActionClose}}),i("TopSumbitPopup",e._b({ref:"actionPop",attrs:{visible:e.visibleSong,request:e.request,appId:e.processStatus.appId,id:e.formData.businessKey,resubmit:!0,selfList:e.selfList,isCheckType:e.isCheckType,isOrgType:e.isOrgType,isCodeType:e.isCodeType},on:{"update:visible":function(n){e.visibleSong=n},successFn:e.endFunction,change:e.handleTestsss}},"TopSumbitPopup",e.restartDataS,!1)),i("TopPopup",{ref:"cctaskTopPopup",attrs:{titleText:e.cctaskTopPopupTitle,visible:e.cctaskTopPopup,isDrawer:!0},on:{"update:visible":function(n){return e.cctaskTopPopup=n}}},[i(e.operationCom,{ref:"cctaskOperationRef",tag:"component",attrs:{param:e.operationParam},on:{handleClosecctaskTopPopup:e.handleClosecctaskTopPopup}},[i("div",{attrs:{slot:"completeSlot"},slot:"completeSlot"},[e._t("completeSlot",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)])],1)],1)},uT=[];const KT="",qh={};var pT=ve(lT,cT,uT,!1,dT,"a4fed71a",null,null);function dT(e){for(let t in qh)this[t]=qh[t]}const hT=function(){return pT.exports}(),Jh={name:"ddy-process-h5",version:"1.0.1-rc.3.91",description:"> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6",main:"./ddy-process-h5.umd.cjs",style:"./style.css",type:"module",exports:{".":{import:"./ddy-process-h5.js",require:"./ddy-process-h5.umd.cjs"},"./style.css":{import:"./style.css",require:"./style.css"}},scripts:{test:'echo "Error: no test specified" && exit 1',postinstall:"node scripts/postinstall.mjs"},devDependencies:{"checked-pick-app":"1.6.7",dsbridge:"^3.1.4"},dependencies:{"checked-pick-app":"1.6.7",dsbridge:"^3.1.4"},author:"",license:"ISC"};console.info("%c\u26A1"+Jh.name+"%c v"+Jh.version,"background: linear-gradient(135deg, #ff3939ff, #ffbe5cff); color: white; padding: 9px 4px 9px 4px; border-radius: 3px 0 0 3px;font-size: 12px;","background: #5100ffff; color: white; padding: 9px 6px 9px 4px; border-radius: 0px 3px 3px 0px;font-size: 12px;"),vt.TopProcess=hT,vt.TopSumbitPopup=kh,vt.ViewAttchList=Ru,vt.attchViews=Yi,Object.defineProperties(vt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
26
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="`+l.width+'" height="'+l.height+'" viewBox="'+l.x+" "+l.y+" "+l.width+" "+l.height+'" version="1.1">'+o+a+"</svg>"}catch(s){i=s}if(this._emit("saveSVG.done",{error:i,svg:t}),i)throw i;return{svg:t}},xe.prototype._setDefinitions=function(e){this._definitions=e},xe.prototype.getModules=function(){return this._modules},xe.prototype.clear=function(){!this.getDefinitions()||bs.prototype.clear.call(this)},xe.prototype.destroy=function(){bs.prototype.destroy.call(this),ms(this._container)},xe.prototype.on=function(e,t,i,s){return this.get("eventBus").on(e,t,i,s)},xe.prototype.off=function(e,t){this.get("eventBus").off(e,t)},xe.prototype.attachTo=function(e){if(!e)throw new Error("parentNode required");this.detach(),e.get&&e.constructor.prototype.jquery&&(e=e.get(0)),typeof e=="string"&&(e=It(e)),e.appendChild(this._container),this._emit("attach",{}),this.get("canvas").resized()},xe.prototype.getDefinitions=function(){return this._definitions},xe.prototype.detach=function(){const e=this._container,t=e.parentNode;!t||(this._emit("detach",{}),t.removeChild(e))},xe.prototype._init=function(e,t,i){const s=i.modules||this.getModules(i),n=i.additionalModules||[],r=[{bpmnjs:["value",this],moddle:["value",t]}],a=[].concat(r,s,n),o=X(fv(i,["additionalModules"]),{canvas:X({},i.canvas,{container:e}),modules:a});bs.call(this,o),i&&i.container&&this.attachTo(i.container)},xe.prototype._emit=function(e,t){return this.get("eventBus").fire(e,t)},xe.prototype._createContainer=function(e){const t=lt('<div class="bjs-container"></div>');return Me(t,{width:hd(e.width),height:hd(e.height),position:e.position}),t},xe.prototype._createModdle=function(e){const t=X({},this._moddleExtensions,e.moddleExtensions);return new _C(t)},xe.prototype._modules=[];function mr(e,t){return e.warnings=t,e}function QC(e){const i=/unparsable content <([^>]+)> detected([\s\S]*)$/.exec(e.message);return i&&(e.message="unparsable content <"+i[1]+"> detected; this may indicate an invalid BPMN 2.0 diagram file"+i[2]),e}const GC={width:"100%",height:"100%",position:"relative"};function hd(e){return e+($t(e)?"px":"")}function qC(e,t){return t&&xt(e.diagrams,function(i){return i.id===t})||null}function HC(e){const i='<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" >'+ud+"</a>",s=lt(i);Me(It("svg",s),pd),Me(s,dd,{position:"absolute",bottom:"15px",right:"15px",zIndex:"100"}),e.appendChild(s),Ri.bind(s,"click",function(n){UC(),n.preventDefault()})}function xs(e){xe.call(this,e)}Dt(xs,xe),xs.prototype._modules=[zA,up,ob,Ep,Tb],xs.prototype._moddleExtensions={};var JC=/^djs-cursor-.*$/;function fd(e){var t=Bi(document.body);t.removeMatching(JC),e&&t.add("djs-cursor-"+e)}function KC(){fd(null)}var WC=5e3;function zC(e,t){t=t||"element.click";function i(){return!1}return e.once(t,WC,i),function(){e.off(t,i)}}function md(e,t){return{x:e.x-t.x,y:e.y-t.y}}function gd(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}var YC=15;function yd(e,t){var i;function s(o){return a(o.originalEvent)}e.on("canvas.focus.changed",function(o){o.focused?e.on("element.mousedown",500,s):e.off("element.mousedown",s)});function n(o){var l=i.start,p=i.button,h=gd(o),d=md(h,l);if(!i.dragging&&XC(d)>YC&&(i.dragging=!0,p===0&&zC(e),fd("grab")),i.dragging){var y=i.last||i.start;d=md(h,y),t.scroll({dx:d.x,dy:d.y}),i.last=h}o.preventDefault()}function r(o){Ri.unbind(document,"mousemove",n),Ri.unbind(document,"mouseup",r),i=null,KC()}function a(o){if(!sp(o.target,".djs-draggable")){var l=o.button;if(!(l>=2||o.ctrlKey||o.shiftKey||o.altKey))return i={button:l,start:gd(o)},Ri.bind(document,"mousemove",n),Ri.bind(document,"mouseup",r),!0}}this.isActive=function(){return!!i}}yd.$inject=["eventBus","canvas"];function XC(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}const Io={__init__:["moveCanvas"],moveCanvas:["type",yd]};function vd(e){this._counter=0,this._prefix=(e?e+"-":"")+Math.floor(Math.random()*1e9)+"-"}vd.prototype.next=function(){return this._prefix+ ++this._counter};var ZC=new vd("tt");function $C(e){var t=lt('<div class="djs-tooltip-container" />');return Me(t,{position:"absolute",width:"0",height:"0"}),e.insertBefore(t,e.firstChild),t}function ew(e,t,i){Me(e,{left:t+"px",top:i+"px"})}function To(e,t){e.style.display=t===!1?"none":""}var Ad="djs-tooltip",_o="."+Ad;function qe(e,t){this._eventBus=e,this._canvas=t,this._ids=ZC,this._tooltipDefaults={show:{minZoom:.7,maxZoom:5}},this._tooltips={},this._tooltipRoot=$C(t.getContainer());var i=this;fs.bind(this._tooltipRoot,_o,"mousedown",function(s){s.stopPropagation()}),fs.bind(this._tooltipRoot,_o,"mouseover",function(s){i.trigger("mouseover",s)}),fs.bind(this._tooltipRoot,_o,"mouseout",function(s){i.trigger("mouseout",s)}),this._init()}qe.$inject=["eventBus","canvas"],qe.prototype.add=function(e){if(!e.position)throw new Error("must specifiy tooltip position");if(!e.html)throw new Error("must specifiy tooltip html");var t=this._ids.next();return e=X({},this._tooltipDefaults,e,{id:t}),this._addTooltip(e),e.timeout&&this.setTimeout(e),t},qe.prototype.trigger=function(e,t){var i=t.delegateTarget||t.target,s=this.get(tp(i,"data-tooltip-id"));!s||(e==="mouseover"&&s.timeout&&this.clearTimeout(s),e==="mouseout"&&s.timeout&&(s.timeout=1e3,this.setTimeout(s)))},qe.prototype.get=function(e){return typeof e!="string"&&(e=e.id),this._tooltips[e]},qe.prototype.clearTimeout=function(e){if(e=this.get(e),!!e){var t=e.removeTimer;t&&(clearTimeout(t),e.removeTimer=null)}},qe.prototype.setTimeout=function(e){if(e=this.get(e),!!e){this.clearTimeout(e);var t=this;e.removeTimer=setTimeout(function(){t.remove(e)},e.timeout)}},qe.prototype.remove=function(e){var t=this.get(e);t&&(ms(t.html),ms(t.htmlContainer),delete t.htmlContainer,delete this._tooltips[t.id])},qe.prototype.show=function(){To(this._tooltipRoot)},qe.prototype.hide=function(){To(this._tooltipRoot,!1)},qe.prototype._updateRoot=function(e){var t=e.scale||1,i=e.scale||1,s="matrix("+t+",0,0,"+i+","+-1*e.x*t+","+-1*e.y*i+")";this._tooltipRoot.style.transform=s,this._tooltipRoot.style["-ms-transform"]=s},qe.prototype._addTooltip=function(e){var t=e.id,i=e.html,s,n=this._tooltipRoot;i.get&&i.constructor.prototype.jquery&&(i=i.get(0)),Et(i)&&(i=lt(i)),s=lt('<div data-tooltip-id="'+t+'" class="'+Ad+'">'),Me(s,{position:"absolute"}),s.appendChild(i),e.type&&Bi(s).add("djs-tooltip-"+e.type),e.className&&Bi(s).add(e.className),e.htmlContainer=s,n.appendChild(s),this._tooltips[t]=e,this._updateTooltip(e)},qe.prototype._updateTooltip=function(e){var t=e.position,i=e.htmlContainer;ew(i,t.x,t.y)},qe.prototype._updateTooltipVisibilty=function(e){G(this._tooltips,function(t){var i=t.show,s=t.htmlContainer,n=!0;i&&((i.minZoom>e.scale||i.maxZoom<e.scale)&&(n=!1),To(s,n))})},qe.prototype._init=function(){var e=this;function t(i){e._updateRoot(i),e._updateTooltipVisibilty(i),e.show()}this._eventBus.on("canvas.viewbox.changing",function(i){e.hide()}),this._eventBus.on("canvas.viewbox.changed",function(i){t(i.viewbox)})};const No={__init__:["tooltips"],tooltips:["type",qe]},tw=e=>{var t=Object.prototype.toString,i={"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"};return e instanceof Element?"element":i[t.call(e)]},ko=e=>{var t=tw(e),i;if(t==="array")i=[];else if(t==="object")i={};else return e;if(t==="array")for(var s=0,n=e.length;s<n;s++)i.push(ko(e[s]));else if(t==="object")for(var r in e)i[r]=ko(e[r]);return i};function iw(e,t="YYYY-MM-DD HH:mm:ss"){const i=new Date(e),s=i.getFullYear(),n=i.getMonth()+1,r=i.getDate(),a=i.getHours(),o=i.getMinutes(),l=i.getSeconds(),p=i.getDay(),d={YYYY:s,MM:n,DD:r,HH:a,mm:o,ss:l,ww:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"][p]};for(let y in d)t=t.replace(y,d[y]);return t}function sw(e){e=ko(e);const t={};e.forEach(s=>{t[s.historyActivityId]?t[s.historyActivityId].push(s):t[s.historyActivityId]=[s]});for(let s in t){const n=t[s];if(n.length>1){const r=e.findLast(a=>a.historyActivityId==s);r.assigneeName=Array.from(new Set(n.map(a=>a.assigneeName))).join("/")}}const i=[];return e.forEach(s=>{let{assigneeName:n,createTime:r,endTime:a,comments:o}=s;/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&(r=r.replace(/-/g,"/"),a=a.replace(/-/g,"/"));const l={id:s.historyActivityId,class:!a&&s.historyActivityType!="candidate"?"nodePrimary":""};let p="";if(n||o&&o.length>0){if(p=`<span title='${n}'>${n}</span><br>`,r){let d=(r||"").replaceAll("/","-");p+=`<span title='${r}'>${d}</span><br>`}if(o&&o.length>0){let d,{type:y,fullMessage:x}=o.find(M=>M.action=="AddComment")||{};y=="assigneeComment"&&(d="\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A"+x,l.class="nodeWarn"),y=="dispatchComment"&&(d="\u8C03\u5EA6\uFF1A"+x,l.class="nodeWarn"),y=="transferComment"&&(d="\u8F6C\u529E\uFF1A"+x,l.class="nodeWarn"),y=="delegateComment"&&(d="\u59D4\u6258\uFF1A"+x,l.class="nodeWarn"),y=="rollbackComment"&&(d="\u6307\u5B9A\u56DE\u9000\uFF1A"+x,l.class="nodeError"),y=="terminateComment"&&(d="\u7EC8\u6B62\uFF1A"+x,l.class="nodeError"),(y=="addMultiInstanceComment"||(y||"").includes("\u52A0\u7B7E"))&&(d="\u52A0\u7B7E\uFF1A"+x,l.class="nodeWarn"),y=="deleteMultiInstanceComment"&&(d="\u51CF\u7B7E\uFF1A"+x,l.class="nodeError"),y=="withdrawComment"&&(d="\u64A4\u9500\uFF1A"+x,l.class="nodeWarn"),y=="deleteProcessComment"&&(d="\u5220\u9664\u6D41\u7A0B\uFF1A"+x,l.class="nodeError"),y=="cancelProcessComment"&&(d="\u62D2\u7EDD\uFF1A"+x,l.class="nodeError"),y=="comment"&&(d="\u5BA1\u6279\uFF1A"+x,l.class="nodeSuccess"),d&&(p+=`<span title='${d}'>${d}</span>`)}l.tooltip=p}s.historyActivityType=="sequenceFlow"?l.class="lineWarn":!l.class&&s.historyActivityType!="candidate"&&(l.class="nodeSuccess");const h=i.findIndex(d=>d.id==s.historyActivityId);h!=-1?i.splice(h,1,l):i.push(l)}),i}function bd(e){const t=[],i=[],s=[];return e.routeTxt&&e.routeTxt.length>0&&e.routeTxt.forEach(n=>{n.type==="user"?t.push(...n.ids.filter(r=>r&&r.trim()!=="")):n.type==="post"?i.push(...n.ids):n.type==="dept"&&s.push(...n.ids)}),{intersection:e.assigneeRetain=="true"?1:0,userIds:[...new Set(t)],postIds:[...new Set(i)],deptIds:[...new Set(s)]}}function Cd(e){const t=[];return e.forEach(i=>{let{assigneeName:s,createTime:n,endTime:r,comments:a}=i;/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&(n=n.replace(/-/g,"/"),r=r.replace(/-/g,"/"));const o={id:i.historyActivityId,class:!r&&i.historyActivityType!="candidate"?"nodePrimary":""};let l="";if(s||a&&a.length>0){if(l=`<span title='${s}'>${s}</span><br>`,n&&(l+=`<span title='${n}'>${iw(n,"YYYY-MM-DD HH:mm")}</span><br>`),a&&a.length>0){let h,{type:d,fullMessage:y}=a.find(x=>x.action=="AddComment")||{};d=="assigneeComment"&&(h="\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A"+y,o.class="nodeWarn"),d=="dispatchComment"&&(h="\u8C03\u5EA6\uFF1A"+y,o.class="nodeWarn"),d=="transferComment"&&(h="\u8F6C\u529E\uFF1A"+y,o.class="nodeWarn"),d=="delegateComment"&&(h="\u59D4\u6258\uFF1A"+y,o.class="nodeWarn"),d=="rollbackComment"&&(h="\u6307\u5B9A\u56DE\u9000\uFF1A"+y,o.class="nodeError"),d=="terminateComment"&&(h="\u7EC8\u6B62\uFF1A"+y,o.class="nodeError"),(d=="addMultiInstanceComment"||(d||"").includes("\u52A0\u7B7E"))&&(h="\u52A0\u7B7E\uFF1A"+y,o.class="nodeWarn"),d=="deleteMultiInstanceComment"&&(h="\u51CF\u7B7E\uFF1A"+y,o.class="nodeError"),d=="withdrawComment"&&(h="\u64A4\u9500\uFF1A"+y,o.class="nodeWarn"),d=="deleteProcessComment"&&(h="\u5220\u9664\u6D41\u7A0B\uFF1A"+y,o.class="nodeError"),d=="cancelProcessComment"&&(h="\u62D2\u7EDD\uFF1A"+y,o.class="nodeError"),d=="comment"&&(h="\u5BA1\u6279\uFF1A"+y,o.class="nodeSuccess"),h&&(l+=`<span title='${h}'>${h}</span>`)}o.tooltip=l}i.historyActivityType=="sequenceFlow"?o.class="lineWarn":!o.class&&i.historyActivityType!="candidate"&&(o.class="nodeSuccess");const p=t.findIndex(h=>h.id==i.historyActivityId);p!=-1?t.splice(p,1,o):t.push({...i,...o})}),t}function nw(e,t){const i=Object.create(null),s=e.split(",");for(let n=0;n<s.length;n++)i[s[n]]=!0;return t?n=>!!i[n.toLowerCase()]:n=>!!i[n]}const Bt=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const So=()=>{},rw=()=>!1,aw=/^on[^a-z]/,ow=e=>aw.test(e),yt=Object.assign,lw=(e,t)=>{const i=e.indexOf(t);i>-1&&e.splice(i,1)},cw=Object.prototype.hasOwnProperty,_e=(e,t)=>cw.call(e,t),be=Array.isArray,Is=e=>gr(e)==="[object Map]",uw=e=>gr(e)==="[object Set]",He=e=>typeof e=="function",Tt=e=>typeof e=="string",Po=e=>typeof e=="symbol",Ze=e=>e!==null&&typeof e=="object",pw=e=>Ze(e)&&He(e.then)&&He(e.catch),dw=Object.prototype.toString,gr=e=>dw.call(e),wd=e=>gr(e).slice(8,-1),hw=e=>gr(e)==="[object Object]",Do=e=>Tt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,fw=(e=>{const t=Object.create(null);return i=>t[i]||(t[i]=e(i))})(e=>e.charAt(0).toUpperCase()+e.slice(1)),yr=(e,t)=>!Object.is(e,t),mw=(e,t,i)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:i})};let Ed;const Oo=()=>Ed||(Ed=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Mo(e){if(be(e)){const t={};for(let i=0;i<e.length;i++){const s=e[i],n=Tt(s)?Aw(s):Mo(s);if(n)for(const r in n)t[r]=n[r]}return t}else{if(Tt(e))return e;if(Ze(e))return e}}const gw=/;(?![^(]*\))/g,yw=/:([^]+)/,vw=/\/\*[^]*?\*\//g;function Aw(e){const t={};return e.replace(vw,"").split(gw).forEach(i=>{if(i){const s=i.split(yw);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Bo(e){let t="";if(Tt(e))t=e;else if(be(e))for(let i=0;i<e.length;i++){const s=Bo(e[i]);s&&(t+=s+" ")}else if(Ze(e))for(const i in e)e[i]&&(t+=i+" ");return t.trim()}function xd(e,...t){`${e}`,[...t]}let Id;function bw(e,t=Id){t&&t.active&&t.effects.push(e)}function Cw(){return Id}const Ro=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Td=e=>(e.w&li)>0,_d=e=>(e.n&li)>0,ww=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=li},Ew=e=>{const{deps:t}=e;if(t.length){let i=0;for(let s=0;s<t.length;s++){const n=t[s];Td(n)&&!_d(n)?n.delete(e):t[i++]=n,n.w&=~li,n.n&=~li}t.length=i}},Lo=new WeakMap;let an=0,li=1;const Fo=30;let $e;const qi=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),Vo=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");class xw{constructor(t,i=null,s){this.fn=t,this.scheduler=i,this.active=!0,this.deps=[],this.parent=void 0,bw(this,s)}run(){if(!this.active)return this.fn();let t=$e,i=Hi;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=$e,$e=this,Hi=!0,li=1<<++an,an<=Fo?ww(this):Nd(this),this.fn()}finally{an<=Fo&&Ew(this),li=1<<--an,$e=this.parent,Hi=i,this.parent=void 0,this.deferStop&&this.stop()}}stop(){$e===this?this.deferStop=!0:this.active&&(Nd(this),this.onStop&&this.onStop(),this.active=!1)}}function Nd(e){const{deps:t}=e;if(t.length){for(let i=0;i<t.length;i++)t[i].delete(e);t.length=0}}let Hi=!0;const kd=[];function Sd(){kd.push(Hi),Hi=!1}function Pd(){const e=kd.pop();Hi=e===void 0?!0:e}function et(e,t,i){if(Hi&&$e){let s=Lo.get(e);s||Lo.set(e,s=new Map);let n=s.get(i);n||s.set(i,n=Ro());const r=process.env.NODE_ENV!=="production"?{effect:$e,target:e,type:t,key:i}:void 0;Iw(n,r)}}function Iw(e,t){let i=!1;an<=Fo?_d(e)||(e.n|=li,i=!Td(e)):i=!e.has($e),i&&(e.add($e),$e.deps.push(e),process.env.NODE_ENV!=="production"&&$e.onTrack&&$e.onTrack(yt({effect:$e},t)))}function ci(e,t,i,s,n,r){const a=Lo.get(e);if(!a)return;let o=[];if(t==="clear")o=[...a.values()];else if(i==="length"&&be(e)){const p=Number(s);a.forEach((h,d)=>{(d==="length"||d>=p)&&o.push(h)})}else switch(i!==void 0&&o.push(a.get(i)),t){case"add":be(e)?Do(i)&&o.push(a.get("length")):(o.push(a.get(qi)),Is(e)&&o.push(a.get(Vo)));break;case"delete":be(e)||(o.push(a.get(qi)),Is(e)&&o.push(a.get(Vo)));break;case"set":Is(e)&&o.push(a.get(qi));break}const l=process.env.NODE_ENV!=="production"?{target:e,type:t,key:i,newValue:s,oldValue:n,oldTarget:r}:void 0;if(o.length===1)o[0]&&(process.env.NODE_ENV!=="production"?vr(o[0],l):vr(o[0]));else{const p=[];for(const h of o)h&&p.push(...h);process.env.NODE_ENV!=="production"?vr(Ro(p),l):vr(Ro(p))}}function vr(e,t){const i=be(e)?e:[...e];for(const s of i)s.computed&&Dd(s,t);for(const s of i)s.computed||Dd(s,t)}function Dd(e,t){(e!==$e||e.allowRecurse)&&(process.env.NODE_ENV!=="production"&&e.onTrigger&&e.onTrigger(yt({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Tw=nw("__proto__,__v_isRef,__isVue"),Od=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Po)),_w=jo(),Nw=jo(!0),kw=jo(!0,!0),Md=Sw();function Sw(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...i){const s=fe(this);for(let r=0,a=this.length;r<a;r++)et(s,"get",r+"");const n=s[t](...i);return n===-1||n===!1?s[t](...i.map(fe)):n}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...i){Sd();const s=fe(this)[t].apply(this,i);return Pd(),s}}),e}function Pw(e){const t=fe(this);return et(t,"has",e),t.hasOwnProperty(e)}function jo(e=!1,t=!1){return function(s,n,r){if(n==="__v_isReactive")return!e;if(n==="__v_isReadonly")return e;if(n==="__v_isShallow")return t;if(n==="__v_raw"&&r===(e?t?Gd:Qd:t?Kw:Ud).get(s))return s;const a=be(s);if(!e){if(a&&_e(Md,n))return Reflect.get(Md,n,r);if(n==="hasOwnProperty")return Pw}const o=Reflect.get(s,n,r);return(Po(n)?Od.has(n):Tw(n))||(e||et(s,"get",n),t)?o:tt(o)?a&&Do(n)?o:o.value:Ze(o)?e?Hd(o):qd(o):o}}const Dw=Ow();function Ow(e=!1){return function(i,s,n,r){let a=i[s];if(Ki(a)&&tt(a)&&!tt(n))return!1;if(!e&&(!qo(n)&&!Ki(n)&&(a=fe(a),n=fe(n)),!be(i)&&tt(a)&&!tt(n)))return a.value=n,!0;const o=be(i)&&Do(s)?Number(s)<i.length:_e(i,s),l=Reflect.set(i,s,n,r);return i===fe(r)&&(o?yr(n,a)&&ci(i,"set",s,n,a):ci(i,"add",s,n)),l}}function Mw(e,t){const i=_e(e,t),s=e[t],n=Reflect.deleteProperty(e,t);return n&&i&&ci(e,"delete",t,void 0,s),n}function Bw(e,t){const i=Reflect.has(e,t);return(!Po(t)||!Od.has(t))&&et(e,"has",t),i}function Rw(e){return et(e,"iterate",be(e)?"length":qi),Reflect.ownKeys(e)}const Lw={get:_w,set:Dw,deleteProperty:Mw,has:Bw,ownKeys:Rw},Bd={get:Nw,set(e,t){return process.env.NODE_ENV!=="production"&&xd(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return process.env.NODE_ENV!=="production"&&xd(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},Fw=yt({},Bd,{get:kw}),Uo=e=>e,Ar=e=>Reflect.getPrototypeOf(e);function br(e,t,i=!1,s=!1){e=e.__v_raw;const n=fe(e),r=fe(t);i||(t!==r&&et(n,"get",t),et(n,"get",r));const{has:a}=Ar(n),o=s?Uo:i?Ko:Jo;if(a.call(n,t))return o(e.get(t));if(a.call(n,r))return o(e.get(r));e!==n&&e.get(t)}function Cr(e,t=!1){const i=this.__v_raw,s=fe(i),n=fe(e);return t||(e!==n&&et(s,"has",e),et(s,"has",n)),e===n?i.has(e):i.has(e)||i.has(n)}function wr(e,t=!1){return e=e.__v_raw,!t&&et(fe(e),"iterate",qi),Reflect.get(e,"size",e)}function Rd(e){e=fe(e);const t=fe(this);return Ar(t).has.call(t,e)||(t.add(e),ci(t,"add",e,e)),this}function Ld(e,t){t=fe(t);const i=fe(this),{has:s,get:n}=Ar(i);let r=s.call(i,e);r?process.env.NODE_ENV!=="production"&&jd(i,s,e):(e=fe(e),r=s.call(i,e));const a=n.call(i,e);return i.set(e,t),r?yr(t,a)&&ci(i,"set",e,t,a):ci(i,"add",e,t),this}function Fd(e){const t=fe(this),{has:i,get:s}=Ar(t);let n=i.call(t,e);n?process.env.NODE_ENV!=="production"&&jd(t,i,e):(e=fe(e),n=i.call(t,e));const r=s?s.call(t,e):void 0,a=t.delete(e);return n&&ci(t,"delete",e,void 0,r),a}function Vd(){const e=fe(this),t=e.size!==0,i=process.env.NODE_ENV!=="production"?Is(e)?new Map(e):new Set(e):void 0,s=e.clear();return t&&ci(e,"clear",void 0,void 0,i),s}function Er(e,t){return function(s,n){const r=this,a=r.__v_raw,o=fe(a),l=t?Uo:e?Ko:Jo;return!e&&et(o,"iterate",qi),a.forEach((p,h)=>s.call(n,l(p),l(h),r))}}function xr(e,t,i){return function(...s){const n=this.__v_raw,r=fe(n),a=Is(r),o=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,p=n[e](...s),h=i?Uo:t?Ko:Jo;return!t&&et(r,"iterate",l?Vo:qi),{next(){const{value:d,done:y}=p.next();return y?{value:d,done:y}:{value:o?[h(d[0]),h(d[1])]:h(d),done:y}},[Symbol.iterator](){return this}}}}function ui(e){return function(...t){if(process.env.NODE_ENV!=="production"){const i=t[0]?`on key "${t[0]}" `:"";`${fw(e)}${i}`,fe(this)}return e==="delete"?!1:this}}function Vw(){const e={get(r){return br(this,r)},get size(){return wr(this)},has:Cr,add:Rd,set:Ld,delete:Fd,clear:Vd,forEach:Er(!1,!1)},t={get(r){return br(this,r,!1,!0)},get size(){return wr(this)},has:Cr,add:Rd,set:Ld,delete:Fd,clear:Vd,forEach:Er(!1,!0)},i={get(r){return br(this,r,!0)},get size(){return wr(this,!0)},has(r){return Cr.call(this,r,!0)},add:ui("add"),set:ui("set"),delete:ui("delete"),clear:ui("clear"),forEach:Er(!0,!1)},s={get(r){return br(this,r,!0,!0)},get size(){return wr(this,!0)},has(r){return Cr.call(this,r,!0)},add:ui("add"),set:ui("set"),delete:ui("delete"),clear:ui("clear"),forEach:Er(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=xr(r,!1,!1),i[r]=xr(r,!0,!1),t[r]=xr(r,!1,!0),s[r]=xr(r,!0,!0)}),[e,i,t,s]}const[jw,Uw,Qw,Gw]=Vw();function Qo(e,t){const i=t?e?Gw:Qw:e?Uw:jw;return(s,n,r)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?s:Reflect.get(_e(i,n)&&n in s?i:s,n,r)}const qw={get:Qo(!1,!1)},Hw={get:Qo(!0,!1)},Jw={get:Qo(!0,!0)};function jd(e,t,i){const s=fe(i);if(s!==i&&t.call(e,s)){const n=wd(e);`${n}`}}const Ud=new WeakMap,Kw=new WeakMap,Qd=new WeakMap,Gd=new WeakMap;function Ww(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zw(e){return e.__v_skip||!Object.isExtensible(e)?0:Ww(wd(e))}function qd(e){return Ki(e)?e:Go(e,!1,Lw,qw,Ud)}function Hd(e){return Go(e,!0,Bd,Hw,Qd)}function Ir(e){return Go(e,!0,Fw,Jw,Gd)}function Go(e,t,i,s,n){if(!Ze(e))return process.env.NODE_ENV!=="production"&&`${String(e)}`,e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=n.get(e);if(r)return r;const a=zw(e);if(a===0)return e;const o=new Proxy(e,a===2?s:i);return n.set(e,o),o}function Ji(e){return Ki(e)?Ji(e.__v_raw):!!(e&&e.__v_isReactive)}function Ki(e){return!!(e&&e.__v_isReadonly)}function qo(e){return!!(e&&e.__v_isShallow)}function Ho(e){return Ji(e)||Ki(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Yw(e){return mw(e,"__v_skip",!0),e}const Jo=e=>Ze(e)?qd(e):e,Ko=e=>Ze(e)?Hd(e):e;function tt(e){return!!(e&&e.__v_isRef===!0)}function Xw(e){return tt(e)?e.value:e}const Zw={get:(e,t,i)=>Xw(Reflect.get(e,t,i)),set:(e,t,i,s)=>{const n=e[t];return tt(n)&&!tt(i)?(n.value=i,!0):Reflect.set(e,t,i,s)}};function $w(e){return Ji(e)?e:new Proxy(e,Zw)}const Wi=[];function eE(e){Wi.push(e)}function tE(){Wi.pop()}function Je(e,...t){if(process.env.NODE_ENV==="production")return;Sd();const i=Wi.length?Wi[Wi.length-1].component:null,s=i&&i.appContext.config.warnHandler,n=iE();if(s)zi(s,i,11,[e+t.join(""),i&&i.proxy,n.map(({vnode:r})=>`at <${fh(i,r.type)}>`).join(`
|
|
27
|
+
`),n]);else{const r=[`[Vue warn]: ${e}`,...t];n.length&&r.push(`
|
|
28
|
+
`,...sE(n)),[...r]}Pd()}function iE(){let e=Wi[Wi.length-1];if(!e)return[];const t=[];for(;e;){const i=t[0];i&&i.vnode===e?i.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function sE(e){const t=[];return e.forEach((i,s)=>{t.push(...s===0?[]:[`
|
|
29
|
+
`],...nE(i))}),t}function nE({vnode:e,recurseCount:t}){const i=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,n=` at <${fh(e.component,e.type,s)}`,r=">"+i;return e.props?[n,...rE(e.props),r]:[n+r]}function rE(e){const t=[],i=Object.keys(e);return i.slice(0,3).forEach(s=>{t.push(...Jd(s,e[s]))}),i.length>3&&t.push(" ..."),t}function Jd(e,t,i){return Tt(t)?(t=JSON.stringify(t),i?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?i?t:[`${e}=${t}`]:tt(t)?(t=Jd(e,fe(t.value),!0),i?t:[`${e}=Ref<`,t,">"]):He(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=fe(t),i?t:[`${e}=`,t])}const Kd={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function zi(e,t,i,s){let n;try{n=s?e(...s):e()}catch(r){Wd(r,t,i)}return n}function Wo(e,t,i,s){if(He(e)){const r=zi(e,t,i,s);return r&&pw(r)&&r.catch(a=>{Wd(a,t,i)}),r}const n=[];for(let r=0;r<e.length;r++)n.push(Wo(e[r],t,i,s));return n}function Wd(e,t,i,s=!0){const n=t?t.vnode:null;if(t){let r=t.parent;const a=t.proxy,o=process.env.NODE_ENV!=="production"?Kd[i]:i;for(;r;){const p=r.ec;if(p){for(let h=0;h<p.length;h++)if(p[h](e,a,o)===!1)return}r=r.parent}const l=t.appContext.config.errorHandler;if(l){zi(l,null,10,[e,a,o]);return}}aE(e,i,n,s)}function aE(e,t,i,s=!0){if(process.env.NODE_ENV!=="production"){const n=Kd[t];if(i&&eE(i),Je(`Unhandled error${n?` during execution of ${n}`:""}`),i&&tE(),s)throw e;console.error(e)}else console.error(e)}let Tr=!1,zo=!1;const _t=[];let pi=0;const Ts=[];let Rt=null,di=0;const zd=Promise.resolve();let Yo=null;const oE=100;function lE(e){const t=Yo||zd;return e?t.then(this?e.bind(this):e):t}function cE(e){let t=pi+1,i=_t.length;for(;t<i;){const s=t+i>>>1;on(_t[s])<e?t=s+1:i=s}return t}function Xo(e){(!_t.length||!_t.includes(e,Tr&&e.allowRecurse?pi+1:pi))&&(e.id==null?_t.push(e):_t.splice(cE(e.id),0,e),Yd())}function Yd(){!Tr&&!zo&&(zo=!0,Yo=zd.then(Zd))}function Xd(e){be(e)?Ts.push(...e):(!Rt||!Rt.includes(e,e.allowRecurse?di+1:di))&&Ts.push(e),Yd()}function uE(e){if(Ts.length){const t=[...new Set(Ts)];if(Ts.length=0,Rt){Rt.push(...t);return}for(Rt=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Rt.sort((i,s)=>on(i)-on(s)),di=0;di<Rt.length;di++)process.env.NODE_ENV!=="production"&&$d(e,Rt[di])||Rt[di]();Rt=null,di=0}}const on=e=>e.id==null?1/0:e.id,pE=(e,t)=>{const i=on(e)-on(t);if(i===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return i};function Zd(e){zo=!1,Tr=!0,process.env.NODE_ENV!=="production"&&(e=e||new Map),_t.sort(pE);const t=process.env.NODE_ENV!=="production"?i=>$d(e,i):So;try{for(pi=0;pi<_t.length;pi++){const i=_t[pi];if(i&&i.active!==!1){if(process.env.NODE_ENV!=="production"&&t(i))continue;zi(i,null,14)}}}finally{pi=0,_t.length=0,uE(e),Tr=!1,Yo=null,(_t.length||Ts.length)&&Zd(e)}}function $d(e,t){if(!e.has(t))e.set(t,1);else{const i=e.get(t);if(i>oE){const s=t.ownerInstance,n=s&&hh(s.type);return Je(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,i+1)}}const ln=new Set;process.env.NODE_ENV!=="production"&&(Oo().__VUE_HMR_RUNTIME__={createRecord:Zo(dE),rerender:Zo(hE),reload:Zo(fE)});const _r=new Map;function dE(e,t){return _r.has(e)?!1:(_r.set(e,{initialDef:cn(t),instances:new Set}),!0)}function cn(e){return mh(e)?e.__vccOpts:e}function hE(e,t){const i=_r.get(e);!i||(i.initialDef.render=t,[...i.instances].forEach(s=>{t&&(s.render=t,cn(s.type).render=t),s.renderCache=[],s.update()}))}function fE(e,t){const i=_r.get(e);if(!i)return;t=cn(t),eh(i.initialDef,t);const s=[...i.instances];for(const n of s){const r=cn(n.type);ln.has(r)||(r!==i.initialDef&&eh(r,t),ln.add(r)),n.appContext.propsCache.delete(n.type),n.appContext.emitsCache.delete(n.type),n.appContext.optionsCache.delete(n.type),n.ceReload?(ln.add(r),n.ceReload(t.styles),ln.delete(r)):n.parent?Xo(n.parent.update):n.appContext.reload?n.appContext.reload():typeof window<"u"&&window.location.reload()}Xd(()=>{for(const n of s)ln.delete(cn(n.type))})}function eh(e,t){yt(e,t);for(const i in e)i!=="__file"&&!(i in t)&&delete e[i]}function Zo(e){return(t,i)=>{try{return e(t,i)}catch(s){console.error(s)}}}let hi=null,mE=null;function ET(){}const gE=e=>e.__isSuspense;function yE(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):Xd(e)}const Nr={};function vE(e,t,{immediate:i,deep:s,flush:n,onTrack:r,onTrigger:a}=Bt){var o;process.env.NODE_ENV!=="production"&&!t&&(i!==void 0&&Je('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&Je('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const l=E=>{Je("Invalid watch source: ",E,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},p=Cw()===((o=ks)==null?void 0:o.scope)?ks:null;let h,d=!1,y=!1;if(tt(e)?(h=()=>e.value,d=qo(e)):Ji(e)?(h=()=>e,s=!0):be(e)?(y=!0,d=e.some(E=>Ji(E)||qo(E)),h=()=>e.map(E=>{if(tt(E))return E.value;if(Ji(E))return _s(E);if(He(E))return zi(E,p,2);process.env.NODE_ENV!=="production"&&l(E)})):He(e)?t?h=()=>zi(e,p,2):h=()=>{if(!(p&&p.isUnmounted))return x&&x(),Wo(e,p,3,[M])}:(h=So,process.env.NODE_ENV!=="production"&&l(e)),t&&s){const E=h;h=()=>_s(E())}let x,M=E=>{x=U.onStop=()=>{zi(E,p,4)}},B=y?new Array(e.length).fill(Nr):Nr;const Z=()=>{if(!!U.active)if(t){const E=U.run();(s||d||(y?E.some((P,S)=>yr(P,B[S])):yr(E,B)))&&(x&&x(),Wo(t,p,3,[E,B===Nr?void 0:y&&B[0]===Nr?[]:B,M]),B=E)}else U.run()};Z.allowRecurse=!!t;let H;n==="sync"?H=Z:n==="post"?H=()=>rh(Z,p&&p.suspense):(Z.pre=!0,p&&(Z.id=p.uid),H=()=>Xo(Z));const U=new xw(h,H);return process.env.NODE_ENV!=="production"&&(U.onTrack=r,U.onTrigger=a),t?i?Z():B=U.run():n==="post"?rh(U.run.bind(U),p&&p.suspense):U.run(),()=>{U.stop(),p&&p.scope&&lw(p.scope.effects,U)}}function AE(e,t,i){const s=this.proxy,n=Tt(e)?e.includes(".")?bE(s,e):()=>s[e]:e.bind(s,s);let r;He(t)?r=t:(r=t.handler,i=t);const a=ks;dh(this);const o=vE(n,r.bind(s),i);return a?dh(a):jE(),o}function bE(e,t){const i=t.split(".");return()=>{let s=e;for(let n=0;n<i.length&&s;n++)s=s[i[n]];return s}}function _s(e,t){if(!Ze(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),tt(e))_s(e.value,t);else if(be(e))for(let i=0;i<e.length;i++)_s(e[i],t);else if(uw(e)||Is(e))e.forEach(i=>{_s(i,t)});else if(hw(e))for(const i in e)_s(e[i],t);return e}const CE=Symbol.for("v-ndc"),$o=e=>e?UE(e)?QE(e)||e.proxy:$o(e.parent):null,un=yt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Ir(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Ir(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Ir(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Ir(e.refs):e.refs,$parent:e=>$o(e.parent),$root:e=>$o(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?IE(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>Xo(e.update)),$nextTick:e=>e.n||(e.n=lE.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?AE.bind(e):So}),wE=e=>e==="_"||e==="$",el=(e,t)=>e!==Bt&&!e.__isScriptSetup&&_e(e,t),EE={get({_:e},t){const{ctx:i,setupState:s,data:n,props:r,accessCache:a,type:o,appContext:l}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let p;if(t[0]!=="$"){const x=a[t];if(x!==void 0)switch(x){case 1:return s[t];case 2:return n[t];case 4:return i[t];case 3:return r[t]}else{if(el(s,t))return a[t]=1,s[t];if(n!==Bt&&_e(n,t))return a[t]=2,n[t];if((p=e.propsOptions[0])&&_e(p,t))return a[t]=3,r[t];if(i!==Bt&&_e(i,t))return a[t]=4,i[t];(!__VUE_OPTIONS_API__||xE)&&(a[t]=0)}}const h=un[t];let d,y;if(h)return t==="$attrs"?(et(e,"get",t),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&et(e,"get",t),h(e);if((d=o.__cssModules)&&(d=d[t]))return d;if(i!==Bt&&_e(i,t))return a[t]=4,i[t];if(y=l.config.globalProperties,_e(y,t))return y[t];process.env.NODE_ENV!=="production"&&hi&&(!Tt(t)||t.indexOf("__v")!==0)&&(n!==Bt&&wE(t[0])&&_e(n,t)?Je(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===hi&&Je(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,i){const{data:s,setupState:n,ctx:r}=e;return el(n,t)?(n[t]=i,!0):process.env.NODE_ENV!=="production"&&n.__isScriptSetup&&_e(n,t)?(Je(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==Bt&&_e(s,t)?(s[t]=i,!0):_e(e.props,t)?(process.env.NODE_ENV!=="production"&&Je(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&Je(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:i}):r[t]=i,!0)},has({_:{data:e,setupState:t,accessCache:i,ctx:s,appContext:n,propsOptions:r}},a){let o;return!!i[a]||e!==Bt&&_e(e,a)||el(t,a)||(o=r[0])&&_e(o,a)||_e(s,a)||_e(un,a)||_e(n.config.globalProperties,a)},defineProperty(e,t,i){return i.get!=null?e._.accessCache[t]=0:_e(i,"value")&&this.set(e,t,i.value,null),Reflect.defineProperty(e,t,i)}};process.env.NODE_ENV!=="production"&&(EE.ownKeys=e=>(Je("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function th(e){return be(e)?e.reduce((t,i)=>(t[i]=null,t),{}):e}let xE=!0;function IE(e){const t=e.type,{mixins:i,extends:s}=t,{mixins:n,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,o=r.get(t);let l;return o?l=o:!n.length&&!i&&!s?l=t:(l={},n.length&&n.forEach(p=>kr(l,p,a,!0)),kr(l,t,a)),Ze(t)&&r.set(t,l),l}function kr(e,t,i,s=!1){const{mixins:n,extends:r}=t;r&&kr(e,r,i,!0),n&&n.forEach(a=>kr(e,a,i,!0));for(const a in t)if(s&&a==="expose")process.env.NODE_ENV!=="production"&&Je('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=TE[a]||i&&i[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const TE={data:ih,props:nh,emits:nh,methods:pn,computed:pn,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:pn,directives:pn,watch:NE,provide:ih,inject:_E};function ih(e,t){return t?e?function(){return yt(He(e)?e.call(this,this):e,He(t)?t.call(this,this):t)}:t:e}function _E(e,t){return pn(sh(e),sh(t))}function sh(e){if(be(e)){const t={};for(let i=0;i<e.length;i++)t[e[i]]=e[i];return t}return e}function Ke(e,t){return e?[...new Set([].concat(e,t))]:t}function pn(e,t){return e?yt(Object.create(null),e,t):t}function nh(e,t){return e?be(e)&&be(t)?[...new Set([...e,...t])]:yt(Object.create(null),th(e),th(t!=null?t:{})):t}function NE(e,t){if(!e)return t;if(!t)return e;const i=yt(Object.create(null),e);for(const s in t)i[s]=Ke(e[s],t[s]);return i}function kE(){return{app:null,config:{isNativeTag:rw,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}const rh=yE,SE=e=>e.__isTeleport,ah=Symbol.for("v-fgt"),PE=Symbol.for("v-txt"),DE=Symbol.for("v-cmt");let Ns=null;function OE(e){return e?e.__v_isVNode===!0:!1}const ME=(...e)=>ch(...e),oh="__vInternal",lh=({key:e})=>e!=null?e:null,Sr=({ref:e,ref_key:t,ref_for:i})=>(typeof e=="number"&&(e=""+e),e!=null?Tt(e)||tt(e)||He(e)?{i:hi,r:e,k:t,f:!!i}:e:null);function BE(e,t=null,i=null,s=0,n=null,r=e===ah?0:1,a=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lh(t),ref:t&&Sr(t),scopeId:mE,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:hi};return o?(tl(l,i),r&128&&e.normalize(l)):i&&(l.shapeFlag|=Tt(i)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&Je("VNode created with invalid key (NaN). VNode type:",l.type),!a&&Ns&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ns.push(l),l}const RE=process.env.NODE_ENV!=="production"?ME:ch;function ch(e,t=null,i=null,s=0,n=null,r=!1){if((!e||e===CE)&&(process.env.NODE_ENV!=="production"&&!e&&Je(`Invalid vnode type when creating vnode: ${e}.`),e=DE),OE(e)){const o=Pr(e,t,!0);return i&&tl(o,i),!r&&Ns&&(o.shapeFlag&6?Ns[Ns.indexOf(e)]=o:Ns.push(o)),o.patchFlag|=-2,o}if(mh(e)&&(e=e.__vccOpts),t){t=LE(t);let{class:o,style:l}=t;o&&!Tt(o)&&(t.class=Bo(o)),Ze(l)&&(Ho(l)&&!be(l)&&(l=yt({},l)),t.style=Mo(l))}const a=Tt(e)?1:gE(e)?128:SE(e)?64:Ze(e)?4:He(e)?2:0;return process.env.NODE_ENV!=="production"&&a&4&&Ho(e)&&(e=fe(e),Je("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
30
|
+
Component that was made reactive: `,e)),BE(e,t,i,s,n,a,r,!0)}function LE(e){return e?Ho(e)||oh in e?yt({},e):e:null}function Pr(e,t,i=!1){const{props:s,ref:n,patchFlag:r,children:a}=e,o=t?VE(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&lh(o),ref:t&&t.ref?i&&n?be(n)?n.concat(Sr(t)):[n,Sr(t)]:Sr(t):n,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&r===-1&&be(a)?a.map(uh):a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ah?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pr(e.ssContent),ssFallback:e.ssFallback&&Pr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function uh(e){const t=Pr(e);return be(e.children)&&(t.children=e.children.map(uh)),t}function FE(e=" ",t=0){return RE(PE,null,e,t)}function tl(e,t){let i=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(be(t))i=16;else if(typeof t=="object")if(s&65){const n=t.default;n&&(n._c&&(n._d=!1),tl(e,n()),n._c&&(n._d=!0));return}else{i=32;const n=t._;!n&&!(oh in t)?t._ctx=hi:n===3&&hi&&(hi.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else He(t)?(t={default:t,_ctx:hi},i=32):(t=String(t),s&64?(i=16,t=[FE(t)]):i=8);e.children=t,e.shapeFlag|=i}function VE(...e){const t={};for(let i=0;i<e.length;i++){const s=e[i];for(const n in s)if(n==="class")t.class!==s.class&&(t.class=Bo([t.class,s.class]));else if(n==="style")t.style=Mo([t.style,s.style]);else if(ow(n)){const r=t[n],a=s[n];a&&r!==a&&!(be(r)&&r.includes(a))&&(t[n]=r?[].concat(r,a):a)}else n!==""&&(t[n]=s[n])}return t}kE();let ks=null,il,Ss,ph="__VUE_INSTANCE_SETTERS__";(Ss=Oo()[ph])||(Ss=Oo()[ph]=[]),Ss.push(e=>ks=e),il=e=>{Ss.length>1?Ss.forEach(t=>t(e)):Ss[0](e)};const dh=e=>{il(e),e.scope.on()},jE=()=>{ks&&ks.scope.off(),il(null)};function UE(e){return e.vnode.shapeFlag&4}function QE(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy($w(Yw(e.exposed)),{get(t,i){if(i in t)return t[i];if(i in un)return un[i](e)},has(t,i){return i in t||i in un}}))}const GE=/(?:^|[-_])(\w)/g,qE=e=>e.replace(GE,t=>t.toUpperCase()).replace(/[-_]/g,"");function hh(e,t=!0){return He(e)?e.displayName||e.name:e.name||t&&e.__name}function fh(e,t,i=!1){let s=hh(t);if(!s&&t.__file){const n=t.__file.match(/([^/\\]+)\.\w+$/);n&&(s=n[1])}if(!s&&e&&e.parent){const n=r=>{for(const a in r)if(r[a]===t)return a};s=n(e.components||e.parent.type.components)||n(e.appContext.components)}return s?qE(s):i?"App":"Anonymous"}function mh(e){return He(e)&&"__vccOpts"in e}function sl(e){return!!(e&&e.__v_isShallow)}function HE(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},i={style:"color:#b62e24"},s={style:"color:#9d288c"},n={header(d){return Ze(d)?d.__isVue?["div",e,"VueInstance"]:tt(d)?["div",{},["span",e,h(d)],"<",o(d.value),">"]:Ji(d)?["div",{},["span",e,sl(d)?"ShallowReactive":"Reactive"],"<",o(d),`>${Ki(d)?" (readonly)":""}`]:Ki(d)?["div",{},["span",e,sl(d)?"ShallowReadonly":"Readonly"],"<",o(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...r(d.$)]}};function r(d){const y=[];d.type.props&&d.props&&y.push(a("props",fe(d.props))),d.setupState!==Bt&&y.push(a("setup",d.setupState)),d.data!==Bt&&y.push(a("data",fe(d.data)));const x=l(d,"computed");x&&y.push(a("computed",x));const M=l(d,"inject");return M&&y.push(a("injected",M)),y.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),y}function a(d,y){return y=yt({},y),Object.keys(y).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(y).map(x=>["div",{},["span",s,x+": "],o(y[x],!1)])]]:["span",{}]}function o(d,y=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",i,JSON.stringify(d)]:typeof d=="boolean"?["span",s,d]:Ze(d)?["object",{object:y?fe(d):d}]:["span",i,String(d)]}function l(d,y){const x=d.type;if(He(x))return;const M={};for(const B in d.ctx)p(x,B,y)&&(M[B]=d.ctx[B]);return M}function p(d,y,x){const M=d[x];if(be(M)&&M.includes(y)||Ze(M)&&y in M||d.extends&&p(d.extends,y,x)||d.mixins&&d.mixins.some(B=>p(B,y,x)))return!0}function h(d){return sl(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(n):window.devtoolsFormatters=[n]}function JE(){HE()}process.env.NODE_ENV!=="production"&&JE();const KE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAByFJREFUeF7t19HJLEUUhdHpQEzEOMREjOMmIsZhIgYyou8KvTecA1Xrgm+zLXrV/9H08/GPAIH/FHjYECDw3wIC8ddB4H8EBOLPg4BA/A0QyAS8QTI3q0sEBHLJRXvMTEAgmZvVJQICueSiPWYmIJDMzeoSAYFcctEeMxMQSOZmdYmAQC65aI+ZCQgkc7O6REAgl1y0x8wEBJK5WV0iIJBLLtpjZgICydysLhEQyCUX7TEzAYFkblaXCAjkkov2mJmAQDI3q0sEBHLJRXvMTEAgmZvVJQICueSiPWYmIJDMrVp9v9+fP5/PHy//J788z/Pny42flwICKQGTuUAStZ2NQBbcBbKAHh4pkBCumQmk0ZvdCmTW+9/TBLKAHh4pkBCumQmk0ZvdCmTW2xtkwbs5UiCNXrj1BgnhFmYCWUAXyAJ6eKRAQrhmJpBGb3YrkFlv3yAL3s2RAmn0wq03SAi3MBPIArpAFtDDIwUSwjUzgTR6s1uBzHr7Blnwbo4USKMXbr1BQriFmUAW0AWygB4eKZAQrpkJpNGb3Qpk1ts3yIJ3c6RAGr1w6w0Swi3MBLKALpAF9PBIgYRwzUwgjd7sViCz3r5BFrybIwXS6IVbb5AQbmEmkAV0gSygh0cKJIRrZgJp9Ga3Apn19g2y4N0cKZBGL9x6g4RwCzOBLKALZAE9PFIgIVwzE0ijN7sVyKy3b5AF7+ZIgT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KhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcI/B+xx2bn1cBs4wAAAABJRU5ErkJggg==",nl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6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kmiG6VOAgPh0o1UQBQhIkEQzTJ8CBMSnG62CKEBAgiSaYfoUICA+3WgVRAECEiTRDNOnAAHx6UarIAoQkCCJZpg+BQiITzdaBVGAgARJNMP0KUBAfLrRKogCBCRIohmmTwEC4tONVkEUICBBEs0wfQoQEJ9utAqiAAEJkmiG6VPgf/UDKvbyCmTdAAAAAElFTkSuQmCC",zE={name:"TopTips",props:{text:{default:"",type:String},type:{default:"default",type:String},statusTips:{default:!1,type:Boolean},domNode:{default:"",type:String},visible:{default:!1,type:Boolean}},data(){return{show:!1,status:"",timeOut:null}},computed:{error(){return KE},loading(){return WE},success(){return nl}},watch:{type:{handler(e,t){if(e=="loading"){clearInterval(this.timeOut);return}else this.timeOut=setTimeout(()=>{this.show=!1},1500)},immediate:!0,deep:!0}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el)})},methods:{handleOpen(){this.show||(this.show=!0,this.type=="loading"?clearInterval(this.timeOut):this.timeOut=setTimeout(()=>{this.show=!1},1500))},handleClose(){this.show=!1}}};var YE=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.show?i("div",[e.statusTips?i("div",{staticClass:"top-tipss",style:e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;"},[i("div",{staticClass:"top-tipss-status"},[e.type=="loading"?i("div",{staticClass:"top-tipss-loadinig"},[i("img",{attrs:{src:e.loading}}),e.text?i("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e(),e.type=="success"?i("div",{staticClass:"top-tipss-success"},[i("img",{attrs:{src:e.success}}),e.text?i("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e(),e.type=="error"?i("div",{staticClass:"top-tipss-error"},[i("img",{attrs:{src:e.error}}),e.text?i("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e()])]):i("div",{staticClass:"top-tipss",style:e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;"},[e.text?i("div",{staticClass:"top-tipss-text"},[e._v(e._s(e.text))]):e._e()]),i("div",{staticClass:"top-tipss-mask",style:e.show&&e.statusTips?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"})]):e._e()},XE=[];const xT="",gh={};var ZE=ve(zE,YE,XE,!1,$E,"79d9d777",null,null);function $E(e){for(let t in gh)this[t]=gh[t]}const Nt=function(){return ZE.exports}(),ex="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAEmBJREFUeF7tnAt0VdWZx397n3PvDUlISHgEkJfDGxXRVnGqq2o7PtvB1hl0fFun6ji+xhfgzCioq5WA2hFxptUOY23VqlNf06laW7VrVUfs8gEqgmBFRZ4hIRBIcu85e8/69j4HriEJAYLiY691181Ncs/Z+3/++/u+/b0U3T1mWM0AAlZhmaEirFUoZZlus+WlDM8ZJqKpsJZhCiYAxmgC5T8Pk+lYWG4Vy7UhBrSF15ViOYaNrZr5TVt4lxtUfuu1Z9iQAShWETNDme5ckuqWiwkIdxGyEsUMCg6QOTbXazMDAs1wYD9jGKk1gwJFX6UIUZQrS7W7v0AI5fJKAGqy0IQVrMAq6rE0WUsUW9YZwwqtWQq8FRve3VDGKi5TrQ6wGWRQGKYTu3ns5tg9gGRCD6NZ5Njinlz1HFtBK/thOUwZJmjNKGCcggoDthChYguRvIqetTFCJb8arf0rHaGGUEGgIBNiNcjKNwKLjOEdq3kdxUvkeKv+MiW/B2HyOBSTMbsD1O4BlK5AKA706UE/AyeguBrLGAVxbAksWGMwGmwuRAWyYI3KaLbeX36Xfi4YbFwEnnyOkt+1RlgDSmu0AhUoBO8AxWIst2h4sq6Z1R6k3d9uuwaQMOcG2U5+An1vtiNizWlYJivFMKUoEx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BklhadEW8ZDWLGqapxq3G307Km/aeffcwyPcWChB1mjR5GzHH5ta1MjCMGI5mnIGRGgYFmr4KpHawp1JJkzd/5tm+yVsyY2uRcu1N0vYsNqwzsELDUgyLopB3++ZYuWyvbPLW0XbrpE1gFg5DUYFvC3iQy+U0rp3XMKUZ6hSmL9Nejnb5nfK315A2gZaNeXjpk2wT+P9KELohNtx5+AAAAABJRU5ErkJggg==",tx={name:"attchViews",components:{TopTips:Nt,PreviewImage:Jn,PreView:Tu,TopPopup:at},props:{request:{type:Function,defalut:()=>{}},limit:{type:[Number,String],default:4},changeFn:{type:Function,default:null},requires:{default:!1},inComing:{type:Array,defalut:()=>[]},deletFn:{type:Function},onlyShow:{type:Boolean,default:!1},linkUrl:{type:Function,defalut:null}},data(){return{lists:[],filesArr:[],imgIcon:["jpg","jpeg","png","gif"],docIcon:["doc","docx"],xlsIcon:["xls","xlsx"],zipIcon:["zip","rar","7z"],extension:["bmp","gif","jpg","jpeg","png","doc","docx","xls","xlsx","ppt","pptx","html","htm","txt","wps","rar","zip","gz","bz2","mp4","avi","rmvb","pdf"],current:"",buttonLoading:!1,handleCloseType:!0,uploadState:!0,textTips:"",statusTips:!1,typeTips:"success",visible:!1,indexd:0,visibleS:!1,fileUrl:""}},watch:{inComing:{handler(e,t){e&&(this.filesArr=[].concat(e),this.emitView())},immediate:!0,deep:!0}},computed:{haveCount(){return this.limit==-1?100:this.limit-this.filesArr.length},addFile(){return ex},del(){return Nu},doc(){return ku},file(){return Su},image(){return Pu},pdf(){return Du},xls(){return Ou},zip(){return Mu}},mounted(){this.$nextTick(()=>{let e=document.createElement("input");e.type="file",e.className="upload-input",e.style="opacity: 0;position: absolute;width:100%;height:100%;visibility: hidden;",e.multiple=!0,e.id="fileUp",e.addEventListener("change",this.handleSelect),document.getElementById("inputfile").appendChild(e)})},methods:{handleClick(){if(typeof nativeMethod<"u"&&nativeMethod.vueSelectFile&&nativeMethod.vueSelectFile(2,"*",this.limit||1),this.haveCount<=0){this.handleTips(`\u6700\u591A\u4E0A\u4F20${this.limit}\u4E2A\u6587\u4EF6`,!1,"success");return}document.getElementById("fileUp").click()},async handleSelect(e,t){this.handleTips("\u4E0A\u4F20\u4E2D",!0,"loading");const i=Array.from(e.target.files);document.getElementById("fileUp").value="";let s=0,n=this.haveCount>i.length?i.length:this.haveCount;try{for(let r=0;r<n;r++)if(this.extension.includes(i[r].name.substring(i[r].name.lastIndexOf(".")+1))){const a=new FormData;a.append("file",i[r]);const o=await this.request.post("/file/upload",a,{headers:{"Content-Type":"multipart/form-data"}});if(o.code===200){if(this.filesArr.length>0){for(let l=0;l<this.filesArr.length;l++)if(o.name==this.filesArr[l].name&&s++,this.filesArr[l].name.includes(`(${s})`)&&s++,s>0){let p=o.name.lastIndexOf(".");o.name=`${o.name.substring(0,p)} (${s}) .${o.name.substring(o.name.lastIndexOf(".")+1)}`}}this.filesArr.push(o.data)}else{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.viewImage();return}}else{this.handleTips(`\u6587\u4EF6${i[r].name}\u683C\u5F0F\u9519\u8BEF,\u8BF7\u91CD\u65B0\u4E0A\u4F20`,!0,"error");return}this.handleTips("\u4E0A\u4F20\u6210\u529F",!0,"success"),this.viewImage(),this.emitView()}catch{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.emitView()}},handleDel(e,t){if(this.deletFn){if(this.deletFn(t)===!1){this.handleTips("\u5220\u9664\u5931\u8D25",!0,"error");return}this.filesArr.splice(e,1),this.emitView()}else this.filesArr.splice(e,1),this.emitView()},viewFile(e,t){this.imgIcon.includes(e.name.substring(e.name.lastIndexOf(".")+1).toLowerCase())?(this.indexd=this.lists.indexOf(e.url),this.visible=!0):e.url&&(this.fileUrl=e.url,this.visibleS=!0)},viewImage(){this.lists=[];let e=[];this.filesArr.map((t,i)=>{this.imgIcon.includes(t.name.substring(t.name.lastIndexOf(".")+1).toLowerCase())}),e=this.filesArr.filter(t=>this.imgIcon.includes(t.name.substring(t.name.lastIndexOf(".")+1).toLowerCase())),e.forEach((t,i)=>{this.lists.push(t.url)})},emitView(){this.$emit("getValue",this.filesArr)},clearData(){this.filesArr=[]},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()}}};var ix=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"attch-upload"},[e.buttonLoading?i("div",{staticClass:"attch-upload-mask"}):e._e(),i("div",{staticClass:"attch-upload-body"},[i("div",{staticClass:"upload-header"},[i("div",{staticClass:"upload-header-title"},[e._v(" \u9644\u4EF6 "),e.requires?i("span",{staticClass:"upload-header-title--re"},[e._v("*")]):e._e()]),i("div",{staticClass:"upload-header-upload"},[e.onlyShow?e._e():i("div",{staticClass:"upload-header-upload--item",attrs:{id:"inputfile"},on:{click:e.handleClick}},[i("img",{attrs:{src:e.addFile}}),e._v("\u4E0A\u4F20\u9644\u4EF6 ")])])]),i("div",{staticClass:"upload-body"},[e.filesArr.length>0?i("div",{staticClass:"upload-list"},e._l(e.filesArr,function(s,n){return i("div",{key:s.uuid,staticClass:"list-items"},[i("div",{staticClass:"list-items-icon"},[e.xlsIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.xls}}):e.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.image}}):s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?i("img",{staticClass:"icon-img",attrs:{src:e.pdf}}):e.docIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.doc}}):e.zipIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?i("img",{staticClass:"icon-img",attrs:{src:e.zip}}):i("img",{staticClass:"icon-img",attrs:{src:e.file}})]),i("div",{staticClass:"list-items-info"},[i("div",{staticClass:"info-name"},[e._v(" "+e._s(s.name)+" ")]),i("div",{staticClass:"info-attribute"},[i("span",{staticClass:"info-attribute-size"},[e._v(e._s(s.fileSize<1024?s.fileSize:s.fileSize/1024>1024?parseFloat((s.fileSize/1024/1024).toFixed(2)):parseFloat((s.fileSize/1024).toFixed(2)))+e._s(s.fileSize<1024?"b":parseFloat((s.fileSize/1024).toFixed(2))<1024?"kb":"M")+" ")]),i("span",{staticClass:"info-attribute-views",on:{click:function(r){return e.viewFile(s,n)}}},[e._v(" \u9884\u89C8 ")])])]),e.onlyShow?e._e():i("div",{staticClass:"list-items-operation"},[i("div",{staticClass:"list-items-operation-img",on:{click:function(r){return e.handleDel(n,s)}}},[i("img",{attrs:{src:e.del}})])])])}),0):e._e()])]),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("PreviewImage",{attrs:{images:e.lists,visible:e.visible,indexd:e.indexd},on:{"update:visible":function(s){return e.visible=s}}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleS,titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},on:{"update:visible":function(s){return e.visibleS=s}}},[e.visibleS?i("PreView",{attrs:{file:e.fileUrl}}):e._e()],1)],1)},sx=[];const IT="",yh={};var nx=ve(tx,ix,sx,!1,rx,"26dcacc2",null,null);function rx(e){for(let t in yh)this[t]=yh[t]}const Yi=function(){return nx.exports}();var ax=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-flow",attrs:{type:"flex"}},[i("div",[e._l(e.getColors(e.flowList),function(s,n){return[["candidate","sequenceFlow"].includes(s.historyActivityType)?e._e():i("div",{key:s.id,staticClass:"flow-item",attrs:{timestamp:s.endTime||s.createTime,placement:"top"}},[i("p",[i("span",{staticClass:"flow-name"},[e._v(e._s(s.assigneeName||(s.comments&&s.comments.length>0?s.comments[s.comments.length-1].userId:"")))]),e._v(" \u5728 "),i("span",{staticClass:"flow-time"},[e._v(e._s(s.createTime))]),e._v(" \u5F00\u59CB\u5904\u7406 "),i("span",{staticClass:"flow-node"},[e._v(e._s(s.historyActivityType=="endEvent"?"\u7ED3\u675F":s.historyActivityName||"\u672A\u547D\u540D"))]),e._v(" \u73AF\u8282 ")]),s.historyActivityDurationTime?i("p",{staticClass:"flow-time"},[e._v(" \u4EFB\u52A1\u5386\u65F6 "+e._s(s.historyActivityDurationTime)+" ")]):e._e(),s.comments&&s.comments.length>0?[e._l(s.comments.filter(function(r){return r.action==="AddComment"}),function(r,a){return[a<1?[i("span",{class:["comment-type",s.class]},[e._v(e._s(e.commentMap[r.type]||r.type))]),i("span",{staticClass:"comment-user"},[e._v(e._s(r.userId))]),e._v(": "),i("span",[e._v(" "+e._s(r.fullMessage)+" ")]),s.comments.filter(function(o){return o.action==="AddComment"}).length>1?i("span",{staticStyle:{color:"#1989fa",float:"right"},on:{click:e.handleClick}},[e._v(" "+e._s(e.toggleText)+" "),i("i",{class:[e.isFlag?"arrow-up":"arrow-down"]})]):e._e(),r.time&&e.isFlag?i("p",{staticStyle:{color:"gray","font-size":"12px"}},[e._v(e._s(r.time))]):e._e()]:e._e(),a>0&&e.isFlag?[i("span",{staticClass:"comment-type"},[e._v(e._s(e.commentMap[r.type]||r.type))]),i("span",{staticClass:"comment-user"},[e._v(e._s(r.userId))]),e._v(": "),i("span",[e._v(" "+e._s(r.fullMessage)+" ")]),r.time?i("p",{staticStyle:{color:"gray","font-size":"12px"}},[e._v(e._s(r.time))]):e._e()]:e._e()]})]:e._e(),s.endTime?i("p",{staticClass:"flow-time"},[e._v("\u7ED3\u675F\u65F6\u95F4: "+e._s(s.endTime))]):e._e(),i("div",{staticClass:"p-file"},[s.attachmentsFujian&&s.attachmentsFujian.length>0?i("div",{on:{click:function(r){return e.$emit("view",s.attachmentsFujian)}}},[e._v(" \u67E5\u770B\u9644\u4EF6")]):e._e(),s.attachmentsQianzi&&s.attachmentsQianzi.length>0?i("div",{on:{click:function(r){return e.$emit("view",s.attachmentsQianzi)}}},[e._v(" \u67E5\u770B\u7B7E\u5B57")]):e._e()])],2)]})],2)])},ox=[];const TT="",lx={name:"nf-flow",components:{attchViews:Yi},props:{request:{type:Object,default:()=>{}},flowList:{type:Array,default:()=>[]}},data(){return{getColors:Cd,isFlag:!0,toggleText:"\u6536\u8D77",commentMap:{assigneeComment:"\u53D8\u66F4",dispatchComment:"\u8C03\u5EA6",transferComment:"\u8F6C\u529E",delegateComment:"\u59D4\u6258",rollbackComment:"\u56DE\u9000",terminateComment:"\u7EC8\u6B62",addMultiInstanceComment:"\u52A0\u7B7E",deleteMultiInstanceComment:"\u51CF\u7B7E",withdrawComment:"\u64A4\u9500",recallComment:"\u64A4\u56DE",deleteProcessComment:"\u5220\u9664",cancelProcessComment:"\u62D2\u7EDD",skipComment:"\u8DF3\u8FC7",comment:"\u5BA1\u6279",\u524D\u52A0\u7B7E:"\u52A0\u7B7E",\u540E\u52A0\u7B7E:"\u52A0\u7B7E"}}},methods:{handleClick(){this.isFlag=!this.isFlag,this.toggleText=this.isFlag?"\u6536\u8D77":"\u5C55\u5F00"}}},vh={};var cx=ve(lx,ax,ox,!1,ux,"35b01ec6",null,null);function ux(e){for(let t in vh)this[t]=vh[t]}const Ah=function(){return cx.exports}();var px=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:["bpmnnd-box",e.visible?"bpmnnd-box-active":""]},[i("processFlow",{staticStyle:{width:"70vw"},attrs:{request:e.request,"flow-list":e.formatFlow(e.curData)}})],1)},dx=[];const _T="",hx={components:{processFlow:Ah},inject:["request"],data(){return{visible:!1,curData:[],curName:"",commentMap:{assigneeComment:"\u53D8\u66F4\u5BA1\u6838\u4EBA",dispatchComment:"\u8C03\u5EA6",transferComment:"\u8F6C\u529E",delegateComment:"\u59D4\u6258",rollbackComment:"\u6307\u5B9A\u56DE\u9000\u6D41\u7A0B",terminateComment:"\u7EC8\u6B62\u610F\u89C1",addMultiInstanceComment:"\u52A0\u7B7E",deleteMultiInstanceComment:"\u51CF\u7B7E",withdrawComment:"\u64A4\u9500",recallComment:"\u64A4\u56DE",deleteProcessComment:"\u5220\u9664\u6D41\u7A0B",cancelProcessComment:"\u62D2\u7EDD",skipComment:"\u8DF3\u8FC7",comment:"\u5BA1\u6279\u610F\u89C1"}}},watch:{visible(e){e||this.$emit("close")}},methods:{formatFlow(e){let t=(e||[]).map(i=>({...i,attachmentsFujian:(i.attachments||[]).filter(s=>s.type!="signature"),attachmentsQianzi:(i.attachments||[]).filter(s=>s.type=="signature")}));return t=t.reverse(),Cd(t)},openDrawer(e,t){let i=t.filter(s=>s.historyActivityType=="userTask");this.curData=i.filter(s=>s.historyActivityId==e.id),this.curData,this.curName=this.curData.length?this.curData[0].historyActivityName:"",this.visible=!!(this.curData&&this.curData.length>0)},closeDrawer(){this.visible=!1}}},bh={};var fx=ve(hx,px,dx,!1,mx,"15b7ee40",null,null);function mx(e){for(let t in bh)this[t]=bh[t]}const gx=function(){return fx.exports}();var yx=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"container",staticClass:"bpmn-look",on:{wheel:e.handleWheel}},[i("bpmnNodeDetail",{ref:"bpmnNodeDetailRef",on:{close:e.closeDetail}})],1)},vx=[];const NT="",Ax={name:"bpmn-look",components:{bpmnNodeDetail:gx},props:{diagram:{type:String,default:"",required:!0},approvalData:{type:Array,default:()=>[]},isXml:{type:Boolean,default:!0}},data(){return{drawer:!1,isAdd:!1,viewer:null,loading:!0}},mounted(){this.initViewer(),this.$refs.container&&this.$refs.container.addEventListener("resize",this.canvasResize)},watch:{diagram:{async handler(e){let t=e;t&&this.isXml&&this.loadXml(t)},immediate:!0}},methods:{async getXml(e){let t={},i="";try{t=await api.repository.getXmlByProcessDefId({processDefId:e}),t.code==200&&(i=t.data)}catch(s){console.error(s)}return i},async initViewer(){this.viewer&&this.viewer.destroy();const e=Object.prototype.toString.call(xs)=="[object Function]"?xs:xs.default,t=Object.prototype.toString.call(No)=="[object Object]"?No:No.default,i=Object.prototype.toString.call(Io)=="[object Object]"?Io:Io.default;this.viewer=new e({container:this.$refs.container,additionalModules:[t,i]}),this.viewer.on("import.done",({error:s})=>{s||(this.canvasResize(),this.addApprovalData(),this.enableTouchMove())}),this.viewer.on("element.click",s=>{s.type,s.element,s&&s.element&&(s.element.type||"").includes("UserTask")?(this.drawer=!0,this.$refs.bpmnNodeDetailRef.openDrawer(s.element,this.approvalData)):(this.drawer=!1,this.$refs.bpmnNodeDetailRef.closeDrawer(s.element,this.approvalData))})},closeDetail(){this.drawer,this.drawer=!1},canvasResize(){this.viewer&&this.viewer.get("canvas").zoom("fit-viewport","auto")},enableTouchMove(){const e=this.viewer.get("canvas"),t=e._svg,i=document.querySelector(".viewport"),s=document.querySelector(".djs-tooltip-container");let n=!1,r,a,o=0,l=0,p=0,h=0;t.addEventListener("touchstart",d=>{n=!0;const y=d.touches[0];r=y.clientX,a=y.clientY;const x=i.getAttribute("transform").match(/matrix\(([^)]+)\)/)[1].split(/\s*,\s*|\s+/);o=parseFloat(x[4]),l=parseFloat(x[5]);const M=this.getTransformMatrix(s.style.transform);this.isAdd?(p=parseFloat(M[4]),h=parseFloat(M[5])):(p=parseFloat(M[4])+30,h=parseFloat(M[5])+16,this.isAdd=!0)}),t.addEventListener("touchmove",d=>{if(!n)return;const y=d.touches[0],x=y.clientX-r,M=y.clientY-a;l!==void 0&&(i.setAttribute("transform",`matrix(0.679276 0 0 0.679276 ${o+x} ${l+M})`),s.setAttribute("style",`position: absolute; width: 0px; height: 0px; transform: matrix(0.615, 0, 0, 0.615, ${p+x}, ${h+M});`)),e._cachedViewbox&&(e._cachedViewbox.x=x,e._cachedViewbox.y=M),d.preventDefault()}),t.addEventListener("touchend",()=>{n=!1})},getTransformMatrix(e){if(!e||e==="none")return[1,0,0,1,0,0];const t=e.match(/matrix(3d)?\(([^)]+)\)/i);if(!t)return null;const i=t[2].split(/\s*,\s*|\s+/).map(parseFloat);return t[1]!=="3d"&&i.length===6||t[1]==="3d"&&i.length===16?i:null},setNodeColor(e){const t=this.viewer.get("canvas"),i=this.viewer.get("elementRegistry"),s=this.viewer.get("tooltips");e.forEach(n=>{if(n.id&&n.class&&t.addMarker(n.id,n.class),n.id&&n.tooltip){const r=i.get(n.id);if(r){let{x:a,y:o,type:l}=r;["bpmn:StartEvent","bpmn:EndEvent"].includes(l)?(a=a-45,o=o+65):["bpmn:UserTask"].includes(l)&&(a=a-10,o=o+90),s.add({position:{x:a,y:o},html:n.tooltip})}}})},addApprovalData(){if(!this.approvalData||this.approvalData.length==0)return;const e=sw(this.approvalData);e&&e.length>0&&this.setNodeColor(e)},async loadXml(e){this.viewer||await this.initViewer();try{const{warnings:t}=await this.viewer.importXML(e);t.length&&this.$emit("warning",t)}catch(t){this.$emit("error",{message:"XML \u52A0\u8F7D\u5931\u8D25",detail:t.message}),console.error("XML \u52A0\u8F7D\u5931\u8D25:",t)}}},beforeDestroy(){this.$refs.container&&this.$refs.container.removeEventListener("resize",this.canvasResize),this.viewer&&this.viewer.destroy()}},Ch={};var bx=ve(Ax,yx,vx,!1,Cx,"728e4284",null,null);function Cx(e){for(let t in Ch)this[t]=Ch[t]}const wh=function(){return bx.exports}(),wx={name:"TopTab",components:{processFlow:Ah,BpmnLook:wh,TopPopup:at,ViewAttchList:Ru,PreviewImage:Jn},props:{ProcessInsObj:{type:Object,default:()=>({})},processXml:{type:String,default:""},approvalData:{type:Array,default:()=>[]},tapList:{type:Array,default:()=>[]},selfTapList:{type:Array,default:()=>[]},track:{type:String,default:""},taskComment:{type:Array,default:()=>[]},trackList:{type:Array,default:()=>[]}},data(){return{trackUrl:"",taskCommentList:[],active:"",defaultTabList:[{label:"\u57FA\u672C\u4FE1\u606F",key:"a",type:"default",slot:"default"},{label:"\u6D41\u7A0B\u56FE",key:"b",type:"default",slot:"b"},{label:"\u5BA1\u6279\u8BB0\u5F55",key:"c",type:"default",slot:"c"}],isTapList:[{label:"\u57FA\u672C\u4FE1\u606F",key:"a",type:"default",slot:"default"},{label:"\u6D41\u7A0B\u56FE",key:"b",type:"default",slot:"b"},{label:"\u5BA1\u6279\u8BB0\u5F55",key:"c",type:"default",slot:"c"}],label:document.getElementsByClassName("tops-tab-header-items"),visible:!1,inList:[],visibleTack:!1,trackListss:[],signPreViewVisible:!1,signLists:[],indexd:0}},watch:{tapList:{handler(e,t){this.selfTapList.length||(this.isTapList=[].concat(this.defaultTabList),e.length>0&&e.forEach((i,s)=>{i.sort&&i.sort>1?this.isTapList.splice(i.sort-1,0,i):i.sort==1?this.isTapList.unshift(i):this.isTapList.push(i)}),this.active=this.isTapList[0].key)},immediate:!0,deep:!0},selfTapList:{handler(e,t){e.length&&(this.isTapList=[].concat(e),this.active=this.isTapList[0].key)},immediate:!0,deep:!0},track:{handler(e,t){e&&(this.trackUrl=e,window.location.protocol=="https:"&&(this.trackUrl=this.trackUrl.replace("http://59.53.91.230:8088/","https://kq.ddzg.cn:8093/"),this.trackUrl=this.trackUrl.replace("http://59.53.91.231:8088/","https://acme-test.ddzg.cn:2119/"),this.trackUrl=this.trackUrl.replace("http://121.40.143.183:80/","https://acme-aws.ddzg.cn/"),this.trackUrl=this.trackUrl.replace("http://121.40.143.183/","https://acme-aws.ddzg.cn/"),this.trackUrl=this.trackUrl.replace("http://acme-aws.ddzg.cn/","https://acme-aws.ddzg.cn/")))},immediate:!0,deep:!0},taskComment:{handler(e,t){e&&(this.taskCommentList=e)},immediate:!0,deep:!0},trackList:{handler(e,t){e&&(this.trackListss=e)},immediate:!0,deep:!0}},mounted(){this.tabAnimation(0)},methods:{formatFlow(e){let t=(e||[]).map(i=>({...i,attachmentsFujian:(i.attachments||[]).filter(s=>s.type!="signature"),attachmentsQianzi:(i.attachments||[]).filter(s=>s.type=="signature")}));return t=t.reverse(),t},handleActive(e,t){e!==this.active&&(this.active=e,this.tabAnimation(t))},tabAnimation(e){if(this.label.length){let t=document.getElementsByClassName("bottom-line")[0],i;if(t.offsetWidth<this.label[e].offsetWidth-10){let s=(this.label[e].offsetWidth-t.offsetWidth-10)/2;i=`${this.label[e].offsetLeft+s}px`}else if(t.offsetWidth>this.label[e].offsetWidth-10){let s=(t.offsetWidth-this.label[e].offsetWidth+10)/2;i=`${this.label[e].offsetLeft-s}px`}else i=`${this.label[e].offsetLeft}px`;t.style.transition=".3s",t.style.transform=`translateX(${i})`}},viewList(e){this.visible=!0,this.inList=e},viewSign(e,t){this.signLists=e.filter(i=>i.digitalSignature).map(i=>i.digitalSignature),this.indexd=this.signLists.findIndex(i=>i==t),this.signPreViewVisible=!0}}};var Ex=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"tops-tab"},[i("div",{staticClass:"tops-tab-header"},[e._l(e.isTapList,function(s,n){return[i("div",{staticClass:"tops-tab-header-items",class:[s.key===e.active?"active":""],on:{click:function(r){return e.handleActive(s.key,n)}}},[e._v(" "+e._s(s.label)+" ")])]}),e.isTapList.length?i("div",{staticClass:"bottom-line"}):e._e()],2),i("div",{staticClass:"tops-tab-body"},e._l(e.isTapList,function(s){return i("div",{directives:[{name:"show",rawName:"v-show",value:e.active===s.key,expression:"active === item.key"}],key:s.key,class:[s.key==="c"&&"tops-tab-body-taskcommentlist"],staticStyle:{height:"100%"}},[s.key==="a"&&s.type==="default"?e._t("default"):e._e(),e.active===s.key&&s.key==="b"&&s.type==="default"?i("div",{staticClass:"uph-tab-b",staticStyle:{height:"100%"},attrs:{name:s.slot}},[e.processXml?i("div",{staticStyle:{padding:"10px 20px",color:"#1389ff"},on:{click:function(){return e.visibleTack=!0}}},[e._v(" \u67E5\u770B\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F ")]):e._e(),s.key==="b"&&e.processXml?i("BpmnLook",{ref:"PreviewRef",refInFor:!0,attrs:{diagram:e.processXml,approvalData:e.approvalData}}):i("div",{staticClass:"textnone"},[e._v(" \u6682\u65E0\u6D41\u7A0B\u56FE ")])],1):e._e(),s.key==="c"&&s.type==="default"?i("div",{staticStyle:{height:"100%"}},[s.key==="c"&&e.ProcessInsObj.flow?i("processFlow",{attrs:{request:e.ProcessInsObj.request,"flow-list":e.formatFlow(e.ProcessInsObj.flow)},on:{view:e.viewList}}):i("div",{staticClass:"textnone"},[e._v("\u6682\u65E0\u6570\u636E")])],1):e._e(),s.type=="slot"?e._t(s.slot):e._e()],2)}),0),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9644\u4EF6\u5217\u8868",isDrawer:"",isIndex:5},on:{"update:visible":function(s){return e.visible=s}}},[i("ViewAttchList",{attrs:{inList:e.inList}})],1),i("PreviewImage",{attrs:{images:e.signLists,visible:e.signPreViewVisible,indexd:e.indexd},on:{"update:visible":function(s){return e.signPreViewVisible=s}}}),i("TopPopup",{ref:"TopPopups",attrs:{visible:e.visibleTack,titleText:"\u6D41\u7A0B\u4FE1\u606F",isDrawer:"",width:"60vw"},on:{"update:visible":function(s){return e.visibleTack=s}}},[e.trackListss&&e.trackListss.length?e._l(e.trackListss,function(s,n){return i("div",{key:s.id,staticClass:"seal-list__item"},[i("div",[i("div",{staticClass:"seal-list__item--option"},[i("span",[e._v("\u5E8F\u53F7")]),i("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(n+1))])]),i("div",{staticClass:"seal-list__item--option"},[i("span",[e._v("\u8282\u70B9\u540D\u79F0")]),i("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(s.historyActivityName))])]),i("div",{staticClass:"seal-list__item--option"},[i("span",[e._v("\u5BA1\u6279\u4EBA")]),i("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(s.assigneeName))])])])])}):e._e()],2)],1)},xx=[];const kT="",Eh={};var Ix=ve(wx,Ex,xx,!1,Tx,"8ff4442e",null,null);function Tx(e){for(let t in Eh)this[t]=Eh[t]}const _x=function(){return Ix.exports}(),Nx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACfVJREFUeF7tnT2S1FYYRaUCYgJ2wArYgRMIYQPGMVUQt8bDAoDRxFBFbLwBE5qEHbACdkBAbC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yQIKRgMOynQnOSAEJQgKOBItufYIckMFIwGHdzCTnJIEMQgKOJEu+5xmyQJyRgGPPViY6Kw3ECQk4Ei343qfIA+mMBBx7NzLZeYD8N5AO/7EoOJItd4/nAOQkxR1IwNFjGxPWAMj/hmJAAo6Ei93rSQA5k+QGJODotYlJ6wDkicGsQAKOpEvd81kAuZDmBSTg6LmFiWsB5JnhnEECjsQL3ftpAFmR6AmSa/5pnhWBFfoEICuHeUTy+Wb5svJzPiuSAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBL4Csq/cvbKQGitAAAAAElFTkSuQmCC",Sx={name:"TopDownSelect",props:{option:{type:Array,default:[]},optionStyle:{type:String,default:""},maskShow:{type:Boolean,default:!0},border:{type:Boolean,default:!1},defaultValue:{type:String,default:""},placeholder:{type:String,default:"\u8BF7\u9009\u62E9"},isSlots:{type:Boolean,default:!1},disibled:{type:Boolean,default:!1}},data(){return{value:{id:"",text:""},lists:[],expand:!1,active:"",activeItem:{name:""}}},watch:{option:{handler(e,t){e&&e.length&&(this.lists=e)},immediate:!0,deep:!0},defaultValue:{immediate:!0,deep:!0,handler(e,t){this.active=e;let s=JSON.parse(JSON.stringify(this.option)).filter((n,r)=>n.id==e);this.activeItem=s[0],this.activeItem&&this.$emit("change",this.activeItem)}}},computed:{arrow(){return Nx},check(){return kx}},methods:{handleExpand(){this.disibled||(this.expand?this.expand=!1:this.expand=!0)},handleClick(e,t){this.active!=e.id&&(this.active=e.id,this.activeItem=e,this.expand=!1,this.$emit("change",this.activeItem,this.lists))},handleClose(){this.expand=!1,this.active="",this.activeItem={name:""}}}};var Px=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"top-select"},[e.isSlots?i("div",{staticStyle:{position:"relative","z-index":"80"}},[e._t("header",null,{data:Object.assign({},e.activeItem,{placeholder:e.placeholder})})],2):i("div",{staticClass:"top-select-menu",class:[e.border&&"top-select-menu-border",!e.activeItem&&"top-select-menu-placeholder"],on:{click:e.handleExpand}},[e._v(" "+e._s(e.activeItem?e.activeItem.name:e.placeholder)+" "),e.disibled?e._e():i("img",{staticClass:"top-select-menu--arrow",class:[e.expand?"arrow-active":""],attrs:{src:e.arrow}})]),e.maskShow?i("div",{staticClass:"top-select-option-mask",style:e.expand?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"}):e._e(),e.lists&&e.lists.length?i("div",{staticClass:"top-select-option",class:[e.border&&"top-select-option-border"],style:`${e.expand?"transform: translateY(2%);visibility: visible; opacity: 1;":"transform: translateY(-50%);visibility: hidden; opacity: 0"};${e.optionStyle?e.optionStyle:""}`},e._l(e.lists,function(s,n){return i("div",{key:s.id,staticClass:"option-items",class:[e.active==s.id?"option-items-active":""],on:{click:function(r){return e.handleClick(s,n)}}},[e._v(" "+e._s(s.name)+" "),e.active==s.id?i("img",{staticClass:"option-items-check",attrs:{src:e.check}}):e._e()])}),0):e._e()])},Dx=[];const ST="",xh={};var Ox=ve(Sx,Px,Dx,!1,Mx,"a791e974",null,null);function Mx(e){for(let t in xh)this[t]=xh[t]}const Ih=function(){return Ox.exports}(),Bx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADGdJREFUeF7tnVFSHDkMhuVhD7AV9j1wksBJApeA5Yn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JCYe/IAiID2mibYlVNzUJ3a5rw4B0CMB5u9zd+4X02Gx/iaDQBpEqn9O8URbPtrtetKzoIdgOxStfG/AxDBADC+8g5ABPXXMAVABFUFIBvEZN69EAxLkSkAUiTfr40BCAARTCd/pgAIAPGX1YIeAZANYgZKe3G+CMpc11SkayLsuRIRHYCIyOjFyODFkS1+HGX7B0CyJXPbYH4ZurlDmRsE9tHYACRXar/Xcx6K9aIGANkQKexJyk7fISzovPR9iOxeKzQAIABEJM28VhEAAkBEACHGnFumY10rAASASGUY+0UhqQFo2AEgG1Rli6IRoV5sooL8GimGHt3cCsRrpwwqO9+Hts1j9o+lZ0CSWHj1NA8Szht0eT20uRqAbNEdVSQjIZ1Wj6QAAHklD/A8ZD9I8CR9g07ep1ijy6tK8oBNfNthASATBiS5niBJ/z84oBNa0Lv9flc7vCrQGWfUAGTigHCSpsc23DcK01P0Hv3dZ8whfXKV88MxlSnWPiJ6uYYLiBf/Rf0AIKJymjAGQATDAEAExTRiCoAIBgKACIppxBQAEQwEABEU04gpACIYCAAiKKYRUwBEMBAARFBMI6aw/0wwEIztN93s5hWUqStTAEQwXJ6/7i4oU1em3tzG6+D4oV/NYDwt6PjnVcj6HBIqSM0IMfrCvjOGaJuaMNYfyQwAEdJf0wx7e7fmoDqzzakeAKSjIK+mWmnjYv4XBTvyU2GoRZ8/QgVRiIiWyRdnpJ9o9ePE7hCJ7n9chpsSfwBIiXoN247b/RsOwWzXuQvx1xwBIGbDjIFZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUOA/PPf9I/jtWsEAAAAASUVORK5CYII=";var Rx=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("TopPopup",{ref:"TopPopupFixedPerson",attrs:{visible:e.showFixedPerson,titleText:"\u9009\u62E9\u4EBA\u5458("+e.originFixedPersonList.length+"\u4EBA)",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u786E\u5B9A",comfig:e.handleSumbitFixedPerson},on:{"update:visible":e.updateVisible}},[i("div",{staticClass:"st-head"},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],staticClass:"st-head-input",attrs:{type:"text",placeholder:"\u8F93\u5165\u67E5\u8BE2"},domProps:{value:e.searchText},on:{keyup:function(s){return!s.type.indexOf("key")&&e._k(s.keyCode,"enter",13,s.key,"Enter")?null:e.handleSearchPerson.apply(null,arguments)},input:function(s){s.target.composing||(e.searchText=s.target.value)}}}),i("div",{directives:[{name:"show",rawName:"v-show",value:e.searchText,expression:"searchText"}],staticClass:"st-head-clear",on:{click:e.handleClearSearch}},[i("svg",{staticClass:"icon",attrs:{t:"1766114768811",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7665"}},[i("path",{attrs:{d:"M507.168 473.232L716.48 263.936a16 16 0 0 1 22.624 0l11.312 11.312a16 16 0 0 1 0 22.624L541.12 507.168 750.4 716.48a16 16 0 0 1 0 22.624l-11.312 11.312a16 16 0 0 1-22.624 0L507.168 541.12 297.872 750.4a16 16 0 0 1-22.624 0l-11.312-11.312a16 16 0 0 1 0-22.624l209.296-209.312-209.296-209.296a16 16 0 0 1 0-22.624l11.312-11.312a16 16 0 0 1 22.624 0l209.296 209.296z","p-id":"7666",fill:"#cdcdcd"}})])])]),i("div",{staticClass:"s-tree"},e._l([].concat(e.fixedPersonList),function(s){return i("div",{key:s.userId,staticClass:"s-node",on:{click:function(n){return e.handleClickFixedPerson(s)}}},[e.mySelectIds.includes(s.userId)?i("div",{staticClass:"radio-select"},[i("svg",{staticClass:"icon",attrs:{t:"1758260488735",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7527",width:"18",height:"18"}},[i("path",{attrs:{d:"M512 0a512 512 0 1 0 512 512A512 512 0 0 0 512 0z m314.916571 369.371429l-354.304 349.184a46.409143 46.409143 0 0 1-64.987428 0l-212.955429-209.883429a44.763429 44.763429 0 0 1 0-64 46.336 46.336 0 0 1 64.987429 0l180.443428 177.810286 321.828572-317.184a46.482286 46.482286 0 0 1 64.987428 0 44.836571 44.836571 0 0 1-0.036571 64.073143z",fill:"#409eff","p-id":"7528"}})])]):i("div",{staticClass:"radio-select-not"},[i("svg",{staticClass:"icon",attrs:{t:"1758260589679",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8704",width:"18",height:"18"}},[i("path",{attrs:{d:"M150.144 150.144C250.24 50.048 370.88 0 512 0s261.76 50.048 361.856 150.144S1024 370.88 1024 512s-50.048 261.76-150.144 361.856S653.12 1024 512 1024s-261.76-50.048-361.856-150.144S0 653.12 0 512s50.048-261.76 150.144-361.856zM64 512c0 124.16 43.328 228.48 131.392 316.608C283.52 916.672 387.84 960 512 960s228.48-43.328 316.608-131.392C916.672 740.48 960 636.16 960 512s-43.328-228.48-131.392-316.608C740.48 107.328 636.16 64 512 64s-228.48 43.328-316.608 131.392C107.328 283.52 64 387.84 64 512z",fill:"#b5bbc1","p-id":"8705"}})])]),s.avatar?i("img",{staticClass:"node-avatar",attrs:{src:s.avatar,alt:"\u5934\u50CF"}}):i("div",{staticClass:"node-avatar-text"},[e._v(" "+e._s((s.realName||"").slice(-2))+" ")]),i("div",{staticClass:"node-name"},[i("div",{staticClass:"node-name-text"},[e._v(e._s(s.realName))]),i("div",{staticClass:"node-name-phone"},[e._v(e._s(s.phonenumber))])])])}),0),i("div",{staticClass:"st-footer-box"},[i("div",{staticClass:"st-footer"},[i("div",{staticClass:"st-footer-left",on:{click:e.expandSelect}},[i("div",{staticClass:"st-footer-text"},[e._v("\u5DF2\u9009\u62E9"+e._s(e.mySelectIds.length)+"\u4E2A\u6210\u5458")]),i("div",{staticClass:"st-footer-svg"},[i("svg",{staticClass:"icon",attrs:{t:"1766111528552",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4604",id:"mx_n_1766111528554"}},[i("path",{attrs:{d:"M166.997333 751.850667L106.666667 691.498667 520.832 277.333333l414.165333 414.165334L874.666667 751.850667 520.832 398.016z",fill:"#1389ff","p-id":"4605"}})])])]),i("div",{staticClass:"st-footer-right"},[i("div",{staticClass:"st-footer-btn",on:{click:e.handleSumbitFixedPerson}},[e._v("\u786E\u5B9A")])])])]),i("TopPopup",{ref:"TopPopupSelectPerson",attrs:{visible:e.showSelectPerson,showHeader:!1,isIndex:120,className:"sumbmitPopup-index"},on:{"update:visible":e.updateSelectVisible}},[i("div",{staticClass:"s-thead"},[i("div",{staticClass:"s-thead-left"},[e._v(" \u5DF2\u9009\u62E9\u4EBA\u5458("+e._s(e.mySelect.length)+") ")]),i("div",{staticClass:"s-thead-right"},[i("div",{staticClass:"s-thead-btn",on:{click:e.handleClearSelect}},[e._v("\u6E05\u7A7A")]),i("div",{staticClass:"s-thead-btn s-thead-btn-close",on:{click:function(s){return e.updateSelectVisible(!1)}}},[e._v("\u5173\u95ED")])])]),i("div",{staticClass:"s-tree"},e._l([].concat(e.mySelect),function(s){return i("div",{key:s.userId,staticClass:"s-node stt-node",on:{click:function(n){return e.handleClickFixedPerson(s)}}},[i("div",{staticClass:"stt-node-left"},[s.avatar?i("img",{staticClass:"node-avatar stt-node-avatar",attrs:{src:s.avatar,alt:"\u5934\u50CF"}}):i("div",{staticClass:"node-avatar-text stt-node-avatar-text"},[e._v(" "+e._s((s.realName||"").slice(-2))+" ")]),i("div",{staticClass:"node-name"},[i("div",{staticClass:"node-name-text"},[e._v(e._s(s.realName))]),i("div",{staticClass:"node-name-phone"},[e._v(e._s(s.phonenumber))])])]),i("div",{staticClass:"stt-node-right"},[i("div",{staticClass:"s-thead-btn s-thead-btn-close",on:{click:e.handleRemoveSelect}},[e._v("\u79FB\u9664")])])])}),0)])],1)},Lx=[];const PT="",Fx={name:"selectFixedPerson",components:{TopPopup:at},props:{visible:{type:Boolean,default:!1},list:{type:Array,default(){return[]}},select:{type:Array,default(){return[]}},multiple:{type:Boolean,default:!1}},data(){return{showFixedPerson:!1,fixedPersonList:[],originFixedPersonList:[],mySelect:[],mySelectIds:[],searchText:"",showSelectPerson:!1}},watch:{searchText(){this.handleSearchPerson()},visible:{handler(e,t){this.showFixedPerson=e,e?(this.originFixedPersonList=this.list||[],this.fixedPersonList=this.list||[],this.mySelect=this.select||[],this.mySelectIds=this.mySelect.map(i=>i.userId)):(this.originFixedPersonList=[],this.fixedPersonList=[],this.mySelect=[],this.mySelectIds=[])},immediate:!0},originFixedPersonList:{handler(e,t){e&&e.length>0&&JSON.stringify(e)!==JSON.stringify(this.list)&&this.$emit("updateList",e)},immediate:!0,deep:!0}},methods:{handleClearSearch(){this.searchText="",this.handleSearchPerson()},handleSearchPerson(){this.fixedPersonList=this.originFixedPersonList.filter(e=>e.realName.includes(this.searchText))},expandSelect(){this.showSelectPerson=!0},updateSelectVisible(e){this.showSelectPerson=e},updateVisible(e){this.$emit("updateVisible",e)},handleRemoveSelect(e){this.mySelect=this.mySelect.filter(t=>t.userId!==e.userId),this.mySelectIds=this.mySelect.map(t=>t.userId),this.$emit("updateSelect",this.mySelect)},handleClearSelect(){this.mySelect=[],this.mySelectIds=[],this.$emit("updateSelect",this.mySelect)},handleClickFixedPerson(e){this.multiple||(this.mySelect=[],this.mySelectIds=[]),this.multiple?this.mySelectIds.includes(e.userId)?(this.mySelect=this.mySelect.filter(i=>i.userId!==e.userId),this.mySelectIds=this.mySelect.map(i=>i.userId)):(this.mySelect.push(e),this.mySelectIds.push(e.userId)):(this.mySelect.push(e),this.mySelectIds.push(e.userId)),this.$emit("updateSelect",this.mySelect)},handleSumbitFixedPerson(){this.$emit("confirm",this.mySelect)}}},Th={};var Vx=ve(Fx,Rx,Lx,!1,jx,"9bc5e56c",null,null);function jx(e){for(let t in Th)this[t]=Th[t]}const _h=function(){return Vx.exports}(),Ux={name:"TopSubmitPopup",components:{SelectFixedPerson:_h,BpmnLook:wh,TopPopup:at,TopDownSelect:Ih,PreviewImage:Jn,departPerson:Jt.departPerson,TopTips:Nt},props:{isCheckType:{type:String,default:"0"},visible:{type:Boolean,default:!1},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{},upload:()=>{}})},appId:{type:String,default:""},processName:{type:String,default:""},resubmit:{type:Boolean,default:!1},id:{type:String,default:""},businessType:{type:[String,Number]},businessDeptId:{type:[String,Number]},businessSubjectId:{type:[String,Number]},todoParameter:{type:Object,default(){return{}}},isClearHistory:{type:Boolean,default:!1},title:{type:String,default:"\u6D4B\u8BD5"},showType:{type:String,default:"all"},beforeFunction:{type:Function,default:null},manual:{type:Boolean,default:!1},selfList:{type:Array,default:()=>[]},isOrgType:{type:Array,default:()=>[0]},isCodeType:{type:Array,default:()=>[3]},extraParams:{type:Object,default:()=>{}},isSelectFirst:{type:Boolean,default:!0},showFlowForecast:{default:!1,type:Boolean},flowForecastFunction:{type:Function,default:null}},data(){return{currentClickItem:{},fixedSelect:{},showFixedPerson:!1,fixedPersonList:[],approvalData:[],processXml:"",showFlow:!1,showFirstPerson:!1,selectDeptData:{},showDept:!1,deptList:[],show:!1,option:[],checkedItem:{},personList:[],checkedArray:[],trackUrl:[],taskurlshow:!1,isStyle:"width:35%",visiblePerson:!1,entity:{source:"0",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:!1,checkedArray:[]},multiNodeParticipant:{},personListCopy:{},partNode:{},personObjId:"",processId:"",textTips:"",statusTips:!1,typeTips:"success",firstPerson:[],selectDefaultValue:"",businessTypeData:"",businessDeptIdData:"",idData:"",processNameData:"",titleData:"",todoParameterData:{},humanPerformerName:"",btnLoading:!1,flowForecastVisible:!1,flowForecastData:{completeTime:"",processBudgetModelList:[]},flowForecastProcessInstId:""}},watch:{visible:{async handler(e,t){this.show=e,this.$emit("update:visible",this.show),e?(this.selectDefaultValue="",this.handleOption()):this.$refs.TopDownSelect.handleClose()}},show:{handler(e,t){e||this.$refs.TopDownSelect.handleClose()}},businessType:{handler(e,t){this.businessTypeData=e},immediate:!0},businessDeptId:{handler(e,t){e&&(this.businessDeptIdData=e)},immediate:!0},extraParams:{handler(e,t){e&&e.businessDeptId&&(console.error(e.businessDeptId,"\u4E1A\u52A1\u90E8\u95E8id\u66F4\u65B0\u5230extraParams.businessDeptId\u4E2D\uFF0C\u8BF7\u68C0\u67E5\u662F\u5426\u9700\u8981\u66F4\u65B0\u5230\u6B64\u5904"),this.businessDeptIdData=e.businessDeptId)},immediate:!0,deep:!0},id:{handler(e,t){e&&(this.idData=e,this.resubmit&&this.getProcessInstance())},immediate:!0},processName:{handler(e,t){this.processNameData=e},immediate:!0},title:{handler(e,t){this.titleData=e},immediate:!0},todoParameter:{handler(e,t){this.todoParameterData=e},immediate:!0,deep:!0},selfList:{handler(e,t){e&&e.length&&(this.option=e,this.checkedItem=this.option[0],this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id))},immediate:!0,deep:!0},resubmit:{handler(e,t){e&&this.getProcessInstance()}}},computed:{ProcessImg(){return Bx}},methods:{getXmlByProcessDefId(e){this.request.get("/bladex/blade-workflow/process/getXmlByProcessDefId",{params:{processDefId:e}}).then(t=>{t.code==200&&(this.processXml=t.data)})},handleFlowSelect(){this.showFlow=!0},handleSumbitFlow(){this.showFlow=!1},handleDeptSelect(){this.showDept=!0},handleSumbitDept(){},async handleClickDept(e){this.businessDeptIdData=e.id,this.showDept=!1,this.selectDeptData=e,await this.getUserDataByDeptId(),this.showFirstPerson=!0,this.handleTips("",!1,"success")},handleSelect(){this.$refs.TopDownSelect.handleExpand()},async getTaskModelDetail(){this.request.get("/bladex/blade-workflow/tis/getTaskModelDetail",{params:this.taskId?{processInstId:this.extraParams.processId||this.extraParams.processInstId,taskId:this.taskId}:{processInstId:this.extraParams.processId||this.extraParams.processInstId}}).then(e=>{if(e.code==200){this.handleTips("",!1,"success");let t=(e.data||{}).process||{};this.checkedItem={id:t.processDefinitionId,key:t.processDefinitionKey,name:t.processDefinitionName,version:t.processDefinitionVersion},this.option=[this.checkedItem],this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id),this.businessDeptIdData||this.getNodeUserDept()}})},async handleOption(){if(this.checkedItem={},this.firstPerson=[],this.personList=[],this.selfList&&this.selfList.length)return;this.handleTips("",!0,"loading");let e={businessCode:this.businessType,appId:this.appId,subjectId:this.businessSubjectId,processGroupName:this.processNameData,...this.extraParams};if(this.processNameData&&delete e.processGroupName,this.extraParams.processId||this.extraParams.processInstId){this.getTaskModelDetail();return}await this.request.post("/bladex/blade-workflow/repository/getProcessDefList",e).then(t=>{t.code==200&&(this.option=t.data,t.data&&t.data.length?(this.handleTips("",!1,"success"),(this.isSelectFirst||t.data.length==1)&&(this.checkedItem=this.option[0],this.selectDefaultValue=this.checkedItem.id,this.$emit("change",this.checkedItem,this.option),this.handlefirstNode(this.checkedItem.id))):(this.handleTips("\u6682\u65E0\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F",!0,"error"),this.option=[]),this.businessDeptIdData||this.getNodeUserDept())})},async getProcessInstance(){},async getNodeUserDept(){let e={};try{e=await this.request.get("/auth/dept/list/user/dept/selectTree")}catch(t){}this.deptList=e.data||[]},async getNodeUser({deptId:e,intersection:t,userIds:i,postIds:s,deptIds:n}){return await this.request.post("/auth/user/getTaskAuditor",{deptId:e,intersection:t,userIds:i,postIds:s,deptIds:n})},getUserDataByDeptId(){this.firstPerson.map(async(e,t)=>{const i=bd(e);let s;try{s=await this.getNodeUser({deptId:this.businessDeptIdData,intersection:(i.intersection,0),userIds:i.userIds,postIds:i.postIds,deptIds:i.deptIds})}catch(n){}if(s.code==200){const n=this.firstPerson[t];n.userList=s.data,this.$set(this.firstPerson,t,n)}})},async handlefirstNode(e){e&&(this.handleTips("",!0,"loading"),await this.request.get("/bladex/blade-workflow/repository/getAllProcessNode",{params:{processDefId:e}}).then(async t=>{if(t.code===200){if(this.firstPerson=t.data,await this.getNodeUserDept(),!this.businessDeptIdData){this.handleTips("",!1,"success");return}if(await this.getUserDataByDeptId(),this.showFirstPerson=!0,this.handleTips("",!1,"success"),Date.now())return;t.data.map(i=>{{let s={taskDefId:i.id,postIds:[]};i.routeTxt.postList.map(n=>{s.postIds.push(n.postId)}),this.request.post("/auth/user/getTaskAuditor",{deptId:this.businessDeptIdData,taskPostIds:[s]}).then(n=>{let r=[],a=[],o=!1;n.data.map(p=>{p.posts.map(h=>{a.push(...h.users),h.users.length==1?r.push(...h.users):o=!0})}),r.length>i.loopCardinality&&i.loopCardinality>0&&(o=!0),o&&(r=[]);let l=[];n.data[0].posts.map(p=>{l.push({...p,projectPost:!this.businessDeptIdData,id:p.users.map(h=>h.id),subjectId:p.subjectId})}),a.length==0&&this.$set(i,"noPersonnel",!0),r.length>0&&(this.personObjId=i.id,this.humanPerformerName=i.humanPerformerName,this.$set(i,"noPersonnel",!0),this.handleCallback(r)),i.positionArray=l})}}),this.getAfferentParticipantNodeList()}else this.firstPerson=[],this.getAfferentParticipantNodeList()}).catch(t=>{this.firstPerson=[],this.getAfferentParticipantNodeList()}))},async handleChange(e,t){this.selectDefaultValue!=e.id&&(this.handleTips("",!0,"loading"),this.checkedItem={},this.selectDefaultValue="",this.firstPerson=[],this.personList=[],this.checkedItem=e,this.selectDefaultValue=this.checkedItem.id,this.handlefirstNode(this.checkedItem.id),this.getXmlByProcessDefId(this.checkedItem.id),this.$emit("change",e,t))},async getAfferentParticipantNodeList(){await this.request.get("/aws/repository/getAfferentParticipantNodeList",{params:{processDefId:this.checkedItem.id}}).then(e=>{e.code==200&&(this.firstPerson&&this.firstPerson.length&&(e.data.map(t=>{if(t.humanPerformerName==="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let i={taskDefId:t.id,postIds:[]};t.routeTxt.postList.map(s=>{i.postIds.push(s.postId)}),this.request.post("/auth/user/getTaskAuditor",{deptId:this.businessDeptIdData,taskPostIds:[i]}).then(s=>{let n=[],r=[],a=!1;s.data.map(l=>{l.posts.map(p=>{r.push(...p.users),p.users.length==1?n.push(...p.users):a=!0})}),n.length>t.loopCardinality&&t.loopCardinality>0&&(a=!0),a&&(n=[]);let o=[];s.data[0].posts.map(l=>{o.push({...l,projectPost:!(this.param.taskNode&&this.param.taskNode[0].vars&&this.param.taskNode[0].vars._businessDeptId),id:l.users.map(p=>p.id),subjectId:l.subjectId})}),r.length==0&&this.$set(t,"noPersonnel",!0),n.length>0&&(this.personObjId=t.id,this.humanPerformerName=t.humanPerformerName,this.$set(t,"noPersonnel",!0),this.handleCallback(n)),t.positionArray=o})}}),this.personList=e.data.filter(t=>!this.firstPerson.some(i=>i.id==t.id))),this.$emit("change",this.checkedItem,this.option)),this.$refs.topTips.handleClose()})},getDiagramUrl(){this.request.get("/aws/repository/getDiagramUrl",{params:{processDefId:this.checkedItem.id,diagramType:1,type:"pc"}}).then(e=>{e.code==200&&(this.trackUrl=[e.data])})},handleOpenFixedPerson(e){this.currentClickItem=e,this.personObjId=e.id,this.showFixedPerson=!0,this.fixedPersonList=e.userList||[]},updateFixedPersonVisible(e){this.showFixedPerson=e},updateFixedSelect(e){},handleSumbitFixedPerson(e){this.$set(this.fixedSelect,this.personObjId,e),this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.personObjId].push(t.userId),this.partNode[this.personObjId].push(t.realName)}),this.showFixedPerson=!1},handleClickFixedPerson(e){this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.personObjId].push(t.userId),this.partNode[this.personObjId].push(t.realName)}),this.showFixedPerson=!1},handleOpenPerson(e){if(this.visiblePerson=!0,this.personObjId=e.id,this.humanPerformerName=e.humanPerformerName,e.humanPerformerName==="\u4EFB\u610F\u6307\u5B9A")this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:[]},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(t=>({id:t.id,subjectId:t.subjectId,type:t.type,deptId:this.handleLastStr(t.ancestors,t.subjectId)})):this.entity.checkedArray=[];else if(e.humanPerformerName==="\u56FA\u5B9A\u90E8\u95E8"){let t,i=[];e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length>1?(e.routeTxt.departmentIds.forEach((s,n)=>{i.push(s.rangeId)}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCodeArray:i,multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1}):e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length==1&&(e.routeTxt.departmentIds.forEach((s,n)=>{t=s.rangeId}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCode:t,multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(s=>({id:s.id,subjectId:s.subjectId,type:s.type,deptId:t})):this.entity.checkedArray=[]}else if(e.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"){let t;e.routeTxt.companyIds.map((i,s)=>{t=i.name}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:t},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(i=>({id:i.id,subjectId:i.subjectId,type:i.type,deptId:this.handleLastStr(i.ancestors,i.subjectId),subjectName:i.ancestorNames.slice(0,i.ancestorNames.indexOf("/"))})):this.entity.checkedArray=[]}else e.humanPerformerName==="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"?(this.entity={source:"1",type:this.isCheckType||"0",orgType:[5],request:this.request,codeType:[8],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,positionArray:e.positionArray},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(t=>({id:t.id,subjectId:t.subjectId,type:t.type,deptId:this.handleLastStr(t.ancestors,t.subjectId),subjectName:t.ancestorNames.slice(0,t.ancestorNames.indexOf("/"))})):this.entity.checkedArray=[]):(this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:[]},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(t=>({id:t.id,subjectId:t.subjectId,type:t.type,deptId:this.handleLastStr(t.ancestors,t.subjectId)})):this.entity.checkedArray=[])},handleCallback(e){this.personListCopy[this.personObjId]=e,this.entity.checkedArray=e.map(t=>({id:t.id,subjectId:t.subjectId,type:t.type,deptId:this.handleLastStr(t.ancestors,t.subjectId),subjectName:this.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"?t.ancestorNames.slice(0,t.ancestorNames.indexOf("/")):""})),this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.personObjId].push(t.id),this.partNode[this.personObjId].push(t.name)}),this.visiblePerson=!1},handleCancel(){},handleLastStr(e,t){if(!!e)return e.split(",")[e.split(",").length-1]!==t?e.split(",")[e.split(",").length-1]:""},async handleSumbit(){if(!this.btnLoading){if(this.btnLoading=!0,!this.isSelectFirst&&!this.checkedItem.id){this.handleTips("\u8BF7\u5148\u9009\u62E9\u6D41\u7A0B",!0,"error"),this.btnLoading=!1;return}if(!this.isSelectFirst&&!this.businessDeptIdData){this.handleTips("\u8BF7\u5148\u9009\u62E9\u90E8\u95E8",!0,"error"),this.btnLoading=!1;return}if(this.firstPerson&&this.firstPerson.length&&!this.firstPerson[0].routeTxt.userNames&&(!this.multiNodeParticipant[this.firstPerson[0].id]||!this.multiNodeParticipant[this.firstPerson[0].id].length)){this.handleTips(`${this.firstPerson[0].name}\u8282\u70B9\u672A\u9009\u62E9\u5BA1\u6279\u4EBA`,!0,"error"),this.btnLoading=!1;return}this.beforeFunction&&(await this.beforeFunction(),this.manual&&(this.btnLoading=!1)),this.manual||this.$nextTick(async()=>{await this.handleSongshen()})}},handleSongshen(){if(this.btnLoading=!0,this.resubmit)this.handleTips("",!0,"loading"),this.request.post("/bladex/blade-workflow/pis/reactivate",{processDefId:this.checkedItem.id,isClearHistory:this.isClearHistory,reactivateReason:"\u91CD\u65B0\u63D0\u4EA4",multiNodeParticipant:this.multiNodeParticipant,firstNodeId:this.firstPerson&&this.firstPerson.length>0?this.firstPerson[0].id:"",processInstId:this.extraParams.processInstId,vars:{businessType:this.businessType,deptId:this.businessDeptIdData,reactivate:!0,showType:"all",subjectId:this.businessSubjectId,...this.extraParams,_businessDeptId:this.businessDeptIdData}}).then(e=>{e.code==200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):(this.handleTips(e.msg,!0,"error"),this.btnLoading=!1)}).catch(e=>{this.handleTips(e.msg,!0,"error"),this.btnLoading=!1});else{this.handleTips("",!0,"loading");let e={processDefId:this.checkedItem.id,multiNodeParticipant:this.multiNodeParticipant,firstNodeId:this.firstPerson&&this.firstPerson.length>0?this.firstPerson[0].id:"",vars:{processBusinessKey:this.id||this.extraParams.businessKey,showType:"all",subjectId:this.businessSubjectId,deptId:this.businessDeptIdData,businessType:this.businessType,name:this.extraParams.name,title:this.title||this.extraParams.title,applyUserId:this.extraParams.applyUserId}};if(!this.checkedItem.id){this.$refs.topTips.handleClose(),this.btnLoading=!1;return}this.request.post("/bladex/blade-workflow/pis/createAndStart",e).then(t=>{t.code===200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):t.code==499?this.request.post("/bladex/blade-workflow/pis/reactivate",{processInstId:this.processId,isClearHistory:this.isClearHistory,reactivateReason:"\u91CD\u65B0\u63D0\u4EA4",multiNodeParticipant:this.multiNodeParticipant}).then(i=>{i.code==200?(this.show=!1,this.$emit("update:visible",this.show),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.$emit("successFn"),this.btnLoading=!1):(this.handleTips(i.msg,!0,"error"),this.btnLoading=!1)}).catch(i=>{this.handleTips(i.msg,!0,"error"),this.btnLoading=!1}):(this.handleTips(t.msg,!0,"error"),this.btnLoading=!1)}).catch(t=>{this.handleTips(t.msg,!0,"error"),this.btnLoading=!1})}},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips&&this.$refs.topTips.handleOpen()},viewFlowForecast(){this.flowForecastFunction?this.flowForecastFunction():this.forecast({appId:this.appId,title:"1"})},forecast(e){this.request.post("/aws/pis/getProcessForecast",{processDefId:this.checkedItem.id,...e}).then(t=>{t.code==200?(t.data&&t.data.processBudgetModelList&&t.data.processBudgetModelList.length?this.flowForecastProcessInstId=t.data.processBudgetModelList[0].processInstId:(t.data.processBudgetModelList=[],this.flowForecastProcessInstId=""),this.flowForecastData=t.data,this.flowForecastVisible=!0):this.handleTips(t.msg,!0,"error")}).catch(t=>{this.btnLoading=!1,this.handleTips("\u6D41\u7A0B\u9884\u6D4B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",!0,"error")})},flowForecastClose(){this.flowForecastProcessInstId?this.request.get("/aws/pis/deleteProcessById",{params:{processInstId:this.flowForecastProcessInstId}}).then(e=>{e.code==200&&(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]},this.flowForecastProcessInstId="")}):(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]})}}};var Qx=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"sumbmitPopup-index-sumbit"},[i("div",{staticClass:"top-popup"}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.show,titleText:"\u9001\u5BA1",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u9001\u5BA1",comfig:e.handleSumbit},on:{"update:visible":function(s){return e.show=s,e.$emit("update:visible",s)}}},[i("TopDownSelect",{ref:"TopDownSelect",attrs:{isSlots:"",option:e.option,defaultValue:e.selectDefaultValue,disibled:!1},on:{change:e.handleChange},scopedSlots:e._u([{key:"header",fn:function(s){return[i("div",{staticClass:"sumbmitPopup-select"},[i("div",{staticClass:"sumbmitPopup-select-checked",on:{click:e.handleSelect}},[i("div",{staticClass:"sumbmitPopup-select-checked-title"},[e._v("\u5F53\u524D\u6D41\u7A0B")]),i("div",{staticClass:"sumbmitPopup-select-checked-node",class:""},[e._v(" "+e._s(s.data.name?s.data.name:s.data.placeholder)+" ")])]),e.businessDeptIdData?e._e():i("div",{staticClass:"sumbmitPopup-select-checked",on:{click:e.handleDeptSelect}},[i("div",{staticClass:"sumbmitPopup-select-checked-title"},[e._v("\u9009\u62E9\u90E8\u95E8")]),i("div",{staticClass:"sumbmitPopup-select-checked-node",class:""},[e._v(" "+e._s(e.selectDeptData.label?e.selectDeptData.label:"\u8BF7\u9009\u62E9")+" ")])]),i("div",{staticClass:"sumbmitPopup-select-viewTrack",staticStyle:{display:"flex"}},[e.checkedItem.id?i("div",{staticClass:"viewTrack",on:{click:e.handleFlowSelect}},[i("img",{attrs:{src:e.ProcessImg}}),e._v(" \u67E5\u770B\u6D41\u7A0B\u56FE ")]):e._e(),e.checkedItem.id&&e.showFlowForecast?i("div",{staticClass:"viewTrack",on:{click:e.viewFlowForecast}},[e._v(" \u6D41\u7A0B\u9884\u6D4B ")]):e._e()])])]}}])}),e.showFirstPerson&&e.firstPerson&&e.firstPerson.length?i("div",{staticClass:"person-views"},[i("div",{staticClass:"person-views-title"},[e._v("\u4E0B\u4E00\u6B65\u5904\u7406\u8282\u70B9")]),e._l(e.firstPerson,function(s,n){var r;return i("div",{key:n,staticClass:"views-items"},[i("div",{staticClass:"views-items-label"},[i("div",{staticClass:"views-items-name"},[i("div",{staticClass:"views-items-name-left"},[e._v(" "+e._s(s.name)+" "),n==0?i("span",{staticClass:"views-items-name--re"},[e._v("*")]):e._e()])]),i("div",{staticClass:"views-items-set"},[e.partNode[s.id]&&e.partNode[s.id].length?i("div",[e._l(e.partNode[s.id],function(a,o){return i("span",{key:o},[e._v(" "+e._s(o>=3?"":o==0?a:`,${a}`)+" ")])}),e.partNode[s.id].length>3?i("span",[e._v("...\u7B49"+e._s(e.partNode[s.id].length)+"\u4EBA")]):e._e()],2):s.routeTxt&&s.routeTxt.userNames?i("div",[e._v(" "+e._s(s.routeTxt.userNames)+" ")]):e._e(),s.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||s.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"||((r=e.partNode[s.id])===null||r===void 0?void 0:r.length)>0&&s.noPersonnel?i("div"):s.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||s.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"||s.noPersonnel?i("div",[e._v(" \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")]):s.userList&&s.userList.length>0?i("div",{staticClass:"views-items-set-btn",on:{click:function(a){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):i("div",{staticClass:"views-items-set-btn",on:{click:function(a){return e.handleOpenPerson(s)}}},[e._v(" \u8BBE\u7F6E ")])])]),s.routeTxt&&s.routeTxt.length>0?i("div",{staticClass:"views-items-includes"},[i("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),i("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(a,o){return i("div",{key:a.type},[a.ids&&a.ids.length>0?i("div",[i("div",{staticClass:"include"},[i("b",{staticClass:"include include-type",class:["include-"+a.type]},[e._v(e._s(a.type=="user"?"\u7528\u6237":a.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),i("span",{staticClass:"include include-name"},[e._v(e._s(a.name))])]),o!==s.routeTxt.length-1?i("div",{staticClass:"include include-assign",class:["include-assign-"+(a.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])})],2):e._e(),e.personList&&e.personList.length?i("div",{staticClass:"person-views"},[i("div",{staticClass:"person-views-title"},[e._v("\u5176\u4ED6\u5904\u7406\u8282\u70B9")]),e._l(e.personList,function(s,n){return i("div",{staticClass:"views-items"},[i("div",{staticClass:"views-items-name"},[e._v(" "+e._s(s.name)+" ")]),i("div",{staticClass:"views-items-set"},[s.noPersonnel?e._e():i("div",{staticClass:"views-items-set-btn",on:{click:function(r){return e.handleOpenPerson(s)}}},[e._v(" \u8BBE\u7F6E ")]),e.partNode[s.id]&&e.partNode[s.id].length?i("div",[e._l(e.partNode[s.id],function(r,a){return i("span",[e._v(" "+e._s(a>=3?"":a==0?r:`,${r}`)+" ")])}),e.partNode[s.id].length>3?i("span",[e._v("...\u7B49"+e._s(e.partNode[s.id].length)+"\u4EBA")]):e._e()],2):s.noPersonnel?i("div",[e._v("\u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E")]):i("div")])])})],2):e._e(),!e.firstPerson&&!e.firstPerson.length&&!e.personList&&!e.personList.length?i("div",{staticClass:"person-views-white"},[e._v(" \u65E0\u9700\u8BBE\u7F6E ")]):e._e()],1),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visiblePerson,titleText:"\u9009\u4EBA",isDrawer:!0,isIndex:199},on:{"update:visible":function(s){return e.visiblePerson=s}}},[i("div",{staticStyle:{height:"100%"}},[e.visiblePerson?i("departPerson",e._b({attrs:{isTitle:!1,visible:e.visiblePerson,checkedArray:e.checkedArray},on:{"update:visible":function(s){e.visiblePerson=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),i("TopPopup",{ref:"TopPopupDept",attrs:{visible:e.showDept,titleText:"\u9009\u62E9\u90E8\u95E8",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u786E\u5B9A",comfig:e.handleSumbitDept},on:{"update:visible":function(s){return e.showDept=s}}},[i("div",{staticClass:"tree"},e._l([].concat(e.deptList),function(s){return i("div",{key:s.id,staticClass:"node"},[i("div",{staticClass:"node-p",on:{click:function(n){return e.handleClickDept(s)}}},[e._v(e._s(s.label))]),s.children?i("div",{staticClass:"children"},e._l(s.children,function(n){return i("div",{key:n.id,staticClass:"node-s",on:{click:function(r){return e.handleClickDept(n)}}},[e._v(" "+e._s(n.label)+" ")])}),0):e._e()])}),0)]),i("SelectFixedPerson",{attrs:{visible:e.showFixedPerson,list:e.fixedPersonList,multiple:!0,select:e.fixedSelect[e.personObjId]||[]},on:{updateList:e.handleClickFixedPerson,updateVisible:e.updateFixedPersonVisible,updateSelect:e.updateFixedSelect,confirm:e.handleSumbitFixedPerson}}),i("TopPopup",{ref:"TopPopupFlow",staticClass:"top-pop-flow",attrs:{visible:e.showFlow,titleText:"\u67E5\u770B\u6D41\u7A0B\u56FE",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u5173\u95ED",comfig:e.handleSumbitFlow},on:{"update:visible":function(s){return e.showFlow=s}}},[e.showFlow&&e.processXml?i("BpmnLook",{ref:"PreviewRef",attrs:{diagram:e.processXml,approvalData:e.approvalData}}):e._e()],1),i("PreviewImage",{attrs:{images:e.trackUrl,visible:e.taskurlshow,indexd:0,isOne:!0,isStyle:e.isStyle},on:{"update:visible":function(s){return e.taskurlshow=s}}}),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopupFF",attrs:{visible:e.flowForecastVisible,titleText:"\u6D41\u7A0B\u9884\u6D4B",isIndex:129,cancel:e.flowForecastClose,comfig:e.flowForecastClose},on:{"update:visible":function(s){return e.flowForecastVisible=s}}},[i("div",{staticStyle:{margin:"20px"}},[i("div",{staticStyle:{"margin-left":"10px","margin-bottom":"10px"},domProps:{innerHTML:e._s(e.flowForecastData.completeTime)}}),i("div",{staticClass:"timeline"},e._l(e.flowForecastData.processBudgetModelList,function(s,n){return i("div",{key:n,staticClass:"timeline-item"},[i("div",{staticClass:"item-top"},[i("div",{staticClass:"top-spot"},[i("div",{staticClass:"spot",class:{active:n==0}})]),i("div",{staticClass:"top-title"},[e._v(e._s(s.title))])]),i("div",{staticClass:"item-bottom",class:{last:n==e.flowForecastData.processBudgetModelList.length-1}},[i("span",{staticStyle:{color:"#009800"}},[e._v(" \u6267\u884C\u4EBA\uFF1A"+e._s(s.excutor)+" ")])])])}),0)])])],1)},Gx=[];const DT="",Nh={};var qx=ve(Ux,Qx,Gx,!1,Hx,"31686e90",null,null);function Hx(e){for(let t in Nh)this[t]=Nh[t]}const kh=function(){return qx.exports}(),Jx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADG5JREFUeF7tnVFaGzcXhjUD16WsoLCSwl1qsoeElRRWEroHcLkL/0rqfwUpvS6jPuPYiXGw0ZE+4TOel6s8T6Rj6T36pE/yWNME/iAAgY0EGthAAAKbCSAQRgcEthBAIAwPCCAQxgAE8giwguRxo9ZICCAQR4n+8u7dybfmHB5+/fe//86O7+9njpo5qqYgkB2kuxfCQduexR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SBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsLk5JVbTV5I4tBnGmfj0k1zHicX0doYT7/xd3MvVqZAgoerdqwDYCzlrVcQrXBxc0OMG4Hk3oXrabYZy8BP7WfupBdCQCDrkPsbOGJo+ut1Mv7i1dF0ep1RkSqVCJTks+ZVqNbuullBjJe0vdBPRGJNfq3yuW5g2Z7al9lZ+u1GIH2jC5bkZZ/7+2UXV3/GKnfNWuCOrWyMzVnGRdXPMHmzzK4EUjrzjG1A7ml/3ew/er6uBFJus/Z0yIyoW57slTuB9A2yXLw8onEzlq66Wj1cCoRVZCxa+LGf3lYPlwLpG1VyRDje4TX0nvs8hXS1B1lNMRv2oQ/49PZ7O7labblbgfRWq2kOPpUeG6aniZK7IOBZHG4t1jJRi/1I/yJN00spd5FoPjOLgJt3EW5qvdsVZE0kv6e+UiwrTVR6cwLeV44lEPcC6Rua+EqxN08yH5hNwN1x7mBXkNWGsy/JHpBeKr7JexGVnR3ECrLe4Q3v3lNyIZaWgOt3OW7r6iAFsro/OWjbs8WLKvuNPJt57cDOjTZ/UWjTxIeh/wxh0AJ5KXvzF1bytxMCx/f3e/cE9d4JZCcjgw/dWwIIZG9TS8cUBBCIgiIx9pYAAtnb1NIxBQEEoqBIjL0lgED2NrV0TEHgP1VLsH2X3+jEAAAAAElFTkSuQmCC";var Kx=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.visible?i("div",{staticClass:"top-msg"},e._l(e.listData,function(s){return i("div",{staticClass:"top-msg-items",on:{click:function(n){return e.handleMsg(s)}}},[i("div",{staticClass:"top-msg-items-text"},[e._v(e._s(s.opinionName))]),i("div",{staticClass:"top-msg-items-del",on:{click:function(n){return n.stopPropagation(),e.handleOpenMsg(s)}}},[i("img",{attrs:{src:e.Del}})])])}),0):e._e(),i("TopPopup",{attrs:{isIndex:2299,titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06\u5E38\u7528\u610F\u89C1'${e.opinion.opinionName}'\u5220\u9664`,cancel:e.handleTipsCancel,comfig:e.handleDel,visible:e.visibleListMsg},on:{"update:visible":function(s){return e.visibleListMsg=s}}})],1)},Wx=[];const OT="",zx={name:"msgList",components:{TopPopup:at},props:{visible:{type:Boolean,default:!1},request:{default:null},useInfo:{type:Object,default:()=>{}}},data(){return{listData:[],visibleListMsg:!1,opinion:{},textTips:"",statusTips:!1,typeTips:""}},computed:{Del(){return Jx}},watch:{visible:{handler(e,t){e&&this.request.get("/auth/user/opinion/my").then(i=>{i.code===200&&(this.listData=i.data)})}}},methods:{handleMsg(e){this.$emit("handleMsg",e.opinionName)},handleOpenMsg(e){this.opinion=e,this.visibleListMsg=!0},handleTipsCancel(){this.visibleListMsg=!1},async handleDel(){this.opinion.opinionId&&(this.visibleListMsg=!1,this.$emit("handleTips","",!0,"loading"),await this.request.get(`/auth/user/opinion/del/${this.opinion.opinionId}`).then(e=>{e.code===200?(this.$emit("handleTips","\u5220\u9664\u6210\u529F",!0,"success"),this.request.get("/auth/user/opinion/my").then(t=>{t.code===200&&(this.listData=t.data)})):this.$emit("handleTips",e.msg,!0,"error")}).catch(e=>{this.$emit("handleTips",e.msg,!0,"error")}))}}},Sh={};var Yx=ve(zx,Kx,Wx,!1,Xx,"66478dbb",null,null);function Xx(e){for(let t in Sh)this[t]=Sh[t]}const dn=function(){return Yx.exports}();var Zx=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-popup-content"},[i("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?i("div",[i("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),i("div",{staticClass:"process-pc-value"},[i("div",{staticClass:"process-popup-textarea"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),i("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?i("div",{staticClass:"msg-btn"},[i("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),i("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(s){return[i("div",[i("br"),e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[i("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?i("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return i("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):i("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[i("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(s){return[i("div",{staticClass:"process-pc-label"},[i("br"),e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[i("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?i("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return i("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):i("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[i("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e._e()],2),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[i("div",{staticStyle:{height:"100%"}},[e.visible?i("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="5"?i("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[i("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),i("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}})],1)},$x=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-pc-label"},[e._v(" \u52A0\u7B7E\u7406\u7531\uFF1A"),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const MT="",eI={name:"counterSign",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,attchViews:Yi,TopPopup:at,departPerson:Jt.departPerson,MsgList:dn},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||"0",request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{handler(e,t){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.checkedArray=[],this.entity.source="1",this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},confirm(){if(!this.commentMsg)return this.textTips="\u8BF7\u8F93\u5165\u52A0\u7B7E\u7406\u7531!",this.$refs.topTips.handleOpen(),!1;let e=[];this.multiNodeParticipant[this.partObjId].map((t,i)=>{e.push(t)}),this.handleTips("",!0,"loading"),this.param.request.post("/bladex/blade-workflow/tis/addSignTask",{signPersoneds:e,taskId:this.param.taskInstId,comment:this.commentMsg}).then(t=>{t.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(t.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=e[1]?JSON.parse(e[1]):!1,this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,id:t.id,subjectId:t.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((i,s)=>{i.size=i.fileSize,i.format=i.originFileName.substring(i.originFileName.lastIndexOf(".")+1),i.uploadTime=i.createTime,i.processInstId=this.param.processInstId,i.taskInstId=this.param.taskInstId,i.name=i.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("counterSign")}}},Ph={};var tI=ve(eI,Zx,$x,!1,iI,"62fe31ec",null,null);function iI(e){for(let t in Ph)this[t]=Ph[t]}const sI=function(){return tI.exports}();var nI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-popup-content"},[i("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?i("div",[i("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),i("div",{staticClass:"process-pc-value"},[i("div",{staticClass:"process-popup-textarea"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),i("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?i("div",{staticClass:"msg-btn"},[i("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),i("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(s){return[i("div",[e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[i("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?i("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return i("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):i("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[i("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(s){return[i("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[i("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?i("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return i("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):i("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[i("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e._e()],2),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[i("div",{staticStyle:{height:"100%"}},[e.visible?i("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="1"?i("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[i("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),i("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}})],1)},rI=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-pc-label"},[e._v(" \u8F6C\u5BA1\u7406\u7531\uFF1A"),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const BT="",aI={name:"delegateTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,attchViews:Yi,TopPopup:at,departPerson:Jt.departPerson,MsgList:dn},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,maxMultiple:1,checkedArray:[]},multiNodeParticipant:{},partNodeArr:{},partObjId:[],partNode:{},actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{handler(e,t){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,this.attachShow(),e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){if(!this.commentMsg){this.textTips="\u8BF7\u8F93\u5165\u8F6C\u5BA1\u7406\u7531!",this.$refs.topTips.handleOpen();return}let e=this.partNodeArr[this.partObjId].map(t=>t.id).join(",");this.handleTips("",!0,"loading"),await this.param.request.post("/bladex/blade-workflow/tis/transferTask",{comment:this.commentMsg,taskId:this.param.taskInstId,assignee:e}).then(t=>{t.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(t.msg,!0,"error")})},attachShow(e="\u529E\u7406"){const t=(this.param||{}).extendedProperties||[];let i=!1,s,n="";s=t.find(a=>a.name=="delegateTaskButtonAnnex"),n=s?s.value:"",n&&(i=!0);let r="";if(typeof n!="string"&&n!=null&&n.map(a=>{a.indexOf(this.operationLabel)!=-1&&(i=!0,r=a)}),r&&(n=r),i){const a=n.split(":");this.attachRule.required=a[1]=="true",this.attachRule.limit=a[2]==-1?999:a[2],this.otherList=n;let o=this.otherList.split(":");this.limit=o[2],this.requires=JSON.parse(o[1]),this.labels=o[0]}return this.labels,this.limit,i},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNodeArr[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNodeArr[this.partObjId].push(t),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,id:t.id,subjectId:t.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((i,s)=>{i.size=i.fileSize,i.format=i.originFileName.substring(i.originFileName.lastIndexOf(".")+1),i.uploadTime=i.createTime,i.processInstId=this.param.processInstId,i.taskInstId=this.param.taskInstId,i.name=i.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("delegateTask")}}},Dh={};var oI=ve(aI,nI,rI,!1,lI,"3e18ae74",null,null);function lI(e){for(let t in Dh)this[t]=Dh[t]}const cI=function(){return oI.exports}(),uI="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACZ5JREFUeF7tne1xG0cMhkE2EqeS2JXY6iLRZMb2jEdJF3YqiVNJ5EbMzIlhRDIiecAt9uPeh3+9wC5e4BEWx7O0MT4ogAIXFdigDQqgwGUFAITqQIErCgAI5YECAEINoEBMATpITDesRBQAEJFE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wcIkLycROBwF3cJgz4BARKeVpWo7gI++gUESPbppXMUKPO4i74BUYcEOOKVXciyf0BUIQGOQiW+zM0YgKhBAhzLqrqg9TiAqEACHAXLe7mrsQBZOyTAsbyiC3sYD5C1QgIchUu7jLsxAVkbJMBRppoTvIwLyFogAY6Esi7ncmxARocEOMpVcpKn8QEZFRLgSCrpsm7XAchokABH2SpO9LYeQEaBBDgSy7m863UB0jskwFG+gpM9rg+QXiEBjuRSznG/TkB6gwQ4cqq3gtf1AtILJMBRoYzztlg3IK0hAY68yq3kef2AtIIEOCqVcO42GoDUhgQ4cqu2oncdQGpBAhwVyzd/Ky1AsiEBjvyKrbyDHiBZkABH5dKts50mIKUhAY461dpgF11ASkECHA3Ktt6W2oAshQQ46lVqo50AJAoJcDQq2brbAshB7/3fJ5n7R3K+2MPmrm6q2K2FAgByrvr97p2ZvTez/V+WOv082tbunv7yFB8JBQDkUpr3HeW1mf1gZt9sa4+AIcHESZAAopdzInYoACAOsViqpwCA6OWciB0KAIhDLJbqKQAgejknYocCAOIQi6V6CgCIXs6J2KEAgDjEYqmeAgCil3MidigAIA6xWKqnAIDo5ZyIHQoAiEMsluopACB6OSdihwIA4hCLpXoKAIhezonYoQCAOMRiqZ4CAKKXcyJ2KAAgDrFYqqcAgOjlnIgdCgCIQyyW6ikAIHo5J2KHAgDiEIulegoAiF7OidihAIA4xGKpngIAopdzInYoACAOsViqpwCA6OWciB0KAIhDLJbqKQAgejknYocCAOIQi6V6CgCIXs6J2KEAgDjEYqmeAgCil3MidigAIA6xWKqnAIDo5ZyIHQoAiEMsluopACB6OSdihwIA4hCLpXoKAIhezonYoQCAOMRiqZ4CAKKXcyJ2KAAgDrFYqqcAgOjlnIgdCgCIQyyW6inwD771qeduEnFsAAAAAElFTkSuQmCC",RT="";var pI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.nodeItems&&e.nodeItems.length?i("div",{staticClass:"treenode"},[e.endNode?e._e():i("div",{staticClass:"treenode-multi"},[i("div",{staticClass:"treenode-node",staticStyle:{"margin-top":"0"}},[e._l(e.nodeItems,function(s){return[e.checkType=="InclusiveGatewayModel"&&e.nodeItems.length>1?i("div",{staticClass:"treenode-checkbox",class:e.checkBoxArr.includes(s.id)?"treenode-checkbox-active":"",on:{click:function(n){return e.handleCheckBoxClick(s)}}},[i("span",[e.checkBoxArr.includes(s.id)?i("img",{staticClass:"treenode-checkbox-active-img",attrs:{src:e.check}}):e._e()]),e._v(" "+e._s(s.nodeName||s.name)+" ")]):e.checkType=="ExclusiveGatewayModel"&&e.nodeItems.length>1?i("div",{staticClass:"treenode-radio",class:e.radioArr==s.id?"treenode-radio-active":"",on:{click:function(n){return e.handleRadioClick(s)}}},[i("span"),e._v(" "+e._s(s.nodeName||s.name)+" ")]):e._e()]})],2),e.checkType=="InclusiveGatewayModel"&&e.checkBoxItem&&e.checkBoxItem.length?e._l(e.checkBoxItem,function(s){return i("div",{staticClass:"treenode-node"},[s.childNode&&s.childNode.length?i("div",[i("TreeNode",{attrs:{items:s.childNode,endNode:s.childNode.length==1,nodeType:e.nodeType,param:e.param,checkType:s.type},on:{onMultiNode:e.onMultiNode,onVars:e.onVars}})],1):i("div",{staticClass:"personselect"},[i("div",{staticClass:"personselect-name"},[e._v(" "+e._s(s.name||s.nodeName)+" ")]),i("div",{staticClass:"items-person"},[s.userList&&s.userList.length>0?i("div",{staticClass:"items-person-set",on:{click:function(n){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?[i("div",{staticClass:"items-person-set",on:{click:function(n){return n.stopPropagation(),e.handleOpenPopup(s)}}},[e._v(" \u8BBE\u7F6E ")])]:e._e(),s.userList&&s.userList.length>0?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.routeTxt&&s.routeTxt.userNames?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(s.routeTxt.userNames)+" ")]):e._e()],2),s.routeTxt&&s.routeTxt.length>0?i("div",{staticClass:"views-items-includes"},[i("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),i("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(n,r){return i("div",{key:n.type},[n.ids&&n.ids.length>0?i("div",[i("div",{staticClass:"include"},[i("b",{staticClass:"include include-type",class:["include-"+n.type]},[e._v(e._s(n.type=="user"?"\u7528\u6237":n.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),i("span",{staticClass:"include include-name"},[e._v(e._s(n.name))])]),r!==s.routeTxt.length-1?i("div",{staticClass:"include include-assign",class:["include-assign-"+(n.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}):e._e(),e.checkType=="ExclusiveGatewayModel"&&e.radioItem&&e.radioItem.length?e._l(e.radioItem,function(s){return i("div",{staticClass:"treenode-node"},[s.childNode&&s.childNode.length?i("div",[i("TreeNode",{attrs:{items:s.childNode,endNode:s.childNode.length==1,nodeType:e.nodeType,param:e.param,checkType:s.type},on:{onMultiNode:e.onMultiNode,onVars:e.onVars}})],1):i("div",{staticClass:"personselect"},[i("div",{staticClass:"personselect-name"},[e._v(" "+e._s(s.name||s.nodeName)+" ")]),i("div",{staticClass:"items-person"},[s.userList&&s.userList.length>0?i("div",{staticClass:"items-person-set",on:{click:function(n){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?[i("div",{staticClass:"items-person-set",on:{click:function(n){return n.stopPropagation(),e.handleOpenPopup(s)}}},[e._v(" \u8BBE\u7F6E ")])]:e._e(),s.userList&&s.userList.length>0?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.routeTxt&&s.routeTxt.userNames?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s(s.routeTxt.userNames)+" ")]):e._e()],2),s.routeTxt&&s.routeTxt.length>0?i("div",{staticClass:"views-items-includes"},[i("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),i("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(n,r){return i("div",{key:n.type},[n.ids&&n.ids.length>0?i("div",[i("div",{staticClass:"include"},[i("b",{staticClass:"include include-type",class:["include-"+n.type]},[e._v(e._s(n.type=="user"?"\u7528\u6237":n.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),i("span",{staticClass:"include include-name"},[e._v(e._s(n.name))])]),r!==s.routeTxt.length-1?i("div",{staticClass:"include include-assign",class:["include-assign-"+(n.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}):e._e()],2),e.endNode?i("div",{staticClass:"treenode-single"},e._l(e.nodeItems,function(s){return i("div",{staticClass:"treenode-single-items"},[i("div",{staticClass:"personselect"},[i("div",{staticClass:"personselect-name"},[e._v(" "+e._s(s.name||s.nodeName)+" ")]),s.nodeType!=="endEvent"?i("div",{staticClass:"items-person"},[s.userList&&s.userList.length>0?i("div",{staticClass:"items-person-set",on:{click:function(n){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):s.setPersonnel?i("div",{staticClass:"items-person-name"},[e._v(" "+e._s((s.assignees||[]).map(function(n){return n.name}).join(","))+" ")]):[i("div",{staticClass:"items-person-set",on:{click:function(n){return n.stopPropagation(),e.handleOpenPopup(s)}}},[e._v(" \u8BBE\u7F6E ")])],i("div",{staticClass:"items-person-name"},[!e.partNode[s.id]&&s.humanPerformerName=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"&&s.noPersonnel?i("div",[e._v(" \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")]):e._e(),e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")])],2):e._e(),s.routeTxt&&s.routeTxt.length>0?i("div",{staticClass:"views-items-includes"},[i("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),i("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(n,r){return i("div",{key:n.type},[n.ids&&n.ids.length>0?i("div",[i("div",{staticClass:"include"},[i("b",{staticClass:"include include-type",class:["include-"+n.type]},[e._v(e._s(n.type=="user"?"\u7528\u6237":n.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),i("span",{staticClass:"include include-name"},[e._v(e._s(n.name))])]),r!==s.routeTxt.length-1?i("div",{staticClass:"include include-assign",class:["include-assign-"+(n.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}),0):e._e(),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[e.visible?i("departPerson",e._b({attrs:{isTitle:!1},on:{callback:e.handleCallback}},"departPerson",e.entity,!1)):e._e()],1),i("SelectFixedPerson",{attrs:{visible:e.showFixedPerson,list:e.fixedPersonList,multiple:e.currentClickItem.loopCardinality==-1,select:e.fixedSelect[e.partObjId]||[]},on:{updateList:e.handleClickFixedPerson,updateVisible:e.updateFixedPersonVisible,updateSelect:e.updateFixedSelect,confirm:e.handleSumbitFixedPerson}}),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}})],1):e._e()},dI=[];const LT="",hI={name:"TreeNode",components:{SelectFixedPerson:_h,TopPopup:at,TopTips:Nt,departPerson:Jt.departPerson},props:{items:{type:Array,default:()=>[]},endNode:{type:Boolean,default:!1},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}},checkType:{type:String,default:""}},data(){return{currentClickItem:{},fixedSelect:{},showFixedPerson:!1,fixedPersonList:[],nodeItems:[],visible:!1,checkBoxArr:[],checkBoxItem:[],radioArr:"",radioItem:[],partObjId:"",entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partNode:{},partNodeArr:{},textTips:"",statusTips:!1,typeTips:"success",gateVars:{},onMultiNodeData:{},onVarsData:{},personMake:[],personMakeList:{}}},watch:{items:{handler(e,t){e&&e.length&&(this.multiNodeParticipant={},this.partNode={},this.partNodeArr={},this.gateVars={},this.nodeItems=JSON.parse(JSON.stringify(e)),this.nodeItems,this.nodeItems.map(i=>{if(Array.isArray(i.assignees),i.assignees,i.userTaskModelDTO||(i.userTaskModelDTO={name:i.name,humanPerformer:{name:i.humanPerformerName},routeTxt:i.routeTxt,participantList:i.participantList}),Array.isArray(i.assignees)&&i.assignees.length&&(this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNodeArr[i.id]||(this.partNodeArr[i.id]=[]),i.assignees.forEach(s=>{this.partNodeArr,this.multiNodeParticipant;const n=this.partNodeArr[i.id].find(a=>a.name==s.name),r=this.multiNodeParticipant[i.id].find(a=>a==s.id);n||this.partNodeArr[i.id].push(s),r||this.multiNodeParticipant[i.id].push(s.id)})),i.userTaskModelDTO&&i.userTaskModelDTO.participantList&&i.userTaskModelDTO.participantList.length&&i.userTaskModelDTO.humanPerformer&&i.userTaskModelDTO.participantList.map(s=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.partNodeArr[i.id]||(this.partNodeArr[i.id]=[]),this.multiNodeParticipant[i.id].includes(s.id)||this.multiNodeParticipant[i.id].push(s.id),this.partNode[i.id].includes(s.name)||this.partNode[i.id].push(s.name),this.partNodeArr[i.id].find(n=>n.name==s.name)||this.partNodeArr[i.id].push(s)}),(i.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||i.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(i.id),i.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let s={taskDefId:i.id,postIds:[]};i.userTaskModelDTO.routeTxt.postList.map(n=>{s.postIds.push(n.postId)}),this.param.request.post("/auth/user/getTaskAuditor",{deptId:this.param.taskNode&&this.param.taskNode[0].vars?this.param.taskNode[0].vars._businessDeptId:"",taskPostIds:[s]}).then(n=>{let r=[],a=[],o=!1;n.data.map(p=>{p.posts.map(h=>{a.push(...h.users),h.users.length==1?r.push(...h.users):o=!0})}),r.length>i.loopCardinality&&i.loopCardinality>0&&(o=!0),o&&(r=[]);let l=[];n.data[0].posts.map(p=>{l.push({...p,projectPost:!(this.param.taskNode&&this.param.taskNode[0].vars&&this.param.taskNode[0].vars._businessDeptId),id:p.users.map(h=>h.id)})}),a.length==0&&this.$set(i,"noPersonnel",!0),r.length>0&&(this.$set(i,"noPersonnel",!0),this.partObjId=i.id,this.handleCallback(r)),i.positionArray=l})}this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(s=>{s.code==200&&(this.personMakeList=s.data)})}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.$emit("onVars",this.gateVars),this.checkType=="ExclusiveGatewayModel"&&e.length==1&&this.handleRadioClick(e[0]))},immediate:!0,deep:!0}},computed:{check(){return nl}},mounted(){},methods:{clear(){this.radioArr="",this.radioItem=[],this.checkBoxArr=[],this.checkBoxItem=[],this.multiNodeParticipant={},this.partNode={},this.partNodeArr={},this.gateVars={}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"||e=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"},handleCallback(e){this.visible=!1,this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name),this.partNodeArr[this.partObjId].push(t)}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr)},handleRadioClick(e){e&&(this.multiNodeParticipant={},this.gateVars={},this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),e.incomingConditionItemList.length>0&&e.incomingConditionItemList[0].itemName&&e.incomingConditionItemList[0].compareValue&&(this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue),this.radioArr=e.id,this.radioItem=[e],this.handleNode(e),this.$emit("onVars",this.gateVars))},handleCheckBoxClick(e){e&&(this.checkBoxArr.includes(e.id)?(e.incomingConditionItemList.length>0&&e.incomingConditionItemList[0].itemName&&e.incomingConditionItemList[0].compareValue&&delete this.gateVars[e.incomingConditionItemList[0].itemName],delete this.multiNodeParticipant[e.id],this.checkBoxItem.splice(this.checkBoxArr.indexOf(e.id),1),this.checkBoxArr.splice(this.checkBoxArr.indexOf(e.id),1)):(e.incomingConditionItemList.length>0&&e.incomingConditionItemList[0].itemName&&e.incomingConditionItemList[0].compareValue&&(this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue),this.checkBoxItem.push(e),this.checkBoxArr.push(e.id)),this.handleNode(e),this.$emit("onVars",this.gateVars))},handleNode(e){let t=e.childNode&&e.childNode.length?e.childNode:e&&e.length?e:[e];t&&t.length&&t.forEach((i,s)=>{i.participantList&&i.participantList.length?i.participantList.forEach((n,r)=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.partNodeArr[i.id]||(this.partNodeArr[i.id]=[]),this.multiNodeParticipant[i.id].includes(n.id)||this.multiNodeParticipant[i.id].push(n.id),this.partNode[i.id].includes(n.name)||this.partNode[i.id].push(n.name),this.partNodeArr[i.id].find(a=>a.name==n.name)||this.partNodeArr[i.id].push(n)}):i.id&&i.humanPerformerName=="\u56FA\u5B9A\u4EBA\u5458"&&this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[i.id]}).then(n=>{n.code==200&&(this.partNode[i.id]={},this.partNode[i.id]=n.data[i.id].split(";"))}),this.nodeType=="outing"&&(this.onVarsData&&(this.gateVars={...this.gateVars,...this.onVarsData}),this.$emit("onVars",this.gateVars))})},handleOpenFixedPerson(e){this.currentClickItem=e,this.partObjId=e.id,this.showFixedPerson=!0,this.fixedPersonList=e.userList||[]},updateFixedPersonVisible(e){this.showFixedPerson=e},updateFixedSelect(e){},handleSumbitFixedPerson(e){this.$set(this.fixedSelect,this.partObjId,e),this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.userId),this.partNode[this.partObjId].push(t.realName),this.partNodeArr[this.partObjId].push({...t,name:t.realName,id:t.userId})}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.showFixedPerson=!1},handleClickFixedPerson(e){this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.userId),this.partNode[this.partObjId].push(t.realName),this.partNodeArr[this.partObjId].push({...t,name:t.realName,id:t.userId})}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.showFixedPerson=!1},handleOpenPopup(e){if(this.visible=!0,this.partObjId=e.id,this.nodeType=="nexting"?e={...e,...e.userTaskModelDTO}:this.nodeType=="outing"?e={...e,humanPerformer:{name:e.humanPerformerName}}:this.handleTips("\u52A0\u8F7D\u5931\u8D25,\u8BF7\u5237\u65B0",!0,"error"),e.humanPerformer.name=="\u56FA\u5B9A\u5355\u4F4D"||e.humanPerformerName=="\u56FA\u5B9A\u5355\u4F4D"){let t,i=[];this.multiNodeParticipant,this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((s,n)=>{i.push({type:3,id:s.id,subjectId:s.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:t,checkedArray:i}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"||e.humanPerformerName=="\u56FA\u5B9A\u90E8\u95E8"){let t,i=[],s=[];e.routeTxt.departmentIds.forEach((n,r)=>{e.routeTxt.departmentIds.length>1?i.push(n.rangeId):t=n.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((n,r)=>{s.push({type:3,id:n.id,deptId:t,subjectId:n.subjectId})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCodeArray:i,checkedArray:s}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCode:t,checkedArray:s}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"||e.humanPerformerName=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let t=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((i,s)=>{t.push({type:3,id:i.id,subjectId:i.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:[5],request:this.param.request,codeType:[8],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,positionArray:e.positionArray,checkedArray:t}}else{let t=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((i,s)=>{t.push({type:3,id:i.id,subjectId:i.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:t}}},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},onMultiNode(e){e&&(this.onMultiNodeData=e,this.multiNode={...this.multiNode,...this.onMultiNodeData},this.$emit("onMultiNode",this.multiNode),this.$emit("onMultiNodeObj",this.partNodeArr))},onVars(e){e&&(this.onVarsData=e,this.getVars={...this.gateVars,...this.onVarsData},this.$emit("onVars",this.getVars))}}},Oh={};var fI=ve(hI,pI,dI,!1,mI,"4064b34c",null,null);function mI(e){for(let t in Oh)this[t]=Oh[t]}const gI=function(){return fI.exports}();var yI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"test"},[e.param.nodeLoading?[e._m(0)]:[e.nodeItems&&e.nodeItems.length?i("div",e._l(e.nodeItems,function(s,n){return i("div",{key:n,staticClass:"treeperson"},[s.nodeType=="endEvent"?[i("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")])]:s.branches&&s.branches.length?[e.nodeType=="nexting"&&s.nodeType!="inclusiveGateway"?[s.nodeType=="exclusiveGateway"&&s.branches.length>1?i("div",{staticClass:"treeperson-firstnode"},[e._m(1,!0),e._l(s.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.branches)}}},[i("span"),e._v(" "+e._s(r.id.includes("Flow")?r.nodeName||r.name?r.nodeName||r.name:r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:"":r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name||r.nodeName||r.name:r.nodeName||r.name)+" ")])})],2):s.nodeType=="exclusiveGateway"&&s.branches.length==1?i("div",{staticClass:"treeperson-firstnode"},e._l(s.branches,function(r,a){return i("div",[i("span"),i("tree-person",{ref:"TreePersonRef",refInFor:!0,attrs:{items:r.branches&&r.branches.length>0?r.branches:[r],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})],1)}),0):s.nodeType=="inclusiveGateway"&&s.branches.length>=1?i("div",{staticClass:"treeperson-firstnode"},[e._m(2,!0),e._l(s.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleMultiFirstNodeClick(r)}}},[i("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])})],2):i("div",{staticClass:"treeperson-firstnode"},[e._m(3,!0),e._l(s.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.branches)}}},[i("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])})],2),e.childrenItems&&e.childrenItems.length>0&&e.childrenItems[0].nodeInfoDTO&&e.childrenItems[0].nodeInfoDTO.nodeType!="userTask"?[i("tree-person",{key:e.firstCheck,ref:"TreePersonRef",refInFor:!0,attrs:{items:[e.firstCheckItem],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})]:e.childrenItems&&e.childrenItems.length>1&&e.childrenItems[0].nodeInfoDTO&&e.childrenItems[0].nodeInfoDTO.nodeType=="userTask"?[e._m(4,!0),i("div",{staticClass:"treeperson-checkbox-box"},e._l(e.childrenItems,function(r,a){return i("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstMultiCheckSub.includes(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleMultiFirstNodeClickSub(r,e.childrenItems)}}},[i("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])}),0),e._l(e.filterMultiItemsSub(e.childrenItems),function(r){return[i("TreeNode",{attrs:{items:r.branches&&r.branches.length>0?r.branches:[r.nodeInfoDTO?r.nodeInfoDTO:r],endNode:!0,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(a){return e.onMultiNode(a,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]})]:[i("TreeNode",{attrs:{items:e.childrenItems,endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:e.nodeType=="nexting"&&s.nodeType=="inclusiveGateway"?[s.nodeType=="inclusiveGateway"&&s.branches.length>=1?i("div",{staticClass:"treeperson-firstnode"},[e._m(5,!0),i("div",{staticClass:"treeperson-checkbox-box"},e._l(s.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstMultiCheck.includes(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleMultiFirstNodeClick(r,s.branches)}}},[i("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])}),0)]):e._e(),e._l(e.filterMultiItems(s.branches),function(r){return[i("TreeNode",{attrs:{items:r.branches&&r.branches.length>0?r.branches:[r.nodeInfoDTO?r.nodeInfoDTO:r],endNode:!0,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(a){return e.onMultiNode(a,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]})]:e._e()]:s.nodeType=="exclusiveGateway"&&s.branches&&s.branches.length>1?[e._m(6,!0),s.type=="ExclusiveGatewayModel"&&s.branches.length==1?e._e():i("div",{staticClass:"treeperson-firstnode"},e._l(s.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstCheck==r.id?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.branches)}}},[i("span"),e._v(" "+e._s(r.nodeName||r.name)+" ")])}),0),i("TreeNode",{attrs:{items:e.childrenItems,endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(r){return e.onMultiNode(r,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]:s.nodeType=="exclusiveGateway"&&s.branches&&s.branches.length==1?[e._m(7,!0),e.nodeType=="nexting"?[i("TreeNode",{attrs:{items:[s.branches[0]],endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]:[i("TreeNode",{attrs:{items:[s.branches[0]],endNode:!0,nodeType:"nexting",param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:s.id||s.nodeInfoDTO&&s.nodeInfoDTO.id?[e.nodeType=="nexting"?[s.nodeInfoDTO&&s.nodeInfoDTO.nodeType=="exclusiveGateway"?[e._m(8,!0),e._l(s.nodeInfoDTO.branches,function(r,a){return i("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.nodeInfoDTO.branches)}}},[i("span"),e._v(" "+e._s(r.nodeName||r.name)+" ")])}),i("tree-person",{key:e.firstCheck,ref:"TreePersonRef",refInFor:!0,attrs:{items:[e.firstCheckItem],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})]:[e._m(9,!0),i("TreeNode",{attrs:{items:[s.nodeInfoDTO?s.nodeInfoDTO:s],endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:[i("TreeNode",{attrs:{items:[s],endNode:!0,nodeType:"nexting",param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:void 0],2)}),0):e._e()]],2)},vI=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("span",[e._v("\u4E0B\u4E00\u8282\u70B9: ")]),i("b",{staticStyle:{"font-size":"16px"}},[e._v("\u8282\u70B9\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E......")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),i("span",{staticClass:"treeperson-title--re"},[e._v("*")])])}];const FT="",AI={name:"tree-person",components:{TreeNode:gI},props:{items:{type:Array,default:()=>[]},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}}},data(){return{nodeItems:[],visible:!1,partObjId:"",partNode:[],firstCheck:"",firstCheckItem:{},firstType:"",firstMultiCheck:[],firstMultiCheckItem:[],firstMultiType:[],firstMultiCheckSub:[],firstMultiCheckItemSub:[],firstMultiTypeSub:[],childrenItems:[],childrenEndItems:!1,childrenItemsSub:[],childrenEndItemsSub:!1,gateVars:{},multiNode:{},partNodeArr:{},getVars:{}}},watch:{items:{handler(e,t){e&&e.length&&(this.nodeType=="nexting"?(this.nodeItems=[],this.childrenEndItems=!0,e.forEach(i=>{i={...i,...i.userTaskModelDTO},this.nodeItems.push(i)})):this.nodeType=="outing"&&(this.nodeItems=e),this.nodeItems.length==1&&this.nodeItems[0].type=="ExclusiveGatewayModel"&&this.nodeItems[0].childNode&&this.nodeItems[0].childNode.length==1&&this.handleFirstNodeClick(this.nodeItems[0]),this.nodeItems)},immediate:!0,deep:!0}},methods:{filterMultiItems(e=[]){return this.firstMultiCheck,e.filter(t=>this.firstMultiCheck.includes(t.nodeInfoDTO?t.nodeInfoDTO.id:t.id))},filterMultiItemsSub(e=[]){return this.firstMultiCheckSub,e.filter(t=>this.firstMultiCheckSub.includes(t.nodeInfoDTO?t.nodeInfoDTO.id:t.id))},onMultiNode(e,t=""){t&&Object.prototype.toString.call(e)=="[object Object]"?Object.prototype.toString.call(this.multiNode)=="[object Object]"?Object.keys(e).forEach(i=>{e[i]||(e[i]=[""]),e[i]&&e[i].length>=1?this.multiNode[i]=e[i].filter(s=>s):this.multiNode[i]=e[i]}):this.multiNode=e:this.multiNode=e,this.$emit("onMultiNode",this.multiNode)},onMultiNodeObj(e){this.partNodeArr=e,this.$emit("onMultiNodeObj",this.partNodeArr)},onVars(e){e?this.getVars={...this.gateVars,...e}:this.getVars={...this.gateVars},this.$emit("onVars",this.getVars)},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"||e=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"},handleMultiFirstNodeClick(e,t=[]){let i=e;if(i&&i.nodeInfoDTO&&(i=i.nodeInfoDTO),this.firstMultiCheck.includes(i.id)){this.firstMultiCheck=this.firstMultiCheck.filter(s=>s!=i.id),this.firstMultiCheckItem=this.firstMultiCheckItem.filter(s=>s.id!=i.id),this.firstMultiType=this.firstMultiType.filter(s=>s!=i.nodeType),delete this.param.selChildrenItems[i.id];return}if(i){this.firstMultiCheck.push(i.id),this.firstMultiCheckItem.push(i),this.firstMultiType.push(i.nodeType);let s=[i];i.branches&&i.branches.length?(this.childrenItems=i.branches,this.childrenEndItems=!1):(this.childrenItems=[i],this.childrenEndItems=!0),t.forEach(n=>{delete this.param.selChildrenItems[n.id],this.param.selChildrenItems[i.id]=(this.childrenItems||[]).map(r=>r.nodeInfoDTO||r)}),this.gateVars={},s.forEach(n=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(n.incomingConditionItemList)&&n.incomingConditionItemList.length>0&&(this.param.vars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue,this.gateVars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue)})}},handleMultiFirstNodeClickSub(e,t=[]){let i=e;if(i&&i.nodeInfoDTO&&(i=i.nodeInfoDTO),this.firstMultiCheckSub.includes(i.id)){this.firstMultiCheckSub=this.firstMultiCheckSub.filter(s=>s!=i.id),this.firstMultiCheckItemSub=this.firstMultiCheckItemSub.filter(s=>s.id!=i.id),this.firstMultiTypeSub=this.firstMultiTypeSub.filter(s=>s!=i.nodeType),this.childrenItemsSub=this.childrenItemsSub.filter(s=>s.id!=i.id),t.forEach(s=>{delete this.param.selChildrenItems[s.nodeInfoDTO?s.nodeInfoDTO.id:s.id]}),delete this.param.selChildrenItems[i.id];return}if(i){this.firstMultiCheckSub.push(i.id),this.firstMultiCheckItemSub.push(i),this.firstMultiTypeSub.push(i.nodeType);let s=[i];i.branches&&i.branches.length?(this.childrenItemsSub.push(i.branches),this.childrenEndItemsSub=!1):(this.childrenItemsSub.push(i),this.childrenEndItemsSub=!0),t.forEach(n=>{delete this.param.selChildrenItems[n.nodeInfoDTO?n.nodeInfoDTO.id:n.id],this.param.selChildrenItems[i.id]=(this.childrenItemsSub||[]).map(r=>r.nodeInfoDTO||r)}),this.gateVars={},s.forEach(n=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(n.incomingConditionItemList)&&n.incomingConditionItemList.length>0&&(this.param.vars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue,this.gateVars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue)})}},handleFirstNodeClick(e,t=[]){let i=e;if(i&&i.nodeInfoDTO&&(i=i.nodeInfoDTO),i){this.firstCheck=i.id,this.firstCheckItem=i,this.firstType=i.nodeType;let s=[i];i.branches&&i.branches.length?(this.childrenItems=i.branches,this.childrenEndItems=!1):(this.childrenItems=[i],this.childrenEndItems=!0),t.forEach(n=>{const r=this.param.selChildrenItems[n.nodeInfoDTO?n.nodeInfoDTO.id:n.id];Array.isArray(r)&&r.forEach(a=>{delete this.param.selChildrenItems[a.id]}),delete this.param.selChildrenItems[n.nodeInfoDTO?n.nodeInfoDTO.id:n.id],this.param.selChildrenItems[i.id]=(this.childrenItems||[]).map(a=>a.nodeInfoDTO||a)}),this.gateVars={},s.forEach(n=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(n.incomingConditionItemList)&&n.incomingConditionItemList.length>0&&(this.param.vars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue,this.gateVars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue)})}}}},Mh={};var bI=ve(AI,yI,vI,!1,CI,"04a361c0",null,null);function CI(e){for(let t in Mh)this[t]=Mh[t]}const wI=function(){return bI.exports}();var EI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"top-popup-zindex",class:e.className,style:`${e.isIndex?`z-index:${e.isIndex}`:""}`},[i("div",{staticClass:"top-popup-mask",style:e.show&&e.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:function(s){e.isMaskClose&&e.handleClose()}}}),!e.isTips&&!e.isDrawer?i("div",{staticClass:"top-popup",style:e.show?"transform: translateY(0)":"transform: translateY(150%)"},[i("div",{staticClass:"top-popup-header"},[i("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),i("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),i("div",{staticClass:"header-comfig",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])]),i("div",{staticClass:"top-popup-body"},[e._t("default")],2)]):!e.isTips&&e.isDrawer?i("div",{staticClass:"top-popup-drawer",class:e.show?"top-popup-drawer--active":"",style:e.width?`width:${e.width};`:""},[i("div",{staticClass:"top-popup-drawer--body"},[e._t("default")],2)]):e.isTips&&!e.isDrawer?i("div",{staticClass:"top-tips",style:e.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)"},[i("div",{staticClass:"top-tips-header"},[e._v(e._s(e.titleText))]),i("div",{staticClass:"top-tips-body"},[e._v(e._s(e.context))]),i("div",{staticClass:"top-tips-footer"},[i("div",{staticClass:"top-tips-btn",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),i("div",{staticClass:"top-tips-btn",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])])]):e._e()])},xI=[];const VT="",II={data(){},props:{titleText:{default:"top-popup",type:String},context:{default:"\u5185\u5BB9",type:String},cancelText:{default:"\u53D6\u6D88",type:String},comfigText:{default:"\u786E\u5B9A",type:String},comfig:{default:null,type:Function},cancel:{default:null,type:Function},isMask:{default:!0,type:Boolean},isMaskClose:{default:!0,type:Boolean},isTips:{default:!1,type:Boolean},isDrawer:{default:!1,type:Boolean},visible:{default:!1,type:Boolean},isIndex:{type:Number},width:{type:String,default:"95vw"},className:{type:String,default:""},appendClass:{type:String,default:""}},data(){return{show:!1,top:0,useHidden:!1}},watch:{visible:{handler(e,t){if(e)this.show=e,document.body.style.position=="fixed"&&document.body.style.overflow=="hidden"?this.useHidden=!0:this.useHidden=!1,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=`${-top}px`,document.body.style.overflow="hidden";else{if(this.useHidden){this.show=e,this.$emit("update:visible",!1);return}else document.body.style.position="",document.body.style.top="",document.body.style.overflow="visible",window.scrollTo(0,this.top);this.show=e,this.$emit("update:visible",!1)}},immediate:!0}},methods:{handleOpen(){this.show=!0,this.top=window.scrollY,document.body.style.position="fixed",document.body.style.top=-this.top+"px"},handleClose(){document.body.style.position="",document.body.style.top="",window.scrollTo(0,this.top),this.show=!1,this.$emit("update:visible",!1)},handleCancel(){typeof this.cancel=="function"&&this.cancel(),this.handleClose()},handleComfig(){typeof this.comfig=="function"&&this.comfig()},isIOS(){let e=navigator.userAgent.includes("iPhone"),t=navigator.userAgent.includes("iPad");return e||t}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el),document.documentElement.scrollTop||document.body.scrollTop})}},Bh={};var TI=ve(II,EI,xI,!1,_I,"37f0c2ca",null,null);function _I(e){for(let t in Bh)this[t]=Bh[t]}const Rh=function(){return TI.exports}();var NI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"sign-container",style:e.setDynamicVars},[i("div",{staticClass:"canvas-container"},[e.paths.length==0&&e.currentPath.length==0?i("div",{staticClass:"tips"},[e._v("\u8BF7\u5728\u6B64\u533A\u57DF\u7B7E\u5B57")]):e._e(),i("canvas",{ref:"canvasRef",class:{"uni-canvas-style":e.isUniCanvas()},attrs:{id:"canvas-id","canvas-id":"canvas-id"},on:{touchmove:e.draw,touchstart:e.startDrawing,touchend:e.finishDrawing}})]),i("div",{staticClass:"history"},[i("div",{staticClass:"img-grid",on:{click:function(s){return e.useHistory(0)}}},[e.historyPics[0]?i("img",{attrs:{src:e.historyPics[0]?e.historyPics[0].url:"",fit:"scale-down"}}):e._e()]),i("div",{staticClass:"img-grid",on:{click:function(s){return e.useHistory(1)}}},[e.historyPics[1]&&e.historyPics[1].url?i("img",{attrs:{src:e.historyPics[1].url,fit:"scale-down"}}):e._e()]),i("div",{staticClass:"img-grid",staticStyle:{"margin-right":"10rpx"},on:{click:function(s){return e.useHistory(2)}}},[e.historyPics[2]&&e.historyPics[2].url?i("img",{attrs:{src:e.historyPics[2].url,fit:"scale-down"}}):e._e()])]),i("div",{staticClass:"actions-area"},[i("button",{staticClass:"btns-common cmf-btn",on:{click:e.confirmSave}},[e._v("\u786E\u8BA4")]),i("button",{staticClass:"btns-common",on:{click:e.cancelSign}},[e._v("\u8FD4\u56DE")]),i("button",{staticClass:"btns-common",on:{click:e.undo}},[e._v("\u64A4\u9500")]),i("button",{staticClass:"btns-common",on:{click:e.clearCanvas}},[e._v("\u6E05\u7A7A")])]),i("signDrawer",{ref:"TopPopupSign",attrs:{visible:e.confirmVisible,titleText:"",isDrawer:!1,isTips:!0,context:"\u63D0\u4EA4\u4E4B\u540E\u5C06\u4E0D\u80FD\u518D\u4FEE\u6539,\u786E\u8BA4\u8981\u63D0\u4EA4\u7B7E\u540D\u5417?",comfig:e.saveSignature},on:{"update:visible":function(s){return e.confirmVisible=s}}})],1)},kI=[];const jT="",SI={props:{request:{type:Function,default:()=>{}}},components:{signDrawer:Rh},data(){return{ctx:null,signatureImage:"",actionHeight:0,historyHeight:0,isDrawing:!1,paths:[],currentPath:[],historyPics:[],savaClock:!1,confirmVisible:!1}},methods:{startDrawing(e){if(this.$refs.canvasRef.getContext){this.isDrawing=!0,this.currentPath=[];const t=this.$refs.canvasRef.getBoundingClientRect(),i=(e.touches[0].clientX-t.left)*(this.$refs.canvasRef.width/t.width)/window.devicePixelRatio,s=(e.touches[0].clientY-t.top)*(this.$refs.canvasRef.height/t.height)/window.devicePixelRatio;this.ctx.beginPath(),this.ctx.moveTo(i,s),this.currentPath.push({x:i,y:s})}else this.isDrawing=!0,this.currentPath=[],this.currentPath.push({x:e.touches[0].x,y:e.touches[0].y})},draw(e){if(!!this.isDrawing)if(this.$refs.canvasRef.getContext&&this.currentPath.length>0){const t=this.$refs.canvasRef.getBoundingClientRect(),i=(e.touches[0].clientX-t.left)*(this.$refs.canvasRef.width/t.width)/window.devicePixelRatio,s=(e.touches[0].clientY-t.top)*(this.$refs.canvasRef.height/t.height)/window.devicePixelRatio;this.ctx.lineWidth=3,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.strokeStyle="#000000",this.ctx.imageSmoothingEnabled=!0,this.ctx.imageSmoothingQuality="high",this.$refs.canvasRef.style.imageRendering="auto",this.ctx.lineTo(i,s),this.ctx.stroke(),this.currentPath.push({x:i,y:s})}else this.currentPath.length>0&&(this.currentPath.push({x:e.touches[0].x,y:e.touches[0].y}),this.ctx.moveTo(this.currentPath[this.currentPath.length-2].x,this.currentPath[this.currentPath.length-2].y),this.ctx.lineTo(this.currentPath[this.currentPath.length-1].x,this.currentPath[this.currentPath.length-1].y),this.ctx.setLineWidth(3),this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.setStrokeStyle("#000"),this.ctx.stroke(),this.ctx.draw(!0))},undo(){if(this.$refs.canvasRef.getContext){this.paths.pop(),this.ctx.clearRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height),this.ctx.fillStyle="#fff",this.ctx.fillRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height);for(let e of this.paths)for(let t=0;t<e.length-1;t++){const{x:i,y:s}=e[t];t===0?(this.ctx.beginPath(),this.ctx.moveTo(i,s)):(this.ctx.lineTo(i,s),this.ctx.stroke())}}else if(this.paths.length>0){this.paths.pop(),this.ctx.clearRect(0,0,this.$refs.canvasRef.$el.offsetWidth,this.$refs.canvasRef.$el.offsetHeight),this.ctx.draw(!0);for(let e of this.paths)for(let t=0;t<e.length-1;t++)this.ctx.moveTo(e[t].x,e[t].y),this.ctx.lineTo(e[t+1].x,e[t+1].y),this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.setLineWidth(4),this.ctx.setStrokeStyle("#000"),this.ctx.stroke(),this.ctx.draw(!0);this.ctx.draw(!0)}this.currentPath=[]},finishDrawing(e){this.paths.push(this.currentPath),this.currentPath=[],this.isDrawing=!1},clearCanvas(){var e,t;(t=(e=this.$refs)==null?void 0:e.canvasRef)!=null&&t.getContext?(this.ctx.clearRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height),this.ctx.fillStyle="#fff",this.ctx.fillRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height),this.signatureImage="",this.paths=[]):(this.ctx.clearRect(0,0,this.$refs.canvasRef.$el.offsetWidth,this.$refs.canvasRef.$el.offsetHeight),this.ctx.draw(!0),this.signatureImage="",this.paths=[]),this.currentPath=[],this.$emit("saveSignature","",!1)},cancelSign(){this.clearCanvas(),this.$emit("close")},fixAccuracy(e,t){const i=new Blob([e],{type:"text/plain"}),r=new File([i],"text.txt").size/1024;if(r<=64){const a=document.getElementById("canvas-id");return this.getRotatedDataURL(a,-90,t)}else{if(r>300)return null;{let a,o;if(t<.005)return null;if(t-.05>0){a=t-.05;const l=document.getElementById("canvas-id");return o=this.getRotatedDataURL(l,-90,a),this.fixAccuracy(o,a)}else{a=t/2;const l=document.getElementById("canvas-id");return o=this.getRotatedDataURL(l,-90,a),this.fixAccuracy(o,a)}}}},confirmSave(){if(this.paths.length==0){this.$emit("validateFail","\u8BF7\u7B7E\u5B57!");return}this.confirmVisible=!0},saveSignature(){if(this.confirmVisible=!1,this.savaClock)return;this.savaClock=!0;let e=this;if(this.$refs.canvasRef.getContext){let t=.6;const i=document.getElementById("canvas-id");return this.getRotatedDataURL(i,-90,t),!0}else uni.canvasToTempFilePath({canvasId:"canvas-id",success(t){e.signatureImage=t.tempFilePath;let i=JSON.parse(localStorage.getItem("signaturesArr"))||[];i.unshift(this.signatureImage),this.$set(this,"historyPics",i.slice(0,3)),localStorage.setItem("signaturesArr",JSON.stringify(this.historyPics)),e.$emit("saveSignature",e.signatureImage)}},e)},isUniCanvas(){var e;return!((e=this.$refs.canvasRef)!=null&&e.getContext)},disableWeChatScroll(e){e.preventDefault()},useHistory(e){this.historyPics[e]&&this.$emit("saveSignature",this.historyPics[e],!0)},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},getRotatedDataURL(e,t,i){let s=e.width/window.devicePixelRatio,n=e.height/window.devicePixelRatio,r=t*Math.PI/180,a=Math.max(s*Math.abs(Math.cos(r)),n*Math.abs(Math.sin(r))),o=Math.max(s*Math.abs(Math.sin(r)),n*Math.abs(Math.cos(r)));const l=document.createElement("canvas"),p=l.getContext("2d");l.width=a,l.height=o,p.translate(a/2,o/2),p.rotate(r),p.drawImage(e,-s/2,-n/2,s,n),l.toBlob(h=>{this.uploadImage(h)},"image/png",.95)},async uploadImage(e,t){this.loading=!0;const i=new FormData;i.append("file",e,t||`signature-${Date.now()}.png`);const s=await this.request.post("/file/upload",i,{headers:{"Content-Type":"multipart/form-data"}});if(this.loading=!1,!s.success)return;let n=JSON.parse(localStorage.getItem("signaturesArr"))||[];n.unshift(s.data),this.$set(this,"historyPics",n.slice(0,3)),localStorage.setItem("signaturesArr",JSON.stringify(this.historyPics)),this.$emit("saveSignature",s.data,!0)}},computed:{setDynamicVars(){return{"--action-height":`${this.historyHeight}px`}}},mounted(){var e;if(this.historyHeight=(e=document.querySelector(".history"))==null?void 0:e.offsetHeight,this.$refs.canvasRef.getContext){let t=document.querySelector(".canvas-container");if(t){let i=document.getElementById("canvas-id");const s=t.offsetWidth,n=t.offsetHeight-this.actionHeight-this.historyHeight;i.style.width=`${s}px`,i.style.height=`${n}px`,i.width=s*window.devicePixelRatio,i.height=n*window.devicePixelRatio,this.ctx=this.$refs.canvasRef.getContext("2d"),this.ctx.scale(window.devicePixelRatio,window.devicePixelRatio),this.ctx.fillStyle="#fff",this.ctx.fillRect(0,0,i.width,i.height)}}else{this.ctx=uni.createCanvasContext("canvas-id",this);const t=uni.getSystemInfoSync().pixelRatio;this.ctx.scale(t,t)}document.addEventListener("touchmove",this.disableWeChatScroll,{passive:!1}),localStorage.getItem("signaturesArr")?this.historyPics=JSON.parse(localStorage.getItem("signaturesArr")):this.historyPics=[]},beforeDestroy(){document.removeEventListener("touchmove",this.disableWeChatScroll)}},Lh={};var PI=ve(SI,NI,kI,!1,DI,"58762489",null,null);function DI(e){for(let t in Lh)this[t]=Lh[t]}const OI=function(){return PI.exports}();var MI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-popup-content"},[e.param.ProcessInsObj&&e.param.ProcessInsObj.processDefId!="obj_94014ede99b6495d8f6d5977314faa15"?i("div",{staticClass:"process-popup-content-msg"},[e.param.isQuickReply?i("div",{staticClass:"process-pc-label"},[e._v("\u5FEB\u6377\u56DE\u590D")]):e._e(),e.param.isQuickReply?i("div",{staticClass:"process-pc-value",staticStyle:{display:"flex"}},[i("div",{staticClass:"process-radio",staticStyle:{width:"100%"}},[e.param.isDocument?e._l(e.msgCheckList,function(s){return i("div",{staticClass:"process-radio-item",class:s==e.commentMsg?"process-radio-item--check":"",on:{click:function(){return e.commentMsg=s}}},[i("span"),e._v(" "+e._s(s)+" ")])}):e._l(e.msgCheckListS,function(s){return i("div",{staticClass:"process-radio-item",class:s==e.commentMsg?"process-radio-item--check":"",on:{click:function(){return e.commentMsg=s}}},[i("span"),e._v(" "+e._s(s)+" ")])}),e.param.isMsg?i("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px","margin-left":"auto"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")]):e._e()],2)]):e._e(),e.param.isMsg&&!e.param.isQuickReply?i("div",[i("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),i("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u610F\u89C1 "),e.param.isRequire?i("span",{staticClass:"process-pc-label--re"},[e._v("*")]):e._e()]),i("div",{staticClass:"process-pc-value"},[i("div",{staticClass:"process-popup-textarea"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),i("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?i("div",{staticClass:"msg-btn"},[i("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]):e._e(),i("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length==1&&e.nextNodeData[0].nodeType=="endEvent"?i("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]):e.nextNodeData&&e.nextNodeData.nodeType=="endEvent"?i("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]):e.param.ProcessInsObj.taskParentId?e._e():i("TreePerson",{ref:"TreePersonRef",attrs:{items:e.nextNodeData,nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})],1),e._t("completeSlot"),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[i("div",{staticStyle:{height:"100%"}},[e.visible?i("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[i("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),i("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}}),e.labels=="1"?i("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),i("signDrawer",{ref:"TopPopupSign",attrs:{visible:e.signVisible,titleText:"\u7B7E\u5B57",isDrawer:!0,width:"100vw"},on:{"update:visible":function(s){return e.signVisible=s}}},[i("div",{staticStyle:{height:"100%"}},[e.signVisible?i("TopSign",{attrs:{request:e.param.request},on:{saveSignature:e.handleSignature,validateFail:e.noticeFail,close:e.handleClose}}):e._e()],1)])],2)},BI=[];const UT="",RI={name:"complete",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,attchViews:Yi,TopPopup:at,departPerson:Jt.departPerson,MsgList:dn,TreePerson:wI,TopSign:OI,signDrawer:Rh},computed:{check(){return nl},checkS(){return uI},isSelectPerson(){if(this.pureTip=!1,this.nextNodeData,this.taskNode,this.multiNodeParticipant,this.$refs.TreePersonRef,this.param,Array.isArray(this.nextNodeData)&&this.nextNodeData[0].nodeType!="endEvent"){let e=this.param.selChildrenItems||{},t=[];if(Object.keys(e).filter(s=>s.startsWith("Activity")).forEach(s=>{t=t.concat(e[s])}),t.length==0&&Object.values(e).forEach(s=>{Array.isArray(s)&&s.length>0&&s.forEach(n=>{(n.id||"").startsWith("Activity")&&(t=t.concat(n))})}),t.length>0){let s="";const n=t.every(r=>{let a=this.multiNodeParticipant[r.id];a=(a||[]).filter(l=>l);const o=a&&a.length>0;return o||(s=r),o});return n?!1:s.name}else if(this.nextNodeData[0].nodeType=="exclusiveGateway"&&this.nextNodeData[0].branches&&this.nextNodeData[0].branches.length==1){const s=this.findUserTaskNode(this.nextNodeData[0].branches[0]);let n=(this.multiNodeParticipant[s.id]||[]).filter(a=>a);const r=n&&n.length>0;return this.nextNodeData[0].branches[0],r?!1:s.name}else if(this.nextNodeData[0].nodeType=="exclusiveGateway"&&this.nextNodeData[0].branches&&this.nextNodeData[0].branches.length>1){const s=this.$refs.TreePersonRef.childrenItems||null;if(s&&s.length>0){let n="";return s.every(a=>{const o=this.multiNodeParticipant[a.id]&&this.multiNodeParticipant[a.id].length>0;return o||(n=a),o})?!1:n.name}else return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"}else if(this.nextNodeData[0].nodeType=="userTask"){let s=(this.multiNodeParticipant[this.nextNodeData[0].id]||[]).filter(n=>n);return s&&s.length>0?!1:this.nextNodeData[0].name}}else return!1;if(this.nextNodeData.nodeType!="endEvent"){let e=this.param.selChildrenItems||{},t=[];if(Object.keys(e).filter(s=>s.startsWith("Activity")).forEach(s=>{t=t.concat(e[s])}),t.length==0&&Object.values(e).forEach(s=>{Array.isArray(s)&&s.length>0&&s.forEach(n=>{(n.id||"").startsWith("Activity")&&(t=t.concat(n))})}),t.length>0){let s="";const n=t.every(r=>{let a=this.multiNodeParticipant[r.id];a=(a||[]).filter(l=>l);const o=a&&a.length>0;return o||(s=r),o});return n?!1:s.name}else if(this.nextNodeData.nodeType=="exclusiveGateway"&&this.nextNodeData.branches&&this.nextNodeData.branches.length==1){const s=this.findUserTaskNode(this.nextNodeData.branches[0]);let n=(this.multiNodeParticipant[s.id]||[]).filter(a=>a);const r=n&&n.length>0;return this.nextNodeData.branches[0],r?!1:s.name}else if(this.nextNodeData.nodeType=="exclusiveGateway"&&this.nextNodeData.branches&&this.nextNodeData.branches.length>1){const s=this.$refs.TreePersonRef.childrenItems||null;if(s&&s.length>0){let n="";return s.every(a=>{const o=this.multiNodeParticipant[a.id]&&this.multiNodeParticipant[a.id].length>0;return o||(n=a),o})?!1:n.name}else return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"}else if(this.nextNodeData.nodeType=="userTask"){let s=(this.multiNodeParticipant[this.nextNodeData.id]||[]).filter(n=>n);return s&&s.length>0?!1:this.nextNodeData.name}}else return!1;if(Array.isArray(this.nextNodeData)&&this.nextNodeData.length==1&&this.nextNodeData[0].userTaskModelDTO&&this.taskNode&&this.taskNode.length>0&&this.taskNode[0].taskState!=4&&this.taskNode[0].taskState!=11){let e=this.nextNodeData[0].userTaskModelDTO.humanPerformer.name;if(e!="\u56FA\u5B9A\u8D26\u6237"&&e!="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"&&JSON.stringify(this.multiNodeParticipant)=="{}")return this.nextNodeData[0].userTaskModelDTO.name}return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"},signRequired(){return!!this.param.extendedProperties.find(t=>t.name=="signature")}},data(){return{pureTip:!1,showFile:!1,attachRule:{limit:0,required:!1},partNodeArr:{},commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partObjId:[],partNode:{},canCheck:!0,radioCheck:"",radioCheckChild:[],radioCheckName:"",radioCheckNameList:[],radioCheckNode:[],radioCheckNodeList:[],partList:[],gateVars:{},personMake:[],personMakeList:{},visibleListMsg:!1,visibleMsgComfig:!1,msgCheck:"",msgCheckList:["\u540C\u610F","\u5982\u62DF","\u5DF2\u9605"],msgCheckListS:["\u540C\u610F","\u5DF2\u9605"],actionName:"",partNodeS:[],makeType:"",digitalSignature:"",signVisible:!1}},watch:{"param.nodeLoading":{handler(e,t){e||(this.param,this.nextNodeData=this.param.nextNodeData,this.nextNodeData&&this.nextNodeData.length?(this.nextNodeData.map((i,s)=>{i.nodeType!=="endEvent"&&(i.userTaskModelDTO||(i.userTaskModelDTO={name:i.name,humanPerformer:{name:i.humanPerformerName},routeTxt:i.routeTxt,participantList:i.participantList}),i.userTaskModelDTO&&i.userTaskModelDTO.participantList&&i.userTaskModelDTO.participantList.length&&i.userTaskModelDTO.participantList.map(n=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(n.id)||this.multiNodeParticipant[i.id].push(n.id),this.partNode[i.id].includes(n.name)||this.partNode[i.id].push(n.name)}),(i.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||i.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(i.id))}),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(i=>{i.code==200&&(this.personMakeList=i.data)})):this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map((i,s)=>{i.nodeType!=="endEvent"&&i.participantList&&i.participantList.length&&i.participantList.map(n=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(n.id)||this.multiNodeParticipant[i.id].push(n.id),this.partNode[i.id].includes(n.name)||this.partNode[i.id].push(n.name)})}))}},"param.visible":{handler(e,t){this.nextNodeData=this.param.nextNodeData,this.taskNode=this.param.taskNode,this.outGatewayUserTaskModel=this.param.outGatewayUserTaskModel,this.actionName=this.param.actionName,this.attachShow(),this.showFile,this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map(i=>{i.type!=="endEvent"&&(i.userTaskModelDTO={name:i.name,humanPerformer:{name:i.humanPerformerName},routeTxt:i.routeTxt,participantList:i.participantList},i.humanPerformer={name:i.humanPerformerName})}),this.nextNodeData&&this.nextNodeData.length?(this.nextNodeData.map((i,s)=>{i.nodeType!=="endEvent"&&(i.userTaskModelDTO||(i.userTaskModelDTO={name:i.name,humanPerformer:{name:i.humanPerformerName},routeTxt:i.routeTxt,participantList:i.participantList}),i.userTaskModelDTO&&i.userTaskModelDTO.participantList&&i.userTaskModelDTO.participantList.length&&i.userTaskModelDTO.participantList.map(n=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(n.id)||this.multiNodeParticipant[i.id].push(n.id),this.partNode[i.id].includes(n.name)||this.partNode[i.id].push(n.name)}),(i.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||i.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(i.id))}),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(i=>{i.code==200&&(this.personMakeList=i.data)})):this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map((i,s)=>{i.nodeType!=="endEvent"&&i.participantList&&i.participantList.length&&i.participantList.map(n=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(n.id)||this.multiNodeParticipant[i.id].push(n.id),this.partNode[i.id].includes(n.name)||this.partNode[i.id].push(n.name)})})},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{findUserTaskNode(e){return e?e.nodeInfoDTO&&e.nodeInfoDTO.nodeType!="userTask"?this.findUserTaskNode(e.nodeInfoDTO.branches[0]):e.nodeInfoDTO?e.nodeInfoDTO:e:{}},handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth/user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleSaveNode(e){this.makeType=="InclusiveGatewayModel"?(this.radioCheckNameList.includes(e.id)?this.radioCheckNameList.splice(this.radioCheckNameList.indexOf(e.id),1):(this.radioCheckNameList.push(e.id),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue),this.gateVars[e.itemName]=e.compareValue):(this.radioCheckNameList=[],this.radioCheckNodeList=[],this.radioCheckNameList.push(e.id),e.childNode&&e.childNode.length&&(this.radioCheckNodeList=e.childNode),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue,this.gateVars[e.itemName]=e.compareValue)},handleSaveNodeS(e){this.makeType=="InclusiveGatewayModel"?this.radioCheckNode.includes(e.id)?this.radioCheckNode.splice(this.radioCheckNode.indexOf(e.id),1):this.radioCheckNode.push(e.id):this.radioCheckNode&&this.radioCheckNode.length?this.radioCheckNode=[]:(this.radioCheckNode.push(e.id),e.childNode&&e.childNode.length&&this.radioCheckNodeList.push(e.childNode))},forRadioChild(e,t){e.map((i,s)=>{i.childNode&&i.childNode.length?this.forRadioChild(i.childNode,!0):t&&this.radioCheckChild.push(i)})},async handleNode(e){this.makeType=e.type,this.radioCheckNameList=[],this.radioCheck=e.id,this.radioCheckName=e.nodeName,this.radioCheckChild=e.childNode&&e.childNode.length?e.childNode:[e],this.radioCheckChild&&this.radioCheckChild.length&&this.radioCheckChild.map(t=>{t.participantList&&t.participantList.length?t.participantList.map(i=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.multiNodeParticipant[t.id].includes(i.id)||this.multiNodeParticipant[t.id].push(i.id),this.partNode[t.id].includes(i.name)||this.partNode[t.id].push(i.name)}):this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[t.id]}).then(i=>{i.code==200&&(this.partNodeS=[],this.partNodeS.push(i.data[t.id]))})}),(!this.radioCheckChild[0].incomingConditionItemList||!this.radioCheckChild[0].incomingConditionItemList.length)&&e.incomingConditionItemList&&e.incomingConditionItemList.length&&(this.radioCheckChild[0].incomingConditionItemList=e.incomingConditionItemList),this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&(this.radioCheckChild&&this.radioCheckChild.length?(this.gateVars[this.radioCheckChild[0].incomingConditionItemList[0].itemName]=this.radioCheckChild[0].incomingConditionItemList[0].compareValue,this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue):this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue)},handleOpenPopup(e){if(this.visible=!0,this.partObjId=e.id,this.nextNodeData&&this.nextNodeData.length?e={...e,...e.userTaskModelDTO}:e.humanPerformer||(e={...e,humanPerformer:{name:e.humanPerformerName}}),e.humanPerformer.name=="\u56FA\u5B9A\u5355\u4F4D"){let t,i=[];e.routeTxt.companyIds.map((s,n)=>{t=s.name}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((s,n)=>{i.push({type:3,id:s})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:t,checkedArray:i}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"){let t,i=[],s=[];e.routeTxt.departmentIds.forEach((n,r)=>{e.routeTxt.departmentIds.length>1?i.push(n.rangeId):t=n.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].forEach((n,r)=>{s.push({type:3,id:n,deptId:t})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCodeArray:i,checkedArray:s}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCode:t,checkedArray:s}}else{let t=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((i,s)=>{t.push({type:3,id:i})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:t}}},handleOpenMsg(){this.visibleListMsg=!0},async confirm(){this.signRequired?this.signConfirm():this.commonConfirm()},async commonConfirm(){if(this.param.ProcessInsObj.processDefId=="obj_94014ede99b6495d8f6d5977314faa15"&&(this.commentMsg="\u540C\u610F"),!this.commentMsg&&this.param.isRequire){this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success");return}if(this.requires&&this.attchLists.length<=0){this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!",!1,"success");return}if(this.isSelectPerson!==!1&&this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId){this.handleTips(this.pureTip?this.isSelectPerson:"\u8BF7\u9009\u62E9["+this.isSelectPerson+"]\u5BA1\u6279\u4EBA!",!1,"success");return}this.commentMsg||(this.commentMsg=" ");let e={};if(this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId)if(this.radioCheckNameList&&this.radioCheckNameList.length){if(this.radioCheckChild[0].type!=="EndEventModel"){let i=0;if(this.radioCheckNameList.map((s,n)=>{(!this.multiNodeParticipant[s]||!this.multiNodeParticipant[s].length)&&this.radioCheckChild.map((r,a)=>{r.id==s&&(r.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"||r.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&(!r.childNode||!r.childNode.length?i+=1:this.radioCheckNode.map((o,l)=>{(!this.multiNodeParticipant[o]||!this.multiNodeParticipant[o].length)&&(i+=1),e[o]=this.multiNodeParticipant[o]}))}),e[s]=this.multiNodeParticipant[s]}),i>0){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}}}else{if(this.multiNodeParticipant[this.partObjId]&&!this.multiNodeParticipant[this.partObjId].length){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}e=this.multiNodeParticipant}if(this.signRequired){this.signVisible=!0;return}if(this.param.beforeFunction&&!await this.param.beforeFunction())return;(this.param.incomingConditionItemList||[]).forEach(i=>{let s=this.param.vars||this.gateVars||{};s[i.itemName]||(s[i.itemName]="")}),this.handleTips("",!0,"loading");let t=[];if(this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId){const i=Array.isArray(this.param.nextNodeData)?this.param.nextNodeData[0]:this.param.nextNodeData;i.setPersonnel?t=i.assignees:t=(this.partNodeArr[i.id]||[]).map(o=>({id:o.id,name:o.name})),Object.keys(e).forEach(o=>{Array.isArray(e[o])&&(e[o]=e[o].filter(l=>l)),(!e[o]||Array.isArray(e[o])&&e[o].length<=0)&&delete e[o]});let s=i&&i.nodeType!="endEvent"&&(!i.branches||i.branches.length<=0),n=i&&i.nodeType!="endEvent"&&i.branches&&i.branches.length==1&&i.branches[0].nodeInfoDTO&&i.branches[0].nodeInfoDTO.nodeType!="endEvent",r=i&&i.nodeType!="endEvent"&&i.branches&&i.branches.length==1&&!i.branches[0].nodeInfoDTO&&i.branches[0].nodeType!="endEvent";if((s||n||r)&&!Object.keys(e).length){let l={};return s?l=i:n?l=i.branches[0].nodeInfoDTO:r&&(l=i.branches[0]),this.handleTips(l.nodeType?"\u8BF7\u9009\u62E9["+l.name+"]\u5BA1\u6279\u4EBA!":"\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA",!0,"error"),!1}Date.now()&&(this.param.processInstId,this.param.actionComplete,this.commentMsg,this.param.taskInstId,this.param.vars||this.gateVars,this.attchLists)}await this.param.request.post("/bladex/blade-workflow/tis/complete",{pass:!0,assignees:t,processInstanceId:this.param.processInstId,actionName:this.param.actionComplete,commentMsg:this.commentMsg,comment:this.commentMsg,taskId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:e,attachment:this.attchLists}).then(i=>{i.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(i.msg,!0,"error")})},async signConfirm(e=!0){if(this.param.ProcessInsObj.processDefId=="obj_94014ede99b6495d8f6d5977314faa15"&&(this.commentMsg="\u540C\u610F"),!this.commentMsg&&this.param.isRequire){this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success");return}if(this.requires&&this.attchLists.length<=0){this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!",!1,"success");return}if(this.isSelectPerson!==!1&&this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId){this.handleTips(this.pureTip?this.isSelectPerson:"\u8BF7\u9009\u62E9["+this.isSelectPerson+"]\u5BA1\u6279\u4EBA!",!1,"success");return}this.commentMsg||(this.commentMsg=" ");let t={};if(this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId)if(this.radioCheckNameList&&this.radioCheckNameList.length){if(this.radioCheckChild[0].type!=="EndEventModel"){let s=0;if(this.radioCheckNameList.map((n,r)=>{(!this.multiNodeParticipant[n]||!this.multiNodeParticipant[n].length)&&this.radioCheckChild.map((a,o)=>{a.id==n&&(a.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"||a.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&(!a.childNode||!a.childNode.length?s+=1:this.radioCheckNode.map((l,p)=>{(!this.multiNodeParticipant[l]||!this.multiNodeParticipant[l].length)&&(s+=1),t[l]=this.multiNodeParticipant[l]}))}),t[n]=this.multiNodeParticipant[n]}),s>0){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}}}else{if(this.multiNodeParticipant[this.partObjId]&&!this.multiNodeParticipant[this.partObjId].length){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}t=this.multiNodeParticipant}if(e){this.signVisible=!0;return}if(!this.digitalSignature){this.handleTips("\u8BF7\u7B7E\u5B57!",!1,"success");return}if(this.param.beforeFunction&&!await this.param.beforeFunction())return;this.handleTips("",!0,"loading"),this.signVisible=(!1)(this.param.incomingConditionItemList||[]).forEach(s=>{let n=this.param.vars||this.gateVars||{};n[s.itemName]||(n[s.itemName]="")});let i=[];if(this.param.ProcessInsObj&&!this.param.ProcessInsObj.taskParentId){const s=Array.isArray(this.param.nextNodeData)?this.param.nextNodeData[0]:this.param.nextNodeData;s.setPersonnel?i=s.assignees:i=(this.partNodeArr[s.id]||[]).map(l=>({id:l.id,name:l.name})),Object.keys(t).forEach(l=>{Array.isArray(t[l])&&(t[l]=t[l].filter(p=>p)),(!t[l]||Array.isArray(t[l])&&t[l].length<=0)&&delete t[l]});let n=s&&s.nodeType!="endEvent"&&(!s.branches||s.branches.length<=0),r=s&&s.nodeType!="endEvent"&&s.branches&&s.branches.length==1&&s.branches[0].nodeInfoDTO&&s.branches[0].nodeInfoDTO.nodeType!="endEvent",a=s&&s.nodeType!="endEvent"&&s.branches&&s.branches.length==1&&!s.branches[0].nodeInfoDTO&&s.branches[0].nodeType!="endEvent";if((n||r||a)&&!Object.keys(t).length){let p={};return n?p=s:r?p=s.branches[0].nodeInfoDTO:a&&(p=s.branches[0]),this.handleTips(p.nodeType?"\u8BF7\u9009\u62E9["+p.name+"]\u5BA1\u6279\u4EBA!":"\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA",!0,"error"),!1}}await this.param.request.post("/bladex/blade-workflow/tis/complete",{pass:!0,assignees:i,processInstanceId:this.param.processInstId,actionName:this.param.actionComplete,commentMsg:this.commentMsg,comment:this.commentMsg,taskId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:t,digitalSignature:this.digitalSignature,attachment:this.attchLists}).then(s=>{s.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(s.msg,!0,"error")})},attachShow(e="\u529E\u7406"){const t=(this.param||{}).extendedProperties||[];let i=!1,s,n="";s=t.find(a=>a.name=="completeButtonAnnex"),n=s?s.value:"",n&&(i=!0);let r="";if(typeof n!="string"&&n!=null&&n.map(a=>{a.indexOf(this.operationLabel)!=-1&&(i=!0,r=a)}),r&&(n=r),i){const a=n.split(":");this.attachRule.required=a[1]=="true",this.attachRule.limit=a[2]==-1?999:a[2],this.otherList=n;let o=this.otherList.split(":");this.limit=o[2],this.requires=JSON.parse(o[1]),this.labels=o[0]}return this.labels,this.limit,i},makeDelegateTaskButtonAnnex(){},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name)})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((i,s)=>{i.size=i.fileSize,i.format=i.name.substring(i.name.lastIndexOf(".")+1),i.uploadTime=i.createTime,i.processInstId=this.param.processInstId,i.taskInstId=this.param.taskInstId,i.name=i.name});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("complete")},onMultiNode(e){this.multiNodeParticipant=e},onMultiNodeObj(e){this.partNodeArr=e},onVars(e){this.gateVars=e},handleSignature(e,t){this.digitalSignature=e,t&&(this.signVisible=!1,this.signConfirm(!1))},noticeFail(e){this.handleTips(e,!1,"success")},handleClose(){this.signVisible=!1}}},Fh={};var LI=ve(RI,MI,BI,!1,FI,"42da1044",null,null);function FI(e){for(let t in Fh)this[t]=Fh[t]}const Vh=function(){return LI.exports}();var VI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-popup-content"},[i("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?i("div",[i("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),i("div",{staticClass:"process-pc-value"},[i("div",{staticClass:"process-popup-textarea"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),i("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?i("div",{staticClass:"msg-btn"},[i("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),e.taskNode&&e.taskNode.length>0&&e.taskNode[0].taskState!=4?i("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(s){var n,r;return[e.isOption(s==null||(n=s.userTaskModelDTO)===null||n===void 0||(r=n.humanPerformer)===null||r===void 0?void 0:r.name)?[i("div",[e._v(" "+e._s(s.userTaskModelDTO.name)+" "),i("br"),e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:function(a){return e.handleOpenPopup(s.id)}}},[i("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?i("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(a,o){return i("span",[e._v(" "+e._s(o==0?a:`,${a}`)+" ")])}),0):i("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[i("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]:e._e()]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(s){return[e.isOption(s.humanPerformerName)?[i("div",{staticStyle:{"font-size":"15px"}},[e._v(" "+e._s(s.name)+" ")]),i("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u4EBA "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),i("div",{staticClass:"process-pc-value",on:{click:e.handleOpenPopup}},[i("div",{staticClass:"process-pc-value--people"},[e._v(" "+e._s(234)+" ")])])]:e._e()]})]:e._e()],2):e._e(),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[i("div",{staticStyle:{height:"100%"}},[e.visible?i("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="\u62D2\u7EDD"?i("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[i("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),i("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}})],1)},jI=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-pc-label"},[e._v(" \u62D2\u7EDD\u7406\u7531\uFF1A "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const QT="",UI={name:"cancel",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,attchViews:Yi,TopPopup:at,departPerson:Jt.departPerson,MsgList:dn},watch:{param:{async handler(e,t){this.entity.checkedArray=[],this.actionName=e.actionName},immediate:!0,deep:!0}},data(){return{commentMsg:"",actionName:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[770],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},visibleListMsg:!1,visibleMsgComfig:!1}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){if(!this.commentMsg)return this.handleTips("\u8BF7\u8F93\u5165\u62D2\u7EDD\u7406\u7531!",!1,"success"),!1;this.handleTips("",!0,"loading"),await this.param.request.post("/bladex/blade-workflow/tis/complete",{pass:!1,assignees:[],processInstanceId:this.param.processInstId,commentMsg:this.commentMsg,comment:this.commentMsg||" ",taskId:this.param.taskInstId}).then(e=>{e.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),window.top.postMessage("success","*"),this.commentMsg=""):this.handleTips(e.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,id:t.id,subjectId:t.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((i,s)=>{i.size=i.fileSize,i.format=i.originFileName.substring(i.originFileName.lastIndexOf(".")+1),i.uploadTime=i.createTime,i.processInstId=this.param.processInstId,i.taskInstId=this.param.taskInstId,i.name=i.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u62D2\u7EDD")}}},jh={};var QI=ve(UI,VI,jI,!1,GI,"3be26d49",null,null);function GI(e){for(let t in jh)this[t]=jh[t]}const qI=function(){return QI.exports}();var HI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-popup-content"},[i("div",{staticClass:"process-popup-content-msg"},[e._m(0),i("div",{staticClass:"process-pc-value",staticStyle:{display:"inline-block",width:"50%"}},[i("TopDownSelect",{attrs:{option:e.option,optionStyle:"width:calc(100% - 40px);left:20px;",maskShow:!1,border:""},on:{change:e.handleChange}})],1),e._m(1),i("div",{staticClass:"process-pc-value"},[i("div",{staticClass:"process-popup-textarea"},[i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),i("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])])])]),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),i("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[i("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),i("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}}),e.labels=="\u9000\u56DE"?i("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e()],1)},JI=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-pc-label",staticStyle:{"background-color":"#fff",position:"relative","z-index":"199",display:"inline-block",width:"50%"}},[e._v(" \u9000\u56DE\u8282\u70B9\uFF1A "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])])},function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-pc-label"},[e._v(" \u9000\u56DE\u7406\u7531\uFF1A "),i("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const GT="",KI={name:"backNode",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,attchViews:Yi,TopPopup:at,departPerson:Jt.departPerson,TopDownSelect:Ih,MsgList:dn},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},option:[],nodeId:"",actionName:"",visibleListMsg:!1,visibleMsgComfig:!1}},watch:{param:{async handler(e,t){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.entity.checkedArray=[],this.actionName=e.actionName},immediate:!0,deep:!0}},created(){this.getReturnNode()},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},getReturnNode(){this.param.request.get("/bladex/blade-workflow/process/getBackNodes",{params:{taskId:this.param.taskInstId}}).then(e=>{e.code===200&&(this.option=(e.data||[]).map(t=>({...t,name:t.nodeName,id:t.nodeId})).filter(t=>!(t.nodeId||"").includes("startEvent")))})},handleChange(e){this.nodeId=e.id},handleOpenPopup(e){this.visible=!0,this.partObjId=e},confirm(){if(!this.commentMsg)return this.textTips="\u8BF7\u8F93\u5165\u9000\u56DE\u7406\u7531!",this.$refs.topTips.handleOpen(),!1;if(!this.nodeId)return this.textTips="\u8BF7\u9009\u62E9\u9000\u56DE\u8282\u70B9!",this.$refs.topTips.handleOpen(),!1;this.handleTips("",!0,"loading"),this.param.request.post("/bladex/blade-workflow/tis/rollback",{taskInstId:this.param.taskInstId,rollbackReason:this.commentMsg,targetActivityId:this.nodeId}).then(e=>{e.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){if(this.param.annex&&this.param.annex.length){this.otherList=this.param.annex;let e=this.otherList.split(";");this.limit=e[2],this.requires=JSON.parse(e[1]),this.labels=e[0]}},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,id:t.id,subjectId:t.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((i,s)=>{i.size=i.fileSize,i.format=i.originFileName.substring(i.originFileName.lastIndexOf(".")+1),i.uploadTime=i.createTime,i.processInstId=this.param.processInstId,i.taskInstId=this.param.taskInstId,i.name=i.originFileName});let e=this.attchLists;(await this.param.request.post("/aws/meta/annex/patchSave",{saveMetaAnnexCmdList:e})).success?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),this.handleFinal(),this.commentMsg=""):this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error")}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u9000\u56DE")}}},Uh={};var WI=ve(KI,HI,JI,!1,zI,"0d20c2b4",null,null);function zI(e){for(let t in Uh)this[t]=Uh[t]}const YI=function(){return WI.exports}();var XI=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticStyle:{height:"100%"}},[e.param.visible?i("departPerson",e._b({attrs:{isTitle:!1,request:e.param.request},on:{callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e(),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}})],1)},ZI=[];const qT="",$I={name:"ccTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:Nt,departPerson:Jt.departPerson},data(){return{commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0,checkedArray:[]},multiNodeParticipant:{},partObjId:[],partNode:{},actionName:""}},watch:{param:{handler(e,t){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.checkedArray=[],this.entity.source="1",this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){let e="";this.multiNodeParticipant[this.partObjId].map((t,i)=>{i==0?e=t:e=`${e} ${t}`}),await this.param.request.post("/bladex/blade-workflow/tis/createCCTask",{processInstId:this.param.processInstId,taskId:this.param.taskInstId,title:"",participant:e}).then(t=>{t.code==200?(this.$emit("handleClosecctaskTopPopup"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal()):this.handleTips(t.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((t,i)=>{this.multiNodeParticipant[this.partObjId].push(t.id),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,id:t.id,subjectId:t.subjectId})}),e&&e.length&&this.confirm()},handleCancel(){},getValues(e){this.attchLists=e},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("ccTask")}}},Qh={};var eT=ve($I,XI,ZI,!1,tT,null,null,null);function tT(e){for(let t in Qh)this[t]=Qh[t]}const iT=function(){return eT.exports}();var sT=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"process-btns"},[e.process.status=="todo"?[e.getButton("wf_pass")?i("button",{staticClass:"process-button success",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("examine",!0,["deleted"].includes(e.process.processIsFinished)?"\u91CD\u65B0\u63D0\u4EA4":e.getButton("wf_pass").name)}}},[["deleted"].includes(e.process.processIsFinished)?i("span",[e._v("\u91CD\u65B0\u63D0\u4EA4")]):i("span",[e._v(e._s(e.getButton("wf_pass").name))])]):e._e(),e.getButton("wf_reject")?i("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("examine",!1,(e.backNodes.length>1,e.getButton("wf_reject").name))}}},[e.backNodes.length>1?i("span",[e._v(e._s(e.getButton("wf_reject").name))]):i("span",[e._v(e._s(e.getButton("wf_reject").name))])]):e._e(),e.uid==(e.process.variables||{}).applyUserId?i("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("reminders")}}},[i("span",[e._v("\u50AC\u529E")])]):e._e(),e.getButton("wf_transfer")?i("button",{staticClass:"process-button primary",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("user-select",{type:"transfer",checkType:"radio",name:e.getButton("wf_transfer").name})}}},[e._v(e._s(e.getButton("wf_transfer").name))]):e._e(),e.getButton("wf_delegate")?i("button",{staticClass:"process-button warning",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("user-select",{type:"delegate",checkType:"radio",name:e.getButton("wf_delegate").name})}}},[e._v(" "+e._s(e.getButton("wf_delegate").name)+" ")]):e._e(),e.getButton("wf_rollback")?i("button",{staticClass:"process-button success",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("rollback",e.getButton("wf_rollback").name)}}},[e._v(" "+e._s(e.getButton("wf_rollback").name)+" ")]):e._e(),e.getButton("wf_terminate")?i("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("terminate")}}},[e._v(" "+e._s(e.getButton("wf_terminate").name)+" ")]):e._e(),e.process.isMultiInstance&&e.getButton("wf_add_instance")?i("button",{staticClass:"process-button primary",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("user-select",{type:"addInstance",checkType:"checkbox",name:e.getButton("wf_add_instance").name})}}},[e._v(" "+e._s(e.getButton("wf_add_instance").name)+" ")]):e._e(),e.getButton("wf_cctask")?i("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("circulate",e.getButton("wf_cctask").name)}}},[i("span",[e._v(e._s(e.getButton("wf_cctask").name))])]):e._e()]:e._e(),e.process.isOwner&&e.process.isReturnable&&!["deleted"].includes(e.process.processIsFinished)?i("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("withdraw","\u64A4\u9500")}}},[e._v(" \u64A4\u9500 ")]):e._e(),e.getButton("wf_print")?i("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("print")}}},[e._v(" "+e._s(e.getButton("wf_print").name)+" ")]):e._e()],2)},nT=[];const HT="",rT={name:"nf-button",components:{TopTips:Nt},props:{uid:{type:String,default:""},loading:{type:Boolean,default:!1},buttonList:{type:Array,default:()=>[]},process:{type:Object,default:()=>({variables:{}})},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{}})},comment:String},data(){return{isCollapse:!0,nodeVisible:!1,nodeForm:{},nodeOption:{column:[{label:"\u8282\u70B9",prop:"nodeId",type:"select",props:{label:"nodeName",value:"nodeId"},span:24,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u56DE\u9000\u8282\u70B9",trigger:"change"}]}]},backNodes:[]}},watch:{process:{handler(e,t){e&&e.taskId&&this.request.get("/bladex/blade-workflow/process/getBackNodes",{params:{taskId:e.taskId}}).then(i=>{const s=i.data;this.backNodes=s})},deep:!0,immediate:!0}},methods:{handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()},handleRollback(){if(!this.comment){this.$message.error("\u8BF7\u586B\u5199\u6279\u590D\u610F\u89C1");return}this.nodeVisible=!0},handleNodeSubmit(){const{nodeId:e}=this.nodeForm;this.$emit("rollback",e)},getButton(e){return this.buttonList.find(t=>t.buttonKey==e)}}},Gh={};var aT=ve(rT,sT,nT,!1,oT,"128c5f57",null,null);function oT(e){for(let t in Gh)this[t]=Gh[t]}const lT={name:"TopProcess",provide(){return{request:this.request}},components:{processBtns:function(){return aT.exports}(),TopTab:_x,TopPopup:at,TopTips:Nt,TopSumbitPopup:kh},props:{tapList:{require:!1,default:()=>[],type:Array},selfTapList:{require:!1,default:()=>[],type:Array},processDefId:{require:!0,default:"",type:String},processInstId:{require:!0,default:"",type:String},taskId:{require:!1,default:"",type:String},isAdditional:{require:!1,default:!1,type:Boolean},isView:{default:!1,type:Boolean},businessSubjectId:{default:"",type:String},formData:{default:{},type:Object},getVarsStatus:{default:!0,type:Boolean},getVars:{default:null,type:Function},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{}})},endFunction:{type:Function,default:null},beforeFunction:{type:Function,default:null},isDocument:{type:Boolean,default:!1},restartData:{type:Object,default:{businessType:"",showType:"",processName:""}},selfList:{type:Array,default:()=>[]},selfBtn:{type:Array,default:()=>[]},uid:{type:String,default:""},isMsg:{type:Boolean,default:!0},isRequire:{type:Boolean,default:!0},isCheckType:{type:String,default:"0"},isOrgType:{type:Array,default:()=>[0]},isCodeType:{type:Array,default:()=>[3]},isQuickReply:{type:Boolean,default:!1},ccTaskFunction:{type:Function,default:null},hideHeader:{type:Boolean,default:!1},needResubmit:{type:Boolean,default:!0}},data(){return{currentProcess:{currentProcessOriginData:[],currentMan:[],currentFirstNode:{}},incomingConditionItemList:[],submitLoading:!1,nextTaskNode:{},deptId:"",absoluteTaskId:"",comment:"",processXml:"",approvalData:[],processStatus:{},processDefList:{},processBusiness:{},getFirstProcessNode:{},taskNode:[],taskNodeList:[],taskNodeIds:[],taskState:NaN,taskCurrent:0,taskObj:{},taskNodeShow:!1,actionShow:!1,titleText:"",btnStyle:"",processIntId:"",trackUrl:"",taskCommentList:[],operationCom:null,operationComKey:Date.now(),ProcessInsObj:{button:[],flow:[],form:{},process:{}},popupContext:"",operationParam:{},nextTaskNode:{},annexlabel:"",handleTipsType:"",textTips:"",statusTips:!1,typeTips:"",outGatewayUserTaskModel:[],nextNodeData:[],visibleSong:!1,trackList:[],user:{},canCheck:!0,approveNode:{},restartDataS:{},selfBtnList:[],topNum:144,bottomNum:70,userIdData:"",TopPopup1:!1,cctaskTopPopup:!1,cctaskTopPopupTitle:"\u6284\u9001"}},watch:{processInstId:{async handler(e,t){this.$nextTick(()=>{this.processIntId=this.processInstId||this.formData.processId||this.formData.processInstId,e&&(this.request.get("/bladex/blade-workflow/tis/getTaskModelDetail",{params:this.taskId?{processInstId:this.processInstId,taskId:this.taskId}:{processInstId:this.processInstId}}).then(i=>{var s;if(i.code==200){this.ProcessInsObj={...this.ProcessInsObj,...i.data},this.taskObj.buttons=this.ProcessInsObj.button||[],this.trackList=(((s=i.data)==null?void 0:s.flow)||[]).filter(a=>["userTask","candidate"].includes(a.historyActivityType));const n=((this.ProcessInsObj.process||{}).variables||{}).deptId;this.deptId=n;const r=(this.ProcessInsObj.process||{}).taskId;this.absoluteTaskId=r,this.approvalData=(i.data||{}).flow||[],this.processXml=((i.data||{}).process||{}).xml||"",this.handleGetProcessStatus(),this.$emit("get-process-data",this.ProcessInsObj)}}),this.getCurrentProcess(),this.getUserInfo())})},immediate:!0,deep:!0},restartData:{handler(e,t){e&&(this.restartDataS=e)},immediate:!0,deep:!0},selfBtn:{handler(e,t){e&&e.length&&(this.selfBtnList=e)},immediate:!0,deep:!0},uid:{handler(e,t){e&&(this.userIdData=e)},immediate:!0,deep:!0}},mounted(){},computed:{actionBtn(){return this.operBtn.length>3?this.operBtn.slice(3):[]},operBtn(){let e=[];const t=this.ProcessInsObj.process,i=this.ProcessInsObj.button;if(!t||!i)return e;if(this.getButton("wf_pass"),this.needResubmit&&t.status=="todo"&&this.userIdData&&t.isOwner&&["deleted"].includes(t.processIsFinished)&&this.getButton("wf_pass")){let n={};n.name="\u91CD\u65B0\u63D0\u4EA4",n.btnProps={type:"default"},e.push(n),n.click=r=>{this.handlePass("\u91CD\u65B0\u63D0\u4EA4"),this.submitLoading=!0,this.handleActionClose()}}if(!this.isView&&t.status=="todo"&&this.getButton("wf_pass")){let n={};n.name=this.getButton("wf_pass").name,n.btnProps={type:"primary"},e.push(n),n.click=r=>{this.handlePass(this.getButton("wf_pass").name),this.submitLoading=!0,this.handleActionClose()}}if(!this.isView&&t.status=="todo"&&this.getButton("wf_reject")){let n={};n.name=this.getButton("wf_reject").name,n.btnProps={type:"danger"},e.push(n),n.click=r=>{this.handleCancel(this.getButton("wf_reject").name),this.submitLoading=!0,this.handleActionClose()}}if(this.selfBtnList&&this.selfBtnList.length&&this.selfBtnList.map(n=>{let r={};r.name=n.name,r.btnProps={type:n.type},e.push(r),r.click=n.click}),["wf_edit"].map(n=>{if(!this.isView&&t.status=="todo"&&this.getButton(n)){let r={};r.name=this.getButton(n).name,r.btnProps={},r.key=r.name,r.click=()=>{this.$emit("clickCustomButton",r.name)},e.push(r)}}),!this.isView&&t.status=="todo"&&this.getButton("wf_rollback")){let n={};n.name=this.getButton("wf_rollback").name,n.btnProps={type:"danger"},e.push(n),n.click=r=>{this.handleRollbackTask(this.getButton("wf_rollback").name),this.handleActionClose()}}if(!this.isView&&t.status=="todo"&&this.getButton("wf_cctask")){let n={};n.name=this.getButton("wf_cctask").name,n.btnProps={type:"default"},n.click=async r=>{this.handleCirculate(this.getButton("wf_cctask").name),this.handleActionClose()},e.push(n)}if(!this.isView&&t.status=="todo"&&this.getButton("wf_delegate")){let n={};n.name=this.getButton("wf_delegate").name,n.btnProps={type:"warning"},n.key="cc2",n.click=()=>{this.handleUserSelect({type:"delegate",checkType:"radio",name:this.getButton("wf_delegate").name}),this.handleActionClose()},e.push(n)}if(!this.isView&&t.status=="todo"&&this.getButton("wf_terminate")){let n={};n.name=this.getButton("wf_terminate").name,n.btnProps={type:"danger"},n.key="cc3",n.click=()=>{this.handleTerminateProcess(),this.handleActionClose()},e.push(n)}if(!this.isView&&t.status=="todo"&&this.getButton("wf_transfer")){let n={};n.name=this.getButton("wf_transfer").name,n.btnProps={type:"default"},n.click=r=>{this.handleUserSelect({type:"transfer",checkType:"radio",name:this.getButton("wf_transfer").name}),this.handleActionClose()},e.push(n)}if(t.status=="todo"&&this.getButton("wf_add_instance")){let n={};n.name=this.getButton("wf_add_instance").name,n.btnProps={type:"primary"},n.click=r=>{this.handleUserSelect({type:"addInstance",checkType:"checkbox",name:this.getButton("wf_add_instance").name}),this.handleActionClose()},e.push(n)}if(t.isReturnable&&t.isOwner){let n={};n.name="\u50AC\u529E",n.btnProps={type:"default"},n.click=r=>{this.handleReminders("\u50AC\u529E"),this.handleActionClose()},e.push(n)}if(t.isOwner&&t.isReturnable&&!["deleted"].includes(t.processIsFinished)){let n={};n.name="\u64A4\u9500",n.btnProps={type:"default"},n.click=r=>{this.handleWithdrawTask("\u64A4\u9500"),this.handleActionClose()},e.push(n)}return console.error(e,"btnList"),e},processCardHeight(){let e=this.topNum+this.bottomNum-10;return this.isAdditional&&!this.operBtn&&!this.operBtn.length&&!this.ProcessInsObj.end&&(e-=this.bottomNum),this.hideHeader&&(e-=204),`calc(100vh - ${e}px)`},processBtn(){if(this.isAdditional&&!this.operBtn&&!this.operBtn.length&&!this.ProcessInsObj.end)return`-${this.bottomNum}px`}},methods:{async getCurrentProcess(){this.request.get("/bladex/blade-workflow/repository/queryTaskNodeList",{params:this.taskId?{processInstId:this.processIntId,taskId:this.taskId}:{processInstId:this.processIntId}}).then(e=>{if(e.code==200){const t={};if(t.currentProcessOriginData=e.data||[],t.currentProcessOriginData.length>0){let i=t.currentProcessOriginData[0],s=(i.currentName||"").split(","),n=(i.avatar||"").split(",");s=s.map((r,a)=>({realName:r,avatar:n[a]||"",phone:"",ancestorNames:[]})),t.currentMan=s,t.currentFirstNode=i,this.currentProcess=t}}else this.currentProcess={currentProcessOriginData:[],currentMan:[],currentFirstNode:{}}}).catch(e=>{console.error(e)})},getButton(e){const t=(this.ProcessInsObj.button||[]).find(i=>i.buttonKey==e);return t},handleActionBtn(e){switch(e.buttonKey){case"wf_pass":this.handleExamine(!0,["deleted"].includes(this.ProcessInsObj.process.processIsFinished)?"\u91CD\u65B0\u63D0\u4EA4":e.name);break;case"wf_reject":this.handleExamine(!1,e.name);break;case"wf_transfer":this.handleTransfer(e.name);break;case"wf_add_instance":this.handleAddInstance(e.name);break;case"wf_rollback":this.handleRollbackTask(e.name);break;case"wf_transfer":this.handleTransfer(e.name);break;case"wf_terminate":this.handleTerminateProcess(e.name);case"wf_cctask":this.handleCirculate(e.name);break}this.handleActionClose()},handleDraft(){this.submitLoading=!0},handleExamine(e,t){e?this.handlePass(t):this.handleCancel(t),this.submitLoading=!0},async handlePass(e){this.operationParam.nodeLoading=!0,this.before?this.before().then(()=>{this.showOperation(Vh,e)}):this.showOperation(Vh,e),this.deptId&&(await this.getNextNode(this.deptId),this.operationParam={...this.operationParam,nodeLoading:!1,incomingConditionItemList:this.incomingConditionItemList,nextNodeData:this.nextTaskNode})},handleCancel(e){this.showOperation(qI,e)},handleUserSelect({type:e,checkType:t,name:i}){e=="transfer"?this.handleTransfer(i):e=="addInstance"&&this.handleAddInstance(i)},async handleTransfer(e){this.deptId&&await this.getNextNode(this.deptId),this.showOperation(cI,e)},async handleAddInstance(e){this.deptId&&await this.getNextNode(this.deptId),this.showOperation(sI,e)},handlePrint(){},handleRollbackTask(e){this.showOperation(YI,e)},handleTerminateProcess(){},handleWithdrawTask(e){this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText="\u64A4\u9500",this.popupContext="\u786E\u5B9A\u64A4\u9500\u5417?",this.handleTipsType="\u64A4\u9500"},handleReminders(e){this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText="\u50AC\u529E",this.popupContext="\u786E\u5B9A\u50AC\u529E\u5417?",this.handleTipsType="\u50AC\u529E"},handleCirculate(e){this.showOperation(iT,e,this.request,this.taskObj.ccTaskButtonAnnex,"\u6284\u9001"),this.cctaskTopPopupTitle=e},async getNextNode(e){let t;try{t=await this.request.get("/bladex/blade-workflow/tis/simulation",{params:{taskId:this.absoluteTaskId,processInstId:this.processIntId}})}catch(s){console.error(s),t={}}let i=t.data||{};t.code==200&&!t.data.evaluation&&(this.incomingConditionItemList=[],i.branches=await this.getOutgoingProcessNode(this.absoluteTaskId,t.data.id)),t.code==200&&t.data.evaluation&&t.data.branches&&t.data.branches.length>0&&t.data.branches[0].nodeType!="userTask"&&(this.incomingConditionItemList=[],i.branches=await this.getOutgoingProcessNode(this.absoluteTaskId,t.data.branches[0].id)),i=await this.getSelectFixData(i,e),this.nextTaskNode=i,this.operationParam={...this.operationParam,nextNodeData:(this.nextTaskNode||{}).id?[this.nextTaskNode]:[]}},async getNodeUser({deptId:e,intersection:t,userIds:i,postIds:s,deptIds:n}){return await this.request.post("/auth/user/getTaskAuditor",{deptId:e,intersection:t,userIds:i,postIds:s,deptIds:n})},handleGetHeight(){this.$nextTick(()=>{setTimeout(()=>{let e=document.getElementById("process-header"),t=document.getElementById("process-footer");this.bottomNum=t?t.scrollHeight+10:70,this.topNum=e?e.scrollHeight+10:144},1e3)})},handleTestsss(e,t){},handleTestS(){this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success")},handleTest(){this.visibleSong=!0},async getUserInfo(){let e=await this.request.get("/app/user/info");e.code===200&&(this.user=e.data||{},this.userIdData=e.data.userId)},async handleGetSimulation(e){this.handleTips("",!0,"loading");let t={processInstId:this.processInstId,taskInstId:this.taskNode.length?this.taskNode[0].taskId:"",vars:e,errorTip:!1},i=await this.request.post("/aws/tis/simulation",t);if(i.success){this.handleTips("",!1,"success"),this.nextNodeData=i.data;for(let s=0;s<this.nextNodeData.length;s++)this.approveNode=this.nextNodeData[s]}else{let s=this.taskNode&&this.taskNode.length?this.taskNode[0].taskId:"";this.outGatewayUserTaskModel=await this.getOutgoingProcessNode(s,"")}},async getSelectFixData(e,t){let i=JSON.parse(JSON.stringify(e));if(i.nodeType!="userTask"&&Array.isArray(i.branches))for(let s=0;s<i.branches.length;s++){let n=i.branches[s],r=n.nodeInfoDTO?n.nodeInfoDTO:n;try{r=await this.getSelectFixData(r,t)}catch(a){}n.nodeInfoDTO?n.nodeInfoDTO=r:n=r,i.branches[s]=n}else if(i.nodeType=="userTask"&&!i.setPersonnel){let s=bd(i),n;try{n=await this.getNodeUser({deptId:t,intersection:s.intersection?1:0,userIds:s.userIds,postIds:s.postIds,deptIds:s.deptIds}),n.code==$enum.apiCode.success}catch(r){}n.code==200&&(i.userList=n.data)}return i},async getOutgoingProcessNode(e,t){let i=await this.request.get("/bladex/blade-workflow/tis/getOutgoingProcessNode",{params:{taskId:e,processNodeId:t}});if(i.code==200){if(i.data&&i.data.length){for(let s=0;s<i.data.length;s++){let n=i.data[s];n.incomingConditionItemList&&n.incomingConditionItemList.length!==0&&(n.nodeInfoDTO.incomingConditionItemList=n.incomingConditionItemList,this.incomingConditionItemList.push(...n.incomingConditionItemList)),n.nodeInfoDTO.nodeType!="userTask"&&(n.nodeInfoDTO.branches=await this.getOutgoingProcessNode(e,n.nodeInfoDTO.id))}return this.handleTips("",!1,"success"),i.data}return this.handleTips("",!1,"success"),[]}return[]},handleGet(e){this.taskNode=[].concat(e),this.taskNodeShow=!1,this.actionShow=!1,this.handleGetProcessStatus(),this.handleGetUserTaskModel()},handleGetProcessStatus(){this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/repository/findTaskTodoInfoByTaskId",{params:{taskId:this.absoluteTaskId||""}}).then(e=>{e.code==200&&(this.processStatus={...e.data||{},...e.data.vars?e.data.vars:{},bizStatusName:e.data.taskState,currUserName:e.data.currentName,allUserNames:e.data.currentName}),this.handleGetHeight(),this.handleTips("",!1,"success")}).catch(e=>{this.handleGetHeight()}).finally(()=>{})},handleGetUserTaskModel(){this.taskNode&&this.taskNode.length?this.request.get("/aws/repository/getUserTaskModel",{params:{taskId:this.taskNode[0].taskId}}).then(e=>{e.code==200&&(this.taskObj=e.data),this.handleGetHeight(),this.$refs.topTips.handleClose()}).catch(e=>{this.handleGetHeight(),this.$refs.topTips.handleClose()}):this.$refs.topTips.handleClose()},async showOperation(e,t,i,s,n){switch(this.beforeFunction&&(this.operationParam.beforeFunction=this.beforeFunction),this.operationParam.request=this.request,this.annexlabel=s||"fasdfsafdsa",this.titleText=t,this.operationCom=e,this.operationComKey=Date.now(),this.operationParam.selChildrenItems={},this.operationParam.annex=s||"fasdfsafdsa",this.operationParam.subjectId=this.formData.subjectId,this.operationParam.processInstId=this.processIntId,this.operationParam.taskInstId=(this.ProcessInsObj.process||{}).taskId||"",this.operationParam.variables=(this.ProcessInsObj.process||{}).variables||{},this.operationParam.extendedProperties=(this.ProcessInsObj.form||{}).extendedProperties||[],this.operationParam.actionName=t,this.operationParam.formData=this.formData,this.operationParam.ProcessInsObj=this.ProcessInsObj.process||{},this.operationParam.userInfo=this.user,this.nextTaskNode,this.operationParam.nextNodeData=(this.nextTaskNode||{}).id?[this.nextTaskNode]:[],this.operationParam.incomingConditionItemList=this.incomingConditionItemList,this.operationParam.outGatewayUserTaskModel=this.outGatewayUserTaskModel,this.operationParam.taskNode=this.taskNode,this.operationParam.appId=this.processStatus.appId,this.operationParam.endFunction=this.endFunction,this.operationParam.isDocument=this.isDocument,this.operationParam.isQuickReply=this.isQuickReply,this.operationParam.isMsg=this.isMsg,this.operationParam.isRequire=this.isRequire,this.operationParam.canCheck=this.canCheck,this.operationParam.isCheckType=this.isCheckType,this.operationParam.isOrgType=this.isOrgType,this.operationParam.isCodeType=this.isCodeType,n){case"\u6284\u9001":this.operationParam.visible=!0,this.cctaskTopPopup=!0;break;default:this.operationParam.visible=!0,this.TopPopup1=!0;break}},handleCancelPopup(){this.TopPopup1=!1,this.operationParam.visible=!1,this.submitLoading=!1},async handleComfig(){this.$refs.operationRef.confirm()},handleClosePopup1(){this.TopPopup1=!1,this.operationParam.visible=!1,this.submitLoading=!1},handleClosecctaskTopPopup(){this.cctaskTopPopup=!1,this.operationParam.visible=!1,this.submitLoading=!1},handleTipsComfig(){this.$refs.TopPopup2.handleCancel(),this.handleTipsType=="\u50AC\u529E"&&(this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/tis/reminders",{params:{processInstId:this.processIntId}}).then(e=>{e.code==200?(this.handleTips("\u50AC\u529E\u6210\u529F",!0,"success"),window.top.postMessage("success","*"),this.endFunction("\u50AC\u529E")):this.handleTips(e.msg,!0,"error")})),this.handleTipsType=="\u64A4\u9500"&&(this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/tis/withdrawTask",{params:{processInstId:this.processIntId}}).then(e=>{e.code==200?(this.handleTips("\u64A4\u9500\u6210\u529F",!0,"success"),window.top.postMessage("success","*"),this.endFunction("\u64A4\u9500")):(this.textTips=e.msg,this.typeTips="error",this.handleTips(e.msg,!0,"error"))}))},handleTipsCancel(){},getColor(e){return e=="\u5BA1\u6838\u4E2D"?"#FFA52D":e=="\u5DF2\u9A73\u56DE"?"#F14B4C":e=="\u5DF2\u64A4\u9500"?"#CECECE":e=="\u5DF2\u5B8C\u6210"?"#6DC743":"#1389FF"},handleActionOpen(){this.actionShow=!0},handleActionClose(){this.actionShow=!1},actionClick(e){this.titleText=e,this.actionShow=!1},getBtnStyle(e){switch(e){case"primary":return"background-color:#3c9cff;color:#fff";case"danger":return"background-color:rgb(255, 230, 230);color:rgb(255, 96, 96)";case"default":return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)";default:return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)"}},async handleRestart(){this.handleTips("",!0,"loading"),await this.request.post("/bladex/blade-workflow/repository/getProcessDefList",{appId:this.processStatus.appId,subjectId:this.formData.subjectId||this.businessSubjectId}).then(e=>{this.processDefList=e.data,this.request.get("/aws/pis/getProcessInstanceByBusinessKey",{params:{businessKey:this.formData.businessKey}}).then(t=>{this.processBusiness=t.data,this.request.get("/bladex/blade-workflow/repository/getAllProcessNode",{params:{processDefId:this.processBusiness.processDefId}}).then(i=>{this.getFirstProcessNode=i.data[0],this.operationParam.getFirstProcessNode=this.getFirstProcessNode,this.operationParam.formData=this.formData,this.handleTips("",!1,"success"),this.handleActionClose(),this.showOperation(void 0,"\u91CD\u65B0\u63D0\u4EA4",this.request)}).catch(i=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(t=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(e=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})},handleTips(e,t,i){this.textTips=e,this.statusTips=t,this.typeTips=i,this.$refs.topTips.handleOpen()}}};var cT=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("div",{staticClass:"process-warp"},[(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)&&!e.hideHeader?i("div",{ref:"processheader",staticClass:"process-main",attrs:{id:"process-header"}},[i("div",{staticClass:"process-ml-item border"},[i("div",{staticClass:"process-mli-name"},[e._v("\u6D41\u7A0B\u72B6\u6001")]),i("div",{staticClass:"process-mli-value"},[e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status?i("div",{staticClass:"process-mliv-dd",style:{background:e.getColor(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)}},[e._v(" "+e._s(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)+" ")]):e._e()])]),i("div",{staticClass:"process-ml-item border"},[i("div",{staticClass:"process-mli-name"},[e._v("\u6D41\u7A0B\u53D1\u8D77\u65F6\u95F4")]),i("div",{staticClass:"process-mli-value"},[i("span",[e._v(e._s(e.processStatus.createTime))])])]),e.processStatus.allUserNames&&e.processStatus.allUserNames.length?i("div",{staticClass:"process-ml-item"},[i("div",{staticClass:"process-mli-name"},[e._v("\u5BA1\u6279\u8282\u70B9")]),i("div",{staticClass:"process-mli-value",staticStyle:{width:"50%","text-align":"right"}},[i("span",{staticClass:"process-mliv-jd"},[e._v(e._s(`${e.processStatus.taskState==4?e.processStatus.currUserName:e.processStatus.allUserNames.toString()}\u5BA1\u6279\u4E2D`))])])]):e._e()]):e._e(),i("div",{staticClass:"process-card",style:{height:e.processCardHeight}},[i("TopTab",{attrs:{ProcessInsObj:e.ProcessInsObj,processXml:e.processXml,approvalData:e.approvalData,tapList:e.tapList,selfTapList:e.selfTapList,processIntId:e.processIntId,track:e.trackUrl,taskComment:e.taskCommentList,trackList:e.trackList}},[e.selfTapList&&e.selfTapList.length?e._l(e.selfTapList,function(s,n){return i("div",{key:n,staticStyle:{height:"100%"},attrs:{slot:s.slot},slot:s.slot},[e._t(s.slot,null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)}):[i("div",{staticStyle:{height:"100%"},attrs:{slot:"default"},slot:"default"},[e._t("default",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2),e._l(e.tapList,function(s,n){return i("div",{key:n,staticStyle:{height:"100%"},attrs:{slot:s.slot},slot:s.slot},[e._t(s.slot,null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)})]],2)],1),e.isView?e._e():i("div",{staticClass:"process-btn",style:{bottom:e.processBtn},attrs:{id:"process-footer"}},[e.isAdditional?i("div",{staticClass:"footBtnRow"},[e._t("btn",null,{data:e.processStatus,processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2):[e.isDocument&&(e.formData.currentState=="\u7F16\u6587\u53F7\u5957\u7EA2"||e.formData.currentState=="\u76D6\u7AE0")?[i("div",{staticClass:"top-button",style:e.getBtnStyle("default")},[e._v(" \u8BF7\u53BBPC\u7AEF\u5904\u7406\u8BE5\u6D41\u7A0B ")])]:[e.formData.currentState!="\u5DF2\u5B8C\u6210"||e.processStatus.status!="\u5DF2\u5B8C\u6210"||e.processStatus.bizStatusName!="\u5DF2\u5B8C\u6210"?[e._l(e.operBtn,function(s,n){return[n<3?i("div",{key:s.name,staticClass:"top-button",style:e.getBtnStyle((s.btnProps.type||"default").toString()),on:{click:function(r){return s.click(s.name)}}},[e._v(" "+e._s(s.name)+" ")]):e._e()]})]:e._e(),e.operBtn.length>3&&e.actionBtn&&e.actionBtn.length?i("div",{staticClass:"elips",on:{click:e.handleActionOpen}},[i("div",{staticClass:"circle"}),i("div",{staticClass:"circle"}),i("div",{staticClass:"circle"})]):e._e()]]],2)]),i("TopPopup",{ref:"TopPopup1",attrs:{cancel:e.handleCancelPopup,comfig:e.handleComfig,titleText:e.titleText,visible:e.TopPopup1,className:"toppopup-component"},on:{"update:visible":function(s){return e.TopPopup1=s}}},[i(e.operationCom,{key:e.operationComKey,ref:"operationRef",tag:"component",attrs:{param:e.operationParam},on:{handleClosePopup1:e.handleClosePopup1}},[i("div",{attrs:{slot:"completeSlot"},slot:"completeSlot"},[e._t("completeSlot",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)])],1),i("TopPopup",{ref:"TopPopup2",attrs:{titleText:e.titleText,isTips:!0,context:e.popupContext,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig}}),i("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),e.actionBtn&&e.actionBtn.length||e.taskNodeList&&e.taskNodeList.length?i("div",{staticClass:"top-elips",style:e.actionShow?"transform: translateY(0)":"transform: translateY(100%)"},[e.taskNodeShow?e._l(e.taskNodeList,function(s){return i("div",{key:s.taskId,staticClass:"top-elips-items",on:{click:function(n){return e.handleGet(s)}}},[e._v(" "+e._s(s.name)+" ")])}):e._l(e.actionBtn,function(s){return i("div",{key:s.name,staticClass:"top-elips-items",on:{click:function(n){return s.click(s.name)}}},[e._v(" "+e._s(s.name)+" ")])}),i("div",{staticClass:"top-elips-items top-elips-items--cancel",on:{click:e.handleActionClose}},[e._v(" \u53D6\u6D88 ")])],2):e._e(),i("div",{staticClass:"top-elips-mask",style:e.actionShow?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:e.handleActionClose}}),i("TopSumbitPopup",e._b({ref:"actionPop",attrs:{visible:e.visibleSong,request:e.request,appId:e.processStatus.appId,id:e.formData.businessKey,resubmit:!0,selfList:e.selfList,isCheckType:e.isCheckType,isOrgType:e.isOrgType,isCodeType:e.isCodeType},on:{"update:visible":function(s){e.visibleSong=s},successFn:e.endFunction,change:e.handleTestsss}},"TopSumbitPopup",e.restartDataS,!1)),i("TopPopup",{ref:"cctaskTopPopup",attrs:{titleText:e.cctaskTopPopupTitle,visible:e.cctaskTopPopup,isDrawer:!0},on:{"update:visible":function(s){return e.cctaskTopPopup=s}}},[i(e.operationCom,{ref:"cctaskOperationRef",tag:"component",attrs:{param:e.operationParam},on:{handleClosecctaskTopPopup:e.handleClosecctaskTopPopup}},[i("div",{attrs:{slot:"completeSlot"},slot:"completeSlot"},[e._t("completeSlot",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)])],1)],1)},uT=[];const KT="",qh={};var pT=ve(lT,cT,uT,!1,dT,"a4fed71a",null,null);function dT(e){for(let t in qh)this[t]=qh[t]}const hT=function(){return pT.exports}(),Hh={name:"ddy-process-h5",version:"1.0.1-rc.3.97",description:"> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6",main:"./ddy-process-h5.umd.cjs",style:"./style.css",type:"module",exports:{".":{import:"./ddy-process-h5.js",require:"./ddy-process-h5.umd.cjs"},"./style.css":{import:"./style.css",require:"./style.css"}},scripts:{test:'echo "Error: no test specified" && exit 1',postinstall:"node scripts/postinstall.mjs"},devDependencies:{"checked-pick-app":"1.6.7",dsbridge:"^3.1.4"},dependencies:{"checked-pick-app":"1.6.7",dsbridge:"^3.1.4"},author:"",license:"ISC"};console.info("%c\u26A1"+Hh.name+"%c v"+Hh.version,"background: linear-gradient(135deg, #ff3939ff, #ffbe5cff); color: white; padding: 9px 4px 9px 4px; border-radius: 3px 0 0 3px;font-size: 12px;","background: #5100ffff; color: white; padding: 9px 6px 9px 4px; border-radius: 0px 3px 3px 0px;font-size: 12px;"),vt.TopProcess=hT,vt.TopSumbitPopup=kh,vt.ViewAttchList=Ru,vt.attchViews=Yi,Object.defineProperties(vt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|