ddy-process-h5 1.0.1-beta.1

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.
@@ -0,0 +1,29 @@
1
+ (function(qe,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue"),require("dsbridge"),require("checked-pick-app")):typeof define=="function"&&define.amd?define(["exports","vue","dsbridge","checked-pick-app"],s):(qe=typeof globalThis<"u"?globalThis:qe||self,s(qe["ui-process-h5"]={},qe.Vue,qe.dsbridge,qe["checked-pick-app"]))})(this,function(qe,s,Qa,Tt){"use strict";const Xn=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(Qa);/**
2
+ * @vue/shared v3.5.17
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **//*! #__NO_SIDE_EFFECTS__ */function Ua(e){const t=Object.create(null);for(const i of e.split(","))t[i]=1;return i=>i in t}const Je=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const ti=()=>{},ja=()=>!1,Ga=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ve=Object.assign,_a=Object.prototype.hasOwnProperty,ye=(e,t)=>_a.call(e,t),ce=Array.isArray,ii=e=>zi(e)==="[object Map]",qa=e=>zi(e)==="[object Set]",be=e=>typeof e=="function",$e=e=>typeof e=="string",Ti=e=>typeof e=="symbol",Pe=e=>e!==null&&typeof e=="object",Ja=e=>(Pe(e)||be(e))&&be(e.then)&&be(e.catch),Ha=Object.prototype.toString,zi=e=>Ha.call(e),$n=e=>zi(e).slice(8,-1),Ka=e=>zi(e)==="[object Object]",Rs=e=>$e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,za=(e=>{const t=Object.create(null);return i=>t[i]||(t[i]=e(i))})(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qt=(e,t)=>!Object.is(e,t),Wa=(e,t,i,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:i})};let er;const Wi=()=>er||(er=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ls(e){if(ce(e)){const t={};for(let i=0;i<e.length;i++){const n=e[i],r=$e(n)?$a(n):Ls(n);if(r)for(const o in r)t[o]=r[o]}return t}else if($e(e)||Pe(e))return e}const Ya=/;(?![^(]*\))/g,Za=/:([^]+)/,Xa=/\/\*[^]*?\*\//g;function $a(e){const t={};return e.replace(Xa,"").split(Ya).forEach(i=>{if(i){const n=i.split(Za);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Fs(e){let t="";if($e(e))t=e;else if(ce(e))for(let i=0;i<e.length;i++){const n=Fs(e[i]);n&&(t+=n+" ")}else if(Pe(e))for(const i in e)e[i]&&(t+=i+" ");return t.trim()}/**
6
+ * @vue/reactivity v3.5.17
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/function Bt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let se;const Qs=new WeakSet;class el{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Qs.has(this)&&(Qs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||tl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,rr(this),ir(this);const t=se,i=et;se=this,et=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&se!==this&&Bt("Active effect was not restored correctly - this is likely a Vue internal bug."),sr(this),se=t,et=i,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)_s(t);this.deps=this.depsTail=void 0,rr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Qs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Gs(this)&&this.run()}get dirty(){return Gs(this)}}let tr=0,Bi,Ni;function tl(e,t=!1){if(e.flags|=8,t){e.next=Ni,Ni=e;return}e.next=Bi,Bi=e}function Us(){tr++}function js(){if(--tr>0)return;if(Ni){let t=Ni;for(Ni=void 0;t;){const i=t.next;t.next=void 0,t.flags&=-9,t=i}}let e;for(;Bi;){let t=Bi;for(Bi=void 0;t;){const i=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=i}}if(e)throw e}function ir(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function sr(e){let t,i=e.depsTail,n=i;for(;n;){const r=n.prevDep;n.version===-1?(n===i&&(i=r),_s(n),sl(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=i}function Gs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(il(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function il(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Yi)||(e.globalVersion=Yi,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Gs(e))))return;e.flags|=2;const t=e.dep,i=se,n=et;se=e,et=!0;try{ir(e);const r=e.fn(e._value);(t.version===0||Qt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{se=i,et=n,sr(e),e.flags&=-3}}function _s(e,t=!1){const{dep:i,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&i.subsHead===e&&(i.subsHead=r),i.subs===e&&(i.subs=n,!n&&i.computed)){i.computed.flags&=-5;for(let o=i.computed.deps;o;o=o.nextDep)_s(o,!0)}!t&&!--i.sc&&i.map&&i.map.delete(i.key)}function sl(e){const{prevDep:t,nextDep:i}=e;t&&(t.nextDep=i,e.prevDep=void 0),i&&(i.prevDep=t,e.nextDep=void 0)}let et=!0;const nr=[];function Ii(){nr.push(et),et=!1}function xi(){const e=nr.pop();et=e===void 0?!0:e}function rr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const i=se;se=void 0;try{t()}finally{se=i}}}let Yi=0;class nl{constructor(t,i){this.sub=t,this.dep=i,this.version=i.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class rl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!se||!et||se===this.computed)return;let i=this.activeLink;if(i===void 0||i.sub!==se)i=this.activeLink=new nl(se,this),se.deps?(i.prevDep=se.depsTail,se.depsTail.nextDep=i,se.depsTail=i):se.deps=se.depsTail=i,or(i);else if(i.version===-1&&(i.version=this.version,i.nextDep)){const n=i.nextDep;n.prevDep=i.prevDep,i.prevDep&&(i.prevDep.nextDep=n),i.prevDep=se.depsTail,i.nextDep=void 0,se.depsTail.nextDep=i,se.depsTail=i,se.deps===i&&(se.deps=n)}return process.env.NODE_ENV!=="production"&&se.onTrack&&se.onTrack(ve({effect:se},t)),i}trigger(t){this.version++,Yi++,this.notify(t)}notify(t){Us();try{if(process.env.NODE_ENV!=="production")for(let i=this.subsHead;i;i=i.nextSub)i.sub.onTrigger&&!(i.sub.flags&8)&&i.sub.onTrigger(ve({effect:i.sub},t));for(let i=this.subs;i;i=i.prevSub)i.sub.notify()&&i.sub.dep.notify()}finally{js()}}}function or(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)or(n)}const i=e.dep.subs;i!==e&&(e.prevSub=i,i&&(i.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const qs=new WeakMap,Ut=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),Js=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Si=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function Ce(e,t,i){if(et&&se){let n=qs.get(e);n||qs.set(e,n=new Map);let r=n.get(i);r||(n.set(i,r=new rl),r.map=n,r.key=i),process.env.NODE_ENV!=="production"?r.track({target:e,type:t,key:i}):r.track()}}function Nt(e,t,i,n,r,o){const a=qs.get(e);if(!a){Yi++;return}const l=d=>{d&&(process.env.NODE_ENV!=="production"?d.trigger({target:e,type:t,key:i,newValue:n,oldValue:r,oldTarget:o}):d.trigger())};if(Us(),t==="clear")a.forEach(l);else{const d=ce(e),u=d&&Rs(i);if(d&&i==="length"){const f=Number(n);a.forEach((h,g)=>{(g==="length"||g===Si||!Ti(g)&&g>=f)&&l(h)})}else switch((i!==void 0||a.has(void 0))&&l(a.get(i)),u&&l(a.get(Si)),t){case"add":d?u&&l(a.get("length")):(l(a.get(Ut)),ii(e)&&l(a.get(Js)));break;case"delete":d||(l(a.get(Ut)),ii(e)&&l(a.get(Js)));break;case"set":ii(e)&&l(a.get(Ut));break}}js()}function si(e){const t=$(e);return t===e?t:(Ce(t,"iterate",Si),Re(e)?t:t.map(Le))}function Hs(e){return Ce(e=$(e),"iterate",Si),e}const ol={__proto__:null,[Symbol.iterator](){return Ks(this,Symbol.iterator,Le)},concat(...e){return si(this).concat(...e.map(t=>ce(t)?si(t):t))},entries(){return Ks(this,"entries",e=>(e[1]=Le(e[1]),e))},every(e,t){return ft(this,"every",e,t,void 0,arguments)},filter(e,t){return ft(this,"filter",e,t,i=>i.map(Le),arguments)},find(e,t){return ft(this,"find",e,t,Le,arguments)},findIndex(e,t){return ft(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ft(this,"findLast",e,t,Le,arguments)},findLastIndex(e,t){return ft(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ft(this,"forEach",e,t,void 0,arguments)},includes(...e){return zs(this,"includes",e)},indexOf(...e){return zs(this,"indexOf",e)},join(e){return si(this).join(e)},lastIndexOf(...e){return zs(this,"lastIndexOf",e)},map(e,t){return ft(this,"map",e,t,void 0,arguments)},pop(){return Di(this,"pop")},push(...e){return Di(this,"push",e)},reduce(e,...t){return ar(this,"reduce",e,t)},reduceRight(e,...t){return ar(this,"reduceRight",e,t)},shift(){return Di(this,"shift")},some(e,t){return ft(this,"some",e,t,void 0,arguments)},splice(...e){return Di(this,"splice",e)},toReversed(){return si(this).toReversed()},toSorted(e){return si(this).toSorted(e)},toSpliced(...e){return si(this).toSpliced(...e)},unshift(...e){return Di(this,"unshift",e)},values(){return Ks(this,"values",Le)}};function Ks(e,t,i){const n=Hs(e),r=n[t]();return n!==e&&!Re(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=i(o.value)),o}),r}const al=Array.prototype;function ft(e,t,i,n,r,o){const a=Hs(e),l=a!==e&&!Re(e),d=a[t];if(d!==al[t]){const h=d.apply(e,o);return l?Le(h):h}let u=i;a!==e&&(l?u=function(h,g){return i.call(this,Le(h),g,e)}:i.length>2&&(u=function(h,g){return i.call(this,h,g,e)}));const f=d.call(a,u,n);return l&&r?r(f):f}function ar(e,t,i,n){const r=Hs(e);let o=i;return r!==e&&(Re(e)?i.length>3&&(o=function(a,l,d){return i.call(this,a,l,d,e)}):o=function(a,l,d){return i.call(this,a,Le(l),d,e)}),r[t](o,...n)}function zs(e,t,i){const n=$(e);Ce(n,"iterate",Si);const r=n[t](...i);return(r===-1||r===!1)&&es(i[0])?(i[0]=$(i[0]),n[t](...i)):r}function Di(e,t,i=[]){Ii(),Us();const n=$(e)[t].apply(e,i);return js(),xi(),n}const ll=Ua("__proto__,__v_isRef,__isVue"),lr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ti));function cl(e){Ti(e)||(e=String(e));const t=$(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class cr{constructor(t=!1,i=!1){this._isReadonly=t,this._isShallow=i}get(t,i,n){if(i==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(i==="__v_isReactive")return!r;if(i==="__v_isReadonly")return r;if(i==="__v_isShallow")return o;if(i==="__v_raw")return n===(r?o?fr:ur:o?kl:hr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=ce(t);if(!r){let d;if(a&&(d=ol[i]))return d;if(i==="hasOwnProperty")return cl}const l=Reflect.get(t,i,Me(t)?t:n);return(Ti(i)?lr.has(i):ll(i))||(r||Ce(t,"get",i),o)?l:Me(l)?a&&Rs(i)?l:l.value:Pe(l)?r?gr(l):mr(l):l}}class pl extends cr{constructor(t=!1){super(!1,t)}set(t,i,n,r){let o=t[i];if(!this._isShallow){const d=It(o);if(!Re(n)&&!It(n)&&(o=$(o),n=$(n)),!ce(t)&&Me(o)&&!Me(n))return d?!1:(o.value=n,!0)}const a=ce(t)&&Rs(i)?Number(i)<t.length:ye(t,i),l=Reflect.set(t,i,n,Me(t)?t:r);return t===$(r)&&(a?Qt(n,o)&&Nt(t,"set",i,n,o):Nt(t,"add",i,n)),l}deleteProperty(t,i){const n=ye(t,i),r=t[i],o=Reflect.deleteProperty(t,i);return o&&n&&Nt(t,"delete",i,void 0,r),o}has(t,i){const n=Reflect.has(t,i);return(!Ti(i)||!lr.has(i))&&Ce(t,"has",i),n}ownKeys(t){return Ce(t,"iterate",ce(t)?"length":Ut),Reflect.ownKeys(t)}}class pr extends cr{constructor(t=!1){super(!0,t)}set(t,i){return process.env.NODE_ENV!=="production"&&Bt(`Set operation on key "${String(i)}" failed: target is readonly.`,t),!0}deleteProperty(t,i){return process.env.NODE_ENV!=="production"&&Bt(`Delete operation on key "${String(i)}" failed: target is readonly.`,t),!0}}const dl=new pl,hl=new pr,ul=new pr(!0),Ws=e=>e,Zi=e=>Reflect.getPrototypeOf(e);function fl(e,t,i){return function(...n){const r=this.__v_raw,o=$(r),a=ii(o),l=e==="entries"||e===Symbol.iterator&&a,d=e==="keys"&&a,u=r[e](...n),f=i?Ws:t?Xs:Le;return!t&&Ce(o,"iterate",d?Js:Ut),{next(){const{value:h,done:g}=u.next();return g?{value:h,done:g}:{value:l?[f(h[0]),f(h[1])]:f(h),done:g}},[Symbol.iterator](){return this}}}}function Xi(e){return function(...t){if(process.env.NODE_ENV!=="production"){const i=t[0]?`on key "${t[0]}" `:"";Bt(`${za(e)} operation ${i}failed: target is readonly.`,$(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function ml(e,t){const i={get(r){const o=this.__v_raw,a=$(o),l=$(r);e||(Qt(r,l)&&Ce(a,"get",r),Ce(a,"get",l));const{has:d}=Zi(a),u=t?Ws:e?Xs:Le;if(d.call(a,r))return u(o.get(r));if(d.call(a,l))return u(o.get(l));o!==a&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Ce($(r),"iterate",Ut),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,a=$(o),l=$(r);return e||(Qt(r,l)&&Ce(a,"has",r),Ce(a,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const a=this,l=a.__v_raw,d=$(l),u=t?Ws:e?Xs:Le;return!e&&Ce(d,"iterate",Ut),l.forEach((f,h)=>r.call(o,u(f),u(h),a))}};return ve(i,e?{add:Xi("add"),set:Xi("set"),delete:Xi("delete"),clear:Xi("clear")}:{add(r){!t&&!Re(r)&&!It(r)&&(r=$(r));const o=$(this);return Zi(o).has.call(o,r)||(o.add(r),Nt(o,"add",r,r)),this},set(r,o){!t&&!Re(o)&&!It(o)&&(o=$(o));const a=$(this),{has:l,get:d}=Zi(a);let u=l.call(a,r);u?process.env.NODE_ENV!=="production"&&dr(a,l,r):(r=$(r),u=l.call(a,r));const f=d.call(a,r);return a.set(r,o),u?Qt(o,f)&&Nt(a,"set",r,o,f):Nt(a,"add",r,o),this},delete(r){const o=$(this),{has:a,get:l}=Zi(o);let d=a.call(o,r);d?process.env.NODE_ENV!=="production"&&dr(o,a,r):(r=$(r),d=a.call(o,r));const u=l?l.call(o,r):void 0,f=o.delete(r);return d&&Nt(o,"delete",r,void 0,u),f},clear(){const r=$(this),o=r.size!==0,a=process.env.NODE_ENV!=="production"?ii(r)?new Map(r):new Set(r):void 0,l=r.clear();return o&&Nt(r,"clear",void 0,void 0,a),l}}),["keys","values","entries",Symbol.iterator].forEach(r=>{i[r]=fl(r,e,t)}),i}function Ys(e,t){const i=ml(e,t);return(n,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(ye(i,r)&&r in n?i:n,r,o)}const gl={get:Ys(!1,!1)},yl={get:Ys(!0,!1)},Al={get:Ys(!0,!0)};function dr(e,t,i){const n=$(i);if(n!==i&&t.call(e,n)){const r=$n(e);Bt(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const hr=new WeakMap,kl=new WeakMap,ur=new WeakMap,fr=new WeakMap;function El(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bl(e){return e.__v_skip||!Object.isExtensible(e)?0:El($n(e))}function mr(e){return It(e)?e:Zs(e,!1,dl,gl,hr)}function gr(e){return Zs(e,!0,hl,yl,ur)}function $i(e){return Zs(e,!0,ul,Al,fr)}function Zs(e,t,i,n,r){if(!Pe(e))return process.env.NODE_ENV!=="production"&&Bt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=bl(e);if(o===0)return e;const a=r.get(e);if(a)return a;const l=new Proxy(e,o===2?n:i);return r.set(e,l),l}function ni(e){return It(e)?ni(e.__v_raw):!!(e&&e.__v_isReactive)}function It(e){return!!(e&&e.__v_isReadonly)}function Re(e){return!!(e&&e.__v_isShallow)}function es(e){return e?!!e.__v_raw:!1}function $(e){const t=e&&e.__v_raw;return t?$(t):e}function Cl(e){return!ye(e,"__v_skip")&&Object.isExtensible(e)&&Wa(e,"__v_skip",!0),e}const Le=e=>Pe(e)?mr(e):e,Xs=e=>Pe(e)?gr(e):e;function Me(e){return e?e.__v_isRef===!0:!1}function wl(e){return Me(e)?e.value:e}const Tl={get:(e,t,i)=>t==="__v_raw"?e:wl(Reflect.get(e,t,i)),set:(e,t,i,n)=>{const r=e[t];return Me(r)&&!Me(i)?(r.value=i,!0):Reflect.set(e,t,i,n)}};function Bl(e){return ni(e)?e:new Proxy(e,Tl)}const ts={},is=new WeakMap;let jt;function Nl(e,t=!1,i=jt){if(i){let n=is.get(i);n||is.set(i,n=[]),n.push(e)}else process.env.NODE_ENV!=="production"&&!t&&Bt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function Il(e,t,i=Je){const{immediate:n,deep:r,once:o,scheduler:a,augmentJob:l,call:d}=i,u=A=>{(i.onWarn||Bt)("Invalid watch source: ",A,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},f=A=>r?A:Re(A)||r===!1||r===0?xt(A,1):xt(A);let h,g,E,I,v=!1,H=!1;if(Me(e)?(g=()=>e.value,v=Re(e)):ni(e)?(g=()=>f(e),v=!0):ce(e)?(H=!0,v=e.some(A=>ni(A)||Re(A)),g=()=>e.map(A=>{if(Me(A))return A.value;if(ni(A))return f(A);if(be(A))return d?d(A,2):A();process.env.NODE_ENV!=="production"&&u(A)})):be(e)?t?g=d?()=>d(e,2):e:g=()=>{if(E){Ii();try{E()}finally{xi()}}const A=jt;jt=h;try{return d?d(e,3,[I]):e(I)}finally{jt=A}}:(g=ti,process.env.NODE_ENV!=="production"&&u(e)),t&&r){const A=g,w=r===!0?1/0:r;g=()=>xt(A(),w)}const X=()=>{h.stop()};if(o&&t){const A=t;t=(...w)=>{A(...w),X()}}let K=H?new Array(e.length).fill(ts):ts;const x=A=>{if(!(!(h.flags&1)||!h.dirty&&!A))if(t){const w=h.run();if(r||v||(H?w.some((S,U)=>Qt(S,K[U])):Qt(w,K))){E&&E();const S=jt;jt=h;try{const U=[w,K===ts?void 0:H&&K[0]===ts?[]:K,I];K=w,d?d(t,3,U):t(...U)}finally{jt=S}}}else h.run()};return l&&l(x),h=new el(g),h.scheduler=a?()=>a(x,!1):x,I=A=>Nl(A,!1,h),E=h.onStop=()=>{const A=is.get(h);if(A){if(d)d(A,4);else for(const w of A)w();is.delete(h)}},process.env.NODE_ENV!=="production"&&(h.onTrack=i.onTrack,h.onTrigger=i.onTrigger),t?n?x(!0):K=h.run():a?a(x.bind(null,!0),!0):h.run(),X.pause=h.pause.bind(h),X.resume=h.resume.bind(h),X.stop=X,X}function xt(e,t=1/0,i){if(t<=0||!Pe(e)||e.__v_skip||(i=i||new Set,i.has(e)))return e;if(i.add(e),t--,Me(e))xt(e.value,t,i);else if(ce(e))for(let n=0;n<e.length;n++)xt(e[n],t,i);else if(qa(e)||ii(e))e.forEach(n=>{xt(n,t,i)});else if(Ka(e)){for(const n in e)xt(e[n],t,i);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&xt(e[n],t,i)}return e}/**
10
+ * @vue/runtime-core v3.5.17
11
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
+ * @license MIT
13
+ **/const Gt=[];function xl(e){Gt.push(e)}function Sl(){Gt.pop()}let $s=!1;function he(e,...t){if($s)return;$s=!0,Ii();const i=Gt.length?Gt[Gt.length-1].component:null,n=i&&i.appContext.config.warnHandler,r=Dl();if(n)ss(n,i,11,[e+t.map(o=>{var a,l;return(l=(a=o.toString)==null?void 0:a.call(o))!=null?l:JSON.stringify(o)}).join(""),i&&i.proxy,r.map(({vnode:o})=>`at <${Fr(i,o.type)}>`).join(`
14
+ `),r]);else{const o=[`[Vue warn]: ${e}`,...t];r.length&&o.push(`
15
+ `,...vl(r)),console.warn(...o)}xi(),$s=!1}function Dl(){let e=Gt[Gt.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 n=e.component&&e.component.parent;e=n&&n.vnode}return t}function vl(e){const t=[];return e.forEach((i,n)=>{t.push(...n===0?[]:[`
16
+ `],...Pl(i))}),t}function Pl({vnode:e,recurseCount:t}){const i=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,r=` at <${Fr(e.component,e.type,n)}`,o=">"+i;return e.props?[r,...Ml(e.props),o]:[r+o]}function Ml(e){const t=[],i=Object.keys(e);return i.slice(0,3).forEach(n=>{t.push(...yr(n,e[n]))}),i.length>3&&t.push(" ..."),t}function yr(e,t,i){return $e(t)?(t=JSON.stringify(t),i?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?i?t:[`${e}=${t}`]:Me(t)?(t=yr(e,$(t.value),!0),i?t:[`${e}=Ref<`,t,">"]):be(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=$(t),i?t:[`${e}=`,t])}const Ar={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",[15]:"component update",[16]:"app unmount cleanup function"};function ss(e,t,i,n){try{return n?e(...n):e()}catch(r){en(r,t,i)}}function kr(e,t,i,n){if(be(e)){const r=ss(e,t,i,n);return r&&Ja(r)&&r.catch(o=>{en(o,t,i)}),r}if(ce(e)){const r=[];for(let o=0;o<e.length;o++)r.push(kr(e[o],t,i,n));return r}else process.env.NODE_ENV!=="production"&&he(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function en(e,t,i,n=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Je;if(t){let l=t.parent;const d=t.proxy,u=process.env.NODE_ENV!=="production"?Ar[i]:`https://vuejs.org/error-reference/#runtime-${i}`;for(;l;){const f=l.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,d,u)===!1)return}l=l.parent}if(o){Ii(),ss(o,null,10,[e,d,u]),xi();return}}Vl(e,i,r,n,a)}function Vl(e,t,i,n=!0,r=!1){if(process.env.NODE_ENV!=="production"){const o=Ar[t];if(i&&xl(i),he(`Unhandled error${o?` during execution of ${o}`:""}`),i&&Sl(),n)throw e;console.error(e)}else{if(r)throw e;console.error(e)}}const He=[];let mt=-1;const ri=[];let St=null,oi=0;const Er=Promise.resolve();let ns=null;const Ol=100;function Rl(e){const t=ns||Er;return e?t.then(this?e.bind(this):e):t}function Ll(e){let t=mt+1,i=He.length;for(;t<i;){const n=t+i>>>1,r=He[n],o=vi(r);o<e||o===e&&r.flags&2?t=n+1:i=n}return t}function tn(e){if(!(e.flags&1)){const t=vi(e),i=He[He.length-1];!i||!(e.flags&2)&&t>=vi(i)?He.push(e):He.splice(Ll(t),0,e),e.flags|=1,br()}}function br(){ns||(ns=Er.then(wr))}function Cr(e){ce(e)?ri.push(...e):St&&e.id===-1?St.splice(oi+1,0,e):e.flags&1||(ri.push(e),e.flags|=1),br()}function Fl(e){if(ri.length){const t=[...new Set(ri)].sort((i,n)=>vi(i)-vi(n));if(ri.length=0,St){St.push(...t);return}for(St=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),oi=0;oi<St.length;oi++){const i=St[oi];process.env.NODE_ENV!=="production"&&Tr(e,i)||(i.flags&4&&(i.flags&=-2),i.flags&8||i(),i.flags&=-2)}St=null,oi=0}}const vi=e=>e.id==null?e.flags&2?-1:1/0:e.id;function wr(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?i=>Tr(e,i):ti;try{for(mt=0;mt<He.length;mt++){const i=He[mt];if(i&&!(i.flags&8)){if(process.env.NODE_ENV!=="production"&&t(i))continue;i.flags&4&&(i.flags&=-2),ss(i,i.i,i.i?15:14),i.flags&4||(i.flags&=-2)}}}finally{for(;mt<He.length;mt++){const i=He[mt];i&&(i.flags&=-2)}mt=-1,He.length=0,Fl(e),ns=null,(He.length||ri.length)&&wr(e)}}function Tr(e,t){const i=e.get(t)||0;if(i>Ol){const n=t.i,r=n&&Lr(n.type);return en(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. 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.`,null,10),!0}return e.set(t,i+1),!1}const sn=new Map;process.env.NODE_ENV!=="production"&&(Wi().__VUE_HMR_RUNTIME__={createRecord:nn(Ql),rerender:nn(Ul),reload:nn(jl)});const rs=new Map;function Ql(e,t){return rs.has(e)?!1:(rs.set(e,{initialDef:os(t),instances:new Set}),!0)}function os(e){return Qr(e)?e.__vccOpts:e}function Ul(e,t){const i=rs.get(e);!i||(i.initialDef.render=t,[...i.instances].forEach(n=>{t&&(n.render=t,os(n.type).render=t),n.renderCache=[],n.update()}))}function jl(e,t){const i=rs.get(e);if(!i)return;t=os(t),Br(i.initialDef,t);const n=[...i.instances];for(let r=0;r<n.length;r++){const o=n[r],a=os(o.type);let l=sn.get(a);l||(a!==i.initialDef&&Br(a,t),sn.set(a,l=new Set)),l.add(o),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache.delete(o.type),o.ceReload?(l.add(o),o.ceReload(t.styles),l.delete(o)):o.parent?tn(()=>{o.parent.update(),l.delete(o)}):o.appContext.reload?o.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),o.root.ce&&o!==o.root&&o.root.ce._removeChildStyle(a)}Cr(()=>{sn.clear()})}function Br(e,t){ve(e,t);for(const i in e)i!=="__file"&&!(i in t)&&delete e[i]}function nn(e){return(t,i)=>{try{return e(t,i)}catch(n){console.error(n),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let ai,as=[];function Nr(e,t){var i,n;ai=e,ai?(ai.enabled=!0,as.forEach(({event:r,args:o})=>ai.emit(r,...o)),as=[]):typeof window<"u"&&window.HTMLElement&&!((n=(i=window.navigator)==null?void 0:i.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{Nr(o,t)}),setTimeout(()=>{ai||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,as=[])},3e3)):as=[]}let gt=null,Gl=null;const _l=e=>e.__isTeleport;function Ir(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ir(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function at(e,t){return be(e)?(()=>ve({name:e.name},t,{setup:e}))():e}Wi().requestIdleCallback,Wi().cancelIdleCallback;const ql=Symbol.for("v-ndc"),rn=e=>e?kc(e)?Ec(e):rn(e.parent):null,Pi=ve(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?$i(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?$i(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?$i(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?$i(e.refs):e.refs,$parent:e=>rn(e.parent),$root:e=>rn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Kl(e),$forceUpdate:e=>e.f||(e.f=()=>{tn(e.update)}),$nextTick:e=>e.n||(e.n=Rl.bind(e.proxy)),$watch:e=>rc.bind(e)}),Jl=e=>e==="_"||e==="$",on=(e,t)=>e!==Je&&!e.__isScriptSetup&&ye(e,t),Hl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:i,setupState:n,data:r,props:o,accessCache:a,type:l,appContext:d}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;let u;if(t[0]!=="$"){const E=a[t];if(E!==void 0)switch(E){case 1:return n[t];case 2:return r[t];case 4:return i[t];case 3:return o[t]}else{if(on(n,t))return a[t]=1,n[t];if(r!==Je&&ye(r,t))return a[t]=2,r[t];if((u=e.propsOptions[0])&&ye(u,t))return a[t]=3,o[t];if(i!==Je&&ye(i,t))return a[t]=4,i[t];a[t]=0}}const f=Pi[t];let h,g;if(f)return t==="$attrs"?(Ce(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&t==="$slots"&&Ce(e,"get",t),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(i!==Je&&ye(i,t))return a[t]=4,i[t];if(g=d.config.globalProperties,ye(g,t))return g[t];process.env.NODE_ENV!=="production"&&gt&&(!$e(t)||t.indexOf("__v")!==0)&&(r!==Je&&Jl(t[0])&&ye(r,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===gt&&he(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,i){const{data:n,setupState:r,ctx:o}=e;return on(r,t)?(r[t]=i,!0):process.env.NODE_ENV!=="production"&&r.__isScriptSetup&&ye(r,t)?(he(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):n!==Je&&ye(n,t)?(n[t]=i,!0):ye(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(o,t,{enumerable:!0,configurable:!0,value:i}):o[t]=i,!0)},has({_:{data:e,setupState:t,accessCache:i,ctx:n,appContext:r,propsOptions:o}},a){let l;return!!i[a]||e!==Je&&ye(e,a)||on(t,a)||(l=o[0])&&ye(l,a)||ye(n,a)||ye(Pi,a)||ye(r.config.globalProperties,a)},defineProperty(e,t,i){return i.get!=null?e._.accessCache[t]=0:ye(i,"value")&&this.set(e,t,i.value,null),Reflect.defineProperty(e,t,i)}};process.env.NODE_ENV!=="production"&&(Hl.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 xr(e){return ce(e)?e.reduce((t,i)=>(t[i]=null,t),{}):e}function Kl(e){const t=e.type,{mixins:i,extends:n}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let d;return l?d=l:!r.length&&!i&&!n?d=t:(d={},r.length&&r.forEach(u=>ls(d,u,a,!0)),ls(d,t,a)),Pe(t)&&o.set(t,d),d}function ls(e,t,i,n=!1){const{mixins:r,extends:o}=t;o&&ls(e,o,i,!0),r&&r.forEach(a=>ls(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 l=zl[a]||i&&i[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const zl={data:Sr,props:vr,emits:vr,methods:Mi,computed:Mi,beforeCreate:Ie,created:Ie,beforeMount:Ie,mounted:Ie,beforeUpdate:Ie,updated:Ie,beforeDestroy:Ie,beforeUnmount:Ie,destroyed:Ie,unmounted:Ie,activated:Ie,deactivated:Ie,errorCaptured:Ie,serverPrefetch:Ie,components:Mi,directives:Mi,watch:Yl,provide:Sr,inject:Wl};function Sr(e,t){return t?e?function(){return ve(be(e)?e.call(this,this):e,be(t)?t.call(this,this):t)}:t:e}function Wl(e,t){return Mi(Dr(e),Dr(t))}function Dr(e){if(ce(e)){const t={};for(let i=0;i<e.length;i++)t[e[i]]=e[i];return t}return e}function Ie(e,t){return e?[...new Set([].concat(e,t))]:t}function Mi(e,t){return e?ve(Object.create(null),e,t):t}function vr(e,t){return e?ce(e)&&ce(t)?[...new Set([...e,...t])]:ve(Object.create(null),xr(e),xr(t!=null?t:{})):t}function Yl(e,t){if(!e)return t;if(!t)return e;const i=ve(Object.create(null),e);for(const n in t)i[n]=Ie(e[n],t[n]);return i}function Zl(){return{app:null,config:{isNativeTag:ja,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}}let Xl=null;function $l(e,t,i=!1){const n=ds||gt;if(n||Xl){let r=n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return i&&be(t)?t.call(n&&n.proxy):t;process.env.NODE_ENV!=="production"&&he(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&he("inject() can only be used inside setup() or functional components.")}const ec={},Pr=e=>Object.getPrototypeOf(e)===ec,tc=lc,ic=Symbol.for("v-scx"),sc=()=>{{const e=$l(ic);return e||process.env.NODE_ENV!=="production"&&he("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function nc(e,t,i=Je){const{immediate:n,deep:r,flush:o,once:a}=i;process.env.NODE_ENV!=="production"&&!t&&(n!==void 0&&he('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&he('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&he('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=ve({},i);process.env.NODE_ENV!=="production"&&(l.onWarn=he);const d=t&&n||!t&&o!=="post";let u;if(cn){if(o==="sync"){const E=sc();u=E.__watcherHandles||(E.__watcherHandles=[])}else if(!d){const E=()=>{};return E.stop=ti,E.resume=ti,E.pause=ti,E}}const f=ds;l.call=(E,I,v)=>kr(E,f,I,v);let h=!1;o==="post"?l.scheduler=E=>{tc(E,f&&f.suspense)}:o!=="sync"&&(h=!0,l.scheduler=(E,I)=>{I?E():tn(E)}),l.augmentJob=E=>{t&&(E.flags|=4),h&&(E.flags|=2,f&&(E.id=f.uid,E.i=f))};const g=Il(e,t,l);return cn&&(u?u.push(g):d&&g()),g}function rc(e,t,i){const n=this.proxy,r=$e(e)?e.includes(".")?oc(n,e):()=>n[e]:e.bind(n,n);let o;be(t)?o=t:(o=t.handler,i=t);const a=Ac(this),l=nc(r,o.bind(n),i);return a(),l}function oc(e,t){const i=t.split(".");return()=>{let n=e;for(let r=0;r<i.length&&n;r++)n=n[i[r]];return n}}function oE(){}const ac=e=>e.__isSuspense;function lc(e,t){t&&t.pendingBranch?ce(e)?t.effects.push(...e):t.effects.push(e):Cr(e)}const Mr=Symbol.for("v-fgt"),cc=Symbol.for("v-txt"),pc=Symbol.for("v-cmt");let li=null;function dc(e){return e?e.__v_isVNode===!0:!1}const hc=(...e)=>Or(...e),Vr=({key:e})=>e!=null?e:null,cs=({ref:e,ref_key:t,ref_for:i})=>(typeof e=="number"&&(e=""+e),e!=null?$e(e)||Me(e)||be(e)?{i:gt,r:e,k:t,f:!!i}:e:null);function uc(e,t=null,i=null,n=0,r=null,o=e===Mr?0:1,a=!1,l=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vr(t),ref:t&&cs(t),scopeId:Gl,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:gt};return l?(an(d,i),o&128&&e.normalize(d)):i&&(d.shapeFlag|=$e(i)?8:16),process.env.NODE_ENV!=="production"&&d.key!==d.key&&he("VNode created with invalid key (NaN). VNode type:",d.type),!a&&li&&(d.patchFlag>0||o&6)&&d.patchFlag!==32&&li.push(d),d}const fc=process.env.NODE_ENV!=="production"?hc:Or;function Or(e,t=null,i=null,n=0,r=null,o=!1){if((!e||e===ql)&&(process.env.NODE_ENV!=="production"&&!e&&he(`Invalid vnode type when creating vnode: ${e}.`),e=pc),dc(e)){const l=ps(e,t,!0);return i&&an(l,i),!o&&li&&(l.shapeFlag&6?li[li.indexOf(e)]=l:li.push(l)),l.patchFlag=-2,l}if(Qr(e)&&(e=e.__vccOpts),t){t=mc(t);let{class:l,style:d}=t;l&&!$e(l)&&(t.class=Fs(l)),Pe(d)&&(es(d)&&!ce(d)&&(d=ve({},d)),t.style=Ls(d))}const a=$e(e)?1:ac(e)?128:_l(e)?64:Pe(e)?4:be(e)?2:0;return process.env.NODE_ENV!=="production"&&a&4&&es(e)&&(e=$(e),he("Vue received a Component that 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`.",`
17
+ Component that was made reactive: `,e)),uc(e,t,i,n,r,a,o,!0)}function mc(e){return e?es(e)||Pr(e)?ve({},e):e:null}function ps(e,t,i=!1,n=!1){const{props:r,ref:o,patchFlag:a,children:l,transition:d}=e,u=t?yc(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Vr(u),ref:t&&t.ref?i&&o?ce(o)?o.concat(cs(t)):[o,cs(t)]:cs(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&a===-1&&ce(l)?l.map(Rr):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Mr?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:d,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ps(e.ssContent),ssFallback:e.ssFallback&&ps(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return d&&n&&Ir(f,d.clone(f)),f}function Rr(e){const t=ps(e);return ce(e.children)&&(t.children=e.children.map(Rr)),t}function gc(e=" ",t=0){return fc(cc,null,e,t)}function an(e,t){let i=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ce(t))i=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),an(e,r()),r._c&&(r._d=!0));return}else{i=32;const r=t._;!r&&!Pr(t)?t._ctx=gt:r===3&&gt&&(gt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else be(t)?(t={default:t,_ctx:gt},i=32):(t=String(t),n&64?(i=16,t=[gc(t)]):i=8);e.children=t,e.shapeFlag|=i}function yc(...e){const t={};for(let i=0;i<e.length;i++){const n=e[i];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=Fs([t.class,n.class]));else if(r==="style")t.style=Ls([t.style,n.style]);else if(Ga(r)){const o=t[r],a=n[r];a&&o!==a&&!(ce(o)&&o.includes(a))&&(t[r]=o?[].concat(o,a):a)}else r!==""&&(t[r]=n[r])}return t}Zl();let ds=null,ln;{const e=Wi(),t=(i,n)=>{let r;return(r=e[i])||(r=e[i]=[]),r.push(n),o=>{r.length>1?r.forEach(a=>a(o)):r[0](o)}};ln=t("__VUE_INSTANCE_SETTERS__",i=>ds=i),t("__VUE_SSR_SETTERS__",i=>cn=i)}const Ac=e=>{const t=ds;return ln(e),e.scope.on(),()=>{e.scope.off(),ln(t)}};function kc(e){return e.vnode.shapeFlag&4}let cn=!1;process.env.NODE_ENV;function Ec(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Bl(Cl(e.exposed)),{get(t,i){if(i in t)return t[i];if(i in Pi)return Pi[i](e)},has(t,i){return i in t||i in Pi}})):e.proxy}const bc=/(?:^|[-_])(\w)/g,Cc=e=>e.replace(bc,t=>t.toUpperCase()).replace(/[-_]/g,"");function Lr(e,t=!0){return be(e)?e.displayName||e.name:e.name||t&&e.__name}function Fr(e,t,i=!1){let n=Lr(t);if(!n&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(n=r[1])}if(!n&&e&&e.parent){const r=o=>{for(const a in o)if(o[a]===t)return a};n=r(e.components||e.parent.type.components)||r(e.appContext.components)}return n?Cc(n):i?"App":"Anonymous"}function Qr(e){return be(e)&&"__vccOpts"in e}function wc(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},i={style:"color:#f5222d"},n={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(h){if(!Pe(h))return null;if(h.__isVue)return["div",e,"VueInstance"];if(Me(h)){Ii();const g=h.value;return xi(),["div",{},["span",e,f(h)],"<",l(g),">"]}else{if(ni(h))return["div",{},["span",e,Re(h)?"ShallowReactive":"Reactive"],"<",l(h),`>${It(h)?" (readonly)":""}`];if(It(h))return["div",{},["span",e,Re(h)?"ShallowReadonly":"Readonly"],"<",l(h),">"]}return null},hasBody(h){return h&&h.__isVue},body(h){if(h&&h.__isVue)return["div",{},...o(h.$)]}};function o(h){const g=[];h.type.props&&h.props&&g.push(a("props",$(h.props))),h.setupState!==Je&&g.push(a("setup",h.setupState)),h.data!==Je&&g.push(a("data",$(h.data)));const E=d(h,"computed");E&&g.push(a("computed",E));const I=d(h,"inject");return I&&g.push(a("injected",I)),g.push(["div",{},["span",{style:n.style+";opacity:0.66"},"$ (internal): "],["object",{object:h}]]),g}function a(h,g){return g=ve({},g),Object.keys(g).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},h],["div",{style:"padding-left:1.25em"},...Object.keys(g).map(E=>["div",{},["span",n,E+": "],l(g[E],!1)])]]:["span",{}]}function l(h,g=!0){return typeof h=="number"?["span",t,h]:typeof h=="string"?["span",i,JSON.stringify(h)]:typeof h=="boolean"?["span",n,h]:Pe(h)?["object",{object:g?$(h):h}]:["span",i,String(h)]}function d(h,g){const E=h.type;if(be(E))return;const I={};for(const v in h.ctx)u(E,v,g)&&(I[v]=h.ctx[v]);return I}function u(h,g,E){const I=h[E];if(ce(I)&&I.includes(g)||Pe(I)&&g in I||h.extends&&u(h.extends,g,E)||h.mixins&&h.mixins.some(v=>u(v,g,E)))return!0}function f(h){return Re(h)?"ShallowRef":h.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
18
+ * vue v3.5.17
19
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
20
+ * @license MIT
21
+ **/function Tc(){wc()}process.env.NODE_ENV!=="production"&&Tc();const Bc=at({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})}}),aE="",pe=(e,t)=>{const i=e.__vccOpts||e;for(const[n,r]of t)i[n]=r;return i},Nc={class:"top-popup-header"},Ic={class:"header-title"},xc={class:"top-popup-body"},Sc={class:"top-popup-drawer-header"},Dc={class:"header-title"},vc={class:"top-popup-drawer--body"},Pc={class:"top-tips-header"},Mc={class:"top-tips-body"},Vc={class:"top-tips-footer"};function Oc(e,t,i,n,r,o){return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["top-popup-zindex",e.className]),style:s.normalizeStyle(`${e.isIndex?`z-index:${e.isIndex}`:""}`)},[s.createElementVNode("div",{class:"top-popup-mask",style:s.normalizeStyle(e.show&&e.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"),onClick:t[0]||(t[0]=a=>e.isMaskClose&&e.handleClose())},null,4),!e.isTips&&!e.isDrawer?(s.openBlock(),s.createElementBlock("div",{key:0,class:"top-popup",style:s.normalizeStyle(e.show?"transform: translateY(0)":"transform: translateY(150%)")},[s.createElementVNode("div",Nc,[s.createElementVNode("div",{class:"header-cancel",onClick:t[1]||(t[1]=(...a)=>e.handleCancel&&e.handleCancel(...a))},s.toDisplayString(e.cancelText),1),s.createElementVNode("div",Ic,s.toDisplayString(e.titleText),1),s.createElementVNode("div",{class:"header-comfig",onClick:t[2]||(t[2]=(...a)=>e.handleComfig&&e.handleComfig(...a))},s.toDisplayString(e.comfigText),1)]),s.createElementVNode("div",xc,[s.renderSlot(e.$slots,"default",{},void 0,!0)])],4)):!e.isTips&&e.isDrawer?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["top-popup-drawer",e.show?"top-popup-drawer--active":""]),style:s.normalizeStyle(e.width?`width:${e.width};`:"")},[s.createElementVNode("div",Sc,[s.createElementVNode("div",{class:"header-cancel",onClick:t[3]||(t[3]=(...a)=>e.handleCancel&&e.handleCancel(...a))}," \u5173\u95ED "),s.createElementVNode("div",Dc,s.toDisplayString(e.titleText),1),t[6]||(t[6]=s.createElementVNode("div",{class:"header-comfig",style:{width:"20px"}},null,-1))]),s.createElementVNode("div",vc,[s.renderSlot(e.$slots,"default",{},void 0,!0)])],6)):e.isTips&&!e.isDrawer?(s.openBlock(),s.createElementBlock("div",{key:2,class:"top-tips",style:s.normalizeStyle(e.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)")},[s.createElementVNode("div",Pc,s.toDisplayString(e.titleText),1),s.createElementVNode("div",Mc,s.toDisplayString(e.context),1),s.createElementVNode("div",Vc,[s.createElementVNode("div",{class:"top-tips-btn",onClick:t[4]||(t[4]=(...a)=>e.handleCancel&&e.handleCancel(...a))},s.toDisplayString(e.cancelText),1),s.createElementVNode("div",{class:"top-tips-btn",onClick:t[5]||(t[5]=(...a)=>e.handleComfig&&e.handleComfig(...a))},s.toDisplayString(e.comfigText),1)])],4)):s.createCommentVNode("",!0)],6)}const Ke=pe(Bc,[["render",Oc],["__scopeId","data-v-9ae9509a"]]),Rc=at({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}}}),Lc={key:0,style:{width:"100%",height:"calc(100% - 40px)"}},Fc={key:0,style:{height:"100%",width:"100%"},controls:""},Qc=["src"],Uc=["src"];function jc(e,t,i,n,r,o){return e.url?(s.openBlock(),s.createElementBlock("div",Lc,[e.videoShow?(s.openBlock(),s.createElementBlock("video",Fc,[s.createElementVNode("source",{src:e.url,type:"video/mp4"},null,8,Qc)])):(s.openBlock(),s.createElementBlock("iframe",{key:1,style:{height:"100%",border:"unset",width:"100%"},src:e.url},null,8,Uc))])):s.createCommentVNode("",!0)}const Ur=pe(Rc,[["render",jc]]),Gc=at({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 r=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}),o=this.displacement.originScale*r;o<.5?o=.5:o>3&&(o=3),this.displacement.scale=o,this.styleZoom=`scale(${o})`,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)})}}),lE="",_c={key:0,class:"preview-image"},qc=["src"],Jc=["src"],Hc={key:2,class:"preview-image-view--page"},Kc={class:"page-item"};function zc(e,t,i,n,r,o){return e.visible?(s.openBlock(),s.createElementBlock("div",_c,[s.createElementVNode("div",{class:"preview-image-mask",onClick:t[0]||(t[0]=(...a)=>e.handleClose&&e.handleClose(...a))}),e.isOne?(s.openBlock(),s.createElementBlock("div",{key:1,class:"preview-image-view--one",onTouchstart:t[5]||(t[5]=(...a)=>e.handelTouchstart&&e.handelTouchstart(...a)),onTouchmove:t[6]||(t[6]=(...a)=>e.handelTouchmove&&e.handelTouchmove(...a)),style:s.normalizeStyle(`transform:${e.styleZoom} translate(${e.moveX},${e.moveY});${e.duration};${e.styleOrigin?`transformOrigin:${e.styleOrigin}`:""};`)},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.imagesList,(a,l)=>(s.openBlock(),s.createElementBlock("img",{class:"img-view",key:l,src:a},null,8,Jc))),128))],36)):(s.openBlock(),s.createElementBlock("div",{key:0,class:"preview-image-view--img",style:s.normalizeStyle(`transform: translate(${e.move}%,-50%);${e.duration}`),onTouchstart:t[2]||(t[2]=(...a)=>e.touchstartView&&e.touchstartView(...a)),onTouchmove:t[3]||(t[3]=(...a)=>e.touchmoveView&&e.touchmoveView(...a)),onTouchend:t[4]||(t[4]=(...a)=>e.touchendView&&e.touchendView(...a))},[s.createElementVNode("div",{class:"preview-image-mask",onClick:t[1]||(t[1]=(...a)=>e.handleClose&&e.handleClose(...a)),style:{opacity:"0","z-index":"1"}}),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.imagesList,(a,l)=>(s.openBlock(),s.createElementBlock("img",{class:"img-view",key:l,src:a},null,8,qc))),128))],36)),e.isOne?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",Hc,[s.createElementVNode("span",Kc,s.toDisplayString(e.isIndex)+"/"+s.toDisplayString(e.imagesList.length),1)])),t[7]||(t[7]=s.createElementVNode("div",{class:"preview-image-view--close"},null,-1))])):s.createCommentVNode("",!0)}const hs=pe(Gc,[["render",zc],["__scopeId","data-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ZMx85sQXl+o3e1AFjVNlF9PhVyA+C/TLWGVzx89ZuflMJ3OoAAXHlUSshnj6y3CWuocKyu24k8Y1fMCIBVAXCUFQaTwXiMPkm1K+UrTb1uTcaGiUHpzrRRGJi0rADUu2KeU5wjVC+SXUU8o2AUAAMD0IWuqHhOgj0A2G0b5u16wRlwpDttN+2W1mJ8gEogfGT3tV9MEq9kw76PQO5ktbKjYFQ2XDuRBlIA1Aage8io+q1+3GV8ao3fcbLxW4Po6cy8nR9NBN+YKfjzVVSyqf5PTVav393yJZuwigwsAqAWsU7TdktVMCQABhbkkwDeIRtd+dTIkz/96hsHSrmZyKsnxfq8scy+xWflsrnLEwYvZVAzgRsYaAKjiYimBnabFRoWACsMoJI75kEQegnoZeAIg3YmbWxDvbk3c9n2AUesSkRrMo//Bwdf9ZzE6Zx0AAAAAElFTkSuQmCC",Wc=at({name:"ViewAttchList",components:{PreView:Ur,TopPopup:Ke,PreviewImage:hs},computed:{del(){return jr},doc(){return Gr},file(){return _r},image(){return qr},pdf(){return Jr},xls(){return Hr},zip(){return Kr}},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,r)=>{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,r)=>{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(Xn.default.hasNativeMethod("vueUpLoadFile"))Xn.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()}}}}),cE="",Yc={class:"process-wrap"},Zc={key:0,class:"attch-list"},Xc={class:"list-items-icon"},$c=["src"],ep=["src"],tp=["src"],ip=["src"],sp=["src"],np=["src"],rp=["onClick"],op={class:"info-name"},ap={class:"info-name-text"},lp={class:"info-attribute"},cp={class:"info-attribute-time"},pp={class:"info-attribute-size"},dp=["onClick"],hp={key:1,class:"attch-list"};function up(e,t,i,n,r,o){const a=s.resolveComponent("PreView"),l=s.resolveComponent("TopPopup"),d=s.resolveComponent("PreviewImage");return s.openBlock(),s.createElementBlock("div",Yc,[e.listData.length>0?(s.openBlock(),s.createElementBlock("div",Zc,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.listData,(u,f)=>(s.openBlock(),s.createElementBlock("div",{key:u.id,class:"list-items"},[s.createElementVNode("div",Xc,[e.xlsIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(s.openBlock(),s.createElementBlock("img",{key:0,class:"icon-img",src:e.xls},null,8,$c)):e.imgIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(s.openBlock(),s.createElementBlock("img",{key:1,class:"icon-img",src:e.image},null,8,ep)):u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?(s.openBlock(),s.createElementBlock("img",{key:2,class:"icon-img",src:e.pdf},null,8,tp)):e.docIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(s.openBlock(),s.createElementBlock("img",{key:3,class:"icon-img",src:e.doc},null,8,ip)):e.zipIcon.includes(u.name.substring(u.name.lastIndexOf(".")+1).toLowerCase())?(s.openBlock(),s.createElementBlock("img",{key:4,class:"icon-img",src:e.zip},null,8,sp)):(s.openBlock(),s.createElementBlock("img",{key:5,class:"icon-img",src:e.file},null,8,np))]),s.createElementVNode("div",{class:"list-items-info",onClick:h=>e.viewFile(u)},[s.createElementVNode("div",op,[s.createElementVNode("span",ap,s.toDisplayString(u.name),1)]),s.createElementVNode("div",lp,[s.createElementVNode("span",cp,s.toDisplayString(u.uploadTime),1),s.createElementVNode("span",pp,s.toDisplayString(u.size<1024?u.size:u.size/1024>1024?parseFloat((u.size/1024/1024).toFixed(2)):parseFloat((u.size/1024).toFixed(2)))+s.toDisplayString(u.size<1024?"b":parseFloat((u.size/1024).toFixed(2))<1024?"kb":"M"),1)])],8,rp),s.createElementVNode("div",{class:"list-items-download",onClick:h=>e.loadFile(u)},t[2]||(t[2]=[s.createElementVNode("span",{class:"download-text"},"\u4E0B\u8F7D",-1)]),8,dp)]))),128))])):(s.openBlock(),s.createElementBlock("div",hp,t[3]||(t[3]=[s.createElementVNode("div",{class:"attch-list--white"},[s.createElementVNode("div",{class:"attch-list--label"},"\u6682\u65E0\u9644\u4EF6")],-1)]))),s.createVNode(l,{visible:e.visible,"onUpdate:visible":t[0]||(t[0]=u=>e.visible=u),ref:"TopPopup",titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},{default:s.withCtx(()=>[s.createVNode(a,{file:e.fileUrl},null,8,["file"])]),_:1},8,["visible"]),s.createVNode(d,{images:e.lists,visible:e.visibleImg,"onUpdate:visible":t[1]||(t[1]=u=>e.visibleImg=u),indexd:e.indexd},null,8,["images","visible","indexd"])])}const zr=pe(Wc,[["render",up],["__scopeId","data-v-e0d8023e"]]);function lt(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}const Vi=Object.prototype.toString,fp=Object.prototype.hasOwnProperty;function pn(e){return e===void 0}function ci(e){return e!==void 0}function Wr(e){return e==null}function tt(e){return Vi.call(e)==="[object Array]"}function _t(e){return Vi.call(e)==="[object Object]"}function Dt(e){return Vi.call(e)==="[object Number]"}function qt(e){const t=Vi.call(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object AsyncGeneratorFunction]"||t==="[object Proxy]"}function it(e){return Vi.call(e)==="[object String]"}function pi(e,t){return!Wr(e)&&fp.call(e,t)}function st(e,t){const i=dn(t);let n;return O(e,function(r,o){if(i(r,o))return n=r,!1}),n}function mp(e,t){const i=dn(t);let n=tt(e)?-1:void 0;return O(e,function(r,o){if(i(r,o))return n=o,!1}),n}function di(e,t){const i=dn(t);let n=[];return O(e,function(r,o){i(r,o)&&n.push(r)}),n}function O(e,t){let i,n;if(pn(e))return;const r=tt(e)?Ap:yp;for(let o in e)if(pi(e,o)&&(i=e[o],n=t(i,r(o)),n===!1))return i}function hi(e,t,i){return O(e,function(n,r){i=t(i,n,r)}),i}function Yr(e,t){return!!hi(e,function(i,n,r){return i&&t(n,r)},!0)}function Zr(e,t){return!!st(e,t)}function gp(e,t){let i=[];return O(e,function(n,r){i.push(t(n,r))}),i}function Xr(e){return function(t){return Yr(e,function(i,n){return t[n]===i})}}function dn(e){return qt(e)?e:t=>t===e}function yp(e){return e}function Ap(e){return Number(e)}function kp(e,t){let i,n,r,o;function a(h){let g=Date.now(),E=h?0:o+t-g;if(E>0)return l(E);e.apply(r,n),d()}function l(h){i=setTimeout(a,h)}function d(){i&&clearTimeout(i),i=o=n=r=void 0}function u(){i&&a(!0),d()}function f(...h){o=Date.now(),n=h,r=this,i||l(t)}return f.flush=u,f.cancel=d,f}function vt(e,t){return e.bind(t)}function G(e,...t){return Object.assign(e,...t)}function Ep(e,t,i){let n=e;return O(t,function(r,o){if(typeof r!="number"&&typeof r!="string")throw new Error("illegal key type: "+typeof r+". Key should be of type number or string.");if(r==="constructor")throw new Error("illegal key: constructor");if(r==="__proto__")throw new Error("illegal key: __proto__");let a=t[o+1],l=n[r];ci(a)&&Wr(l)&&(l=n[r]=isNaN(+a)?{}:[]),pn(a)?pn(i)?delete n[r]:n[r]=i:n=l}),e}function bp(e,t){let i={},n=Object(e);return O(t,function(r){r in n&&(i[r]=e[r])}),i}function Cp(e,t){let i={},n=Object(e);return O(n,function(r,o){t.indexOf(o)===-1&&(i[o]=r)}),i}var wp=1e3;function yt(e,t){var i=this;t=t||wp,e.on(["render.shape","render.connection"],t,function(n,r){var o=n.type,a=r.element,l=r.gfx,d=r.attrs;if(i.canRender(a))return o==="render.shape"?i.drawShape(l,a,d):i.drawConnection(l,a,d)}),e.on(["render.getShapePath","render.getConnectionPath"],t,function(n,r){if(i.canRender(r))return n.type==="render.getShapePath"?i.getShapePath(r):i.getConnectionPath(r)})}yt.prototype.canRender=function(e){},yt.prototype.drawShape=function(e,t){},yt.prototype.drawConnection=function(e,t){},yt.prototype.getShapePath=function(e){},yt.prototype.getConnectionPath=function(e){};function Q(e,t){var i=le(e);return i&&typeof i.$instanceOf=="function"&&i.$instanceOf(t)}function Tp(e,t){return Zr(t,function(i){return Q(e,i)})}function le(e){return e&&e.businessObject||e}function Jt(e){return e&&e.di}function Ht(e,t){return Q(e,"bpmn:CallActivity")?!1:Q(e,"bpmn:SubProcess")?(t=t||Jt(e),t&&Q(t,"bpmndi:BPMNPlane")?!0:t&&!!t.isExpanded):Q(e,"bpmn:Participant")?!!le(e).processRef:!0}function $r(e){if(!(!Q(e,"bpmn:Participant")&&!Q(e,"bpmn:Lane"))){var t=Jt(e).isHorizontal;return t===void 0?!0:t}}function Bp(e){return e&&!!le(e).triggeredByEvent}function Np(e){return _t(e)&&pi(e,"waypoints")}var us={width:90,height:20},eo=15;function Ip(e){return Q(e,"bpmn:Event")||Q(e,"bpmn:Gateway")||Q(e,"bpmn:DataStoreReference")||Q(e,"bpmn:DataObjectReference")||Q(e,"bpmn:DataInput")||Q(e,"bpmn:DataOutput")||Q(e,"bpmn:SequenceFlow")||Q(e,"bpmn:MessageFlow")||Q(e,"bpmn:Group")}function xp(e){var t=e.length/2-1,i=e[Math.floor(t)],n=e[Math.ceil(t+.01)],r=Sp(e),o=Math.atan((n.y-i.y)/(n.x-i.x)),a=r.x,l=r.y;return Math.abs(o)<Math.PI/2?l-=eo:a+=eo,{x:a,y:l}}function Sp(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 Dp(e){return e.waypoints?xp(e.waypoints):Q(e,"bpmn:Group")?{x:e.x+e.width/2,y:e.y+us.height/2}:{x:e.x+e.width/2,y:e.y+e.height+us.height/2}}function vp(e,t){var i,n,r,o=e.label;return o&&o.bounds?(r=o.bounds,n={width:Math.max(us.width,r.width),height:r.height},i={x:r.x+r.width/2,y:r.y+r.height/2}):(i=Dp(t),n=us),G({x:i.x-n.width/2,y:i.y-n.height/2},n)}function Pp(e){if(Q(e,"bpmn:FlowElement")||Q(e,"bpmn:Participant")||Q(e,"bpmn:Lane")||Q(e,"bpmn:SequenceFlow")||Q(e,"bpmn:MessageFlow")||Q(e,"bpmn:DataInput")||Q(e,"bpmn:DataOutput"))return"name";if(Q(e,"bpmn:TextAnnotation"))return"text";if(Q(e,"bpmn:Group"))return"categoryValueRef"}function Mp(e){var t=e.categoryValueRef;return t&&t.value||""}function fs(e){var t=e.businessObject,i=Pp(t);if(i)return i==="categoryValueRef"?Mp(t):t[i]||""}function Vp(e,t){if(e.ownerDocument!==t.ownerDocument)try{return t.ownerDocument.importNode(e,!0)}catch{}return e}function to(e,t){return t.appendChild(Vp(e,t))}function Ae(e,t){return to(t,e),e}var hn=2,io={"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":hn,"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":hn,"text-anchor":1,"text-decoration":1,"text-rendering":1,"unicode-bidi":1,visibility:1,"word-spacing":1,"writing-mode":1};function Op(e,t){return io[t]?e.style[t]:e.getAttributeNS(null,t)}function so(e,t,i){var n=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r=io[n];r?(r===hn&&typeof i=="number"&&(i=String(i)+"px"),e.style[n]=i):e.setAttributeNS(null,t,i)}function Rp(e,t){var i=Object.keys(t),n,r;for(n=0,r;r=i[n];n++)so(e,r,t[r])}function ne(e,t,i){if(typeof t=="string")if(i!==void 0)so(e,t,i);else return Op(e,t);else Rp(e,t);return e}const Lp=Object.prototype.toString;function ct(e){return new Pt(e)}function Pt(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}Pt.prototype.add=function(e){return this.list.add(e),this},Pt.prototype.remove=function(e){return Lp.call(e)=="[object RegExp]"?this.removeMatching(e):(this.list.remove(e),this)},Pt.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},Pt.prototype.toggle=function(e,t){return typeof t<"u"?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this},Pt.prototype.array=function(){return Array.from(this.list)},Pt.prototype.has=Pt.prototype.contains=function(e){return this.list.contains(e)};function Fp(e){for(var t;t=e.firstChild;)e.removeChild(t);return e}var un={svg:"http://www.w3.org/2000/svg"},no='<svg xmlns="'+un.svg+'"';function ro(e){var t=!1;e.substring(0,4)==="<svg"?e.indexOf(un.svg)===-1&&(e=no+e.substring(4)):(e=no+">"+e+"</svg>",t=!0);var i=Qp(e);if(!t)return i;for(var n=document.createDocumentFragment(),r=i.firstChild;r.firstChild;)n.appendChild(r.firstChild);return n}function Qp(e){var t;return t=new DOMParser,t.async=!1,t.parseFromString(e,"text/xml")}function re(e,t){var i;return e=e.trim(),e.charAt(0)==="<"?(i=ro(e).firstChild,i=document.importNode(i,!0)):i=document.createElementNS(un.svg,e),t&&ne(i,t),i}var fn=null;function mn(){return fn===null&&(fn=re("svg")),fn}function oo(e,t){var i,n,r=Object.keys(t);for(i=0;n=r[i];i++)e[n]=t[n];return e}function Up(e,t,i,n,r,o){var a=mn().createSVGMatrix();switch(arguments.length){case 0:return a;case 1:return oo(a,e);case 6:return oo(a,{a:e,b:t,c:i,d:n,e:r,f:o})}}function Oi(e){return e?mn().createSVGTransformFromMatrix(e):mn().createSVGTransform()}var ao=/([&<>]{1})/g,jp=/([&<>\n\r"]{1})/g,Gp={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"'"};function gn(e,t){function i(n,r){return Gp[r]||r}return e.replace(t,i)}function lo(e,t){var i,n,r,o,a;switch(e.nodeType){case 3:t.push(gn(e.textContent,ao));break;case 1:if(t.push("<",e.tagName),e.hasAttributes())for(r=e.attributes,i=0,n=r.length;i<n;++i)o=r.item(i),t.push(" ",o.name,'="',gn(o.value,jp),'"');if(e.hasChildNodes()){for(t.push(">"),a=e.childNodes,i=0,n=a.length;i<n;++i)lo(a.item(i),t);t.push("</",e.tagName,">")}else t.push("/>");break;case 8:t.push("<!--",gn(e.nodeValue,ao),"-->");break;case 4:t.push("<![CDATA[",e.nodeValue,"]]>");break;default:throw new Error("unable to handle node "+e.nodeType)}return t}function _p(e,t){var i=ro(t);if(Fp(e),!!t){Jp(i)||(i=i.documentElement);for(var n=Hp(i.childNodes),r=0;r<n.length;r++)to(n[r],e)}}function qp(e){for(var t=e.firstChild,i=[];t;)lo(t,i),t=t.nextSibling;return i.join("")}function Jp(e){return e.nodeName==="#document-fragment"}function co(e,t){if(t!==void 0){try{_p(e,t)}catch(i){throw new Error("error parsing SVG: "+i.message)}return e}else return qp(e)}function Hp(e){return Array.prototype.slice.call(e)}function Ri(e){var t=e.parentNode;return t&&t.removeChild(e),e}function Kp(e,t){return t instanceof SVGMatrix?e.createSVGTransformFromMatrix(t):t}function zp(e,t){var i,n;for(e.clear(),i=0;n=t[i];i++)e.appendItem(Kp(e,n))}function Li(e,t){var i=e.transform.baseVal;return t&&(Array.isArray(t)||(t=[t]),zp(i,t)),i.consolidate()}function Kt(e){return e.flat().join(",").replace(/,?([A-Za-z]),?/g,"$1")}function Wp(e){return["M",e.x,e.y]}function yn(e){return["L",e.x,e.y]}function Yp(e,t,i){return["C",e.x,e.y,t.x,t.y,i.x,i.y]}function Zp(e,t){const i=e.length,n=[Wp(e[0])];for(let r=1;r<i;r++){const o=e[r-1],a=e[r],l=e[r+1];if(!l||!t){n.push(yn(a));continue}const d=Math.min(t,An(a.x-o.x,a.y-o.y),An(l.x-a.x,l.y-a.y));if(!d){n.push(yn(a));continue}const u=ms(a,o,d),f=ms(a,o,d*.5),h=ms(a,l,d),g=ms(a,l,d*.5);n.push(yn(u)),n.push(Yp(f,g,h))}return n}function ms(e,t,i){const n=t.x-e.x,r=t.y-e.y,o=An(n,r),a=i/o;return{x:e.x+n*a,y:e.y+r*a}}function An(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))}function kn(e,t,i){Dt(t)&&(i=t,t=null),t||(t={});const n=re("path",t);return Dt(i)&&(n.dataset.cornerRadius=String(i)),po(n,e)}function po(e,t){const i=parseInt(e.dataset.cornerRadius,10)||0;return ne(e,{d:Kt(Zp(t,i))}),e}var En="hsl(225, 10%, 15%)",Xp="white";function pt(e,t){return Zr(e.eventDefinitions,function(i){return i.$type===t})}function $p(e){return e.$type==="bpmn:IntermediateThrowEvent"||e.$type==="bpmn:EndEvent"}function ed(e){var t=e.dataObjectRef;return e.isCollection||t&&t.isCollection}function J(e,t,i){var n=Jt(e);return i||n.get("color:background-color")||n.get("bioc:fill")||t||Xp}function P(e,t,i){var n=Jt(e);return i||n.get("color:border-color")||n.get("bioc:stroke")||t||En}function Fi(e,t,i,n){var r=Jt(e),o=r.get("label");return n||o&&o.get("color:color")||t||P(e,i)}function td(e){var t=e.x+e.width/2,i=e.y+e.height/2,n=e.width/2,r=[["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 Kt(r)}function id(e,t){var i=e.x,n=e.y,r=e.width,o=e.height,a=[["M",i+t,n],["l",r-t*2,0],["a",t,t,0,0,1,t,t],["l",0,o-t*2],["a",t,t,0,0,1,-t,t],["l",t*2-r,0],["a",t,t,0,0,1,-t,-t],["l",0,t*2-o],["a",t,t,0,0,1,t,-t],["z"]];return Kt(a)}function sd(e){var t=e.width,i=e.height,n=e.x,r=e.y,o=t/2,a=i/2,l=[["M",n+o,r],["l",o,a],["l",-o,a],["l",-o,-a],["z"]];return Kt(l)}function nd(e){var t=e.x,i=e.y,n=e.width,r=e.height,o=[["M",t,i],["l",n,0],["l",0,r],["l",-n,0],["z"]];return Kt(o)}function Qi(e,t={}){return{width:ze(e,t),height:Ve(e,t)}}function ze(e,t={}){return pi(t,"width")?t.width:e.width}function Ve(e,t={}){return pi(t,"height")?t.height:e.height}function rd(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 r=Object.getOwnPropertyDescriptor(i,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return i[n]}})}})}),Object.freeze(e)}const od=Object.prototype.toString,ad=Object.prototype.hasOwnProperty;function ld(e){return e===void 0}function cd(e){return od.call(e)==="[object Array]"}function pd(e,t){return ad.call(e,t)}function ho(e,t){let i,n;if(ld(e))return;const r=cd(e)?hd:dd;for(let o in e)if(pd(e,o)&&(i=e[o],n=t(i,r(o)),n===!1))return i}function dd(e){return e}function hd(e){return Number(e)}function we(e,...t){const i=e.style;return ho(t,function(n){!n||ho(n,function(r,o){i[o]=r})}),e}function bn(e,t,i){return arguments.length==2?e.getAttribute(t):i===null?e.removeAttribute(t):(e.setAttribute(t,i),e)}const ud=Object.prototype.toString;function zt(e){return new Mt(e)}function Mt(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}Mt.prototype.add=function(e){return this.list.add(e),this},Mt.prototype.remove=function(e){return ud.call(e)=="[object RegExp]"?this.removeMatching(e):(this.list.remove(e),this)},Mt.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},Mt.prototype.toggle=function(e,t){return typeof t<"u"?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this},Mt.prototype.array=function(){return Array.from(this.list)},Mt.prototype.has=Mt.prototype.contains=function(e){return this.list.contains(e)};function uo(e){for(var t;t=e.firstChild;)e.removeChild(t);return e}function fo(e,t,i){var n=i?e:e.parentNode;return n&&typeof n.closest=="function"&&n.closest(t)||null}var gs={},ys,Cn,wn;function mo(){ys=window.addEventListener?"addEventListener":"attachEvent",Cn=window.removeEventListener?"removeEventListener":"detachEvent",wn=ys!=="addEventListener"?"on":""}var fd=gs.bind=function(e,t,i,n){return ys||mo(),e[ys](wn+t,i,n||!1),i},md=gs.unbind=function(e,t,i,n){return Cn||mo(),e[Cn](wn+t,i,n||!1),i},Wt=rd({__proto__:null,bind:fd,unbind:md,default:gs},[gs]),go=["focus","blur"];function gd(e,t,i,n,r){return go.indexOf(i)!==-1&&(r=!0),Wt.bind(e,i,function(o){var a=o.target||o.srcElement;o.delegateTarget=fo(a,t,!0),o.delegateTarget&&n.call(e,o)},r)}function yd(e,t,i,n){return go.indexOf(t)!==-1&&(n=!0),Wt.unbind(e,t,i,n)}var ui={bind:gd,unbind:yd},Ad=kd,yo=!1,As;typeof document<"u"&&(As=document.createElement("div"),As.innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',yo=!As.getElementsByTagName("link").length,As=void 0);var me={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:yo?[1,"X<div>","</div>"]:[0,"",""]};me.td=me.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],me.option=me.optgroup=[1,'<select multiple="multiple">',"</select>"],me.thead=me.tbody=me.colgroup=me.caption=me.tfoot=[1,"<table>","</table>"],me.polyline=me.ellipse=me.polygon=me.circle=me.text=me.line=me.path=me.rect=me.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"];function kd(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 d=t.createElement("html");return d.innerHTML=e,d.removeChild(d.lastChild)}var r=Object.prototype.hasOwnProperty.call(me,n)?me[n]:me._default,o=r[0],a=r[1],l=r[2],d=t.createElement("div");for(d.innerHTML=a+e+l;o--;)d=d.lastChild;if(d.firstChild==d.lastChild)return d.removeChild(d.firstChild);for(var u=t.createDocumentFragment();d.firstChild;)u.appendChild(d.removeChild(d.firstChild));return u}var Fe=Ad;function At(e,t){return t=t||document,t.querySelector(e)}function Ed(e,t){return t=t||document,t.querySelectorAll(e)}function fi(e){e.parentNode&&e.parentNode.removeChild(e)}function Tn(e,t,i,n,r){var o=Oi();o.setTranslate(t,i);var a=Oi();a.setRotate(n||0,0,0);var l=Oi();l.setScale(r||1,r||1),Li(e,[o,a,l])}function Ao(e,t,i){var n=Oi();n.setTranslate(t,i),Li(e,n)}function bd(e,t){var i=Oi();i.setRotate(t,0,0),Li(e,i)}function Cd(e,t){return t={exports:{}},e(t,t.exports),t.exports}var wd=Cd(function(e){var t=e.exports=function(i,n){if(n||(n=16),i===void 0&&(i=128),i<=0)return"0";for(var r=Math.log(Math.pow(2,i))/Math.log(n),o=2;r===1/0;o*=2)r=Math.log(Math.pow(2,i/o))/Math.log(n)*o;for(var a=r-Math.floor(r),l="",o=0;o<Math.floor(r);o++){var d=Math.floor(Math.random()*n).toString(n);l=d+l}if(a){var u=Math.pow(n,a),d=Math.floor(Math.random()*u).toString(n);l=d+l}var f=parseInt(l,n);return f!==1/0&&f>=Math.pow(2,i)?t(i,n):l};t.rack=function(i,n,r){var o=function(l){var d=0;do{if(d++>10)if(r)i+=r;else throw new Error("too many ID collisions, use more bits");var u=t(i,n)}while(Object.hasOwnProperty.call(a,u));return a[u]=l,u},a=o.hats={};return o.get=function(l){return o.hats[l]},o.set=function(l,d){return o.hats[l]=d,o},o.bits=i||128,o.base=n||16,o}});function kt(e){if(!(this instanceof kt))return new kt(e);e=e||[128,36,1],this._seed=e.length?wd.rack(e[0],e[1],e[2]):e}kt.prototype.next=function(e){return this._seed(e||!0)},kt.prototype.nextPrefixed=function(e,t){var i;do i=e+this.next(!0);while(this.assigned(i));return this.claim(i,t),i},kt.prototype.claim=function(e,t){this._seed.set(e,t||!0)},kt.prototype.assigned=function(e){return this._seed.get(e)||!1},kt.prototype.unclaim=function(e){delete this._seed.hats[e]},kt.prototype.clear=function(){var e=this._seed.hats,t;for(t in e)this.unclaim(t)};var Td=new kt,Bd=10,ks=3,Nd=1.5,Es=10,mi=.95,Id=1,xd=.25;function Yt(e,t,i,n,r,o,a){yt.call(this,t,a);var l=e&&e.defaultFillColor,d=e&&e.defaultStrokeColor,u=e&&e.defaultLabelColor;function f(m){return i.computeStyle(m,{strokeLinecap:"round",strokeLinejoin:"round",stroke:En,strokeWidth:2,fill:"white"})}function h(m){return i.computeStyle(m,["no-fill"],{strokeLinecap:"round",strokeLinejoin:"round",stroke:En,strokeWidth:2})}function g(m,p){var{ref:c={x:0,y:0},scale:y=1,element:k,parentGfx:b=r._svg}=p,N=re("marker",{id:m,viewBox:"0 0 20 20",refX:c.x,refY:c.y,markerWidth:20*y,markerHeight:20*y,orient:"auto"});Ae(N,k);var F=At(":scope > defs",b);F||(F=re("defs"),Ae(b,F)),Ae(F,N)}function E(m,p,c,y){var k=Td.nextPrefixed("marker-");return I(m,k,p,c,y),"url(#"+k+")"}function I(m,p,c,y,k){if(c==="sequenceflow-end"){var b=re("path",{d:"M 1 5 L 11 10 L 1 15 Z",...f({fill:k,stroke:k,strokeWidth:1})});g(p,{element:b,ref:{x:11,y:10},scale:.5,parentGfx:m})}if(c==="messageflow-start"){var N=re("circle",{cx:6,cy:6,r:3.5,...f({fill:y,stroke:k,strokeWidth:1,strokeDasharray:[1e4,1]})});g(p,{element:N,ref:{x:6,y:6},parentGfx:m})}if(c==="messageflow-end"){var F=re("path",{d:"m 1 5 l 0 -3 l 7 3 l -7 3 z",...f({fill:y,stroke:k,strokeWidth:1,strokeDasharray:[1e4,1]})});g(p,{element:F,ref:{x:8.5,y:5},parentGfx:m})}if(c==="association-start"){var W=re("path",{d:"M 11 5 L 1 10 L 11 15",...h({fill:"none",stroke:k,strokeWidth:1.5,strokeDasharray:[1e4,1]})});g(p,{element:W,ref:{x:1,y:10},scale:.5,parentGfx:m})}if(c==="association-end"){var ge=re("path",{d:"M 1 5 L 11 10 L 1 15",...h({fill:"none",stroke:k,strokeWidth:1.5,strokeDasharray:[1e4,1]})});g(p,{element:ge,ref:{x:11,y:10},scale:.5,parentGfx:m})}if(c==="conditional-flow-marker"){var de=re("path",{d:"M 0 10 L 8 6 L 16 10 L 8 14 Z",...f({fill:y,stroke:k})});g(p,{element:de,ref:{x:-1,y:10},scale:.5,parentGfx:m})}if(c==="conditional-default-flow-marker"){var Ee=re("path",{d:"M 6 4 L 10 16",...f({stroke:k,fill:"none"})});g(p,{element:Ee,ref:{x:0,y:10},scale:.5,parentGfx:m})}}function v(m,p,c,y,k={}){_t(y)&&(k=y,y=0),y=y||0,k=f(k);var b=p/2,N=c/2,F=re("circle",{cx:b,cy:N,r:Math.round((p+c)/4-y),...k});return Ae(m,F),F}function H(m,p,c,y,k,b){_t(k)&&(b=k,k=0),k=k||0,b=f(b);var N=re("rect",{x:k,y:k,width:p-k*2,height:c-k*2,rx:y,ry:y,...b});return Ae(m,N),N}function X(m,p,c,y){var k=p/2,b=c/2,N=[{x:k,y:0},{x:p,y:b},{x:k,y:c},{x:0,y:b}],F=N.map(function(ge){return ge.x+","+ge.y}).join(" ");y=f(y);var W=re("polygon",{...y,points:F});return Ae(m,W),W}function K(m,p,c,y){c=h(c);var k=kn(p,c,y);return Ae(m,k),k}function x(m,p,c){return K(m,p,c,5)}function A(m,p,c){c=h(c);var y=re("path",{...c,d:p});return Ae(m,y),y}function w(m,p,c,y){return A(p,c,G({"data-marker":m},y))}function S(m){return Ge[m]}function U(m){return function(p,c,y){return S(m)(p,c,y)}}var C={"bpmn:MessageEventDefinition":function(m,p,c={},y){var k=n.getScaledPath("EVENT_MESSAGE",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:c.width||p.width,containerHeight:c.height||p.height,position:{mx:.235,my:.315}}),b=y?P(p,d,c.stroke):J(p,l,c.fill),N=y?J(p,l,c.fill):P(p,d,c.stroke),F=A(m,k,{fill:b,stroke:N,strokeWidth:1});return F},"bpmn:TimerEventDefinition":function(m,p,c={}){var y=c.width||p.width,k=c.height||p.height,b=c.width?1:2,N=v(m,y,k,.2*k,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:b}),F=n.getScaledPath("EVENT_TIMER_WH",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:y,containerHeight:k,position:{mx:.5,my:.5}});A(m,F,{stroke:P(p,d,c.stroke),strokeWidth:b});for(var W=0;W<12;W++){var ge=n.getScaledPath("EVENT_TIMER_LINE",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:y,containerHeight:k,position:{mx:.5,my:.5}}),de=y/2,Ee=k/2;A(m,ge,{strokeWidth:1,stroke:P(p,d,c.stroke),transform:"rotate("+W*30+","+Ee+","+de+")"})}return N},"bpmn:EscalationEventDefinition":function(m,p,c={},y){var k=n.getScaledPath("EVENT_ESCALATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width||p.width,containerHeight:c.height||p.height,position:{mx:.5,my:.2}}),b=y?P(p,d,c.stroke):J(p,l,c.fill);return A(m,k,{fill:b,stroke:P(p,d,c.stroke),strokeWidth:1})},"bpmn:ConditionalEventDefinition":function(m,p,c={}){var y=n.getScaledPath("EVENT_CONDITIONAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width||p.width,containerHeight:c.height||p.height,position:{mx:.5,my:.222}});return A(m,y,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:1})},"bpmn:LinkEventDefinition":function(m,p,c={},y){var k=n.getScaledPath("EVENT_LINK",{xScaleFactor:1,yScaleFactor:1,containerWidth:p.width,containerHeight:p.height,position:{mx:.57,my:.263}}),b=y?P(p,d,c.stroke):J(p,l,c.fill);return A(m,k,{fill:b,stroke:P(p,d,c.stroke),strokeWidth:1})},"bpmn:ErrorEventDefinition":function(m,p,c={},y){var k=n.getScaledPath("EVENT_ERROR",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:c.width||p.width,containerHeight:c.height||p.height,position:{mx:.2,my:.722}}),b=y?P(p,d,c.stroke):J(p,l,c.fill);return A(m,k,{fill:b,stroke:P(p,d,c.stroke),strokeWidth:1})},"bpmn:CancelEventDefinition":function(m,p,c={},y){var k=n.getScaledPath("EVENT_CANCEL_45",{xScaleFactor:1,yScaleFactor:1,containerWidth:p.width,containerHeight:p.height,position:{mx:.638,my:-.055}}),b=y?P(p,d,c.stroke):"none",N=A(m,k,{fill:b,stroke:P(p,d,c.stroke),strokeWidth:1});return bd(N,45),N},"bpmn:CompensateEventDefinition":function(m,p,c={},y){var k=n.getScaledPath("EVENT_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width||p.width,containerHeight:c.height||p.height,position:{mx:.22,my:.5}}),b=y?P(p,d,c.stroke):J(p,l,c.fill);return A(m,k,{fill:b,stroke:P(p,d,c.stroke),strokeWidth:1})},"bpmn:SignalEventDefinition":function(m,p,c={},y){var k=n.getScaledPath("EVENT_SIGNAL",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:c.width||p.width,containerHeight:c.height||p.height,position:{mx:.5,my:.2}}),b=y?P(p,d,c.stroke):J(p,l,c.fill);return A(m,k,{strokeWidth:1,fill:b,stroke:P(p,d,c.stroke)})},"bpmn:MultipleEventDefinition":function(m,p,c={},y){var k=n.getScaledPath("EVENT_MULTIPLE",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:c.width||p.width,containerHeight:c.height||p.height,position:{mx:.211,my:.36}}),b=y?P(p,d,c.stroke):J(p,l,c.fill);return A(m,k,{fill:b,stroke:P(p,d,c.stroke),strokeWidth:1})},"bpmn:ParallelMultipleEventDefinition":function(m,p,c={}){var y=n.getScaledPath("EVENT_PARALLEL_MULTIPLE",{xScaleFactor:1.2,yScaleFactor:1.2,containerWidth:c.width||p.width,containerHeight:c.height||p.height,position:{mx:.458,my:.194}});return A(m,y,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:1})},"bpmn:TerminateEventDefinition":function(m,p,c={}){var y=v(m,p.width,p.height,8,{fill:P(p,d,c.stroke),stroke:P(p,d,c.stroke),strokeWidth:4});return y}};function M(m,p,c={},y){var k=le(m),b=$p(k),N=y||m;return k.get("eventDefinitions")&&k.get("eventDefinitions").length>1?k.get("parallelMultiple")?C["bpmn:ParallelMultipleEventDefinition"](p,N,c,b):C["bpmn:MultipleEventDefinition"](p,N,c,b):pt(k,"bpmn:MessageEventDefinition")?C["bpmn:MessageEventDefinition"](p,N,c,b):pt(k,"bpmn:TimerEventDefinition")?C["bpmn:TimerEventDefinition"](p,N,c,b):pt(k,"bpmn:ConditionalEventDefinition")?C["bpmn:ConditionalEventDefinition"](p,N,c,b):pt(k,"bpmn:SignalEventDefinition")?C["bpmn:SignalEventDefinition"](p,N,c,b):pt(k,"bpmn:EscalationEventDefinition")?C["bpmn:EscalationEventDefinition"](p,N,c,b):pt(k,"bpmn:LinkEventDefinition")?C["bpmn:LinkEventDefinition"](p,N,c,b):pt(k,"bpmn:ErrorEventDefinition")?C["bpmn:ErrorEventDefinition"](p,N,c,b):pt(k,"bpmn:CancelEventDefinition")?C["bpmn:CancelEventDefinition"](p,N,c,b):pt(k,"bpmn:CompensateEventDefinition")?C["bpmn:CompensateEventDefinition"](p,N,c,b):pt(k,"bpmn:TerminateEventDefinition")?C["bpmn:TerminateEventDefinition"](p,N,c,b):null}var D={ParticipantMultiplicityMarker:function(m,p,c={}){var y=ze(p,c),k=Ve(p,c),b=n.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:y,containerHeight:k,position:{mx:(y/2-6)/y,my:(k-15)/k}});w("participant-multiplicity",m,b,{strokeWidth:2,fill:J(p,l,c.fill),stroke:P(p,d,c.stroke)})},SubProcessMarker:function(m,p,c={}){var y=H(m,14,14,0,{strokeWidth:1,fill:J(p,l,c.fill),stroke:P(p,d,c.stroke)});Ao(y,p.width/2-7.5,p.height-20);var k=n.getScaledPath("MARKER_SUB_PROCESS",{xScaleFactor:1.5,yScaleFactor:1.5,containerWidth:p.width,containerHeight:p.height,position:{mx:(p.width/2-7.5)/p.width,my:(p.height-20)/p.height}});w("sub-process",m,k,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke)})},ParallelMarker:function(m,p,c){var y=ze(p,c),k=Ve(p,c),b=n.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:y,containerHeight:k,position:{mx:(y/2+c.parallel)/y,my:(k-20)/k}});w("parallel",m,b,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke)})},SequentialMarker:function(m,p,c){var y=n.getScaledPath("MARKER_SEQUENTIAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:p.width,containerHeight:p.height,position:{mx:(p.width/2+c.seq)/p.width,my:(p.height-19)/p.height}});w("sequential",m,y,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke)})},CompensationMarker:function(m,p,c){var y=n.getScaledPath("MARKER_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:p.width,containerHeight:p.height,position:{mx:(p.width/2+c.compensation)/p.width,my:(p.height-13)/p.height}});w("compensation",m,y,{strokeWidth:1,fill:J(p,l,c.fill),stroke:P(p,d,c.stroke)})},LoopMarker:function(m,p,c){var y=ze(p,c),k=Ve(p,c),b=n.getScaledPath("MARKER_LOOP",{xScaleFactor:1,yScaleFactor:1,containerWidth:y,containerHeight:k,position:{mx:(y/2+c.loop)/y,my:(k-7)/k}});w("loop",m,b,{strokeWidth:1.5,fill:"none",stroke:P(p,d,c.stroke),strokeMiterlimit:.5})},AdhocMarker:function(m,p,c){var y=ze(p,c),k=Ve(p,c),b=n.getScaledPath("MARKER_ADHOC",{xScaleFactor:1,yScaleFactor:1,containerWidth:y,containerHeight:k,position:{mx:(y/2+c.adhoc)/y,my:(k-15)/k}});w("adhoc",m,b,{strokeWidth:1,fill:P(p,d,c.stroke),stroke:P(p,d,c.stroke)})}};function L(m,p,c,y){D[m](p,c,y)}function V(m,p,c=[],y={}){y={fill:y.fill,stroke:y.stroke,width:ze(p,y),height:Ve(p,y)};var k=le(p),b=c.includes("SubProcessMarker");b?y={...y,seq:-21,parallel:-22,compensation:-25,loop:-18,adhoc:10}:y={...y,seq:-5,parallel:-6,compensation:-7,loop:0,adhoc:-8},k.get("isForCompensation")&&c.push("CompensationMarker"),Q(k,"bpmn:AdHocSubProcess")&&(c.push("AdhocMarker"),b||G(y,{compensation:y.compensation-18}));var N=k.get("loopCharacteristics"),F=N&&N.get("isSequential");N&&(G(y,{compensation:y.compensation-18}),c.includes("AdhocMarker")&&G(y,{seq:-23,loop:-18,parallel:-24}),F===void 0&&c.push("LoopMarker"),F===!1&&c.push("ParallelMarker"),F===!0&&c.push("SequentialMarker")),c.includes("CompensationMarker")&&c.length===1&&G(y,{compensation:-8}),O(c,function(W){L(W,m,p,y)})}function R(m,p,c={}){c=G({size:{width:100}},c);var y=o.createText(p||"",c);return ct(y).add("djs-label"),Ae(m,y),y}function z(m,p,c,y={}){var k=le(p),b=Qi({x:p.x,y:p.y,width:p.width,height:p.height},y);return R(m,k.name,{align:c,box:b,padding:7,style:{fill:Fi(p,u,d,y.stroke)}})}function ut(m,p,c={}){var y={width:90,height:30,x:p.width/2+p.x,y:p.height/2+p.y};return R(m,fs(p),{box:y,fitBox:!0,style:G({},o.getExternalStyle(),{fill:Fi(p,u,d,c.stroke)})})}function oe(m,p,c,y={}){var k=$r(c),b=R(m,p,{box:{height:30,width:k?Ve(c,y):ze(c,y)},align:"center-middle",style:{fill:Fi(c,u,d,y.stroke)}});if(k){var N=-1*Ve(c,y);Tn(b,0,-N,270)}}function Z(m,p,c={}){var{width:y,height:k}=Qi(p,c);return H(m,y,k,Es,{...c,fill:J(p,l,c.fill),fillOpacity:mi,stroke:P(p,d,c.stroke)})}function rt(m,p,c={}){var y=le(p),k=J(p,l,c.fill),b=P(p,d,c.stroke);return(y.get("associationDirection")==="One"||y.get("associationDirection")==="Both")&&(c.markerEnd=E(m,"association-end",k,b)),y.get("associationDirection")==="Both"&&(c.markerStart=E(m,"association-start",k,b)),c=Y(c,["markerStart","markerEnd"]),x(m,p.waypoints,{...c,stroke:b,strokeDasharray:"0, 5"})}function ot(m,p,c={}){var y=J(p,l,c.fill),k=P(p,d,c.stroke),b=n.getScaledPath("DATA_OBJECT_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:p.width,containerHeight:p.height,position:{mx:.474,my:.296}}),N=A(m,b,{fill:y,fillOpacity:mi,stroke:k}),F=le(p);if(ed(F)){var W=n.getScaledPath("DATA_OBJECT_COLLECTION_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:p.width,containerHeight:p.height,position:{mx:.33,my:(p.height-18)/p.height}});A(m,W,{strokeWidth:2,fill:y,stroke:k})}return N}function fe(m,p,c={}){return v(m,p.width,p.height,{fillOpacity:mi,...c,fill:J(p,l,c.fill),stroke:P(p,d,c.stroke)})}function Ze(m,p,c={}){return X(m,p.width,p.height,{fill:J(p,l,c.fill),fillOpacity:mi,stroke:P(p,d,c.stroke)})}function T(m,p,c={}){var y=H(m,ze(p,c),Ve(p,c),0,{fill:J(p,l,c.fill),fillOpacity:c.fillOpacity||mi,stroke:P(p,d,c.stroke),strokeWidth:1.5}),k=le(p);if(Q(k,"bpmn:Lane")){var b=k.get("name");oe(m,b,p,c)}return y}function B(m,p,c={}){var y=Z(m,p,c),k=Ht(p);if(Bp(p)&&(ne(y,{strokeDasharray:"0, 5.5",strokeWidth:2.5}),!k)){var b=le(p).flowElements||[],N=b.filter(F=>Q(F,"bpmn:StartEvent"));N.length===1&&j(N[0],m,c,p)}return z(m,p,k?"center-top":"center-middle",c),k?V(m,p,void 0,c):V(m,p,["SubProcessMarker"],c),y}function j(m,p,c,y){var k=22,b={fill:J(y,l,c.fill),stroke:P(y,d,c.stroke),width:k,height:k},N=le(m).isInterrupting,F=N?0:3,W=N?1:1.2,ge=20,de=(k-ge)/2,Ee="translate("+de+","+de+")";v(p,ge,ge,{fill:b.fill,stroke:b.stroke,strokeWidth:W,strokeDasharray:F,transform:Ee}),M(m,p,b,y)}function te(m,p,c={}){var y=Z(m,p,c);return z(m,p,"center-middle",c),V(m,p,void 0,c),y}var Ge=this.handlers={"bpmn:AdHocSubProcess":function(m,p,c={}){return Ht(p)?c=Y(c,["fill","stroke","width","height"]):c=Y(c,["fill","stroke"]),B(m,p,c)},"bpmn:Association":function(m,p,c={}){return c=Y(c,["fill","stroke"]),rt(m,p,c)},"bpmn:BoundaryEvent":function(m,p,c={}){var{renderIcon:y=!0}=c;c=Y(c,["fill","stroke"]);var k=le(p),b=k.get("cancelActivity");c={strokeWidth:1.5,fill:J(p,l,c.fill),fillOpacity:Id,stroke:P(p,d,c.stroke)},b||(c.strokeDasharray="6");var N=fe(m,p,c);return v(m,p.width,p.height,ks,{...c,fill:"none"}),y&&M(p,m,c),N},"bpmn:BusinessRuleTask":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=te(m,p,c),k=n.getScaledPath("TASK_TYPE_BUSINESS_RULE_MAIN",{abspos:{x:8,y:8}}),b=A(m,k);ne(b,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:1});var N=n.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER",{abspos:{x:8,y:8}}),F=A(m,N);return ne(F,{fill:P(p,d,c.stroke),stroke:P(p,d,c.stroke),strokeWidth:1}),y},"bpmn:CallActivity":function(m,p,c={}){return c=Y(c,["fill","stroke"]),B(m,p,{strokeWidth:5,...c})},"bpmn:ComplexGateway":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=Ze(m,p,c),k=n.getScaledPath("GATEWAY_COMPLEX",{xScaleFactor:.5,yScaleFactor:.5,containerWidth:p.width,containerHeight:p.height,position:{mx:.46,my:.26}});return A(m,k,{fill:P(p,d,c.stroke),stroke:P(p,d,c.stroke),strokeWidth:1}),y},"bpmn:DataInput":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=n.getRawPath("DATA_ARROW"),k=ot(m,p,c);return A(m,y,{fill:"none",stroke:P(p,d,c.stroke),strokeWidth:1}),k},"bpmn:DataInputAssociation":function(m,p,c={}){return c=Y(c,["fill","stroke"]),rt(m,p,{...c,markerEnd:E(m,"association-end",J(p,l,c.fill),P(p,d,c.stroke))})},"bpmn:DataObject":function(m,p,c={}){return c=Y(c,["fill","stroke"]),ot(m,p,c)},"bpmn:DataObjectReference":U("bpmn:DataObject"),"bpmn:DataOutput":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=n.getRawPath("DATA_ARROW"),k=ot(m,p,c);return A(m,y,{strokeWidth:1,fill:J(p,l,c.fill),stroke:P(p,d,c.stroke)}),k},"bpmn:DataOutputAssociation":function(m,p,c={}){return c=Y(c,["fill","stroke"]),rt(m,p,{...c,markerEnd:E(m,"association-end",J(p,l,c.fill),P(p,d,c.stroke))})},"bpmn:DataStoreReference":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=n.getScaledPath("DATA_STORE",{xScaleFactor:1,yScaleFactor:1,containerWidth:p.width,containerHeight:p.height,position:{mx:0,my:.133}});return A(m,y,{fill:J(p,l,c.fill),fillOpacity:mi,stroke:P(p,d,c.stroke),strokeWidth:2})},"bpmn:EndEvent":function(m,p,c={}){var{renderIcon:y=!0}=c;c=Y(c,["fill","stroke"]);var k=fe(m,p,{...c,strokeWidth:4});return y&&M(p,m,c),k},"bpmn:EventBasedGateway":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=le(p),k=Ze(m,p,c);v(m,p.width,p.height,p.height*.2,{fill:J(p,"none",c.fill),stroke:P(p,d,c.stroke),strokeWidth:1});var b=y.get("eventGatewayType"),N=!!y.get("instantiate");function F(){var ge=n.getScaledPath("GATEWAY_EVENT_BASED",{xScaleFactor:.18,yScaleFactor:.18,containerWidth:p.width,containerHeight:p.height,position:{mx:.36,my:.44}});A(m,ge,{fill:"none",stroke:P(p,d,c.stroke),strokeWidth:2})}if(b==="Parallel"){var W=n.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:p.width,containerHeight:p.height,position:{mx:.474,my:.296}});A(m,W,{fill:"none",stroke:P(p,d,c.stroke),strokeWidth:1})}else b==="Exclusive"&&(N||v(m,p.width,p.height,p.height*.26,{fill:"none",stroke:P(p,d,c.stroke),strokeWidth:1}),F());return k},"bpmn:ExclusiveGateway":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=Ze(m,p,c),k=n.getScaledPath("GATEWAY_EXCLUSIVE",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:p.width,containerHeight:p.height,position:{mx:.32,my:.3}}),b=Jt(p);return b.get("isMarkerVisible")&&A(m,k,{fill:P(p,d,c.stroke),stroke:P(p,d,c.stroke),strokeWidth:1}),y},"bpmn:Gateway":function(m,p,c={}){return c=Y(c,["fill","stroke"]),Ze(m,p,c)},"bpmn:Group":function(m,p,c={}){return c=Y(c,["fill","stroke","width","height"]),H(m,p.width,p.height,Es,{stroke:P(p,d,c.stroke),strokeWidth:1.5,strokeDasharray:"10, 6, 0, 6",fill:"none",pointerEvents:"none",width:ze(p,c),height:Ve(p,c)})},"bpmn:InclusiveGateway":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=Ze(m,p,c);return v(m,p.width,p.height,p.height*.24,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:2.5}),y},"bpmn:IntermediateEvent":function(m,p,c={}){var{renderIcon:y=!0}=c;c=Y(c,["fill","stroke"]);var k=fe(m,p,{...c,strokeWidth:1.5});return v(m,p.width,p.height,ks,{fill:"none",stroke:P(p,d,c.stroke),strokeWidth:1.5}),y&&M(p,m,c),k},"bpmn:IntermediateCatchEvent":U("bpmn:IntermediateEvent"),"bpmn:IntermediateThrowEvent":U("bpmn:IntermediateEvent"),"bpmn:Lane":function(m,p,c={}){return c=Y(c,["fill","stroke","width","height"]),T(m,p,{...c,fillOpacity:xd})},"bpmn:ManualTask":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=te(m,p,c),k=n.getScaledPath("TASK_TYPE_MANUAL",{abspos:{x:17,y:15}});return A(m,k,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:.5}),y},"bpmn:MessageFlow":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=le(p),k=Jt(p),b=J(p,l,c.fill),N=P(p,d,c.stroke),F=x(m,p.waypoints,{markerEnd:E(m,"messageflow-end",b,N),markerStart:E(m,"messageflow-start",b,N),stroke:N,strokeDasharray:"10, 11",strokeWidth:1.5});if(y.get("messageRef")){var W=F.getPointAtLength(F.getTotalLength()/2),ge=n.getScaledPath("MESSAGE_FLOW_MARKER",{abspos:{x:W.x,y:W.y}}),de={strokeWidth:1};k.get("messageVisibleKind")==="initiating"?(de.fill=b,de.stroke=N):(de.fill=N,de.stroke=b);var Ee=A(m,ge,de),Xe=y.get("messageRef"),ie=Xe.get("name"),wt=R(m,ie,{align:"center-top",fitBox:!0,style:{fill:N}}),Os=Ee.getBBox(),_e=wt.getBBox(),q=W.x-_e.width/2,ee=W.y+Os.height/2+Bd;Tn(wt,q,ee,0)}return F},"bpmn:ParallelGateway":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=Ze(m,p,c),k=n.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.6,yScaleFactor:.6,containerWidth:p.width,containerHeight:p.height,position:{mx:.46,my:.2}});return A(m,k,{fill:P(p,d,c.stroke),stroke:P(p,d,c.stroke),strokeWidth:1}),y},"bpmn:Participant":function(m,p,c={}){c=Y(c,["fill","stroke","width","height"]);var y=T(m,p,c),k=Ht(p),b=$r(p),N=le(p),F=N.get("name");if(k){var W=b?[{x:30,y:0},{x:30,y:Ve(p,c)}]:[{x:0,y:30},{x:ze(p,c),y:30}];K(m,W,{stroke:P(p,d,c.stroke),strokeWidth:Nd}),oe(m,F,p,c)}else{var ge=Qi(p,c);b||(ge.height=ze(p,c),ge.width=Ve(p,c));var de=R(m,F,{box:ge,align:"center-middle",style:{fill:Fi(p,u,d,c.stroke)}});if(!b){var Ee=-1*Ve(p,c);Tn(de,0,-Ee,270)}}return N.get("participantMultiplicity")&&L("ParticipantMultiplicityMarker",m,p,c),y},"bpmn:ReceiveTask":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=le(p),k=te(m,p,c),b;return y.get("instantiate")?(v(m,28,28,20*.22,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:1}),b=n.getScaledPath("TASK_TYPE_INSTANTIATING_SEND",{abspos:{x:7.77,y:9.52}})):b=n.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:21,containerHeight:14,position:{mx:.3,my:.4}}),A(m,b,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:1}),k},"bpmn:ScriptTask":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=te(m,p,c),k=n.getScaledPath("TASK_TYPE_SCRIPT",{abspos:{x:15,y:20}});return A(m,k,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:1}),y},"bpmn:SendTask":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=te(m,p,c),k=n.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:1,yScaleFactor:1,containerWidth:21,containerHeight:14,position:{mx:.285,my:.357}});return A(m,k,{fill:P(p,d,c.stroke),stroke:J(p,l,c.fill),strokeWidth:1}),y},"bpmn:SequenceFlow":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=J(p,l,c.fill),k=P(p,d,c.stroke),b=x(m,p.waypoints,{markerEnd:E(m,"sequenceflow-end",y,k),stroke:k}),N=le(p),{source:F}=p;if(F){var W=le(F);N.get("conditionExpression")&&Q(W,"bpmn:Activity")&&ne(b,{markerStart:E(m,"conditional-flow-marker",y,k)}),W.get("default")&&(Q(W,"bpmn:Gateway")||Q(W,"bpmn:Activity"))&&W.get("default")===N&&ne(b,{markerStart:E(m,"conditional-default-flow-marker",y,k)})}return b},"bpmn:ServiceTask":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=te(m,p,c);v(m,10,10,{fill:J(p,l,c.fill),stroke:"none",transform:"translate(6, 6)"});var k=n.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:12,y:18}});A(m,k,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:1}),v(m,10,10,{fill:J(p,l,c.fill),stroke:"none",transform:"translate(11, 10)"});var b=n.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:17,y:22}});return A(m,b,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:1}),y},"bpmn:StartEvent":function(m,p,c={}){var{renderIcon:y=!0}=c;c=Y(c,["fill","stroke"]);var k=le(p);k.get("isInterrupting")||(c={...c,strokeDasharray:"6"});var b=fe(m,p,c);return y&&M(p,m,c),b},"bpmn:SubProcess":function(m,p,c={}){return Ht(p)?c=Y(c,["fill","stroke","width","height"]):c=Y(c,["fill","stroke"]),B(m,p,c)},"bpmn:Task":function(m,p,c={}){return c=Y(c,["fill","stroke"]),te(m,p,c)},"bpmn:TextAnnotation":function(m,p,c={}){c=Y(c,["fill","stroke","width","height"]);var{width:y,height:k}=Qi(p,c),b=H(m,y,k,0,0,{fill:"none",stroke:"none"}),N=n.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:y,containerHeight:k,position:{mx:0,my:0}});A(m,N,{stroke:P(p,d,c.stroke)});var F=le(p),W=F.get("text")||"";return R(m,W,{align:"left-top",box:Qi(p,c),padding:7,style:{fill:Fi(p,u,d,c.stroke)}}),b},"bpmn:Transaction":function(m,p,c={}){Ht(p)?c=Y(c,["fill","stroke","width","height"]):c=Y(c,["fill","stroke"]);var y=B(m,p,{strokeWidth:1.5,...c}),k=i.style(["no-fill","no-events"],{stroke:P(p,d,c.stroke),strokeWidth:1.5}),b=Ht(p);return b||(c={}),H(m,ze(p,c),Ve(p,c),Es-ks,ks,k),y},"bpmn:UserTask":function(m,p,c={}){c=Y(c,["fill","stroke"]);var y=te(m,p,c),k=15,b=12,N=n.getScaledPath("TASK_TYPE_USER_1",{abspos:{x:k,y:b}});A(m,N,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:.5});var F=n.getScaledPath("TASK_TYPE_USER_2",{abspos:{x:k,y:b}});A(m,F,{fill:J(p,l,c.fill),stroke:P(p,d,c.stroke),strokeWidth:.5});var W=n.getScaledPath("TASK_TYPE_USER_3",{abspos:{x:k,y:b}});return A(m,W,{fill:P(p,d,c.stroke),stroke:P(p,d,c.stroke),strokeWidth:.5}),y},label:function(m,p,c={}){return ut(m,p,c)}};this._drawPath=A,this._renderer=S}lt(Yt,yt),Yt.$inject=["config.bpmnRenderer","eventBus","styles","pathMap","canvas","textRenderer"],Yt.prototype.canRender=function(e){return Q(e,"bpmn:BaseElement")},Yt.prototype.drawShape=function(e,t,i={}){var{type:n}=t,r=this._renderer(n);return r(e,t,i)},Yt.prototype.drawConnection=function(e,t,i={}){var{type:n}=t,r=this._renderer(n);return r(e,t,i)},Yt.prototype.getShapePath=function(e){return Q(e,"bpmn:Event")?td(e):Q(e,"bpmn:Activity")?id(e,Es):Q(e,"bpmn:Gateway")?sd(e):nd(e)};function Y(e,t=[]){return t.reduce((i,n)=>(e[n]&&(i[n]=e[n]),i),{})}var Sd=0,Dd={width:150,height:50};function vd(e){var t=e.split("-");return{horizontal:t[0]||"center",vertical:t[1]||"top"}}function Pd(e){return _t(e)?G({top:0,left:0,right:0,bottom:0},e):{top:e,left:e,right:e,bottom:e}}function Md(e,t){t.textContent=e;var i;try{var n,r=e==="";return t.textContent=r?"dummy":e,i=t.getBBox(),n={width:i.width+i.x*2,height:i.height},r&&(n.width=0),n}catch(o){return console.log(o),{width:0,height:0}}}function Vd(e,t,i){for(var n=e.shift(),r=n,o;;){if(o=Md(r,i),o.width=r?o.width:0,r===" "||r===""||o.width<Math.round(t)||r.length<2)return Od(e,r,n,o);r=Ld(r,o.width,t)}}function Od(e,t,i,n){if(t.length<i.length){var r=i.slice(t.length).trim();e.unshift(r)}return{width:n.width,height:n.height,text:t}}var ko="\xAD";function Rd(e,t){var i=e.split(/(\s|-|\u00AD)/g),n,r=[],o=0;if(i.length>1)for(;n=i.shift();)if(n.length+o<t)r.push(n),o+=n.length;else{(n==="-"||n===ko)&&r.pop();break}var a=r[r.length-1];return a&&a===ko&&(r[r.length-1]="-"),r.join("")}function Ld(e,t,i){var n=Math.max(e.length*(i/t),1),r=Rd(e,n);return r||(r=e.slice(0,Math.max(Math.round(n-1),1))),r}function Fd(){var e=document.getElementById("helper-svg");return e||(e=re("svg"),ne(e,{id:"helper-svg"}),we(e,{visibility:"hidden",position:"fixed",width:0,height:0}),document.body.appendChild(e)),e}function bs(e){this._config=G({},{size:Dd,padding:Sd,style:{},align:"center-top"},e||{})}bs.prototype.createText=function(e,t){return this.layoutText(e,t).element},bs.prototype.getDimensions=function(e,t){return this.layoutText(e,t).dimensions},bs.prototype.layoutText=function(e,t){var i=G({},this._config.size,t.box),n=G({},this._config.style,t.style),r=vd(t.align||this._config.align),o=Pd(t.padding!==void 0?t.padding:this._config.padding),a=t.fitBox||!1,l=Qd(n),d=e.split(/\u00AD?\r?\n/),u=[],f=i.width-o.left-o.right,h=re("text");ne(h,{x:0,y:0}),ne(h,n);var g=Fd();for(Ae(g,h);d.length;)u.push(Vd(d,f,h));r.vertical==="middle"&&(o.top=o.bottom=0);var E=hi(u,function(K,x,A){return K+(l||x.height)},0)+o.top+o.bottom,I=hi(u,function(K,x,A){return x.width>K?x.width:K},0),v=o.top;r.vertical==="middle"&&(v+=(i.height-E)/2),v-=(l||u[0].height)/4;var H=re("text");ne(H,n),O(u,function(K){var x;switch(v+=l||K.height,r.horizontal){case"left":x=o.left;break;case"right":x=(a?I:f)-o.right-K.width;break;default:x=Math.max(((a?I:f)-K.width)/2+o.left,0)}var A=re("tspan");ne(A,{x,y:v}),A.textContent=K.text,Ae(H,A)}),Ri(h);var X={width:I,height:E};return{dimensions:X,element:H}};function Qd(e){if("fontSize"in e&&"lineHeight"in e)return e.lineHeight*parseInt(e.fontSize,10)}var Ud=12,jd=1.2,Gd=30;function Eo(e){var t=G({fontFamily:"Arial, sans-serif",fontSize:Ud,fontWeight:"normal",lineHeight:jd},e&&e.defaultStyle||{}),i=parseInt(t.fontSize,10)-1,n=G({},t,{fontSize:i},e&&e.externalStyle||{}),r=new bs({style:t});this.getExternalLabelBounds=function(o,a){var l=r.getDimensions(a,{box:{width:90,height:30},style:n});return{x:Math.round(o.x+o.width/2-l.width/2),y:Math.round(o.y),width:Math.ceil(l.width),height:Math.ceil(l.height)}},this.getTextAnnotationBounds=function(o,a){var l=r.getDimensions(a,{box:o,style:t,align:"left-top",padding:5});return{x:o.x,y:o.y,width:o.width,height:Math.max(Gd,Math.round(l.height))}},this.createText=function(o,a){return r.createText(o,a||{})},this.getDefaultStyle=function(){return t},this.getExternalStyle=function(){return n}}Eo.$inject=["config.textRenderer"];function _d(){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],r,o;i.abspos?(r=i.abspos.x,o=i.abspos.y):(r=i.containerWidth*i.position.mx,o=i.containerHeight*i.position.my);var a={};if(i.position){for(var l=i.containerHeight/n.height*i.yScaleFactor,d=i.containerWidth/n.width*i.xScaleFactor,u=0;u<n.heightElements.length;u++)a["y"+u]=n.heightElements[u]*l;for(var f=0;f<n.widthElements.length;f++)a["x"+f]=n.widthElements[f]*d}var h=Kd(n.d,{mx:r,my:o,e:a});return h}}var qd=/\{([^{}]+)\}/g,Jd=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;function Hd(e,t,i){var n=i;return t.replace(Jd,function(r,o,a,l,d){o=o||l,n&&(o in n&&(n=n[o]),typeof n=="function"&&d&&(n=n()))}),n=(n==null||n==i?e:n)+"",n}function Kd(e,t){return String(e).replace(qd,function(i,n){return Hd(i,n,t)})}const zd={__init__:["bpmnRenderer"],bpmnRenderer:["type",Yt],textRenderer:["type",Eo],pathMap:["type",_d]};function Wd(e,t){return t=t||{},e.replace(/{([^}]+)}/g,function(i,n){return t[n]||"{"+n+"}"})}const bo={translate:["value",Wd]};function Yd(e){return{x:Math.round(e.x),y:Math.round(e.y)}}function Bn(e){return{top:e.y,right:e.x+(e.width||0),bottom:e.y+(e.height||0),left:e.x}}function Zd(e){return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}function Xd(e){return Yd({x:e.x+(e.width||0)/2,y:e.y+(e.height||0)/2})}function $d(e){for(var t=e.waypoints,i=t.reduce(function(u,f,h){var g=t[h-1];if(g){var E=u[u.length-1],I=E&&E.endLength||0,v=eh(g,f);u.push({start:g,end:f,startLength:I,endLength:I+v,length:v})}return u},[]),n=i.reduce(function(u,f){return u+f.length},0),r=n/2,o=0,a=i[o];a.endLength<r;)a=i[++o];var l=(r-a.startLength)/a.length,d={x:a.start.x+(a.end.x-a.start.x)*l,y:a.start.y+(a.end.y-a.start.y)*l};return d}function Nn(e){return Np(e)?$d(e):Xd(e)}function eh(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Te(e){return e?"<"+e.$type+(e.id?' id="'+e.id:"")+'" />':"<null>"}function Cs(e,t,i){return G({id:e.id,type:e.$type,businessObject:e,di:t},i)}function th(e,t,i){var n=e.waypoint;return!n||n.length<2?[Nn(t),Nn(i)]:n.map(function(r){return{x:r.x,y:r.y}})}function Co(e,t,i){return new Error(`element ${Te(t)} referenced by ${Te(e)}#${i} not yet drawn`)}function Et(e,t,i,n,r){this._eventBus=e,this._canvas=t,this._elementFactory=i,this._elementRegistry=n,this._textRenderer=r}Et.$inject=["eventBus","canvas","elementFactory","elementRegistry","textRenderer"],Et.prototype.add=function(e,t,i){var n,r,o;if(Q(t,"bpmndi:BPMNPlane")){var a=Q(e,"bpmn:SubProcess")?{id:e.id+"_plane"}:{};n=this._elementFactory.createRoot(Cs(e,t,a)),this._canvas.addRootElement(n)}else if(Q(t,"bpmndi:BPMNShape")){var l=!Ht(e,t),d=sh(e);r=i&&(i.hidden||i.collapsed);var u=t.bounds;n=this._elementFactory.createShape(Cs(e,t,{collapsed:l,hidden:r,x:Math.round(u.x),y:Math.round(u.y),width:Math.round(u.width),height:Math.round(u.height),isFrame:d})),Q(e,"bpmn:BoundaryEvent")&&this._attachBoundary(e,n),Q(e,"bpmn:Lane")&&(o=0),Q(e,"bpmn:DataStoreReference")&&(ih(i,Nn(u))||(i=this._canvas.findRoot(i))),this._canvas.addShape(n,i,o)}else if(Q(t,"bpmndi:BPMNEdge")){var f=this._getSource(e),h=this._getTarget(e);r=i&&(i.hidden||i.collapsed),n=this._elementFactory.createConnection(Cs(e,t,{hidden:r,source:f,target:h,waypoints:th(t,f,h)})),Q(e,"bpmn:DataAssociation")&&(i=this._canvas.findRoot(i)),this._canvas.addConnection(n,i,o)}else throw new Error(`unknown di ${Te(t)} for element ${Te(e)}`);return Ip(e)&&fs(n)&&this.addLabel(e,t,n),this._eventBus.fire("bpmnElement.added",{element:n}),n},Et.prototype._attachBoundary=function(e,t){var i=e.attachedToRef;if(!i)throw new Error(`missing ${Te(e)}#attachedToRef`);var n=this._elementRegistry.get(i.id),r=n&&n.attachers;if(!n)throw Co(e,i,"attachedToRef");t.host=n,r||(n.attachers=r=[]),r.indexOf(t)===-1&&r.push(t)},Et.prototype.addLabel=function(e,t,i){var n,r,o;return n=vp(t,i),r=fs(i),r&&(n=this._textRenderer.getExternalLabelBounds(n,r)),o=this._elementFactory.createLabel(Cs(e,t,{id:e.id+"_label",labelTarget:i,type:"label",hidden:i.hidden||!fs(i),x:Math.round(n.x),y:Math.round(n.y),width:Math.round(n.width),height:Math.round(n.height)})),this._canvas.addShape(o,i.parent)},Et.prototype._getConnectedElement=function(e,t){var i,n,r=e.$type;if(n=e[t+"Ref"],t==="source"&&r==="bpmn:DataInputAssociation"&&(n=n&&n[0]),(t==="source"&&r==="bpmn:DataOutputAssociation"||t==="target"&&r==="bpmn:DataInputAssociation")&&(n=e.$parent),i=n&&this._getElement(n),i)return i;throw n?Co(e,n,t+"Ref"):new Error(`${Te(e)}#${t} Ref not specified`)},Et.prototype._getSource=function(e){return this._getConnectedElement(e,"source")},Et.prototype._getTarget=function(e){return this._getConnectedElement(e,"target")},Et.prototype._getElement=function(e){return this._elementRegistry.get(e.id)};function ih(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 sh(e){return Q(e,"bpmn:Group")}const nh={__depends__:[zd,{__depends__:[bo],bpmnImporter:["type",Et]}]};function Ui(e,t){t=!!t,tt(e)||(e=[e]);var i,n,r,o;return O(e,function(a){var l=a;a.waypoints&&!t&&(l=Ui(a.waypoints,!0));var d=l.x,u=l.y,f=l.height||0,h=l.width||0;(d<i||i===void 0)&&(i=d),(u<n||n===void 0)&&(n=u),(d+h>r||r===void 0)&&(r=d+h),(u+f>o||o===void 0)&&(o=u+f)}),{x:i,y:n,height:o-n,width:r-i}}function wo(e){return"waypoints"in e?"connection":"x"in e?"shape":"root"}function To(e){return!!(e&&e.isFrame)}function In(e){this._counter=0,this._prefix=(e?e+"-":"")+Math.floor(Math.random()*1e9)+"-"}In.prototype.next=function(){return this._prefix+ ++this._counter};var rh=new In("ov"),oh=500;function ke(e,t,i,n){this._eventBus=t,this._canvas=i,this._elementRegistry=n,this._ids=rh,this._overlayDefaults=G({show:null,scale:!0},e&&e.defaults),this._overlays={},this._overlayContainers=[],this._overlayRoot=ah(i.getContainer()),this._init()}ke.$inject=["config.overlays","eventBus","canvas","elementRegistry"],ke.prototype.get=function(e){if(it(e)&&(e={id:e}),it(e.element)&&(e.element=this._elementRegistry.get(e.element)),e.element){var t=this._getOverlayContainer(e.element,!0);return t?e.type?di(t.overlays,Xr({type:e.type})):t.overlays.slice():[]}else return e.type?di(this._overlays,Xr({type:e.type})):e.id?this._overlays[e.id]:null},ke.prototype.add=function(e,t,i){if(_t(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=G({},this._overlayDefaults,i,{id:n,type:t,element:e,html:i.html}),this._addOverlay(i),n},ke.prototype.remove=function(e){var t=this.get(e)||[];tt(t)||(t=[t]);var i=this;O(t,function(n){var r=i._getOverlayContainer(n.element,!0);if(n&&(fi(n.html),fi(n.htmlContainer),delete n.htmlContainer,delete n.element,delete i._overlays[n.id]),r){var o=r.overlays.indexOf(n);o!==-1&&r.overlays.splice(o,1)}})},ke.prototype.isShown=function(){return this._overlayRoot.style.display!=="none"},ke.prototype.show=function(){ws(this._overlayRoot)},ke.prototype.hide=function(){ws(this._overlayRoot,!1)},ke.prototype.clear=function(){this._overlays={},this._overlayContainers=[],uo(this._overlayRoot)},ke.prototype._updateOverlayContainer=function(e){var t=e.element,i=e.html,n=t.x,r=t.y;if(t.waypoints){var o=Ui(t);n=o.x,r=o.y}Bo(i,n,r),bn(e.html,"data-container-id",t.id)},ke.prototype._updateOverlay=function(e){var t=e.position,i=e.htmlContainer,n=e.element,r=t.left,o=t.top;if(t.right!==void 0){var a;n.waypoints?a=Ui(n).width:a=n.width,r=t.right*-1+a}if(t.bottom!==void 0){var l;n.waypoints?l=Ui(n).height:l=n.height,o=t.bottom*-1+l}Bo(i,r||0,o||0),this._updateOverlayVisibilty(e,this._canvas.viewbox())},ke.prototype._createOverlayContainer=function(e){var t=Fe('<div class="djs-overlays" />');we(t,{position:"absolute"}),this._overlayRoot.appendChild(t);var i={html:t,element:e,overlays:[]};return this._updateOverlayContainer(i),this._overlayContainers.push(i),i},ke.prototype._updateRoot=function(e){var t=e.scale||1,i="matrix("+[t,0,0,t,-1*e.x*t,-1*e.y*t].join(",")+")";No(this._overlayRoot,i)},ke.prototype._getOverlayContainer=function(e,t){var i=st(this._overlayContainers,function(n){return n.element===e});return!i&&!t?this._createOverlayContainer(e):i},ke.prototype._addOverlay=function(e){var t=e.id,i=e.element,n=e.html,r,o;n.get&&n.constructor.prototype.jquery&&(n=n.get(0)),it(n)&&(n=Fe(n)),o=this._getOverlayContainer(i),r=Fe('<div class="djs-overlay" data-overlay-id="'+t+'">'),we(r,{position:"absolute"}),r.appendChild(n),e.type&&zt(r).add("djs-overlay-"+e.type);var a=this._canvas.findRoot(i),l=this._canvas.getRootElement();ws(r,a===l),e.htmlContainer=r,o.overlays.push(e),o.html.appendChild(r),this._overlays[t]=e,this._updateOverlay(e),this._updateOverlayVisibilty(e,this._canvas.viewbox())},ke.prototype._updateOverlayVisibilty=function(e,t){var i=e.show,n=this._canvas.findRoot(e.element),r=i&&i.minZoom,o=i&&i.maxZoom,a=e.htmlContainer,l=this._canvas.getRootElement(),d=!0;(n!==l||i&&(ci(r)&&r>t.scale||ci(o)&&o<t.scale))&&(d=!1),ws(a,d),this._updateOverlayScale(e,t)},ke.prototype._updateOverlayScale=function(e,t){var i=e.scale,n,r,o=e.htmlContainer,a,l="";i!==!0&&(i===!1?(n=1,r=1):(n=i.min,r=i.max),ci(n)&&t.scale<n&&(a=(1/t.scale||1)*n),ci(r)&&t.scale>r&&(a=(1/t.scale||1)*r)),ci(a)&&(l="scale("+a+","+a+")"),No(o,l)},ke.prototype._updateOverlaysVisibilty=function(e){var t=this;O(this._overlays,function(i){t._updateOverlayVisibilty(i,e)})},ke.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 r=n.element,o=t.get({element:r});O(o,function(d){t.remove(d.id)});var a=t._getOverlayContainer(r);if(a){fi(a.html);var l=t._overlayContainers.indexOf(a);l!==-1&&t._overlayContainers.splice(l,1)}}),e.on("element.changed",oh,function(n){var r=n.element,o=t._getOverlayContainer(r,!0);o&&(O(o.overlays,function(a){t._updateOverlay(a)}),t._updateOverlayContainer(o))}),e.on("element.marker.update",function(n){var r=t._getOverlayContainer(n.element,!0);r&&zt(r.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 ah(e){var t=Fe('<div class="djs-overlay-container" />');return we(t,{position:"absolute",width:0,height:0}),e.insertBefore(t,e.firstChild),t}function Bo(e,t,i){we(e,{left:t+"px",top:i+"px"})}function ws(e,t){e.style.display=t===!1?"none":""}function No(e,t){e.style["transform-origin"]="top left",["","-ms-","-webkit-"].forEach(function(i){e.style[i+"transform"]=t})}const Io={__init__:["overlays"],overlays:["type",ke]};function xo(e,t,i,n){e.on("element.changed",function(r){var o=r.element;(o.parent||o===t.getRootElement())&&(r.gfx=i.getGraphics(o)),r.gfx&&e.fire(wo(o)+".changed",r)}),e.on("elements.changed",function(r){var o=r.elements;o.forEach(function(a){e.fire("element.changed",{element:a})}),n.updateContainments(o)}),e.on("shape.changed",function(r){n.update("shape",r.element,r.gfx)}),e.on("connection.changed",function(r){n.update("connection",r.element,r.gfx)})}xo.$inject=["eventBus","canvas","elementRegistry","graphicsFactory"];const lh={__init__:["changeSupport"],changeSupport:["type",xo]};var ch=1e3;function xe(e){this._eventBus=e}xe.$inject=["eventBus"];function ph(e,t){return function(i){return e.call(t||null,i.context,i.command,i)}}xe.prototype.on=function(e,t,i,n,r,o){if((qt(t)||Dt(t))&&(o=r,r=n,n=i,i=t,t=null),qt(i)&&(o=r,r=n,n=i,i=ch),_t(r)&&(o=r,r=!1),!qt(n))throw new Error("handlerFn must be a function");tt(e)||(e=[e]);var a=this._eventBus;O(e,function(l){var d=["commandStack",l,t].filter(function(u){return u}).join(".");a.on(d,i,r?ph(n,o):n,o)})},xe.prototype.canExecute=bt("canExecute"),xe.prototype.preExecute=bt("preExecute"),xe.prototype.preExecuted=bt("preExecuted"),xe.prototype.execute=bt("execute"),xe.prototype.executed=bt("executed"),xe.prototype.postExecute=bt("postExecute"),xe.prototype.postExecuted=bt("postExecuted"),xe.prototype.revert=bt("revert"),xe.prototype.reverted=bt("reverted");function bt(e){return function(i,n,r,o,a){(qt(i)||Dt(i))&&(a=o,o=r,r=n,n=i,i=null),this.on(i,e,n,r,o,a)}}function xn(e,t){t.invoke(xe,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)})}lt(xn,xe),xn.$inject=["canvas","injector"];const dh={__init__:["rootElementsBehavior"],rootElementsBehavior:["type",xn]};var hh={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function uh(e){return e=""+e,e&&e.replace(/[&<>"']/g,function(t){return hh[t]})}var fh="_plane";function Sn(e){var t=e.id;return Q(e,"bpmn:SubProcess")?mh(t):t}function mh(e){return e+fh}var gh="bjs-breadcrumbs-shown";function So(e,t,i){var n=Fe('<ul class="bjs-breadcrumbs"></ul>'),r=i.getContainer(),o=zt(r);r.appendChild(n);var a=[];e.on("element.changed",function(d){var u=d.element,f=le(u),h=st(a,function(g){return g===f});!h||l()});function l(d){d&&(a=yh(d));var u=a.flatMap(function(h){var g=i.findRoot(Sn(h))||i.findRoot(h.id);if(!g&&Q(h,"bpmn:Process")){var E=t.find(function(H){var X=le(H);return X&&X.get("processRef")===h});g=E&&i.findRoot(E.id)}if(!g)return[];var I=uh(h.name||h.id),v=Fe('<li><span class="bjs-crumb"><a title="'+I+'">'+I+"</a></span></li>");return v.addEventListener("click",function(){i.setRootElement(g)}),v});n.innerHTML="";var f=u.length>1;o.toggle(gh,f),u.forEach(function(h){n.appendChild(h)})}e.on("root.set",function(d){l(d.element)})}So.$inject=["eventBus","elementRegistry","canvas"];function yh(e){for(var t=le(e),i=[],n=t;n;n=n.$parent)(Q(n,"bpmn:SubProcess")||Q(n,"bpmn:Process"))&&i.push(n);return i.reverse()}function Do(e,t){var i=null,n=new Ah;e.on("root.set",function(r){var o=r.element,a=t.viewbox(),l=n.get(o);if(n.set(i,{x:a.x,y:a.y,zoom:a.scale}),i=o,!(!Q(o,"bpmn:SubProcess")&&!l)){l=l||{x:0,y:0,zoom:1};var d=(a.x-l.x)*a.scale,u=(a.y-l.y)*a.scale;(d!==0||u!==0)&&t.scroll({dx:d,dy:u}),l.zoom!==a.scale&&t.zoom(l.zoom,{x:0,y:0})}}),e.on("diagram.clear",function(){n.clear(),i=null})}Do.$inject=["eventBus","canvas"];function Ah(){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 vo={x:180,y:160};function Zt(e,t){this._eventBus=e,this._moddle=t;var i=this;e.on("import.render.start",1500,function(n,r){i._handleImport(r.definitions)})}Zt.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.filter(n=>n.plane).flatMap(n=>t._createNewDiagrams(n.plane));i.forEach(function(n){t._movePlaneElementsToOrigin(n.plane)})}},Zt.prototype._createNewDiagrams=function(e){var t=this,i=[],n=[];e.get("planeElement").forEach(function(o){var a=o.bpmnElement;if(!!a){var l=a.$parent;Q(a,"bpmn:SubProcess")&&!o.isExpanded&&i.push(a),Eh(a,e)&&n.push({diElement:o,parent:l})}});var r=[];return i.forEach(function(o){if(!t._processToDiagramMap[o.id]){var a=t._createDiagram(o);t._processToDiagramMap[o.id]=a,r.push(a)}}),n.forEach(function(o){for(var a=o.diElement,l=o.parent;l&&i.indexOf(l)===-1;)l=l.$parent;if(!!l){var d=t._processToDiagramMap[l.id];t._moveToDiPlane(a,d.plane)}}),r},Zt.prototype._movePlaneElementsToOrigin=function(e){var t=e.get("planeElement"),i=kh(e),n={x:i.x-vo.x,y:i.y-vo.y};t.forEach(function(r){r.waypoint?r.waypoint.forEach(function(o){o.x=o.x-n.x,o.y=o.y-n.y}):r.bounds&&(r.bounds.x=r.bounds.x-n.x,r.bounds.y=r.bounds.y-n.y)})},Zt.prototype._moveToDiPlane=function(e,t){var i=Po(e),n=i.plane.get("planeElement");n.splice(n.indexOf(e),1),t.get("planeElement").push(e)},Zt.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},Zt.$inject=["eventBus","moddle"];function Po(e){return Q(e,"bpmndi:BPMNDiagram")?e:Po(e.$parent)}function kh(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=Bn(i.bounds);t.top=Math.min(n.top,t.top),t.left=Math.min(n.left,t.left)}}),Zd(t)}function Eh(e,t){var i=e.$parent;return!(!Q(i,"bpmn:SubProcess")||i===t.bpmnElement||Tp(e,["bpmn:DataInputAssociation","bpmn:DataOutputAssociation"]))}var Ts=250,bh='<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>',Ch="bjs-drilldown-empty";function Vt(e,t,i,n,r){xe.call(this,t),this._canvas=e,this._eventBus=t,this._elementRegistry=i,this._overlays=n,this._translate=r;var o=this;this.executed("shape.toggleCollapse",Ts,function(a){var l=a.shape;o._canDrillDown(l)?o._addOverlay(l):o._removeOverlay(l)},!0),this.reverted("shape.toggleCollapse",Ts,function(a){var l=a.shape;o._canDrillDown(l)?o._addOverlay(l):o._removeOverlay(l)},!0),this.executed(["shape.create","shape.move","shape.delete"],Ts,function(a){var l=a.oldParent,d=a.newParent||a.parent,u=a.shape;o._canDrillDown(u)&&o._addOverlay(u),o._updateDrilldownOverlay(l),o._updateDrilldownOverlay(d),o._updateDrilldownOverlay(u)},!0),this.reverted(["shape.create","shape.move","shape.delete"],Ts,function(a){var l=a.oldParent,d=a.newParent||a.parent,u=a.shape;o._canDrillDown(u)&&o._addOverlay(u),o._updateDrilldownOverlay(l),o._updateDrilldownOverlay(d),o._updateDrilldownOverlay(u)},!0),t.on("import.render.complete",function(){i.filter(function(a){return o._canDrillDown(a)}).map(function(a){o._addOverlay(a)})})}lt(Vt,xe),Vt.prototype._updateDrilldownOverlay=function(e){var t=this._canvas;if(!!e){var i=t.findRoot(e);i&&this._updateOverlayVisibility(i)}},Vt.prototype._canDrillDown=function(e){var t=this._canvas;return Q(e,"bpmn:SubProcess")&&t.findRoot(Sn(e))},Vt.prototype._updateOverlayVisibility=function(e){var t=this._overlays,i=le(e),n=t.get({element:i.id,type:"drilldown"})[0];if(!!n){var r=i&&i.get("flowElements")&&i.get("flowElements").length;zt(n.html).toggle(Ch,!r)}},Vt.prototype._addOverlay=function(e){var t=this._canvas,i=this._overlays,n=le(e),r=i.get({element:e,type:"drilldown"});r.length&&this._removeOverlay(e);var o=Fe('<button type="button" class="bjs-drilldown">'+bh+"</button>"),a=n.get("name")||n.get("id"),l=this._translate("Open {element}",{element:a});o.setAttribute("title",l),o.addEventListener("click",function(){t.setRootElement(t.findRoot(Sn(e)))}),i.add(e,"drilldown",{position:{bottom:-7,right:-8},html:o}),this._updateOverlayVisibility(e)},Vt.prototype._removeOverlay=function(e){var t=this._overlays;t.remove({element:e,type:"drilldown"})},Vt.$inject=["canvas","eventBus","elementRegistry","overlays","translate"];const wh={__depends__:[Io,lh,dh],__init__:["drilldownBreadcrumbs","drilldownOverlayBehavior","drilldownCentering","subprocessCompatibility"],drilldownBreadcrumbs:["type",So],drilldownCentering:["type",Do],drilldownOverlayBehavior:["type",Vt],subprocessCompatibility:["type",Zt]};function Mo(e){return e.originalEvent||e.srcEvent}function Vo(e){return e.pointers&&e.pointers.length&&(e=e.pointers[0]),e.touches&&e.touches.length&&(e=e.touches[0]),e?{x:e.clientX,y:e.clientY}:null}function Oo(e,t){return(Mo(e)||e).button===t}function Bs(e){return Oo(e,0)}function Th(e){return Oo(e,1)}function Bh(e){var t=Mo(e)||e;return Bs(e)&&t.shiftKey}function Nh(e){return!0}function Ns(e){return Bs(e)||Th(e)}var Ro=500;function Lo(e,t,i){var n=this;function r(C,M,D){if(!l(C,M)){var L,V,R;D?V=t.getGraphics(D):(L=M.delegateTarget||M.target,L&&(V=L,D=t.get(V))),!(!V||!D)&&(R=e.fire(C,{element:D,gfx:V,originalEvent:M}),R===!1&&(M.stopPropagation(),M.preventDefault()))}}var o={};function a(C){return o[C]}function l(C,M){var D=u[C]||Bs;return!D(M)}var d={click:"element.click",contextmenu:"element.contextmenu",dblclick:"element.dblclick",mousedown:"element.mousedown",mousemove:"element.mousemove",mouseover:"element.hover",mouseout:"element.out",mouseup:"element.mouseup"},u={"element.contextmenu":Nh,"element.mousedown":Ns,"element.mouseup":Ns,"element.click":Ns,"element.dblclick":Ns};function f(C,M,D){var L=d[C];if(!L)throw new Error("unmapped DOM event name <"+C+">");return r(L,M,D)}var h="svg, .djs-element";function g(C,M,D,L){var V=o[D]=function(R){r(D,R)};L&&(u[D]=L),V.$delegate=ui.bind(C,h,M,V)}function E(C,M,D){var L=a(D);!L||ui.unbind(C,M,L.$delegate)}function I(C){O(d,function(M,D){g(C,D,M)})}function v(C){O(d,function(M,D){E(C,D,M)})}e.on("canvas.destroy",function(C){v(C.svg)}),e.on("canvas.init",function(C){I(C.svg)}),e.on(["shape.added","connection.added"],function(C){var M=C.element,D=C.gfx;e.fire("interactionEvents.createHit",{element:M,gfx:D})}),e.on(["shape.changed","connection.changed"],Ro,function(C){var M=C.element,D=C.gfx;e.fire("interactionEvents.updateHit",{element:M,gfx:D})}),e.on("interactionEvents.createHit",Ro,function(C){var M=C.element,D=C.gfx;n.createDefaultHit(M,D)}),e.on("interactionEvents.updateHit",function(C){var M=C.element,D=C.gfx;n.updateDefaultHit(M,D)});var H=w("djs-hit djs-hit-stroke"),X=w("djs-hit djs-hit-click-stroke"),K=w("djs-hit djs-hit-all"),x=w("djs-hit djs-hit-no-move"),A={all:K,"click-stroke":X,stroke:H,"no-move":x};function w(C,M){return M=G({stroke:"white",strokeWidth:15},M||{}),i.cls(C,["no-fill","no-border"],M)}function S(C,M){var D=A[M];if(!D)throw new Error("invalid hit type <"+M+">");return ne(C,D),C}function U(C,M){Ae(C,M)}this.removeHits=function(C){var M=Ed(".djs-hit",C);O(M,Ri)},this.createDefaultHit=function(C,M){var D=C.waypoints,L=C.isFrame,V;return D?this.createWaypointsHit(M,D):(V=L?"stroke":"all",this.createBoxHit(M,V,{width:C.width,height:C.height}))},this.createWaypointsHit=function(C,M){var D=kn(M);return S(D,"stroke"),U(C,D),D},this.createBoxHit=function(C,M,D){D=G({x:0,y:0},D);var L=re("rect");return S(L,M),ne(L,D),U(C,L),L},this.updateDefaultHit=function(C,M){var D=At(".djs-hit",M);if(!!D)return C.waypoints?po(D,C.waypoints):ne(D,{width:C.width,height:C.height}),D},this.fire=r,this.triggerMouseEvent=f,this.mouseHandler=a,this.registerEvent=g,this.unregisterEvent=E}Lo.$inject=["eventBus","elementRegistry","styles"];const Ih={__init__:["interactionEvents"],interactionEvents:["type",Lo]};function gi(e,t){this._eventBus=e,this._canvas=t,this._selectedElements=[];var i=this;e.on(["shape.remove","connection.remove"],function(n){var r=n.element;i.deselect(r)}),e.on(["diagram.clear","root.set"],function(n){i.select(null)})}gi.$inject=["eventBus","canvas"],gi.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})}},gi.prototype.get=function(){return this._selectedElements},gi.prototype.isSelected=function(e){return this._selectedElements.indexOf(e)!==-1},gi.prototype.select=function(e,t){var i=this._selectedElements,n=i.slice();tt(e)||(e=e?[e]:[]);var r=this._canvas,o=r.getRootElement();e=e.filter(function(a){var l=r.findRoot(a);return o===l}),t?O(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 Fo="hover",Qo="selected";function Uo(e,t){this._canvas=e;function i(r,o){e.addMarker(r,o)}function n(r,o){e.removeMarker(r,o)}t.on("element.hover",function(r){i(r.element,Fo)}),t.on("element.out",function(r){n(r.element,Fo)}),t.on("selection.changed",function(r){function o(u){n(u,Qo)}function a(u){i(u,Qo)}var l=r.oldSelection,d=r.newSelection;O(l,function(u){d.indexOf(u)===-1&&o(u)}),O(d,function(u){l.indexOf(u)===-1&&a(u)})})}Uo.$inject=["canvas","eventBus"];function jo(e,t,i,n){e.on("create.end",500,function(r){var o=r.context,a=o.canExecute,l=o.elements,d=o.hints||{},u=d.autoSelect;if(a){if(u===!1)return;tt(u)?t.select(u):t.select(l.filter(xh))}}),e.on("connect.end",500,function(r){var o=r.context,a=o.connection;a&&t.select(a)}),e.on("shape.move.end",500,function(r){var o=r.previousSelection||[],a=n.get(r.context.shape.id),l=st(o,function(d){return a.id===d.id});l||t.select(a)}),e.on("element.click",function(r){if(!!Bs(r)){var o=r.element;o===i.getRootElement()&&(o=null);var a=t.isSelected(o),l=t.get().length>1,d=Bh(r);if(a&&l)return d?t.deselect(o):t.select(o);a?t.deselect(o):t.select(o,d)}})}jo.$inject=["eventBus","selection","canvas","elementRegistry"];function xh(e){return!e.hidden}const Sh={__init__:["selectionVisuals","selectionBehavior"],__depends__:[Ih],selection:["type",gi],selectionVisuals:["type",Uo],selectionBehavior:["type",jo]},Dh=/^class[ {]/;function vh(e){return Dh.test(e.toString())}function Dn(e){return Array.isArray(e)}function vn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Is(...e){e.length===1&&Dn(e[0])&&(e=e[0]),e=[...e];const t=e.pop();return t.$inject=e,t}const Ph=/constructor\s*[^(]*\(\s*([^)]*)\)/m,Mh=/^(?:async\s+)?(?:function\s*[^(]*)?(?:\(\s*([^)]*)\)|(\w+))/m,Vh=/\/\*([^*]*)\*\//m;function Oh(e){if(typeof e!="function")throw new Error(`Cannot annotate "${e}". Expected a function!`);const t=e.toString().match(vh(e)?Ph:Mh);if(!t)return[];const i=t[1]||t[2];return i&&i.split(",").map(n=>{const r=n.match(Vh);return(r&&r[1]||n).trim()})||[]}function Go(e,t){const i=t||{get:function(x,A){if(n.push(x),A===!1)return null;throw l(`No provider for "${x}"!`)}},n=[],r=this._providers=Object.create(i._providers||null),o=this._instances=Object.create(null),a=o.injector=this,l=function(x){const A=n.join(" -> ");return n.length=0,new Error(A?`${x} (Resolving: ${A})`:x)};function d(x,A){if(!r[x]&&x.includes(".")){const w=x.split(".");let S=d(w.shift());for(;w.length;)S=S[w.shift()];return S}if(vn(o,x))return o[x];if(vn(r,x)){if(n.indexOf(x)!==-1)throw n.push(x),l("Cannot resolve circular dependency!");return n.push(x),o[x]=r[x][0](r[x][1]),n.pop(),o[x]}return i.get(x,A)}function u(x,A){if(typeof A>"u"&&(A={}),typeof x!="function")if(Dn(x))x=Is(x.slice());else throw l(`Cannot invoke "${x}". Expected a function!`);const S=(x.$inject||Oh(x)).map(U=>vn(A,U)?A[U]:d(U));return{fn:x,dependencies:S}}function f(x){const{fn:A,dependencies:w}=u(x),S=Function.prototype.bind.call(A,null,...w);return new S}function h(x,A,w){const{fn:S,dependencies:U}=u(x,w);return S.apply(A,U)}function g(x){return Is(A=>x.get(A))}function E(x,A){if(A&&A.length){const w=Object.create(null),S=Object.create(null),U=[],C=[],M=[];let D,L,V,R;for(let z in r)D=r[z],A.indexOf(z)!==-1&&(D[2]==="private"?(L=U.indexOf(D[3]),L===-1?(V=D[3].createChild([],A),R=g(V),U.push(D[3]),C.push(V),M.push(R),w[z]=[R,z,"private",V]):w[z]=[M[L],z,"private",C[L]]):w[z]=[D[2],D[1]],S[z]=!0),(D[2]==="factory"||D[2]==="type")&&D[1].$scope&&A.forEach(ut=>{D[1].$scope.indexOf(ut)!==-1&&(w[z]=[D[2],D[1]],S[ut]=!0)});A.forEach(z=>{if(!S[z])throw new Error('No provider for "'+z+'". Cannot use provider from the parent!')}),x.unshift(w)}return new Go(x,a)}const I={factory:h,type:f,value:function(x){return x}};function v(x,A){const w=x.__init__||[];return function(){w.forEach(S=>{typeof S=="string"?A.get(S):A.invoke(S)})}}function H(x){const A=x.__exports__;if(A){const w=x.__modules__,S=Object.keys(x).reduce((L,V)=>(V!=="__exports__"&&V!=="__modules__"&&V!=="__init__"&&V!=="__depends__"&&(L[V]=x[V]),L),Object.create(null)),U=(w||[]).concat(S),C=E(U),M=Is(function(L){return C.get(L)});A.forEach(function(L){r[L]=[M,L,"private",C]});const D=(x.__init__||[]).slice();return D.unshift(function(){C.init()}),x=Object.assign({},x,{__init__:D}),v(x,C)}return Object.keys(x).forEach(function(w){if(w==="__init__"||w==="__depends__")return;const S=x[w];if(S[2]==="private"){r[w]=S;return}const U=S[0],C=S[1];r[w]=[I[U],Rh(U,C),U]}),v(x,a)}function X(x,A){return x.indexOf(A)!==-1||(x=(A.__depends__||[]).reduce(X,x),x.indexOf(A)!==-1)?x:x.concat(A)}function K(x){const A=x.reduce(X,[]).map(H);let w=!1;return function(){w||(w=!0,A.forEach(S=>S()))}}this.get=d,this.invoke=h,this.instantiate=f,this.createChild=E,this.init=K(e)}function Rh(e,t){return e!=="value"&&Dn(t)&&(t=Is(t.slice())),t}var Lh=1;function Ot(e,t){yt.call(this,e,Lh),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})}lt(Ot,yt),Ot.prototype.canRender=function(){return!0},Ot.prototype.drawShape=function(t,i,n){var r=re("rect");return ne(r,{x:0,y:0,width:i.width||0,height:i.height||0}),To(i)?ne(r,G({},this.FRAME_STYLE,n||{})):ne(r,G({},this.SHAPE_STYLE,n||{})),Ae(t,r),r},Ot.prototype.drawConnection=function(t,i,n){var r=kn(i.waypoints,G({},this.CONNECTION_STYLE,n||{}));return Ae(t,r),r},Ot.prototype.getShapePath=function(t){var i=t.x,n=t.y,r=t.width,o=t.height,a=[["M",i,n],["l",r,0],["l",0,o],["l",-r,0],["z"]];return Kt(a)},Ot.prototype.getConnectionPath=function(t){var i=t.waypoints,n,r,o=[];for(n=0;r=i[n];n++)r=r.original||r,o.push([n===0?"M":"L",r.x,r.y]);return Kt(o)},Ot.$inject=["eventBus","styles"];function Fh(){var e={"no-fill":{fill:"none"},"no-border":{strokeOpacity:0},"no-events":{pointerEvents:"none"}},t=this;this.cls=function(i,n,r){var o=this.style(n,r);return G(o,{class:i})},this.style=function(i,n){!tt(i)&&!n&&(n=i,i=[]);var r=hi(i,function(o,a){return G(o,e[a]||{})},{});return n?G(r,n):r},this.computeStyle=function(i,n,r){return tt(n)||(r=n,n=[]),t.style(n||[],G({},r,i||{}))}}const Qh={__init__:["defaultRenderer"],defaultRenderer:["type",Ot],styles:["type",Fh]};function Uh(e,t){if(!e||!t)return-1;var i=e.indexOf(t);return i!==-1&&e.splice(i,1),i}function jh(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 xs(e,t){return Math.round(e*t)/t}function _o(e){return Dt(e)?e+"px":e}function Gh(e){for(;e.parent;)e=e.parent;return e}function _h(e){e=G({},{width:"100%",height:"100%"},e);const t=e.container||document.body,i=document.createElement("div");return i.setAttribute("class","djs-container djs-parent"),we(i,{position:"relative",overflow:"hidden",width:_o(e.width),height:_o(e.height)}),t.appendChild(i),i}function qo(e,t,i){const n=re("g");ct(n).add(t);const r=i!==void 0?i:e.childNodes.length-1;return e.insertBefore(n,e.childNodes[r]||null),n}const qh="base",Jo=0,Jh=1,Hh={shape:["x","y","width","height"],connection:["waypoints"]};function _(e,t,i,n){this._eventBus=t,this._elementRegistry=n,this._graphicsFactory=i,this._rootsIdx=0,this._layers={},this._planes=[],this._rootElement=null,this._focused=!1,this._init(e||{})}_.$inject=["config.canvas","eventBus","graphicsFactory","elementRegistry"],_.prototype._init=function(e){const t=this._eventBus,i=this._container=_h(e),n=this._svg=re("svg");ne(n,{width:"100%",height:"100%"}),bn(n,"tabindex",0),e.autoFocus&&t.on("element.hover",()=>{this.restoreFocus()}),t.on("element.mousedown",500,o=>{this.focus()}),n.addEventListener("focusin",()=>{this._setFocused(!0)}),n.addEventListener("focusout",()=>{this._setFocused(!1)}),Ae(i,n);const r=this._viewport=qo(n,"viewport");e.deferUpdate&&(this._viewboxChanged=kp(vt(this._viewboxChanged,this),300)),t.on("diagram.init",()=>{t.fire("canvas.init",{svg:n,viewport:r})}),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)},_.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},_.prototype._setFocused=function(e){e!=this._focused&&(this._focused=e,this._eventBus.fire("canvas.focus.changed",{focused:e}))},_.prototype._clear=function(){this._elementRegistry.getAll().forEach(t=>{const i=wo(t);i==="root"?this.removeRootElement(t):this._removeElement(t,i)}),this._planes=[],this._rootElement=null,delete this._cachedViewbox},_.prototype.focus=function(){this._svg.focus({preventScroll:!0}),this._setFocused(!0)},_.prototype.restoreFocus=function(){document.activeElement===document.body&&this.focus()},_.prototype.isFocused=function(){return this._focused},_.prototype.getDefaultLayer=function(){return this.getLayer(qh,Jo)},_.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},_.prototype._getChildIndex=function(e){return hi(this._layers,function(t,i){return i.visible&&e>=i.index&&t++,t},0)},_.prototype._createLayer=function(e,t){typeof t>"u"&&(t=Jh);const i=this._getChildIndex(t);return{group:qo(this._viewport,"layer-"+e,i),index:t,visible:!0}},_.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,r=t.index;if(t.visible)return n;const o=this._getChildIndex(r);return i.insertBefore(n,i.childNodes[o]||null),t.visible=!0,n},_.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&&(Ri(i),t.visible=!1),i},_.prototype._removeLayer=function(e){const t=this._layers[e];t&&(delete this._layers[e],Ri(t.group))},_.prototype.getActiveLayer=function(){const e=this._findPlaneForRoot(this.getRootElement());return e?e.layer:null},_.prototype.findRoot=function(e){return typeof e=="string"&&(e=this._elementRegistry.get(e)),e?(this._findPlaneForRoot(Gh(e))||{}).rootElement:void 0},_.prototype.getRootElements=function(){return this._planes.map(function(e){return e.rootElement})},_.prototype._findPlaneForRoot=function(e){return st(this._planes,function(t){return t.rootElement===e})},_.prototype.getContainer=function(){return this._container},_.prototype._updateMarker=function(e,t,i){let n;e.id||(e=this._elementRegistry.get(e)),e.markers=e.markers||new Set,n=this._elementRegistry._elements[e.id],n&&(O([n.gfx,n.secondaryGfx],function(r){r&&(i?(e.markers.add(t),ct(r).add(t)):(e.markers.delete(t),ct(r).remove(t)))}),this._eventBus.fire("element.marker.update",{element:e,gfx:n.gfx,marker:t,add:!!i}))},_.prototype.addMarker=function(e,t){this._updateMarker(e,t,!0)},_.prototype.removeMarker=function(e,t){this._updateMarker(e,t,!1)},_.prototype.hasMarker=function(e,t){return e.id||(e=this._elementRegistry.get(e)),e.markers?e.markers.has(t):!1},_.prototype.toggleMarker=function(e,t){this.hasMarker(e,t)?this.removeMarker(e,t):this.addMarker(e,t)},_.prototype.getRootElement=function(){const e=this._rootElement;return e||this._planes.length?e:this.setRootElement(this.addRootElement(null))},_.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,Jo);return this.hideLayer(i),this._addRoot(e,n),this._planes.push({rootElement:e,layer:n}),e},_.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},_.prototype.setRootElement=function(e){if(e===this._rootElement)return e;let t;if(!e)throw new Error("rootElement required");return t=this._findPlaneForRoot(e),t||(e=this.addRootElement(e)),this._setRoot(e),e},_.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)},_.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})},_.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})},_.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=Hh[e];if(!Yr(i,function(r){return typeof t[r]<"u"}))throw new Error("must supply { "+i.join(", ")+" } with "+e)},_.prototype._setParent=function(e,t,i){jh(t.children,e,i),e.parent=t},_.prototype._addElement=function(e,t,i,n){i=i||this.getRootElement();const r=this._eventBus,o=this._graphicsFactory;this._ensureValid(e,t),r.fire(e+".add",{element:t,parent:i}),this._setParent(t,i,n);const a=o.create(e,t,n);return this._elementRegistry.add(t,a),o.update(e,t,a),r.fire(e+".added",{element:t,gfx:a}),t},_.prototype.addShape=function(e,t,i){return this._addElement("shape",e,t,i)},_.prototype.addConnection=function(e,t,i){return this._addElement("connection",e,t,i)},_.prototype._removeElement=function(e,t){const i=this._elementRegistry,n=this._graphicsFactory,r=this._eventBus;if(e=i.get(e.id||e),!!e)return r.fire(t+".remove",{element:e}),n.remove(e),Uh(e.parent&&e.parent.children,e),e.parent=null,r.fire(t+".removed",{element:e}),i.remove(e),e},_.prototype.removeShape=function(e){return this._removeElement(e,"shape")},_.prototype.removeConnection=function(e){return this._removeElement(e,"connection")},_.prototype.getGraphics=function(e,t){return this._elementRegistry.getGraphics(e,t)},_.prototype._changeViewbox=function(e){this._eventBus.fire("canvas.viewbox.changing"),e.apply(this),this._cachedViewbox=null,this._viewboxChanged()},_.prototype._viewboxChanged=function(){this._eventBus.fire("canvas.viewbox.changed",{viewbox:this.viewbox()})},_.prototype.viewbox=function(e){if(e===void 0&&this._cachedViewbox)return structuredClone(this._cachedViewbox);const t=this._viewport,i=this.getSize();let n,r,o,a,l,d,u;if(e)this._changeViewbox(function(){l=Math.min(i.width/e.width,i.height/e.height);const f=this._svg.createSVGMatrix().scale(l).translate(-e.x,-e.y);Li(t,f)});else return o=this._rootElement?this.getActiveLayer():null,n=o&&o.getBBox()||{},a=Li(t),r=a?a.matrix:Up(),l=xs(r.a,1e3),d=xs(-r.e||0,1e3),u=xs(-r.f||0,1e3),e=this._cachedViewbox={x:d?d/l:0,y:u?u/l:0,width:i.width/l,height:i.height/l,scale:l,inner:{width:n.width||0,height:n.height||0,x:n.x||0,y:n.y||0},outer:i},e;return e},_.prototype.scroll=function(e){const t=this._viewport;let i=t.getCTM();return e&&this._changeViewbox(function(){e=G({dx:0,dy:0},e||{}),i=this._svg.createSVGMatrix().translate(e.dx,e.dy).multiply(i),Ho(t,i)}),{x:i.e,y:i.f}},_.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 r=Ui(e),o=Bn(r),a=this.viewbox(),l=this.zoom();let d,u;a.y+=t.top/l,a.x+=t.left/l,a.width-=(t.right+t.left)/l,a.height-=(t.bottom+t.top)/l;const f=Bn(a);if(!(r.width<a.width&&r.height<a.height))d=r.x-a.x,u=r.y-a.y;else{const g=Math.max(0,o.right-f.right),E=Math.min(0,o.left-f.left),I=Math.max(0,o.bottom-f.bottom),v=Math.min(0,o.top-f.top);d=g||E,u=I||v}this.scroll({dx:-d*l,dy:-u*l})},_.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)}),xs(n.a,1e3)};function Ho(e,t){const i="matrix("+t.a+","+t.b+","+t.c+","+t.d+","+t.e+","+t.f+")";e.setAttribute("transform",i)}_.prototype._fitViewport=function(e){const t=this.viewbox(),i=t.outer,n=t.inner;let r,o;return n.x>=0&&n.y>=0&&n.x+n.width<=i.width&&n.y+n.height<=i.height&&!e?o={x:0,y:0,width:Math.max(n.width+n.x,i.width),height:Math.max(n.height+n.y,i.height)}:(r=Math.min(1,i.width/n.width,i.height/n.height),o={x:n.x+(e?n.width/2-i.width/r/2:0),y:n.y+(e?n.height/2-i.height/r/2:0),width:i.width/r,height:i.height/r}),this.viewbox(o),this.viewbox(!1).scale},_.prototype._setZoom=function(e,t){const i=this._svg,n=this._viewport,r=i.createSVGMatrix(),o=i.createSVGPoint();let a,l,d,u,f;d=n.getCTM();const h=d.a;return t?(a=G(o,t),l=a.matrixTransform(d.inverse()),u=r.translate(l.x,l.y).scale(1/h*e).translate(-l.x,-l.y),f=d.multiply(u)):f=r.scale(e),Ho(this._viewport,f),f},_.prototype.getSize=function(){return{width:this._container.clientWidth,height:this._container.clientHeight}},_.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,r=i.y*t.scale-t.y*t.scale,o=i.width*t.scale,a=i.height*t.scale;return{x:n,y:r,width:o,height:a}},_.prototype.resized=function(){delete this._cachedViewbox,this._eventBus.fire("canvas.resized")};var yi="data-element-id";function Qe(e){this._elements={},this._eventBus=e}Qe.$inject=["eventBus"],Qe.prototype.add=function(e,t,i){var n=e.id;this._validateId(n),ne(t,yi,n),i&&ne(i,yi,n),this._elements[n]={element:e,gfx:t,secondaryGfx:i}},Qe.prototype.remove=function(e){var t=this._elements,i=e.id||e,n=i&&t[i];n&&(ne(n.gfx,yi,""),n.secondaryGfx&&ne(n.secondaryGfx,yi,""),delete t[i])},Qe.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)},Qe.prototype.updateGraphics=function(e,t,i){var n=e.id||e,r=this._elements[n];return i?r.secondaryGfx=t:r.gfx=t,t&&ne(t,yi,n),t},Qe.prototype.get=function(e){var t;typeof e=="string"?t=e:t=e&&ne(e,yi);var i=this._elements[t];return i&&i.element},Qe.prototype.filter=function(e){var t=[];return this.forEach(function(i,n){e(i,n)&&t.push(i)}),t},Qe.prototype.find=function(e){for(var t=this._elements,i=Object.keys(t),n=0;n<i.length;n++){var r=i[n],o=t[r],a=o.element,l=o.gfx;if(e(a,l))return a}},Qe.prototype.getAll=function(){return this.filter(function(e){return e})},Qe.prototype.forEach=function(e){var t=this._elements;Object.keys(t).forEach(function(i){var n=t[i],r=n.element,o=n.gfx;return e(r,o)})},Qe.prototype.getGraphics=function(e,t){var i=e.id||e,n=this._elements[i];return n&&(t?n.secondaryGfx:n.gfx)},Qe.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 Kh(e,t,i,n){var r=i.inverse;return Object.defineProperty(e,"remove",{value:function(o){var a=this.indexOf(o);return a!==-1&&(this.splice(a,1),t.unset(o,r,n)),o}}),Object.defineProperty(e,"contains",{value:function(o){return this.indexOf(o)!==-1}}),Object.defineProperty(e,"add",{value:function(o,a){var l=this.indexOf(o);if(typeof a>"u"){if(l!==-1)return;a=this.length}l!==-1&&this.splice(l,1),this.splice(a,0,o),l===-1&&t.set(o,r,n)}}),Object.defineProperty(e,"__refs_collection",{value:!0}),e}function zh(e){return e.__refs_collection===!0}function Wh(e,t){return Object.prototype.hasOwnProperty.call(e,t.name||t)}function Ko(e,t,i){var n=Kh(i[t.name]||[],e,t,i);Object.defineProperty(i,t.name,{enumerable:t.enumerable,value:n}),n.length&&n.forEach(function(r){e.set(r,t.inverse,i)})}function Yh(e,t,i){var n=t.inverse,r=i[t.name];Object.defineProperty(i,t.name,{configurable:t.configurable,enumerable:t.enumerable,get:function(){return r},set:function(o){if(o!==r){var a=r;r=null,a&&e.unset(a,n,i),r=o,e.set(r,n,i)}}})}function We(e,t){if(!(this instanceof We))return new We(e,t);e.inverse=t,t.inverse=e,this.props={},this.props[e.name]=e,this.props[t.name]=t}We.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?Ko(this,t,e):Yh(this,t,e)},We.prototype.ensureRefsCollection=function(e,t){var i=e[t.name];return zh(i)||Ko(this,t,e),i},We.prototype.ensureBound=function(e,t){Wh(e,t)||this.bind(e,t)},We.prototype.unset=function(e,t,i){e&&(this.ensureBound(e,t),t.collection?this.ensureRefsCollection(e,t).remove(i):e[t.name]=void 0)},We.prototype.set=function(e,t,i){e&&(this.ensureBound(e,t),t.collection?this.ensureRefsCollection(e,t).add(i):e[t.name]=i)};var Pn=new We({name:"children",enumerable:!0,collection:!0},{name:"parent"}),zo=new We({name:"labels",enumerable:!0,collection:!0},{name:"labelTarget"}),Wo=new We({name:"attachers",collection:!0},{name:"host"}),Yo=new We({name:"outgoing",collection:!0},{name:"source"}),Zo=new We({name:"incoming",collection:!0},{name:"target"});function ji(){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)}}),Pn.bind(this,"parent"),zo.bind(this,"labels"),Yo.bind(this,"outgoing"),Zo.bind(this,"incoming")}function Gi(){ji.call(this),Pn.bind(this,"children"),Wo.bind(this,"host"),Wo.bind(this,"attachers")}lt(Gi,ji);function Xo(){ji.call(this),Pn.bind(this,"children")}lt(Xo,Gi);function $o(){Gi.call(this),zo.bind(this,"labelTarget")}lt($o,Gi);function ea(){ji.call(this),Yo.bind(this,"source"),Zo.bind(this,"target")}lt(ea,ji);var Zh={connection:ea,shape:Gi,label:$o,root:Xo};function Xh(e,t){var i=Zh[e];if(!i)throw new Error("unknown type: <"+e+">");return G(new i,t)}function Ai(){this._uid=12}Ai.prototype.createRoot=function(e){return this.create("root",e)},Ai.prototype.createLabel=function(e){return this.create("label",e)},Ai.prototype.createShape=function(e){return this.create("shape",e)},Ai.prototype.createConnection=function(e){return this.create("connection",e)},Ai.prototype.create=function(e,t){return t=G({},t||{}),t.id||(t.id=e+"_"+this._uid++),Xh(e,t)};var Ss="__fn",ta=1e3,$h=Array.prototype.slice;function Oe(){this._listeners={},this.on("diagram.destroy",1,this._destroy,this)}Oe.prototype.on=function(e,t,i,n){if(e=tt(e)?e:[e],qt(t)&&(n=i,i=t,t=ta),!Dt(t))throw new Error("priority must be a number");var r=i;n&&(r=vt(i,n),r[Ss]=i[Ss]||i);var o=this;e.forEach(function(a){o._addListener(a,{priority:t,callback:r,next:null})})},Oe.prototype.once=function(e,t,i,n){var r=this;if(qt(t)&&(n=i,i=t,t=ta),!Dt(t))throw new Error("priority must be a number");function o(){o.__isTomb=!0;var a=i.apply(n,arguments);return r.off(e,o),a}o[Ss]=i,this.on(e,t,o)},Oe.prototype.off=function(e,t){e=tt(e)?e:[e];var i=this;e.forEach(function(n){i._removeListener(n,t)})},Oe.prototype.createEvent=function(e){var t=new _i;return t.init(e),t},Oe.prototype.fire=function(e,t){var i,n,r,o;if(o=$h.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 _i?i=t:i=this.createEvent(t),o[0]=i;var a=i.type;e!==a&&(i.type=e);try{r=this._invokeListeners(i,o,n)}finally{e!==a&&(i.type=a)}return r===void 0&&i.defaultPrevented&&(r=!1),r}},Oe.prototype.handleError=function(e){return this.fire("error",{error:e})===!1},Oe.prototype._destroy=function(){this._listeners={}},Oe.prototype._invokeListeners=function(e,t,i){for(var n;i&&!e.cancelBubble;)n=this._invokeListener(e,t,i),i=i.next;return n},Oe.prototype._invokeListener=function(e,t,i){var n;if(i.callback.__isTomb)return n;try{n=eu(i.callback,t),n!==void 0&&(e.returnValue=n,e.stopPropagation()),n===!1&&e.preventDefault()}catch(r){if(!this.handleError(r))throw console.error("unhandled error in event listener",r),r}return n},Oe.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},Oe.prototype._getListeners=function(e){return this._listeners[e]},Oe.prototype._setListeners=function(e,t){this._listeners[e]=t},Oe.prototype._removeListener=function(e,t){var i=this._getListeners(e),n,r,o;if(!t){this._setListeners(e,null);return}for(;i;)n=i.next,o=i.callback,(o===t||o[Ss]===t)&&(r?r.next=n:this._setListeners(e,n)),r=i,i=n};function _i(){}_i.prototype.stopPropagation=function(){this.cancelBubble=!0},_i.prototype.preventDefault=function(){this.defaultPrevented=!0},_i.prototype.init=function(e){G(this,e||{})};function eu(e,t){return e.apply(null,t)}function tu(e){return e.childNodes[0]}function iu(e){return e.parentNode.childNodes[1]}function Ue(e,t){this._eventBus=e,this._elementRegistry=t}Ue.$inject=["eventBus","elementRegistry"],Ue.prototype._getChildrenContainer=function(e){var t=this._elementRegistry.getGraphics(e),i;return e.parent?(i=iu(t),i||(i=re("g"),ct(i).add("djs-children"),Ae(t.parentNode,i))):i=t,i},Ue.prototype._clear=function(e){var t=tu(e);return uo(t),t},Ue.prototype._createContainer=function(e,t,i,n){var r=re("g");ct(r).add("djs-group"),typeof i<"u"?ia(r,t,t.childNodes[i]):Ae(t,r);var o=re("g");ct(o).add("djs-element"),ct(o).add("djs-"+e),n&&ct(o).add("djs-frame"),Ae(r,o);var a=re("g");return ct(a).add("djs-visual"),Ae(o,a),o},Ue.prototype.create=function(e,t,i){var n=this._getChildrenContainer(t.parent);return this._createContainer(e,n,i,To(t))},Ue.prototype.updateContainments=function(e){var t=this,i=this._elementRegistry,n;n=hi(e,function(r,o){return o.parent&&(r[o.parent.id]=o.parent),r},{}),O(n,function(r){var o=r.children;if(!!o){var a=t._getChildrenContainer(r);O(o.slice().reverse(),function(l){var d=i.getGraphics(l);ia(d.parentNode,a)})}})},Ue.prototype.drawShape=function(e,t,i={}){var n=this._eventBus;return n.fire("render.shape",{gfx:e,element:t,attrs:i})},Ue.prototype.getShapePath=function(e){var t=this._eventBus;return t.fire("render.getShapePath",e)},Ue.prototype.drawConnection=function(e,t,i={}){var n=this._eventBus;return n.fire("render.connection",{gfx:e,element:t,attrs:i})},Ue.prototype.getConnectionPath=function(e){var t=this._eventBus;return t.fire("render.getConnectionPath",e)},Ue.prototype.update=function(e,t,i){if(!!t.parent){var n=this._clear(i);if(e==="shape")this.drawShape(n,t),Ao(i,t.x,t.y);else if(e==="connection")this.drawConnection(n,t);else throw new Error("unknown type: "+e);t.hidden?ne(i,"display","none"):ne(i,"display","block")}},Ue.prototype.remove=function(e){var t=this._elementRegistry.getGraphics(e);Ri(t.parentNode)};function ia(e,t,i){var n=i||t.firstChild;e!==n&&t.insertBefore(e,n)}const su={__depends__:[Qh],__init__:["canvas"],canvas:["type",_],elementRegistry:["type",Qe],elementFactory:["type",Ai],eventBus:["type",Oe],graphicsFactory:["type",Ue]};function nu(e){var t=new Go(e);return t.init(),t}function ru(e){e=e||{};var t={config:["value",e]},i=[t,su].concat(e.modules||[]);return nu(i)}function Rt(e,t){this._injector=t||ru(e),this.get("eventBus").fire("diagram.init")}Rt.prototype.get=function(e,t){return this._injector.get(e,t)},Rt.prototype.invoke=function(e,t,i){return this._injector.invoke(e,t,i)},Rt.prototype.destroy=function(){this.get("eventBus").fire("diagram.destroy")},Rt.prototype.clear=function(){this.get("eventBus").fire("diagram.clear")};function Mn(){}Mn.prototype.get=function(e){return this.$model.properties.get(this,e)},Mn.prototype.set=function(e,t){this.$model.properties.set(this,e,t)};function sa(e,t){this.model=e,this.properties=t}sa.prototype.createType=function(e){var t=this.model,i=this.properties,n=Object.create(Mn.prototype);O(e.properties,function(a){!a.isMany&&a.default!==void 0&&(n[a.name]=a.default)}),i.defineModel(n,t),i.defineDescriptor(n,e);var r=e.ns.name;function o(a){i.define(this,"$type",{value:r,enumerable:!0}),i.define(this,"$attrs",{value:{}}),i.define(this,"$parent",{writable:!0}),O(a,vt(function(l,d){this.set(d,l)},this))}return o.prototype=n,o.hasType=n.$instanceOf=this.model.hasType,i.defineModel(o,t),i.defineDescriptor(o,e),o};var ou={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},na={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 Vn(e,t){var i=na[e];return i?i(t):t}function On(e){return!!ou[e]}function ra(e){return!!na[e]}function Be(e,t){var i=e.split(/:/),n,r;if(i.length===1)n=e,r=t;else if(i.length===2)n=i[1],r=i[0];else throw new Error("expected <prefix:localName> or <localName>, got "+e);return e=(r?r+":":"")+n,{name:e,prefix:r,localName:n}}function je(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}je.prototype.build=function(){return bp(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},je.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)},je.prototype.replaceProperty=function(e,t,i){var n=e.ns,r=this.properties,o=this.propertiesByName,a=e.name!==t.name;if(e.isId){if(!t.isId)throw new Error("property <"+t.ns.name+"> must be id property to refine <"+e.ns.name+">");this.setIdProperty(t,!1)}if(e.isBody){if(!t.isBody)throw new Error("property <"+t.ns.name+"> must be body property to refine <"+e.ns.name+">");this.setBodyProperty(t,!1)}var l=r.indexOf(e);if(l===-1)throw new Error("property <"+n.name+"> not found in property list");r.splice(l,1),this.addProperty(t,i?void 0:l,a),o[n.name]=o[n.localName]=t},je.prototype.redefineProperty=function(e,t,i){var n=e.ns.prefix,r=t.split("#"),o=Be(r[0],n),a=Be(r[1],o.prefix).name,l=this.propertiesByName[a];if(l)this.replaceProperty(l,e,i);else throw new Error("refined property <"+a+"> not found");delete e.redefines},je.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},je.prototype.removeNamedProperty=function(e){var t=e.ns,i=this.propertiesByName;delete i[t.name],delete i[t.localName]},je.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},je.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},je.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},je.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")},je.prototype.hasProperty=function(e){return this.propertiesByName[e]},je.prototype.addTrait=function(e,t){t&&this.assertNotTrait(e);var i=this.allTypesByName,n=this.allTypes,r=e.name;r in i||(O(e.properties,vt(function(o){o=G({},o,{name:o.ns.localName,inherited:t}),Object.defineProperty(o,"definedBy",{value:e});var a=o.replaces,l=o.redefines;a||l?this.redefineProperty(o,a||l,a):(o.isBody&&this.setBodyProperty(o),o.isId&&this.setIdProperty(o),this.addProperty(o))},this)),n.push(e),i[r]=e)};function Lt(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,O(e,vt(this.registerPackage,this))}Lt.prototype.getPackage=function(e){return this.packageMap[e]},Lt.prototype.getPackages=function(){return this.packages},Lt.prototype.registerPackage=function(e){e=G({},e);var t=this.packageMap;oa(t,e,"prefix"),oa(t,e,"uri"),O(e.types,vt(function(i){this.registerType(i,e)},this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},Lt.prototype.registerType=function(e,t){e=G({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:G(e.meta||{})});var i=Be(e.name,t.prefix),n=i.name,r={};O(e.properties,vt(function(o){var a=Be(o.name,i.prefix),l=a.name;On(o.type)||(o.type=Be(o.type,a.prefix).name),G(o,{ns:a,name:l}),r[l]=o},this)),G(e,{ns:i,name:n,propertiesByName:r}),O(e.extends,vt(function(o){var a=Be(o,i.prefix),l=this.typeMap[a.name];l.traits=l.traits||[],l.traits.push(n)},this)),this.definePackage(e,t),this.typeMap[n]=e},Lt.prototype.mapTypes=function(e,t,i){var n=On(e.name)?{name:e.name}:this.typeMap[e.name],r=this;function o(d,u){var f=Be(d,On(d)?"":e.prefix);r.mapTypes(f,t,u)}function a(d){return o(d,!0)}function l(d){return o(d,!1)}if(!n)throw new Error("unknown type <"+e.name+">");O(n.superClass,i?a:l),t(n,!i),O(n.traits,a)},Lt.prototype.getEffectiveDescriptor=function(e){var t=Be(e),i=new je(t);this.mapTypes(t,function(r,o){i.addTrait(r,o)});var n=i.build();return this.definePackage(n,n.allTypes[n.allTypes.length-1].$pkg),n},Lt.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})};function oa(e,t,i){var n=t[i];if(n in e)throw new Error("package with "+i+" <"+n+"> already defined")}function Xt(e){this.model=e}Xt.prototype.set=function(e,t,i){if(!it(t)||!t.length)throw new TypeError("property name must be a non-empty string");var n=this.getProperty(e,t),r=n&&n.name;au(i)?n?delete e[r]:delete e.$attrs[Rn(t)]:n?r in e?e[r]=i:aa(e,n,i):e.$attrs[Rn(t)]=i},Xt.prototype.get=function(e,t){var i=this.getProperty(e,t);if(!i)return e.$attrs[Rn(t)];var n=i.name;return!e[n]&&i.isMany&&aa(e,i,[]),e[n]},Xt.prototype.define=function(e,t,i){if(!i.writable){var n=i.value;i=G({},i,{get:function(){return n}}),delete i.value}Object.defineProperty(e,t,i)},Xt.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},Xt.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},Xt.prototype.getProperty=function(e,t){var i=this.model,n=i.getPropertyDescriptor(e,t);if(n)return n;if(t.includes(":"))return null;const r=i.config.strict;if(typeof r<"u"){const o=new TypeError(`unknown property <${t}> on <${e.$type}>`);if(r)throw o;typeof console<"u"&&console.warn(o)}return null};function au(e){return typeof e>"u"}function aa(e,t,i){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:i,configurable:!0})}function Rn(e){return e.replace(/^:/,"")}function Ye(e,t={}){this.properties=new Xt(this),this.factory=new sa(this,this.properties),this.registry=new Lt(e,this.properties),this.typeCache={},this.config=t}Ye.prototype.create=function(e,t){var i=this.getType(e);if(!i)throw new Error("unknown type <"+e+">");return new i(t)},Ye.prototype.getType=function(e){var t=this.typeCache,i=it(e)?e:e.ns.name,n=t[i];return n||(e=this.registry.getEffectiveDescriptor(i),n=t[i]=this.factory.createType(e)),n},Ye.prototype.createAny=function(e,t,i){var n=Be(e),r={$type:e,$instanceOf:function(a){return a===this.$type},get:function(a){return this[a]},set:function(a,l){Ep(this,[a],l)}},o={name:e,isGeneric:!0,ns:{prefix:n.prefix,localName:n.localName,uri:t}};return this.properties.defineDescriptor(r,o),this.properties.defineModel(r,this),this.properties.define(r,"get",{enumerable:!1,writable:!0}),this.properties.define(r,"set",{enumerable:!1,writable:!0}),this.properties.define(r,"$parent",{enumerable:!1,writable:!0}),this.properties.define(r,"$instanceOf",{enumerable:!1,writable:!0}),O(i,function(a,l){_t(a)&&a.value!==void 0?r[a.name]=a.value:r[l]=a}),r},Ye.prototype.getPackage=function(e){return this.registry.getPackage(e)},Ye.prototype.getPackages=function(){return this.registry.getPackages()},Ye.prototype.getElementDescriptor=function(e){return e.$descriptor},Ye.prototype.hasType=function(e,t){t===void 0&&(t=e,e=this);var i=e.$model.getElementDescriptor(e);return t in i.allTypesByName},Ye.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},Ye.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var la=String.fromCharCode,lu=Object.prototype.hasOwnProperty,cu=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/ig,qi={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};Object.keys(qi).forEach(function(e){qi[e.toUpperCase()]=qi[e]});function pu(e,t,i,n){return n?lu.call(qi,n)?qi[n]:"&"+n+";":la(t||parseInt(i,16))}function $t(e){return e.length>3&&e.indexOf("&")!==-1?e.replace(cu,pu):e}var ca="non-whitespace outside of root node";function ki(e){return new Error(e)}function pa(e){return"missing namespace for prefix <"+e+">"}function Ds(e){return{get:e,enumerable:!0}}function du(e){var t={},i;for(i in e)t[i]=e[i];return t}function Ln(e){return e+"$uri"}function hu(e){var t={},i,n;for(i in e)n=e[i],t[n]=n,t[Ln(n)]=i;return t}function da(){return{line:0,column:0}}function uu(e){throw e}function ha(e){if(!this)return new ha(e);var t=e&&e.proxy,i,n,r,o,a=uu,l,d,u,f,h=da,g=!1,E=!1,I=null,v=!1,H;function X(A){A instanceof Error||(A=ki(A)),I=A,a(A,h)}function K(A){!l||(A instanceof Error||(A=ki(A)),l(A,h))}this.on=function(A,w){if(typeof w!="function")throw ki("required args <name, cb>");switch(A){case"openTag":n=w;break;case"text":i=w;break;case"closeTag":r=w;break;case"error":a=w;break;case"warn":l=w;break;case"cdata":o=w;break;case"attention":f=w;break;case"question":u=w;break;case"comment":d=w;break;default:throw ki("unsupported event: "+A)}return this},this.ns=function(A){if(typeof A>"u"&&(A={}),typeof A!="object")throw ki("required args <nsMap={}>");var w={},S;for(S in A)w[S]=A[S];return E=!0,H=w,this},this.parse=function(A){if(typeof A!="string")throw ki("required args <xml=string>");return I=null,x(A),h=da,v=!1,I},this.stop=function(){v=!0};function x(A){var w=E?[]:null,S=E?hu(H):null,U,C=[],M=0,D=!1,L=!1,V=0,R=0,z,ut,oe,Z,rt,ot,fe,Ze,T,B="",j=0,te;function Ge(){if(te!==null)return te;var p,c,y,k=E&&S.xmlns,b=E&&g?[]:null,N=j,F=B,W=F.length,ge,de,Ee,Xe,ie,wt={},Os={},_e,q,ee;e:for(;N<W;N++)if(_e=!1,q=F.charCodeAt(N),!(q===32||q<14&&q>8)){for((q<65||q>122||q>90&&q<97)&&q!==95&&q!==58&&(K("illegal first char attribute name"),_e=!0),ee=N+1;ee<W;ee++)if(q=F.charCodeAt(ee),!(q>96&&q<123||q>64&&q<91||q>47&&q<59||q===46||q===45||q===95)){if(q===32||q<14&&q>8){K("missing attribute value"),N=ee;continue e}if(q===61)break;K("illegal attribute name char"),_e=!0}if(ie=F.substring(N,ee),ie==="xmlns:xmlns"&&(K("illegal declaration of xmlns"),_e=!0),q=F.charCodeAt(ee+1),q===34)ee=F.indexOf('"',N=ee+2),ee===-1&&(ee=F.indexOf("'",N),ee!==-1&&(K("attribute value quote missmatch"),_e=!0));else if(q===39)ee=F.indexOf("'",N=ee+2),ee===-1&&(ee=F.indexOf('"',N),ee!==-1&&(K("attribute value quote missmatch"),_e=!0));else for(K("missing attribute value quotes"),_e=!0,ee=ee+1;ee<W&&(q=F.charCodeAt(ee+1),!(q===32||q<14&&q>8));ee++);for(ee===-1&&(K("missing closing quotes"),ee=W,_e=!0),_e||(Ee=F.substring(N,ee)),N=ee;ee+1<W&&(q=F.charCodeAt(ee+1),!(q===32||q<14&&q>8));ee++)N===ee&&(K("illegal character after attribute end"),_e=!0);if(N=ee+1,_e)continue e;if(ie in Os){K("attribute <"+ie+"> already defined");continue}if(Os[ie]=!0,!E){wt[ie]=Ee;continue}if(g){if(de=ie==="xmlns"?"xmlns":ie.charCodeAt(0)===120&&ie.substr(0,6)==="xmlns:"?ie.substr(6):null,de!==null){if(p=$t(Ee),c=Ln(de),Xe=H[p],!Xe){if(de==="xmlns"||c in S&&S[c]!==p)do Xe="ns"+M++;while(typeof S[Xe]<"u");else Xe=de;H[p]=Xe}S[de]!==Xe&&(ge||(S=du(S),ge=!0),S[de]=Xe,de==="xmlns"&&(S[Ln(Xe)]=p,k=Xe),S[c]=p),wt[ie]=Ee;continue}b.push(ie,Ee);continue}if(q=ie.indexOf(":"),q===-1){wt[ie]=Ee;continue}if(!(y=S[ie.substring(0,q)])){K(pa(ie.substring(0,q)));continue}ie=k===y?ie.substr(q+1):y+ie.substr(q),wt[ie]=Ee}if(g)for(N=0,W=b.length;N<W;N++){if(ie=b[N++],Ee=b[N],q=ie.indexOf(":"),q!==-1){if(!(y=S[ie.substring(0,q)])){K(pa(ie.substring(0,q)));continue}ie=k===y?ie.substr(q+1):y+ie.substr(q)}wt[ie]=Ee}return te=wt}function m(){for(var p=/(\r\n|\r|\n)/g,c=0,y=0,k=0,b=R,N,F;V>=k&&(N=p.exec(A),!(!N||(b=N[0].length+N.index,b>V)));)c+=1,k=b;return V==-1?(y=b,F=A.substring(R)):R===0?F=A.substring(R,V):(y=V-k,F=R==-1?A.substring(V):A.substring(V,R+1)),{data:F,line:c,column:y}}for(h=m,t&&(T=Object.create({},{name:Ds(function(){return fe}),originalName:Ds(function(){return Ze}),attrs:Ds(Ge),ns:Ds(function(){return S})}));R!==-1;){if(A.charCodeAt(R)===60?V=R:V=A.indexOf("<",R),V===-1){if(C.length)return X("unexpected end of file");if(R===0)return X("missing start tag");R<A.length&&A.substring(R).trim()&&K(ca);return}if(R!==V){if(C.length){if(i&&(i(A.substring(R,V),$t,h),v))return}else if(A.substring(R,V).trim()&&(K(ca),v))return}if(Z=A.charCodeAt(V+1),Z===33){if(oe=A.charCodeAt(V+2),oe===91&&A.substr(V+3,6)==="CDATA["){if(R=A.indexOf("]]>",V),R===-1)return X("unclosed cdata");if(o&&(o(A.substring(V+9,R),h),v))return;R+=3;continue}if(oe===45&&A.charCodeAt(V+3)===45){if(R=A.indexOf("-->",V),R===-1)return X("unclosed comment");if(d&&(d(A.substring(V+4,R),$t,h),v))return;R+=3;continue}}if(Z===63){if(R=A.indexOf("?>",V),R===-1)return X("unclosed question");if(u&&(u(A.substring(V,R+2),h),v))return;R+=2;continue}for(z=V+1;;z++){if(rt=A.charCodeAt(z),isNaN(rt))return R=-1,X("unclosed tag");if(rt===34)oe=A.indexOf('"',z+1),z=oe!==-1?oe:z;else if(rt===39)oe=A.indexOf("'",z+1),z=oe!==-1?oe:z;else if(rt===62){R=z;break}}if(Z===33){if(f&&(f(A.substring(V,R+1),$t,h),v))return;R+=1;continue}if(te={},Z===47){if(D=!1,L=!0,!C.length)return X("missing open tag");if(z=fe=C.pop(),oe=V+2+z.length,A.substring(V+2,oe)!==z)return X("closing tag mismatch");for(;oe<R;oe++)if(Z=A.charCodeAt(oe),!(Z===32||Z>8&&Z<14))return X("close tag")}else{if(A.charCodeAt(R-1)===47?(z=fe=A.substring(V+1,R-1),D=!0,L=!0):(z=fe=A.substring(V+1,R),D=!0,L=!1),!(Z>96&&Z<123||Z>64&&Z<91||Z===95||Z===58))return X("illegal first char nodeName");for(oe=1,ut=z.length;oe<ut;oe++)if(Z=z.charCodeAt(oe),!(Z>96&&Z<123||Z>64&&Z<91||Z>47&&Z<59||Z===45||Z===95||Z==46)){if(Z===32||Z<14&&Z>8){fe=z.substring(0,oe),te=null;break}return X("invalid nodeName")}L||C.push(fe)}if(E){if(U=S,D&&(L||w.push(U),te===null&&(g=z.indexOf("xmlns",oe)!==-1)&&(j=oe,B=z,Ge(),g=!1)),Ze=fe,Z=fe.indexOf(":"),Z!==-1){if(ot=S[fe.substring(0,Z)],!ot)return X("missing namespace on <"+Ze+">");fe=fe.substr(Z+1)}else ot=S.xmlns;ot&&(fe=ot+":"+fe)}if(D&&(j=oe,B=z,n&&(t?n(T,$t,L,h):n(fe,Ge,$t,L,h),v)))return;if(L){if(r&&(r(t?T:fe,$t,D,h),v))return;E&&(D?S=U:S=w.pop())}R+=1}}}function ua(e){return e.xml&&e.xml.tagAlias==="lowerCase"}var Fn={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},fa="property";function ma(e){return e.xml&&e.xml.serialize}function fu(e){const t=ma(e);return t!==fa&&(t||null)}function mu(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ga(e,t){return ua(t)?e.prefix+":"+mu(e.localName):e.name}function gu(e,t){var i=e.name,n=e.localName,r=t&&t.xml&&t.xml.typePrefix;return r&&n.indexOf(r)===0?e.prefix+":"+n.slice(r.length):i}function yu(e,t,i){const n=Be(e,t.xmlns),r=`${t[n.prefix]||n.prefix}:${n.localName}`,o=Be(r);var a=i.getPackage(o.prefix);return gu(o,a)}function Ft(e){return new Error(e)}function Ct(e){return e.$descriptor}function Au(e){G(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(t){this.references.push(t)},this.addElement=function(t){if(!t)throw Ft("expected element");var i=this.elementsById,n=Ct(t),r=n.idProperty,o;if(r&&(o=t.get(r.name),o)){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(o))throw new Error("illegal ID <"+o+">");if(i[o])throw Ft("duplicate ID <"+o+">");i[o]=t}},this.addWarning=function(t){this.warnings.push(t)}}function Ji(){}Ji.prototype.handleEnd=function(){},Ji.prototype.handleText=function(){},Ji.prototype.handleNode=function(){};function Qn(){}Qn.prototype=Object.create(Ji.prototype),Qn.prototype.handleNode=function(){return this};function Ei(){}Ei.prototype=Object.create(Ji.prototype),Ei.prototype.handleText=function(e){this.body=(this.body||"")+e};function Hi(e,t){this.property=e,this.context=t}Hi.prototype=Object.create(Ei.prototype),Hi.prototype.handleNode=function(e){if(this.element)throw Ft("expected no sub nodes");return this.element=this.createReference(e),this},Hi.prototype.handleEnd=function(){this.element.id=this.body},Hi.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}};function Un(e,t){this.element=t,this.propertyDesc=e}Un.prototype=Object.create(Ei.prototype),Un.prototype.handleEnd=function(){var e=this.body||"",t=this.element,i=this.propertyDesc;e=Vn(i.type,e),i.isMany?t.get(i.name).push(e):t.set(i.name,e)};function vs(){}vs.prototype=Object.create(Ei.prototype),vs.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 Ne(e,t,i){this.model=e,this.type=e.getType(t),this.context=i}Ne.prototype=Object.create(vs.prototype),Ne.prototype.addReference=function(e){this.context.addReference(e)},Ne.prototype.handleText=function(e){var t=this.element,i=Ct(t),n=i.bodyProperty;if(!n)throw Ft("unexpected body text <"+e+">");Ei.prototype.handleText.call(this,e)},Ne.prototype.handleEnd=function(){var e=this.body,t=this.element,i=Ct(t),n=i.bodyProperty;n&&e!==void 0&&(e=Vn(n.type,e),t.set(n.name,e))},Ne.prototype.createElement=function(e){var t=e.attributes,i=this.type,n=Ct(i),r=this.context,o=new i({}),a=this.model,l;return O(t,function(d,u){var f=n.propertiesByName[u],h;f&&f.isReference?f.isMany?(h=d.split(" "),O(h,function(g){r.addReference({element:o,property:f.ns.name,id:g})})):r.addReference({element:o,property:f.ns.name,id:d}):(f?d=Vn(f.type,d):u==="xmlns"?u=":"+u:(l=Be(u,n.ns.prefix),a.getPackage(l.prefix)&&r.addWarning({message:"unknown attribute <"+u+">",element:o,property:u,value:d})),o.set(u,d))}),o},Ne.prototype.getPropertyForNode=function(e){var t=e.name,i=Be(t),n=this.type,r=this.model,o=Ct(n),a=i.name,l=o.propertiesByName[a];if(l&&!l.isAttr){const u=fu(l);if(u){const f=e.attributes[u];if(f){const h=yu(f,e.ns,r),g=r.getType(h);return G({},l,{effectiveType:Ct(g).name})}}return l}var d=r.getPackage(i.prefix);if(d){const u=ga(i,d),f=r.getType(u);if(l=st(o.properties,function(h){return!h.isVirtual&&!h.isReference&&!h.isAttribute&&f.hasType(h.type)}),l)return G({},l,{effectiveType:Ct(f).name})}else if(l=st(o.properties,function(u){return!u.isReference&&!u.isAttribute&&u.type==="Element"}),l)return l;throw Ft("unrecognized element <"+i.name+">")},Ne.prototype.toString=function(){return"ElementDescriptor["+Ct(this.type).name+"]"},Ne.prototype.valueHandler=function(e,t){return new Un(e,t)},Ne.prototype.referenceHandler=function(e){return new Hi(e,this.context)},Ne.prototype.handler=function(e){return e==="Element"?new bi(this.model,e,this.context):new Ne(this.model,e,this.context)},Ne.prototype.handleChild=function(e){var t,i,n,r;if(t=this.getPropertyForNode(e),n=this.element,i=t.effectiveType||t.type,ra(i))return this.valueHandler(t,n);t.isReference?r=this.referenceHandler(t).handleNode(e):r=this.handler(i).handleNode(e);var o=r.element;return o!==void 0&&(t.isMany?n.get(t.name).push(o):n.set(t.name,o),t.isReference?(G(o,{element:n}),this.context.addReference(o)):o.$parent=n),r};function jn(e,t,i){Ne.call(this,e,t,i)}jn.prototype=Object.create(Ne.prototype),jn.prototype.createElement=function(e){var t=e.name,i=Be(t),n=this.model,r=this.type,o=n.getPackage(i.prefix),a=o&&ga(i,o)||t;if(!r.hasType(a))throw Ft("unexpected element <"+e.originalName+">");return Ne.prototype.createElement.call(this,e)};function bi(e,t,i){this.model=e,this.context=i}bi.prototype=Object.create(vs.prototype),bi.prototype.createElement=function(e){var t=e.name,i=Be(t),n=i.prefix,r=e.ns[n+"$uri"],o=e.attributes;return this.model.createAny(t,r,o)},bi.prototype.handleChild=function(e){var t=new bi(this.model,"Element",this.context).handleNode(e),i=this.element,n=t.element,r;return n!==void 0&&(r=i.$children=i.$children||[],r.push(n),n.$parent=i),t},bi.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)};function Gn(e){e instanceof Ye&&(e={model:e}),G(this,{lax:!1},e)}Gn.prototype.fromXML=function(e,t,i){var n=t.rootHandler;t instanceof Ne?(n=t,t={}):typeof t=="string"?(n=this.handler(t),t={}):typeof n=="string"&&(n=this.handler(n));var r=this.model,o=this.lax,a=new Au(G({},t,{rootHandler:n})),l=new ha({proxy:!0}),d=ku();n.context=a,d.push(n);function u(w,S,U){var C=S(),M=C.line,D=C.column,L=C.data;L.charAt(0)==="<"&&L.indexOf(" ")!==-1&&(L=L.slice(0,L.indexOf(" "))+">");var V="unparsable content "+(L?L+" ":"")+`detected
22
+ line: `+M+`
23
+ column: `+D+`
24
+ nested error: `+w.message;if(U)return a.addWarning({message:V,error:w}),!0;throw Ft(V)}function f(w,S){return u(w,S,!0)}function h(){var w=a.elementsById,S=a.references,U,C;for(U=0;C=S[U];U++){var M=C.element,D=w[C.id],L=Ct(M).propertiesByName[C.property];if(D||a.addWarning({message:"unresolved reference <"+C.id+">",element:C.element,property:C.property,value:C.id}),L.isMany){var V=M.get(L.name),R=V.indexOf(C);R===-1&&(R=V.length),D?V[R]=D:V.splice(R,1)}else M.set(L.name,D)}}function g(){d.pop().handleEnd()}var E=/^<\?xml /i,I=/ encoding="([^"]+)"/i,v=/^utf-8$/i;function H(w){if(!!E.test(w)){var S=I.exec(w),U=S&&S[1];!U||v.test(U)||a.addWarning({message:"unsupported document encoding <"+U+">, falling back to UTF-8"})}}function X(w,S){var U=d.peek();try{d.push(U.handleNode(w))}catch(C){u(C,S,o)&&d.push(new Qn)}}function K(w,S){try{d.peek().handleText(w)}catch(U){f(U,S)}}function x(w,S){!w.trim()||K(w,S)}var A=r.getPackages().reduce(function(w,S){return w[S.uri]=S.prefix,w},Object.entries(Fn).reduce(function(w,[S,U]){return w[U]=S,w},r.config&&r.config.nsMap||{}));return l.ns(A).on("openTag",function(w,S,U,C){var M=w.attrs||{},D=Object.keys(M).reduce(function(V,R){var z=S(M[R]);return V[R]=z,V},{}),L={name:w.name,originalName:w.originalName,attributes:D,ns:w.ns};X(L,C)}).on("question",H).on("closeTag",g).on("cdata",K).on("text",function(w,S,U){x(S(w),U)}).on("error",u).on("warn",f),new Promise(function(w,S){var U;try{l.parse(e),h()}catch(V){U=V}var C=n.element;!U&&!C&&(U=Ft("failed to parse document as <"+n.type.$descriptor.name+">"));var M=a.warnings,D=a.references,L=a.elementsById;return U?(U.warnings=M,S(U)):w({rootElement:C,elementsById:L,references:D,warnings:M})})},Gn.prototype.handler=function(e){return new jn(this.model,e)};function ku(){var e=[];return Object.defineProperty(e,"peek",{value:function(){return this[this.length-1]}}),e}var Eu=`<?xml version="1.0" encoding="UTF-8"?>
25
+ `,bu=/<|>|'|"|&|\n\r|\n/g,ya=/<|>|&/g;function dt(e){this.prefixMap={},this.uriMap={},this.used={},this.wellknown=[],this.custom=[],this.parent=e,this.defaultPrefixMap=e&&e.defaultPrefixMap||{}}dt.prototype.mapDefaultPrefixes=function(e){this.defaultPrefixMap=e},dt.prototype.defaultUriByPrefix=function(e){return this.defaultPrefixMap[e]},dt.prototype.byUri=function(e){return this.uriMap[e]||this.parent&&this.parent.byUri(e)},dt.prototype.add=function(e,t){this.uriMap[e.uri]=e,t?this.wellknown.push(e):this.custom.push(e),this.mapPrefix(e.prefix,e.uri)},dt.prototype.uriByPrefix=function(e){return this.prefixMap[e||"xmlns"]||this.parent&&this.parent.uriByPrefix(e)},dt.prototype.mapPrefix=function(e,t){this.prefixMap[e||"xmlns"]=t},dt.prototype.getNSKey=function(e){return e.prefix!==void 0?e.uri+"|"+e.prefix:e.uri},dt.prototype.logUsed=function(e){var t=e.uri,i=this.getNSKey(e);this.used[i]=this.byUri(t),this.parent&&this.parent.logUsed(e)},dt.prototype.getUsed=function(e){var t=[].concat(this.wellknown,this.custom);return t.filter(i=>{var n=this.getNSKey(i);return this.used[n]})};function Cu(e){return e.charAt(0).toLowerCase()+e.slice(1)}function wu(e,t){return ua(t)?Cu(e):e}function Aa(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function ka(e){return it(e)?e:(e.prefix?e.prefix+":":"")+e.localName}function Tu(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 Bu(e,t){return t.isGeneric?G({localName:t.ns.localName},e):G({localName:wu(t.ns.localName,t.$pkg)},e)}function Nu(e,t){return G({localName:t.ns.localName},e)}function Iu(e){var t=e.$descriptor;return di(t.properties,function(i){var n=i.name;if(i.isVirtual||!pi(e,n))return!1;var r=e[n];return r===i.default||r===null?!1:i.isMany?r.length:!0})}var xu={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},Su={"<":"lt",">":"gt","&":"amp"};function Ea(e,t,i){return e=it(e)?e:""+e,e.replace(t,function(n){return"&"+i[n]+";"})}function Du(e){return Ea(e,bu,xu)}function vu(e){return Ea(e,ya,Su)}function Pu(e){return di(e,function(t){return t.isAttr})}function Mu(e){return di(e,function(t){return!t.isAttr})}function _n(e){this.tagName=e}_n.prototype.build=function(e){return this.element=e,this},_n.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()};function ei(){}ei.prototype.serializeValue=ei.prototype.serializeTo=function(e){e.append(this.escape?vu(this.value):this.value)},ei.prototype.build=function(e,t){return this.value=t,e.type==="String"&&t.search(ya)!==-1&&(this.escape=!0),this};function qn(e){this.tagName=e}Aa(qn,ei),qn.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,n,r,o=t.isGeneric;return o?n=this.parseGenericNsAttributes(e):n=this.parseNsAttributes(e),i?this.ns=this.nsPropertyTagName(i):this.ns=this.nsTagName(t),this.tagName=this.addTagName(this.ns),o?this.parseGenericContainments(e):(r=Iu(e),this.parseAttributes(Pu(r)),this.parseContainments(Mu(r))),this.parseGenericAttributes(e,n),this},ae.prototype.nsTagName=function(e){var t=this.logNamespaceUsed(e.ns);return Bu(t,e)},ae.prototype.nsPropertyTagName=function(e){var t=this.logNamespaceUsed(e.ns);return Nu(t,e)},ae.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},ae.prototype.nsAttributeName=function(e){var t;if(it(e)?t=Be(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}:G({localName:t.localName},i)},ae.prototype.parseGenericNsAttributes=function(e){return Object.entries(e).filter(([t,i])=>!t.startsWith("$")&&this.parseNsAttribute(e,t,i)).map(([t,i])=>({name:t,value:i}))},ae.prototype.parseGenericContainments=function(e){var t=e.$body;t&&this.body.push(new ei().build({type:"String"},t));var i=e.$children;i&&O(i,n=>{this.body.push(new ae(this).build(n))})},ae.prototype.parseNsAttribute=function(e,t,i){var n=e.$model,r=Be(t),o;if(r.prefix==="xmlns"&&(o={prefix:r.localName,uri:i}),!r.prefix&&r.localName==="xmlns"&&(o={uri:i}),!o)return{name:t,value:i};if(n&&n.getPackage(i))this.logNamespace(o,!0,!0);else{var a=this.logNamespaceUsed(o,!0);this.getNamespaces().logUsed(a)}},ae.prototype.parseNsAttributes=function(e){var t=this,i=e.$attrs,n=[];return O(i,function(r,o){var a=t.parseNsAttribute(e,o,r);a&&n.push(a)}),n},ae.prototype.parseGenericAttributes=function(e,t){var i=this;O(t,function(n){try{i.addAttribute(i.nsAttributeName(n.name),n.value)}catch(r){typeof console<"u"&&console.warn(`missing namespace information for <${n.name}=${n.value}> on`,e,r)}})},ae.prototype.parseContainments=function(e){var t=this,i=this.body,n=this.element;O(e,function(r){var o=n.get(r.name),a=r.isReference,l=r.isMany;if(l||(o=[o]),r.isBody)i.push(new ei().build(r,o[0]));else if(ra(r.type))O(o,function(u){i.push(new qn(t.addTagName(t.nsPropertyTagName(r))).build(r,u))});else if(a)O(o,function(u){i.push(new _n(t.addTagName(t.nsPropertyTagName(r))).build(u))});else{var d=ma(r);O(o,function(u){var f;d?d===fa?f=new ae(t,r):f=new Ps(t,r,d):f=new ae(t),i.push(f.build(u))})}})},ae.prototype.getNamespaces=function(e){var t=this.namespaces,i=this.parent,n;return t||(n=i&&i.getNamespaces(),e||!n?this.namespaces=t=new dt(n):t=n),t},ae.prototype.logNamespace=function(e,t,i){var n=this.getNamespaces(i),r=e.uri,o=e.prefix,a=n.byUri(r);return(!a||i)&&n.add(e,t),n.mapPrefix(o,r),e},ae.prototype.logNamespaceUsed=function(e,t){var i=this.getNamespaces(t),n=e.prefix,r=e.uri,o,a,l;if(!n&&!r)return{localName:e.localName};if(l=i.defaultUriByPrefix(n),r=r||l||i.uriByPrefix(n),!r)throw new Error("no namespace uri given for prefix <"+n+">");if(e=i.byUri(r),!e&&!n&&(e=this.logNamespace({uri:r},l===r,!0)),!e){for(o=n,a=1;i.uriByPrefix(o);)o=n+"_"+a++;e=this.logNamespace({prefix:o,uri:r},l===r)}return n&&i.mapPrefix(n,r),e},ae.prototype.parseAttributes=function(e){var t=this,i=this.element;O(e,function(n){var r=i.get(n.name);if(n.isReference)if(!n.isMany)r=r.id;else{var o=[];O(r,function(a){o.push(a.id)}),r=o.join(" ")}t.addAttribute(t.nsAttributeName(n),r)})},ae.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),ka(e)},ae.prototype.addAttribute=function(e,t){var i=this.attrs;it(t)&&(t=Du(t));var n=mp(i,function(o){return o.name.localName===e.localName&&o.name.uri===e.uri&&o.name.prefix===e.prefix}),r={name:e,value:t};n!==-1?i.splice(n,1,r):i.push(r)},ae.prototype.serializeAttributes=function(e){var t=this.attrs,i=this.namespaces;i&&(t=Tu(i).concat(t)),O(t,function(n){e.append(" ").append(ka(n.name)).append('="').append(n.value).append('"')})},ae.prototype.serializeTo=function(e){var t=this.body[0],i=t&&t.constructor!==ei;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(t?">":" />"),t&&(i&&e.appendNewLine().indent(),O(this.body,function(n){n.serializeTo(e)}),i&&e.unindent().appendIndent(),e.append("</"+this.tagName+">")),e.appendNewLine()};function Ps(e,t,i){ae.call(this,e,t),this.serialization=i}Aa(Ps,ae),Ps.prototype.parseNsAttributes=function(e){var t=ae.prototype.parseNsAttributes.call(this,e).filter(a=>a.name!==this.serialization),i=e.$descriptor;if(i.name===this.propertyDescriptor.type)return t;var n=this.typeNs=this.nsTagName(i);this.getNamespaces().logUsed(this.typeNs);var r=e.$model.getPackage(n.uri),o=r.xml&&r.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(this.serialization),(n.prefix?n.prefix+":":"")+o+i.ns.localName),t},Ps.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri};function Vu(){this.value="",this.write=function(e){this.value+=e}}function Ou(e,t){var i=[""];this.append=function(n){return e.write(n),this},this.appendNewLine=function(){return t&&e.write(`
26
+ `),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 Ru(e){e=G({format:!1,preamble:!0},e||{});function t(i,n){var r=n||new Vu,o=new Ou(r,e.format);e.preamble&&o.append(Eu);var a=new ae,l=i.$model;if(a.getNamespaces().mapDefaultPrefixes(Lu(l)),a.build(i).serializeTo(o),!n)return r.value}return{toXML:t}}function Lu(e){const t=e.config&&e.config.nsMap||{},i={};for(const n in Fn)i[n]=Fn[n];for(const n in t){const r=t[n];i[r]=n}for(const n of e.getPackages())i[n.prefix]=n.uri;return i}function Ms(e,t){Ye.call(this,e,t)}Ms.prototype=Object.create(Ye.prototype),Ms.prototype.fromXML=function(e,t,i){it(t)||(i=t,t="bpmn:Definitions");var n=new Gn(G({model:this,lax:!0},i)),r=n.handler(t);return n.fromXML(e,r)},Ms.prototype.toXML=function(e,t){var i=new Ru(t);return new Promise(function(n,r){try{var o=i.toXML(e);return n({xml:o})}catch(a){return r(a)}})};var Fu="BPMN20",Qu="http://www.omg.org/spec/BPMN/20100524/MODEL",Uu="bpmn",ju=[],Gu=[{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",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"}]}],_u=[{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"}]}],qu={tagAlias:"lowerCase",typePrefix:"t"},Ju={name:Fu,uri:Qu,prefix:Uu,associations:ju,types:Gu,enumerations:_u,xml:qu},Hu="BPMNDI",Ku="http://www.omg.org/spec/BPMN/20100524/DI",zu="bpmndi",Wu=[{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"]}],Yu=[{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"}]}],Zu=[],Xu={name:Hu,uri:Ku,prefix:zu,types:Wu,enumerations:Yu,associations:Zu},$u="DC",ef="http://www.omg.org/spec/DD/20100524/DC",tf="dc",sf=[{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}]}],nf=[],rf={name:$u,uri:ef,prefix:tf,types:sf,associations:nf},of="DI",af="http://www.omg.org/spec/DD/20100524/DI",lf="di",cf=[{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"}]}],pf=[],df={tagAlias:"lowerCase"},hf={name:of,uri:af,prefix:lf,types:cf,associations:pf,xml:df},uf="bpmn.io colors for BPMN",ff="http://bpmn.io/schema/bpmn/biocolor/1.0",mf="bioc",gf=[{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"}]}],yf=[],Af=[],kf={name:uf,uri:ff,prefix:mf,types:gf,enumerations:yf,associations:Af},Ef="BPMN in Color",bf="http://www.omg.org/spec/BPMN/non-normative/color/1.0",Cf="color",wf=[{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"}]}],Tf=[],Bf=[],Nf={name:Ef,uri:bf,prefix:Cf,types:wf,enumerations:Tf,associations:Bf};const If={bpmn:Ju,bpmndi:Xu,dc:rf,di:hf,bioc:kf,color:Nf};function xf(e,t){const i=G({},If,e);return new Ms(i,t)}var Sf="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 Df(e){pi(e,"di")||Object.defineProperty(e,"di",{enumerable:!1,get:function(){throw new Error(Sf)}})}function Se(e,t){return e.$instanceOf(t)}function vf(e){return st(e.rootElements,function(t){return Se(t,"bpmn:Process")||Se(t,"bpmn:Collaboration")})}function Pf(e){var t={},i=[],n={};function r(T,B){return function(j){T(j,B)}}function o(T){t[T.id]=T}function a(T){return t[T.id]}function l(T,B){var j=T.gfx;if(j)throw new Error(`already rendered ${Te(T)}`);return e.element(T,n[T.id],B)}function d(T,B){return e.root(T,n[T.id],B)}function u(T,B){try{var j=n[T.id]&&l(T,B);return o(T),j}catch(te){f(te.message,{element:T,error:te}),console.error(`failed to import ${Te(T)}`,te)}}function f(T,B){e.error(T,B)}var h=this.registerDi=function(B){var j=B.bpmnElement;j?n[j.id]?f(`multiple DI elements defined for ${Te(j)}`,{element:j}):(n[j.id]=B,Df(j)):f(`no bpmnElement referenced in ${Te(B)}`,{element:B})};function g(T){E(T.plane)}function E(T){h(T),O(T.planeElement,I)}function I(T){h(T)}this.handleDefinitions=function(B,j){var te=B.diagrams;if(j&&te.indexOf(j)===-1)throw new Error("diagram not part of <bpmn:Definitions />");if(!j&&te&&te.length&&(j=te[0]),!j)throw new Error("no diagram to display");n={},g(j);var Ge=j.plane;if(!Ge)throw new Error(`no plane for ${Te(j)}`);var m=Ge.bpmnElement;if(!m)if(m=vf(B),m)f(`correcting missing bpmnElement on ${Te(Ge)} to ${Te(m)}`),Ge.bpmnElement=m,h(Ge);else throw new Error("no process or collaboration to display");var p=d(m,Ge);if(Se(m,"bpmn:Process")||Se(m,"bpmn:SubProcess"))H(m,p);else if(Se(m,"bpmn:Collaboration"))fe(m,p),X(B.rootElements,p);else throw new Error(`unsupported bpmnElement for ${Te(Ge)}: ${Te(m)}`);v(i)};var v=this.handleDeferred=function(){for(var B;i.length;)B=i.shift(),B()};function H(T,B){Z(T,B),M(T.ioSpecification,B),C(T.artifacts,B),o(T)}function X(T,B){var j=di(T,function(te){return!a(te)&&Se(te,"bpmn:Process")&&te.laneSets});j.forEach(r(H,B))}function K(T,B){u(T,B)}function x(T,B){O(T,r(K,B))}function A(T,B){u(T,B)}function w(T,B){u(T,B)}function S(T,B){u(T,B)}function U(T,B){u(T,B)}function C(T,B){O(T,function(j){Se(j,"bpmn:Association")?i.push(function(){U(j,B)}):U(j,B)})}function M(T,B){!T||(O(T.dataInputs,r(w,B)),O(T.dataOutputs,r(S,B)))}var D=this.handleSubProcess=function(B,j){Z(B,j),C(B.artifacts,j)};function L(T,B){var j=u(T,B);Se(T,"bpmn:SubProcess")&&D(T,j||B),Se(T,"bpmn:Activity")&&M(T.ioSpecification,B),i.push(function(){O(T.dataInputAssociations,r(A,B)),O(T.dataOutputAssociations,r(A,B))})}function V(T,B){u(T,B)}function R(T,B){u(T,B)}function z(T,B){i.push(function(){var j=u(T,B);T.childLaneSet&&ut(T.childLaneSet,j||B),Ze(T)})}function ut(T,B){O(T.lanes,r(z,B))}function oe(T,B){O(T,r(ut,B))}function Z(T,B){rt(T.flowElements,B),T.laneSets&&oe(T.laneSets,B)}function rt(T,B){O(T,function(j){Se(j,"bpmn:SequenceFlow")?i.push(function(){V(j,B)}):Se(j,"bpmn:BoundaryEvent")?i.unshift(function(){L(j,B)}):Se(j,"bpmn:FlowNode")?L(j,B):Se(j,"bpmn:DataObject")||(Se(j,"bpmn:DataStoreReference")||Se(j,"bpmn:DataObjectReference")?R(j,B):f(`unrecognized flowElement ${Te(j)} in context ${Te(B&&B.businessObject)}`,{element:j,context:B}))})}function ot(T,B){var j=u(T,B),te=T.processRef;te&&H(te,j||B)}function fe(T,B){O(T.participants,r(ot,B)),i.push(function(){x(T.messageFlows,B)}),C(T.artifacts,B)}function Ze(T){O(T.flowNodeRef,function(B){var j=B.get("lanes");j&&j.push(T)})}}function Mf(e,t,i){var n,r,o,a,l=[];function d(u,f){var h={root:function(v,H){return n.add(v,H)},element:function(v,H,X){return n.add(v,H,X)},error:function(v,H){l.push({message:v,context:H})}},g=new Pf(h);f=f||u.diagrams&&u.diagrams[0];var E=Vf(u,f);if(!E)throw new Error("no diagram to display");O(E,function(v){g.handleDefinitions(u,v)});var I=f.plane.bpmnElement.id;o.setRootElement(o.findRoot(I+"_plane")||o.findRoot(I))}return new Promise(function(u,f){try{return n=e.get("bpmnImporter"),r=e.get("eventBus"),o=e.get("canvas"),r.fire("import.render.start",{definitions:t}),d(t,i),r.fire("import.render.complete",{error:a,warnings:l}),u({warnings:l})}catch(h){return h.warnings=l,f(h)}})}function Vf(e,t){if(!(!t||!t.plane)){var i=t.plane.bpmnElement,n=i;!Q(i,"bpmn:Process")&&!Q(i,"bpmn:Collaboration")&&(n=Of(i));var r;Q(n,"bpmn:Collaboration")?r=n:r=st(e.rootElements,function(u){if(!!Q(u,"bpmn:Collaboration"))return st(u.participants,function(f){return f.processRef===n})});var o=[n];r&&(o=gp(r.participants,function(u){return u.processRef}),o.push(r));var a=ba(o),l=[t],d=[i];return O(e.diagrams,function(u){if(!!u.plane){var f=u.plane.bpmnElement;a.indexOf(f)!==-1&&d.indexOf(f)===-1&&(l.push(u),d.push(f))}}),l}}function ba(e){var t=[];return O(e,function(i){!i||(t.push(i),t=t.concat(ba(i.flowElements)))}),t}function Of(e){for(var t=e;t;){if(Q(t,"bpmn:Process"))return t;t=t.$parent}}var Rf='<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>',Ca=Rf,wa={verticalAlign:"middle"},Ta={color:"#404040"},Lf={zIndex:"1001",position:"fixed",top:"0",left:"0",right:"0",bottom:"0"},Ff={width:"100%",height:"100%",background:"rgba(40,40,40,0.2)"},Qf={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"},Uf='<div class="bjs-powered-by-lightbox"><div class="backdrop"></div><div class="notice"><a href="https://bpmn.io" target="_blank" rel="noopener" class="link">'+Ca+'</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>',ht;function jf(){ht=Fe(Uf),we(ht,Lf),we(At("svg",ht),wa),we(At(".backdrop",ht),Ff),we(At(".notice",ht),Qf),we(At(".link",ht),Ta,{margin:"15px 20px 15px 10px",alignSelf:"center"})}function Gf(){ht||(jf(),ui.bind(ht,".backdrop","click",function(e){document.body.removeChild(ht)})),document.body.appendChild(ht)}function ue(e){e=G({},qf,e),this._moddle=this._createModdle(e),this._container=this._createContainer(e),this._init(this._container,this._moddle,e),Hf(this._container)}lt(ue,Rt),ue.prototype.importXML=async function(t,i){const n=this;function r(a){return n.get("eventBus").createEvent(a)}let o=[];try{t=this._emit("import.parse.start",{xml:t})||t;let a;try{a=await this._moddle.fromXML(t,"bpmn:Definitions")}catch(g){throw this._emit("import.parse.complete",{error:g}),g}let l=a.rootElement;const d=a.references,u=a.warnings,f=a.elementsById;o=o.concat(u),l=this._emit("import.parse.complete",r({error:null,definitions:l,elementsById:f,references:d,warnings:o}))||l;const h=await this.importDefinitions(l,i);return o=o.concat(h.warnings),this._emit("import.done",{error:null,warnings:o}),{warnings:o}}catch(a){let l=a;throw o=o.concat(l.warnings||[]),Vs(l,o),l=_f(l),this._emit("import.done",{error:l,warnings:l.warnings}),l}},ue.prototype.importDefinitions=async function(t,i){return this._setDefinitions(t),{warnings:(await this.open(i)).warnings}},ue.prototype.open=async function(t){const i=this._definitions;let n=t;if(!i){const o=new Error("no XML imported");throw Vs(o,[]),o}if(typeof t=="string"&&(n=Jf(i,t),!n)){const o=new Error("BPMNDiagram <"+t+"> not found");throw Vs(o,[]),o}try{this.clear()}catch(o){throw Vs(o,[]),o}const{warnings:r}=await Mf(this,i,n);return{warnings:r}},ue.prototype.saveXML=async function(t){t=t||{};let i=this._definitions,n,r;try{if(!i)throw new Error("no definitions loaded");i=this._emit("saveXML.start",{definitions:i})||i,r=(await this._moddle.toXML(i,t)).xml,r=this._emit("saveXML.serialized",{xml:r})||r}catch(a){n=a}const o=n?{error:n}:{xml:r};if(this._emit("saveXML.done",o),n)throw n;return o},ue.prototype.saveSVG=async function(){this._emit("saveSVG.start");let t,i;try{const n=this.get("canvas"),r=n.getActiveLayer(),o=At(":scope > defs",n._svg),a=co(r),l=o?"<defs>"+co(o)+"</defs>":"",d=r.getBBox();t=`<?xml version="1.0" encoding="utf-8"?>
27
+ <!-- created with bpmn-js / http://bpmn.io -->
28
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
29
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="`+d.width+'" height="'+d.height+'" viewBox="'+d.x+" "+d.y+" "+d.width+" "+d.height+'" version="1.1">'+l+a+"</svg>"}catch(n){i=n}if(this._emit("saveSVG.done",{error:i,svg:t}),i)throw i;return{svg:t}},ue.prototype._setDefinitions=function(e){this._definitions=e},ue.prototype.getModules=function(){return this._modules},ue.prototype.clear=function(){!this.getDefinitions()||Rt.prototype.clear.call(this)},ue.prototype.destroy=function(){Rt.prototype.destroy.call(this),fi(this._container)},ue.prototype.on=function(e,t,i,n){return this.get("eventBus").on(e,t,i,n)},ue.prototype.off=function(e,t){this.get("eventBus").off(e,t)},ue.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=At(e)),e.appendChild(this._container),this._emit("attach",{}),this.get("canvas").resized()},ue.prototype.getDefinitions=function(){return this._definitions},ue.prototype.detach=function(){const e=this._container,t=e.parentNode;!t||(this._emit("detach",{}),t.removeChild(e))},ue.prototype._init=function(e,t,i){const n=i.modules||this.getModules(i),r=i.additionalModules||[],o=[{bpmnjs:["value",this],moddle:["value",t]}],a=[].concat(o,n,r),l=G(Cp(i,["additionalModules"]),{canvas:G({},i.canvas,{container:e}),modules:a});Rt.call(this,l),i&&i.container&&this.attachTo(i.container)},ue.prototype._emit=function(e,t){return this.get("eventBus").fire(e,t)},ue.prototype._createContainer=function(e){const t=Fe('<div class="bjs-container"></div>');return we(t,{width:Ba(e.width),height:Ba(e.height),position:e.position}),t},ue.prototype._createModdle=function(e){const t=G({},this._moddleExtensions,e.moddleExtensions);return new xf(t)},ue.prototype._modules=[];function Vs(e,t){return e.warnings=t,e}function _f(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 qf={width:"100%",height:"100%",position:"relative"};function Ba(e){return e+(Dt(e)?"px":"")}function Jf(e,t){return t&&st(e.diagrams,function(i){return i.id===t})||null}function Hf(e){const i='<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" >'+Ca+"</a>",n=Fe(i);we(At("svg",n),wa),we(n,Ta,{position:"absolute",bottom:"15px",right:"15px",zIndex:"100"}),e.appendChild(n),Wt.bind(n,"click",function(r){Gf(),r.preventDefault()})}function Ci(e){ue.call(this,e)}lt(Ci,ue),Ci.prototype._modules=[nh,wh,Io,Sh,bo],Ci.prototype._moddleExtensions={};var Kf=/^djs-cursor-.*$/;function Na(e){var t=zt(document.body);t.removeMatching(Kf),e&&t.add("djs-cursor-"+e)}function zf(){Na(null)}var Wf=5e3;function Yf(e,t){t=t||"element.click";function i(){return!1}return e.once(t,Wf,i),function(){e.off(t,i)}}function Ia(e,t){return{x:e.x-t.x,y:e.y-t.y}}var Zf=15;function xa(e,t){var i;function n(l){return a(l.originalEvent)}e.on("canvas.focus.changed",function(l){l.focused?e.on("element.mousedown",500,n):e.off("element.mousedown",n)});function r(l){var d=i.start,u=i.button,f=Vo(l),h=Ia(f,d);if(!i.dragging&&Xf(h)>Zf&&(i.dragging=!0,u===0&&Yf(e),Na("grab")),i.dragging){var g=i.last||i.start;h=Ia(f,g),t.scroll({dx:h.x,dy:h.y}),i.last=f}l.preventDefault()}function o(l){Wt.unbind(document,"mousemove",r),Wt.unbind(document,"mouseup",o),i=null,zf()}function a(l){if(!fo(l.target,".djs-draggable")){var d=l.button;if(!(d>=2||l.ctrlKey||l.shiftKey||l.altKey))return i={button:d,start:Vo(l)},Wt.bind(document,"mousemove",r),Wt.bind(document,"mouseup",o),!0}}this.isActive=function(){return!!i}}xa.$inject=["eventBus","canvas"];function Xf(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}const Jn={__init__:["moveCanvas"],moveCanvas:["type",xa]};var $f=new In("tt");function em(e){var t=Fe('<div class="djs-tooltip-container" />');return we(t,{position:"absolute",width:"0",height:"0"}),e.insertBefore(t,e.firstChild),t}function tm(e,t,i){we(e,{left:t+"px",top:i+"px"})}function Hn(e,t){e.style.display=t===!1?"none":""}var Sa="djs-tooltip",Kn="."+Sa;function De(e,t){this._eventBus=e,this._canvas=t,this._ids=$f,this._tooltipDefaults={show:{minZoom:.7,maxZoom:5}},this._tooltips={},this._tooltipRoot=em(t.getContainer());var i=this;ui.bind(this._tooltipRoot,Kn,"mousedown",function(n){n.stopPropagation()}),ui.bind(this._tooltipRoot,Kn,"mouseover",function(n){i.trigger("mouseover",n)}),ui.bind(this._tooltipRoot,Kn,"mouseout",function(n){i.trigger("mouseout",n)}),this._init()}De.$inject=["eventBus","canvas"],De.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=G({},this._tooltipDefaults,e,{id:t}),this._addTooltip(e),e.timeout&&this.setTimeout(e),t},De.prototype.trigger=function(e,t){var i=t.delegateTarget||t.target,n=this.get(bn(i,"data-tooltip-id"));!n||(e==="mouseover"&&n.timeout&&this.clearTimeout(n),e==="mouseout"&&n.timeout&&(n.timeout=1e3,this.setTimeout(n)))},De.prototype.get=function(e){return typeof e!="string"&&(e=e.id),this._tooltips[e]},De.prototype.clearTimeout=function(e){if(e=this.get(e),!!e){var t=e.removeTimer;t&&(clearTimeout(t),e.removeTimer=null)}},De.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)}},De.prototype.remove=function(e){var t=this.get(e);t&&(fi(t.html),fi(t.htmlContainer),delete t.htmlContainer,delete this._tooltips[t.id])},De.prototype.show=function(){Hn(this._tooltipRoot)},De.prototype.hide=function(){Hn(this._tooltipRoot,!1)},De.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},De.prototype._addTooltip=function(e){var t=e.id,i=e.html,n,r=this._tooltipRoot;i.get&&i.constructor.prototype.jquery&&(i=i.get(0)),it(i)&&(i=Fe(i)),n=Fe('<div data-tooltip-id="'+t+'" class="'+Sa+'">'),we(n,{position:"absolute"}),n.appendChild(i),e.type&&zt(n).add("djs-tooltip-"+e.type),e.className&&zt(n).add(e.className),e.htmlContainer=n,r.appendChild(n),this._tooltips[t]=e,this._updateTooltip(e)},De.prototype._updateTooltip=function(e){var t=e.position,i=e.htmlContainer;tm(i,t.x,t.y)},De.prototype._updateTooltipVisibilty=function(e){O(this._tooltips,function(t){var i=t.show,n=t.htmlContainer,r=!0;i&&((i.minZoom>e.scale||i.maxZoom<e.scale)&&(r=!1),Hn(n,r))})},De.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 zn={__init__:["tooltips"],tooltips:["type",De]},im=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)]},Wn=e=>{var t=im(e),i;if(t==="array")i=[];else if(t==="object")i={};else return e;if(t==="array")for(var n=0,r=e.length;n<r;n++)i.push(Wn(e[n]));else if(t==="object")for(var o in e)i[o]=Wn(e[o]);return i};function sm(e,t="YYYY-MM-DD HH:mm:ss"){const i=new Date(e),n=i.getFullYear(),r=i.getMonth()+1,o=i.getDate(),a=i.getHours(),l=i.getMinutes(),d=i.getSeconds(),u=i.getDay(),h={YYYY:n,MM:r,DD:o,HH:a,mm:l,ss:d,ww:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"][u]};for(let g in h)t=t.replace(g,h[g]);return t}function nm(e){e=Wn(e);const t={};e.forEach(n=>{t[n.historyActivityId]?t[n.historyActivityId].push(n):t[n.historyActivityId]=[n]});for(let n in t){const r=t[n];if(r.length>1){const o=e.findLast(a=>a.historyActivityId==n);o.assigneeName=Array.from(new Set(r.map(a=>a.assigneeName))).join("/")}}const i=[];return e.forEach(n=>{let{assigneeName:r,createTime:o,endTime:a,comments:l}=n;/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&(o=o.replace(/-/g,"/"),a=a.replace(/-/g,"/"));const d={id:n.historyActivityId,class:!a&&n.historyActivityType!="candidate"?"nodePrimary":""};let u="";if(r){if(u=`<span title='${r}'>${r}</span><br>`,o&&(u+=`<span title='${o}'>${sm(o,"YYYY-MM-DD HH:mm")}</span><br>`),l&&l.length>0){let h,{type:g,fullMessage:E}=l.find(I=>I.action=="AddComment")||{};g=="assigneeComment"&&(h="\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A"+E,d.class="nodeWarn"),g=="dispatchComment"&&(h="\u8C03\u5EA6\uFF1A"+E,d.class="nodeWarn"),g=="transferComment"&&(h="\u8F6C\u529E\uFF1A"+E,d.class="nodeWarn"),g=="delegateComment"&&(h="\u59D4\u6258\uFF1A"+E,d.class="nodeWarn"),g=="rollbackComment"&&(h="\u9A73\u56DE\uFF1A"+E,d.class="nodeError"),g=="terminateComment"&&(h="\u7EC8\u6B62\uFF1A"+E,d.class="nodeError"),g=="addMultiInstanceComment"&&(h="\u52A0\u7B7E\uFF1A"+E,d.class="nodeWarn"),g=="deleteMultiInstanceComment"&&(h="\u51CF\u7B7E\uFF1A"+E,d.class="nodeError"),g=="withdrawComment"&&(h="\u64A4\u9500\uFF1A"+E,d.class="nodeWarn"),g=="deleteProcessComment"&&(h="\u5220\u9664\u6D41\u7A0B\uFF1A"+E,d.class="nodeError"),g=="cancelProcessComment"&&(h="\u64A4\u9500\u6D41\u7A0B\uFF1A"+E,d.class="nodeError"),g=="comment"&&(h="\u5BA1\u6279\uFF1A"+E,d.class="nodeSuccess"),h&&(u+=`<span title='${h}'>${h}</span>`)}d.tooltip=u}n.historyActivityType=="sequenceFlow"?d.class="lineWarn":!d.class&&n.historyActivityType!="candidate"&&(d.class="nodeSuccess");const f=i.findIndex(h=>h.id==n.historyActivityId);f!=-1?i.splice(f,1,d):i.push(d)}),i}function Da(e){const t=[],i=[],n=[];return e.routeTxt&&e.routeTxt.length>0&&e.routeTxt.forEach(r=>{r.type==="user"?t.push(...r.ids.filter(o=>o&&o.trim()!=="")):r.type==="post"?i.push(...r.ids):r.type==="dept"&&n.push(...r.ids)}),{intersection:e.assigneeRetain=="true"?1:0,userIds:[...new Set(t)],postIds:[...new Set(i)],deptIds:[...new Set(n)]}}const dE="",rm={name:"bpmn-look",props:{diagram:{type:String,default:"",required:!0},approvalData:{type:Array,default:()=>[]},isXml:{type:Boolean,default:!0}},data(){return{isAdd:!1,viewer:null,loading:!0}},mounted(){this.initViewer(),window.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(Ci)=="[object Function]"?Ci:Ci.default,t=Object.prototype.toString.call(zn)=="[object Object]"?zn:zn.default,i=Object.prototype.toString.call(Jn)=="[object Object]"?Jn:Jn.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())})},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 r=!1,o,a,l=0,d=0,u=0,f=0;t.addEventListener("touchstart",h=>{r=!0;const g=h.touches[0];o=g.clientX,a=g.clientY;const E=i.getAttribute("transform").match(/matrix\(([^)]+)\)/)[1].split(/\s*,\s*|\s+/);l=parseFloat(E[4]),d=parseFloat(E[5]);const I=this.getTransformMatrix(n.style.transform);this.isAdd?(u=parseFloat(I[4]),f=parseFloat(I[5])):(u=parseFloat(I[4])+30,f=parseFloat(I[5])+16,this.isAdd=!0)}),t.addEventListener("touchmove",h=>{if(!r)return;const g=h.touches[0],E=g.clientX-o,I=g.clientY-a;d!==void 0&&(i.setAttribute("transform",`matrix(0.679276 0 0 0.679276 ${l+E} ${d+I})`),n.setAttribute("style",`position: absolute; width: 0px; height: 0px; transform: matrix(0.615, 0, 0, 0.615, ${u+E}, ${f+I});`)),e._cachedViewbox&&(e._cachedViewbox.x=E,e._cachedViewbox.y=I),h.preventDefault()}),t.addEventListener("touchend",()=>{r=!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(r=>{if(r.id&&r.class&&t.addMarker(r.id,r.class),r.id&&r.tooltip){const o=i.get(r.id);if(o){let{x:a,y:l,type:d}=o;["bpmn:StartEvent","bpmn:EndEvent"].includes(d)?(a=a-45,l=l+65):["bpmn:UserTask"].includes(d)&&(a=a-10,l=l+90),n.add({position:{x:a,y:l},html:r.tooltip})}}})},addApprovalData(){if(!this.approvalData||this.approvalData.length==0)return;const e=nm(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(){window.removeEventListener("resize",this.canvasResize),this.viewer&&this.viewer.destroy()}},om={ref:"container",class:"bpmn-look"};function am(e,t,i,n,r,o){return s.openBlock(),s.createElementBlock("div",om,null,512)}const va=pe(rm,[["render",am],["__scopeId","data-v-b9f95b8b"]]),hE="",lm={name:"nf-flow",props:{flowList:{type:Array,default:()=>[]}},data(){return{isFlag:!1,toggleText:"\u5C55\u5F00",commentMap:{assigneeComment:"\u53D8\u66F4\u5BA1\u6838\u4EBA",dispatchComment:"\u8C03\u5EA6",transferComment:"\u8F6C\u529E",delegateComment:"\u59D4\u6258",rollbackComment:"\u9A73\u56DE\u610F\u89C1",terminateComment:"\u7EC8\u6B62\u610F\u89C1",addMultiInstanceComment:"\u52A0\u7B7E",deleteMultiInstanceComment:"\u51CF\u7B7E",withdrawComment:"\u64A4\u9500",recallComment:"\u64A4\u56DE",deleteProcessComment:"\u5220\u9664\u6D41\u7A0B",skipComment:"\u8DF3\u8FC7",comment:"\u5BA1\u6279\u610F\u89C1"}}},methods:{handleClick(){this.isFlag=!this.isFlag,this.toggleText=this.isFlag?"\u6536\u8D77":"\u5C55\u5F00"}}},cm={type:"flex"},pm=["timestamp"],dm={key:0},hm={key:0},um={key:2,style:{color:"gray","font-size":"12px"}},fm={key:0},mm={key:1,style:{color:"gray","font-size":"12px"}},gm={key:0,style:{display:"flex","justify-content":"space-between"}},ym={style:{flex:"1",margin:"-15px 0 0 4px"}},Am={key:2};function km(e,t,i,n,r,o){const a=s.resolveComponent("nf-upload");return s.openBlock(),s.createElementBlock("div",cm,[s.createElementVNode("div",null,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(i.flowList,(l,d)=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[["candidate","sequenceFlow"].includes(l.historyActivityType)?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",{key:l.id,timestamp:l.endTime||l.createTime,placement:"top",class:"flow-item"},[s.createElementVNode("p",null,s.toDisplayString(l.assigneeName)+" \u5728 ["+s.toDisplayString(l.createTime)+"] \u5F00\u59CB\u5904\u7406 ["+s.toDisplayString(l.historyActivityType=="endEvent"?"\u7ED3\u675F":l.historyActivityName||"\u672A\u547D\u540D")+"] \u73AF\u8282 ",1),l.historyActivityDurationTime?(s.openBlock(),s.createElementBlock("p",dm," \u4EFB\u52A1\u5386\u65F6 ["+s.toDisplayString(l.historyActivityDurationTime)+"] ",1)):s.createCommentVNode("",!0),l.comments&&l.comments.length>0?(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(l.comments.filter(u=>u.action==="AddComment"),(u,f)=>(s.openBlock(),s.createElementBlock("p",{key:f},[f<1?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[r.commentMap[u.type]?(s.openBlock(),s.createElementBlock("span",hm,s.toDisplayString(r.commentMap[u.type])+": ["+s.toDisplayString(u.fullMessage)+"] ",1)):s.createCommentVNode("",!0),l.comments.filter(h=>h.action==="AddComment").length>1?(s.openBlock(),s.createElementBlock("span",{key:1,style:{color:"#1989fa",float:"right"},onClick:t[0]||(t[0]=(...h)=>o.handleClick&&o.handleClick(...h))},[s.createTextVNode(s.toDisplayString(r.toggleText)+" ",1),s.createElementVNode("i",{class:s.normalizeClass([r.isFlag?"arrow-up":"arrow-down"])},null,2)])):s.createCommentVNode("",!0),u.time?(s.openBlock(),s.createElementBlock("p",um,s.toDisplayString(u.time),1)):s.createCommentVNode("",!0)],64)):s.createCommentVNode("",!0),f>0&&r.isFlag?(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[r.commentMap[u.type]?(s.openBlock(),s.createElementBlock("span",fm,s.toDisplayString(r.commentMap[u.type])+": ["+s.toDisplayString(u.fullMessage)+"] ",1)):s.createCommentVNode("",!0),u.time?(s.openBlock(),s.createElementBlock("p",mm,s.toDisplayString(u.time),1)):s.createCommentVNode("",!0)],64)):s.createCommentVNode("",!0)]))),128)),l.attachments&&l.attachments.length>0?(s.openBlock(),s.createElementBlock("div",gm,[t[1]||(t[1]=s.createElementVNode("span",null,"\u9644\u4EF6: ",-1)),s.createElementVNode("div",ym,[s.createVNode(a,{"model-value":l.attachments,props:{label:"name",value:"url"},"upload-preview":e.handleUploadPreview,disabled:""},null,8,["model-value","upload-preview"])])])):s.createCommentVNode("",!0)],64)):s.createCommentVNode("",!0),l.endTime?(s.openBlock(),s.createElementBlock("p",Am,"\u7ED3\u675F\u65F6\u95F4: ["+s.toDisplayString(l.endTime)+"]",1)):s.createCommentVNode("",!0)],8,pm))],64))),256))])])}const Em=at({name:"TopTab",components:{processFlow:pe(lm,[["render",km],["__scopeId","data-v-235ac98b"]]),BpmnLook:va,TopPopup:Ke,ViewAttchList:zr,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:{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}}}),fE="",bm={class:"tops-tab"},Cm={class:"tops-tab-header"},wm=["onClick"],Tm={key:0,class:"bottom-line"},Bm={class:"tops-tab-body"},Nm=["name"],Im={key:2,class:"textnone"},xm={key:2,style:{height:"100%"}},Sm={key:1,class:"textnone"},Dm={class:"seal-list__item--option"},vm={style:{"max-width":"100px"}},Pm={class:"seal-list__item--option"},Mm={style:{"max-width":"100px"}},Vm={class:"seal-list__item--option"},Om={style:{"max-width":"100px"}};function Rm(e,t,i,n,r,o){const a=s.resolveComponent("BpmnLook"),l=s.resolveComponent("processFlow"),d=s.resolveComponent("ViewAttchList"),u=s.resolveComponent("TopPopup"),f=s.resolveComponent("PreviewImage");return s.openBlock(),s.createElementBlock("div",bm,[s.createElementVNode("div",Cm,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.isTapList,(h,g)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["tops-tab-header-items",[h.key===e.active?"active":""]]),onClick:E=>e.handleActive(h.key,g)},s.toDisplayString(h.label),11,wm))),256)),e.isTapList.length?(s.openBlock(),s.createElementBlock("div",Tm)):s.createCommentVNode("",!0)]),s.createElementVNode("div",Bm,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.isTapList,h=>s.withDirectives((s.openBlock(),s.createElementBlock("div",{key:h.key,style:{height:"100%"},class:s.normalizeClass([h.key==="c"&&"tops-tab-body-taskcommentlist"])},[h.key==="a"&&h.type==="default"?s.renderSlot(e.$slots,"default",{key:0},void 0,!0):s.createCommentVNode("",!0),e.active===h.key&&h.key==="b"&&h.type==="default"?(s.openBlock(),s.createElementBlock("div",{key:1,class:"uph-tab-b",style:{height:"100%"},name:h.slot},[e.processXml?(s.openBlock(),s.createElementBlock("div",{key:0,style:{padding:"10px 20px",color:"#1389ff"},onClick:t[0]||(t[0]=()=>e.visibleTack=!0)}," \u67E5\u770B\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F ")):s.createCommentVNode("",!0),h.key==="b"&&e.processXml?(s.openBlock(),s.createBlock(a,{key:1,ref_for:!0,ref:"PreviewRef",diagram:e.processXml,approvalData:e.approvalData},null,8,["diagram","approvalData"])):(s.openBlock(),s.createElementBlock("div",Im," \u6682\u65E0\u6D41\u7A0B\u56FE "))],8,Nm)):s.createCommentVNode("",!0),h.key==="c"&&h.type==="default"?(s.openBlock(),s.createElementBlock("div",xm,[h.key==="c"&&e.ProcessInsObj.flow?(s.openBlock(),s.createBlock(l,{key:0,"flow-list":e.ProcessInsObj.flow},null,8,["flow-list"])):(s.openBlock(),s.createElementBlock("div",Sm,"\u6682\u65E0\u6570\u636E"))])):s.createCommentVNode("",!0),h.type=="slot"?s.renderSlot(e.$slots,h.slot,{key:3},void 0,!0):s.createCommentVNode("",!0)],2)),[[s.vShow,e.active===h.key]])),128))]),s.createVNode(u,{visible:e.visible,"onUpdate:visible":t[1]||(t[1]=h=>e.visible=h),ref:"TopPopup",titleText:"\u9644\u4EF6\u5217\u8868",isDrawer:"",isIndex:5},{default:s.withCtx(()=>[s.createVNode(d,{inList:e.inList},null,8,["inList"])]),_:1},8,["visible"]),s.createVNode(f,{images:e.signLists,visible:e.signPreViewVisible,"onUpdate:visible":t[2]||(t[2]=h=>e.signPreViewVisible=h),indexd:e.indexd},null,8,["images","visible","indexd"]),s.createVNode(u,{visible:e.visibleTack,"onUpdate:visible":t[3]||(t[3]=h=>e.visibleTack=h),ref:"TopPopups",titleText:"\u6D41\u7A0B\u4FE1\u606F",isDrawer:"",width:"60vw"},{default:s.withCtx(()=>[e.trackListss&&e.trackListss.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(e.trackListss,(h,g)=>(s.openBlock(),s.createElementBlock("div",{key:h.id,class:"seal-list__item"},[s.createElementVNode("div",null,[s.createElementVNode("div",Dm,[t[4]||(t[4]=s.createElementVNode("span",null,"\u5E8F\u53F7",-1)),s.createElementVNode("span",vm,s.toDisplayString(g+1),1)]),s.createElementVNode("div",Pm,[t[5]||(t[5]=s.createElementVNode("span",null,"\u8282\u70B9\u540D\u79F0",-1)),s.createElementVNode("span",Mm,s.toDisplayString(h.historyActivityName),1)]),s.createElementVNode("div",Vm,[t[6]||(t[6]=s.createElementVNode("span",null,"\u5BA1\u6279\u4EBA",-1)),s.createElementVNode("span",Om,s.toDisplayString(h.assigneeName),1)])])]))),128)):s.createCommentVNode("",!0)]),_:1},8,["visible"])])}const Lm=pe(Em,[["render",Rm],["__scopeId","data-v-fc4c73a2"]]),Fm="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAByFJREFUeF7t19HJLEUUhdHpQEzEOMREjOMmIsZhIgYyou8KvTecA1Xrgm+zLXrV/9H08/GPAIH/FHjYECDw3wIC8ddB4H8EBOLPg4BA/A0QyAS8QTI3q0sEBHLJRXvMTEAgmZvVJQICueSiPWYmIJDMzeoSAYFcctEeMxMQSOZmdYmAQC65aI+ZCQgkc7O6REAgl1y0x8wEBJK5WV0iIJBLLtpjZgICydysLhEQyCUX7TEzAYFkblaXCAjkkov2mJmAQDI3q0sEBHLJRXvMTEAgmZvVJQICueSiPWYmIJDMrVp9v9+fP5/PHy//J788z/Pny42flwICKQGTuUAStZ2NQBbcBbKAHh4pkBCumQmk0ZvdCmTW+9/TBLKAHh4pkBCumQmk0ZvdCmTW2xtkwbs5UiCNXrj1BgnhFmYCWUAXyAJ6eKRAQrhmJpBGb3YrkFlv3yAL3s2RAmn0wq03SAi3MBPIArpAFtDDIwUSwjUzgTR6s1uBzHr7Blnwbo4USKMXbr1BQriFmUAW0AWygB4eKZAQrpkJpNGb3Qpk1ts3yIJ3c6RAGr1w6w0Swi3MBLKALpAF9PBIgYRwzUwgjd7sViCz3r5BFrybIwXS6IVbb5AQbmEmkAV0gSygh0cKJIRrZgJp9Ga3Apn19g2y4N0cKZBGL9x6g4RwCzOBLKALZAE9PFIgIVwzE0ijN7sVyKy3b5AF7+ZIgTR64dYbJIRbmAlkAV0gC+jhkQIJ4ZqZQBq92a1AZr19gyx4N0cKpNELt94gIdzCTCAL6AJZQA+PFEgI18wE0ujNbgUy6+0bZMG7OVIgjV649QYJ4RZmAllAF8gCenikQEK4ZiaQRm92K5B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ZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcI/B+xx2bn1cBs4wAAAABJRU5ErkJggg==",Yn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADR9JREFUeF7tnXvIbkUVxp9VVtrF0hQMM8MgoahMu3cqzVI6x9KkC9lRhKAoxS5aWXZHIqMrWIQWohlZlkWpJ092v1BEEFlkQlAQBVEmRRcqW7E68x1ev/N977f3emdmz+z17H/fWW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UICBBEs0wfQoQEJ9utAqiAAEJkmiG6VPgf/UDKvbyCmTdAAAAAElFTkSuQmCC",Um=at({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 Fm},loading(){return Qm},success(){return Yn}},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}}}),mE="",jm={key:0},Gm={key:0,class:"top-tipss-text"},_m={class:"top-tipss-status"},qm={key:0,class:"top-tipss-loadinig"},Jm=["src"],Hm={key:0,class:"top-tipss-status-text"},Km={key:1,class:"top-tipss-success"},zm=["src"],Wm={key:0,class:"top-tipss-status-text"},Ym={key:2,class:"top-tipss-error"},Zm=["src"],Xm={key:0,class:"top-tipss-status-text"};function $m(e,t,i,n,r,o){return e.show?(s.openBlock(),s.createElementBlock("div",jm,[e.statusTips?(s.openBlock(),s.createElementBlock("div",{key:1,class:"top-tipss",style:s.normalizeStyle(e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;")},[s.createElementVNode("div",_m,[e.type=="loading"?(s.openBlock(),s.createElementBlock("div",qm,[s.createElementVNode("img",{src:e.loading},null,8,Jm),e.text?(s.openBlock(),s.createElementBlock("div",Hm,s.toDisplayString(e.text),1)):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),e.type=="success"?(s.openBlock(),s.createElementBlock("div",Km,[s.createElementVNode("img",{src:e.success},null,8,zm),e.text?(s.openBlock(),s.createElementBlock("div",Wm,s.toDisplayString(e.text),1)):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),e.type=="error"?(s.openBlock(),s.createElementBlock("div",Ym,[s.createElementVNode("img",{src:e.error},null,8,Zm),e.text?(s.openBlock(),s.createElementBlock("div",Xm,s.toDisplayString(e.text),1)):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)])],4)):(s.openBlock(),s.createElementBlock("div",{key:0,class:"top-tipss",style:s.normalizeStyle(e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;")},[e.text?(s.openBlock(),s.createElementBlock("div",Gm,s.toDisplayString(e.text),1)):s.createCommentVNode("",!0)],4)),s.createElementVNode("div",{class:"top-tipss-mask",style:s.normalizeStyle(e.show&&e.statusTips?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;")},null,4)])):s.createCommentVNode("",!0)}const nt=pe(Um,[["render",$m],["__scopeId","data-v-239e459d"]]),eg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACfVJREFUeF7tnT2S1FYYRaUCYgJ2wArYgRMIYQPGMVUQt8bDAoDRxFBFbLwBE5qEHbACdkBAbCi5HjxgGKbn6b7Wz9O7h9B8avV3rk7J6r7VtA1/IACBvQRa2EAAAvsJIAhXBwQuIYAgXB4QQBCuAQjkEeAOkseNo0wIIIhJ0KyZRwBB8rhxlAkBBDEJmjXzCCBIHjeOMiGAICZBs2YeAQTJ48ZRJgQQxCRo1swjgCB53DjKhACCmATNmnkEECSPG0eZEEAQk6BZM48AguRx4ygTAghiEjRr5hFAkDxuHGVCAEFMgmbNPAIIkseNo0wIIIhJ0KyZRwBB8rhxlAkBBDEJmjXzCCBIHjeOMiGAICZBs2YeAQTJ48ZRJgQQxCRo1swjgCB53DjKhACCmATNmnkEECSPG0eZEEAQk6BZM48AguRx4ygTAghiEjRr5hFAkDxuHGVCAE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fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBL4Csq/cvbKQGitAAAAAElFTkSuQmCC",ig=at({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((r,o)=>r.id==e);this.activeItem=n[0],this.activeItem&&this.$emit("change",this.activeItem)}}},computed:{arrow(){return eg},check(){return tg}},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:""}}}}),gE="",sg={class:"top-select"},ng={key:0,style:{position:"relative","z-index":"80"}},rg=["src"],og=["onClick"],ag=["src"];function lg(e,t,i,n,r,o){return s.openBlock(),s.createElementBlock("div",sg,[e.isSlots?(s.openBlock(),s.createElementBlock("div",ng,[s.renderSlot(e.$slots,"header",{data:{...e.activeItem,placeholder:e.placeholder}},void 0,!0)])):(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["top-select-menu",[e.border&&"top-select-menu-border",!e.activeItem&&"top-select-menu-placeholder"]]),onClick:t[0]||(t[0]=(...a)=>e.handleExpand&&e.handleExpand(...a))},[s.createTextVNode(s.toDisplayString(e.activeItem?e.activeItem.name:e.placeholder)+" ",1),e.disibled?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("img",{key:0,class:s.normalizeClass(["top-select-menu--arrow",[e.expand?"arrow-active":""]]),src:e.arrow},null,10,rg))],2)),e.maskShow?(s.openBlock(),s.createElementBlock("div",{key:2,class:"top-select-option-mask",style:s.normalizeStyle(e.expand?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;")},null,4)):s.createCommentVNode("",!0),e.lists&&e.lists.length?(s.openBlock(),s.createElementBlock("div",{key:3,class:s.normalizeClass(["top-select-option",[e.border&&"top-select-option-border"]]),style:s.normalizeStyle(`${e.expand?"transform: translateY(2%);visibility: visible; opacity: 1;":"transform: translateY(-50%);visibility: hidden; opacity: 0"};${e.optionStyle?e.optionStyle:""}`)},[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.lists,(a,l)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["option-items",[e.active==a.id?"option-items-active":""]]),key:a.id,onClick:d=>e.handleClick(a,l)},[s.createTextVNode(s.toDisplayString(a.name)+" ",1),e.active==a.id?(s.openBlock(),s.createElementBlock("img",{key:0,class:"option-items-check",src:e.check},null,8,ag)):s.createCommentVNode("",!0)],10,og))),128))],6)):s.createCommentVNode("",!0)])}const Pa=pe(ig,[["render",lg],["__scopeId","data-v-15c177a8"]]),cg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADGdJREFUeF7tnVFSHDkMhuVhD7AV9j1wksBJApeA5YnwlJBLQE4COUl63zOpHGAZb3l2mpqQGWYsS7as/qna2oe0ZeuXvpHd7W4Hwh8UgAJbFQjQBgpAge0KABBkBxR4RQE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5ABPXXMAVABFUFIBvEZN69EAxLkSkAUiTfr40BCAARTCd/pgAIAPGX1YIeAZANYgZKe3G+CMpc11SkayLsuRIRHYCIyOjFyODFkS1+HGX7B0CyJXPbYH4ZurlDmRsE9tHYACRXar/Xcx6K9aIGANkQKexJyk7fISzovPR9iOxeKzQAIABEJM28VhEAAkBEACHGnFumY10rAASASGUY+0UhqQFo2AEgG1Rli6IRoV5sooL8GimGHt3cCsRrpwwqO9+Hts1j9o+lZ0CSWHj1NA8Szht0eT20uRqAbNEdVSQjIZ1Wj6QAAHklD/A8ZD9I8CR9g07ep1ijy6tK8oBNfNthASATBiS5niBJ/z84oBNa0Lv9flc7vCrQGWfUAGTigHCSpsc23DcK01P0Hv3dZ8whfXKV88MxlSnWPiJ6uYYLiBf/Rf0AIKJymjAGQATDAEAExTRiCoAIBgKACIppxBQAEQwEABEU04gpACIYCAAiKKYRUwBEMBAARFBMI6aw/0wwEIztN93s5hWUqStTAEQwXJ6/7i4oU1em3tzG6+D4oV/NYDwt6PjnVcj6HBIqSM0IMfrCvjOGaJuaMNYfyQwAEdJf0wx7e7fmoDqzzakeAKSjIK+mWmnjYv4XBTvyU2GoRZ8/QgVRiIiWyRdnpJ9o9ePE7hCJ7n9chpsSfwBIiXoN247b/RsOwWzXuQvx1xwBIGbDjIFZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUOA/PPf9I/jtWsEAAAAASUVORK5CYII=",pg=at({name:"TopSubmitPopup",components:{BpmnLook:va,TopPopup:Ke,TopDownSelect:Pa,PreviewImage:hs,departPerson:Tt.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{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){this.businessDeptIdData=e},immediate:!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 cg}},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 handleOption(){this.checkedItem={},this.firstPerson=[],this.personList=[],!(this.selfList&&this.selfList.length)&&(this.handleTips("",!0,"loading"),await this.request.post("/bladex/blade-workflow/repository/getProcessDefList",{businessCode:this.businessType,appId:this.appId,processGroupName:this.processNameData,...this.extraParams}).then(e=>{e.code==200&&(this.option=e.data,e.data&&e.data.length?(this.handleTips("",!1,"success"),(this.isSelectFirst||e.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){console.log(t,"error")}this.deptList=e.data||[]},async getNodeUser({deptId:e,intersection:t,userIds:i,postIds:n,deptIds:r}){return await this.request.post("/auth/post/getTaskAuditor",{deptId:e,intersection:t,userIds:i,postIds:n,deptIds:r})},getUserDataByDeptId(){this.firstPerson.map(async(e,t)=>{const i=Da(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(r){console.log(r,"error")}if(n.code==200){const r=this.firstPerson[t];r.userList=n.data,this.$set(this.firstPerson,t,r)}})},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(r=>{n.postIds.push(r.postId)}),this.request.post("/auth/post/getTaskAuditor",{deptId:this.businessDeptIdData,taskPostIds:[n]}).then(r=>{let o=[],a=[],l=!1;r.data.map(u=>{u.posts.map(f=>{a.push(...f.users),f.users.length==1?o.push(...f.users):l=!0})}),o.length>i.loopCardinality&&i.loopCardinality>0&&(l=!0),l&&(o=[]);let d=[];r.data[0].posts.map(u=>{d.push({...u,projectPost:!this.businessDeptIdData,id:u.users.map(f=>f.id),subjectId:u.subjectId})}),a.length==0&&this.$set(i,"noPersonnel",!0),o.length>0&&(this.personObjId=i.id,this.humanPerformerName=i.humanPerformerName,this.$set(i,"noPersonnel",!0),this.handleCallback(o)),i.positionArray=d})}}),this.getAfferentParticipantNodeList()}else this.firstPerson=[],this.getAfferentParticipantNodeList()}).catch(t=>{this.firstPerson=[],this.getAfferentParticipantNodeList()}))},async handleChange(e,t){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/post/getTaskAuditor",{deptId:this.businessDeptIdData,taskPostIds:[i]}).then(n=>{let r=[],o=[],a=!1;n.data.map(d=>{d.posts.map(u=>{o.push(...u.users),u.users.length==1?r.push(...u.users):a=!0})}),r.length>t.loopCardinality&&t.loopCardinality>0&&(a=!0),a&&(r=[]);let l=[];n.data[0].posts.map(d=>{l.push({...d,projectPost:!(this.param.taskNode&&this.param.taskNode[0].vars&&this.param.taskNode[0].vars._businessDeptId),id:d.users.map(u=>u.id),subjectId:d.subjectId})}),o.length==0&&this.$set(t,"noPersonnel",!0),r.length>0&&(this.personObjId=t.id,this.humanPerformerName=t.humanPerformerName,this.$set(t,"noPersonnel",!0),this.handleCallback(r)),t.positionArray=l})}}),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])})},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>0?e.loopCardinality:0,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,r)=>{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>0?e.loopCardinality:0}):e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length==1&&(e.routeTxt.departmentIds.forEach((n,r)=>{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>0?e.loopCardinality:0}),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>0?e.loopCardinality:0,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>0?e.loopCardinality:0,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=[])},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.multiNodeParticipant[this.personObjId]=[],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:{...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:{businessKey:this.extraParams.businessKey,showType:"all",subjectId:this.businessSubjectId,deptId:this.deptId,businessType:this.businessType,name:this.extraParams.name,title:this.extraParams.title}};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:[]})}}}),yE="",dg={class:"sumbmitPopup-index-sumbit"},hg={class:"sumbmitPopup-select"},ug={class:"sumbmitPopup-select-viewTrack",style:{display:"flex"}},fg=["src"],mg={key:0,class:"person-views"},gg={class:"views-items-label"},yg={class:"views-items-name"},Ag={class:"views-items-name-left"},kg={key:0,class:"views-items-name--re"},Eg={class:"views-items-set"},bg={key:0},Cg={key:0},wg={key:1},Tg={key:2},Bg={key:3},Ng=["onClick"],Ig={key:0,class:"views-items-includes"},xg={class:"views-items-and"},Sg={key:0},Dg={class:"include include-name"},vg={key:1,class:"person-views"},Pg={class:"views-items"},Mg={class:"views-items-name"},Vg={class:"views-items-set"},Og=["onClick"],Rg={key:1},Lg={key:0},Fg={key:2},Qg={key:3},Ug={key:2,class:"person-views-white"},jg={style:{height:"100%"}},Gg={class:"tree"},_g=["onClick"],qg={key:0,class:"children"},Jg=["onClick"],Hg={style:{margin:"20px"}},Kg=["innerHTML"],zg={class:"timeline"},Wg={class:"item-top"},Yg={class:"top-spot"},Zg={class:"top-title"},Xg={style:{color:"#009800"}};function $g(e,t,i,n,r,o){const a=s.resolveComponent("TopDownSelect"),l=s.resolveComponent("TopPopup"),d=s.resolveComponent("departPerson"),u=s.resolveComponent("BpmnLook"),f=s.resolveComponent("PreviewImage"),h=s.resolveComponent("TopTips");return s.openBlock(),s.createElementBlock("div",dg,[t[16]||(t[16]=s.createElementVNode("div",{class:"top-popup"},null,-1)),s.createVNode(l,{visible:e.show,"onUpdate:visible":t[4]||(t[4]=g=>(e.show=g,e.$emit("update:visible",g))),ref:"TopPopup",titleText:"\u9001\u5BA1",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u9001\u5BA1",comfig:e.handleSumbit},{default:s.withCtx(()=>[s.createVNode(a,{isSlots:"",option:e.option,onChange:e.handleChange,defaultValue:e.selectDefaultValue,ref:"TopDownSelect",disibled:!1},{header:s.withCtx(g=>[s.createElementVNode("div",hg,[s.createElementVNode("div",{class:"sumbmitPopup-select-checked",onClick:t[0]||(t[0]=(...E)=>e.handleSelect&&e.handleSelect(...E))},[t[10]||(t[10]=s.createElementVNode("div",{class:"sumbmitPopup-select-checked-title"},"\u5F53\u524D\u6D41\u7A0B",-1)),s.createElementVNode("div",{class:s.normalizeClass(["sumbmitPopup-select-checked-node",""])},s.toDisplayString(g.data.name?g.data.name:g.data.placeholder),3)]),s.createElementVNode("div",{class:"sumbmitPopup-select-checked",onClick:t[1]||(t[1]=(...E)=>e.handleDeptSelect&&e.handleDeptSelect(...E))},[t[11]||(t[11]=s.createElementVNode("div",{class:"sumbmitPopup-select-checked-title"},"\u9009\u62E9\u90E8\u95E8",-1)),s.createElementVNode("div",{class:s.normalizeClass(["sumbmitPopup-select-checked-node",""])},s.toDisplayString(e.selectDeptData.label?e.selectDeptData.label:"\u8BF7\u9009\u62E9"),3)]),s.createElementVNode("div",ug,[e.checkedItem.id?(s.openBlock(),s.createElementBlock("div",{key:0,class:"viewTrack",onClick:t[2]||(t[2]=(...E)=>e.handleFlowSelect&&e.handleFlowSelect(...E))},[s.createElementVNode("img",{src:e.ProcessImg},null,8,fg),t[12]||(t[12]=s.createTextVNode(" \u67E5\u770B\u6D41\u7A0B\u56FE "))])):s.createCommentVNode("",!0),e.checkedItem.id&&e.showFlowForecast?(s.openBlock(),s.createElementBlock("div",{key:1,class:"viewTrack",onClick:t[3]||(t[3]=(...E)=>e.viewFlowForecast&&e.viewFlowForecast(...E))}," \u6D41\u7A0B\u9884\u6D4B ")):s.createCommentVNode("",!0)])])]),_:1},8,["option","onChange","defaultValue","disibled"]),e.showFirstPerson&&e.firstPerson&&e.firstPerson.length?(s.openBlock(),s.createElementBlock("div",mg,[t[14]||(t[14]=s.createElementVNode("div",{class:"person-views-title"},"\u4E0B\u4E00\u6B65\u5904\u7406\u8282\u70B9",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.firstPerson,(g,E)=>{var I;return s.openBlock(),s.createElementBlock("div",{class:"views-items",key:E},[s.createElementVNode("div",gg,[s.createElementVNode("div",yg,[s.createElementVNode("div",Ag,[s.createTextVNode(s.toDisplayString(g.name)+" ",1),E==0?(s.openBlock(),s.createElementBlock("span",kg,"*")):s.createCommentVNode("",!0)])]),s.createElementVNode("div",Eg,[e.partNode[g.id]&&e.partNode[g.id].length?(s.openBlock(),s.createElementBlock("div",bg,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.partNode[g.id],(v,H)=>(s.openBlock(),s.createElementBlock("span",{key:H},s.toDisplayString(H>=3?"":H==0?v:`,${v}`),1))),128)),e.partNode[g.id].length>3?(s.openBlock(),s.createElementBlock("span",Cg,"...\u7B49"+s.toDisplayString(e.partNode[g.id].length)+"\u4EBA",1)):s.createCommentVNode("",!0)])):g.routeTxt&&g.routeTxt.userNames?(s.openBlock(),s.createElementBlock("div",wg,s.toDisplayString(g.routeTxt.userNames),1)):s.createCommentVNode("",!0),g.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||g.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"||((I=e.partNode[g.id])==null?void 0:I.length)>0&&g.noPersonnel?(s.openBlock(),s.createElementBlock("div",Tg)):g.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||g.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"||g.noPersonnel?(s.openBlock(),s.createElementBlock("div",Bg," \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")):(s.openBlock(),s.createElementBlock("div",{key:4,class:"views-items-set-btn",onClick:v=>e.handleOpenPerson(g)}," \u8BBE\u7F6E ",8,Ng))])]),g.routeTxt&&g.routeTxt.length>0?(s.openBlock(),s.createElementBlock("div",Ig,[t[13]||(t[13]=s.createElementVNode("div",{class:"views-items-name"},s.toDisplayString("\u6240\u5C5E\u8303\u56F4"),-1)),s.createElementVNode("div",xg,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(g.routeTxt,(v,H)=>(s.openBlock(),s.createElementBlock("div",{key:v.type},[v.ids&&v.ids.length>0?(s.openBlock(),s.createElementBlock("div",Sg,[s.createElementVNode("b",{class:s.normalizeClass(["include include-type",["include-"+v.type]])},s.toDisplayString(v.type=="user"?"\u7528\u6237":v.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"),3),s.createElementVNode("span",Dg,s.toDisplayString(v.name),1),H!==g.routeTxt.length-1?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["include include-assign",["include-assign-"+(v.assigneeRetain?"true":"false")]])},s.toDisplayString(g.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"),3)):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0)]))),128))])])):s.createCommentVNode("",!0)])}),128))])):s.createCommentVNode("",!0),e.personList&&e.personList.length?(s.openBlock(),s.createElementBlock("div",vg,[t[15]||(t[15]=s.createElementVNode("div",{class:"person-views-title"},"\u5176\u4ED6\u5904\u7406\u8282\u70B9",-1)),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.personList,(g,E)=>(s.openBlock(),s.createElementBlock("div",Pg,[s.createElementVNode("div",Mg,s.toDisplayString(g.name),1),s.createElementVNode("div",Vg,[g.noPersonnel?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",{key:0,class:"views-items-set-btn",onClick:I=>e.handleOpenPerson(g)}," \u8BBE\u7F6E ",8,Og)),e.partNode[g.id]&&e.partNode[g.id].length?(s.openBlock(),s.createElementBlock("div",Rg,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.partNode[g.id],(I,v)=>(s.openBlock(),s.createElementBlock("span",null,s.toDisplayString(v>=3?"":v==0?I:`,${I}`),1))),256)),e.partNode[g.id].length>3?(s.openBlock(),s.createElementBlock("span",Lg,"...\u7B49"+s.toDisplayString(e.partNode[g.id].length)+"\u4EBA",1)):s.createCommentVNode("",!0)])):g.noPersonnel?(s.openBlock(),s.createElementBlock("div",Fg,"\u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E")):(s.openBlock(),s.createElementBlock("div",Qg))])]))),256))])):s.createCommentVNode("",!0),!e.firstPerson&&!e.firstPerson.length&&!e.personList&&!e.personList.length?(s.openBlock(),s.createElementBlock("div",Ug," \u65E0\u9700\u8BBE\u7F6E ")):s.createCommentVNode("",!0)]),_:1},8,["visible","comfig"]),s.createVNode(l,{visible:e.visiblePerson,"onUpdate:visible":t[5]||(t[5]=g=>e.visiblePerson=g),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0,isIndex:199},{default:s.withCtx(()=>[s.createElementVNode("div",jg,[e.visiblePerson?(s.openBlock(),s.createBlock(d,s.mergeProps({key:0,isTitle:!1,visible:e.visiblePerson},e.entity,{onCallback:e.handleCallback,onCancel:e.handleCancel,checkedArray:e.checkedArray}),null,16,["visible","onCallback","onCancel","checkedArray"])):s.createCommentVNode("",!0)])]),_:1},8,["visible"]),s.createVNode(l,{visible:e.showDept,"onUpdate:visible":t[6]||(t[6]=g=>e.showDept=g),ref:"TopPopupDept",titleText:"\u9009\u62E9\u90E8\u95E8",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u786E\u5B9A",comfig:e.handleSumbitDept},{default:s.withCtx(()=>[s.createElementVNode("div",Gg,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList([...e.deptList],g=>(s.openBlock(),s.createElementBlock("div",{class:"node",key:g.id},[s.createElementVNode("div",{class:"node-p",onClick:E=>e.handleClickDept(g)},s.toDisplayString(g.label),9,_g),g.children?(s.openBlock(),s.createElementBlock("div",qg,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(g.children,E=>(s.openBlock(),s.createElementBlock("div",{class:"node-s",onClick:I=>e.handleClickDept(E),key:E.id},s.toDisplayString(E.label),9,Jg))),128))])):s.createCommentVNode("",!0)]))),128))])]),_:1},8,["visible","comfig"]),s.createVNode(l,{class:"top-pop-flow",visible:e.showFlow,"onUpdate:visible":t[7]||(t[7]=g=>e.showFlow=g),ref:"TopPopupFlow",titleText:"\u67E5\u770B\u6D41\u7A0B\u56FE",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u5173\u95ED",comfig:e.handleSumbitFlow},{default:s.withCtx(()=>[e.showFlow&&e.processXml?(s.openBlock(),s.createBlock(u,{key:0,ref:"PreviewRef",diagram:e.processXml,approvalData:e.approvalData},null,8,["diagram","approvalData"])):s.createCommentVNode("",!0)]),_:1},8,["visible","comfig"]),s.createVNode(f,{images:e.trackUrl,visible:e.taskurlshow,"onUpdate:visible":t[8]||(t[8]=g=>e.taskurlshow=g),indexd:0,isOne:!0,isStyle:e.isStyle},null,8,["images","visible","isStyle"]),s.createVNode(h,{ref:"topTips",text:e.textTips,statusTips:e.statusTips,type:e.typeTips},null,8,["text","statusTips","type"]),s.createVNode(l,{visible:e.flowForecastVisible,"onUpdate:visible":t[9]||(t[9]=g=>e.flowForecastVisible=g),ref:"TopPopupFF",titleText:"\u6D41\u7A0B\u9884\u6D4B",isIndex:129,cancel:e.flowForecastClose,comfig:e.flowForecastClose},{default:s.withCtx(()=>[s.createElementVNode("div",Hg,[s.createElementVNode("div",{innerHTML:e.flowForecastData.completeTime,style:{"margin-left":"10px","margin-bottom":"10px"}},null,8,Kg),s.createElementVNode("div",zg,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.flowForecastData.processBudgetModelList,(g,E)=>(s.openBlock(),s.createElementBlock("div",{class:"timeline-item",key:E},[s.createElementVNode("div",Wg,[s.createElementVNode("div",Yg,[s.createElementVNode("div",{class:s.normalizeClass(["spot",{active:E==0}])},null,2)]),s.createElementVNode("div",Zg,s.toDisplayString(g.title),1)]),s.createElementVNode("div",{class:s.normalizeClass(["item-bottom",{last:E==e.flowForecastData.processBudgetModelList.length-1}])},[s.createElementVNode("span",Xg," \u6267\u884C\u4EBA\uFF1A"+s.toDisplayString(g.excutor),1)],2)]))),128))])])]),_:1},8,["visible","cancel","comfig"])])}const Ma=pe(pg,[["render",$g],["__scopeId","data-v-458e99a7"]]),ey="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAEmBJREFUeF7tnAt0VdWZx397n3PvDUlISHgEkJfDGxXRVnGqq2o7PtvB1hl0fFun6ji+xhfgzCioq5WA2hFxptUOY23VqlNf06laW7VrVUfs8gEqgmBFRZ4hIRBIcu85e8/69j4HriEJAYLiY691181Ncs/Z+3/++/u+/b0U3T1mWM0AAlZhmaEirFUoZZlus+WlDM8ZJqKpsJZh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psEV3dyaYiO8Ka0p1vrcpFfba01h+Mi1pihwV+N1SWuKnWyZs/PWS9vmJopTrOJ4kUsiwIVRzQXXx8M1Nxlfg9rfNzdRkhg6oKcvt5QjS1WPpLlJOzX2aS28a27S7GvLJL1m1SaQhMvFddg312AXrvHNTcqkuUkGLYyR5ibW8or6RJubtN1uxe1xZtn+seF0FOcpGKIUpZJkKvaIa48T+8QGSac7fHBRe5zeSbmltMfp2aY9zqYk9C3tcdYXtcf50KftSU6TyLii9jixtWyx8AGWeYHm/nVTVNJHyOqdaWhSvNSdZ1B7UjfpqtKnB/2N4UQUVwFjlEoaLFmMa7CknH2iXEcp7d633r+zBkvSXCl5SaWQdSFxabCkXJcXAUbUgTRYulVrfvPpN1hKQWqnRVfVTFupDOMIOSwwTLAwWmnGttuiqyhVRhb9sRZdRY9OmNJeiy5reFvBklhadEW8ZDWLGqapxq3G307Km/aeffcwyPcWChB1mjR5GzHH5ta1MjCMGI5mnIGRGgYFmr4KpHawp1JJkzd/5tm+yVsyY2uRcu1N0vYsNqwzsELDUgyLopB3++ZYuWyvbPLW0XbrpE1gFg5DUYFvC3iQy+U0rp3XMKUZ6hSmL9Nejnb5nfK315A2gZaNeXjpk2wT+P9KELohNtx5+AAAAABJRU5ErkJggg==",ty=at({name:"attchViews",components:{TopTips:nt,PreviewImage:hs,PreView:Ur,TopPopup:Ke},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 ey},del(){return jr},doc(){return Gr},file(){return _r},image(){return qr},pdf(){return Jr},xls(){return Hr},zip(){return Kr}},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,r=this.haveCount>i.length?i.length:this.haveCount;try{for(let o=0;o<r;o++)if(this.extension.includes(i[o].name.substring(i[o].name.lastIndexOf(".")+1))){const a=new FormData;a.append("file",i[o]);const l=await this.request.post("/file/upload",a,{headers:{"Content-Type":"multipart/form-data"}});if(l.code===200){if(this.filesArr.length>0){for(let d=0;d<this.filesArr.length;d++)if(l.name==this.filesArr[d].name&&n++,this.filesArr[d].name.includes(`(${n})`)&&n++,n>0){let u=l.name.lastIndexOf(".");l.name=`${l.name.substring(0,u)} (${n}) .${l.name.substring(l.name.lastIndexOf(".")+1)}`}}this.filesArr.push(l.data)}else{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.viewImage();return}}else{this.handleTips(`\u6587\u4EF6${i[o].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()}}}),AE="",iy={class:"attch-upload"},sy={key:0,class:"attch-upload-mask"},ny={class:"attch-upload-body"},ry={class:"upload-header"},oy={class:"upload-header-title"},ay={key:0,class:"upload-header-title--re"},ly={class:"upload-header-upload"},cy=["src"],py={class:"upload-body"},dy={key:0,class:"upload-list"},hy={class:"list-items-icon"},uy=["src"],fy=["src"],my=["src"],gy=["src"],yy=["src"],Ay=["src"],ky={class:"list-items-info"},Ey={class:"info-name"},by={class:"info-attribute"},Cy={class:"info-attribute-size"},wy=["onClick"],Ty={key:0,class:"list-items-operation"},By=["onClick"],Ny=["src"];function Iy(e,t,i,n,r,o){const a=s.resolveComponent("TopTips"),l=s.resolveComponent("PreviewImage"),d=s.resolveComponent("PreView"),u=s.resolveComponent("TopPopup");return s.openBlock(),s.createElementBlock("div",iy,[e.buttonLoading?(s.openBlock(),s.createElementBlock("div",sy)):s.createCommentVNode("",!0),s.createElementVNode("div",ny,[s.createElementVNode("div",ry,[s.createElementVNode("div",oy,[t[3]||(t[3]=s.createTextVNode(" \u9644\u4EF6 ")),e.requires?(s.openBlock(),s.createElementBlock("span",ay,"*")):s.createCommentVNode("",!0)]),s.createElementVNode("div",ly,[e.onlyShow?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",{key:0,class:"upload-header-upload--item",id:"inputfile",onClick:t[0]||(t[0]=(...f)=>e.handleClick&&e.handleClick(...f))},[s.createElementVNode("img",{src:e.addFile},null,8,cy),t[4]||(t[4]=s.createTextVNode("\u4E0A\u4F20\u9644\u4EF6 "))]))])]),s.createElementVNode("div",py,[e.filesArr.length>0?(s.openBlock(),s.createElementBlock("div",dy,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.filesArr,(f,h)=>(s.openBlock(),s.createElementBlock("div",{class:"list-items",key:f.uuid},[s.createElementVNode("div",hy,[e.xlsIcon.includes(f.name.substring(f.name.lastIndexOf(".")+1).toLowerCase())?(s.openBlock(),s.createElementBlock("img",{key:0,class:"icon-img",src:e.xls},null,8,uy)):e.imgIcon.includes(f.name.substring(f.name.lastIndexOf(".")+1).toLowerCase())?(s.openBlock(),s.createElementBlock("img",{key:1,class:"icon-img",src:e.image},null,8,fy)):f.name.substring(f.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?(s.openBlock(),s.createElementBlock("img",{key:2,class:"icon-img",src:e.pdf},null,8,my)):e.docIcon.includes(f.name.substring(f.name.lastIndexOf(".")+1).toLowerCase())?(s.openBlock(),s.createElementBlock("img",{key:3,class:"icon-img",src:e.doc},null,8,gy)):e.zipIcon.includes(f.name.substring(f.name.lastIndexOf(".")+1).toLowerCase())?(s.openBlock(),s.createElementBlock("img",{key:4,class:"icon-img",src:e.zip},null,8,yy)):(s.openBlock(),s.createElementBlock("img",{key:5,class:"icon-img",src:e.file},null,8,Ay))]),s.createElementVNode("div",ky,[s.createElementVNode("div",Ey,s.toDisplayString(f.name),1),s.createElementVNode("div",by,[s.createElementVNode("span",Cy,s.toDisplayString(f.fileSize<1024?f.fileSize:f.fileSize/1024>1024?parseFloat((f.fileSize/1024/1024).toFixed(2)):parseFloat((f.fileSize/1024).toFixed(2)))+s.toDisplayString(f.fileSize<1024?"b":parseFloat((f.fileSize/1024).toFixed(2))<1024?"kb":"M"),1),s.createElementVNode("span",{class:"info-attribute-views",onClick:g=>e.viewFile(f,h)}," \u9884\u89C8 ",8,wy)])]),e.onlyShow?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",Ty,[s.createElementVNode("div",{onClick:g=>e.handleDel(h,f),class:"list-items-operation-img"},[s.createElementVNode("img",{src:e.del},null,8,Ny)],8,By)]))]))),128))])):s.createCommentVNode("",!0)])]),s.createVNode(a,{ref:"topTips",text:e.textTips,statusTips:e.statusTips,type:e.typeTips},null,8,["text","statusTips","type"]),s.createVNode(l,{images:e.lists,visible:e.visible,"onUpdate:visible":t[1]||(t[1]=f=>e.visible=f),indexd:e.indexd},null,8,["images","visible","indexd"]),s.createVNode(u,{visible:e.visibleS,"onUpdate:visible":t[2]||(t[2]=f=>e.visibleS=f),ref:"TopPopup",titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},{default:s.withCtx(()=>[e.visibleS?(s.openBlock(),s.createBlock(d,{key:0,file:e.fileUrl},null,8,["file"])):s.createCommentVNode("",!0)]),_:1},8,["visible"])])}const wi=pe(ty,[["render",Iy],["__scopeId","data-v-69217b12"]]),xy="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADG5JREFUeF7tnVFaGzcXhjUD16WsoLCSwl1qsoeElRRWEroHcLkL/0rqfwUpvS6jPuPYiXGw0ZE+4TOel6s8T6Rj6T36pE/yWNME/iAAgY0EGthAAAKbCSAQRgcEthBAIAwPCCAQxgAE8giwguRxo9ZICCAQR4n+8u7dybfmHB5+/fe//86O7+9njpo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wCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsLk5JVbTV5I4tBnGmfj0k1zHicX0doYT7/xd3MvVqZAgoerdqwDYCzlrVcQrXBxc0OMG4Hk3oXrabYZy8BP7WfupBdCQCDrkPsbOGJo+ut1Mv7i1dF0ep1RkSqVCJTks+ZVqNbuullBjJe0vdBPRGJNfq3yuW5g2Z7al9lZ+u1GIH2jC5bkZZ/7+2UXV3/GKnfNWuCOrWyMzVnGRdXPMHmzzK4EUjrzjG1A7ml/3ew/er6uBFJus/Z0yIyoW57slTuB9A2yXLw8onEzlq66Wj1cCoRVZCxa+LGf3lYPlwLpG1VyRDje4TX0nvs8hXS1B1lNMRv2oQ/49PZ7O7labblbgfRWq2kOPpUeG6aniZK7IOBZHG4t1jJRi/1I/yJN00spd5FoPjOLgJt3EW5qvdsVZE0kv6e+UiwrTVR6cwLeV44lEPcC6Rua+EqxN08yH5hNwN1x7mBXkNWGsy/JHpBeKr7JexGVnR3ECrLe4Q3v3lNyIZaWgOt3OW7r6iAFsro/OWjbs8WLKvuNPJt57cDOjTZ/UWjTxIeh/wxh0AJ5KXvzF1bytxMCx/f3e/cE9d4JZCcjgw/dWwIIZG9TS8cUBBCIgiIx9pYAAtnb1NIxBQEEoqBIjL0lgED2NrV0TEHgP1VLsH2X3+jEAAAAAElFTkSuQmCC",kE="",Sy={name:"msgList",components:{TopPopup:Ke},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 xy}},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")}))}}},Dy={key:0,class:"top-msg"},vy=["onClick"],Py={class:"top-msg-items-text"},My=["onClick"],Vy=["src"];function Oy(e,t,i,n,r,o){const a=s.resolveComponent("TopPopup");return s.openBlock(),s.createElementBlock("div",null,[i.visible?(s.openBlock(),s.createElementBlock("div",Dy,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.listData,l=>(s.openBlock(),s.createElementBlock("div",{class:"top-msg-items",onClick:d=>o.handleMsg(l)},[s.createElementVNode("div",Py,s.toDisplayString(l.opinionName),1),s.createElementVNode("div",{class:"top-msg-items-del",onClick:s.withModifiers(d=>o.handleOpenMsg(l),["stop"])},[s.createElementVNode("img",{src:o.Del},null,8,Vy)],8,My)],8,vy))),256))])):s.createCommentVNode("",!0),s.createVNode(a,{isIndex:2299,titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06\u5E38\u7528\u610F\u89C1'${r.opinion.opinionName}'\u5220\u9664`,cancel:o.handleTipsCancel,comfig:o.handleDel,visible:r.visibleListMsg,"onUpdate:visible":t[0]||(t[0]=l=>r.visibleListMsg=l)},null,8,["context","cancel","comfig","visible"])])}const Ki=pe(Sy,[["render",Oy],["__scopeId","data-v-87fc3e49"]]),EE="",Ry={name:"counterSign",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:nt,attchViews:wi,TopPopup:Ke,departPerson:Tt.departPerson,MsgList:Ki},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)=>{i==0?e=t:e=`${e},${t}`}),this.handleTips("",!0,"loading"),this.param.request.post("/bladex/blade-workflow/tis/addMultiInstance",{assignee: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=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("counterSign")}}},Ly={class:"process-popup-content"},Fy={class:"process-popup-content-msg"},Qy={key:0},Uy={class:"process-pc-value"},jy={class:"process-popup-textarea"},Gy={class:"process-popup-textarea-num"},_y={key:0,class:"msg-btn"},qy={key:0,class:"process-popup-content-person"},Jy=["onClick"],Hy={class:"process-pc-value--people"},Ky={key:0,class:"process-pc-value--data"},zy={key:1,class:"process-pc-value--data",style:{color:"#888"}},Wy=["onClick"],Yy={class:"process-pc-value--people"},Zy={key:0,class:"process-pc-value--data"},Xy={key:1,class:"process-pc-value--data",style:{color:"#888"}},$y={style:{height:"100%"}};function eA(e,t,i,n,r,o){const a=s.resolveComponent("TopTips"),l=s.resolveComponent("departPerson"),d=s.resolveComponent("TopPopup"),u=s.resolveComponent("attchViews"),f=s.resolveComponent("MsgList");return s.openBlock(),s.createElementBlock("div",Ly,[s.createElementVNode("div",Fy,[i.param.isMsg?(s.openBlock(),s.createElementBlock("div",Qy,[s.createElementVNode("div",{class:"process-radio-item",onClick:t[0]||(t[0]=h=>o.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):s.createCommentVNode("",!0),t[6]||(t[6]=s.createElementVNode("div",{class:"process-pc-label"},[s.createTextVNode(" \u52A0\u7B7E\u7406\u7531\uFF1A"),s.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),s.createElementVNode("div",Uy,[s.createElementVNode("div",jy,[s.withDirectives(s.createElementVNode("textarea",{"onUpdate:modelValue":t[1]||(t[1]=h=>r.commentMsg=h),class:"textarea-item",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,'')"},null,512),[[s.vModelText,r.commentMsg]]),s.createElementVNode("div",Gy,s.toDisplayString(r.commentMsg.length)+"/200 ",1)]),i.param.isMsg?(s.openBlock(),s.createElementBlock("div",_y,[s.createElementVNode("span",{class:"msg-btn-click",onClick:t[2]||(t[2]=h=>o.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):s.createCommentVNode("",!0)])]),(s.openBlock(),s.createElementBlock("div",qy,[r.nextNodeData.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(r.nextNodeData,h=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[t[8]||(t[8]=s.createElementVNode("div",null,[s.createElementVNode("br"),s.createTextVNode(" \u5BA1\u6279\u4EBA "),s.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),s.createElementVNode("div",{class:"process-pc-value",onClick:g=>o.handleOpenPopup(h.id)},[s.createElementVNode("div",Hy,[r.partNode[h.id]&&r.partNode[h.id].length?(s.openBlock(),s.createElementBlock("div",Ky,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.partNode[h.id],(g,E)=>(s.openBlock(),s.createElementBlock("span",null,s.toDisplayString(E==0?g:`,${g}`),1))),256))])):(s.openBlock(),s.createElementBlock("div",zy,t[7]||(t[7]=[s.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1)])))])],8,Jy)],64))),256)):r.outGatewayUserTaskModel.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(r.outGatewayUserTaskModel,h=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[t[10]||(t[10]=s.createElementVNode("div",{class:"process-pc-label"},[s.createElementVNode("br"),s.createTextVNode(" \u5BA1\u6279\u4EBA "),s.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),s.createElementVNode("div",{class:"process-pc-value",onClick:g=>o.handleOpenPopup(h.id)},[s.createElementVNode("div",Yy,[r.partNode[h.id]&&r.partNode[h.id].length?(s.openBlock(),s.createElementBlock("div",Zy,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.partNode[h.id],(g,E)=>(s.openBlock(),s.createElementBlock("span",null,s.toDisplayString(E==0?g:`,${g}`),1))),256))])):(s.openBlock(),s.createElementBlock("div",Xy,t[9]||(t[9]=[s.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1)])))])],8,Wy)],64))),256)):s.createCommentVNode("",!0)])),s.createVNode(a,{ref:"topTips",text:r.textTips,statusTips:r.statusTips,type:r.typeTips},null,8,["text","statusTips","type"]),s.createVNode(d,{visible:r.visible,"onUpdate:visible":t[3]||(t[3]=h=>r.visible=h),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:s.withCtx(()=>[s.createElementVNode("div",$y,[r.visible?(s.openBlock(),s.createBlock(l,s.mergeProps({key:0,isTitle:!1,visible:r.visible,request:i.param.request},r.entity,{onCallback:o.handleCallback,onCancel:o.handleCancel}),null,16,["visible","request","onCallback","onCancel"])):s.createCommentVNode("",!0)])]),_:1},8,["visible"]),r.labels=="5"?(s.openBlock(),s.createBlock(u,{key:1,limit:r.limit?r.limit:-1,requires:r.requires,request:i.param.request,linkUrl:i.param.linkUrl,onGetValue:o.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):s.createCommentVNode("",!0),s.createVNode(d,{visible:r.visibleListMsg,"onUpdate:visible":t[4]||(t[4]=h=>r.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:s.withCtx(()=>[s.createVNode(f,{visible:r.visibleListMsg,request:i.param.request,useInfo:i.param.userInfo,onHandleTips:o.handleTips,onHandleMsg:o.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),s.createVNode(d,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${r.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:o.handleTipsCancel,comfig:o.handleTipsComfig,visible:r.visibleMsgComfig,"onUpdate:visible":t[5]||(t[5]=h=>r.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"])])}const Va=pe(Ry,[["render",eA],["__scopeId","data-v-4f3fd96c"]]),bE="",tA={name:"delegateTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:nt,attchViews:wi,TopPopup:Ke,departPerson:Tt.departPerson,MsgList:Ki},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,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(){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){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")})},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")}}},iA={class:"process-popup-content"},sA={class:"process-popup-content-msg"},nA={key:0},rA={class:"process-pc-value"},oA={class:"process-popup-textarea"},aA={class:"process-popup-textarea-num"},lA={key:0,class:"msg-btn"},cA={key:0,class:"process-popup-content-person"},pA=["onClick"],dA={class:"process-pc-value--people"},hA={key:0,class:"process-pc-value--data"},uA={key:1,class:"process-pc-value--data",style:{color:"#888"}},fA=["onClick"],mA={class:"process-pc-value--people"},gA={key:0,class:"process-pc-value--data"},yA={key:1,class:"process-pc-value--data",style:{color:"#888"}},AA={style:{height:"100%"}};function kA(e,t,i,n,r,o){const a=s.resolveComponent("TopTips"),l=s.resolveComponent("departPerson"),d=s.resolveComponent("TopPopup"),u=s.resolveComponent("attchViews"),f=s.resolveComponent("MsgList");return s.openBlock(),s.createElementBlock("div",iA,[s.createElementVNode("div",sA,[i.param.isMsg?(s.openBlock(),s.createElementBlock("div",nA,[s.createElementVNode("div",{class:"process-radio-item",onClick:t[0]||(t[0]=h=>o.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):s.createCommentVNode("",!0),t[6]||(t[6]=s.createElementVNode("div",{class:"process-pc-label"},[s.createTextVNode(" \u8F6C\u5BA1\u7406\u7531\uFF1A"),s.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),s.createElementVNode("div",rA,[s.createElementVNode("div",oA,[s.withDirectives(s.createElementVNode("textarea",{"onUpdate:modelValue":t[1]||(t[1]=h=>r.commentMsg=h),class:"textarea-item",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,'')"},null,512),[[s.vModelText,r.commentMsg]]),s.createElementVNode("div",aA,s.toDisplayString(r.commentMsg.length)+"/200 ",1)]),i.param.isMsg?(s.openBlock(),s.createElementBlock("div",lA,[s.createElementVNode("span",{class:"msg-btn-click",onClick:t[2]||(t[2]=h=>o.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):s.createCommentVNode("",!0)])]),(s.openBlock(),s.createElementBlock("div",cA,[r.nextNodeData.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(r.nextNodeData,h=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[t[8]||(t[8]=s.createElementVNode("div",null,[s.createTextVNode(" \u5BA1\u6279\u4EBA "),s.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),s.createElementVNode("div",{class:"process-pc-value",onClick:g=>o.handleOpenPopup(h.id)},[s.createElementVNode("div",dA,[r.partNode[h.id]&&r.partNode[h.id].length?(s.openBlock(),s.createElementBlock("div",hA,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.partNode[h.id],(g,E)=>(s.openBlock(),s.createElementBlock("span",null,s.toDisplayString(E==0?g:`,${g}`),1))),256))])):(s.openBlock(),s.createElementBlock("div",uA,t[7]||(t[7]=[s.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1)])))])],8,pA)],64))),256)):r.outGatewayUserTaskModel.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(r.outGatewayUserTaskModel,h=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[t[10]||(t[10]=s.createElementVNode("div",{class:"process-pc-label"},[s.createTextVNode(" \u5BA1\u6279\u4EBA "),s.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),s.createElementVNode("div",{class:"process-pc-value",onClick:g=>o.handleOpenPopup(h.id)},[s.createElementVNode("div",mA,[r.partNode[h.id]&&r.partNode[h.id].length?(s.openBlock(),s.createElementBlock("div",gA,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.partNode[h.id],(g,E)=>(s.openBlock(),s.createElementBlock("span",null,s.toDisplayString(E==0?g:`,${g}`),1))),256))])):(s.openBlock(),s.createElementBlock("div",yA,t[9]||(t[9]=[s.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1)])))])],8,fA)],64))),256)):s.createCommentVNode("",!0)])),s.createVNode(a,{ref:"topTips",text:r.textTips,statusTips:r.statusTips,type:r.typeTips},null,8,["text","statusTips","type"]),s.createVNode(d,{visible:r.visible,"onUpdate:visible":t[3]||(t[3]=h=>r.visible=h),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:s.withCtx(()=>[s.createElementVNode("div",AA,[r.visible?(s.openBlock(),s.createBlock(l,s.mergeProps({key:0,isTitle:!1,visible:r.visible,request:i.param.request},r.entity,{onCallback:o.handleCallback,onCancel:o.handleCancel}),null,16,["visible","request","onCallback","onCancel"])):s.createCommentVNode("",!0)])]),_:1},8,["visible"]),r.labels=="1"?(s.openBlock(),s.createBlock(u,{key:1,limit:r.limit?r.limit:-1,requires:r.requires,request:i.param.request,linkUrl:i.param.linkUrl,onGetValue:o.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):s.createCommentVNode("",!0),s.createVNode(d,{visible:r.visibleListMsg,"onUpdate:visible":t[4]||(t[4]=h=>r.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:s.withCtx(()=>[s.createVNode(f,{visible:r.visibleListMsg,request:i.param.request,useInfo:i.param.userInfo,onHandleTips:o.handleTips,onHandleMsg:o.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),s.createVNode(d,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${r.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:o.handleTipsCancel,comfig:o.handleTipsComfig,visible:r.visibleMsgComfig,"onUpdate:visible":t[5]||(t[5]=h=>r.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"])])}const Oa=pe(tA,[["render",kA],["__scopeId","data-v-53aa4a2d"]]),EA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACZ5JREFUeF7tne1xG0cMhkE2EqeS2JXY6iLRZMb2jEdJF3YqiVNJ5EbMzIlhRDIiecAt9uPeh3+9wC5e4BEWx7O0MT4ogAIXFdigDQqgwGUFAITqQIErCgAI5YECAEINoEBMATpITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKIJM6YAgMR0w0pEAQARSTRhxhQAkJhuWIkoACAiiSbMmAIAEtMNKxEFAEQk0YQZUwBAYrphJaIAgIgkmjBjCgBITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKIJM6YAgMR0w0pEAQARSTRhxhQAkJhuWIkoACAiiSbMmAIAEtMNKxEFAEQk0YQZUwBAYrphJaIAgIgkmjBjCgBITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKKHDfPn3Svb2tt/z//NtvZonzZfa8UDILWUZh+fAs9gfDgzfDSzL/aw+ehzGFsNIDHdsMpUYA/Hn2b26so2j/aw+THzGJNvAMlWGP8+BX7dvbbvT3DM+aRDAiBz0sCaOgrc796b2fmV6tbe03Xr7tai6L8DSFQ57Moq8MvuT9vY65DTrb3JGtwBJJQRjIopMM0bG/schmN/kLQuAiDFMo0jtwK+eeOy+519td82b9z7zzAAkBkisSRBgdi8cekgdJCEFOGylQJL5o2XzswM0iqT7FtUgTLzxumREq9X00ZcsYpWAM4uKlBq3jjdgO9BKLkVKHC/e2dmnwtHk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OjlnIgdCgCIQyyW6ikAIHo5J2KHAgDiEIulegoAiF7OidihAIA4xGKpngIAopdzInYoACAOsViqpwCA6OWciB0KAIhDLJbqKQAgejknYocCAOIQi6V6CgCIXs6J2KEAgDjEYqmeAgCil3MidigAIA6xWKqnAIDo5ZyIHQoAiEMsluopACB6OSdihwIA4hCLpXoKAIhezonYoQCAOMRiqZ4CAKKXcyJ2KAAgDrFYqqcAgOjlnIgdCgCIQyyW6inwD771qeduEnFsAAAAAElFTkSuQmCC",CE="",wE="",bA={name:"TreeNode",components:{TopPopup:Ke,TopTips:nt,departPerson:Tt.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{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.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.$emit("onVars",this.gateVars),this.nodeItems=JSON.parse(JSON.stringify(e)),this.nodeItems.map(i=>{if(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.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(r=>r.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(r=>{n.postIds.push(r.postId)}),console.error("1"),this.param.request.post("/auth/post/getTaskAuditor",{deptId:this.param.taskNode&&this.param.taskNode[0].vars?this.param.taskNode[0].vars._businessDeptId:"",taskPostIds:[n]}).then(r=>{let o=[],a=[],l=!1;r.data.map(u=>{u.posts.map(f=>{a.push(...f.users),f.users.length==1?o.push(...f.users):l=!0})}),o.length>i.loopCardinality&&i.loopCardinality>0&&(l=!0),l&&(o=[]);let d=[];r.data[0].posts.map(u=>{d.push({...u,projectPost:!(this.param.taskNode&&this.param.taskNode[0].vars&&this.param.taskNode[0].vars._businessDeptId),id:u.users.map(f=>f.id)})}),a.length==0&&(i.noPersonnel=!0),o.length>0&&(i.noPersonnel=!0,this.partObjId=i.id,this.handleCallback(o)),i.positionArray=d})}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.checkType=="ExclusiveGatewayModel"&&e.length==1&&this.handleRadioClick(e[0]))},immediate:!0,deep:!0}},computed:{check(){return Yn}},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.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],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((r,o)=>{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(r.id)||this.multiNodeParticipant[i.id].push(r.id),this.partNode[i.id].includes(r.name)||this.partNode[i.id].push(r.name),this.partNodeArr[i.id].find(a=>a.name==r.name)||this.partNodeArr[i.id].push(r)}):i.id&&i.humanPerformerName=="\u56FA\u5B9A\u4EBA\u5458"&&(console.error("1"),this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[i.id]}).then(r=>{r.code==200&&(this.partNode[i.id]={},this.partNode[i.id]=r.data[i.id].split(";"))})),this.nodeType=="outing"&&(this.onVarsData&&(this.gateVars={...this.gateVars,...this.onVarsData}),this.$emit("onVars",this.gateVars))})},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=[];e.routeTxt.companyIds.map((n,r)=>{t=n.name,n.id}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((n,r)=>{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>0?e.loopCardinality:0,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((r,o)=>{e.routeTxt.departmentIds.length>1?i.push(r.rangeId):t=r.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((r,o)=>{n.push({type:3,id:r.id,deptId:t,subjectId:r.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>0?e.loopCardinality:0,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>0?e.loopCardinality:0,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>0?e.loopCardinality:0,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>0?e.loopCardinality:0,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))}}},CA={key:0,class:"treenode"},wA={key:0,class:"treenode-multi"},TA={class:"treenode-node",style:{"margin-top":"0"}},BA=["onClick"],NA=["src"],IA=["onClick"],xA={class:"treenode-node"},SA={key:0},DA={key:1,class:"personselect"},vA={class:"personselect-name"},PA={class:"items-person"},MA=["onClick"],VA={key:1,class:"items-person-name"},OA={key:2,class:"items-person-name"},RA={class:"treenode-node"},LA={key:0},FA={key:1,class:"personselect"},QA={class:"personselect-name"},UA={class:"items-person"},jA=["onClick"],GA={key:1,class:"items-person-name"},_A={key:2,class:"items-person-name"},qA={key:1,class:"treenode-single"},JA={class:"treenode-single-items"},HA={class:"personselect"},KA={class:"personselect-name"},zA={key:0,class:"items-person"},WA=["onClick"],YA={key:1,class:"items-person-name"},ZA={class:"items-person-name"},XA={key:0};function $A(e,t,i,n,r,o){const a=s.resolveComponent("TreeNode",!0),l=s.resolveComponent("departPerson"),d=s.resolveComponent("TopPopup"),u=s.resolveComponent("TopTips");return r.nodeItems&&r.nodeItems.length?(s.openBlock(),s.createElementBlock("div",CA,[i.endNode?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",wA,[s.createElementVNode("div",TA,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.nodeItems,f=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[i.checkType=="InclusiveGatewayModel"&&r.nodeItems.length>1?(s.openBlock(),s.createElementBlock("div",{key:0,class:s.normalizeClass(["treenode-checkbox",r.checkBoxArr.includes(f.id)?"treenode-checkbox-active":""]),onClick:h=>o.handleCheckBoxClick(f)},[s.createElementVNode("span",null,[r.checkBoxArr.includes(f.id)?(s.openBlock(),s.createElementBlock("img",{key:0,class:"treenode-checkbox-active-img",src:o.check},null,8,NA)):s.createCommentVNode("",!0)]),s.createTextVNode(" "+s.toDisplayString(f.nodeName||f.name),1)],10,BA)):i.checkType=="ExclusiveGatewayModel"&&r.nodeItems.length>1?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["treenode-radio",r.radioArr==f.id?"treenode-radio-active":""]),onClick:h=>o.handleRadioClick(f)},[t[1]||(t[1]=s.createElementVNode("span",null,null,-1)),s.createTextVNode(" "+s.toDisplayString(f.nodeName||f.name),1)],10,IA)):s.createCommentVNode("",!0)],64))),256))]),i.checkType=="InclusiveGatewayModel"&&r.checkBoxItem&&r.checkBoxItem.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(r.checkBoxItem,f=>(s.openBlock(),s.createElementBlock("div",xA,[f.childNode&&f.childNode.length?(s.openBlock(),s.createElementBlock("div",SA,[s.createVNode(a,{items:f.childNode,endNode:f.childNode.length==1,nodeType:i.nodeType,param:i.param,checkType:f.type,onOnMultiNode:o.onMultiNode,onOnVars:o.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnVars"])])):(s.openBlock(),s.createElementBlock("div",DA,[s.createElementVNode("div",vA,s.toDisplayString(f.name||f.nodeName),1),s.createElementVNode("div",PA,[f.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&f.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(s.openBlock(),s.createElementBlock("div",{key:0,class:"items-person-set",onClick:s.withModifiers(h=>o.handleOpenPopup(f),["stop"])}," \u8BBE\u7F6E ",8,MA)):s.createCommentVNode("",!0),f.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&f.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(s.openBlock(),s.createElementBlock("div",VA,s.toDisplayString(r.partNode[f.id]?r.partNode[f.id].join(","):""),1)):f.routeTxt&&f.routeTxt.userNames?(s.openBlock(),s.createElementBlock("div",OA,s.toDisplayString(f.routeTxt.userNames),1)):s.createCommentVNode("",!0)])]))]))),256)):s.createCommentVNode("",!0),i.checkType=="ExclusiveGatewayModel"&&r.radioItem&&r.radioItem.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(r.radioItem,f=>(s.openBlock(),s.createElementBlock("div",RA,[f.childNode&&f.childNode.length?(s.openBlock(),s.createElementBlock("div",LA,[s.createVNode(a,{items:f.childNode,endNode:f.childNode.length==1,nodeType:i.nodeType,param:i.param,checkType:f.type,onOnMultiNode:o.onMultiNode,onOnVars:o.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnVars"])])):(s.openBlock(),s.createElementBlock("div",FA,[s.createElementVNode("div",QA,s.toDisplayString(f.name||f.nodeName),1),s.createElementVNode("div",UA,[f.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&f.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(s.openBlock(),s.createElementBlock("div",{key:0,class:"items-person-set",onClick:s.withModifiers(h=>o.handleOpenPopup(f),["stop"])}," \u8BBE\u7F6E ",8,jA)):s.createCommentVNode("",!0),f.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&f.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?(s.openBlock(),s.createElementBlock("div",GA,s.toDisplayString(r.partNode[f.id]?r.partNode[f.id].join(","):""),1)):f.routeTxt&&f.routeTxt.userNames?(s.openBlock(),s.createElementBlock("div",_A,s.toDisplayString(f.routeTxt.userNames),1)):s.createCommentVNode("",!0)])]))]))),256)):s.createCommentVNode("",!0)])),i.endNode?(s.openBlock(),s.createElementBlock("div",qA,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.nodeItems,f=>(s.openBlock(),s.createElementBlock("div",JA,[s.createElementVNode("div",HA,[s.createElementVNode("div",KA,s.toDisplayString(f.name||f.nodeName),1),f.nodeType!=="endEvent"?(s.openBlock(),s.createElementBlock("div",zA,[f.setPersonnel?(s.openBlock(),s.createElementBlock("div",YA,s.toDisplayString((f.assignees||[]).map(h=>h.name).join(",")),1)):(s.openBlock(),s.createElementBlock("div",{key:0,class:"items-person-set",onClick:s.withModifiers(h=>o.handleOpenPopup(f),["stop"])}," \u8BBE\u7F6E ",8,WA)),s.createElementVNode("div",ZA,[!r.partNode[f.id]&&f.humanPerformerName=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"&&f.noPersonnel?(s.openBlock(),s.createElementBlock("div",XA," \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")):s.createCommentVNode("",!0),s.createTextVNode(" "+s.toDisplayString(r.partNode[f.id]?r.partNode[f.id].join(","):""),1)])])):s.createCommentVNode("",!0)])]))),256))])):s.createCommentVNode("",!0),s.createVNode(d,{visible:r.visible,"onUpdate:visible":t[0]||(t[0]=f=>r.visible=f),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:s.withCtx(()=>[r.visible?(s.openBlock(),s.createBlock(l,s.mergeProps({key:0,isTitle:!1},r.entity,{onCallback:o.handleCallback}),null,16,["onCallback"])):s.createCommentVNode("",!0)]),_:1},8,["visible"]),s.createVNode(u,{ref:"topTips",text:r.textTips,statusTips:r.statusTips,type:r.typeTips},null,8,["text","statusTips","type"])])):s.createCommentVNode("",!0)}const e0=pe(bA,[["render",$A],["__scopeId","data-v-9b6e6841"]]),TE="",t0={name:"treeperson",components:{TreeNode:e0},props:{items:{type:Array,default:()=>[]},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}}},data(){return{nodeItems:[],visible:!1,partObjId:"",partNode:[],firstCheck:"",firstType:"",childrenItems:[],childrenEndItems:!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},i.humanPerformerName=i.humanPerformer.name,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]))},immediate:!0,deep:!0}},methods:{onMultiNode(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"},handleFirstNodeClick(e){if(e){this.firstCheck=e.id,this.firstType=e.type;let t=[e];e.childNode&&e.childNode.length?(this.childrenItems=e.childNode,this.childrenEndItems=!1):(this.childrenItems=[e],this.childrenEndItems=!0),this.nodeType=="outing"&&(this.gateVars={},t.forEach(i=>{this.gateVars[i.incomingConditionItemList[0].itemName]=i.incomingConditionItemList[0].compareValue}))}}}},i0={class:"test"},s0={key:0},n0={key:0,class:"treeperson-firstnode"},r0=["onClick"];function o0(e,t,i,n,r,o){const a=s.resolveComponent("TreeNode");return s.openBlock(),s.createElementBlock("div",i0,[r.nodeItems&&r.nodeItems.length?(s.openBlock(),s.createElementBlock("div",s0,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.nodeItems,(l,d)=>(s.openBlock(),s.createElementBlock("div",{class:"treeperson",key:d},[l.childNode&&l.childNode.length?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[t[1]||(t[1]=s.createElementVNode("div",{class:"treeperson-title"},[s.createTextVNode(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),s.createElementVNode("span",{class:"treeperson-title--re"},"*")],-1)),i.nodeType=="outing"?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[l.type=="ExclusiveGatewayModel"&&l.childNode.length==1?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",n0,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(l.childNode,(u,f)=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["treeperson-radio",r.firstCheck==u.id?"treeperson-radio-active":""]),onClick:h=>o.handleFirstNodeClick(u),key:f},[t[0]||(t[0]=s.createElementVNode("span",null,null,-1)),s.createTextVNode(" "+s.toDisplayString(u.nodeName||u.name),1)],10,r0))),128))])),s.createVNode(a,{items:r.childrenItems,endNode:r.childrenEndItems,nodeType:i.nodeType,param:i.param,checkType:r.firstType,onOnMultiNode:o.onMultiNode,onOnMultiNodeObj:o.onMultiNodeObj,onOnVars:o.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnMultiNodeObj","onOnVars"])],64)):s.createCommentVNode("",!0)],64)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[t[2]||(t[2]=s.createElementVNode("div",{class:"treeperson-title"},[s.createTextVNode(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),s.createElementVNode("span",{class:"treeperson-title--re"},"*")],-1)),i.nodeType=="nexting"?(s.openBlock(),s.createBlock(a,{key:0,items:[l],endNode:r.childrenEndItems,nodeType:i.nodeType,param:i.param,checkType:r.firstType,onOnMultiNode:o.onMultiNode,onOnMultiNodeObj:o.onMultiNodeObj,onOnVars:o.onVars},null,8,["items","endNode","nodeType","param","checkType","onOnMultiNode","onOnMultiNodeObj","onOnVars"])):(s.openBlock(),s.createBlock(a,{key:1,items:[l],endNode:!0,nodeType:"nexting",param:i.param,checkType:r.firstType,onOnMultiNode:o.onMultiNode,onOnMultiNodeObj:o.onMultiNodeObj,onOnVars:o.onVars},null,8,["items","param","checkType","onOnMultiNode","onOnMultiNodeObj","onOnVars"]))],64))]))),128))])):s.createCommentVNode("",!0)])}const a0=pe(t0,[["render",o0],["__scopeId","data-v-988a23b5"]]),BE="",l0={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})}},c0={class:"top-popup-header"},p0={class:"header-title"},d0={class:"top-popup-body"},h0={class:"top-popup-drawer--body"},u0={class:"top-tips-header"},f0={class:"top-tips-body"},m0={class:"top-tips-footer"};function g0(e,t,i,n,r,o){return s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["top-popup-zindex",i.className]),style:s.normalizeStyle(`${i.isIndex?`z-index:${i.isIndex}`:""}`)},[s.createElementVNode("div",{class:"top-popup-mask",style:s.normalizeStyle(r.show&&i.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"),onClick:t[0]||(t[0]=a=>i.isMaskClose&&o.handleClose())},null,4),!i.isTips&&!i.isDrawer?(s.openBlock(),s.createElementBlock("div",{key:0,class:"top-popup",style:s.normalizeStyle(r.show?"transform: translateY(0)":"transform: translateY(150%)")},[s.createElementVNode("div",c0,[s.createElementVNode("div",{class:"header-cancel",onClick:t[1]||(t[1]=(...a)=>o.handleCancel&&o.handleCancel(...a))},s.toDisplayString(i.cancelText),1),s.createElementVNode("div",p0,s.toDisplayString(i.titleText),1),s.createElementVNode("div",{class:"header-comfig",onClick:t[2]||(t[2]=(...a)=>o.handleComfig&&o.handleComfig(...a))},s.toDisplayString(i.comfigText),1)]),s.createElementVNode("div",d0,[s.renderSlot(e.$slots,"default",{},void 0,!0)])],4)):!i.isTips&&i.isDrawer?(s.openBlock(),s.createElementBlock("div",{key:1,class:s.normalizeClass(["top-popup-drawer",r.show?"top-popup-drawer--active":""]),style:s.normalizeStyle(i.width?`width:${i.width};`:"")},[s.createElementVNode("div",h0,[s.renderSlot(e.$slots,"default",{},void 0,!0)])],6)):i.isTips&&!i.isDrawer?(s.openBlock(),s.createElementBlock("div",{key:2,class:"top-tips",style:s.normalizeStyle(r.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)")},[s.createElementVNode("div",u0,s.toDisplayString(i.titleText),1),s.createElementVNode("div",f0,s.toDisplayString(i.context),1),s.createElementVNode("div",m0,[s.createElementVNode("div",{class:"top-tips-btn",onClick:t[3]||(t[3]=(...a)=>o.handleCancel&&o.handleCancel(...a))},s.toDisplayString(i.cancelText),1),s.createElementVNode("div",{class:"top-tips-btn",onClick:t[4]||(t[4]=(...a)=>o.handleComfig&&o.handleComfig(...a))},s.toDisplayString(i.comfigText),1)])],4)):s.createCommentVNode("",!0)],6)}const Ra=pe(l0,[["render",g0],["__scopeId","data-v-06a80662"]]),NE="",y0={components:{signDrawer:Ra},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"}),o=new File([i],"text.txt").size/1024;if(o<=64){const a=document.getElementById("canvas-id");return this.getRotatedDataURL(a,-90,t)}else{if(o>300)return null;{let a,l;if(t<.005)return null;if(t-.05>0){a=t-.05;const d=document.getElementById("canvas-id");return l=this.getRotatedDataURL(d,-90,a),this.fixAccuracy(l,a)}else{a=t/2;const d=document.getElementById("canvas-id");return l=this.getRotatedDataURL(d,-90,a),this.fixAccuracy(l,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 i=.6,n=null;const r=document.getElementById("canvas-id");n=this.getRotatedDataURL(r,-90,i);const a=new Blob([n],{type:"text/plain"}),u=new File([a],"text.txt").size/1024;let f=64*i/u,h=this.getRotatedDataURL(r,-90,f);if(n=this.fixAccuracy(h,f),!n){this.savaClock=!1,this.$emit("validateFail","\u8BF7\u7B80\u5316\u7B7E\u5B57!");return}this.signatureImage=n||"";let g=JSON.parse(localStorage.getItem("signaturesArr"))||[];g.unshift(this.signatureImage),this.historyPics=g.slice(0,3),localStorage.setItem("signaturesArr",JSON.stringify(this.historyPics)),this.savaClock=!1,this.$emit("saveSignature",this.signatureImage,!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,r=e.height/window.devicePixelRatio,o=t*Math.PI/180,a=Math.max(n*Math.abs(Math.cos(o)),r*Math.abs(Math.sin(o))),l=Math.max(n*Math.abs(Math.sin(o)),r*Math.abs(Math.cos(o)));const d=document.createElement("canvas"),u=d.getContext("2d");return d.width=a,d.height=l,u.translate(a/2,l/2),u.rotate(o),u.drawImage(e,-n/2,-r/2,n,r),d.toDataURL("image/jpeg",i)}},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,r=t.offsetHeight-this.actionHeight-this.historyHeight;i.style.width=`${n}px`,i.style.height=`${r}px`,i.width=n*window.devicePixelRatio,i.height=r*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)}},A0={class:"canvas-container"},k0={key:0,class:"tips"},E0={class:"history"},b0=["src"],C0=["src"],w0=["src"],T0={class:"actions-area"};function B0(e,t,i,n,r,o){const a=s.resolveComponent("signDrawer");return s.openBlock(),s.createElementBlock("div",{class:"sign-container",style:s.normalizeStyle(o.setDynamicVars)},[s.createElementVNode("div",A0,[r.paths.length==0&&r.currentPath.length==0?(s.openBlock(),s.createElementBlock("div",k0,"\u8BF7\u5728\u6B64\u533A\u57DF\u7B7E\u5B57")):s.createCommentVNode("",!0),s.createElementVNode("canvas",{ref:"canvasRef",onTouchmove:t[0]||(t[0]=(...l)=>o.draw&&o.draw(...l)),onTouchstart:t[1]||(t[1]=(...l)=>o.startDrawing&&o.startDrawing(...l)),onTouchend:t[2]||(t[2]=(...l)=>o.finishDrawing&&o.finishDrawing(...l)),id:"canvas-id","canvas-id":"canvas-id",class:s.normalizeClass({"uni-canvas-style":o.isUniCanvas()})},null,34)]),s.createElementVNode("div",E0,[s.createElementVNode("div",{class:"img-grid",onClick:t[3]||(t[3]=l=>o.useHistory(0))},[r.historyPics[0]?(s.openBlock(),s.createElementBlock("img",{key:0,src:r.historyPics[0]?r.historyPics[0]:"",fit:"scale-down"},null,8,b0)):s.createCommentVNode("",!0)]),s.createElementVNode("div",{class:"img-grid",onClick:t[4]||(t[4]=l=>o.useHistory(1))},[r.historyPics[1]?(s.openBlock(),s.createElementBlock("img",{key:0,src:r.historyPics[1]?r.historyPics[1]:"",fit:"scale-down"},null,8,C0)):s.createCommentVNode("",!0)]),s.createElementVNode("div",{class:"img-grid",onClick:t[5]||(t[5]=l=>o.useHistory(2)),style:{"margin-right":"10rpx"}},[r.historyPics[2]?(s.openBlock(),s.createElementBlock("img",{key:0,src:r.historyPics[2]?r.historyPics[2]:"",fit:"scale-down"},null,8,w0)):s.createCommentVNode("",!0)])]),s.createElementVNode("div",T0,[s.createElementVNode("button",{onClick:t[6]||(t[6]=(...l)=>o.confirmSave&&o.confirmSave(...l)),class:"btns-common cmf-btn"},"\u786E\u8BA4"),s.createElementVNode("button",{onClick:t[7]||(t[7]=(...l)=>o.cancelSign&&o.cancelSign(...l)),class:"btns-common"},"\u8FD4\u56DE"),s.createElementVNode("button",{onClick:t[8]||(t[8]=(...l)=>o.undo&&o.undo(...l)),class:"btns-common"},"\u64A4\u9500"),s.createElementVNode("button",{onClick:t[9]||(t[9]=(...l)=>o.clearCanvas&&o.clearCanvas(...l)),class:"btns-common"},"\u6E05\u7A7A")]),s.createVNode(a,{visible:r.confirmVisible,"onUpdate:visible":t[10]||(t[10]=l=>r.confirmVisible=l),ref:"TopPopupSign",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:o.saveSignature},null,8,["visible","comfig"])],4)}const N0=pe(y0,[["render",B0],["__scopeId","data-v-d65890ae"]]),IE="",I0={name:"complete",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:nt,attchViews:wi,TopPopup:Ke,departPerson:Tt.departPerson,MsgList:Ki,TreePerson:a0,TopSign:N0,signDrawer:Ra},computed:{check(){return Yn},checkS(){return EA},isSelectPerson(){if(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!1},signRequired(){if(this.param.taskObj.activityExtendAttributes){let e=JSON.parse(this.param.taskObj.activityExtendAttributes);return e.find(t=>t.key=="\u7B7E\u5B57")?e.find(t=>t.key=="\u7B7E\u5B57").value=="1":!1}else return!1}},data(){return{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.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.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.type!=="endEvent"&&(i.userTaskModelDTO||(i.userTaskModelDTO={name:i.name,humanPerformer:{name:i.humanPerformerName},routeTxt:i.routeTxt,participantList:i.participantList}),console.log("v=========",i),i.userTaskModelDTO&&i.userTaskModelDTO.participantList&&i.userTaskModelDTO.participantList.length&&i.userTaskModelDTO.participantList.map(r=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(r.id)||this.multiNodeParticipant[i.id].push(r.id),this.partNode[i.id].includes(r.name)||this.partNode[i.id].push(r.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.type!=="endEvent"&&i.participantList&&i.participantList.length&&i.participantList.map(r=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(r.id)||this.multiNodeParticipant[i.id].push(r.id),this.partNode[i.id].includes(r.name)||this.partNode[i.id].push(r.name)})})},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},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,r)=>{t=n.name}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((n,r)=>{i.push({type:3,uid: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>0?e.loopCardinality:0,subjectName:t,checkedArray:i}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"){let t,i=[],n=[];e.routeTxt.departmentIds.forEach((r,o)=>{e.routeTxt.departmentIds.length>1?i.push(r.rangeId):t=r.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].forEach((r,o)=>{n.push({type:3,uid:r,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>0?e.loopCardinality:0,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>0?e.loopCardinality:0,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,uid: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>0?e.loopCardinality:0,checkedArray:t}}},handleOpenMsg(){this.visibleListMsg=!0},async confirm(){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.handleTips("\u8BF7\u9009\u62E9["+this.isSelectPerson+"]\u5BA1\u6279\u4EBA!",!1,"success");return}this.commentMsg||(this.commentMsg=" ");let e={};if(this.radioCheckNameList&&this.radioCheckNameList.length){if(this.radioCheckChild[0].type!=="EndEventModel"){let n=0;if(this.radioCheckNameList.map((r,o)=>{(!this.multiNodeParticipant[r]||!this.multiNodeParticipant[r].length)&&this.radioCheckChild.map((a,l)=>{a.id==r&&(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((d,u)=>{(!this.multiNodeParticipant[d]||!this.multiNodeParticipant[d].length)&&(n+=1),e[d]=this.multiNodeParticipant[d]}))}),e[r]=this.multiNodeParticipant[r]}),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}e=this.multiNodeParticipant}if(this.param.beforeFunction&&!await this.param.beforeFunction())return;this.handleTips("",!0,"loading"),this.param.actionComplete,this.commentMsg,this.param.taskInstId,this.param.vars||this.gateVars;let t=[];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(n=>({id:n.id,name:n.name})),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,taskId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:e}).then(n=>{if(n.code==200){if(this.attchLists.length>0){this.uploadAttch();return}this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""}else this.handleTips(n.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.handleTips("\u8BF7\u9009\u62E9["+this.isSelectPerson+"]\u5BA1\u6279\u4EBA!",!1,"success");return}this.commentMsg||(this.commentMsg=" ");let t={};if(this.radioCheckNameList&&this.radioCheckNameList.length){if(this.radioCheckChild[0].type!=="EndEventModel"){let i=0;if(this.radioCheckNameList.map((n,r)=>{(!this.multiNodeParticipant[n]||!this.multiNodeParticipant[n].length)&&this.radioCheckChild.map((o,a)=>{o.id==n&&(o.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"||o.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&(!o.childNode||!o.childNode.length?i+=1:this.radioCheckNode.map((l,d)=>{(!this.multiNodeParticipant[l]||!this.multiNodeParticipant[l].length)&&(i+=1),t[l]=this.multiNodeParticipant[l]}))}),t[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}t=this.multiNodeParticipant}if(e){this.signVisible=!0;return}if(!this.digitalSignature){this.handleTips("\u8BF7\u7B7E\u5B57!",!1,"success");return}this.param.beforeFunction&&!await this.param.beforeFunction()||(this.handleTips("",!0,"loading"),this.signVisible=!1,await this.param.request.post("/bladex/blade-workflow/tis/complete",{actionName:this.param.actionComplete,commentMsg:this.commentMsg,taskInstId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:t,digitalSignature:this.digitalSignature}).then(i=>{if(i.code==200){if(this.attchLists.length>0){this.uploadAttch();return}this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""}else this.handleTips(i.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.uid),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}}},x0={class:"process-popup-content"},S0={key:0,class:"process-popup-content-msg"},D0={key:0,class:"process-pc-label"},v0={key:1,class:"process-pc-value",style:{display:"flex"}},P0={class:"process-radio",style:{width:"100%"}},M0=["onClick"],V0=["onClick"],O0={key:2},R0={class:"process-pc-label"},L0={key:0,class:"process-pc-label--re"},F0={class:"process-pc-value"},Q0={class:"process-popup-textarea"},U0={class:"process-popup-textarea-num"},j0={key:0,class:"msg-btn"},G0={key:1,class:"process-popup-content-person"},_0={key:0},q0={style:{height:"100%"}},J0={style:{height:"100%"}};function H0(e,t,i,n,r,o){const a=s.resolveComponent("TreePerson"),l=s.resolveComponent("TopTips"),d=s.resolveComponent("departPerson"),u=s.resolveComponent("TopPopup"),f=s.resolveComponent("MsgList"),h=s.resolveComponent("attchViews"),g=s.resolveComponent("TopSign"),E=s.resolveComponent("signDrawer");return s.openBlock(),s.createElementBlock("div",x0,[i.param.ProcessInsObj&&i.param.ProcessInsObj.processDefId!="obj_94014ede99b6495d8f6d5977314faa15"?(s.openBlock(),s.createElementBlock("div",S0,[i.param.isQuickReply?(s.openBlock(),s.createElementBlock("div",D0,"\u5FEB\u6377\u56DE\u590D")):s.createCommentVNode("",!0),i.param.isQuickReply?(s.openBlock(),s.createElementBlock("div",v0,[s.createElementVNode("div",P0,[i.param.isDocument?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(r.msgCheckList,I=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["process-radio-item",I==r.commentMsg?"process-radio-item--check":""]),onClick:()=>r.commentMsg=I},[t[8]||(t[8]=s.createElementVNode("span",null,null,-1)),s.createTextVNode(" "+s.toDisplayString(I),1)],10,M0))),256)):(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(r.msgCheckListS,I=>(s.openBlock(),s.createElementBlock("div",{class:s.normalizeClass(["process-radio-item",I==r.commentMsg?"process-radio-item--check":""]),onClick:()=>r.commentMsg=I},[t[9]||(t[9]=s.createElementVNode("span",null,null,-1)),s.createTextVNode(" "+s.toDisplayString(I),1)],10,V0))),256)),i.param.isMsg?(s.openBlock(),s.createElementBlock("div",{key:2,class:"process-radio-item",onClick:t[0]||(t[0]=I=>o.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px","margin-left":"auto"}}," \u5E38\u7528\u610F\u89C1 ")):s.createCommentVNode("",!0)])])):s.createCommentVNode("",!0),i.param.isMsg&&!i.param.isQuickReply?(s.openBlock(),s.createElementBlock("div",O0,[s.createElementVNode("div",{class:"process-radio-item",onClick:t[1]||(t[1]=I=>o.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):s.createCommentVNode("",!0),s.createElementVNode("div",R0,[t[10]||(t[10]=s.createTextVNode(" \u5BA1\u6279\u610F\u89C1 ")),i.param.isRequire?(s.openBlock(),s.createElementBlock("span",L0,"*")):s.createCommentVNode("",!0)]),s.createElementVNode("div",F0,[s.createElementVNode("div",Q0,[s.withDirectives(s.createElementVNode("textarea",{"onUpdate:modelValue":t[2]||(t[2]=I=>r.commentMsg=I),class:"textarea-item",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,'')"},null,512),[[s.vModelText,r.commentMsg]]),s.createElementVNode("div",U0,s.toDisplayString(r.commentMsg.length)+"/200 ",1)]),i.param.isMsg?(s.openBlock(),s.createElementBlock("div",j0,[s.createElementVNode("span",{class:"msg-btn-click",onClick:t[3]||(t[3]=I=>o.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):s.createCommentVNode("",!0)])])):s.createCommentVNode("",!0),(s.openBlock(),s.createElementBlock("div",G0,[s.createElementVNode("template",null,[r.nextNodeData.length==1&&r.nextNodeData[0].type=="endEvent"?(s.openBlock(),s.createElementBlock("div",_0," \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")):(s.openBlock(),s.createBlock(a,{key:1,items:r.nextNodeData,nodeType:"nexting",param:i.param,onOnMultiNode:o.onMultiNode,onOnMultiNodeObj:o.onMultiNodeObj},null,8,["items","param","onOnMultiNode","onOnMultiNodeObj"]))])])),s.renderSlot(e.$slots,"completeSlot",{},void 0,!0),s.createVNode(l,{ref:"topTips",text:r.textTips,statusTips:r.statusTips,type:r.typeTips},null,8,["text","statusTips","type"]),s.createVNode(u,{visible:r.visible,"onUpdate:visible":t[4]||(t[4]=I=>r.visible=I),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:s.withCtx(()=>[s.createElementVNode("div",q0,[r.visible?(s.openBlock(),s.createBlock(d,s.mergeProps({key:0,isTitle:!1,visible:r.visible},r.entity,{onCallback:o.handleCallback,onCancel:o.handleCancel}),null,16,["visible","onCallback","onCancel"])):s.createCommentVNode("",!0)])]),_:1},8,["visible"]),s.createVNode(u,{visible:r.visibleListMsg,"onUpdate:visible":t[5]||(t[5]=I=>r.visibleListMsg=I),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:s.withCtx(()=>[s.createVNode(f,{visible:r.visibleListMsg,request:i.param.request,useInfo:i.param.userInfo,onHandleTips:o.handleTips,onHandleMsg:o.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),s.createVNode(u,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${r.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:o.handleTipsCancel,comfig:o.handleTipsComfig,visible:r.visibleMsgComfig,"onUpdate:visible":t[6]||(t[6]=I=>r.visibleMsgComfig=I)},null,8,["context","cancel","comfig","visible"]),r.labels=="1"?(s.openBlock(),s.createBlock(h,{key:2,limit:r.limit?r.limit:-1,requires:r.requires,request:i.param.request,linkUrl:i.param.linkUrl,onGetValue:o.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):s.createCommentVNode("",!0),s.createVNode(E,{visible:r.signVisible,"onUpdate:visible":t[7]||(t[7]=I=>r.signVisible=I),ref:"TopPopupSign",titleText:"\u7B7E\u5B57",isDrawer:!0,width:"100vw"},{default:s.withCtx(()=>[s.createElementVNode("div",J0,[r.signVisible?(s.openBlock(),s.createBlock(g,{key:0,onSaveSignature:o.handleSignature,onValidateFail:o.noticeFail,onClose:o.handleClose},null,8,["onSaveSignature","onValidateFail","onClose"])):s.createCommentVNode("",!0)])]),_:1},8,["visible"])])}const Zn=pe(I0,[["render",H0],["__scopeId","data-v-755dc1b5"]]),xE="",K0={name:"cancel",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:nt,attchViews:wi,TopPopup:Ke,departPerson:Tt.departPerson,MsgList:Ki},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.uid),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,uid:t.uid})})},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")}}},z0={class:"process-popup-content"},W0={class:"process-popup-content-msg"},Y0={key:0},Z0={class:"process-pc-value"},X0={class:"process-popup-textarea"},$0={class:"process-popup-textarea-num"},ek={key:0,class:"msg-btn"},tk={key:0,class:"process-popup-content-person"},ik=["onClick"],sk={class:"process-pc-value--people"},nk={key:0,class:"process-pc-value--data"},rk={key:1,class:"process-pc-value--data",style:{color:"#888"}},ok={style:{"font-size":"15px"}},ak={style:{height:"100%"}};function lk(e,t,i,n,r,o){const a=s.resolveComponent("TopTips"),l=s.resolveComponent("departPerson"),d=s.resolveComponent("TopPopup"),u=s.resolveComponent("attchViews"),f=s.resolveComponent("MsgList");return s.openBlock(),s.createElementBlock("div",z0,[s.createElementVNode("div",W0,[i.param.isMsg?(s.openBlock(),s.createElementBlock("div",Y0,[s.createElementVNode("div",{class:"process-radio-item",onClick:t[0]||(t[0]=h=>o.handleOpenMsg()),style:{color:"#1389ff","font-size":"14px"}}," \u5E38\u7528\u610F\u89C1 ")])):s.createCommentVNode("",!0),t[7]||(t[7]=s.createElementVNode("div",{class:"process-pc-label"},[s.createTextVNode(" \u62D2\u7EDD\u7406\u7531\uFF1A "),s.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),s.createElementVNode("div",Z0,[s.createElementVNode("div",X0,[s.withDirectives(s.createElementVNode("textarea",{"onUpdate:modelValue":t[1]||(t[1]=h=>r.commentMsg=h),class:"textarea-item",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,'')"},null,512),[[s.vModelText,r.commentMsg]]),s.createElementVNode("div",$0,s.toDisplayString(r.commentMsg.length)+"/200 ",1)]),i.param.isMsg?(s.openBlock(),s.createElementBlock("div",ek,[s.createElementVNode("span",{class:"msg-btn-click",onClick:t[2]||(t[2]=h=>o.handleMakeMsg())},"\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])):s.createCommentVNode("",!0)])]),r.taskNode&&r.taskNode.length>0&&r.taskNode[0].taskState!=4?(s.openBlock(),s.createElementBlock("div",tk,[r.nextNodeData.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(r.nextNodeData,h=>{var g,E;return s.openBlock(),s.createElementBlock(s.Fragment,null,[o.isOption((E=(g=h==null?void 0:h.userTaskModelDTO)==null?void 0:g.humanPerformer)==null?void 0:E.name)?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",null,[s.createTextVNode(s.toDisplayString(h.userTaskModelDTO.name)+" ",1),t[8]||(t[8]=s.createElementVNode("br",null,null,-1)),t[9]||(t[9]=s.createTextVNode(" \u5BA1\u6279\u4EBA ")),t[10]||(t[10]=s.createElementVNode("span",{class:"process-pc-label--re"},"*",-1))]),s.createElementVNode("div",{class:"process-pc-value",onClick:I=>o.handleOpenPopup(h.id)},[s.createElementVNode("div",sk,[r.partNode[h.id]&&r.partNode[h.id].length?(s.openBlock(),s.createElementBlock("div",nk,[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(r.partNode[h.id],(I,v)=>(s.openBlock(),s.createElementBlock("span",null,s.toDisplayString(v==0?I:`,${I}`),1))),256))])):(s.openBlock(),s.createElementBlock("div",rk,t[11]||(t[11]=[s.createElementVNode("span",null," \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ",-1)])))])],8,ik)],64)):s.createCommentVNode("",!0)],64)}),256)):r.outGatewayUserTaskModel.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(r.outGatewayUserTaskModel,h=>(s.openBlock(),s.createElementBlock(s.Fragment,null,[o.isOption(h.humanPerformerName)?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",ok,s.toDisplayString(h.name),1),t[13]||(t[13]=s.createElementVNode("div",{class:"process-pc-label"},[s.createTextVNode(" \u5BA1\u6279\u4EBA "),s.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),s.createElementVNode("div",{class:"process-pc-value",onClick:t[3]||(t[3]=(...g)=>o.handleOpenPopup&&o.handleOpenPopup(...g))},t[12]||(t[12]=[s.createElementVNode("div",{class:"process-pc-value--people"},s.toDisplayString(234),-1)]))],64)):s.createCommentVNode("",!0)],64))),256)):s.createCommentVNode("",!0)])):s.createCommentVNode("",!0),s.createVNode(a,{ref:"topTips",text:r.textTips,statusTips:r.statusTips,type:r.typeTips},null,8,["text","statusTips","type"]),s.createVNode(d,{visible:r.visible,"onUpdate:visible":t[4]||(t[4]=h=>r.visible=h),ref:"TopPopup",titleText:"\u9009\u4EBA",isDrawer:!0},{default:s.withCtx(()=>[s.createElementVNode("div",ak,[r.visible?(s.openBlock(),s.createBlock(l,s.mergeProps({key:0,isTitle:!1,visible:r.visible,request:i.param.request},r.entity,{onCallback:o.handleCallback,onCancel:o.handleCancel}),null,16,["visible","request","onCallback","onCancel"])):s.createCommentVNode("",!0)])]),_:1},8,["visible"]),r.labels=="\u62D2\u7EDD"?(s.openBlock(),s.createBlock(u,{key:1,limit:r.limit?r.limit:-1,requires:r.requires,request:i.param.request,linkUrl:i.param.linkUrl,onGetValue:o.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):s.createCommentVNode("",!0),s.createVNode(d,{visible:r.visibleListMsg,"onUpdate:visible":t[5]||(t[5]=h=>r.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:s.withCtx(()=>[s.createVNode(f,{visible:r.visibleListMsg,request:i.param.request,useInfo:i.param.userInfo,onHandleTips:o.handleTips,onHandleMsg:o.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),s.createVNode(d,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${r.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:o.handleTipsCancel,comfig:o.handleTipsComfig,visible:r.visibleMsgComfig,"onUpdate:visible":t[6]||(t[6]=h=>r.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"])])}const La=pe(K0,[["render",lk],["__scopeId","data-v-672706e4"]]),SE="",ck={name:"backNode",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:nt,attchViews:wi,TopPopup:Ke,departPerson:Tt.departPerson,TopDownSelect:Pa,MsgList:Ki},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.uid),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,uid:t.uid})})},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")}}},pk={class:"process-popup-content"},dk={class:"process-popup-content-msg"},hk={class:"process-pc-value",style:{display:"inline-block",width:"50%"}},uk={class:"process-pc-value"},fk={class:"process-popup-textarea"},mk={class:"process-popup-textarea-num"};function gk(e,t,i,n,r,o){const a=s.resolveComponent("TopDownSelect"),l=s.resolveComponent("TopTips"),d=s.resolveComponent("MsgList"),u=s.resolveComponent("TopPopup"),f=s.resolveComponent("attchViews");return s.openBlock(),s.createElementBlock("div",pk,[s.createElementVNode("div",dk,[t[3]||(t[3]=s.createElementVNode("div",{class:"process-pc-label",style:{"background-color":"#fff",position:"relative","z-index":"199",display:"inline-block",width:"50%"}},[s.createTextVNode(" \u9000\u56DE\u8282\u70B9\uFF1A "),s.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),s.createElementVNode("div",hk,[s.createVNode(a,{option:r.option,onChange:o.handleChange,optionStyle:"width:calc(100% - 40px);left:20px;",maskShow:!1,border:""},null,8,["option","onChange"])]),t[4]||(t[4]=s.createElementVNode("div",{class:"process-pc-label"},[s.createTextVNode(" \u9000\u56DE\u7406\u7531\uFF1A "),s.createElementVNode("span",{class:"process-pc-label--re"},"*")],-1)),s.createElementVNode("div",uk,[s.createElementVNode("div",fk,[s.withDirectives(s.createElementVNode("textarea",{"onUpdate:modelValue":t[0]||(t[0]=h=>r.commentMsg=h),class:"textarea-item",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,'')"},null,512),[[s.vModelText,r.commentMsg]]),s.createElementVNode("div",mk,s.toDisplayString(r.commentMsg.length)+"/200 ",1)])])]),s.createVNode(l,{ref:"topTips",text:r.textTips,statusTips:r.statusTips,type:r.typeTips},null,8,["text","statusTips","type"]),s.createVNode(u,{visible:r.visibleListMsg,"onUpdate:visible":t[1]||(t[1]=h=>r.visibleListMsg=h),ref:"TopPopup",titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},{default:s.withCtx(()=>[s.createVNode(d,{visible:r.visibleListMsg,request:i.param.request,useInfo:i.param.userInfo,onHandleTips:o.handleTips,onHandleMsg:o.handleMsg},null,8,["visible","request","useInfo","onHandleTips","onHandleMsg"])]),_:1},8,["visible"]),s.createVNode(u,{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${r.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:o.handleTipsCancel,comfig:o.handleTipsComfig,visible:r.visibleMsgComfig,"onUpdate:visible":t[2]||(t[2]=h=>r.visibleMsgComfig=h)},null,8,["context","cancel","comfig","visible"]),r.labels=="\u9000\u56DE"?(s.openBlock(),s.createBlock(f,{key:0,limit:r.limit?r.limit:-1,requires:r.requires,request:i.param.request,linkUrl:i.param.linkUrl,onGetValue:o.getValues},null,8,["limit","requires","request","linkUrl","onGetValue"])):s.createCommentVNode("",!0)])}const Fa=pe(ck,[["render",gk],["__scopeId","data-v-2790b2f8"]]),DE="",yk={name:"ccTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:nt,departPerson:Tt.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("/aws/tis/createCCTask",{processInstId:this.param.processInstId,title:this.param.formData.title||this.param.formData.reason||this.param.formData.meetingTheme,parentTaskInstId:this.param.taskInstId,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(){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.uid),this.partNode[this.partObjId].push(t.name),this.entity.checkedArray.push({type:3,uid:t.uid})}),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")}}},Ak={style:{height:"100%"}};function kk(e,t,i,n,r,o){const a=s.resolveComponent("departPerson"),l=s.resolveComponent("TopTips");return s.openBlock(),s.createElementBlock("div",Ak,[i.param.visible?(s.openBlock(),s.createBlock(a,s.mergeProps({key:0,isTitle:!1,request:i.param.request},r.entity,{onCallback:o.handleCallback,onCancel:o.handleCancel}),null,16,["request","onCallback","onCancel"])):s.createCommentVNode("",!0),s.createVNode(l,{ref:"topTips",text:r.textTips,statusTips:r.statusTips,type:r.typeTips},null,8,["text","statusTips","type"])])}const Ek=pe(yk,[["render",kk]]),vE="",bk={name:"nf-button",components:{TopTips:nt},props:{loading:{type:Boolean,default:!1},buttonList:{type:Array,default:()=>[]},process:{type:Object,default:()=>({button:[],flow:[],form:{},process:{}})},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)}}},Ck={class:"process-btns"},wk=["disabled"],Tk={key:0},Bk={key:1},Nk=["disabled"],Ik={key:0},xk={key:1},Sk=["disabled"],Dk=["disabled"],vk=["disabled"],Pk=["disabled"],Mk=["disabled"],Vk=["disabled"],Ok=["disabled"],Rk=["disabled"];function Lk(e,t,i,n,r,o){return s.openBlock(),s.createElementBlock("div",Ck,[i.process.status=="todo"?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[o.getButton("wf_pass")?(s.openBlock(),s.createElementBlock("button",{key:0,type:"success",size:"default",disabled:i.loading,onClick:t[0]||(t[0]=a=>e.$emit("examine",!0,["recall","reject"].includes(i.process.processIsFinished)?"\u91CD\u65B0\u63D0\u4EA4":o.getButton("wf_pass").name))},[["recall","reject"].includes(i.process.processIsFinished)?(s.openBlock(),s.createElementBlock("span",Tk,"\u91CD\u65B0\u63D0\u4EA4")):(s.openBlock(),s.createElementBlock("span",Bk,s.toDisplayString(o.getButton("wf_pass").name),1))],8,wk)):s.createCommentVNode("",!0),o.getButton("wf_reject")?(s.openBlock(),s.createElementBlock("button",{key:1,type:"danger",size:"default",disabled:i.loading,onClick:t[1]||(t[1]=a=>e.$emit("examine",!1,(r.backNodes.length>1,o.getButton("wf_reject").name)))},[r.backNodes.length>1?(s.openBlock(),s.createElementBlock("span",Ik,s.toDisplayString(o.getButton("wf_reject").name),1)):(s.openBlock(),s.createElementBlock("span",xk,s.toDisplayString(o.getButton("wf_reject").name),1))],8,Nk)):s.createCommentVNode("",!0),s.createElementVNode("button",{size:"default",disabled:i.loading,onClick:t[2]||(t[2]=a=>e.$emit("reminders"))},t[10]||(t[10]=[s.createElementVNode("span",null,"\u50AC\u529E",-1)]),8,Sk),o.getButton("wf_transfer")?(s.openBlock(),s.createElementBlock("button",{key:2,type:"primary",size:"default",disabled:i.loading,onClick:t[3]||(t[3]=a=>e.$emit("user-select",{type:"transfer",checkType:"radio",name:o.getButton("wf_transfer").name}))},s.toDisplayString(o.getButton("wf_transfer").name),9,Dk)):s.createCommentVNode("",!0),o.getButton("wf_delegate")?(s.openBlock(),s.createElementBlock("button",{key:3,type:"warning",size:"default",disabled:i.loading,onClick:t[4]||(t[4]=a=>e.$emit("user-select",{type:"delegate",checkType:"radio",name:o.getButton("wf_delegate").name}))},s.toDisplayString(o.getButton("wf_delegate").name),9,vk)):s.createCommentVNode("",!0),o.getButton("wf_rollback")?(s.openBlock(),s.createElementBlock("button",{key:4,type:"success",size:"default",disabled:i.loading,onClick:t[5]||(t[5]=a=>e.$emit("rollback",o.getButton("wf_rollback").name))},s.toDisplayString(o.getButton("wf_rollback").name),9,Pk)):s.createCommentVNode("",!0),o.getButton("wf_terminate")?(s.openBlock(),s.createElementBlock("button",{key:5,type:"danger",size:"default",disabled:i.loading,onClick:t[6]||(t[6]=a=>e.$emit("terminate"))},s.toDisplayString(o.getButton("wf_terminate").name),9,Mk)):s.createCommentVNode("",!0),i.process.isMultiInstance&&o.getButton("wf_add_instance")?(s.openBlock(),s.createElementBlock("button",{key:6,type:"primary",size:"default",disabled:i.loading,onClick:t[7]||(t[7]=a=>e.$emit("user-select",{type:"addInstance",checkType:"checkbox",name:o.getButton("wf_add_instance").name}))},s.toDisplayString(o.getButton("wf_add_instance").name),9,Vk)):s.createCommentVNode("",!0)],64)):s.createCommentVNode("",!0),i.process.isOwner&&i.process.isReturnable&&!["recall","reject"].includes(i.process.processIsFinished)?(s.openBlock(),s.createElementBlock("button",{key:1,type:"warning",size:"default",disabled:i.loading,onClick:t[8]||(t[8]=a=>e.$emit("withdraw","\u64A4\u9500"))}," \u64A4\u9500 ",8,Ok)):s.createCommentVNode("",!0),o.getButton("wf_print")?(s.openBlock(),s.createElementBlock("button",{key:2,type:"info",size:"default",disabled:i.loading,onClick:t[9]||(t[9]=a=>e.$emit("print"))},s.toDisplayString(o.getButton("wf_print").name),9,Rk)):s.createCommentVNode("",!0)])}const Fk=at({name:"TopProcess",components:{processBtns:pe(bk,[["render",Lk],["__scopeId","data-v-f905d382"]]),TopTab:Lm,TopPopup:Ke,TopTips:nt,TopSumbitPopup:Ma},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},isAdditional:{require:!1,default:!1,type:Boolean},isView:{default:!1,type:Boolean},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{buttonList:[],submitLoading:!1,nextTaskNode:{},deptId:"",absoluteTaskId:"",comment:"",processXml:"",approvalData:[],processStatus:{},processDefList:{},processBusiness:{},getFirstProcessNode:{},taskNode:[],taskNodeList:[],taskNodeIds:[],taskState:NaN,taskCurrent:0,taskObj:{},taskId:"",taskNodeShow:!1,actionShow:!1,titleText:"",btnStyle:"",processIntId:"",trackUrl:"",taskCommentList:[],operationCom:null,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.processIntId=this.processInstId||this.formData.processId||this.formData.processInstId,e&&(this.request.get("/bladex/blade-workflow/tis/getTaskModelDetail",{params:{processInstId:this.processInstId}}).then(i=>{var n;if(i.code==200){this.ProcessInsObj={...this.ProcessInsObj,...i.data},this.trackList=(((n=i.data)==null?void 0:n.flow)||[]).filter(l=>["userTask","candidate"].includes(l.historyActivityType));const r=this.ProcessInsObj.button.find(l=>l.buttonKey=="wf_print");this.buttonList=this.ProcessInsObj.process.status=="todo"?this.ProcessInsObj.button.slice(0,2):r?[r]:[];const o=((this.ProcessInsObj.process||{}).variables||{}).deptId;this.deptId=o;const a=(this.ProcessInsObj.process||{}).taskId;this.absoluteTaskId=a,this.approvalData=(i.data||{}).flow||[],this.processXml=((i.data||{}).process||{}).xml||""}}),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.ProcessInsObj.button&&this.ProcessInsObj.button.length>3?this.ProcessInsObj.process.status=="todo"?this.ProcessInsObj.button.filter(e=>{const t=this.buttonList.find(i=>i.buttonKey==e.buttonKey);return!t&&e.buttonKey=="wf_add_instance"?!!this.ProcessInsObj.process.isMultiInstance:!t}):[]:[]},operBtn(){var i,n;let e=[],t=this.taskNode&&this.taskNode[0]&&this.taskNode[0].taskState!=4;if(this.needResubmit&&this.userIdData&&this.processStatus.createUid==this.userIdData&&(this.formData.currentState==="\u5DF2\u64A4\u9500"||this.formData.currentState==="\u5DF2\u9A73\u56DE"||this.processStatus.status==="\u5DF2\u64A4\u9500"||this.processStatus.status==="\u5DF2\u9A73\u56DE"||this.processStatus.bizStatusName==="\u5DF2\u64A4\u9500"||this.processStatus.bizStatusName==="\u5DF2\u9A73\u56DE")){let r={};r.name="\u91CD\u65B0\u63D0\u4EA4",r.btnProps={type:"default"},e.push(r),r.click=this.handleTest}if(t&&!this.isView&&this.taskObj.completeButtonLabel){let r={};r.name=this.taskObj.completeButtonLabel,r.btnProps={type:"primary"},e.push(r),r.click=o=>{this.handleActionClose(),this.showOperation(Zn,o,this.request,this.taskObj.completeButtonAnnex)}}if(t&&!this.isView&&this.processStatus.currUserName){let r={};r.name="\u62D2\u7EDD",r.btnProps={type:"danger"},e.push(r),r.click=o=>{this.handleActionClose(),this.showOperation(La,o,this.request,this.taskObj.otherButtonAnnexList)}}if(this.selfBtnList&&this.selfBtnList.length&&this.selfBtnList.map(r=>{let o={};o.name=r.name,o.btnProps={type:r.type},e.push(o),o.click=r.click}),t&&!this.isView&&this.taskObj.buttons&&this.taskObj.buttons.length&&this.taskObj.buttons.forEach(r=>{if(r.label==="\u9000\u56DE"){let o={};o.name=r.label,o.btnProps={type:"danger"},e.push(o),o.click=a=>{this.handleActionClose(),this.showOperation(Fa,a,this.request,this.taskObj.otherButtonAnnexList)}}}),t&&!this.isView&&this.taskObj.ccTaskButtonLabel){let r={};r.name=this.taskObj.ccTaskButtonLabel,r.btnProps={type:"default"},r.click=async o=>{this.handleActionClose(),!(this.ccTaskFunction&&!await this.ccTaskFunction())&&(this.showOperation(Ek,o,this.request,this.taskObj.ccTaskButtonAnnex,"\u6284\u9001"),this.cctaskTopPopupTitle=o)},e.push(r)}if(t&&!this.isView&&this.taskObj.delegateTaskButtonLabel){let r={};r.name=this.taskObj.delegateTaskButtonLabel,r.btnProps={type:"default"},r.click=o=>{this.handleActionClose(),this.showOperation(Oa,o,this.request,this.taskObj.delegateTaskButtonAnnex)},e.push(r)}if(t&&!this.isView&&this.taskObj.counterSignLabel){let r={};r.name=this.taskObj.counterSignLabel,r.btnProps={type:"primary"},r.click=o=>{this.handleActionClose(),this.showOperation(Va,o,this.request,this.taskObj.counterSignButtonAnnex)},e.push(r)}if(this.processIntId&&this.processStatus.createUid==this.userIdData&&((i=this.taskNode[0])==null?void 0:i.taskState)!=2&&this.processStatus.status!=="\u5DF2\u9A73\u56DE"&&this.processStatus.status!=="\u5DF2\u64A4\u9500"&&this.processStatus.status!=="\u5DF2\u5B8C\u6210"){let r={};r.name="\u50AC\u529E",r.btnProps={type:"default"},r.click=o=>{this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText=o,this.popupContext=`\u786E\u5B9A${o}\u5417?`,this.handleTipsType="\u50AC\u529E"},e.push(r)}if(this.processIntId&&this.processStatus.createUid==this.userIdData&&((n=this.taskNode[0])==null?void 0:n.taskState)!=2&&this.processStatus.status!=="\u5DF2\u9A73\u56DE"&&this.processStatus.status!=="\u5DF2\u64A4\u9500"&&this.processStatus.status!=="\u5DF2\u5B8C\u6210"){let r={};r.name="\u64A4\u9500",r.btnProps={type:"default"},r.click=o=>{this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText=o,this.popupContext=`\u786E\u5B9A${o}\u5417?`,this.handleTipsType="\u64A4\u9500"},e.push(r)}return 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:{handleActionBtn(e){switch(e.buttonKey){case"wf_pass":this.handleExamine(!0,["recall","reject"].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}this.handleActionClose()},handleDraft(){this.submitLoading=!0},handleExamine(e,t){e?this.handlePass(t):this.handleCancel(t),this.submitLoading=!0},async handlePass(e){this.deptId&&await this.getNextNode(this.deptId),this.before?this.before().then(()=>{this.showOperation(Zn,e)}):this.showOperation(Zn,e)},handleCancel(e){this.showOperation(La,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(Oa,e)},async handleAddInstance(e){this.deptId&&await this.getNextNode(this.deptId),this.showOperation(Va,e)},handlePrint(){console.log("handlePrint")},handleRollbackTask(e){console.log("handleRollbackTask"),this.showOperation(Fa,e)},handleTerminateProcess(){console.log("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"},async getNextNode(e){let t;try{t=await this.request.get("/bladex/blade-workflow/tis/simulation",{params:{taskId:this.absoluteTaskId,processInstId:this.processId}})}catch(n){console.error(n),t={}}const i=t.data||{};if(i.id&&!i.setPersonnel){const n=Da(i);let r;try{r=await this.getNodeUser({deptId:e,intersection:n.intersection?1:0,userIds:n.userIds,postIds:n.postIds,deptIds:n.deptIds})}catch(o){console.log(o,"error")}r.code==200&&(i.userList=r.data)}this.nextTaskNode=i},async getNodeUser({deptId:e,intersection:t,userIds:i,postIds:n,deptIds:r}){return await this.request.post("/auth/post/getTaskAuditor",{deptId:e,intersection:t,userIds:i,postIds:n,deptIds:r})},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.uid)},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 getOutgoingProcessNode(e,t){let i=await this.request.get("/aws/repository/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 r=i.data[n];if(r.type!="UserTaskModel"&&r.type!="EndEventModel"){let o=await this.getOutgoingProcessNode(e,r.id);o&&o.length&&(await o.map((a,l)=>{a.nodeName=a.incomingConditionItemList&&a.incomingConditionItemList.length?a.incomingConditionItemList[0].compareValue:""}),r.childNode=o)}}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("/aws/pis/getProcessStatus",{params:{processInstId:this.processInstId,taskId:this.taskNode.length?this.taskNode[0].taskId:""}}).then(e=>{e.code==200&&(this.processStatus=e.data,this.$emit("processStatus",this.processStatus,this.taskNode),this.processStatus.userNodeGroup&&this.processStatus.userNodeGroup[this.taskNode[0].nodeName]&&this.processStatus.userNodeGroup[this.taskNode[0].nodeName].length>1?this.canCheck=!1:this.canCheck=!0),this.handleGetHeight()}).catch(e=>{this.handleGetHeight()})},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,r){this.beforeFunction&&(this.operationParam.beforeFunction=this.beforeFunction),this.operationParam.request=this.request,this.annexlabel=n||"fasdfsafdsa",this.titleText=t,this.operationCom=e,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.actionName=t,this.operationParam.formData=this.formData,this.operationParam.ProcessInsObj=this.ProcessInsObj,this.operationParam.userInfo=this.user,this.operationParam.nextNodeData=(this.nextTaskNode||{}).id?[this.nextTaskNode]:[],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,this.TopPopup1=!0},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}).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()}}}),ME="",Qk={class:"process-warp"},Uk={key:0,class:"process-main",id:"process-header",ref:"processheader"},jk={class:"process-ml-item border"},Gk={class:"process-mli-value"},_k={class:"process-ml-item border"},qk={class:"process-mli-value"},Jk={key:0,class:"process-ml-item"},Hk={class:"process-mli-value",style:{width:"50%","text-align":"right"}},Kk={class:"process-mliv-jd"},zk=["slot"],Wk={slot:"default",style:{height:"100%"}},Yk=["slot"],Zk={key:0,class:"footBtnRow"},Xk={slot:"completeSlot"},$k=["onClick"],eE=["onClick"],tE={slot:"completeSlot"};function iE(e,t,i,n,r,o){const a=s.resolveComponent("TopTab"),l=s.resolveComponent("processBtns"),d=s.resolveComponent("TopPopup"),u=s.resolveComponent("TopTips"),f=s.resolveComponent("TopSumbitPopup");return s.openBlock(),s.createElementBlock("div",null,[s.createElementVNode("div",Qk,[(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)&&!e.hideHeader?(s.openBlock(),s.createElementBlock("div",Uk,[s.createElementVNode("div",jk,[t[6]||(t[6]=s.createElementVNode("div",{class:"process-mli-name"},"\u6D41\u7A0B\u72B6\u6001",-1)),s.createElementVNode("div",Gk,[e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status?(s.openBlock(),s.createElementBlock("div",{key:0,class:"process-mliv-dd",style:s.normalizeStyle({background:e.getColor(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)})},s.toDisplayString(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status),5)):s.createCommentVNode("",!0)])]),s.createElementVNode("div",_k,[t[7]||(t[7]=s.createElementVNode("div",{class:"process-mli-name"},"\u6D41\u7A0B\u53D1\u8D77\u65F6\u95F4",-1)),s.createElementVNode("div",qk,[s.createElementVNode("span",null,s.toDisplayString(e.processStatus.createTime),1)])]),e.processStatus.allUserNames&&e.processStatus.allUserNames.length?(s.openBlock(),s.createElementBlock("div",Jk,[t[8]||(t[8]=s.createElementVNode("div",{class:"process-mli-name"},"\u5BA1\u6279\u8282\u70B9",-1)),s.createElementVNode("div",Hk,[s.createElementVNode("span",Kk,s.toDisplayString(`${e.processStatus.taskState==4?e.processStatus.currUserName:e.processStatus.allUserNames.toString()}\u5BA1\u6279\u4E2D`),1)])])):s.createCommentVNode("",!0)],512)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"process-card",style:s.normalizeStyle({height:e.processCardHeight})},[s.createVNode(a,{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},{default:s.withCtx(()=>[e.selfTapList&&e.selfTapList.length?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(e.selfTapList,(h,g)=>(s.openBlock(),s.createElementBlock("div",{key:g,slot:h.slot,style:{height:"100%"}},[s.renderSlot(e.$slots,h.slot,{},void 0,!0)],8,zk))),128)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[s.createElementVNode("div",Wk,[s.renderSlot(e.$slots,"default",{},void 0,!0)]),(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(e.tapList,(h,g)=>(s.openBlock(),s.createElementBlock("div",{style:{height:"100%"},key:g,slot:h.slot},[s.renderSlot(e.$slots,h.slot,{},void 0,!0)],8,Yk))),128))],64))]),_:3},8,["ProcessInsObj","processXml","approvalData","tapList","selfTapList","processIntId","track","taskComment","trackList"])],4),e.isView?s.createCommentVNode("",!0):(s.openBlock(),s.createElementBlock("div",{key:1,class:"process-btn",id:"process-footer",style:s.normalizeStyle({bottom:e.processBtn})},[e.isAdditional?(s.openBlock(),s.createElementBlock("div",Zk,[s.renderSlot(e.$slots,"btn",{data:e.processStatus},void 0,!0)])):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[e.isDocument&&(e.formData.currentState=="\u7F16\u6587\u53F7\u5957\u7EA2"||e.formData.currentState=="\u76D6\u7AE0")?(s.openBlock(),s.createElementBlock("div",{key:0,class:"top-button",style:s.normalizeStyle(e.getBtnStyle("default"))}," \u8BF7\u53BBPC\u7AEF\u5904\u7406\u8BE5\u6D41\u7A0B ",4)):(s.openBlock(),s.createElementBlock(s.Fragment,{key:1},[e.formData.currentState!="\u5DF2\u5B8C\u6210"||e.processStatus.status!="\u5DF2\u5B8C\u6210"||e.processStatus.bizStatusName!="\u5DF2\u5B8C\u6210"?(s.openBlock(),s.createBlock(l,{key:0,request:e.request,loading:e.submitLoading,"button-list":e.buttonList,process:e.ProcessInsObj.process,comment:e.comment,onDraft:t[0]||(t[0]=h=>e.handleDraft({taskId:e.process.taskId,variables:e.form})),onExamine:e.handleExamine,onUserSelect:e.handleUserSelect,onPrint:e.handlePrint,onRollback:e.handleRollbackTask,onTerminate:e.handleTerminateProcess,onWithdraw:e.handleWithdrawTask,onReminders:e.handleReminders},null,8,["request","loading","button-list","process","comment","onExamine","onUserSelect","onPrint","onRollback","onTerminate","onWithdraw","onReminders"])):s.createCommentVNode("",!0),e.ProcessInsObj.button&&e.ProcessInsObj.button.length>3&&e.actionBtn&&e.actionBtn.length?(s.openBlock(),s.createElementBlock("div",{key:1,class:"elips",onClick:t[1]||(t[1]=(...h)=>e.handleActionOpen&&e.handleActionOpen(...h))},t[9]||(t[9]=[s.createElementVNode("div",{class:"circle"},null,-1),s.createElementVNode("div",{class:"circle"},null,-1),s.createElementVNode("div",{class:"circle"},null,-1)]))):s.createCommentVNode("",!0)],64))],64))],4))]),s.createVNode(d,{ref:"TopPopup1",cancel:e.handleCancelPopup,comfig:e.handleComfig,titleText:e.titleText,visible:e.TopPopup1,"onUpdate:visible":t[2]||(t[2]=h=>e.TopPopup1=h),className:"toppopup-component"},{default:s.withCtx(()=>[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.operationCom),{ref:"operationRef",param:e.operationParam,onHandleClosePopup1:e.handleClosePopup1},{default:s.withCtx(()=>[s.createElementVNode("div",Xk,[s.renderSlot(e.$slots,"completeSlot",{},void 0,!0)])]),_:3},40,["param","onHandleClosePopup1"]))]),_:3},8,["cancel","comfig","titleText","visible"]),s.createVNode(d,{ref:"TopPopup2",titleText:e.titleText,isTips:!0,context:e.popupContext,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig},null,8,["titleText","context","cancel","comfig"]),s.createVNode(u,{ref:"topTips",text:e.textTips,statusTips:e.statusTips,type:e.typeTips},null,8,["text","statusTips","type"]),e.actionBtn&&e.actionBtn.length||e.taskNodeList&&e.taskNodeList.length?(s.openBlock(),s.createElementBlock("div",{key:0,class:"top-elips",style:s.normalizeStyle(e.actionShow?"transform: translateY(0)":"transform: translateY(100%)")},[e.taskNodeShow?(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:0},s.renderList(e.taskNodeList,h=>(s.openBlock(),s.createElementBlock("div",{class:"top-elips-items",onClick:g=>e.handleGet(h),key:h.taskId},s.toDisplayString(h.name),9,$k))),128)):(s.openBlock(!0),s.createElementBlock(s.Fragment,{key:1},s.renderList(e.actionBtn,h=>(s.openBlock(),s.createElementBlock("div",{class:"top-elips-items",onClick:g=>e.handleActionBtn(h),key:h.name},s.toDisplayString(h.name),9,eE))),128)),s.createElementVNode("div",{class:"top-elips-items top-elips-items--cancel",onClick:t[3]||(t[3]=(...h)=>e.handleActionClose&&e.handleActionClose(...h))}," \u53D6\u6D88 ")],4)):s.createCommentVNode("",!0),s.createElementVNode("div",{class:"top-elips-mask",onClick:t[4]||(t[4]=(...h)=>e.handleActionClose&&e.handleActionClose(...h)),style:s.normalizeStyle(e.actionShow?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;")},null,4),s.createVNode(f,s.mergeProps({visible:e.visibleSong,ref:"actionPop",request:e.request,appId:e.processStatus.appId,id:e.formData.businessKey,resubmit:!0},e.restartDataS,{onSuccessFn:e.endFunction,selfList:e.selfList,onChange:e.handleTestsss,isCheckType:e.isCheckType,isOrgType:e.isOrgType,isCodeType:e.isCodeType}),null,16,["visible","request","appId","id","onSuccessFn","selfList","onChange","isCheckType","isOrgType","isCodeType"]),s.createVNode(d,{ref:"cctaskTopPopup",titleText:e.cctaskTopPopupTitle,visible:e.cctaskTopPopup,"onUpdate:visible":t[5]||(t[5]=h=>e.cctaskTopPopup=h),isDrawer:!0},{default:s.withCtx(()=>[(s.openBlock(),s.createBlock(s.resolveDynamicComponent(e.operationCom),{ref:"cctaskOperationRef",param:e.operationParam,onHandleClosecctaskTopPopup:e.handleClosecctaskTopPopup},{default:s.withCtx(()=>[s.createElementVNode("div",tE,[s.renderSlot(e.$slots,"completeSlot",{},void 0,!0)])]),_:3},40,["param","onHandleClosecctaskTopPopup"]))]),_:3},8,["titleText","visible"])])}const sE=pe(Fk,[["render",iE],["__scopeId","data-v-27d7b28c"]]);qe.TopProcess=sE,qe.TopSumbitPopup=Ma,qe.ViewAttchList=zr,qe.attchViews=wi,Object.defineProperties(qe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});