ddy-process-h5 1.0.1-rc.3.3 → 1.0.1-rc.3.35

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.
@@ -1,26 +1,26 @@
1
- (function(at,Ji){typeof exports=="object"&&typeof module<"u"?Ji(exports,require("dsbridge"),require("checked-pick-app")):typeof define=="function"&&define.amd?define(["exports","dsbridge","checked-pick-app"],Ji):(at=typeof globalThis<"u"?globalThis:at||self,Ji(at["ddy-process-h5"]={},at.dsbridge,at["checked-pick-app"]))})(this,function(at,Ji,Mt){"use strict";const ua=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(Ji);/*!
1
+ (function(ot,Hi){typeof exports=="object"&&typeof module<"u"?Hi(exports,require("dsbridge"),require("checked-pick-app")):typeof define=="function"&&define.amd?define(["exports","dsbridge","checked-pick-app"],Hi):(ot=typeof globalThis<"u"?globalThis:ot||self,Hi(ot["ddy-process-h5"]={},ot.dsbridge,ot["checked-pick-app"]))})(this,function(ot,Hi,Pt){"use strict";const pa=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(Hi);/*!
2
2
  * Vue.js v2.7.14
3
3
  * (c) 2014-2022 Evan You
4
4
  * Released under the MIT License.
5
- */var Le=Object.freeze({}),ne=Array.isArray;function $(e){return e==null}function b(e){return e!=null}function Ae(e){return e===!0}function Ou(e){return e===!1}function Ct(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function ge(e){return typeof e=="function"}function _e(e){return e!==null&&typeof e=="object"}var ws=Object.prototype.toString;function Hi(e){return ws.call(e).slice(8,-1)}function Fe(e){return ws.call(e)==="[object Object]"}function pa(e){return ws.call(e)==="[object RegExp]"}function da(e){var i=parseFloat(String(e));return i>=0&&Math.floor(i)===i&&isFinite(e)}function Cn(e){return b(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function Bu(e){return e==null?"":Array.isArray(e)||Fe(e)&&e.toString===ws?JSON.stringify(e,null,2):String(e)}function Ki(e){var i=parseFloat(e);return isNaN(i)?e:i}function He(e,i){for(var t=Object.create(null),s=e.split(","),n=0;n<s.length;n++)t[s[n]]=!0;return i?function(r){return t[r.toLowerCase()]}:function(r){return t[r]}}var Ru=He("slot,component",!0),ha=He("key,ref,slot,slot-scope,is");function Ot(e,i){var t=e.length;if(t){if(i===e[t-1]){e.length=t-1;return}var s=e.indexOf(i);if(s>-1)return e.splice(s,1)}}var Lu=Object.prototype.hasOwnProperty;function Pe(e,i){return Lu.call(e,i)}function Zt(e){var i=Object.create(null);return function(s){var n=i[s];return n||(i[s]=e(s))}}var Fu=/-(\w)/g,Xt=Zt(function(e){return e.replace(Fu,function(i,t){return t?t.toUpperCase():""})}),fa=Zt(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),ju=/\B([A-Z])/g,$t=Zt(function(e){return e.replace(ju,"-$1").toLowerCase()});function Vu(e,i){function t(s){var n=arguments.length;return n?n>1?e.apply(i,arguments):e.call(i,s):e.call(i)}return t._length=e.length,t}function Qu(e,i){return e.bind(i)}var ma=Function.prototype.bind?Qu:Vu;function wn(e,i){i=i||0;for(var t=e.length-i,s=new Array(t);t--;)s[t]=e[t+i];return s}function fe(e,i){for(var t in i)e[t]=i[t];return e}function ga(e){for(var i={},t=0;t<e.length;t++)e[t]&&fe(i,e[t]);return i}function Te(e,i,t){}var xs=function(e,i,t){return!1},ya=function(e){return e};function ei(e,i){if(e===i)return!0;var t=_e(e),s=_e(i);if(t&&s)try{var n=Array.isArray(e),r=Array.isArray(i);if(n&&r)return e.length===i.length&&e.every(function(l,p){return ei(l,i[p])});if(e instanceof Date&&i instanceof Date)return e.getTime()===i.getTime();if(!n&&!r){var a=Object.keys(e),o=Object.keys(i);return a.length===o.length&&a.every(function(l){return ei(e[l],i[l])})}else return!1}catch{return!1}else return!t&&!s?String(e)===String(i):!1}function va(e,i){for(var t=0;t<e.length;t++)if(ei(e[t],i))return t;return-1}function Es(e){var i=!1;return function(){i||(i=!0,e.apply(this,arguments))}}function Uu(e,i){return e===i?e===0&&1/e!==1/i:e===e||i===i}var Aa="data-server-rendered",Ts=["component","directive","filter"],ba=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],pe={optionMergeStrategies:Object.create(null),silent:!1,productionTip:process.env.NODE_ENV!=="production",devtools:process.env.NODE_ENV!=="production",performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:xs,isReservedAttr:xs,isUnknownElement:xs,getTagNamespace:Te,parsePlatformTagName:ya,mustUseProp:xs,async:!0,_lifecycleHooks:ba},Ca=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function xn(e){var i=(e+"").charCodeAt(0);return i===36||i===95}function Bt(e,i,t,s){Object.defineProperty(e,i,{value:t,enumerable:!!s,writable:!0,configurable:!0})}var Gu=new RegExp("[^".concat(Ca.source,".$_\\d]"));function qu(e){if(!Gu.test(e)){var i=e.split(".");return function(t){for(var s=0;s<i.length;s++){if(!t)return;t=t[i[s]]}return t}}}var Ju="__proto__"in{},Ue=typeof window<"u",Be=Ue&&window.navigator.userAgent.toLowerCase(),Ci=Be&&/msie|trident/.test(Be),wi=Be&&Be.indexOf("msie 9.0")>0,En=Be&&Be.indexOf("edge/")>0;Be&&Be.indexOf("android")>0;var Hu=Be&&/iphone|ipad|ipod|ios/.test(Be);Be&&/chrome\/\d+/.test(Be),Be&&/phantomjs/.test(Be);var wa=Be&&Be.match(/firefox\/(\d+)/),Tn={}.watch,xa=!1;if(Ue)try{var Ea={};Object.defineProperty(Ea,"passive",{get:function(){xa=!0}}),window.addEventListener("test-passive",null,Ea)}catch{}var Is,Wi=function(){return Is===void 0&&(!Ue&&typeof global<"u"?Is=global.process&&global.process.env.VUE_ENV==="server":Is=!1),Is},ks=Ue&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ti(e){return typeof e=="function"&&/native code/.test(e.toString())}var zi=typeof Symbol<"u"&&ti(Symbol)&&typeof Reflect<"u"&&ti(Reflect.ownKeys),Yi;typeof Set<"u"&&ti(Set)?Yi=Set:Yi=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(i){return this.set[i]===!0},e.prototype.add=function(i){this.set[i]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var xi=null;function Rt(e){e===void 0&&(e=null),e||xi&&xi._scope.off(),xi=e,e&&e._scope.on()}var Ge=function(){function e(i,t,s,n,r,a,o,l){this.tag=i,this.data=t,this.children=s,this.text=n,this.elm=r,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),ii=function(e){e===void 0&&(e="");var i=new Ge;return i.text=e,i.isComment=!0,i};function Ei(e){return new Ge(void 0,void 0,void 0,String(e))}function In(e){var i=new Ge(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return i.ns=e.ns,i.isStatic=e.isStatic,i.key=e.key,i.isComment=e.isComment,i.fnContext=e.fnContext,i.fnOptions=e.fnOptions,i.fnScopeId=e.fnScopeId,i.asyncMeta=e.asyncMeta,i.isCloned=!0,i}var Ns=function(){return Ns=Object.assign||function(i){for(var t,s=1,n=arguments.length;s<n;s++){t=arguments[s];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(i[r]=t[r])}return i},Ns.apply(this,arguments)},Ku=0,Ss=[],Wu=function(){for(var e=0;e<Ss.length;e++){var i=Ss[e];i.subs=i.subs.filter(function(t){return t}),i._pending=!1}Ss.length=0},ot=function(){function e(){this._pending=!1,this.id=Ku++,this.subs=[]}return e.prototype.addSub=function(i){this.subs.push(i)},e.prototype.removeSub=function(i){this.subs[this.subs.indexOf(i)]=null,this._pending||(this._pending=!0,Ss.push(this))},e.prototype.depend=function(i){e.target&&(e.target.addDep(this),process.env.NODE_ENV!=="production"&&i&&e.target.onTrack&&e.target.onTrack(Ns({effect:e.target},i)))},e.prototype.notify=function(i){var t=this.subs.filter(function(a){return a});process.env.NODE_ENV!=="production"&&!pe.async&&t.sort(function(a,o){return a.id-o.id});for(var s=0,n=t.length;s<n;s++){var r=t[s];process.env.NODE_ENV!=="production"&&i&&r.onTrigger&&r.onTrigger(Ns({effect:t[s]},i)),r.update()}},e}();ot.target=null;var _s=[];function Ti(e){_s.push(e),ot.target=e}function Ii(){_s.pop(),ot.target=_s[_s.length-1]}var Ta=Array.prototype,Ps=Object.create(Ta),zu=["push","pop","shift","unshift","splice","sort","reverse"];zu.forEach(function(e){var i=Ta[e];Bt(Ps,e,function(){for(var s=[],n=0;n<arguments.length;n++)s[n]=arguments[n];var r=i.apply(this,s),a=this.__ob__,o;switch(e){case"push":case"unshift":o=s;break;case"splice":o=s.slice(2);break}return o&&a.observeArray(o),process.env.NODE_ENV!=="production"?a.dep.notify({type:"array mutation",target:this,key:e}):a.dep.notify(),r})});var Ia=Object.getOwnPropertyNames(Ps),ka={},kn=!0;function Lt(e){kn=e}var Yu={notify:Te,depend:Te,addSub:Te,removeSub:Te},Na=function(){function e(i,t,s){if(t===void 0&&(t=!1),s===void 0&&(s=!1),this.value=i,this.shallow=t,this.mock=s,this.dep=s?Yu:new ot,this.vmCount=0,Bt(i,"__ob__",this),ne(i)){if(!s)if(Ju)i.__proto__=Ps;else for(var n=0,r=Ia.length;n<r;n++){var a=Ia[n];Bt(i,a,Ps[a])}t||this.observeArray(i)}else for(var o=Object.keys(i),n=0;n<o.length;n++){var a=o[n];lt(i,a,ka,void 0,t,s)}}return e.prototype.observeArray=function(i){for(var t=0,s=i.length;t<s;t++)wt(i[t],!1,this.mock)},e}();function wt(e,i,t){if(e&&Pe(e,"__ob__")&&e.__ob__ instanceof Na)return e.__ob__;if(kn&&(t||!Wi())&&(ne(e)||Fe(e))&&Object.isExtensible(e)&&!e.__v_skip&&!ht(e)&&!(e instanceof Ge))return new Na(e,i,t)}function lt(e,i,t,s,n,r){var a=new ot,o=Object.getOwnPropertyDescriptor(e,i);if(!(o&&o.configurable===!1)){var l=o&&o.get,p=o&&o.set;(!l||p)&&(t===ka||arguments.length===2)&&(t=e[i]);var h=!n&&wt(t,!1,r);return Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:function(){var C=l?l.call(e):t;return ot.target&&(process.env.NODE_ENV!=="production"?a.depend({target:e,type:"get",key:i}):a.depend(),h&&(h.dep.depend(),ne(C)&&_a(C))),ht(C)&&!n?C.value:C},set:function(C){var k=l?l.call(e):t;if(!!Uu(k,C)){if(process.env.NODE_ENV!=="production"&&s&&s(),p)p.call(e,C);else{if(l)return;if(!n&&ht(k)&&!ht(C)){k.value=C;return}else t=C}h=!n&&wt(C,!1,r),process.env.NODE_ENV!=="production"?a.notify({type:"set",target:e,key:i,newValue:C,oldValue:k}):a.notify()}}}),a}}function Nn(e,i,t){if(process.env.NODE_ENV!=="production"&&($(e)||Ct(e))&&B("Cannot set reactive property on undefined, null, or primitive value: ".concat(e)),Sn(e)){process.env.NODE_ENV!=="production"&&B('Set operation on key "'.concat(i,'" failed: target is readonly.'));return}var s=e.__ob__;return ne(e)&&da(i)?(e.length=Math.max(e.length,i),e.splice(i,1,t),s&&!s.shallow&&s.mock&&wt(t,!1,!0),t):i in e&&!(i in Object.prototype)?(e[i]=t,t):e._isVue||s&&s.vmCount?(process.env.NODE_ENV!=="production"&&B("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),t):s?(lt(s.value,i,t,void 0,s.shallow,s.mock),process.env.NODE_ENV!=="production"?s.dep.notify({type:"add",target:e,key:i,newValue:t,oldValue:void 0}):s.dep.notify(),t):(e[i]=t,t)}function Sa(e,i){if(process.env.NODE_ENV!=="production"&&($(e)||Ct(e))&&B("Cannot delete reactive property on undefined, null, or primitive value: ".concat(e)),ne(e)&&da(i)){e.splice(i,1);return}var t=e.__ob__;if(e._isVue||t&&t.vmCount){process.env.NODE_ENV!=="production"&&B("Avoid deleting properties on a Vue instance or its root $data - just set it to null.");return}if(Sn(e)){process.env.NODE_ENV!=="production"&&B('Delete operation on key "'.concat(i,'" failed: target is readonly.'));return}!Pe(e,i)||(delete e[i],t&&(process.env.NODE_ENV!=="production"?t.dep.notify({type:"delete",target:e,key:i}):t.dep.notify()))}function _a(e){for(var i=void 0,t=0,s=e.length;t<s;t++)i=e[t],i&&i.__ob__&&i.__ob__.dep.depend(),ne(i)&&_a(i)}function Pa(e){return Zu(e,!0),Bt(e,"__v_isShallow",!0),e}function Zu(e,i){if(!Sn(e)){if(process.env.NODE_ENV!=="production"){ne(e)&&B("Avoid using Array as root value for ".concat(i?"shallowReactive()":"reactive()"," as it cannot be tracked in watch() or watchEffect(). Use ").concat(i?"shallowRef()":"ref()"," instead. This is a Vue-2-only limitation."));var t=e&&e.__ob__;t&&t.shallow!==i&&B("Target is already a ".concat(t.shallow?"":"non-","shallow reactive object, and cannot be converted to ").concat(i?"":"non-","shallow."))}var s=wt(e,i,Wi());process.env.NODE_ENV!=="production"&&!s&&((e==null||Ct(e))&&B("value cannot be made reactive: ".concat(String(e))),Xu(e)&&B("Vue 2 does not support reactive collection types such as Map or Set."))}}function Sn(e){return!!(e&&e.__v_isReadonly)}function Xu(e){var i=Hi(e);return i==="Map"||i==="WeakMap"||i==="Set"||i==="WeakSet"}function ht(e){return!!(e&&e.__v_isRef===!0)}function _n(e,i,t){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var s=i[t];if(ht(s))return s.value;var n=s&&s.__ob__;return n&&n.dep.depend(),s},set:function(s){var n=i[t];ht(n)&&!ht(s)?n.value=s:i[t]=s}})}var Ke,$u=function(){function e(i){i===void 0&&(i=!1),this.detached=i,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ke,!i&&Ke&&(this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}return e.prototype.run=function(i){if(this.active){var t=Ke;try{return Ke=this,i()}finally{Ke=t}}else process.env.NODE_ENV!=="production"&&B("cannot run an inactive effect scope.")},e.prototype.on=function(){Ke=this},e.prototype.off=function(){Ke=this.parent},e.prototype.stop=function(i){if(this.active){var t=void 0,s=void 0;for(t=0,s=this.effects.length;t<s;t++)this.effects[t].teardown();for(t=0,s=this.cleanups.length;t<s;t++)this.cleanups[t]();if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!i){var n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0,this.active=!1}},e}();function ep(e,i){i===void 0&&(i=Ke),i&&i.active&&i.effects.push(e)}function tp(e){var i=e._provided,t=e.$parent&&e.$parent._provided;return t===i?e._provided=Object.create(t):i}var Da=Zt(function(e){var i=e.charAt(0)==="&";e=i?e.slice(1):e;var t=e.charAt(0)==="~";e=t?e.slice(1):e;var s=e.charAt(0)==="!";return e=s?e.slice(1):e,{name:e,once:t,capture:s,passive:i}});function Pn(e,i){function t(){var s=t.fns;if(ne(s))for(var n=s.slice(),r=0;r<n.length;r++)Vt(n[r],null,arguments,i,"v-on handler");else return Vt(s,null,arguments,i,"v-on handler")}return t.fns=e,t}function Ma(e,i,t,s,n,r){var a,o,l,p;for(a in e)o=e[a],l=i[a],p=Da(a),$(o)?process.env.NODE_ENV!=="production"&&B('Invalid handler for event "'.concat(p.name,'": got ')+String(o),r):$(l)?($(o.fns)&&(o=e[a]=Pn(o,r)),Ae(p.once)&&(o=e[a]=n(p.name,o,p.capture)),t(p.name,o,p.capture,p.passive,p.params)):o!==l&&(l.fns=o,e[a]=l);for(a in i)$(e[a])&&(p=Da(a),s(p.name,i[a],p.capture))}function Ft(e,i,t){e instanceof Ge&&(e=e.data.hook||(e.data.hook={}));var s,n=e[i];function r(){t.apply(this,arguments),Ot(s.fns,r)}$(n)?s=Pn([r]):b(n.fns)&&Ae(n.merged)?(s=n,s.fns.push(r)):s=Pn([n,r]),s.merged=!0,e[i]=s}function ip(e,i,t){var s=i.options.props;if(!$(s)){var n={},r=e.attrs,a=e.props;if(b(r)||b(a))for(var o in s){var l=$t(o);if(process.env.NODE_ENV!=="production"){var p=o.toLowerCase();o!==p&&r&&Pe(r,p)&&zn('Prop "'.concat(p,'" is passed to component ')+"".concat(ni(t||i),", but the declared prop name is")+' "'.concat(o,'". ')+"Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM "+'templates. You should probably use "'.concat(l,'" instead of "').concat(o,'".'))}Oa(n,a,o,l,!0)||Oa(n,r,o,l,!1)}return n}}function Oa(e,i,t,s,n){if(b(i)){if(Pe(i,t))return e[t]=i[t],n||delete i[t],!0;if(Pe(i,s))return e[t]=i[s],n||delete i[s],!0}return!1}function sp(e){for(var i=0;i<e.length;i++)if(ne(e[i]))return Array.prototype.concat.apply([],e);return e}function Dn(e){return Ct(e)?[Ei(e)]:ne(e)?Ba(e):void 0}function Zi(e){return b(e)&&b(e.text)&&Ou(e.isComment)}function Ba(e,i){var t=[],s,n,r,a;for(s=0;s<e.length;s++)n=e[s],!($(n)||typeof n=="boolean")&&(r=t.length-1,a=t[r],ne(n)?n.length>0&&(n=Ba(n,"".concat(i||"","_").concat(s)),Zi(n[0])&&Zi(a)&&(t[r]=Ei(a.text+n[0].text),n.shift()),t.push.apply(t,n)):Ct(n)?Zi(a)?t[r]=Ei(a.text+n):n!==""&&t.push(Ei(n)):Zi(n)&&Zi(a)?t[r]=Ei(a.text+n.text):(Ae(e._isVList)&&b(n.tag)&&$(n.key)&&b(i)&&(n.key="__vlist".concat(i,"_").concat(s,"__")),t.push(n)));return t}function np(e,i){var t=null,s,n,r,a;if(ne(e)||typeof e=="string")for(t=new Array(e.length),s=0,n=e.length;s<n;s++)t[s]=i(e[s],s);else if(typeof e=="number")for(t=new Array(e),s=0;s<e;s++)t[s]=i(s+1,s);else if(_e(e))if(zi&&e[Symbol.iterator]){t=[];for(var o=e[Symbol.iterator](),l=o.next();!l.done;)t.push(i(l.value,t.length)),l=o.next()}else for(r=Object.keys(e),t=new Array(r.length),s=0,n=r.length;s<n;s++)a=r[s],t[s]=i(e[a],a,s);return b(t)||(t=[]),t._isVList=!0,t}function rp(e,i,t,s){var n=this.$scopedSlots[e],r;n?(t=t||{},s&&(process.env.NODE_ENV!=="production"&&!_e(s)&&B("slot v-bind without argument expects an Object",this),t=fe(fe({},s),t)),r=n(t)||(ge(i)?i():i)):r=this.$slots[e]||(ge(i)?i():i);var a=t&&t.slot;return a?this.$createElement("template",{slot:a},r):r}function ap(e){return Vs(this.$options,"filters",e,!0)||ya}function Ra(e,i){return ne(e)?e.indexOf(i)===-1:e!==i}function op(e,i,t,s,n){var r=pe.keyCodes[i]||t;return n&&s&&!pe.keyCodes[i]?Ra(n,s):r?Ra(r,e):s?$t(s)!==i:e===void 0}function lp(e,i,t,s,n){if(t)if(!_e(t))process.env.NODE_ENV!=="production"&&B("v-bind without argument expects an Object or Array value",this);else{ne(t)&&(t=ga(t));var r=void 0,a=function(l){if(l==="class"||l==="style"||ha(l))r=e;else{var p=e.attrs&&e.attrs.type;r=s||pe.mustUseProp(i,p,l)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var h=Xt(l),g=$t(l);if(!(h in r)&&!(g in r)&&(r[l]=t[l],n)){var C=e.on||(e.on={});C["update:".concat(l)]=function(k){t[l]=k}}};for(var o in t)a(o)}return e}function cp(e,i){var t=this._staticTrees||(this._staticTrees=[]),s=t[e];return s&&!i||(s=t[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),La(s,"__static__".concat(e),!1)),s}function up(e,i,t){return La(e,"__once__".concat(i).concat(t?"_".concat(t):""),!0),e}function La(e,i,t){if(ne(e))for(var s=0;s<e.length;s++)e[s]&&typeof e[s]!="string"&&Fa(e[s],"".concat(i,"_").concat(s),t);else Fa(e,i,t)}function Fa(e,i,t){e.isStatic=!0,e.key=i,e.isOnce=t}function pp(e,i){if(i)if(!Fe(i))process.env.NODE_ENV!=="production"&&B("v-on without argument expects an Object value",this);else{var t=e.on=e.on?fe({},e.on):{};for(var s in i){var n=t[s],r=i[s];t[s]=n?[].concat(n,r):r}}return e}function ja(e,i,t,s){i=i||{$stable:!t};for(var n=0;n<e.length;n++){var r=e[n];ne(r)?ja(r,i,t):r&&(r.proxy&&(r.fn.proxy=!0),i[r.key]=r.fn)}return s&&(i.$key=s),i}function dp(e,i){for(var t=0;t<i.length;t+=2){var s=i[t];typeof s=="string"&&s?e[i[t]]=i[t+1]:process.env.NODE_ENV!=="production"&&s!==""&&s!==null&&B("Invalid value for dynamic directive argument (expected string or null): ".concat(s),this)}return e}function hp(e,i){return typeof e=="string"?i+e:e}function Va(e){e._o=up,e._n=Ki,e._s=Bu,e._l=np,e._t=rp,e._q=ei,e._i=va,e._m=cp,e._f=ap,e._k=op,e._b=lp,e._v=Ei,e._e=ii,e._u=ja,e._g=pp,e._d=dp,e._p=hp}function Mn(e,i){if(!e||!e.length)return{};for(var t={},s=0,n=e.length;s<n;s++){var r=e[s],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,(r.context===i||r.fnContext===i)&&a&&a.slot!=null){var o=a.slot,l=t[o]||(t[o]=[]);r.tag==="template"?l.push.apply(l,r.children||[]):l.push(r)}else(t.default||(t.default=[])).push(r)}for(var p in t)t[p].every(fp)&&delete t[p];return t}function fp(e){return e.isComment&&!e.asyncFactory||e.text===" "}function Xi(e){return e.isComment&&e.asyncFactory}function $i(e,i,t,s){var n,r=Object.keys(t).length>0,a=i?!!i.$stable:!r,o=i&&i.$key;if(!i)n={};else{if(i._normalized)return i._normalized;if(a&&s&&s!==Le&&o===s.$key&&!r&&!s.$hasNormal)return s;n={};for(var l in i)i[l]&&l[0]!=="$"&&(n[l]=mp(e,t,l,i[l]))}for(var p in t)p in n||(n[p]=gp(t,p));return i&&Object.isExtensible(i)&&(i._normalized=n),Bt(n,"$stable",a),Bt(n,"$key",o),Bt(n,"$hasNormal",r),n}function mp(e,i,t,s){var n=function(){var r=xi;Rt(e);var a=arguments.length?s.apply(null,arguments):s({});a=a&&typeof a=="object"&&!ne(a)?[a]:Dn(a);var o=a&&a[0];return Rt(r),a&&(!o||a.length===1&&o.isComment&&!Xi(o))?void 0:a};return s.proxy&&Object.defineProperty(i,t,{get:n,enumerable:!0,configurable:!0}),n}function gp(e,i){return function(){return e[i]}}function yp(e){var i=e.$options,t=i.setup;if(t){var s=e._setupContext=vp(e);Rt(e),Ti();var n=Vt(t,null,[e._props||Pa({}),s],e,"setup");if(Ii(),Rt(),ge(n))i.render=n;else if(_e(n))if(process.env.NODE_ENV!=="production"&&n instanceof Ge&&B("setup() should not return VNodes directly - return a render function instead."),e._setupState=n,n.__sfc){var a=e._setupProxy={};for(var r in n)r!=="__sfc"&&_n(a,n,r)}else for(var r in n)xn(r)?process.env.NODE_ENV!=="production"&&B("Avoid using variables that start with _ or $ in setup()."):_n(e,n,r);else process.env.NODE_ENV!=="production"&&n!==void 0&&B("setup() should return an object. Received: ".concat(n===null?"null":typeof n))}}function vp(e){var i=!1;return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};Bt(t,"_v_attr_proxy",!0),Ds(t,e.$attrs,Le,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};Ds(t,e.$listeners,Le,e,"$listeners")}return e._listenersProxy},get slots(){return bp(e)},emit:ma(e.$emit,e),expose:function(t){process.env.NODE_ENV!=="production"&&(i&&B("expose() should be called only once per setup().",e),i=!0),t&&Object.keys(t).forEach(function(s){return _n(e,t,s)})}}}function Ds(e,i,t,s,n){var r=!1;for(var a in i)a in e?i[a]!==t[a]&&(r=!0):(r=!0,Ap(e,a,s,n));for(var a in e)a in i||(r=!0,delete e[a]);return r}function Ap(e,i,t,s){Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:function(){return t[s][i]}})}function bp(e){return e._slotsProxy||Qa(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function Qa(e,i){for(var t in i)e[t]=i[t];for(var t in e)t in i||delete e[t]}function Cp(e){e._vnode=null,e._staticTrees=null;var i=e.$options,t=e.$vnode=i._parentVnode,s=t&&t.context;e.$slots=Mn(i._renderChildren,s),e.$scopedSlots=t?$i(e.$parent,t.data.scopedSlots,e.$slots):Le,e._c=function(r,a,o,l){return Ms(e,r,a,o,l,!1)},e.$createElement=function(r,a,o,l){return Ms(e,r,a,o,l,!0)};var n=t&&t.data;process.env.NODE_ENV!=="production"?(lt(e,"$attrs",n&&n.attrs||Le,function(){!is&&B("$attrs is readonly.",e)},!0),lt(e,"$listeners",i._parentListeners||Le,function(){!is&&B("$listeners is readonly.",e)},!0)):(lt(e,"$attrs",n&&n.attrs||Le,null,!0),lt(e,"$listeners",i._parentListeners||Le,null,!0))}var On=null;function wp(e){Va(e.prototype),e.prototype.$nextTick=function(i){return jn(i,this)},e.prototype._render=function(){var i=this,t=i.$options,s=t.render,n=t._parentVnode;n&&i._isMounted&&(i.$scopedSlots=$i(i.$parent,n.data.scopedSlots,i.$slots,i.$scopedSlots),i._slotsProxy&&Qa(i._slotsProxy,i.$scopedSlots)),i.$vnode=n;var r;try{Rt(i),On=i,r=s.call(i._renderProxy,i.$createElement)}catch(a){if(jt(a,i,"render"),process.env.NODE_ENV!=="production"&&i.$options.renderError)try{r=i.$options.renderError.call(i._renderProxy,i.$createElement,a)}catch(o){jt(o,i,"renderError"),r=i._vnode}else r=i._vnode}finally{On=null,Rt()}return ne(r)&&r.length===1&&(r=r[0]),r instanceof Ge||(process.env.NODE_ENV!=="production"&&ne(r)&&B("Multiple root nodes returned from render function. Render function should return a single root node.",i),r=ii()),r.parent=n,r}}function Bn(e,i){return(e.__esModule||zi&&e[Symbol.toStringTag]==="Module")&&(e=e.default),_e(e)?i.extend(e):e}function xp(e,i,t,s,n){var r=ii();return r.asyncFactory=e,r.asyncMeta={data:i,context:t,children:s,tag:n},r}function Ep(e,i){if(Ae(e.error)&&b(e.errorComp))return e.errorComp;if(b(e.resolved))return e.resolved;var t=On;if(t&&b(e.owners)&&e.owners.indexOf(t)===-1&&e.owners.push(t),Ae(e.loading)&&b(e.loadingComp))return e.loadingComp;if(t&&!b(e.owners)){var s=e.owners=[t],n=!0,r=null,a=null;t.$on("hook:destroyed",function(){return Ot(s,t)});var o=function(g){for(var C=0,k=s.length;C<k;C++)s[C].$forceUpdate();g&&(s.length=0,r!==null&&(clearTimeout(r),r=null),a!==null&&(clearTimeout(a),a=null))},l=Es(function(g){e.resolved=Bn(g,i),n?s.length=0:o(!0)}),p=Es(function(g){process.env.NODE_ENV!=="production"&&B("Failed to resolve async component: ".concat(String(e))+(g?`
6
- Reason: `.concat(g):"")),b(e.errorComp)&&(e.error=!0,o(!0))}),h=e(l,p);return _e(h)&&(Cn(h)?$(e.resolved)&&h.then(l,p):Cn(h.component)&&(h.component.then(l,p),b(h.error)&&(e.errorComp=Bn(h.error,i)),b(h.loading)&&(e.loadingComp=Bn(h.loading,i),h.delay===0?e.loading=!0:r=setTimeout(function(){r=null,$(e.resolved)&&$(e.error)&&(e.loading=!0,o(!1))},h.delay||200)),b(h.timeout)&&(a=setTimeout(function(){a=null,$(e.resolved)&&p(process.env.NODE_ENV!=="production"?"timeout (".concat(h.timeout,"ms)"):null)},h.timeout)))),n=!1,e.loading?e.loadingComp:e.resolved}}function Ua(e){if(ne(e))for(var i=0;i<e.length;i++){var t=e[i];if(b(t)&&(b(t.componentOptions)||Xi(t)))return t}}var Tp=1,Ga=2;function Ms(e,i,t,s,n,r){return(ne(t)||Ct(t))&&(n=s,s=t,t=void 0),Ae(r)&&(n=Ga),Ip(e,i,t,s,n)}function Ip(e,i,t,s,n){if(b(t)&&b(t.__ob__))return process.env.NODE_ENV!=="production"&&B("Avoid using observed data object as vnode data: ".concat(JSON.stringify(t),`
7
- `)+"Always create fresh vnode data objects in each render!",e),ii();if(b(t)&&b(t.is)&&(i=t.is),!i)return ii();process.env.NODE_ENV!=="production"&&b(t)&&b(t.key)&&!Ct(t.key)&&B("Avoid using non-primitive value as key, use string/number value instead.",e),ne(s)&&ge(s[0])&&(t=t||{},t.scopedSlots={default:s[0]},s.length=0),n===Ga?s=Dn(s):n===Tp&&(s=sp(s));var r,a;if(typeof i=="string"){var o=void 0;a=e.$vnode&&e.$vnode.ns||pe.getTagNamespace(i),pe.isReservedTag(i)?(process.env.NODE_ENV!=="production"&&b(t)&&b(t.nativeOn)&&t.tag!=="component"&&B("The .native modifier for v-on is only valid on components but it was used on <".concat(i,">."),e),r=new Ge(pe.parsePlatformTagName(i),t,s,void 0,void 0,e)):(!t||!t.pre)&&b(o=Vs(e.$options,"components",i))?r=ro(o,t,e,s,i):r=new Ge(i,t,s,void 0,void 0,e)}else r=ro(i,t,e,s);return ne(r)?r:b(r)?(b(a)&&qa(r,a),b(t)&&kp(t),r):ii()}function qa(e,i,t){if(e.ns=i,e.tag==="foreignObject"&&(i=void 0,t=!0),b(e.children))for(var s=0,n=e.children.length;s<n;s++){var r=e.children[s];b(r.tag)&&($(r.ns)||Ae(t)&&r.tag!=="svg")&&qa(r,i,t)}}function kp(e){_e(e.style)&&Rs(e.style),_e(e.class)&&Rs(e.class)}function jt(e,i,t){Ti();try{if(i)for(var s=i;s=s.$parent;){var n=s.$options.errorCaptured;if(n)for(var r=0;r<n.length;r++)try{var a=n[r].call(s,e,i,t)===!1;if(a)return}catch(o){Ja(o,s,"errorCaptured hook")}}Ja(e,i,t)}finally{Ii()}}function Vt(e,i,t,s,n){var r;try{r=t?e.apply(i,t):e.call(i),r&&!r._isVue&&Cn(r)&&!r._handled&&(r.catch(function(a){return jt(a,s,n+" (Promise/async)")}),r._handled=!0)}catch(a){jt(a,s,n)}return r}function Ja(e,i,t){if(pe.errorHandler)try{return pe.errorHandler.call(null,e,i,t)}catch(s){s!==e&&Ha(s,null,"config.errorHandler")}Ha(e,i,t)}function Ha(e,i,t){if(process.env.NODE_ENV!=="production"&&B("Error in ".concat(t,': "').concat(e.toString(),'"'),i),Ue&&typeof console<"u")console.error(e);else throw e}var Rn=!1,Ln=[],Fn=!1;function Os(){Fn=!1;var e=Ln.slice(0);Ln.length=0;for(var i=0;i<e.length;i++)e[i]()}var es;if(typeof Promise<"u"&&ti(Promise)){var Np=Promise.resolve();es=function(){Np.then(Os),Hu&&setTimeout(Te)},Rn=!0}else if(!Ci&&typeof MutationObserver<"u"&&(ti(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var Bs=1,Sp=new MutationObserver(Os),Ka=document.createTextNode(String(Bs));Sp.observe(Ka,{characterData:!0}),es=function(){Bs=(Bs+1)%2,Ka.data=String(Bs)},Rn=!0}else typeof setImmediate<"u"&&ti(setImmediate)?es=function(){setImmediate(Os)}:es=function(){setTimeout(Os,0)};function jn(e,i){var t;if(Ln.push(function(){if(e)try{e.call(i)}catch(s){jt(s,i,"nextTick")}else t&&t(i)}),Fn||(Fn=!0,es()),!e&&typeof Promise<"u")return new Promise(function(s){t=s})}var _p="2.7.14";function B0(e){return e}var Wa=new Yi;function Rs(e){return Ls(e,Wa),Wa.clear(),e}function Ls(e,i){var t,s,n=ne(e);if(!(!n&&!_e(e)||e.__v_skip||Object.isFrozen(e)||e instanceof Ge)){if(e.__ob__){var r=e.__ob__.dep.id;if(i.has(r))return;i.add(r)}if(n)for(t=e.length;t--;)Ls(e[t],i);else if(ht(e))Ls(e.value,i);else for(s=Object.keys(e),t=s.length;t--;)Ls(e[s[t]],i)}}var Pp=0,Vn=function(){function e(i,t,s,n,r){ep(this,Ke&&!Ke._vm?Ke:i?i._scope:void 0),(this.vm=i)&&r&&(i._watcher=this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before,process.env.NODE_ENV!=="production"&&(this.onTrack=n.onTrack,this.onTrigger=n.onTrigger)):this.deep=this.user=this.lazy=this.sync=!1,this.cb=s,this.id=++Pp,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Yi,this.newDepIds=new Yi,this.expression=process.env.NODE_ENV!=="production"?t.toString():"",ge(t)?this.getter=t:(this.getter=qu(t),this.getter||(this.getter=Te,process.env.NODE_ENV!=="production"&&B('Failed watching path: "'.concat(t,'" ')+"Watcher only accepts simple dot-delimited paths. For full control, use a function instead.",i))),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){Ti(this);var i,t=this.vm;try{i=this.getter.call(t,t)}catch(s){if(this.user)jt(s,t,'getter for watcher "'.concat(this.expression,'"'));else throw s}finally{this.deep&&Rs(i),Ii(),this.cleanupDeps()}return i},e.prototype.addDep=function(i){var t=i.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(i),this.depIds.has(t)||i.addSub(this))},e.prototype.cleanupDeps=function(){for(var i=this.deps.length;i--;){var t=this.deps[i];this.newDepIds.has(t.id)||t.removeSub(this)}var s=this.depIds;this.depIds=this.newDepIds,this.newDepIds=s,this.newDepIds.clear(),s=this.deps,this.deps=this.newDeps,this.newDeps=s,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Kp(this)},e.prototype.run=function(){if(this.active){var i=this.get();if(i!==this.value||_e(i)||this.deep){var t=this.value;if(this.value=i,this.user){var s='callback for watcher "'.concat(this.expression,'"');Vt(this.cb,this.vm,[i,t],this.vm,s)}else this.cb.call(this.vm,i,t)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){for(var i=this.deps.length;i--;)this.deps[i].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Ot(this.vm._scope.effects,this),this.active){for(var i=this.deps.length;i--;)this.deps[i].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}(),ft,Fs;if(process.env.NODE_ENV!=="production"){var xt=Ue&&window.performance;xt&&xt.mark&&xt.measure&&xt.clearMarks&&xt.clearMeasures&&(ft=function(e){return xt.mark(e)},Fs=function(e,i,t){xt.measure(e,i,t),xt.clearMarks(i),xt.clearMarks(t)})}function Dp(e){e._events=Object.create(null),e._hasHookEvent=!1;var i=e.$options._parentListeners;i&&za(e,i)}var ts;function Mp(e,i){ts.$on(e,i)}function Op(e,i){ts.$off(e,i)}function Bp(e,i){var t=ts;return function s(){var n=i.apply(null,arguments);n!==null&&t.$off(e,s)}}function za(e,i,t){ts=e,Ma(i,t||{},Mp,Op,Bp,e),ts=void 0}function Rp(e){var i=/^hook:/;e.prototype.$on=function(t,s){var n=this;if(ne(t))for(var r=0,a=t.length;r<a;r++)n.$on(t[r],s);else(n._events[t]||(n._events[t]=[])).push(s),i.test(t)&&(n._hasHookEvent=!0);return n},e.prototype.$once=function(t,s){var n=this;function r(){n.$off(t,r),s.apply(n,arguments)}return r.fn=s,n.$on(t,r),n},e.prototype.$off=function(t,s){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(ne(t)){for(var r=0,a=t.length;r<a;r++)n.$off(t[r],s);return n}var o=n._events[t];if(!o)return n;if(!s)return n._events[t]=null,n;for(var l,p=o.length;p--;)if(l=o[p],l===s||l.fn===s){o.splice(p,1);break}return n},e.prototype.$emit=function(t){var s=this;if(process.env.NODE_ENV!=="production"){var n=t.toLowerCase();n!==t&&s._events[n]&&zn('Event "'.concat(n,'" is emitted in component ')+"".concat(ni(s),' but the handler is registered for "').concat(t,'". ')+"Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. "+'You should probably use "'.concat($t(t),'" instead of "').concat(t,'".'))}var r=s._events[t];if(r){r=r.length>1?wn(r):r;for(var a=wn(arguments,1),o='event handler for "'.concat(t,'"'),l=0,p=r.length;l<p;l++)Vt(r[l],s,a,s,o)}return s}}var si=null,is=!1;function Ya(e){var i=si;return si=e,function(){si=i}}function Lp(e){var i=e.$options,t=i.parent;if(t&&!i.abstract){for(;t.$options.abstract&&t.$parent;)t=t.$parent;t.$children.push(e)}e.$parent=t,e.$root=t?t.$root:e,e.$children=[],e.$refs={},e._provided=t?t._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function Fp(e){e.prototype._update=function(i,t){var s=this,n=s.$el,r=s._vnode,a=Ya(s);s._vnode=i,r?s.$el=s.__patch__(r,i):s.$el=s.__patch__(s.$el,i,t,!1),a(),n&&(n.__vue__=null),s.$el&&(s.$el.__vue__=s);for(var o=s;o&&o.$vnode&&o.$parent&&o.$vnode===o.$parent._vnode;)o.$parent.$el=o.$el,o=o.$parent},e.prototype.$forceUpdate=function(){var i=this;i._watcher&&i._watcher.update()},e.prototype.$destroy=function(){var i=this;if(!i._isBeingDestroyed){We(i,"beforeDestroy"),i._isBeingDestroyed=!0;var t=i.$parent;t&&!t._isBeingDestroyed&&!i.$options.abstract&&Ot(t.$children,i),i._scope.stop(),i._data.__ob__&&i._data.__ob__.vmCount--,i._isDestroyed=!0,i.__patch__(i._vnode,null),We(i,"destroyed"),i.$off(),i.$el&&(i.$el.__vue__=null),i.$vnode&&(i.$vnode.parent=null)}}}function jp(e,i,t){e.$el=i,e.$options.render||(e.$options.render=ii,process.env.NODE_ENV!=="production"&&(e.$options.template&&e.$options.template.charAt(0)!=="#"||e.$options.el||i?B("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):B("Failed to mount component: template or render function not defined.",e))),We(e,"beforeMount");var s;process.env.NODE_ENV!=="production"&&pe.performance&&ft?s=function(){var o=e._name,l=e._uid,p="vue-perf-start:".concat(l),h="vue-perf-end:".concat(l);ft(p);var g=e._render();ft(h),Fs("vue ".concat(o," render"),p,h),ft(p),e._update(g,t),ft(h),Fs("vue ".concat(o," patch"),p,h)}:s=function(){e._update(e._render(),t)};var n={before:function(){e._isMounted&&!e._isDestroyed&&We(e,"beforeUpdate")}};process.env.NODE_ENV!=="production"&&(n.onTrack=function(o){return We(e,"renderTracked",[o])},n.onTrigger=function(o){return We(e,"renderTriggered",[o])}),new Vn(e,s,Te,n,!0),t=!1;var r=e._preWatchers;if(r)for(var a=0;a<r.length;a++)r[a].run();return e.$vnode==null&&(e._isMounted=!0,We(e,"mounted")),e}function Vp(e,i,t,s,n){process.env.NODE_ENV!=="production"&&(is=!0);var r=s.data.scopedSlots,a=e.$scopedSlots,o=!!(r&&!r.$stable||a!==Le&&!a.$stable||r&&e.$scopedSlots.$key!==r.$key||!r&&e.$scopedSlots.$key),l=!!(n||e.$options._renderChildren||o),p=e.$vnode;e.$options._parentVnode=s,e.$vnode=s,e._vnode&&(e._vnode.parent=s),e.$options._renderChildren=n;var h=s.data.attrs||Le;e._attrsProxy&&Ds(e._attrsProxy,h,p.data&&p.data.attrs||Le,e,"$attrs")&&(l=!0),e.$attrs=h,t=t||Le;var g=e.$options._parentListeners;if(e._listenersProxy&&Ds(e._listenersProxy,t,g||Le,e,"$listeners"),e.$listeners=e.$options._parentListeners=t,za(e,t,g),i&&e.$options.props){Lt(!1);for(var C=e._props,k=e.$options._propKeys||[],J=0;J<k.length;J++){var Q=k[J],re=e.$options.props;C[Q]=$n(Q,re,i,e)}Lt(!0),e.$options.propsData=i}l&&(e.$slots=Mn(n,s.context),e.$forceUpdate()),process.env.NODE_ENV!=="production"&&(is=!1)}function Za(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Qn(e,i){if(i){if(e._directInactive=!1,Za(e))return}else if(e._directInactive)return;if(e._inactive||e._inactive===null){e._inactive=!1;for(var t=0;t<e.$children.length;t++)Qn(e.$children[t]);We(e,"activated")}}function Xa(e,i){if(!(i&&(e._directInactive=!0,Za(e)))&&!e._inactive){e._inactive=!0;for(var t=0;t<e.$children.length;t++)Xa(e.$children[t]);We(e,"deactivated")}}function We(e,i,t,s){s===void 0&&(s=!0),Ti();var n=xi;s&&Rt(e);var r=e.$options[i],a="".concat(i," hook");if(r)for(var o=0,l=r.length;o<l;o++)Vt(r[o],e,t||null,e,a);e._hasHookEvent&&e.$emit("hook:"+i),s&&Rt(n),Ii()}var Qp=100,Et=[],Un=[],ss={},js={},Gn=!1,qn=!1,ki=0;function Up(){ki=Et.length=Un.length=0,ss={},process.env.NODE_ENV!=="production"&&(js={}),Gn=qn=!1}var $a=0,Jn=Date.now;if(Ue&&!Ci){var Hn=window.performance;Hn&&typeof Hn.now=="function"&&Jn()>document.createEvent("Event").timeStamp&&(Jn=function(){return Hn.now()})}var Gp=function(e,i){if(e.post){if(!i.post)return 1}else if(i.post)return-1;return e.id-i.id};function eo(){$a=Jn(),qn=!0;var e,i;for(Et.sort(Gp),ki=0;ki<Et.length;ki++)if(e=Et[ki],e.before&&e.before(),i=e.id,ss[i]=null,e.run(),process.env.NODE_ENV!=="production"&&ss[i]!=null&&(js[i]=(js[i]||0)+1,js[i]>Qp)){B("You may have an infinite update loop "+(e.user?'in watcher with expression "'.concat(e.expression,'"'):"in a component render function."),e.vm);break}var t=Un.slice(),s=Et.slice();Up(),Hp(t),qp(s),Wu(),ks&&pe.devtools&&ks.emit("flush")}function qp(e){for(var i=e.length;i--;){var t=e[i],s=t.vm;s&&s._watcher===t&&s._isMounted&&!s._isDestroyed&&We(s,"updated")}}function Jp(e){e._inactive=!1,Un.push(e)}function Hp(e){for(var i=0;i<e.length;i++)e[i]._inactive=!0,Qn(e[i],!0)}function Kp(e){var i=e.id;if(ss[i]==null&&!(e===ot.target&&e.noRecurse)){if(ss[i]=!0,!qn)Et.push(e);else{for(var t=Et.length-1;t>ki&&Et[t].id>e.id;)t--;Et.splice(t+1,0,e)}if(!Gn){if(Gn=!0,process.env.NODE_ENV!=="production"&&!pe.async){eo();return}jn(eo)}}}function Wp(e){var i=e.$options.provide;if(i){var t=ge(i)?i.call(e):i;if(!_e(t))return;for(var s=tp(e),n=zi?Reflect.ownKeys(t):Object.keys(t),r=0;r<n.length;r++){var a=n[r];Object.defineProperty(s,a,Object.getOwnPropertyDescriptor(t,a))}}}function zp(e){var i=to(e.$options.inject,e);i&&(Lt(!1),Object.keys(i).forEach(function(t){process.env.NODE_ENV!=="production"?lt(e,t,i[t],function(){B("Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. "+'injection being mutated: "'.concat(t,'"'),e)}):lt(e,t,i[t])}),Lt(!0))}function to(e,i){if(e){for(var t=Object.create(null),s=zi?Reflect.ownKeys(e):Object.keys(e),n=0;n<s.length;n++){var r=s[n];if(r!=="__ob__"){var a=e[r].from;if(a in i._provided)t[r]=i._provided[a];else if("default"in e[r]){var o=e[r].default;t[r]=ge(o)?o.call(i):o}else process.env.NODE_ENV!=="production"&&B('Injection "'.concat(r,'" not found'),i)}}return t}}function Kn(e,i,t,s,n){var r=this,a=n.options,o;Pe(s,"_uid")?(o=Object.create(s),o._original=s):(o=s,s=s._original);var l=Ae(a._compiled),p=!l;this.data=e,this.props=i,this.children=t,this.parent=s,this.listeners=e.on||Le,this.injections=to(a.inject,s),this.slots=function(){return r.$slots||$i(s,e.scopedSlots,r.$slots=Mn(t,s)),r.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return $i(s,e.scopedSlots,this.slots())}}),l&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=$i(s,e.scopedSlots,this.$slots)),a._scopeId?this._c=function(h,g,C,k){var J=Ms(o,h,g,C,k,p);return J&&!ne(J)&&(J.fnScopeId=a._scopeId,J.fnContext=s),J}:this._c=function(h,g,C,k){return Ms(o,h,g,C,k,p)}}Va(Kn.prototype);function Yp(e,i,t,s,n){var r=e.options,a={},o=r.props;if(b(o))for(var l in o)a[l]=$n(l,o,i||Le);else b(t.attrs)&&so(a,t.attrs),b(t.props)&&so(a,t.props);var p=new Kn(t,a,n,s,e),h=r.render.call(null,p._c,p);if(h instanceof Ge)return io(h,t,p.parent,r,p);if(ne(h)){for(var g=Dn(h)||[],C=new Array(g.length),k=0;k<g.length;k++)C[k]=io(g[k],t,p.parent,r,p);return C}}function io(e,i,t,s,n){var r=In(e);return r.fnContext=t,r.fnOptions=s,process.env.NODE_ENV!=="production"&&((r.devtoolsMeta=r.devtoolsMeta||{}).renderContext=n),i.slot&&((r.data||(r.data={})).slot=i.slot),r}function so(e,i){for(var t in i)e[Xt(t)]=i[t]}function Ni(e){return e.name||e.__name||e._componentTag}var Wn={init:function(e,i){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var t=e;Wn.prepatch(t,t)}else{var s=e.componentInstance=Zp(e,si);s.$mount(i?e.elm:void 0,i)}},prepatch:function(e,i){var t=i.componentOptions,s=i.componentInstance=e.componentInstance;Vp(s,t.propsData,t.listeners,i,t.children)},insert:function(e){var i=e.context,t=e.componentInstance;t._isMounted||(t._isMounted=!0,We(t,"mounted")),e.data.keepAlive&&(i._isMounted?Jp(t):Qn(t,!0))},destroy:function(e){var i=e.componentInstance;i._isDestroyed||(e.data.keepAlive?Xa(i,!0):i.$destroy())}},no=Object.keys(Wn);function ro(e,i,t,s,n){if(!$(e)){var r=t.$options._base;if(_e(e)&&(e=r.extend(e)),typeof e!="function"){process.env.NODE_ENV!=="production"&&B("Invalid Component definition: ".concat(String(e)),t);return}var a;if($(e.cid)&&(a=e,e=Ep(a,r),e===void 0))return xp(a,i,t,s,n);i=i||{},sr(e),b(i.model)&&ed(e.options,i);var o=ip(i,e,n);if(Ae(e.options.functional))return Yp(e,o,i,t,s);var l=i.on;if(i.on=i.nativeOn,Ae(e.options.abstract)){var p=i.slot;i={},p&&(i.slot=p)}Xp(i);var h=Ni(e.options)||n,g=new Ge("vue-component-".concat(e.cid).concat(h?"-".concat(h):""),i,void 0,void 0,void 0,t,{Ctor:e,propsData:o,listeners:l,tag:n,children:s},a);return g}}function Zp(e,i){var t={_isComponent:!0,_parentVnode:e,parent:i},s=e.data.inlineTemplate;return b(s)&&(t.render=s.render,t.staticRenderFns=s.staticRenderFns),new e.componentOptions.Ctor(t)}function Xp(e){for(var i=e.hook||(e.hook={}),t=0;t<no.length;t++){var s=no[t],n=i[s],r=Wn[s];n!==r&&!(n&&n._merged)&&(i[s]=n?$p(r,n):r)}}function $p(e,i){var t=function(s,n){e(s,n),i(s,n)};return t._merged=!0,t}function ed(e,i){var t=e.model&&e.model.prop||"value",s=e.model&&e.model.event||"input";(i.attrs||(i.attrs={}))[t]=i.model.value;var n=i.on||(i.on={}),r=n[s],a=i.model.callback;b(r)?(ne(r)?r.indexOf(a)===-1:r!==a)&&(n[s]=[a].concat(r)):n[s]=a}var B=Te,zn=Te,Yn,ni;if(process.env.NODE_ENV!=="production"){var ao=typeof console<"u",td=/(?:^|[-_])(\w)/g,id=function(e){return e.replace(td,function(i){return i.toUpperCase()}).replace(/[-_]/g,"")};B=function(e,i){i===void 0&&(i=xi);var t=i?Yn(i):"";pe.warnHandler?pe.warnHandler.call(null,e,i,t):ao&&!pe.silent&&console.error("[Vue warn]: ".concat(e).concat(t))},zn=function(e,i){ao&&!pe.silent&&"[Vue tip]: ".concat(e)+(i?Yn(i):"")},ni=function(e,i){if(e.$root===e)return"<Root>";var t=ge(e)&&e.cid!=null?e.options:e._isVue?e.$options||e.constructor.options:e,s=Ni(t),n=t.__file;if(!s&&n){var r=n.match(/([^/\\]+)\.vue$/);s=r&&r[1]}return(s?"<".concat(id(s),">"):"<Anonymous>")+(n&&i!==!1?" at ".concat(n):"")};var sd=function(e,i){for(var t="";i;)i%2===1&&(t+=e),i>1&&(e+=e),i>>=1;return t};Yn=function(e){if(e._isVue&&e.$parent){for(var i=[],t=0;e;){if(i.length>0){var s=i[i.length-1];if(s.constructor===e.constructor){t++,e=e.$parent;continue}else t>0&&(i[i.length-1]=[s,t],t=0)}i.push(e),e=e.$parent}return`
5
+ */var Fe=Object.freeze({}),ne=Array.isArray;function te(e){return e==null}function b(e){return e!=null}function Ce(e){return e===!0}function Fu(e){return e===!1}function Ct(e){return typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="boolean"}function ve(e){return typeof e=="function"}function Pe(e){return e!==null&&typeof e=="object"}var xs=Object.prototype.toString;function Ki(e){return xs.call(e).slice(8,-1)}function je(e){return xs.call(e)==="[object Object]"}function da(e){return xs.call(e)==="[object RegExp]"}function ha(e){var i=parseFloat(String(e));return i>=0&&Math.floor(i)===i&&isFinite(e)}function xn(e){return b(e)&&typeof e.then=="function"&&typeof e.catch=="function"}function ju(e){return e==null?"":Array.isArray(e)||je(e)&&e.toString===xs?JSON.stringify(e,null,2):String(e)}function Wi(e){var i=parseFloat(e);return isNaN(i)?e:i}function We(e,i){for(var t=Object.create(null),s=e.split(","),n=0;n<s.length;n++)t[s[n]]=!0;return i?function(r){return t[r.toLowerCase()]}:function(r){return t[r]}}var Vu=We("slot,component",!0),fa=We("key,ref,slot,slot-scope,is");function Dt(e,i){var t=e.length;if(t){if(i===e[t-1]){e.length=t-1;return}var s=e.indexOf(i);if(s>-1)return e.splice(s,1)}}var Qu=Object.prototype.hasOwnProperty;function De(e,i){return Qu.call(e,i)}function zt(e){var i=Object.create(null);return function(s){var n=i[s];return n||(i[s]=e(s))}}var Uu=/-(\w)/g,Xt=zt(function(e){return e.replace(Uu,function(i,t){return t?t.toUpperCase():""})}),ma=zt(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Gu=/\B([A-Z])/g,Zt=zt(function(e){return e.replace(Gu,"-$1").toLowerCase()});function qu(e,i){function t(s){var n=arguments.length;return n?n>1?e.apply(i,arguments):e.call(i,s):e.call(i)}return t._length=e.length,t}function Ju(e,i){return e.bind(i)}var ga=Function.prototype.bind?Ju:qu;function En(e,i){i=i||0;for(var t=e.length-i,s=new Array(t);t--;)s[t]=e[t+i];return s}function ye(e,i){for(var t in i)e[t]=i[t];return e}function ya(e){for(var i={},t=0;t<e.length;t++)e[t]&&ye(i,e[t]);return i}function ke(e,i,t){}var Es=function(e,i,t){return!1},va=function(e){return e};function $t(e,i){if(e===i)return!0;var t=Pe(e),s=Pe(i);if(t&&s)try{var n=Array.isArray(e),r=Array.isArray(i);if(n&&r)return e.length===i.length&&e.every(function(l,p){return $t(l,i[p])});if(e instanceof Date&&i instanceof Date)return e.getTime()===i.getTime();if(!n&&!r){var a=Object.keys(e),o=Object.keys(i);return a.length===o.length&&a.every(function(l){return $t(e[l],i[l])})}else return!1}catch{return!1}else return!t&&!s?String(e)===String(i):!1}function Aa(e,i){for(var t=0;t<e.length;t++)if($t(e[t],i))return t;return-1}function Ts(e){var i=!1;return function(){i||(i=!0,e.apply(this,arguments))}}function Hu(e,i){return e===i?e===0&&1/e!==1/i:e===e||i===i}var ba="data-server-rendered",Is=["component","directive","filter"],Ca=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],me={optionMergeStrategies:Object.create(null),silent:!1,productionTip:process.env.NODE_ENV!=="production",devtools:process.env.NODE_ENV!=="production",performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Es,isReservedAttr:Es,isUnknownElement:Es,getTagNamespace:ke,parsePlatformTagName:va,mustUseProp:Es,async:!0,_lifecycleHooks:Ca},wa=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Tn(e){var i=(e+"").charCodeAt(0);return i===36||i===95}function Ot(e,i,t,s){Object.defineProperty(e,i,{value:t,enumerable:!!s,writable:!0,configurable:!0})}var Ku=new RegExp("[^".concat(wa.source,".$_\\d]"));function Wu(e){if(!Ku.test(e)){var i=e.split(".");return function(t){for(var s=0;s<i.length;s++){if(!t)return;t=t[i[s]]}return t}}}var Yu="__proto__"in{},Ge=typeof window<"u",Be=Ge&&window.navigator.userAgent.toLowerCase(),Ci=Be&&/msie|trident/.test(Be),wi=Be&&Be.indexOf("msie 9.0")>0,In=Be&&Be.indexOf("edge/")>0;Be&&Be.indexOf("android")>0;var zu=Be&&/iphone|ipad|ipod|ios/.test(Be);Be&&/chrome\/\d+/.test(Be),Be&&/phantomjs/.test(Be);var xa=Be&&Be.match(/firefox\/(\d+)/),kn={}.watch,Ea=!1;if(Ge)try{var Ta={};Object.defineProperty(Ta,"passive",{get:function(){Ea=!0}}),window.addEventListener("test-passive",null,Ta)}catch{}var ks,Yi=function(){return ks===void 0&&(!Ge&&typeof global<"u"?ks=global.process&&global.process.env.VUE_ENV==="server":ks=!1),ks},Ns=Ge&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ei(e){return typeof e=="function"&&/native code/.test(e.toString())}var zi=typeof Symbol<"u"&&ei(Symbol)&&typeof Reflect<"u"&&ei(Reflect.ownKeys),Xi;typeof Set<"u"&&ei(Set)?Xi=Set:Xi=function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(i){return this.set[i]===!0},e.prototype.add=function(i){this.set[i]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var xi=null;function Mt(e){e===void 0&&(e=null),e||xi&&xi._scope.off(),xi=e,e&&e._scope.on()}var qe=function(){function e(i,t,s,n,r,a,o,l){this.tag=i,this.data=t,this.children=s,this.text=n,this.elm=r,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=l,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),ti=function(e){e===void 0&&(e="");var i=new qe;return i.text=e,i.isComment=!0,i};function Ei(e){return new qe(void 0,void 0,void 0,String(e))}function Nn(e){var i=new qe(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return i.ns=e.ns,i.isStatic=e.isStatic,i.key=e.key,i.isComment=e.isComment,i.fnContext=e.fnContext,i.fnOptions=e.fnOptions,i.fnScopeId=e.fnScopeId,i.asyncMeta=e.asyncMeta,i.isCloned=!0,i}var Ss=function(){return Ss=Object.assign||function(i){for(var t,s=1,n=arguments.length;s<n;s++){t=arguments[s];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(i[r]=t[r])}return i},Ss.apply(this,arguments)},Xu=0,_s=[],Zu=function(){for(var e=0;e<_s.length;e++){var i=_s[e];i.subs=i.subs.filter(function(t){return t}),i._pending=!1}_s.length=0},lt=function(){function e(){this._pending=!1,this.id=Xu++,this.subs=[]}return e.prototype.addSub=function(i){this.subs.push(i)},e.prototype.removeSub=function(i){this.subs[this.subs.indexOf(i)]=null,this._pending||(this._pending=!0,_s.push(this))},e.prototype.depend=function(i){e.target&&(e.target.addDep(this),process.env.NODE_ENV!=="production"&&i&&e.target.onTrack&&e.target.onTrack(Ss({effect:e.target},i)))},e.prototype.notify=function(i){var t=this.subs.filter(function(a){return a});process.env.NODE_ENV!=="production"&&!me.async&&t.sort(function(a,o){return a.id-o.id});for(var s=0,n=t.length;s<n;s++){var r=t[s];process.env.NODE_ENV!=="production"&&i&&r.onTrigger&&r.onTrigger(Ss({effect:t[s]},i)),r.update()}},e}();lt.target=null;var Ps=[];function Ti(e){Ps.push(e),lt.target=e}function Ii(){Ps.pop(),lt.target=Ps[Ps.length-1]}var Ia=Array.prototype,Ds=Object.create(Ia),$u=["push","pop","shift","unshift","splice","sort","reverse"];$u.forEach(function(e){var i=Ia[e];Ot(Ds,e,function(){for(var s=[],n=0;n<arguments.length;n++)s[n]=arguments[n];var r=i.apply(this,s),a=this.__ob__,o;switch(e){case"push":case"unshift":o=s;break;case"splice":o=s.slice(2);break}return o&&a.observeArray(o),process.env.NODE_ENV!=="production"?a.dep.notify({type:"array mutation",target:this,key:e}):a.dep.notify(),r})});var ka=Object.getOwnPropertyNames(Ds),Na={},Sn=!0;function Bt(e){Sn=e}var ep={notify:ke,depend:ke,addSub:ke,removeSub:ke},Sa=function(){function e(i,t,s){if(t===void 0&&(t=!1),s===void 0&&(s=!1),this.value=i,this.shallow=t,this.mock=s,this.dep=s?ep:new lt,this.vmCount=0,Ot(i,"__ob__",this),ne(i)){if(!s)if(Yu)i.__proto__=Ds;else for(var n=0,r=ka.length;n<r;n++){var a=ka[n];Ot(i,a,Ds[a])}t||this.observeArray(i)}else for(var o=Object.keys(i),n=0;n<o.length;n++){var a=o[n];ct(i,a,Na,void 0,t,s)}}return e.prototype.observeArray=function(i){for(var t=0,s=i.length;t<s;t++)wt(i[t],!1,this.mock)},e}();function wt(e,i,t){if(e&&De(e,"__ob__")&&e.__ob__ instanceof Sa)return e.__ob__;if(Sn&&(t||!Yi())&&(ne(e)||je(e))&&Object.isExtensible(e)&&!e.__v_skip&&!mt(e)&&!(e instanceof qe))return new Sa(e,i,t)}function ct(e,i,t,s,n,r){var a=new lt,o=Object.getOwnPropertyDescriptor(e,i);if(!(o&&o.configurable===!1)){var l=o&&o.get,p=o&&o.set;(!l||p)&&(t===Na||arguments.length===2)&&(t=e[i]);var h=!n&&wt(t,!1,r);return Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:function(){var A=l?l.call(e):t;return lt.target&&(process.env.NODE_ENV!=="production"?a.depend({target:e,type:"get",key:i}):a.depend(),h&&(h.dep.depend(),ne(A)&&Pa(A))),mt(A)&&!n?A.value:A},set:function(A){var k=l?l.call(e):t;if(!!Hu(k,A)){if(process.env.NODE_ENV!=="production"&&s&&s(),p)p.call(e,A);else{if(l)return;if(!n&&mt(k)&&!mt(A)){k.value=A;return}else t=A}h=!n&&wt(A,!1,r),process.env.NODE_ENV!=="production"?a.notify({type:"set",target:e,key:i,newValue:A,oldValue:k}):a.notify()}}}),a}}function _n(e,i,t){if(process.env.NODE_ENV!=="production"&&(te(e)||Ct(e))&&R("Cannot set reactive property on undefined, null, or primitive value: ".concat(e)),Pn(e)){process.env.NODE_ENV!=="production"&&R('Set operation on key "'.concat(i,'" failed: target is readonly.'));return}var s=e.__ob__;return ne(e)&&ha(i)?(e.length=Math.max(e.length,i),e.splice(i,1,t),s&&!s.shallow&&s.mock&&wt(t,!1,!0),t):i in e&&!(i in Object.prototype)?(e[i]=t,t):e._isVue||s&&s.vmCount?(process.env.NODE_ENV!=="production"&&R("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),t):s?(ct(s.value,i,t,void 0,s.shallow,s.mock),process.env.NODE_ENV!=="production"?s.dep.notify({type:"add",target:e,key:i,newValue:t,oldValue:void 0}):s.dep.notify(),t):(e[i]=t,t)}function _a(e,i){if(process.env.NODE_ENV!=="production"&&(te(e)||Ct(e))&&R("Cannot delete reactive property on undefined, null, or primitive value: ".concat(e)),ne(e)&&ha(i)){e.splice(i,1);return}var t=e.__ob__;if(e._isVue||t&&t.vmCount){process.env.NODE_ENV!=="production"&&R("Avoid deleting properties on a Vue instance or its root $data - just set it to null.");return}if(Pn(e)){process.env.NODE_ENV!=="production"&&R('Delete operation on key "'.concat(i,'" failed: target is readonly.'));return}!De(e,i)||(delete e[i],t&&(process.env.NODE_ENV!=="production"?t.dep.notify({type:"delete",target:e,key:i}):t.dep.notify()))}function Pa(e){for(var i=void 0,t=0,s=e.length;t<s;t++)i=e[t],i&&i.__ob__&&i.__ob__.dep.depend(),ne(i)&&Pa(i)}function Da(e){return tp(e,!0),Ot(e,"__v_isShallow",!0),e}function tp(e,i){if(!Pn(e)){if(process.env.NODE_ENV!=="production"){ne(e)&&R("Avoid using Array as root value for ".concat(i?"shallowReactive()":"reactive()"," as it cannot be tracked in watch() or watchEffect(). Use ").concat(i?"shallowRef()":"ref()"," instead. This is a Vue-2-only limitation."));var t=e&&e.__ob__;t&&t.shallow!==i&&R("Target is already a ".concat(t.shallow?"":"non-","shallow reactive object, and cannot be converted to ").concat(i?"":"non-","shallow."))}var s=wt(e,i,Yi());process.env.NODE_ENV!=="production"&&!s&&((e==null||Ct(e))&&R("value cannot be made reactive: ".concat(String(e))),ip(e)&&R("Vue 2 does not support reactive collection types such as Map or Set."))}}function Pn(e){return!!(e&&e.__v_isReadonly)}function ip(e){var i=Ki(e);return i==="Map"||i==="WeakMap"||i==="Set"||i==="WeakSet"}function mt(e){return!!(e&&e.__v_isRef===!0)}function Dn(e,i,t){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var s=i[t];if(mt(s))return s.value;var n=s&&s.__ob__;return n&&n.dep.depend(),s},set:function(s){var n=i[t];mt(n)&&!mt(s)?n.value=s:i[t]=s}})}var Ye,sp=function(){function e(i){i===void 0&&(i=!1),this.detached=i,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ye,!i&&Ye&&(this.index=(Ye.scopes||(Ye.scopes=[])).push(this)-1)}return e.prototype.run=function(i){if(this.active){var t=Ye;try{return Ye=this,i()}finally{Ye=t}}else process.env.NODE_ENV!=="production"&&R("cannot run an inactive effect scope.")},e.prototype.on=function(){Ye=this},e.prototype.off=function(){Ye=this.parent},e.prototype.stop=function(i){if(this.active){var t=void 0,s=void 0;for(t=0,s=this.effects.length;t<s;t++)this.effects[t].teardown();for(t=0,s=this.cleanups.length;t<s;t++)this.cleanups[t]();if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!i){var n=this.parent.scopes.pop();n&&n!==this&&(this.parent.scopes[this.index]=n,n.index=this.index)}this.parent=void 0,this.active=!1}},e}();function np(e,i){i===void 0&&(i=Ye),i&&i.active&&i.effects.push(e)}function rp(e){var i=e._provided,t=e.$parent&&e.$parent._provided;return t===i?e._provided=Object.create(t):i}var Oa=zt(function(e){var i=e.charAt(0)==="&";e=i?e.slice(1):e;var t=e.charAt(0)==="~";e=t?e.slice(1):e;var s=e.charAt(0)==="!";return e=s?e.slice(1):e,{name:e,once:t,capture:s,passive:i}});function On(e,i){function t(){var s=t.fns;if(ne(s))for(var n=s.slice(),r=0;r<n.length;r++)Ft(n[r],null,arguments,i,"v-on handler");else return Ft(s,null,arguments,i,"v-on handler")}return t.fns=e,t}function Ma(e,i,t,s,n,r){var a,o,l,p;for(a in e)o=e[a],l=i[a],p=Oa(a),te(o)?process.env.NODE_ENV!=="production"&&R('Invalid handler for event "'.concat(p.name,'": got ')+String(o),r):te(l)?(te(o.fns)&&(o=e[a]=On(o,r)),Ce(p.once)&&(o=e[a]=n(p.name,o,p.capture)),t(p.name,o,p.capture,p.passive,p.params)):o!==l&&(l.fns=o,e[a]=l);for(a in i)te(e[a])&&(p=Oa(a),s(p.name,i[a],p.capture))}function Rt(e,i,t){e instanceof qe&&(e=e.data.hook||(e.data.hook={}));var s,n=e[i];function r(){t.apply(this,arguments),Dt(s.fns,r)}te(n)?s=On([r]):b(n.fns)&&Ce(n.merged)?(s=n,s.fns.push(r)):s=On([n,r]),s.merged=!0,e[i]=s}function ap(e,i,t){var s=i.options.props;if(!te(s)){var n={},r=e.attrs,a=e.props;if(b(r)||b(a))for(var o in s){var l=Zt(o);if(process.env.NODE_ENV!=="production"){var p=o.toLowerCase();o!==p&&r&&De(r,p)&&Xn('Prop "'.concat(p,'" is passed to component ')+"".concat(si(t||i),", but the declared prop name is")+' "'.concat(o,'". ')+"Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM "+'templates. You should probably use "'.concat(l,'" instead of "').concat(o,'".'))}Ba(n,a,o,l,!0)||Ba(n,r,o,l,!1)}return n}}function Ba(e,i,t,s,n){if(b(i)){if(De(i,t))return e[t]=i[t],n||delete i[t],!0;if(De(i,s))return e[t]=i[s],n||delete i[s],!0}return!1}function op(e){for(var i=0;i<e.length;i++)if(ne(e[i]))return Array.prototype.concat.apply([],e);return e}function Mn(e){return Ct(e)?[Ei(e)]:ne(e)?Ra(e):void 0}function Zi(e){return b(e)&&b(e.text)&&Fu(e.isComment)}function Ra(e,i){var t=[],s,n,r,a;for(s=0;s<e.length;s++)n=e[s],!(te(n)||typeof n=="boolean")&&(r=t.length-1,a=t[r],ne(n)?n.length>0&&(n=Ra(n,"".concat(i||"","_").concat(s)),Zi(n[0])&&Zi(a)&&(t[r]=Ei(a.text+n[0].text),n.shift()),t.push.apply(t,n)):Ct(n)?Zi(a)?t[r]=Ei(a.text+n):n!==""&&t.push(Ei(n)):Zi(n)&&Zi(a)?t[r]=Ei(a.text+n.text):(Ce(e._isVList)&&b(n.tag)&&te(n.key)&&b(i)&&(n.key="__vlist".concat(i,"_").concat(s,"__")),t.push(n)));return t}function lp(e,i){var t=null,s,n,r,a;if(ne(e)||typeof e=="string")for(t=new Array(e.length),s=0,n=e.length;s<n;s++)t[s]=i(e[s],s);else if(typeof e=="number")for(t=new Array(e),s=0;s<e;s++)t[s]=i(s+1,s);else if(Pe(e))if(zi&&e[Symbol.iterator]){t=[];for(var o=e[Symbol.iterator](),l=o.next();!l.done;)t.push(i(l.value,t.length)),l=o.next()}else for(r=Object.keys(e),t=new Array(r.length),s=0,n=r.length;s<n;s++)a=r[s],t[s]=i(e[a],a,s);return b(t)||(t=[]),t._isVList=!0,t}function cp(e,i,t,s){var n=this.$scopedSlots[e],r;n?(t=t||{},s&&(process.env.NODE_ENV!=="production"&&!Pe(s)&&R("slot v-bind without argument expects an Object",this),t=ye(ye({},s),t)),r=n(t)||(ve(i)?i():i)):r=this.$slots[e]||(ve(i)?i():i);var a=t&&t.slot;return a?this.$createElement("template",{slot:a},r):r}function up(e){return Qs(this.$options,"filters",e,!0)||va}function La(e,i){return ne(e)?e.indexOf(i)===-1:e!==i}function pp(e,i,t,s,n){var r=me.keyCodes[i]||t;return n&&s&&!me.keyCodes[i]?La(n,s):r?La(r,e):s?Zt(s)!==i:e===void 0}function dp(e,i,t,s,n){if(t)if(!Pe(t))process.env.NODE_ENV!=="production"&&R("v-bind without argument expects an Object or Array value",this);else{ne(t)&&(t=ya(t));var r=void 0,a=function(l){if(l==="class"||l==="style"||fa(l))r=e;else{var p=e.attrs&&e.attrs.type;r=s||me.mustUseProp(i,p,l)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var h=Xt(l),m=Zt(l);if(!(h in r)&&!(m in r)&&(r[l]=t[l],n)){var A=e.on||(e.on={});A["update:".concat(l)]=function(k){t[l]=k}}};for(var o in t)a(o)}return e}function hp(e,i){var t=this._staticTrees||(this._staticTrees=[]),s=t[e];return s&&!i||(s=t[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),Fa(s,"__static__".concat(e),!1)),s}function fp(e,i,t){return Fa(e,"__once__".concat(i).concat(t?"_".concat(t):""),!0),e}function Fa(e,i,t){if(ne(e))for(var s=0;s<e.length;s++)e[s]&&typeof e[s]!="string"&&ja(e[s],"".concat(i,"_").concat(s),t);else ja(e,i,t)}function ja(e,i,t){e.isStatic=!0,e.key=i,e.isOnce=t}function mp(e,i){if(i)if(!je(i))process.env.NODE_ENV!=="production"&&R("v-on without argument expects an Object value",this);else{var t=e.on=e.on?ye({},e.on):{};for(var s in i){var n=t[s],r=i[s];t[s]=n?[].concat(n,r):r}}return e}function Va(e,i,t,s){i=i||{$stable:!t};for(var n=0;n<e.length;n++){var r=e[n];ne(r)?Va(r,i,t):r&&(r.proxy&&(r.fn.proxy=!0),i[r.key]=r.fn)}return s&&(i.$key=s),i}function gp(e,i){for(var t=0;t<i.length;t+=2){var s=i[t];typeof s=="string"&&s?e[i[t]]=i[t+1]:process.env.NODE_ENV!=="production"&&s!==""&&s!==null&&R("Invalid value for dynamic directive argument (expected string or null): ".concat(s),this)}return e}function yp(e,i){return typeof e=="string"?i+e:e}function Qa(e){e._o=fp,e._n=Wi,e._s=ju,e._l=lp,e._t=cp,e._q=$t,e._i=Aa,e._m=hp,e._f=up,e._k=pp,e._b=dp,e._v=Ei,e._e=ti,e._u=Va,e._g=mp,e._d=gp,e._p=yp}function Bn(e,i){if(!e||!e.length)return{};for(var t={},s=0,n=e.length;s<n;s++){var r=e[s],a=r.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,(r.context===i||r.fnContext===i)&&a&&a.slot!=null){var o=a.slot,l=t[o]||(t[o]=[]);r.tag==="template"?l.push.apply(l,r.children||[]):l.push(r)}else(t.default||(t.default=[])).push(r)}for(var p in t)t[p].every(vp)&&delete t[p];return t}function vp(e){return e.isComment&&!e.asyncFactory||e.text===" "}function $i(e){return e.isComment&&e.asyncFactory}function es(e,i,t,s){var n,r=Object.keys(t).length>0,a=i?!!i.$stable:!r,o=i&&i.$key;if(!i)n={};else{if(i._normalized)return i._normalized;if(a&&s&&s!==Fe&&o===s.$key&&!r&&!s.$hasNormal)return s;n={};for(var l in i)i[l]&&l[0]!=="$"&&(n[l]=Ap(e,t,l,i[l]))}for(var p in t)p in n||(n[p]=bp(t,p));return i&&Object.isExtensible(i)&&(i._normalized=n),Ot(n,"$stable",a),Ot(n,"$key",o),Ot(n,"$hasNormal",r),n}function Ap(e,i,t,s){var n=function(){var r=xi;Mt(e);var a=arguments.length?s.apply(null,arguments):s({});a=a&&typeof a=="object"&&!ne(a)?[a]:Mn(a);var o=a&&a[0];return Mt(r),a&&(!o||a.length===1&&o.isComment&&!$i(o))?void 0:a};return s.proxy&&Object.defineProperty(i,t,{get:n,enumerable:!0,configurable:!0}),n}function bp(e,i){return function(){return e[i]}}function Cp(e){var i=e.$options,t=i.setup;if(t){var s=e._setupContext=wp(e);Mt(e),Ti();var n=Ft(t,null,[e._props||Da({}),s],e,"setup");if(Ii(),Mt(),ve(n))i.render=n;else if(Pe(n))if(process.env.NODE_ENV!=="production"&&n instanceof qe&&R("setup() should not return VNodes directly - return a render function instead."),e._setupState=n,n.__sfc){var a=e._setupProxy={};for(var r in n)r!=="__sfc"&&Dn(a,n,r)}else for(var r in n)Tn(r)?process.env.NODE_ENV!=="production"&&R("Avoid using variables that start with _ or $ in setup()."):Dn(e,n,r);else process.env.NODE_ENV!=="production"&&n!==void 0&&R("setup() should return an object. Received: ".concat(n===null?"null":typeof n))}}function wp(e){var i=!1;return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};Ot(t,"_v_attr_proxy",!0),Os(t,e.$attrs,Fe,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};Os(t,e.$listeners,Fe,e,"$listeners")}return e._listenersProxy},get slots(){return Ep(e)},emit:ga(e.$emit,e),expose:function(t){process.env.NODE_ENV!=="production"&&(i&&R("expose() should be called only once per setup().",e),i=!0),t&&Object.keys(t).forEach(function(s){return Dn(e,t,s)})}}}function Os(e,i,t,s,n){var r=!1;for(var a in i)a in e?i[a]!==t[a]&&(r=!0):(r=!0,xp(e,a,s,n));for(var a in e)a in i||(r=!0,delete e[a]);return r}function xp(e,i,t,s){Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:function(){return t[s][i]}})}function Ep(e){return e._slotsProxy||Ua(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function Ua(e,i){for(var t in i)e[t]=i[t];for(var t in e)t in i||delete e[t]}function Tp(e){e._vnode=null,e._staticTrees=null;var i=e.$options,t=e.$vnode=i._parentVnode,s=t&&t.context;e.$slots=Bn(i._renderChildren,s),e.$scopedSlots=t?es(e.$parent,t.data.scopedSlots,e.$slots):Fe,e._c=function(r,a,o,l){return Ms(e,r,a,o,l,!1)},e.$createElement=function(r,a,o,l){return Ms(e,r,a,o,l,!0)};var n=t&&t.data;process.env.NODE_ENV!=="production"?(ct(e,"$attrs",n&&n.attrs||Fe,function(){!ss&&R("$attrs is readonly.",e)},!0),ct(e,"$listeners",i._parentListeners||Fe,function(){!ss&&R("$listeners is readonly.",e)},!0)):(ct(e,"$attrs",n&&n.attrs||Fe,null,!0),ct(e,"$listeners",i._parentListeners||Fe,null,!0))}var Rn=null;function Ip(e){Qa(e.prototype),e.prototype.$nextTick=function(i){return Qn(i,this)},e.prototype._render=function(){var i=this,t=i.$options,s=t.render,n=t._parentVnode;n&&i._isMounted&&(i.$scopedSlots=es(i.$parent,n.data.scopedSlots,i.$slots,i.$scopedSlots),i._slotsProxy&&Ua(i._slotsProxy,i.$scopedSlots)),i.$vnode=n;var r;try{Mt(i),Rn=i,r=s.call(i._renderProxy,i.$createElement)}catch(a){if(Lt(a,i,"render"),process.env.NODE_ENV!=="production"&&i.$options.renderError)try{r=i.$options.renderError.call(i._renderProxy,i.$createElement,a)}catch(o){Lt(o,i,"renderError"),r=i._vnode}else r=i._vnode}finally{Rn=null,Mt()}return ne(r)&&r.length===1&&(r=r[0]),r instanceof qe||(process.env.NODE_ENV!=="production"&&ne(r)&&R("Multiple root nodes returned from render function. Render function should return a single root node.",i),r=ti()),r.parent=n,r}}function Ln(e,i){return(e.__esModule||zi&&e[Symbol.toStringTag]==="Module")&&(e=e.default),Pe(e)?i.extend(e):e}function kp(e,i,t,s,n){var r=ti();return r.asyncFactory=e,r.asyncMeta={data:i,context:t,children:s,tag:n},r}function Np(e,i){if(Ce(e.error)&&b(e.errorComp))return e.errorComp;if(b(e.resolved))return e.resolved;var t=Rn;if(t&&b(e.owners)&&e.owners.indexOf(t)===-1&&e.owners.push(t),Ce(e.loading)&&b(e.loadingComp))return e.loadingComp;if(t&&!b(e.owners)){var s=e.owners=[t],n=!0,r=null,a=null;t.$on("hook:destroyed",function(){return Dt(s,t)});var o=function(m){for(var A=0,k=s.length;A<k;A++)s[A].$forceUpdate();m&&(s.length=0,r!==null&&(clearTimeout(r),r=null),a!==null&&(clearTimeout(a),a=null))},l=Ts(function(m){e.resolved=Ln(m,i),n?s.length=0:o(!0)}),p=Ts(function(m){process.env.NODE_ENV!=="production"&&R("Failed to resolve async component: ".concat(String(e))+(m?`
6
+ Reason: `.concat(m):"")),b(e.errorComp)&&(e.error=!0,o(!0))}),h=e(l,p);return Pe(h)&&(xn(h)?te(e.resolved)&&h.then(l,p):xn(h.component)&&(h.component.then(l,p),b(h.error)&&(e.errorComp=Ln(h.error,i)),b(h.loading)&&(e.loadingComp=Ln(h.loading,i),h.delay===0?e.loading=!0:r=setTimeout(function(){r=null,te(e.resolved)&&te(e.error)&&(e.loading=!0,o(!1))},h.delay||200)),b(h.timeout)&&(a=setTimeout(function(){a=null,te(e.resolved)&&p(process.env.NODE_ENV!=="production"?"timeout (".concat(h.timeout,"ms)"):null)},h.timeout)))),n=!1,e.loading?e.loadingComp:e.resolved}}function Ga(e){if(ne(e))for(var i=0;i<e.length;i++){var t=e[i];if(b(t)&&(b(t.componentOptions)||$i(t)))return t}}var Sp=1,qa=2;function Ms(e,i,t,s,n,r){return(ne(t)||Ct(t))&&(n=s,s=t,t=void 0),Ce(r)&&(n=qa),_p(e,i,t,s,n)}function _p(e,i,t,s,n){if(b(t)&&b(t.__ob__))return process.env.NODE_ENV!=="production"&&R("Avoid using observed data object as vnode data: ".concat(JSON.stringify(t),`
7
+ `)+"Always create fresh vnode data objects in each render!",e),ti();if(b(t)&&b(t.is)&&(i=t.is),!i)return ti();process.env.NODE_ENV!=="production"&&b(t)&&b(t.key)&&!Ct(t.key)&&R("Avoid using non-primitive value as key, use string/number value instead.",e),ne(s)&&ve(s[0])&&(t=t||{},t.scopedSlots={default:s[0]},s.length=0),n===qa?s=Mn(s):n===Sp&&(s=op(s));var r,a;if(typeof i=="string"){var o=void 0;a=e.$vnode&&e.$vnode.ns||me.getTagNamespace(i),me.isReservedTag(i)?(process.env.NODE_ENV!=="production"&&b(t)&&b(t.nativeOn)&&t.tag!=="component"&&R("The .native modifier for v-on is only valid on components but it was used on <".concat(i,">."),e),r=new qe(me.parsePlatformTagName(i),t,s,void 0,void 0,e)):(!t||!t.pre)&&b(o=Qs(e.$options,"components",i))?r=ao(o,t,e,s,i):r=new qe(i,t,s,void 0,void 0,e)}else r=ao(i,t,e,s);return ne(r)?r:b(r)?(b(a)&&Ja(r,a),b(t)&&Pp(t),r):ti()}function Ja(e,i,t){if(e.ns=i,e.tag==="foreignObject"&&(i=void 0,t=!0),b(e.children))for(var s=0,n=e.children.length;s<n;s++){var r=e.children[s];b(r.tag)&&(te(r.ns)||Ce(t)&&r.tag!=="svg")&&Ja(r,i,t)}}function Pp(e){Pe(e.style)&&Ls(e.style),Pe(e.class)&&Ls(e.class)}function Lt(e,i,t){Ti();try{if(i)for(var s=i;s=s.$parent;){var n=s.$options.errorCaptured;if(n)for(var r=0;r<n.length;r++)try{var a=n[r].call(s,e,i,t)===!1;if(a)return}catch(o){Ha(o,s,"errorCaptured hook")}}Ha(e,i,t)}finally{Ii()}}function Ft(e,i,t,s,n){var r;try{r=t?e.apply(i,t):e.call(i),r&&!r._isVue&&xn(r)&&!r._handled&&(r.catch(function(a){return Lt(a,s,n+" (Promise/async)")}),r._handled=!0)}catch(a){Lt(a,s,n)}return r}function Ha(e,i,t){if(me.errorHandler)try{return me.errorHandler.call(null,e,i,t)}catch(s){s!==e&&Ka(s,null,"config.errorHandler")}Ka(e,i,t)}function Ka(e,i,t){if(process.env.NODE_ENV!=="production"&&R("Error in ".concat(t,': "').concat(e.toString(),'"'),i),Ge&&typeof console<"u")console.error(e);else throw e}var Fn=!1,jn=[],Vn=!1;function Bs(){Vn=!1;var e=jn.slice(0);jn.length=0;for(var i=0;i<e.length;i++)e[i]()}var ts;if(typeof Promise<"u"&&ei(Promise)){var Dp=Promise.resolve();ts=function(){Dp.then(Bs),zu&&setTimeout(ke)},Fn=!0}else if(!Ci&&typeof MutationObserver<"u"&&(ei(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var Rs=1,Op=new MutationObserver(Bs),Wa=document.createTextNode(String(Rs));Op.observe(Wa,{characterData:!0}),ts=function(){Rs=(Rs+1)%2,Wa.data=String(Rs)},Fn=!0}else typeof setImmediate<"u"&&ei(setImmediate)?ts=function(){setImmediate(Bs)}:ts=function(){setTimeout(Bs,0)};function Qn(e,i){var t;if(jn.push(function(){if(e)try{e.call(i)}catch(s){Lt(s,i,"nextTick")}else t&&t(i)}),Vn||(Vn=!0,ts()),!e&&typeof Promise<"u")return new Promise(function(s){t=s})}var Mp="2.7.14";function Y0(e){return e}var Ya=new Xi;function Ls(e){return Fs(e,Ya),Ya.clear(),e}function Fs(e,i){var t,s,n=ne(e);if(!(!n&&!Pe(e)||e.__v_skip||Object.isFrozen(e)||e instanceof qe)){if(e.__ob__){var r=e.__ob__.dep.id;if(i.has(r))return;i.add(r)}if(n)for(t=e.length;t--;)Fs(e[t],i);else if(mt(e))Fs(e.value,i);else for(s=Object.keys(e),t=s.length;t--;)Fs(e[s[t]],i)}}var Bp=0,Un=function(){function e(i,t,s,n,r){np(this,Ye&&!Ye._vm?Ye:i?i._scope:void 0),(this.vm=i)&&r&&(i._watcher=this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before,process.env.NODE_ENV!=="production"&&(this.onTrack=n.onTrack,this.onTrigger=n.onTrigger)):this.deep=this.user=this.lazy=this.sync=!1,this.cb=s,this.id=++Bp,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Xi,this.newDepIds=new Xi,this.expression=process.env.NODE_ENV!=="production"?t.toString():"",ve(t)?this.getter=t:(this.getter=Wu(t),this.getter||(this.getter=ke,process.env.NODE_ENV!=="production"&&R('Failed watching path: "'.concat(t,'" ')+"Watcher only accepts simple dot-delimited paths. For full control, use a function instead.",i))),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){Ti(this);var i,t=this.vm;try{i=this.getter.call(t,t)}catch(s){if(this.user)Lt(s,t,'getter for watcher "'.concat(this.expression,'"'));else throw s}finally{this.deep&&Ls(i),Ii(),this.cleanupDeps()}return i},e.prototype.addDep=function(i){var t=i.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(i),this.depIds.has(t)||i.addSub(this))},e.prototype.cleanupDeps=function(){for(var i=this.deps.length;i--;){var t=this.deps[i];this.newDepIds.has(t.id)||t.removeSub(this)}var s=this.depIds;this.depIds=this.newDepIds,this.newDepIds=s,this.newDepIds.clear(),s=this.deps,this.deps=this.newDeps,this.newDeps=s,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Xp(this)},e.prototype.run=function(){if(this.active){var i=this.get();if(i!==this.value||Pe(i)||this.deep){var t=this.value;if(this.value=i,this.user){var s='callback for watcher "'.concat(this.expression,'"');Ft(this.cb,this.vm,[i,t],this.vm,s)}else this.cb.call(this.vm,i,t)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},e.prototype.depend=function(){for(var i=this.deps.length;i--;)this.deps[i].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Dt(this.vm._scope.effects,this),this.active){for(var i=this.deps.length;i--;)this.deps[i].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}(),gt,js;if(process.env.NODE_ENV!=="production"){var xt=Ge&&window.performance;xt&&xt.mark&&xt.measure&&xt.clearMarks&&xt.clearMeasures&&(gt=function(e){return xt.mark(e)},js=function(e,i,t){xt.measure(e,i,t),xt.clearMarks(i),xt.clearMarks(t)})}function Rp(e){e._events=Object.create(null),e._hasHookEvent=!1;var i=e.$options._parentListeners;i&&za(e,i)}var is;function Lp(e,i){is.$on(e,i)}function Fp(e,i){is.$off(e,i)}function jp(e,i){var t=is;return function s(){var n=i.apply(null,arguments);n!==null&&t.$off(e,s)}}function za(e,i,t){is=e,Ma(i,t||{},Lp,Fp,jp,e),is=void 0}function Vp(e){var i=/^hook:/;e.prototype.$on=function(t,s){var n=this;if(ne(t))for(var r=0,a=t.length;r<a;r++)n.$on(t[r],s);else(n._events[t]||(n._events[t]=[])).push(s),i.test(t)&&(n._hasHookEvent=!0);return n},e.prototype.$once=function(t,s){var n=this;function r(){n.$off(t,r),s.apply(n,arguments)}return r.fn=s,n.$on(t,r),n},e.prototype.$off=function(t,s){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(ne(t)){for(var r=0,a=t.length;r<a;r++)n.$off(t[r],s);return n}var o=n._events[t];if(!o)return n;if(!s)return n._events[t]=null,n;for(var l,p=o.length;p--;)if(l=o[p],l===s||l.fn===s){o.splice(p,1);break}return n},e.prototype.$emit=function(t){var s=this;if(process.env.NODE_ENV!=="production"){var n=t.toLowerCase();n!==t&&s._events[n]&&Xn('Event "'.concat(n,'" is emitted in component ')+"".concat(si(s),' but the handler is registered for "').concat(t,'". ')+"Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. "+'You should probably use "'.concat(Zt(t),'" instead of "').concat(t,'".'))}var r=s._events[t];if(r){r=r.length>1?En(r):r;for(var a=En(arguments,1),o='event handler for "'.concat(t,'"'),l=0,p=r.length;l<p;l++)Ft(r[l],s,a,s,o)}return s}}var ii=null,ss=!1;function Xa(e){var i=ii;return ii=e,function(){ii=i}}function Qp(e){var i=e.$options,t=i.parent;if(t&&!i.abstract){for(;t.$options.abstract&&t.$parent;)t=t.$parent;t.$children.push(e)}e.$parent=t,e.$root=t?t.$root:e,e.$children=[],e.$refs={},e._provided=t?t._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function Up(e){e.prototype._update=function(i,t){var s=this,n=s.$el,r=s._vnode,a=Xa(s);s._vnode=i,r?s.$el=s.__patch__(r,i):s.$el=s.__patch__(s.$el,i,t,!1),a(),n&&(n.__vue__=null),s.$el&&(s.$el.__vue__=s);for(var o=s;o&&o.$vnode&&o.$parent&&o.$vnode===o.$parent._vnode;)o.$parent.$el=o.$el,o=o.$parent},e.prototype.$forceUpdate=function(){var i=this;i._watcher&&i._watcher.update()},e.prototype.$destroy=function(){var i=this;if(!i._isBeingDestroyed){ze(i,"beforeDestroy"),i._isBeingDestroyed=!0;var t=i.$parent;t&&!t._isBeingDestroyed&&!i.$options.abstract&&Dt(t.$children,i),i._scope.stop(),i._data.__ob__&&i._data.__ob__.vmCount--,i._isDestroyed=!0,i.__patch__(i._vnode,null),ze(i,"destroyed"),i.$off(),i.$el&&(i.$el.__vue__=null),i.$vnode&&(i.$vnode.parent=null)}}}function Gp(e,i,t){e.$el=i,e.$options.render||(e.$options.render=ti,process.env.NODE_ENV!=="production"&&(e.$options.template&&e.$options.template.charAt(0)!=="#"||e.$options.el||i?R("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):R("Failed to mount component: template or render function not defined.",e))),ze(e,"beforeMount");var s;process.env.NODE_ENV!=="production"&&me.performance&&gt?s=function(){var o=e._name,l=e._uid,p="vue-perf-start:".concat(l),h="vue-perf-end:".concat(l);gt(p);var m=e._render();gt(h),js("vue ".concat(o," render"),p,h),gt(p),e._update(m,t),gt(h),js("vue ".concat(o," patch"),p,h)}:s=function(){e._update(e._render(),t)};var n={before:function(){e._isMounted&&!e._isDestroyed&&ze(e,"beforeUpdate")}};process.env.NODE_ENV!=="production"&&(n.onTrack=function(o){return ze(e,"renderTracked",[o])},n.onTrigger=function(o){return ze(e,"renderTriggered",[o])}),new Un(e,s,ke,n,!0),t=!1;var r=e._preWatchers;if(r)for(var a=0;a<r.length;a++)r[a].run();return e.$vnode==null&&(e._isMounted=!0,ze(e,"mounted")),e}function qp(e,i,t,s,n){process.env.NODE_ENV!=="production"&&(ss=!0);var r=s.data.scopedSlots,a=e.$scopedSlots,o=!!(r&&!r.$stable||a!==Fe&&!a.$stable||r&&e.$scopedSlots.$key!==r.$key||!r&&e.$scopedSlots.$key),l=!!(n||e.$options._renderChildren||o),p=e.$vnode;e.$options._parentVnode=s,e.$vnode=s,e._vnode&&(e._vnode.parent=s),e.$options._renderChildren=n;var h=s.data.attrs||Fe;e._attrsProxy&&Os(e._attrsProxy,h,p.data&&p.data.attrs||Fe,e,"$attrs")&&(l=!0),e.$attrs=h,t=t||Fe;var m=e.$options._parentListeners;if(e._listenersProxy&&Os(e._listenersProxy,t,m||Fe,e,"$listeners"),e.$listeners=e.$options._parentListeners=t,za(e,t,m),i&&e.$options.props){Bt(!1);for(var A=e._props,k=e.$options._propKeys||[],V=0;V<k.length;V++){var z=k[V],ie=e.$options.props;A[z]=tr(z,ie,i,e)}Bt(!0),e.$options.propsData=i}l&&(e.$slots=Bn(n,s.context),e.$forceUpdate()),process.env.NODE_ENV!=="production"&&(ss=!1)}function Za(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Gn(e,i){if(i){if(e._directInactive=!1,Za(e))return}else if(e._directInactive)return;if(e._inactive||e._inactive===null){e._inactive=!1;for(var t=0;t<e.$children.length;t++)Gn(e.$children[t]);ze(e,"activated")}}function $a(e,i){if(!(i&&(e._directInactive=!0,Za(e)))&&!e._inactive){e._inactive=!0;for(var t=0;t<e.$children.length;t++)$a(e.$children[t]);ze(e,"deactivated")}}function ze(e,i,t,s){s===void 0&&(s=!0),Ti();var n=xi;s&&Mt(e);var r=e.$options[i],a="".concat(i," hook");if(r)for(var o=0,l=r.length;o<l;o++)Ft(r[o],e,t||null,e,a);e._hasHookEvent&&e.$emit("hook:"+i),s&&Mt(n),Ii()}var Jp=100,Et=[],qn=[],ns={},Vs={},Jn=!1,Hn=!1,ki=0;function Hp(){ki=Et.length=qn.length=0,ns={},process.env.NODE_ENV!=="production"&&(Vs={}),Jn=Hn=!1}var eo=0,Kn=Date.now;if(Ge&&!Ci){var Wn=window.performance;Wn&&typeof Wn.now=="function"&&Kn()>document.createEvent("Event").timeStamp&&(Kn=function(){return Wn.now()})}var Kp=function(e,i){if(e.post){if(!i.post)return 1}else if(i.post)return-1;return e.id-i.id};function to(){eo=Kn(),Hn=!0;var e,i;for(Et.sort(Kp),ki=0;ki<Et.length;ki++)if(e=Et[ki],e.before&&e.before(),i=e.id,ns[i]=null,e.run(),process.env.NODE_ENV!=="production"&&ns[i]!=null&&(Vs[i]=(Vs[i]||0)+1,Vs[i]>Jp)){R("You may have an infinite update loop "+(e.user?'in watcher with expression "'.concat(e.expression,'"'):"in a component render function."),e.vm);break}var t=qn.slice(),s=Et.slice();Hp(),zp(t),Wp(s),Zu(),Ns&&me.devtools&&Ns.emit("flush")}function Wp(e){for(var i=e.length;i--;){var t=e[i],s=t.vm;s&&s._watcher===t&&s._isMounted&&!s._isDestroyed&&ze(s,"updated")}}function Yp(e){e._inactive=!1,qn.push(e)}function zp(e){for(var i=0;i<e.length;i++)e[i]._inactive=!0,Gn(e[i],!0)}function Xp(e){var i=e.id;if(ns[i]==null&&!(e===lt.target&&e.noRecurse)){if(ns[i]=!0,!Hn)Et.push(e);else{for(var t=Et.length-1;t>ki&&Et[t].id>e.id;)t--;Et.splice(t+1,0,e)}if(!Jn){if(Jn=!0,process.env.NODE_ENV!=="production"&&!me.async){to();return}Qn(to)}}}function Zp(e){var i=e.$options.provide;if(i){var t=ve(i)?i.call(e):i;if(!Pe(t))return;for(var s=rp(e),n=zi?Reflect.ownKeys(t):Object.keys(t),r=0;r<n.length;r++){var a=n[r];Object.defineProperty(s,a,Object.getOwnPropertyDescriptor(t,a))}}}function $p(e){var i=io(e.$options.inject,e);i&&(Bt(!1),Object.keys(i).forEach(function(t){process.env.NODE_ENV!=="production"?ct(e,t,i[t],function(){R("Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. "+'injection being mutated: "'.concat(t,'"'),e)}):ct(e,t,i[t])}),Bt(!0))}function io(e,i){if(e){for(var t=Object.create(null),s=zi?Reflect.ownKeys(e):Object.keys(e),n=0;n<s.length;n++){var r=s[n];if(r!=="__ob__"){var a=e[r].from;if(a in i._provided)t[r]=i._provided[a];else if("default"in e[r]){var o=e[r].default;t[r]=ve(o)?o.call(i):o}else process.env.NODE_ENV!=="production"&&R('Injection "'.concat(r,'" not found'),i)}}return t}}function Yn(e,i,t,s,n){var r=this,a=n.options,o;De(s,"_uid")?(o=Object.create(s),o._original=s):(o=s,s=s._original);var l=Ce(a._compiled),p=!l;this.data=e,this.props=i,this.children=t,this.parent=s,this.listeners=e.on||Fe,this.injections=io(a.inject,s),this.slots=function(){return r.$slots||es(s,e.scopedSlots,r.$slots=Bn(t,s)),r.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return es(s,e.scopedSlots,this.slots())}}),l&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=es(s,e.scopedSlots,this.$slots)),a._scopeId?this._c=function(h,m,A,k){var V=Ms(o,h,m,A,k,p);return V&&!ne(V)&&(V.fnScopeId=a._scopeId,V.fnContext=s),V}:this._c=function(h,m,A,k){return Ms(o,h,m,A,k,p)}}Qa(Yn.prototype);function ed(e,i,t,s,n){var r=e.options,a={},o=r.props;if(b(o))for(var l in o)a[l]=tr(l,o,i||Fe);else b(t.attrs)&&no(a,t.attrs),b(t.props)&&no(a,t.props);var p=new Yn(t,a,n,s,e),h=r.render.call(null,p._c,p);if(h instanceof qe)return so(h,t,p.parent,r,p);if(ne(h)){for(var m=Mn(h)||[],A=new Array(m.length),k=0;k<m.length;k++)A[k]=so(m[k],t,p.parent,r,p);return A}}function so(e,i,t,s,n){var r=Nn(e);return r.fnContext=t,r.fnOptions=s,process.env.NODE_ENV!=="production"&&((r.devtoolsMeta=r.devtoolsMeta||{}).renderContext=n),i.slot&&((r.data||(r.data={})).slot=i.slot),r}function no(e,i){for(var t in i)e[Xt(t)]=i[t]}function Ni(e){return e.name||e.__name||e._componentTag}var zn={init:function(e,i){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var t=e;zn.prepatch(t,t)}else{var s=e.componentInstance=td(e,ii);s.$mount(i?e.elm:void 0,i)}},prepatch:function(e,i){var t=i.componentOptions,s=i.componentInstance=e.componentInstance;qp(s,t.propsData,t.listeners,i,t.children)},insert:function(e){var i=e.context,t=e.componentInstance;t._isMounted||(t._isMounted=!0,ze(t,"mounted")),e.data.keepAlive&&(i._isMounted?Yp(t):Gn(t,!0))},destroy:function(e){var i=e.componentInstance;i._isDestroyed||(e.data.keepAlive?$a(i,!0):i.$destroy())}},ro=Object.keys(zn);function ao(e,i,t,s,n){if(!te(e)){var r=t.$options._base;if(Pe(e)&&(e=r.extend(e)),typeof e!="function"){process.env.NODE_ENV!=="production"&&R("Invalid Component definition: ".concat(String(e)),t);return}var a;if(te(e.cid)&&(a=e,e=Np(a,r),e===void 0))return kp(a,i,t,s,n);i=i||{},rr(e),b(i.model)&&nd(e.options,i);var o=ap(i,e,n);if(Ce(e.options.functional))return ed(e,o,i,t,s);var l=i.on;if(i.on=i.nativeOn,Ce(e.options.abstract)){var p=i.slot;i={},p&&(i.slot=p)}id(i);var h=Ni(e.options)||n,m=new qe("vue-component-".concat(e.cid).concat(h?"-".concat(h):""),i,void 0,void 0,void 0,t,{Ctor:e,propsData:o,listeners:l,tag:n,children:s},a);return m}}function td(e,i){var t={_isComponent:!0,_parentVnode:e,parent:i},s=e.data.inlineTemplate;return b(s)&&(t.render=s.render,t.staticRenderFns=s.staticRenderFns),new e.componentOptions.Ctor(t)}function id(e){for(var i=e.hook||(e.hook={}),t=0;t<ro.length;t++){var s=ro[t],n=i[s],r=zn[s];n!==r&&!(n&&n._merged)&&(i[s]=n?sd(r,n):r)}}function sd(e,i){var t=function(s,n){e(s,n),i(s,n)};return t._merged=!0,t}function nd(e,i){var t=e.model&&e.model.prop||"value",s=e.model&&e.model.event||"input";(i.attrs||(i.attrs={}))[t]=i.model.value;var n=i.on||(i.on={}),r=n[s],a=i.model.callback;b(r)?(ne(r)?r.indexOf(a)===-1:r!==a)&&(n[s]=[a].concat(r)):n[s]=a}var R=ke,Xn=ke,Zn,si;if(process.env.NODE_ENV!=="production"){var oo=typeof console<"u",rd=/(?:^|[-_])(\w)/g,ad=function(e){return e.replace(rd,function(i){return i.toUpperCase()}).replace(/[-_]/g,"")};R=function(e,i){i===void 0&&(i=xi);var t=i?Zn(i):"";me.warnHandler?me.warnHandler.call(null,e,i,t):oo&&!me.silent&&console.error("[Vue warn]: ".concat(e).concat(t))},Xn=function(e,i){oo&&!me.silent&&"[Vue tip]: ".concat(e)+(i?Zn(i):"")},si=function(e,i){if(e.$root===e)return"<Root>";var t=ve(e)&&e.cid!=null?e.options:e._isVue?e.$options||e.constructor.options:e,s=Ni(t),n=t.__file;if(!s&&n){var r=n.match(/([^/\\]+)\.vue$/);s=r&&r[1]}return(s?"<".concat(ad(s),">"):"<Anonymous>")+(n&&i!==!1?" at ".concat(n):"")};var od=function(e,i){for(var t="";i;)i%2===1&&(t+=e),i>1&&(e+=e),i>>=1;return t};Zn=function(e){if(e._isVue&&e.$parent){for(var i=[],t=0;e;){if(i.length>0){var s=i[i.length-1];if(s.constructor===e.constructor){t++,e=e.$parent;continue}else t>0&&(i[i.length-1]=[s,t],t=0)}i.push(e),e=e.$parent}return`
8
8
 
9
9
  found in
10
10
 
11
- `+i.map(function(n,r){return"".concat(r===0?"---> ":sd(" ",5+r*2)).concat(ne(n)?"".concat(ni(n[0]),"... (").concat(n[1]," recursive calls)"):ni(n))}).join(`
11
+ `+i.map(function(n,r){return"".concat(r===0?"---> ":od(" ",5+r*2)).concat(ne(n)?"".concat(si(n[0]),"... (").concat(n[1]," recursive calls)"):si(n))}).join(`
12
12
  `)}else return`
13
13
 
14
- (found in `.concat(ni(e),")")}}var tt=pe.optionMergeStrategies;process.env.NODE_ENV!=="production"&&(tt.el=tt.propsData=function(e,i,t,s){return t||B('option "'.concat(s,'" can only be used during instance ')+"creation with the `new` keyword."),lo(e,i)});function ns(e,i,t){if(t===void 0&&(t=!0),!i)return e;for(var s,n,r,a=zi?Reflect.ownKeys(i):Object.keys(i),o=0;o<a.length;o++)s=a[o],s!=="__ob__"&&(n=e[s],r=i[s],!t||!Pe(e,s)?Nn(e,s,r):n!==r&&Fe(n)&&Fe(r)&&ns(n,r));return e}function oo(e,i,t){return t?function(){var n=ge(i)?i.call(t,t):i,r=ge(e)?e.call(t,t):e;return n?ns(n,r):r}:i?e?function(){return ns(ge(i)?i.call(this,this):i,ge(e)?e.call(this,this):e)}:i:e}tt.data=function(e,i,t){return t?oo(e,i,t):i&&typeof i!="function"?(process.env.NODE_ENV!=="production"&&B('The "data" option should be a function that returns a per-instance value in component definitions.',t),e):oo(e,i)};function nd(e,i){var t=i?e?e.concat(i):ne(i)?i:[i]:e;return t&&rd(t)}function rd(e){for(var i=[],t=0;t<e.length;t++)i.indexOf(e[t])===-1&&i.push(e[t]);return i}ba.forEach(function(e){tt[e]=nd});function ad(e,i,t,s){var n=Object.create(e||null);return i?(process.env.NODE_ENV!=="production"&&Xn(s,i,t),fe(n,i)):n}Ts.forEach(function(e){tt[e+"s"]=ad}),tt.watch=function(e,i,t,s){if(e===Tn&&(e=void 0),i===Tn&&(i=void 0),!i)return Object.create(e||null);if(process.env.NODE_ENV!=="production"&&Xn(s,i,t),!e)return i;var n={};fe(n,e);for(var r in i){var a=n[r],o=i[r];a&&!ne(a)&&(a=[a]),n[r]=a?a.concat(o):ne(o)?o:[o]}return n},tt.props=tt.methods=tt.inject=tt.computed=function(e,i,t,s){if(i&&process.env.NODE_ENV!=="production"&&Xn(s,i,t),!e)return i;var n=Object.create(null);return fe(n,e),i&&fe(n,i),n},tt.provide=function(e,i){return e?function(){var t=Object.create(null);return ns(t,ge(e)?e.call(this):e),i&&ns(t,ge(i)?i.call(this):i,!1),t}:i};var lo=function(e,i){return i===void 0?e:i};function od(e){for(var i in e.components)Zn(i)}function Zn(e){new RegExp("^[a-zA-Z][\\-\\.0-9_".concat(Ca.source,"]*$")).test(e)||B('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(Ru(e)||pe.isReservedTag(e))&&B("Do not use built-in or reserved HTML elements as component id: "+e)}function ld(e,i){var t=e.props;if(!!t){var s={},n,r,a;if(ne(t))for(n=t.length;n--;)r=t[n],typeof r=="string"?(a=Xt(r),s[a]={type:null}):process.env.NODE_ENV!=="production"&&B("props must be strings when using array syntax.");else if(Fe(t))for(var o in t)r=t[o],a=Xt(o),s[a]=Fe(r)?r:{type:r};else process.env.NODE_ENV!=="production"&&B('Invalid value for option "props": expected an Array or an Object, '+"but got ".concat(Hi(t),"."),i);e.props=s}}function cd(e,i){var t=e.inject;if(!!t){var s=e.inject={};if(ne(t))for(var n=0;n<t.length;n++)s[t[n]]={from:t[n]};else if(Fe(t))for(var r in t){var a=t[r];s[r]=Fe(a)?fe({from:r},a):{from:a}}else process.env.NODE_ENV!=="production"&&B('Invalid value for option "inject": expected an Array or an Object, '+"but got ".concat(Hi(t),"."),i)}}function ud(e){var i=e.directives;if(i)for(var t in i){var s=i[t];ge(s)&&(i[t]={bind:s,update:s})}}function Xn(e,i,t){Fe(i)||B('Invalid value for option "'.concat(e,'": expected an Object, ')+"but got ".concat(Hi(i),"."),t)}function ri(e,i,t){if(process.env.NODE_ENV!=="production"&&od(i),ge(i)&&(i=i.options),ld(i,t),cd(i,t),ud(i),!i._base&&(i.extends&&(e=ri(e,i.extends,t)),i.mixins))for(var s=0,n=i.mixins.length;s<n;s++)e=ri(e,i.mixins[s],t);var r={},a;for(a in e)o(a);for(a in i)Pe(e,a)||o(a);function o(l){var p=tt[l]||lo;r[l]=p(e[l],i[l],t,l)}return r}function Vs(e,i,t,s){if(typeof t=="string"){var n=e[i];if(Pe(n,t))return n[t];var r=Xt(t);if(Pe(n,r))return n[r];var a=fa(r);if(Pe(n,a))return n[a];var o=n[t]||n[r]||n[a];return process.env.NODE_ENV!=="production"&&s&&!o&&B("Failed to resolve "+i.slice(0,-1)+": "+t),o}}function $n(e,i,t,s){var n=i[e],r=!Pe(t,e),a=t[e],o=uo(Boolean,n.type);if(o>-1){if(r&&!Pe(n,"default"))a=!1;else if(a===""||a===$t(e)){var l=uo(String,n.type);(l<0||o<l)&&(a=!0)}}if(a===void 0){a=pd(s,n,e);var p=kn;Lt(!0),wt(a),Lt(p)}return process.env.NODE_ENV!=="production"&&dd(n,e,a,s,r),a}function pd(e,i,t){if(!!Pe(i,"default")){var s=i.default;return process.env.NODE_ENV!=="production"&&_e(s)&&B('Invalid default value for prop "'+t+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&e.$options.propsData[t]===void 0&&e._props[t]!==void 0?e._props[t]:ge(s)&&Qs(i.type)!=="Function"?s.call(e):s}}function dd(e,i,t,s,n){if(e.required&&n){B('Missing required prop: "'+i+'"',s);return}if(!(t==null&&!e.required)){var r=e.type,a=!r||r===!0,o=[];if(r){ne(r)||(r=[r]);for(var l=0;l<r.length&&!a;l++){var p=fd(t,r[l],s);o.push(p.expectedType||""),a=p.valid}}var h=o.some(function(C){return C});if(!a&&h){B(gd(i,t,o),s);return}var g=e.validator;g&&(g(t)||B('Invalid prop: custom validator check failed for prop "'+i+'".',s))}}var hd=/^(String|Number|Boolean|Function|Symbol|BigInt)$/;function fd(e,i,t){var s,n=Qs(i);if(hd.test(n)){var r=typeof e;s=r===n.toLowerCase(),!s&&r==="object"&&(s=e instanceof i)}else if(n==="Object")s=Fe(e);else if(n==="Array")s=ne(e);else try{s=e instanceof i}catch{B('Invalid prop type: "'+String(i)+'" is not a constructor',t),s=!1}return{valid:s,expectedType:n}}var md=/^\s*function (\w+)/;function Qs(e){var i=e&&e.toString().match(md);return i?i[1]:""}function co(e,i){return Qs(e)===Qs(i)}function uo(e,i){if(!ne(i))return co(i,e)?0:-1;for(var t=0,s=i.length;t<s;t++)if(co(i[t],e))return t;return-1}function gd(e,i,t){var s='Invalid prop: type check failed for prop "'.concat(e,'".')+" Expected ".concat(t.map(fa).join(", ")),n=t[0],r=Hi(i);return t.length===1&&er(n)&&er(typeof i)&&!vd(n,r)&&(s+=" with value ".concat(po(i,n))),s+=", got ".concat(r," "),er(r)&&(s+="with value ".concat(po(i,r),".")),s}function po(e,i){return i==="String"?'"'.concat(e,'"'):i==="Number"?"".concat(Number(e)):"".concat(e)}var yd=["string","number","boolean"];function er(e){return yd.some(function(i){return e.toLowerCase()===i})}function vd(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return e.some(function(t){return t.toLowerCase()==="boolean"})}var ho;if(process.env.NODE_ENV!=="production"){var Ad=He("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,require"),fo=function(e,i){B('Property or method "'.concat(i,'" is not defined on the instance but ')+"referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://v2.vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.",e)},mo=function(e,i){B('Property "'.concat(i,'" must be accessed with "$data.').concat(i,'" because ')+'properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://v2.vuejs.org/v2/api/#data',e)},go=typeof Proxy<"u"&&ti(Proxy);if(go){var bd=He("stop,prevent,self,ctrl,shift,alt,meta,exact");pe.keyCodes=new Proxy(pe.keyCodes,{set:function(e,i,t){return bd(i)?(B("Avoid overwriting built-in modifier in config.keyCodes: .".concat(i)),!1):(e[i]=t,!0)}})}var Cd={has:function(e,i){var t=i in e,s=Ad(i)||typeof i=="string"&&i.charAt(0)==="_"&&!(i in e.$data);return!t&&!s&&(i in e.$data?mo(e,i):fo(e,i)),t||!s}},wd={get:function(e,i){return typeof i=="string"&&!(i in e)&&(i in e.$data?mo(e,i):fo(e,i)),e[i]}};ho=function(i){if(go){var t=i.$options,s=t.render&&t.render._withStripped?wd:Cd;i._renderProxy=new Proxy(i,s)}else i._renderProxy=i}}var mt={enumerable:!0,configurable:!0,get:Te,set:Te};function tr(e,i,t){mt.get=function(){return this[i][t]},mt.set=function(n){this[i][t]=n},Object.defineProperty(e,t,mt)}function xd(e){var i=e.$options;if(i.props&&Ed(e,i.props),yp(e),i.methods&&Sd(e,i.methods),i.data)Td(e);else{var t=wt(e._data={});t&&t.vmCount++}i.computed&&Nd(e,i.computed),i.watch&&i.watch!==Tn&&_d(e,i.watch)}function Ed(e,i){var t=e.$options.propsData||{},s=e._props=Pa({}),n=e.$options._propKeys=[],r=!e.$parent;r||Lt(!1);var a=function(l){n.push(l);var p=$n(l,i,t,e);if(process.env.NODE_ENV!=="production"){var h=$t(l);(ha(h)||pe.isReservedAttr(h))&&B('"'.concat(h,'" is a reserved attribute and cannot be used as component prop.'),e),lt(s,l,p,function(){!r&&!is&&B("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's "+'value. Prop being mutated: "'.concat(l,'"'),e)})}else lt(s,l,p);l in e||tr(e,"_props",l)};for(var o in i)a(o);Lt(!0)}function Td(e){var i=e.$options.data;i=e._data=ge(i)?Id(i,e):i||{},Fe(i)||(i={},process.env.NODE_ENV!=="production"&&B(`data functions should return an object:
15
- https://v2.vuejs.org/v2/guide/components.html#data-Must-Be-a-Function`,e));for(var t=Object.keys(i),s=e.$options.props,n=e.$options.methods,r=t.length;r--;){var a=t[r];process.env.NODE_ENV!=="production"&&n&&Pe(n,a)&&B('Method "'.concat(a,'" has already been defined as a data property.'),e),s&&Pe(s,a)?process.env.NODE_ENV!=="production"&&B('The data property "'.concat(a,'" is already declared as a prop. ')+"Use prop default value instead.",e):xn(a)||tr(e,"_data",a)}var o=wt(i);o&&o.vmCount++}function Id(e,i){Ti();try{return e.call(i,i)}catch(t){return jt(t,i,"data()"),{}}finally{Ii()}}var kd={lazy:!0};function Nd(e,i){var t=e._computedWatchers=Object.create(null),s=Wi();for(var n in i){var r=i[n],a=ge(r)?r:r.get;process.env.NODE_ENV!=="production"&&a==null&&B('Getter is missing for computed property "'.concat(n,'".'),e),s||(t[n]=new Vn(e,a||Te,Te,kd)),n in e?process.env.NODE_ENV!=="production"&&(n in e.$data?B('The computed property "'.concat(n,'" is already defined in data.'),e):e.$options.props&&n in e.$options.props?B('The computed property "'.concat(n,'" is already defined as a prop.'),e):e.$options.methods&&n in e.$options.methods&&B('The computed property "'.concat(n,'" is already defined as a method.'),e)):yo(e,n,r)}}function yo(e,i,t){var s=!Wi();ge(t)?(mt.get=s?vo(i):Ao(t),mt.set=Te):(mt.get=t.get?s&&t.cache!==!1?vo(i):Ao(t.get):Te,mt.set=t.set||Te),process.env.NODE_ENV!=="production"&&mt.set===Te&&(mt.set=function(){B('Computed property "'.concat(i,'" was assigned to but it has no setter.'),this)}),Object.defineProperty(e,i,mt)}function vo(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ot.target&&(process.env.NODE_ENV!=="production"&&ot.target.onTrack&&ot.target.onTrack({effect:ot.target,target:this,type:"get",key:e}),t.depend()),t.value}}function Ao(e){return function(){return e.call(this,this)}}function Sd(e,i){var t=e.$options.props;for(var s in i)process.env.NODE_ENV!=="production"&&(typeof i[s]!="function"&&B('Method "'.concat(s,'" has type "').concat(typeof i[s],'" in the component definition. ')+"Did you reference the function correctly?",e),t&&Pe(t,s)&&B('Method "'.concat(s,'" has already been defined as a prop.'),e),s in e&&xn(s)&&B('Method "'.concat(s,'" conflicts with an existing Vue instance method. ')+"Avoid defining component methods that start with _ or $.")),e[s]=typeof i[s]!="function"?Te:ma(i[s],e)}function _d(e,i){for(var t in i){var s=i[t];if(ne(s))for(var n=0;n<s.length;n++)ir(e,t,s[n]);else ir(e,t,s)}}function ir(e,i,t,s){return Fe(t)&&(s=t,t=t.handler),typeof t=="string"&&(t=e[t]),e.$watch(i,t,s)}function Pd(e){var i={};i.get=function(){return this._data};var t={};t.get=function(){return this._props},process.env.NODE_ENV!=="production"&&(i.set=function(){B("Avoid replacing instance root $data. Use nested data properties instead.",this)},t.set=function(){B("$props is readonly.",this)}),Object.defineProperty(e.prototype,"$data",i),Object.defineProperty(e.prototype,"$props",t),e.prototype.$set=Nn,e.prototype.$delete=Sa,e.prototype.$watch=function(s,n,r){var a=this;if(Fe(n))return ir(a,s,n,r);r=r||{},r.user=!0;var o=new Vn(a,s,n,r);if(r.immediate){var l='callback for immediate watcher "'.concat(o.expression,'"');Ti(),Vt(n,a,[o.value],a,l),Ii()}return function(){o.teardown()}}}var Dd=0;function Md(e){e.prototype._init=function(i){var t=this;t._uid=Dd++;var s,n;process.env.NODE_ENV!=="production"&&pe.performance&&ft&&(s="vue-perf-start:".concat(t._uid),n="vue-perf-end:".concat(t._uid),ft(s)),t._isVue=!0,t.__v_skip=!0,t._scope=new $u(!0),t._scope._vm=!0,i&&i._isComponent?Od(t,i):t.$options=ri(sr(t.constructor),i||{},t),process.env.NODE_ENV!=="production"?ho(t):t._renderProxy=t,t._self=t,Lp(t),Dp(t),Cp(t),We(t,"beforeCreate",void 0,!1),zp(t),xd(t),Wp(t),We(t,"created"),process.env.NODE_ENV!=="production"&&pe.performance&&ft&&(t._name=ni(t,!1),ft(n),Fs("vue ".concat(t._name," init"),s,n)),t.$options.el&&t.$mount(t.$options.el)}}function Od(e,i){var t=e.$options=Object.create(e.constructor.options),s=i._parentVnode;t.parent=i.parent,t._parentVnode=s;var n=s.componentOptions;t.propsData=n.propsData,t._parentListeners=n.listeners,t._renderChildren=n.children,t._componentTag=n.tag,i.render&&(t.render=i.render,t.staticRenderFns=i.staticRenderFns)}function sr(e){var i=e.options;if(e.super){var t=sr(e.super),s=e.superOptions;if(t!==s){e.superOptions=t;var n=Bd(e);n&&fe(e.extendOptions,n),i=e.options=ri(t,e.extendOptions),i.name&&(i.components[i.name]=e)}}return i}function Bd(e){var i,t=e.options,s=e.sealedOptions;for(var n in t)t[n]!==s[n]&&(i||(i={}),i[n]=t[n]);return i}function Ce(e){process.env.NODE_ENV!=="production"&&!(this instanceof Ce)&&B("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}Md(Ce),Pd(Ce),Rp(Ce),Fp(Ce),wp(Ce);function Rd(e){e.use=function(i){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(i)>-1)return this;var s=wn(arguments,1);return s.unshift(this),ge(i.install)?i.install.apply(i,s):ge(i)&&i.apply(null,s),t.push(i),this}}function Ld(e){e.mixin=function(i){return this.options=ri(this.options,i),this}}function Fd(e){e.cid=0;var i=1;e.extend=function(t){t=t||{};var s=this,n=s.cid,r=t._Ctor||(t._Ctor={});if(r[n])return r[n];var a=Ni(t)||Ni(s.options);process.env.NODE_ENV!=="production"&&a&&Zn(a);var o=function(p){this._init(p)};return o.prototype=Object.create(s.prototype),o.prototype.constructor=o,o.cid=i++,o.options=ri(s.options,t),o.super=s,o.options.props&&jd(o),o.options.computed&&Vd(o),o.extend=s.extend,o.mixin=s.mixin,o.use=s.use,Ts.forEach(function(l){o[l]=s[l]}),a&&(o.options.components[a]=o),o.superOptions=s.options,o.extendOptions=t,o.sealedOptions=fe({},o.options),r[n]=o,o}}function jd(e){var i=e.options.props;for(var t in i)tr(e.prototype,"_props",t)}function Vd(e){var i=e.options.computed;for(var t in i)yo(e.prototype,t,i[t])}function Qd(e){Ts.forEach(function(i){e[i]=function(t,s){return s?(process.env.NODE_ENV!=="production"&&i==="component"&&Zn(t),i==="component"&&Fe(s)&&(s.name=s.name||t,s=this.options._base.extend(s)),i==="directive"&&ge(s)&&(s={bind:s,update:s}),this.options[i+"s"][t]=s,s):this.options[i+"s"][t]}})}function bo(e){return e&&(Ni(e.Ctor.options)||e.tag)}function Us(e,i){return ne(e)?e.indexOf(i)>-1:typeof e=="string"?e.split(",").indexOf(i)>-1:pa(e)?e.test(i):!1}function Co(e,i){var t=e.cache,s=e.keys,n=e._vnode;for(var r in t){var a=t[r];if(a){var o=a.name;o&&!i(o)&&nr(t,r,s,n)}}}function nr(e,i,t,s){var n=e[i];n&&(!s||n.tag!==s.tag)&&n.componentInstance.$destroy(),e[i]=null,Ot(t,i)}var wo=[String,RegExp,Array],Ud={name:"keep-alive",abstract:!0,props:{include:wo,exclude:wo,max:[String,Number]},methods:{cacheVNode:function(){var e=this,i=e.cache,t=e.keys,s=e.vnodeToCache,n=e.keyToCache;if(s){var r=s.tag,a=s.componentInstance,o=s.componentOptions;i[n]={name:bo(o),tag:r,componentInstance:a},t.push(n),this.max&&t.length>parseInt(this.max)&&nr(i,t[0],t,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)nr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(i){Co(e,function(t){return Us(i,t)})}),this.$watch("exclude",function(i){Co(e,function(t){return!Us(i,t)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,i=Ua(e),t=i&&i.componentOptions;if(t){var s=bo(t),n=this,r=n.include,a=n.exclude;if(r&&(!s||!Us(r,s))||a&&s&&Us(a,s))return i;var o=this,l=o.cache,p=o.keys,h=i.key==null?t.Ctor.cid+(t.tag?"::".concat(t.tag):""):i.key;l[h]?(i.componentInstance=l[h].componentInstance,Ot(p,h),p.push(h)):(this.vnodeToCache=i,this.keyToCache=h),i.data.keepAlive=!0}return i||e&&e[0]}},Gd={KeepAlive:Ud};function qd(e){var i={};i.get=function(){return pe},process.env.NODE_ENV!=="production"&&(i.set=function(){B("Do not replace the Vue.config object, set individual fields instead.")}),Object.defineProperty(e,"config",i),e.util={warn:B,extend:fe,mergeOptions:ri,defineReactive:lt},e.set=Nn,e.delete=Sa,e.nextTick=jn,e.observable=function(t){return wt(t),t},e.options=Object.create(null),Ts.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,fe(e.options.components,Gd),Rd(e),Ld(e),Fd(e),Qd(e)}qd(Ce),Object.defineProperty(Ce.prototype,"$isServer",{get:Wi}),Object.defineProperty(Ce.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ce,"FunctionalRenderContext",{value:Kn}),Ce.version=_p;var Jd=He("style,class"),Hd=He("input,textarea,option,select,progress"),Kd=function(e,i,t){return t==="value"&&Hd(e)&&i!=="button"||t==="selected"&&e==="option"||t==="checked"&&e==="input"||t==="muted"&&e==="video"},xo=He("contenteditable,draggable,spellcheck"),Wd=He("events,caret,typing,plaintext-only"),zd=function(e,i){return Gs(i)||i==="false"?"false":e==="contenteditable"&&Wd(i)?i:"true"},Yd=He("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),rr="http://www.w3.org/1999/xlink",ar=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},Eo=function(e){return ar(e)?e.slice(6,e.length):""},Gs=function(e){return e==null||e===!1};function Zd(e){for(var i=e.data,t=e,s=e;b(s.componentInstance);)s=s.componentInstance._vnode,s&&s.data&&(i=To(s.data,i));for(;b(t=t.parent);)t&&t.data&&(i=To(i,t.data));return Xd(i.staticClass,i.class)}function To(e,i){return{staticClass:or(e.staticClass,i.staticClass),class:b(e.class)?[e.class,i.class]:i.class}}function Xd(e,i){return b(e)||b(i)?or(e,lr(i)):""}function or(e,i){return e?i?e+" "+i:e:i||""}function lr(e){return Array.isArray(e)?$d(e):_e(e)?eh(e):typeof e=="string"?e:""}function $d(e){for(var i="",t,s=0,n=e.length;s<n;s++)b(t=lr(e[s]))&&t!==""&&(i&&(i+=" "),i+=t);return i}function eh(e){var i="";for(var t in e)e[t]&&(i&&(i+=" "),i+=t);return i}var th={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ih=He("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),cr=He("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Io=function(e){return ih(e)||cr(e)};function sh(e){if(cr(e))return"svg";if(e==="math")return"math"}var qs=Object.create(null);function nh(e){if(!Ue)return!0;if(Io(e))return!1;if(e=e.toLowerCase(),qs[e]!=null)return qs[e];var i=document.createElement(e);return e.indexOf("-")>-1?qs[e]=i.constructor===window.HTMLUnknownElement||i.constructor===window.HTMLElement:qs[e]=/HTMLUnknownElement/.test(i.toString())}var ur=He("text,number,password,search,email,tel,url");function rh(e){if(typeof e=="string"){var i=document.querySelector(e);return i||(process.env.NODE_ENV!=="production"&&B("Cannot find element: "+e),document.createElement("div"))}else return e}function ah(e,i){var t=document.createElement(e);return e!=="select"||i.data&&i.data.attrs&&i.data.attrs.multiple!==void 0&&t.setAttribute("multiple","multiple"),t}function oh(e,i){return document.createElementNS(th[e],i)}function lh(e){return document.createTextNode(e)}function ch(e){return document.createComment(e)}function uh(e,i,t){e.insertBefore(i,t)}function ph(e,i){e.removeChild(i)}function dh(e,i){e.appendChild(i)}function hh(e){return e.parentNode}function fh(e){return e.nextSibling}function mh(e){return e.tagName}function gh(e,i){e.textContent=i}function yh(e,i){e.setAttribute(i,"")}var vh=Object.freeze({__proto__:null,createElement:ah,createElementNS:oh,createTextNode:lh,createComment:ch,insertBefore:uh,removeChild:ph,appendChild:dh,parentNode:hh,nextSibling:fh,tagName:mh,setTextContent:gh,setStyleScope:yh}),Ah={create:function(e,i){Si(i)},update:function(e,i){e.data.ref!==i.data.ref&&(Si(e,!0),Si(i))},destroy:function(e){Si(e,!0)}};function Si(e,i){var t=e.data.ref;if(!!b(t)){var s=e.context,n=e.componentInstance||e.elm,r=i?null:n,a=i?void 0:n;if(ge(t)){Vt(t,s,[r],s,"template ref function");return}var o=e.data.refInFor,l=typeof t=="string"||typeof t=="number",p=ht(t),h=s.$refs;if(l||p)if(o){var g=l?h[t]:t.value;i?ne(g)&&Ot(g,n):ne(g)?g.includes(n)||g.push(n):l?(h[t]=[n],ko(s,t,h[t])):t.value=[n]}else if(l){if(i&&h[t]!==n)return;h[t]=a,ko(s,t,r)}else if(p){if(i&&t.value!==n)return;t.value=r}else process.env.NODE_ENV!=="production"&&B("Invalid template ref type: ".concat(typeof t))}}function ko(e,i,t){var s=e._setupState;s&&Pe(s,i)&&(ht(s[i])?s[i].value=t:s[i]=t)}var Qt=new Ge("",{},[]),rs=["create","activate","update","remove","destroy"];function ai(e,i){return e.key===i.key&&e.asyncFactory===i.asyncFactory&&(e.tag===i.tag&&e.isComment===i.isComment&&b(e.data)===b(i.data)&&bh(e,i)||Ae(e.isAsyncPlaceholder)&&$(i.asyncFactory.error))}function bh(e,i){if(e.tag!=="input")return!0;var t,s=b(t=e.data)&&b(t=t.attrs)&&t.type,n=b(t=i.data)&&b(t=t.attrs)&&t.type;return s===n||ur(s)&&ur(n)}function Ch(e,i,t){var s,n,r={};for(s=i;s<=t;++s)n=e[s].key,b(n)&&(r[n]=s);return r}function wh(e){var i,t,s={},n=e.modules,r=e.nodeOps;for(i=0;i<rs.length;++i)for(s[rs[i]]=[],t=0;t<n.length;++t)b(n[t][rs[i]])&&s[rs[i]].push(n[t][rs[i]]);function a(m){return new Ge(r.tagName(m).toLowerCase(),{},[],void 0,m)}function o(m,v){function T(){--T.listeners===0&&l(m)}return T.listeners=v,T}function l(m){var v=r.parentNode(m);b(v)&&r.removeChild(v,m)}function p(m,v){return!v&&!m.ns&&!(pe.ignoredElements.length&&pe.ignoredElements.some(function(T){return pa(T)?T.test(m.tag):T===m.tag}))&&pe.isUnknownElement(m.tag)}var h=0;function g(m,v,T,O,H,w,x){if(b(m.elm)&&b(w)&&(m=w[x]=In(m)),m.isRootInsert=!H,!C(m,v,T,O)){var N=m.data,K=m.children,ie=m.tag;b(ie)?(process.env.NODE_ENV!=="production"&&(N&&N.pre&&h++,p(m,h)&&B("Unknown custom element: <"+ie+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',m.context)),m.elm=m.ns?r.createElementNS(m.ns,ie):r.createElement(ie,m),P(m),re(m,K,v),b(N)&&Z(m,v),Q(T,m.elm,O),process.env.NODE_ENV!=="production"&&N&&N.pre&&h--):Ae(m.isComment)?(m.elm=r.createComment(m.text),Q(T,m.elm,O)):(m.elm=r.createTextNode(m.text),Q(T,m.elm,O))}}function C(m,v,T,O){var H=m.data;if(b(H)){var w=b(m.componentInstance)&&H.keepAlive;if(b(H=H.hook)&&b(H=H.init)&&H(m,!1),b(m.componentInstance))return k(m,v),Q(T,m.elm,O),Ae(w)&&J(m,v,T,O),!0}}function k(m,v){b(m.data.pendingInsert)&&(v.push.apply(v,m.data.pendingInsert),m.data.pendingInsert=null),m.elm=m.componentInstance.$el,se(m)?(Z(m,v),P(m)):(Si(m),v.push(m))}function J(m,v,T,O){for(var H,w=m;w.componentInstance;)if(w=w.componentInstance._vnode,b(H=w.data)&&b(H=H.transition)){for(H=0;H<s.activate.length;++H)s.activate[H](Qt,w);v.push(w);break}Q(T,m.elm,O)}function Q(m,v,T){b(m)&&(b(T)?r.parentNode(T)===m&&r.insertBefore(m,v,T):r.appendChild(m,v))}function re(m,v,T){if(ne(v)){process.env.NODE_ENV!=="production"&&R(v);for(var O=0;O<v.length;++O)g(v[O],T,m.elm,null,!0,v,O)}else Ct(m.text)&&r.appendChild(m.elm,r.createTextNode(String(m.text)))}function se(m){for(;m.componentInstance;)m=m.componentInstance._vnode;return b(m.tag)}function Z(m,v){for(var T=0;T<s.create.length;++T)s.create[T](Qt,m);i=m.data.hook,b(i)&&(b(i.create)&&i.create(Qt,m),b(i.insert)&&v.push(m))}function P(m){var v;if(b(v=m.fnScopeId))r.setStyleScope(m.elm,v);else for(var T=m;T;)b(v=T.context)&&b(v=v.$options._scopeId)&&r.setStyleScope(m.elm,v),T=T.parent;b(v=si)&&v!==m.context&&v!==m.fnContext&&b(v=v.$options._scopeId)&&r.setStyleScope(m.elm,v)}function A(m,v,T,O,H,w){for(;O<=H;++O)g(T[O],w,m,v,!1,T,O)}function S(m){var v,T,O=m.data;if(b(O))for(b(v=O.hook)&&b(v=v.destroy)&&v(m),v=0;v<s.destroy.length;++v)s.destroy[v](m);if(b(v=m.children))for(T=0;T<m.children.length;++T)S(m.children[T])}function D(m,v,T){for(;v<=T;++v){var O=m[v];b(O)&&(b(O.tag)?(U(O),S(O)):l(O.elm))}}function U(m,v){if(b(v)||b(m.data)){var T,O=s.remove.length+1;for(b(v)?v.listeners+=O:v=o(m.elm,O),b(T=m.componentInstance)&&b(T=T._vnode)&&b(T.data)&&U(T,v),T=0;T<s.remove.length;++T)s.remove[T](m,v);b(T=m.data.hook)&&b(T=T.remove)?T(m,v):v()}else l(m.elm)}function I(m,v,T,O,H){var w=0,x=0,N=v.length-1,K=v[0],ie=v[N],d=T.length-1,u=T[0],c=T[d],f,y,E,_,G=!H;for(process.env.NODE_ENV!=="production"&&R(T);w<=N&&x<=d;)$(K)?K=v[++w]:$(ie)?ie=v[--N]:ai(K,u)?(j(K,u,O,T,x),K=v[++w],u=T[++x]):ai(ie,c)?(j(ie,c,O,T,d),ie=v[--N],c=T[--d]):ai(K,c)?(j(K,c,O,T,d),G&&r.insertBefore(m,K.elm,r.nextSibling(ie.elm)),K=v[++w],c=T[--d]):ai(ie,u)?(j(ie,u,O,T,x),G&&r.insertBefore(m,ie.elm,K.elm),ie=v[--N],u=T[++x]):($(f)&&(f=Ch(v,w,N)),y=b(u.key)?f[u.key]:M(u,v,w,N),$(y)?g(u,O,m,K.elm,!1,T,x):(E=v[y],ai(E,u)?(j(E,u,O,T,x),v[y]=void 0,G&&r.insertBefore(m,E.elm,K.elm)):g(u,O,m,K.elm,!1,T,x)),u=T[++x]);w>N?(_=$(T[d+1])?null:T[d+1].elm,A(m,_,T,x,d,O)):x>d&&D(v,w,N)}function R(m){for(var v={},T=0;T<m.length;T++){var O=m[T],H=O.key;b(H)&&(v[H]?B("Duplicate keys detected: '".concat(H,"'. This may cause an update error."),O.context):v[H]=!0)}}function M(m,v,T,O){for(var H=T;H<O;H++){var w=v[H];if(b(w)&&ai(m,w))return H}}function j(m,v,T,O,H,w){if(m!==v){b(v.elm)&&b(O)&&(v=O[H]=In(v));var x=v.elm=m.elm;if(Ae(m.isAsyncPlaceholder)){b(v.asyncFactory.resolved)?Ne(m.elm,v,T):v.isAsyncPlaceholder=!0;return}if(Ae(v.isStatic)&&Ae(m.isStatic)&&v.key===m.key&&(Ae(v.isCloned)||Ae(v.isOnce))){v.componentInstance=m.componentInstance;return}var N,K=v.data;b(K)&&b(N=K.hook)&&b(N=N.prepatch)&&N(m,v);var ie=m.children,d=v.children;if(b(K)&&se(v)){for(N=0;N<s.update.length;++N)s.update[N](m,v);b(N=K.hook)&&b(N=N.update)&&N(m,v)}$(v.text)?b(ie)&&b(d)?ie!==d&&I(x,ie,d,T,w):b(d)?(process.env.NODE_ENV!=="production"&&R(d),b(m.text)&&r.setTextContent(x,""),A(x,null,d,0,d.length-1,T)):b(ie)?D(ie,0,ie.length-1):b(m.text)&&r.setTextContent(x,""):m.text!==v.text&&r.setTextContent(x,v.text),b(K)&&b(N=K.hook)&&b(N=N.postpatch)&&N(m,v)}}function L(m,v,T){if(Ae(T)&&b(m.parent))m.parent.data.pendingInsert=v;else for(var O=0;O<v.length;++O)v[O].data.hook.insert(v[O])}var V=!1,ee=He("attrs,class,staticClass,staticStyle,key");function Ne(m,v,T,O){var H,w=v.tag,x=v.data,N=v.children;if(O=O||x&&x.pre,v.elm=m,Ae(v.isComment)&&b(v.asyncFactory))return v.isAsyncPlaceholder=!0,!0;if(process.env.NODE_ENV!=="production"&&!le(m,v,O))return!1;if(b(x)&&(b(H=x.hook)&&b(H=H.init)&&H(v,!0),b(H=v.componentInstance)))return k(v,T),!0;if(b(w)){if(b(N))if(!m.hasChildNodes())re(v,N,T);else if(b(H=x)&&b(H=H.domProps)&&b(H=H.innerHTML)){if(H!==m.innerHTML)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!V&&(V=!0,m.innerHTML),!1}else{for(var K=!0,ie=m.firstChild,d=0;d<N.length;d++){if(!ie||!Ne(ie,N[d],T,O)){K=!1;break}ie=ie.nextSibling}if(!K||ie)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!V&&(V=!0,m.childNodes),!1}if(b(x)){var u=!1;for(var c in x)if(!ee(c)){u=!0,Z(v,T);break}!u&&x.class&&Rs(x.class)}}else m.data!==v.text&&(m.data=v.text);return!0}function le(m,v,T){return b(v.tag)?v.tag.indexOf("vue-component")===0||!p(v,T)&&v.tag.toLowerCase()===(m.tagName&&m.tagName.toLowerCase()):m.nodeType===(v.isComment?8:3)}return function(v,T,O,H){if($(T)){b(v)&&S(v);return}var w=!1,x=[];if($(v))w=!0,g(T,x);else{var N=b(v.nodeType);if(!N&&ai(v,T))j(v,T,x,null,null,H);else{if(N){if(v.nodeType===1&&v.hasAttribute(Aa)&&(v.removeAttribute(Aa),O=!0),Ae(O)){if(Ne(v,T,x))return L(T,x,!0),v;process.env.NODE_ENV!=="production"&&B("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}v=a(v)}var K=v.elm,ie=r.parentNode(K);if(g(T,x,K._leaveCb?null:ie,r.nextSibling(K)),b(T.parent))for(var d=T.parent,u=se(T);d;){for(var c=0;c<s.destroy.length;++c)s.destroy[c](d);if(d.elm=T.elm,u){for(var f=0;f<s.create.length;++f)s.create[f](Qt,d);var y=d.data.hook.insert;if(y.merged)for(var E=1;E<y.fns.length;E++)y.fns[E]()}else Si(d);d=d.parent}b(ie)?D([v],0,0):b(v.tag)&&S(v)}}return L(T,x,w),T.elm}}var xh={create:pr,update:pr,destroy:function(i){pr(i,Qt)}};function pr(e,i){(e.data.directives||i.data.directives)&&Eh(e,i)}function Eh(e,i){var t=e===Qt,s=i===Qt,n=No(e.data.directives,e.context),r=No(i.data.directives,i.context),a=[],o=[],l,p,h;for(l in r)p=n[l],h=r[l],p?(h.oldValue=p.value,h.oldArg=p.arg,as(h,"update",i,e),h.def&&h.def.componentUpdated&&o.push(h)):(as(h,"bind",i,e),h.def&&h.def.inserted&&a.push(h));if(a.length){var g=function(){for(var C=0;C<a.length;C++)as(a[C],"inserted",i,e)};t?Ft(i,"insert",g):g()}if(o.length&&Ft(i,"postpatch",function(){for(var C=0;C<o.length;C++)as(o[C],"componentUpdated",i,e)}),!t)for(l in n)r[l]||as(n[l],"unbind",e,e,s)}var Th=Object.create(null);function No(e,i){var t=Object.create(null);if(!e)return t;var s,n;for(s=0;s<e.length;s++){if(n=e[s],n.modifiers||(n.modifiers=Th),t[Ih(n)]=n,i._setupState&&i._setupState.__sfc){var r=n.def||Vs(i,"_setupState","v-"+n.name);typeof r=="function"?n.def={bind:r,update:r}:n.def=r}n.def=n.def||Vs(i.$options,"directives",n.name,!0)}return t}function Ih(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function as(e,i,t,s,n){var r=e.def&&e.def[i];if(r)try{r(t.elm,e,t,s,n)}catch(a){jt(a,t.context,"directive ".concat(e.name," ").concat(i," hook"))}}var kh=[Ah,xh];function So(e,i){var t=i.componentOptions;if(!(b(t)&&t.Ctor.options.inheritAttrs===!1)&&!($(e.data.attrs)&&$(i.data.attrs))){var s,n,r,a=i.elm,o=e.data.attrs||{},l=i.data.attrs||{};(b(l.__ob__)||Ae(l._v_attr_proxy))&&(l=i.data.attrs=fe({},l));for(s in l)n=l[s],r=o[s],r!==n&&_o(a,s,n,i.data.pre);(Ci||En)&&l.value!==o.value&&_o(a,"value",l.value);for(s in o)$(l[s])&&(ar(s)?a.removeAttributeNS(rr,Eo(s)):xo(s)||a.removeAttribute(s))}}function _o(e,i,t,s){s||e.tagName.indexOf("-")>-1?Po(e,i,t):Yd(i)?Gs(t)?e.removeAttribute(i):(t=i==="allowfullscreen"&&e.tagName==="EMBED"?"true":i,e.setAttribute(i,t)):xo(i)?e.setAttribute(i,zd(i,t)):ar(i)?Gs(t)?e.removeAttributeNS(rr,Eo(i)):e.setAttributeNS(rr,i,t):Po(e,i,t)}function Po(e,i,t){if(Gs(t))e.removeAttribute(i);else{if(Ci&&!wi&&e.tagName==="TEXTAREA"&&i==="placeholder"&&t!==""&&!e.__ieph){var s=function(n){n.stopImmediatePropagation(),e.removeEventListener("input",s)};e.addEventListener("input",s),e.__ieph=!0}e.setAttribute(i,t)}}var Nh={create:So,update:So};function Do(e,i){var t=i.elm,s=i.data,n=e.data;if(!($(s.staticClass)&&$(s.class)&&($(n)||$(n.staticClass)&&$(n.class)))){var r=Zd(i),a=t._transitionClasses;b(a)&&(r=or(r,lr(a))),r!==t._prevClass&&(t.setAttribute("class",r),t._prevClass=r)}}var Sh={create:Do,update:Do},dr="__r",hr="__c";function _h(e){if(b(e[dr])){var i=Ci?"change":"input";e[i]=[].concat(e[dr],e[i]||[]),delete e[dr]}b(e[hr])&&(e.change=[].concat(e[hr],e.change||[]),delete e[hr])}var os;function Ph(e,i,t){var s=os;return function n(){var r=i.apply(null,arguments);r!==null&&Mo(e,n,t,s)}}var Dh=Rn&&!(wa&&Number(wa[1])<=53);function Mh(e,i,t,s){if(Dh){var n=$a,r=i;i=r._wrapper=function(a){if(a.target===a.currentTarget||a.timeStamp>=n||a.timeStamp<=0||a.target.ownerDocument!==document)return r.apply(this,arguments)}}os.addEventListener(e,i,xa?{capture:t,passive:s}:t)}function Mo(e,i,t,s){(s||os).removeEventListener(e,i._wrapper||i,t)}function fr(e,i){if(!($(e.data.on)&&$(i.data.on))){var t=i.data.on||{},s=e.data.on||{};os=i.elm||e.elm,_h(t),Ma(t,s,Mh,Mo,Ph,i.context),os=void 0}}var Oh={create:fr,update:fr,destroy:function(e){return fr(e,Qt)}},Js;function Oo(e,i){if(!($(e.data.domProps)&&$(i.data.domProps))){var t,s,n=i.elm,r=e.data.domProps||{},a=i.data.domProps||{};(b(a.__ob__)||Ae(a._v_attr_proxy))&&(a=i.data.domProps=fe({},a));for(t in r)t in a||(n[t]="");for(t in a){if(s=a[t],t==="textContent"||t==="innerHTML"){if(i.children&&(i.children.length=0),s===r[t])continue;n.childNodes.length===1&&n.removeChild(n.childNodes[0])}if(t==="value"&&n.tagName!=="PROGRESS"){n._value=s;var o=$(s)?"":String(s);Bh(n,o)&&(n.value=o)}else if(t==="innerHTML"&&cr(n.tagName)&&$(n.innerHTML)){Js=Js||document.createElement("div"),Js.innerHTML="<svg>".concat(s,"</svg>");for(var l=Js.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;l.firstChild;)n.appendChild(l.firstChild)}else if(s!==r[t])try{n[t]=s}catch{}}}}function Bh(e,i){return!e.composing&&(e.tagName==="OPTION"||Rh(e,i)||Lh(e,i))}function Rh(e,i){var t=!0;try{t=document.activeElement!==e}catch{}return t&&e.value!==i}function Lh(e,i){var t=e.value,s=e._vModifiers;if(b(s)){if(s.number)return Ki(t)!==Ki(i);if(s.trim)return t.trim()!==i.trim()}return t!==i}var Fh={create:Oo,update:Oo},jh=Zt(function(e){var i={},t=/;(?![^(]*\))/g,s=/:(.+)/;return e.split(t).forEach(function(n){if(n){var r=n.split(s);r.length>1&&(i[r[0].trim()]=r[1].trim())}}),i});function mr(e){var i=Bo(e.style);return e.staticStyle?fe(e.staticStyle,i):i}function Bo(e){return Array.isArray(e)?ga(e):typeof e=="string"?jh(e):e}function Vh(e,i){var t={},s;if(i)for(var n=e;n.componentInstance;)n=n.componentInstance._vnode,n&&n.data&&(s=mr(n.data))&&fe(t,s);(s=mr(e.data))&&fe(t,s);for(var r=e;r=r.parent;)r.data&&(s=mr(r.data))&&fe(t,s);return t}var Qh=/^--/,Ro=/\s*!important$/,Lo=function(e,i,t){if(Qh.test(i))e.style.setProperty(i,t);else if(Ro.test(t))e.style.setProperty($t(i),t.replace(Ro,""),"important");else{var s=Uh(i);if(Array.isArray(t))for(var n=0,r=t.length;n<r;n++)e.style[s]=t[n];else e.style[s]=t}},Fo=["Webkit","Moz","ms"],Hs,Uh=Zt(function(e){if(Hs=Hs||document.createElement("div").style,e=Xt(e),e!=="filter"&&e in Hs)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),t=0;t<Fo.length;t++){var s=Fo[t]+i;if(s in Hs)return s}});function jo(e,i){var t=i.data,s=e.data;if(!($(t.staticStyle)&&$(t.style)&&$(s.staticStyle)&&$(s.style))){var n,r,a=i.elm,o=s.staticStyle,l=s.normalizedStyle||s.style||{},p=o||l,h=Bo(i.data.style)||{};i.data.normalizedStyle=b(h.__ob__)?fe({},h):h;var g=Vh(i,!0);for(r in p)$(g[r])&&Lo(a,r,"");for(r in g)n=g[r],n!==p[r]&&Lo(a,r,n==null?"":n)}}var Gh={create:jo,update:jo},Vo=/\s+/;function Qo(e,i){if(!(!i||!(i=i.trim())))if(e.classList)i.indexOf(" ")>-1?i.split(Vo).forEach(function(s){return e.classList.add(s)}):e.classList.add(i);else{var t=" ".concat(e.getAttribute("class")||""," ");t.indexOf(" "+i+" ")<0&&e.setAttribute("class",(t+i).trim())}}function Uo(e,i){if(!(!i||!(i=i.trim())))if(e.classList)i.indexOf(" ")>-1?i.split(Vo).forEach(function(n){return e.classList.remove(n)}):e.classList.remove(i),e.classList.length||e.removeAttribute("class");else{for(var t=" ".concat(e.getAttribute("class")||""," "),s=" "+i+" ";t.indexOf(s)>=0;)t=t.replace(s," ");t=t.trim(),t?e.setAttribute("class",t):e.removeAttribute("class")}}function Go(e){if(!!e){if(typeof e=="object"){var i={};return e.css!==!1&&fe(i,qo(e.name||"v")),fe(i,e),i}else if(typeof e=="string")return qo(e)}}var qo=Zt(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),Jo=Ue&&!wi,_i="transition",gr="animation",Ks="transition",Ws="transitionend",yr="animation",Ho="animationend";Jo&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Ks="WebkitTransition",Ws="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(yr="WebkitAnimation",Ho="webkitAnimationEnd"));var Ko=Ue?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Wo(e){Ko(function(){Ko(e)})}function oi(e,i){var t=e._transitionClasses||(e._transitionClasses=[]);t.indexOf(i)<0&&(t.push(i),Qo(e,i))}function Tt(e,i){e._transitionClasses&&Ot(e._transitionClasses,i),Uo(e,i)}function zo(e,i,t){var s=Yo(e,i),n=s.type,r=s.timeout,a=s.propCount;if(!n)return t();var o=n===_i?Ws:Ho,l=0,p=function(){e.removeEventListener(o,h),t()},h=function(g){g.target===e&&++l>=a&&p()};setTimeout(function(){l<a&&p()},r+1),e.addEventListener(o,h)}var qh=/\b(transform|all)(,|$)/;function Yo(e,i){var t=window.getComputedStyle(e),s=(t[Ks+"Delay"]||"").split(", "),n=(t[Ks+"Duration"]||"").split(", "),r=Zo(s,n),a=(t[yr+"Delay"]||"").split(", "),o=(t[yr+"Duration"]||"").split(", "),l=Zo(a,o),p,h=0,g=0;i===_i?r>0&&(p=_i,h=r,g=n.length):i===gr?l>0&&(p=gr,h=l,g=o.length):(h=Math.max(r,l),p=h>0?r>l?_i:gr:null,g=p?p===_i?n.length:o.length:0);var C=p===_i&&qh.test(t[Ks+"Property"]);return{type:p,timeout:h,propCount:g,hasTransform:C}}function Zo(e,i){for(;e.length<i.length;)e=e.concat(e);return Math.max.apply(null,i.map(function(t,s){return Xo(t)+Xo(e[s])}))}function Xo(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function vr(e,i){var t=e.elm;b(t._leaveCb)&&(t._leaveCb.cancelled=!0,t._leaveCb());var s=Go(e.data.transition);if(!$(s)&&!(b(t._enterCb)||t.nodeType!==1)){for(var n=s.css,r=s.type,a=s.enterClass,o=s.enterToClass,l=s.enterActiveClass,p=s.appearClass,h=s.appearToClass,g=s.appearActiveClass,C=s.beforeEnter,k=s.enter,J=s.afterEnter,Q=s.enterCancelled,re=s.beforeAppear,se=s.appear,Z=s.afterAppear,P=s.appearCancelled,A=s.duration,S=si,D=si.$vnode;D&&D.parent;)S=D.context,D=D.parent;var U=!S._isMounted||!e.isRootInsert;if(!(U&&!se&&se!=="")){var I=U&&p?p:a,R=U&&g?g:l,M=U&&h?h:o,j=U&&re||C,L=U&&ge(se)?se:k,V=U&&Z||J,ee=U&&P||Q,Ne=Ki(_e(A)?A.enter:A);process.env.NODE_ENV!=="production"&&Ne!=null&&el(Ne,"enter",e);var le=n!==!1&&!wi,m=Ar(L),v=t._enterCb=Es(function(){le&&(Tt(t,M),Tt(t,R)),v.cancelled?(le&&Tt(t,I),ee&&ee(t)):V&&V(t),t._enterCb=null});e.data.show||Ft(e,"insert",function(){var T=t.parentNode,O=T&&T._pending&&T._pending[e.key];O&&O.tag===e.tag&&O.elm._leaveCb&&O.elm._leaveCb(),L&&L(t,v)}),j&&j(t),le&&(oi(t,I),oi(t,R),Wo(function(){Tt(t,I),v.cancelled||(oi(t,M),m||(tl(Ne)?setTimeout(v,Ne):zo(t,r,v)))})),e.data.show&&(i&&i(),L&&L(t,v)),!le&&!m&&v()}}}function $o(e,i){var t=e.elm;b(t._enterCb)&&(t._enterCb.cancelled=!0,t._enterCb());var s=Go(e.data.transition);if($(s)||t.nodeType!==1)return i();if(b(t._leaveCb))return;var n=s.css,r=s.type,a=s.leaveClass,o=s.leaveToClass,l=s.leaveActiveClass,p=s.beforeLeave,h=s.leave,g=s.afterLeave,C=s.leaveCancelled,k=s.delayLeave,J=s.duration,Q=n!==!1&&!wi,re=Ar(h),se=Ki(_e(J)?J.leave:J);process.env.NODE_ENV!=="production"&&b(se)&&el(se,"leave",e);var Z=t._leaveCb=Es(function(){t.parentNode&&t.parentNode._pending&&(t.parentNode._pending[e.key]=null),Q&&(Tt(t,o),Tt(t,l)),Z.cancelled?(Q&&Tt(t,a),C&&C(t)):(i(),g&&g(t)),t._leaveCb=null});k?k(P):P();function P(){Z.cancelled||(!e.data.show&&t.parentNode&&((t.parentNode._pending||(t.parentNode._pending={}))[e.key]=e),p&&p(t),Q&&(oi(t,a),oi(t,l),Wo(function(){Tt(t,a),Z.cancelled||(oi(t,o),re||(tl(se)?setTimeout(Z,se):zo(t,r,Z)))})),h&&h(t,Z),!Q&&!re&&Z())}}function el(e,i,t){typeof e!="number"?B("<transition> explicit ".concat(i," duration is not a valid number - ")+"got ".concat(JSON.stringify(e),"."),t.context):isNaN(e)&&B("<transition> explicit ".concat(i," duration is NaN - ")+"the duration expression might be incorrect.",t.context)}function tl(e){return typeof e=="number"&&!isNaN(e)}function Ar(e){if($(e))return!1;var i=e.fns;return b(i)?Ar(Array.isArray(i)?i[0]:i):(e._length||e.length)>1}function il(e,i){i.data.show!==!0&&vr(i)}var Jh=Ue?{create:il,activate:il,remove:function(e,i){e.data.show!==!0?$o(e,i):i()}}:{},Hh=[Nh,Sh,Oh,Fh,Gh,Jh],Kh=Hh.concat(kh),Wh=wh({nodeOps:vh,modules:Kh});wi&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&br(e,"input")});var sl={inserted:function(e,i,t,s){t.tag==="select"?(s.elm&&!s.elm._vOptions?Ft(t,"postpatch",function(){sl.componentUpdated(e,i,t)}):nl(e,i,t.context),e._vOptions=[].map.call(e.options,zs)):(t.tag==="textarea"||ur(e.type))&&(e._vModifiers=i.modifiers,i.modifiers.lazy||(e.addEventListener("compositionstart",zh),e.addEventListener("compositionend",ol),e.addEventListener("change",ol),wi&&(e.vmodel=!0)))},componentUpdated:function(e,i,t){if(t.tag==="select"){nl(e,i,t.context);var s=e._vOptions,n=e._vOptions=[].map.call(e.options,zs);if(n.some(function(a,o){return!ei(a,s[o])})){var r=e.multiple?i.value.some(function(a){return al(a,n)}):i.value!==i.oldValue&&al(i.value,n);r&&br(e,"change")}}}};function nl(e,i,t){rl(e,i,t),(Ci||En)&&setTimeout(function(){rl(e,i,t)},0)}function rl(e,i,t){var s=i.value,n=e.multiple;if(n&&!Array.isArray(s)){process.env.NODE_ENV!=="production"&&B('<select multiple v-model="'.concat(i.expression,'"> ')+"expects an Array value for its binding, but got ".concat(Object.prototype.toString.call(s).slice(8,-1)),t);return}for(var r,a,o=0,l=e.options.length;o<l;o++)if(a=e.options[o],n)r=va(s,zs(a))>-1,a.selected!==r&&(a.selected=r);else if(ei(zs(a),s)){e.selectedIndex!==o&&(e.selectedIndex=o);return}n||(e.selectedIndex=-1)}function al(e,i){return i.every(function(t){return!ei(t,e)})}function zs(e){return"_value"in e?e._value:e.value}function zh(e){e.target.composing=!0}function ol(e){!e.target.composing||(e.target.composing=!1,br(e.target,"input"))}function br(e,i){var t=document.createEvent("HTMLEvents");t.initEvent(i,!0,!0),e.dispatchEvent(t)}function Cr(e){return e.componentInstance&&(!e.data||!e.data.transition)?Cr(e.componentInstance._vnode):e}var Yh={bind:function(e,i,t){var s=i.value;t=Cr(t);var n=t.data&&t.data.transition,r=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;s&&n?(t.data.show=!0,vr(t,function(){e.style.display=r})):e.style.display=s?r:"none"},update:function(e,i,t){var s=i.value,n=i.oldValue;if(!s!=!n){t=Cr(t);var r=t.data&&t.data.transition;r?(t.data.show=!0,s?vr(t,function(){e.style.display=e.__vOriginalDisplay}):$o(t,function(){e.style.display="none"})):e.style.display=s?e.__vOriginalDisplay:"none"}},unbind:function(e,i,t,s,n){n||(e.style.display=e.__vOriginalDisplay)}},Zh={model:sl,show:Yh},ll={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function wr(e){var i=e&&e.componentOptions;return i&&i.Ctor.options.abstract?wr(Ua(i.children)):e}function cl(e){var i={},t=e.$options;for(var s in t.propsData)i[s]=e[s];var n=t._parentListeners;for(var s in n)i[Xt(s)]=n[s];return i}function ul(e,i){if(/\d-keep-alive$/.test(i.tag))return e("keep-alive",{props:i.componentOptions.propsData})}function Xh(e){for(;e=e.parent;)if(e.data.transition)return!0}function $h(e,i){return i.key===e.key&&i.tag===e.tag}var ef=function(e){return e.tag||Xi(e)},tf=function(e){return e.name==="show"},sf={name:"transition",props:ll,abstract:!0,render:function(e){var i=this,t=this.$slots.default;if(!!t&&(t=t.filter(ef),!!t.length)){process.env.NODE_ENV!=="production"&&t.length>1&&B("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var s=this.mode;process.env.NODE_ENV!=="production"&&s&&s!=="in-out"&&s!=="out-in"&&B("invalid <transition> mode: "+s,this.$parent);var n=t[0];if(Xh(this.$vnode))return n;var r=wr(n);if(!r)return n;if(this._leaving)return ul(e,n);var a="__transition-".concat(this._uid,"-");r.key=r.key==null?r.isComment?a+"comment":a+r.tag:Ct(r.key)?String(r.key).indexOf(a)===0?r.key:a+r.key:r.key;var o=(r.data||(r.data={})).transition=cl(this),l=this._vnode,p=wr(l);if(r.data.directives&&r.data.directives.some(tf)&&(r.data.show=!0),p&&p.data&&!$h(r,p)&&!Xi(p)&&!(p.componentInstance&&p.componentInstance._vnode.isComment)){var h=p.data.transition=fe({},o);if(s==="out-in")return this._leaving=!0,Ft(h,"afterLeave",function(){i._leaving=!1,i.$forceUpdate()}),ul(e,n);if(s==="in-out"){if(Xi(r))return l;var g,C=function(){g()};Ft(o,"afterEnter",C),Ft(o,"enterCancelled",C),Ft(h,"delayLeave",function(k){g=k})}}return n}}},pl=fe({tag:String,moveClass:String},ll);delete pl.mode;var nf={props:pl,beforeMount:function(){var e=this,i=this._update;this._update=function(t,s){var n=Ya(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,n(),i.call(e,t,s)}},render:function(e){for(var i=this.tag||this.$vnode.data.tag||"span",t=Object.create(null),s=this.prevChildren=this.children,n=this.$slots.default||[],r=this.children=[],a=cl(this),o=0;o<n.length;o++){var l=n[o];if(l.tag){if(l.key!=null&&String(l.key).indexOf("__vlist")!==0)r.push(l),t[l.key]=l,(l.data||(l.data={})).transition=a;else if(process.env.NODE_ENV!=="production"){var p=l.componentOptions,h=p?Ni(p.Ctor.options)||p.tag||"":l.tag;B("<transition-group> children must be keyed: <".concat(h,">"))}}}if(s){for(var g=[],C=[],o=0;o<s.length;o++){var l=s[o];l.data.transition=a,l.data.pos=l.elm.getBoundingClientRect(),t[l.key]?g.push(l):C.push(l)}this.kept=e(i,null,g),this.removed=C}return e(i,null,r)},updated:function(){var e=this.prevChildren,i=this.moveClass||(this.name||"v")+"-move";!e.length||!this.hasMove(e[0].elm,i)||(e.forEach(rf),e.forEach(af),e.forEach(of),this._reflow=document.body.offsetHeight,e.forEach(function(t){if(t.data.moved){var s=t.elm,n=s.style;oi(s,i),n.transform=n.WebkitTransform=n.transitionDuration="",s.addEventListener(Ws,s._moveCb=function r(a){a&&a.target!==s||(!a||/transform$/.test(a.propertyName))&&(s.removeEventListener(Ws,r),s._moveCb=null,Tt(s,i))})}}))},methods:{hasMove:function(e,i){if(!Jo)return!1;if(this._hasMove)return this._hasMove;var t=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(n){Uo(t,n)}),Qo(t,i),t.style.display="none",this.$el.appendChild(t);var s=Yo(t);return this.$el.removeChild(t),this._hasMove=s.hasTransform}}};function rf(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function af(e){e.data.newPos=e.elm.getBoundingClientRect()}function of(e){var i=e.data.pos,t=e.data.newPos,s=i.left-t.left,n=i.top-t.top;if(s||n){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate(".concat(s,"px,").concat(n,"px)"),r.transitionDuration="0s"}}var lf={Transition:sf,TransitionGroup:nf};Ce.config.mustUseProp=Kd,Ce.config.isReservedTag=Io,Ce.config.isReservedAttr=Jd,Ce.config.getTagNamespace=sh,Ce.config.isUnknownElement=nh,fe(Ce.options.directives,Zh),fe(Ce.options.components,lf),Ce.prototype.__patch__=Ue?Wh:Te,Ce.prototype.$mount=function(e,i){return e=e&&Ue?rh(e):void 0,jp(this,e,i)},Ue&&setTimeout(function(){pe.devtools&&(ks?ks.emit("init",Ce):process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&console[console.info?"info":"log"](`Download the Vue Devtools extension for a better development experience:
16
- https://github.com/vuejs/vue-devtools`)),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&pe.productionTip!==!1&&typeof console<"u"&&console[console.info?"info":"log"](`You are running Vue in development mode.
14
+ (found in `.concat(si(e),")")}}var st=me.optionMergeStrategies;process.env.NODE_ENV!=="production"&&(st.el=st.propsData=function(e,i,t,s){return t||R('option "'.concat(s,'" can only be used during instance ')+"creation with the `new` keyword."),co(e,i)});function rs(e,i,t){if(t===void 0&&(t=!0),!i)return e;for(var s,n,r,a=zi?Reflect.ownKeys(i):Object.keys(i),o=0;o<a.length;o++)s=a[o],s!=="__ob__"&&(n=e[s],r=i[s],!t||!De(e,s)?_n(e,s,r):n!==r&&je(n)&&je(r)&&rs(n,r));return e}function lo(e,i,t){return t?function(){var n=ve(i)?i.call(t,t):i,r=ve(e)?e.call(t,t):e;return n?rs(n,r):r}:i?e?function(){return rs(ve(i)?i.call(this,this):i,ve(e)?e.call(this,this):e)}:i:e}st.data=function(e,i,t){return t?lo(e,i,t):i&&typeof i!="function"?(process.env.NODE_ENV!=="production"&&R('The "data" option should be a function that returns a per-instance value in component definitions.',t),e):lo(e,i)};function ld(e,i){var t=i?e?e.concat(i):ne(i)?i:[i]:e;return t&&cd(t)}function cd(e){for(var i=[],t=0;t<e.length;t++)i.indexOf(e[t])===-1&&i.push(e[t]);return i}Ca.forEach(function(e){st[e]=ld});function ud(e,i,t,s){var n=Object.create(e||null);return i?(process.env.NODE_ENV!=="production"&&er(s,i,t),ye(n,i)):n}Is.forEach(function(e){st[e+"s"]=ud}),st.watch=function(e,i,t,s){if(e===kn&&(e=void 0),i===kn&&(i=void 0),!i)return Object.create(e||null);if(process.env.NODE_ENV!=="production"&&er(s,i,t),!e)return i;var n={};ye(n,e);for(var r in i){var a=n[r],o=i[r];a&&!ne(a)&&(a=[a]),n[r]=a?a.concat(o):ne(o)?o:[o]}return n},st.props=st.methods=st.inject=st.computed=function(e,i,t,s){if(i&&process.env.NODE_ENV!=="production"&&er(s,i,t),!e)return i;var n=Object.create(null);return ye(n,e),i&&ye(n,i),n},st.provide=function(e,i){return e?function(){var t=Object.create(null);return rs(t,ve(e)?e.call(this):e),i&&rs(t,ve(i)?i.call(this):i,!1),t}:i};var co=function(e,i){return i===void 0?e:i};function pd(e){for(var i in e.components)$n(i)}function $n(e){new RegExp("^[a-zA-Z][\\-\\.0-9_".concat(wa.source,"]*$")).test(e)||R('Invalid component name: "'+e+'". Component names should conform to valid custom element name in html5 specification.'),(Vu(e)||me.isReservedTag(e))&&R("Do not use built-in or reserved HTML elements as component id: "+e)}function dd(e,i){var t=e.props;if(!!t){var s={},n,r,a;if(ne(t))for(n=t.length;n--;)r=t[n],typeof r=="string"?(a=Xt(r),s[a]={type:null}):process.env.NODE_ENV!=="production"&&R("props must be strings when using array syntax.");else if(je(t))for(var o in t)r=t[o],a=Xt(o),s[a]=je(r)?r:{type:r};else process.env.NODE_ENV!=="production"&&R('Invalid value for option "props": expected an Array or an Object, '+"but got ".concat(Ki(t),"."),i);e.props=s}}function hd(e,i){var t=e.inject;if(!!t){var s=e.inject={};if(ne(t))for(var n=0;n<t.length;n++)s[t[n]]={from:t[n]};else if(je(t))for(var r in t){var a=t[r];s[r]=je(a)?ye({from:r},a):{from:a}}else process.env.NODE_ENV!=="production"&&R('Invalid value for option "inject": expected an Array or an Object, '+"but got ".concat(Ki(t),"."),i)}}function fd(e){var i=e.directives;if(i)for(var t in i){var s=i[t];ve(s)&&(i[t]={bind:s,update:s})}}function er(e,i,t){je(i)||R('Invalid value for option "'.concat(e,'": expected an Object, ')+"but got ".concat(Ki(i),"."),t)}function ni(e,i,t){if(process.env.NODE_ENV!=="production"&&pd(i),ve(i)&&(i=i.options),dd(i,t),hd(i,t),fd(i),!i._base&&(i.extends&&(e=ni(e,i.extends,t)),i.mixins))for(var s=0,n=i.mixins.length;s<n;s++)e=ni(e,i.mixins[s],t);var r={},a;for(a in e)o(a);for(a in i)De(e,a)||o(a);function o(l){var p=st[l]||co;r[l]=p(e[l],i[l],t,l)}return r}function Qs(e,i,t,s){if(typeof t=="string"){var n=e[i];if(De(n,t))return n[t];var r=Xt(t);if(De(n,r))return n[r];var a=ma(r);if(De(n,a))return n[a];var o=n[t]||n[r]||n[a];return process.env.NODE_ENV!=="production"&&s&&!o&&R("Failed to resolve "+i.slice(0,-1)+": "+t),o}}function tr(e,i,t,s){var n=i[e],r=!De(t,e),a=t[e],o=po(Boolean,n.type);if(o>-1){if(r&&!De(n,"default"))a=!1;else if(a===""||a===Zt(e)){var l=po(String,n.type);(l<0||o<l)&&(a=!0)}}if(a===void 0){a=md(s,n,e);var p=Sn;Bt(!0),wt(a),Bt(p)}return process.env.NODE_ENV!=="production"&&gd(n,e,a,s,r),a}function md(e,i,t){if(!!De(i,"default")){var s=i.default;return process.env.NODE_ENV!=="production"&&Pe(s)&&R('Invalid default value for prop "'+t+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&e.$options.propsData[t]===void 0&&e._props[t]!==void 0?e._props[t]:ve(s)&&Us(i.type)!=="Function"?s.call(e):s}}function gd(e,i,t,s,n){if(e.required&&n){R('Missing required prop: "'+i+'"',s);return}if(!(t==null&&!e.required)){var r=e.type,a=!r||r===!0,o=[];if(r){ne(r)||(r=[r]);for(var l=0;l<r.length&&!a;l++){var p=vd(t,r[l],s);o.push(p.expectedType||""),a=p.valid}}var h=o.some(function(A){return A});if(!a&&h){R(bd(i,t,o),s);return}var m=e.validator;m&&(m(t)||R('Invalid prop: custom validator check failed for prop "'+i+'".',s))}}var yd=/^(String|Number|Boolean|Function|Symbol|BigInt)$/;function vd(e,i,t){var s,n=Us(i);if(yd.test(n)){var r=typeof e;s=r===n.toLowerCase(),!s&&r==="object"&&(s=e instanceof i)}else if(n==="Object")s=je(e);else if(n==="Array")s=ne(e);else try{s=e instanceof i}catch{R('Invalid prop type: "'+String(i)+'" is not a constructor',t),s=!1}return{valid:s,expectedType:n}}var Ad=/^\s*function (\w+)/;function Us(e){var i=e&&e.toString().match(Ad);return i?i[1]:""}function uo(e,i){return Us(e)===Us(i)}function po(e,i){if(!ne(i))return uo(i,e)?0:-1;for(var t=0,s=i.length;t<s;t++)if(uo(i[t],e))return t;return-1}function bd(e,i,t){var s='Invalid prop: type check failed for prop "'.concat(e,'".')+" Expected ".concat(t.map(ma).join(", ")),n=t[0],r=Ki(i);return t.length===1&&ir(n)&&ir(typeof i)&&!wd(n,r)&&(s+=" with value ".concat(ho(i,n))),s+=", got ".concat(r," "),ir(r)&&(s+="with value ".concat(ho(i,r),".")),s}function ho(e,i){return i==="String"?'"'.concat(e,'"'):i==="Number"?"".concat(Number(e)):"".concat(e)}var Cd=["string","number","boolean"];function ir(e){return Cd.some(function(i){return e.toLowerCase()===i})}function wd(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return e.some(function(t){return t.toLowerCase()==="boolean"})}var fo;if(process.env.NODE_ENV!=="production"){var xd=We("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,require"),mo=function(e,i){R('Property or method "'.concat(i,'" is not defined on the instance but ')+"referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://v2.vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.",e)},go=function(e,i){R('Property "'.concat(i,'" must be accessed with "$data.').concat(i,'" because ')+'properties starting with "$" or "_" are not proxied in the Vue instance to prevent conflicts with Vue internals. See: https://v2.vuejs.org/v2/api/#data',e)},yo=typeof Proxy<"u"&&ei(Proxy);if(yo){var Ed=We("stop,prevent,self,ctrl,shift,alt,meta,exact");me.keyCodes=new Proxy(me.keyCodes,{set:function(e,i,t){return Ed(i)?(R("Avoid overwriting built-in modifier in config.keyCodes: .".concat(i)),!1):(e[i]=t,!0)}})}var Td={has:function(e,i){var t=i in e,s=xd(i)||typeof i=="string"&&i.charAt(0)==="_"&&!(i in e.$data);return!t&&!s&&(i in e.$data?go(e,i):mo(e,i)),t||!s}},Id={get:function(e,i){return typeof i=="string"&&!(i in e)&&(i in e.$data?go(e,i):mo(e,i)),e[i]}};fo=function(i){if(yo){var t=i.$options,s=t.render&&t.render._withStripped?Id:Td;i._renderProxy=new Proxy(i,s)}else i._renderProxy=i}}var yt={enumerable:!0,configurable:!0,get:ke,set:ke};function sr(e,i,t){yt.get=function(){return this[i][t]},yt.set=function(n){this[i][t]=n},Object.defineProperty(e,t,yt)}function kd(e){var i=e.$options;if(i.props&&Nd(e,i.props),Cp(e),i.methods&&Od(e,i.methods),i.data)Sd(e);else{var t=wt(e._data={});t&&t.vmCount++}i.computed&&Dd(e,i.computed),i.watch&&i.watch!==kn&&Md(e,i.watch)}function Nd(e,i){var t=e.$options.propsData||{},s=e._props=Da({}),n=e.$options._propKeys=[],r=!e.$parent;r||Bt(!1);var a=function(l){n.push(l);var p=tr(l,i,t,e);if(process.env.NODE_ENV!=="production"){var h=Zt(l);(fa(h)||me.isReservedAttr(h))&&R('"'.concat(h,'" is a reserved attribute and cannot be used as component prop.'),e),ct(s,l,p,function(){!r&&!ss&&R("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's "+'value. Prop being mutated: "'.concat(l,'"'),e)})}else ct(s,l,p);l in e||sr(e,"_props",l)};for(var o in i)a(o);Bt(!0)}function Sd(e){var i=e.$options.data;i=e._data=ve(i)?_d(i,e):i||{},je(i)||(i={},process.env.NODE_ENV!=="production"&&R(`data functions should return an object:
15
+ https://v2.vuejs.org/v2/guide/components.html#data-Must-Be-a-Function`,e));for(var t=Object.keys(i),s=e.$options.props,n=e.$options.methods,r=t.length;r--;){var a=t[r];process.env.NODE_ENV!=="production"&&n&&De(n,a)&&R('Method "'.concat(a,'" has already been defined as a data property.'),e),s&&De(s,a)?process.env.NODE_ENV!=="production"&&R('The data property "'.concat(a,'" is already declared as a prop. ')+"Use prop default value instead.",e):Tn(a)||sr(e,"_data",a)}var o=wt(i);o&&o.vmCount++}function _d(e,i){Ti();try{return e.call(i,i)}catch(t){return Lt(t,i,"data()"),{}}finally{Ii()}}var Pd={lazy:!0};function Dd(e,i){var t=e._computedWatchers=Object.create(null),s=Yi();for(var n in i){var r=i[n],a=ve(r)?r:r.get;process.env.NODE_ENV!=="production"&&a==null&&R('Getter is missing for computed property "'.concat(n,'".'),e),s||(t[n]=new Un(e,a||ke,ke,Pd)),n in e?process.env.NODE_ENV!=="production"&&(n in e.$data?R('The computed property "'.concat(n,'" is already defined in data.'),e):e.$options.props&&n in e.$options.props?R('The computed property "'.concat(n,'" is already defined as a prop.'),e):e.$options.methods&&n in e.$options.methods&&R('The computed property "'.concat(n,'" is already defined as a method.'),e)):vo(e,n,r)}}function vo(e,i,t){var s=!Yi();ve(t)?(yt.get=s?Ao(i):bo(t),yt.set=ke):(yt.get=t.get?s&&t.cache!==!1?Ao(i):bo(t.get):ke,yt.set=t.set||ke),process.env.NODE_ENV!=="production"&&yt.set===ke&&(yt.set=function(){R('Computed property "'.concat(i,'" was assigned to but it has no setter.'),this)}),Object.defineProperty(e,i,yt)}function Ao(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),lt.target&&(process.env.NODE_ENV!=="production"&&lt.target.onTrack&&lt.target.onTrack({effect:lt.target,target:this,type:"get",key:e}),t.depend()),t.value}}function bo(e){return function(){return e.call(this,this)}}function Od(e,i){var t=e.$options.props;for(var s in i)process.env.NODE_ENV!=="production"&&(typeof i[s]!="function"&&R('Method "'.concat(s,'" has type "').concat(typeof i[s],'" in the component definition. ')+"Did you reference the function correctly?",e),t&&De(t,s)&&R('Method "'.concat(s,'" has already been defined as a prop.'),e),s in e&&Tn(s)&&R('Method "'.concat(s,'" conflicts with an existing Vue instance method. ')+"Avoid defining component methods that start with _ or $.")),e[s]=typeof i[s]!="function"?ke:ga(i[s],e)}function Md(e,i){for(var t in i){var s=i[t];if(ne(s))for(var n=0;n<s.length;n++)nr(e,t,s[n]);else nr(e,t,s)}}function nr(e,i,t,s){return je(t)&&(s=t,t=t.handler),typeof t=="string"&&(t=e[t]),e.$watch(i,t,s)}function Bd(e){var i={};i.get=function(){return this._data};var t={};t.get=function(){return this._props},process.env.NODE_ENV!=="production"&&(i.set=function(){R("Avoid replacing instance root $data. Use nested data properties instead.",this)},t.set=function(){R("$props is readonly.",this)}),Object.defineProperty(e.prototype,"$data",i),Object.defineProperty(e.prototype,"$props",t),e.prototype.$set=_n,e.prototype.$delete=_a,e.prototype.$watch=function(s,n,r){var a=this;if(je(n))return nr(a,s,n,r);r=r||{},r.user=!0;var o=new Un(a,s,n,r);if(r.immediate){var l='callback for immediate watcher "'.concat(o.expression,'"');Ti(),Ft(n,a,[o.value],a,l),Ii()}return function(){o.teardown()}}}var Rd=0;function Ld(e){e.prototype._init=function(i){var t=this;t._uid=Rd++;var s,n;process.env.NODE_ENV!=="production"&&me.performance&&gt&&(s="vue-perf-start:".concat(t._uid),n="vue-perf-end:".concat(t._uid),gt(s)),t._isVue=!0,t.__v_skip=!0,t._scope=new sp(!0),t._scope._vm=!0,i&&i._isComponent?Fd(t,i):t.$options=ni(rr(t.constructor),i||{},t),process.env.NODE_ENV!=="production"?fo(t):t._renderProxy=t,t._self=t,Qp(t),Rp(t),Tp(t),ze(t,"beforeCreate",void 0,!1),$p(t),kd(t),Zp(t),ze(t,"created"),process.env.NODE_ENV!=="production"&&me.performance&&gt&&(t._name=si(t,!1),gt(n),js("vue ".concat(t._name," init"),s,n)),t.$options.el&&t.$mount(t.$options.el)}}function Fd(e,i){var t=e.$options=Object.create(e.constructor.options),s=i._parentVnode;t.parent=i.parent,t._parentVnode=s;var n=s.componentOptions;t.propsData=n.propsData,t._parentListeners=n.listeners,t._renderChildren=n.children,t._componentTag=n.tag,i.render&&(t.render=i.render,t.staticRenderFns=i.staticRenderFns)}function rr(e){var i=e.options;if(e.super){var t=rr(e.super),s=e.superOptions;if(t!==s){e.superOptions=t;var n=jd(e);n&&ye(e.extendOptions,n),i=e.options=ni(t,e.extendOptions),i.name&&(i.components[i.name]=e)}}return i}function jd(e){var i,t=e.options,s=e.sealedOptions;for(var n in t)t[n]!==s[n]&&(i||(i={}),i[n]=t[n]);return i}function we(e){process.env.NODE_ENV!=="production"&&!(this instanceof we)&&R("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}Ld(we),Bd(we),Vp(we),Up(we),Ip(we);function Vd(e){e.use=function(i){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(i)>-1)return this;var s=En(arguments,1);return s.unshift(this),ve(i.install)?i.install.apply(i,s):ve(i)&&i.apply(null,s),t.push(i),this}}function Qd(e){e.mixin=function(i){return this.options=ni(this.options,i),this}}function Ud(e){e.cid=0;var i=1;e.extend=function(t){t=t||{};var s=this,n=s.cid,r=t._Ctor||(t._Ctor={});if(r[n])return r[n];var a=Ni(t)||Ni(s.options);process.env.NODE_ENV!=="production"&&a&&$n(a);var o=function(p){this._init(p)};return o.prototype=Object.create(s.prototype),o.prototype.constructor=o,o.cid=i++,o.options=ni(s.options,t),o.super=s,o.options.props&&Gd(o),o.options.computed&&qd(o),o.extend=s.extend,o.mixin=s.mixin,o.use=s.use,Is.forEach(function(l){o[l]=s[l]}),a&&(o.options.components[a]=o),o.superOptions=s.options,o.extendOptions=t,o.sealedOptions=ye({},o.options),r[n]=o,o}}function Gd(e){var i=e.options.props;for(var t in i)sr(e.prototype,"_props",t)}function qd(e){var i=e.options.computed;for(var t in i)vo(e.prototype,t,i[t])}function Jd(e){Is.forEach(function(i){e[i]=function(t,s){return s?(process.env.NODE_ENV!=="production"&&i==="component"&&$n(t),i==="component"&&je(s)&&(s.name=s.name||t,s=this.options._base.extend(s)),i==="directive"&&ve(s)&&(s={bind:s,update:s}),this.options[i+"s"][t]=s,s):this.options[i+"s"][t]}})}function Co(e){return e&&(Ni(e.Ctor.options)||e.tag)}function Gs(e,i){return ne(e)?e.indexOf(i)>-1:typeof e=="string"?e.split(",").indexOf(i)>-1:da(e)?e.test(i):!1}function wo(e,i){var t=e.cache,s=e.keys,n=e._vnode;for(var r in t){var a=t[r];if(a){var o=a.name;o&&!i(o)&&ar(t,r,s,n)}}}function ar(e,i,t,s){var n=e[i];n&&(!s||n.tag!==s.tag)&&n.componentInstance.$destroy(),e[i]=null,Dt(t,i)}var xo=[String,RegExp,Array],Hd={name:"keep-alive",abstract:!0,props:{include:xo,exclude:xo,max:[String,Number]},methods:{cacheVNode:function(){var e=this,i=e.cache,t=e.keys,s=e.vnodeToCache,n=e.keyToCache;if(s){var r=s.tag,a=s.componentInstance,o=s.componentOptions;i[n]={name:Co(o),tag:r,componentInstance:a},t.push(n),this.max&&t.length>parseInt(this.max)&&ar(i,t[0],t,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)ar(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(i){wo(e,function(t){return Gs(i,t)})}),this.$watch("exclude",function(i){wo(e,function(t){return!Gs(i,t)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,i=Ga(e),t=i&&i.componentOptions;if(t){var s=Co(t),n=this,r=n.include,a=n.exclude;if(r&&(!s||!Gs(r,s))||a&&s&&Gs(a,s))return i;var o=this,l=o.cache,p=o.keys,h=i.key==null?t.Ctor.cid+(t.tag?"::".concat(t.tag):""):i.key;l[h]?(i.componentInstance=l[h].componentInstance,Dt(p,h),p.push(h)):(this.vnodeToCache=i,this.keyToCache=h),i.data.keepAlive=!0}return i||e&&e[0]}},Kd={KeepAlive:Hd};function Wd(e){var i={};i.get=function(){return me},process.env.NODE_ENV!=="production"&&(i.set=function(){R("Do not replace the Vue.config object, set individual fields instead.")}),Object.defineProperty(e,"config",i),e.util={warn:R,extend:ye,mergeOptions:ni,defineReactive:ct},e.set=_n,e.delete=_a,e.nextTick=Qn,e.observable=function(t){return wt(t),t},e.options=Object.create(null),Is.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,ye(e.options.components,Kd),Vd(e),Qd(e),Ud(e),Jd(e)}Wd(we),Object.defineProperty(we.prototype,"$isServer",{get:Yi}),Object.defineProperty(we.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(we,"FunctionalRenderContext",{value:Yn}),we.version=Mp;var Yd=We("style,class"),zd=We("input,textarea,option,select,progress"),Xd=function(e,i,t){return t==="value"&&zd(e)&&i!=="button"||t==="selected"&&e==="option"||t==="checked"&&e==="input"||t==="muted"&&e==="video"},Eo=We("contenteditable,draggable,spellcheck"),Zd=We("events,caret,typing,plaintext-only"),$d=function(e,i){return qs(i)||i==="false"?"false":e==="contenteditable"&&Zd(i)?i:"true"},eh=We("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),or="http://www.w3.org/1999/xlink",lr=function(e){return e.charAt(5)===":"&&e.slice(0,5)==="xlink"},To=function(e){return lr(e)?e.slice(6,e.length):""},qs=function(e){return e==null||e===!1};function th(e){for(var i=e.data,t=e,s=e;b(s.componentInstance);)s=s.componentInstance._vnode,s&&s.data&&(i=Io(s.data,i));for(;b(t=t.parent);)t&&t.data&&(i=Io(i,t.data));return ih(i.staticClass,i.class)}function Io(e,i){return{staticClass:cr(e.staticClass,i.staticClass),class:b(e.class)?[e.class,i.class]:i.class}}function ih(e,i){return b(e)||b(i)?cr(e,ur(i)):""}function cr(e,i){return e?i?e+" "+i:e:i||""}function ur(e){return Array.isArray(e)?sh(e):Pe(e)?nh(e):typeof e=="string"?e:""}function sh(e){for(var i="",t,s=0,n=e.length;s<n;s++)b(t=ur(e[s]))&&t!==""&&(i&&(i+=" "),i+=t);return i}function nh(e){var i="";for(var t in e)e[t]&&(i&&(i+=" "),i+=t);return i}var rh={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ah=We("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),pr=We("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ko=function(e){return ah(e)||pr(e)};function oh(e){if(pr(e))return"svg";if(e==="math")return"math"}var Js=Object.create(null);function lh(e){if(!Ge)return!0;if(ko(e))return!1;if(e=e.toLowerCase(),Js[e]!=null)return Js[e];var i=document.createElement(e);return e.indexOf("-")>-1?Js[e]=i.constructor===window.HTMLUnknownElement||i.constructor===window.HTMLElement:Js[e]=/HTMLUnknownElement/.test(i.toString())}var dr=We("text,number,password,search,email,tel,url");function ch(e){if(typeof e=="string"){var i=document.querySelector(e);return i||(process.env.NODE_ENV!=="production"&&R("Cannot find element: "+e),document.createElement("div"))}else return e}function uh(e,i){var t=document.createElement(e);return e!=="select"||i.data&&i.data.attrs&&i.data.attrs.multiple!==void 0&&t.setAttribute("multiple","multiple"),t}function ph(e,i){return document.createElementNS(rh[e],i)}function dh(e){return document.createTextNode(e)}function hh(e){return document.createComment(e)}function fh(e,i,t){e.insertBefore(i,t)}function mh(e,i){e.removeChild(i)}function gh(e,i){e.appendChild(i)}function yh(e){return e.parentNode}function vh(e){return e.nextSibling}function Ah(e){return e.tagName}function bh(e,i){e.textContent=i}function Ch(e,i){e.setAttribute(i,"")}var wh=Object.freeze({__proto__:null,createElement:uh,createElementNS:ph,createTextNode:dh,createComment:hh,insertBefore:fh,removeChild:mh,appendChild:gh,parentNode:yh,nextSibling:vh,tagName:Ah,setTextContent:bh,setStyleScope:Ch}),xh={create:function(e,i){Si(i)},update:function(e,i){e.data.ref!==i.data.ref&&(Si(e,!0),Si(i))},destroy:function(e){Si(e,!0)}};function Si(e,i){var t=e.data.ref;if(!!b(t)){var s=e.context,n=e.componentInstance||e.elm,r=i?null:n,a=i?void 0:n;if(ve(t)){Ft(t,s,[r],s,"template ref function");return}var o=e.data.refInFor,l=typeof t=="string"||typeof t=="number",p=mt(t),h=s.$refs;if(l||p)if(o){var m=l?h[t]:t.value;i?ne(m)&&Dt(m,n):ne(m)?m.includes(n)||m.push(n):l?(h[t]=[n],No(s,t,h[t])):t.value=[n]}else if(l){if(i&&h[t]!==n)return;h[t]=a,No(s,t,r)}else if(p){if(i&&t.value!==n)return;t.value=r}else process.env.NODE_ENV!=="production"&&R("Invalid template ref type: ".concat(typeof t))}}function No(e,i,t){var s=e._setupState;s&&De(s,i)&&(mt(s[i])?s[i].value=t:s[i]=t)}var jt=new qe("",{},[]),as=["create","activate","update","remove","destroy"];function ri(e,i){return e.key===i.key&&e.asyncFactory===i.asyncFactory&&(e.tag===i.tag&&e.isComment===i.isComment&&b(e.data)===b(i.data)&&Eh(e,i)||Ce(e.isAsyncPlaceholder)&&te(i.asyncFactory.error))}function Eh(e,i){if(e.tag!=="input")return!0;var t,s=b(t=e.data)&&b(t=t.attrs)&&t.type,n=b(t=i.data)&&b(t=t.attrs)&&t.type;return s===n||dr(s)&&dr(n)}function Th(e,i,t){var s,n,r={};for(s=i;s<=t;++s)n=e[s].key,b(n)&&(r[n]=s);return r}function Ih(e){var i,t,s={},n=e.modules,r=e.nodeOps;for(i=0;i<as.length;++i)for(s[as[i]]=[],t=0;t<n.length;++t)b(n[t][as[i]])&&s[as[i]].push(n[t][as[i]]);function a(g){return new qe(r.tagName(g).toLowerCase(),{},[],void 0,g)}function o(g,y){function x(){--x.listeners===0&&l(g)}return x.listeners=y,x}function l(g){var y=r.parentNode(g);b(y)&&r.removeChild(y,g)}function p(g,y){return!y&&!g.ns&&!(me.ignoredElements.length&&me.ignoredElements.some(function(x){return da(x)?x.test(g.tag):x===g.tag}))&&me.isUnknownElement(g.tag)}var h=0;function m(g,y,x,M,H,ae,C){if(b(g.elm)&&b(ae)&&(g=ae[C]=Nn(g)),g.isRootInsert=!H,!A(g,y,x,M)){var w=g.data,O=g.children,W=g.tag;b(W)?(process.env.NODE_ENV!=="production"&&(w&&w.pre&&h++,p(g,h)&&R("Unknown custom element: <"+W+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',g.context)),g.elm=g.ns?r.createElementNS(g.ns,W):r.createElement(W,g),N(g),ie(g,O,y),b(w)&&G(g,y),z(x,g.elm,M),process.env.NODE_ENV!=="production"&&w&&w.pre&&h--):Ce(g.isComment)?(g.elm=r.createComment(g.text),z(x,g.elm,M)):(g.elm=r.createTextNode(g.text),z(x,g.elm,M))}}function A(g,y,x,M){var H=g.data;if(b(H)){var ae=b(g.componentInstance)&&H.keepAlive;if(b(H=H.hook)&&b(H=H.init)&&H(g,!1),b(g.componentInstance))return k(g,y),z(x,g.elm,M),Ce(ae)&&V(g,y,x,M),!0}}function k(g,y){b(g.data.pendingInsert)&&(y.push.apply(y,g.data.pendingInsert),g.data.pendingInsert=null),g.elm=g.componentInstance.$el,Z(g)?(G(g,y),N(g)):(Si(g),y.push(g))}function V(g,y,x,M){for(var H,ae=g;ae.componentInstance;)if(ae=ae.componentInstance._vnode,b(H=ae.data)&&b(H=H.transition)){for(H=0;H<s.activate.length;++H)s.activate[H](jt,ae);y.push(ae);break}z(x,g.elm,M)}function z(g,y,x){b(g)&&(b(x)?r.parentNode(x)===g&&r.insertBefore(g,y,x):r.appendChild(g,y))}function ie(g,y,x){if(ne(y)){process.env.NODE_ENV!=="production"&&F(y);for(var M=0;M<y.length;++M)m(y[M],x,g.elm,null,!0,y,M)}else Ct(g.text)&&r.appendChild(g.elm,r.createTextNode(String(g.text)))}function Z(g){for(;g.componentInstance;)g=g.componentInstance._vnode;return b(g.tag)}function G(g,y){for(var x=0;x<s.create.length;++x)s.create[x](jt,g);i=g.data.hook,b(i)&&(b(i.create)&&i.create(jt,g),b(i.insert)&&y.push(g))}function N(g){var y;if(b(y=g.fnScopeId))r.setStyleScope(g.elm,y);else for(var x=g;x;)b(y=x.context)&&b(y=y.$options._scopeId)&&r.setStyleScope(g.elm,y),x=x.parent;b(y=ii)&&y!==g.context&&y!==g.fnContext&&b(y=y.$options._scopeId)&&r.setStyleScope(g.elm,y)}function T(g,y,x,M,H,ae){for(;M<=H;++M)m(x[M],ae,g,y,!1,x,M)}function D(g){var y,x,M=g.data;if(b(M))for(b(y=M.hook)&&b(y=y.destroy)&&y(g),y=0;y<s.destroy.length;++y)s.destroy[y](g);if(b(y=g.children))for(x=0;x<g.children.length;++x)D(g.children[x])}function _(g,y,x){for(;y<=x;++y){var M=g[y];b(M)&&(b(M.tag)?(S(M),D(M)):l(M.elm))}}function S(g,y){if(b(y)||b(g.data)){var x,M=s.remove.length+1;for(b(y)?y.listeners+=M:y=o(g.elm,M),b(x=g.componentInstance)&&b(x=x._vnode)&&b(x.data)&&S(x,y),x=0;x<s.remove.length;++x)s.remove[x](g,y);b(x=g.data.hook)&&b(x=x.remove)?x(g,y):y()}else l(g.elm)}function I(g,y,x,M,H){var ae=0,C=0,w=y.length-1,O=y[0],W=y[w],$=x.length-1,re=x[0],d=x[$],c,u,f,v,E=!H;for(process.env.NODE_ENV!=="production"&&F(x);ae<=w&&C<=$;)te(O)?O=y[++ae]:te(W)?W=y[--w]:ri(O,re)?(L(O,re,M,x,C),O=y[++ae],re=x[++C]):ri(W,d)?(L(W,d,M,x,$),W=y[--w],d=x[--$]):ri(O,d)?(L(O,d,M,x,$),E&&r.insertBefore(g,O.elm,r.nextSibling(W.elm)),O=y[++ae],d=x[--$]):ri(W,re)?(L(W,re,M,x,C),E&&r.insertBefore(g,W.elm,O.elm),W=y[--w],re=x[++C]):(te(c)&&(c=Th(y,ae,w)),u=b(re.key)?c[re.key]:P(re,y,ae,w),te(u)?m(re,M,g,O.elm,!1,x,C):(f=y[u],ri(f,re)?(L(f,re,M,x,C),y[u]=void 0,E&&r.insertBefore(g,f.elm,O.elm)):m(re,M,g,O.elm,!1,x,C)),re=x[++C]);ae>w?(v=te(x[$+1])?null:x[$+1].elm,T(g,v,x,C,$,M)):C>$&&_(y,ae,w)}function F(g){for(var y={},x=0;x<g.length;x++){var M=g[x],H=M.key;b(H)&&(y[H]?R("Duplicate keys detected: '".concat(H,"'. This may cause an update error."),M.context):y[H]=!0)}}function P(g,y,x,M){for(var H=x;H<M;H++){var ae=y[H];if(b(ae)&&ri(g,ae))return H}}function L(g,y,x,M,H,ae){if(g!==y){b(y.elm)&&b(M)&&(y=M[H]=Nn(y));var C=y.elm=g.elm;if(Ce(g.isAsyncPlaceholder)){b(y.asyncFactory.resolved)?Ne(g.elm,y,x):y.isAsyncPlaceholder=!0;return}if(Ce(y.isStatic)&&Ce(g.isStatic)&&y.key===g.key&&(Ce(y.isCloned)||Ce(y.isOnce))){y.componentInstance=g.componentInstance;return}var w,O=y.data;b(O)&&b(w=O.hook)&&b(w=w.prepatch)&&w(g,y);var W=g.children,$=y.children;if(b(O)&&Z(y)){for(w=0;w<s.update.length;++w)s.update[w](g,y);b(w=O.hook)&&b(w=w.update)&&w(g,y)}te(y.text)?b(W)&&b($)?W!==$&&I(C,W,$,x,ae):b($)?(process.env.NODE_ENV!=="production"&&F($),b(g.text)&&r.setTextContent(C,""),T(C,null,$,0,$.length-1,x)):b(W)?_(W,0,W.length-1):b(g.text)&&r.setTextContent(C,""):g.text!==y.text&&r.setTextContent(C,y.text),b(O)&&b(w=O.hook)&&b(w=w.postpatch)&&w(g,y)}}function B(g,y,x){if(Ce(x)&&b(g.parent))g.parent.data.pendingInsert=y;else for(var M=0;M<y.length;++M)y[M].data.hook.insert(y[M])}var U=!1,X=We("attrs,class,staticClass,staticStyle,key");function Ne(g,y,x,M){var H,ae=y.tag,C=y.data,w=y.children;if(M=M||C&&C.pre,y.elm=g,Ce(y.isComment)&&b(y.asyncFactory))return y.isAsyncPlaceholder=!0,!0;if(process.env.NODE_ENV!=="production"&&!le(g,y,M))return!1;if(b(C)&&(b(H=C.hook)&&b(H=H.init)&&H(y,!0),b(H=y.componentInstance)))return k(y,x),!0;if(b(ae)){if(b(w))if(!g.hasChildNodes())ie(y,w,x);else if(b(H=C)&&b(H=H.domProps)&&b(H=H.innerHTML)){if(H!==g.innerHTML)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!U&&(U=!0,g.innerHTML),!1}else{for(var O=!0,W=g.firstChild,$=0;$<w.length;$++){if(!W||!Ne(W,w[$],x,M)){O=!1;break}W=W.nextSibling}if(!O||W)return process.env.NODE_ENV!=="production"&&typeof console<"u"&&!U&&(U=!0,g.childNodes),!1}if(b(C)){var re=!1;for(var d in C)if(!X(d)){re=!0,G(y,x);break}!re&&C.class&&Ls(C.class)}}else g.data!==y.text&&(g.data=y.text);return!0}function le(g,y,x){return b(y.tag)?y.tag.indexOf("vue-component")===0||!p(y,x)&&y.tag.toLowerCase()===(g.tagName&&g.tagName.toLowerCase()):g.nodeType===(y.isComment?8:3)}return function(y,x,M,H){if(te(x)){b(y)&&D(y);return}var ae=!1,C=[];if(te(y))ae=!0,m(x,C);else{var w=b(y.nodeType);if(!w&&ri(y,x))L(y,x,C,null,null,H);else{if(w){if(y.nodeType===1&&y.hasAttribute(ba)&&(y.removeAttribute(ba),M=!0),Ce(M)){if(Ne(y,x,C))return B(x,C,!0),y;process.env.NODE_ENV!=="production"&&R("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}y=a(y)}var O=y.elm,W=r.parentNode(O);if(m(x,C,O._leaveCb?null:W,r.nextSibling(O)),b(x.parent))for(var $=x.parent,re=Z(x);$;){for(var d=0;d<s.destroy.length;++d)s.destroy[d]($);if($.elm=x.elm,re){for(var c=0;c<s.create.length;++c)s.create[c](jt,$);var u=$.data.hook.insert;if(u.merged)for(var f=1;f<u.fns.length;f++)u.fns[f]()}else Si($);$=$.parent}b(W)?_([y],0,0):b(y.tag)&&D(y)}}return B(x,C,ae),x.elm}}var kh={create:hr,update:hr,destroy:function(i){hr(i,jt)}};function hr(e,i){(e.data.directives||i.data.directives)&&Nh(e,i)}function Nh(e,i){var t=e===jt,s=i===jt,n=So(e.data.directives,e.context),r=So(i.data.directives,i.context),a=[],o=[],l,p,h;for(l in r)p=n[l],h=r[l],p?(h.oldValue=p.value,h.oldArg=p.arg,os(h,"update",i,e),h.def&&h.def.componentUpdated&&o.push(h)):(os(h,"bind",i,e),h.def&&h.def.inserted&&a.push(h));if(a.length){var m=function(){for(var A=0;A<a.length;A++)os(a[A],"inserted",i,e)};t?Rt(i,"insert",m):m()}if(o.length&&Rt(i,"postpatch",function(){for(var A=0;A<o.length;A++)os(o[A],"componentUpdated",i,e)}),!t)for(l in n)r[l]||os(n[l],"unbind",e,e,s)}var Sh=Object.create(null);function So(e,i){var t=Object.create(null);if(!e)return t;var s,n;for(s=0;s<e.length;s++){if(n=e[s],n.modifiers||(n.modifiers=Sh),t[_h(n)]=n,i._setupState&&i._setupState.__sfc){var r=n.def||Qs(i,"_setupState","v-"+n.name);typeof r=="function"?n.def={bind:r,update:r}:n.def=r}n.def=n.def||Qs(i.$options,"directives",n.name,!0)}return t}function _h(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function os(e,i,t,s,n){var r=e.def&&e.def[i];if(r)try{r(t.elm,e,t,s,n)}catch(a){Lt(a,t.context,"directive ".concat(e.name," ").concat(i," hook"))}}var Ph=[xh,kh];function _o(e,i){var t=i.componentOptions;if(!(b(t)&&t.Ctor.options.inheritAttrs===!1)&&!(te(e.data.attrs)&&te(i.data.attrs))){var s,n,r,a=i.elm,o=e.data.attrs||{},l=i.data.attrs||{};(b(l.__ob__)||Ce(l._v_attr_proxy))&&(l=i.data.attrs=ye({},l));for(s in l)n=l[s],r=o[s],r!==n&&Po(a,s,n,i.data.pre);(Ci||In)&&l.value!==o.value&&Po(a,"value",l.value);for(s in o)te(l[s])&&(lr(s)?a.removeAttributeNS(or,To(s)):Eo(s)||a.removeAttribute(s))}}function Po(e,i,t,s){s||e.tagName.indexOf("-")>-1?Do(e,i,t):eh(i)?qs(t)?e.removeAttribute(i):(t=i==="allowfullscreen"&&e.tagName==="EMBED"?"true":i,e.setAttribute(i,t)):Eo(i)?e.setAttribute(i,$d(i,t)):lr(i)?qs(t)?e.removeAttributeNS(or,To(i)):e.setAttributeNS(or,i,t):Do(e,i,t)}function Do(e,i,t){if(qs(t))e.removeAttribute(i);else{if(Ci&&!wi&&e.tagName==="TEXTAREA"&&i==="placeholder"&&t!==""&&!e.__ieph){var s=function(n){n.stopImmediatePropagation(),e.removeEventListener("input",s)};e.addEventListener("input",s),e.__ieph=!0}e.setAttribute(i,t)}}var Dh={create:_o,update:_o};function Oo(e,i){var t=i.elm,s=i.data,n=e.data;if(!(te(s.staticClass)&&te(s.class)&&(te(n)||te(n.staticClass)&&te(n.class)))){var r=th(i),a=t._transitionClasses;b(a)&&(r=cr(r,ur(a))),r!==t._prevClass&&(t.setAttribute("class",r),t._prevClass=r)}}var Oh={create:Oo,update:Oo},fr="__r",mr="__c";function Mh(e){if(b(e[fr])){var i=Ci?"change":"input";e[i]=[].concat(e[fr],e[i]||[]),delete e[fr]}b(e[mr])&&(e.change=[].concat(e[mr],e.change||[]),delete e[mr])}var ls;function Bh(e,i,t){var s=ls;return function n(){var r=i.apply(null,arguments);r!==null&&Mo(e,n,t,s)}}var Rh=Fn&&!(xa&&Number(xa[1])<=53);function Lh(e,i,t,s){if(Rh){var n=eo,r=i;i=r._wrapper=function(a){if(a.target===a.currentTarget||a.timeStamp>=n||a.timeStamp<=0||a.target.ownerDocument!==document)return r.apply(this,arguments)}}ls.addEventListener(e,i,Ea?{capture:t,passive:s}:t)}function Mo(e,i,t,s){(s||ls).removeEventListener(e,i._wrapper||i,t)}function gr(e,i){if(!(te(e.data.on)&&te(i.data.on))){var t=i.data.on||{},s=e.data.on||{};ls=i.elm||e.elm,Mh(t),Ma(t,s,Lh,Mo,Bh,i.context),ls=void 0}}var Fh={create:gr,update:gr,destroy:function(e){return gr(e,jt)}},Hs;function Bo(e,i){if(!(te(e.data.domProps)&&te(i.data.domProps))){var t,s,n=i.elm,r=e.data.domProps||{},a=i.data.domProps||{};(b(a.__ob__)||Ce(a._v_attr_proxy))&&(a=i.data.domProps=ye({},a));for(t in r)t in a||(n[t]="");for(t in a){if(s=a[t],t==="textContent"||t==="innerHTML"){if(i.children&&(i.children.length=0),s===r[t])continue;n.childNodes.length===1&&n.removeChild(n.childNodes[0])}if(t==="value"&&n.tagName!=="PROGRESS"){n._value=s;var o=te(s)?"":String(s);jh(n,o)&&(n.value=o)}else if(t==="innerHTML"&&pr(n.tagName)&&te(n.innerHTML)){Hs=Hs||document.createElement("div"),Hs.innerHTML="<svg>".concat(s,"</svg>");for(var l=Hs.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;l.firstChild;)n.appendChild(l.firstChild)}else if(s!==r[t])try{n[t]=s}catch{}}}}function jh(e,i){return!e.composing&&(e.tagName==="OPTION"||Vh(e,i)||Qh(e,i))}function Vh(e,i){var t=!0;try{t=document.activeElement!==e}catch{}return t&&e.value!==i}function Qh(e,i){var t=e.value,s=e._vModifiers;if(b(s)){if(s.number)return Wi(t)!==Wi(i);if(s.trim)return t.trim()!==i.trim()}return t!==i}var Uh={create:Bo,update:Bo},Gh=zt(function(e){var i={},t=/;(?![^(]*\))/g,s=/:(.+)/;return e.split(t).forEach(function(n){if(n){var r=n.split(s);r.length>1&&(i[r[0].trim()]=r[1].trim())}}),i});function yr(e){var i=Ro(e.style);return e.staticStyle?ye(e.staticStyle,i):i}function Ro(e){return Array.isArray(e)?ya(e):typeof e=="string"?Gh(e):e}function qh(e,i){var t={},s;if(i)for(var n=e;n.componentInstance;)n=n.componentInstance._vnode,n&&n.data&&(s=yr(n.data))&&ye(t,s);(s=yr(e.data))&&ye(t,s);for(var r=e;r=r.parent;)r.data&&(s=yr(r.data))&&ye(t,s);return t}var Jh=/^--/,Lo=/\s*!important$/,Fo=function(e,i,t){if(Jh.test(i))e.style.setProperty(i,t);else if(Lo.test(t))e.style.setProperty(Zt(i),t.replace(Lo,""),"important");else{var s=Hh(i);if(Array.isArray(t))for(var n=0,r=t.length;n<r;n++)e.style[s]=t[n];else e.style[s]=t}},jo=["Webkit","Moz","ms"],Ks,Hh=zt(function(e){if(Ks=Ks||document.createElement("div").style,e=Xt(e),e!=="filter"&&e in Ks)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),t=0;t<jo.length;t++){var s=jo[t]+i;if(s in Ks)return s}});function Vo(e,i){var t=i.data,s=e.data;if(!(te(t.staticStyle)&&te(t.style)&&te(s.staticStyle)&&te(s.style))){var n,r,a=i.elm,o=s.staticStyle,l=s.normalizedStyle||s.style||{},p=o||l,h=Ro(i.data.style)||{};i.data.normalizedStyle=b(h.__ob__)?ye({},h):h;var m=qh(i,!0);for(r in p)te(m[r])&&Fo(a,r,"");for(r in m)n=m[r],n!==p[r]&&Fo(a,r,n==null?"":n)}}var Kh={create:Vo,update:Vo},Qo=/\s+/;function Uo(e,i){if(!(!i||!(i=i.trim())))if(e.classList)i.indexOf(" ")>-1?i.split(Qo).forEach(function(s){return e.classList.add(s)}):e.classList.add(i);else{var t=" ".concat(e.getAttribute("class")||""," ");t.indexOf(" "+i+" ")<0&&e.setAttribute("class",(t+i).trim())}}function Go(e,i){if(!(!i||!(i=i.trim())))if(e.classList)i.indexOf(" ")>-1?i.split(Qo).forEach(function(n){return e.classList.remove(n)}):e.classList.remove(i),e.classList.length||e.removeAttribute("class");else{for(var t=" ".concat(e.getAttribute("class")||""," "),s=" "+i+" ";t.indexOf(s)>=0;)t=t.replace(s," ");t=t.trim(),t?e.setAttribute("class",t):e.removeAttribute("class")}}function qo(e){if(!!e){if(typeof e=="object"){var i={};return e.css!==!1&&ye(i,Jo(e.name||"v")),ye(i,e),i}else if(typeof e=="string")return Jo(e)}}var Jo=zt(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),Ho=Ge&&!wi,_i="transition",vr="animation",Ws="transition",Ys="transitionend",Ar="animation",Ko="animationend";Ho&&(window.ontransitionend===void 0&&window.onwebkittransitionend!==void 0&&(Ws="WebkitTransition",Ys="webkitTransitionEnd"),window.onanimationend===void 0&&window.onwebkitanimationend!==void 0&&(Ar="WebkitAnimation",Ko="webkitAnimationEnd"));var Wo=Ge?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Yo(e){Wo(function(){Wo(e)})}function ai(e,i){var t=e._transitionClasses||(e._transitionClasses=[]);t.indexOf(i)<0&&(t.push(i),Uo(e,i))}function Tt(e,i){e._transitionClasses&&Dt(e._transitionClasses,i),Go(e,i)}function zo(e,i,t){var s=Xo(e,i),n=s.type,r=s.timeout,a=s.propCount;if(!n)return t();var o=n===_i?Ys:Ko,l=0,p=function(){e.removeEventListener(o,h),t()},h=function(m){m.target===e&&++l>=a&&p()};setTimeout(function(){l<a&&p()},r+1),e.addEventListener(o,h)}var Wh=/\b(transform|all)(,|$)/;function Xo(e,i){var t=window.getComputedStyle(e),s=(t[Ws+"Delay"]||"").split(", "),n=(t[Ws+"Duration"]||"").split(", "),r=Zo(s,n),a=(t[Ar+"Delay"]||"").split(", "),o=(t[Ar+"Duration"]||"").split(", "),l=Zo(a,o),p,h=0,m=0;i===_i?r>0&&(p=_i,h=r,m=n.length):i===vr?l>0&&(p=vr,h=l,m=o.length):(h=Math.max(r,l),p=h>0?r>l?_i:vr:null,m=p?p===_i?n.length:o.length:0);var A=p===_i&&Wh.test(t[Ws+"Property"]);return{type:p,timeout:h,propCount:m,hasTransform:A}}function Zo(e,i){for(;e.length<i.length;)e=e.concat(e);return Math.max.apply(null,i.map(function(t,s){return $o(t)+$o(e[s])}))}function $o(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function br(e,i){var t=e.elm;b(t._leaveCb)&&(t._leaveCb.cancelled=!0,t._leaveCb());var s=qo(e.data.transition);if(!te(s)&&!(b(t._enterCb)||t.nodeType!==1)){for(var n=s.css,r=s.type,a=s.enterClass,o=s.enterToClass,l=s.enterActiveClass,p=s.appearClass,h=s.appearToClass,m=s.appearActiveClass,A=s.beforeEnter,k=s.enter,V=s.afterEnter,z=s.enterCancelled,ie=s.beforeAppear,Z=s.appear,G=s.afterAppear,N=s.appearCancelled,T=s.duration,D=ii,_=ii.$vnode;_&&_.parent;)D=_.context,_=_.parent;var S=!D._isMounted||!e.isRootInsert;if(!(S&&!Z&&Z!=="")){var I=S&&p?p:a,F=S&&m?m:l,P=S&&h?h:o,L=S&&ie||A,B=S&&ve(Z)?Z:k,U=S&&G||V,X=S&&N||z,Ne=Wi(Pe(T)?T.enter:T);process.env.NODE_ENV!=="production"&&Ne!=null&&tl(Ne,"enter",e);var le=n!==!1&&!wi,g=Cr(B),y=t._enterCb=Ts(function(){le&&(Tt(t,P),Tt(t,F)),y.cancelled?(le&&Tt(t,I),X&&X(t)):U&&U(t),t._enterCb=null});e.data.show||Rt(e,"insert",function(){var x=t.parentNode,M=x&&x._pending&&x._pending[e.key];M&&M.tag===e.tag&&M.elm._leaveCb&&M.elm._leaveCb(),B&&B(t,y)}),L&&L(t),le&&(ai(t,I),ai(t,F),Yo(function(){Tt(t,I),y.cancelled||(ai(t,P),g||(il(Ne)?setTimeout(y,Ne):zo(t,r,y)))})),e.data.show&&(i&&i(),B&&B(t,y)),!le&&!g&&y()}}}function el(e,i){var t=e.elm;b(t._enterCb)&&(t._enterCb.cancelled=!0,t._enterCb());var s=qo(e.data.transition);if(te(s)||t.nodeType!==1)return i();if(b(t._leaveCb))return;var n=s.css,r=s.type,a=s.leaveClass,o=s.leaveToClass,l=s.leaveActiveClass,p=s.beforeLeave,h=s.leave,m=s.afterLeave,A=s.leaveCancelled,k=s.delayLeave,V=s.duration,z=n!==!1&&!wi,ie=Cr(h),Z=Wi(Pe(V)?V.leave:V);process.env.NODE_ENV!=="production"&&b(Z)&&tl(Z,"leave",e);var G=t._leaveCb=Ts(function(){t.parentNode&&t.parentNode._pending&&(t.parentNode._pending[e.key]=null),z&&(Tt(t,o),Tt(t,l)),G.cancelled?(z&&Tt(t,a),A&&A(t)):(i(),m&&m(t)),t._leaveCb=null});k?k(N):N();function N(){G.cancelled||(!e.data.show&&t.parentNode&&((t.parentNode._pending||(t.parentNode._pending={}))[e.key]=e),p&&p(t),z&&(ai(t,a),ai(t,l),Yo(function(){Tt(t,a),G.cancelled||(ai(t,o),ie||(il(Z)?setTimeout(G,Z):zo(t,r,G)))})),h&&h(t,G),!z&&!ie&&G())}}function tl(e,i,t){typeof e!="number"?R("<transition> explicit ".concat(i," duration is not a valid number - ")+"got ".concat(JSON.stringify(e),"."),t.context):isNaN(e)&&R("<transition> explicit ".concat(i," duration is NaN - ")+"the duration expression might be incorrect.",t.context)}function il(e){return typeof e=="number"&&!isNaN(e)}function Cr(e){if(te(e))return!1;var i=e.fns;return b(i)?Cr(Array.isArray(i)?i[0]:i):(e._length||e.length)>1}function sl(e,i){i.data.show!==!0&&br(i)}var Yh=Ge?{create:sl,activate:sl,remove:function(e,i){e.data.show!==!0?el(e,i):i()}}:{},zh=[Dh,Oh,Fh,Uh,Kh,Yh],Xh=zh.concat(Ph),Zh=Ih({nodeOps:wh,modules:Xh});wi&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&wr(e,"input")});var nl={inserted:function(e,i,t,s){t.tag==="select"?(s.elm&&!s.elm._vOptions?Rt(t,"postpatch",function(){nl.componentUpdated(e,i,t)}):rl(e,i,t.context),e._vOptions=[].map.call(e.options,zs)):(t.tag==="textarea"||dr(e.type))&&(e._vModifiers=i.modifiers,i.modifiers.lazy||(e.addEventListener("compositionstart",$h),e.addEventListener("compositionend",ll),e.addEventListener("change",ll),wi&&(e.vmodel=!0)))},componentUpdated:function(e,i,t){if(t.tag==="select"){rl(e,i,t.context);var s=e._vOptions,n=e._vOptions=[].map.call(e.options,zs);if(n.some(function(a,o){return!$t(a,s[o])})){var r=e.multiple?i.value.some(function(a){return ol(a,n)}):i.value!==i.oldValue&&ol(i.value,n);r&&wr(e,"change")}}}};function rl(e,i,t){al(e,i,t),(Ci||In)&&setTimeout(function(){al(e,i,t)},0)}function al(e,i,t){var s=i.value,n=e.multiple;if(n&&!Array.isArray(s)){process.env.NODE_ENV!=="production"&&R('<select multiple v-model="'.concat(i.expression,'"> ')+"expects an Array value for its binding, but got ".concat(Object.prototype.toString.call(s).slice(8,-1)),t);return}for(var r,a,o=0,l=e.options.length;o<l;o++)if(a=e.options[o],n)r=Aa(s,zs(a))>-1,a.selected!==r&&(a.selected=r);else if($t(zs(a),s)){e.selectedIndex!==o&&(e.selectedIndex=o);return}n||(e.selectedIndex=-1)}function ol(e,i){return i.every(function(t){return!$t(t,e)})}function zs(e){return"_value"in e?e._value:e.value}function $h(e){e.target.composing=!0}function ll(e){!e.target.composing||(e.target.composing=!1,wr(e.target,"input"))}function wr(e,i){var t=document.createEvent("HTMLEvents");t.initEvent(i,!0,!0),e.dispatchEvent(t)}function xr(e){return e.componentInstance&&(!e.data||!e.data.transition)?xr(e.componentInstance._vnode):e}var ef={bind:function(e,i,t){var s=i.value;t=xr(t);var n=t.data&&t.data.transition,r=e.__vOriginalDisplay=e.style.display==="none"?"":e.style.display;s&&n?(t.data.show=!0,br(t,function(){e.style.display=r})):e.style.display=s?r:"none"},update:function(e,i,t){var s=i.value,n=i.oldValue;if(!s!=!n){t=xr(t);var r=t.data&&t.data.transition;r?(t.data.show=!0,s?br(t,function(){e.style.display=e.__vOriginalDisplay}):el(t,function(){e.style.display="none"})):e.style.display=s?e.__vOriginalDisplay:"none"}},unbind:function(e,i,t,s,n){n||(e.style.display=e.__vOriginalDisplay)}},tf={model:nl,show:ef},cl={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Er(e){var i=e&&e.componentOptions;return i&&i.Ctor.options.abstract?Er(Ga(i.children)):e}function ul(e){var i={},t=e.$options;for(var s in t.propsData)i[s]=e[s];var n=t._parentListeners;for(var s in n)i[Xt(s)]=n[s];return i}function pl(e,i){if(/\d-keep-alive$/.test(i.tag))return e("keep-alive",{props:i.componentOptions.propsData})}function sf(e){for(;e=e.parent;)if(e.data.transition)return!0}function nf(e,i){return i.key===e.key&&i.tag===e.tag}var rf=function(e){return e.tag||$i(e)},af=function(e){return e.name==="show"},of={name:"transition",props:cl,abstract:!0,render:function(e){var i=this,t=this.$slots.default;if(!!t&&(t=t.filter(rf),!!t.length)){process.env.NODE_ENV!=="production"&&t.length>1&&R("<transition> can only be used on a single element. Use <transition-group> for lists.",this.$parent);var s=this.mode;process.env.NODE_ENV!=="production"&&s&&s!=="in-out"&&s!=="out-in"&&R("invalid <transition> mode: "+s,this.$parent);var n=t[0];if(sf(this.$vnode))return n;var r=Er(n);if(!r)return n;if(this._leaving)return pl(e,n);var a="__transition-".concat(this._uid,"-");r.key=r.key==null?r.isComment?a+"comment":a+r.tag:Ct(r.key)?String(r.key).indexOf(a)===0?r.key:a+r.key:r.key;var o=(r.data||(r.data={})).transition=ul(this),l=this._vnode,p=Er(l);if(r.data.directives&&r.data.directives.some(af)&&(r.data.show=!0),p&&p.data&&!nf(r,p)&&!$i(p)&&!(p.componentInstance&&p.componentInstance._vnode.isComment)){var h=p.data.transition=ye({},o);if(s==="out-in")return this._leaving=!0,Rt(h,"afterLeave",function(){i._leaving=!1,i.$forceUpdate()}),pl(e,n);if(s==="in-out"){if($i(r))return l;var m,A=function(){m()};Rt(o,"afterEnter",A),Rt(o,"enterCancelled",A),Rt(h,"delayLeave",function(k){m=k})}}return n}}},dl=ye({tag:String,moveClass:String},cl);delete dl.mode;var lf={props:dl,beforeMount:function(){var e=this,i=this._update;this._update=function(t,s){var n=Xa(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,n(),i.call(e,t,s)}},render:function(e){for(var i=this.tag||this.$vnode.data.tag||"span",t=Object.create(null),s=this.prevChildren=this.children,n=this.$slots.default||[],r=this.children=[],a=ul(this),o=0;o<n.length;o++){var l=n[o];if(l.tag){if(l.key!=null&&String(l.key).indexOf("__vlist")!==0)r.push(l),t[l.key]=l,(l.data||(l.data={})).transition=a;else if(process.env.NODE_ENV!=="production"){var p=l.componentOptions,h=p?Ni(p.Ctor.options)||p.tag||"":l.tag;R("<transition-group> children must be keyed: <".concat(h,">"))}}}if(s){for(var m=[],A=[],o=0;o<s.length;o++){var l=s[o];l.data.transition=a,l.data.pos=l.elm.getBoundingClientRect(),t[l.key]?m.push(l):A.push(l)}this.kept=e(i,null,m),this.removed=A}return e(i,null,r)},updated:function(){var e=this.prevChildren,i=this.moveClass||(this.name||"v")+"-move";!e.length||!this.hasMove(e[0].elm,i)||(e.forEach(cf),e.forEach(uf),e.forEach(pf),this._reflow=document.body.offsetHeight,e.forEach(function(t){if(t.data.moved){var s=t.elm,n=s.style;ai(s,i),n.transform=n.WebkitTransform=n.transitionDuration="",s.addEventListener(Ys,s._moveCb=function r(a){a&&a.target!==s||(!a||/transform$/.test(a.propertyName))&&(s.removeEventListener(Ys,r),s._moveCb=null,Tt(s,i))})}}))},methods:{hasMove:function(e,i){if(!Ho)return!1;if(this._hasMove)return this._hasMove;var t=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(n){Go(t,n)}),Uo(t,i),t.style.display="none",this.$el.appendChild(t);var s=Xo(t);return this.$el.removeChild(t),this._hasMove=s.hasTransform}}};function cf(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function uf(e){e.data.newPos=e.elm.getBoundingClientRect()}function pf(e){var i=e.data.pos,t=e.data.newPos,s=i.left-t.left,n=i.top-t.top;if(s||n){e.data.moved=!0;var r=e.elm.style;r.transform=r.WebkitTransform="translate(".concat(s,"px,").concat(n,"px)"),r.transitionDuration="0s"}}var df={Transition:of,TransitionGroup:lf};we.config.mustUseProp=Xd,we.config.isReservedTag=ko,we.config.isReservedAttr=Yd,we.config.getTagNamespace=oh,we.config.isUnknownElement=lh,ye(we.options.directives,tf),ye(we.options.components,df),we.prototype.__patch__=Ge?Zh:ke,we.prototype.$mount=function(e,i){return e=e&&Ge?ch(e):void 0,Gp(this,e,i)},Ge&&setTimeout(function(){me.devtools&&(Ns?Ns.emit("init",we):process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&console[console.info?"info":"log"](`Download the Vue Devtools extension for a better development experience:
16
+ https://github.com/vuejs/vue-devtools`)),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&me.productionTip!==!1&&typeof console<"u"&&console[console.info?"info":"log"](`You are running Vue in development mode.
17
17
  Make sure to turn on production mode when deploying for production.
18
- See more tips at https://vuejs.org/guide/deployment.html`)},0),Ce.util.warn;const cf={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,i){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"),i=navigator.userAgent.includes("iPad");return e||i}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el),document.documentElement.scrollTop||document.body.scrollTop})}};var uf=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"top-popup-zindex",class:e.className,style:`${e.isIndex?`z-index:${e.isIndex}`:""}`},[t("div",{staticClass:"top-popup-mask",style:e.show&&e.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:function(s){e.isMaskClose&&e.handleClose()}}}),!e.isTips&&!e.isDrawer?t("div",{staticClass:"top-popup",style:e.show?"transform: translateY(0)":"transform: translateY(150%)"},[t("div",{staticClass:"top-popup-header"},[t("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),t("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),t("div",{staticClass:"header-comfig",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])]),t("div",{staticClass:"top-popup-body"},[e._t("default")],2)]):!e.isTips&&e.isDrawer?t("div",{staticClass:"top-popup-drawer",class:e.show?"top-popup-drawer--active":"",style:e.width?`width:${e.width};`:""},[t("div",{staticClass:"top-popup-drawer-header"},[t("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" \u5173\u95ED ")]),t("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),t("div",{staticClass:"header-comfig",staticStyle:{width:"20px"}})]),t("div",{staticClass:"top-popup-drawer--body"},[e._t("default")],2)]):e.isTips&&!e.isDrawer?t("div",{staticClass:"top-tips",style:e.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)"},[t("div",{staticClass:"top-tips-header"},[e._v(e._s(e.titleText))]),t("div",{staticClass:"top-tips-body"},[e._v(e._s(e.context))]),t("div",{staticClass:"top-tips-footer"},[t("div",{staticClass:"top-tips-btn",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),t("div",{staticClass:"top-tips-btn",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])])]):e._e()])},pf=[];const R0="";function ye(e,i,t,s,n,r,a,o){var l=typeof e=="function"?e.options:e;i&&(l.render=i,l.staticRenderFns=t,l._compiled=!0),s&&(l.functional=!0),r&&(l._scopeId="data-v-"+r);var p;if(a?(p=function(C){C=C||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!C&&typeof __VUE_SSR_CONTEXT__<"u"&&(C=__VUE_SSR_CONTEXT__),n&&n.call(this,C),C&&C._registeredComponents&&C._registeredComponents.add(a)},l._ssrRegister=p):n&&(p=o?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),p)if(l.functional){l._injectStyles=p;var h=l.render;l.render=function(k,J){return p.call(J),h(k,J)}}else{var g=l.beforeCreate;l.beforeCreate=g?[].concat(g,p):[p]}return{exports:e,options:l}}const dl={};var df=ye(cf,uf,pf,!1,hf,"5e392d42",null,null);function hf(e){for(let i in dl)this[i]=dl[i]}const ze=function(){return df.exports}(),ff={name:"PreView",props:{file:{type:String,default:""}},data(){return{url:"",video:["mp4","avi","rmvb"],videoShow:!1}},watch:{file:{handler(e,i){if(e)if(this.video.includes(e.substring(e.lastIndexOf(".")+1)))this.videoShow=!0,this.url=e;else{this.videoShow=!1;let t=e.indexOf("https://")==-1?0:1;this.url=`https://wdyl.ddzg.cn:8089/?ssl=${t}&furl=${e}`}},immediate:!0,deep:!0}}};var mf=function(){var e=this,i=e.$createElement,t=e._self._c||i;return e.url?t("div",{staticStyle:{width:"100%",height:"calc(100% - 40px)"}},[e.videoShow?t("video",{staticStyle:{height:"100%",width:"100%"},attrs:{controls:""}},[t("source",{attrs:{src:e.url,type:"video/mp4"}})]):t("iframe",{staticStyle:{height:"100%",border:"unset",width:"100%"},attrs:{src:e.url}})]):e._e()},gf=[];const hl={};var yf=ye(ff,mf,gf,!1,vf,null,null,null);function vf(e){for(let i in hl)this[i]=hl[i]}const fl=function(){return yf.exports}(),Af={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,i){this.imagesList=e},immediate:!0,deep:!0},visible:{handler(e,i){this.show=e},immediate:!0},indexd:{handler(e,i){e>=0&&(this.isIndex=e+1,this.move=e*100*-1)},immediate:!0}},methods:{handelTouchstart(e){let i=e.touches,t=i[0],s=i[1];this.displacement.pageX=t.pageX,this.displacement.pageY=t.pageY,this.displacement.moveable=!0,s?(this.displacement.pageX2=s.pageX,this.displacement.pageY2=s.pageY):(this.duration="transition-duration: 0.05s;transition-timing-function:linear",this.windowWidth=(document.documentElement.clientWidth||document.body.clientWidth)/100,this.windowHeight=(document.documentElement.clientHeight||document.body.clientHeight)/100,this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY,this.startMove=this.move),this.displacement.originScale=this.displacement.scale||1},handelTouchmove(e){if(!this.displacement.moveable)return;e.preventDefault();let i=e.touches,t=i[0],s=i[1];if(s){this.displacement.pageX2||(this.displacement.pageX2=s.pageX),this.displacement.pageY2||(this.displacement.pageY2=s.pageY);let n=this.getDistance({x:t.pageX,y:t.pageY},{x:s.pageX,y:s.pageY})/this.getDistance({x:this.displacement.pageX,y:this.displacement.pageY},{x:this.displacement.pageX2,y:this.displacement.pageY2}),r=this.displacement.originScale*n;r<.5?r=.5:r>3&&(r=3),this.displacement.scale=r,this.styleZoom=`scale(${r})`,this.styleOrigin="0 0"}else this.moveX=`calc(${(e.touches[0].clientX-this.startX)/this.displacement.scale}px - 50%)`,this.moveY=`calc(${(e.touches[0].clientY-this.startY)/this.displacement.scale}px - 50%)`},getDistance(e,i){return Math.hypot(i.x-e.x,i.y-e.y)},touchstartView(e){this.isOne||(this.duration="transition-duration: 0.05s;transition-timing-function:linear",this.flag=!0,this.windowWidth=(document.documentElement.clientWidth||document.body.clientWidth)/100,this.startX=e.touches[0].clientX,this.startMove=this.move)},touchmoveView(e){this.isOne||(this.startX>e.touches[0].clientX?this.move<=-((this.imagesList.length-1)*100)?this.move=-((this.imagesList.length-1)*100):this.move=this.startMove+Math.ceil((e.touches[0].clientX-this.startX)/this.windowWidth):this.startX<e.touches[0].clientX&&this.move<0&&(this.move>=0?this.move=0:this.move=this.startMove+Math.ceil((e.touches[0].clientX-this.startX)/this.windowWidth)))},touchendView(){if(this.isOne)return;this.duration="transition-duration: 0.2s;transition-timing-function:ease";let e=Math.floor(Math.abs(this.move/100));Math.abs(this.move/100%1)>.5?(this.isIndex=e+2,this.move=(e+1)*100*-1):(this.isIndex=e+1,this.move=e*100*-1),this.flag=!1},handleClose(){this.$emit("update:visible",!1)}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el)})}};var bf=function(){var e=this,i=e.$createElement,t=e._self._c||i;return e.visible?t("div",{staticClass:"preview-image"},[t("div",{staticClass:"preview-image-mask",on:{click:e.handleClose}}),e.isOne?t("div",{staticClass:"preview-image-view--one",style:`transform:${e.styleZoom} translate(${e.moveX},${e.moveY});${e.duration};${e.styleOrigin?`transformOrigin:${e.styleOrigin}`:""};`,on:{touchstart:e.handelTouchstart,touchmove:e.handelTouchmove}},e._l(e.imagesList,function(s,n){return t("img",{key:n,staticClass:"img-view",attrs:{src:s}})}),0):t("div",{staticClass:"preview-image-view--img",style:`transform: translate(${e.move}%,-50%);${e.duration}`,on:{touchstart:e.touchstartView,touchmove:e.touchmoveView,touchend:e.touchendView}},[t("div",{staticClass:"preview-image-mask",staticStyle:{opacity:"0","z-index":"1"},on:{click:e.handleClose}}),e._l(e.imagesList,function(s,n){return t("img",{key:n,staticClass:"img-view",attrs:{src:s}})})],2),e.isOne?e._e():t("div",{staticClass:"preview-image-view--page"},[t("span",{staticClass:"page-item"},[e._v(e._s(e.isIndex)+"/"+e._s(e.imagesList.length))])]),t("div",{staticClass:"preview-image-view--close"})]):e._e()},Cf=[];const L0="",ml={};var wf=ye(Af,bf,Cf,!1,xf,"2d4b6adf",null,null);function xf(e){for(let i in ml)this[i]=ml[i]}const Ys=function(){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Xl+o3e1AFjVNlF9PhVyA+C/TLWGVzx89ZuflMJ3OoAAXHlUSshnj6y3CWuocKyu24k8Y1fMCIBVAXCUFQaTwXiMPkm1K+UrTb1uTcaGiUHpzrRRGJi0rADUu2KeU5wjVC+SXUU8o2AUAAMD0IWuqHhOgj0A2G0b5u16wRlwpDttN+2W1mJ8gEogfGT3tV9MEq9kw76PQO5ktbKjYFQ2XDuRBlIA1Aage8io+q1+3GV8ao3fcbLxW4Po6cy8nR9NBN+YKfjzVVSyqf5PTVav393yJZuwigwsAqAWsU7TdktVMCQABhbkkwDeIRtd+dTIkz/96hsHSrmZyKsnxfq8scy+xWflsrnLEwYvZVAzgRsYaAKjiYimBnabFRoWACsMoJI75kEQegnoZeAIg3YmbWxDvbk3c9n2AUesSkRrMo//Bwdf9ZzE6Zx0AAAAAElFTkSuQmCC",Ef={name:"ViewAttchList",components:{PreView:fl,TopPopup:ze,PreviewImage:Ys},computed:{del(){return gl},doc(){return yl},file(){return vl},image(){return Al},pdf(){return bl},xls(){return Cl},zip(){return wl}},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,i){if(e.length){this.listData=e,this.lists=[];let t=[];e.map((s,n)=>{this.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())}),t=e.filter(s=>this.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())),t.forEach((s,n)=>{this.lists.push(s.url)})}},immediate:!0,deep:!0}},methods:{viewFile(e){this.imgIcon.includes(e.url.substring(e.url.lastIndexOf(".")+1).toLowerCase())?(this.visibleImg=!0,this.indexd=this.lists.indexOf(e.url)):(this.fileUrl=e.url,this.visible=!0)},loadFile(e){var i;if(ua.default.hasNativeMethod("vueUpLoadFile"))ua.default.call("vueUpLoadFile",e.url);else{if(typeof nativeMethod<"u"&&(nativeMethod==null?void 0:nativeMethod.vueUpLoadFile))return nativeMethod.vueUpLoadFile(e.url),!1;const t=document.createElement("a");t.download=(i=e.url)==null?void 0:i.match(/([^\/]+)$/g)[0],t.href=e.url,t.click()}}}};var Tf=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-wrap"},[e.listData.length>0?t("div",{staticClass:"attch-list"},e._l(e.listData,function(s,n){return t("div",{key:s.id,staticClass:"list-items"},[t("div",{staticClass:"list-items-icon"},[e.xlsIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.xls}}):e.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.image}}):s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?t("img",{staticClass:"icon-img",attrs:{src:e.pdf}}):e.docIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.doc}}):e.zipIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.zip}}):t("img",{staticClass:"icon-img",attrs:{src:e.file}})]),t("div",{staticClass:"list-items-info",on:{click:function(r){return e.viewFile(s)}}},[t("div",{staticClass:"info-name"},[t("span",{staticClass:"info-name-text"},[e._v(e._s(s.name))])]),t("div",{staticClass:"info-attribute"},[t("span",{staticClass:"info-attribute-time"},[e._v(e._s(s.uploadTime))]),t("span",{staticClass:"info-attribute-size"},[e._v(e._s(s.size<1024?s.size:s.size/1024>1024?parseFloat((s.size/1024/1024).toFixed(2)):parseFloat((s.size/1024).toFixed(2)))+e._s(s.size<1024?"b":parseFloat((s.size/1024).toFixed(2))<1024?"kb":"M")+" ")])])]),t("div",{staticClass:"list-items-download",on:{click:function(r){return e.loadFile(s)}}},[t("span",{staticClass:"download-text"},[e._v("\u4E0B\u8F7D")])])])}),0):t("div",{staticClass:"attch-list"},[e._m(0)]),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},on:{"update:visible":function(s){return e.visible=s}}},[t("PreView",{attrs:{file:e.fileUrl}})],1),t("PreviewImage",{attrs:{images:e.lists,visible:e.visibleImg,indexd:e.indexd},on:{"update:visible":function(s){return e.visibleImg=s}}})],1)},If=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"attch-list--white"},[t("div",{staticClass:"attch-list--label"},[e._v("\u6682\u65E0\u9644\u4EF6")])])}];const F0="",xl={};var kf=ye(Ef,Tf,If,!1,Nf,"7ee87e48",null,null);function Nf(e){for(let i in xl)this[i]=xl[i]}const El=function(){return kf.exports}();function gt(e,i){i&&(e.super_=i,e.prototype=Object.create(i.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}const ls=Object.prototype.toString,Sf=Object.prototype.hasOwnProperty;function xr(e){return e===void 0}function Pi(e){return e!==void 0}function Tl(e){return e==null}function ct(e){return ls.call(e)==="[object Array]"}function li(e){return ls.call(e)==="[object Object]"}function Ut(e){return ls.call(e)==="[object Number]"}function ci(e){const i=ls.call(e);return i==="[object Function]"||i==="[object AsyncFunction]"||i==="[object GeneratorFunction]"||i==="[object AsyncGeneratorFunction]"||i==="[object Proxy]"}function ut(e){return ls.call(e)==="[object String]"}function Di(e,i){return!Tl(e)&&Sf.call(e,i)}function pt(e,i){const t=Er(i);let s;return q(e,function(n,r){if(t(n,r))return s=n,!1}),s}function _f(e,i){const t=Er(i);let s=ct(e)?-1:void 0;return q(e,function(n,r){if(t(n,r))return s=r,!1}),s}function Mi(e,i){const t=Er(i);let s=[];return q(e,function(n,r){t(n,r)&&s.push(n)}),s}function q(e,i){let t,s;if(xr(e))return;const n=ct(e)?Mf:Df;for(let r in e)if(Di(e,r)&&(t=e[r],s=i(t,n(r)),s===!1))return t}function Oi(e,i,t){return q(e,function(s,n){t=i(t,s,n)}),t}function Il(e,i){return!!Oi(e,function(t,s,n){return t&&i(s,n)},!0)}function kl(e,i){return!!pt(e,i)}function Pf(e,i){let t=[];return q(e,function(s,n){t.push(i(s,n))}),t}function Nl(e){return function(i){return Il(e,function(t,s){return i[s]===t})}}function Er(e){return ci(e)?e:i=>i===e}function Df(e){return e}function Mf(e){return Number(e)}function Of(e,i){let t,s,n,r;function a(g){let C=Date.now(),k=g?0:r+i-C;if(k>0)return o(k);e.apply(n,s),l()}function o(g){t=setTimeout(a,g)}function l(){t&&clearTimeout(t),t=r=s=n=void 0}function p(){t&&a(!0),l()}function h(...g){r=Date.now(),s=g,n=this,t||o(i)}return h.flush=p,h.cancel=l,h}function Gt(e,i){return e.bind(i)}function z(e,...i){return Object.assign(e,...i)}function Bf(e,i,t){let s=e;return q(i,function(n,r){if(typeof n!="number"&&typeof n!="string")throw new Error("illegal key type: "+typeof n+". Key should be of type number or string.");if(n==="constructor")throw new Error("illegal key: constructor");if(n==="__proto__")throw new Error("illegal key: __proto__");let a=i[r+1],o=s[n];Pi(a)&&Tl(o)&&(o=s[n]=isNaN(+a)?{}:[]),xr(a)?xr(t)?delete s[n]:s[n]=t:s=o}),e}function Rf(e,i){let t={},s=Object(e);return q(i,function(n){n in s&&(t[n]=e[n])}),t}function Lf(e,i){let t={},s=Object(e);return q(s,function(n,r){i.indexOf(r)===-1&&(t[r]=n)}),t}var Ff=1e3;function It(e,i){var t=this;i=i||Ff,e.on(["render.shape","render.connection"],i,function(s,n){var r=s.type,a=n.element,o=n.gfx,l=n.attrs;if(t.canRender(a))return r==="render.shape"?t.drawShape(o,a,l):t.drawConnection(o,a,l)}),e.on(["render.getShapePath","render.getConnectionPath"],i,function(s,n){if(t.canRender(n))return s.type==="render.getShapePath"?t.getShapePath(n):t.getConnectionPath(n)})}It.prototype.canRender=function(e){},It.prototype.drawShape=function(e,i){},It.prototype.drawConnection=function(e,i){},It.prototype.getShapePath=function(e){},It.prototype.getConnectionPath=function(e){};function W(e,i){var t=ve(e);return t&&typeof t.$instanceOf=="function"&&t.$instanceOf(i)}function jf(e,i){return kl(i,function(t){return W(e,t)})}function ve(e){return e&&e.businessObject||e}function ui(e){return e&&e.di}function pi(e,i){return W(e,"bpmn:CallActivity")?!1:W(e,"bpmn:SubProcess")?(i=i||ui(e),i&&W(i,"bpmndi:BPMNPlane")?!0:i&&!!i.isExpanded):W(e,"bpmn:Participant")?!!ve(e).processRef:!0}function Sl(e){if(!(!W(e,"bpmn:Participant")&&!W(e,"bpmn:Lane"))){var i=ui(e).isHorizontal;return i===void 0?!0:i}}function Vf(e){return e&&!!ve(e).triggeredByEvent}function Qf(e){return li(e)&&Di(e,"waypoints")}var Zs={width:90,height:20},_l=15;function Uf(e){return W(e,"bpmn:Event")||W(e,"bpmn:Gateway")||W(e,"bpmn:DataStoreReference")||W(e,"bpmn:DataObjectReference")||W(e,"bpmn:DataInput")||W(e,"bpmn:DataOutput")||W(e,"bpmn:SequenceFlow")||W(e,"bpmn:MessageFlow")||W(e,"bpmn:Group")}function Gf(e){var i=e.length/2-1,t=e[Math.floor(i)],s=e[Math.ceil(i+.01)],n=qf(e),r=Math.atan((s.y-t.y)/(s.x-t.x)),a=n.x,o=n.y;return Math.abs(r)<Math.PI/2?o-=_l:a+=_l,{x:a,y:o}}function qf(e){var i=e.length/2-1,t=e[Math.floor(i)],s=e[Math.ceil(i+.01)];return{x:t.x+(s.x-t.x)/2,y:t.y+(s.y-t.y)/2}}function Jf(e){return e.waypoints?Gf(e.waypoints):W(e,"bpmn:Group")?{x:e.x+e.width/2,y:e.y+Zs.height/2}:{x:e.x+e.width/2,y:e.y+e.height+Zs.height/2}}function Hf(e,i){var t,s,n,r=e.label;return r&&r.bounds?(n=r.bounds,s={width:Math.max(Zs.width,n.width),height:n.height},t={x:n.x+n.width/2,y:n.y+n.height/2}):(t=Jf(i),s=Zs),z({x:t.x-s.width/2,y:t.y-s.height/2},s)}function Kf(e){if(W(e,"bpmn:FlowElement")||W(e,"bpmn:Participant")||W(e,"bpmn:Lane")||W(e,"bpmn:SequenceFlow")||W(e,"bpmn:MessageFlow")||W(e,"bpmn:DataInput")||W(e,"bpmn:DataOutput"))return"name";if(W(e,"bpmn:TextAnnotation"))return"text";if(W(e,"bpmn:Group"))return"categoryValueRef"}function Wf(e){var i=e.categoryValueRef;return i&&i.value||""}function Xs(e){var i=e.businessObject,t=Kf(i);if(t)return t==="categoryValueRef"?Wf(i):i[t]||""}function zf(e,i){if(e.ownerDocument!==i.ownerDocument)try{return i.ownerDocument.importNode(e,!0)}catch{}return e}function Pl(e,i){return i.appendChild(zf(e,i))}function Ie(e,i){return Pl(i,e),e}var Tr=2,Dl={"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":Tr,"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":Tr,"text-anchor":1,"text-decoration":1,"text-rendering":1,"unicode-bidi":1,visibility:1,"word-spacing":1,"writing-mode":1};function Yf(e,i){return Dl[i]?e.style[i]:e.getAttributeNS(null,i)}function Ml(e,i,t){var s=i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),n=Dl[s];n?(n===Tr&&typeof t=="number"&&(t=String(t)+"px"),e.style[s]=t):e.setAttributeNS(null,i,t)}function Zf(e,i){var t=Object.keys(i),s,n;for(s=0,n;n=t[s];s++)Ml(e,n,i[n])}function de(e,i,t){if(typeof i=="string")if(t!==void 0)Ml(e,i,t);else return Yf(e,i);else Zf(e,i);return e}const Xf=Object.prototype.toString;function yt(e){return new qt(e)}function qt(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}qt.prototype.add=function(e){return this.list.add(e),this},qt.prototype.remove=function(e){return Xf.call(e)=="[object RegExp]"?this.removeMatching(e):(this.list.remove(e),this)},qt.prototype.removeMatching=function(e){const i=this.array();for(let t=0;t<i.length;t++)e.test(i[t])&&this.remove(i[t]);return this},qt.prototype.toggle=function(e,i){return typeof i<"u"?i!==this.list.toggle(e,i)&&this.list.toggle(e):this.list.toggle(e),this},qt.prototype.array=function(){return Array.from(this.list)},qt.prototype.has=qt.prototype.contains=function(e){return this.list.contains(e)};function $f(e){for(var i;i=e.firstChild;)e.removeChild(i);return e}var Ir={svg:"http://www.w3.org/2000/svg"},Ol='<svg xmlns="'+Ir.svg+'"';function Bl(e){var i=!1;e.substring(0,4)==="<svg"?e.indexOf(Ir.svg)===-1&&(e=Ol+e.substring(4)):(e=Ol+">"+e+"</svg>",i=!0);var t=em(e);if(!i)return t;for(var s=document.createDocumentFragment(),n=t.firstChild;n.firstChild;)s.appendChild(n.firstChild);return s}function em(e){var i;return i=new DOMParser,i.async=!1,i.parseFromString(e,"text/xml")}function he(e,i){var t;return e=e.trim(),e.charAt(0)==="<"?(t=Bl(e).firstChild,t=document.importNode(t,!0)):t=document.createElementNS(Ir.svg,e),i&&de(t,i),t}var kr=null;function Nr(){return kr===null&&(kr=he("svg")),kr}function Rl(e,i){var t,s,n=Object.keys(i);for(t=0;s=n[t];t++)e[s]=i[s];return e}function tm(e,i,t,s,n,r){var a=Nr().createSVGMatrix();switch(arguments.length){case 0:return a;case 1:return Rl(a,e);case 6:return Rl(a,{a:e,b:i,c:t,d:s,e:n,f:r})}}function cs(e){return e?Nr().createSVGTransformFromMatrix(e):Nr().createSVGTransform()}var Ll=/([&<>]{1})/g,im=/([&<>\n\r"]{1})/g,sm={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"'"};function Sr(e,i){function t(s,n){return sm[n]||n}return e.replace(i,t)}function Fl(e,i){var t,s,n,r,a;switch(e.nodeType){case 3:i.push(Sr(e.textContent,Ll));break;case 1:if(i.push("<",e.tagName),e.hasAttributes())for(n=e.attributes,t=0,s=n.length;t<s;++t)r=n.item(t),i.push(" ",r.name,'="',Sr(r.value,im),'"');if(e.hasChildNodes()){for(i.push(">"),a=e.childNodes,t=0,s=a.length;t<s;++t)Fl(a.item(t),i);i.push("</",e.tagName,">")}else i.push("/>");break;case 8:i.push("<!--",Sr(e.nodeValue,Ll),"-->");break;case 4:i.push("<![CDATA[",e.nodeValue,"]]>");break;default:throw new Error("unable to handle node "+e.nodeType)}return i}function nm(e,i){var t=Bl(i);if($f(e),!!i){am(t)||(t=t.documentElement);for(var s=om(t.childNodes),n=0;n<s.length;n++)Pl(s[n],e)}}function rm(e){for(var i=e.firstChild,t=[];i;)Fl(i,t),i=i.nextSibling;return t.join("")}function am(e){return e.nodeName==="#document-fragment"}function jl(e,i){if(i!==void 0){try{nm(e,i)}catch(t){throw new Error("error parsing SVG: "+t.message)}return e}else return rm(e)}function om(e){return Array.prototype.slice.call(e)}function us(e){var i=e.parentNode;return i&&i.removeChild(e),e}function lm(e,i){return i instanceof SVGMatrix?e.createSVGTransformFromMatrix(i):i}function cm(e,i){var t,s;for(e.clear(),t=0;s=i[t];t++)e.appendItem(lm(e,s))}function ps(e,i){var t=e.transform.baseVal;return i&&(Array.isArray(i)||(i=[i]),cm(t,i)),t.consolidate()}function di(e){return e.flat().join(",").replace(/,?([A-Za-z]),?/g,"$1")}function um(e){return["M",e.x,e.y]}function _r(e){return["L",e.x,e.y]}function pm(e,i,t){return["C",e.x,e.y,i.x,i.y,t.x,t.y]}function dm(e,i){const t=e.length,s=[um(e[0])];for(let n=1;n<t;n++){const r=e[n-1],a=e[n],o=e[n+1];if(!o||!i){s.push(_r(a));continue}const l=Math.min(i,Pr(a.x-r.x,a.y-r.y),Pr(o.x-a.x,o.y-a.y));if(!l){s.push(_r(a));continue}const p=$s(a,r,l),h=$s(a,r,l*.5),g=$s(a,o,l),C=$s(a,o,l*.5);s.push(_r(p)),s.push(pm(h,C,g))}return s}function $s(e,i,t){const s=i.x-e.x,n=i.y-e.y,r=Pr(s,n),a=t/r;return{x:e.x+s*a,y:e.y+n*a}}function Pr(e,i){return Math.sqrt(Math.pow(e,2)+Math.pow(i,2))}function Dr(e,i,t){Ut(i)&&(t=i,i=null),i||(i={});const s=he("path",i);return Ut(t)&&(s.dataset.cornerRadius=String(t)),Vl(s,e)}function Vl(e,i){const t=parseInt(e.dataset.cornerRadius,10)||0;return de(e,{d:di(dm(i,t))}),e}var Mr="hsl(225, 10%, 15%)",hm="white";function vt(e,i){return kl(e.eventDefinitions,function(t){return t.$type===i})}function fm(e){return e.$type==="bpmn:IntermediateThrowEvent"||e.$type==="bpmn:EndEvent"}function mm(e){var i=e.dataObjectRef;return e.isCollection||i&&i.isCollection}function te(e,i,t){var s=ui(e);return t||s.get("color:background-color")||s.get("bioc:fill")||i||hm}function F(e,i,t){var s=ui(e);return t||s.get("color:border-color")||s.get("bioc:stroke")||i||Mr}function ds(e,i,t,s){var n=ui(e),r=n.get("label");return s||r&&r.get("color:color")||i||F(e,t)}function gm(e){var i=e.x+e.width/2,t=e.y+e.height/2,s=e.width/2,n=[["M",i,t],["m",0,-s],["a",s,s,0,1,1,0,2*s],["a",s,s,0,1,1,0,-2*s],["z"]];return di(n)}function ym(e,i){var t=e.x,s=e.y,n=e.width,r=e.height,a=[["M",t+i,s],["l",n-i*2,0],["a",i,i,0,0,1,i,i],["l",0,r-i*2],["a",i,i,0,0,1,-i,i],["l",i*2-n,0],["a",i,i,0,0,1,-i,-i],["l",0,i*2-r],["a",i,i,0,0,1,i,-i],["z"]];return di(a)}function vm(e){var i=e.width,t=e.height,s=e.x,n=e.y,r=i/2,a=t/2,o=[["M",s+r,n],["l",r,a],["l",-r,a],["l",-r,-a],["z"]];return di(o)}function Am(e){var i=e.x,t=e.y,s=e.width,n=e.height,r=[["M",i,t],["l",s,0],["l",0,n],["l",-s,0],["z"]];return di(r)}function hs(e,i={}){return{width:it(e,i),height:qe(e,i)}}function it(e,i={}){return Di(i,"width")?i.width:e.width}function qe(e,i={}){return Di(i,"height")?i.height:e.height}function bm(e,i){return i.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(s){if(s!=="default"&&!(s in e)){var n=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,n.get?n:{enumerable:!0,get:function(){return t[s]}})}})}),Object.freeze(e)}const Cm=Object.prototype.toString,wm=Object.prototype.hasOwnProperty;function xm(e){return e===void 0}function Em(e){return Cm.call(e)==="[object Array]"}function Tm(e,i){return wm.call(e,i)}function Ql(e,i){let t,s;if(xm(e))return;const n=Em(e)?km:Im;for(let r in e)if(Tm(e,r)&&(t=e[r],s=i(t,n(r)),s===!1))return t}function Im(e){return e}function km(e){return Number(e)}function De(e,...i){const t=e.style;return Ql(i,function(s){!s||Ql(s,function(n,r){t[r]=n})}),e}function Or(e,i,t){return arguments.length==2?e.getAttribute(i):t===null?e.removeAttribute(i):(e.setAttribute(i,t),e)}const Nm=Object.prototype.toString;function hi(e){return new Jt(e)}function Jt(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}Jt.prototype.add=function(e){return this.list.add(e),this},Jt.prototype.remove=function(e){return Nm.call(e)=="[object RegExp]"?this.removeMatching(e):(this.list.remove(e),this)},Jt.prototype.removeMatching=function(e){const i=this.array();for(let t=0;t<i.length;t++)e.test(i[t])&&this.remove(i[t]);return this},Jt.prototype.toggle=function(e,i){return typeof i<"u"?i!==this.list.toggle(e,i)&&this.list.toggle(e):this.list.toggle(e),this},Jt.prototype.array=function(){return Array.from(this.list)},Jt.prototype.has=Jt.prototype.contains=function(e){return this.list.contains(e)};function Ul(e){for(var i;i=e.firstChild;)e.removeChild(i);return e}function Gl(e,i,t){var s=t?e:e.parentNode;return s&&typeof s.closest=="function"&&s.closest(i)||null}var en={},tn,Br,Rr;function ql(){tn=window.addEventListener?"addEventListener":"attachEvent",Br=window.removeEventListener?"removeEventListener":"detachEvent",Rr=tn!=="addEventListener"?"on":""}var Sm=en.bind=function(e,i,t,s){return tn||ql(),e[tn](Rr+i,t,s||!1),t},_m=en.unbind=function(e,i,t,s){return Br||ql(),e[Br](Rr+i,t,s||!1),t},fi=bm({__proto__:null,bind:Sm,unbind:_m,default:en},[en]),Jl=["focus","blur"];function Pm(e,i,t,s,n){return Jl.indexOf(t)!==-1&&(n=!0),fi.bind(e,t,function(r){var a=r.target||r.srcElement;r.delegateTarget=Gl(a,i,!0),r.delegateTarget&&s.call(e,r)},n)}function Dm(e,i,t,s){return Jl.indexOf(i)!==-1&&(s=!0),fi.unbind(e,i,t,s)}var Bi={bind:Pm,unbind:Dm},Mm=Om,Hl=!1,sn;typeof document<"u"&&(sn=document.createElement("div"),sn.innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',Hl=!sn.getElementsByTagName("link").length,sn=void 0);var xe={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:Hl?[1,"X<div>","</div>"]:[0,"",""]};xe.td=xe.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],xe.option=xe.optgroup=[1,'<select multiple="multiple">',"</select>"],xe.thead=xe.tbody=xe.colgroup=xe.caption=xe.tfoot=[1,"<table>","</table>"],xe.polyline=xe.ellipse=xe.polygon=xe.circle=xe.text=xe.line=xe.path=xe.rect=xe.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"];function Om(e,i){if(typeof e!="string")throw new TypeError("String expected");i||(i=document);var t=/<([\w:]+)/.exec(e);if(!t)return i.createTextNode(e);e=e.replace(/^\s+|\s+$/g,"");var s=t[1];if(s=="body"){var l=i.createElement("html");return l.innerHTML=e,l.removeChild(l.lastChild)}var n=Object.prototype.hasOwnProperty.call(xe,s)?xe[s]:xe._default,r=n[0],a=n[1],o=n[2],l=i.createElement("div");for(l.innerHTML=a+e+o;r--;)l=l.lastChild;if(l.firstChild==l.lastChild)return l.removeChild(l.firstChild);for(var p=i.createDocumentFragment();l.firstChild;)p.appendChild(l.removeChild(l.firstChild));return p}var Ye=Mm;function kt(e,i){return i=i||document,i.querySelector(e)}function Bm(e,i){return i=i||document,i.querySelectorAll(e)}function Ri(e){e.parentNode&&e.parentNode.removeChild(e)}function Lr(e,i,t,s,n){var r=cs();r.setTranslate(i,t);var a=cs();a.setRotate(s||0,0,0);var o=cs();o.setScale(n||1,n||1),ps(e,[r,a,o])}function Kl(e,i,t){var s=cs();s.setTranslate(i,t),ps(e,s)}function Rm(e,i){var t=cs();t.setRotate(i,0,0),ps(e,t)}function Lm(e,i){return i={exports:{}},e(i,i.exports),i.exports}var Fm=Lm(function(e){var i=e.exports=function(t,s){if(s||(s=16),t===void 0&&(t=128),t<=0)return"0";for(var n=Math.log(Math.pow(2,t))/Math.log(s),r=2;n===1/0;r*=2)n=Math.log(Math.pow(2,t/r))/Math.log(s)*r;for(var a=n-Math.floor(n),o="",r=0;r<Math.floor(n);r++){var l=Math.floor(Math.random()*s).toString(s);o=l+o}if(a){var p=Math.pow(s,a),l=Math.floor(Math.random()*p).toString(s);o=l+o}var h=parseInt(o,s);return h!==1/0&&h>=Math.pow(2,t)?i(t,s):o};i.rack=function(t,s,n){var r=function(o){var l=0;do{if(l++>10)if(n)t+=n;else throw new Error("too many ID collisions, use more bits");var p=i(t,s)}while(Object.hasOwnProperty.call(a,p));return a[p]=o,p},a=r.hats={};return r.get=function(o){return r.hats[o]},r.set=function(o,l){return r.hats[o]=l,r},r.bits=t||128,r.base=s||16,r}});function Nt(e){if(!(this instanceof Nt))return new Nt(e);e=e||[128,36,1],this._seed=e.length?Fm.rack(e[0],e[1],e[2]):e}Nt.prototype.next=function(e){return this._seed(e||!0)},Nt.prototype.nextPrefixed=function(e,i){var t;do t=e+this.next(!0);while(this.assigned(t));return this.claim(t,i),t},Nt.prototype.claim=function(e,i){this._seed.set(e,i||!0)},Nt.prototype.assigned=function(e){return this._seed.get(e)||!1},Nt.prototype.unclaim=function(e){delete this._seed.hats[e]},Nt.prototype.clear=function(){var e=this._seed.hats,i;for(i in e)this.unclaim(i)};var jm=new Nt,Vm=10,nn=3,Qm=1.5,rn=10,Li=.95,Um=1,Gm=.25;function mi(e,i,t,s,n,r,a){It.call(this,i,a);var o=e&&e.defaultFillColor,l=e&&e.defaultStrokeColor,p=e&&e.defaultLabelColor;function h(d){return t.computeStyle(d,{strokeLinecap:"round",strokeLinejoin:"round",stroke:Mr,strokeWidth:2,fill:"white"})}function g(d){return t.computeStyle(d,["no-fill"],{strokeLinecap:"round",strokeLinejoin:"round",stroke:Mr,strokeWidth:2})}function C(d,u){var{ref:c={x:0,y:0},scale:f=1,element:y,parentGfx:E=n._svg}=u,_=he("marker",{id:d,viewBox:"0 0 20 20",refX:c.x,refY:c.y,markerWidth:20*f,markerHeight:20*f,orient:"auto"});Ie(_,y);var G=kt(":scope > defs",E);G||(G=he("defs"),Ie(E,G)),Ie(G,_)}function k(d,u,c,f){var y=jm.nextPrefixed("marker-");return J(d,y,u,c,f),"url(#"+y+")"}function J(d,u,c,f,y){if(c==="sequenceflow-end"){var E=he("path",{d:"M 1 5 L 11 10 L 1 15 Z",...h({fill:y,stroke:y,strokeWidth:1})});C(u,{element:E,ref:{x:11,y:10},scale:.5,parentGfx:d})}if(c==="messageflow-start"){var _=he("circle",{cx:6,cy:6,r:3.5,...h({fill:f,stroke:y,strokeWidth:1,strokeDasharray:[1e4,1]})});C(u,{element:_,ref:{x:6,y:6},parentGfx:d})}if(c==="messageflow-end"){var G=he("path",{d:"m 1 5 l 0 -3 l 7 3 l -7 3 z",...h({fill:f,stroke:y,strokeWidth:1,strokeDasharray:[1e4,1]})});C(u,{element:G,ref:{x:8.5,y:5},parentGfx:d})}if(c==="association-start"){var ae=he("path",{d:"M 11 5 L 1 10 L 11 15",...g({fill:"none",stroke:y,strokeWidth:1.5,strokeDasharray:[1e4,1]})});C(u,{element:ae,ref:{x:1,y:10},scale:.5,parentGfx:d})}if(c==="association-end"){var Ee=he("path",{d:"M 1 5 L 11 10 L 1 15",...g({fill:"none",stroke:y,strokeWidth:1.5,strokeDasharray:[1e4,1]})});C(u,{element:Ee,ref:{x:11,y:10},scale:.5,parentGfx:d})}if(c==="conditional-flow-marker"){var be=he("path",{d:"M 0 10 L 8 6 L 16 10 L 8 14 Z",...h({fill:f,stroke:y})});C(u,{element:be,ref:{x:-1,y:10},scale:.5,parentGfx:d})}if(c==="conditional-default-flow-marker"){var Se=he("path",{d:"M 6 4 L 10 16",...h({stroke:y,fill:"none"})});C(u,{element:Se,ref:{x:0,y:10},scale:.5,parentGfx:d})}}function Q(d,u,c,f,y={}){li(f)&&(y=f,f=0),f=f||0,y=h(y);var E=u/2,_=c/2,G=he("circle",{cx:E,cy:_,r:Math.round((u+c)/4-f),...y});return Ie(d,G),G}function re(d,u,c,f,y,E){li(y)&&(E=y,y=0),y=y||0,E=h(E);var _=he("rect",{x:y,y,width:u-y*2,height:c-y*2,rx:f,ry:f,...E});return Ie(d,_),_}function se(d,u,c,f){var y=u/2,E=c/2,_=[{x:y,y:0},{x:u,y:E},{x:y,y:c},{x:0,y:E}],G=_.map(function(Ee){return Ee.x+","+Ee.y}).join(" ");f=h(f);var ae=he("polygon",{...f,points:G});return Ie(d,ae),ae}function Z(d,u,c,f){c=g(c);var y=Dr(u,c,f);return Ie(d,y),y}function P(d,u,c){return Z(d,u,c,5)}function A(d,u,c){c=g(c);var f=he("path",{...c,d:u});return Ie(d,f),f}function S(d,u,c,f){return A(u,c,z({"data-marker":d},f))}function D(d){return ie[d]}function U(d){return function(u,c,f){return D(d)(u,c,f)}}var I={"bpmn:MessageEventDefinition":function(d,u,c={},f){var y=s.getScaledPath("EVENT_MESSAGE",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:c.width||u.width,containerHeight:c.height||u.height,position:{mx:.235,my:.315}}),E=f?F(u,l,c.stroke):te(u,o,c.fill),_=f?te(u,o,c.fill):F(u,l,c.stroke),G=A(d,y,{fill:E,stroke:_,strokeWidth:1});return G},"bpmn:TimerEventDefinition":function(d,u,c={}){var f=c.width||u.width,y=c.height||u.height,E=c.width?1:2,_=Q(d,f,y,.2*y,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:E}),G=s.getScaledPath("EVENT_TIMER_WH",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:f,containerHeight:y,position:{mx:.5,my:.5}});A(d,G,{stroke:F(u,l,c.stroke),strokeWidth:E});for(var ae=0;ae<12;ae++){var Ee=s.getScaledPath("EVENT_TIMER_LINE",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:f,containerHeight:y,position:{mx:.5,my:.5}}),be=f/2,Se=y/2;A(d,Ee,{strokeWidth:1,stroke:F(u,l,c.stroke),transform:"rotate("+ae*30+","+Se+","+be+")"})}return _},"bpmn:EscalationEventDefinition":function(d,u,c={},f){var y=s.getScaledPath("EVENT_ESCALATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width||u.width,containerHeight:c.height||u.height,position:{mx:.5,my:.2}}),E=f?F(u,l,c.stroke):te(u,o,c.fill);return A(d,y,{fill:E,stroke:F(u,l,c.stroke),strokeWidth:1})},"bpmn:ConditionalEventDefinition":function(d,u,c={}){var f=s.getScaledPath("EVENT_CONDITIONAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width||u.width,containerHeight:c.height||u.height,position:{mx:.5,my:.222}});return A(d,f,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:1})},"bpmn:LinkEventDefinition":function(d,u,c={},f){var y=s.getScaledPath("EVENT_LINK",{xScaleFactor:1,yScaleFactor:1,containerWidth:u.width,containerHeight:u.height,position:{mx:.57,my:.263}}),E=f?F(u,l,c.stroke):te(u,o,c.fill);return A(d,y,{fill:E,stroke:F(u,l,c.stroke),strokeWidth:1})},"bpmn:ErrorEventDefinition":function(d,u,c={},f){var y=s.getScaledPath("EVENT_ERROR",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:c.width||u.width,containerHeight:c.height||u.height,position:{mx:.2,my:.722}}),E=f?F(u,l,c.stroke):te(u,o,c.fill);return A(d,y,{fill:E,stroke:F(u,l,c.stroke),strokeWidth:1})},"bpmn:CancelEventDefinition":function(d,u,c={},f){var y=s.getScaledPath("EVENT_CANCEL_45",{xScaleFactor:1,yScaleFactor:1,containerWidth:u.width,containerHeight:u.height,position:{mx:.638,my:-.055}}),E=f?F(u,l,c.stroke):"none",_=A(d,y,{fill:E,stroke:F(u,l,c.stroke),strokeWidth:1});return Rm(_,45),_},"bpmn:CompensateEventDefinition":function(d,u,c={},f){var y=s.getScaledPath("EVENT_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width||u.width,containerHeight:c.height||u.height,position:{mx:.22,my:.5}}),E=f?F(u,l,c.stroke):te(u,o,c.fill);return A(d,y,{fill:E,stroke:F(u,l,c.stroke),strokeWidth:1})},"bpmn:SignalEventDefinition":function(d,u,c={},f){var y=s.getScaledPath("EVENT_SIGNAL",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:c.width||u.width,containerHeight:c.height||u.height,position:{mx:.5,my:.2}}),E=f?F(u,l,c.stroke):te(u,o,c.fill);return A(d,y,{strokeWidth:1,fill:E,stroke:F(u,l,c.stroke)})},"bpmn:MultipleEventDefinition":function(d,u,c={},f){var y=s.getScaledPath("EVENT_MULTIPLE",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:c.width||u.width,containerHeight:c.height||u.height,position:{mx:.211,my:.36}}),E=f?F(u,l,c.stroke):te(u,o,c.fill);return A(d,y,{fill:E,stroke:F(u,l,c.stroke),strokeWidth:1})},"bpmn:ParallelMultipleEventDefinition":function(d,u,c={}){var f=s.getScaledPath("EVENT_PARALLEL_MULTIPLE",{xScaleFactor:1.2,yScaleFactor:1.2,containerWidth:c.width||u.width,containerHeight:c.height||u.height,position:{mx:.458,my:.194}});return A(d,f,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:1})},"bpmn:TerminateEventDefinition":function(d,u,c={}){var f=Q(d,u.width,u.height,8,{fill:F(u,l,c.stroke),stroke:F(u,l,c.stroke),strokeWidth:4});return f}};function R(d,u,c={},f){var y=ve(d),E=fm(y),_=f||d;return y.get("eventDefinitions")&&y.get("eventDefinitions").length>1?y.get("parallelMultiple")?I["bpmn:ParallelMultipleEventDefinition"](u,_,c,E):I["bpmn:MultipleEventDefinition"](u,_,c,E):vt(y,"bpmn:MessageEventDefinition")?I["bpmn:MessageEventDefinition"](u,_,c,E):vt(y,"bpmn:TimerEventDefinition")?I["bpmn:TimerEventDefinition"](u,_,c,E):vt(y,"bpmn:ConditionalEventDefinition")?I["bpmn:ConditionalEventDefinition"](u,_,c,E):vt(y,"bpmn:SignalEventDefinition")?I["bpmn:SignalEventDefinition"](u,_,c,E):vt(y,"bpmn:EscalationEventDefinition")?I["bpmn:EscalationEventDefinition"](u,_,c,E):vt(y,"bpmn:LinkEventDefinition")?I["bpmn:LinkEventDefinition"](u,_,c,E):vt(y,"bpmn:ErrorEventDefinition")?I["bpmn:ErrorEventDefinition"](u,_,c,E):vt(y,"bpmn:CancelEventDefinition")?I["bpmn:CancelEventDefinition"](u,_,c,E):vt(y,"bpmn:CompensateEventDefinition")?I["bpmn:CompensateEventDefinition"](u,_,c,E):vt(y,"bpmn:TerminateEventDefinition")?I["bpmn:TerminateEventDefinition"](u,_,c,E):null}var M={ParticipantMultiplicityMarker:function(d,u,c={}){var f=it(u,c),y=qe(u,c),E=s.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:f,containerHeight:y,position:{mx:(f/2-6)/f,my:(y-15)/y}});S("participant-multiplicity",d,E,{strokeWidth:2,fill:te(u,o,c.fill),stroke:F(u,l,c.stroke)})},SubProcessMarker:function(d,u,c={}){var f=re(d,14,14,0,{strokeWidth:1,fill:te(u,o,c.fill),stroke:F(u,l,c.stroke)});Kl(f,u.width/2-7.5,u.height-20);var y=s.getScaledPath("MARKER_SUB_PROCESS",{xScaleFactor:1.5,yScaleFactor:1.5,containerWidth:u.width,containerHeight:u.height,position:{mx:(u.width/2-7.5)/u.width,my:(u.height-20)/u.height}});S("sub-process",d,y,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke)})},ParallelMarker:function(d,u,c){var f=it(u,c),y=qe(u,c),E=s.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:f,containerHeight:y,position:{mx:(f/2+c.parallel)/f,my:(y-20)/y}});S("parallel",d,E,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke)})},SequentialMarker:function(d,u,c){var f=s.getScaledPath("MARKER_SEQUENTIAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:u.width,containerHeight:u.height,position:{mx:(u.width/2+c.seq)/u.width,my:(u.height-19)/u.height}});S("sequential",d,f,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke)})},CompensationMarker:function(d,u,c){var f=s.getScaledPath("MARKER_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:u.width,containerHeight:u.height,position:{mx:(u.width/2+c.compensation)/u.width,my:(u.height-13)/u.height}});S("compensation",d,f,{strokeWidth:1,fill:te(u,o,c.fill),stroke:F(u,l,c.stroke)})},LoopMarker:function(d,u,c){var f=it(u,c),y=qe(u,c),E=s.getScaledPath("MARKER_LOOP",{xScaleFactor:1,yScaleFactor:1,containerWidth:f,containerHeight:y,position:{mx:(f/2+c.loop)/f,my:(y-7)/y}});S("loop",d,E,{strokeWidth:1.5,fill:"none",stroke:F(u,l,c.stroke),strokeMiterlimit:.5})},AdhocMarker:function(d,u,c){var f=it(u,c),y=qe(u,c),E=s.getScaledPath("MARKER_ADHOC",{xScaleFactor:1,yScaleFactor:1,containerWidth:f,containerHeight:y,position:{mx:(f/2+c.adhoc)/f,my:(y-15)/y}});S("adhoc",d,E,{strokeWidth:1,fill:F(u,l,c.stroke),stroke:F(u,l,c.stroke)})}};function j(d,u,c,f){M[d](u,c,f)}function L(d,u,c=[],f={}){f={fill:f.fill,stroke:f.stroke,width:it(u,f),height:qe(u,f)};var y=ve(u),E=c.includes("SubProcessMarker");E?f={...f,seq:-21,parallel:-22,compensation:-25,loop:-18,adhoc:10}:f={...f,seq:-5,parallel:-6,compensation:-7,loop:0,adhoc:-8},y.get("isForCompensation")&&c.push("CompensationMarker"),W(y,"bpmn:AdHocSubProcess")&&(c.push("AdhocMarker"),E||z(f,{compensation:f.compensation-18}));var _=y.get("loopCharacteristics"),G=_&&_.get("isSequential");_&&(z(f,{compensation:f.compensation-18}),c.includes("AdhocMarker")&&z(f,{seq:-23,loop:-18,parallel:-24}),G===void 0&&c.push("LoopMarker"),G===!1&&c.push("ParallelMarker"),G===!0&&c.push("SequentialMarker")),c.includes("CompensationMarker")&&c.length===1&&z(f,{compensation:-8}),q(c,function(ae){j(ae,d,u,f)})}function V(d,u,c={}){c=z({size:{width:100}},c);var f=r.createText(u||"",c);return yt(f).add("djs-label"),Ie(d,f),f}function ee(d,u,c,f={}){var y=ve(u),E=hs({x:u.x,y:u.y,width:u.width,height:u.height},f);return V(d,y.name,{align:c,box:E,padding:7,style:{fill:ds(u,p,l,f.stroke)}})}function Ne(d,u,c={}){var f={width:90,height:30,x:u.width/2+u.x,y:u.height/2+u.y};return V(d,Xs(u),{box:f,fitBox:!0,style:z({},r.getExternalStyle(),{fill:ds(u,p,l,c.stroke)})})}function le(d,u,c,f={}){var y=Sl(c),E=V(d,u,{box:{height:30,width:y?qe(c,f):it(c,f)},align:"center-middle",style:{fill:ds(c,p,l,f.stroke)}});if(y){var _=-1*qe(c,f);Lr(E,0,-_,270)}}function m(d,u,c={}){var{width:f,height:y}=hs(u,c);return re(d,f,y,rn,{...c,fill:te(u,o,c.fill),fillOpacity:Li,stroke:F(u,l,c.stroke)})}function v(d,u,c={}){var f=ve(u),y=te(u,o,c.fill),E=F(u,l,c.stroke);return(f.get("associationDirection")==="One"||f.get("associationDirection")==="Both")&&(c.markerEnd=k(d,"association-end",y,E)),f.get("associationDirection")==="Both"&&(c.markerStart=k(d,"association-start",y,E)),c=oe(c,["markerStart","markerEnd"]),P(d,u.waypoints,{...c,stroke:E,strokeDasharray:"0, 5"})}function T(d,u,c={}){var f=te(u,o,c.fill),y=F(u,l,c.stroke),E=s.getScaledPath("DATA_OBJECT_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:u.width,containerHeight:u.height,position:{mx:.474,my:.296}}),_=A(d,E,{fill:f,fillOpacity:Li,stroke:y}),G=ve(u);if(mm(G)){var ae=s.getScaledPath("DATA_OBJECT_COLLECTION_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:u.width,containerHeight:u.height,position:{mx:.33,my:(u.height-18)/u.height}});A(d,ae,{strokeWidth:2,fill:f,stroke:y})}return _}function O(d,u,c={}){return Q(d,u.width,u.height,{fillOpacity:Li,...c,fill:te(u,o,c.fill),stroke:F(u,l,c.stroke)})}function H(d,u,c={}){return se(d,u.width,u.height,{fill:te(u,o,c.fill),fillOpacity:Li,stroke:F(u,l,c.stroke)})}function w(d,u,c={}){var f=re(d,it(u,c),qe(u,c),0,{fill:te(u,o,c.fill),fillOpacity:c.fillOpacity||Li,stroke:F(u,l,c.stroke),strokeWidth:1.5}),y=ve(u);if(W(y,"bpmn:Lane")){var E=y.get("name");le(d,E,u,c)}return f}function x(d,u,c={}){var f=m(d,u,c),y=pi(u);if(Vf(u)&&(de(f,{strokeDasharray:"0, 5.5",strokeWidth:2.5}),!y)){var E=ve(u).flowElements||[],_=E.filter(G=>W(G,"bpmn:StartEvent"));_.length===1&&N(_[0],d,c,u)}return ee(d,u,y?"center-top":"center-middle",c),y?L(d,u,void 0,c):L(d,u,["SubProcessMarker"],c),f}function N(d,u,c,f){var y=22,E={fill:te(f,o,c.fill),stroke:F(f,l,c.stroke),width:y,height:y},_=ve(d).isInterrupting,G=_?0:3,ae=_?1:1.2,Ee=20,be=(y-Ee)/2,Se="translate("+be+","+be+")";Q(u,Ee,Ee,{fill:E.fill,stroke:E.stroke,strokeWidth:ae,strokeDasharray:G,transform:Se}),R(d,u,E,f)}function K(d,u,c={}){var f=m(d,u,c);return ee(d,u,"center-middle",c),L(d,u,void 0,c),f}var ie=this.handlers={"bpmn:AdHocSubProcess":function(d,u,c={}){return pi(u)?c=oe(c,["fill","stroke","width","height"]):c=oe(c,["fill","stroke"]),x(d,u,c)},"bpmn:Association":function(d,u,c={}){return c=oe(c,["fill","stroke"]),v(d,u,c)},"bpmn:BoundaryEvent":function(d,u,c={}){var{renderIcon:f=!0}=c;c=oe(c,["fill","stroke"]);var y=ve(u),E=y.get("cancelActivity");c={strokeWidth:1.5,fill:te(u,o,c.fill),fillOpacity:Um,stroke:F(u,l,c.stroke)},E||(c.strokeDasharray="6");var _=O(d,u,c);return Q(d,u.width,u.height,nn,{...c,fill:"none"}),f&&R(u,d,c),_},"bpmn:BusinessRuleTask":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=K(d,u,c),y=s.getScaledPath("TASK_TYPE_BUSINESS_RULE_MAIN",{abspos:{x:8,y:8}}),E=A(d,y);de(E,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:1});var _=s.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER",{abspos:{x:8,y:8}}),G=A(d,_);return de(G,{fill:F(u,l,c.stroke),stroke:F(u,l,c.stroke),strokeWidth:1}),f},"bpmn:CallActivity":function(d,u,c={}){return c=oe(c,["fill","stroke"]),x(d,u,{strokeWidth:5,...c})},"bpmn:ComplexGateway":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=H(d,u,c),y=s.getScaledPath("GATEWAY_COMPLEX",{xScaleFactor:.5,yScaleFactor:.5,containerWidth:u.width,containerHeight:u.height,position:{mx:.46,my:.26}});return A(d,y,{fill:F(u,l,c.stroke),stroke:F(u,l,c.stroke),strokeWidth:1}),f},"bpmn:DataInput":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=s.getRawPath("DATA_ARROW"),y=T(d,u,c);return A(d,f,{fill:"none",stroke:F(u,l,c.stroke),strokeWidth:1}),y},"bpmn:DataInputAssociation":function(d,u,c={}){return c=oe(c,["fill","stroke"]),v(d,u,{...c,markerEnd:k(d,"association-end",te(u,o,c.fill),F(u,l,c.stroke))})},"bpmn:DataObject":function(d,u,c={}){return c=oe(c,["fill","stroke"]),T(d,u,c)},"bpmn:DataObjectReference":U("bpmn:DataObject"),"bpmn:DataOutput":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=s.getRawPath("DATA_ARROW"),y=T(d,u,c);return A(d,f,{strokeWidth:1,fill:te(u,o,c.fill),stroke:F(u,l,c.stroke)}),y},"bpmn:DataOutputAssociation":function(d,u,c={}){return c=oe(c,["fill","stroke"]),v(d,u,{...c,markerEnd:k(d,"association-end",te(u,o,c.fill),F(u,l,c.stroke))})},"bpmn:DataStoreReference":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=s.getScaledPath("DATA_STORE",{xScaleFactor:1,yScaleFactor:1,containerWidth:u.width,containerHeight:u.height,position:{mx:0,my:.133}});return A(d,f,{fill:te(u,o,c.fill),fillOpacity:Li,stroke:F(u,l,c.stroke),strokeWidth:2})},"bpmn:EndEvent":function(d,u,c={}){var{renderIcon:f=!0}=c;c=oe(c,["fill","stroke"]);var y=O(d,u,{...c,strokeWidth:4});return f&&R(u,d,c),y},"bpmn:EventBasedGateway":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=ve(u),y=H(d,u,c);Q(d,u.width,u.height,u.height*.2,{fill:te(u,"none",c.fill),stroke:F(u,l,c.stroke),strokeWidth:1});var E=f.get("eventGatewayType"),_=!!f.get("instantiate");function G(){var Ee=s.getScaledPath("GATEWAY_EVENT_BASED",{xScaleFactor:.18,yScaleFactor:.18,containerWidth:u.width,containerHeight:u.height,position:{mx:.36,my:.44}});A(d,Ee,{fill:"none",stroke:F(u,l,c.stroke),strokeWidth:2})}if(E==="Parallel"){var ae=s.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:u.width,containerHeight:u.height,position:{mx:.474,my:.296}});A(d,ae,{fill:"none",stroke:F(u,l,c.stroke),strokeWidth:1})}else E==="Exclusive"&&(_||Q(d,u.width,u.height,u.height*.26,{fill:"none",stroke:F(u,l,c.stroke),strokeWidth:1}),G());return y},"bpmn:ExclusiveGateway":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=H(d,u,c),y=s.getScaledPath("GATEWAY_EXCLUSIVE",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:u.width,containerHeight:u.height,position:{mx:.32,my:.3}}),E=ui(u);return E.get("isMarkerVisible")&&A(d,y,{fill:F(u,l,c.stroke),stroke:F(u,l,c.stroke),strokeWidth:1}),f},"bpmn:Gateway":function(d,u,c={}){return c=oe(c,["fill","stroke"]),H(d,u,c)},"bpmn:Group":function(d,u,c={}){return c=oe(c,["fill","stroke","width","height"]),re(d,u.width,u.height,rn,{stroke:F(u,l,c.stroke),strokeWidth:1.5,strokeDasharray:"10, 6, 0, 6",fill:"none",pointerEvents:"none",width:it(u,c),height:qe(u,c)})},"bpmn:InclusiveGateway":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=H(d,u,c);return Q(d,u.width,u.height,u.height*.24,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:2.5}),f},"bpmn:IntermediateEvent":function(d,u,c={}){var{renderIcon:f=!0}=c;c=oe(c,["fill","stroke"]);var y=O(d,u,{...c,strokeWidth:1.5});return Q(d,u.width,u.height,nn,{fill:"none",stroke:F(u,l,c.stroke),strokeWidth:1.5}),f&&R(u,d,c),y},"bpmn:IntermediateCatchEvent":U("bpmn:IntermediateEvent"),"bpmn:IntermediateThrowEvent":U("bpmn:IntermediateEvent"),"bpmn:Lane":function(d,u,c={}){return c=oe(c,["fill","stroke","width","height"]),w(d,u,{...c,fillOpacity:Gm})},"bpmn:ManualTask":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=K(d,u,c),y=s.getScaledPath("TASK_TYPE_MANUAL",{abspos:{x:17,y:15}});return A(d,y,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:.5}),f},"bpmn:MessageFlow":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=ve(u),y=ui(u),E=te(u,o,c.fill),_=F(u,l,c.stroke),G=P(d,u.waypoints,{markerEnd:k(d,"messageflow-end",E,_),markerStart:k(d,"messageflow-start",E,_),stroke:_,strokeDasharray:"10, 11",strokeWidth:1.5});if(f.get("messageRef")){var ae=G.getPointAtLength(G.getTotalLength()/2),Ee=s.getScaledPath("MESSAGE_FLOW_MARKER",{abspos:{x:ae.x,y:ae.y}}),be={strokeWidth:1};y.get("messageVisibleKind")==="initiating"?(be.fill=E,be.stroke=_):(be.fill=_,be.stroke=E);var Se=A(d,Ee,be),rt=f.get("messageRef"),ue=rt.get("name"),Dt=V(d,ue,{align:"center-top",fitBox:!0,style:{fill:_}}),bn=Se.getBBox(),et=Dt.getBBox(),X=ae.x-et.width/2,ce=ae.y+bn.height/2+Vm;Lr(Dt,X,ce,0)}return G},"bpmn:ParallelGateway":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=H(d,u,c),y=s.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.6,yScaleFactor:.6,containerWidth:u.width,containerHeight:u.height,position:{mx:.46,my:.2}});return A(d,y,{fill:F(u,l,c.stroke),stroke:F(u,l,c.stroke),strokeWidth:1}),f},"bpmn:Participant":function(d,u,c={}){c=oe(c,["fill","stroke","width","height"]);var f=w(d,u,c),y=pi(u),E=Sl(u),_=ve(u),G=_.get("name");if(y){var ae=E?[{x:30,y:0},{x:30,y:qe(u,c)}]:[{x:0,y:30},{x:it(u,c),y:30}];Z(d,ae,{stroke:F(u,l,c.stroke),strokeWidth:Qm}),le(d,G,u,c)}else{var Ee=hs(u,c);E||(Ee.height=it(u,c),Ee.width=qe(u,c));var be=V(d,G,{box:Ee,align:"center-middle",style:{fill:ds(u,p,l,c.stroke)}});if(!E){var Se=-1*qe(u,c);Lr(be,0,-Se,270)}}return _.get("participantMultiplicity")&&j("ParticipantMultiplicityMarker",d,u,c),f},"bpmn:ReceiveTask":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=ve(u),y=K(d,u,c),E;return f.get("instantiate")?(Q(d,28,28,20*.22,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:1}),E=s.getScaledPath("TASK_TYPE_INSTANTIATING_SEND",{abspos:{x:7.77,y:9.52}})):E=s.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:21,containerHeight:14,position:{mx:.3,my:.4}}),A(d,E,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:1}),y},"bpmn:ScriptTask":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=K(d,u,c),y=s.getScaledPath("TASK_TYPE_SCRIPT",{abspos:{x:15,y:20}});return A(d,y,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:1}),f},"bpmn:SendTask":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=K(d,u,c),y=s.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:1,yScaleFactor:1,containerWidth:21,containerHeight:14,position:{mx:.285,my:.357}});return A(d,y,{fill:F(u,l,c.stroke),stroke:te(u,o,c.fill),strokeWidth:1}),f},"bpmn:SequenceFlow":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=te(u,o,c.fill),y=F(u,l,c.stroke),E=P(d,u.waypoints,{markerEnd:k(d,"sequenceflow-end",f,y),stroke:y}),_=ve(u),{source:G}=u;if(G){var ae=ve(G);_.get("conditionExpression")&&W(ae,"bpmn:Activity")&&de(E,{markerStart:k(d,"conditional-flow-marker",f,y)}),ae.get("default")&&(W(ae,"bpmn:Gateway")||W(ae,"bpmn:Activity"))&&ae.get("default")===_&&de(E,{markerStart:k(d,"conditional-default-flow-marker",f,y)})}return E},"bpmn:ServiceTask":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=K(d,u,c);Q(d,10,10,{fill:te(u,o,c.fill),stroke:"none",transform:"translate(6, 6)"});var y=s.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:12,y:18}});A(d,y,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:1}),Q(d,10,10,{fill:te(u,o,c.fill),stroke:"none",transform:"translate(11, 10)"});var E=s.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:17,y:22}});return A(d,E,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:1}),f},"bpmn:StartEvent":function(d,u,c={}){var{renderIcon:f=!0}=c;c=oe(c,["fill","stroke"]);var y=ve(u);y.get("isInterrupting")||(c={...c,strokeDasharray:"6"});var E=O(d,u,c);return f&&R(u,d,c),E},"bpmn:SubProcess":function(d,u,c={}){return pi(u)?c=oe(c,["fill","stroke","width","height"]):c=oe(c,["fill","stroke"]),x(d,u,c)},"bpmn:Task":function(d,u,c={}){return c=oe(c,["fill","stroke"]),K(d,u,c)},"bpmn:TextAnnotation":function(d,u,c={}){c=oe(c,["fill","stroke","width","height"]);var{width:f,height:y}=hs(u,c),E=re(d,f,y,0,0,{fill:"none",stroke:"none"}),_=s.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:f,containerHeight:y,position:{mx:0,my:0}});A(d,_,{stroke:F(u,l,c.stroke)});var G=ve(u),ae=G.get("text")||"";return V(d,ae,{align:"left-top",box:hs(u,c),padding:7,style:{fill:ds(u,p,l,c.stroke)}}),E},"bpmn:Transaction":function(d,u,c={}){pi(u)?c=oe(c,["fill","stroke","width","height"]):c=oe(c,["fill","stroke"]);var f=x(d,u,{strokeWidth:1.5,...c}),y=t.style(["no-fill","no-events"],{stroke:F(u,l,c.stroke),strokeWidth:1.5}),E=pi(u);return E||(c={}),re(d,it(u,c),qe(u,c),rn-nn,nn,y),f},"bpmn:UserTask":function(d,u,c={}){c=oe(c,["fill","stroke"]);var f=K(d,u,c),y=15,E=12,_=s.getScaledPath("TASK_TYPE_USER_1",{abspos:{x:y,y:E}});A(d,_,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:.5});var G=s.getScaledPath("TASK_TYPE_USER_2",{abspos:{x:y,y:E}});A(d,G,{fill:te(u,o,c.fill),stroke:F(u,l,c.stroke),strokeWidth:.5});var ae=s.getScaledPath("TASK_TYPE_USER_3",{abspos:{x:y,y:E}});return A(d,ae,{fill:F(u,l,c.stroke),stroke:F(u,l,c.stroke),strokeWidth:.5}),f},label:function(d,u,c={}){return Ne(d,u,c)}};this._drawPath=A,this._renderer=D}gt(mi,It),mi.$inject=["config.bpmnRenderer","eventBus","styles","pathMap","canvas","textRenderer"],mi.prototype.canRender=function(e){return W(e,"bpmn:BaseElement")},mi.prototype.drawShape=function(e,i,t={}){var{type:s}=i,n=this._renderer(s);return n(e,i,t)},mi.prototype.drawConnection=function(e,i,t={}){var{type:s}=i,n=this._renderer(s);return n(e,i,t)},mi.prototype.getShapePath=function(e){return W(e,"bpmn:Event")?gm(e):W(e,"bpmn:Activity")?ym(e,rn):W(e,"bpmn:Gateway")?vm(e):Am(e)};function oe(e,i=[]){return i.reduce((t,s)=>(e[s]&&(t[s]=e[s]),t),{})}var qm=0,Jm={width:150,height:50};function Hm(e){var i=e.split("-");return{horizontal:i[0]||"center",vertical:i[1]||"top"}}function Km(e){return li(e)?z({top:0,left:0,right:0,bottom:0},e):{top:e,left:e,right:e,bottom:e}}function Wm(e,i){i.textContent=e;var t;try{var s,n=e==="";return i.textContent=n?"dummy":e,t=i.getBBox(),s={width:t.width+t.x*2,height:t.height},n&&(s.width=0),s}catch(r){return{width:0,height:0}}}function zm(e,i,t){for(var s=e.shift(),n=s,r;;){if(r=Wm(n,t),r.width=n?r.width:0,n===" "||n===""||r.width<Math.round(i)||n.length<2)return Ym(e,n,s,r);n=Xm(n,r.width,i)}}function Ym(e,i,t,s){if(i.length<t.length){var n=t.slice(i.length).trim();e.unshift(n)}return{width:s.width,height:s.height,text:i}}var Wl="\xAD";function Zm(e,i){var t=e.split(/(\s|-|\u00AD)/g),s,n=[],r=0;if(t.length>1)for(;s=t.shift();)if(s.length+r<i)n.push(s),r+=s.length;else{(s==="-"||s===Wl)&&n.pop();break}var a=n[n.length-1];return a&&a===Wl&&(n[n.length-1]="-"),n.join("")}function Xm(e,i,t){var s=Math.max(e.length*(t/i),1),n=Zm(e,s);return n||(n=e.slice(0,Math.max(Math.round(s-1),1))),n}function $m(){var e=document.getElementById("helper-svg");return e||(e=he("svg"),de(e,{id:"helper-svg"}),De(e,{visibility:"hidden",position:"fixed",width:0,height:0}),document.body.appendChild(e)),e}function an(e){this._config=z({},{size:Jm,padding:qm,style:{},align:"center-top"},e||{})}an.prototype.createText=function(e,i){return this.layoutText(e,i).element},an.prototype.getDimensions=function(e,i){return this.layoutText(e,i).dimensions},an.prototype.layoutText=function(e,i){var t=z({},this._config.size,i.box),s=z({},this._config.style,i.style),n=Hm(i.align||this._config.align),r=Km(i.padding!==void 0?i.padding:this._config.padding),a=i.fitBox||!1,o=eg(s),l=e.split(/\u00AD?\r?\n/),p=[],h=t.width-r.left-r.right,g=he("text");de(g,{x:0,y:0}),de(g,s);var C=$m();for(Ie(C,g);l.length;)p.push(zm(l,h,g));n.vertical==="middle"&&(r.top=r.bottom=0);var k=Oi(p,function(Z,P,A){return Z+(o||P.height)},0)+r.top+r.bottom,J=Oi(p,function(Z,P,A){return P.width>Z?P.width:Z},0),Q=r.top;n.vertical==="middle"&&(Q+=(t.height-k)/2),Q-=(o||p[0].height)/4;var re=he("text");de(re,s),q(p,function(Z){var P;switch(Q+=o||Z.height,n.horizontal){case"left":P=r.left;break;case"right":P=(a?J:h)-r.right-Z.width;break;default:P=Math.max(((a?J:h)-Z.width)/2+r.left,0)}var A=he("tspan");de(A,{x:P,y:Q}),A.textContent=Z.text,Ie(re,A)}),us(g);var se={width:J,height:k};return{dimensions:se,element:re}};function eg(e){if("fontSize"in e&&"lineHeight"in e)return e.lineHeight*parseInt(e.fontSize,10)}var tg=12,ig=1.2,sg=30;function zl(e){var i=z({fontFamily:"Arial, sans-serif",fontSize:tg,fontWeight:"normal",lineHeight:ig},e&&e.defaultStyle||{}),t=parseInt(i.fontSize,10)-1,s=z({},i,{fontSize:t},e&&e.externalStyle||{}),n=new an({style:i});this.getExternalLabelBounds=function(r,a){var o=n.getDimensions(a,{box:{width:90,height:30},style:s});return{x:Math.round(r.x+r.width/2-o.width/2),y:Math.round(r.y),width:Math.ceil(o.width),height:Math.ceil(o.height)}},this.getTextAnnotationBounds=function(r,a){var o=n.getDimensions(a,{box:r,style:i,align:"left-top",padding:5});return{x:r.x,y:r.y,width:r.width,height:Math.max(sg,Math.round(o.height))}},this.createText=function(r,a){return n.createText(r,a||{})},this.getDefaultStyle=function(){return i},this.getExternalStyle=function(){return s}}zl.$inject=["config.textRenderer"];function ng(){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(i){return this.pathMap[i].d},this.getScaledPath=function(i,t){var s=this.pathMap[i],n,r;t.abspos?(n=t.abspos.x,r=t.abspos.y):(n=t.containerWidth*t.position.mx,r=t.containerHeight*t.position.my);var a={};if(t.position){for(var o=t.containerHeight/s.height*t.yScaleFactor,l=t.containerWidth/s.width*t.xScaleFactor,p=0;p<s.heightElements.length;p++)a["y"+p]=s.heightElements[p]*o;for(var h=0;h<s.widthElements.length;h++)a["x"+h]=s.widthElements[h]*l}var g=lg(s.d,{mx:n,my:r,e:a});return g}}var rg=/\{([^{}]+)\}/g,ag=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;function og(e,i,t){var s=t;return i.replace(ag,function(n,r,a,o,l){r=r||o,s&&(r in s&&(s=s[r]),typeof s=="function"&&l&&(s=s()))}),s=(s==null||s==t?e:s)+"",s}function lg(e,i){return String(e).replace(rg,function(t,s){return og(t,s,i)})}const cg={__init__:["bpmnRenderer"],bpmnRenderer:["type",mi],textRenderer:["type",zl],pathMap:["type",ng]};function ug(e,i){return i=i||{},e.replace(/{([^}]+)}/g,function(t,s){return i[s]||"{"+s+"}"})}const Yl={translate:["value",ug]};function pg(e){return{x:Math.round(e.x),y:Math.round(e.y)}}function Fr(e){return{top:e.y,right:e.x+(e.width||0),bottom:e.y+(e.height||0),left:e.x}}function dg(e){return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}function hg(e){return pg({x:e.x+(e.width||0)/2,y:e.y+(e.height||0)/2})}function fg(e){for(var i=e.waypoints,t=i.reduce(function(p,h,g){var C=i[g-1];if(C){var k=p[p.length-1],J=k&&k.endLength||0,Q=mg(C,h);p.push({start:C,end:h,startLength:J,endLength:J+Q,length:Q})}return p},[]),s=t.reduce(function(p,h){return p+h.length},0),n=s/2,r=0,a=t[r];a.endLength<n;)a=t[++r];var o=(n-a.startLength)/a.length,l={x:a.start.x+(a.end.x-a.start.x)*o,y:a.start.y+(a.end.y-a.start.y)*o};return l}function jr(e){return Qf(e)?fg(e):hg(e)}function mg(e,i){return Math.sqrt(Math.pow(e.x-i.x,2)+Math.pow(e.y-i.y,2))}function Me(e){return e?"<"+e.$type+(e.id?' id="'+e.id:"")+'" />':"<null>"}function on(e,i,t){return z({id:e.id,type:e.$type,businessObject:e,di:i},t)}function gg(e,i,t){var s=e.waypoint;return!s||s.length<2?[jr(i),jr(t)]:s.map(function(n){return{x:n.x,y:n.y}})}function Zl(e,i,t){return new Error(`element ${Me(i)} referenced by ${Me(e)}#${t} not yet drawn`)}function St(e,i,t,s,n){this._eventBus=e,this._canvas=i,this._elementFactory=t,this._elementRegistry=s,this._textRenderer=n}St.$inject=["eventBus","canvas","elementFactory","elementRegistry","textRenderer"],St.prototype.add=function(e,i,t){var s,n,r;if(W(i,"bpmndi:BPMNPlane")){var a=W(e,"bpmn:SubProcess")?{id:e.id+"_plane"}:{};s=this._elementFactory.createRoot(on(e,i,a)),this._canvas.addRootElement(s)}else if(W(i,"bpmndi:BPMNShape")){var o=!pi(e,i),l=vg(e);n=t&&(t.hidden||t.collapsed);var p=i.bounds;s=this._elementFactory.createShape(on(e,i,{collapsed:o,hidden:n,x:Math.round(p.x),y:Math.round(p.y),width:Math.round(p.width),height:Math.round(p.height),isFrame:l})),W(e,"bpmn:BoundaryEvent")&&this._attachBoundary(e,s),W(e,"bpmn:Lane")&&(r=0),W(e,"bpmn:DataStoreReference")&&(yg(t,jr(p))||(t=this._canvas.findRoot(t))),this._canvas.addShape(s,t,r)}else if(W(i,"bpmndi:BPMNEdge")){var h=this._getSource(e),g=this._getTarget(e);n=t&&(t.hidden||t.collapsed),s=this._elementFactory.createConnection(on(e,i,{hidden:n,source:h,target:g,waypoints:gg(i,h,g)})),W(e,"bpmn:DataAssociation")&&(t=this._canvas.findRoot(t)),this._canvas.addConnection(s,t,r)}else throw new Error(`unknown di ${Me(i)} for element ${Me(e)}`);return Uf(e)&&Xs(s)&&this.addLabel(e,i,s),this._eventBus.fire("bpmnElement.added",{element:s}),s},St.prototype._attachBoundary=function(e,i){var t=e.attachedToRef;if(!t)throw new Error(`missing ${Me(e)}#attachedToRef`);var s=this._elementRegistry.get(t.id),n=s&&s.attachers;if(!s)throw Zl(e,t,"attachedToRef");i.host=s,n||(s.attachers=n=[]),n.indexOf(i)===-1&&n.push(i)},St.prototype.addLabel=function(e,i,t){var s,n,r;return s=Hf(i,t),n=Xs(t),n&&(s=this._textRenderer.getExternalLabelBounds(s,n)),r=this._elementFactory.createLabel(on(e,i,{id:e.id+"_label",labelTarget:t,type:"label",hidden:t.hidden||!Xs(t),x:Math.round(s.x),y:Math.round(s.y),width:Math.round(s.width),height:Math.round(s.height)})),this._canvas.addShape(r,t.parent)},St.prototype._getConnectedElement=function(e,i){var t,s,n=e.$type;if(s=e[i+"Ref"],i==="source"&&n==="bpmn:DataInputAssociation"&&(s=s&&s[0]),(i==="source"&&n==="bpmn:DataOutputAssociation"||i==="target"&&n==="bpmn:DataInputAssociation")&&(s=e.$parent),t=s&&this._getElement(s),t)return t;throw s?Zl(e,s,i+"Ref"):new Error(`${Me(e)}#${i} Ref not specified`)},St.prototype._getSource=function(e){return this._getConnectedElement(e,"source")},St.prototype._getTarget=function(e){return this._getConnectedElement(e,"target")},St.prototype._getElement=function(e){return this._elementRegistry.get(e.id)};function yg(e,i){var t=i.x,s=i.y;return t>=e.x&&t<=e.x+e.width&&s>=e.y&&s<=e.y+e.height}function vg(e){return W(e,"bpmn:Group")}const Ag={__depends__:[cg,{__depends__:[Yl],bpmnImporter:["type",St]}]};function fs(e,i){i=!!i,ct(e)||(e=[e]);var t,s,n,r;return q(e,function(a){var o=a;a.waypoints&&!i&&(o=fs(a.waypoints,!0));var l=o.x,p=o.y,h=o.height||0,g=o.width||0;(l<t||t===void 0)&&(t=l),(p<s||s===void 0)&&(s=p),(l+g>n||n===void 0)&&(n=l+g),(p+h>r||r===void 0)&&(r=p+h)}),{x:t,y:s,height:r-s,width:n-t}}function Xl(e){return"waypoints"in e?"connection":"x"in e?"shape":"root"}function $l(e){return!!(e&&e.isFrame)}function Vr(e){this._counter=0,this._prefix=(e?e+"-":"")+Math.floor(Math.random()*1e9)+"-"}Vr.prototype.next=function(){return this._prefix+ ++this._counter};var bg=new Vr("ov"),Cg=500;function ke(e,i,t,s){this._eventBus=i,this._canvas=t,this._elementRegistry=s,this._ids=bg,this._overlayDefaults=z({show:null,scale:!0},e&&e.defaults),this._overlays={},this._overlayContainers=[],this._overlayRoot=wg(t.getContainer()),this._init()}ke.$inject=["config.overlays","eventBus","canvas","elementRegistry"],ke.prototype.get=function(e){if(ut(e)&&(e={id:e}),ut(e.element)&&(e.element=this._elementRegistry.get(e.element)),e.element){var i=this._getOverlayContainer(e.element,!0);return i?e.type?Mi(i.overlays,Nl({type:e.type})):i.overlays.slice():[]}else return e.type?Mi(this._overlays,Nl({type:e.type})):e.id?this._overlays[e.id]:null},ke.prototype.add=function(e,i,t){if(li(i)&&(t=i,i=null),e.id||(e=this._elementRegistry.get(e)),!t.position)throw new Error("must specifiy overlay position");if(!t.html)throw new Error("must specifiy overlay html");if(!e)throw new Error("invalid element specified");var s=this._ids.next();return t=z({},this._overlayDefaults,t,{id:s,type:i,element:e,html:t.html}),this._addOverlay(t),s},ke.prototype.remove=function(e){var i=this.get(e)||[];ct(i)||(i=[i]);var t=this;q(i,function(s){var n=t._getOverlayContainer(s.element,!0);if(s&&(Ri(s.html),Ri(s.htmlContainer),delete s.htmlContainer,delete s.element,delete t._overlays[s.id]),n){var r=n.overlays.indexOf(s);r!==-1&&n.overlays.splice(r,1)}})},ke.prototype.isShown=function(){return this._overlayRoot.style.display!=="none"},ke.prototype.show=function(){ln(this._overlayRoot)},ke.prototype.hide=function(){ln(this._overlayRoot,!1)},ke.prototype.clear=function(){this._overlays={},this._overlayContainers=[],Ul(this._overlayRoot)},ke.prototype._updateOverlayContainer=function(e){var i=e.element,t=e.html,s=i.x,n=i.y;if(i.waypoints){var r=fs(i);s=r.x,n=r.y}ec(t,s,n),Or(e.html,"data-container-id",i.id)},ke.prototype._updateOverlay=function(e){var i=e.position,t=e.htmlContainer,s=e.element,n=i.left,r=i.top;if(i.right!==void 0){var a;s.waypoints?a=fs(s).width:a=s.width,n=i.right*-1+a}if(i.bottom!==void 0){var o;s.waypoints?o=fs(s).height:o=s.height,r=i.bottom*-1+o}ec(t,n||0,r||0),this._updateOverlayVisibilty(e,this._canvas.viewbox())},ke.prototype._createOverlayContainer=function(e){var i=Ye('<div class="djs-overlays" />');De(i,{position:"absolute"}),this._overlayRoot.appendChild(i);var t={html:i,element:e,overlays:[]};return this._updateOverlayContainer(t),this._overlayContainers.push(t),t},ke.prototype._updateRoot=function(e){var i=e.scale||1,t="matrix("+[i,0,0,i,-1*e.x*i,-1*e.y*i].join(",")+")";tc(this._overlayRoot,t)},ke.prototype._getOverlayContainer=function(e,i){var t=pt(this._overlayContainers,function(s){return s.element===e});return!t&&!i?this._createOverlayContainer(e):t},ke.prototype._addOverlay=function(e){var i=e.id,t=e.element,s=e.html,n,r;s.get&&s.constructor.prototype.jquery&&(s=s.get(0)),ut(s)&&(s=Ye(s)),r=this._getOverlayContainer(t),n=Ye('<div class="djs-overlay" data-overlay-id="'+i+'">'),De(n,{position:"absolute"}),n.appendChild(s),e.type&&hi(n).add("djs-overlay-"+e.type);var a=this._canvas.findRoot(t),o=this._canvas.getRootElement();ln(n,a===o),e.htmlContainer=n,r.overlays.push(e),r.html.appendChild(n),this._overlays[i]=e,this._updateOverlay(e),this._updateOverlayVisibilty(e,this._canvas.viewbox())},ke.prototype._updateOverlayVisibilty=function(e,i){var t=e.show,s=this._canvas.findRoot(e.element),n=t&&t.minZoom,r=t&&t.maxZoom,a=e.htmlContainer,o=this._canvas.getRootElement(),l=!0;(s!==o||t&&(Pi(n)&&n>i.scale||Pi(r)&&r<i.scale))&&(l=!1),ln(a,l),this._updateOverlayScale(e,i)},ke.prototype._updateOverlayScale=function(e,i){var t=e.scale,s,n,r=e.htmlContainer,a,o="";t!==!0&&(t===!1?(s=1,n=1):(s=t.min,n=t.max),Pi(s)&&i.scale<s&&(a=(1/i.scale||1)*s),Pi(n)&&i.scale>n&&(a=(1/i.scale||1)*n)),Pi(a)&&(o="scale("+a+","+a+")"),tc(r,o)},ke.prototype._updateOverlaysVisibilty=function(e){var i=this;q(this._overlays,function(t){i._updateOverlayVisibilty(t,e)})},ke.prototype._init=function(){var e=this._eventBus,i=this;function t(s){i._updateRoot(s),i._updateOverlaysVisibilty(s),i.show()}e.on("canvas.viewbox.changing",function(s){i.hide()}),e.on("canvas.viewbox.changed",function(s){t(s.viewbox)}),e.on(["shape.remove","connection.remove"],function(s){var n=s.element,r=i.get({element:n});q(r,function(l){i.remove(l.id)});var a=i._getOverlayContainer(n);if(a){Ri(a.html);var o=i._overlayContainers.indexOf(a);o!==-1&&i._overlayContainers.splice(o,1)}}),e.on("element.changed",Cg,function(s){var n=s.element,r=i._getOverlayContainer(n,!0);r&&(q(r.overlays,function(a){i._updateOverlay(a)}),i._updateOverlayContainer(r))}),e.on("element.marker.update",function(s){var n=i._getOverlayContainer(s.element,!0);n&&hi(n.html)[s.add?"add":"remove"](s.marker)}),e.on("root.set",function(){i._updateOverlaysVisibilty(i._canvas.viewbox())}),e.on("diagram.clear",this.clear,this)};function wg(e){var i=Ye('<div class="djs-overlay-container" />');return De(i,{position:"absolute",width:0,height:0}),e.insertBefore(i,e.firstChild),i}function ec(e,i,t){De(e,{left:i+"px",top:t+"px"})}function ln(e,i){e.style.display=i===!1?"none":""}function tc(e,i){e.style["transform-origin"]="top left",["","-ms-","-webkit-"].forEach(function(t){e.style[t+"transform"]=i})}const ic={__init__:["overlays"],overlays:["type",ke]};function sc(e,i,t,s){e.on("element.changed",function(n){var r=n.element;(r.parent||r===i.getRootElement())&&(n.gfx=t.getGraphics(r)),n.gfx&&e.fire(Xl(r)+".changed",n)}),e.on("elements.changed",function(n){var r=n.elements;r.forEach(function(a){e.fire("element.changed",{element:a})}),s.updateContainments(r)}),e.on("shape.changed",function(n){s.update("shape",n.element,n.gfx)}),e.on("connection.changed",function(n){s.update("connection",n.element,n.gfx)})}sc.$inject=["eventBus","canvas","elementRegistry","graphicsFactory"];const xg={__init__:["changeSupport"],changeSupport:["type",sc]};var Eg=1e3;function je(e){this._eventBus=e}je.$inject=["eventBus"];function Tg(e,i){return function(t){return e.call(i||null,t.context,t.command,t)}}je.prototype.on=function(e,i,t,s,n,r){if((ci(i)||Ut(i))&&(r=n,n=s,s=t,t=i,i=null),ci(t)&&(r=n,n=s,s=t,t=Eg),li(n)&&(r=n,n=!1),!ci(s))throw new Error("handlerFn must be a function");ct(e)||(e=[e]);var a=this._eventBus;q(e,function(o){var l=["commandStack",o,i].filter(function(p){return p}).join(".");a.on(l,t,n?Tg(s,r):s,r)})},je.prototype.canExecute=_t("canExecute"),je.prototype.preExecute=_t("preExecute"),je.prototype.preExecuted=_t("preExecuted"),je.prototype.execute=_t("execute"),je.prototype.executed=_t("executed"),je.prototype.postExecute=_t("postExecute"),je.prototype.postExecuted=_t("postExecuted"),je.prototype.revert=_t("revert"),je.prototype.reverted=_t("reverted");function _t(e){return function(t,s,n,r,a){(ci(t)||Ut(t))&&(a=r,r=n,n=s,s=t,t=null),this.on(t,e,s,n,r,a)}}function Qr(e,i){i.invoke(je,this),this.executed(function(t){var s=t.context;s.rootElement?e.setRootElement(s.rootElement):s.rootElement=e.getRootElement()}),this.revert(function(t){var s=t.context;s.rootElement&&e.setRootElement(s.rootElement)})}gt(Qr,je),Qr.$inject=["canvas","injector"];const Ig={__init__:["rootElementsBehavior"],rootElementsBehavior:["type",Qr]};var kg={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Ng(e){return e=""+e,e&&e.replace(/[&<>"']/g,function(i){return kg[i]})}var Sg="_plane";function Ur(e){var i=e.id;return W(e,"bpmn:SubProcess")?_g(i):i}function _g(e){return e+Sg}var Pg="bjs-breadcrumbs-shown";function nc(e,i,t){var s=Ye('<ul class="bjs-breadcrumbs"></ul>'),n=t.getContainer(),r=hi(n);n.appendChild(s);var a=[];e.on("element.changed",function(l){var p=l.element,h=ve(p),g=pt(a,function(C){return C===h});!g||o()});function o(l){l&&(a=Dg(l));var p=a.flatMap(function(g){var C=t.findRoot(Ur(g))||t.findRoot(g.id);if(!C&&W(g,"bpmn:Process")){var k=i.find(function(re){var se=ve(re);return se&&se.get("processRef")===g});C=k&&t.findRoot(k.id)}if(!C)return[];var J=Ng(g.name||g.id),Q=Ye('<li><span class="bjs-crumb"><a title="'+J+'">'+J+"</a></span></li>");return Q.addEventListener("click",function(){t.setRootElement(C)}),Q});s.innerHTML="";var h=p.length>1;r.toggle(Pg,h),p.forEach(function(g){s.appendChild(g)})}e.on("root.set",function(l){o(l.element)})}nc.$inject=["eventBus","elementRegistry","canvas"];function Dg(e){for(var i=ve(e),t=[],s=i;s;s=s.$parent)(W(s,"bpmn:SubProcess")||W(s,"bpmn:Process"))&&t.push(s);return t.reverse()}function rc(e,i){var t=null,s=new Mg;e.on("root.set",function(n){var r=n.element,a=i.viewbox(),o=s.get(r);if(s.set(t,{x:a.x,y:a.y,zoom:a.scale}),t=r,!(!W(r,"bpmn:SubProcess")&&!o)){o=o||{x:0,y:0,zoom:1};var l=(a.x-o.x)*a.scale,p=(a.y-o.y)*a.scale;(l!==0||p!==0)&&i.scroll({dx:l,dy:p}),o.zoom!==a.scale&&i.zoom(o.zoom,{x:0,y:0})}}),e.on("diagram.clear",function(){s.clear(),t=null})}rc.$inject=["eventBus","canvas"];function Mg(){this._entries=[],this.set=function(e,i){var t=!1;for(var s in this._entries)if(this._entries[s][0]===e){this._entries[s][1]=i,t=!0;break}t||this._entries.push([e,i])},this.get=function(e){for(var i in this._entries)if(this._entries[i][0]===e)return this._entries[i][1];return null},this.clear=function(){this._entries.length=0},this.remove=function(e){var i=-1;for(var t in this._entries)if(this._entries[t][0]===e){i=t;break}i!==-1&&this._entries.splice(i,1)}}var ac={x:180,y:160};function gi(e,i){this._eventBus=e,this._moddle=i;var t=this;e.on("import.render.start",1500,function(s,n){t._handleImport(n.definitions)})}gi.prototype._handleImport=function(e){if(!!e.diagrams){var i=this;this._definitions=e,this._processToDiagramMap={},e.diagrams.forEach(function(s){!s.plane||!s.plane.bpmnElement||(i._processToDiagramMap[s.plane.bpmnElement.id]=s)});var t=e.diagrams.filter(s=>s.plane).flatMap(s=>i._createNewDiagrams(s.plane));t.forEach(function(s){i._movePlaneElementsToOrigin(s.plane)})}},gi.prototype._createNewDiagrams=function(e){var i=this,t=[],s=[];e.get("planeElement").forEach(function(r){var a=r.bpmnElement;if(!!a){var o=a.$parent;W(a,"bpmn:SubProcess")&&!r.isExpanded&&t.push(a),Bg(a,e)&&s.push({diElement:r,parent:o})}});var n=[];return t.forEach(function(r){if(!i._processToDiagramMap[r.id]){var a=i._createDiagram(r);i._processToDiagramMap[r.id]=a,n.push(a)}}),s.forEach(function(r){for(var a=r.diElement,o=r.parent;o&&t.indexOf(o)===-1;)o=o.$parent;if(!!o){var l=i._processToDiagramMap[o.id];i._moveToDiPlane(a,l.plane)}}),n},gi.prototype._movePlaneElementsToOrigin=function(e){var i=e.get("planeElement"),t=Og(e),s={x:t.x-ac.x,y:t.y-ac.y};i.forEach(function(n){n.waypoint?n.waypoint.forEach(function(r){r.x=r.x-s.x,r.y=r.y-s.y}):n.bounds&&(n.bounds.x=n.bounds.x-s.x,n.bounds.y=n.bounds.y-s.y)})},gi.prototype._moveToDiPlane=function(e,i){var t=oc(e),s=t.plane.get("planeElement");s.splice(s.indexOf(e),1),i.get("planeElement").push(e)},gi.prototype._createDiagram=function(e){var i=this._moddle.create("bpmndi:BPMNPlane",{bpmnElement:e}),t=this._moddle.create("bpmndi:BPMNDiagram",{plane:i});return i.$parent=t,i.bpmnElement=e,t.$parent=this._definitions,this._definitions.diagrams.push(t),t},gi.$inject=["eventBus","moddle"];function oc(e){return W(e,"bpmndi:BPMNDiagram")?e:oc(e.$parent)}function Og(e){var i={top:1/0,right:-1/0,bottom:-1/0,left:1/0};return e.planeElement.forEach(function(t){if(!!t.bounds){var s=Fr(t.bounds);i.top=Math.min(s.top,i.top),i.left=Math.min(s.left,i.left)}}),dg(i)}function Bg(e,i){var t=e.$parent;return!(!W(t,"bpmn:SubProcess")||t===i.bpmnElement||jf(e,["bpmn:DataInputAssociation","bpmn:DataOutputAssociation"]))}var cn=250,Rg='<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>',Lg="bjs-drilldown-empty";function Ht(e,i,t,s,n){je.call(this,i),this._canvas=e,this._eventBus=i,this._elementRegistry=t,this._overlays=s,this._translate=n;var r=this;this.executed("shape.toggleCollapse",cn,function(a){var o=a.shape;r._canDrillDown(o)?r._addOverlay(o):r._removeOverlay(o)},!0),this.reverted("shape.toggleCollapse",cn,function(a){var o=a.shape;r._canDrillDown(o)?r._addOverlay(o):r._removeOverlay(o)},!0),this.executed(["shape.create","shape.move","shape.delete"],cn,function(a){var o=a.oldParent,l=a.newParent||a.parent,p=a.shape;r._canDrillDown(p)&&r._addOverlay(p),r._updateDrilldownOverlay(o),r._updateDrilldownOverlay(l),r._updateDrilldownOverlay(p)},!0),this.reverted(["shape.create","shape.move","shape.delete"],cn,function(a){var o=a.oldParent,l=a.newParent||a.parent,p=a.shape;r._canDrillDown(p)&&r._addOverlay(p),r._updateDrilldownOverlay(o),r._updateDrilldownOverlay(l),r._updateDrilldownOverlay(p)},!0),i.on("import.render.complete",function(){t.filter(function(a){return r._canDrillDown(a)}).map(function(a){r._addOverlay(a)})})}gt(Ht,je),Ht.prototype._updateDrilldownOverlay=function(e){var i=this._canvas;if(!!e){var t=i.findRoot(e);t&&this._updateOverlayVisibility(t)}},Ht.prototype._canDrillDown=function(e){var i=this._canvas;return W(e,"bpmn:SubProcess")&&i.findRoot(Ur(e))},Ht.prototype._updateOverlayVisibility=function(e){var i=this._overlays,t=ve(e),s=i.get({element:t.id,type:"drilldown"})[0];if(!!s){var n=t&&t.get("flowElements")&&t.get("flowElements").length;hi(s.html).toggle(Lg,!n)}},Ht.prototype._addOverlay=function(e){var i=this._canvas,t=this._overlays,s=ve(e),n=t.get({element:e,type:"drilldown"});n.length&&this._removeOverlay(e);var r=Ye('<button type="button" class="bjs-drilldown">'+Rg+"</button>"),a=s.get("name")||s.get("id"),o=this._translate("Open {element}",{element:a});r.setAttribute("title",o),r.addEventListener("click",function(){i.setRootElement(i.findRoot(Ur(e)))}),t.add(e,"drilldown",{position:{bottom:-7,right:-8},html:r}),this._updateOverlayVisibility(e)},Ht.prototype._removeOverlay=function(e){var i=this._overlays;i.remove({element:e,type:"drilldown"})},Ht.$inject=["canvas","eventBus","elementRegistry","overlays","translate"];const Fg={__depends__:[ic,xg,Ig],__init__:["drilldownBreadcrumbs","drilldownOverlayBehavior","drilldownCentering","subprocessCompatibility"],drilldownBreadcrumbs:["type",nc],drilldownCentering:["type",rc],drilldownOverlayBehavior:["type",Ht],subprocessCompatibility:["type",gi]};function lc(e){return e.originalEvent||e.srcEvent}function cc(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 uc(e,i){return(lc(e)||e).button===i}function un(e){return uc(e,0)}function jg(e){return uc(e,1)}function Vg(e){var i=lc(e)||e;return un(e)&&i.shiftKey}function Qg(e){return!0}function pn(e){return un(e)||jg(e)}var pc=500;function dc(e,i,t){var s=this;function n(I,R,M){if(!o(I,R)){var j,L,V;M?L=i.getGraphics(M):(j=R.delegateTarget||R.target,j&&(L=j,M=i.get(L))),!(!L||!M)&&(V=e.fire(I,{element:M,gfx:L,originalEvent:R}),V===!1&&(R.stopPropagation(),R.preventDefault()))}}var r={};function a(I){return r[I]}function o(I,R){var M=p[I]||un;return!M(R)}var l={click:"element.click",contextmenu:"element.contextmenu",dblclick:"element.dblclick",mousedown:"element.mousedown",mousemove:"element.mousemove",mouseover:"element.hover",mouseout:"element.out",mouseup:"element.mouseup"},p={"element.contextmenu":Qg,"element.mousedown":pn,"element.mouseup":pn,"element.click":pn,"element.dblclick":pn};function h(I,R,M){var j=l[I];if(!j)throw new Error("unmapped DOM event name <"+I+">");return n(j,R,M)}var g="svg, .djs-element";function C(I,R,M,j){var L=r[M]=function(V){n(M,V)};j&&(p[M]=j),L.$delegate=Bi.bind(I,g,R,L)}function k(I,R,M){var j=a(M);!j||Bi.unbind(I,R,j.$delegate)}function J(I){q(l,function(R,M){C(I,M,R)})}function Q(I){q(l,function(R,M){k(I,M,R)})}e.on("canvas.destroy",function(I){Q(I.svg)}),e.on("canvas.init",function(I){J(I.svg)}),e.on(["shape.added","connection.added"],function(I){var R=I.element,M=I.gfx;e.fire("interactionEvents.createHit",{element:R,gfx:M})}),e.on(["shape.changed","connection.changed"],pc,function(I){var R=I.element,M=I.gfx;e.fire("interactionEvents.updateHit",{element:R,gfx:M})}),e.on("interactionEvents.createHit",pc,function(I){var R=I.element,M=I.gfx;s.createDefaultHit(R,M)}),e.on("interactionEvents.updateHit",function(I){var R=I.element,M=I.gfx;s.updateDefaultHit(R,M)});var re=S("djs-hit djs-hit-stroke"),se=S("djs-hit djs-hit-click-stroke"),Z=S("djs-hit djs-hit-all"),P=S("djs-hit djs-hit-no-move"),A={all:Z,"click-stroke":se,stroke:re,"no-move":P};function S(I,R){return R=z({stroke:"white",strokeWidth:15},R||{}),t.cls(I,["no-fill","no-border"],R)}function D(I,R){var M=A[R];if(!M)throw new Error("invalid hit type <"+R+">");return de(I,M),I}function U(I,R){Ie(I,R)}this.removeHits=function(I){var R=Bm(".djs-hit",I);q(R,us)},this.createDefaultHit=function(I,R){var M=I.waypoints,j=I.isFrame,L;return M?this.createWaypointsHit(R,M):(L=j?"stroke":"all",this.createBoxHit(R,L,{width:I.width,height:I.height}))},this.createWaypointsHit=function(I,R){var M=Dr(R);return D(M,"stroke"),U(I,M),M},this.createBoxHit=function(I,R,M){M=z({x:0,y:0},M);var j=he("rect");return D(j,R),de(j,M),U(I,j),j},this.updateDefaultHit=function(I,R){var M=kt(".djs-hit",R);if(!!M)return I.waypoints?Vl(M,I.waypoints):de(M,{width:I.width,height:I.height}),M},this.fire=n,this.triggerMouseEvent=h,this.mouseHandler=a,this.registerEvent=C,this.unregisterEvent=k}dc.$inject=["eventBus","elementRegistry","styles"];const Ug={__init__:["interactionEvents"],interactionEvents:["type",dc]};function Fi(e,i){this._eventBus=e,this._canvas=i,this._selectedElements=[];var t=this;e.on(["shape.remove","connection.remove"],function(s){var n=s.element;t.deselect(n)}),e.on(["diagram.clear","root.set"],function(s){t.select(null)})}Fi.$inject=["eventBus","canvas"],Fi.prototype.deselect=function(e){var i=this._selectedElements,t=i.indexOf(e);if(t!==-1){var s=i.slice();i.splice(t,1),this._eventBus.fire("selection.changed",{oldSelection:s,newSelection:i})}},Fi.prototype.get=function(){return this._selectedElements},Fi.prototype.isSelected=function(e){return this._selectedElements.indexOf(e)!==-1},Fi.prototype.select=function(e,i){var t=this._selectedElements,s=t.slice();ct(e)||(e=e?[e]:[]);var n=this._canvas,r=n.getRootElement();e=e.filter(function(a){var o=n.findRoot(a);return r===o}),i?q(e,function(a){t.indexOf(a)===-1&&t.push(a)}):this._selectedElements=t=e.slice(),this._eventBus.fire("selection.changed",{oldSelection:s,newSelection:t})};var hc="hover",fc="selected";function mc(e,i){this._canvas=e;function t(n,r){e.addMarker(n,r)}function s(n,r){e.removeMarker(n,r)}i.on("element.hover",function(n){t(n.element,hc)}),i.on("element.out",function(n){s(n.element,hc)}),i.on("selection.changed",function(n){function r(p){s(p,fc)}function a(p){t(p,fc)}var o=n.oldSelection,l=n.newSelection;q(o,function(p){l.indexOf(p)===-1&&r(p)}),q(l,function(p){o.indexOf(p)===-1&&a(p)})})}mc.$inject=["canvas","eventBus"];function gc(e,i,t,s){e.on("create.end",500,function(n){var r=n.context,a=r.canExecute,o=r.elements,l=r.hints||{},p=l.autoSelect;if(a){if(p===!1)return;ct(p)?i.select(p):i.select(o.filter(Gg))}}),e.on("connect.end",500,function(n){var r=n.context,a=r.connection;a&&i.select(a)}),e.on("shape.move.end",500,function(n){var r=n.previousSelection||[],a=s.get(n.context.shape.id),o=pt(r,function(l){return a.id===l.id});o||i.select(a)}),e.on("element.click",function(n){if(!!un(n)){var r=n.element;r===t.getRootElement()&&(r=null);var a=i.isSelected(r),o=i.get().length>1,l=Vg(n);if(a&&o)return l?i.deselect(r):i.select(r);a?i.deselect(r):i.select(r,l)}})}gc.$inject=["eventBus","selection","canvas","elementRegistry"];function Gg(e){return!e.hidden}const qg={__init__:["selectionVisuals","selectionBehavior"],__depends__:[Ug],selection:["type",Fi],selectionVisuals:["type",mc],selectionBehavior:["type",gc]},Jg=/^class[ {]/;function Hg(e){return Jg.test(e.toString())}function Gr(e){return Array.isArray(e)}function qr(e,i){return Object.prototype.hasOwnProperty.call(e,i)}function dn(...e){e.length===1&&Gr(e[0])&&(e=e[0]),e=[...e];const i=e.pop();return i.$inject=e,i}const Kg=/constructor\s*[^(]*\(\s*([^)]*)\)/m,Wg=/^(?:async\s+)?(?:function\s*[^(]*)?(?:\(\s*([^)]*)\)|(\w+))/m,zg=/\/\*([^*]*)\*\//m;function Yg(e){if(typeof e!="function")throw new Error(`Cannot annotate "${e}". Expected a function!`);const i=e.toString().match(Hg(e)?Kg:Wg);if(!i)return[];const t=i[1]||i[2];return t&&t.split(",").map(s=>{const n=s.match(zg);return(n&&n[1]||s).trim()})||[]}function yc(e,i){const t=i||{get:function(P,A){if(s.push(P),A===!1)return null;throw o(`No provider for "${P}"!`)}},s=[],n=this._providers=Object.create(t._providers||null),r=this._instances=Object.create(null),a=r.injector=this,o=function(P){const A=s.join(" -> ");return s.length=0,new Error(A?`${P} (Resolving: ${A})`:P)};function l(P,A){if(!n[P]&&P.includes(".")){const S=P.split(".");let D=l(S.shift());for(;S.length;)D=D[S.shift()];return D}if(qr(r,P))return r[P];if(qr(n,P)){if(s.indexOf(P)!==-1)throw s.push(P),o("Cannot resolve circular dependency!");return s.push(P),r[P]=n[P][0](n[P][1]),s.pop(),r[P]}return t.get(P,A)}function p(P,A){if(typeof A>"u"&&(A={}),typeof P!="function")if(Gr(P))P=dn(P.slice());else throw o(`Cannot invoke "${P}". Expected a function!`);const D=(P.$inject||Yg(P)).map(U=>qr(A,U)?A[U]:l(U));return{fn:P,dependencies:D}}function h(P){const{fn:A,dependencies:S}=p(P),D=Function.prototype.bind.call(A,null,...S);return new D}function g(P,A,S){const{fn:D,dependencies:U}=p(P,S);return D.apply(A,U)}function C(P){return dn(A=>P.get(A))}function k(P,A){if(A&&A.length){const S=Object.create(null),D=Object.create(null),U=[],I=[],R=[];let M,j,L,V;for(let ee in n)M=n[ee],A.indexOf(ee)!==-1&&(M[2]==="private"?(j=U.indexOf(M[3]),j===-1?(L=M[3].createChild([],A),V=C(L),U.push(M[3]),I.push(L),R.push(V),S[ee]=[V,ee,"private",L]):S[ee]=[R[j],ee,"private",I[j]]):S[ee]=[M[2],M[1]],D[ee]=!0),(M[2]==="factory"||M[2]==="type")&&M[1].$scope&&A.forEach(Ne=>{M[1].$scope.indexOf(Ne)!==-1&&(S[ee]=[M[2],M[1]],D[Ne]=!0)});A.forEach(ee=>{if(!D[ee])throw new Error('No provider for "'+ee+'". Cannot use provider from the parent!')}),P.unshift(S)}return new yc(P,a)}const J={factory:g,type:h,value:function(P){return P}};function Q(P,A){const S=P.__init__||[];return function(){S.forEach(D=>{typeof D=="string"?A.get(D):A.invoke(D)})}}function re(P){const A=P.__exports__;if(A){const S=P.__modules__,D=Object.keys(P).reduce((j,L)=>(L!=="__exports__"&&L!=="__modules__"&&L!=="__init__"&&L!=="__depends__"&&(j[L]=P[L]),j),Object.create(null)),U=(S||[]).concat(D),I=k(U),R=dn(function(j){return I.get(j)});A.forEach(function(j){n[j]=[R,j,"private",I]});const M=(P.__init__||[]).slice();return M.unshift(function(){I.init()}),P=Object.assign({},P,{__init__:M}),Q(P,I)}return Object.keys(P).forEach(function(S){if(S==="__init__"||S==="__depends__")return;const D=P[S];if(D[2]==="private"){n[S]=D;return}const U=D[0],I=D[1];n[S]=[J[U],Zg(U,I),U]}),Q(P,a)}function se(P,A){return P.indexOf(A)!==-1||(P=(A.__depends__||[]).reduce(se,P),P.indexOf(A)!==-1)?P:P.concat(A)}function Z(P){const A=P.reduce(se,[]).map(re);let S=!1;return function(){S||(S=!0,A.forEach(D=>D()))}}this.get=l,this.invoke=g,this.instantiate=h,this.createChild=k,this.init=Z(e)}function Zg(e,i){return e!=="value"&&Gr(i)&&(i=dn(i.slice())),i}var Xg=1;function Kt(e,i){It.call(this,e,Xg),this.CONNECTION_STYLE=i.style(["no-fill"],{strokeWidth:5,stroke:"fuchsia"}),this.SHAPE_STYLE=i.style({fill:"white",stroke:"fuchsia",strokeWidth:2}),this.FRAME_STYLE=i.style(["no-fill"],{stroke:"fuchsia",strokeDasharray:4,strokeWidth:2})}gt(Kt,It),Kt.prototype.canRender=function(){return!0},Kt.prototype.drawShape=function(i,t,s){var n=he("rect");return de(n,{x:0,y:0,width:t.width||0,height:t.height||0}),$l(t)?de(n,z({},this.FRAME_STYLE,s||{})):de(n,z({},this.SHAPE_STYLE,s||{})),Ie(i,n),n},Kt.prototype.drawConnection=function(i,t,s){var n=Dr(t.waypoints,z({},this.CONNECTION_STYLE,s||{}));return Ie(i,n),n},Kt.prototype.getShapePath=function(i){var t=i.x,s=i.y,n=i.width,r=i.height,a=[["M",t,s],["l",n,0],["l",0,r],["l",-n,0],["z"]];return di(a)},Kt.prototype.getConnectionPath=function(i){var t=i.waypoints,s,n,r=[];for(s=0;n=t[s];s++)n=n.original||n,r.push([s===0?"M":"L",n.x,n.y]);return di(r)},Kt.$inject=["eventBus","styles"];function $g(){var e={"no-fill":{fill:"none"},"no-border":{strokeOpacity:0},"no-events":{pointerEvents:"none"}},i=this;this.cls=function(t,s,n){var r=this.style(s,n);return z(r,{class:t})},this.style=function(t,s){!ct(t)&&!s&&(s=t,t=[]);var n=Oi(t,function(r,a){return z(r,e[a]||{})},{});return s?z(n,s):n},this.computeStyle=function(t,s,n){return ct(s)||(n=s,s=[]),i.style(s||[],z({},n,t||{}))}}const ey={__init__:["defaultRenderer"],defaultRenderer:["type",Kt],styles:["type",$g]};function ty(e,i){if(!e||!i)return-1;var t=e.indexOf(i);return t!==-1&&e.splice(t,1),t}function iy(e,i,t){if(!(!e||!i)){typeof t!="number"&&(t=-1);var s=e.indexOf(i);if(s!==-1){if(s===t)return;if(t!==-1)e.splice(s,1);else return}t!==-1?e.splice(t,0,i):e.push(i)}}function hn(e,i){return Math.round(e*i)/i}function vc(e){return Ut(e)?e+"px":e}function sy(e){for(;e.parent;)e=e.parent;return e}function ny(e){e=z({},{width:"100%",height:"100%"},e);const i=e.container||document.body,t=document.createElement("div");return t.setAttribute("class","djs-container djs-parent"),De(t,{position:"relative",overflow:"hidden",width:vc(e.width),height:vc(e.height)}),i.appendChild(t),t}function Ac(e,i,t){const s=he("g");yt(s).add(i);const n=t!==void 0?t:e.childNodes.length-1;return e.insertBefore(s,e.childNodes[n]||null),s}const ry="base",bc=0,ay=1,oy={shape:["x","y","width","height"],connection:["waypoints"]};function Y(e,i,t,s){this._eventBus=i,this._elementRegistry=s,this._graphicsFactory=t,this._rootsIdx=0,this._layers={},this._planes=[],this._rootElement=null,this._focused=!1,this._init(e||{})}Y.$inject=["config.canvas","eventBus","graphicsFactory","elementRegistry"],Y.prototype._init=function(e){const i=this._eventBus,t=this._container=ny(e),s=this._svg=he("svg");de(s,{width:"100%",height:"100%"}),Or(s,"tabindex",0),e.autoFocus&&i.on("element.hover",()=>{this.restoreFocus()}),i.on("element.mousedown",500,r=>{this.focus()}),s.addEventListener("focusin",()=>{this._setFocused(!0)}),s.addEventListener("focusout",()=>{this._setFocused(!1)}),Ie(t,s);const n=this._viewport=Ac(s,"viewport");e.deferUpdate&&(this._viewboxChanged=Of(Gt(this._viewboxChanged,this),300)),i.on("diagram.init",()=>{i.fire("canvas.init",{svg:s,viewport:n})}),i.on(["shape.added","connection.added","shape.removed","connection.removed","elements.changed","root.set"],()=>{delete this._cachedViewbox}),i.on("diagram.destroy",500,this._destroy,this),i.on("diagram.clear",500,this._clear,this)},Y.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},Y.prototype._setFocused=function(e){e!=this._focused&&(this._focused=e,this._eventBus.fire("canvas.focus.changed",{focused:e}))},Y.prototype._clear=function(){this._elementRegistry.getAll().forEach(i=>{const t=Xl(i);t==="root"?this.removeRootElement(i):this._removeElement(i,t)}),this._planes=[],this._rootElement=null,delete this._cachedViewbox},Y.prototype.focus=function(){this._svg.focus({preventScroll:!0}),this._setFocused(!0)},Y.prototype.restoreFocus=function(){document.activeElement===document.body&&this.focus()},Y.prototype.isFocused=function(){return this._focused},Y.prototype.getDefaultLayer=function(){return this.getLayer(ry,bc)},Y.prototype.getLayer=function(e,i){if(!e)throw new Error("must specify a name");let t=this._layers[e];if(t||(t=this._layers[e]=this._createLayer(e,i)),typeof i<"u"&&t.index!==i)throw new Error("layer <"+e+"> already created at index <"+i+">");return t.group},Y.prototype._getChildIndex=function(e){return Oi(this._layers,function(i,t){return t.visible&&e>=t.index&&i++,i},0)},Y.prototype._createLayer=function(e,i){typeof i>"u"&&(i=ay);const t=this._getChildIndex(i);return{group:Ac(this._viewport,"layer-"+e,t),index:i,visible:!0}},Y.prototype.showLayer=function(e){if(!e)throw new Error("must specify a name");const i=this._layers[e];if(!i)throw new Error("layer <"+e+"> does not exist");const t=this._viewport,s=i.group,n=i.index;if(i.visible)return s;const r=this._getChildIndex(n);return t.insertBefore(s,t.childNodes[r]||null),i.visible=!0,s},Y.prototype.hideLayer=function(e){if(!e)throw new Error("must specify a name");const i=this._layers[e];if(!i)throw new Error("layer <"+e+"> does not exist");const t=i.group;return i.visible&&(us(t),i.visible=!1),t},Y.prototype._removeLayer=function(e){const i=this._layers[e];i&&(delete this._layers[e],us(i.group))},Y.prototype.getActiveLayer=function(){const e=this._findPlaneForRoot(this.getRootElement());return e?e.layer:null},Y.prototype.findRoot=function(e){return typeof e=="string"&&(e=this._elementRegistry.get(e)),e?(this._findPlaneForRoot(sy(e))||{}).rootElement:void 0},Y.prototype.getRootElements=function(){return this._planes.map(function(e){return e.rootElement})},Y.prototype._findPlaneForRoot=function(e){return pt(this._planes,function(i){return i.rootElement===e})},Y.prototype.getContainer=function(){return this._container},Y.prototype._updateMarker=function(e,i,t){let s;e.id||(e=this._elementRegistry.get(e)),e.markers=e.markers||new Set,s=this._elementRegistry._elements[e.id],s&&(q([s.gfx,s.secondaryGfx],function(n){n&&(t?(e.markers.add(i),yt(n).add(i)):(e.markers.delete(i),yt(n).remove(i)))}),this._eventBus.fire("element.marker.update",{element:e,gfx:s.gfx,marker:i,add:!!t}))},Y.prototype.addMarker=function(e,i){this._updateMarker(e,i,!0)},Y.prototype.removeMarker=function(e,i){this._updateMarker(e,i,!1)},Y.prototype.hasMarker=function(e,i){return e.id||(e=this._elementRegistry.get(e)),e.markers?e.markers.has(i):!1},Y.prototype.toggleMarker=function(e,i){this.hasMarker(e,i)?this.removeMarker(e,i):this.addMarker(e,i)},Y.prototype.getRootElement=function(){const e=this._rootElement;return e||this._planes.length?e:this.setRootElement(this.addRootElement(null))},Y.prototype.addRootElement=function(e){const i=this._rootsIdx++;e||(e={id:"__implicitroot_"+i,children:[],isImplicit:!0});const t=e.layer="root-"+i;this._ensureValid("root",e);const s=this.getLayer(t,bc);return this.hideLayer(t),this._addRoot(e,s),this._planes.push({rootElement:e,layer:s}),e},Y.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(t){return t.rootElement!==e}),this._rootElement===e&&(this._rootElement=null),e},Y.prototype.setRootElement=function(e){if(e===this._rootElement)return e;let i;if(!e)throw new Error("rootElement required");return i=this._findPlaneForRoot(e),i||(e=this.addRootElement(e)),this._setRoot(e),e},Y.prototype._removeRoot=function(e){const i=this._elementRegistry,t=this._eventBus;t.fire("root.remove",{element:e}),t.fire("root.removed",{element:e}),i.remove(e)},Y.prototype._addRoot=function(e,i){const t=this._elementRegistry,s=this._eventBus;s.fire("root.add",{element:e}),t.add(e,i),s.fire("root.added",{element:e,gfx:i})},Y.prototype._setRoot=function(e,i){const t=this._rootElement;t&&(this._elementRegistry.updateGraphics(t,null,!0),this.hideLayer(t.layer)),e&&(i||(i=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})},Y.prototype._ensureValid=function(e,i){if(!i.id)throw new Error("element must have an id");if(this._elementRegistry.get(i.id))throw new Error("element <"+i.id+"> already exists");const t=oy[e];if(!Il(t,function(n){return typeof i[n]<"u"}))throw new Error("must supply { "+t.join(", ")+" } with "+e)},Y.prototype._setParent=function(e,i,t){iy(i.children,e,t),e.parent=i},Y.prototype._addElement=function(e,i,t,s){t=t||this.getRootElement();const n=this._eventBus,r=this._graphicsFactory;this._ensureValid(e,i),n.fire(e+".add",{element:i,parent:t}),this._setParent(i,t,s);const a=r.create(e,i,s);return this._elementRegistry.add(i,a),r.update(e,i,a),n.fire(e+".added",{element:i,gfx:a}),i},Y.prototype.addShape=function(e,i,t){return this._addElement("shape",e,i,t)},Y.prototype.addConnection=function(e,i,t){return this._addElement("connection",e,i,t)},Y.prototype._removeElement=function(e,i){const t=this._elementRegistry,s=this._graphicsFactory,n=this._eventBus;if(e=t.get(e.id||e),!!e)return n.fire(i+".remove",{element:e}),s.remove(e),ty(e.parent&&e.parent.children,e),e.parent=null,n.fire(i+".removed",{element:e}),t.remove(e),e},Y.prototype.removeShape=function(e){return this._removeElement(e,"shape")},Y.prototype.removeConnection=function(e){return this._removeElement(e,"connection")},Y.prototype.getGraphics=function(e,i){return this._elementRegistry.getGraphics(e,i)},Y.prototype._changeViewbox=function(e){this._eventBus.fire("canvas.viewbox.changing"),e.apply(this),this._cachedViewbox=null,this._viewboxChanged()},Y.prototype._viewboxChanged=function(){this._eventBus.fire("canvas.viewbox.changed",{viewbox:this.viewbox()})},Y.prototype.viewbox=function(e){if(e===void 0&&this._cachedViewbox)return structuredClone(this._cachedViewbox);const i=this._viewport,t=this.getSize();let s,n,r,a,o,l,p;if(e)this._changeViewbox(function(){o=Math.min(t.width/e.width,t.height/e.height);const h=this._svg.createSVGMatrix().scale(o).translate(-e.x,-e.y);ps(i,h)});else return r=this._rootElement?this.getActiveLayer():null,s=r&&r.getBBox()||{},a=ps(i),n=a?a.matrix:tm(),o=hn(n.a,1e3),l=hn(-n.e||0,1e3),p=hn(-n.f||0,1e3),e=this._cachedViewbox={x:l?l/o:0,y:p?p/o:0,width:t.width/o,height:t.height/o,scale:o,inner:{width:s.width||0,height:s.height||0,x:s.x||0,y:s.y||0},outer:t},e;return e},Y.prototype.scroll=function(e){const i=this._viewport;let t=i.getCTM();return e&&this._changeViewbox(function(){e=z({dx:0,dy:0},e||{}),t=this._svg.createSVGMatrix().translate(e.dx,e.dy).multiply(t),Cc(i,t)}),{x:t.e,y:t.f}},Y.prototype.scrollToElement=function(e,i){let t=100;typeof e=="string"&&(e=this._elementRegistry.get(e));const s=this.findRoot(e);if(s!==this.getRootElement()&&this.setRootElement(s),s===e)return;i||(i={}),typeof i=="number"&&(t=i),i={top:i.top||t,right:i.right||t,bottom:i.bottom||t,left:i.left||t};const n=fs(e),r=Fr(n),a=this.viewbox(),o=this.zoom();let l,p;a.y+=i.top/o,a.x+=i.left/o,a.width-=(i.right+i.left)/o,a.height-=(i.bottom+i.top)/o;const h=Fr(a);if(!(n.width<a.width&&n.height<a.height))l=n.x-a.x,p=n.y-a.y;else{const C=Math.max(0,r.right-h.right),k=Math.min(0,r.left-h.left),J=Math.max(0,r.bottom-h.bottom),Q=Math.min(0,r.top-h.top);l=C||k,p=J||Q}this.scroll({dx:-l*o,dy:-p*o})},Y.prototype.zoom=function(e,i){if(!e)return this.viewbox(e).scale;if(e==="fit-viewport")return this._fitViewport(i);let t,s;return this._changeViewbox(function(){typeof i!="object"&&(t=this.viewbox().outer,i={x:t.width/2,y:t.height/2}),s=this._setZoom(e,i)}),hn(s.a,1e3)};function Cc(e,i){const t="matrix("+i.a+","+i.b+","+i.c+","+i.d+","+i.e+","+i.f+")";e.setAttribute("transform",t)}Y.prototype._fitViewport=function(e){const i=this.viewbox(),t=i.outer,s=i.inner;let n,r;return s.x>=0&&s.y>=0&&s.x+s.width<=t.width&&s.y+s.height<=t.height&&!e?r={x:0,y:0,width:Math.max(s.width+s.x,t.width),height:Math.max(s.height+s.y,t.height)}:(n=Math.min(1,t.width/s.width,t.height/s.height),r={x:s.x+(e?s.width/2-t.width/n/2:0),y:s.y+(e?s.height/2-t.height/n/2:0),width:t.width/n,height:t.height/n}),this.viewbox(r),this.viewbox(!1).scale},Y.prototype._setZoom=function(e,i){const t=this._svg,s=this._viewport,n=t.createSVGMatrix(),r=t.createSVGPoint();let a,o,l,p,h;l=s.getCTM();const g=l.a;return i?(a=z(r,i),o=a.matrixTransform(l.inverse()),p=n.translate(o.x,o.y).scale(1/g*e).translate(-o.x,-o.y),h=l.multiply(p)):h=n.scale(e),Cc(this._viewport,h),h},Y.prototype.getSize=function(){return{width:this._container.clientWidth,height:this._container.clientHeight}},Y.prototype.getAbsoluteBBox=function(e){const i=this.viewbox();let t;e.waypoints?t=this.getGraphics(e).getBBox():t=e;const s=t.x*i.scale-i.x*i.scale,n=t.y*i.scale-i.y*i.scale,r=t.width*i.scale,a=t.height*i.scale;return{x:s,y:n,width:r,height:a}},Y.prototype.resized=function(){delete this._cachedViewbox,this._eventBus.fire("canvas.resized")};var ji="data-element-id";function Ze(e){this._elements={},this._eventBus=e}Ze.$inject=["eventBus"],Ze.prototype.add=function(e,i,t){var s=e.id;this._validateId(s),de(i,ji,s),t&&de(t,ji,s),this._elements[s]={element:e,gfx:i,secondaryGfx:t}},Ze.prototype.remove=function(e){var i=this._elements,t=e.id||e,s=t&&i[t];s&&(de(s.gfx,ji,""),s.secondaryGfx&&de(s.secondaryGfx,ji,""),delete i[t])},Ze.prototype.updateId=function(e,i){this._validateId(i),typeof e=="string"&&(e=this.get(e)),this._eventBus.fire("element.updateId",{element:e,newId:i});var t=this.getGraphics(e),s=this.getGraphics(e,!0);this.remove(e),e.id=i,this.add(e,t,s)},Ze.prototype.updateGraphics=function(e,i,t){var s=e.id||e,n=this._elements[s];return t?n.secondaryGfx=i:n.gfx=i,i&&de(i,ji,s),i},Ze.prototype.get=function(e){var i;typeof e=="string"?i=e:i=e&&de(e,ji);var t=this._elements[i];return t&&t.element},Ze.prototype.filter=function(e){var i=[];return this.forEach(function(t,s){e(t,s)&&i.push(t)}),i},Ze.prototype.find=function(e){for(var i=this._elements,t=Object.keys(i),s=0;s<t.length;s++){var n=t[s],r=i[n],a=r.element,o=r.gfx;if(e(a,o))return a}},Ze.prototype.getAll=function(){return this.filter(function(e){return e})},Ze.prototype.forEach=function(e){var i=this._elements;Object.keys(i).forEach(function(t){var s=i[t],n=s.element,r=s.gfx;return e(n,r)})},Ze.prototype.getGraphics=function(e,i){var t=e.id||e,s=this._elements[t];return s&&(i?s.secondaryGfx:s.gfx)},Ze.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 ly(e,i,t,s){var n=t.inverse;return Object.defineProperty(e,"remove",{value:function(r){var a=this.indexOf(r);return a!==-1&&(this.splice(a,1),i.unset(r,n,s)),r}}),Object.defineProperty(e,"contains",{value:function(r){return this.indexOf(r)!==-1}}),Object.defineProperty(e,"add",{value:function(r,a){var o=this.indexOf(r);if(typeof a>"u"){if(o!==-1)return;a=this.length}o!==-1&&this.splice(o,1),this.splice(a,0,r),o===-1&&i.set(r,n,s)}}),Object.defineProperty(e,"__refs_collection",{value:!0}),e}function cy(e){return e.__refs_collection===!0}function uy(e,i){return Object.prototype.hasOwnProperty.call(e,i.name||i)}function wc(e,i,t){var s=ly(t[i.name]||[],e,i,t);Object.defineProperty(t,i.name,{enumerable:i.enumerable,value:s}),s.length&&s.forEach(function(n){e.set(n,i.inverse,t)})}function py(e,i,t){var s=i.inverse,n=t[i.name];Object.defineProperty(t,i.name,{configurable:i.configurable,enumerable:i.enumerable,get:function(){return n},set:function(r){if(r!==n){var a=n;n=null,a&&e.unset(a,s,t),n=r,e.set(n,s,t)}}})}function st(e,i){if(!(this instanceof st))return new st(e,i);e.inverse=i,i.inverse=e,this.props={},this.props[e.name]=e,this.props[i.name]=i}st.prototype.bind=function(e,i){if(typeof i=="string"){if(!this.props[i])throw new Error("no property <"+i+"> in ref");i=this.props[i]}i.collection?wc(this,i,e):py(this,i,e)},st.prototype.ensureRefsCollection=function(e,i){var t=e[i.name];return cy(t)||wc(this,i,e),t},st.prototype.ensureBound=function(e,i){uy(e,i)||this.bind(e,i)},st.prototype.unset=function(e,i,t){e&&(this.ensureBound(e,i),i.collection?this.ensureRefsCollection(e,i).remove(t):e[i.name]=void 0)},st.prototype.set=function(e,i,t){e&&(this.ensureBound(e,i),i.collection?this.ensureRefsCollection(e,i).add(t):e[i.name]=t)};var Jr=new st({name:"children",enumerable:!0,collection:!0},{name:"parent"}),xc=new st({name:"labels",enumerable:!0,collection:!0},{name:"labelTarget"}),Ec=new st({name:"attachers",collection:!0},{name:"host"}),Tc=new st({name:"outgoing",collection:!0},{name:"source"}),Ic=new st({name:"incoming",collection:!0},{name:"target"});function ms(){Object.defineProperty(this,"businessObject",{writable:!0}),Object.defineProperty(this,"label",{get:function(){return this.labels[0]},set:function(e){var i=this.label,t=this.labels;!e&&i?t.remove(i):t.add(e,0)}}),Jr.bind(this,"parent"),xc.bind(this,"labels"),Tc.bind(this,"outgoing"),Ic.bind(this,"incoming")}function gs(){ms.call(this),Jr.bind(this,"children"),Ec.bind(this,"host"),Ec.bind(this,"attachers")}gt(gs,ms);function kc(){ms.call(this),Jr.bind(this,"children")}gt(kc,gs);function Nc(){gs.call(this),xc.bind(this,"labelTarget")}gt(Nc,gs);function Sc(){ms.call(this),Tc.bind(this,"source"),Ic.bind(this,"target")}gt(Sc,ms);var dy={connection:Sc,shape:gs,label:Nc,root:kc};function hy(e,i){var t=dy[e];if(!t)throw new Error("unknown type: <"+e+">");return z(new t,i)}function Vi(){this._uid=12}Vi.prototype.createRoot=function(e){return this.create("root",e)},Vi.prototype.createLabel=function(e){return this.create("label",e)},Vi.prototype.createShape=function(e){return this.create("shape",e)},Vi.prototype.createConnection=function(e){return this.create("connection",e)},Vi.prototype.create=function(e,i){return i=z({},i||{}),i.id||(i.id=e+"_"+this._uid++),hy(e,i)};var fn="__fn",_c=1e3,fy=Array.prototype.slice;function Je(){this._listeners={},this.on("diagram.destroy",1,this._destroy,this)}Je.prototype.on=function(e,i,t,s){if(e=ct(e)?e:[e],ci(i)&&(s=t,t=i,i=_c),!Ut(i))throw new Error("priority must be a number");var n=t;s&&(n=Gt(t,s),n[fn]=t[fn]||t);var r=this;e.forEach(function(a){r._addListener(a,{priority:i,callback:n,next:null})})},Je.prototype.once=function(e,i,t,s){var n=this;if(ci(i)&&(s=t,t=i,i=_c),!Ut(i))throw new Error("priority must be a number");function r(){r.__isTomb=!0;var a=t.apply(s,arguments);return n.off(e,r),a}r[fn]=t,this.on(e,i,r)},Je.prototype.off=function(e,i){e=ct(e)?e:[e];var t=this;e.forEach(function(s){t._removeListener(s,i)})},Je.prototype.createEvent=function(e){var i=new ys;return i.init(e),i},Je.prototype.fire=function(e,i){var t,s,n,r;if(r=fy.call(arguments),typeof e=="object"&&(i=e,e=i.type),!e)throw new Error("no event type specified");if(s=this._listeners[e],!!s){i instanceof ys?t=i:t=this.createEvent(i),r[0]=t;var a=t.type;e!==a&&(t.type=e);try{n=this._invokeListeners(t,r,s)}finally{e!==a&&(t.type=a)}return n===void 0&&t.defaultPrevented&&(n=!1),n}},Je.prototype.handleError=function(e){return this.fire("error",{error:e})===!1},Je.prototype._destroy=function(){this._listeners={}},Je.prototype._invokeListeners=function(e,i,t){for(var s;t&&!e.cancelBubble;)s=this._invokeListener(e,i,t),t=t.next;return s},Je.prototype._invokeListener=function(e,i,t){var s;if(t.callback.__isTomb)return s;try{s=my(t.callback,i),s!==void 0&&(e.returnValue=s,e.stopPropagation()),s===!1&&e.preventDefault()}catch(n){if(!this.handleError(n))throw console.error("unhandled error in event listener",n),n}return s},Je.prototype._addListener=function(e,i){var t=this._getListeners(e),s;if(!t){this._setListeners(e,i);return}for(;t;){if(t.priority<i.priority){i.next=t,s?s.next=i:this._setListeners(e,i);return}s=t,t=t.next}s.next=i},Je.prototype._getListeners=function(e){return this._listeners[e]},Je.prototype._setListeners=function(e,i){this._listeners[e]=i},Je.prototype._removeListener=function(e,i){var t=this._getListeners(e),s,n,r;if(!i){this._setListeners(e,null);return}for(;t;)s=t.next,r=t.callback,(r===i||r[fn]===i)&&(n?n.next=s:this._setListeners(e,s)),n=t,t=s};function ys(){}ys.prototype.stopPropagation=function(){this.cancelBubble=!0},ys.prototype.preventDefault=function(){this.defaultPrevented=!0},ys.prototype.init=function(e){z(this,e||{})};function my(e,i){return e.apply(null,i)}function gy(e){return e.childNodes[0]}function yy(e){return e.parentNode.childNodes[1]}function Xe(e,i){this._eventBus=e,this._elementRegistry=i}Xe.$inject=["eventBus","elementRegistry"],Xe.prototype._getChildrenContainer=function(e){var i=this._elementRegistry.getGraphics(e),t;return e.parent?(t=yy(i),t||(t=he("g"),yt(t).add("djs-children"),Ie(i.parentNode,t))):t=i,t},Xe.prototype._clear=function(e){var i=gy(e);return Ul(i),i},Xe.prototype._createContainer=function(e,i,t,s){var n=he("g");yt(n).add("djs-group"),typeof t<"u"?Pc(n,i,i.childNodes[t]):Ie(i,n);var r=he("g");yt(r).add("djs-element"),yt(r).add("djs-"+e),s&&yt(r).add("djs-frame"),Ie(n,r);var a=he("g");return yt(a).add("djs-visual"),Ie(r,a),r},Xe.prototype.create=function(e,i,t){var s=this._getChildrenContainer(i.parent);return this._createContainer(e,s,t,$l(i))},Xe.prototype.updateContainments=function(e){var i=this,t=this._elementRegistry,s;s=Oi(e,function(n,r){return r.parent&&(n[r.parent.id]=r.parent),n},{}),q(s,function(n){var r=n.children;if(!!r){var a=i._getChildrenContainer(n);q(r.slice().reverse(),function(o){var l=t.getGraphics(o);Pc(l.parentNode,a)})}})},Xe.prototype.drawShape=function(e,i,t={}){var s=this._eventBus;return s.fire("render.shape",{gfx:e,element:i,attrs:t})},Xe.prototype.getShapePath=function(e){var i=this._eventBus;return i.fire("render.getShapePath",e)},Xe.prototype.drawConnection=function(e,i,t={}){var s=this._eventBus;return s.fire("render.connection",{gfx:e,element:i,attrs:t})},Xe.prototype.getConnectionPath=function(e){var i=this._eventBus;return i.fire("render.getConnectionPath",e)},Xe.prototype.update=function(e,i,t){if(!!i.parent){var s=this._clear(t);if(e==="shape")this.drawShape(s,i),Kl(t,i.x,i.y);else if(e==="connection")this.drawConnection(s,i);else throw new Error("unknown type: "+e);i.hidden?de(t,"display","none"):de(t,"display","block")}},Xe.prototype.remove=function(e){var i=this._elementRegistry.getGraphics(e);us(i.parentNode)};function Pc(e,i,t){var s=t||i.firstChild;e!==s&&i.insertBefore(e,s)}const vy={__depends__:[ey],__init__:["canvas"],canvas:["type",Y],elementRegistry:["type",Ze],elementFactory:["type",Vi],eventBus:["type",Je],graphicsFactory:["type",Xe]};function Ay(e){var i=new yc(e);return i.init(),i}function by(e){e=e||{};var i={config:["value",e]},t=[i,vy].concat(e.modules||[]);return Ay(t)}function Wt(e,i){this._injector=i||by(e),this.get("eventBus").fire("diagram.init")}Wt.prototype.get=function(e,i){return this._injector.get(e,i)},Wt.prototype.invoke=function(e,i,t){return this._injector.invoke(e,i,t)},Wt.prototype.destroy=function(){this.get("eventBus").fire("diagram.destroy")},Wt.prototype.clear=function(){this.get("eventBus").fire("diagram.clear")};function Hr(){}Hr.prototype.get=function(e){return this.$model.properties.get(this,e)},Hr.prototype.set=function(e,i){this.$model.properties.set(this,e,i)};function Dc(e,i){this.model=e,this.properties=i}Dc.prototype.createType=function(e){var i=this.model,t=this.properties,s=Object.create(Hr.prototype);q(e.properties,function(a){!a.isMany&&a.default!==void 0&&(s[a.name]=a.default)}),t.defineModel(s,i),t.defineDescriptor(s,e);var n=e.ns.name;function r(a){t.define(this,"$type",{value:n,enumerable:!0}),t.define(this,"$attrs",{value:{}}),t.define(this,"$parent",{writable:!0}),q(a,Gt(function(o,l){this.set(l,o)},this))}return r.prototype=s,r.hasType=s.$instanceOf=this.model.hasType,t.defineModel(r,i),t.defineDescriptor(r,e),r};var Cy={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},Mc={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 Kr(e,i){var t=Mc[e];return t?t(i):i}function Wr(e){return!!Cy[e]}function Oc(e){return!!Mc[e]}function Oe(e,i){var t=e.split(/:/),s,n;if(t.length===1)s=e,n=i;else if(t.length===2)s=t[1],n=t[0];else throw new Error("expected <prefix:localName> or <localName>, got "+e);return e=(n?n+":":"")+s,{name:e,prefix:n,localName:s}}function $e(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}$e.prototype.build=function(){return Rf(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},$e.prototype.addProperty=function(e,i,t){typeof i=="boolean"&&(t=i,i=void 0),this.addNamedProperty(e,t!==!1);var s=this.properties;i!==void 0?s.splice(i,0,e):s.push(e)},$e.prototype.replaceProperty=function(e,i,t){var s=e.ns,n=this.properties,r=this.propertiesByName,a=e.name!==i.name;if(e.isId){if(!i.isId)throw new Error("property <"+i.ns.name+"> must be id property to refine <"+e.ns.name+">");this.setIdProperty(i,!1)}if(e.isBody){if(!i.isBody)throw new Error("property <"+i.ns.name+"> must be body property to refine <"+e.ns.name+">");this.setBodyProperty(i,!1)}var o=n.indexOf(e);if(o===-1)throw new Error("property <"+s.name+"> not found in property list");n.splice(o,1),this.addProperty(i,t?void 0:o,a),r[s.name]=r[s.localName]=i},$e.prototype.redefineProperty=function(e,i,t){var s=e.ns.prefix,n=i.split("#"),r=Oe(n[0],s),a=Oe(n[1],r.prefix).name,o=this.propertiesByName[a];if(o)this.replaceProperty(o,e,t);else throw new Error("refined property <"+a+"> not found");delete e.redefines},$e.prototype.addNamedProperty=function(e,i){var t=e.ns,s=this.propertiesByName;i&&(this.assertNotDefined(e,t.name),this.assertNotDefined(e,t.localName)),s[t.name]=s[t.localName]=e},$e.prototype.removeNamedProperty=function(e){var i=e.ns,t=this.propertiesByName;delete t[i.name],delete t[i.localName]},$e.prototype.setBodyProperty=function(e,i){if(i&&this.bodyProperty)throw new Error("body property defined multiple times (<"+this.bodyProperty.ns.name+">, <"+e.ns.name+">)");this.bodyProperty=e},$e.prototype.setIdProperty=function(e,i){if(i&&this.idProperty)throw new Error("id property defined multiple times (<"+this.idProperty.ns.name+">, <"+e.ns.name+">)");this.idProperty=e},$e.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},$e.prototype.assertNotDefined=function(e,i){var t=e.name,s=this.propertiesByName[t];if(s)throw new Error("property <"+t+"> already defined; override of <"+s.definedBy.ns.name+"#"+s.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},$e.prototype.hasProperty=function(e){return this.propertiesByName[e]},$e.prototype.addTrait=function(e,i){i&&this.assertNotTrait(e);var t=this.allTypesByName,s=this.allTypes,n=e.name;n in t||(q(e.properties,Gt(function(r){r=z({},r,{name:r.ns.localName,inherited:i}),Object.defineProperty(r,"definedBy",{value:e});var a=r.replaces,o=r.redefines;a||o?this.redefineProperty(r,a||o,a):(r.isBody&&this.setBodyProperty(r),r.isId&&this.setIdProperty(r),this.addProperty(r))},this)),s.push(e),t[n]=e)};function zt(e,i){this.packageMap={},this.typeMap={},this.packages=[],this.properties=i,q(e,Gt(this.registerPackage,this))}zt.prototype.getPackage=function(e){return this.packageMap[e]},zt.prototype.getPackages=function(){return this.packages},zt.prototype.registerPackage=function(e){e=z({},e);var i=this.packageMap;Bc(i,e,"prefix"),Bc(i,e,"uri"),q(e.types,Gt(function(t){this.registerType(t,e)},this)),i[e.uri]=i[e.prefix]=e,this.packages.push(e)},zt.prototype.registerType=function(e,i){e=z({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:z(e.meta||{})});var t=Oe(e.name,i.prefix),s=t.name,n={};q(e.properties,Gt(function(r){var a=Oe(r.name,t.prefix),o=a.name;Wr(r.type)||(r.type=Oe(r.type,a.prefix).name),z(r,{ns:a,name:o}),n[o]=r},this)),z(e,{ns:t,name:s,propertiesByName:n}),q(e.extends,Gt(function(r){var a=Oe(r,t.prefix),o=this.typeMap[a.name];o.traits=o.traits||[],o.traits.push(s)},this)),this.definePackage(e,i),this.typeMap[s]=e},zt.prototype.mapTypes=function(e,i,t){var s=Wr(e.name)?{name:e.name}:this.typeMap[e.name],n=this;function r(l,p){var h=Oe(l,Wr(l)?"":e.prefix);n.mapTypes(h,i,p)}function a(l){return r(l,!0)}function o(l){return r(l,!1)}if(!s)throw new Error("unknown type <"+e.name+">");q(s.superClass,t?a:o),i(s,!t),q(s.traits,a)},zt.prototype.getEffectiveDescriptor=function(e){var i=Oe(e),t=new $e(i);this.mapTypes(i,function(n,r){t.addTrait(n,r)});var s=t.build();return this.definePackage(s,s.allTypes[s.allTypes.length-1].$pkg),s},zt.prototype.definePackage=function(e,i){this.properties.define(e,"$pkg",{value:i})};function Bc(e,i,t){var s=i[t];if(s in e)throw new Error("package with "+t+" <"+s+"> already defined")}function yi(e){this.model=e}yi.prototype.set=function(e,i,t){if(!ut(i)||!i.length)throw new TypeError("property name must be a non-empty string");var s=this.getProperty(e,i),n=s&&s.name;wy(t)?s?delete e[n]:delete e.$attrs[zr(i)]:s?n in e?e[n]=t:Rc(e,s,t):e.$attrs[zr(i)]=t},yi.prototype.get=function(e,i){var t=this.getProperty(e,i);if(!t)return e.$attrs[zr(i)];var s=t.name;return!e[s]&&t.isMany&&Rc(e,t,[]),e[s]},yi.prototype.define=function(e,i,t){if(!t.writable){var s=t.value;t=z({},t,{get:function(){return s}}),delete t.value}Object.defineProperty(e,i,t)},yi.prototype.defineDescriptor=function(e,i){this.define(e,"$descriptor",{value:i})},yi.prototype.defineModel=function(e,i){this.define(e,"$model",{value:i})},yi.prototype.getProperty=function(e,i){var t=this.model,s=t.getPropertyDescriptor(e,i);if(s)return s;if(i.includes(":"))return null;const n=t.config.strict;if(typeof n<"u"){const r=new TypeError(`unknown property <${i}> on <${e.$type}>`);if(n)throw r;typeof console<"u"}return null};function wy(e){return typeof e>"u"}function Rc(e,i,t){Object.defineProperty(e,i.name,{enumerable:!i.isReference,writable:!0,value:t,configurable:!0})}function zr(e){return e.replace(/^:/,"")}function nt(e,i={}){this.properties=new yi(this),this.factory=new Dc(this,this.properties),this.registry=new zt(e,this.properties),this.typeCache={},this.config=i}nt.prototype.create=function(e,i){var t=this.getType(e);if(!t)throw new Error("unknown type <"+e+">");return new t(i)},nt.prototype.getType=function(e){var i=this.typeCache,t=ut(e)?e:e.ns.name,s=i[t];return s||(e=this.registry.getEffectiveDescriptor(t),s=i[t]=this.factory.createType(e)),s},nt.prototype.createAny=function(e,i,t){var s=Oe(e),n={$type:e,$instanceOf:function(a){return a===this.$type},get:function(a){return this[a]},set:function(a,o){Bf(this,[a],o)}},r={name:e,isGeneric:!0,ns:{prefix:s.prefix,localName:s.localName,uri:i}};return this.properties.defineDescriptor(n,r),this.properties.defineModel(n,this),this.properties.define(n,"get",{enumerable:!1,writable:!0}),this.properties.define(n,"set",{enumerable:!1,writable:!0}),this.properties.define(n,"$parent",{enumerable:!1,writable:!0}),this.properties.define(n,"$instanceOf",{enumerable:!1,writable:!0}),q(t,function(a,o){li(a)&&a.value!==void 0?n[a.name]=a.value:n[o]=a}),n},nt.prototype.getPackage=function(e){return this.registry.getPackage(e)},nt.prototype.getPackages=function(){return this.registry.getPackages()},nt.prototype.getElementDescriptor=function(e){return e.$descriptor},nt.prototype.hasType=function(e,i){i===void 0&&(i=e,e=this);var t=e.$model.getElementDescriptor(e);return i in t.allTypesByName},nt.prototype.getPropertyDescriptor=function(e,i){return this.getElementDescriptor(e).propertiesByName[i]},nt.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var Lc=String.fromCharCode,xy=Object.prototype.hasOwnProperty,Ey=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/ig,vs={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};Object.keys(vs).forEach(function(e){vs[e.toUpperCase()]=vs[e]});function Ty(e,i,t,s){return s?xy.call(vs,s)?vs[s]:"&"+s+";":Lc(i||parseInt(t,16))}function vi(e){return e.length>3&&e.indexOf("&")!==-1?e.replace(Ey,Ty):e}var Fc="non-whitespace outside of root node";function Qi(e){return new Error(e)}function jc(e){return"missing namespace for prefix <"+e+">"}function mn(e){return{get:e,enumerable:!0}}function Iy(e){var i={},t;for(t in e)i[t]=e[t];return i}function Yr(e){return e+"$uri"}function ky(e){var i={},t,s;for(t in e)s=e[t],i[s]=s,i[Yr(s)]=t;return i}function Vc(){return{line:0,column:0}}function Ny(e){throw e}function Qc(e){if(!this)return new Qc(e);var i=e&&e.proxy,t,s,n,r,a=Ny,o,l,p,h,g=Vc,C=!1,k=!1,J=null,Q=!1,re;function se(A){A instanceof Error||(A=Qi(A)),J=A,a(A,g)}function Z(A){!o||(A instanceof Error||(A=Qi(A)),o(A,g))}this.on=function(A,S){if(typeof S!="function")throw Qi("required args <name, cb>");switch(A){case"openTag":s=S;break;case"text":t=S;break;case"closeTag":n=S;break;case"error":a=S;break;case"warn":o=S;break;case"cdata":r=S;break;case"attention":h=S;break;case"question":p=S;break;case"comment":l=S;break;default:throw Qi("unsupported event: "+A)}return this},this.ns=function(A){if(typeof A>"u"&&(A={}),typeof A!="object")throw Qi("required args <nsMap={}>");var S={},D;for(D in A)S[D]=A[D];return k=!0,re=S,this},this.parse=function(A){if(typeof A!="string")throw Qi("required args <xml=string>");return J=null,P(A),g=Vc,Q=!1,J},this.stop=function(){Q=!0};function P(A){var S=k?[]:null,D=k?ky(re):null,U,I=[],R=0,M=!1,j=!1,L=0,V=0,ee,Ne,le,m,v,T,O,H,w,x="",N=0,K;function ie(){if(K!==null)return K;var u,c,f,y=k&&D.xmlns,E=k&&C?[]:null,_=N,G=x,ae=G.length,Ee,be,Se,rt,ue,Dt={},bn={},et,X,ce;e:for(;_<ae;_++)if(et=!1,X=G.charCodeAt(_),!(X===32||X<14&&X>8)){for((X<65||X>122||X>90&&X<97)&&X!==95&&X!==58&&(Z("illegal first char attribute name"),et=!0),ce=_+1;ce<ae;ce++)if(X=G.charCodeAt(ce),!(X>96&&X<123||X>64&&X<91||X>47&&X<59||X===46||X===45||X===95)){if(X===32||X<14&&X>8){Z("missing attribute value"),_=ce;continue e}if(X===61)break;Z("illegal attribute name char"),et=!0}if(ue=G.substring(_,ce),ue==="xmlns:xmlns"&&(Z("illegal declaration of xmlns"),et=!0),X=G.charCodeAt(ce+1),X===34)ce=G.indexOf('"',_=ce+2),ce===-1&&(ce=G.indexOf("'",_),ce!==-1&&(Z("attribute value quote missmatch"),et=!0));else if(X===39)ce=G.indexOf("'",_=ce+2),ce===-1&&(ce=G.indexOf('"',_),ce!==-1&&(Z("attribute value quote missmatch"),et=!0));else for(Z("missing attribute value quotes"),et=!0,ce=ce+1;ce<ae&&(X=G.charCodeAt(ce+1),!(X===32||X<14&&X>8));ce++);for(ce===-1&&(Z("missing closing quotes"),ce=ae,et=!0),et||(Se=G.substring(_,ce)),_=ce;ce+1<ae&&(X=G.charCodeAt(ce+1),!(X===32||X<14&&X>8));ce++)_===ce&&(Z("illegal character after attribute end"),et=!0);if(_=ce+1,et)continue e;if(ue in bn){Z("attribute <"+ue+"> already defined");continue}if(bn[ue]=!0,!k){Dt[ue]=Se;continue}if(C){if(be=ue==="xmlns"?"xmlns":ue.charCodeAt(0)===120&&ue.substr(0,6)==="xmlns:"?ue.substr(6):null,be!==null){if(u=vi(Se),c=Yr(be),rt=re[u],!rt){if(be==="xmlns"||c in D&&D[c]!==u)do rt="ns"+R++;while(typeof D[rt]<"u");else rt=be;re[u]=rt}D[be]!==rt&&(Ee||(D=Iy(D),Ee=!0),D[be]=rt,be==="xmlns"&&(D[Yr(rt)]=u,y=rt),D[c]=u),Dt[ue]=Se;continue}E.push(ue,Se);continue}if(X=ue.indexOf(":"),X===-1){Dt[ue]=Se;continue}if(!(f=D[ue.substring(0,X)])){Z(jc(ue.substring(0,X)));continue}ue=y===f?ue.substr(X+1):f+ue.substr(X),Dt[ue]=Se}if(C)for(_=0,ae=E.length;_<ae;_++){if(ue=E[_++],Se=E[_],X=ue.indexOf(":"),X!==-1){if(!(f=D[ue.substring(0,X)])){Z(jc(ue.substring(0,X)));continue}ue=y===f?ue.substr(X+1):f+ue.substr(X)}Dt[ue]=Se}return K=Dt}function d(){for(var u=/(\r\n|\r|\n)/g,c=0,f=0,y=0,E=V,_,G;L>=y&&(_=u.exec(A),!(!_||(E=_[0].length+_.index,E>L)));)c+=1,y=E;return L==-1?(f=E,G=A.substring(V)):V===0?G=A.substring(V,L):(f=L-y,G=V==-1?A.substring(L):A.substring(L,V+1)),{data:G,line:c,column:f}}for(g=d,i&&(w=Object.create({},{name:mn(function(){return O}),originalName:mn(function(){return H}),attrs:mn(ie),ns:mn(function(){return D})}));V!==-1;){if(A.charCodeAt(V)===60?L=V:L=A.indexOf("<",V),L===-1){if(I.length)return se("unexpected end of file");if(V===0)return se("missing start tag");V<A.length&&A.substring(V).trim()&&Z(Fc);return}if(V!==L){if(I.length){if(t&&(t(A.substring(V,L),vi,g),Q))return}else if(A.substring(V,L).trim()&&(Z(Fc),Q))return}if(m=A.charCodeAt(L+1),m===33){if(le=A.charCodeAt(L+2),le===91&&A.substr(L+3,6)==="CDATA["){if(V=A.indexOf("]]>",L),V===-1)return se("unclosed cdata");if(r&&(r(A.substring(L+9,V),g),Q))return;V+=3;continue}if(le===45&&A.charCodeAt(L+3)===45){if(V=A.indexOf("-->",L),V===-1)return se("unclosed comment");if(l&&(l(A.substring(L+4,V),vi,g),Q))return;V+=3;continue}}if(m===63){if(V=A.indexOf("?>",L),V===-1)return se("unclosed question");if(p&&(p(A.substring(L,V+2),g),Q))return;V+=2;continue}for(ee=L+1;;ee++){if(v=A.charCodeAt(ee),isNaN(v))return V=-1,se("unclosed tag");if(v===34)le=A.indexOf('"',ee+1),ee=le!==-1?le:ee;else if(v===39)le=A.indexOf("'",ee+1),ee=le!==-1?le:ee;else if(v===62){V=ee;break}}if(m===33){if(h&&(h(A.substring(L,V+1),vi,g),Q))return;V+=1;continue}if(K={},m===47){if(M=!1,j=!0,!I.length)return se("missing open tag");if(ee=O=I.pop(),le=L+2+ee.length,A.substring(L+2,le)!==ee)return se("closing tag mismatch");for(;le<V;le++)if(m=A.charCodeAt(le),!(m===32||m>8&&m<14))return se("close tag")}else{if(A.charCodeAt(V-1)===47?(ee=O=A.substring(L+1,V-1),M=!0,j=!0):(ee=O=A.substring(L+1,V),M=!0,j=!1),!(m>96&&m<123||m>64&&m<91||m===95||m===58))return se("illegal first char nodeName");for(le=1,Ne=ee.length;le<Ne;le++)if(m=ee.charCodeAt(le),!(m>96&&m<123||m>64&&m<91||m>47&&m<59||m===45||m===95||m==46)){if(m===32||m<14&&m>8){O=ee.substring(0,le),K=null;break}return se("invalid nodeName")}j||I.push(O)}if(k){if(U=D,M&&(j||S.push(U),K===null&&(C=ee.indexOf("xmlns",le)!==-1)&&(N=le,x=ee,ie(),C=!1)),H=O,m=O.indexOf(":"),m!==-1){if(T=D[O.substring(0,m)],!T)return se("missing namespace on <"+H+">");O=O.substr(m+1)}else T=D.xmlns;T&&(O=T+":"+O)}if(M&&(N=le,x=ee,s&&(i?s(w,vi,j,g):s(O,ie,vi,j,g),Q)))return;if(j){if(n&&(n(i?w:O,vi,M,g),Q))return;k&&(M?D=U:D=S.pop())}V+=1}}}function Uc(e){return e.xml&&e.xml.tagAlias==="lowerCase"}var Zr={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},Gc="property";function qc(e){return e.xml&&e.xml.serialize}function Sy(e){const i=qc(e);return i!==Gc&&(i||null)}function _y(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Jc(e,i){return Uc(i)?e.prefix+":"+_y(e.localName):e.name}function Py(e,i){var t=e.name,s=e.localName,n=i&&i.xml&&i.xml.typePrefix;return n&&s.indexOf(n)===0?e.prefix+":"+s.slice(n.length):t}function Dy(e,i,t){const s=Oe(e,i.xmlns),n=`${i[s.prefix]||s.prefix}:${s.localName}`,r=Oe(n);var a=t.getPackage(r.prefix);return Py(r,a)}function Yt(e){return new Error(e)}function Pt(e){return e.$descriptor}function My(e){z(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(i){this.references.push(i)},this.addElement=function(i){if(!i)throw Yt("expected element");var t=this.elementsById,s=Pt(i),n=s.idProperty,r;if(n&&(r=i.get(n.name),r)){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(r))throw new Error("illegal ID <"+r+">");if(t[r])throw Yt("duplicate ID <"+r+">");t[r]=i}},this.addWarning=function(i){this.warnings.push(i)}}function As(){}As.prototype.handleEnd=function(){},As.prototype.handleText=function(){},As.prototype.handleNode=function(){};function Xr(){}Xr.prototype=Object.create(As.prototype),Xr.prototype.handleNode=function(){return this};function Ui(){}Ui.prototype=Object.create(As.prototype),Ui.prototype.handleText=function(e){this.body=(this.body||"")+e};function bs(e,i){this.property=e,this.context=i}bs.prototype=Object.create(Ui.prototype),bs.prototype.handleNode=function(e){if(this.element)throw Yt("expected no sub nodes");return this.element=this.createReference(e),this},bs.prototype.handleEnd=function(){this.element.id=this.body},bs.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}};function $r(e,i){this.element=i,this.propertyDesc=e}$r.prototype=Object.create(Ui.prototype),$r.prototype.handleEnd=function(){var e=this.body||"",i=this.element,t=this.propertyDesc;e=Kr(t.type,e),t.isMany?i.get(t.name).push(e):i.set(t.name,e)};function gn(){}gn.prototype=Object.create(Ui.prototype),gn.prototype.handleNode=function(e){var i=this,t=this.element;return t?i=this.handleChild(e):(t=this.element=this.createElement(e),this.context.addElement(t)),i};function Re(e,i,t){this.model=e,this.type=e.getType(i),this.context=t}Re.prototype=Object.create(gn.prototype),Re.prototype.addReference=function(e){this.context.addReference(e)},Re.prototype.handleText=function(e){var i=this.element,t=Pt(i),s=t.bodyProperty;if(!s)throw Yt("unexpected body text <"+e+">");Ui.prototype.handleText.call(this,e)},Re.prototype.handleEnd=function(){var e=this.body,i=this.element,t=Pt(i),s=t.bodyProperty;s&&e!==void 0&&(e=Kr(s.type,e),i.set(s.name,e))},Re.prototype.createElement=function(e){var i=e.attributes,t=this.type,s=Pt(t),n=this.context,r=new t({}),a=this.model,o;return q(i,function(l,p){var h=s.propertiesByName[p],g;h&&h.isReference?h.isMany?(g=l.split(" "),q(g,function(C){n.addReference({element:r,property:h.ns.name,id:C})})):n.addReference({element:r,property:h.ns.name,id:l}):(h?l=Kr(h.type,l):p==="xmlns"?p=":"+p:(o=Oe(p,s.ns.prefix),a.getPackage(o.prefix)&&n.addWarning({message:"unknown attribute <"+p+">",element:r,property:p,value:l})),r.set(p,l))}),r},Re.prototype.getPropertyForNode=function(e){var i=e.name,t=Oe(i),s=this.type,n=this.model,r=Pt(s),a=t.name,o=r.propertiesByName[a];if(o&&!o.isAttr){const p=Sy(o);if(p){const h=e.attributes[p];if(h){const g=Dy(h,e.ns,n),C=n.getType(g);return z({},o,{effectiveType:Pt(C).name})}}return o}var l=n.getPackage(t.prefix);if(l){const p=Jc(t,l),h=n.getType(p);if(o=pt(r.properties,function(g){return!g.isVirtual&&!g.isReference&&!g.isAttribute&&h.hasType(g.type)}),o)return z({},o,{effectiveType:Pt(h).name})}else if(o=pt(r.properties,function(p){return!p.isReference&&!p.isAttribute&&p.type==="Element"}),o)return o;throw Yt("unrecognized element <"+t.name+">")},Re.prototype.toString=function(){return"ElementDescriptor["+Pt(this.type).name+"]"},Re.prototype.valueHandler=function(e,i){return new $r(e,i)},Re.prototype.referenceHandler=function(e){return new bs(e,this.context)},Re.prototype.handler=function(e){return e==="Element"?new Gi(this.model,e,this.context):new Re(this.model,e,this.context)},Re.prototype.handleChild=function(e){var i,t,s,n;if(i=this.getPropertyForNode(e),s=this.element,t=i.effectiveType||i.type,Oc(t))return this.valueHandler(i,s);i.isReference?n=this.referenceHandler(i).handleNode(e):n=this.handler(t).handleNode(e);var r=n.element;return r!==void 0&&(i.isMany?s.get(i.name).push(r):s.set(i.name,r),i.isReference?(z(r,{element:s}),this.context.addReference(r)):r.$parent=s),n};function ea(e,i,t){Re.call(this,e,i,t)}ea.prototype=Object.create(Re.prototype),ea.prototype.createElement=function(e){var i=e.name,t=Oe(i),s=this.model,n=this.type,r=s.getPackage(t.prefix),a=r&&Jc(t,r)||i;if(!n.hasType(a))throw Yt("unexpected element <"+e.originalName+">");return Re.prototype.createElement.call(this,e)};function Gi(e,i,t){this.model=e,this.context=t}Gi.prototype=Object.create(gn.prototype),Gi.prototype.createElement=function(e){var i=e.name,t=Oe(i),s=t.prefix,n=e.ns[s+"$uri"],r=e.attributes;return this.model.createAny(i,n,r)},Gi.prototype.handleChild=function(e){var i=new Gi(this.model,"Element",this.context).handleNode(e),t=this.element,s=i.element,n;return s!==void 0&&(n=t.$children=t.$children||[],n.push(s),s.$parent=t),i},Gi.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)};function ta(e){e instanceof nt&&(e={model:e}),z(this,{lax:!1},e)}ta.prototype.fromXML=function(e,i,t){var s=i.rootHandler;i instanceof Re?(s=i,i={}):typeof i=="string"?(s=this.handler(i),i={}):typeof s=="string"&&(s=this.handler(s));var n=this.model,r=this.lax,a=new My(z({},i,{rootHandler:s})),o=new Qc({proxy:!0}),l=Oy();s.context=a,l.push(s);function p(S,D,U){var I=D(),R=I.line,M=I.column,j=I.data;j.charAt(0)==="<"&&j.indexOf(" ")!==-1&&(j=j.slice(0,j.indexOf(" "))+">");var L="unparsable content "+(j?j+" ":"")+`detected
19
- line: `+R+`
20
- column: `+M+`
21
- nested error: `+S.message;if(U)return a.addWarning({message:L,error:S}),!0;throw Yt(L)}function h(S,D){return p(S,D,!0)}function g(){var S=a.elementsById,D=a.references,U,I;for(U=0;I=D[U];U++){var R=I.element,M=S[I.id],j=Pt(R).propertiesByName[I.property];if(M||a.addWarning({message:"unresolved reference <"+I.id+">",element:I.element,property:I.property,value:I.id}),j.isMany){var L=R.get(j.name),V=L.indexOf(I);V===-1&&(V=L.length),M?L[V]=M:L.splice(V,1)}else R.set(j.name,M)}}function C(){l.pop().handleEnd()}var k=/^<\?xml /i,J=/ encoding="([^"]+)"/i,Q=/^utf-8$/i;function re(S){if(!!k.test(S)){var D=J.exec(S),U=D&&D[1];!U||Q.test(U)||a.addWarning({message:"unsupported document encoding <"+U+">, falling back to UTF-8"})}}function se(S,D){var U=l.peek();try{l.push(U.handleNode(S))}catch(I){p(I,D,r)&&l.push(new Xr)}}function Z(S,D){try{l.peek().handleText(S)}catch(U){h(U,D)}}function P(S,D){!S.trim()||Z(S,D)}var A=n.getPackages().reduce(function(S,D){return S[D.uri]=D.prefix,S},Object.entries(Zr).reduce(function(S,[D,U]){return S[U]=D,S},n.config&&n.config.nsMap||{}));return o.ns(A).on("openTag",function(S,D,U,I){var R=S.attrs||{},M=Object.keys(R).reduce(function(L,V){var ee=D(R[V]);return L[V]=ee,L},{}),j={name:S.name,originalName:S.originalName,attributes:M,ns:S.ns};se(j,I)}).on("question",re).on("closeTag",C).on("cdata",Z).on("text",function(S,D,U){P(D(S),U)}).on("error",p).on("warn",h),new Promise(function(S,D){var U;try{o.parse(e),g()}catch(L){U=L}var I=s.element;!U&&!I&&(U=Yt("failed to parse document as <"+s.type.$descriptor.name+">"));var R=a.warnings,M=a.references,j=a.elementsById;return U?(U.warnings=R,D(U)):S({rootElement:I,elementsById:j,references:M,warnings:R})})},ta.prototype.handler=function(e){return new ea(this.model,e)};function Oy(){var e=[];return Object.defineProperty(e,"peek",{value:function(){return this[this.length-1]}}),e}var By=`<?xml version="1.0" encoding="UTF-8"?>
22
- `,Ry=/<|>|'|"|&|\n\r|\n/g,Hc=/<|>|&/g;function At(e){this.prefixMap={},this.uriMap={},this.used={},this.wellknown=[],this.custom=[],this.parent=e,this.defaultPrefixMap=e&&e.defaultPrefixMap||{}}At.prototype.mapDefaultPrefixes=function(e){this.defaultPrefixMap=e},At.prototype.defaultUriByPrefix=function(e){return this.defaultPrefixMap[e]},At.prototype.byUri=function(e){return this.uriMap[e]||this.parent&&this.parent.byUri(e)},At.prototype.add=function(e,i){this.uriMap[e.uri]=e,i?this.wellknown.push(e):this.custom.push(e),this.mapPrefix(e.prefix,e.uri)},At.prototype.uriByPrefix=function(e){return this.prefixMap[e||"xmlns"]||this.parent&&this.parent.uriByPrefix(e)},At.prototype.mapPrefix=function(e,i){this.prefixMap[e||"xmlns"]=i},At.prototype.getNSKey=function(e){return e.prefix!==void 0?e.uri+"|"+e.prefix:e.uri},At.prototype.logUsed=function(e){var i=e.uri,t=this.getNSKey(e);this.used[t]=this.byUri(i),this.parent&&this.parent.logUsed(e)},At.prototype.getUsed=function(e){var i=[].concat(this.wellknown,this.custom);return i.filter(t=>{var s=this.getNSKey(t);return this.used[s]})};function Ly(e){return e.charAt(0).toLowerCase()+e.slice(1)}function Fy(e,i){return Uc(i)?Ly(e):e}function Kc(e,i){e.super_=i,e.prototype=Object.create(i.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function Wc(e){return ut(e)?e:(e.prefix?e.prefix+":":"")+e.localName}function jy(e){return e.getUsed().filter(function(i){return i.prefix!=="xml"}).map(function(i){var t="xmlns"+(i.prefix?":"+i.prefix:"");return{name:t,value:i.uri}})}function Vy(e,i){return i.isGeneric?z({localName:i.ns.localName},e):z({localName:Fy(i.ns.localName,i.$pkg)},e)}function Qy(e,i){return z({localName:i.ns.localName},e)}function Uy(e){var i=e.$descriptor;return Mi(i.properties,function(t){var s=t.name;if(t.isVirtual||!Di(e,s))return!1;var n=e[s];return n===t.default||n===null?!1:t.isMany?n.length:!0})}var Gy={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},qy={"<":"lt",">":"gt","&":"amp"};function zc(e,i,t){return e=ut(e)?e:""+e,e.replace(i,function(s){return"&"+t[s]+";"})}function Jy(e){return zc(e,Ry,Gy)}function Hy(e){return zc(e,Hc,qy)}function Ky(e){return Mi(e,function(i){return i.isAttr})}function Wy(e){return Mi(e,function(i){return!i.isAttr})}function ia(e){this.tagName=e}ia.prototype.build=function(e){return this.element=e,this},ia.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()};function Ai(){}Ai.prototype.serializeValue=Ai.prototype.serializeTo=function(e){e.append(this.escape?Hy(this.value):this.value)},Ai.prototype.build=function(e,i){return this.value=i,e.type==="String"&&i.search(Hc)!==-1&&(this.escape=!0),this};function sa(e){this.tagName=e}Kc(sa,Ai),sa.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("</"+this.tagName+">").appendNewLine()};function me(e,i){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=i}me.prototype.build=function(e){this.element=e;var i=e.$descriptor,t=this.propertyDescriptor,s,n,r=i.isGeneric;return r?s=this.parseGenericNsAttributes(e):s=this.parseNsAttributes(e),t?this.ns=this.nsPropertyTagName(t):this.ns=this.nsTagName(i),this.tagName=this.addTagName(this.ns),r?this.parseGenericContainments(e):(n=Uy(e),this.parseAttributes(Ky(n)),this.parseContainments(Wy(n))),this.parseGenericAttributes(e,s),this},me.prototype.nsTagName=function(e){var i=this.logNamespaceUsed(e.ns);return Vy(i,e)},me.prototype.nsPropertyTagName=function(e){var i=this.logNamespaceUsed(e.ns);return Qy(i,e)},me.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},me.prototype.nsAttributeName=function(e){var i;if(ut(e)?i=Oe(e):i=e.ns,e.inherited)return{localName:i.localName};var t=this.logNamespaceUsed(i);return this.getNamespaces().logUsed(t),this.isLocalNs(t)?{localName:i.localName}:z({localName:i.localName},t)},me.prototype.parseGenericNsAttributes=function(e){return Object.entries(e).filter(([i,t])=>!i.startsWith("$")&&this.parseNsAttribute(e,i,t)).map(([i,t])=>({name:i,value:t}))},me.prototype.parseGenericContainments=function(e){var i=e.$body;i&&this.body.push(new Ai().build({type:"String"},i));var t=e.$children;t&&q(t,s=>{this.body.push(new me(this).build(s))})},me.prototype.parseNsAttribute=function(e,i,t){var s=e.$model,n=Oe(i),r;if(n.prefix==="xmlns"&&(r={prefix:n.localName,uri:t}),!n.prefix&&n.localName==="xmlns"&&(r={uri:t}),!r)return{name:i,value:t};if(s&&s.getPackage(t))this.logNamespace(r,!0,!0);else{var a=this.logNamespaceUsed(r,!0);this.getNamespaces().logUsed(a)}},me.prototype.parseNsAttributes=function(e){var i=this,t=e.$attrs,s=[];return q(t,function(n,r){var a=i.parseNsAttribute(e,r,n);a&&s.push(a)}),s},me.prototype.parseGenericAttributes=function(e,i){var t=this;q(i,function(s){try{t.addAttribute(t.nsAttributeName(s.name),s.value)}catch(n){typeof console<"u"&&`${s.name}${s.value}`}})},me.prototype.parseContainments=function(e){var i=this,t=this.body,s=this.element;q(e,function(n){var r=s.get(n.name),a=n.isReference,o=n.isMany;if(o||(r=[r]),n.isBody)t.push(new Ai().build(n,r[0]));else if(Oc(n.type))q(r,function(p){t.push(new sa(i.addTagName(i.nsPropertyTagName(n))).build(n,p))});else if(a)q(r,function(p){t.push(new ia(i.addTagName(i.nsPropertyTagName(n))).build(p))});else{var l=qc(n);q(r,function(p){var h;l?l===Gc?h=new me(i,n):h=new yn(i,n,l):h=new me(i),t.push(h.build(p))})}})},me.prototype.getNamespaces=function(e){var i=this.namespaces,t=this.parent,s;return i||(s=t&&t.getNamespaces(),e||!s?this.namespaces=i=new At(s):i=s),i},me.prototype.logNamespace=function(e,i,t){var s=this.getNamespaces(t),n=e.uri,r=e.prefix,a=s.byUri(n);return(!a||t)&&s.add(e,i),s.mapPrefix(r,n),e},me.prototype.logNamespaceUsed=function(e,i){var t=this.getNamespaces(i),s=e.prefix,n=e.uri,r,a,o;if(!s&&!n)return{localName:e.localName};if(o=t.defaultUriByPrefix(s),n=n||o||t.uriByPrefix(s),!n)throw new Error("no namespace uri given for prefix <"+s+">");if(e=t.byUri(n),!e&&!s&&(e=this.logNamespace({uri:n},o===n,!0)),!e){for(r=s,a=1;t.uriByPrefix(r);)r=s+"_"+a++;e=this.logNamespace({prefix:r,uri:n},o===n)}return s&&t.mapPrefix(s,n),e},me.prototype.parseAttributes=function(e){var i=this,t=this.element;q(e,function(s){var n=t.get(s.name);if(s.isReference)if(!s.isMany)n=n.id;else{var r=[];q(n,function(a){r.push(a.id)}),n=r.join(" ")}i.addAttribute(i.nsAttributeName(s),n)})},me.prototype.addTagName=function(e){var i=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(i),Wc(e)},me.prototype.addAttribute=function(e,i){var t=this.attrs;ut(i)&&(i=Jy(i));var s=_f(t,function(r){return r.name.localName===e.localName&&r.name.uri===e.uri&&r.name.prefix===e.prefix}),n={name:e,value:i};s!==-1?t.splice(s,1,n):t.push(n)},me.prototype.serializeAttributes=function(e){var i=this.attrs,t=this.namespaces;t&&(i=jy(t).concat(i)),q(i,function(s){e.append(" ").append(Wc(s.name)).append('="').append(s.value).append('"')})},me.prototype.serializeTo=function(e){var i=this.body[0],t=i&&i.constructor!==Ai;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(i?">":" />"),i&&(t&&e.appendNewLine().indent(),q(this.body,function(s){s.serializeTo(e)}),t&&e.unindent().appendIndent(),e.append("</"+this.tagName+">")),e.appendNewLine()};function yn(e,i,t){me.call(this,e,i),this.serialization=t}Kc(yn,me),yn.prototype.parseNsAttributes=function(e){var i=me.prototype.parseNsAttributes.call(this,e).filter(a=>a.name!==this.serialization),t=e.$descriptor;if(t.name===this.propertyDescriptor.type)return i;var s=this.typeNs=this.nsTagName(t);this.getNamespaces().logUsed(this.typeNs);var n=e.$model.getPackage(s.uri),r=n.xml&&n.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(this.serialization),(s.prefix?s.prefix+":":"")+r+t.ns.localName),i},yn.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri};function zy(){this.value="",this.write=function(e){this.value+=e}}function Yy(e,i){var t=[""];this.append=function(s){return e.write(s),this},this.appendNewLine=function(){return i&&e.write(`
23
- `),this},this.appendIndent=function(){return i&&e.write(t.join(" ")),this},this.indent=function(){return t.push(""),this},this.unindent=function(){return t.pop(),this}}function Zy(e){e=z({format:!1,preamble:!0},e||{});function i(t,s){var n=s||new zy,r=new Yy(n,e.format);e.preamble&&r.append(By);var a=new me,o=t.$model;if(a.getNamespaces().mapDefaultPrefixes(Xy(o)),a.build(t).serializeTo(r),!s)return n.value}return{toXML:i}}function Xy(e){const i=e.config&&e.config.nsMap||{},t={};for(const s in Zr)t[s]=Zr[s];for(const s in i){const n=i[s];t[n]=s}for(const s of e.getPackages())t[s.prefix]=s.uri;return t}function vn(e,i){nt.call(this,e,i)}vn.prototype=Object.create(nt.prototype),vn.prototype.fromXML=function(e,i,t){ut(i)||(t=i,i="bpmn:Definitions");var s=new ta(z({model:this,lax:!0},t)),n=s.handler(i);return s.fromXML(e,n)},vn.prototype.toXML=function(e,i){var t=new Zy(i);return new Promise(function(s,n){try{var r=t.toXML(e);return s({xml:r})}catch(a){return n(a)}})};var $y="BPMN20",ev="http://www.omg.org/spec/BPMN/20100524/MODEL",tv="bpmn",iv=[],sv=[{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"}]}],nv=[{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"}]}],rv={tagAlias:"lowerCase",typePrefix:"t"},av={name:$y,uri:ev,prefix:tv,associations:iv,types:sv,enumerations:nv,xml:rv},ov="BPMNDI",lv="http://www.omg.org/spec/BPMN/20100524/DI",cv="bpmndi",uv=[{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"]}],pv=[{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"}]}],dv=[],hv={name:ov,uri:lv,prefix:cv,types:uv,enumerations:pv,associations:dv},fv="DC",mv="http://www.omg.org/spec/DD/20100524/DC",gv="dc",yv=[{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}]}],vv=[],Av={name:fv,uri:mv,prefix:gv,types:yv,associations:vv},bv="DI",Cv="http://www.omg.org/spec/DD/20100524/DI",wv="di",xv=[{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"}]}],Ev=[],Tv={tagAlias:"lowerCase"},Iv={name:bv,uri:Cv,prefix:wv,types:xv,associations:Ev,xml:Tv},kv="bpmn.io colors for BPMN",Nv="http://bpmn.io/schema/bpmn/biocolor/1.0",Sv="bioc",_v=[{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"}]}],Pv=[],Dv=[],Mv={name:kv,uri:Nv,prefix:Sv,types:_v,enumerations:Pv,associations:Dv},Ov="BPMN in Color",Bv="http://www.omg.org/spec/BPMN/non-normative/color/1.0",Rv="color",Lv=[{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"}]}],Fv=[],jv=[],Vv={name:Ov,uri:Bv,prefix:Rv,types:Lv,enumerations:Fv,associations:jv};const Qv={bpmn:av,bpmndi:hv,dc:Av,di:Iv,bioc:Mv,color:Vv};function Uv(e,i){const t=z({},Qv,e);return new vn(t,i)}var Gv="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 qv(e){Di(e,"di")||Object.defineProperty(e,"di",{enumerable:!1,get:function(){throw new Error(Gv)}})}function Ve(e,i){return e.$instanceOf(i)}function Jv(e){return pt(e.rootElements,function(i){return Ve(i,"bpmn:Process")||Ve(i,"bpmn:Collaboration")})}function Hv(e){var i={},t=[],s={};function n(w,x){return function(N){w(N,x)}}function r(w){i[w.id]=w}function a(w){return i[w.id]}function o(w,x){var N=w.gfx;if(N)throw new Error(`already rendered ${Me(w)}`);return e.element(w,s[w.id],x)}function l(w,x){return e.root(w,s[w.id],x)}function p(w,x){try{var N=s[w.id]&&o(w,x);return r(w),N}catch(K){h(K.message,{element:w,error:K}),console.error(`failed to import ${Me(w)}`,K)}}function h(w,x){e.error(w,x)}var g=this.registerDi=function(x){var N=x.bpmnElement;N?s[N.id]?h(`multiple DI elements defined for ${Me(N)}`,{element:N}):(s[N.id]=x,qv(N)):h(`no bpmnElement referenced in ${Me(x)}`,{element:x})};function C(w){k(w.plane)}function k(w){g(w),q(w.planeElement,J)}function J(w){g(w)}this.handleDefinitions=function(x,N){var K=x.diagrams;if(N&&K.indexOf(N)===-1)throw new Error("diagram not part of <bpmn:Definitions />");if(!N&&K&&K.length&&(N=K[0]),!N)throw new Error("no diagram to display");s={},C(N);var ie=N.plane;if(!ie)throw new Error(`no plane for ${Me(N)}`);var d=ie.bpmnElement;if(!d)if(d=Jv(x),d)h(`correcting missing bpmnElement on ${Me(ie)} to ${Me(d)}`),ie.bpmnElement=d,g(ie);else throw new Error("no process or collaboration to display");var u=l(d,ie);if(Ve(d,"bpmn:Process")||Ve(d,"bpmn:SubProcess"))re(d,u);else if(Ve(d,"bpmn:Collaboration"))O(d,u),se(x.rootElements,u);else throw new Error(`unsupported bpmnElement for ${Me(ie)}: ${Me(d)}`);Q(t)};var Q=this.handleDeferred=function(){for(var x;t.length;)x=t.shift(),x()};function re(w,x){m(w,x),R(w.ioSpecification,x),I(w.artifacts,x),r(w)}function se(w,x){var N=Mi(w,function(K){return!a(K)&&Ve(K,"bpmn:Process")&&K.laneSets});N.forEach(n(re,x))}function Z(w,x){p(w,x)}function P(w,x){q(w,n(Z,x))}function A(w,x){p(w,x)}function S(w,x){p(w,x)}function D(w,x){p(w,x)}function U(w,x){p(w,x)}function I(w,x){q(w,function(N){Ve(N,"bpmn:Association")?t.push(function(){U(N,x)}):U(N,x)})}function R(w,x){!w||(q(w.dataInputs,n(S,x)),q(w.dataOutputs,n(D,x)))}var M=this.handleSubProcess=function(x,N){m(x,N),I(x.artifacts,N)};function j(w,x){var N=p(w,x);Ve(w,"bpmn:SubProcess")&&M(w,N||x),Ve(w,"bpmn:Activity")&&R(w.ioSpecification,x),t.push(function(){q(w.dataInputAssociations,n(A,x)),q(w.dataOutputAssociations,n(A,x))})}function L(w,x){p(w,x)}function V(w,x){p(w,x)}function ee(w,x){t.push(function(){var N=p(w,x);w.childLaneSet&&Ne(w.childLaneSet,N||x),H(w)})}function Ne(w,x){q(w.lanes,n(ee,x))}function le(w,x){q(w,n(Ne,x))}function m(w,x){v(w.flowElements,x),w.laneSets&&le(w.laneSets,x)}function v(w,x){q(w,function(N){Ve(N,"bpmn:SequenceFlow")?t.push(function(){L(N,x)}):Ve(N,"bpmn:BoundaryEvent")?t.unshift(function(){j(N,x)}):Ve(N,"bpmn:FlowNode")?j(N,x):Ve(N,"bpmn:DataObject")||(Ve(N,"bpmn:DataStoreReference")||Ve(N,"bpmn:DataObjectReference")?V(N,x):h(`unrecognized flowElement ${Me(N)} in context ${Me(x&&x.businessObject)}`,{element:N,context:x}))})}function T(w,x){var N=p(w,x),K=w.processRef;K&&re(K,N||x)}function O(w,x){q(w.participants,n(T,x)),t.push(function(){P(w.messageFlows,x)}),I(w.artifacts,x)}function H(w){q(w.flowNodeRef,function(x){var N=x.get("lanes");N&&N.push(w)})}}function Kv(e,i,t){var s,n,r,a,o=[];function l(p,h){var g={root:function(Q,re){return s.add(Q,re)},element:function(Q,re,se){return s.add(Q,re,se)},error:function(Q,re){o.push({message:Q,context:re})}},C=new Hv(g);h=h||p.diagrams&&p.diagrams[0];var k=Wv(p,h);if(!k)throw new Error("no diagram to display");q(k,function(Q){C.handleDefinitions(p,Q)});var J=h.plane.bpmnElement.id;r.setRootElement(r.findRoot(J+"_plane")||r.findRoot(J))}return new Promise(function(p,h){try{return s=e.get("bpmnImporter"),n=e.get("eventBus"),r=e.get("canvas"),n.fire("import.render.start",{definitions:i}),l(i,t),n.fire("import.render.complete",{error:a,warnings:o}),p({warnings:o})}catch(g){return g.warnings=o,h(g)}})}function Wv(e,i){if(!(!i||!i.plane)){var t=i.plane.bpmnElement,s=t;!W(t,"bpmn:Process")&&!W(t,"bpmn:Collaboration")&&(s=zv(t));var n;W(s,"bpmn:Collaboration")?n=s:n=pt(e.rootElements,function(p){if(!!W(p,"bpmn:Collaboration"))return pt(p.participants,function(h){return h.processRef===s})});var r=[s];n&&(r=Pf(n.participants,function(p){return p.processRef}),r.push(n));var a=Yc(r),o=[i],l=[t];return q(e.diagrams,function(p){if(!!p.plane){var h=p.plane.bpmnElement;a.indexOf(h)!==-1&&l.indexOf(h)===-1&&(o.push(p),l.push(h))}}),o}}function Yc(e){var i=[];return q(e,function(t){!t||(i.push(t),i=i.concat(Yc(t.flowElements)))}),i}function zv(e){for(var i=e;i;){if(W(i,"bpmn:Process"))return i;i=i.$parent}}var Yv='<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>',Zc=Yv,Xc={verticalAlign:"middle"},$c={color:"#404040"},Zv={zIndex:"1001",position:"fixed",top:"0",left:"0",right:"0",bottom:"0"},Xv={width:"100%",height:"100%",background:"rgba(40,40,40,0.2)"},$v={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"},eA='<div class="bjs-powered-by-lightbox"><div class="backdrop"></div><div class="notice"><a href="https://bpmn.io" target="_blank" rel="noopener" class="link">'+Zc+'</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>',bt;function tA(){bt=Ye(eA),De(bt,Zv),De(kt("svg",bt),Xc),De(kt(".backdrop",bt),Xv),De(kt(".notice",bt),$v),De(kt(".link",bt),$c,{margin:"15px 20px 15px 10px",alignSelf:"center"})}function iA(){bt||(tA(),Bi.bind(bt,".backdrop","click",function(e){document.body.removeChild(bt)})),document.body.appendChild(bt)}function we(e){e=z({},nA,e),this._moddle=this._createModdle(e),this._container=this._createContainer(e),this._init(this._container,this._moddle,e),aA(this._container)}gt(we,Wt),we.prototype.importXML=async function(i,t){const s=this;function n(a){return s.get("eventBus").createEvent(a)}let r=[];try{i=this._emit("import.parse.start",{xml:i})||i;let a;try{a=await this._moddle.fromXML(i,"bpmn:Definitions")}catch(C){throw this._emit("import.parse.complete",{error:C}),C}let o=a.rootElement;const l=a.references,p=a.warnings,h=a.elementsById;r=r.concat(p),o=this._emit("import.parse.complete",n({error:null,definitions:o,elementsById:h,references:l,warnings:r}))||o;const g=await this.importDefinitions(o,t);return r=r.concat(g.warnings),this._emit("import.done",{error:null,warnings:r}),{warnings:r}}catch(a){let o=a;throw r=r.concat(o.warnings||[]),An(o,r),o=sA(o),this._emit("import.done",{error:o,warnings:o.warnings}),o}},we.prototype.importDefinitions=async function(i,t){return this._setDefinitions(i),{warnings:(await this.open(t)).warnings}},we.prototype.open=async function(i){const t=this._definitions;let s=i;if(!t){const r=new Error("no XML imported");throw An(r,[]),r}if(typeof i=="string"&&(s=rA(t,i),!s)){const r=new Error("BPMNDiagram <"+i+"> not found");throw An(r,[]),r}try{this.clear()}catch(r){throw An(r,[]),r}const{warnings:n}=await Kv(this,t,s);return{warnings:n}},we.prototype.saveXML=async function(i){i=i||{};let t=this._definitions,s,n;try{if(!t)throw new Error("no definitions loaded");t=this._emit("saveXML.start",{definitions:t})||t,n=(await this._moddle.toXML(t,i)).xml,n=this._emit("saveXML.serialized",{xml:n})||n}catch(a){s=a}const r=s?{error:s}:{xml:n};if(this._emit("saveXML.done",r),s)throw s;return r},we.prototype.saveSVG=async function(){this._emit("saveSVG.start");let i,t;try{const s=this.get("canvas"),n=s.getActiveLayer(),r=kt(":scope > defs",s._svg),a=jl(n),o=r?"<defs>"+jl(r)+"</defs>":"",l=n.getBBox();i=`<?xml version="1.0" encoding="utf-8"?>
18
+ See more tips at https://vuejs.org/guide/deployment.html`)},0),we.util.warn;const hf={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,i){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"),i=navigator.userAgent.includes("iPad");return e||i}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el),document.documentElement.scrollTop||document.body.scrollTop})}};var ff=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"top-popup-zindex",class:e.className,style:`${e.isIndex?`z-index:${e.isIndex}`:""}`},[t("div",{staticClass:"top-popup-mask",style:e.show&&e.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:function(s){e.isMaskClose&&e.handleClose()}}}),!e.isTips&&!e.isDrawer?t("div",{staticClass:"top-popup",style:e.show?"transform: translateY(0)":"transform: translateY(150%)"},[t("div",{staticClass:"top-popup-header"},[t("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),t("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),t("div",{staticClass:"header-comfig",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])]),t("div",{staticClass:"top-popup-body"},[e._t("default")],2)]):!e.isTips&&e.isDrawer?t("div",{staticClass:"top-popup-drawer",class:e.show?"top-popup-drawer--active":"",style:e.width?`width:${e.width};`:""},[t("div",{staticClass:"top-popup-drawer-header"},[t("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" \u5173\u95ED ")]),t("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),t("div",{staticClass:"header-comfig",staticStyle:{width:"20px"}})]),t("div",{staticClass:"top-popup-drawer--body"},[e._t("default")],2)]):e.isTips&&!e.isDrawer?t("div",{staticClass:"top-tips",style:e.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)"},[t("div",{staticClass:"top-tips-header"},[e._v(e._s(e.titleText))]),t("div",{staticClass:"top-tips-body"},[e._v(e._s(e.context))]),t("div",{staticClass:"top-tips-footer"},[t("div",{staticClass:"top-tips-btn",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),t("div",{staticClass:"top-tips-btn",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])])]):e._e()])},mf=[];const z0="";function Ae(e,i,t,s,n,r,a,o){var l=typeof e=="function"?e.options:e;i&&(l.render=i,l.staticRenderFns=t,l._compiled=!0),s&&(l.functional=!0),r&&(l._scopeId="data-v-"+r);var p;if(a?(p=function(A){A=A||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!A&&typeof __VUE_SSR_CONTEXT__<"u"&&(A=__VUE_SSR_CONTEXT__),n&&n.call(this,A),A&&A._registeredComponents&&A._registeredComponents.add(a)},l._ssrRegister=p):n&&(p=o?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),p)if(l.functional){l._injectStyles=p;var h=l.render;l.render=function(k,V){return p.call(V),h(k,V)}}else{var m=l.beforeCreate;l.beforeCreate=m?[].concat(m,p):[p]}return{exports:e,options:l}}const hl={};var gf=Ae(hf,ff,mf,!1,yf,"5e392d42",null,null);function yf(e){for(let i in hl)this[i]=hl[i]}const Xe=function(){return gf.exports}(),vf={name:"PreView",props:{file:{type:String,default:""}},data(){return{url:"",video:["mp4","avi","rmvb"],videoShow:!1}},watch:{file:{handler(e,i){if(e)if(this.video.includes(e.substring(e.lastIndexOf(".")+1)))this.videoShow=!0,this.url=e;else{this.videoShow=!1;let t=e.indexOf("https://")==-1?0:1;this.url=`https://wdyl.ddzg.cn:8089/?ssl=${t}&furl=${e}`}},immediate:!0,deep:!0}}};var Af=function(){var e=this,i=e.$createElement,t=e._self._c||i;return e.url?t("div",{staticStyle:{width:"100%",height:"calc(100% - 40px)"}},[e.videoShow?t("video",{staticStyle:{height:"100%",width:"100%"},attrs:{controls:""}},[t("source",{attrs:{src:e.url,type:"video/mp4"}})]):t("iframe",{staticStyle:{height:"100%",border:"unset",width:"100%"},attrs:{src:e.url}})]):e._e()},bf=[];const fl={};var Cf=Ae(vf,Af,bf,!1,wf,null,null,null);function wf(e){for(let i in fl)this[i]=fl[i]}const ml=function(){return Cf.exports}(),xf={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,i){this.imagesList=e},immediate:!0,deep:!0},visible:{handler(e,i){this.show=e},immediate:!0},indexd:{handler(e,i){e>=0&&(this.isIndex=e+1,this.move=e*100*-1)},immediate:!0}},methods:{handelTouchstart(e){let i=e.touches,t=i[0],s=i[1];this.displacement.pageX=t.pageX,this.displacement.pageY=t.pageY,this.displacement.moveable=!0,s?(this.displacement.pageX2=s.pageX,this.displacement.pageY2=s.pageY):(this.duration="transition-duration: 0.05s;transition-timing-function:linear",this.windowWidth=(document.documentElement.clientWidth||document.body.clientWidth)/100,this.windowHeight=(document.documentElement.clientHeight||document.body.clientHeight)/100,this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY,this.startMove=this.move),this.displacement.originScale=this.displacement.scale||1},handelTouchmove(e){if(!this.displacement.moveable)return;e.preventDefault();let i=e.touches,t=i[0],s=i[1];if(s){this.displacement.pageX2||(this.displacement.pageX2=s.pageX),this.displacement.pageY2||(this.displacement.pageY2=s.pageY);let n=this.getDistance({x:t.pageX,y:t.pageY},{x:s.pageX,y:s.pageY})/this.getDistance({x:this.displacement.pageX,y:this.displacement.pageY},{x:this.displacement.pageX2,y:this.displacement.pageY2}),r=this.displacement.originScale*n;r<.5?r=.5:r>3&&(r=3),this.displacement.scale=r,this.styleZoom=`scale(${r})`,this.styleOrigin="0 0"}else this.moveX=`calc(${(e.touches[0].clientX-this.startX)/this.displacement.scale}px - 50%)`,this.moveY=`calc(${(e.touches[0].clientY-this.startY)/this.displacement.scale}px - 50%)`},getDistance(e,i){return Math.hypot(i.x-e.x,i.y-e.y)},touchstartView(e){this.isOne||(this.duration="transition-duration: 0.05s;transition-timing-function:linear",this.flag=!0,this.windowWidth=(document.documentElement.clientWidth||document.body.clientWidth)/100,this.startX=e.touches[0].clientX,this.startMove=this.move)},touchmoveView(e){this.isOne||(this.startX>e.touches[0].clientX?this.move<=-((this.imagesList.length-1)*100)?this.move=-((this.imagesList.length-1)*100):this.move=this.startMove+Math.ceil((e.touches[0].clientX-this.startX)/this.windowWidth):this.startX<e.touches[0].clientX&&this.move<0&&(this.move>=0?this.move=0:this.move=this.startMove+Math.ceil((e.touches[0].clientX-this.startX)/this.windowWidth)))},touchendView(){if(this.isOne)return;this.duration="transition-duration: 0.2s;transition-timing-function:ease";let e=Math.floor(Math.abs(this.move/100));Math.abs(this.move/100%1)>.5?(this.isIndex=e+2,this.move=(e+1)*100*-1):(this.isIndex=e+1,this.move=e*100*-1),this.flag=!1},handleClose(){this.$emit("update:visible",!1)}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el)})}};var Ef=function(){var e=this,i=e.$createElement,t=e._self._c||i;return e.visible?t("div",{staticClass:"preview-image"},[t("div",{staticClass:"preview-image-mask",on:{click:e.handleClose}}),e.isOne?t("div",{staticClass:"preview-image-view--one",style:`transform:${e.styleZoom} translate(${e.moveX},${e.moveY});${e.duration};${e.styleOrigin?`transformOrigin:${e.styleOrigin}`:""};`,on:{touchstart:e.handelTouchstart,touchmove:e.handelTouchmove}},e._l(e.imagesList,function(s,n){return t("img",{key:n,staticClass:"img-view",attrs:{src:s}})}),0):t("div",{staticClass:"preview-image-view--img",style:`transform: translate(${e.move}%,-50%);${e.duration}`,on:{touchstart:e.touchstartView,touchmove:e.touchmoveView,touchend:e.touchendView}},[t("div",{staticClass:"preview-image-mask",staticStyle:{opacity:"0","z-index":"1"},on:{click:e.handleClose}}),e._l(e.imagesList,function(s,n){return t("img",{key:n,staticClass:"img-view",attrs:{src:s}})})],2),e.isOne?e._e():t("div",{staticClass:"preview-image-view--page"},[t("span",{staticClass:"page-item"},[e._v(e._s(e.isIndex)+"/"+e._s(e.imagesList.length))])]),t("div",{staticClass:"preview-image-view--close"})]):e._e()},Tf=[];const X0="",gl={};var If=Ae(xf,Ef,Tf,!1,kf,"2d4b6adf",null,null);function kf(e){for(let i in gl)this[i]=gl[i]}const Xs=function(){return If.exports}(),yl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAECBJREFUeF7dW21QVFeaPu+53TQEkU+VKKDyIQ4x0k3HuMnsjFbUmcq0hOjKbkpJpVIbQzSx/DH5Mdl/82f9laxGE6tI2FQsJ5sJE60kpVu7zjrZGEVUPoMYV4gogwEUuvnsz3vO1nO9l2qwkb4NuHFvVRcU9L33vM/7vs/7cd5DbHYuYozhg0vov0vGmLJq1apliqLkE1GmoijJqqqmEtF8IkqRUibhBiIallJ6pJRDiqK4VVUdlFL2qKra3tra2skYU8OeyfX34Pn4zO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YvZVAzgRsYaAKjiYimBnabFRoWACsMoJI75kEQegnoZeAIg3YmbWxDvbk3c9n2AUesSkRrMo//Bwdf9ZzE6Zx0AAAAAElFTkSuQmCC",Nf={name:"ViewAttchList",components:{PreView:ml,TopPopup:Xe,PreviewImage:Xs},computed:{del(){return yl},doc(){return vl},file(){return Al},image(){return bl},pdf(){return Cl},xls(){return wl},zip(){return xl}},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,i){if(e.length){this.listData=e,this.lists=[];let t=[];e.map((s,n)=>{this.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())}),t=e.filter(s=>this.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())),t.forEach((s,n)=>{this.lists.push(s.url)})}},immediate:!0,deep:!0}},methods:{viewFile(e){this.imgIcon.includes(e.url.substring(e.url.lastIndexOf(".")+1).toLowerCase())?(this.visibleImg=!0,this.indexd=this.lists.indexOf(e.url)):(this.fileUrl=e.url,this.visible=!0)},loadFile(e){var i;if(pa.default.hasNativeMethod("vueUpLoadFile"))pa.default.call("vueUpLoadFile",e.url);else{if(typeof nativeMethod<"u"&&(nativeMethod==null?void 0:nativeMethod.vueUpLoadFile))return nativeMethod.vueUpLoadFile(e.url),!1;const t=document.createElement("a");t.download=(i=e.url)==null?void 0:i.match(/([^\/]+)$/g)[0],t.href=e.url,t.click()}}}};var Sf=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-wrap"},[e.listData.length>0?t("div",{staticClass:"attch-list"},e._l(e.listData,function(s,n){return t("div",{key:s.id,staticClass:"list-items"},[t("div",{staticClass:"list-items-icon"},[e.xlsIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.xls}}):e.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.image}}):s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?t("img",{staticClass:"icon-img",attrs:{src:e.pdf}}):e.docIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.doc}}):e.zipIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.zip}}):t("img",{staticClass:"icon-img",attrs:{src:e.file}})]),t("div",{staticClass:"list-items-info",on:{click:function(r){return e.viewFile(s)}}},[t("div",{staticClass:"info-name"},[t("span",{staticClass:"info-name-text"},[e._v(e._s(s.name))])]),t("div",{staticClass:"info-attribute"},[t("span",{staticClass:"info-attribute-time"},[e._v(e._s(s.uploadTime))]),t("span",{staticClass:"info-attribute-size"},[e._v(e._s(s.size<1024?s.size:s.size/1024>1024?parseFloat((s.size/1024/1024).toFixed(2)):parseFloat((s.size/1024).toFixed(2)))+e._s(s.size<1024?"b":parseFloat((s.size/1024).toFixed(2))<1024?"kb":"M")+" ")])])]),t("div",{staticClass:"list-items-download",on:{click:function(r){return e.loadFile(s)}}},[t("span",{staticClass:"download-text"},[e._v("\u4E0B\u8F7D")])])])}),0):t("div",{staticClass:"attch-list"},[e._m(0)]),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},on:{"update:visible":function(s){return e.visible=s}}},[t("PreView",{attrs:{file:e.fileUrl}})],1),t("PreviewImage",{attrs:{images:e.lists,visible:e.visibleImg,indexd:e.indexd},on:{"update:visible":function(s){return e.visibleImg=s}}})],1)},_f=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"attch-list--white"},[t("div",{staticClass:"attch-list--label"},[e._v("\u6682\u65E0\u9644\u4EF6")])])}];const Z0="",El={};var Pf=Ae(Nf,Sf,_f,!1,Df,"7ee87e48",null,null);function Df(e){for(let i in El)this[i]=El[i]}const Tl=function(){return Pf.exports}();function vt(e,i){i&&(e.super_=i,e.prototype=Object.create(i.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}const cs=Object.prototype.toString,Of=Object.prototype.hasOwnProperty;function Tr(e){return e===void 0}function Pi(e){return e!==void 0}function Il(e){return e==null}function ut(e){return cs.call(e)==="[object Array]"}function oi(e){return cs.call(e)==="[object Object]"}function Vt(e){return cs.call(e)==="[object Number]"}function Qt(e){const i=cs.call(e);return i==="[object Function]"||i==="[object AsyncFunction]"||i==="[object GeneratorFunction]"||i==="[object AsyncGeneratorFunction]"||i==="[object Proxy]"}function pt(e){return cs.call(e)==="[object String]"}function Di(e,i){return!Il(e)&&Of.call(e,i)}function dt(e,i){const t=Ir(i);let s;return Q(e,function(n,r){if(t(n,r))return s=n,!1}),s}function Mf(e,i){const t=Ir(i);let s=ut(e)?-1:void 0;return Q(e,function(n,r){if(t(n,r))return s=r,!1}),s}function Oi(e,i){const t=Ir(i);let s=[];return Q(e,function(n,r){t(n,r)&&s.push(n)}),s}function Q(e,i){let t,s;if(Tr(e))return;const n=ut(e)?Lf:Rf;for(let r in e)if(Di(e,r)&&(t=e[r],s=i(t,n(r)),s===!1))return t}function Mi(e,i,t){return Q(e,function(s,n){t=i(t,s,n)}),t}function kl(e,i){return!!Mi(e,function(t,s,n){return t&&i(s,n)},!0)}function Nl(e,i){return!!dt(e,i)}function Bf(e,i){let t=[];return Q(e,function(s,n){t.push(i(s,n))}),t}function Sl(e){return function(i){return kl(e,function(t,s){return i[s]===t})}}function Ir(e){return Qt(e)?e:i=>i===e}function Rf(e){return e}function Lf(e){return Number(e)}function Ff(e,i){let t,s,n,r;function a(m){let A=Date.now(),k=m?0:r+i-A;if(k>0)return o(k);e.apply(n,s),l()}function o(m){t=setTimeout(a,m)}function l(){t&&clearTimeout(t),t=r=s=n=void 0}function p(){t&&a(!0),l()}function h(...m){r=Date.now(),s=m,n=this,t||o(i)}return h.flush=p,h.cancel=l,h}function Ut(e,i){return e.bind(i)}function Y(e,...i){return Object.assign(e,...i)}function jf(e,i,t){let s=e;return Q(i,function(n,r){if(typeof n!="number"&&typeof n!="string")throw new Error("illegal key type: "+typeof n+". Key should be of type number or string.");if(n==="constructor")throw new Error("illegal key: constructor");if(n==="__proto__")throw new Error("illegal key: __proto__");let a=i[r+1],o=s[n];Pi(a)&&Il(o)&&(o=s[n]=isNaN(+a)?{}:[]),Tr(a)?Tr(t)?delete s[n]:s[n]=t:s=o}),e}function Vf(e,i){let t={},s=Object(e);return Q(i,function(n){n in s&&(t[n]=e[n])}),t}function Qf(e,i){let t={},s=Object(e);return Q(s,function(n,r){i.indexOf(r)===-1&&(t[r]=n)}),t}var Uf=1e3;function It(e,i){var t=this;i=i||Uf,e.on(["render.shape","render.connection"],i,function(s,n){var r=s.type,a=n.element,o=n.gfx,l=n.attrs;if(t.canRender(a))return r==="render.shape"?t.drawShape(o,a,l):t.drawConnection(o,a,l)}),e.on(["render.getShapePath","render.getConnectionPath"],i,function(s,n){if(t.canRender(n))return s.type==="render.getShapePath"?t.getShapePath(n):t.getConnectionPath(n)})}It.prototype.canRender=function(e){},It.prototype.drawShape=function(e,i){},It.prototype.drawConnection=function(e,i){},It.prototype.getShapePath=function(e){},It.prototype.getConnectionPath=function(e){};function J(e,i){var t=xe(e);return t&&typeof t.$instanceOf=="function"&&t.$instanceOf(i)}function Gf(e,i){return Nl(i,function(t){return J(e,t)})}function xe(e){return e&&e.businessObject||e}function li(e){return e&&e.di}function ci(e,i){return J(e,"bpmn:CallActivity")?!1:J(e,"bpmn:SubProcess")?(i=i||li(e),i&&J(i,"bpmndi:BPMNPlane")?!0:i&&!!i.isExpanded):J(e,"bpmn:Participant")?!!xe(e).processRef:!0}function _l(e){if(!(!J(e,"bpmn:Participant")&&!J(e,"bpmn:Lane"))){var i=li(e).isHorizontal;return i===void 0?!0:i}}function qf(e){return e&&!!xe(e).triggeredByEvent}function Jf(e){return oi(e)&&Di(e,"waypoints")}var Zs={width:90,height:20},Pl=15;function Hf(e){return J(e,"bpmn:Event")||J(e,"bpmn:Gateway")||J(e,"bpmn:DataStoreReference")||J(e,"bpmn:DataObjectReference")||J(e,"bpmn:DataInput")||J(e,"bpmn:DataOutput")||J(e,"bpmn:SequenceFlow")||J(e,"bpmn:MessageFlow")||J(e,"bpmn:Group")}function Kf(e){var i=e.length/2-1,t=e[Math.floor(i)],s=e[Math.ceil(i+.01)],n=Wf(e),r=Math.atan((s.y-t.y)/(s.x-t.x)),a=n.x,o=n.y;return Math.abs(r)<Math.PI/2?o-=Pl:a+=Pl,{x:a,y:o}}function Wf(e){var i=e.length/2-1,t=e[Math.floor(i)],s=e[Math.ceil(i+.01)];return{x:t.x+(s.x-t.x)/2,y:t.y+(s.y-t.y)/2}}function Yf(e){return e.waypoints?Kf(e.waypoints):J(e,"bpmn:Group")?{x:e.x+e.width/2,y:e.y+Zs.height/2}:{x:e.x+e.width/2,y:e.y+e.height+Zs.height/2}}function zf(e,i){var t,s,n,r=e.label;return r&&r.bounds?(n=r.bounds,s={width:Math.max(Zs.width,n.width),height:n.height},t={x:n.x+n.width/2,y:n.y+n.height/2}):(t=Yf(i),s=Zs),Y({x:t.x-s.width/2,y:t.y-s.height/2},s)}function Xf(e){if(J(e,"bpmn:FlowElement")||J(e,"bpmn:Participant")||J(e,"bpmn:Lane")||J(e,"bpmn:SequenceFlow")||J(e,"bpmn:MessageFlow")||J(e,"bpmn:DataInput")||J(e,"bpmn:DataOutput"))return"name";if(J(e,"bpmn:TextAnnotation"))return"text";if(J(e,"bpmn:Group"))return"categoryValueRef"}function Zf(e){var i=e.categoryValueRef;return i&&i.value||""}function $s(e){var i=e.businessObject,t=Xf(i);if(t)return t==="categoryValueRef"?Zf(i):i[t]||""}function $f(e,i){if(e.ownerDocument!==i.ownerDocument)try{return i.ownerDocument.importNode(e,!0)}catch{}return e}function Dl(e,i){return i.appendChild($f(e,i))}function Ee(e,i){return Dl(i,e),e}var kr=2,Ol={"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":kr,"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":kr,"text-anchor":1,"text-decoration":1,"text-rendering":1,"unicode-bidi":1,visibility:1,"word-spacing":1,"writing-mode":1};function em(e,i){return Ol[i]?e.style[i]:e.getAttributeNS(null,i)}function Ml(e,i,t){var s=i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),n=Ol[s];n?(n===kr&&typeof t=="number"&&(t=String(t)+"px"),e.style[s]=t):e.setAttributeNS(null,i,t)}function tm(e,i){var t=Object.keys(i),s,n;for(s=0,n;n=t[s];s++)Ml(e,n,i[n])}function fe(e,i,t){if(typeof i=="string")if(t!==void 0)Ml(e,i,t);else return em(e,i);else tm(e,i);return e}const im=Object.prototype.toString;function Ze(e){return new Gt(e)}function Gt(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}Gt.prototype.add=function(e){return this.list.add(e),this},Gt.prototype.remove=function(e){return im.call(e)=="[object RegExp]"?this.removeMatching(e):(this.list.remove(e),this)},Gt.prototype.removeMatching=function(e){const i=this.array();for(let t=0;t<i.length;t++)e.test(i[t])&&this.remove(i[t]);return this},Gt.prototype.toggle=function(e,i){return typeof i<"u"?i!==this.list.toggle(e,i)&&this.list.toggle(e):this.list.toggle(e),this},Gt.prototype.array=function(){return Array.from(this.list)},Gt.prototype.has=Gt.prototype.contains=function(e){return this.list.contains(e)};function Bl(e){for(var i;i=e.firstChild;)e.removeChild(i);return e}var Nr={svg:"http://www.w3.org/2000/svg"},Rl='<svg xmlns="'+Nr.svg+'"';function Ll(e){var i=!1;e.substring(0,4)==="<svg"?e.indexOf(Nr.svg)===-1&&(e=Rl+e.substring(4)):(e=Rl+">"+e+"</svg>",i=!0);var t=sm(e);if(!i)return t;for(var s=document.createDocumentFragment(),n=t.firstChild;n.firstChild;)s.appendChild(n.firstChild);return s}function sm(e){var i;return i=new DOMParser,i.async=!1,i.parseFromString(e,"text/xml")}function ge(e,i){var t;return e=e.trim(),e.charAt(0)==="<"?(t=Ll(e).firstChild,t=document.importNode(t,!0)):t=document.createElementNS(Nr.svg,e),i&&fe(t,i),t}var Sr=null;function _r(){return Sr===null&&(Sr=ge("svg")),Sr}function Fl(e,i){var t,s,n=Object.keys(i);for(t=0;s=n[t];t++)e[s]=i[s];return e}function nm(e,i,t,s,n,r){var a=_r().createSVGMatrix();switch(arguments.length){case 0:return a;case 1:return Fl(a,e);case 6:return Fl(a,{a:e,b:i,c:t,d:s,e:n,f:r})}}function us(e){return e?_r().createSVGTransformFromMatrix(e):_r().createSVGTransform()}var jl=/([&<>]{1})/g,rm=/([&<>\n\r"]{1})/g,am={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"'"};function Pr(e,i){function t(s,n){return am[n]||n}return e.replace(i,t)}function Vl(e,i){var t,s,n,r,a;switch(e.nodeType){case 3:i.push(Pr(e.textContent,jl));break;case 1:if(i.push("<",e.tagName),e.hasAttributes())for(n=e.attributes,t=0,s=n.length;t<s;++t)r=n.item(t),i.push(" ",r.name,'="',Pr(r.value,rm),'"');if(e.hasChildNodes()){for(i.push(">"),a=e.childNodes,t=0,s=a.length;t<s;++t)Vl(a.item(t),i);i.push("</",e.tagName,">")}else i.push("/>");break;case 8:i.push("<!--",Pr(e.nodeValue,jl),"-->");break;case 4:i.push("<![CDATA[",e.nodeValue,"]]>");break;default:throw new Error("unable to handle node "+e.nodeType)}return i}function om(e,i){var t=Ll(i);if(Bl(e),!!i){cm(t)||(t=t.documentElement);for(var s=um(t.childNodes),n=0;n<s.length;n++)Dl(s[n],e)}}function lm(e){for(var i=e.firstChild,t=[];i;)Vl(i,t),i=i.nextSibling;return t.join("")}function cm(e){return e.nodeName==="#document-fragment"}function Ql(e,i){if(i!==void 0){try{om(e,i)}catch(t){throw new Error("error parsing SVG: "+t.message)}return e}else return lm(e)}function um(e){return Array.prototype.slice.call(e)}function ps(e){var i=e.parentNode;return i&&i.removeChild(e),e}function pm(e,i){return i instanceof SVGMatrix?e.createSVGTransformFromMatrix(i):i}function dm(e,i){var t,s;for(e.clear(),t=0;s=i[t];t++)e.appendItem(pm(e,s))}function ds(e,i){var t=e.transform.baseVal;return i&&(Array.isArray(i)||(i=[i]),dm(t,i)),t.consolidate()}function ui(e){return e.flat().join(",").replace(/,?([A-z]),?/g,"$1")}function hm(e){return["M",e.x,e.y]}function Dr(e){return["L",e.x,e.y]}function fm(e,i,t){return["C",e.x,e.y,i.x,i.y,t.x,t.y]}function mm(e,i){const t=e.length,s=[hm(e[0])];for(let n=1;n<t;n++){const r=e[n-1],a=e[n],o=e[n+1];if(!o||!i){s.push(Dr(a));continue}const l=Math.min(i,Or(a.x-r.x,a.y-r.y),Or(o.x-a.x,o.y-a.y));if(!l){s.push(Dr(a));continue}const p=en(a,r,l),h=en(a,r,l*.5),m=en(a,o,l),A=en(a,o,l*.5);s.push(Dr(p)),s.push(fm(h,A,m))}return s}function en(e,i,t){const s=i.x-e.x,n=i.y-e.y,r=Or(s,n),a=t/r;return{x:e.x+s*a,y:e.y+n*a}}function Or(e,i){return Math.sqrt(Math.pow(e,2)+Math.pow(i,2))}function Mr(e,i,t){Vt(i)&&(t=i,i=null),i||(i={});const s=ge("path",i);return Vt(t)&&(s.dataset.cornerRadius=String(t)),Ul(s,e)}function Ul(e,i){const t=parseInt(e.dataset.cornerRadius,10)||0;return fe(e,{d:ui(mm(i,t))}),e}var Br="hsl(225, 10%, 15%)",gm="white";function At(e,i){return Nl(e.eventDefinitions,function(t){return t.$type===i})}function ym(e){return e.$type==="bpmn:IntermediateThrowEvent"||e.$type==="bpmn:EndEvent"}function vm(e){var i=e.dataObjectRef;return e.isCollection||i&&i.isCollection}function se(e,i,t){var s=li(e);return t||s.get("color:background-color")||s.get("bioc:fill")||i||gm}function j(e,i,t){var s=li(e);return t||s.get("color:border-color")||s.get("bioc:stroke")||i||Br}function hs(e,i,t,s){var n=li(e),r=n.get("label");return s||r&&r.get("color:color")||i||j(e,t)}function Am(e){var i=e.x+e.width/2,t=e.y+e.height/2,s=e.width/2,n=[["M",i,t],["m",0,-s],["a",s,s,0,1,1,0,2*s],["a",s,s,0,1,1,0,-2*s],["z"]];return ui(n)}function bm(e,i){var t=e.x,s=e.y,n=e.width,r=e.height,a=[["M",t+i,s],["l",n-i*2,0],["a",i,i,0,0,1,i,i],["l",0,r-i*2],["a",i,i,0,0,1,-i,i],["l",i*2-n,0],["a",i,i,0,0,1,-i,-i],["l",0,i*2-r],["a",i,i,0,0,1,i,-i],["z"]];return ui(a)}function Cm(e){var i=e.width,t=e.height,s=e.x,n=e.y,r=i/2,a=t/2,o=[["M",s+r,n],["l",r,a],["l",-r,a],["l",-r,-a],["z"]];return ui(o)}function wm(e){var i=e.x,t=e.y,s=e.width,n=e.height,r=[["M",i,t],["l",s,0],["l",0,n],["l",-s,0],["z"]];return ui(r)}function fs(e,i={}){return{width:nt(e,i),height:Je(e,i)}}function nt(e,i={}){return Di(i,"width")?i.width:e.width}function Je(e,i={}){return Di(i,"height")?i.height:e.height}function xm(e,i){return i.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(s){if(s!=="default"&&!(s in e)){var n=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,n.get?n:{enumerable:!0,get:function(){return t[s]}})}})}),Object.freeze(e)}const Em=Object.prototype.toString,Tm=Object.prototype.hasOwnProperty;function Im(e){return e===void 0}function km(e){return Em.call(e)==="[object Array]"}function Nm(e,i){return Tm.call(e,i)}function Gl(e,i){let t,s;if(Im(e))return;const n=km(e)?_m:Sm;for(let r in e)if(Nm(e,r)&&(t=e[r],s=i(t,n(r)),s===!1))return t}function Sm(e){return e}function _m(e){return Number(e)}function Oe(e,...i){const t=e.style;return Gl(i,function(s){!s||Gl(s,function(n,r){t[r]=n})}),e}function ql(e,i,t){return arguments.length==2?e.getAttribute(i):t===null?e.removeAttribute(i):(e.setAttribute(i,t),e)}const Pm=Object.prototype.toString;function pi(e){return new qt(e)}function qt(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}qt.prototype.add=function(e){return this.list.add(e),this},qt.prototype.remove=function(e){return Pm.call(e)=="[object RegExp]"?this.removeMatching(e):(this.list.remove(e),this)},qt.prototype.removeMatching=function(e){const i=this.array();for(let t=0;t<i.length;t++)e.test(i[t])&&this.remove(i[t]);return this},qt.prototype.toggle=function(e,i){return typeof i<"u"?i!==this.list.toggle(e,i)&&this.list.toggle(e):this.list.toggle(e),this},qt.prototype.array=function(){return Array.from(this.list)},qt.prototype.has=qt.prototype.contains=function(e){return this.list.contains(e)};function Jl(e){for(var i;i=e.firstChild;)e.removeChild(i);return e}function Hl(e,i,t){var s=t?e:e.parentNode;return s&&typeof s.closest=="function"&&s.closest(i)||null}var tn={},sn,Rr,Lr;function Kl(){sn=window.addEventListener?"addEventListener":"attachEvent",Rr=window.removeEventListener?"removeEventListener":"detachEvent",Lr=sn!=="addEventListener"?"on":""}var Dm=tn.bind=function(e,i,t,s){return sn||Kl(),e[sn](Lr+i,t,s||!1),t},Om=tn.unbind=function(e,i,t,s){return Rr||Kl(),e[Rr](Lr+i,t,s||!1),t},di=xm({__proto__:null,bind:Dm,unbind:Om,default:tn},[tn]),Wl=["focus","blur"];function Mm(e,i,t,s,n){return Wl.indexOf(t)!==-1&&(n=!0),di.bind(e,t,function(r){var a=r.target||r.srcElement;r.delegateTarget=Hl(a,i,!0),r.delegateTarget&&s.call(e,r)},n)}function Bm(e,i,t,s){return Wl.indexOf(i)!==-1&&(s=!0),di.unbind(e,i,t,s)}var Bi={bind:Mm,unbind:Bm},Rm=Lm,Yl=!1,nn;typeof document<"u"&&(nn=document.createElement("div"),nn.innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',Yl=!nn.getElementsByTagName("link").length,nn=void 0);var Ie={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:Yl?[1,"X<div>","</div>"]:[0,"",""]};Ie.td=Ie.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],Ie.option=Ie.optgroup=[1,'<select multiple="multiple">',"</select>"],Ie.thead=Ie.tbody=Ie.colgroup=Ie.caption=Ie.tfoot=[1,"<table>","</table>"],Ie.polyline=Ie.ellipse=Ie.polygon=Ie.circle=Ie.text=Ie.line=Ie.path=Ie.rect=Ie.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"];function Lm(e,i){if(typeof e!="string")throw new TypeError("String expected");i||(i=document);var t=/<([\w:]+)/.exec(e);if(!t)return i.createTextNode(e);e=e.replace(/^\s+|\s+$/g,"");var s=t[1];if(s=="body"){var l=i.createElement("html");return l.innerHTML=e,l.removeChild(l.lastChild)}var n=Object.prototype.hasOwnProperty.call(Ie,s)?Ie[s]:Ie._default,r=n[0],a=n[1],o=n[2],l=i.createElement("div");for(l.innerHTML=a+e+o;r--;)l=l.lastChild;if(l.firstChild==l.lastChild)return l.removeChild(l.firstChild);for(var p=i.createDocumentFragment();l.firstChild;)p.appendChild(l.removeChild(l.firstChild));return p}var $e=Rm;function ht(e,i){return i=i||document,i.querySelector(e)}function Fm(e,i){return i=i||document,i.querySelectorAll(e)}function Ri(e){e.parentNode&&e.parentNode.removeChild(e)}function Fr(e,i,t,s,n){var r=us();r.setTranslate(i,t);var a=us();a.setRotate(s||0,0,0);var o=us();o.setScale(n||1,n||1),ds(e,[r,a,o])}function zl(e,i,t){var s=us();s.setTranslate(i,t),ds(e,s)}function jm(e,i){var t=us();t.setRotate(i,0,0),ds(e,t)}function Vm(e,i){return i={exports:{}},e(i,i.exports),i.exports}var Qm=Vm(function(e){var i=e.exports=function(t,s){if(s||(s=16),t===void 0&&(t=128),t<=0)return"0";for(var n=Math.log(Math.pow(2,t))/Math.log(s),r=2;n===1/0;r*=2)n=Math.log(Math.pow(2,t/r))/Math.log(s)*r;for(var a=n-Math.floor(n),o="",r=0;r<Math.floor(n);r++){var l=Math.floor(Math.random()*s).toString(s);o=l+o}if(a){var p=Math.pow(s,a),l=Math.floor(Math.random()*p).toString(s);o=l+o}var h=parseInt(o,s);return h!==1/0&&h>=Math.pow(2,t)?i(t,s):o};i.rack=function(t,s,n){var r=function(o){var l=0;do{if(l++>10)if(n)t+=n;else throw new Error("too many ID collisions, use more bits");var p=i(t,s)}while(Object.hasOwnProperty.call(a,p));return a[p]=o,p},a=r.hats={};return r.get=function(o){return r.hats[o]},r.set=function(o,l){return r.hats[o]=l,r},r.bits=t||128,r.base=s||16,r}});function kt(e){if(!(this instanceof kt))return new kt(e);e=e||[128,36,1],this._seed=e.length?Qm.rack(e[0],e[1],e[2]):e}kt.prototype.next=function(e){return this._seed(e||!0)},kt.prototype.nextPrefixed=function(e,i){var t;do t=e+this.next(!0);while(this.assigned(t));return this.claim(t,i),t},kt.prototype.claim=function(e,i){this._seed.set(e,i||!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,i;for(i in e)this.unclaim(i)};var Um=new kt,Gm=10,rn=3,qm=1.5,an=10,Li=.95,Jm=1,Hm=.25;function hi(e,i,t,s,n,r,a){It.call(this,i,a);var o=e&&e.defaultFillColor,l=e&&e.defaultStrokeColor,p=e&&e.defaultLabelColor,h=Um.next(),m={};function A(d){return t.computeStyle(d,{strokeLinecap:"round",strokeLinejoin:"round",stroke:Br,strokeWidth:2,fill:"white"})}function k(d){return t.computeStyle(d,["no-fill"],{strokeLinecap:"round",strokeLinejoin:"round",stroke:Br,strokeWidth:2})}function V(d,c){var{ref:u={x:0,y:0},scale:f=1,element:v}=c,E=ge("marker",{id:d,viewBox:"0 0 20 20",refX:u.x,refY:u.y,markerWidth:20*f,markerHeight:20*f,orient:"auto"});Ee(E,v);var q=ht("defs",n._svg);q||(q=ge("defs"),Ee(n._svg,q)),Ee(q,E),m[d]=E}function z(d){return d.replace(/[^0-9a-zA-Z]+/g,"_")}function ie(d,c,u){var f=d+"-"+z(c)+"-"+z(u)+"-"+h;return m[f]||Z(f,d,c,u),"url(#"+f+")"}function Z(d,c,u,f){if(c==="sequenceflow-end"){var v=ge("path",{d:"M 1 5 L 11 10 L 1 15 Z",...A({fill:f,stroke:f,strokeWidth:1})});V(d,{element:v,ref:{x:11,y:10},scale:.5})}if(c==="messageflow-start"){var E=ge("circle",{cx:6,cy:6,r:3.5,...A({fill:u,stroke:f,strokeWidth:1,strokeDasharray:[1e4,1]})});V(d,{element:E,ref:{x:6,y:6}})}if(c==="messageflow-end"){var q=ge("path",{d:"m 1 5 l 0 -3 l 7 3 l -7 3 z",...A({fill:u,stroke:f,strokeWidth:1,strokeDasharray:[1e4,1]})});V(d,{element:q,ref:{x:8.5,y:5}})}if(c==="association-start"){var ue=ge("path",{d:"M 11 5 L 1 10 L 11 15",...k({fill:"none",stroke:f,strokeWidth:1.5,strokeDasharray:[1e4,1]})});V(d,{element:ue,ref:{x:1,y:10},scale:.5})}if(c==="association-end"){var ce=ge("path",{d:"M 1 5 L 11 10 L 1 15",...k({fill:"none",stroke:f,strokeWidth:1.5,strokeDasharray:[1e4,1]})});V(d,{element:ce,ref:{x:11,y:10},scale:.5})}if(c==="conditional-flow-marker"){var pe=ge("path",{d:"M 0 10 L 8 6 L 16 10 L 8 14 Z",...A({fill:u,stroke:f})});V(d,{element:pe,ref:{x:-1,y:10},scale:.5})}if(c==="conditional-default-flow-marker"){var Se=ge("path",{d:"M 6 4 L 10 16",...A({stroke:f})});V(d,{element:Se,ref:{x:0,y:10},scale:.5})}}function G(d,c,u,f,v={}){oi(f)&&(v=f,f=0),f=f||0,v=A(v);var E=c/2,q=u/2,ue=ge("circle",{cx:E,cy:q,r:Math.round((c+u)/4-f),...v});return Ee(d,ue),ue}function N(d,c,u,f,v,E){oi(v)&&(E=v,v=0),v=v||0,E=A(E);var q=ge("rect",{x:v,y:v,width:c-v*2,height:u-v*2,rx:f,ry:f,...E});return Ee(d,q),q}function T(d,c,u,f){var v=c/2,E=u/2,q=[{x:v,y:0},{x:c,y:E},{x:v,y:u},{x:0,y:E}],ue=q.map(function(pe){return pe.x+","+pe.y}).join(" ");f=A(f);var ce=ge("polygon",{...f,points:ue});return Ee(d,ce),ce}function D(d,c,u,f){u=k(u);var v=Mr(c,u,f);return Ee(d,v),v}function _(d,c,u){return D(d,c,u,5)}function S(d,c,u){u=k(u);var f=ge("path",{...u,d:c});return Ee(d,f),f}function I(d,c,u,f){return S(c,u,Y({"data-marker":d},f))}function F(d){return re[d]}function P(d){return function(c,u,f){return F(d)(c,u,f)}}var L={"bpmn:MessageEventDefinition":function(d,c,u={},f){var v=s.getScaledPath("EVENT_MESSAGE",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:c.width,containerHeight:c.height,position:{mx:.235,my:.315}}),E=f?j(c,l,u.stroke):se(c,o,u.fill),q=f?se(c,o,u.fill):j(c,l,u.stroke),ue=S(d,v,{fill:E,stroke:q,strokeWidth:1});return ue},"bpmn:TimerEventDefinition":function(d,c,u={}){var f=G(d,c.width,c.height,.2*c.height,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:2}),v=s.getScaledPath("EVENT_TIMER_WH",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.5}});S(d,v,{stroke:j(c,l,u.stroke),strokeWidth:2});for(var E=0;E<12;E++){var q=s.getScaledPath("EVENT_TIMER_LINE",{xScaleFactor:.75,yScaleFactor:.75,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.5}}),ue=c.width/2,ce=c.height/2;S(d,q,{strokeWidth:1,stroke:j(c,l,u.stroke),transform:"rotate("+E*30+","+ce+","+ue+")"})}return f},"bpmn:EscalationEventDefinition":function(d,c,u={},f){var v=s.getScaledPath("EVENT_ESCALATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.2}}),E=f?j(c,l,u.stroke):se(c,o,u.fill);return S(d,v,{fill:E,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:ConditionalEventDefinition":function(d,c,u={}){var f=s.getScaledPath("EVENT_CONDITIONAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.222}});return S(d,f,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:LinkEventDefinition":function(d,c,u={},f){var v=s.getScaledPath("EVENT_LINK",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.57,my:.263}}),E=f?j(c,l,u.stroke):se(c,o,u.fill);return S(d,v,{fill:E,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:ErrorEventDefinition":function(d,c,u={},f){var v=s.getScaledPath("EVENT_ERROR",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:c.width,containerHeight:c.height,position:{mx:.2,my:.722}}),E=f?j(c,l,u.stroke):se(c,o,u.fill);return S(d,v,{fill:E,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:CancelEventDefinition":function(d,c,u={},f){var v=s.getScaledPath("EVENT_CANCEL_45",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.638,my:-.055}}),E=f?j(c,l,u.stroke):"none",q=S(d,v,{fill:E,stroke:j(c,l,u.stroke),strokeWidth:1});return jm(q,45),q},"bpmn:CompensateEventDefinition":function(d,c,u={},f){var v=s.getScaledPath("EVENT_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.22,my:.5}}),E=f?j(c,l,u.stroke):se(c,o,u.fill);return S(d,v,{fill:E,stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:SignalEventDefinition":function(d,c,u={},f){var v=s.getScaledPath("EVENT_SIGNAL",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:c.width,containerHeight:c.height,position:{mx:.5,my:.2}}),E=f?j(c,l,u.stroke):se(c,o,u.fill);return S(d,v,{strokeWidth:1,fill:E,stroke:j(c,l,u.stroke)})},"bpmn:MultipleEventDefinition":function(d,c,u={},f){var v=s.getScaledPath("EVENT_MULTIPLE",{xScaleFactor:1.1,yScaleFactor:1.1,containerWidth:c.width,containerHeight:c.height,position:{mx:.222,my:.36}}),E=f?j(c,l,u.stroke):se(c,o,u.fill);return S(d,v,{fill:E,strokeWidth:1})},"bpmn:ParallelMultipleEventDefinition":function(d,c,u={}){var f=s.getScaledPath("EVENT_PARALLEL_MULTIPLE",{xScaleFactor:1.2,yScaleFactor:1.2,containerWidth:c.width,containerHeight:c.height,position:{mx:.458,my:.194}});return S(d,f,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1})},"bpmn:TerminateEventDefinition":function(d,c,u={}){var f=G(d,c.width,c.height,8,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:4});return f}};function B(d,c,u={}){var f=xe(d),v=ym(f);return f.get("eventDefinitions")&&f.get("eventDefinitions").length>1?f.get("parallelMultiple")?L["bpmn:ParallelMultipleEventDefinition"](c,d,u,v):L["bpmn:MultipleEventDefinition"](c,d,u,v):At(f,"bpmn:MessageEventDefinition")?L["bpmn:MessageEventDefinition"](c,d,u,v):At(f,"bpmn:TimerEventDefinition")?L["bpmn:TimerEventDefinition"](c,d,u,v):At(f,"bpmn:ConditionalEventDefinition")?L["bpmn:ConditionalEventDefinition"](c,d,u,v):At(f,"bpmn:SignalEventDefinition")?L["bpmn:SignalEventDefinition"](c,d,u,v):At(f,"bpmn:EscalationEventDefinition")?L["bpmn:EscalationEventDefinition"](c,d,u,v):At(f,"bpmn:LinkEventDefinition")?L["bpmn:LinkEventDefinition"](c,d,u,v):At(f,"bpmn:ErrorEventDefinition")?L["bpmn:ErrorEventDefinition"](c,d,u,v):At(f,"bpmn:CancelEventDefinition")?L["bpmn:CancelEventDefinition"](c,d,u,v):At(f,"bpmn:CompensateEventDefinition")?L["bpmn:CompensateEventDefinition"](c,d,u,v):At(f,"bpmn:TerminateEventDefinition")?L["bpmn:TerminateEventDefinition"](c,d,u,v):null}var U={ParticipantMultiplicityMarker:function(d,c,u={}){var f=nt(c,u),v=Je(c,u),E=s.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:f,containerHeight:v,position:{mx:(f/2-6)/f,my:(v-15)/v}});I("participant-multiplicity",d,E,{strokeWidth:2,fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})},SubProcessMarker:function(d,c,u={}){var f=N(d,14,14,0,{strokeWidth:1,fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)});zl(f,c.width/2-7.5,c.height-20);var v=s.getScaledPath("MARKER_SUB_PROCESS",{xScaleFactor:1.5,yScaleFactor:1.5,containerWidth:c.width,containerHeight:c.height,position:{mx:(c.width/2-7.5)/c.width,my:(c.height-20)/c.height}});I("sub-process",d,v,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})},ParallelMarker:function(d,c,u){var f=nt(c,u),v=Je(c,u),E=s.getScaledPath("MARKER_PARALLEL",{xScaleFactor:1,yScaleFactor:1,containerWidth:f,containerHeight:v,position:{mx:(f/2+u.parallel)/f,my:(v-20)/v}});I("parallel",d,E,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})},SequentialMarker:function(d,c,u){var f=s.getScaledPath("MARKER_SEQUENTIAL",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:(c.width/2+u.seq)/c.width,my:(c.height-19)/c.height}});I("sequential",d,f,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})},CompensationMarker:function(d,c,u){var f=s.getScaledPath("MARKER_COMPENSATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:(c.width/2+u.compensation)/c.width,my:(c.height-13)/c.height}});I("compensation",d,f,{strokeWidth:1,fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})},LoopMarker:function(d,c,u){var f=nt(c,u),v=Je(c,u),E=s.getScaledPath("MARKER_LOOP",{xScaleFactor:1,yScaleFactor:1,containerWidth:f,containerHeight:v,position:{mx:(f/2+u.loop)/f,my:(v-7)/v}});I("loop",d,E,{strokeWidth:1.5,fill:"none",stroke:j(c,l,u.stroke),strokeMiterlimit:.5})},AdhocMarker:function(d,c,u){var f=nt(c,u),v=Je(c,u),E=s.getScaledPath("MARKER_ADHOC",{xScaleFactor:1,yScaleFactor:1,containerWidth:f,containerHeight:v,position:{mx:(f/2+u.adhoc)/f,my:(v-15)/v}});I("adhoc",d,E,{strokeWidth:1,fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke)})}};function X(d,c,u,f){U[d](c,u,f)}function Ne(d,c,u,f={}){f={fill:f.fill,stroke:f.stroke,width:nt(c,f),height:Je(c,f)};var v=xe(c),E=u&&u.includes("SubProcessMarker");E?f={...f,seq:-21,parallel:-22,compensation:-42,loop:-18,adhoc:10}:f={...f,seq:-5,parallel:-6,compensation:-27,loop:0,adhoc:10},Q(u,function(ce){X(ce,d,c,f)}),v.get("isForCompensation")&&X("CompensationMarker",d,c,f),J(v,"bpmn:AdHocSubProcess")&&X("AdhocMarker",d,c,f);var q=v.get("loopCharacteristics"),ue=q&&q.get("isSequential");q&&(ue===void 0&&X("LoopMarker",d,c,f),ue===!1&&X("ParallelMarker",d,c,f),ue===!0&&X("SequentialMarker",d,c,f))}function le(d,c,u={}){u=Y({size:{width:100}},u);var f=r.createText(c||"",u);return Ze(f).add("djs-label"),Ee(d,f),f}function g(d,c,u,f={}){var v=xe(c),E=fs({x:c.x,y:c.y,width:c.width,height:c.height},f);return le(d,v.name,{align:u,box:E,padding:7,style:{fill:hs(c,p,l,f.stroke)}})}function y(d,c,u={}){var f={width:90,height:30,x:c.width/2+c.x,y:c.height/2+c.y};return le(d,$s(c),{box:f,fitBox:!0,style:Y({},r.getExternalStyle(),{fill:hs(c,p,l,u.stroke)})})}function x(d,c,u,f={}){var v=_l(u),E=le(d,c,{box:{height:30,width:v?Je(u,f):nt(u,f)},align:"center-middle",style:{fill:hs(u,p,l,f.stroke)}});if(v){var q=-1*Je(u,f);Fr(E,0,-q,270)}}function M(d,c,u={}){var{width:f,height:v}=fs(c,u);return N(d,f,v,an,{...u,fill:se(c,o,u.fill),fillOpacity:Li,stroke:j(c,l,u.stroke)})}function H(d,c,u={}){var f=xe(c),v=se(c,o,u.fill),E=j(c,l,u.stroke);return(f.get("associationDirection")==="One"||f.get("associationDirection")==="Both")&&(u.markerEnd=ie("association-end",v,E)),f.get("associationDirection")==="Both"&&(u.markerStart=ie("association-start",v,E)),u=oe(u,["markerStart","markerEnd"]),_(d,c.waypoints,{...u,stroke:E,strokeDasharray:"0, 5"})}function ae(d,c,u={}){var f=se(c,o,u.fill),v=j(c,l,u.stroke),E=s.getScaledPath("DATA_OBJECT_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.474,my:.296}}),q=S(d,E,{fill:f,fillOpacity:Li,stroke:v}),ue=xe(c);if(vm(ue)){var ce=s.getScaledPath("DATA_OBJECT_COLLECTION_PATH",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:.33,my:(c.height-18)/c.height}});S(d,ce,{strokeWidth:2,fill:f,stroke:v})}return q}function C(d,c,u={}){return G(d,c.width,c.height,{fillOpacity:Li,...u,fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)})}function w(d,c,u={}){return T(d,c.width,c.height,{fill:se(c,o,u.fill),fillOpacity:Li,stroke:j(c,l,u.stroke)})}function O(d,c,u={}){var f=N(d,nt(c,u),Je(c,u),0,{fill:se(c,o,u.fill),fillOpacity:u.fillOpacity||Li,stroke:j(c,l,u.stroke),strokeWidth:1.5}),v=xe(c);if(J(v,"bpmn:Lane")){var E=v.get("name");x(d,E,c,u)}return f}function W(d,c,u={}){var f=M(d,c,u);qf(c)&&fe(f,{strokeDasharray:"0, 5.5",strokeWidth:2.5});var v=ci(c);return g(d,c,v?"center-top":"center-middle",u),v?Ne(d,c,void 0,u):Ne(d,c,["SubProcessMarker"],u),f}function $(d,c,u={}){var f=M(d,c,u);return g(d,c,"center-middle",u),Ne(d,c,void 0,u),f}var re=this.handlers={"bpmn:AdHocSubProcess":function(d,c,u={}){return ci(c)?u=oe(u,["fill","stroke","width","height"]):u=oe(u,["fill","stroke"]),W(d,c,u)},"bpmn:Association":function(d,c,u={}){return u=oe(u,["fill","stroke"]),H(d,c,u)},"bpmn:BoundaryEvent":function(d,c,u={}){var{renderIcon:f=!0}=u;u=oe(u,["fill","stroke"]);var v=xe(c),E=v.get("cancelActivity");u={strokeWidth:1.5,fill:se(c,o,u.fill),fillOpacity:Jm,stroke:j(c,l,u.stroke)},E||(u.strokeDasharray="6");var q=C(d,c,u);return G(d,c.width,c.height,rn,{...u,fill:"none"}),f&&B(c,d,u),q},"bpmn:BusinessRuleTask":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=$(d,c,u),v=s.getScaledPath("TASK_TYPE_BUSINESS_RULE_MAIN",{abspos:{x:8,y:8}}),E=S(d,v);fe(E,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1});var q=s.getScaledPath("TASK_TYPE_BUSINESS_RULE_HEADER",{abspos:{x:8,y:8}}),ue=S(d,q);return fe(ue,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),f},"bpmn:CallActivity":function(d,c,u={}){return u=oe(u,["fill","stroke"]),W(d,c,{strokeWidth:5,...u})},"bpmn:ComplexGateway":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=w(d,c,u),v=s.getScaledPath("GATEWAY_COMPLEX",{xScaleFactor:.5,yScaleFactor:.5,containerWidth:c.width,containerHeight:c.height,position:{mx:.46,my:.26}});return S(d,v,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),f},"bpmn:DataInput":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=s.getRawPath("DATA_ARROW"),v=ae(d,c,u);return S(d,f,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1}),v},"bpmn:DataInputAssociation":function(d,c,u={}){return u=oe(u,["fill","stroke"]),H(d,c,{...u,markerEnd:ie("association-end",se(c,o,u.fill),j(c,l,u.stroke))})},"bpmn:DataObject":function(d,c,u={}){return u=oe(u,["fill","stroke"]),ae(d,c,u)},"bpmn:DataObjectReference":P("bpmn:DataObject"),"bpmn:DataOutput":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=s.getRawPath("DATA_ARROW"),v=ae(d,c,u);return S(d,f,{strokeWidth:1,fill:se(c,o,u.fill),stroke:j(c,l,u.stroke)}),v},"bpmn:DataOutputAssociation":function(d,c,u={}){return u=oe(u,["fill","stroke"]),H(d,c,{...u,markerEnd:ie("association-end",se(c,o,u.fill),j(c,l,u.stroke))})},"bpmn:DataStoreReference":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=s.getScaledPath("DATA_STORE",{xScaleFactor:1,yScaleFactor:1,containerWidth:c.width,containerHeight:c.height,position:{mx:0,my:.133}});return S(d,f,{fill:se(c,o,u.fill),fillOpacity:Li,stroke:j(c,l,u.stroke),strokeWidth:2})},"bpmn:EndEvent":function(d,c,u={}){var{renderIcon:f=!0}=u;u=oe(u,["fill","stroke"]);var v=C(d,c,{...u,strokeWidth:4});return f&&B(c,d,u),v},"bpmn:EventBasedGateway":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=xe(c),v=w(d,c,u);G(d,c.width,c.height,c.height*.2,{fill:se(c,"none",u.fill),stroke:j(c,l,u.stroke),strokeWidth:1});var E=f.get("eventGatewayType"),q=!!f.get("instantiate");function ue(){var pe=s.getScaledPath("GATEWAY_EVENT_BASED",{xScaleFactor:.18,yScaleFactor:.18,containerWidth:c.width,containerHeight:c.height,position:{mx:.36,my:.44}});S(d,pe,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:2})}if(E==="Parallel"){var ce=s.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:c.width,containerHeight:c.height,position:{mx:.474,my:.296}});S(d,ce,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1})}else E==="Exclusive"&&(q||G(d,c.width,c.height,c.height*.26,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1}),ue());return v},"bpmn:ExclusiveGateway":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=w(d,c,u),v=s.getScaledPath("GATEWAY_EXCLUSIVE",{xScaleFactor:.4,yScaleFactor:.4,containerWidth:c.width,containerHeight:c.height,position:{mx:.32,my:.3}}),E=li(c);return E.get("isMarkerVisible")&&S(d,v,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),f},"bpmn:Gateway":function(d,c,u={}){return u=oe(u,["fill","stroke"]),w(d,c,u)},"bpmn:Group":function(d,c,u={}){return u=oe(u,["fill","stroke","width","height"]),N(d,c.width,c.height,an,{stroke:j(c,l,u.stroke),strokeWidth:1.5,strokeDasharray:"10, 6, 0, 6",fill:"none",pointerEvents:"none",width:nt(c,u),height:Je(c,u)})},"bpmn:InclusiveGateway":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=w(d,c,u);return G(d,c.width,c.height,c.height*.24,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:2.5}),f},"bpmn:IntermediateEvent":function(d,c,u={}){var{renderIcon:f=!0}=u;u=oe(u,["fill","stroke"]);var v=C(d,c,{...u,strokeWidth:1.5});return G(d,c.width,c.height,rn,{fill:"none",stroke:j(c,l,u.stroke),strokeWidth:1.5}),f&&B(c,d,u),v},"bpmn:IntermediateCatchEvent":P("bpmn:IntermediateEvent"),"bpmn:IntermediateThrowEvent":P("bpmn:IntermediateEvent"),"bpmn:Lane":function(d,c,u={}){return u=oe(u,["fill","stroke","width","height"]),O(d,c,{...u,fillOpacity:Hm})},"bpmn:ManualTask":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=$(d,c,u),v=s.getScaledPath("TASK_TYPE_MANUAL",{abspos:{x:17,y:15}});return S(d,v,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:.5}),f},"bpmn:MessageFlow":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=xe(c),v=li(c),E=se(c,o,u.fill),q=j(c,l,u.stroke),ue=_(d,c.waypoints,{markerEnd:ie("messageflow-end",E,q),markerStart:ie("messageflow-start",E,q),stroke:q,strokeDasharray:"10, 11",strokeWidth:1.5});if(f.get("messageRef")){var ce=ue.getPointAtLength(ue.getTotalLength()/2),pe=s.getScaledPath("MESSAGE_FLOW_MARKER",{abspos:{x:ce.x,y:ce.y}}),Se={strokeWidth:1};v.get("messageVisibleKind")==="initiating"?(Se.fill=E,Se.stroke=q):(Se.fill=q,Se.stroke=E);var de=S(d,pe,Se),Yt=f.get("messageRef"),wn=Yt.get("name"),Ke=le(d,wn,{align:"center-top",fitBox:!0,style:{fill:q}}),K=de.getBBox(),he=Ke.getBBox(),H0=ce.x-he.width/2,K0=ce.y+K.height/2+Gm;Fr(Ke,H0,K0,0)}return ue},"bpmn:ParallelGateway":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=w(d,c,u),v=s.getScaledPath("GATEWAY_PARALLEL",{xScaleFactor:.6,yScaleFactor:.6,containerWidth:c.width,containerHeight:c.height,position:{mx:.46,my:.2}});return S(d,v,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:1}),f},"bpmn:Participant":function(d,c,u={}){u=oe(u,["fill","stroke","width","height"]);var f=O(d,c,u),v=ci(c),E=_l(c),q=xe(c),ue=q.get("name");if(v){var ce=E?[{x:30,y:0},{x:30,y:Je(c,u)}]:[{x:0,y:30},{x:nt(c,u),y:30}];D(d,ce,{stroke:j(c,l,u.stroke),strokeWidth:qm}),x(d,ue,c,u)}else{var pe=fs(c,u);E||(pe.height=nt(c,u),pe.width=Je(c,u));var Se=le(d,ue,{box:pe,align:"center-middle",style:{fill:hs(c,p,l,u.stroke)}});if(!E){var de=-1*Je(c,u);Fr(Se,0,-de,270)}}return q.get("participantMultiplicity")&&X("ParticipantMultiplicityMarker",d,c,u),f},"bpmn:ReceiveTask":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=xe(c),v=$(d,c,u),E;return f.get("instantiate")?(G(d,28,28,20*.22,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),E=s.getScaledPath("TASK_TYPE_INSTANTIATING_SEND",{abspos:{x:7.77,y:9.52}})):E=s.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:.9,yScaleFactor:.9,containerWidth:21,containerHeight:14,position:{mx:.3,my:.4}}),S(d,E,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),v},"bpmn:ScriptTask":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=$(d,c,u),v=s.getScaledPath("TASK_TYPE_SCRIPT",{abspos:{x:15,y:20}});return S(d,v,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),f},"bpmn:SendTask":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=$(d,c,u),v=s.getScaledPath("TASK_TYPE_SEND",{xScaleFactor:1,yScaleFactor:1,containerWidth:21,containerHeight:14,position:{mx:.285,my:.357}});return S(d,v,{fill:j(c,l,u.stroke),stroke:se(c,o,u.fill),strokeWidth:1}),f},"bpmn:SequenceFlow":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=se(c,o,u.fill),v=j(c,l,u.stroke),E=_(d,c.waypoints,{markerEnd:ie("sequenceflow-end",f,v),stroke:v}),q=xe(c),{source:ue}=c;if(ue){var ce=xe(ue);q.get("conditionExpression")&&J(ce,"bpmn:Activity")&&fe(E,{markerStart:ie("conditional-flow-marker",f,v)}),ce.get("default")&&(J(ce,"bpmn:Gateway")||J(ce,"bpmn:Activity"))&&ce.get("default")===q&&fe(E,{markerStart:ie("conditional-default-flow-marker",f,v)})}return E},"bpmn:ServiceTask":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=$(d,c,u);G(d,10,10,{fill:se(c,o,u.fill),stroke:"none",transform:"translate(6, 6)"});var v=s.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:12,y:18}});S(d,v,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),G(d,10,10,{fill:se(c,o,u.fill),stroke:"none",transform:"translate(11, 10)"});var E=s.getScaledPath("TASK_TYPE_SERVICE",{abspos:{x:17,y:22}});return S(d,E,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:1}),f},"bpmn:StartEvent":function(d,c,u={}){var{renderIcon:f=!0}=u;u=oe(u,["fill","stroke"]);var v=xe(c);v.get("isInterrupting")||(u={...u,strokeDasharray:"6"});var E=C(d,c,u);return f&&B(c,d,u),E},"bpmn:SubProcess":function(d,c,u={}){return ci(c)?u=oe(u,["fill","stroke","width","height"]):u=oe(u,["fill","stroke"]),W(d,c,u)},"bpmn:Task":function(d,c,u={}){return u=oe(u,["fill","stroke"]),$(d,c,u)},"bpmn:TextAnnotation":function(d,c,u={}){u=oe(u,["fill","stroke","width","height"]);var{width:f,height:v}=fs(c,u),E=N(d,f,v,0,0,{fill:"none",stroke:"none"}),q=s.getScaledPath("TEXT_ANNOTATION",{xScaleFactor:1,yScaleFactor:1,containerWidth:f,containerHeight:v,position:{mx:0,my:0}});S(d,q,{stroke:j(c,l,u.stroke)});var ue=xe(c),ce=ue.get("text")||"";return le(d,ce,{align:"left-top",box:fs(c,u),padding:7,style:{fill:hs(c,p,l,u.stroke)}}),E},"bpmn:Transaction":function(d,c,u={}){ci(c)?u=oe(u,["fill","stroke","width","height"]):u=oe(u,["fill","stroke"]);var f=W(d,c,{strokeWidth:1.5,...u}),v=t.style(["no-fill","no-events"],{stroke:j(c,l,u.stroke),strokeWidth:1.5}),E=ci(c);return E||(u={}),N(d,nt(c,u),Je(c,u),an-rn,rn,v),f},"bpmn:UserTask":function(d,c,u={}){u=oe(u,["fill","stroke"]);var f=$(d,c,u),v=15,E=12,q=s.getScaledPath("TASK_TYPE_USER_1",{abspos:{x:v,y:E}});S(d,q,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:.5});var ue=s.getScaledPath("TASK_TYPE_USER_2",{abspos:{x:v,y:E}});S(d,ue,{fill:se(c,o,u.fill),stroke:j(c,l,u.stroke),strokeWidth:.5});var ce=s.getScaledPath("TASK_TYPE_USER_3",{abspos:{x:v,y:E}});return S(d,ce,{fill:j(c,l,u.stroke),stroke:j(c,l,u.stroke),strokeWidth:.5}),f},label:function(d,c,u={}){return y(d,c,u)}};this._drawPath=S,this._renderer=F}vt(hi,It),hi.$inject=["config.bpmnRenderer","eventBus","styles","pathMap","canvas","textRenderer"],hi.prototype.canRender=function(e){return J(e,"bpmn:BaseElement")},hi.prototype.drawShape=function(e,i,t={}){var{type:s}=i,n=this._renderer(s);return n(e,i,t)},hi.prototype.drawConnection=function(e,i,t={}){var{type:s}=i,n=this._renderer(s);return n(e,i,t)},hi.prototype.getShapePath=function(e){return J(e,"bpmn:Event")?Am(e):J(e,"bpmn:Activity")?bm(e,an):J(e,"bpmn:Gateway")?Cm(e):wm(e)};function oe(e,i=[]){return i.reduce((t,s)=>(e[s]&&(t[s]=e[s]),t),{})}var Km=0,Wm={width:150,height:50};function Ym(e){var i=e.split("-");return{horizontal:i[0]||"center",vertical:i[1]||"top"}}function zm(e){return oi(e)?Y({top:0,left:0,right:0,bottom:0},e):{top:e,left:e,right:e,bottom:e}}function Xm(e,i){i.textContent=e;var t;try{var s,n=e==="";return i.textContent=n?"dummy":e,t=i.getBBox(),s={width:t.width+t.x*2,height:t.height},n&&(s.width=0),s}catch{return{width:0,height:0}}}function Zm(e,i,t){for(var s=e.shift(),n=s,r;;){if(r=Xm(n,t),r.width=n?r.width:0,n===" "||n===""||r.width<Math.round(i)||n.length<2)return $m(e,n,s,r);n=tg(n,r.width,i)}}function $m(e,i,t,s){if(i.length<t.length){var n=t.slice(i.length).trim();e.unshift(n)}return{width:s.width,height:s.height,text:i}}var Xl="\xAD";function eg(e,i){var t=e.split(/(\s|-|\u00AD)/g),s,n=[],r=0;if(t.length>1)for(;s=t.shift();)if(s.length+r<i)n.push(s),r+=s.length;else{(s==="-"||s===Xl)&&n.pop();break}var a=n[n.length-1];return a&&a===Xl&&(n[n.length-1]="-"),n.join("")}function tg(e,i,t){var s=Math.max(e.length*(t/i),1),n=eg(e,s);return n||(n=e.slice(0,Math.max(Math.round(s-1),1))),n}function ig(){var e=document.getElementById("helper-svg");return e||(e=ge("svg"),fe(e,{id:"helper-svg"}),Oe(e,{visibility:"hidden",position:"fixed",width:0,height:0}),document.body.appendChild(e)),e}function on(e){this._config=Y({},{size:Wm,padding:Km,style:{},align:"center-top"},e||{})}on.prototype.createText=function(e,i){return this.layoutText(e,i).element},on.prototype.getDimensions=function(e,i){return this.layoutText(e,i).dimensions},on.prototype.layoutText=function(e,i){var t=Y({},this._config.size,i.box),s=Y({},this._config.style,i.style),n=Ym(i.align||this._config.align),r=zm(i.padding!==void 0?i.padding:this._config.padding),a=i.fitBox||!1,o=sg(s),l=e.split(/\u00AD?\r?\n/),p=[],h=t.width-r.left-r.right,m=ge("text");fe(m,{x:0,y:0}),fe(m,s);var A=ig();for(Ee(A,m);l.length;)p.push(Zm(l,h,m));n.vertical==="middle"&&(r.top=r.bottom=0);var k=Mi(p,function(G,N,T){return G+(o||N.height)},0)+r.top+r.bottom,V=Mi(p,function(G,N,T){return N.width>G?N.width:G},0),z=r.top;n.vertical==="middle"&&(z+=(t.height-k)/2),z-=(o||p[0].height)/4;var ie=ge("text");fe(ie,s),Q(p,function(G){var N;switch(z+=o||G.height,n.horizontal){case"left":N=r.left;break;case"right":N=(a?V:h)-r.right-G.width;break;default:N=Math.max(((a?V:h)-G.width)/2+r.left,0)}var T=ge("tspan");fe(T,{x:N,y:z}),T.textContent=G.text,Ee(ie,T)}),ps(m);var Z={width:V,height:k};return{dimensions:Z,element:ie}};function sg(e){if("fontSize"in e&&"lineHeight"in e)return e.lineHeight*parseInt(e.fontSize,10)}var ng=12,rg=1.2,ag=30;function Zl(e){var i=Y({fontFamily:"Arial, sans-serif",fontSize:ng,fontWeight:"normal",lineHeight:rg},e&&e.defaultStyle||{}),t=parseInt(i.fontSize,10)-1,s=Y({},i,{fontSize:t},e&&e.externalStyle||{}),n=new on({style:i});this.getExternalLabelBounds=function(r,a){var o=n.getDimensions(a,{box:{width:90,height:30},style:s});return{x:Math.round(r.x+r.width/2-o.width/2),y:Math.round(r.y),width:Math.ceil(o.width),height:Math.ceil(o.height)}},this.getTextAnnotationBounds=function(r,a){var o=n.getDimensions(a,{box:r,style:i,align:"left-top",padding:5});return{x:r.x,y:r.y,width:r.width,height:Math.max(ag,Math.round(o.height))}},this.createText=function(r,a){return n.createText(r,a||{})},this.getDefaultStyle=function(){return i},this.getExternalStyle=function(){return s}}Zl.$inject=["config.textRenderer"];function og(){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(i){return this.pathMap[i].d},this.getScaledPath=function(i,t){var s=this.pathMap[i],n,r;t.abspos?(n=t.abspos.x,r=t.abspos.y):(n=t.containerWidth*t.position.mx,r=t.containerHeight*t.position.my);var a={};if(t.position){for(var o=t.containerHeight/s.height*t.yScaleFactor,l=t.containerWidth/s.width*t.xScaleFactor,p=0;p<s.heightElements.length;p++)a["y"+p]=s.heightElements[p]*o;for(var h=0;h<s.widthElements.length;h++)a["x"+h]=s.widthElements[h]*l}var m=pg(s.d,{mx:n,my:r,e:a});return m}}var lg=/\{([^{}]+)\}/g,cg=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g;function ug(e,i,t){var s=t;return i.replace(cg,function(n,r,a,o,l){r=r||o,s&&(r in s&&(s=s[r]),typeof s=="function"&&l&&(s=s()))}),s=(s==null||s==t?e:s)+"",s}function pg(e,i){return String(e).replace(lg,function(t,s){return ug(t,s,i)})}const dg={__init__:["bpmnRenderer"],bpmnRenderer:["type",hi],textRenderer:["type",Zl],pathMap:["type",og]};function hg(e,i){return i=i||{},e.replace(/{([^}]+)}/g,function(t,s){return i[s]||"{"+s+"}"})}const $l={translate:["value",hg]};function fg(e){return{x:Math.round(e.x),y:Math.round(e.y)}}function jr(e){return{top:e.y,right:e.x+(e.width||0),bottom:e.y+(e.height||0),left:e.x}}function mg(e){return{x:e.left,y:e.top,width:e.right-e.left,height:e.bottom-e.top}}function gg(e){return fg({x:e.x+(e.width||0)/2,y:e.y+(e.height||0)/2})}function yg(e){for(var i=e.waypoints,t=i.reduce(function(p,h,m){var A=i[m-1];if(A){var k=p[p.length-1],V=k&&k.endLength||0,z=vg(A,h);p.push({start:A,end:h,startLength:V,endLength:V+z,length:z})}return p},[]),s=t.reduce(function(p,h){return p+h.length},0),n=s/2,r=0,a=t[r];a.endLength<n;)a=t[++r];var o=(n-a.startLength)/a.length,l={x:a.start.x+(a.end.x-a.start.x)*o,y:a.start.y+(a.end.y-a.start.y)*o};return l}function Vr(e){return Jf(e)?yg(e):gg(e)}function vg(e,i){return Math.sqrt(Math.pow(e.x-i.x,2)+Math.pow(e.y-i.y,2))}function Me(e){return e?"<"+e.$type+(e.id?' id="'+e.id:"")+'" />':"<null>"}function ln(e,i,t){return Y({id:e.id,type:e.$type,businessObject:e,di:i},t)}function Ag(e,i,t){var s=e.waypoint;return!s||s.length<2?[Vr(i),Vr(t)]:s.map(function(n){return{x:n.x,y:n.y}})}function ec(e,i,t,s){return new Error(e("element {element} referenced by {referenced}#{property} not yet drawn",{element:Me(t),referenced:Me(i),property:s}))}function Nt(e,i,t,s,n,r){this._eventBus=e,this._canvas=i,this._elementFactory=t,this._elementRegistry=s,this._translate=n,this._textRenderer=r}Nt.$inject=["eventBus","canvas","elementFactory","elementRegistry","translate","textRenderer"],Nt.prototype.add=function(e,i,t){var s,n=this._translate,r,a;if(J(i,"bpmndi:BPMNPlane")){var o=J(e,"bpmn:SubProcess")?{id:e.id+"_plane"}:{};s=this._elementFactory.createRoot(ln(e,i,o)),this._canvas.addRootElement(s)}else if(J(i,"bpmndi:BPMNShape")){var l=!ci(e,i),p=Cg(e);r=t&&(t.hidden||t.collapsed);var h=i.bounds;s=this._elementFactory.createShape(ln(e,i,{collapsed:l,hidden:r,x:Math.round(h.x),y:Math.round(h.y),width:Math.round(h.width),height:Math.round(h.height),isFrame:p})),J(e,"bpmn:BoundaryEvent")&&this._attachBoundary(e,s),J(e,"bpmn:Lane")&&(a=0),J(e,"bpmn:DataStoreReference")&&(bg(t,Vr(h))||(t=this._canvas.findRoot(t))),this._canvas.addShape(s,t,a)}else if(J(i,"bpmndi:BPMNEdge")){var m=this._getSource(e),A=this._getTarget(e);r=t&&(t.hidden||t.collapsed),s=this._elementFactory.createConnection(ln(e,i,{hidden:r,source:m,target:A,waypoints:Ag(i,m,A)})),J(e,"bpmn:DataAssociation")&&(t=this._canvas.findRoot(t)),this._canvas.addConnection(s,t,a)}else throw new Error(n("unknown di {di} for element {semantic}",{di:Me(i),semantic:Me(e)}));return Hf(e)&&$s(s)&&this.addLabel(e,i,s),this._eventBus.fire("bpmnElement.added",{element:s}),s},Nt.prototype._attachBoundary=function(e,i){var t=this._translate,s=e.attachedToRef;if(!s)throw new Error(t("missing {semantic}#attachedToRef",{semantic:Me(e)}));var n=this._elementRegistry.get(s.id),r=n&&n.attachers;if(!n)throw ec(t,e,s,"attachedToRef");i.host=n,r||(n.attachers=r=[]),r.indexOf(i)===-1&&r.push(i)},Nt.prototype.addLabel=function(e,i,t){var s,n,r;return s=zf(i,t),n=$s(t),n&&(s=this._textRenderer.getExternalLabelBounds(s,n)),r=this._elementFactory.createLabel(ln(e,i,{id:e.id+"_label",labelTarget:t,type:"label",hidden:t.hidden||!$s(t),x:Math.round(s.x),y:Math.round(s.y),width:Math.round(s.width),height:Math.round(s.height)})),this._canvas.addShape(r,t.parent)},Nt.prototype._getConnectedElement=function(e,i){var t,s,n=e.$type,r=this._translate;if(s=e[i+"Ref"],i==="source"&&n==="bpmn:DataInputAssociation"&&(s=s&&s[0]),(i==="source"&&n==="bpmn:DataOutputAssociation"||i==="target"&&n==="bpmn:DataInputAssociation")&&(s=e.$parent),t=s&&this._getElement(s),t)return t;throw s?ec(r,e,s,i+"Ref"):new Error(r("{semantic}#{side} Ref not specified",{semantic:Me(e),side:i}))},Nt.prototype._getSource=function(e){return this._getConnectedElement(e,"source")},Nt.prototype._getTarget=function(e){return this._getConnectedElement(e,"target")},Nt.prototype._getElement=function(e){return this._elementRegistry.get(e.id)};function bg(e,i){var t=i.x,s=i.y;return t>=e.x&&t<=e.x+e.width&&s>=e.y&&s<=e.y+e.height}function Cg(e){return J(e,"bpmn:Group")}const wg={__depends__:[dg,{__depends__:[$l],bpmnImporter:["type",Nt]}]};function Qr(e){return e.originalEvent||e.srcEvent}function xg(){return/mac/i.test(navigator.platform)}function tc(e,i){return(Qr(e)||e).button===i}function ms(e){return tc(e,0)}function Eg(e){return tc(e,1)}function Tg(e){var i=Qr(e)||e;return ms(e)?xg()?i.metaKey:i.ctrlKey:!1}function Ig(e){var i=Qr(e)||e;return ms(e)&&i.shiftKey}function kg(e){return!0}function cn(e){return ms(e)||Eg(e)}var ic=500;function sc(e,i,t){var s=this;function n(I,F,P){if(!o(I,F)){var L,B,U;P?B=i.getGraphics(P):(L=F.delegateTarget||F.target,L&&(B=L,P=i.get(B))),!(!B||!P)&&(U=e.fire(I,{element:P,gfx:B,originalEvent:F}),U===!1&&(F.stopPropagation(),F.preventDefault()))}}var r={};function a(I){return r[I]}function o(I,F){var P=p[I]||ms;return!P(F)}var l={click:"element.click",contextmenu:"element.contextmenu",dblclick:"element.dblclick",mousedown:"element.mousedown",mousemove:"element.mousemove",mouseover:"element.hover",mouseout:"element.out",mouseup:"element.mouseup"},p={"element.contextmenu":kg,"element.mousedown":cn,"element.mouseup":cn,"element.click":cn,"element.dblclick":cn};function h(I,F,P){var L=l[I];if(!L)throw new Error("unmapped DOM event name <"+I+">");return n(L,F,P)}var m="svg, .djs-element";function A(I,F,P,L){var B=r[P]=function(U){n(P,U)};L&&(p[P]=L),B.$delegate=Bi.bind(I,m,F,B)}function k(I,F,P){var L=a(P);!L||Bi.unbind(I,F,L.$delegate)}function V(I){Q(l,function(F,P){A(I,P,F)})}function z(I){Q(l,function(F,P){k(I,P,F)})}e.on("canvas.destroy",function(I){z(I.svg)}),e.on("canvas.init",function(I){V(I.svg)}),e.on(["shape.added","connection.added"],function(I){var F=I.element,P=I.gfx;e.fire("interactionEvents.createHit",{element:F,gfx:P})}),e.on(["shape.changed","connection.changed"],ic,function(I){var F=I.element,P=I.gfx;e.fire("interactionEvents.updateHit",{element:F,gfx:P})}),e.on("interactionEvents.createHit",ic,function(I){var F=I.element,P=I.gfx;s.createDefaultHit(F,P)}),e.on("interactionEvents.updateHit",function(I){var F=I.element,P=I.gfx;s.updateDefaultHit(F,P)});var ie=D("djs-hit djs-hit-stroke"),Z=D("djs-hit djs-hit-click-stroke"),G=D("djs-hit djs-hit-all"),N=D("djs-hit djs-hit-no-move"),T={all:G,"click-stroke":Z,stroke:ie,"no-move":N};function D(I,F){return F=Y({stroke:"white",strokeWidth:15},F||{}),t.cls(I,["no-fill","no-border"],F)}function _(I,F){var P=T[F];if(!P)throw new Error("invalid hit type <"+F+">");return fe(I,P),I}function S(I,F){Ee(I,F)}this.removeHits=function(I){var F=Fm(".djs-hit",I);Q(F,ps)},this.createDefaultHit=function(I,F){var P=I.waypoints,L=I.isFrame,B;return P?this.createWaypointsHit(F,P):(B=L?"stroke":"all",this.createBoxHit(F,B,{width:I.width,height:I.height}))},this.createWaypointsHit=function(I,F){var P=Mr(F);return _(P,"stroke"),S(I,P),P},this.createBoxHit=function(I,F,P){P=Y({x:0,y:0},P);var L=ge("rect");return _(L,F),fe(L,P),S(I,L),L},this.updateDefaultHit=function(I,F){var P=ht(".djs-hit",F);if(!!P)return I.waypoints?Ul(P,I.waypoints):fe(P,{width:I.width,height:I.height}),P},this.fire=n,this.triggerMouseEvent=h,this.mouseHandler=a,this.registerEvent=A,this.unregisterEvent=k}sc.$inject=["eventBus","elementRegistry","styles"];const Ng={__init__:["interactionEvents"],interactionEvents:["type",sc]};function fi(e,i){i=!!i,ut(e)||(e=[e]);var t,s,n,r;return Q(e,function(a){var o=a;a.waypoints&&!i&&(o=fi(a.waypoints,!0));var l=o.x,p=o.y,h=o.height||0,m=o.width||0;(l<t||t===void 0)&&(t=l),(p<s||s===void 0)&&(s=p),(l+m>n||n===void 0)&&(n=l+m),(p+h>r||r===void 0)&&(r=p+h)}),{x:t,y:s,height:r-s,width:n-t}}function nc(e){return"waypoints"in e?"connection":"x"in e?"shape":"root"}function rc(e){return!!(e&&e.isFrame)}var Sg=500,_g=1e3;function mi(e,i){this._eventBus=e,this.offset=5;var t=i.cls("djs-outline",["no-fill"]),s=this;function n(r){var a=ge("rect");return fe(a,Y({x:0,y:0,rx:4,width:100,height:100},t)),a}e.on(["shape.added","shape.changed"],Sg,function(r){var a=r.element,o=r.gfx,l=ht(".djs-outline",o);l||(l=s.getOutline(a)||n(),Ee(o,l)),s.updateShapeOutline(l,a)}),e.on(["connection.added","connection.changed"],function(r){var a=r.element,o=r.gfx,l=ht(".djs-outline",o);l||(l=n(),Ee(o,l)),s.updateConnectionOutline(l,a)})}mi.prototype.updateShapeOutline=function(e,i){var t=!1,s=this._getProviders();s.length&&Q(s,function(n){t=t||n.updateOutline(i,e)}),t||fe(e,{x:-this.offset,y:-this.offset,width:i.width+this.offset*2,height:i.height+this.offset*2})},mi.prototype.updateConnectionOutline=function(e,i){var t=fi(i);fe(e,{x:t.x-this.offset,y:t.y-this.offset,width:t.width+this.offset*2,height:t.height+this.offset*2})},mi.prototype.registerProvider=function(e,i){i||(i=e,e=_g),this._eventBus.on("outline.getProviders",e,function(t){t.providers.push(i)})},mi.prototype._getProviders=function(){var e=this._eventBus.createEvent({type:"outline.getProviders",providers:[]});return this._eventBus.fire(e),e.providers},mi.prototype.getOutline=function(e){var i,t=this._getProviders();return Q(t,function(s){!Qt(s.getOutline)||(i=i||s.getOutline(e))}),i},mi.$inject=["eventBus","styles","elementRegistry"];const Pg={__init__:["outline"],outline:["type",mi]};function Fi(e,i){this._eventBus=e,this._canvas=i,this._selectedElements=[];var t=this;e.on(["shape.remove","connection.remove"],function(s){var n=s.element;t.deselect(n)}),e.on(["diagram.clear","root.set"],function(s){t.select(null)})}Fi.$inject=["eventBus","canvas"],Fi.prototype.deselect=function(e){var i=this._selectedElements,t=i.indexOf(e);if(t!==-1){var s=i.slice();i.splice(t,1),this._eventBus.fire("selection.changed",{oldSelection:s,newSelection:i})}},Fi.prototype.get=function(){return this._selectedElements},Fi.prototype.isSelected=function(e){return this._selectedElements.indexOf(e)!==-1},Fi.prototype.select=function(e,i){var t=this._selectedElements,s=t.slice();ut(e)||(e=e?[e]:[]);var n=this._canvas,r=n.getRootElement();e=e.filter(function(a){var o=n.findRoot(a);return r===o}),i?Q(e,function(a){t.indexOf(a)===-1&&t.push(a)}):this._selectedElements=t=e.slice(),this._eventBus.fire("selection.changed",{oldSelection:s,newSelection:t})};var ac="hover",oc="selected",un=6;function Ur(e,i,t){this._canvas=e;var s=this;this._multiSelectionBox=null;function n(a,o){e.addMarker(a,o)}function r(a,o){e.removeMarker(a,o)}i.on("element.hover",function(a){n(a.element,ac)}),i.on("element.out",function(a){r(a.element,ac)}),i.on("selection.changed",function(a){function o(m){r(m,oc)}function l(m){n(m,oc)}var p=a.oldSelection,h=a.newSelection;Q(p,function(m){h.indexOf(m)===-1&&o(m)}),Q(h,function(m){p.indexOf(m)===-1&&l(m)}),s._updateSelectionOutline(h)}),i.on("element.changed",function(a){t.isSelected(a.element)&&s._updateSelectionOutline(t.get())})}Ur.$inject=["canvas","eventBus","selection"],Ur.prototype._updateSelectionOutline=function(e){var i=this._canvas.getLayer("selectionOutline");Bl(i);var t=e.length>1,s=this._canvas.getContainer();if(Ze(s)[t?"add":"remove"]("djs-multi-select"),!!t){var n=Dg(fi(e)),r=ge("rect");fe(r,Y({rx:3},n)),Ze(r).add("djs-selection-outline"),Ee(i,r)}};function Dg(e){return{x:e.x-un,y:e.y-un,width:e.width+un*2,height:e.height+un*2}}function lc(e,i,t,s){e.on("create.end",500,function(n){var r=n.context,a=r.canExecute,o=r.elements,l=r.hints||{},p=l.autoSelect;if(a){if(p===!1)return;ut(p)?i.select(p):i.select(o.filter(Og))}}),e.on("connect.end",500,function(n){var r=n.context,a=r.connection;a&&i.select(a)}),e.on("shape.move.end",500,function(n){var r=n.previousSelection||[],a=s.get(n.context.shape.id),o=dt(r,function(l){return a.id===l.id});o||i.select(a)}),e.on("element.click",function(n){if(!!ms(n)){var r=n.element;r===t.getRootElement()&&(r=null);var a=i.isSelected(r),o=i.get().length>1,l=Tg(n)||Ig(n);if(a&&o)return l?i.deselect(r):i.select(r);a?i.deselect(r):i.select(r,l)}})}lc.$inject=["eventBus","selection","canvas","elementRegistry"];function Og(e){return!e.hidden}const Mg={__init__:["selectionVisuals","selectionBehavior"],__depends__:[Ng,Pg],selection:["type",Fi],selectionVisuals:["type",Ur],selectionBehavior:["type",lc]};function cc(e){this._counter=0,this._prefix=(e?e+"-":"")+Math.floor(Math.random()*1e9)+"-"}cc.prototype.next=function(){return this._prefix+ ++this._counter};var Bg=new cc("ov"),Rg=500;function _e(e,i,t,s){this._eventBus=i,this._canvas=t,this._elementRegistry=s,this._ids=Bg,this._overlayDefaults=Y({show:null,scale:!0},e&&e.defaults),this._overlays={},this._overlayContainers=[],this._overlayRoot=Lg(t.getContainer()),this._init()}_e.$inject=["config.overlays","eventBus","canvas","elementRegistry"],_e.prototype.get=function(e){if(pt(e)&&(e={id:e}),pt(e.element)&&(e.element=this._elementRegistry.get(e.element)),e.element){var i=this._getOverlayContainer(e.element,!0);return i?e.type?Oi(i.overlays,Sl({type:e.type})):i.overlays.slice():[]}else return e.type?Oi(this._overlays,Sl({type:e.type})):e.id?this._overlays[e.id]:null},_e.prototype.add=function(e,i,t){if(oi(i)&&(t=i,i=null),e.id||(e=this._elementRegistry.get(e)),!t.position)throw new Error("must specifiy overlay position");if(!t.html)throw new Error("must specifiy overlay html");if(!e)throw new Error("invalid element specified");var s=this._ids.next();return t=Y({},this._overlayDefaults,t,{id:s,type:i,element:e,html:t.html}),this._addOverlay(t),s},_e.prototype.remove=function(e){var i=this.get(e)||[];ut(i)||(i=[i]);var t=this;Q(i,function(s){var n=t._getOverlayContainer(s.element,!0);if(s&&(Ri(s.html),Ri(s.htmlContainer),delete s.htmlContainer,delete s.element,delete t._overlays[s.id]),n){var r=n.overlays.indexOf(s);r!==-1&&n.overlays.splice(r,1)}})},_e.prototype.isShown=function(){return this._overlayRoot.style.display!=="none"},_e.prototype.show=function(){pn(this._overlayRoot)},_e.prototype.hide=function(){pn(this._overlayRoot,!1)},_e.prototype.clear=function(){this._overlays={},this._overlayContainers=[],Jl(this._overlayRoot)},_e.prototype._updateOverlayContainer=function(e){var i=e.element,t=e.html,s=i.x,n=i.y;if(i.waypoints){var r=fi(i);s=r.x,n=r.y}uc(t,s,n),ql(e.html,"data-container-id",i.id)},_e.prototype._updateOverlay=function(e){var i=e.position,t=e.htmlContainer,s=e.element,n=i.left,r=i.top;if(i.right!==void 0){var a;s.waypoints?a=fi(s).width:a=s.width,n=i.right*-1+a}if(i.bottom!==void 0){var o;s.waypoints?o=fi(s).height:o=s.height,r=i.bottom*-1+o}uc(t,n||0,r||0),this._updateOverlayVisibilty(e,this._canvas.viewbox())},_e.prototype._createOverlayContainer=function(e){var i=$e('<div class="djs-overlays" />');Oe(i,{position:"absolute"}),this._overlayRoot.appendChild(i);var t={html:i,element:e,overlays:[]};return this._updateOverlayContainer(t),this._overlayContainers.push(t),t},_e.prototype._updateRoot=function(e){var i=e.scale||1,t="matrix("+[i,0,0,i,-1*e.x*i,-1*e.y*i].join(",")+")";pc(this._overlayRoot,t)},_e.prototype._getOverlayContainer=function(e,i){var t=dt(this._overlayContainers,function(s){return s.element===e});return!t&&!i?this._createOverlayContainer(e):t},_e.prototype._addOverlay=function(e){var i=e.id,t=e.element,s=e.html,n,r;s.get&&s.constructor.prototype.jquery&&(s=s.get(0)),pt(s)&&(s=$e(s)),r=this._getOverlayContainer(t),n=$e('<div class="djs-overlay" data-overlay-id="'+i+'">'),Oe(n,{position:"absolute"}),n.appendChild(s),e.type&&pi(n).add("djs-overlay-"+e.type);var a=this._canvas.findRoot(t),o=this._canvas.getRootElement();pn(n,a===o),e.htmlContainer=n,r.overlays.push(e),r.html.appendChild(n),this._overlays[i]=e,this._updateOverlay(e),this._updateOverlayVisibilty(e,this._canvas.viewbox())},_e.prototype._updateOverlayVisibilty=function(e,i){var t=e.show,s=this._canvas.findRoot(e.element),n=t&&t.minZoom,r=t&&t.maxZoom,a=e.htmlContainer,o=this._canvas.getRootElement(),l=!0;(s!==o||t&&(Pi(n)&&n>i.scale||Pi(r)&&r<i.scale))&&(l=!1),pn(a,l),this._updateOverlayScale(e,i)},_e.prototype._updateOverlayScale=function(e,i){var t=e.scale,s,n,r=e.htmlContainer,a,o="";t!==!0&&(t===!1?(s=1,n=1):(s=t.min,n=t.max),Pi(s)&&i.scale<s&&(a=(1/i.scale||1)*s),Pi(n)&&i.scale>n&&(a=(1/i.scale||1)*n)),Pi(a)&&(o="scale("+a+","+a+")"),pc(r,o)},_e.prototype._updateOverlaysVisibilty=function(e){var i=this;Q(this._overlays,function(t){i._updateOverlayVisibilty(t,e)})},_e.prototype._init=function(){var e=this._eventBus,i=this;function t(s){i._updateRoot(s),i._updateOverlaysVisibilty(s),i.show()}e.on("canvas.viewbox.changing",function(s){i.hide()}),e.on("canvas.viewbox.changed",function(s){t(s.viewbox)}),e.on(["shape.remove","connection.remove"],function(s){var n=s.element,r=i.get({element:n});Q(r,function(l){i.remove(l.id)});var a=i._getOverlayContainer(n);if(a){Ri(a.html);var o=i._overlayContainers.indexOf(a);o!==-1&&i._overlayContainers.splice(o,1)}}),e.on("element.changed",Rg,function(s){var n=s.element,r=i._getOverlayContainer(n,!0);r&&(Q(r.overlays,function(a){i._updateOverlay(a)}),i._updateOverlayContainer(r))}),e.on("element.marker.update",function(s){var n=i._getOverlayContainer(s.element,!0);n&&pi(n.html)[s.add?"add":"remove"](s.marker)}),e.on("root.set",function(){i._updateOverlaysVisibilty(i._canvas.viewbox())}),e.on("diagram.clear",this.clear,this)};function Lg(e){var i=$e('<div class="djs-overlay-container" />');return Oe(i,{position:"absolute",width:0,height:0}),e.insertBefore(i,e.firstChild),i}function uc(e,i,t){Oe(e,{left:i+"px",top:t+"px"})}function pn(e,i){e.style.display=i===!1?"none":""}function pc(e,i){e.style["transform-origin"]="top left",["","-ms-","-webkit-"].forEach(function(t){e.style[t+"transform"]=i})}const dc={__init__:["overlays"],overlays:["type",_e]};function hc(e,i,t,s){e.on("element.changed",function(n){var r=n.element;(r.parent||r===i.getRootElement())&&(n.gfx=t.getGraphics(r)),n.gfx&&e.fire(nc(r)+".changed",n)}),e.on("elements.changed",function(n){var r=n.elements;r.forEach(function(a){e.fire("element.changed",{element:a})}),s.updateContainments(r)}),e.on("shape.changed",function(n){s.update("shape",n.element,n.gfx)}),e.on("connection.changed",function(n){s.update("connection",n.element,n.gfx)})}hc.$inject=["eventBus","canvas","elementRegistry","graphicsFactory"];const Fg={__init__:["changeSupport"],changeSupport:["type",hc]};var jg=1e3;function Ve(e){this._eventBus=e}Ve.$inject=["eventBus"];function Vg(e,i){return function(t){return e.call(i||null,t.context,t.command,t)}}Ve.prototype.on=function(e,i,t,s,n,r){if((Qt(i)||Vt(i))&&(r=n,n=s,s=t,t=i,i=null),Qt(t)&&(r=n,n=s,s=t,t=jg),oi(n)&&(r=n,n=!1),!Qt(s))throw new Error("handlerFn must be a function");ut(e)||(e=[e]);var a=this._eventBus;Q(e,function(o){var l=["commandStack",o,i].filter(function(p){return p}).join(".");a.on(l,t,n?Vg(s,r):s,r)})},Ve.prototype.canExecute=St("canExecute"),Ve.prototype.preExecute=St("preExecute"),Ve.prototype.preExecuted=St("preExecuted"),Ve.prototype.execute=St("execute"),Ve.prototype.executed=St("executed"),Ve.prototype.postExecute=St("postExecute"),Ve.prototype.postExecuted=St("postExecuted"),Ve.prototype.revert=St("revert"),Ve.prototype.reverted=St("reverted");function St(e){return function(t,s,n,r,a){(Qt(t)||Vt(t))&&(a=r,r=n,n=s,s=t,t=null),this.on(t,e,s,n,r,a)}}function Gr(e,i){i.invoke(Ve,this),this.executed(function(t){var s=t.context;s.rootElement?e.setRootElement(s.rootElement):s.rootElement=e.getRootElement()}),this.revert(function(t){var s=t.context;s.rootElement&&e.setRootElement(s.rootElement)})}vt(Gr,Ve),Gr.$inject=["canvas","injector"];const Qg={__init__:["rootElementsBehavior"],rootElementsBehavior:["type",Gr]};var Ug={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Gg(e){return e=""+e,e&&e.replace(/[&<>"']/g,function(i){return Ug[i]})}var qg="_plane";function qr(e){var i=e.id;return J(e,"bpmn:SubProcess")?Jg(i):i}function Jg(e){return e+qg}var Hg="bjs-breadcrumbs-shown";function fc(e,i,t){var s=$e('<ul class="bjs-breadcrumbs"></ul>'),n=t.getContainer(),r=pi(n);n.appendChild(s);var a=[];e.on("element.changed",function(l){var p=l.element,h=xe(p),m=dt(a,function(A){return A===h});!m||o()});function o(l){l&&(a=Kg(l));var p=a.map(function(m){var A=Gg(m.name||m.id),k=$e('<li><span class="bjs-crumb"><a title="'+A+'">'+A+"</a></span></li>"),V=t.findRoot(qr(m))||t.findRoot(m.id);if(!V&&J(m,"bpmn:Process")){var z=i.find(function(ie){var Z=xe(ie);return Z&&Z.get("processRef")&&Z.get("processRef")===m});V=t.findRoot(z.id)}return k.addEventListener("click",function(){t.setRootElement(V)}),k});s.innerHTML="";var h=p.length>1;r.toggle(Hg,h),p.forEach(function(m){s.appendChild(m)})}e.on("root.set",function(l){o(l.element)})}fc.$inject=["eventBus","elementRegistry","canvas"];function Kg(e){for(var i=xe(e),t=[],s=i;s;s=s.$parent)(J(s,"bpmn:SubProcess")||J(s,"bpmn:Process"))&&t.push(s);return t.reverse()}function mc(e,i){var t=null,s=new Wg;e.on("root.set",function(n){var r=n.element,a=i.viewbox(),o=s.get(r);if(s.set(t,{x:a.x,y:a.y,zoom:a.scale}),t=r,!(J(r,"bpmn:Collaboration")&&!o)){o=o||{x:0,y:0,zoom:1};var l=(a.x-o.x)*a.scale,p=(a.y-o.y)*a.scale;(l!==0||p!==0)&&i.scroll({dx:l,dy:p}),o.zoom!==a.scale&&i.zoom(o.zoom,{x:0,y:0})}}),e.on("diagram.clear",function(){s.clear(),t=null})}mc.$inject=["eventBus","canvas"];function Wg(){this._entries=[],this.set=function(e,i){var t=!1;for(var s in this._entries)if(this._entries[s][0]===e){this._entries[s][1]=i,t=!0;break}t||this._entries.push([e,i])},this.get=function(e){for(var i in this._entries)if(this._entries[i][0]===e)return this._entries[i][1];return null},this.clear=function(){this._entries.length=0},this.remove=function(e){var i=-1;for(var t in this._entries)if(this._entries[t][0]===e){i=t;break}i!==-1&&this._entries.splice(i,1)}}var gc={x:180,y:160};function gi(e,i){this._eventBus=e,this._moddle=i;var t=this;e.on("import.render.start",1500,function(s,n){t._handleImport(n.definitions)})}gi.prototype._handleImport=function(e){if(!!e.diagrams){var i=this;this._definitions=e,this._processToDiagramMap={},e.diagrams.forEach(function(s){!s.plane||!s.plane.bpmnElement||(i._processToDiagramMap[s.plane.bpmnElement.id]=s)});var t=[];e.diagrams.forEach(function(s){var n=i._createNewDiagrams(s.plane);Array.prototype.push.apply(t,n)}),t.forEach(function(s){i._movePlaneElementsToOrigin(s.plane)})}},gi.prototype._createNewDiagrams=function(e){var i=this,t=[],s=[];e.get("planeElement").forEach(function(r){var a=r.bpmnElement;if(!!a){var o=a.$parent;J(a,"bpmn:SubProcess")&&!r.isExpanded&&t.push(a),zg(a,e)&&s.push({diElement:r,parent:o})}});var n=[];return t.forEach(function(r){if(!i._processToDiagramMap[r.id]){var a=i._createDiagram(r);i._processToDiagramMap[r.id]=a,n.push(a)}}),s.forEach(function(r){for(var a=r.diElement,o=r.parent;o&&t.indexOf(o)===-1;)o=o.$parent;if(!!o){var l=i._processToDiagramMap[o.id];i._moveToDiPlane(a,l.plane)}}),n},gi.prototype._movePlaneElementsToOrigin=function(e){var i=e.get("planeElement"),t=Yg(e),s={x:t.x-gc.x,y:t.y-gc.y};i.forEach(function(n){n.waypoint?n.waypoint.forEach(function(r){r.x=r.x-s.x,r.y=r.y-s.y}):n.bounds&&(n.bounds.x=n.bounds.x-s.x,n.bounds.y=n.bounds.y-s.y)})},gi.prototype._moveToDiPlane=function(e,i){var t=yc(e),s=t.plane.get("planeElement");s.splice(s.indexOf(e),1),i.get("planeElement").push(e)},gi.prototype._createDiagram=function(e){var i=this._moddle.create("bpmndi:BPMNPlane",{bpmnElement:e}),t=this._moddle.create("bpmndi:BPMNDiagram",{plane:i});return i.$parent=t,i.bpmnElement=e,t.$parent=this._definitions,this._definitions.diagrams.push(t),t},gi.$inject=["eventBus","moddle"];function yc(e){return J(e,"bpmndi:BPMNDiagram")?e:yc(e.$parent)}function Yg(e){var i={top:1/0,right:-1/0,bottom:-1/0,left:1/0};return e.planeElement.forEach(function(t){if(!!t.bounds){var s=jr(t.bounds);i.top=Math.min(s.top,i.top),i.left=Math.min(s.left,i.left)}}),mg(i)}function zg(e,i){var t=e.$parent;return!(!J(t,"bpmn:SubProcess")||t===i.bpmnElement||Gf(e,["bpmn:DataInputAssociation","bpmn:DataOutputAssociation"]))}var dn=250,Xg='<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>',Zg="bjs-drilldown-empty";function Jt(e,i,t,s){Ve.call(this,i),this._canvas=e,this._eventBus=i,this._elementRegistry=t,this._overlays=s;var n=this;this.executed("shape.toggleCollapse",dn,function(r){var a=r.shape;n._canDrillDown(a)?n._addOverlay(a):n._removeOverlay(a)},!0),this.reverted("shape.toggleCollapse",dn,function(r){var a=r.shape;n._canDrillDown(a)?n._addOverlay(a):n._removeOverlay(a)},!0),this.executed(["shape.create","shape.move","shape.delete"],dn,function(r){var a=r.oldParent,o=r.newParent||r.parent,l=r.shape;n._canDrillDown(l)&&n._addOverlay(l),n._updateDrilldownOverlay(a),n._updateDrilldownOverlay(o),n._updateDrilldownOverlay(l)},!0),this.reverted(["shape.create","shape.move","shape.delete"],dn,function(r){var a=r.oldParent,o=r.newParent||r.parent,l=r.shape;n._canDrillDown(l)&&n._addOverlay(l),n._updateDrilldownOverlay(a),n._updateDrilldownOverlay(o),n._updateDrilldownOverlay(l)},!0),i.on("import.render.complete",function(){t.filter(function(r){return n._canDrillDown(r)}).map(function(r){n._addOverlay(r)})})}vt(Jt,Ve),Jt.prototype._updateDrilldownOverlay=function(e){var i=this._canvas;if(!!e){var t=i.findRoot(e);t&&this._updateOverlayVisibility(t)}},Jt.prototype._canDrillDown=function(e){var i=this._canvas;return J(e,"bpmn:SubProcess")&&i.findRoot(qr(e))},Jt.prototype._updateOverlayVisibility=function(e){var i=this._overlays,t=xe(e),s=i.get({element:t.id,type:"drilldown"})[0];if(!!s){var n=t&&t.get("flowElements")&&t.get("flowElements").length;pi(s.html).toggle(Zg,!n)}},Jt.prototype._addOverlay=function(e){var i=this._canvas,t=this._overlays,s=t.get({element:e,type:"drilldown"});s.length&&this._removeOverlay(e);var n=$e('<button class="bjs-drilldown">'+Xg+"</button>");n.addEventListener("click",function(){i.setRootElement(i.findRoot(qr(e)))}),t.add(e,"drilldown",{position:{bottom:-7,right:-8},html:n}),this._updateOverlayVisibility(e)},Jt.prototype._removeOverlay=function(e){var i=this._overlays;i.remove({element:e,type:"drilldown"})},Jt.$inject=["canvas","eventBus","elementRegistry","overlays"];const $g={__depends__:[dc,Fg,Qg],__init__:["drilldownBreadcrumbs","drilldownOverlayBehavior","drilldownCentering","subprocessCompatibility"],drilldownBreadcrumbs:["type",fc],drilldownCentering:["type",mc],drilldownOverlayBehavior:["type",Jt],subprocessCompatibility:["type",gi]},ey=/^class[ {]/;function ty(e){return ey.test(e.toString())}function Jr(e){return Array.isArray(e)}function Hr(e,i){return Object.prototype.hasOwnProperty.call(e,i)}function hn(...e){e.length===1&&Jr(e[0])&&(e=e[0]),e=[...e];const i=e.pop();return i.$inject=e,i}const iy=/constructor\s*[^(]*\(\s*([^)]*)\)/m,sy=/^(?:async\s+)?(?:function\s*[^(]*)?(?:\(\s*([^)]*)\)|(\w+))/m,ny=/\/\*([^*]*)\*\//m;function ry(e){if(typeof e!="function")throw new Error(`Cannot annotate "${e}". Expected a function!`);const i=e.toString().match(ty(e)?iy:sy);if(!i)return[];const t=i[1]||i[2];return t&&t.split(",").map(s=>{const n=s.match(ny);return(n&&n[1]||s).trim()})||[]}function vc(e,i){const t=i||{get:function(N,T){if(s.push(N),T===!1)return null;throw o(`No provider for "${N}"!`)}},s=[],n=this._providers=Object.create(t._providers||null),r=this._instances=Object.create(null),a=r.injector=this,o=function(N){const T=s.join(" -> ");return s.length=0,new Error(T?`${N} (Resolving: ${T})`:N)};function l(N,T){if(!n[N]&&N.includes(".")){const D=N.split(".");let _=l(D.shift());for(;D.length;)_=_[D.shift()];return _}if(Hr(r,N))return r[N];if(Hr(n,N)){if(s.indexOf(N)!==-1)throw s.push(N),o("Cannot resolve circular dependency!");return s.push(N),r[N]=n[N][0](n[N][1]),s.pop(),r[N]}return t.get(N,T)}function p(N,T){if(typeof T>"u"&&(T={}),typeof N!="function")if(Jr(N))N=hn(N.slice());else throw o(`Cannot invoke "${N}". Expected a function!`);const _=(N.$inject||ry(N)).map(S=>Hr(T,S)?T[S]:l(S));return{fn:N,dependencies:_}}function h(N){const{fn:T,dependencies:D}=p(N),_=Function.prototype.bind.call(T,null,...D);return new _}function m(N,T,D){const{fn:_,dependencies:S}=p(N,D);return _.apply(T,S)}function A(N){return hn(T=>N.get(T))}function k(N,T){if(T&&T.length){const D=Object.create(null),_=Object.create(null),S=[],I=[],F=[];let P,L,B,U;for(let X in n)P=n[X],T.indexOf(X)!==-1&&(P[2]==="private"?(L=S.indexOf(P[3]),L===-1?(B=P[3].createChild([],T),U=A(B),S.push(P[3]),I.push(B),F.push(U),D[X]=[U,X,"private",B]):D[X]=[F[L],X,"private",I[L]]):D[X]=[P[2],P[1]],_[X]=!0),(P[2]==="factory"||P[2]==="type")&&P[1].$scope&&T.forEach(Ne=>{P[1].$scope.indexOf(Ne)!==-1&&(D[X]=[P[2],P[1]],_[Ne]=!0)});T.forEach(X=>{if(!_[X])throw new Error('No provider for "'+X+'". Cannot use provider from the parent!')}),N.unshift(D)}return new vc(N,a)}const V={factory:m,type:h,value:function(N){return N}};function z(N,T){const D=N.__init__||[];return function(){D.forEach(_=>{typeof _=="string"?T.get(_):T.invoke(_)})}}function ie(N){const T=N.__exports__;if(T){const D=N.__modules__,_=Object.keys(N).reduce((L,B)=>(B!=="__exports__"&&B!=="__modules__"&&B!=="__init__"&&B!=="__depends__"&&(L[B]=N[B]),L),Object.create(null)),S=(D||[]).concat(_),I=k(S),F=hn(function(L){return I.get(L)});T.forEach(function(L){n[L]=[F,L,"private",I]});const P=(N.__init__||[]).slice();return P.unshift(function(){I.init()}),N=Object.assign({},N,{__init__:P}),z(N,I)}return Object.keys(N).forEach(function(D){if(D==="__init__"||D==="__depends__")return;const _=N[D];if(_[2]==="private"){n[D]=_;return}const S=_[0],I=_[1];n[D]=[V[S],ay(S,I),S]}),z(N,a)}function Z(N,T){return N.indexOf(T)!==-1||(N=(T.__depends__||[]).reduce(Z,N),N.indexOf(T)!==-1)?N:N.concat(T)}function G(N){const T=N.reduce(Z,[]).map(ie);let D=!1;return function(){D||(D=!0,T.forEach(_=>_()))}}this.get=l,this.invoke=m,this.instantiate=h,this.createChild=k,this.init=G(e)}function ay(e,i){return e!=="value"&&Jr(i)&&(i=hn(i.slice())),i}var oy=1;function Ht(e,i){It.call(this,e,oy),this.CONNECTION_STYLE=i.style(["no-fill"],{strokeWidth:5,stroke:"fuchsia"}),this.SHAPE_STYLE=i.style({fill:"white",stroke:"fuchsia",strokeWidth:2}),this.FRAME_STYLE=i.style(["no-fill"],{stroke:"fuchsia",strokeDasharray:4,strokeWidth:2})}vt(Ht,It),Ht.prototype.canRender=function(){return!0},Ht.prototype.drawShape=function(i,t,s){var n=ge("rect");return fe(n,{x:0,y:0,width:t.width||0,height:t.height||0}),rc(t)?fe(n,Y({},this.FRAME_STYLE,s||{})):fe(n,Y({},this.SHAPE_STYLE,s||{})),Ee(i,n),n},Ht.prototype.drawConnection=function(i,t,s){var n=Mr(t.waypoints,Y({},this.CONNECTION_STYLE,s||{}));return Ee(i,n),n},Ht.prototype.getShapePath=function(i){var t=i.x,s=i.y,n=i.width,r=i.height,a=[["M",t,s],["l",n,0],["l",0,r],["l",-n,0],["z"]];return ui(a)},Ht.prototype.getConnectionPath=function(i){var t=i.waypoints,s,n,r=[];for(s=0;n=t[s];s++)n=n.original||n,r.push([s===0?"M":"L",n.x,n.y]);return ui(r)},Ht.$inject=["eventBus","styles"];function ly(){var e={"no-fill":{fill:"none"},"no-border":{strokeOpacity:0},"no-events":{pointerEvents:"none"}},i=this;this.cls=function(t,s,n){var r=this.style(s,n);return Y(r,{class:t})},this.style=function(t,s){!ut(t)&&!s&&(s=t,t=[]);var n=Mi(t,function(r,a){return Y(r,e[a]||{})},{});return s?Y(n,s):n},this.computeStyle=function(t,s,n){return ut(s)||(n=s,s=[]),i.style(s||[],Y({},n,t||{}))}}const cy={__init__:["defaultRenderer"],defaultRenderer:["type",Ht],styles:["type",ly]};function uy(e,i){if(!e||!i)return-1;var t=e.indexOf(i);return t!==-1&&e.splice(t,1),t}function py(e,i,t){if(!(!e||!i)){typeof t!="number"&&(t=-1);var s=e.indexOf(i);if(s!==-1){if(s===t)return;if(t!==-1)e.splice(s,1);else return}t!==-1?e.splice(t,0,i):e.push(i)}}function fn(e,i){return Math.round(e*i)/i}function Ac(e){return Vt(e)?e+"px":e}function dy(e){for(;e.parent;)e=e.parent;return e}function hy(e){e=Y({},{width:"100%",height:"100%"},e);const i=e.container||document.body,t=document.createElement("div");return t.setAttribute("class","djs-container djs-parent"),Oe(t,{position:"relative",overflow:"hidden",width:Ac(e.width),height:Ac(e.height)}),i.appendChild(t),t}function bc(e,i,t){const s=ge("g");Ze(s).add(i);const n=t!==void 0?t:e.childNodes.length-1;return e.insertBefore(s,e.childNodes[n]||null),s}const fy="base",Cc=0,my=1,gy={shape:["x","y","width","height"],connection:["waypoints"]};function ee(e,i,t,s){this._eventBus=i,this._elementRegistry=s,this._graphicsFactory=t,this._rootsIdx=0,this._layers={},this._planes=[],this._rootElement=null,this._init(e||{})}ee.$inject=["config.canvas","eventBus","graphicsFactory","elementRegistry"],ee.prototype._init=function(e){const i=this._eventBus,t=this._container=hy(e),s=this._svg=ge("svg");fe(s,{width:"100%",height:"100%"}),Ee(t,s);const n=this._viewport=bc(s,"viewport");e.deferUpdate&&(this._viewboxChanged=Ff(Ut(this._viewboxChanged,this),300)),i.on("diagram.init",()=>{i.fire("canvas.init",{svg:s,viewport:n})}),i.on(["shape.added","connection.added","shape.removed","connection.removed","elements.changed","root.set"],()=>{delete this._cachedViewbox}),i.on("diagram.destroy",500,this._destroy,this),i.on("diagram.clear",500,this._clear,this)},ee.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},ee.prototype._clear=function(){this._elementRegistry.getAll().forEach(i=>{const t=nc(i);t==="root"?this.removeRootElement(i):this._removeElement(i,t)}),this._planes=[],this._rootElement=null,delete this._cachedViewbox},ee.prototype.getDefaultLayer=function(){return this.getLayer(fy,Cc)},ee.prototype.getLayer=function(e,i){if(!e)throw new Error("must specify a name");let t=this._layers[e];if(t||(t=this._layers[e]=this._createLayer(e,i)),typeof i<"u"&&t.index!==i)throw new Error("layer <"+e+"> already created at index <"+i+">");return t.group},ee.prototype._getChildIndex=function(e){return Mi(this._layers,function(i,t){return t.visible&&e>=t.index&&i++,i},0)},ee.prototype._createLayer=function(e,i){typeof i>"u"&&(i=my);const t=this._getChildIndex(i);return{group:bc(this._viewport,"layer-"+e,t),index:i,visible:!0}},ee.prototype.showLayer=function(e){if(!e)throw new Error("must specify a name");const i=this._layers[e];if(!i)throw new Error("layer <"+e+"> does not exist");const t=this._viewport,s=i.group,n=i.index;if(i.visible)return s;const r=this._getChildIndex(n);return t.insertBefore(s,t.childNodes[r]||null),i.visible=!0,s},ee.prototype.hideLayer=function(e){if(!e)throw new Error("must specify a name");const i=this._layers[e];if(!i)throw new Error("layer <"+e+"> does not exist");const t=i.group;return i.visible&&(ps(t),i.visible=!1),t},ee.prototype._removeLayer=function(e){const i=this._layers[e];i&&(delete this._layers[e],ps(i.group))},ee.prototype.getActiveLayer=function(){const e=this._findPlaneForRoot(this.getRootElement());return e?e.layer:null},ee.prototype.findRoot=function(e){return typeof e=="string"&&(e=this._elementRegistry.get(e)),e?(this._findPlaneForRoot(dy(e))||{}).rootElement:void 0},ee.prototype.getRootElements=function(){return this._planes.map(function(e){return e.rootElement})},ee.prototype._findPlaneForRoot=function(e){return dt(this._planes,function(i){return i.rootElement===e})},ee.prototype.getContainer=function(){return this._container},ee.prototype._updateMarker=function(e,i,t){let s;e.id||(e=this._elementRegistry.get(e)),s=this._elementRegistry._elements[e.id],s&&(Q([s.gfx,s.secondaryGfx],function(n){n&&(t?Ze(n).add(i):Ze(n).remove(i))}),this._eventBus.fire("element.marker.update",{element:e,gfx:s.gfx,marker:i,add:!!t}))},ee.prototype.addMarker=function(e,i){this._updateMarker(e,i,!0)},ee.prototype.removeMarker=function(e,i){this._updateMarker(e,i,!1)},ee.prototype.hasMarker=function(e,i){e.id||(e=this._elementRegistry.get(e));const t=this.getGraphics(e);return Ze(t).has(i)},ee.prototype.toggleMarker=function(e,i){this.hasMarker(e,i)?this.removeMarker(e,i):this.addMarker(e,i)},ee.prototype.getRootElement=function(){const e=this._rootElement;return e||this._planes.length?e:this.setRootElement(this.addRootElement(null))},ee.prototype.addRootElement=function(e){const i=this._rootsIdx++;e||(e={id:"__implicitroot_"+i,children:[],isImplicit:!0});const t=e.layer="root-"+i;this._ensureValid("root",e);const s=this.getLayer(t,Cc);return this.hideLayer(t),this._addRoot(e,s),this._planes.push({rootElement:e,layer:s}),e},ee.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(t){return t.rootElement!==e}),this._rootElement===e&&(this._rootElement=null),e},ee.prototype.setRootElement=function(e){if(e===this._rootElement)return;let i;if(!e)throw new Error("rootElement required");return i=this._findPlaneForRoot(e),i||(e=this.addRootElement(e)),this._setRoot(e),e},ee.prototype._removeRoot=function(e){const i=this._elementRegistry,t=this._eventBus;t.fire("root.remove",{element:e}),t.fire("root.removed",{element:e}),i.remove(e)},ee.prototype._addRoot=function(e,i){const t=this._elementRegistry,s=this._eventBus;s.fire("root.add",{element:e}),t.add(e,i),s.fire("root.added",{element:e,gfx:i})},ee.prototype._setRoot=function(e,i){const t=this._rootElement;t&&(this._elementRegistry.updateGraphics(t,null,!0),this.hideLayer(t.layer)),e&&(i||(i=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})},ee.prototype._ensureValid=function(e,i){if(!i.id)throw new Error("element must have an id");if(this._elementRegistry.get(i.id))throw new Error("element <"+i.id+"> already exists");const t=gy[e];if(!kl(t,function(n){return typeof i[n]<"u"}))throw new Error("must supply { "+t.join(", ")+" } with "+e)},ee.prototype._setParent=function(e,i,t){py(i.children,e,t),e.parent=i},ee.prototype._addElement=function(e,i,t,s){t=t||this.getRootElement();const n=this._eventBus,r=this._graphicsFactory;this._ensureValid(e,i),n.fire(e+".add",{element:i,parent:t}),this._setParent(i,t,s);const a=r.create(e,i,s);return this._elementRegistry.add(i,a),r.update(e,i,a),n.fire(e+".added",{element:i,gfx:a}),i},ee.prototype.addShape=function(e,i,t){return this._addElement("shape",e,i,t)},ee.prototype.addConnection=function(e,i,t){return this._addElement("connection",e,i,t)},ee.prototype._removeElement=function(e,i){const t=this._elementRegistry,s=this._graphicsFactory,n=this._eventBus;if(e=t.get(e.id||e),!!e)return n.fire(i+".remove",{element:e}),s.remove(e),uy(e.parent&&e.parent.children,e),e.parent=null,n.fire(i+".removed",{element:e}),t.remove(e),e},ee.prototype.removeShape=function(e){return this._removeElement(e,"shape")},ee.prototype.removeConnection=function(e){return this._removeElement(e,"connection")},ee.prototype.getGraphics=function(e,i){return this._elementRegistry.getGraphics(e,i)},ee.prototype._changeViewbox=function(e){this._eventBus.fire("canvas.viewbox.changing"),e.apply(this),this._cachedViewbox=null,this._viewboxChanged()},ee.prototype._viewboxChanged=function(){this._eventBus.fire("canvas.viewbox.changed",{viewbox:this.viewbox()})},ee.prototype.viewbox=function(e){if(e===void 0&&this._cachedViewbox)return this._cachedViewbox;const i=this._viewport,t=this.getSize();let s,n,r,a,o,l,p;if(e)this._changeViewbox(function(){o=Math.min(t.width/e.width,t.height/e.height);const h=this._svg.createSVGMatrix().scale(o).translate(-e.x,-e.y);ds(i,h)});else return r=this._rootElement?this.getActiveLayer():null,s=r&&r.getBBox()||{},a=ds(i),n=a?a.matrix:nm(),o=fn(n.a,1e3),l=fn(-n.e||0,1e3),p=fn(-n.f||0,1e3),e=this._cachedViewbox={x:l?l/o:0,y:p?p/o:0,width:t.width/o,height:t.height/o,scale:o,inner:{width:s.width||0,height:s.height||0,x:s.x||0,y:s.y||0},outer:t},e;return e},ee.prototype.scroll=function(e){const i=this._viewport;let t=i.getCTM();return e&&this._changeViewbox(function(){e=Y({dx:0,dy:0},e||{}),t=this._svg.createSVGMatrix().translate(e.dx,e.dy).multiply(t),wc(i,t)}),{x:t.e,y:t.f}},ee.prototype.scrollToElement=function(e,i){let t=100;typeof e=="string"&&(e=this._elementRegistry.get(e));const s=this.findRoot(e);if(s!==this.getRootElement()&&this.setRootElement(s),s===e)return;i||(i={}),typeof i=="number"&&(t=i),i={top:i.top||t,right:i.right||t,bottom:i.bottom||t,left:i.left||t};const n=fi(e),r=jr(n),a=this.viewbox(),o=this.zoom();let l,p;a.y+=i.top/o,a.x+=i.left/o,a.width-=(i.right+i.left)/o,a.height-=(i.bottom+i.top)/o;const h=jr(a);if(!(n.width<a.width&&n.height<a.height))l=n.x-a.x,p=n.y-a.y;else{const A=Math.max(0,r.right-h.right),k=Math.min(0,r.left-h.left),V=Math.max(0,r.bottom-h.bottom),z=Math.min(0,r.top-h.top);l=A||k,p=V||z}this.scroll({dx:-l*o,dy:-p*o})},ee.prototype.zoom=function(e,i){if(!e)return this.viewbox(e).scale;if(e==="fit-viewport")return this._fitViewport(i);let t,s;return this._changeViewbox(function(){typeof i!="object"&&(t=this.viewbox().outer,i={x:t.width/2,y:t.height/2}),s=this._setZoom(e,i)}),fn(s.a,1e3)};function wc(e,i){const t="matrix("+i.a+","+i.b+","+i.c+","+i.d+","+i.e+","+i.f+")";e.setAttribute("transform",t)}ee.prototype._fitViewport=function(e){const i=this.viewbox(),t=i.outer,s=i.inner;let n,r;return s.x>=0&&s.y>=0&&s.x+s.width<=t.width&&s.y+s.height<=t.height&&!e?r={x:0,y:0,width:Math.max(s.width+s.x,t.width),height:Math.max(s.height+s.y,t.height)}:(n=Math.min(1,t.width/s.width,t.height/s.height),r={x:s.x+(e?s.width/2-t.width/n/2:0),y:s.y+(e?s.height/2-t.height/n/2:0),width:t.width/n,height:t.height/n}),this.viewbox(r),this.viewbox(!1).scale},ee.prototype._setZoom=function(e,i){const t=this._svg,s=this._viewport,n=t.createSVGMatrix(),r=t.createSVGPoint();let a,o,l,p,h;l=s.getCTM();const m=l.a;return i?(a=Y(r,i),o=a.matrixTransform(l.inverse()),p=n.translate(o.x,o.y).scale(1/m*e).translate(-o.x,-o.y),h=l.multiply(p)):h=n.scale(e),wc(this._viewport,h),h},ee.prototype.getSize=function(){return{width:this._container.clientWidth,height:this._container.clientHeight}},ee.prototype.getAbsoluteBBox=function(e){const i=this.viewbox();let t;e.waypoints?t=this.getGraphics(e).getBBox():t=e;const s=t.x*i.scale-i.x*i.scale,n=t.y*i.scale-i.y*i.scale,r=t.width*i.scale,a=t.height*i.scale;return{x:s,y:n,width:r,height:a}},ee.prototype.resized=function(){delete this._cachedViewbox,this._eventBus.fire("canvas.resized")};var ji="data-element-id";function et(e){this._elements={},this._eventBus=e}et.$inject=["eventBus"],et.prototype.add=function(e,i,t){var s=e.id;this._validateId(s),fe(i,ji,s),t&&fe(t,ji,s),this._elements[s]={element:e,gfx:i,secondaryGfx:t}},et.prototype.remove=function(e){var i=this._elements,t=e.id||e,s=t&&i[t];s&&(fe(s.gfx,ji,""),s.secondaryGfx&&fe(s.secondaryGfx,ji,""),delete i[t])},et.prototype.updateId=function(e,i){this._validateId(i),typeof e=="string"&&(e=this.get(e)),this._eventBus.fire("element.updateId",{element:e,newId:i});var t=this.getGraphics(e),s=this.getGraphics(e,!0);this.remove(e),e.id=i,this.add(e,t,s)},et.prototype.updateGraphics=function(e,i,t){var s=e.id||e,n=this._elements[s];return t?n.secondaryGfx=i:n.gfx=i,i&&fe(i,ji,s),i},et.prototype.get=function(e){var i;typeof e=="string"?i=e:i=e&&fe(e,ji);var t=this._elements[i];return t&&t.element},et.prototype.filter=function(e){var i=[];return this.forEach(function(t,s){e(t,s)&&i.push(t)}),i},et.prototype.find=function(e){for(var i=this._elements,t=Object.keys(i),s=0;s<t.length;s++){var n=t[s],r=i[n],a=r.element,o=r.gfx;if(e(a,o))return a}},et.prototype.getAll=function(){return this.filter(function(e){return e})},et.prototype.forEach=function(e){var i=this._elements;Object.keys(i).forEach(function(t){var s=i[t],n=s.element,r=s.gfx;return e(n,r)})},et.prototype.getGraphics=function(e,i){var t=e.id||e,s=this._elements[t];return s&&(i?s.secondaryGfx:s.gfx)},et.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 yy(e,i,t,s){var n=t.inverse;return Object.defineProperty(e,"remove",{value:function(r){var a=this.indexOf(r);return a!==-1&&(this.splice(a,1),i.unset(r,n,s)),r}}),Object.defineProperty(e,"contains",{value:function(r){return this.indexOf(r)!==-1}}),Object.defineProperty(e,"add",{value:function(r,a){var o=this.indexOf(r);if(typeof a>"u"){if(o!==-1)return;a=this.length}o!==-1&&this.splice(o,1),this.splice(a,0,r),o===-1&&i.set(r,n,s)}}),Object.defineProperty(e,"__refs_collection",{value:!0}),e}function vy(e){return e.__refs_collection===!0}function Ay(e,i){return Object.prototype.hasOwnProperty.call(e,i.name||i)}function xc(e,i,t){var s=yy(t[i.name]||[],e,i,t);Object.defineProperty(t,i.name,{enumerable:i.enumerable,value:s}),s.length&&s.forEach(function(n){e.set(n,i.inverse,t)})}function by(e,i,t){var s=i.inverse,n=t[i.name];Object.defineProperty(t,i.name,{configurable:i.configurable,enumerable:i.enumerable,get:function(){return n},set:function(r){if(r!==n){var a=n;n=null,a&&e.unset(a,s,t),n=r,e.set(n,s,t)}}})}function rt(e,i){if(!(this instanceof rt))return new rt(e,i);e.inverse=i,i.inverse=e,this.props={},this.props[e.name]=e,this.props[i.name]=i}rt.prototype.bind=function(e,i){if(typeof i=="string"){if(!this.props[i])throw new Error("no property <"+i+"> in ref");i=this.props[i]}i.collection?xc(this,i,e):by(this,i,e)},rt.prototype.ensureRefsCollection=function(e,i){var t=e[i.name];return vy(t)||xc(this,i,e),t},rt.prototype.ensureBound=function(e,i){Ay(e,i)||this.bind(e,i)},rt.prototype.unset=function(e,i,t){e&&(this.ensureBound(e,i),i.collection?this.ensureRefsCollection(e,i).remove(t):e[i.name]=void 0)},rt.prototype.set=function(e,i,t){e&&(this.ensureBound(e,i),i.collection?this.ensureRefsCollection(e,i).add(t):e[i.name]=t)};var Kr=new rt({name:"children",enumerable:!0,collection:!0},{name:"parent"}),Ec=new rt({name:"labels",enumerable:!0,collection:!0},{name:"labelTarget"}),Tc=new rt({name:"attachers",collection:!0},{name:"host"}),Ic=new rt({name:"outgoing",collection:!0},{name:"source"}),kc=new rt({name:"incoming",collection:!0},{name:"target"});function gs(){Object.defineProperty(this,"businessObject",{writable:!0}),Object.defineProperty(this,"label",{get:function(){return this.labels[0]},set:function(e){var i=this.label,t=this.labels;!e&&i?t.remove(i):t.add(e,0)}}),Kr.bind(this,"parent"),Ec.bind(this,"labels"),Ic.bind(this,"outgoing"),kc.bind(this,"incoming")}function ys(){gs.call(this),Kr.bind(this,"children"),Tc.bind(this,"host"),Tc.bind(this,"attachers")}vt(ys,gs);function Nc(){gs.call(this),Kr.bind(this,"children")}vt(Nc,ys);function Sc(){ys.call(this),Ec.bind(this,"labelTarget")}vt(Sc,ys);function _c(){gs.call(this),Ic.bind(this,"source"),kc.bind(this,"target")}vt(_c,gs);var Cy={connection:_c,shape:ys,label:Sc,root:Nc};function wy(e,i){var t=Cy[e];if(!t)throw new Error("unknown type: <"+e+">");return Y(new t,i)}function Vi(){this._uid=12}Vi.prototype.createRoot=function(e){return this.create("root",e)},Vi.prototype.createLabel=function(e){return this.create("label",e)},Vi.prototype.createShape=function(e){return this.create("shape",e)},Vi.prototype.createConnection=function(e){return this.create("connection",e)},Vi.prototype.create=function(e,i){return i=Y({},i||{}),i.id||(i.id=e+"_"+this._uid++),wy(e,i)};var mn="__fn",Pc=1e3,xy=Array.prototype.slice;function He(){this._listeners={},this.on("diagram.destroy",1,this._destroy,this)}He.prototype.on=function(e,i,t,s){if(e=ut(e)?e:[e],Qt(i)&&(s=t,t=i,i=Pc),!Vt(i))throw new Error("priority must be a number");var n=t;s&&(n=Ut(t,s),n[mn]=t[mn]||t);var r=this;e.forEach(function(a){r._addListener(a,{priority:i,callback:n,next:null})})},He.prototype.once=function(e,i,t,s){var n=this;if(Qt(i)&&(s=t,t=i,i=Pc),!Vt(i))throw new Error("priority must be a number");function r(){r.__isTomb=!0;var a=t.apply(s,arguments);return n.off(e,r),a}r[mn]=t,this.on(e,i,r)},He.prototype.off=function(e,i){e=ut(e)?e:[e];var t=this;e.forEach(function(s){t._removeListener(s,i)})},He.prototype.createEvent=function(e){var i=new vs;return i.init(e),i},He.prototype.fire=function(e,i){var t,s,n,r;if(r=xy.call(arguments),typeof e=="object"&&(i=e,e=i.type),!e)throw new Error("no event type specified");if(s=this._listeners[e],!!s){i instanceof vs?t=i:t=this.createEvent(i),r[0]=t;var a=t.type;e!==a&&(t.type=e);try{n=this._invokeListeners(t,r,s)}finally{e!==a&&(t.type=a)}return n===void 0&&t.defaultPrevented&&(n=!1),n}},He.prototype.handleError=function(e){return this.fire("error",{error:e})===!1},He.prototype._destroy=function(){this._listeners={}},He.prototype._invokeListeners=function(e,i,t){for(var s;t&&!e.cancelBubble;)s=this._invokeListener(e,i,t),t=t.next;return s},He.prototype._invokeListener=function(e,i,t){var s;if(t.callback.__isTomb)return s;try{s=Ey(t.callback,i),s!==void 0&&(e.returnValue=s,e.stopPropagation()),s===!1&&e.preventDefault()}catch(n){if(!this.handleError(n))throw console.error("unhandled error in event listener",n),n}return s},He.prototype._addListener=function(e,i){var t=this._getListeners(e),s;if(!t){this._setListeners(e,i);return}for(;t;){if(t.priority<i.priority){i.next=t,s?s.next=i:this._setListeners(e,i);return}s=t,t=t.next}s.next=i},He.prototype._getListeners=function(e){return this._listeners[e]},He.prototype._setListeners=function(e,i){this._listeners[e]=i},He.prototype._removeListener=function(e,i){var t=this._getListeners(e),s,n,r;if(!i){this._setListeners(e,null);return}for(;t;)s=t.next,r=t.callback,(r===i||r[mn]===i)&&(n?n.next=s:this._setListeners(e,s)),n=t,t=s};function vs(){}vs.prototype.stopPropagation=function(){this.cancelBubble=!0},vs.prototype.preventDefault=function(){this.defaultPrevented=!0},vs.prototype.init=function(e){Y(this,e||{})};function Ey(e,i){return e.apply(null,i)}function Ty(e){return e.childNodes[0]}function Iy(e){return e.parentNode.childNodes[1]}function tt(e,i){this._eventBus=e,this._elementRegistry=i}tt.$inject=["eventBus","elementRegistry"],tt.prototype._getChildrenContainer=function(e){var i=this._elementRegistry.getGraphics(e),t;return e.parent?(t=Iy(i),t||(t=ge("g"),Ze(t).add("djs-children"),Ee(i.parentNode,t))):t=i,t},tt.prototype._clear=function(e){var i=Ty(e);return Jl(i),i},tt.prototype._createContainer=function(e,i,t,s){var n=ge("g");Ze(n).add("djs-group"),typeof t<"u"?Dc(n,i,i.childNodes[t]):Ee(i,n);var r=ge("g");Ze(r).add("djs-element"),Ze(r).add("djs-"+e),s&&Ze(r).add("djs-frame"),Ee(n,r);var a=ge("g");return Ze(a).add("djs-visual"),Ee(r,a),r},tt.prototype.create=function(e,i,t){var s=this._getChildrenContainer(i.parent);return this._createContainer(e,s,t,rc(i))},tt.prototype.updateContainments=function(e){var i=this,t=this._elementRegistry,s;s=Mi(e,function(n,r){return r.parent&&(n[r.parent.id]=r.parent),n},{}),Q(s,function(n){var r=n.children;if(!!r){var a=i._getChildrenContainer(n);Q(r.slice().reverse(),function(o){var l=t.getGraphics(o);Dc(l.parentNode,a)})}})},tt.prototype.drawShape=function(e,i,t={}){var s=this._eventBus;return s.fire("render.shape",{gfx:e,element:i,attrs:t})},tt.prototype.getShapePath=function(e){var i=this._eventBus;return i.fire("render.getShapePath",e)},tt.prototype.drawConnection=function(e,i,t={}){var s=this._eventBus;return s.fire("render.connection",{gfx:e,element:i,attrs:t})},tt.prototype.getConnectionPath=function(e){var i=this._eventBus;return i.fire("render.getConnectionPath",e)},tt.prototype.update=function(e,i,t){if(!!i.parent){var s=this._clear(t);if(e==="shape")this.drawShape(s,i),zl(t,i.x,i.y);else if(e==="connection")this.drawConnection(s,i);else throw new Error("unknown type: "+e);i.hidden?fe(t,"display","none"):fe(t,"display","block")}},tt.prototype.remove=function(e){var i=this._elementRegistry.getGraphics(e);ps(i.parentNode)};function Dc(e,i,t){var s=t||i.firstChild;e!==s&&i.insertBefore(e,s)}const ky={__depends__:[cy],__init__:["canvas"],canvas:["type",ee],elementRegistry:["type",et],elementFactory:["type",Vi],eventBus:["type",He],graphicsFactory:["type",tt]};function Ny(e){var i=new vc(e);return i.init(),i}function Sy(e){e=e||{};var i={config:["value",e]},t=[i,ky].concat(e.modules||[]);return Ny(t)}function Qi(e,i){this._injector=i=i||Sy(e),this.get=i.get,this.invoke=i.invoke,this.get("eventBus").fire("diagram.init")}Qi.prototype.destroy=function(){this.get("eventBus").fire("diagram.destroy")},Qi.prototype.clear=function(){this.get("eventBus").fire("diagram.clear")};function Wr(){}Wr.prototype.get=function(e){return this.$model.properties.get(this,e)},Wr.prototype.set=function(e,i){this.$model.properties.set(this,e,i)};function Oc(e,i){this.model=e,this.properties=i}Oc.prototype.createType=function(e){var i=this.model,t=this.properties,s=Object.create(Wr.prototype);Q(e.properties,function(a){!a.isMany&&a.default!==void 0&&(s[a.name]=a.default)}),t.defineModel(s,i),t.defineDescriptor(s,e);var n=e.ns.name;function r(a){t.define(this,"$type",{value:n,enumerable:!0}),t.define(this,"$attrs",{value:{}}),t.define(this,"$parent",{writable:!0}),Q(a,Ut(function(o,l){this.set(l,o)},this))}return r.prototype=s,r.hasType=s.$instanceOf=this.model.hasType,t.defineModel(r,i),t.defineDescriptor(r,e),r};var _y={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},Mc={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 Yr(e,i){var t=Mc[e];return t?t(i):i}function zr(e){return!!_y[e]}function Bc(e){return!!Mc[e]}function Re(e,i){var t=e.split(/:/),s,n;if(t.length===1)s=e,n=i;else if(t.length===2)s=t[1],n=t[0];else throw new Error("expected <prefix:localName> or <localName>, got "+e);return e=(n?n+":":"")+s,{name:e,prefix:n,localName:s}}function it(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}it.prototype.build=function(){return Vf(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},it.prototype.addProperty=function(e,i,t){typeof i=="boolean"&&(t=i,i=void 0),this.addNamedProperty(e,t!==!1);var s=this.properties;i!==void 0?s.splice(i,0,e):s.push(e)},it.prototype.replaceProperty=function(e,i,t){var s=e.ns,n=this.properties,r=this.propertiesByName,a=e.name!==i.name;if(e.isId){if(!i.isId)throw new Error("property <"+i.ns.name+"> must be id property to refine <"+e.ns.name+">");this.setIdProperty(i,!1)}if(e.isBody){if(!i.isBody)throw new Error("property <"+i.ns.name+"> must be body property to refine <"+e.ns.name+">");this.setBodyProperty(i,!1)}var o=n.indexOf(e);if(o===-1)throw new Error("property <"+s.name+"> not found in property list");n.splice(o,1),this.addProperty(i,t?void 0:o,a),r[s.name]=r[s.localName]=i},it.prototype.redefineProperty=function(e,i,t){var s=e.ns.prefix,n=i.split("#"),r=Re(n[0],s),a=Re(n[1],r.prefix).name,o=this.propertiesByName[a];if(o)this.replaceProperty(o,e,t);else throw new Error("refined property <"+a+"> not found");delete e.redefines},it.prototype.addNamedProperty=function(e,i){var t=e.ns,s=this.propertiesByName;i&&(this.assertNotDefined(e,t.name),this.assertNotDefined(e,t.localName)),s[t.name]=s[t.localName]=e},it.prototype.removeNamedProperty=function(e){var i=e.ns,t=this.propertiesByName;delete t[i.name],delete t[i.localName]},it.prototype.setBodyProperty=function(e,i){if(i&&this.bodyProperty)throw new Error("body property defined multiple times (<"+this.bodyProperty.ns.name+">, <"+e.ns.name+">)");this.bodyProperty=e},it.prototype.setIdProperty=function(e,i){if(i&&this.idProperty)throw new Error("id property defined multiple times (<"+this.idProperty.ns.name+">, <"+e.ns.name+">)");this.idProperty=e},it.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},it.prototype.assertNotDefined=function(e,i){var t=e.name,s=this.propertiesByName[t];if(s)throw new Error("property <"+t+"> already defined; override of <"+s.definedBy.ns.name+"#"+s.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},it.prototype.hasProperty=function(e){return this.propertiesByName[e]},it.prototype.addTrait=function(e,i){i&&this.assertNotTrait(e);var t=this.allTypesByName,s=this.allTypes,n=e.name;n in t||(Q(e.properties,Ut(function(r){r=Y({},r,{name:r.ns.localName,inherited:i}),Object.defineProperty(r,"definedBy",{value:e});var a=r.replaces,o=r.redefines;a||o?this.redefineProperty(r,a||o,a):(r.isBody&&this.setBodyProperty(r),r.isId&&this.setIdProperty(r),this.addProperty(r))},this)),s.push(e),t[n]=e)};function Kt(e,i){this.packageMap={},this.typeMap={},this.packages=[],this.properties=i,Q(e,Ut(this.registerPackage,this))}Kt.prototype.getPackage=function(e){return this.packageMap[e]},Kt.prototype.getPackages=function(){return this.packages},Kt.prototype.registerPackage=function(e){e=Y({},e);var i=this.packageMap;Rc(i,e,"prefix"),Rc(i,e,"uri"),Q(e.types,Ut(function(t){this.registerType(t,e)},this)),i[e.uri]=i[e.prefix]=e,this.packages.push(e)},Kt.prototype.registerType=function(e,i){e=Y({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:Y(e.meta||{})});var t=Re(e.name,i.prefix),s=t.name,n={};Q(e.properties,Ut(function(r){var a=Re(r.name,t.prefix),o=a.name;zr(r.type)||(r.type=Re(r.type,a.prefix).name),Y(r,{ns:a,name:o}),n[o]=r},this)),Y(e,{ns:t,name:s,propertiesByName:n}),Q(e.extends,Ut(function(r){var a=Re(r,t.prefix),o=this.typeMap[a.name];o.traits=o.traits||[],o.traits.push(s)},this)),this.definePackage(e,i),this.typeMap[s]=e},Kt.prototype.mapTypes=function(e,i,t){var s=zr(e.name)?{name:e.name}:this.typeMap[e.name],n=this;function r(l,p){var h=Re(l,zr(l)?"":e.prefix);n.mapTypes(h,i,p)}function a(l){return r(l,!0)}function o(l){return r(l,!1)}if(!s)throw new Error("unknown type <"+e.name+">");Q(s.superClass,t?a:o),i(s,!t),Q(s.traits,a)},Kt.prototype.getEffectiveDescriptor=function(e){var i=Re(e),t=new it(i);this.mapTypes(i,function(n,r){t.addTrait(n,r)});var s=t.build();return this.definePackage(s,s.allTypes[s.allTypes.length-1].$pkg),s},Kt.prototype.definePackage=function(e,i){this.properties.define(e,"$pkg",{value:i})};function Rc(e,i,t){var s=i[t];if(s in e)throw new Error("package with "+t+" <"+s+"> already defined")}function yi(e){this.model=e}yi.prototype.set=function(e,i,t){if(!pt(i)||!i.length)throw new TypeError("property name must be a non-empty string");var s=this.getProperty(e,i),n=s&&s.name;Py(t)?s?delete e[n]:delete e.$attrs[Xr(i)]:s?n in e?e[n]=t:Lc(e,s,t):e.$attrs[Xr(i)]=t},yi.prototype.get=function(e,i){var t=this.getProperty(e,i);if(!t)return e.$attrs[Xr(i)];var s=t.name;return!e[s]&&t.isMany&&Lc(e,t,[]),e[s]},yi.prototype.define=function(e,i,t){if(!t.writable){var s=t.value;t=Y({},t,{get:function(){return s}}),delete t.value}Object.defineProperty(e,i,t)},yi.prototype.defineDescriptor=function(e,i){this.define(e,"$descriptor",{value:i})},yi.prototype.defineModel=function(e,i){this.define(e,"$model",{value:i})},yi.prototype.getProperty=function(e,i){var t=this.model,s=t.getPropertyDescriptor(e,i);if(s)return s;if(i.includes(":"))return null;const n=t.config.strict;if(typeof n<"u"){const r=new TypeError(`unknown property <${i}> on <${e.$type}>`);if(n)throw r;typeof console<"u"}return null};function Py(e){return typeof e>"u"}function Lc(e,i,t){Object.defineProperty(e,i.name,{enumerable:!i.isReference,writable:!0,value:t,configurable:!0})}function Xr(e){return e.replace(/^:/,"")}function at(e,i={}){this.properties=new yi(this),this.factory=new Oc(this,this.properties),this.registry=new Kt(e,this.properties),this.typeCache={},this.config=i}at.prototype.create=function(e,i){var t=this.getType(e);if(!t)throw new Error("unknown type <"+e+">");return new t(i)},at.prototype.getType=function(e){var i=this.typeCache,t=pt(e)?e:e.ns.name,s=i[t];return s||(e=this.registry.getEffectiveDescriptor(t),s=i[t]=this.factory.createType(e)),s},at.prototype.createAny=function(e,i,t){var s=Re(e),n={$type:e,$instanceOf:function(a){return a===this.$type},get:function(a){return this[a]},set:function(a,o){jf(this,[a],o)}},r={name:e,isGeneric:!0,ns:{prefix:s.prefix,localName:s.localName,uri:i}};return this.properties.defineDescriptor(n,r),this.properties.defineModel(n,this),this.properties.define(n,"get",{enumerable:!1,writable:!0}),this.properties.define(n,"set",{enumerable:!1,writable:!0}),this.properties.define(n,"$parent",{enumerable:!1,writable:!0}),this.properties.define(n,"$instanceOf",{enumerable:!1,writable:!0}),Q(t,function(a,o){oi(a)&&a.value!==void 0?n[a.name]=a.value:n[o]=a}),n},at.prototype.getPackage=function(e){return this.registry.getPackage(e)},at.prototype.getPackages=function(){return this.registry.getPackages()},at.prototype.getElementDescriptor=function(e){return e.$descriptor},at.prototype.hasType=function(e,i){i===void 0&&(i=e,e=this);var t=e.$model.getElementDescriptor(e);return i in t.allTypesByName},at.prototype.getPropertyDescriptor=function(e,i){return this.getElementDescriptor(e).propertiesByName[i]},at.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var Fc=String.fromCharCode,Dy=Object.prototype.hasOwnProperty,Oy=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/ig,As={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};Object.keys(As).forEach(function(e){As[e.toUpperCase()]=As[e]});function My(e,i,t,s){return s?Dy.call(As,s)?As[s]:"&"+s+";":Fc(i||parseInt(t,16))}function vi(e){return e.length>3&&e.indexOf("&")!==-1?e.replace(Oy,My):e}var By="http://www.w3.org/2001/XMLSchema-instance",Ry="xsi",jc="xsi:type",Vc="non-whitespace outside of root node";function Ui(e){return new Error(e)}function Qc(e){return"missing namespace for prefix <"+e+">"}function gn(e){return{get:e,enumerable:!0}}function Ly(e){var i={},t;for(t in e)i[t]=e[t];return i}function Zr(e){return e+"$uri"}function Fy(e){var i={},t,s;for(t in e)s=e[t],i[s]=s,i[Zr(s)]=t;return i}function Uc(){return{line:0,column:0}}function jy(e){throw e}function Gc(e){if(!this)return new Gc(e);var i=e&&e.proxy,t,s,n,r,a=jy,o,l,p,h,m=Uc,A=!1,k=!1,V=null,z=!1,ie;function Z(T){T instanceof Error||(T=Ui(T)),V=T,a(T,m)}function G(T){!o||(T instanceof Error||(T=Ui(T)),o(T,m))}this.on=function(T,D){if(typeof D!="function")throw Ui("required args <name, cb>");switch(T){case"openTag":s=D;break;case"text":t=D;break;case"closeTag":n=D;break;case"error":a=D;break;case"warn":o=D;break;case"cdata":r=D;break;case"attention":h=D;break;case"question":p=D;break;case"comment":l=D;break;default:throw Ui("unsupported event: "+T)}return this},this.ns=function(T){if(typeof T>"u"&&(T={}),typeof T!="object")throw Ui("required args <nsMap={}>");var D={},_;for(_ in T)D[_]=T[_];return D[By]=Ry,k=!0,ie=D,this},this.parse=function(T){if(typeof T!="string")throw Ui("required args <xml=string>");return V=null,N(T),m=Uc,z=!1,V},this.stop=function(){z=!0};function N(T){var D=k?[]:null,_=k?Fy(ie):null,S,I=[],F=0,P=!1,L=!1,B=0,U=0,X,Ne,le,g,y,x,M,H,ae,C="",w=0,O;function W(){if(O!==null)return O;var re,d,c,u=k&&_.xmlns,f=k&&A?[]:null,v=w,E=C,q=E.length,ue,ce,pe,Se,de,Yt={},wn={},Ke,K,he;e:for(;v<q;v++)if(Ke=!1,K=E.charCodeAt(v),!(K===32||K<14&&K>8)){for((K<65||K>122||K>90&&K<97)&&K!==95&&K!==58&&(G("illegal first char attribute name"),Ke=!0),he=v+1;he<q;he++)if(K=E.charCodeAt(he),!(K>96&&K<123||K>64&&K<91||K>47&&K<59||K===46||K===45||K===95)){if(K===32||K<14&&K>8){G("missing attribute value"),v=he;continue e}if(K===61)break;G("illegal attribute name char"),Ke=!0}if(de=E.substring(v,he),de==="xmlns:xmlns"&&(G("illegal declaration of xmlns"),Ke=!0),K=E.charCodeAt(he+1),K===34)he=E.indexOf('"',v=he+2),he===-1&&(he=E.indexOf("'",v),he!==-1&&(G("attribute value quote missmatch"),Ke=!0));else if(K===39)he=E.indexOf("'",v=he+2),he===-1&&(he=E.indexOf('"',v),he!==-1&&(G("attribute value quote missmatch"),Ke=!0));else for(G("missing attribute value quotes"),Ke=!0,he=he+1;he<q&&(K=E.charCodeAt(he+1),!(K===32||K<14&&K>8));he++);for(he===-1&&(G("missing closing quotes"),he=q,Ke=!0),Ke||(pe=E.substring(v,he)),v=he;he+1<q&&(K=E.charCodeAt(he+1),!(K===32||K<14&&K>8));he++)v===he&&(G("illegal character after attribute end"),Ke=!0);if(v=he+1,Ke)continue e;if(de in wn){G("attribute <"+de+"> already defined");continue}if(wn[de]=!0,!k){Yt[de]=pe;continue}if(A){if(ce=de==="xmlns"?"xmlns":de.charCodeAt(0)===120&&de.substr(0,6)==="xmlns:"?de.substr(6):null,ce!==null){if(re=vi(pe),d=Zr(ce),Se=ie[re],!Se){if(ce==="xmlns"||d in _&&_[d]!==re)do Se="ns"+F++;while(typeof _[Se]<"u");else Se=ce;ie[re]=Se}_[ce]!==Se&&(ue||(_=Ly(_),ue=!0),_[ce]=Se,ce==="xmlns"&&(_[Zr(Se)]=re,u=Se),_[d]=re),Yt[de]=pe;continue}f.push(de,pe);continue}if(K=de.indexOf(":"),K===-1){Yt[de]=pe;continue}if(!(c=_[de.substring(0,K)])){G(Qc(de.substring(0,K)));continue}de=u===c?de.substr(K+1):c+de.substr(K),de===jc&&(K=pe.indexOf(":"),K!==-1?(c=pe.substring(0,K),c=_[c]||c,pe=c+pe.substring(K)):pe=u+":"+pe),Yt[de]=pe}if(A)for(v=0,q=f.length;v<q;v++){if(de=f[v++],pe=f[v],K=de.indexOf(":"),K!==-1){if(!(c=_[de.substring(0,K)])){G(Qc(de.substring(0,K)));continue}de=u===c?de.substr(K+1):c+de.substr(K),de===jc&&(K=pe.indexOf(":"),K!==-1?(c=pe.substring(0,K),c=_[c]||c,pe=c+pe.substring(K)):pe=u+":"+pe)}Yt[de]=pe}return O=Yt}function $(){for(var re=/(\r\n|\r|\n)/g,d=0,c=0,u=0,f=U,v,E;B>=u&&(v=re.exec(T),!(!v||(f=v[0].length+v.index,f>B)));)d+=1,u=f;return B==-1?(c=f,E=T.substring(U)):U===0?E=T.substring(U,B):(c=B-u,E=U==-1?T.substring(B):T.substring(B,U+1)),{data:E,line:d,column:c}}for(m=$,i&&(ae=Object.create({},{name:gn(function(){return M}),originalName:gn(function(){return H}),attrs:gn(W),ns:gn(function(){return _})}));U!==-1;){if(T.charCodeAt(U)===60?B=U:B=T.indexOf("<",U),B===-1){if(I.length)return Z("unexpected end of file");if(U===0)return Z("missing start tag");U<T.length&&T.substring(U).trim()&&G(Vc);return}if(U!==B){if(I.length){if(t&&(t(T.substring(U,B),vi,m),z))return}else if(T.substring(U,B).trim()&&(G(Vc),z))return}if(g=T.charCodeAt(B+1),g===33){if(le=T.charCodeAt(B+2),le===91&&T.substr(B+3,6)==="CDATA["){if(U=T.indexOf("]]>",B),U===-1)return Z("unclosed cdata");if(r&&(r(T.substring(B+9,U),m),z))return;U+=3;continue}if(le===45&&T.charCodeAt(B+3)===45){if(U=T.indexOf("-->",B),U===-1)return Z("unclosed comment");if(l&&(l(T.substring(B+4,U),vi,m),z))return;U+=3;continue}}if(g===63){if(U=T.indexOf("?>",B),U===-1)return Z("unclosed question");if(p&&(p(T.substring(B,U+2),m),z))return;U+=2;continue}for(X=B+1;;X++){if(y=T.charCodeAt(X),isNaN(y))return U=-1,Z("unclosed tag");if(y===34)le=T.indexOf('"',X+1),X=le!==-1?le:X;else if(y===39)le=T.indexOf("'",X+1),X=le!==-1?le:X;else if(y===62){U=X;break}}if(g===33){if(h&&(h(T.substring(B,U+1),vi,m),z))return;U+=1;continue}if(O={},g===47){if(P=!1,L=!0,!I.length)return Z("missing open tag");if(X=M=I.pop(),le=B+2+X.length,T.substring(B+2,le)!==X)return Z("closing tag mismatch");for(;le<U;le++)if(g=T.charCodeAt(le),!(g===32||g>8&&g<14))return Z("close tag")}else{if(T.charCodeAt(U-1)===47?(X=M=T.substring(B+1,U-1),P=!0,L=!0):(X=M=T.substring(B+1,U),P=!0,L=!1),!(g>96&&g<123||g>64&&g<91||g===95||g===58))return Z("illegal first char nodeName");for(le=1,Ne=X.length;le<Ne;le++)if(g=X.charCodeAt(le),!(g>96&&g<123||g>64&&g<91||g>47&&g<59||g===45||g===95||g==46)){if(g===32||g<14&&g>8){M=X.substring(0,le),O=null;break}return Z("invalid nodeName")}L||I.push(M)}if(k){if(S=_,P&&(L||D.push(S),O===null&&(A=X.indexOf("xmlns",le)!==-1)&&(w=le,C=X,W(),A=!1)),H=M,g=M.indexOf(":"),g!==-1){if(x=_[M.substring(0,g)],!x)return Z("missing namespace on <"+H+">");M=M.substr(g+1)}else x=_.xmlns;x&&(M=x+":"+M)}if(P&&(w=le,C=X,s&&(i?s(ae,vi,L,m):s(M,W,vi,L,m),z)))return;if(L){if(n&&(n(i?ae:M,vi,P,m),z))return;k&&(P?_=S:_=D.pop())}U+=1}}}function qc(e){return e.xml&&e.xml.tagAlias==="lowerCase"}var Vy={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},yn="xsi:type";function Jc(e){return e.xml&&e.xml.serialize}function Hc(e){return Jc(e)===yn}function Qy(e){return Jc(e)==="property"}function Uy(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Kc(e,i){return qc(i)?e.prefix+":"+Uy(e.localName):e.name}function Gy(e,i){var t=e.name,s=e.localName,n=i.xml&&i.xml.typePrefix;return n&&s.indexOf(n)===0?e.prefix+":"+s.slice(n.length):t}function qy(e,i){var t=Re(e),s=i.getPackage(t.prefix);return Gy(t,s)}function Wt(e){return new Error(e)}function _t(e){return e.$descriptor}function Jy(e){Y(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(i){this.references.push(i)},this.addElement=function(i){if(!i)throw Wt("expected element");var t=this.elementsById,s=_t(i),n=s.idProperty,r;if(n&&(r=i.get(n.name),r)){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(r))throw new Error("illegal ID <"+r+">");if(t[r])throw Wt("duplicate ID <"+r+">");t[r]=i}},this.addWarning=function(i){this.warnings.push(i)}}function bs(){}bs.prototype.handleEnd=function(){},bs.prototype.handleText=function(){},bs.prototype.handleNode=function(){};function $r(){}$r.prototype=Object.create(bs.prototype),$r.prototype.handleNode=function(){return this};function Gi(){}Gi.prototype=Object.create(bs.prototype),Gi.prototype.handleText=function(e){this.body=(this.body||"")+e};function Cs(e,i){this.property=e,this.context=i}Cs.prototype=Object.create(Gi.prototype),Cs.prototype.handleNode=function(e){if(this.element)throw Wt("expected no sub nodes");return this.element=this.createReference(e),this},Cs.prototype.handleEnd=function(){this.element.id=this.body},Cs.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}};function ea(e,i){this.element=i,this.propertyDesc=e}ea.prototype=Object.create(Gi.prototype),ea.prototype.handleEnd=function(){var e=this.body||"",i=this.element,t=this.propertyDesc;e=Yr(t.type,e),t.isMany?i.get(t.name).push(e):i.set(t.name,e)};function vn(){}vn.prototype=Object.create(Gi.prototype),vn.prototype.handleNode=function(e){var i=this,t=this.element;return t?i=this.handleChild(e):(t=this.element=this.createElement(e),this.context.addElement(t)),i};function Le(e,i,t){this.model=e,this.type=e.getType(i),this.context=t}Le.prototype=Object.create(vn.prototype),Le.prototype.addReference=function(e){this.context.addReference(e)},Le.prototype.handleText=function(e){var i=this.element,t=_t(i),s=t.bodyProperty;if(!s)throw Wt("unexpected body text <"+e+">");Gi.prototype.handleText.call(this,e)},Le.prototype.handleEnd=function(){var e=this.body,i=this.element,t=_t(i),s=t.bodyProperty;s&&e!==void 0&&(e=Yr(s.type,e),i.set(s.name,e))},Le.prototype.createElement=function(e){var i=e.attributes,t=this.type,s=_t(t),n=this.context,r=new t({}),a=this.model,o;return Q(i,function(l,p){var h=s.propertiesByName[p],m;h&&h.isReference?h.isMany?(m=l.split(" "),Q(m,function(A){n.addReference({element:r,property:h.ns.name,id:A})})):n.addReference({element:r,property:h.ns.name,id:l}):(h?l=Yr(h.type,l):p!=="xmlns"&&(o=Re(p,s.ns.prefix),a.getPackage(o.prefix)&&n.addWarning({message:"unknown attribute <"+p+">",element:r,property:p,value:l})),r.set(p,l))}),r},Le.prototype.getPropertyForNode=function(e){var i=e.name,t=Re(i),s=this.type,n=this.model,r=_t(s),a=t.name,o=r.propertiesByName[a],l,p;if(o&&!o.isAttr)return Hc(o)&&(l=e.attributes[yn],l)?(l=qy(l,n),p=n.getType(l),Y({},o,{effectiveType:_t(p).name})):o;var h=n.getPackage(t.prefix);if(h){if(l=Kc(t,h),p=n.getType(l),o=dt(r.properties,function(m){return!m.isVirtual&&!m.isReference&&!m.isAttribute&&p.hasType(m.type)}),o)return Y({},o,{effectiveType:_t(p).name})}else if(o=dt(r.properties,function(m){return!m.isReference&&!m.isAttribute&&m.type==="Element"}),o)return o;throw Wt("unrecognized element <"+t.name+">")},Le.prototype.toString=function(){return"ElementDescriptor["+_t(this.type).name+"]"},Le.prototype.valueHandler=function(e,i){return new ea(e,i)},Le.prototype.referenceHandler=function(e){return new Cs(e,this.context)},Le.prototype.handler=function(e){return e==="Element"?new qi(this.model,e,this.context):new Le(this.model,e,this.context)},Le.prototype.handleChild=function(e){var i,t,s,n;if(i=this.getPropertyForNode(e),s=this.element,t=i.effectiveType||i.type,Bc(t))return this.valueHandler(i,s);i.isReference?n=this.referenceHandler(i).handleNode(e):n=this.handler(t).handleNode(e);var r=n.element;return r!==void 0&&(i.isMany?s.get(i.name).push(r):s.set(i.name,r),i.isReference?(Y(r,{element:s}),this.context.addReference(r)):r.$parent=s),n};function ta(e,i,t){Le.call(this,e,i,t)}ta.prototype=Object.create(Le.prototype),ta.prototype.createElement=function(e){var i=e.name,t=Re(i),s=this.model,n=this.type,r=s.getPackage(t.prefix),a=r&&Kc(t,r)||i;if(!n.hasType(a))throw Wt("unexpected element <"+e.originalName+">");return Le.prototype.createElement.call(this,e)};function qi(e,i,t){this.model=e,this.context=t}qi.prototype=Object.create(vn.prototype),qi.prototype.createElement=function(e){var i=e.name,t=Re(i),s=t.prefix,n=e.ns[s+"$uri"],r=e.attributes;return this.model.createAny(i,n,r)},qi.prototype.handleChild=function(e){var i=new qi(this.model,"Element",this.context).handleNode(e),t=this.element,s=i.element,n;return s!==void 0&&(n=t.$children=t.$children||[],n.push(s),s.$parent=t),i},qi.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)};function ia(e){e instanceof at&&(e={model:e}),Y(this,{lax:!1},e)}ia.prototype.fromXML=function(e,i,t){var s=i.rootHandler;i instanceof Le?(s=i,i={}):typeof i=="string"?(s=this.handler(i),i={}):typeof s=="string"&&(s=this.handler(s));var n=this.model,r=this.lax,a=new Jy(Y({},i,{rootHandler:s})),o=new Gc({proxy:!0}),l=Hy();s.context=a,l.push(s);function p(D,_,S){var I=_(),F=I.line,P=I.column,L=I.data;L.charAt(0)==="<"&&L.indexOf(" ")!==-1&&(L=L.slice(0,L.indexOf(" "))+">");var B="unparsable content "+(L?L+" ":"")+`detected
19
+ line: `+F+`
20
+ column: `+P+`
21
+ nested error: `+D.message;if(S)return a.addWarning({message:B,error:D}),!0;throw Wt(B)}function h(D,_){return p(D,_,!0)}function m(){var D=a.elementsById,_=a.references,S,I;for(S=0;I=_[S];S++){var F=I.element,P=D[I.id],L=_t(F).propertiesByName[I.property];if(P||a.addWarning({message:"unresolved reference <"+I.id+">",element:I.element,property:I.property,value:I.id}),L.isMany){var B=F.get(L.name),U=B.indexOf(I);U===-1&&(U=B.length),P?B[U]=P:B.splice(U,1)}else F.set(L.name,P)}}function A(){l.pop().handleEnd()}var k=/^<\?xml /i,V=/ encoding="([^"]+)"/i,z=/^utf-8$/i;function ie(D){if(!!k.test(D)){var _=V.exec(D),S=_&&_[1];!S||z.test(S)||a.addWarning({message:"unsupported document encoding <"+S+">, falling back to UTF-8"})}}function Z(D,_){var S=l.peek();try{l.push(S.handleNode(D))}catch(I){p(I,_,r)&&l.push(new $r)}}function G(D,_){try{l.peek().handleText(D)}catch(S){h(S,_)}}function N(D,_){!D.trim()||G(D,_)}var T=n.getPackages().reduce(function(D,_){return D[_.uri]=_.prefix,D},{"http://www.w3.org/XML/1998/namespace":"xml"});return o.ns(T).on("openTag",function(D,_,S,I){var F=D.attrs||{},P=Object.keys(F).reduce(function(B,U){var X=_(F[U]);return B[U]=X,B},{}),L={name:D.name,originalName:D.originalName,attributes:P,ns:D.ns};Z(L,I)}).on("question",ie).on("closeTag",A).on("cdata",G).on("text",function(D,_,S){N(_(D),S)}).on("error",p).on("warn",h),new Promise(function(D,_){var S;try{o.parse(e),m()}catch(B){S=B}var I=s.element;!S&&!I&&(S=Wt("failed to parse document as <"+s.type.$descriptor.name+">"));var F=a.warnings,P=a.references,L=a.elementsById;return S?(S.warnings=F,_(S)):D({rootElement:I,elementsById:L,references:P,warnings:F})})},ia.prototype.handler=function(e){return new ta(this.model,e)};function Hy(){var e=[];return Object.defineProperty(e,"peek",{value:function(){return this[this.length-1]}}),e}var Ky=`<?xml version="1.0" encoding="UTF-8"?>
22
+ `,Wy=/<|>|'|"|&|\n\r|\n/g,Wc=/<|>|&/g;function Yy(e){var i={},t={},s={},n=[],r=[];this.byUri=function(a){return t[a]||e&&e.byUri(a)},this.add=function(a,o){t[a.uri]=a,o?n.push(a):r.push(a),this.mapPrefix(a.prefix,a.uri)},this.uriByPrefix=function(a){return i[a||"xmlns"]},this.mapPrefix=function(a,o){i[a||"xmlns"]=o},this.getNSKey=function(a){return a.prefix!==void 0?a.uri+"|"+a.prefix:a.uri},this.logUsed=function(a){var o=a.uri,l=this.getNSKey(a);s[l]=this.byUri(o),e&&e.logUsed(a)},this.getUsed=function(a){function o(h){var m=l.getNSKey(h);return s[m]}var l=this,p=[].concat(n,r);return p.filter(o)}}function zy(e){return e.charAt(0).toLowerCase()+e.slice(1)}function Xy(e,i){return qc(i)?zy(e):e}function Yc(e,i){e.super_=i,e.prototype=Object.create(i.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function zc(e){return pt(e)?e:(e.prefix?e.prefix+":":"")+e.localName}function Zy(e){return e.getUsed().filter(function(i){return i.prefix!=="xml"}).map(function(i){var t="xmlns"+(i.prefix?":"+i.prefix:"");return{name:t,value:i.uri}})}function $y(e,i){return i.isGeneric?Y({localName:i.ns.localName},e):Y({localName:Xy(i.ns.localName,i.$pkg)},e)}function ev(e,i){return Y({localName:i.ns.localName},e)}function tv(e){var i=e.$descriptor;return Oi(i.properties,function(t){var s=t.name;if(t.isVirtual||!Di(e,s))return!1;var n=e[s];return n===t.default||n===null?!1:t.isMany?n.length:!0})}var iv={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},sv={"<":"lt",">":"gt","&":"amp"};function Xc(e,i,t){return e=pt(e)?e:""+e,e.replace(i,function(s){return"&"+t[s]+";"})}function nv(e){return Xc(e,Wy,iv)}function rv(e){return Xc(e,Wc,sv)}function av(e){return Oi(e,function(i){return i.isAttr})}function ov(e){return Oi(e,function(i){return!i.isAttr})}function sa(e){this.tagName=e}sa.prototype.build=function(e){return this.element=e,this},sa.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()};function Ai(){}Ai.prototype.serializeValue=Ai.prototype.serializeTo=function(e){e.append(this.escape?rv(this.value):this.value)},Ai.prototype.build=function(e,i){return this.value=i,e.type==="String"&&i.search(Wc)!==-1&&(this.escape=!0),this};function na(e){this.tagName=e}Yc(na,Ai),na.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("</"+this.tagName+">").appendNewLine()};function be(e,i){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=i}be.prototype.build=function(e){this.element=e;var i=e.$descriptor,t=this.propertyDescriptor,s,n,r=i.isGeneric;return r?s=this.parseGeneric(e):s=this.parseNsAttributes(e),t?this.ns=this.nsPropertyTagName(t):this.ns=this.nsTagName(i),this.tagName=this.addTagName(this.ns),r||(n=tv(e),this.parseAttributes(av(n)),this.parseContainments(ov(n))),this.parseGenericAttributes(e,s),this},be.prototype.nsTagName=function(e){var i=this.logNamespaceUsed(e.ns);return $y(i,e)},be.prototype.nsPropertyTagName=function(e){var i=this.logNamespaceUsed(e.ns);return ev(i,e)},be.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},be.prototype.nsAttributeName=function(e){var i;if(pt(e)?i=Re(e):i=e.ns,e.inherited)return{localName:i.localName};var t=this.logNamespaceUsed(i);return this.getNamespaces().logUsed(t),this.isLocalNs(t)?{localName:i.localName}:Y({localName:i.localName},t)},be.prototype.parseGeneric=function(e){var i=this,t=this.body,s=[];return Q(e,function(n,r){var a;r==="$body"?t.push(new Ai().build({type:"String"},n)):r==="$children"?Q(n,function(o){t.push(new be(i).build(o))}):r.indexOf("$")!==0&&(a=i.parseNsAttribute(e,r,n),a&&s.push({name:r,value:n}))}),s},be.prototype.parseNsAttribute=function(e,i,t){var s=e.$model,n=Re(i),r;if(n.prefix==="xmlns"&&(r={prefix:n.localName,uri:t}),!n.prefix&&n.localName==="xmlns"&&(r={uri:t}),!r)return{name:i,value:t};if(s&&s.getPackage(t))this.logNamespace(r,!0,!0);else{var a=this.logNamespaceUsed(r,!0);this.getNamespaces().logUsed(a)}},be.prototype.parseNsAttributes=function(e,i){var t=this,s=e.$attrs,n=[];return Q(s,function(r,a){var o=t.parseNsAttribute(e,a,r);o&&n.push(o)}),n},be.prototype.parseGenericAttributes=function(e,i){var t=this;Q(i,function(s){if(s.name!==yn)try{t.addAttribute(t.nsAttributeName(s.name),s.value)}catch(n){s.name,s.value}})},be.prototype.parseContainments=function(e){var i=this,t=this.body,s=this.element;Q(e,function(n){var r=s.get(n.name),a=n.isReference,o=n.isMany;if(o||(r=[r]),n.isBody)t.push(new Ai().build(n,r[0]));else if(Bc(n.type))Q(r,function(h){t.push(new na(i.addTagName(i.nsPropertyTagName(n))).build(n,h))});else if(a)Q(r,function(h){t.push(new sa(i.addTagName(i.nsPropertyTagName(n))).build(h))});else{var l=Hc(n),p=Qy(n);Q(r,function(h){var m;l?m=new An(i,n):p?m=new be(i,n):m=new be(i),t.push(m.build(h))})}})},be.prototype.getNamespaces=function(e){var i=this.namespaces,t=this.parent,s;return i||(s=t&&t.getNamespaces(),e||!s?this.namespaces=i=new Yy(s):i=s),i},be.prototype.logNamespace=function(e,i,t){var s=this.getNamespaces(t),n=e.uri,r=e.prefix,a=s.byUri(n);return(!a||t)&&s.add(e,i),s.mapPrefix(r,n),e},be.prototype.logNamespaceUsed=function(e,i){var t=this.element,s=t.$model,n=this.getNamespaces(i),r=e.prefix,a=e.uri,o,l,p;if(!r&&!a)return{localName:e.localName};if(p=Vy[r]||s&&(s.getPackage(r)||{}).uri,a=a||p||n.uriByPrefix(r),!a)throw new Error("no namespace uri given for prefix <"+r+">");if(e=n.byUri(a),!e){for(o=r,l=1;n.uriByPrefix(o);)o=r+"_"+l++;e=this.logNamespace({prefix:o,uri:a},p===a)}return r&&n.mapPrefix(r,a),e},be.prototype.parseAttributes=function(e){var i=this,t=this.element;Q(e,function(s){var n=t.get(s.name);if(s.isReference)if(!s.isMany)n=n.id;else{var r=[];Q(n,function(a){r.push(a.id)}),n=r.join(" ")}i.addAttribute(i.nsAttributeName(s),n)})},be.prototype.addTagName=function(e){var i=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(i),zc(e)},be.prototype.addAttribute=function(e,i){var t=this.attrs;pt(i)&&(i=nv(i));var s=Mf(t,function(r){return r.name.localName===e.localName&&r.name.uri===e.uri&&r.name.prefix===e.prefix}),n={name:e,value:i};s!==-1?t.splice(s,1,n):t.push(n)},be.prototype.serializeAttributes=function(e){var i=this.attrs,t=this.namespaces;t&&(i=Zy(t).concat(i)),Q(i,function(s){e.append(" ").append(zc(s.name)).append('="').append(s.value).append('"')})},be.prototype.serializeTo=function(e){var i=this.body[0],t=i&&i.constructor!==Ai;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(i?">":" />"),i&&(t&&e.appendNewLine().indent(),Q(this.body,function(s){s.serializeTo(e)}),t&&e.unindent().appendIndent(),e.append("</"+this.tagName+">")),e.appendNewLine()};function An(e,i){be.call(this,e,i)}Yc(An,be),An.prototype.parseNsAttributes=function(e){var i=be.prototype.parseNsAttributes.call(this,e),t=e.$descriptor;if(t.name===this.propertyDescriptor.type)return i;var s=this.typeNs=this.nsTagName(t);this.getNamespaces().logUsed(this.typeNs);var n=e.$model.getPackage(s.uri),r=n.xml&&n.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(yn),(s.prefix?s.prefix+":":"")+r+t.ns.localName),i},An.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri};function lv(){this.value="",this.write=function(e){this.value+=e}}function cv(e,i){var t=[""];this.append=function(s){return e.write(s),this},this.appendNewLine=function(){return i&&e.write(`
23
+ `),this},this.appendIndent=function(){return i&&e.write(t.join(" ")),this},this.indent=function(){return t.push(""),this},this.unindent=function(){return t.pop(),this}}function uv(e){e=Y({format:!1,preamble:!0},e||{});function i(t,s){var n=s||new lv,r=new cv(n,e.format);if(e.preamble&&r.append(Ky),new be().build(t).serializeTo(r),!s)return n.value}return{toXML:i}}function bn(e,i){at.call(this,e,i)}bn.prototype=Object.create(at.prototype),bn.prototype.fromXML=function(e,i,t){pt(i)||(t=i,i="bpmn:Definitions");var s=new ia(Y({model:this,lax:!0},t)),n=s.handler(i);return s.fromXML(e,n)},bn.prototype.toXML=function(e,i){var t=new uv(i);return new Promise(function(s,n){try{var r=t.toXML(e);return s({xml:r})}catch(a){return n(a)}})};var pv="BPMN20",dv="http://www.omg.org/spec/BPMN/20100524/MODEL",hv="bpmn",fv=[],mv=[{name:"Interface",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"operations",type:"Operation",isMany:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"Operation",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"inMessageRef",type:"Message",isReference:!0},{name:"outMessageRef",type:"Message",isReference:!0},{name:"errorRef",type:"Error",isMany:!0,isReference:!0},{name:"implementationRef",isAttr:!0,type:"String"}]},{name:"EndPoint",superClass:["RootElement"]},{name:"Auditing",superClass:["BaseElement"]},{name:"GlobalTask",superClass:["CallableElement"],properties:[{name:"resources",type:"ResourceRole",isMany:!0}]},{name:"Monitoring",superClass:["BaseElement"]},{name:"Performer",superClass:["ResourceRole"]},{name:"Process",superClass:["FlowElementsContainer","CallableElement"],properties:[{name:"processType",type:"ProcessType",isAttr:!0},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"properties",type:"Property",isMany:!0},{name:"laneSets",isMany:!0,replaces:"FlowElementsContainer#laneSets",type:"LaneSet"},{name:"flowElements",isMany:!0,replaces:"FlowElementsContainer#flowElements",type:"FlowElement"},{name:"artifacts",type:"Artifact",isMany:!0},{name:"resources",type:"ResourceRole",isMany:!0},{name:"correlationSubscriptions",type:"CorrelationSubscription",isMany:!0},{name:"supports",type:"Process",isMany:!0,isReference:!0},{name:"definitionalCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"isExecutable",isAttr:!0,type:"Boolean"}]},{name:"LaneSet",superClass:["BaseElement"],properties:[{name:"lanes",type:"Lane",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Lane",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"partitionElementRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"partitionElement",type:"BaseElement"},{name:"flowNodeRef",type:"FlowNode",isMany:!0,isReference:!0},{name:"childLaneSet",type:"LaneSet",xml:{serialize:"xsi:type"}}]},{name:"GlobalManualTask",superClass:["GlobalTask"]},{name:"ManualTask",superClass:["Task"]},{name:"UserTask",superClass:["Task"],properties:[{name:"renderings",type:"Rendering",isMany:!0},{name:"implementation",isAttr:!0,type:"String"}]},{name:"Rendering",superClass:["BaseElement"]},{name:"HumanPerformer",superClass:["Performer"]},{name:"PotentialOwner",superClass:["HumanPerformer"]},{name:"GlobalUserTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"renderings",type:"Rendering",isMany:!0}]},{name:"Gateway",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"gatewayDirection",type:"GatewayDirection",default:"Unspecified",isAttr:!0}]},{name:"EventBasedGateway",superClass:["Gateway"],properties:[{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"eventGatewayType",type:"EventBasedGatewayType",isAttr:!0,default:"Exclusive"}]},{name:"ComplexGateway",superClass:["Gateway"],properties:[{name:"activationCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ExclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"InclusiveGateway",superClass:["Gateway"],properties:[{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0}]},{name:"ParallelGateway",superClass:["Gateway"]},{name:"RootElement",isAbstract:!0,superClass:["BaseElement"]},{name:"Relationship",superClass:["BaseElement"],properties:[{name:"type",isAttr:!0,type:"String"},{name:"direction",type:"RelationshipDirection",isAttr:!0},{name:"source",isMany:!0,isReference:!0,type:"Element"},{name:"target",isMany:!0,isReference:!0,type:"Element"}]},{name:"BaseElement",isAbstract:!0,properties:[{name:"id",isAttr:!0,type:"String",isId:!0},{name:"documentation",type:"Documentation",isMany:!0},{name:"extensionDefinitions",type:"ExtensionDefinition",isMany:!0,isReference:!0},{name:"extensionElements",type:"ExtensionElements"}]},{name:"Extension",properties:[{name:"mustUnderstand",default:!1,isAttr:!0,type:"Boolean"},{name:"definition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"extensionAttributeDefinitions",type:"ExtensionAttributeDefinition",isMany:!0}]},{name:"ExtensionAttributeDefinition",properties:[{name:"name",isAttr:!0,type:"String"},{name:"type",isAttr:!0,type:"String"},{name:"isReference",default:!1,isAttr:!0,type:"Boolean"},{name:"extensionDefinition",type:"ExtensionDefinition",isAttr:!0,isReference:!0}]},{name:"ExtensionElements",properties:[{name:"valueRef",isAttr:!0,isReference:!0,type:"Element"},{name:"values",type:"Element",isMany:!0},{name:"extensionAttributeDefinition",type:"ExtensionAttributeDefinition",isAttr:!0,isReference:!0}]},{name:"Documentation",superClass:["BaseElement"],properties:[{name:"text",type:"String",isBody:!0},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Event",isAbstract:!0,superClass:["FlowNode","InteractionNode"],properties:[{name:"properties",type:"Property",isMany:!0}]},{name:"IntermediateCatchEvent",superClass:["CatchEvent"]},{name:"IntermediateThrowEvent",superClass:["ThrowEvent"]},{name:"EndEvent",superClass:["ThrowEvent"]},{name:"StartEvent",superClass:["CatchEvent"],properties:[{name:"isInterrupting",default:!0,isAttr:!0,type:"Boolean"}]},{name:"ThrowEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"inputSet",type:"InputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"CatchEvent",isAbstract:!0,superClass:["Event"],properties:[{name:"parallelMultiple",isAttr:!0,type:"Boolean",default:!1},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"outputSet",type:"OutputSet"},{name:"eventDefinitions",type:"EventDefinition",isMany:!0},{name:"eventDefinitionRef",type:"EventDefinition",isMany:!0,isReference:!0}]},{name:"BoundaryEvent",superClass:["CatchEvent"],properties:[{name:"cancelActivity",default:!0,isAttr:!0,type:"Boolean"},{name:"attachedToRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"EventDefinition",isAbstract:!0,superClass:["RootElement"]},{name:"CancelEventDefinition",superClass:["EventDefinition"]},{name:"ErrorEventDefinition",superClass:["EventDefinition"],properties:[{name:"errorRef",type:"Error",isAttr:!0,isReference:!0}]},{name:"TerminateEventDefinition",superClass:["EventDefinition"]},{name:"EscalationEventDefinition",superClass:["EventDefinition"],properties:[{name:"escalationRef",type:"Escalation",isAttr:!0,isReference:!0}]},{name:"Escalation",properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"escalationCode",isAttr:!0,type:"String"}],superClass:["RootElement"]},{name:"CompensateEventDefinition",superClass:["EventDefinition"],properties:[{name:"waitForCompletion",isAttr:!0,type:"Boolean",default:!0},{name:"activityRef",type:"Activity",isAttr:!0,isReference:!0}]},{name:"TimerEventDefinition",superClass:["EventDefinition"],properties:[{name:"timeDate",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeCycle",type:"Expression",xml:{serialize:"xsi:type"}},{name:"timeDuration",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"LinkEventDefinition",superClass:["EventDefinition"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"target",type:"LinkEventDefinition",isReference:!0},{name:"source",type:"LinkEventDefinition",isMany:!0,isReference:!0}]},{name:"MessageEventDefinition",superClass:["EventDefinition"],properties:[{name:"messageRef",type:"Message",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"ConditionalEventDefinition",superClass:["EventDefinition"],properties:[{name:"condition",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"SignalEventDefinition",superClass:["EventDefinition"],properties:[{name:"signalRef",type:"Signal",isAttr:!0,isReference:!0}]},{name:"Signal",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ImplicitThrowEvent",superClass:["ThrowEvent"]},{name:"DataState",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"ItemAwareElement",superClass:["BaseElement"],properties:[{name:"itemSubjectRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"dataState",type:"DataState"}]},{name:"DataAssociation",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"ItemAwareElement",isMany:!0,isReference:!0},{name:"targetRef",type:"ItemAwareElement",isReference:!0},{name:"transformation",type:"FormalExpression",xml:{serialize:"property"}},{name:"assignment",type:"Assignment",isMany:!0}]},{name:"DataInput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"inputSetRef",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithOptional",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"inputSetWithWhileExecuting",type:"InputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"DataOutput",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"outputSetRef",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithOptional",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0},{name:"outputSetWithWhileExecuting",type:"OutputSet",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"InputSet",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"dataInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"optionalInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"whileExecutingInputRefs",type:"DataInput",isMany:!0,isReference:!0},{name:"outputSetRefs",type:"OutputSet",isMany:!0,isReference:!0}]},{name:"OutputSet",superClass:["BaseElement"],properties:[{name:"dataOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"inputSetRefs",type:"InputSet",isMany:!0,isReference:!0},{name:"optionalOutputRefs",type:"DataOutput",isMany:!0,isReference:!0},{name:"whileExecutingOutputRefs",type:"DataOutput",isMany:!0,isReference:!0}]},{name:"Property",superClass:["ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"}]},{name:"DataInputAssociation",superClass:["DataAssociation"]},{name:"DataOutputAssociation",superClass:["DataAssociation"]},{name:"InputOutputSpecification",superClass:["BaseElement"],properties:[{name:"dataInputs",type:"DataInput",isMany:!0},{name:"dataOutputs",type:"DataOutput",isMany:!0},{name:"inputSets",type:"InputSet",isMany:!0},{name:"outputSets",type:"OutputSet",isMany:!0}]},{name:"DataObject",superClass:["FlowElement","ItemAwareElement"],properties:[{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"}]},{name:"InputOutputBinding",properties:[{name:"inputDataRef",type:"InputSet",isAttr:!0,isReference:!0},{name:"outputDataRef",type:"OutputSet",isAttr:!0,isReference:!0},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"Assignment",superClass:["BaseElement"],properties:[{name:"from",type:"Expression",xml:{serialize:"xsi:type"}},{name:"to",type:"Expression",xml:{serialize:"xsi:type"}}]},{name:"DataStore",superClass:["RootElement","ItemAwareElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"capacity",isAttr:!0,type:"Integer"},{name:"isUnlimited",default:!0,isAttr:!0,type:"Boolean"}]},{name:"DataStoreReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataStoreRef",type:"DataStore",isAttr:!0,isReference:!0}]},{name:"DataObjectReference",superClass:["ItemAwareElement","FlowElement"],properties:[{name:"dataObjectRef",type:"DataObject",isAttr:!0,isReference:!0}]},{name:"ConversationLink",superClass:["BaseElement"],properties:[{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"ConversationAssociation",superClass:["BaseElement"],properties:[{name:"innerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0},{name:"outerConversationNodeRef",type:"ConversationNode",isAttr:!0,isReference:!0}]},{name:"CallConversation",superClass:["ConversationNode"],properties:[{name:"calledCollaborationRef",type:"Collaboration",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"Conversation",superClass:["ConversationNode"]},{name:"SubConversation",superClass:["ConversationNode"],properties:[{name:"conversationNodes",type:"ConversationNode",isMany:!0}]},{name:"ConversationNode",isAbstract:!0,superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"messageFlowRefs",type:"MessageFlow",isMany:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0}]},{name:"GlobalConversation",superClass:["Collaboration"]},{name:"PartnerEntity",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"PartnerRole",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"participantRef",type:"Participant",isMany:!0,isReference:!0}]},{name:"CorrelationProperty",superClass:["RootElement"],properties:[{name:"correlationPropertyRetrievalExpression",type:"CorrelationPropertyRetrievalExpression",isMany:!0},{name:"name",isAttr:!0,type:"String"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Error",superClass:["RootElement"],properties:[{name:"structureRef",type:"ItemDefinition",isAttr:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"},{name:"errorCode",isAttr:!0,type:"String"}]},{name:"CorrelationKey",superClass:["BaseElement"],properties:[{name:"correlationPropertyRef",type:"CorrelationProperty",isMany:!0,isReference:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Expression",superClass:["BaseElement"],isAbstract:!1,properties:[{name:"body",isBody:!0,type:"String"}]},{name:"FormalExpression",superClass:["Expression"],properties:[{name:"language",isAttr:!0,type:"String"},{name:"evaluatesToTypeRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"Message",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"itemRef",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"ItemDefinition",superClass:["RootElement"],properties:[{name:"itemKind",type:"ItemKind",isAttr:!0},{name:"structureRef",isAttr:!0,type:"String"},{name:"isCollection",default:!1,isAttr:!0,type:"Boolean"},{name:"import",type:"Import",isAttr:!0,isReference:!0}]},{name:"FlowElement",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"auditing",type:"Auditing"},{name:"monitoring",type:"Monitoring"},{name:"categoryValueRef",type:"CategoryValue",isMany:!0,isReference:!0}]},{name:"SequenceFlow",superClass:["FlowElement"],properties:[{name:"isImmediate",isAttr:!0,type:"Boolean"},{name:"conditionExpression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"sourceRef",type:"FlowNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"FlowNode",isAttr:!0,isReference:!0}]},{name:"FlowElementsContainer",isAbstract:!0,superClass:["BaseElement"],properties:[{name:"laneSets",type:"LaneSet",isMany:!0},{name:"flowElements",type:"FlowElement",isMany:!0}]},{name:"CallableElement",isAbstract:!0,superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"supportedInterfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"ioBinding",type:"InputOutputBinding",isMany:!0,xml:{serialize:"property"}}]},{name:"FlowNode",isAbstract:!0,superClass:["FlowElement"],properties:[{name:"incoming",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"outgoing",type:"SequenceFlow",isMany:!0,isReference:!0},{name:"lanes",type:"Lane",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"CorrelationPropertyRetrievalExpression",superClass:["BaseElement"],properties:[{name:"messagePath",type:"FormalExpression"},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"CorrelationPropertyBinding",superClass:["BaseElement"],properties:[{name:"dataPath",type:"FormalExpression"},{name:"correlationPropertyRef",type:"CorrelationProperty",isAttr:!0,isReference:!0}]},{name:"Resource",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"resourceParameters",type:"ResourceParameter",isMany:!0}]},{name:"ResourceParameter",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isRequired",isAttr:!0,type:"Boolean"},{name:"type",type:"ItemDefinition",isAttr:!0,isReference:!0}]},{name:"CorrelationSubscription",superClass:["BaseElement"],properties:[{name:"correlationKeyRef",type:"CorrelationKey",isAttr:!0,isReference:!0},{name:"correlationPropertyBinding",type:"CorrelationPropertyBinding",isMany:!0}]},{name:"MessageFlow",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"sourceRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"targetRef",type:"InteractionNode",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"MessageFlowAssociation",superClass:["BaseElement"],properties:[{name:"innerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0},{name:"outerMessageFlowRef",type:"MessageFlow",isAttr:!0,isReference:!0}]},{name:"InteractionNode",isAbstract:!0,properties:[{name:"incomingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0},{name:"outgoingConversationLinks",type:"ConversationLink",isMany:!0,isVirtual:!0,isReference:!0}]},{name:"Participant",superClass:["InteractionNode","BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"interfaceRef",type:"Interface",isMany:!0,isReference:!0},{name:"participantMultiplicity",type:"ParticipantMultiplicity"},{name:"endPointRefs",type:"EndPoint",isMany:!0,isReference:!0},{name:"processRef",type:"Process",isAttr:!0,isReference:!0}]},{name:"ParticipantAssociation",superClass:["BaseElement"],properties:[{name:"innerParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"outerParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"ParticipantMultiplicity",properties:[{name:"minimum",default:0,isAttr:!0,type:"Integer"},{name:"maximum",default:1,isAttr:!0,type:"Integer"}],superClass:["BaseElement"]},{name:"Collaboration",superClass:["RootElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"isClosed",isAttr:!0,type:"Boolean"},{name:"participants",type:"Participant",isMany:!0},{name:"messageFlows",type:"MessageFlow",isMany:!0},{name:"artifacts",type:"Artifact",isMany:!0},{name:"conversations",type:"ConversationNode",isMany:!0},{name:"conversationAssociations",type:"ConversationAssociation"},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0},{name:"messageFlowAssociations",type:"MessageFlowAssociation",isMany:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"choreographyRef",type:"Choreography",isMany:!0,isReference:!0},{name:"conversationLinks",type:"ConversationLink",isMany:!0}]},{name:"ChoreographyActivity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"participantRef",type:"Participant",isMany:!0,isReference:!0},{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0},{name:"correlationKeys",type:"CorrelationKey",isMany:!0},{name:"loopType",type:"ChoreographyLoopType",default:"None",isAttr:!0}]},{name:"CallChoreography",superClass:["ChoreographyActivity"],properties:[{name:"calledChoreographyRef",type:"Choreography",isAttr:!0,isReference:!0},{name:"participantAssociations",type:"ParticipantAssociation",isMany:!0}]},{name:"SubChoreography",superClass:["ChoreographyActivity","FlowElementsContainer"],properties:[{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"ChoreographyTask",superClass:["ChoreographyActivity"],properties:[{name:"messageFlowRef",type:"MessageFlow",isMany:!0,isReference:!0}]},{name:"Choreography",superClass:["Collaboration","FlowElementsContainer"]},{name:"GlobalChoreographyTask",superClass:["Choreography"],properties:[{name:"initiatingParticipantRef",type:"Participant",isAttr:!0,isReference:!0}]},{name:"TextAnnotation",superClass:["Artifact"],properties:[{name:"text",type:"String"},{name:"textFormat",default:"text/plain",isAttr:!0,type:"String"}]},{name:"Group",superClass:["Artifact"],properties:[{name:"categoryValueRef",type:"CategoryValue",isAttr:!0,isReference:!0}]},{name:"Association",superClass:["Artifact"],properties:[{name:"associationDirection",type:"AssociationDirection",isAttr:!0},{name:"sourceRef",type:"BaseElement",isAttr:!0,isReference:!0},{name:"targetRef",type:"BaseElement",isAttr:!0,isReference:!0}]},{name:"Category",superClass:["RootElement"],properties:[{name:"categoryValue",type:"CategoryValue",isMany:!0},{name:"name",isAttr:!0,type:"String"}]},{name:"Artifact",isAbstract:!0,superClass:["BaseElement"]},{name:"CategoryValue",superClass:["BaseElement"],properties:[{name:"categorizedFlowElements",type:"FlowElement",isMany:!0,isVirtual:!0,isReference:!0},{name:"value",isAttr:!0,type:"String"}]},{name:"Activity",isAbstract:!0,superClass:["FlowNode"],properties:[{name:"isForCompensation",default:!1,isAttr:!0,type:"Boolean"},{name:"default",type:"SequenceFlow",isAttr:!0,isReference:!0},{name:"ioSpecification",type:"InputOutputSpecification",xml:{serialize:"property"}},{name:"boundaryEventRefs",type:"BoundaryEvent",isMany:!0,isReference:!0},{name:"properties",type:"Property",isMany:!0},{name:"dataInputAssociations",type:"DataInputAssociation",isMany:!0},{name:"dataOutputAssociations",type:"DataOutputAssociation",isMany:!0},{name:"startQuantity",default:1,isAttr:!0,type:"Integer"},{name:"resources",type:"ResourceRole",isMany:!0},{name:"completionQuantity",default:1,isAttr:!0,type:"Integer"},{name:"loopCharacteristics",type:"LoopCharacteristics"}]},{name:"ServiceTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0}]},{name:"SubProcess",superClass:["Activity","FlowElementsContainer","InteractionNode"],properties:[{name:"triggeredByEvent",default:!1,isAttr:!0,type:"Boolean"},{name:"artifacts",type:"Artifact",isMany:!0}]},{name:"LoopCharacteristics",isAbstract:!0,superClass:["BaseElement"]},{name:"MultiInstanceLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"isSequential",default:!1,isAttr:!0,type:"Boolean"},{name:"behavior",type:"MultiInstanceBehavior",default:"All",isAttr:!0},{name:"loopCardinality",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopDataInputRef",type:"ItemAwareElement",isReference:!0},{name:"loopDataOutputRef",type:"ItemAwareElement",isReference:!0},{name:"inputDataItem",type:"DataInput",xml:{serialize:"property"}},{name:"outputDataItem",type:"DataOutput",xml:{serialize:"property"}},{name:"complexBehaviorDefinition",type:"ComplexBehaviorDefinition",isMany:!0},{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"oneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0},{name:"noneBehaviorEventRef",type:"EventDefinition",isAttr:!0,isReference:!0}]},{name:"StandardLoopCharacteristics",superClass:["LoopCharacteristics"],properties:[{name:"testBefore",default:!1,isAttr:!0,type:"Boolean"},{name:"loopCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"loopMaximum",type:"Integer",isAttr:!0}]},{name:"CallActivity",superClass:["Activity","InteractionNode"],properties:[{name:"calledElement",type:"String",isAttr:!0}]},{name:"Task",superClass:["Activity","InteractionNode"]},{name:"SendTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ReceiveTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"},{name:"instantiate",default:!1,isAttr:!0,type:"Boolean"},{name:"operationRef",type:"Operation",isAttr:!0,isReference:!0},{name:"messageRef",type:"Message",isAttr:!0,isReference:!0}]},{name:"ScriptTask",superClass:["Task"],properties:[{name:"scriptFormat",isAttr:!0,type:"String"},{name:"script",type:"String"}]},{name:"BusinessRuleTask",superClass:["Task"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"AdHocSubProcess",superClass:["SubProcess"],properties:[{name:"completionCondition",type:"Expression",xml:{serialize:"xsi:type"}},{name:"ordering",type:"AdHocOrdering",isAttr:!0},{name:"cancelRemainingInstances",default:!0,isAttr:!0,type:"Boolean"}]},{name:"Transaction",superClass:["SubProcess"],properties:[{name:"protocol",isAttr:!0,type:"String"},{name:"method",isAttr:!0,type:"String"}]},{name:"GlobalScriptTask",superClass:["GlobalTask"],properties:[{name:"scriptLanguage",isAttr:!0,type:"String"},{name:"script",isAttr:!0,type:"String"}]},{name:"GlobalBusinessRuleTask",superClass:["GlobalTask"],properties:[{name:"implementation",isAttr:!0,type:"String"}]},{name:"ComplexBehaviorDefinition",superClass:["BaseElement"],properties:[{name:"condition",type:"FormalExpression"},{name:"event",type:"ImplicitThrowEvent"}]},{name:"ResourceRole",superClass:["BaseElement"],properties:[{name:"resourceRef",type:"Resource",isReference:!0},{name:"resourceParameterBindings",type:"ResourceParameterBinding",isMany:!0},{name:"resourceAssignmentExpression",type:"ResourceAssignmentExpression"},{name:"name",isAttr:!0,type:"String"}]},{name:"ResourceParameterBinding",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}},{name:"parameterRef",type:"ResourceParameter",isAttr:!0,isReference:!0}],superClass:["BaseElement"]},{name:"ResourceAssignmentExpression",properties:[{name:"expression",type:"Expression",xml:{serialize:"xsi:type"}}],superClass:["BaseElement"]},{name:"Import",properties:[{name:"importType",isAttr:!0,type:"String"},{name:"location",isAttr:!0,type:"String"},{name:"namespace",isAttr:!0,type:"String"}]},{name:"Definitions",superClass:["BaseElement"],properties:[{name:"name",isAttr:!0,type:"String"},{name:"targetNamespace",isAttr:!0,type:"String"},{name:"expressionLanguage",default:"http://www.w3.org/1999/XPath",isAttr:!0,type:"String"},{name:"typeLanguage",default:"http://www.w3.org/2001/XMLSchema",isAttr:!0,type:"String"},{name:"imports",type:"Import",isMany:!0},{name:"extensions",type:"Extension",isMany:!0},{name:"rootElements",type:"RootElement",isMany:!0},{name:"diagrams",isMany:!0,type:"bpmndi:BPMNDiagram"},{name:"exporter",isAttr:!0,type:"String"},{name:"relationships",type:"Relationship",isMany:!0},{name:"exporterVersion",isAttr:!0,type:"String"}]}],gv=[{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"}]}],yv={tagAlias:"lowerCase",typePrefix:"t"},vv={name:pv,uri:dv,prefix:hv,associations:fv,types:mv,enumerations:gv,xml:yv},Av="BPMNDI",bv="http://www.omg.org/spec/BPMN/20100524/DI",Cv="bpmndi",wv=[{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"]}],xv=[{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"}]}],Ev=[],Tv={name:Av,uri:bv,prefix:Cv,types:wv,enumerations:xv,associations:Ev},Iv="DC",kv="http://www.omg.org/spec/DD/20100524/DC",Nv="dc",Sv=[{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}]}],_v=[],Pv={name:Iv,uri:kv,prefix:Nv,types:Sv,associations:_v},Dv="DI",Ov="http://www.omg.org/spec/DD/20100524/DI",Mv="di",Bv=[{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"}]}],Rv=[],Lv={tagAlias:"lowerCase"},Fv={name:Dv,uri:Ov,prefix:Mv,types:Bv,associations:Rv,xml:Lv},jv="bpmn.io colors for BPMN",Vv="http://bpmn.io/schema/bpmn/biocolor/1.0",Qv="bioc",Uv=[{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"}]}],Gv=[],qv=[],Jv={name:jv,uri:Vv,prefix:Qv,types:Uv,enumerations:Gv,associations:qv},Hv="BPMN in Color",Kv="http://www.omg.org/spec/BPMN/non-normative/color/1.0",Wv="color",Yv=[{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"}]}],zv=[],Xv=[],Zv={name:Hv,uri:Kv,prefix:Wv,types:Yv,enumerations:zv,associations:Xv},$v={bpmn:vv,bpmndi:Tv,dc:Pv,di:Fv,bioc:Jv,color:Zv};function eA(e,i){var t=Y({},$v,e);return new bn(t,i)}var tA="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 iA(e){Di(e,"di")||Object.defineProperty(e,"di",{enumerable:!1,get:function(){throw new Error(tA)}})}function Qe(e,i){return e.$instanceOf(i)}function sA(e){return dt(e.rootElements,function(i){return Qe(i,"bpmn:Process")||Qe(i,"bpmn:Collaboration")})}function nA(e,i){var t={},s=[],n={};function r(C,w){return function(O){C(O,w)}}function a(C){t[C.id]=C}function o(C){return t[C.id]}function l(C,w){var O=C.gfx;if(O)throw new Error(i("already rendered {element}",{element:Me(C)}));return e.element(C,n[C.id],w)}function p(C,w){return e.root(C,n[C.id],w)}function h(C,w){try{var O=n[C.id]&&l(C,w);return a(C),O}catch(W){m(W.message,{element:C,error:W}),console.error(i("failed to import {element}",{element:Me(C)})),console.error(W)}}function m(C,w){e.error(C,w)}var A=this.registerDi=function(w){var O=w.bpmnElement;O?n[O.id]?m(i("multiple DI elements defined for {element}",{element:Me(O)}),{element:O}):(n[O.id]=w,iA(O)):m(i("no bpmnElement referenced in {element}",{element:Me(w)}),{element:w})};function k(C){V(C.plane)}function V(C){A(C),Q(C.planeElement,z)}function z(C){A(C)}this.handleDefinitions=function(w,O){var W=w.diagrams;if(O&&W.indexOf(O)===-1)throw new Error(i("diagram not part of bpmn:Definitions"));if(!O&&W&&W.length&&(O=W[0]),!O)throw new Error(i("no diagram to display"));n={},k(O);var $=O.plane;if(!$)throw new Error(i("no plane for {element}",{element:Me(O)}));var re=$.bpmnElement;if(!re)if(re=sA(w),re)m(i("correcting missing bpmnElement on {plane} to {rootElement}",{plane:Me($),rootElement:Me(re)})),$.bpmnElement=re,A($);else throw new Error(i("no process or collaboration to display"));var d=p(re,$);if(Qe(re,"bpmn:Process")||Qe(re,"bpmn:SubProcess"))Z(re,d);else if(Qe(re,"bpmn:Collaboration"))H(re,d),G(w.rootElements,d);else throw new Error(i("unsupported bpmnElement for {plane}: {rootElement}",{plane:Me($),rootElement:Me(re)}));ie(s)};var ie=this.handleDeferred=function(){for(var w;s.length;)w=s.shift(),w()};function Z(C,w){y(C,w),P(C.ioSpecification,w),F(C.artifacts,w),a(C)}function G(C,w){var O=Oi(C,function(W){return!o(W)&&Qe(W,"bpmn:Process")&&W.laneSets});O.forEach(r(Z,w))}function N(C,w){h(C,w)}function T(C,w){Q(C,r(N,w))}function D(C,w){h(C,w)}function _(C,w){h(C,w)}function S(C,w){h(C,w)}function I(C,w){h(C,w)}function F(C,w){Q(C,function(O){Qe(O,"bpmn:Association")?s.push(function(){I(O,w)}):I(O,w)})}function P(C,w){!C||(Q(C.dataInputs,r(_,w)),Q(C.dataOutputs,r(S,w)))}var L=this.handleSubProcess=function(w,O){y(w,O),F(w.artifacts,O)};function B(C,w){var O=h(C,w);Qe(C,"bpmn:SubProcess")&&L(C,O||w),Qe(C,"bpmn:Activity")&&P(C.ioSpecification,w),s.push(function(){Q(C.dataInputAssociations,r(D,w)),Q(C.dataOutputAssociations,r(D,w))})}function U(C,w){h(C,w)}function X(C,w){h(C,w)}function Ne(C,w){s.push(function(){var O=h(C,w);C.childLaneSet&&le(C.childLaneSet,O||w),ae(C)})}function le(C,w){Q(C.lanes,r(Ne,w))}function g(C,w){Q(C,r(le,w))}function y(C,w){x(C.flowElements,w),C.laneSets&&g(C.laneSets,w)}function x(C,w){Q(C,function(O){Qe(O,"bpmn:SequenceFlow")?s.push(function(){U(O,w)}):Qe(O,"bpmn:BoundaryEvent")?s.unshift(function(){B(O,w)}):Qe(O,"bpmn:FlowNode")?B(O,w):Qe(O,"bpmn:DataObject")||(Qe(O,"bpmn:DataStoreReference")||Qe(O,"bpmn:DataObjectReference")?X(O,w):m(i("unrecognized flowElement {element} in context {context}",{element:Me(O),context:w?Me(w.businessObject):"null"}),{element:O,context:w}))})}function M(C,w){var O=h(C,w),W=C.processRef;W&&Z(W,O||w)}function H(C,w){Q(C.participants,r(M,w)),F(C.artifacts,w),s.push(function(){T(C.messageFlows,w)})}function ae(C){Q(C.flowNodeRef,function(w){var O=w.get("lanes");O&&O.push(C)})}}function rA(e,i,t){var s,n,r,a,o,l=[];function p(h,m){var A={root:function(ie,Z){return s.add(ie,Z)},element:function(ie,Z,G){return s.add(ie,Z,G)},error:function(ie,Z){l.push({message:ie,context:Z})}},k=new nA(A,r);m=m||h.diagrams&&h.diagrams[0];var V=aA(h,m);if(!V)throw new Error(r("no diagram to display"));Q(V,function(ie){k.handleDefinitions(h,ie)});var z=m.plane.bpmnElement.id;a.setRootElement(a.findRoot(z+"_plane")||a.findRoot(z))}return new Promise(function(h,m){try{return s=e.get("bpmnImporter"),n=e.get("eventBus"),r=e.get("translate"),a=e.get("canvas"),n.fire("import.render.start",{definitions:i}),p(i,t),n.fire("import.render.complete",{error:o,warnings:l}),h({warnings:l})}catch(A){return A.warnings=l,m(A)}})}function aA(e,i){if(!!i){var t=i.plane.bpmnElement,s=t;!J(t,"bpmn:Process")&&!J(t,"bpmn:Collaboration")&&(s=oA(t));var n;J(s,"bpmn:Collaboration")?n=s:n=dt(e.rootElements,function(p){if(!!J(p,"bpmn:Collaboration"))return dt(p.participants,function(h){return h.processRef===s})});var r=[s];n&&(r=Bf(n.participants,function(p){return p.processRef}),r.push(n));var a=Zc(r),o=[i],l=[t];return Q(e.diagrams,function(p){var h=p.plane.bpmnElement;a.indexOf(h)!==-1&&l.indexOf(h)===-1&&(o.push(p),l.push(h))}),o}}function Zc(e){var i=[];return Q(e,function(t){!t||(i.push(t),i=i.concat(Zc(t.flowElements)))}),i}function oA(e){for(var i=e;i;){if(J(i,"bpmn:Process"))return i;i=i.$parent}}var lA='<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>',$c=lA,eu={verticalAlign:"middle"},tu={color:"#404040"},cA={zIndex:"1001",position:"fixed",top:"0",left:"0",right:"0",bottom:"0"},uA={width:"100%",height:"100%",background:"rgba(40,40,40,0.2)"},pA={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"},dA='<div class="bjs-powered-by-lightbox"><div class="backdrop"></div><div class="notice"><a href="https://bpmn.io" target="_blank" rel="noopener" class="link">'+$c+'</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>',bt;function hA(){bt=$e(dA),Oe(bt,cA),Oe(ht("svg",bt),eu),Oe(ht(".backdrop",bt),uA),Oe(ht(".notice",bt),pA),Oe(ht(".link",bt),tu,{margin:"15px 20px 15px 10px",alignSelf:"center"})}function fA(){bt||(hA(),Bi.bind(bt,".backdrop","click",function(e){document.body.removeChild(bt)})),document.body.appendChild(bt)}function Te(e){e=Y({},gA,e),this._moddle=this._createModdle(e),this._container=this._createContainer(e),vA(this._container),this._init(this._container,this._moddle,e)}vt(Te,Qi),Te.prototype.importXML=async function(i,t){const s=this;function n(a){return s.get("eventBus").createEvent(a)}let r=[];try{i=this._emit("import.parse.start",{xml:i})||i;let a;try{a=await this._moddle.fromXML(i,"bpmn:Definitions")}catch(A){throw this._emit("import.parse.complete",{error:A}),A}let o=a.rootElement;const l=a.references,p=a.warnings,h=a.elementsById;r=r.concat(p),o=this._emit("import.parse.complete",n({error:null,definitions:o,elementsById:h,references:l,warnings:r}))||o;const m=await this.importDefinitions(o,t);return r=r.concat(m.warnings),this._emit("import.done",{error:null,warnings:r}),{warnings:r}}catch(a){let o=a;throw r=r.concat(o.warnings||[]),Cn(o,r),o=mA(o),this._emit("import.done",{error:o,warnings:o.warnings}),o}},Te.prototype.importDefinitions=async function(i,t){return this._setDefinitions(i),{warnings:(await this.open(t)).warnings}},Te.prototype.open=async function(i){const t=this._definitions;let s=i;if(!t){const r=new Error("no XML imported");throw Cn(r,[]),r}if(typeof i=="string"&&(s=yA(t,i),!s)){const r=new Error("BPMNDiagram <"+i+"> not found");throw Cn(r,[]),r}try{this.clear()}catch(r){throw Cn(r,[]),r}const{warnings:n}=await rA(this,t,s);return{warnings:n}},Te.prototype.saveXML=async function(i){i=i||{};let t=this._definitions,s,n;try{if(!t)throw new Error("no definitions loaded");t=this._emit("saveXML.start",{definitions:t})||t,n=(await this._moddle.toXML(t,i)).xml,n=this._emit("saveXML.serialized",{xml:n})||n}catch(a){s=a}const r=s?{error:s}:{xml:n};if(this._emit("saveXML.done",r),s)throw s;return r},Te.prototype.saveSVG=async function(){this._emit("saveSVG.start");let i,t;try{const s=this.get("canvas"),n=s.getActiveLayer(),r=ht("defs",s._svg),a=Ql(n),o=r?"<defs>"+Ql(r)+"</defs>":"",l=n.getBBox();i=`<?xml version="1.0" encoding="utf-8"?>
24
24
  <!-- created with bpmn-js / http://bpmn.io -->
25
25
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
26
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="`+l.width+'" height="'+l.height+'" viewBox="'+l.x+" "+l.y+" "+l.width+" "+l.height+'" version="1.1">'+o+a+"</svg>"}catch(s){t=s}if(this._emit("saveSVG.done",{error:t,svg:i}),t)throw t;return{svg:i}},we.prototype._setDefinitions=function(e){this._definitions=e},we.prototype.getModules=function(){return this._modules},we.prototype.clear=function(){!this.getDefinitions()||Wt.prototype.clear.call(this)},we.prototype.destroy=function(){Wt.prototype.destroy.call(this),Ri(this._container)},we.prototype.on=function(e,i,t,s){return this.get("eventBus").on(e,i,t,s)},we.prototype.off=function(e,i){this.get("eventBus").off(e,i)},we.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=kt(e)),e.appendChild(this._container),this._emit("attach",{}),this.get("canvas").resized()},we.prototype.getDefinitions=function(){return this._definitions},we.prototype.detach=function(){const e=this._container,i=e.parentNode;!i||(this._emit("detach",{}),i.removeChild(e))},we.prototype._init=function(e,i,t){const s=t.modules||this.getModules(t),n=t.additionalModules||[],r=[{bpmnjs:["value",this],moddle:["value",i]}],a=[].concat(r,s,n),o=z(Lf(t,["additionalModules"]),{canvas:z({},t.canvas,{container:e}),modules:a});Wt.call(this,o),t&&t.container&&this.attachTo(t.container)},we.prototype._emit=function(e,i){return this.get("eventBus").fire(e,i)},we.prototype._createContainer=function(e){const i=Ye('<div class="bjs-container"></div>');return De(i,{width:eu(e.width),height:eu(e.height),position:e.position}),i},we.prototype._createModdle=function(e){const i=z({},this._moddleExtensions,e.moddleExtensions);return new Uv(i)},we.prototype._modules=[];function An(e,i){return e.warnings=i,e}function sA(e){const t=/unparsable content <([^>]+)> detected([\s\S]*)$/.exec(e.message);return t&&(e.message="unparsable content <"+t[1]+"> detected; this may indicate an invalid BPMN 2.0 diagram file"+t[2]),e}const nA={width:"100%",height:"100%",position:"relative"};function eu(e){return e+(Ut(e)?"px":"")}function rA(e,i){return i&&pt(e.diagrams,function(t){return t.id===i})||null}function aA(e){const t='<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" >'+Zc+"</a>",s=Ye(t);De(kt("svg",s),Xc),De(s,$c,{position:"absolute",bottom:"15px",right:"15px",zIndex:"100"}),e.appendChild(s),fi.bind(s,"click",function(n){iA(),n.preventDefault()})}function qi(e){we.call(this,e)}gt(qi,we),qi.prototype._modules=[Ag,Fg,ic,qg,Yl],qi.prototype._moddleExtensions={};var oA=/^djs-cursor-.*$/;function tu(e){var i=hi(document.body);i.removeMatching(oA),e&&i.add("djs-cursor-"+e)}function lA(){tu(null)}var cA=5e3;function uA(e,i){i=i||"element.click";function t(){return!1}return e.once(i,cA,t),function(){e.off(i,t)}}function iu(e,i){return{x:e.x-i.x,y:e.y-i.y}}var pA=15;function su(e,i){var t;function s(o){return a(o.originalEvent)}e.on("canvas.focus.changed",function(o){o.focused?e.on("element.mousedown",500,s):e.off("element.mousedown",s)});function n(o){var l=t.start,p=t.button,h=cc(o),g=iu(h,l);if(!t.dragging&&dA(g)>pA&&(t.dragging=!0,p===0&&uA(e),tu("grab")),t.dragging){var C=t.last||t.start;g=iu(h,C),i.scroll({dx:g.x,dy:g.y}),t.last=h}o.preventDefault()}function r(o){fi.unbind(document,"mousemove",n),fi.unbind(document,"mouseup",r),t=null,lA()}function a(o){if(!Gl(o.target,".djs-draggable")){var l=o.button;if(!(l>=2||o.ctrlKey||o.shiftKey||o.altKey))return t={button:l,start:cc(o)},fi.bind(document,"mousemove",n),fi.bind(document,"mouseup",r),!0}}this.isActive=function(){return!!t}}su.$inject=["eventBus","canvas"];function dA(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}const na={__init__:["moveCanvas"],moveCanvas:["type",su]};var hA=new Vr("tt");function fA(e){var i=Ye('<div class="djs-tooltip-container" />');return De(i,{position:"absolute",width:"0",height:"0"}),e.insertBefore(i,e.firstChild),i}function mA(e,i,t){De(e,{left:i+"px",top:t+"px"})}function ra(e,i){e.style.display=i===!1?"none":""}var nu="djs-tooltip",aa="."+nu;function Qe(e,i){this._eventBus=e,this._canvas=i,this._ids=hA,this._tooltipDefaults={show:{minZoom:.7,maxZoom:5}},this._tooltips={},this._tooltipRoot=fA(i.getContainer());var t=this;Bi.bind(this._tooltipRoot,aa,"mousedown",function(s){s.stopPropagation()}),Bi.bind(this._tooltipRoot,aa,"mouseover",function(s){t.trigger("mouseover",s)}),Bi.bind(this._tooltipRoot,aa,"mouseout",function(s){t.trigger("mouseout",s)}),this._init()}Qe.$inject=["eventBus","canvas"],Qe.prototype.add=function(e){if(!e.position)throw new Error("must specifiy tooltip position");if(!e.html)throw new Error("must specifiy tooltip html");var i=this._ids.next();return e=z({},this._tooltipDefaults,e,{id:i}),this._addTooltip(e),e.timeout&&this.setTimeout(e),i},Qe.prototype.trigger=function(e,i){var t=i.delegateTarget||i.target,s=this.get(Or(t,"data-tooltip-id"));!s||(e==="mouseover"&&s.timeout&&this.clearTimeout(s),e==="mouseout"&&s.timeout&&(s.timeout=1e3,this.setTimeout(s)))},Qe.prototype.get=function(e){return typeof e!="string"&&(e=e.id),this._tooltips[e]},Qe.prototype.clearTimeout=function(e){if(e=this.get(e),!!e){var i=e.removeTimer;i&&(clearTimeout(i),e.removeTimer=null)}},Qe.prototype.setTimeout=function(e){if(e=this.get(e),!!e){this.clearTimeout(e);var i=this;e.removeTimer=setTimeout(function(){i.remove(e)},e.timeout)}},Qe.prototype.remove=function(e){var i=this.get(e);i&&(Ri(i.html),Ri(i.htmlContainer),delete i.htmlContainer,delete this._tooltips[i.id])},Qe.prototype.show=function(){ra(this._tooltipRoot)},Qe.prototype.hide=function(){ra(this._tooltipRoot,!1)},Qe.prototype._updateRoot=function(e){var i=e.scale||1,t=e.scale||1,s="matrix("+i+",0,0,"+t+","+-1*e.x*i+","+-1*e.y*t+")";this._tooltipRoot.style.transform=s,this._tooltipRoot.style["-ms-transform"]=s},Qe.prototype._addTooltip=function(e){var i=e.id,t=e.html,s,n=this._tooltipRoot;t.get&&t.constructor.prototype.jquery&&(t=t.get(0)),ut(t)&&(t=Ye(t)),s=Ye('<div data-tooltip-id="'+i+'" class="'+nu+'">'),De(s,{position:"absolute"}),s.appendChild(t),e.type&&hi(s).add("djs-tooltip-"+e.type),e.className&&hi(s).add(e.className),e.htmlContainer=s,n.appendChild(s),this._tooltips[i]=e,this._updateTooltip(e)},Qe.prototype._updateTooltip=function(e){var i=e.position,t=e.htmlContainer;mA(t,i.x,i.y)},Qe.prototype._updateTooltipVisibilty=function(e){q(this._tooltips,function(i){var t=i.show,s=i.htmlContainer,n=!0;t&&((t.minZoom>e.scale||t.maxZoom<e.scale)&&(n=!1),ra(s,n))})},Qe.prototype._init=function(){var e=this;function i(t){e._updateRoot(t),e._updateTooltipVisibilty(t),e.show()}this._eventBus.on("canvas.viewbox.changing",function(t){e.hide()}),this._eventBus.on("canvas.viewbox.changed",function(t){i(t.viewbox)})};const oa={__init__:["tooltips"],tooltips:["type",Qe]},gA=e=>{var i=Object.prototype.toString,t={"[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":t[i.call(e)]},la=e=>{var i=gA(e),t;if(i==="array")t=[];else if(i==="object")t={};else return e;if(i==="array")for(var s=0,n=e.length;s<n;s++)t.push(la(e[s]));else if(i==="object")for(var r in e)t[r]=la(e[r]);return t};function yA(e,i="YYYY-MM-DD HH:mm:ss"){const t=new Date(e),s=t.getFullYear(),n=t.getMonth()+1,r=t.getDate(),a=t.getHours(),o=t.getMinutes(),l=t.getSeconds(),p=t.getDay(),g={YYYY:s,MM:n,DD:r,HH:a,mm:o,ss:l,ww:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"][p]};for(let C in g)i=i.replace(C,g[C]);return i}function vA(e){e=la(e);const i={};e.forEach(s=>{i[s.historyActivityId]?i[s.historyActivityId].push(s):i[s.historyActivityId]=[s]});for(let s in i){const n=i[s];if(n.length>1){const r=e.findLast(a=>a.historyActivityId==s);r.assigneeName=Array.from(new Set(n.map(a=>a.assigneeName))).join("/")}}const t=[];return e.forEach(s=>{let{assigneeName:n,createTime:r,endTime:a,comments:o}=s;/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&(r=r.replace(/-/g,"/"),a=a.replace(/-/g,"/"));const l={id:s.historyActivityId,class:!a&&s.historyActivityType!="candidate"?"nodePrimary":""};let p="";if(n){if(p=`<span title='${n}'>${n}</span><br>`,r&&(p+=`<span title='${r}'>${yA(r,"YYYY-MM-DD HH:mm")}</span><br>`),o&&o.length>0){let g,{type:C,fullMessage:k}=o.find(J=>J.action=="AddComment")||{};C=="assigneeComment"&&(g="\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A"+k,l.class="nodeWarn"),C=="dispatchComment"&&(g="\u8C03\u5EA6\uFF1A"+k,l.class="nodeWarn"),C=="transferComment"&&(g="\u8F6C\u529E\uFF1A"+k,l.class="nodeWarn"),C=="delegateComment"&&(g="\u59D4\u6258\uFF1A"+k,l.class="nodeWarn"),C=="rollbackComment"&&(g="\u6307\u5B9A\u56DE\u9000\uFF1A"+k,l.class="nodeError"),C=="terminateComment"&&(g="\u7EC8\u6B62\uFF1A"+k,l.class="nodeError"),C=="addMultiInstanceComment"&&(g="\u52A0\u7B7E\uFF1A"+k,l.class="nodeWarn"),C=="deleteMultiInstanceComment"&&(g="\u51CF\u7B7E\uFF1A"+k,l.class="nodeError"),C=="withdrawComment"&&(g="\u64A4\u9500\uFF1A"+k,l.class="nodeWarn"),C=="deleteProcessComment"&&(g="\u5220\u9664\u6D41\u7A0B\uFF1A"+k,l.class="nodeError"),C=="cancelProcessComment"&&(g="\u62D2\u7EDD\uFF1A"+k,l.class="nodeError"),C=="comment"&&(g="\u5BA1\u6279\uFF1A"+k,l.class="nodeSuccess"),g&&(p+=`<span title='${g}'>${g}</span>`)}l.tooltip=p}s.historyActivityType=="sequenceFlow"?l.class="lineWarn":!l.class&&s.historyActivityType!="candidate"&&(l.class="nodeSuccess");const h=t.findIndex(g=>g.id==s.historyActivityId);h!=-1?t.splice(h,1,l):t.push(l)}),t}function ru(e){const i=[],t=[],s=[];return e.routeTxt&&e.routeTxt.length>0&&e.routeTxt.forEach(n=>{n.type==="user"?i.push(...n.ids.filter(r=>r&&r.trim()!=="")):n.type==="post"?t.push(...n.ids):n.type==="dept"&&s.push(...n.ids)}),{intersection:e.assigneeRetain=="true"?1:0,userIds:[...new Set(i)],postIds:[...new Set(t)],deptIds:[...new Set(s)]}}var AA=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{ref:"container",staticClass:"bpmn-look"})},bA=[];const V0="",CA={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 i=e;i&&this.isXml&&this.loadXml(i)},immediate:!0}},methods:{async getXml(e){let i={},t="";try{i=await api.repository.getXmlByProcessDefId({processDefId:e}),i.code==200&&(t=i.data)}catch(s){console.error(s)}return t},async initViewer(){this.viewer&&this.viewer.destroy();const e=Object.prototype.toString.call(qi)=="[object Function]"?qi:qi.default,i=Object.prototype.toString.call(oa)=="[object Object]"?oa:oa.default,t=Object.prototype.toString.call(na)=="[object Object]"?na:na.default;this.viewer=new e({container:this.$refs.container,additionalModules:[i,t]}),this.viewer.on("import.done",({error:s})=>{s||(this.canvasResize(),this.addApprovalData(),this.enableTouchMove())})},canvasResize(){this.viewer&&this.viewer.get("canvas").zoom(1,"auto")},enableTouchMove(){const e=this.viewer.get("canvas"),i=e._svg,t=document.querySelector(".viewport"),s=document.querySelector(".djs-tooltip-container");let n=!1,r,a,o=0,l=0,p=0,h=0;i.addEventListener("touchstart",g=>{n=!0;const C=g.touches[0];r=C.clientX,a=C.clientY;const k=t.getAttribute("transform").match(/matrix\(([^)]+)\)/)[1].split(/\s*,\s*|\s+/);o=parseFloat(k[4]),l=parseFloat(k[5]);const J=this.getTransformMatrix(s.style.transform);this.isAdd?(p=parseFloat(J[4]),h=parseFloat(J[5])):(p=parseFloat(J[4])+30,h=parseFloat(J[5])+16,this.isAdd=!0)}),i.addEventListener("touchmove",g=>{if(!n)return;const C=g.touches[0],k=C.clientX-r,J=C.clientY-a;l!==void 0&&(t.setAttribute("transform",`matrix(0.679276 0 0 0.679276 ${o+k} ${l+J})`),s.setAttribute("style",`position: absolute; width: 0px; height: 0px; transform: matrix(0.615, 0, 0, 0.615, ${p+k}, ${h+J});`)),e._cachedViewbox&&(e._cachedViewbox.x=k,e._cachedViewbox.y=J),g.preventDefault()}),i.addEventListener("touchend",()=>{n=!1})},getTransformMatrix(e){if(!e||e==="none")return[1,0,0,1,0,0];const i=e.match(/matrix(3d)?\(([^)]+)\)/i);if(!i)return null;const t=i[2].split(/\s*,\s*|\s+/).map(parseFloat);return i[1]!=="3d"&&t.length===6||i[1]==="3d"&&t.length===16?t:null},setNodeColor(e){const i=this.viewer.get("canvas"),t=this.viewer.get("elementRegistry"),s=this.viewer.get("tooltips");e.forEach(n=>{if(n.id&&n.class&&i.addMarker(n.id,n.class),n.id&&n.tooltip){const r=t.get(n.id);if(r){let{x:a,y:o,type:l}=r;["bpmn:StartEvent","bpmn:EndEvent"].includes(l)?(a=a-45,o=o+65):["bpmn:UserTask"].includes(l)&&(a=a-10,o=o+90),s.add({position:{x:a,y:o},html:n.tooltip})}}})},addApprovalData(){if(!this.approvalData||this.approvalData.length==0)return;const e=vA(this.approvalData);e&&e.length>0&&this.setNodeColor(e)},async loadXml(e){this.viewer||await this.initViewer();try{const{warnings:i}=await this.viewer.importXML(e);i.length&&this.$emit("warning",i)}catch(i){this.$emit("error",{message:"XML \u52A0\u8F7D\u5931\u8D25",detail:i.message}),console.error("XML \u52A0\u8F7D\u5931\u8D25:",i)}}},beforeDestroy(){window.removeEventListener("resize",this.canvasResize),this.viewer&&this.viewer.destroy()}},au={};var wA=ye(CA,AA,bA,!1,xA,"12ddfc25",null,null);function xA(e){for(let i in au)this[i]=au[i]}const ou=function(){return wA.exports}(),EA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAByFJREFUeF7t19HJLEUUhdHpQEzEOMREjOMmIsZhIgYyou8KvTecA1Xrgm+zLXrV/9H08/GPAIH/FHjYECDw3wIC8ddB4H8EBOLPg4BA/A0QyAS8QTI3q0sEBHLJRXvMTEAgmZvVJQICueSiPWYmIJDMzeoSAYFcctEeMxMQSOZmdYmAQC65aI+ZCQgkc7O6REAgl1y0x8wEBJK5WV0iIJBLLtpjZgICydysLhEQyCUX7TEzAYFkblaXCAjkkov2mJmAQDI3q0sEBHLJRXvMTEAgmZvVJQICueSiPWYmIJDMrVp9v9+fP5/PHy//J788z/Pny42flwICKQGTuUAStZ2NQBbcBbKAHh4pkBCumQmk0ZvdCmTW+9/TBLKAHh4pkBCumQmk0ZvdCmTW2xtkwbs5UiCNXrj1BgnhFmYCWUAXyAJ6eKRAQrhmJpBGb3YrkFlv3yAL3s2RAmn0wq03SAi3MBPIArpAFtDDIwUSwjUzgTR6s1uBzHr7Blnwbo4USKMXbr1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CRIohmmTwEC4tONVkEUICBBEs0wfQoQEJ9utAqiAAEJkmiG6VOAgPh0o1UQBQhIkEQzTJ8CBMSnG62CKEBAgiSaYfoUICA+3WgVRAECEiTRDNOnAAHx6UarIAoQkCCJZpg+BQiITzdaBVGAgARJNMP0KUBAfLrRKogCBCRIohmmTwEC4tONVkEUICBBEs0wfQoQEJ9utAqiAAEJkmiG6VOAgPh0o1UQBQhIkEQzTJ8CBMSnG62CKEBAgiSaYfoUICA+3WgVRAECEiTRDNOnAAHx6UarIAoQkCCJZpg+BQiITzdaBVGAgARJNMP0KUBAfLrRKogCBCRIohmmTwEC4tONVkEUICBBEs0wfQoQEJ9utAqiAAEJkmiG6VPgf/UDKvbyCmTdAAAAAElFTkSuQmCC",IA={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 EA},loading(){return TA},success(){return ca}},watch:{type:{handler(e,i){if(e=="loading"){clearInterval(this.timeOut);return}else this.timeOut=setTimeout(()=>{this.show=!1},1500)},immediate:!0,deep:!0}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el)})},methods:{handleOpen(){this.show||(this.show=!0,this.type=="loading"?clearInterval(this.timeOut):this.timeOut=setTimeout(()=>{this.show=!1},1500))},handleClose(){this.show=!1}}};var kA=function(){var e=this,i=e.$createElement,t=e._self._c||i;return e.show?t("div",[e.statusTips?t("div",{staticClass:"top-tipss",style:e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;"},[t("div",{staticClass:"top-tipss-status"},[e.type=="loading"?t("div",{staticClass:"top-tipss-loadinig"},[t("img",{attrs:{src:e.loading}}),e.text?t("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e(),e.type=="success"?t("div",{staticClass:"top-tipss-success"},[t("img",{attrs:{src:e.success}}),e.text?t("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e(),e.type=="error"?t("div",{staticClass:"top-tipss-error"},[t("img",{attrs:{src:e.error}}),e.text?t("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e()])]):t("div",{staticClass:"top-tipss",style:e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;"},[e.text?t("div",{staticClass:"top-tipss-text"},[e._v(e._s(e.text))]):e._e()]),t("div",{staticClass:"top-tipss-mask",style:e.show&&e.statusTips?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"})]):e._e()},NA=[];const Q0="",lu={};var SA=ye(IA,kA,NA,!1,_A,"79d9d777",null,null);function _A(e){for(let i in lu)this[i]=lu[i]}const dt=function(){return SA.exports}(),PA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAEmBJREFUeF7tnAt0VdWZx397n3PvDUlISHgEkJfDGxXRVnGqq2o7PtvB1hl0fFun6ji+xhfgzCioq5WA2hFxptUOY23VqlNf06laW7VrVUfs8gEqgmBFRZ4hIRBIcu85e8/69j4HriEJAYLiY691181Ncs/Z+3/++/u+/b0U3T1mWM0AAlZhmaEirFUoZZlus+WlDM8ZJqKpsJZhCiYAxmgC5T8Pk+lYWG4Vy7UhBrSF15ViOYaNrZr5TVt4lxtUfuu1Z9iQAShWETNDme5ckuqWiwkIdxGyEsUMCg6QOTbXazMDAs1wYD9jGKk1gwJFX6UIUZQrS7W7v0AI5fJKAGqy0IQVrMAq6rE0WUsUW9YZwwqtWQq8FRve3VDGKi5TrQ6wGWRQGKYTu3ns5tg9gGRCD6NZ5Njinlz1HFtBK/thOUwZJmjNKGCcggoDthChYguRvIqetTFC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50KftSU6TyLii9jixtWyx8AGWeYHm/nVTVNJHyOqdaWhSvNSdZ1B7UjfpqtKnB/2N4UQUVwFjlEoaLFmMa7CknH2iXEcp7d633r+zBkvSXCl5SaWQdSFxabCkXJcXAUbUgTRYulVrfvPpN1hKQWqnRVfVTFupDOMIOSwwTLAwWmnGttuiqyhVRhb9sRZdRY9OmNJeiy5reFvBklhadEW8ZDWLGqapxq3G307Km/aeffcwyPcWChB1mjR5GzHH5ta1MjCMGI5mnIGRGgYFmr4KpHawp1JJkzd/5tm+yVsyY2uRcu1N0vYsNqwzsELDUgyLopB3++ZYuWyvbPLW0XbrpE1gFg5DUYFvC3iQy+U0rp3XMKUZ6hSmL9Nejnb5nfK315A2gZaNeXjpk2wT+P9KELohNtx5+AAAAABJRU5ErkJggg==",DA={name:"attchViews",components:{TopTips:dt,PreviewImage:Ys,PreView:fl,TopPopup:ze},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,i){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 PA},del(){return gl},doc(){return yl},file(){return vl},image(){return Al},pdf(){return bl},xls(){return Cl},zip(){return wl}},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,i){this.handleTips("\u4E0A\u4F20\u4E2D",!0,"loading");const t=Array.from(e.target.files);document.getElementById("fileUp").value="";let s=0,n=this.haveCount>t.length?t.length:this.haveCount;try{for(let r=0;r<n;r++)if(this.extension.includes(t[r].name.substring(t[r].name.lastIndexOf(".")+1))){const a=new FormData;a.append("file",t[r]);const o=await this.request.post("/file/upload",a,{headers:{"Content-Type":"multipart/form-data"}});if(o.code===200){if(this.filesArr.length>0){for(let l=0;l<this.filesArr.length;l++)if(o.name==this.filesArr[l].name&&s++,this.filesArr[l].name.includes(`(${s})`)&&s++,s>0){let p=o.name.lastIndexOf(".");o.name=`${o.name.substring(0,p)} (${s}) .${o.name.substring(o.name.lastIndexOf(".")+1)}`}}this.filesArr.push(o.data)}else{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.viewImage();return}}else{this.handleTips(`\u6587\u4EF6${t[r].name}\u683C\u5F0F\u9519\u8BEF,\u8BF7\u91CD\u65B0\u4E0A\u4F20`,!0,"error");return}this.handleTips("\u4E0A\u4F20\u6210\u529F",!0,"success"),this.viewImage(),this.emitView()}catch{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.emitView()}},handleDel(e,i){if(this.deletFn){if(this.deletFn(i)===!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,i){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((i,t)=>{this.imgIcon.includes(i.name.substring(i.name.lastIndexOf(".")+1).toLowerCase())}),e=this.filesArr.filter(i=>this.imgIcon.includes(i.name.substring(i.name.lastIndexOf(".")+1).toLowerCase())),e.forEach((i,t)=>{this.lists.push(i.url)})},emitView(){this.$emit("getValue",this.filesArr)},clearData(){this.filesArr=[]},handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()}}};var MA=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"attch-upload"},[e.buttonLoading?t("div",{staticClass:"attch-upload-mask"}):e._e(),t("div",{staticClass:"attch-upload-body"},[t("div",{staticClass:"upload-header"},[t("div",{staticClass:"upload-header-title"},[e._v(" \u9644\u4EF6 "),e.requires?t("span",{staticClass:"upload-header-title--re"},[e._v("*")]):e._e()]),t("div",{staticClass:"upload-header-upload"},[e.onlyShow?e._e():t("div",{staticClass:"upload-header-upload--item",attrs:{id:"inputfile"},on:{click:e.handleClick}},[t("img",{attrs:{src:e.addFile}}),e._v("\u4E0A\u4F20\u9644\u4EF6 ")])])]),t("div",{staticClass:"upload-body"},[e.filesArr.length>0?t("div",{staticClass:"upload-list"},e._l(e.filesArr,function(s,n){return t("div",{key:s.uuid,staticClass:"list-items"},[t("div",{staticClass:"list-items-icon"},[e.xlsIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.xls}}):e.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.image}}):s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?t("img",{staticClass:"icon-img",attrs:{src:e.pdf}}):e.docIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.doc}}):e.zipIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.zip}}):t("img",{staticClass:"icon-img",attrs:{src:e.file}})]),t("div",{staticClass:"list-items-info"},[t("div",{staticClass:"info-name"},[e._v(" "+e._s(s.name)+" ")]),t("div",{staticClass:"info-attribute"},[t("span",{staticClass:"info-attribute-size"},[e._v(e._s(s.fileSize<1024?s.fileSize:s.fileSize/1024>1024?parseFloat((s.fileSize/1024/1024).toFixed(2)):parseFloat((s.fileSize/1024).toFixed(2)))+e._s(s.fileSize<1024?"b":parseFloat((s.fileSize/1024).toFixed(2))<1024?"kb":"M")+" ")]),t("span",{staticClass:"info-attribute-views",on:{click:function(r){return e.viewFile(s,n)}}},[e._v(" \u9884\u89C8 ")])])]),e.onlyShow?e._e():t("div",{staticClass:"list-items-operation"},[t("div",{staticClass:"list-items-operation-img",on:{click:function(r){return e.handleDel(n,s)}}},[t("img",{attrs:{src:e.del}})])])])}),0):e._e()])]),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("PreviewImage",{attrs:{images:e.lists,visible:e.visible,indexd:e.indexd},on:{"update:visible":function(s){return e.visible=s}}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleS,titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},on:{"update:visible":function(s){return e.visibleS=s}}},[e.visibleS?t("PreView",{attrs:{file:e.fileUrl}}):e._e()],1)],1)},OA=[];const U0="",cu={};var BA=ye(DA,MA,OA,!1,RA,"26dcacc2",null,null);function RA(e){for(let i in cu)this[i]=cu[i]}const bi=function(){return BA.exports}();var LA=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{attrs:{type:"flex"}},[t("div",[e._l(e.flowList,function(s,n){return[["candidate","sequenceFlow"].includes(s.historyActivityType)?e._e():t("div",{key:s.id,staticClass:"flow-item",attrs:{timestamp:s.endTime||s.createTime,placement:"top"}},[t("p",[e._v(" "+e._s(s.assigneeName)+" \u5728 ["+e._s(s.createTime)+"] \u5F00\u59CB\u5904\u7406 ["+e._s(s.historyActivityType=="endEvent"?"\u7ED3\u675F":s.historyActivityName||"\u672A\u547D\u540D")+"] \u73AF\u8282 ")]),s.historyActivityDurationTime?t("p",[e._v(" \u4EFB\u52A1\u5386\u65F6 ["+e._s(s.historyActivityDurationTime)+"] ")]):e._e(),s.comments&&s.comments.length>0?e._l(s.comments.filter(function(r){return r.action==="AddComment"}),function(r,a){return t("p",{key:a},[a<1?[e.commentMap[r.type]?t("span",[e._v(" "+e._s(e.commentMap[r.type])+": ["+e._s(r.fullMessage)+"] ")]):e._e(),s.comments.filter(function(o){return o.action==="AddComment"}).length>1?t("span",{staticStyle:{color:"#1989fa",float:"right"},on:{click:e.handleClick}},[e._v(" "+e._s(e.toggleText)+" "),t("i",{class:[e.isFlag?"arrow-up":"arrow-down"]})]):e._e(),r.time?t("p",{staticStyle:{color:"gray","font-size":"12px"}},[e._v(e._s(r.time))]):e._e()]:e._e(),a>0&&e.isFlag?[e.commentMap[r.type]?t("span",[e._v(" "+e._s(e.commentMap[r.type])+": ["+e._s(r.fullMessage)+"] ")]):e._e(),r.time?t("p",{staticStyle:{color:"gray","font-size":"12px"}},[e._v(e._s(r.time))]):e._e()]:e._e()],2)}):e._e(),s.endTime?t("p",[e._v("\u7ED3\u675F\u65F6\u95F4: ["+e._s(s.endTime)+"]")]):e._e(),t("div",{staticClass:"p-file"},[s.attachmentsFujian&&s.attachmentsFujian.length>0?t("div",{on:{click:function(r){return e.$emit("view",s.attachmentsFujian)}}},[e._v(" \u67E5\u770B\u9644\u4EF6")]):e._e(),s.attachmentsQianzi&&s.attachmentsQianzi.length>0?t("div",{on:{click:function(r){return e.$emit("view",s.attachmentsQianzi)}}},[e._v(" \u67E5\u770B\u7B7E\u5B57")]):e._e()])],2)]})],2)])},FA=[];const G0="",jA={name:"nf-flow",components:{attchViews:bi},props:{request:{type:Object,default:()=>{}},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"}}},uu={};var VA=ye(jA,LA,FA,!1,QA,"1641d78e",null,null);function QA(e){for(let i in uu)this[i]=uu[i]}const UA={name:"TopTab",components:{processFlow:function(){return VA.exports}(),BpmnLook:ou,TopPopup:ze,ViewAttchList:El,PreviewImage:Ys},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,i){this.selfTapList.length||(this.isTapList=[].concat(this.defaultTabList),e.length>0&&e.forEach((t,s)=>{t.sort&&t.sort>1?this.isTapList.splice(t.sort-1,0,t):t.sort==1?this.isTapList.unshift(t):this.isTapList.push(t)}),this.active=this.isTapList[0].key)},immediate:!0,deep:!0},selfTapList:{handler(e,i){e.length&&(this.isTapList=[].concat(e),this.active=this.isTapList[0].key)},immediate:!0,deep:!0},track:{handler(e,i){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,i){e&&(this.taskCommentList=e)},immediate:!0,deep:!0},trackList:{handler(e,i){e&&(this.trackListss=e)},immediate:!0,deep:!0}},mounted(){this.tabAnimation(0)},methods:{formatFlow(e){return(e||[]).map(t=>({...t,attachmentsFujian:(t.attachments||[]).filter(s=>s.type!="signature"),attachmentsQianzi:(t.attachments||[]).filter(s=>s.type=="signature")}))},handleActive(e,i){e!==this.active&&(this.active=e,this.tabAnimation(i))},tabAnimation(e){if(this.label.length){let i=document.getElementsByClassName("bottom-line")[0],t;if(i.offsetWidth<this.label[e].offsetWidth-10){let s=(this.label[e].offsetWidth-i.offsetWidth-10)/2;t=`${this.label[e].offsetLeft+s}px`}else if(i.offsetWidth>this.label[e].offsetWidth-10){let s=(i.offsetWidth-this.label[e].offsetWidth+10)/2;t=`${this.label[e].offsetLeft-s}px`}else t=`${this.label[e].offsetLeft}px`;i.style.transition=".3s",i.style.transform=`translateX(${t})`}},viewList(e){this.visible=!0,this.inList=e},viewSign(e,i){this.signLists=e.filter(t=>t.digitalSignature).map(t=>t.digitalSignature),this.indexd=this.signLists.findIndex(t=>t==i),this.signPreViewVisible=!0}}};var GA=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"tops-tab"},[t("div",{staticClass:"tops-tab-header"},[e._l(e.isTapList,function(s,n){return[t("div",{staticClass:"tops-tab-header-items",class:[s.key===e.active?"active":""],on:{click:function(r){return e.handleActive(s.key,n)}}},[e._v(" "+e._s(s.label)+" ")])]}),e.isTapList.length?t("div",{staticClass:"bottom-line"}):e._e()],2),t("div",{staticClass:"tops-tab-body"},e._l(e.isTapList,function(s){return t("div",{directives:[{name:"show",rawName:"v-show",value:e.active===s.key,expression:"active === item.key"}],key:s.key,class:[s.key==="c"&&"tops-tab-body-taskcommentlist"],staticStyle:{height:"100%"}},[s.key==="a"&&s.type==="default"?e._t("default"):e._e(),e.active===s.key&&s.key==="b"&&s.type==="default"?t("div",{staticClass:"uph-tab-b",staticStyle:{height:"100%"},attrs:{name:s.slot}},[e.processXml?t("div",{staticStyle:{padding:"10px 20px",color:"#1389ff"},on:{click:function(){return e.visibleTack=!0}}},[e._v(" \u67E5\u770B\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F ")]):e._e(),s.key==="b"&&e.processXml?t("BpmnLook",{ref:"PreviewRef",refInFor:!0,attrs:{diagram:e.processXml,approvalData:e.approvalData}}):t("div",{staticClass:"textnone"},[e._v(" \u6682\u65E0\u6D41\u7A0B\u56FE ")])],1):e._e(),s.key==="c"&&s.type==="default"?t("div",{staticStyle:{height:"100%"}},[s.key==="c"&&e.ProcessInsObj.flow?t("processFlow",{attrs:{request:e.ProcessInsObj.request,"flow-list":e.formatFlow(e.ProcessInsObj.flow)},on:{view:e.viewList}}):t("div",{staticClass:"textnone"},[e._v("\u6682\u65E0\u6570\u636E")])],1):e._e(),s.type=="slot"?e._t(s.slot):e._e()],2)}),0),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9644\u4EF6\u5217\u8868",isDrawer:"",isIndex:5},on:{"update:visible":function(s){return e.visible=s}}},[t("ViewAttchList",{attrs:{inList:e.inList}})],1),t("PreviewImage",{attrs:{images:e.signLists,visible:e.signPreViewVisible,indexd:e.indexd},on:{"update:visible":function(s){return e.signPreViewVisible=s}}}),t("TopPopup",{ref:"TopPopups",attrs:{visible:e.visibleTack,titleText:"\u6D41\u7A0B\u4FE1\u606F",isDrawer:"",width:"60vw"},on:{"update:visible":function(s){return e.visibleTack=s}}},[e.trackListss&&e.trackListss.length?e._l(e.trackListss,function(s,n){return t("div",{key:s.id,staticClass:"seal-list__item"},[t("div",[t("div",{staticClass:"seal-list__item--option"},[t("span",[e._v("\u5E8F\u53F7")]),t("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(n+1))])]),t("div",{staticClass:"seal-list__item--option"},[t("span",[e._v("\u8282\u70B9\u540D\u79F0")]),t("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(s.historyActivityName))])]),t("div",{staticClass:"seal-list__item--option"},[t("span",[e._v("\u5BA1\u6279\u4EBA")]),t("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(s.assigneeName))])])])])}):e._e()],2)],1)},qA=[];const J0="",pu={};var JA=ye(UA,GA,qA,!1,HA,"8ff4442e",null,null);function HA(e){for(let i in pu)this[i]=pu[i]}const KA=function(){return JA.exports}(),WA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACfVJREFUeF7tnT2S1FYYRaUCYgJ2wArYgRMIYQPGMVUQt8bDAoDRxFBFbLwBE5qEHbACdkBAbCi5HjxgGKbn6b7Wz9O7h9B8avV3rk7J6r7VtA1/IACBvQRa2EAAAvsJIAhXBwQuIYAgXB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3ECQk4Ei343qfIA+mMBBx7NzLZeYD8N5AO/7EoOJItd4/nAOQkxR1IwNFjGxPWAMj/hmJAAo6Ei93rSQA5k+QGJODotYlJ6wDkicGsQAKOpEvd81kAuZDmBSTg6LmFiWsB5JnhnEECjsQL3ftpAFmR6AmSa/5pnhWBFfoEICuHeUTy+Wb5svJzPiuSAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBL4Csq/cvbKQGitAAAAAElFTkSuQmCC",YA={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,i){e&&e.length&&(this.lists=e)},immediate:!0,deep:!0},defaultValue:{immediate:!0,deep:!0,handler(e,i){this.active=e;let s=JSON.parse(JSON.stringify(this.option)).filter((n,r)=>n.id==e);this.activeItem=s[0],this.activeItem&&this.$emit("change",this.activeItem)}}},computed:{arrow(){return WA},check(){return zA}},methods:{handleExpand(){this.disibled||(this.expand?this.expand=!1:this.expand=!0)},handleClick(e,i){this.active!=e.id&&(this.active=e.id,this.activeItem=e,this.expand=!1,this.$emit("change",this.activeItem,this.lists))},handleClose(){this.expand=!1,this.active="",this.activeItem={name:""}}}};var ZA=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"top-select"},[e.isSlots?t("div",{staticStyle:{position:"relative","z-index":"80"}},[e._t("header",null,{data:Object.assign({},e.activeItem,{placeholder:e.placeholder})})],2):t("div",{staticClass:"top-select-menu",class:[e.border&&"top-select-menu-border",!e.activeItem&&"top-select-menu-placeholder"],on:{click:e.handleExpand}},[e._v(" "+e._s(e.activeItem?e.activeItem.name:e.placeholder)+" "),e.disibled?e._e():t("img",{staticClass:"top-select-menu--arrow",class:[e.expand?"arrow-active":""],attrs:{src:e.arrow}})]),e.maskShow?t("div",{staticClass:"top-select-option-mask",style:e.expand?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"}):e._e(),e.lists&&e.lists.length?t("div",{staticClass:"top-select-option",class:[e.border&&"top-select-option-border"],style:`${e.expand?"transform: translateY(2%);visibility: visible; opacity: 1;":"transform: translateY(-50%);visibility: hidden; opacity: 0"};${e.optionStyle?e.optionStyle:""}`},e._l(e.lists,function(s,n){return t("div",{key:s.id,staticClass:"option-items",class:[e.active==s.id?"option-items-active":""],on:{click:function(r){return e.handleClick(s,n)}}},[e._v(" "+e._s(s.name)+" "),e.active==s.id?t("img",{staticClass:"option-items-check",attrs:{src:e.check}}):e._e()])}),0):e._e()])},XA=[];const H0="",du={};var $A=ye(YA,ZA,XA,!1,eb,"a791e974",null,null);function eb(e){for(let i in du)this[i]=du[i]}const hu=function(){return $A.exports}(),tb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADGdJREFUeF7tnVFSHDkMhuVhD7AV9j1wksBJApeA5YnwlJBLQE4COUl63zOpHGAZb3l2mpqQGWYsS7as/qna2oe0ZeuXvpHd7W4Hwh8UgAJbFQjQBgpAge0KABBkBx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ADC+8g5ABPXXMAVABFUFIBvEZN69EAxLkSkAUiTfr40BCAARTCd/pgAIAPGX1YIeAZANYgZKe3G+CMpc11SkayLsuRIRHYCIyOjFyODFkS1+HGX7B0CyJXPbYH4ZurlDmRsE9tHYACRXar/Xcx6K9aIGANkQKexJyk7fISzovPR9iOxeKzQAIABEJM28VhEAAkBEACHGnFumY10rAASASGUY+0UhqQFo2AEgG1Rli6IRoV5sooL8GimGHt3cCsRrpwwqO9+Hts1j9o+lZ0CSWHj1NA8Szht0eT20uRqAbNEdVSQjIZ1Wj6QAAHklD/A8ZD9I8CR9g07ep1ijy6tK8oBNfNthASATBiS5niBJ/z84oBNa0Lv9flc7vCrQGWfUAGTigHCSpsc23DcK01P0Hv3dZ8whfXKV88MxlSnWPiJ6uYYLiBf/Rf0AIKJymjAGQATDAEAExTRiCoAIBgKACIppxBQAEQwEABEU04gpACIYCAAiKKYRUwBEMBAARFBMI6aw/0wwEIztN93s5hWUqStTAEQwXJ6/7i4oU1em3tzG6+D4oV/NYDwt6PjnVcj6HBIqSM0IMfrCvjOGaJuaMNYfyQwAEdJf0wx7e7fmoDqzzakeAKSjIK+mWmnjYv4XBTvyU2GoRZ8/QgVRiIiWyRdnpJ9o9ePE7hCJ7n9chpsSfwBIiXoN247b/RsOwWzXuQvx1xwBIGbDjIFZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUOA/PPf9I/jtWsEAAAAASUVORK5CYII=";var ib=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("TopPopup",{ref:"TopPopupFixedPerson",attrs:{visible:e.showFixedPerson,titleText:"\u9009\u62E9\u4EBA\u5458("+e.fixedPersonList.length+"\u4EBA)",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u786E\u5B9A",comfig:e.handleSumbitFixedPerson},on:{"update:visible":e.updateVisible}},[t("div",{staticClass:"s-tree"},e._l([].concat(e.fixedPersonList),function(s){return t("div",{key:s.userId,staticClass:"s-node",on:{click:function(n){return e.handleClickFixedPerson(s)}}},[e.mySelectIds.includes(s.userId)?t("div",{staticClass:"radio-select"},[t("svg",{staticClass:"icon",attrs:{t:"1758260488735",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7527",width:"18",height:"18"}},[t("path",{attrs:{d:"M512 0a512 512 0 1 0 512 512A512 512 0 0 0 512 0z m314.916571 369.371429l-354.304 349.184a46.409143 46.409143 0 0 1-64.987428 0l-212.955429-209.883429a44.763429 44.763429 0 0 1 0-64 46.336 46.336 0 0 1 64.987429 0l180.443428 177.810286 321.828572-317.184a46.482286 46.482286 0 0 1 64.987428 0 44.836571 44.836571 0 0 1-0.036571 64.073143z",fill:"#409eff","p-id":"7528"}})])]):t("div",{staticClass:"radio-select-not"},[t("svg",{staticClass:"icon",attrs:{t:"1758260589679",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8704",width:"18",height:"18"}},[t("path",{attrs:{d:"M150.144 150.144C250.24 50.048 370.88 0 512 0s261.76 50.048 361.856 150.144S1024 370.88 1024 512s-50.048 261.76-150.144 361.856S653.12 1024 512 1024s-261.76-50.048-361.856-150.144S0 653.12 0 512s50.048-261.76 150.144-361.856zM64 512c0 124.16 43.328 228.48 131.392 316.608C283.52 916.672 387.84 960 512 960s228.48-43.328 316.608-131.392C916.672 740.48 960 636.16 960 512s-43.328-228.48-131.392-316.608C740.48 107.328 636.16 64 512 64s-228.48 43.328-316.608 131.392C107.328 283.52 64 387.84 64 512z",fill:"#b5bbc1","p-id":"8705"}})])]),s.avatar?t("img",{staticClass:"node-avatar",attrs:{src:s.avatar,alt:"\u5934\u50CF"}}):t("div",{staticClass:"node-avatar-text"},[e._v(" "+e._s((s.realName||"").slice(-2))+" ")]),t("div",{staticClass:"node-name"},[t("div",{staticClass:"node-name-text"},[e._v(e._s(s.realName))]),t("div",{staticClass:"node-name-phone"},[e._v(e._s(s.phonenumber))])])])}),0)])},sb=[];const K0="",nb={name:"selectFixedPerson",components:{TopPopup:ze},props:{multiple:{},visible:{type:Boolean,default:!1},list:{type:Array,default(){return[]}},select:{type:Array,default(){return[]}},multiple:{type:Boolean,default:!1}},data(){return{showFixedPerson:!1,fixedPersonList:[],mySelect:[],mySelectIds:[]}},watch:{visible:{handler(e,i){this.showFixedPerson=e,e?(this.fixedPersonList=this.list||[],this.mySelect=this.select||[],this.mySelectIds=this.mySelect.map(t=>t.userId)):(this.fixedPersonList=[],this.mySelect=[],this.mySelectIds=[])},immediate:!0},fixedPersonList:{handler(e,i){e&&e.length>0&&JSON.stringify(e)!==JSON.stringify(this.list)&&this.$emit("updateList",e)},immediate:!0,deep:!0}},methods:{updateVisible(e){this.$emit("updateVisible",e)},handleClickFixedPerson(e){const i=this.select.find(t=>t.userId===e.userId);this.multiple||(this.mySelect=[],this.mySelectIds=[]),i?(this.mySelect=this.select.filter(t=>t.userId!==e.userId),this.mySelectIds=this.mySelect.map(t=>t.userId)):(this.mySelect.push(e),this.mySelectIds.push(e.userId)),this.$emit("updateSelect",this.mySelect)},handleSumbitFixedPerson(){this.$emit("confirm",this.mySelect)}}},fu={};var rb=ye(nb,ib,sb,!1,ab,"4e0e3ca1",null,null);function ab(e){for(let i in fu)this[i]=fu[i]}const mu=function(){return rb.exports}(),ob={name:"TopSubmitPopup",components:{SelectFixedPerson:mu,BpmnLook:ou,TopPopup:ze,TopDownSelect:hu,PreviewImage:Ys,departPerson:Mt.departPerson,TopTips:dt},props:{isCheckType:{type:String,default:"0"},visible:{type:Boolean,default:!1},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{},upload:()=>{}})},appId:{type:String,default:""},processName:{type:String,default:""},resubmit:{type:Boolean,default:!1},id:{type:String,default:""},businessType:{type:[String,Number]},businessDeptId:{type:[String,Number]},businessSubjectId:{type:[String,Number]},todoParameter:{type:Object,default(){return{}}},isClearHistory:{type:Boolean,default:!1},title:{type:String,default:"\u6D4B\u8BD5"},showType:{type:String,default:"all"},beforeFunction:{type:Function,default:null},manual:{type:Boolean,default:!1},selfList:{type:Array,default:()=>[]},isOrgType:{type:Array,default:()=>[0]},isCodeType:{type:Array,default:()=>[3]},extraParams:{type:Object,default:()=>{}},isSelectFirst:{type:Boolean,default:!0},showFlowForecast:{default:!1,type:Boolean},flowForecastFunction:{type:Function,default:null}},data(){return{currentClickItem:{},fixedSelect:{},showFixedPerson:!1,fixedPersonList:[],approvalData:[],processXml:"",showFlow:!1,showFirstPerson:!1,selectDeptData:{},showDept:!1,deptList:[],show:!1,option:[],checkedItem:{},personList:[],checkedArray:[],trackUrl:[],taskurlshow:!1,isStyle:"width:35%",visiblePerson:!1,entity:{source:"0",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:!1,checkedArray:[]},multiNodeParticipant:{},personListCopy:{},partNode:{},personObjId:"",processId:"",textTips:"",statusTips:!1,typeTips:"success",firstPerson:[],selectDefaultValue:"",businessTypeData:"",businessDeptIdData:"",idData:"",processNameData:"",titleData:"",todoParameterData:{},humanPerformerName:"",btnLoading:!1,flowForecastVisible:!1,flowForecastData:{completeTime:"",processBudgetModelList:[]},flowForecastProcessInstId:""}},watch:{visible:{async handler(e,i){this.show=e,this.$emit("update:visible",this.show),e?(this.selectDefaultValue="",this.handleOption()):this.$refs.TopDownSelect.handleClose()}},show:{handler(e,i){e||this.$refs.TopDownSelect.handleClose()}},businessType:{handler(e,i){this.businessTypeData=e},immediate:!0},businessDeptId:{handler(e,i){this.businessDeptIdData=e},immediate:!0},id:{handler(e,i){e&&(this.idData=e,this.resubmit&&this.getProcessInstance())},immediate:!0},processName:{handler(e,i){this.processNameData=e},immediate:!0},title:{handler(e,i){this.titleData=e},immediate:!0},todoParameter:{handler(e,i){this.todoParameterData=e},immediate:!0,deep:!0},selfList:{handler(e,i){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,i){e&&this.getProcessInstance()}}},computed:{ProcessImg(){return tb}},methods:{getXmlByProcessDefId(e){this.request.get("/bladex/blade-workflow/process/getXmlByProcessDefId",{params:{processDefId:e}}).then(i=>{i.code==200&&(this.processXml=i.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(){if(this.checkedItem={},this.firstPerson=[],this.personList=[],this.selfList&&this.selfList.length)return;this.handleTips("",!0,"loading");let e={businessCode:this.businessType,appId:this.appId,processGroupName:this.processNameData,...this.extraParams};this.processNameData&&delete e.processGroupName,await this.request.post("/bladex/blade-workflow/repository/getProcessDefList",e).then(i=>{i.code==200&&(this.option=i.data,i.data&&i.data.length?(this.handleTips("",!1,"success"),(this.isSelectFirst||i.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(i){}this.deptList=e.data||[]},async getNodeUser({deptId:e,intersection:i,userIds:t,postIds:s,deptIds:n}){return await this.request.post("/auth/user/getTaskAuditor",{deptId:e,intersection:i,userIds:t,postIds:s,deptIds:n})},getUserDataByDeptId(){this.firstPerson.map(async(e,i)=>{const t=ru(e);let s;try{s=await this.getNodeUser({deptId:this.businessDeptIdData,intersection:(t.intersection,0),userIds:t.userIds,postIds:t.postIds,deptIds:t.deptIds})}catch(n){}if(s.code==200){const n=this.firstPerson[i];n.userList=s.data,this.$set(this.firstPerson,i,n)}})},async handlefirstNode(e){e&&(this.handleTips("",!0,"loading"),await this.request.get("/bladex/blade-workflow/repository/getAllProcessNode",{params:{processDefId:e}}).then(async i=>{if(i.code===200){if(this.firstPerson=i.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;i.data.map(t=>{{let s={taskDefId:t.id,postIds:[]};t.routeTxt.postList.map(n=>{s.postIds.push(n.postId)}),this.request.post("/auth/user/getTaskAuditor",{deptId:this.businessDeptIdData,taskPostIds:[s]}).then(n=>{let r=[],a=[],o=!1;n.data.map(p=>{p.posts.map(h=>{a.push(...h.users),h.users.length==1?r.push(...h.users):o=!0})}),r.length>t.loopCardinality&&t.loopCardinality>0&&(o=!0),o&&(r=[]);let l=[];n.data[0].posts.map(p=>{l.push({...p,projectPost:!this.businessDeptIdData,id:p.users.map(h=>h.id),subjectId:p.subjectId})}),a.length==0&&this.$set(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.getAfferentParticipantNodeList()}else this.firstPerson=[],this.getAfferentParticipantNodeList()}).catch(i=>{this.firstPerson=[],this.getAfferentParticipantNodeList()}))},async handleChange(e,i){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,i)},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(i=>{if(i.humanPerformerName==="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let t={taskDefId:i.id,postIds:[]};i.routeTxt.postList.map(s=>{t.postIds.push(s.postId)}),this.request.post("/auth/user/getTaskAuditor",{deptId:this.businessDeptIdData,taskPostIds:[t]}).then(s=>{let n=[],r=[],a=!1;s.data.map(l=>{l.posts.map(p=>{r.push(...p.users),p.users.length==1?n.push(...p.users):a=!0})}),n.length>i.loopCardinality&&i.loopCardinality>0&&(a=!0),a&&(n=[]);let o=[];s.data[0].posts.map(l=>{o.push({...l,projectPost:!(this.param.taskNode&&this.param.taskNode[0].vars&&this.param.taskNode[0].vars._businessDeptId),id:l.users.map(p=>p.id),subjectId:l.subjectId})}),r.length==0&&this.$set(i,"noPersonnel",!0),n.length>0&&(this.personObjId=i.id,this.humanPerformerName=i.humanPerformerName,this.$set(i,"noPersonnel",!0),this.handleCallback(n)),i.positionArray=o})}}),this.personList=e.data.filter(i=>!this.firstPerson.some(t=>t.id==i.id))),this.$emit("change",this.checkedItem,this.option)),this.$refs.topTips.handleClose()})},getDiagramUrl(){this.request.get("/aws/repository/getDiagramUrl",{params:{processDefId:this.checkedItem.id,diagramType:1,type:"pc"}}).then(e=>{e.code==200&&(this.trackUrl=[e.data])})},handleOpenFixedPerson(e){this.currentClickItem=e,this.personObjId=e.id,this.showFixedPerson=!0,this.fixedPersonList=e.userList||[]},updateFixedPersonVisible(e){this.showFixedPerson=e},updateFixedSelect(e){},handleSumbitFixedPerson(e){this.$set(this.fixedSelect,this.personObjId,e),this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.personObjId].push(i.userId),this.partNode[this.personObjId].push(i.realName)}),this.showFixedPerson=!1},handleClickFixedPerson(e){this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.personObjId].push(i.userId),this.partNode[this.personObjId].push(i.realName)}),this.showFixedPerson=!1},handleOpenPerson(e){if(this.visiblePerson=!0,this.personObjId=e.id,this.humanPerformerName=e.humanPerformerName,e.humanPerformerName==="\u4EFB\u610F\u6307\u5B9A")this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:[]},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(i=>({id:i.id,subjectId:i.subjectId,type:i.type,deptId:this.handleLastStr(i.ancestors,i.subjectId)})):this.entity.checkedArray=[];else if(e.humanPerformerName==="\u56FA\u5B9A\u90E8\u95E8"){let i,t=[];e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length>1?(e.routeTxt.departmentIds.forEach((s,n)=>{t.push(s.rangeId)}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCodeArray:t,multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1}):e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length==1&&(e.routeTxt.departmentIds.forEach((s,n)=>{i=s.rangeId}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCode:i,multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(s=>({id:s.id,subjectId:s.subjectId,type:s.type,deptId:i})):this.entity.checkedArray=[]}else if(e.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"){let i;e.routeTxt.companyIds.map((t,s)=>{i=t.name}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:i},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=[]}else e.humanPerformerName==="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"?(this.entity={source:"1",type:this.isCheckType||"0",orgType:[5],request:this.request,codeType:[8],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,positionArray:e.positionArray},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(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=[]):(this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:[]},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(i=>({id:i.id,subjectId:i.subjectId,type:i.type,deptId:this.handleLastStr(i.ancestors,i.subjectId)})):this.entity.checkedArray=[])},handleCallback(e){this.personListCopy[this.personObjId]=e,this.entity.checkedArray=e.map(i=>({id:i.id,subjectId:i.subjectId,type:i.type,deptId:this.handleLastStr(i.ancestors,i.subjectId),subjectName:this.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"?i.ancestorNames.slice(0,i.ancestorNames.indexOf("/")):""})),this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.personObjId].push(i.id),this.partNode[this.personObjId].push(i.name)}),this.visiblePerson=!1},handleCancel(){},handleLastStr(e,i){if(!!e)return e.split(",")[e.split(",").length-1]!==i?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:{processBusinessKey:this.id||this.extraParams.businessKey,showType:"all",subjectId:this.businessSubjectId,deptId:this.businessDeptIdData,businessType:this.businessType,name:this.extraParams.name,title:this.title||this.extraParams.title,applyUserId:this.extraParams.applyUserId}};if(!this.checkedItem.id){this.$refs.topTips.handleClose(),this.btnLoading=!1;return}this.request.post("/bladex/blade-workflow/pis/createAndStart",e).then(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):i.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(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):(this.handleTips(t.msg,!0,"error"),this.btnLoading=!1)}).catch(t=>{this.handleTips(t.msg,!0,"error"),this.btnLoading=!1}):(this.handleTips(i.msg,!0,"error"),this.btnLoading=!1)}).catch(i=>{this.handleTips(i.msg,!0,"error"),this.btnLoading=!1})}},handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,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(i=>{i.code==200?(i.data&&i.data.processBudgetModelList&&i.data.processBudgetModelList.length?this.flowForecastProcessInstId=i.data.processBudgetModelList[0].processInstId:(i.data.processBudgetModelList=[],this.flowForecastProcessInstId=""),this.flowForecastData=i.data,this.flowForecastVisible=!0):this.handleTips(i.msg,!0,"error")}).catch(i=>{this.btnLoading=!1,this.handleTips("\u6D41\u7A0B\u9884\u6D4B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",!0,"error")})},flowForecastClose(){this.flowForecastProcessInstId?this.request.get("/aws/pis/deleteProcessById",{params:{processInstId:this.flowForecastProcessInstId}}).then(e=>{e.code==200&&(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]},this.flowForecastProcessInstId="")}):(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]})}}};var lb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"sumbmitPopup-index-sumbit"},[t("div",{staticClass:"top-popup"}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.show,titleText:"\u9001\u5BA1",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u9001\u5BA1",comfig:e.handleSumbit},on:{"update:visible":function(s){return e.show=s,e.$emit("update:visible",s)}}},[t("TopDownSelect",{ref:"TopDownSelect",attrs:{isSlots:"",option:e.option,defaultValue:e.selectDefaultValue,disibled:!1},on:{change:e.handleChange},scopedSlots:e._u([{key:"header",fn:function(s){return[t("div",{staticClass:"sumbmitPopup-select"},[t("div",{staticClass:"sumbmitPopup-select-checked",on:{click:e.handleSelect}},[t("div",{staticClass:"sumbmitPopup-select-checked-title"},[e._v("\u5F53\u524D\u6D41\u7A0B")]),t("div",{staticClass:"sumbmitPopup-select-checked-node",class:""},[e._v(" "+e._s(s.data.name?s.data.name:s.data.placeholder)+" ")])]),t("div",{staticClass:"sumbmitPopup-select-checked",on:{click:e.handleDeptSelect}},[t("div",{staticClass:"sumbmitPopup-select-checked-title"},[e._v("\u9009\u62E9\u90E8\u95E8")]),t("div",{staticClass:"sumbmitPopup-select-checked-node",class:""},[e._v(" "+e._s(e.selectDeptData.label?e.selectDeptData.label:"\u8BF7\u9009\u62E9")+" ")])]),t("div",{staticClass:"sumbmitPopup-select-viewTrack",staticStyle:{display:"flex"}},[e.checkedItem.id?t("div",{staticClass:"viewTrack",on:{click:e.handleFlowSelect}},[t("img",{attrs:{src:e.ProcessImg}}),e._v(" \u67E5\u770B\u6D41\u7A0B\u56FE ")]):e._e(),e.checkedItem.id&&e.showFlowForecast?t("div",{staticClass:"viewTrack",on:{click:e.viewFlowForecast}},[e._v(" \u6D41\u7A0B\u9884\u6D4B ")]):e._e()])])]}}])}),e.showFirstPerson&&e.firstPerson&&e.firstPerson.length?t("div",{staticClass:"person-views"},[t("div",{staticClass:"person-views-title"},[e._v("\u4E0B\u4E00\u6B65\u5904\u7406\u8282\u70B9")]),e._l(e.firstPerson,function(s,n){var r;return t("div",{key:n,staticClass:"views-items"},[t("div",{staticClass:"views-items-label"},[t("div",{staticClass:"views-items-name"},[t("div",{staticClass:"views-items-name-left"},[e._v(" "+e._s(s.name)+" "),n==0?t("span",{staticClass:"views-items-name--re"},[e._v("*")]):e._e()])]),t("div",{staticClass:"views-items-set"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",[e._l(e.partNode[s.id],function(a,o){return t("span",{key:o},[e._v(" "+e._s(o>=3?"":o==0?a:`,${a}`)+" ")])}),e.partNode[s.id].length>3?t("span",[e._v("...\u7B49"+e._s(e.partNode[s.id].length)+"\u4EBA")]):e._e()],2):s.routeTxt&&s.routeTxt.userNames?t("div",[e._v(" "+e._s(s.routeTxt.userNames)+" ")]):e._e(),s.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||s.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"||((r=e.partNode[s.id])===null||r===void 0?void 0:r.length)>0&&s.noPersonnel?t("div"):s.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||s.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"||s.noPersonnel?t("div",[e._v(" \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")]):s.userList&&s.userList.length>0?t("div",{staticClass:"views-items-set-btn",on:{click:function(a){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):t("div",{staticClass:"views-items-set-btn",on:{click:function(a){return e.handleOpenPerson(s)}}},[e._v(" \u8BBE\u7F6E ")])])]),s.routeTxt&&s.routeTxt.length>0?t("div",{staticClass:"views-items-includes"},[t("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),t("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(a,o){return t("div",{key:a.type},[a.ids&&a.ids.length>0?t("div",[t("div",{staticClass:"include"},[t("b",{staticClass:"include include-type",class:["include-"+a.type]},[e._v(e._s(a.type=="user"?"\u7528\u6237":a.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),t("span",{staticClass:"include include-name"},[e._v(e._s(a.name))])]),o!==s.routeTxt.length-1?t("div",{staticClass:"include include-assign",class:["include-assign-"+(a.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])})],2):e._e(),e.personList&&e.personList.length?t("div",{staticClass:"person-views"},[t("div",{staticClass:"person-views-title"},[e._v("\u5176\u4ED6\u5904\u7406\u8282\u70B9")]),e._l(e.personList,function(s,n){return t("div",{staticClass:"views-items"},[t("div",{staticClass:"views-items-name"},[e._v(" "+e._s(s.name)+" ")]),t("div",{staticClass:"views-items-set"},[s.noPersonnel?e._e():t("div",{staticClass:"views-items-set-btn",on:{click:function(r){return e.handleOpenPerson(s)}}},[e._v(" \u8BBE\u7F6E ")]),e.partNode[s.id]&&e.partNode[s.id].length?t("div",[e._l(e.partNode[s.id],function(r,a){return t("span",[e._v(" "+e._s(a>=3?"":a==0?r:`,${r}`)+" ")])}),e.partNode[s.id].length>3?t("span",[e._v("...\u7B49"+e._s(e.partNode[s.id].length)+"\u4EBA")]):e._e()],2):s.noPersonnel?t("div",[e._v("\u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E")]):t("div")])])})],2):e._e(),!e.firstPerson&&!e.firstPerson.length&&!e.personList&&!e.personList.length?t("div",{staticClass:"person-views-white"},[e._v(" \u65E0\u9700\u8BBE\u7F6E ")]):e._e()],1),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visiblePerson,titleText:"\u9009\u4EBA",isDrawer:!0,isIndex:199},on:{"update:visible":function(s){return e.visiblePerson=s}}},[t("div",{staticStyle:{height:"100%"}},[e.visiblePerson?t("departPerson",e._b({attrs:{isTitle:!1,visible:e.visiblePerson,checkedArray:e.checkedArray},on:{"update:visible":function(s){e.visiblePerson=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),t("TopPopup",{ref:"TopPopupDept",attrs:{visible:e.showDept,titleText:"\u9009\u62E9\u90E8\u95E8",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u786E\u5B9A",comfig:e.handleSumbitDept},on:{"update:visible":function(s){return e.showDept=s}}},[t("div",{staticClass:"tree"},e._l([].concat(e.deptList),function(s){return t("div",{key:s.id,staticClass:"node"},[t("div",{staticClass:"node-p",on:{click:function(n){return e.handleClickDept(s)}}},[e._v(e._s(s.label))]),s.children?t("div",{staticClass:"children"},e._l(s.children,function(n){return t("div",{key:n.id,staticClass:"node-s",on:{click:function(r){return e.handleClickDept(n)}}},[e._v(" "+e._s(n.label)+" ")])}),0):e._e()])}),0)]),t("SelectFixedPerson",{attrs:{visible:e.showFixedPerson,list:e.fixedPersonList,multiple:e.currentClickItem.loopCardinality==-1,select:e.fixedSelect[e.personObjId]||[]},on:{updateList:e.handleClickFixedPerson,updateVisible:e.updateFixedPersonVisible,updateSelect:e.updateFixedSelect,confirm:e.handleSumbitFixedPerson}}),t("TopPopup",{ref:"TopPopupFlow",staticClass:"top-pop-flow",attrs:{visible:e.showFlow,titleText:"\u67E5\u770B\u6D41\u7A0B\u56FE",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u5173\u95ED",comfig:e.handleSumbitFlow},on:{"update:visible":function(s){return e.showFlow=s}}},[e.showFlow&&e.processXml?t("BpmnLook",{ref:"PreviewRef",attrs:{diagram:e.processXml,approvalData:e.approvalData}}):e._e()],1),t("PreviewImage",{attrs:{images:e.trackUrl,visible:e.taskurlshow,indexd:0,isOne:!0,isStyle:e.isStyle},on:{"update:visible":function(s){return e.taskurlshow=s}}}),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopupFF",attrs:{visible:e.flowForecastVisible,titleText:"\u6D41\u7A0B\u9884\u6D4B",isIndex:129,cancel:e.flowForecastClose,comfig:e.flowForecastClose},on:{"update:visible":function(s){return e.flowForecastVisible=s}}},[t("div",{staticStyle:{margin:"20px"}},[t("div",{staticStyle:{"margin-left":"10px","margin-bottom":"10px"},domProps:{innerHTML:e._s(e.flowForecastData.completeTime)}}),t("div",{staticClass:"timeline"},e._l(e.flowForecastData.processBudgetModelList,function(s,n){return t("div",{key:n,staticClass:"timeline-item"},[t("div",{staticClass:"item-top"},[t("div",{staticClass:"top-spot"},[t("div",{staticClass:"spot",class:{active:n==0}})]),t("div",{staticClass:"top-title"},[e._v(e._s(s.title))])]),t("div",{staticClass:"item-bottom",class:{last:n==e.flowForecastData.processBudgetModelList.length-1}},[t("span",{staticStyle:{color:"#009800"}},[e._v(" \u6267\u884C\u4EBA\uFF1A"+e._s(s.excutor)+" ")])])])}),0)])])],1)},cb=[];const W0="",gu={};var ub=ye(ob,lb,cb,!1,pb,"34a7e43a",null,null);function pb(e){for(let i in gu)this[i]=gu[i]}const yu=function(){return ub.exports}(),db="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADG5JREFUeF7tnVFaGzcXhjUD16WsoLCSwl1qsoeElRRWEroHcLkL/0rqfwUpvS6jPuPYiXGw0Z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K9rbXCtwlgv/89k8rGLzYe1TfIsxjCrtXdbbwMCKc3ior7XFWS9e71YwuHhSe2ZV4R1HmbZ5v7fb91uBCLK5FAEIuruaMIgEFGqEYgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsIgEFFCEIgIpLMwCESUEAQiAuksDAIRJQSBiEA6C4NARAlBICKQzsLk5JVbTV5I4tBnGmfj0k1zHicX0doYT7/xd3MvVqZAgoerdqwDYCzlrVcQrXBxc0OMG4Hk3oXrabYZy8BP7WfupBdCQCDrkPsbOGJo+ut1Mv7i1dF0ep1RkSqVCJTks+ZVqNbuullBjJe0vdBPRGJNfq3yuW5g2Z7al9lZ+u1GIH2jC5bkZZ/7+2UXV3/GKnfNWuCOrWyMzVnGRdXPMHmzzK4EUjrzjG1A7ml/3ew/er6uBFJus/Z0yIyoW57slTuB9A2yXLw8onEzlq66Wj1cCoRVZCxa+LGf3lYPlwLpG1VyRDje4TX0nvs8hXS1B1lNMRv2oQ/49PZ7O7labblbgfRWq2kOPpUeG6aniZK7IOBZHG4t1jJRi/1I/yJN00spd5FoPjOLgJt3EW5qvdsVZE0kv6e+UiwrTVR6cwLeV44lEPcC6Rua+EqxN08yH5hNwN1x7mBXkNWGsy/JHpBeKr7JexGVnR3ECrLe4Q3v3lNyIZaWgOt3OW7r6iAFsro/OWjbs8WLKvuNPJt57cDOjTZ/UWjTxIeh/wxh0AJ5KXvzF1bytxMCx/f3e/cE9d4JZCcjgw/dWwIIZG9TS8cUBBCIgiIx9pYAAtnb1NIxBQEEoqBIjL0lgED2NrV0TEHgP1VLsH2X3+jEAAAAAElFTkSuQmCC";var hb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",[e.visible?t("div",{staticClass:"top-msg"},e._l(e.listData,function(s){return t("div",{staticClass:"top-msg-items",on:{click:function(n){return e.handleMsg(s)}}},[t("div",{staticClass:"top-msg-items-text"},[e._v(e._s(s.opinionName))]),t("div",{staticClass:"top-msg-items-del",on:{click:function(n){return n.stopPropagation(),e.handleOpenMsg(s)}}},[t("img",{attrs:{src:e.Del}})])])}),0):e._e(),t("TopPopup",{attrs:{isIndex:2299,titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06\u5E38\u7528\u610F\u89C1'${e.opinion.opinionName}'\u5220\u9664`,cancel:e.handleTipsCancel,comfig:e.handleDel,visible:e.visibleListMsg},on:{"update:visible":function(s){return e.visibleListMsg=s}}})],1)},fb=[];const z0="",mb={name:"msgList",components:{TopPopup:ze},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 db}},watch:{visible:{handler(e,i){e&&this.request.get("/auth/user/opinion/my").then(t=>{t.code===200&&(this.listData=t.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(i=>{i.code===200&&(this.listData=i.data)})):this.$emit("handleTips",e.msg,!0,"error")}).catch(e=>{this.$emit("handleTips",e.msg,!0,"error")}))}}},vu={};var gb=ye(mb,hb,fb,!1,yb,"66478dbb",null,null);function yb(e){for(let i in vu)this[i]=vu[i]}const Cs=function(){return gb.exports}();var vb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-popup-content"},[t("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?t("div",[t("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),t("div",{staticClass:"process-pc-value"},[t("div",{staticClass:"process-popup-textarea"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),t("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?t("div",{staticClass:"msg-btn"},[t("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),t("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(s){return[t("div",[t("br"),e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[t("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return t("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):t("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[t("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(s){return[t("div",{staticClass:"process-pc-label"},[t("br"),e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[t("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return t("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):t("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[t("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e._e()],2),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[t("div",{staticStyle:{height:"100%"}},[e.visible?t("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="5"?t("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[t("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),t("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}})],1)},Ab=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-pc-label"},[e._v(" \u52A0\u7B7E\u7406\u7531\uFF1A"),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const Y0="",bb={name:"counterSign",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:dt,attchViews:bi,TopPopup:ze,departPerson:Mt.departPerson,MsgList:Cs},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,i){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((i,t)=>{t==0?e=i:e=`${e},${i}`}),this.handleTips("",!0,"loading"),this.param.request.post("/bladex/blade-workflow/tis/addMultiInstance",{assignee:e,taskId:this.param.taskInstId,comment:this.commentMsg}).then(i=>{i.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(i.msg,!0,"error")})},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((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name),this.entity.checkedArray.push({type:3,id:i.id,subjectId:i.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((t,s)=>{t.size=t.fileSize,t.format=t.originFileName.substring(t.originFileName.lastIndexOf(".")+1),t.uploadTime=t.createTime,t.processInstId=this.param.processInstId,t.taskInstId=this.param.taskInstId,t.name=t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("counterSign")}}},Au={};var Cb=ye(bb,vb,Ab,!1,wb,"22eb3788",null,null);function wb(e){for(let i in Au)this[i]=Au[i]}const xb=function(){return Cb.exports}();var Eb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-popup-content"},[t("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?t("div",[t("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),t("div",{staticClass:"process-pc-value"},[t("div",{staticClass:"process-popup-textarea"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),t("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?t("div",{staticClass:"msg-btn"},[t("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),t("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(s){return[t("div",[e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[t("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return t("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):t("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[t("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(s){return[t("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[t("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return t("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):t("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[t("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e._e()],2),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[t("div",{staticStyle:{height:"100%"}},[e.visible?t("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="1"?t("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[t("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),t("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}})],1)},Tb=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-pc-label"},[e._v(" \u8F6C\u5BA1\u7406\u7531\uFF1A"),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const Z0="",Ib={name:"delegateTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:dt,attchViews:bi,TopPopup:ze,departPerson:Mt.departPerson,MsgList:Cs},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,i){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,this.attachShow(),e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){if(!this.commentMsg){this.textTips="\u8BF7\u8F93\u5165\u8F6C\u5BA1\u7406\u7531!",this.$refs.topTips.handleOpen();return}let e=this.partNodeArr[this.partObjId].map(i=>i.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(i=>{i.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(i.msg,!0,"error")})},attachShow(e="\u529E\u7406"){const i=(this.param||{}).extendedProperties||[];let t=!1,s,n="";s=i.find(a=>a.name=="delegateTaskButtonAnnex"),n=s?s.value:"",n&&(t=!0);let r="";if(typeof n!="string"&&n!=null&&n.map(a=>{a.indexOf(this.operationLabel)!=-1&&(t=!0,r=a)}),r&&(n=r),t){const a=n.split(":");this.attachRule.required=a[1]=="true",this.attachRule.limit=a[2]==-1?999:a[2],this.otherList=n;let o=this.otherList.split(":");this.limit=o[2],this.requires=JSON.parse(o[1]),this.labels=o[0]}return this.labels,this.limit,t},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((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNodeArr[this.partObjId].push(i),this.partNode[this.partObjId].push(i.name),this.entity.checkedArray.push({type:3,id:i.id,subjectId:i.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((t,s)=>{t.size=t.fileSize,t.format=t.originFileName.substring(t.originFileName.lastIndexOf(".")+1),t.uploadTime=t.createTime,t.processInstId=this.param.processInstId,t.taskInstId=this.param.taskInstId,t.name=t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("delegateTask")}}},bu={};var kb=ye(Ib,Eb,Tb,!1,Nb,"3e18ae74",null,null);function Nb(e){for(let i in bu)this[i]=bu[i]}const Sb=function(){return kb.exports}(),_b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACZ5JREFUeF7tne1xG0cMhkE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kSuQmCC",X0="";var Pb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return e.nodeItems&&e.nodeItems.length?t("div",{staticClass:"treenode"},[e.endNode?e._e():t("div",{staticClass:"treenode-multi"},[t("div",{staticClass:"treenode-node",staticStyle:{"margin-top":"0"}},[e._l(e.nodeItems,function(s){return[e.checkType=="InclusiveGatewayModel"&&e.nodeItems.length>1?t("div",{staticClass:"treenode-checkbox",class:e.checkBoxArr.includes(s.id)?"treenode-checkbox-active":"",on:{click:function(n){return e.handleCheckBoxClick(s)}}},[t("span",[e.checkBoxArr.includes(s.id)?t("img",{staticClass:"treenode-checkbox-active-img",attrs:{src:e.check}}):e._e()]),e._v(" "+e._s(s.nodeName||s.name)+" ")]):e.checkType=="ExclusiveGatewayModel"&&e.nodeItems.length>1?t("div",{staticClass:"treenode-radio",class:e.radioArr==s.id?"treenode-radio-active":"",on:{click:function(n){return e.handleRadioClick(s)}}},[t("span"),e._v(" "+e._s(s.nodeName||s.name)+" ")]):e._e()]})],2),e.checkType=="InclusiveGatewayModel"&&e.checkBoxItem&&e.checkBoxItem.length?e._l(e.checkBoxItem,function(s){return t("div",{staticClass:"treenode-node"},[s.childNode&&s.childNode.length?t("div",[t("TreeNode",{attrs:{items:s.childNode,endNode:s.childNode.length==1,nodeType:e.nodeType,param:e.param,checkType:s.type},on:{onMultiNode:e.onMultiNode,onVars:e.onVars}})],1):t("div",{staticClass:"personselect"},[t("div",{staticClass:"personselect-name"},[e._v(" "+e._s(s.name||s.nodeName)+" ")]),t("div",{staticClass:"items-person"},[s.userList&&s.userList.length>0?t("div",{staticClass:"items-person-set",on:{click:function(n){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?[t("div",{staticClass:"items-person-set",on:{click:function(n){return n.stopPropagation(),e.handleOpenPopup(s)}}},[e._v(" \u8BBE\u7F6E ")])]:e._e(),s.userList&&s.userList.length>0?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.routeTxt&&s.routeTxt.userNames?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(s.routeTxt.userNames)+" ")]):e._e()],2),s.routeTxt&&s.routeTxt.length>0?t("div",{staticClass:"views-items-includes"},[t("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),t("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(n,r){return t("div",{key:n.type},[n.ids&&n.ids.length>0?t("div",[t("div",{staticClass:"include"},[t("b",{staticClass:"include include-type",class:["include-"+n.type]},[e._v(e._s(n.type=="user"?"\u7528\u6237":n.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),t("span",{staticClass:"include include-name"},[e._v(e._s(n.name))])]),r!==s.routeTxt.length-1?t("div",{staticClass:"include include-assign",class:["include-assign-"+(n.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}):e._e(),e.checkType=="ExclusiveGatewayModel"&&e.radioItem&&e.radioItem.length?e._l(e.radioItem,function(s){return t("div",{staticClass:"treenode-node"},[s.childNode&&s.childNode.length?t("div",[t("TreeNode",{attrs:{items:s.childNode,endNode:s.childNode.length==1,nodeType:e.nodeType,param:e.param,checkType:s.type},on:{onMultiNode:e.onMultiNode,onVars:e.onVars}})],1):t("div",{staticClass:"personselect"},[t("div",{staticClass:"personselect-name"},[e._v(" "+e._s(s.name||s.nodeName)+" ")]),t("div",{staticClass:"items-person"},[s.userList&&s.userList.length>0?t("div",{staticClass:"items-person-set",on:{click:function(n){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?[t("div",{staticClass:"items-person-set",on:{click:function(n){return n.stopPropagation(),e.handleOpenPopup(s)}}},[e._v(" \u8BBE\u7F6E ")])]:e._e(),s.userList&&s.userList.length>0?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.routeTxt&&s.routeTxt.userNames?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(s.routeTxt.userNames)+" ")]):e._e()],2),s.routeTxt&&s.routeTxt.length>0?t("div",{staticClass:"views-items-includes"},[t("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),t("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(n,r){return t("div",{key:n.type},[n.ids&&n.ids.length>0?t("div",[t("div",{staticClass:"include"},[t("b",{staticClass:"include include-type",class:["include-"+n.type]},[e._v(e._s(n.type=="user"?"\u7528\u6237":n.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),t("span",{staticClass:"include include-name"},[e._v(e._s(n.name))])]),r!==s.routeTxt.length-1?t("div",{staticClass:"include include-assign",class:["include-assign-"+(n.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}):e._e()],2),e.endNode?t("div",{staticClass:"treenode-single"},e._l(e.nodeItems,function(s){return t("div",{staticClass:"treenode-single-items"},[t("div",{staticClass:"personselect"},[t("div",{staticClass:"personselect-name"},[e._v(" "+e._s(s.name||s.nodeName)+" ")]),s.nodeType!=="endEvent"?t("div",{staticClass:"items-person"},[s.userList&&s.userList.length>0?t("div",{staticClass:"items-person-set",on:{click:function(n){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):s.setPersonnel?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s((s.assignees||[]).map(function(n){return n.name}).join(","))+" ")]):[t("div",{staticClass:"items-person-set",on:{click:function(n){return n.stopPropagation(),e.handleOpenPopup(s)}}},[e._v(" \u8BBE\u7F6E ")])],t("div",{staticClass:"items-person-name"},[!e.partNode[s.id]&&s.humanPerformerName=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"&&s.noPersonnel?t("div",[e._v(" \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")]):e._e(),e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")])],2):e._e(),s.routeTxt&&s.routeTxt.length>0?t("div",{staticClass:"views-items-includes"},[t("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),t("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(n,r){return t("div",{key:n.type},[n.ids&&n.ids.length>0?t("div",[t("div",{staticClass:"include"},[t("b",{staticClass:"include include-type",class:["include-"+n.type]},[e._v(e._s(n.type=="user"?"\u7528\u6237":n.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),t("span",{staticClass:"include include-name"},[e._v(e._s(n.name))])]),r!==s.routeTxt.length-1?t("div",{staticClass:"include include-assign",class:["include-assign-"+(n.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}),0):e._e(),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[e.visible?t("departPerson",e._b({attrs:{isTitle:!1},on:{callback:e.handleCallback}},"departPerson",e.entity,!1)):e._e()],1),t("SelectFixedPerson",{attrs:{visible:e.showFixedPerson,list:e.fixedPersonList,multiple:e.currentClickItem.loopCardinality==-1,select:e.fixedSelect[e.partObjId]||[]},on:{updateList:e.handleClickFixedPerson,updateVisible:e.updateFixedPersonVisible,updateSelect:e.updateFixedSelect,confirm:e.handleSumbitFixedPerson}}),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}})],1):e._e()},Db=[];const $0="",Mb={name:"TreeNode",components:{SelectFixedPerson:mu,TopPopup:ze,TopTips:dt,departPerson:Mt.departPerson},props:{items:{type:Array,default:()=>[]},endNode:{type:Boolean,default:!1},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}},checkType:{type:String,default:""}},data(){return{currentClickItem:{},fixedSelect:{},showFixedPerson:!1,fixedPersonList:[],nodeItems:[],visible:!1,checkBoxArr:[],checkBoxItem:[],radioArr:"",radioItem:[],partObjId:"",entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partNode:{},partNodeArr:{},textTips:"",statusTips:!1,typeTips:"success",gateVars:{},onMultiNodeData:{},onVarsData:{},personMake:[],personMakeList:{}}},watch:{items:{handler(e,i){e&&e.length&&(this.multiNodeParticipant={},this.partNode={},this.partNodeArr={},this.gateVars={},this.nodeItems=JSON.parse(JSON.stringify(e)),this.nodeItems,this.nodeItems.map(t=>{if(Array.isArray(t.assignees),t.assignees,t.userTaskModelDTO||(t.userTaskModelDTO={name:t.name,humanPerformer:{name:t.humanPerformerName},routeTxt:t.routeTxt,participantList:t.participantList}),Array.isArray(t.assignees)&&t.assignees.length&&(this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNodeArr[t.id]||(this.partNodeArr[t.id]=[]),t.assignees.forEach(s=>{this.partNodeArr,this.multiNodeParticipant;const n=this.partNodeArr[t.id].find(a=>a.name==s.name),r=this.multiNodeParticipant[t.id].find(a=>a==s.id);n||this.partNodeArr[t.id].push(s),r||this.multiNodeParticipant[t.id].push(s.id)})),t.userTaskModelDTO&&t.userTaskModelDTO.participantList&&t.userTaskModelDTO.participantList.length&&t.userTaskModelDTO.humanPerformer&&t.userTaskModelDTO.participantList.map(s=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.partNodeArr[t.id]||(this.partNodeArr[t.id]=[]),this.multiNodeParticipant[t.id].includes(s.id)||this.multiNodeParticipant[t.id].push(s.id),this.partNode[t.id].includes(s.name)||this.partNode[t.id].push(s.name),this.partNodeArr[t.id].find(n=>n.name==s.name)||this.partNodeArr[t.id].push(s)}),(t.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||t.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(t.id),t.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let s={taskDefId:t.id,postIds:[]};t.userTaskModelDTO.routeTxt.postList.map(n=>{s.postIds.push(n.postId)}),this.param.request.post("/auth/user/getTaskAuditor",{deptId:this.param.taskNode&&this.param.taskNode[0].vars?this.param.taskNode[0].vars._businessDeptId:"",taskPostIds:[s]}).then(n=>{let r=[],a=[],o=!1;n.data.map(p=>{p.posts.map(h=>{a.push(...h.users),h.users.length==1?r.push(...h.users):o=!0})}),r.length>t.loopCardinality&&t.loopCardinality>0&&(o=!0),o&&(r=[]);let l=[];n.data[0].posts.map(p=>{l.push({...p,projectPost:!(this.param.taskNode&&this.param.taskNode[0].vars&&this.param.taskNode[0].vars._businessDeptId),id:p.users.map(h=>h.id)})}),a.length==0&&this.$set(t,"noPersonnel",!0),r.length>0&&(this.$set(t,"noPersonnel",!0),this.partObjId=t.id,this.handleCallback(r)),t.positionArray=l})}this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(s=>{s.code==200&&(this.personMakeList=s.data)})}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.$emit("onVars",this.gateVars),this.checkType=="ExclusiveGatewayModel"&&e.length==1&&this.handleRadioClick(e[0]))},immediate:!0,deep:!0}},computed:{check(){return ca}},mounted(){},methods:{clear(){this.radioArr="",this.radioItem=[],this.checkBoxArr=[],this.checkBoxItem=[],this.multiNodeParticipant={},this.partNode={},this.partNodeArr={},this.gateVars={}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"||e=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"},handleCallback(e){this.visible=!1,this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name),this.partNodeArr[this.partObjId].push(i)}),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 i=e.childNode&&e.childNode.length?e.childNode:e&&e.length?e:[e];i&&i.length&&i.forEach((t,s)=>{t.participantList&&t.participantList.length?t.participantList.forEach((n,r)=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.partNodeArr[t.id]||(this.partNodeArr[t.id]=[]),this.multiNodeParticipant[t.id].includes(n.id)||this.multiNodeParticipant[t.id].push(n.id),this.partNode[t.id].includes(n.name)||this.partNode[t.id].push(n.name),this.partNodeArr[t.id].find(a=>a.name==n.name)||this.partNodeArr[t.id].push(n)}):t.id&&t.humanPerformerName=="\u56FA\u5B9A\u4EBA\u5458"&&this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[t.id]}).then(n=>{n.code==200&&(this.partNode[t.id]={},this.partNode[t.id]=n.data[t.id].split(";"))}),this.nodeType=="outing"&&(this.onVarsData&&(this.gateVars={...this.gateVars,...this.onVarsData}),this.$emit("onVars",this.gateVars))})},handleOpenFixedPerson(e){this.currentClickItem=e,this.partObjId=e.id,this.showFixedPerson=!0,this.fixedPersonList=e.userList||[]},updateFixedPersonVisible(e){this.showFixedPerson=e},updateFixedSelect(e){},handleSumbitFixedPerson(e){this.$set(this.fixedSelect,this.partObjId,e),this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.userId),this.partNode[this.partObjId].push(i.realName),this.partNodeArr[this.partObjId].push({...i,name:i.realName,id:i.userId})}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.showFixedPerson=!1},handleClickFixedPerson(e){this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.userId),this.partNode[this.partObjId].push(i.realName),this.partNodeArr[this.partObjId].push({...i,name:i.realName,id:i.userId})}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.showFixedPerson=!1},handleOpenPopup(e){if(this.visible=!0,this.partObjId=e.id,this.nodeType=="nexting"?e={...e,...e.userTaskModelDTO}:this.nodeType=="outing"?e={...e,humanPerformer:{name:e.humanPerformerName}}:this.handleTips("\u52A0\u8F7D\u5931\u8D25,\u8BF7\u5237\u65B0",!0,"error"),e.humanPerformer.name=="\u56FA\u5B9A\u5355\u4F4D"||e.humanPerformerName=="\u56FA\u5B9A\u5355\u4F4D"){let i,t=[];this.multiNodeParticipant,this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((s,n)=>{t.push({type:3,id:s.id,subjectId:s.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:i,checkedArray:t}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"||e.humanPerformerName=="\u56FA\u5B9A\u90E8\u95E8"){let i,t=[],s=[];e.routeTxt.departmentIds.forEach((n,r)=>{e.routeTxt.departmentIds.length>1?t.push(n.rangeId):i=n.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((n,r)=>{s.push({type:3,id:n.id,deptId:i,subjectId:n.subjectId})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCodeArray:t,checkedArray:s}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCode:i,checkedArray:s}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"||e.humanPerformerName=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let i=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((t,s)=>{i.push({type:3,id:t.id,subjectId:t.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:[5],request:this.param.request,codeType:[8],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,positionArray:e.positionArray,checkedArray:i}}else{let i=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((t,s)=>{i.push({type:3,id:t.id,subjectId:t.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:i}}},handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,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))}}},Cu={};var Ob=ye(Mb,Pb,Db,!1,Bb,"4064b34c",null,null);function Bb(e){for(let i in Cu)this[i]=Cu[i]}const Rb=function(){return Ob.exports}();var Lb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"test"},[e.param.nodeLoading?[e._m(0)]:[e.nodeItems&&e.nodeItems.length?t("div",e._l(e.nodeItems,function(s,n){return t("div",{key:n,staticClass:"treeperson"},[s.nodeType=="endEvent"?[t("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")])]:s.branches&&s.branches.length?[e.nodeType=="nexting"&&s.nodeType!="inclusiveGateway"?[s.nodeType=="exclusiveGateway"&&s.branches.length>1?t("div",{staticClass:"treeperson-firstnode"},[e._m(1,!0),e._l(s.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.branches)}}},[t("span"),e._v(" "+e._s(r.id.includes("Flow")?r.nodeName||r.name?r.nodeName||r.name:r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:"":r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name||r.nodeName||r.name:r.nodeName||r.name)+" ")])})],2):s.nodeType=="exclusiveGateway"&&s.branches.length==1?t("div",{staticClass:"treeperson-firstnode"},e._l(s.branches,function(r,a){return t("div",[t("span"),t("tree-person",{ref:"TreePersonRef",refInFor:!0,attrs:{items:r.branches&&r.branches.length>0?r.branches:[r],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})],1)}),0):s.nodeType=="inclusiveGateway"&&s.branches.length>=1?t("div",{staticClass:"treeperson-firstnode"},[e._m(2,!0),e._l(s.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleMultiFirstNodeClick(r)}}},[t("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])})],2):t("div",{staticClass:"treeperson-firstnode"},[e._m(3,!0),e._l(s.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.branches)}}},[t("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])})],2),e.childrenItems&&e.childrenItems.length>0&&e.childrenItems[0].nodeInfoDTO&&e.childrenItems[0].nodeInfoDTO.nodeType!="userTask"?[t("tree-person",{key:e.firstCheck,ref:"TreePersonRef",refInFor:!0,attrs:{items:[e.firstCheckItem],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})]:e.childrenItems&&e.childrenItems.length>1&&e.childrenItems[0].nodeInfoDTO&&e.childrenItems[0].nodeInfoDTO.nodeType=="userTask"?[e._m(4,!0),t("div",{staticClass:"treeperson-checkbox-box"},e._l(e.childrenItems,function(r,a){return t("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstMultiCheckSub.includes(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleMultiFirstNodeClickSub(r,e.childrenItems)}}},[t("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])}),0),e._l(e.filterMultiItemsSub(e.childrenItems),function(r){return[t("TreeNode",{attrs:{items:r.branches&&r.branches.length>0?r.branches:[r.nodeInfoDTO?r.nodeInfoDTO:r],endNode:!0,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(a){return e.onMultiNode(a,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]})]:[t("TreeNode",{attrs:{items:e.childrenItems,endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:e.nodeType=="nexting"&&s.nodeType=="inclusiveGateway"?[s.nodeType=="inclusiveGateway"&&s.branches.length>=1?t("div",{staticClass:"treeperson-firstnode"},[e._m(5,!0),t("div",{staticClass:"treeperson-checkbox-box"},e._l(s.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstMultiCheck.includes(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleMultiFirstNodeClick(r,s.branches)}}},[t("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])}),0)]):e._e(),e._l(e.filterMultiItems(s.branches),function(r){return[t("TreeNode",{attrs:{items:r.branches&&r.branches.length>0?r.branches:[r.nodeInfoDTO?r.nodeInfoDTO:r],endNode:!0,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(a){return e.onMultiNode(a,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]})]:e._e()]:s.nodeType=="exclusiveGateway"&&s.branches&&s.branches.length>1?[e._m(6,!0),s.type=="ExclusiveGatewayModel"&&s.branches.length==1?e._e():t("div",{staticClass:"treeperson-firstnode"},e._l(s.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstCheck==r.id?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.branches)}}},[t("span"),e._v(" "+e._s(r.nodeName||r.name)+" ")])}),0),t("TreeNode",{attrs:{items:e.childrenItems,endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(r){return e.onMultiNode(r,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]:s.nodeType=="exclusiveGateway"&&s.branches&&s.branches.length==1?[e._m(7,!0),e.nodeType=="nexting"?[t("TreeNode",{attrs:{items:[s.branches[0]],endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]:[t("TreeNode",{attrs:{items:[s.branches[0]],endNode:!0,nodeType:"nexting",param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:s.id||s.nodeInfoDTO&&s.nodeInfoDTO.id?[e.nodeType=="nexting"?[s.nodeInfoDTO&&s.nodeInfoDTO.nodeType=="exclusiveGateway"?[e._m(8,!0),e._l(s.nodeInfoDTO.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.nodeInfoDTO.branches)}}},[t("span"),e._v(" "+e._s(r.nodeName||r.name)+" ")])}),t("tree-person",{key:e.firstCheck,ref:"TreePersonRef",refInFor:!0,attrs:{items:[e.firstCheckItem],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})]:[e._m(9,!0),t("TreeNode",{attrs:{items:[s.nodeInfoDTO?s.nodeInfoDTO:s],endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:[t("TreeNode",{attrs:{items:[s],endNode:!0,nodeType:"nexting",param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:void 0],2)}),0):e._e()]],2)},Fb=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",[t("span",[e._v("\u4E0B\u4E00\u8282\u70B9: ")]),t("b",{staticStyle:{"font-size":"16px"}},[e._v("\u8282\u70B9\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E......")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])}];const eC="",jb={name:"tree-person",components:{TreeNode:Rb},props:{items:{type:Array,default:()=>[]},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}}},data(){return{nodeItems:[],visible:!1,partObjId:"",partNode:[],firstCheck:"",firstCheckItem:{},firstType:"",firstMultiCheck:[],firstMultiCheckItem:[],firstMultiType:[],firstMultiCheckSub:[],firstMultiCheckItemSub:[],firstMultiTypeSub:[],childrenItems:[],childrenEndItems:!1,childrenItemsSub:[],childrenEndItemsSub:!1,gateVars:{},multiNode:{},partNodeArr:{},getVars:{}}},watch:{items:{handler(e,i){e&&e.length&&(this.nodeType=="nexting"?(this.nodeItems=[],this.childrenEndItems=!0,e.forEach(t=>{t={...t,...t.userTaskModelDTO},this.nodeItems.push(t)})):this.nodeType=="outing"&&(this.nodeItems=e),this.nodeItems.length==1&&this.nodeItems[0].type=="ExclusiveGatewayModel"&&this.nodeItems[0].childNode&&this.nodeItems[0].childNode.length==1&&this.handleFirstNodeClick(this.nodeItems[0]),this.nodeItems)},immediate:!0,deep:!0}},methods:{filterMultiItems(e=[]){return this.firstMultiCheck,e.filter(i=>this.firstMultiCheck.includes(i.nodeInfoDTO?i.nodeInfoDTO.id:i.id))},filterMultiItemsSub(e=[]){return this.firstMultiCheckSub,e.filter(i=>this.firstMultiCheckSub.includes(i.nodeInfoDTO?i.nodeInfoDTO.id:i.id))},onMultiNode(e,i=""){i&&Object.prototype.toString.call(e)=="[object Object]"?Object.prototype.toString.call(this.multiNode)=="[object Object]"?Object.keys(e).forEach(t=>{e[t]||(e[t]=[""]),e[t]&&e[t].length>=1?this.multiNode[t]=e[t].filter(s=>s):this.multiNode[t]=e[t]}):this.multiNode=e:this.multiNode=e,this.$emit("onMultiNode",this.multiNode)},onMultiNodeObj(e){this.partNodeArr=e,this.$emit("onMultiNodeObj",this.partNodeArr)},onVars(e){e?this.getVars={...this.gateVars,...e}:this.getVars={...this.gateVars},this.$emit("onVars",this.getVars)},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"||e=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"},handleMultiFirstNodeClick(e,i=[]){let t=e;if(t&&t.nodeInfoDTO&&(t=t.nodeInfoDTO),this.firstMultiCheck.includes(t.id)){this.firstMultiCheck=this.firstMultiCheck.filter(s=>s!=t.id),this.firstMultiCheckItem=this.firstMultiCheckItem.filter(s=>s.id!=t.id),this.firstMultiType=this.firstMultiType.filter(s=>s!=t.nodeType),delete this.param.selChildrenItems[t.id];return}if(t){this.firstMultiCheck.push(t.id),this.firstMultiCheckItem.push(t),this.firstMultiType.push(t.nodeType);let s=[t];t.branches&&t.branches.length?(this.childrenItems=t.branches,this.childrenEndItems=!1):(this.childrenItems=[t],this.childrenEndItems=!0),i.forEach(n=>{delete this.param.selChildrenItems[n.id],this.param.selChildrenItems[t.id]=(this.childrenItems||[]).map(r=>r.nodeInfoDTO||r)}),this.gateVars={},s.forEach(n=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(n.incomingConditionItemList)&&n.incomingConditionItemList.length>0&&(this.param.vars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue,this.gateVars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue)})}},handleMultiFirstNodeClickSub(e,i=[]){let t=e;if(t&&t.nodeInfoDTO&&(t=t.nodeInfoDTO),this.firstMultiCheckSub.includes(t.id)){this.firstMultiCheckSub=this.firstMultiCheckSub.filter(s=>s!=t.id),this.firstMultiCheckItemSub=this.firstMultiCheckItemSub.filter(s=>s.id!=t.id),this.firstMultiTypeSub=this.firstMultiTypeSub.filter(s=>s!=t.nodeType),this.childrenItemsSub=this.childrenItemsSub.filter(s=>s.id!=t.id),i.forEach(s=>{delete this.param.selChildrenItems[s.nodeInfoDTO?s.nodeInfoDTO.id:s.id]}),delete this.param.selChildrenItems[t.id];return}if(t){this.firstMultiCheckSub.push(t.id),this.firstMultiCheckItemSub.push(t),this.firstMultiTypeSub.push(t.nodeType);let s=[t];t.branches&&t.branches.length?(this.childrenItemsSub.push(t.branches),this.childrenEndItemsSub=!1):(this.childrenItemsSub.push(t),this.childrenEndItemsSub=!0),i.forEach(n=>{delete this.param.selChildrenItems[n.nodeInfoDTO?n.nodeInfoDTO.id:n.id],this.param.selChildrenItems[t.id]=(this.childrenItemsSub||[]).map(r=>r.nodeInfoDTO||r)}),this.gateVars={},s.forEach(n=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(n.incomingConditionItemList)&&n.incomingConditionItemList.length>0&&(this.param.vars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue,this.gateVars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue)})}},handleFirstNodeClick(e,i=[]){let t=e;if(t&&t.nodeInfoDTO&&(t=t.nodeInfoDTO),t){this.firstCheck=t.id,this.firstCheckItem=t,this.firstType=t.nodeType;let s=[t];t.branches&&t.branches.length?(this.childrenItems=t.branches,this.childrenEndItems=!1):(this.childrenItems=[t],this.childrenEndItems=!0),i.forEach(n=>{const r=this.param.selChildrenItems[n.nodeInfoDTO?n.nodeInfoDTO.id:n.id];Array.isArray(r)&&r.forEach(a=>{delete this.param.selChildrenItems[a.id]}),delete this.param.selChildrenItems[n.nodeInfoDTO?n.nodeInfoDTO.id:n.id],this.param.selChildrenItems[t.id]=(this.childrenItems||[]).map(a=>a.nodeInfoDTO||a)}),this.gateVars={},s.forEach(n=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(n.incomingConditionItemList)&&n.incomingConditionItemList.length>0&&(this.param.vars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue,this.gateVars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue)})}}}},wu={};var Vb=ye(jb,Lb,Fb,!1,Qb,"139c9c86",null,null);function Qb(e){for(let i in wu)this[i]=wu[i]}const Ub=function(){return Vb.exports}();var Gb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"top-popup-zindex",class:e.className,style:`${e.isIndex?`z-index:${e.isIndex}`:""}`},[t("div",{staticClass:"top-popup-mask",style:e.show&&e.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:function(s){e.isMaskClose&&e.handleClose()}}}),!e.isTips&&!e.isDrawer?t("div",{staticClass:"top-popup",style:e.show?"transform: translateY(0)":"transform: translateY(150%)"},[t("div",{staticClass:"top-popup-header"},[t("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),t("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),t("div",{staticClass:"header-comfig",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])]),t("div",{staticClass:"top-popup-body"},[e._t("default")],2)]):!e.isTips&&e.isDrawer?t("div",{staticClass:"top-popup-drawer",class:e.show?"top-popup-drawer--active":"",style:e.width?`width:${e.width};`:""},[t("div",{staticClass:"top-popup-drawer--body"},[e._t("default")],2)]):e.isTips&&!e.isDrawer?t("div",{staticClass:"top-tips",style:e.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)"},[t("div",{staticClass:"top-tips-header"},[e._v(e._s(e.titleText))]),t("div",{staticClass:"top-tips-body"},[e._v(e._s(e.context))]),t("div",{staticClass:"top-tips-footer"},[t("div",{staticClass:"top-tips-btn",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),t("div",{staticClass:"top-tips-btn",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])])]):e._e()])},qb=[];const tC="",Jb={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,i){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"),i=navigator.userAgent.includes("iPad");return e||i}},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})}},xu={};var Hb=ye(Jb,Gb,qb,!1,Kb,"37f0c2ca",null,null);function Kb(e){for(let i in xu)this[i]=xu[i]}const Eu=function(){return Hb.exports}();var Wb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"sign-container",style:e.setDynamicVars},[t("div",{staticClass:"canvas-container"},[e.paths.length==0&&e.currentPath.length==0?t("div",{staticClass:"tips"},[e._v("\u8BF7\u5728\u6B64\u533A\u57DF\u7B7E\u5B57")]):e._e(),t("canvas",{ref:"canvasRef",class:{"uni-canvas-style":e.isUniCanvas()},attrs:{id:"canvas-id","canvas-id":"canvas-id"},on:{touchmove:e.draw,touchstart:e.startDrawing,touchend:e.finishDrawing}})]),t("div",{staticClass:"history"},[t("div",{staticClass:"img-grid",on:{click:function(s){return e.useHistory(0)}}},[e.historyPics[0]?t("img",{attrs:{src:e.historyPics[0]?e.historyPics[0].url:"",fit:"scale-down"}}):e._e()]),t("div",{staticClass:"img-grid",on:{click:function(s){return e.useHistory(1)}}},[e.historyPics[1]&&e.historyPics[1].url?t("img",{attrs:{src:e.historyPics[1].url,fit:"scale-down"}}):e._e()]),t("div",{staticClass:"img-grid",staticStyle:{"margin-right":"10rpx"},on:{click:function(s){return e.useHistory(2)}}},[e.historyPics[2]&&e.historyPics[2].url?t("img",{attrs:{src:e.historyPics[2].url,fit:"scale-down"}}):e._e()])]),t("div",{staticClass:"actions-area"},[t("button",{staticClass:"btns-common cmf-btn",on:{click:e.confirmSave}},[e._v("\u786E\u8BA4")]),t("button",{staticClass:"btns-common",on:{click:e.cancelSign}},[e._v("\u8FD4\u56DE")]),t("button",{staticClass:"btns-common",on:{click:e.undo}},[e._v("\u64A4\u9500")]),t("button",{staticClass:"btns-common",on:{click:e.clearCanvas}},[e._v("\u6E05\u7A7A")])]),t("signDrawer",{ref:"TopPopupSign",attrs:{visible:e.confirmVisible,titleText:"",isDrawer:!1,isTips:!0,context:"\u63D0\u4EA4\u4E4B\u540E\u5C06\u4E0D\u80FD\u518D\u4FEE\u6539,\u786E\u8BA4\u8981\u63D0\u4EA4\u7B7E\u540D\u5417?",comfig:e.saveSignature},on:{"update:visible":function(s){return e.confirmVisible=s}}})],1)},zb=[];const iC="",Yb={props:{request:{type:Function,default:()=>{}}},components:{signDrawer:Eu},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 i=this.$refs.canvasRef.getBoundingClientRect(),t=(e.touches[0].clientX-i.left)*(this.$refs.canvasRef.width/i.width)/window.devicePixelRatio,s=(e.touches[0].clientY-i.top)*(this.$refs.canvasRef.height/i.height)/window.devicePixelRatio;this.ctx.beginPath(),this.ctx.moveTo(t,s),this.currentPath.push({x:t,y:s})}else this.isDrawing=!0,this.currentPath=[],this.currentPath.push({x:e.touches[0].x,y:e.touches[0].y})},draw(e){if(!!this.isDrawing)if(this.$refs.canvasRef.getContext&&this.currentPath.length>0){const i=this.$refs.canvasRef.getBoundingClientRect(),t=(e.touches[0].clientX-i.left)*(this.$refs.canvasRef.width/i.width)/window.devicePixelRatio,s=(e.touches[0].clientY-i.top)*(this.$refs.canvasRef.height/i.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(t,s),this.ctx.stroke(),this.currentPath.push({x:t,y:s})}else this.currentPath.length>0&&(this.currentPath.push({x:e.touches[0].x,y:e.touches[0].y}),this.ctx.moveTo(this.currentPath[this.currentPath.length-2].x,this.currentPath[this.currentPath.length-2].y),this.ctx.lineTo(this.currentPath[this.currentPath.length-1].x,this.currentPath[this.currentPath.length-1].y),this.ctx.setLineWidth(3),this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.setStrokeStyle("#000"),this.ctx.stroke(),this.ctx.draw(!0))},undo(){if(this.$refs.canvasRef.getContext){this.paths.pop(),this.ctx.clearRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height),this.ctx.fillStyle="#fff",this.ctx.fillRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height);for(let e of this.paths)for(let i=0;i<e.length-1;i++){const{x:t,y:s}=e[i];i===0?(this.ctx.beginPath(),this.ctx.moveTo(t,s)):(this.ctx.lineTo(t,s),this.ctx.stroke())}}else if(this.paths.length>0){this.paths.pop(),this.ctx.clearRect(0,0,this.$refs.canvasRef.$el.offsetWidth,this.$refs.canvasRef.$el.offsetHeight),this.ctx.draw(!0);for(let e of this.paths)for(let i=0;i<e.length-1;i++)this.ctx.moveTo(e[i].x,e[i].y),this.ctx.lineTo(e[i+1].x,e[i+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,i;(i=(e=this.$refs)==null?void 0:e.canvasRef)!=null&&i.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,i){const t=new Blob([e],{type:"text/plain"}),r=new File([t],"text.txt").size/1024;if(r<=64){const a=document.getElementById("canvas-id");return this.getRotatedDataURL(a,-90,i)}else{if(r>300)return null;{let a,o;if(i<.005)return null;if(i-.05>0){a=i-.05;const l=document.getElementById("canvas-id");return o=this.getRotatedDataURL(l,-90,a),this.fixAccuracy(o,a)}else{a=i/2;const l=document.getElementById("canvas-id");return o=this.getRotatedDataURL(l,-90,a),this.fixAccuracy(o,a)}}}},confirmSave(){if(this.paths.length==0){this.$emit("validateFail","\u8BF7\u7B7E\u5B57!");return}this.confirmVisible=!0},saveSignature(){if(this.confirmVisible=!1,this.savaClock)return;this.savaClock=!0;let e=this;if(this.$refs.canvasRef.getContext){let i=.6;const t=document.getElementById("canvas-id");return this.getRotatedDataURL(t,-90,i),!0}else uni.canvasToTempFilePath({canvasId:"canvas-id",success(i){e.signatureImage=i.tempFilePath;let t=JSON.parse(localStorage.getItem("signaturesArr"))||[];t.unshift(this.signatureImage),this.$set(this,"historyPics",t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},getRotatedDataURL(e,i,t){let s=e.width/window.devicePixelRatio,n=e.height/window.devicePixelRatio,r=i*Math.PI/180,a=Math.max(s*Math.abs(Math.cos(r)),n*Math.abs(Math.sin(r))),o=Math.max(s*Math.abs(Math.sin(r)),n*Math.abs(Math.cos(r)));const l=document.createElement("canvas"),p=l.getContext("2d");l.width=a,l.height=o,p.translate(a/2,o/2),p.rotate(r),p.drawImage(e,-s/2,-n/2,s,n),l.toBlob(h=>{this.uploadImage(h)},"image/png",.95)},async uploadImage(e,i){this.loading=!0;const t=new FormData;t.append("file",e,i||`signature-${Date.now()}.png`);const s=await this.request.post("/file/upload",t,{headers:{"Content-Type":"multipart/form-data"}});if(this.loading=!1,!s.success)return;let n=JSON.parse(localStorage.getItem("signaturesArr"))||[];n.unshift(s.data),this.$set(this,"historyPics",n.slice(0,3)),localStorage.setItem("signaturesArr",JSON.stringify(this.historyPics)),this.$emit("saveSignature",s.data,!0)}},computed:{setDynamicVars(){return{"--action-height":`${this.historyHeight}px`}}},mounted(){var e;if(this.historyHeight=(e=document.querySelector(".history"))==null?void 0:e.offsetHeight,this.$refs.canvasRef.getContext){let i=document.querySelector(".canvas-container");if(i){let t=document.getElementById("canvas-id");const s=i.offsetWidth,n=i.offsetHeight-this.actionHeight-this.historyHeight;t.style.width=`${s}px`,t.style.height=`${n}px`,t.width=s*window.devicePixelRatio,t.height=n*window.devicePixelRatio,this.ctx=this.$refs.canvasRef.getContext("2d"),this.ctx.scale(window.devicePixelRatio,window.devicePixelRatio),this.ctx.fillStyle="#fff",this.ctx.fillRect(0,0,t.width,t.height)}}else{this.ctx=uni.createCanvasContext("canvas-id",this);const i=uni.getSystemInfoSync().pixelRatio;this.ctx.scale(i,i)}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)}},Tu={};var Zb=ye(Yb,Wb,zb,!1,Xb,"58762489",null,null);function Xb(e){for(let i in Tu)this[i]=Tu[i]}const $b=function(){return Zb.exports}();var e0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-popup-content"},[e.param.ProcessInsObj&&e.param.ProcessInsObj.processDefId!="obj_94014ede99b6495d8f6d5977314faa15"?t("div",{staticClass:"process-popup-content-msg"},[e.param.isQuickReply?t("div",{staticClass:"process-pc-label"},[e._v("\u5FEB\u6377\u56DE\u590D")]):e._e(),e.param.isQuickReply?t("div",{staticClass:"process-pc-value",staticStyle:{display:"flex"}},[t("div",{staticClass:"process-radio",staticStyle:{width:"100%"}},[e.param.isDocument?e._l(e.msgCheckList,function(s){return t("div",{staticClass:"process-radio-item",class:s==e.commentMsg?"process-radio-item--check":"",on:{click:function(){return e.commentMsg=s}}},[t("span"),e._v(" "+e._s(s)+" ")])}):e._l(e.msgCheckListS,function(s){return t("div",{staticClass:"process-radio-item",class:s==e.commentMsg?"process-radio-item--check":"",on:{click:function(){return e.commentMsg=s}}},[t("span"),e._v(" "+e._s(s)+" ")])}),e.param.isMsg?t("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px","margin-left":"auto"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")]):e._e()],2)]):e._e(),e.param.isMsg&&!e.param.isQuickReply?t("div",[t("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),t("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u610F\u89C1 "),e.param.isRequire?t("span",{staticClass:"process-pc-label--re"},[e._v("*")]):e._e()]),t("div",{staticClass:"process-pc-value"},[t("div",{staticClass:"process-popup-textarea"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),t("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?t("div",{staticClass:"msg-btn"},[t("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]):e._e(),t("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length==1&&e.nextNodeData[0].nodeType=="endEvent"?t("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]):e.nextNodeData&&e.nextNodeData.nodeType=="endEvent"?t("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]):t("TreePerson",{ref:"TreePersonRef",attrs:{items:e.nextNodeData,nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})],1),e._t("completeSlot"),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[t("div",{staticStyle:{height:"100%"}},[e.visible?t("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[t("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),t("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}}),e.labels=="1"?t("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),t("signDrawer",{ref:"TopPopupSign",attrs:{visible:e.signVisible,titleText:"\u7B7E\u5B57",isDrawer:!0,width:"100vw"},on:{"update:visible":function(s){return e.signVisible=s}}},[t("div",{staticStyle:{height:"100%"}},[e.signVisible?t("TopSign",{attrs:{request:e.param.request},on:{saveSignature:e.handleSignature,validateFail:e.noticeFail,close:e.handleClose}}):e._e()],1)])],2)},t0=[];const sC="",i0={name:"complete",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:dt,attchViews:bi,TopPopup:ze,departPerson:Mt.departPerson,MsgList:Cs,TreePerson:Ub,TopSign:$b,signDrawer:Eu},computed:{check(){return ca},checkS(){return _b},isSelectPerson(){if(this.pureTip=!1,this.nextNodeData,this.taskNode,this.multiNodeParticipant,this.$refs.TreePersonRef,this.param,Array.isArray(this.nextNodeData)&&this.nextNodeData[0].nodeType!="endEvent"){let e=this.param.selChildrenItems||{},i=[];if(Object.keys(e).filter(s=>s.startsWith("Activity")).forEach(s=>{i=i.concat(e[s])}),i.length==0&&Object.values(e).forEach(s=>{Array.isArray(s)&&s.length>0&&s.forEach(n=>{(n.id||"").startsWith("Activity")&&(i=i.concat(n))})}),i.length>0){let s="";const n=i.every(r=>{let a=this.multiNodeParticipant[r.id];a=(a||[]).filter(l=>l);const o=a&&a.length>0;return o||(s=r),o});return n?!1:s.name}else if(this.nextNodeData[0].nodeType=="exclusiveGateway"&&this.nextNodeData[0].branches&&this.nextNodeData[0].branches.length==1){const s=this.findUserTaskNode(this.nextNodeData[0].branches[0]);let n=(this.multiNodeParticipant[s.id]||[]).filter(a=>a);const r=n&&n.length>0;return this.nextNodeData[0].branches[0],r?!1:s.name}else if(this.nextNodeData[0].nodeType=="exclusiveGateway"&&this.nextNodeData[0].branches&&this.nextNodeData[0].branches.length>1){const s=this.$refs.TreePersonRef.childrenItems||null;if(s&&s.length>0){let n="";return s.every(a=>{const o=this.multiNodeParticipant[a.id]&&this.multiNodeParticipant[a.id].length>0;return o||(n=a),o})?!1:n.name}else return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"}else if(this.nextNodeData[0].nodeType=="userTask"){let s=(this.multiNodeParticipant[this.nextNodeData[0].id]||[]).filter(n=>n);return s&&s.length>0?!1:this.nextNodeData[0].name}}else return!1;if(this.nextNodeData.nodeType!="endEvent"){let e=this.param.selChildrenItems||{},i=[];if(Object.keys(e).filter(s=>s.startsWith("Activity")).forEach(s=>{i=i.concat(e[s])}),i.length==0&&Object.values(e).forEach(s=>{Array.isArray(s)&&s.length>0&&s.forEach(n=>{(n.id||"").startsWith("Activity")&&(i=i.concat(n))})}),i.length>0){let s="";const n=i.every(r=>{let a=this.multiNodeParticipant[r.id];a=(a||[]).filter(l=>l);const o=a&&a.length>0;return o||(s=r),o});return n?!1:s.name}else if(this.nextNodeData.nodeType=="exclusiveGateway"&&this.nextNodeData.branches&&this.nextNodeData.branches.length==1){const s=this.findUserTaskNode(this.nextNodeData.branches[0]);let n=(this.multiNodeParticipant[s.id]||[]).filter(a=>a);const r=n&&n.length>0;return this.nextNodeData.branches[0],r?!1:s.name}else if(this.nextNodeData.nodeType=="exclusiveGateway"&&this.nextNodeData.branches&&this.nextNodeData.branches.length>1){const s=this.$refs.TreePersonRef.childrenItems||null;if(s&&s.length>0){let n="";return s.every(a=>{const o=this.multiNodeParticipant[a.id]&&this.multiNodeParticipant[a.id].length>0;return o||(n=a),o})?!1:n.name}else return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"}else if(this.nextNodeData.nodeType=="userTask"){let s=(this.multiNodeParticipant[this.nextNodeData.id]||[]).filter(n=>n);return s&&s.length>0?!1:this.nextNodeData.name}}else return!1;if(Array.isArray(this.nextNodeData)&&this.nextNodeData.length==1&&this.nextNodeData[0].userTaskModelDTO&&this.taskNode&&this.taskNode.length>0&&this.taskNode[0].taskState!=4&&this.taskNode[0].taskState!=11){let e=this.nextNodeData[0].userTaskModelDTO.humanPerformer.name;if(e!="\u56FA\u5B9A\u8D26\u6237"&&e!="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"&&JSON.stringify(this.multiNodeParticipant)=="{}")return this.nextNodeData[0].userTaskModelDTO.name}return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"},signRequired(){return!!this.param.extendedProperties.find(i=>i.name=="signature")}},data(){return{pureTip:!1,showFile:!1,attachRule:{limit:0,required:!1},partNodeArr:{},commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partObjId:[],partNode:{},canCheck:!0,radioCheck:"",radioCheckChild:[],radioCheckName:"",radioCheckNameList:[],radioCheckNode:[],radioCheckNodeList:[],partList:[],gateVars:{},personMake:[],personMakeList:{},visibleListMsg:!1,visibleMsgComfig:!1,msgCheck:"",msgCheckList:["\u540C\u610F","\u5982\u62DF","\u5DF2\u9605"],msgCheckListS:["\u540C\u610F","\u5DF2\u9605"],actionName:"",partNodeS:[],makeType:"",digitalSignature:"",signVisible:!1}},watch:{"param.nodeLoading":{handler(e,i){e||(this.param,this.nextNodeData=this.param.nextNodeData,this.nextNodeData&&this.nextNodeData.length?(this.nextNodeData.map((t,s)=>{t.nodeType!=="endEvent"&&(t.userTaskModelDTO||(t.userTaskModelDTO={name:t.name,humanPerformer:{name:t.humanPerformerName},routeTxt:t.routeTxt,participantList:t.participantList}),t.userTaskModelDTO&&t.userTaskModelDTO.participantList&&t.userTaskModelDTO.participantList.length&&t.userTaskModelDTO.participantList.map(n=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.multiNodeParticipant[t.id].includes(n.id)||this.multiNodeParticipant[t.id].push(n.id),this.partNode[t.id].includes(n.name)||this.partNode[t.id].push(n.name)}),(t.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||t.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(t.id))}),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(t=>{t.code==200&&(this.personMakeList=t.data)})):this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map((t,s)=>{t.nodeType!=="endEvent"&&t.participantList&&t.participantList.length&&t.participantList.map(n=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.multiNodeParticipant[t.id].includes(n.id)||this.multiNodeParticipant[t.id].push(n.id),this.partNode[t.id].includes(n.name)||this.partNode[t.id].push(n.name)})}))}},"param.visible":{handler(e,i){this.nextNodeData=this.param.nextNodeData,this.taskNode=this.param.taskNode,this.outGatewayUserTaskModel=this.param.outGatewayUserTaskModel,this.actionName=this.param.actionName,this.attachShow(),this.showFile,this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map(t=>{t.type!=="endEvent"&&(t.userTaskModelDTO={name:t.name,humanPerformer:{name:t.humanPerformerName},routeTxt:t.routeTxt,participantList:t.participantList},t.humanPerformer={name:t.humanPerformerName})}),this.nextNodeData&&this.nextNodeData.length?(this.nextNodeData.map((t,s)=>{t.nodeType!=="endEvent"&&(t.userTaskModelDTO||(t.userTaskModelDTO={name:t.name,humanPerformer:{name:t.humanPerformerName},routeTxt:t.routeTxt,participantList:t.participantList}),t.userTaskModelDTO&&t.userTaskModelDTO.participantList&&t.userTaskModelDTO.participantList.length&&t.userTaskModelDTO.participantList.map(n=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.multiNodeParticipant[t.id].includes(n.id)||this.multiNodeParticipant[t.id].push(n.id),this.partNode[t.id].includes(n.name)||this.partNode[t.id].push(n.name)}),(t.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||t.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(t.id))}),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(t=>{t.code==200&&(this.personMakeList=t.data)})):this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map((t,s)=>{t.nodeType!=="endEvent"&&t.participantList&&t.participantList.length&&t.participantList.map(n=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.multiNodeParticipant[t.id].includes(n.id)||this.multiNodeParticipant[t.id].push(n.id),this.partNode[t.id].includes(n.name)||this.partNode[t.id].push(n.name)})})},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{findUserTaskNode(e){return e?e.nodeInfoDTO&&e.nodeInfoDTO.nodeType!="userTask"?this.findUserTaskNode(e.nodeInfoDTO.branches[0]):e.nodeInfoDTO?e.nodeInfoDTO:e:{}},handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth/user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleSaveNode(e){this.makeType=="InclusiveGatewayModel"?(this.radioCheckNameList.includes(e.id)?this.radioCheckNameList.splice(this.radioCheckNameList.indexOf(e.id),1):(this.radioCheckNameList.push(e.id),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue),this.gateVars[e.itemName]=e.compareValue):(this.radioCheckNameList=[],this.radioCheckNodeList=[],this.radioCheckNameList.push(e.id),e.childNode&&e.childNode.length&&(this.radioCheckNodeList=e.childNode),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue,this.gateVars[e.itemName]=e.compareValue)},handleSaveNodeS(e){this.makeType=="InclusiveGatewayModel"?this.radioCheckNode.includes(e.id)?this.radioCheckNode.splice(this.radioCheckNode.indexOf(e.id),1):this.radioCheckNode.push(e.id):this.radioCheckNode&&this.radioCheckNode.length?this.radioCheckNode=[]:(this.radioCheckNode.push(e.id),e.childNode&&e.childNode.length&&this.radioCheckNodeList.push(e.childNode))},forRadioChild(e,i){e.map((t,s)=>{t.childNode&&t.childNode.length?this.forRadioChild(t.childNode,!0):i&&this.radioCheckChild.push(t)})},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(i=>{i.participantList&&i.participantList.length?i.participantList.map(t=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(t.id)||this.multiNodeParticipant[i.id].push(t.id),this.partNode[i.id].includes(t.name)||this.partNode[i.id].push(t.name)}):this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[i.id]}).then(t=>{t.code==200&&(this.partNodeS=[],this.partNodeS.push(t.data[i.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 i,t=[];e.routeTxt.companyIds.map((s,n)=>{i=s.name}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((s,n)=>{t.push({type:3,id:s})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:i,checkedArray:t}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"){let i,t=[],s=[];e.routeTxt.departmentIds.forEach((n,r)=>{e.routeTxt.departmentIds.length>1?t.push(n.rangeId):i=n.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].forEach((n,r)=>{s.push({type:3,id:n,deptId:i})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCodeArray:t,checkedArray:s}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCode:i,checkedArray:s}}else{let i=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((t,s)=>{i.push({type:3,id:t})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:i}}},handleOpenMsg(){this.visibleListMsg=!0},async confirm(){this.signRequired?this.signConfirm():this.commonConfirm()},async commonConfirm(){if(this.param.ProcessInsObj.processDefId=="obj_94014ede99b6495d8f6d5977314faa15"&&(this.commentMsg="\u540C\u610F"),!this.commentMsg&&this.param.isRequire){this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success");return}if(this.requires&&this.attchLists.length<=0){this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!",!1,"success");return}if(this.isSelectPerson!==!1){this.handleTips(this.pureTip?this.isSelectPerson:"\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 o=0;if(this.radioCheckNameList.map((l,p)=>{(!this.multiNodeParticipant[l]||!this.multiNodeParticipant[l].length)&&this.radioCheckChild.map((h,g)=>{h.id==l&&(h.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"||h.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&(!h.childNode||!h.childNode.length?o+=1:this.radioCheckNode.map((C,k)=>{(!this.multiNodeParticipant[C]||!this.multiNodeParticipant[C].length)&&(o+=1),e[C]=this.multiNodeParticipant[C]}))}),e[l]=this.multiNodeParticipant[l]}),o>0){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}}}else{if(this.multiNodeParticipant[this.partObjId]&&!this.multiNodeParticipant[this.partObjId].length){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}e=this.multiNodeParticipant}if(this.signRequired){this.signVisible=!0;return}if(this.param.beforeFunction&&!await this.param.beforeFunction())return;(this.param.incomingConditionItemList||[]).forEach(o=>{let l=this.param.vars||this.gateVars||{};l[o.itemName]||(l[o.itemName]="")}),this.handleTips("",!0,"loading");let i=[];const t=Array.isArray(this.param.nextNodeData)?this.param.nextNodeData[0]:this.param.nextNodeData;t.setPersonnel?i=t.assignees:i=(this.partNodeArr[t.id]||[]).map(o=>({id:o.id,name:o.name})),Object.keys(e).forEach(o=>{Array.isArray(e[o])&&(e[o]=e[o].filter(l=>l)),(!e[o]||Array.isArray(e[o])&&e[o].length<=0)&&delete e[o]});let s=t&&t.nodeType!="endEvent"&&(!t.branches||t.branches.length<=0),n=t&&t.nodeType!="endEvent"&&t.branches&&t.branches.length==1&&t.branches[0].nodeInfoDTO&&t.branches[0].nodeInfoDTO.nodeType!="endEvent",r=t&&t.nodeType!="endEvent"&&t.branches&&t.branches.length==1&&!t.branches[0].nodeInfoDTO&&t.branches[0].nodeType!="endEvent";if((s||n||r)&&!Object.keys(e).length){let l={};return s?l=t:n?l=t.branches[0].nodeInfoDTO:r&&(l=t.branches[0]),this.handleTips(l.nodeType?"\u8BF7\u9009\u62E9["+l.name+"]\u5BA1\u6279\u4EBA!":"\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA",!0,"error"),!1}Date.now()&&(this.param.processInstId,this.param.actionComplete,this.commentMsg,this.param.taskInstId,this.param.vars||this.gateVars,this.attchLists),await this.param.request.post("/bladex/blade-workflow/tis/complete",{pass:!0,assignees:i,processInstanceId:this.param.processInstId,actionName:this.param.actionComplete,commentMsg:this.commentMsg,taskId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:e,attachment:this.attchLists}).then(o=>{o.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(o.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(this.pureTip?this.isSelectPerson:"\u8BF7\u9009\u62E9["+this.isSelectPerson+"]\u5BA1\u6279\u4EBA!",!1,"success");return}this.commentMsg||(this.commentMsg=" ");let i={};if(this.radioCheckNameList&&this.radioCheckNameList.length){if(this.radioCheckChild[0].type!=="EndEventModel"){let l=0;if(this.radioCheckNameList.map((p,h)=>{(!this.multiNodeParticipant[p]||!this.multiNodeParticipant[p].length)&&this.radioCheckChild.map((g,C)=>{g.id==p&&(g.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"||g.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&(!g.childNode||!g.childNode.length?l+=1:this.radioCheckNode.map((k,J)=>{(!this.multiNodeParticipant[k]||!this.multiNodeParticipant[k].length)&&(l+=1),i[k]=this.multiNodeParticipant[k]}))}),i[p]=this.multiNodeParticipant[p]}),l>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}i=this.multiNodeParticipant}if(e){this.signVisible=!0;return}if(!this.digitalSignature){this.handleTips("\u8BF7\u7B7E\u5B57!",!1,"success");return}if(this.param.beforeFunction&&!await this.param.beforeFunction())return;this.handleTips("",!0,"loading"),this.signVisible=(!1)(this.param.incomingConditionItemList||[]).forEach(l=>{let p=this.param.vars||this.gateVars||{};p[l.itemName]||(p[l.itemName]="")});let t=[];const s=Array.isArray(this.param.nextNodeData)?this.param.nextNodeData[0]:this.param.nextNodeData;s.setPersonnel?t=s.assignees:t=(this.partNodeArr[s.id]||[]).map(l=>({id:l.id,name:l.name})),Object.keys(i).forEach(l=>{Array.isArray(i[l])&&(i[l]=i[l].filter(p=>p)),(!i[l]||Array.isArray(i[l])&&i[l].length<=0)&&delete i[l]});let n=s&&s.nodeType!="endEvent"&&(!s.branches||s.branches.length<=0),r=s&&s.nodeType!="endEvent"&&s.branches&&s.branches.length==1&&s.branches[0].nodeInfoDTO&&s.branches[0].nodeInfoDTO.nodeType!="endEvent",a=s&&s.nodeType!="endEvent"&&s.branches&&s.branches.length==1&&!s.branches[0].nodeInfoDTO&&s.branches[0].nodeType!="endEvent";if((n||r||a)&&!Object.keys(i).length){let p={};return n?p=s:r?p=s.branches[0].nodeInfoDTO:a&&(p=s.branches[0]),this.handleTips(p.nodeType?"\u8BF7\u9009\u62E9["+p.name+"]\u5BA1\u6279\u4EBA!":"\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA",!0,"error"),!1}await this.param.request.post("/bladex/blade-workflow/tis/complete",{pass:!0,assignees:t,processInstanceId:this.param.processInstId,actionName:this.param.actionComplete,commentMsg:this.commentMsg,taskId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:i,digitalSignature:this.digitalSignature,attachment:this.attchLists}).then(l=>{l.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(l.msg,!0,"error")})},attachShow(e="\u529E\u7406"){const i=(this.param||{}).extendedProperties||[];let t=!1,s,n="";s=i.find(a=>a.name=="completeButtonAnnex"),n=s?s.value:"",n&&(t=!0);let r="";if(typeof n!="string"&&n!=null&&n.map(a=>{a.indexOf(this.operationLabel)!=-1&&(t=!0,r=a)}),r&&(n=r),t){const a=n.split(":");this.attachRule.required=a[1]=="true",this.attachRule.limit=a[2]==-1?999:a[2],this.otherList=n;let o=this.otherList.split(":");this.limit=o[2],this.requires=JSON.parse(o[1]),this.labels=o[0]}return this.labels,this.limit,t},makeDelegateTaskButtonAnnex(){},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name)})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((t,s)=>{t.size=t.fileSize,t.format=t.name.substring(t.name.lastIndexOf(".")+1),t.uploadTime=t.createTime,t.processInstId=this.param.processInstId,t.taskInstId=this.param.taskInstId,t.name=t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,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,i){this.digitalSignature=e,i&&(this.signVisible=!1,this.signConfirm(!1))},noticeFail(e){this.handleTips(e,!1,"success")},handleClose(){this.signVisible=!1}}},Iu={};var s0=ye(i0,e0,t0,!1,n0,"2b4d2ad8",null,null);function n0(e){for(let i in Iu)this[i]=Iu[i]}const ku=function(){return s0.exports}();var r0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-popup-content"},[t("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?t("div",[t("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),t("div",{staticClass:"process-pc-value"},[t("div",{staticClass:"process-popup-textarea"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),t("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?t("div",{staticClass:"msg-btn"},[t("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),e.taskNode&&e.taskNode.length>0&&e.taskNode[0].taskState!=4?t("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(s){var n,r;return[e.isOption(s==null||(n=s.userTaskModelDTO)===null||n===void 0||(r=n.humanPerformer)===null||r===void 0?void 0:r.name)?[t("div",[e._v(" "+e._s(s.userTaskModelDTO.name)+" "),t("br"),e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:function(a){return e.handleOpenPopup(s.id)}}},[t("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(a,o){return t("span",[e._v(" "+e._s(o==0?a:`,${a}`)+" ")])}),0):t("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[t("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]:e._e()]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(s){return[e.isOption(s.humanPerformerName)?[t("div",{staticStyle:{"font-size":"15px"}},[e._v(" "+e._s(s.name)+" ")]),t("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:e.handleOpenPopup}},[t("div",{staticClass:"process-pc-value--people"},[e._v(" "+e._s(234)+" ")])])]:e._e()]})]:e._e()],2):e._e(),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[t("div",{staticStyle:{height:"100%"}},[e.visible?t("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="\u62D2\u7EDD"?t("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[t("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),t("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}})],1)},a0=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-pc-label"},[e._v(" \u62D2\u7EDD\u7406\u7531\uFF1A "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const nC="",o0={name:"cancel",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:dt,attchViews:bi,TopPopup:ze,departPerson:Mt.departPerson,MsgList:Cs},watch:{param:{async handler(e,i){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((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name),this.entity.checkedArray.push({type:3,id:i.id,subjectId:i.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((t,s)=>{t.size=t.fileSize,t.format=t.originFileName.substring(t.originFileName.lastIndexOf(".")+1),t.uploadTime=t.createTime,t.processInstId=this.param.processInstId,t.taskInstId=this.param.taskInstId,t.name=t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u62D2\u7EDD")}}},Nu={};var l0=ye(o0,r0,a0,!1,c0,"3be26d49",null,null);function c0(e){for(let i in Nu)this[i]=Nu[i]}const u0=function(){return l0.exports}();var p0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-popup-content"},[t("div",{staticClass:"process-popup-content-msg"},[e._m(0),t("div",{staticClass:"process-pc-value",staticStyle:{display:"inline-block",width:"50%"}},[t("TopDownSelect",{attrs:{option:e.option,optionStyle:"width:calc(100% - 40px);left:20px;",maskShow:!1,border:""},on:{change:e.handleChange}})],1),e._m(1),t("div",{staticClass:"process-pc-value"},[t("div",{staticClass:"process-popup-textarea"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),t("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])])])]),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[t("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),t("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}}),e.labels=="\u9000\u56DE"?t("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e()],1)},d0=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-pc-label",staticStyle:{"background-color":"#fff",position:"relative","z-index":"199",display:"inline-block",width:"50%"}},[e._v(" \u9000\u56DE\u8282\u70B9\uFF1A "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-pc-label"},[e._v(" \u9000\u56DE\u7406\u7531\uFF1A "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const rC="",h0={name:"backNode",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:dt,attchViews:bi,TopPopup:ze,departPerson:Mt.departPerson,TopDownSelect:hu,MsgList:Cs},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,i){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(i=>({...i,name:i.nodeName,id:i.nodeId})).filter(i=>!(i.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((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name),this.entity.checkedArray.push({type:3,id:i.id,subjectId:i.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((t,s)=>{t.size=t.fileSize,t.format=t.originFileName.substring(t.originFileName.lastIndexOf(".")+1),t.uploadTime=t.createTime,t.processInstId=this.param.processInstId,t.taskInstId=this.param.taskInstId,t.name=t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u9000\u56DE")}}},Su={};var f0=ye(h0,p0,d0,!1,m0,"0d20c2b4",null,null);function m0(e){for(let i in Su)this[i]=Su[i]}const g0=function(){return f0.exports}();var y0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticStyle:{height:"100%"}},[e.param.visible?t("departPerson",e._b({attrs:{isTitle:!1,request:e.param.request},on:{callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e(),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}})],1)},v0=[];const aC="",A0={name:"ccTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:dt,departPerson:Mt.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,i){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((i,t)=>{t==0?e=i:e=`${e} ${i}`}),await this.param.request.post("/bladex/blade-workflow/tis/createCCTask",{processInstId:this.param.processInstId,taskId:this.param.taskInstId,title:"",participant:e}).then(i=>{i.code==200?(this.$emit("handleClosecctaskTopPopup"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal()):this.handleTips(i.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name),this.entity.checkedArray.push({type:3,id:i.id,subjectId:i.subjectId})}),e&&e.length&&this.confirm()},handleCancel(){},getValues(e){this.attchLists=e},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("ccTask")}}},_u={};var b0=ye(A0,y0,v0,!1,C0,null,null,null);function C0(e){for(let i in _u)this[i]=_u[i]}const w0=function(){return b0.exports}();var x0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-btns"},[e.process.status=="todo"?[e.getButton("wf_pass")?t("button",{staticClass:"process-button success",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("examine",!0,["deleted"].includes(e.process.processIsFinished)?"\u91CD\u65B0\u63D0\u4EA4":e.getButton("wf_pass").name)}}},[["deleted"].includes(e.process.processIsFinished)?t("span",[e._v("\u91CD\u65B0\u63D0\u4EA4")]):t("span",[e._v(e._s(e.getButton("wf_pass").name))])]):e._e(),e.getButton("wf_reject")?t("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("examine",!1,(e.backNodes.length>1,e.getButton("wf_reject").name))}}},[e.backNodes.length>1?t("span",[e._v(e._s(e.getButton("wf_reject").name))]):t("span",[e._v(e._s(e.getButton("wf_reject").name))])]):e._e(),e.uid==(e.process.variables||{}).applyUserId?t("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("reminders")}}},[t("span",[e._v("\u50AC\u529E")])]):e._e(),e.getButton("wf_transfer")?t("button",{staticClass:"process-button primary",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("user-select",{type:"transfer",checkType:"radio",name:e.getButton("wf_transfer").name})}}},[e._v(e._s(e.getButton("wf_transfer").name))]):e._e(),e.getButton("wf_delegate")?t("button",{staticClass:"process-button warning",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("user-select",{type:"delegate",checkType:"radio",name:e.getButton("wf_delegate").name})}}},[e._v(" "+e._s(e.getButton("wf_delegate").name)+" ")]):e._e(),e.getButton("wf_rollback")?t("button",{staticClass:"process-button success",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("rollback",e.getButton("wf_rollback").name)}}},[e._v(" "+e._s(e.getButton("wf_rollback").name)+" ")]):e._e(),e.getButton("wf_terminate")?t("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("terminate")}}},[e._v(" "+e._s(e.getButton("wf_terminate").name)+" ")]):e._e(),e.process.isMultiInstance&&e.getButton("wf_add_instance")?t("button",{staticClass:"process-button primary",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("user-select",{type:"addInstance",checkType:"checkbox",name:e.getButton("wf_add_instance").name})}}},[e._v(" "+e._s(e.getButton("wf_add_instance").name)+" ")]):e._e(),e.getButton("wf_cctask")?t("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("circulate",e.getButton("wf_cctask").name)}}},[t("span",[e._v(e._s(e.getButton("wf_cctask").name))])]):e._e()]:e._e(),e.process.isOwner&&e.process.isReturnable&&!["deleted"].includes(e.process.processIsFinished)?t("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("withdraw","\u64A4\u9500")}}},[e._v(" \u64A4\u9500 ")]):e._e(),e.getButton("wf_print")?t("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("print")}}},[e._v(" "+e._s(e.getButton("wf_print").name)+" ")]):e._e()],2)},E0=[];const oC="",T0={name:"nf-button",components:{TopTips:dt},props:{uid:{type:String,default:""},loading:{type:Boolean,default:!1},buttonList:{type:Array,default:()=>[]},process:{type:Object,default:()=>({variables:{}})},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{}})},comment:String},data(){return{isCollapse:!0,nodeVisible:!1,nodeForm:{},nodeOption:{column:[{label:"\u8282\u70B9",prop:"nodeId",type:"select",props:{label:"nodeName",value:"nodeId"},span:24,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u56DE\u9000\u8282\u70B9",trigger:"change"}]}]},backNodes:[]}},watch:{process:{handler(e,i){e&&e.taskId&&this.request.get("/bladex/blade-workflow/process/getBackNodes",{params:{taskId:e.taskId}}).then(t=>{const s=t.data;this.backNodes=s})},deep:!0,immediate:!0}},methods:{handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,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(i=>i.buttonKey==e)}}},Pu={};var I0=ye(T0,x0,E0,!1,k0,"128c5f57",null,null);function k0(e){for(let i in Pu)this[i]=Pu[i]}const N0={name:"TopProcess",components:{processBtns:function(){return I0.exports}(),TopTab:KA,TopPopup:ze,TopTips:dt,TopSumbitPopup:yu},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{currentProcess:{currentProcessOriginData:[],currentMan:[],currentFirstNode:{}},incomingConditionItemList:[],submitLoading:!1,nextTaskNode:{},deptId:"",absoluteTaskId:"",comment:"",processXml:"",approvalData:[],processStatus:{},processDefList:{},processBusiness:{},getFirstProcessNode:{},taskNode:[],taskNodeList:[],taskNodeIds:[],taskState:NaN,taskCurrent:0,taskObj:{},taskId:"",taskNodeShow:!1,actionShow:!1,titleText:"",btnStyle:"",processIntId:"",trackUrl:"",taskCommentList:[],operationCom:null,operationComKey:Date.now(),ProcessInsObj:{button:[],flow:[],form:{},process:{}},popupContext:"",operationParam:{},nextTaskNode:{},annexlabel:"",handleTipsType:"",textTips:"",statusTips:!1,typeTips:"",outGatewayUserTaskModel:[],nextNodeData:[],visibleSong:!1,trackList:[],user:{},canCheck:!0,approveNode:{},restartDataS:{},selfBtnList:[],topNum:144,bottomNum:70,userIdData:"",TopPopup1:!1,cctaskTopPopup:!1,cctaskTopPopupTitle:"\u6284\u9001"}},watch:{processInstId:{async handler(e,i){this.processIntId=this.processInstId||this.formData.processId||this.formData.processInstId,e&&(this.request.get("/bladex/blade-workflow/tis/getTaskModelDetail",{params:{processInstId:this.processInstId}}).then(t=>{var s;if(t.code==200){this.ProcessInsObj={...this.ProcessInsObj,...t.data},this.taskObj.buttons=this.ProcessInsObj.button||[],this.trackList=(((s=t.data)==null?void 0:s.flow)||[]).filter(a=>["userTask","candidate"].includes(a.historyActivityType));const n=((this.ProcessInsObj.process||{}).variables||{}).deptId;this.deptId=n;const r=(this.ProcessInsObj.process||{}).taskId;this.absoluteTaskId=r,this.approvalData=(t.data||{}).flow||[],this.processXml=((t.data||{}).process||{}).xml||"",this.handleGetProcessStatus(),this.$emit("get-process-data",this.ProcessInsObj)}}),this.getCurrentProcess(),this.getUserInfo())},immediate:!0,deep:!0},restartData:{handler(e,i){e&&(this.restartDataS=e)},immediate:!0,deep:!0},selfBtn:{handler(e,i){e&&e.length&&(this.selfBtnList=e)},immediate:!0,deep:!0},uid:{handler(e,i){e&&(this.userIdData=e)},immediate:!0,deep:!0}},mounted(){},computed:{actionBtn(){return this.operBtn.length>3?this.operBtn.slice(3):[]},operBtn(){let e=[];const i=this.ProcessInsObj.process,t=this.ProcessInsObj.button;if(!i||!t)return e;if(this.getButton("wf_pass"),this.needResubmit&&i.status=="todo"&&this.userIdData&&i.isOwner&&["deleted"].includes(i.processIsFinished)&&this.getButton("wf_pass")){let n={};n.name="\u91CD\u65B0\u63D0\u4EA4",n.btnProps={type:"default"},e.push(n),n.click=r=>{this.handlePass("\u91CD\u65B0\u63D0\u4EA4"),this.submitLoading=!0,this.handleActionClose()}}if(!this.isView&&i.status=="todo"&&this.getButton("wf_pass")){let n={};n.name=this.getButton("wf_pass").name,n.btnProps={type:"primary"},e.push(n),n.click=r=>{this.handlePass(this.getButton("wf_pass").name),this.submitLoading=!0,this.handleActionClose()}}if(!this.isView&&i.status=="todo"&&this.getButton("wf_reject")){let n={};n.name=this.getButton("wf_reject").name,n.btnProps={type:"danger"},e.push(n),n.click=r=>{this.handleCancel(this.getButton("wf_reject").name),this.submitLoading=!0,this.handleActionClose()}}if(this.selfBtnList&&this.selfBtnList.length&&this.selfBtnList.map(n=>{let r={};r.name=n.name,r.btnProps={type:n.type},e.push(r),r.click=n.click}),["wf_edit"].map(n=>{if(!this.isView&&i.status=="todo"&&this.getButton(n)){let r={};r.name=this.getButton(n).name,r.btnProps={},r.key=r.name,r.click=()=>{this.$emit("clickCustomButton",r.name)},e.push(r)}}),!this.isView&&i.status=="todo"&&this.getButton("wf_rollback")){let n={};n.name=this.getButton("wf_rollback").name,n.btnProps={type:"danger"},e.push(n),n.click=r=>{this.handleRollbackTask(this.getButton("wf_rollback").name),this.handleActionClose()}}if(!this.isView&&i.status=="todo"&&this.getButton("wf_cctask")){let n={};n.name=this.getButton("wf_cctask").name,n.btnProps={type:"default"},n.click=async r=>{this.handleCirculate(this.getButton("wf_cctask").name),this.handleActionClose()},e.push(n)}if(!this.isView&&i.status=="todo"&&this.getButton("wf_delegate")){let n={};n.name=this.getButton("wf_delegate").name,n.btnProps={type:"warning"},n.key="cc2",n.click=()=>{this.handleUserSelect({type:"delegate",checkType:"radio",name:this.getButton("wf_delegate").name}),this.handleActionClose()},e.push(n)}if(!this.isView&&i.status=="todo"&&this.getButton("wf_terminate")){let n={};n.name=this.getButton("wf_terminate").name,n.btnProps={type:"danger"},n.key="cc3",n.click=()=>{this.handleTerminateProcess(),this.handleActionClose()},e.push(n)}if(!this.isView&&i.status=="todo"&&this.getButton("wf_transfer")){let n={};n.name=this.getButton("wf_transfer").name,n.btnProps={type:"default"},n.click=r=>{this.handleUserSelect({type:"transfer",checkType:"radio",name:this.getButton("wf_transfer").name}),this.handleActionClose()},e.push(n)}if(!this.isView&&i.isMultiInstance&&this.getButton("wf_add_instance")){let n={};n.name=this.getButton("wf_add_instance").name,n.btnProps={type:"primary"},n.click=r=>{this.handleUserSelect({type:"addInstance",checkType:"checkbox",name:this.getButton("wf_add_instance").name}),this.handleActionClose()},e.push(n)}if(i.pass==!1&&i.isOwner&&this.processIntId){let n={};n.name="\u50AC\u529E",n.btnProps={type:"default"},n.click=r=>{this.handleReminders("\u50AC\u529E"),this.handleActionClose()},e.push(n)}if(this.processIntId&&i.isOwner&&i.isReturnable&&!["deleted"].includes(i.processIsFinished)){let n={};n.name="\u64A4\u9500",n.btnProps={type:"default"},n.click=r=>{this.handleWithdrawTask("\u64A4\u9500"),this.handleActionClose()},e.push(n)}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:{async getCurrentProcess(){this.request.get("/bladex/blade-workflow/repository/queryTaskNodeList",{params:{processInstId:this.processIntId}}).then(e=>{if(e.code==200){const i={};if(i.currentProcessOriginData=e.data||[],i.currentProcessOriginData.length>0){let t=i.currentProcessOriginData[0],s=(t.currentName||"").split(","),n=(t.avatar||"").split(",");s=s.map((r,a)=>({realName:r,avatar:n[a]||"",phone:"",ancestorNames:[]})),i.currentMan=s,i.currentFirstNode=t,this.currentProcess=i}}else this.currentProcess={currentProcessOriginData:[],currentMan:[],currentFirstNode:{}}}).catch(e=>{console.error(e)})},getButton(e){const i=(this.ProcessInsObj.button||[]).find(t=>t.buttonKey==e);return i},handleActionBtn(e){switch(e.buttonKey){case"wf_pass":this.handleExamine(!0,["deleted"].includes(this.ProcessInsObj.process.processIsFinished)?"\u91CD\u65B0\u63D0\u4EA4":e.name);break;case"wf_reject":this.handleExamine(!1,e.name);break;case"wf_transfer":this.handleTransfer(e.name);break;case"wf_add_instance":this.handleAddInstance(e.name);break;case"wf_rollback":this.handleRollbackTask(e.name);break;case"wf_transfer":this.handleTransfer(e.name);break;case"wf_terminate":this.handleTerminateProcess(e.name);case"wf_cctask":this.handleCirculate(e.name);break}this.handleActionClose()},handleDraft(){this.submitLoading=!0},handleExamine(e,i){e?this.handlePass(i):this.handleCancel(i),this.submitLoading=!0},async handlePass(e){this.operationParam.nodeLoading=!0,this.before?this.before().then(()=>{this.showOperation(ku,e)}):this.showOperation(ku,e),this.deptId&&(await this.getNextNode(this.deptId),this.operationParam={...this.operationParam,nodeLoading:!1,incomingConditionItemList:this.incomingConditionItemList,nextNodeData:this.nextTaskNode})},handleCancel(e){this.showOperation(u0,e)},handleUserSelect({type:e,checkType:i,name:t}){e=="transfer"?this.handleTransfer(t):e=="addInstance"&&this.handleAddInstance(t)},async handleTransfer(e){this.deptId&&await this.getNextNode(this.deptId),this.showOperation(Sb,e)},async handleAddInstance(e){this.deptId&&await this.getNextNode(this.deptId),this.showOperation(xb,e)},handlePrint(){},handleRollbackTask(e){this.showOperation(g0,e)},handleTerminateProcess(){},handleWithdrawTask(e){this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText="\u64A4\u9500",this.popupContext="\u786E\u5B9A\u64A4\u9500\u5417?",this.handleTipsType="\u64A4\u9500"},handleReminders(e){this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText="\u50AC\u529E",this.popupContext="\u786E\u5B9A\u50AC\u529E\u5417?",this.handleTipsType="\u50AC\u529E"},handleCirculate(e){this.showOperation(w0,e,this.request,this.taskObj.ccTaskButtonAnnex,"\u6284\u9001"),this.cctaskTopPopupTitle=e},async getNextNode(e){let i;try{i=await this.request.get("/bladex/blade-workflow/tis/simulation",{params:{taskId:this.absoluteTaskId,processInstId:this.processIntId}})}catch(s){console.error(s),i={}}let t=i.data||{};i.code==200&&!i.data.evaluation&&(this.incomingConditionItemList=[],t.branches=await this.getOutgoingProcessNode(this.absoluteTaskId,i.data.id)),t=await this.getSelectFixData(t,e),this.nextTaskNode=t,this.operationParam={...this.operationParam,nextNodeData:(this.nextTaskNode||{}).id?[this.nextTaskNode]:[]}},async getNodeUser({deptId:e,intersection:i,userIds:t,postIds:s,deptIds:n}){return await this.request.post("/auth/user/getTaskAuditor",{deptId:e,intersection:i,userIds:t,postIds:s,deptIds:n})},handleGetHeight(){this.$nextTick(()=>{setTimeout(()=>{let e=document.getElementById("process-header"),i=document.getElementById("process-footer");this.bottomNum=i?i.scrollHeight+10:70,this.topNum=e?e.scrollHeight+10:144},1e3)})},handleTestsss(e,i){},handleTestS(){this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success")},handleTest(){this.visibleSong=!0},async getUserInfo(){let e=await this.request.get("/app/user/info");e.code===200&&(this.user=e.data||{},this.userIdData=e.data.userId)},async handleGetSimulation(e){this.handleTips("",!0,"loading");let i={processInstId:this.processInstId,taskInstId:this.taskNode.length?this.taskNode[0].taskId:"",vars:e,errorTip:!1},t=await this.request.post("/aws/tis/simulation",i);if(t.success){this.handleTips("",!1,"success"),this.nextNodeData=t.data;for(let s=0;s<this.nextNodeData.length;s++)this.approveNode=this.nextNodeData[s]}else{let s=this.taskNode&&this.taskNode.length?this.taskNode[0].taskId:"";this.outGatewayUserTaskModel=await this.getOutgoingProcessNode(s,"")}},async getSelectFixData(e,i){let t=JSON.parse(JSON.stringify(e));if(t.nodeType!="userTask"&&Array.isArray(t.branches))for(let s=0;s<t.branches.length;s++){let n=t.branches[s],r=n.nodeInfoDTO?n.nodeInfoDTO:n;try{r=await this.getSelectFixData(r,i)}catch(a){}n.nodeInfoDTO?n.nodeInfoDTO=r:n=r,t.branches[s]=n}else if(t.nodeType=="userTask"&&!t.setPersonnel){let s=ru(t),n;try{n=await this.getNodeUser({deptId:i,intersection:s.intersection?1:0,userIds:s.userIds,postIds:s.postIds,deptIds:s.deptIds}),n.code==$enum.apiCode.success}catch(r){}n.code==200&&(t.userList=n.data)}return t},async getOutgoingProcessNode(e,i){let t=await this.request.get("/bladex/blade-workflow/tis/getOutgoingProcessNode",{params:{taskId:e,processNodeId:i}});if(t.code==200){if(t.data&&t.data.length){for(let s=0;s<t.data.length;s++){let n=t.data[s];n.incomingConditionItemList&&n.incomingConditionItemList.length!==0&&(n.nodeInfoDTO.incomingConditionItemList=n.incomingConditionItemList,this.incomingConditionItemList.push(...n.incomingConditionItemList)),n.nodeInfoDTO.nodeType!="userTask"&&(n.nodeInfoDTO.branches=await this.getOutgoingProcessNode(e,n.nodeInfoDTO.id))}return this.handleTips("",!1,"success"),t.data}return this.handleTips("",!1,"success"),[]}return[]},handleGet(e){this.taskNode=[].concat(e),this.taskNodeShow=!1,this.actionShow=!1,this.handleGetProcessStatus(),this.handleGetUserTaskModel()},handleGetProcessStatus(){this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/repository/findTaskTodoInfoByTaskId",{params:{taskId:this.absoluteTaskId||""}}).then(e=>{e.code==200&&(this.processStatus={...e.data||{},...e.data.vars?e.data.vars:{},bizStatusName:e.data.taskState,currUserName:e.data.currentName,allUserNames:e.data.currentName}),this.handleGetHeight(),this.handleTips("",!1,"success")}).catch(e=>{this.handleGetHeight()}).finally(()=>{})},handleGetUserTaskModel(){this.taskNode&&this.taskNode.length?this.request.get("/aws/repository/getUserTaskModel",{params:{taskId:this.taskNode[0].taskId}}).then(e=>{e.code==200&&(this.taskObj=e.data),this.handleGetHeight(),this.$refs.topTips.handleClose()}).catch(e=>{this.handleGetHeight(),this.$refs.topTips.handleClose()}):this.$refs.topTips.handleClose()},async showOperation(e,i,t,s,n){switch(this.beforeFunction&&(this.operationParam.beforeFunction=this.beforeFunction),this.operationParam.request=this.request,this.annexlabel=s||"fasdfsafdsa",this.titleText=i,this.operationCom=e,this.operationComKey=Date.now(),this.operationParam.selChildrenItems={},this.operationParam.annex=s||"fasdfsafdsa",this.operationParam.subjectId=this.formData.subjectId,this.operationParam.processInstId=this.processIntId,this.operationParam.taskInstId=(this.ProcessInsObj.process||{}).taskId||"",this.operationParam.variables=(this.ProcessInsObj.process||{}).variables||{},this.operationParam.extendedProperties=(this.ProcessInsObj.form||{}).extendedProperties||[],this.operationParam.actionName=i,this.operationParam.formData=this.formData,this.operationParam.ProcessInsObj=this.ProcessInsObj,this.operationParam.userInfo=this.user,this.nextTaskNode,this.operationParam.nextNodeData=(this.nextTaskNode||{}).id?[this.nextTaskNode]:[],this.operationParam.incomingConditionItemList=this.incomingConditionItemList,this.operationParam.outGatewayUserTaskModel=this.outGatewayUserTaskModel,this.operationParam.taskNode=this.taskNode,this.operationParam.appId=this.processStatus.appId,this.operationParam.endFunction=this.endFunction,this.operationParam.isDocument=this.isDocument,this.operationParam.isQuickReply=this.isQuickReply,this.operationParam.isMsg=this.isMsg,this.operationParam.isRequire=this.isRequire,this.operationParam.canCheck=this.canCheck,this.operationParam.isCheckType=this.isCheckType,this.operationParam.isOrgType=this.isOrgType,this.operationParam.isCodeType=this.isCodeType,n){case"\u6284\u9001":this.operationParam.visible=!0,this.cctaskTopPopup=!0;break;default:this.operationParam.visible=!0,this.TopPopup1=!0;break}},handleCancelPopup(){this.TopPopup1=!1,this.operationParam.visible=!1,this.submitLoading=!1},async handleComfig(){this.$refs.operationRef.confirm()},handleClosePopup1(){this.TopPopup1=!1,this.operationParam.visible=!1,this.submitLoading=!1},handleClosecctaskTopPopup(){this.cctaskTopPopup=!1,this.operationParam.visible=!1,this.submitLoading=!1},handleTipsComfig(){this.$refs.TopPopup2.handleCancel(),this.handleTipsType=="\u50AC\u529E"&&(this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/tis/reminders",{params:{processInstId:this.processIntId}}).then(e=>{e.code==200?(this.handleTips("\u50AC\u529E\u6210\u529F",!0,"success"),window.top.postMessage("success","*"),this.endFunction("\u50AC\u529E")):this.handleTips(e.msg,!0,"error")})),this.handleTipsType=="\u64A4\u9500"&&(this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/tis/withdrawTask",{params:{processInstId:this.processIntId}}).then(e=>{e.code==200?(this.handleTips("\u64A4\u9500\u6210\u529F",!0,"success"),window.top.postMessage("success","*"),this.endFunction("\u64A4\u9500")):(this.textTips=e.msg,this.typeTips="error",this.handleTips(e.msg,!0,"error"))}))},handleTipsCancel(){},getColor(e){return e=="\u5BA1\u6838\u4E2D"?"#FFA52D":e=="\u5DF2\u9A73\u56DE"?"#F14B4C":e=="\u5DF2\u64A4\u9500"?"#CECECE":e=="\u5DF2\u5B8C\u6210"?"#6DC743":"#1389FF"},handleActionOpen(){this.actionShow=!0},handleActionClose(){this.actionShow=!1},actionClick(e){this.titleText=e,this.actionShow=!1},getBtnStyle(e){switch(e){case"primary":return"background-color:#3c9cff;color:#fff";case"danger":return"background-color:rgb(255, 230, 230);color:rgb(255, 96, 96)";case"default":return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)";default:return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)"}},async handleRestart(){this.handleTips("",!0,"loading"),await this.request.post("/bladex/blade-workflow/repository/getProcessDefList",{appId:this.processStatus.appId}).then(e=>{this.processDefList=e.data,this.request.get("/aws/pis/getProcessInstanceByBusinessKey",{params:{businessKey:this.formData.businessKey}}).then(i=>{this.processBusiness=i.data,this.request.get("/bladex/blade-workflow/repository/getAllProcessNode",{params:{processDefId:this.processBusiness.processDefId}}).then(t=>{this.getFirstProcessNode=t.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(t=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(i=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(e=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})},handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()}}};var S0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",[t("div",{staticClass:"process-warp"},[(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)&&!e.hideHeader?t("div",{ref:"processheader",staticClass:"process-main",attrs:{id:"process-header"}},[t("div",{staticClass:"process-ml-item border"},[t("div",{staticClass:"process-mli-name"},[e._v("\u6D41\u7A0B\u72B6\u6001")]),t("div",{staticClass:"process-mli-value"},[e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status?t("div",{staticClass:"process-mliv-dd",style:{background:e.getColor(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)}},[e._v(" "+e._s(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)+" ")]):e._e()])]),t("div",{staticClass:"process-ml-item border"},[t("div",{staticClass:"process-mli-name"},[e._v("\u6D41\u7A0B\u53D1\u8D77\u65F6\u95F4")]),t("div",{staticClass:"process-mli-value"},[t("span",[e._v(e._s(e.processStatus.createTime))])])]),e.processStatus.allUserNames&&e.processStatus.allUserNames.length?t("div",{staticClass:"process-ml-item"},[t("div",{staticClass:"process-mli-name"},[e._v("\u5BA1\u6279\u8282\u70B9")]),t("div",{staticClass:"process-mli-value",staticStyle:{width:"50%","text-align":"right"}},[t("span",{staticClass:"process-mliv-jd"},[e._v(e._s(`${e.processStatus.taskState==4?e.processStatus.currUserName:e.processStatus.allUserNames.toString()}\u5BA1\u6279\u4E2D`))])])]):e._e()]):e._e(),t("div",{staticClass:"process-card",style:{height:e.processCardHeight}},[t("TopTab",{attrs:{ProcessInsObj:e.ProcessInsObj,processXml:e.processXml,approvalData:e.approvalData,tapList:e.tapList,selfTapList:e.selfTapList,processIntId:e.processIntId,track:e.trackUrl,taskComment:e.taskCommentList,trackList:e.trackList}},[e.selfTapList&&e.selfTapList.length?e._l(e.selfTapList,function(s,n){return t("div",{key:n,staticStyle:{height:"100%"},attrs:{slot:s.slot},slot:s.slot},[e._t(s.slot,null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)}):[t("div",{staticStyle:{height:"100%"},attrs:{slot:"default"},slot:"default"},[e._t("default",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2),e._l(e.tapList,function(s,n){return t("div",{key:n,staticStyle:{height:"100%"},attrs:{slot:s.slot},slot:s.slot},[e._t(s.slot,null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)})]],2)],1),e.isView?e._e():t("div",{staticClass:"process-btn",style:{bottom:e.processBtn},attrs:{id:"process-footer"}},[e.isAdditional?t("div",{staticClass:"footBtnRow"},[e._t("btn",null,{data:e.processStatus,processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2):[e.isDocument&&(e.formData.currentState=="\u7F16\u6587\u53F7\u5957\u7EA2"||e.formData.currentState=="\u76D6\u7AE0")?[t("div",{staticClass:"top-button",style:e.getBtnStyle("default")},[e._v(" \u8BF7\u53BBPC\u7AEF\u5904\u7406\u8BE5\u6D41\u7A0B ")])]:[e.formData.currentState!="\u5DF2\u5B8C\u6210"||e.processStatus.status!="\u5DF2\u5B8C\u6210"||e.processStatus.bizStatusName!="\u5DF2\u5B8C\u6210"?[e._l(e.operBtn,function(s,n){return[n<3?t("div",{key:s.name,staticClass:"top-button",style:e.getBtnStyle((s.btnProps.type||"default").toString()),on:{click:function(r){return s.click(s.name)}}},[e._v(" "+e._s(s.name)+" ")]):e._e()]})]:e._e(),e.operBtn.length>3&&e.actionBtn&&e.actionBtn.length?t("div",{staticClass:"elips",on:{click:e.handleActionOpen}},[t("div",{staticClass:"circle"}),t("div",{staticClass:"circle"}),t("div",{staticClass:"circle"})]):e._e()]]],2)]),t("TopPopup",{ref:"TopPopup1",attrs:{cancel:e.handleCancelPopup,comfig:e.handleComfig,titleText:e.titleText,visible:e.TopPopup1,className:"toppopup-component"},on:{"update:visible":function(s){return e.TopPopup1=s}}},[t(e.operationCom,{key:e.operationComKey,ref:"operationRef",tag:"component",attrs:{param:e.operationParam},on:{handleClosePopup1:e.handleClosePopup1}},[t("div",{attrs:{slot:"completeSlot"},slot:"completeSlot"},[e._t("completeSlot",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)])],1),t("TopPopup",{ref:"TopPopup2",attrs:{titleText:e.titleText,isTips:!0,context:e.popupContext,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig}}),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),e.actionBtn&&e.actionBtn.length||e.taskNodeList&&e.taskNodeList.length?t("div",{staticClass:"top-elips",style:e.actionShow?"transform: translateY(0)":"transform: translateY(100%)"},[e.taskNodeShow?e._l(e.taskNodeList,function(s){return t("div",{key:s.taskId,staticClass:"top-elips-items",on:{click:function(n){return e.handleGet(s)}}},[e._v(" "+e._s(s.name)+" ")])}):e._l(e.actionBtn,function(s){return t("div",{key:s.name,staticClass:"top-elips-items",on:{click:function(n){return s.click(s.name)}}},[e._v(" "+e._s(s.name)+" ")])}),t("div",{staticClass:"top-elips-items top-elips-items--cancel",on:{click:e.handleActionClose}},[e._v(" \u53D6\u6D88 ")])],2):e._e(),t("div",{staticClass:"top-elips-mask",style:e.actionShow?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:e.handleActionClose}}),t("TopSumbitPopup",e._b({ref:"actionPop",attrs:{visible:e.visibleSong,request:e.request,appId:e.processStatus.appId,id:e.formData.businessKey,resubmit:!0,selfList:e.selfList,isCheckType:e.isCheckType,isOrgType:e.isOrgType,isCodeType:e.isCodeType},on:{"update:visible":function(s){e.visibleSong=s},successFn:e.endFunction,change:e.handleTestsss}},"TopSumbitPopup",e.restartDataS,!1)),t("TopPopup",{ref:"cctaskTopPopup",attrs:{titleText:e.cctaskTopPopupTitle,visible:e.cctaskTopPopup,isDrawer:!0},on:{"update:visible":function(s){return e.cctaskTopPopup=s}}},[t(e.operationCom,{ref:"cctaskOperationRef",tag:"component",attrs:{param:e.operationParam},on:{handleClosecctaskTopPopup:e.handleClosecctaskTopPopup}},[t("div",{attrs:{slot:"completeSlot"},slot:"completeSlot"},[e._t("completeSlot",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)])],1)],1)},_0=[];const cC="",Du={};var P0=ye(N0,S0,_0,!1,D0,"a4fed71a",null,null);function D0(e){for(let i in Du)this[i]=Du[i]}const M0=function(){return P0.exports}(),Mu={name:"ddy-process-h5",version:"1.0.1-rc.3.3",description:"> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6",main:"./ddy-process-h5.umd.cjs",style:"./style.css",type:"module",exports:{".":{import:"./ddy-process-h5.js",require:"./ddy-process-h5.umd.cjs"},"./style.css":{import:"./style.css",require:"./style.css"}},scripts:{test:'echo "Error: no test specified" && exit 1',postinstall:"node scripts/postinstall.mjs"},devDependencies:{"checked-pick-app":"1.6.7",dsbridge:"^3.1.4"},dependencies:{"checked-pick-app":"1.6.7",dsbridge:"^3.1.4"},author:"",license:"ISC"};console.info("%c\u26A1"+Mu.name+"%c v"+Mu.version,"background: linear-gradient(135deg, #ff3939ff, #ffbe5cff); color: white; padding: 9px 4px 9px 4px; border-radius: 3px 0 0 3px;font-size: 12px;","background: #5100ffff; color: white; padding: 9px 6px 9px 4px; border-radius: 0px 3px 3px 0px;font-size: 12px;"),at.TopProcess=M0,at.TopSumbitPopup=yu,at.ViewAttchList=El,at.attchViews=bi,Object.defineProperties(at,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
26
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="`+l.width+'" height="'+l.height+'" viewBox="'+l.x+" "+l.y+" "+l.width+" "+l.height+'" version="1.1">'+o+a+"</svg>"}catch(s){t=s}if(this._emit("saveSVG.done",{error:t,svg:i}),t)throw t;return{svg:i}},Te.prototype._setDefinitions=function(e){this._definitions=e},Te.prototype.getModules=function(){return this._modules},Te.prototype.clear=function(){!this.getDefinitions()||Qi.prototype.clear.call(this)},Te.prototype.destroy=function(){Qi.prototype.destroy.call(this),Ri(this._container)},Te.prototype.on=function(e,i,t,s){return this.get("eventBus").on(e,i,t,s)},Te.prototype.off=function(e,i){this.get("eventBus").off(e,i)},Te.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=ht(e)),e.appendChild(this._container),this._emit("attach",{}),this.get("canvas").resized()},Te.prototype.getDefinitions=function(){return this._definitions},Te.prototype.detach=function(){const e=this._container,i=e.parentNode;!i||(this._emit("detach",{}),i.removeChild(e))},Te.prototype._init=function(e,i,t){const s=t.modules||this.getModules(t),n=t.additionalModules||[],r=[{bpmnjs:["value",this],moddle:["value",i]}],a=[].concat(r,s,n),o=Y(Qf(t,["additionalModules"]),{canvas:Y({},t.canvas,{container:e}),modules:a});Qi.call(this,o),t&&t.container&&this.attachTo(t.container)},Te.prototype._emit=function(e,i){return this.get("eventBus").fire(e,i)},Te.prototype._createContainer=function(e){const i=$e('<div class="bjs-container"></div>');return Oe(i,{width:iu(e.width),height:iu(e.height),position:e.position}),i},Te.prototype._createModdle=function(e){const i=Y({},this._moddleExtensions,e.moddleExtensions);return new eA(i)},Te.prototype._modules=[];function Cn(e,i){return e.warnings=i,e}function mA(e){const t=/unparsable content <([^>]+)> detected([\s\S]*)$/.exec(e.message);return t&&(e.message="unparsable content <"+t[1]+"> detected; this may indicate an invalid BPMN 2.0 diagram file"+t[2]),e}const gA={width:"100%",height:"100%",position:"relative"};function iu(e){return e+(Vt(e)?"px":"")}function yA(e,i){return i&&dt(e.diagrams,function(t){return t.id===i})||null}function vA(e){const t='<a href="http://bpmn.io" target="_blank" class="bjs-powered-by" title="Powered by bpmn.io" >'+$c+"</a>",s=$e(t);Oe(ht("svg",s),eu),Oe(s,tu,{position:"absolute",bottom:"15px",right:"15px",zIndex:"100"}),e.appendChild(s),di.bind(s,"click",function(n){fA(),n.preventDefault()})}function Ji(e){Te.call(this,e)}vt(Ji,Te),Ji.prototype._modules=[wg,$l,Mg,dc,$g],Ji.prototype._moddleExtensions={};var AA=/^djs-cursor-.*$/;function su(e){var i=pi(document.body);i.removeMatching(AA),e&&i.add("djs-cursor-"+e)}function bA(){su(null)}var CA=5e3;function wA(e,i){i=i||"element.click";function t(){return!1}return e.once(i,CA,t),function(){e.off(i,t)}}function nu(e,i){return{x:e.x-i.x,y:e.y-i.y}}function ru(e){return e.pointers&&e.pointers.length&&(e=e.pointers[0]),e.touches&&e.touches.length&&(e=e.touches[0]),e?{x:e.clientX,y:e.clientY}:null}var xA=15;function au(e,i){var t;function s(o){return a(o.originalEvent)}e.on("canvas.focus.changed",function(o){o.focused?e.on("element.mousedown",500,s):e.off("element.mousedown",s)});function n(o){var l=t.start,p=t.button,h=ru(o),m=nu(h,l);if(!t.dragging&&EA(m)>xA&&(t.dragging=!0,p===0&&wA(e),su("grab")),t.dragging){var A=t.last||t.start;m=nu(h,A),i.scroll({dx:m.x,dy:m.y}),t.last=h}o.preventDefault()}function r(o){di.unbind(document,"mousemove",n),di.unbind(document,"mouseup",r),t=null,bA()}function a(o){if(!Hl(o.target,".djs-draggable")){var l=o.button;if(!(l>=2||o.ctrlKey||o.shiftKey||o.altKey))return t={button:l,start:ru(o)},di.bind(document,"mousemove",n),di.bind(document,"mouseup",r),!0}}this.isActive=function(){return!!t}}au.$inject=["eventBus","canvas"];function EA(e){return Math.sqrt(Math.pow(e.x,2)+Math.pow(e.y,2))}const ra={__init__:["moveCanvas"],moveCanvas:["type",au]};function ou(e){this._counter=0,this._prefix=(e?e+"-":"")+Math.floor(Math.random()*1e9)+"-"}ou.prototype.next=function(){return this._prefix+ ++this._counter};var TA=new ou("tt");function IA(e){var i=$e('<div class="djs-tooltip-container" />');return Oe(i,{position:"absolute",width:"0",height:"0"}),e.insertBefore(i,e.firstChild),i}function kA(e,i,t){Oe(e,{left:i+"px",top:t+"px"})}function aa(e,i){e.style.display=i===!1?"none":""}var lu="djs-tooltip",oa="."+lu;function Ue(e,i){this._eventBus=e,this._canvas=i,this._ids=TA,this._tooltipDefaults={show:{minZoom:.7,maxZoom:5}},this._tooltips={},this._tooltipRoot=IA(i.getContainer());var t=this;Bi.bind(this._tooltipRoot,oa,"mousedown",function(s){s.stopPropagation()}),Bi.bind(this._tooltipRoot,oa,"mouseover",function(s){t.trigger("mouseover",s)}),Bi.bind(this._tooltipRoot,oa,"mouseout",function(s){t.trigger("mouseout",s)}),this._init()}Ue.$inject=["eventBus","canvas"],Ue.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 i=this._ids.next();return e=Y({},this._tooltipDefaults,e,{id:i}),this._addTooltip(e),e.timeout&&this.setTimeout(e),i},Ue.prototype.trigger=function(e,i){var t=i.delegateTarget||i.target,s=this.get(ql(t,"data-tooltip-id"));!s||(e==="mouseover"&&s.timeout&&this.clearTimeout(s),e==="mouseout"&&s.timeout&&(s.timeout=1e3,this.setTimeout(s)))},Ue.prototype.get=function(e){return typeof e!="string"&&(e=e.id),this._tooltips[e]},Ue.prototype.clearTimeout=function(e){if(e=this.get(e),!!e){var i=e.removeTimer;i&&(clearTimeout(i),e.removeTimer=null)}},Ue.prototype.setTimeout=function(e){if(e=this.get(e),!!e){this.clearTimeout(e);var i=this;e.removeTimer=setTimeout(function(){i.remove(e)},e.timeout)}},Ue.prototype.remove=function(e){var i=this.get(e);i&&(Ri(i.html),Ri(i.htmlContainer),delete i.htmlContainer,delete this._tooltips[i.id])},Ue.prototype.show=function(){aa(this._tooltipRoot)},Ue.prototype.hide=function(){aa(this._tooltipRoot,!1)},Ue.prototype._updateRoot=function(e){var i=e.scale||1,t=e.scale||1,s="matrix("+i+",0,0,"+t+","+-1*e.x*i+","+-1*e.y*t+")";this._tooltipRoot.style.transform=s,this._tooltipRoot.style["-ms-transform"]=s},Ue.prototype._addTooltip=function(e){var i=e.id,t=e.html,s,n=this._tooltipRoot;t.get&&t.constructor.prototype.jquery&&(t=t.get(0)),pt(t)&&(t=$e(t)),s=$e('<div data-tooltip-id="'+i+'" class="'+lu+'">'),Oe(s,{position:"absolute"}),s.appendChild(t),e.type&&pi(s).add("djs-tooltip-"+e.type),e.className&&pi(s).add(e.className),e.htmlContainer=s,n.appendChild(s),this._tooltips[i]=e,this._updateTooltip(e)},Ue.prototype._updateTooltip=function(e){var i=e.position,t=e.htmlContainer;kA(t,i.x,i.y)},Ue.prototype._updateTooltipVisibilty=function(e){Q(this._tooltips,function(i){var t=i.show,s=i.htmlContainer,n=!0;t&&((t.minZoom>e.scale||t.maxZoom<e.scale)&&(n=!1),aa(s,n))})},Ue.prototype._init=function(){var e=this;function i(t){e._updateRoot(t),e._updateTooltipVisibilty(t),e.show()}this._eventBus.on("canvas.viewbox.changing",function(t){e.hide()}),this._eventBus.on("canvas.viewbox.changed",function(t){i(t.viewbox)})};const la={__init__:["tooltips"],tooltips:["type",Ue]},NA=e=>{var i=Object.prototype.toString,t={"[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":t[i.call(e)]},ca=e=>{var i=NA(e),t;if(i==="array")t=[];else if(i==="object")t={};else return e;if(i==="array")for(var s=0,n=e.length;s<n;s++)t.push(ca(e[s]));else if(i==="object")for(var r in e)t[r]=ca(e[r]);return t};function SA(e,i="YYYY-MM-DD HH:mm:ss"){const t=new Date(e),s=t.getFullYear(),n=t.getMonth()+1,r=t.getDate(),a=t.getHours(),o=t.getMinutes(),l=t.getSeconds(),p=t.getDay(),m={YYYY:s,MM:n,DD:r,HH:a,mm:o,ss:l,ww:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"][p]};for(let A in m)i=i.replace(A,m[A]);return i}function _A(e){e=ca(e);const i={};e.forEach(s=>{i[s.historyActivityId]?i[s.historyActivityId].push(s):i[s.historyActivityId]=[s]});for(let s in i){const n=i[s];if(n.length>1){const r=e.findLast(a=>a.historyActivityId==s);r.assigneeName=Array.from(new Set(n.map(a=>a.assigneeName))).join("/")}}const t=[];return e.forEach(s=>{let{assigneeName:n,createTime:r,endTime:a,comments:o}=s;/Safari/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&(r=r.replace(/-/g,"/"),a=a.replace(/-/g,"/"));const l={id:s.historyActivityId,class:!a&&s.historyActivityType!="candidate"?"nodePrimary":""};let p="";if(n||o&&o.length>0){if(p=`<span title='${n}'>${n}</span><br>`,r&&(p+=`<span title='${r}'>${SA(r,"YYYY-MM-DD HH:mm")}</span><br>`),o&&o.length>0){let m,{type:A,fullMessage:k}=o.find(V=>V.action=="AddComment")||{};A=="assigneeComment"&&(m="\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A"+k,l.class="nodeWarn"),A=="dispatchComment"&&(m="\u8C03\u5EA6\uFF1A"+k,l.class="nodeWarn"),A=="transferComment"&&(m="\u8F6C\u529E\uFF1A"+k,l.class="nodeWarn"),A=="delegateComment"&&(m="\u59D4\u6258\uFF1A"+k,l.class="nodeWarn"),A=="rollbackComment"&&(m="\u6307\u5B9A\u56DE\u9000\uFF1A"+k,l.class="nodeError"),A=="terminateComment"&&(m="\u7EC8\u6B62\uFF1A"+k,l.class="nodeError"),(A=="addMultiInstanceComment"||(A||"").includes("\u52A0\u7B7E"))&&(m="\u52A0\u7B7E\uFF1A"+k,l.class="nodeWarn"),A=="deleteMultiInstanceComment"&&(m="\u51CF\u7B7E\uFF1A"+k,l.class="nodeError"),A=="withdrawComment"&&(m="\u64A4\u9500\uFF1A"+k,l.class="nodeWarn"),A=="deleteProcessComment"&&(m="\u5220\u9664\u6D41\u7A0B\uFF1A"+k,l.class="nodeError"),A=="cancelProcessComment"&&(m="\u62D2\u7EDD\uFF1A"+k,l.class="nodeError"),A=="comment"&&(m="\u5BA1\u6279\uFF1A"+k,l.class="nodeSuccess"),m&&(p+=`<span title='${m}'>${m}</span>`)}l.tooltip=p}s.historyActivityType=="sequenceFlow"?l.class="lineWarn":!l.class&&s.historyActivityType!="candidate"&&(l.class="nodeSuccess");const h=t.findIndex(m=>m.id==s.historyActivityId);h!=-1?t.splice(h,1,l):t.push(l)}),t}function cu(e){const i=[],t=[],s=[];return e.routeTxt&&e.routeTxt.length>0&&e.routeTxt.forEach(n=>{n.type==="user"?i.push(...n.ids.filter(r=>r&&r.trim()!=="")):n.type==="post"?t.push(...n.ids):n.type==="dept"&&s.push(...n.ids)}),{intersection:e.assigneeRetain=="true"?1:0,userIds:[...new Set(i)],postIds:[...new Set(t)],deptIds:[...new Set(s)]}}var PA=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{ref:"container",staticClass:"bpmn-look"})},DA=[];const eC="",OA={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 i=e;i&&this.isXml&&this.loadXml(i)},immediate:!0}},methods:{async getXml(e){let i={},t="";try{i=await api.repository.getXmlByProcessDefId({processDefId:e}),i.code==200&&(t=i.data)}catch(s){console.error(s)}return t},async initViewer(){this.viewer&&this.viewer.destroy();const e=Object.prototype.toString.call(Ji)=="[object Function]"?Ji:Ji.default,i=Object.prototype.toString.call(la)=="[object Object]"?la:la.default,t=Object.prototype.toString.call(ra)=="[object Object]"?ra:ra.default;this.viewer=new e({container:this.$refs.container,additionalModules:[i,t]}),this.viewer.on("import.done",({error:s})=>{s||(this.canvasResize(),this.addApprovalData(),this.enableTouchMove())})},canvasResize(){this.viewer&&this.viewer.get("canvas").zoom(1,"auto")},enableTouchMove(){const e=this.viewer.get("canvas"),i=e._svg,t=document.querySelector(".viewport"),s=document.querySelector(".djs-tooltip-container");let n=!1,r,a,o=0,l=0,p=0,h=0;i.addEventListener("touchstart",m=>{n=!0;const A=m.touches[0];r=A.clientX,a=A.clientY;const k=t.getAttribute("transform").match(/matrix\(([^)]+)\)/)[1].split(/\s*,\s*|\s+/);o=parseFloat(k[4]),l=parseFloat(k[5]);const V=this.getTransformMatrix(s.style.transform);this.isAdd?(p=parseFloat(V[4]),h=parseFloat(V[5])):(p=parseFloat(V[4])+30,h=parseFloat(V[5])+16,this.isAdd=!0)}),i.addEventListener("touchmove",m=>{if(!n)return;const A=m.touches[0],k=A.clientX-r,V=A.clientY-a;l!==void 0&&(t.setAttribute("transform",`matrix(0.679276 0 0 0.679276 ${o+k} ${l+V})`),s.setAttribute("style",`position: absolute; width: 0px; height: 0px; transform: matrix(0.615, 0, 0, 0.615, ${p+k}, ${h+V});`)),e._cachedViewbox&&(e._cachedViewbox.x=k,e._cachedViewbox.y=V),m.preventDefault()}),i.addEventListener("touchend",()=>{n=!1})},getTransformMatrix(e){if(!e||e==="none")return[1,0,0,1,0,0];const i=e.match(/matrix(3d)?\(([^)]+)\)/i);if(!i)return null;const t=i[2].split(/\s*,\s*|\s+/).map(parseFloat);return i[1]!=="3d"&&t.length===6||i[1]==="3d"&&t.length===16?t:null},setNodeColor(e){const i=this.viewer.get("canvas"),t=this.viewer.get("elementRegistry"),s=this.viewer.get("tooltips");e.forEach(n=>{if(n.id&&n.class&&i.addMarker(n.id,n.class),n.id&&n.tooltip){const r=t.get(n.id);if(r){let{x:a,y:o,type:l}=r;["bpmn:StartEvent","bpmn:EndEvent"].includes(l)?(a=a-45,o=o+65):["bpmn:UserTask"].includes(l)&&(a=a-10,o=o+90),s.add({position:{x:a,y:o},html:n.tooltip})}}})},addApprovalData(){if(!this.approvalData||this.approvalData.length==0)return;const e=_A(this.approvalData);e&&e.length>0&&this.setNodeColor(e)},async loadXml(e){this.viewer||await this.initViewer();try{const{warnings:i}=await this.viewer.importXML(e);i.length&&this.$emit("warning",i)}catch(i){this.$emit("error",{message:"XML \u52A0\u8F7D\u5931\u8D25",detail:i.message}),console.error("XML \u52A0\u8F7D\u5931\u8D25:",i)}}},beforeDestroy(){window.removeEventListener("resize",this.canvasResize),this.viewer&&this.viewer.destroy()}},uu={};var MA=Ae(OA,PA,DA,!1,BA,"e21f06b8",null,null);function BA(e){for(let i in uu)this[i]=uu[i]}const pu=function(){return MA.exports}(),RA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAByFJREFUeF7t19HJLEUUhdHpQEzEOMREjOMmIsZhIgYyou8KvTecA1Xrgm+zLXrV/9H08/GPAIH/FHjYECDw3wIC8ddB4H8EBOLPg4BA/A0QyAS8QTI3q0sEBHLJRXvMTEAgmZvVJQICueSiPWYmIJDMzeoSAYFcctEeMxMQSOZmdYmAQC65aI+ZCQgkc7O6REAgl1y0x8wEBJK5WV0iIJBLLtpjZgICydysLhEQyCUX7TEzAYFkblaXCAjkkov2mJmAQDI3q0sEBHLJRXvMTEAgmZvVJQICueSiPWYmIJDMrVp9v9+fP5/PHy//J788z/Pny42flwICKQGTuUAStZ2NQBbcBbKAHh4pkBCumQmk0ZvdCmTW+9/TBLKAHh4pkBCumQmk0ZvdCmTW2xtkwbs5UiCNXrj1BgnhFmYCWUAXyAJ6eKRAQrhmJpBGb3YrkFlv3yAL3s2RAmn0wq03SAi3MBPIArpAFtDDIwUSwjUzgTR6s1uBzHr7Blnwbo4USKMXbr1BQriFmUAW0AWygB4eKZAQrpkJpNGb3Qpk1ts3yIJ3c6RAGr1w6w0Swi3MBLKALpAF9PBIgYRwzUwgjd7sViCz3r5BFrybIwXS6IVbb5AQbmEmkAV0gSygh0cKJIRrZgJp9Ga3Apn19g2y4N0cKZBGL9x6g4RwCzOBLKALZAE9PFIgIVwzE0ijN7sVyKy3b5AF7+ZIgTR64dYbJIRbmAlkAV0gC+jhkQIJ4ZqZQBq92a1AZr19gyx4N0cKpNELt94gIdzCTCAL6A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ELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcIWCAZWrYtR8ACKVdyJ5whYIFkaNm2HAELpFzJnXCGgAWSoWXbcgQskHIld8IZAhZIhpZtyxGwQMqV3AlnCFggGVq2LUfAAilXciecIWCBZGjZthwBC6RcyZ1whoAFkqFl23IELJByJXfCGQIWSIaWbcsRsEDKldwJZwhYIBlati1HwAIpV3InnCFggWRo2bYcAQukXMmdcIaABZKhZdtyBCyQciV3whkCFkiGlm3LEbBAypXcCWcI/B+xx2bn1cBs4wAAAABJRU5ErkJggg==",ua="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADR9JREFUeF7tnXvIbkUVxp9VVtrF0hQMM8MgoahMu3cqzVI6x9KkC9lRhKAoxS5aW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nAAHx6UarIAoQkCCJZpg+BQiITzdaBVGAgARJNMP0KUBAfLrRKogCBCRIohmmTwEC4tONVkEUICBBEs0wfQoQEJ9utAqiAAEJkmiG6VPgf/UDKvbyCmTdAAAAAElFTkSuQmCC",FA={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 RA},loading(){return LA},success(){return ua}},watch:{type:{handler(e,i){if(e=="loading"){clearInterval(this.timeOut);return}else this.timeOut=setTimeout(()=>{this.show=!1},1500)},immediate:!0,deep:!0}},mounted(){this.$nextTick(()=>{const e=document.getElementsByClassName("process-warp")[0]?document.getElementsByClassName("process-warp")[0]:document.getElementsByClassName("sumbmitPopup-index-sumbit")[0].getElementsByClassName("top-popup")[0];e.append?e.append(this.$el):e.appendChild(this.$el)})},methods:{handleOpen(){this.show||(this.show=!0,this.type=="loading"?clearInterval(this.timeOut):this.timeOut=setTimeout(()=>{this.show=!1},1500))},handleClose(){this.show=!1}}};var jA=function(){var e=this,i=e.$createElement,t=e._self._c||i;return e.show?t("div",[e.statusTips?t("div",{staticClass:"top-tipss",style:e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;"},[t("div",{staticClass:"top-tipss-status"},[e.type=="loading"?t("div",{staticClass:"top-tipss-loadinig"},[t("img",{attrs:{src:e.loading}}),e.text?t("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e(),e.type=="success"?t("div",{staticClass:"top-tipss-success"},[t("img",{attrs:{src:e.success}}),e.text?t("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e(),e.type=="error"?t("div",{staticClass:"top-tipss-error"},[t("img",{attrs:{src:e.error}}),e.text?t("div",{staticClass:"top-tipss-status-text"},[e._v(" "+e._s(e.text)+" ")]):e._e()]):e._e()])]):t("div",{staticClass:"top-tipss",style:e.show?"visibility: visible; opacity: 1;":"visibility: hidden; opacity: 0;"},[e.text?t("div",{staticClass:"top-tipss-text"},[e._v(e._s(e.text))]):e._e()]),t("div",{staticClass:"top-tipss-mask",style:e.show&&e.statusTips?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"})]):e._e()},VA=[];const tC="",du={};var QA=Ae(FA,jA,VA,!1,UA,"79d9d777",null,null);function UA(e){for(let i in du)this[i]=du[i]}const ft=function(){return QA.exports}(),GA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAEmBJREFUeF7tnAt0VdWZx397n3PvDUlISHgEkJfDGxXRVnGqq2o7PtvB1hl0fFun6ji+xhfgzCioq5WA2hFxptUOY23VqlNf06laW7VrVUfs8gEqgmBFRZ4hIRBIcu85e8/69j4HriEJAYLiY691181Ncs/Z+3/++/u+/b0U3T1mWM0AAlZhmaEirFUoZZlus+WlDM8ZJqKpsJZhCiYAxmgC5T8Pk+lYWG4Vy7UhBrSF15ViOYaNrZr5TVt4lxtUfuu1Z9iQAShWETNDme5ckuqWiwkIdxGyEsUMCg6QOTbXazMDAs1wYD9jGKk1gwJFX6UIUZQrS7W7v0AI5fJKAGqy0IQVrMAq6rE0WUsUW9YZwwqtWQq8FRve3VDGKi5TrQ6wGWRQGKYTu3ns5tg9gGRCD6NZ5Njinlz1HFtBK/thOUwZJmjNKGCcggoDthChYguRvIqetTFCJb8arf0rHaGGUEGgIBNiNcjKNwKLjOEdq3kdxUvkeKv+MiW/B2HyOBSTMbsD1O4BlK5AKA706UE/AyeguBrLGAVxbAksWGMwGmwuRAWyYI3KaLbeX36Xfi4YbFwEnnyOkt+1RlgDSmu0AhUoBO8AxWIst2h4sq6Z1R6k3d9uuwaQMOcG2U5+An1vtiNizWlYJivFMKUoExIIvwvGM6U1gqoSOHwIDKyAYb1gdDXIBYQZ+1TA0EqP+PuN8NFG3MqFSEvqYfkGWLkRXvg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p1JJkzd/5tm+yVsyY2uRcu1N0vYsNqwzsELDUgyLopB3++ZYuWyvbPLW0XbrpE1gFg5DUYFvC3iQy+U0rp3XMKUZ6hSmL9Nejnb5nfK315A2gZaNeXjpk2wT+P9KELohNtx5+AAAAABJRU5ErkJggg==",qA={name:"attchViews",components:{TopTips:ft,PreviewImage:Xs,PreView:ml,TopPopup:Xe},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,i){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 GA},del(){return yl},doc(){return vl},file(){return Al},image(){return bl},pdf(){return Cl},xls(){return wl},zip(){return xl}},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,i){this.handleTips("\u4E0A\u4F20\u4E2D",!0,"loading");const t=Array.from(e.target.files);document.getElementById("fileUp").value="";let s=0,n=this.haveCount>t.length?t.length:this.haveCount;try{for(let r=0;r<n;r++)if(this.extension.includes(t[r].name.substring(t[r].name.lastIndexOf(".")+1))){const a=new FormData;a.append("file",t[r]);const o=await this.request.post("/file/upload",a,{headers:{"Content-Type":"multipart/form-data"}});if(o.code===200){if(this.filesArr.length>0){for(let l=0;l<this.filesArr.length;l++)if(o.name==this.filesArr[l].name&&s++,this.filesArr[l].name.includes(`(${s})`)&&s++,s>0){let p=o.name.lastIndexOf(".");o.name=`${o.name.substring(0,p)} (${s}) .${o.name.substring(o.name.lastIndexOf(".")+1)}`}}this.filesArr.push(o.data)}else{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.viewImage();return}}else{this.handleTips(`\u6587\u4EF6${t[r].name}\u683C\u5F0F\u9519\u8BEF,\u8BF7\u91CD\u65B0\u4E0A\u4F20`,!0,"error");return}this.handleTips("\u4E0A\u4F20\u6210\u529F",!0,"success"),this.viewImage(),this.emitView()}catch{this.handleTips("\u4E0A\u4F20\u5931\u8D25",!0,"error"),this.emitView()}},handleDel(e,i){if(this.deletFn){if(this.deletFn(i)===!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,i){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((i,t)=>{this.imgIcon.includes(i.name.substring(i.name.lastIndexOf(".")+1).toLowerCase())}),e=this.filesArr.filter(i=>this.imgIcon.includes(i.name.substring(i.name.lastIndexOf(".")+1).toLowerCase())),e.forEach((i,t)=>{this.lists.push(i.url)})},emitView(){this.$emit("getValue",this.filesArr)},clearData(){this.filesArr=[]},handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()}}};var JA=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"attch-upload"},[e.buttonLoading?t("div",{staticClass:"attch-upload-mask"}):e._e(),t("div",{staticClass:"attch-upload-body"},[t("div",{staticClass:"upload-header"},[t("div",{staticClass:"upload-header-title"},[e._v(" \u9644\u4EF6 "),e.requires?t("span",{staticClass:"upload-header-title--re"},[e._v("*")]):e._e()]),t("div",{staticClass:"upload-header-upload"},[e.onlyShow?e._e():t("div",{staticClass:"upload-header-upload--item",attrs:{id:"inputfile"},on:{click:e.handleClick}},[t("img",{attrs:{src:e.addFile}}),e._v("\u4E0A\u4F20\u9644\u4EF6 ")])])]),t("div",{staticClass:"upload-body"},[e.filesArr.length>0?t("div",{staticClass:"upload-list"},e._l(e.filesArr,function(s,n){return t("div",{key:s.uuid,staticClass:"list-items"},[t("div",{staticClass:"list-items-icon"},[e.xlsIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.xls}}):e.imgIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.image}}):s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase()=="pdf"?t("img",{staticClass:"icon-img",attrs:{src:e.pdf}}):e.docIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.doc}}):e.zipIcon.includes(s.name.substring(s.name.lastIndexOf(".")+1).toLowerCase())?t("img",{staticClass:"icon-img",attrs:{src:e.zip}}):t("img",{staticClass:"icon-img",attrs:{src:e.file}})]),t("div",{staticClass:"list-items-info"},[t("div",{staticClass:"info-name"},[e._v(" "+e._s(s.name)+" ")]),t("div",{staticClass:"info-attribute"},[t("span",{staticClass:"info-attribute-size"},[e._v(e._s(s.fileSize<1024?s.fileSize:s.fileSize/1024>1024?parseFloat((s.fileSize/1024/1024).toFixed(2)):parseFloat((s.fileSize/1024).toFixed(2)))+e._s(s.fileSize<1024?"b":parseFloat((s.fileSize/1024).toFixed(2))<1024?"kb":"M")+" ")]),t("span",{staticClass:"info-attribute-views",on:{click:function(r){return e.viewFile(s,n)}}},[e._v(" \u9884\u89C8 ")])])]),e.onlyShow?e._e():t("div",{staticClass:"list-items-operation"},[t("div",{staticClass:"list-items-operation-img",on:{click:function(r){return e.handleDel(n,s)}}},[t("img",{attrs:{src:e.del}})])])])}),0):e._e()])]),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("PreviewImage",{attrs:{images:e.lists,visible:e.visible,indexd:e.indexd},on:{"update:visible":function(s){return e.visible=s}}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleS,titleText:"\u9644\u4EF6\u9884\u89C8",isDrawer:"",isIndex:99},on:{"update:visible":function(s){return e.visibleS=s}}},[e.visibleS?t("PreView",{attrs:{file:e.fileUrl}}):e._e()],1)],1)},HA=[];const iC="",hu={};var KA=Ae(qA,JA,HA,!1,WA,"26dcacc2",null,null);function WA(e){for(let i in hu)this[i]=hu[i]}const bi=function(){return KA.exports}();var YA=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{attrs:{type:"flex"}},[t("div",[e._l(e.flowList,function(s,n){return[["candidate","sequenceFlow"].includes(s.historyActivityType)?e._e():t("div",{key:s.id,staticClass:"flow-item",attrs:{timestamp:s.endTime||s.createTime,placement:"top"}},[t("p",[t("span",{staticClass:"flow-name"},[e._v(e._s(s.assigneeName))]),e._v(" \u5728 ["+e._s(s.createTime)+"] \u5F00\u59CB\u5904\u7406 "),t("span",{staticClass:"flow-node"},[e._v("["+e._s(s.historyActivityType=="endEvent"?"\u7ED3\u675F":s.historyActivityName||"\u672A\u547D\u540D")+"]")]),e._v(" \u73AF\u8282 ")]),s.historyActivityDurationTime?t("p",[e._v(" \u4EFB\u52A1\u5386\u65F6 ["+e._s(s.historyActivityDurationTime)+"] ")]):e._e(),s.comments&&s.comments.length>0?e._l(s.comments.filter(function(r){return r.action==="AddComment"}),function(r,a){return t("p",{key:a},[a<1?[e.commentMap[r.type]?t("span",[e._v(" "+e._s(e.commentMap[r.type])+": ["+e._s(r.fullMessage)+"] ")]):r.fullMessage?t("span",[e._v(" "+e._s(r.type)+": ["+e._s(r.fullMessage)+"] ")]):e._e(),s.comments.filter(function(o){return o.action==="AddComment"}).length>1?t("span",{staticStyle:{color:"#1989fa",float:"right"},on:{click:e.handleClick}},[e._v(" "+e._s(e.toggleText)+" "),t("i",{class:[e.isFlag?"arrow-up":"arrow-down"]})]):e._e(),r.time&&e.isFlag?t("p",{staticStyle:{color:"gray","font-size":"12px"}},[e._v(e._s(r.time))]):e._e()]:e._e(),a>0&&e.isFlag?[e.commentMap[r.type]?t("span",[e._v(" "+e._s(e.commentMap[r.type])+": ["+e._s(r.fullMessage)+"] ")]):r.fullMessage?t("span",[e._v(" "+e._s(r.type)+": ["+e._s(r.fullMessage)+"] ")]):e._e(),r.time?t("p",{staticStyle:{color:"gray","font-size":"12px"}},[e._v(e._s(r.time))]):e._e()]:e._e()],2)}):e._e(),s.endTime?t("p",[e._v("\u7ED3\u675F\u65F6\u95F4: ["+e._s(s.endTime)+"]")]):e._e(),t("div",{staticClass:"p-file"},[s.attachmentsFujian&&s.attachmentsFujian.length>0?t("div",{on:{click:function(r){return e.$emit("view",s.attachmentsFujian)}}},[e._v(" \u67E5\u770B\u9644\u4EF6")]):e._e(),s.attachmentsQianzi&&s.attachmentsQianzi.length>0?t("div",{on:{click:function(r){return e.$emit("view",s.attachmentsQianzi)}}},[e._v(" \u67E5\u770B\u7B7E\u5B57")]):e._e()])],2)]})],2)])},zA=[];const sC="",XA={name:"nf-flow",components:{attchViews:bi},props:{request:{type:Object,default:()=>{}},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"}}},fu={};var ZA=Ae(XA,YA,zA,!1,$A,"34ee4b32",null,null);function $A(e){for(let i in fu)this[i]=fu[i]}const eb={name:"TopTab",components:{processFlow:function(){return ZA.exports}(),BpmnLook:pu,TopPopup:Xe,ViewAttchList:Tl,PreviewImage:Xs},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,i){this.selfTapList.length||(this.isTapList=[].concat(this.defaultTabList),e.length>0&&e.forEach((t,s)=>{t.sort&&t.sort>1?this.isTapList.splice(t.sort-1,0,t):t.sort==1?this.isTapList.unshift(t):this.isTapList.push(t)}),this.active=this.isTapList[0].key)},immediate:!0,deep:!0},selfTapList:{handler(e,i){e.length&&(this.isTapList=[].concat(e),this.active=this.isTapList[0].key)},immediate:!0,deep:!0},track:{handler(e,i){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,i){e&&(this.taskCommentList=e)},immediate:!0,deep:!0},trackList:{handler(e,i){e&&(this.trackListss=e)},immediate:!0,deep:!0}},mounted(){this.tabAnimation(0)},methods:{formatFlow(e){let i=(e||[]).map(t=>({...t,attachmentsFujian:(t.attachments||[]).filter(s=>s.type!="signature"),attachmentsQianzi:(t.attachments||[]).filter(s=>s.type=="signature")}));return i=i.reverse(),i},handleActive(e,i){e!==this.active&&(this.active=e,this.tabAnimation(i))},tabAnimation(e){if(this.label.length){let i=document.getElementsByClassName("bottom-line")[0],t;if(i.offsetWidth<this.label[e].offsetWidth-10){let s=(this.label[e].offsetWidth-i.offsetWidth-10)/2;t=`${this.label[e].offsetLeft+s}px`}else if(i.offsetWidth>this.label[e].offsetWidth-10){let s=(i.offsetWidth-this.label[e].offsetWidth+10)/2;t=`${this.label[e].offsetLeft-s}px`}else t=`${this.label[e].offsetLeft}px`;i.style.transition=".3s",i.style.transform=`translateX(${t})`}},viewList(e){this.visible=!0,this.inList=e},viewSign(e,i){this.signLists=e.filter(t=>t.digitalSignature).map(t=>t.digitalSignature),this.indexd=this.signLists.findIndex(t=>t==i),this.signPreViewVisible=!0}}};var tb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"tops-tab"},[t("div",{staticClass:"tops-tab-header"},[e._l(e.isTapList,function(s,n){return[t("div",{staticClass:"tops-tab-header-items",class:[s.key===e.active?"active":""],on:{click:function(r){return e.handleActive(s.key,n)}}},[e._v(" "+e._s(s.label)+" ")])]}),e.isTapList.length?t("div",{staticClass:"bottom-line"}):e._e()],2),t("div",{staticClass:"tops-tab-body"},e._l(e.isTapList,function(s){return t("div",{directives:[{name:"show",rawName:"v-show",value:e.active===s.key,expression:"active === item.key"}],key:s.key,class:[s.key==="c"&&"tops-tab-body-taskcommentlist"],staticStyle:{height:"100%"}},[s.key==="a"&&s.type==="default"?e._t("default"):e._e(),e.active===s.key&&s.key==="b"&&s.type==="default"?t("div",{staticClass:"uph-tab-b",staticStyle:{height:"100%"},attrs:{name:s.slot}},[e.processXml?t("div",{staticStyle:{padding:"10px 20px",color:"#1389ff"},on:{click:function(){return e.visibleTack=!0}}},[e._v(" \u67E5\u770B\u6D41\u7A0B\u8282\u70B9\u4FE1\u606F ")]):e._e(),s.key==="b"&&e.processXml?t("BpmnLook",{ref:"PreviewRef",refInFor:!0,attrs:{diagram:e.processXml,approvalData:e.approvalData}}):t("div",{staticClass:"textnone"},[e._v(" \u6682\u65E0\u6D41\u7A0B\u56FE ")])],1):e._e(),s.key==="c"&&s.type==="default"?t("div",{staticStyle:{height:"100%"}},[s.key==="c"&&e.ProcessInsObj.flow?t("processFlow",{attrs:{request:e.ProcessInsObj.request,"flow-list":e.formatFlow(e.ProcessInsObj.flow)},on:{view:e.viewList}}):t("div",{staticClass:"textnone"},[e._v("\u6682\u65E0\u6570\u636E")])],1):e._e(),s.type=="slot"?e._t(s.slot):e._e()],2)}),0),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9644\u4EF6\u5217\u8868",isDrawer:"",isIndex:5},on:{"update:visible":function(s){return e.visible=s}}},[t("ViewAttchList",{attrs:{inList:e.inList}})],1),t("PreviewImage",{attrs:{images:e.signLists,visible:e.signPreViewVisible,indexd:e.indexd},on:{"update:visible":function(s){return e.signPreViewVisible=s}}}),t("TopPopup",{ref:"TopPopups",attrs:{visible:e.visibleTack,titleText:"\u6D41\u7A0B\u4FE1\u606F",isDrawer:"",width:"60vw"},on:{"update:visible":function(s){return e.visibleTack=s}}},[e.trackListss&&e.trackListss.length?e._l(e.trackListss,function(s,n){return t("div",{key:s.id,staticClass:"seal-list__item"},[t("div",[t("div",{staticClass:"seal-list__item--option"},[t("span",[e._v("\u5E8F\u53F7")]),t("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(n+1))])]),t("div",{staticClass:"seal-list__item--option"},[t("span",[e._v("\u8282\u70B9\u540D\u79F0")]),t("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(s.historyActivityName))])]),t("div",{staticClass:"seal-list__item--option"},[t("span",[e._v("\u5BA1\u6279\u4EBA")]),t("span",{staticStyle:{"max-width":"100px"}},[e._v(e._s(s.assigneeName))])])])])}):e._e()],2)],1)},ib=[];const rC="",mu={};var sb=Ae(eb,tb,ib,!1,nb,"8ff4442e",null,null);function nb(e){for(let i in mu)this[i]=mu[i]}const rb=function(){return sb.exports}(),ab="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACfVJREFUeF7tnT2S1FYYRaUCYgJ2wArYgRMIYQPGMVUQt8bDAoDRxFBFbLwBE5qEHbACdkBAbCi5HjxgGKbn6b7Wz9O7h9B8avV3rk7J6r7VtA1/IACBvQRa2EAAAvsJIAhXBwQuIYAgXB4QQBCuAQjkEeAOkseNo0wIIIhJ0KyZRwBB8rhxlAkBBDEJmjXzCCBIHjeOMiGAICZBs2YeAQTJ48Z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QA5k+QGJODotYlJ6wDkicGsQAKOpEvd81kAuZDmBSTg6LmFiWsB5JnhnEECjsQL3ftpAFmR6AmSa/5pnhWBFfoEICuHeUTy+Wb5svJzPiuSAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBIAiE+uVC2SAECKDJI2fBL4Csq/cvbKQGitAAAAAElFTkSuQmCC",lb={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,i){e&&e.length&&(this.lists=e)},immediate:!0,deep:!0},defaultValue:{immediate:!0,deep:!0,handler(e,i){this.active=e;let s=JSON.parse(JSON.stringify(this.option)).filter((n,r)=>n.id==e);this.activeItem=s[0],this.activeItem&&this.$emit("change",this.activeItem)}}},computed:{arrow(){return ab},check(){return ob}},methods:{handleExpand(){this.disibled||(this.expand?this.expand=!1:this.expand=!0)},handleClick(e,i){this.active!=e.id&&(this.active=e.id,this.activeItem=e,this.expand=!1,this.$emit("change",this.activeItem,this.lists))},handleClose(){this.expand=!1,this.active="",this.activeItem={name:""}}}};var cb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"top-select"},[e.isSlots?t("div",{staticStyle:{position:"relative","z-index":"80"}},[e._t("header",null,{data:Object.assign({},e.activeItem,{placeholder:e.placeholder})})],2):t("div",{staticClass:"top-select-menu",class:[e.border&&"top-select-menu-border",!e.activeItem&&"top-select-menu-placeholder"],on:{click:e.handleExpand}},[e._v(" "+e._s(e.activeItem?e.activeItem.name:e.placeholder)+" "),e.disibled?e._e():t("img",{staticClass:"top-select-menu--arrow",class:[e.expand?"arrow-active":""],attrs:{src:e.arrow}})]),e.maskShow?t("div",{staticClass:"top-select-option-mask",style:e.expand?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;"}):e._e(),e.lists&&e.lists.length?t("div",{staticClass:"top-select-option",class:[e.border&&"top-select-option-border"],style:`${e.expand?"transform: translateY(2%);visibility: visible; opacity: 1;":"transform: translateY(-50%);visibility: hidden; opacity: 0"};${e.optionStyle?e.optionStyle:""}`},e._l(e.lists,function(s,n){return t("div",{key:s.id,staticClass:"option-items",class:[e.active==s.id?"option-items-active":""],on:{click:function(r){return e.handleClick(s,n)}}},[e._v(" "+e._s(s.name)+" "),e.active==s.id?t("img",{staticClass:"option-items-check",attrs:{src:e.check}}):e._e()])}),0):e._e()])},ub=[];const aC="",gu={};var pb=Ae(lb,cb,ub,!1,db,"a791e974",null,null);function db(e){for(let i in gu)this[i]=gu[i]}const yu=function(){return pb.exports}(),hb="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADGdJREFUeF7tnVFSHDkMhuVhD7AV9j1wksBJApeA5YnwlJBLQE4COUl63zOpHGAZb3l2mpqQGWYsS7as/qna2oe0ZeuXvpHd7W4Hwh8UgAJbFQjQBgpAge0KABBkBxR4RQEAgvSAAgAEOQAFeAqggvB0Q6uJKABAJhJouMlTAIDwdEOriSgAQCYSaLjJUwCA8HRDq4koAEAmEmi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ayLsuRIRHYCIyOjFyODFkS1+HGX7B0CyJXPbYH4ZurlDmRsE9tHYACRXar/Xcx6K9aIGANkQKexJyk7fISzovPR9iOxeKzQAIABEJM28VhEAAkBEACHGnFumY10rAASASGUY+0UhqQFo2AEgG1Rli6IRoV5sooL8GimGHt3cCsRrpwwqO9+Hts1j9o+lZ0CSWHj1NA8Szht0eT20uRqAbNEdVSQjIZ1Wj6QAAHklD/A8ZD9I8CR9g07ep1ijy6tK8oBNfNthASATBiS5niBJ/z84oBNa0Lv9flc7vCrQGWfUAGTigHCSpsc23DcK01P0Hv3dZ8whfXKV88MxlSnWPiJ6uYYLiBf/Rf0AIKJymjAGQATDAEAExTRiCoAIBgKACIppxBQAEQwEABEU04gpACIYCAAiKKYRUwBEMBAARFBMI6aw/0wwEIztN93s5hWUqStTAEQwXJ6/7i4oU1em3tzG6+D4oV/NYDwt6PjnVcj6HBIqSM0IMfrCvjOGaJuaMNYfyQwAEdJf0wx7e7fmoDqzzakeAKSjIK+mWmnjYv4XBTvyU2GoRZ8/QgVRiIiWyRdnpJ9o9ePE7hCJ7n9chpsSfwBIiXoN247b/RsOwWzXuQvx1xwBIGbDjIFZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUACAWIgCxmBWAQBiNjQYmAUFAIiFKGAMZhUAIGZDg4FZUOA/PPf9I/jtWsEAAAAASUVORK5CYII=";var fb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("TopPopup",{ref:"TopPopupFixedPerson",attrs:{visible:e.showFixedPerson,titleText:"\u9009\u62E9\u4EBA\u5458("+e.fixedPersonList.length+"\u4EBA)",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u786E\u5B9A",comfig:e.handleSumbitFixedPerson},on:{"update:visible":e.updateVisible}},[t("div",{staticClass:"s-tree"},e._l([].concat(e.fixedPersonList),function(s){return t("div",{key:s.userId,staticClass:"s-node",on:{click:function(n){return e.handleClickFixedPerson(s)}}},[e.mySelectIds.includes(s.userId)?t("div",{staticClass:"radio-select"},[t("svg",{staticClass:"icon",attrs:{t:"1758260488735",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7527",width:"18",height:"18"}},[t("path",{attrs:{d:"M512 0a512 512 0 1 0 512 512A512 512 0 0 0 512 0z m314.916571 369.371429l-354.304 349.184a46.409143 46.409143 0 0 1-64.987428 0l-212.955429-209.883429a44.763429 44.763429 0 0 1 0-64 46.336 46.336 0 0 1 64.987429 0l180.443428 177.810286 321.828572-317.184a46.482286 46.482286 0 0 1 64.987428 0 44.836571 44.836571 0 0 1-0.036571 64.073143z",fill:"#409eff","p-id":"7528"}})])]):t("div",{staticClass:"radio-select-not"},[t("svg",{staticClass:"icon",attrs:{t:"1758260589679",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8704",width:"18",height:"18"}},[t("path",{attrs:{d:"M150.144 150.144C250.24 50.048 370.88 0 512 0s261.76 50.048 361.856 150.144S1024 370.88 1024 512s-50.048 261.76-150.144 361.856S653.12 1024 512 1024s-261.76-50.048-361.856-150.144S0 653.12 0 512s50.048-261.76 150.144-361.856zM64 512c0 124.16 43.328 228.48 131.392 316.608C283.52 916.672 387.84 960 512 960s228.48-43.328 316.608-131.392C916.672 740.48 960 636.16 960 512s-43.328-228.48-131.392-316.608C740.48 107.328 636.16 64 512 64s-228.48 43.328-316.608 131.392C107.328 283.52 64 387.84 64 512z",fill:"#b5bbc1","p-id":"8705"}})])]),s.avatar?t("img",{staticClass:"node-avatar",attrs:{src:s.avatar,alt:"\u5934\u50CF"}}):t("div",{staticClass:"node-avatar-text"},[e._v(" "+e._s((s.realName||"").slice(-2))+" ")]),t("div",{staticClass:"node-name"},[t("div",{staticClass:"node-name-text"},[e._v(e._s(s.realName))]),t("div",{staticClass:"node-name-phone"},[e._v(e._s(s.phonenumber))])])])}),0)])},mb=[];const oC="",gb={name:"selectFixedPerson",components:{TopPopup:Xe},props:{multiple:{},visible:{type:Boolean,default:!1},list:{type:Array,default(){return[]}},select:{type:Array,default(){return[]}},multiple:{type:Boolean,default:!1}},data(){return{showFixedPerson:!1,fixedPersonList:[],mySelect:[],mySelectIds:[]}},watch:{visible:{handler(e,i){this.showFixedPerson=e,e?(this.fixedPersonList=this.list||[],this.mySelect=this.select||[],this.mySelectIds=this.mySelect.map(t=>t.userId)):(this.fixedPersonList=[],this.mySelect=[],this.mySelectIds=[])},immediate:!0},fixedPersonList:{handler(e,i){e&&e.length>0&&JSON.stringify(e)!==JSON.stringify(this.list)&&this.$emit("updateList",e)},immediate:!0,deep:!0}},methods:{updateVisible(e){this.$emit("updateVisible",e)},handleClickFixedPerson(e){const i=this.select.find(t=>t.userId===e.userId);this.multiple||(this.mySelect=[],this.mySelectIds=[]),i?(this.mySelect=this.select.filter(t=>t.userId!==e.userId),this.mySelectIds=this.mySelect.map(t=>t.userId)):(this.mySelect.push(e),this.mySelectIds.push(e.userId)),this.$emit("updateSelect",this.mySelect)},handleSumbitFixedPerson(){this.$emit("confirm",this.mySelect)}}},vu={};var yb=Ae(gb,fb,mb,!1,vb,"4e0e3ca1",null,null);function vb(e){for(let i in vu)this[i]=vu[i]}const Au=function(){return yb.exports}(),Ab={name:"TopSubmitPopup",components:{SelectFixedPerson:Au,BpmnLook:pu,TopPopup:Xe,TopDownSelect:yu,PreviewImage:Xs,departPerson:Pt.departPerson,TopTips:ft},props:{isCheckType:{type:String,default:"0"},visible:{type:Boolean,default:!1},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{},upload:()=>{}})},appId:{type:String,default:""},processName:{type:String,default:""},resubmit:{type:Boolean,default:!1},id:{type:String,default:""},businessType:{type:[String,Number]},businessDeptId:{type:[String,Number]},businessSubjectId:{type:[String,Number]},todoParameter:{type:Object,default(){return{}}},isClearHistory:{type:Boolean,default:!1},title:{type:String,default:"\u6D4B\u8BD5"},showType:{type:String,default:"all"},beforeFunction:{type:Function,default:null},manual:{type:Boolean,default:!1},selfList:{type:Array,default:()=>[]},isOrgType:{type:Array,default:()=>[0]},isCodeType:{type:Array,default:()=>[3]},extraParams:{type:Object,default:()=>{}},isSelectFirst:{type:Boolean,default:!0},showFlowForecast:{default:!1,type:Boolean},flowForecastFunction:{type:Function,default:null}},data(){return{currentClickItem:{},fixedSelect:{},showFixedPerson:!1,fixedPersonList:[],approvalData:[],processXml:"",showFlow:!1,showFirstPerson:!1,selectDeptData:{},showDept:!1,deptList:[],show:!1,option:[],checkedItem:{},personList:[],checkedArray:[],trackUrl:[],taskurlshow:!1,isStyle:"width:35%",visiblePerson:!1,entity:{source:"0",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:!1,checkedArray:[]},multiNodeParticipant:{},personListCopy:{},partNode:{},personObjId:"",processId:"",textTips:"",statusTips:!1,typeTips:"success",firstPerson:[],selectDefaultValue:"",businessTypeData:"",businessDeptIdData:"",idData:"",processNameData:"",titleData:"",todoParameterData:{},humanPerformerName:"",btnLoading:!1,flowForecastVisible:!1,flowForecastData:{completeTime:"",processBudgetModelList:[]},flowForecastProcessInstId:""}},watch:{visible:{async handler(e,i){this.show=e,this.$emit("update:visible",this.show),e?(this.selectDefaultValue="",this.handleOption()):this.$refs.TopDownSelect.handleClose()}},show:{handler(e,i){e||this.$refs.TopDownSelect.handleClose()}},businessType:{handler(e,i){this.businessTypeData=e},immediate:!0},businessDeptId:{handler(e,i){e&&(this.businessDeptIdData=e)},immediate:!0},extraParams:{handler(e,i){e&&e.businessDeptId&&(console.error(e.businessDeptId,"\u4E1A\u52A1\u90E8\u95E8id\u66F4\u65B0\u5230extraParams.businessDeptId\u4E2D\uFF0C\u8BF7\u68C0\u67E5\u662F\u5426\u9700\u8981\u66F4\u65B0\u5230\u6B64\u5904"),this.businessDeptIdData=e.businessDeptId)},immediate:!0,deep:!0},id:{handler(e,i){e&&(this.idData=e,this.resubmit&&this.getProcessInstance())},immediate:!0},processName:{handler(e,i){this.processNameData=e},immediate:!0},title:{handler(e,i){this.titleData=e},immediate:!0},todoParameter:{handler(e,i){this.todoParameterData=e},immediate:!0,deep:!0},selfList:{handler(e,i){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,i){e&&this.getProcessInstance()}}},computed:{ProcessImg(){return hb}},methods:{getXmlByProcessDefId(e){this.request.get("/bladex/blade-workflow/process/getXmlByProcessDefId",{params:{processDefId:e}}).then(i=>{i.code==200&&(this.processXml=i.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(){if(this.checkedItem={},this.firstPerson=[],this.personList=[],this.selfList&&this.selfList.length)return;this.handleTips("",!0,"loading");let e={businessCode:this.businessType,appId:this.appId,processGroupName:this.processNameData,...this.extraParams};this.processNameData&&delete e.processGroupName,await this.request.post("/bladex/blade-workflow/repository/getProcessDefList",e).then(i=>{i.code==200&&(this.option=i.data,i.data&&i.data.length?(this.handleTips("",!1,"success"),(this.isSelectFirst||i.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(i){}this.deptList=e.data||[]},async getNodeUser({deptId:e,intersection:i,userIds:t,postIds:s,deptIds:n}){return await this.request.post("/auth/user/getTaskAuditor",{deptId:e,intersection:i,userIds:t,postIds:s,deptIds:n})},getUserDataByDeptId(){this.firstPerson.map(async(e,i)=>{const t=cu(e);let s;try{s=await this.getNodeUser({deptId:this.businessDeptIdData,intersection:(t.intersection,0),userIds:t.userIds,postIds:t.postIds,deptIds:t.deptIds})}catch(n){}if(s.code==200){const n=this.firstPerson[i];n.userList=s.data,this.$set(this.firstPerson,i,n)}})},async handlefirstNode(e){e&&(this.handleTips("",!0,"loading"),await this.request.get("/bladex/blade-workflow/repository/getAllProcessNode",{params:{processDefId:e}}).then(async i=>{if(i.code===200){if(this.firstPerson=i.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;i.data.map(t=>{{let s={taskDefId:t.id,postIds:[]};t.routeTxt.postList.map(n=>{s.postIds.push(n.postId)}),this.request.post("/auth/user/getTaskAuditor",{deptId:this.businessDeptIdData,taskPostIds:[s]}).then(n=>{let r=[],a=[],o=!1;n.data.map(p=>{p.posts.map(h=>{a.push(...h.users),h.users.length==1?r.push(...h.users):o=!0})}),r.length>t.loopCardinality&&t.loopCardinality>0&&(o=!0),o&&(r=[]);let l=[];n.data[0].posts.map(p=>{l.push({...p,projectPost:!this.businessDeptIdData,id:p.users.map(h=>h.id),subjectId:p.subjectId})}),a.length==0&&this.$set(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.getAfferentParticipantNodeList()}else this.firstPerson=[],this.getAfferentParticipantNodeList()}).catch(i=>{this.firstPerson=[],this.getAfferentParticipantNodeList()}))},async handleChange(e,i){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,i)},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(i=>{if(i.humanPerformerName==="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let t={taskDefId:i.id,postIds:[]};i.routeTxt.postList.map(s=>{t.postIds.push(s.postId)}),this.request.post("/auth/user/getTaskAuditor",{deptId:this.businessDeptIdData,taskPostIds:[t]}).then(s=>{let n=[],r=[],a=!1;s.data.map(l=>{l.posts.map(p=>{r.push(...p.users),p.users.length==1?n.push(...p.users):a=!0})}),n.length>i.loopCardinality&&i.loopCardinality>0&&(a=!0),a&&(n=[]);let o=[];s.data[0].posts.map(l=>{o.push({...l,projectPost:!(this.param.taskNode&&this.param.taskNode[0].vars&&this.param.taskNode[0].vars._businessDeptId),id:l.users.map(p=>p.id),subjectId:l.subjectId})}),r.length==0&&this.$set(i,"noPersonnel",!0),n.length>0&&(this.personObjId=i.id,this.humanPerformerName=i.humanPerformerName,this.$set(i,"noPersonnel",!0),this.handleCallback(n)),i.positionArray=o})}}),this.personList=e.data.filter(i=>!this.firstPerson.some(t=>t.id==i.id))),this.$emit("change",this.checkedItem,this.option)),this.$refs.topTips.handleClose()})},getDiagramUrl(){this.request.get("/aws/repository/getDiagramUrl",{params:{processDefId:this.checkedItem.id,diagramType:1,type:"pc"}}).then(e=>{e.code==200&&(this.trackUrl=[e.data])})},handleOpenFixedPerson(e){this.currentClickItem=e,this.personObjId=e.id,this.showFixedPerson=!0,this.fixedPersonList=e.userList||[]},updateFixedPersonVisible(e){this.showFixedPerson=e},updateFixedSelect(e){},handleSumbitFixedPerson(e){this.$set(this.fixedSelect,this.personObjId,e),this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.personObjId].push(i.userId),this.partNode[this.personObjId].push(i.realName)}),this.showFixedPerson=!1},handleClickFixedPerson(e){this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.personObjId].push(i.userId),this.partNode[this.personObjId].push(i.realName)}),this.showFixedPerson=!1},handleOpenPerson(e){if(this.visiblePerson=!0,this.personObjId=e.id,this.humanPerformerName=e.humanPerformerName,e.humanPerformerName==="\u4EFB\u610F\u6307\u5B9A")this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:[]},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(i=>({id:i.id,subjectId:i.subjectId,type:i.type,deptId:this.handleLastStr(i.ancestors,i.subjectId)})):this.entity.checkedArray=[];else if(e.humanPerformerName==="\u56FA\u5B9A\u90E8\u95E8"){let i,t=[];e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length>1?(e.routeTxt.departmentIds.forEach((s,n)=>{t.push(s.rangeId)}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCodeArray:t,multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1}):e.routeTxt.departmentIds&&e.routeTxt.departmentIds.length==1&&(e.routeTxt.departmentIds.forEach((s,n)=>{i=s.rangeId}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],deptCode:i,multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(s=>({id:s.id,subjectId:s.subjectId,type:s.type,deptId:i})):this.entity.checkedArray=[]}else if(e.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"){let i;e.routeTxt.companyIds.map((t,s)=>{i=t.name}),this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||"0",request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:i},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=[]}else e.humanPerformerName==="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"?(this.entity={source:"1",type:this.isCheckType||"0",orgType:[5],request:this.request,codeType:[8],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,positionArray:e.positionArray},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(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=[]):(this.entity={source:"1",type:this.isCheckType||"0",orgType:this.isOrgType||[0],request:this.request,codeType:this.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:[]},this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length?this.entity.checkedArray=this.personListCopy[e.id].map(i=>({id:i.id,subjectId:i.subjectId,type:i.type,deptId:this.handleLastStr(i.ancestors,i.subjectId)})):this.entity.checkedArray=[])},handleCallback(e){this.personListCopy[this.personObjId]=e,this.entity.checkedArray=e.map(i=>({id:i.id,subjectId:i.subjectId,type:i.type,deptId:this.handleLastStr(i.ancestors,i.subjectId),subjectName:this.humanPerformerName==="\u56FA\u5B9A\u5355\u4F4D"?i.ancestorNames.slice(0,i.ancestorNames.indexOf("/")):""})),this.$set(this.multiNodeParticipant,this.personObjId,[]),this.$set(this.partNode,this.personObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.personObjId].push(i.id),this.partNode[this.personObjId].push(i.name)}),this.visiblePerson=!1},handleCancel(){},handleLastStr(e,i){if(!!e)return e.split(",")[e.split(",").length-1]!==i?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:{processBusinessKey:this.id||this.extraParams.businessKey,showType:"all",subjectId:this.businessSubjectId,deptId:this.businessDeptIdData,businessType:this.businessType,name:this.extraParams.name,title:this.title||this.extraParams.title,applyUserId:this.extraParams.applyUserId}};if(!this.checkedItem.id){this.$refs.topTips.handleClose(),this.btnLoading=!1;return}this.request.post("/bladex/blade-workflow/pis/createAndStart",e).then(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):i.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(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):(this.handleTips(t.msg,!0,"error"),this.btnLoading=!1)}).catch(t=>{this.handleTips(t.msg,!0,"error"),this.btnLoading=!1}):(this.handleTips(i.msg,!0,"error"),this.btnLoading=!1)}).catch(i=>{this.handleTips(i.msg,!0,"error"),this.btnLoading=!1})}},handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,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(i=>{i.code==200?(i.data&&i.data.processBudgetModelList&&i.data.processBudgetModelList.length?this.flowForecastProcessInstId=i.data.processBudgetModelList[0].processInstId:(i.data.processBudgetModelList=[],this.flowForecastProcessInstId=""),this.flowForecastData=i.data,this.flowForecastVisible=!0):this.handleTips(i.msg,!0,"error")}).catch(i=>{this.btnLoading=!1,this.handleTips("\u6D41\u7A0B\u9884\u6D4B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5",!0,"error")})},flowForecastClose(){this.flowForecastProcessInstId?this.request.get("/aws/pis/deleteProcessById",{params:{processInstId:this.flowForecastProcessInstId}}).then(e=>{e.code==200&&(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]},this.flowForecastProcessInstId="")}):(this.flowForecastVisible=!1,this.flowForecastData={completeTime:"",processBudgetModelList:[]})}}};var bb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"sumbmitPopup-index-sumbit"},[t("div",{staticClass:"top-popup"}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.show,titleText:"\u9001\u5BA1",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u9001\u5BA1",comfig:e.handleSumbit},on:{"update:visible":function(s){return e.show=s,e.$emit("update:visible",s)}}},[t("TopDownSelect",{ref:"TopDownSelect",attrs:{isSlots:"",option:e.option,defaultValue:e.selectDefaultValue,disibled:!1},on:{change:e.handleChange},scopedSlots:e._u([{key:"header",fn:function(s){return[t("div",{staticClass:"sumbmitPopup-select"},[t("div",{staticClass:"sumbmitPopup-select-checked",on:{click:e.handleSelect}},[t("div",{staticClass:"sumbmitPopup-select-checked-title"},[e._v("\u5F53\u524D\u6D41\u7A0B")]),t("div",{staticClass:"sumbmitPopup-select-checked-node",class:""},[e._v(" "+e._s(s.data.name?s.data.name:s.data.placeholder)+" ")])]),e.businessDeptIdData?e._e():t("div",{staticClass:"sumbmitPopup-select-checked",on:{click:e.handleDeptSelect}},[t("div",{staticClass:"sumbmitPopup-select-checked-title"},[e._v("\u9009\u62E9\u90E8\u95E8")]),t("div",{staticClass:"sumbmitPopup-select-checked-node",class:""},[e._v(" "+e._s(e.selectDeptData.label?e.selectDeptData.label:"\u8BF7\u9009\u62E9")+" ")])]),t("div",{staticClass:"sumbmitPopup-select-viewTrack",staticStyle:{display:"flex"}},[e.checkedItem.id?t("div",{staticClass:"viewTrack",on:{click:e.handleFlowSelect}},[t("img",{attrs:{src:e.ProcessImg}}),e._v(" \u67E5\u770B\u6D41\u7A0B\u56FE ")]):e._e(),e.checkedItem.id&&e.showFlowForecast?t("div",{staticClass:"viewTrack",on:{click:e.viewFlowForecast}},[e._v(" \u6D41\u7A0B\u9884\u6D4B ")]):e._e()])])]}}])}),e.showFirstPerson&&e.firstPerson&&e.firstPerson.length?t("div",{staticClass:"person-views"},[t("div",{staticClass:"person-views-title"},[e._v("\u4E0B\u4E00\u6B65\u5904\u7406\u8282\u70B9")]),e._l(e.firstPerson,function(s,n){var r;return t("div",{key:n,staticClass:"views-items"},[t("div",{staticClass:"views-items-label"},[t("div",{staticClass:"views-items-name"},[t("div",{staticClass:"views-items-name-left"},[e._v(" "+e._s(s.name)+" "),n==0?t("span",{staticClass:"views-items-name--re"},[e._v("*")]):e._e()])]),t("div",{staticClass:"views-items-set"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",[e._l(e.partNode[s.id],function(a,o){return t("span",{key:o},[e._v(" "+e._s(o>=3?"":o==0?a:`,${a}`)+" ")])}),e.partNode[s.id].length>3?t("span",[e._v("...\u7B49"+e._s(e.partNode[s.id].length)+"\u4EBA")]):e._e()],2):s.routeTxt&&s.routeTxt.userNames?t("div",[e._v(" "+e._s(s.routeTxt.userNames)+" ")]):e._e(),s.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||s.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"||((r=e.partNode[s.id])===null||r===void 0?void 0:r.length)>0&&s.noPersonnel?t("div"):s.humanPerformerName=="\u56FA\u5B9A\u8D26\u6237"||s.humanPerformerName=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"||s.noPersonnel?t("div",[e._v(" \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")]):s.userList&&s.userList.length>0?t("div",{staticClass:"views-items-set-btn",on:{click:function(a){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):t("div",{staticClass:"views-items-set-btn",on:{click:function(a){return e.handleOpenPerson(s)}}},[e._v(" \u8BBE\u7F6E ")])])]),s.routeTxt&&s.routeTxt.length>0?t("div",{staticClass:"views-items-includes"},[t("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),t("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(a,o){return t("div",{key:a.type},[a.ids&&a.ids.length>0?t("div",[t("div",{staticClass:"include"},[t("b",{staticClass:"include include-type",class:["include-"+a.type]},[e._v(e._s(a.type=="user"?"\u7528\u6237":a.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),t("span",{staticClass:"include include-name"},[e._v(e._s(a.name))])]),o!==s.routeTxt.length-1?t("div",{staticClass:"include include-assign",class:["include-assign-"+(a.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])})],2):e._e(),e.personList&&e.personList.length?t("div",{staticClass:"person-views"},[t("div",{staticClass:"person-views-title"},[e._v("\u5176\u4ED6\u5904\u7406\u8282\u70B9")]),e._l(e.personList,function(s,n){return t("div",{staticClass:"views-items"},[t("div",{staticClass:"views-items-name"},[e._v(" "+e._s(s.name)+" ")]),t("div",{staticClass:"views-items-set"},[s.noPersonnel?e._e():t("div",{staticClass:"views-items-set-btn",on:{click:function(r){return e.handleOpenPerson(s)}}},[e._v(" \u8BBE\u7F6E ")]),e.partNode[s.id]&&e.partNode[s.id].length?t("div",[e._l(e.partNode[s.id],function(r,a){return t("span",[e._v(" "+e._s(a>=3?"":a==0?r:`,${r}`)+" ")])}),e.partNode[s.id].length>3?t("span",[e._v("...\u7B49"+e._s(e.partNode[s.id].length)+"\u4EBA")]):e._e()],2):s.noPersonnel?t("div",[e._v("\u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E")]):t("div")])])})],2):e._e(),!e.firstPerson&&!e.firstPerson.length&&!e.personList&&!e.personList.length?t("div",{staticClass:"person-views-white"},[e._v(" \u65E0\u9700\u8BBE\u7F6E ")]):e._e()],1),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visiblePerson,titleText:"\u9009\u4EBA",isDrawer:!0,isIndex:199},on:{"update:visible":function(s){return e.visiblePerson=s}}},[t("div",{staticStyle:{height:"100%"}},[e.visiblePerson?t("departPerson",e._b({attrs:{isTitle:!1,visible:e.visiblePerson,checkedArray:e.checkedArray},on:{"update:visible":function(s){e.visiblePerson=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),t("TopPopup",{ref:"TopPopupDept",attrs:{visible:e.showDept,titleText:"\u9009\u62E9\u90E8\u95E8",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u786E\u5B9A",comfig:e.handleSumbitDept},on:{"update:visible":function(s){return e.showDept=s}}},[t("div",{staticClass:"tree"},e._l([].concat(e.deptList),function(s){return t("div",{key:s.id,staticClass:"node"},[t("div",{staticClass:"node-p",on:{click:function(n){return e.handleClickDept(s)}}},[e._v(e._s(s.label))]),s.children?t("div",{staticClass:"children"},e._l(s.children,function(n){return t("div",{key:n.id,staticClass:"node-s",on:{click:function(r){return e.handleClickDept(n)}}},[e._v(" "+e._s(n.label)+" ")])}),0):e._e()])}),0)]),t("SelectFixedPerson",{attrs:{visible:e.showFixedPerson,list:e.fixedPersonList,multiple:e.currentClickItem.loopCardinality==-1,select:e.fixedSelect[e.personObjId]||[]},on:{updateList:e.handleClickFixedPerson,updateVisible:e.updateFixedPersonVisible,updateSelect:e.updateFixedSelect,confirm:e.handleSumbitFixedPerson}}),t("TopPopup",{ref:"TopPopupFlow",staticClass:"top-pop-flow",attrs:{visible:e.showFlow,titleText:"\u67E5\u770B\u6D41\u7A0B\u56FE",isIndex:99,className:"sumbmitPopup-index",comfigText:"\u5173\u95ED",comfig:e.handleSumbitFlow},on:{"update:visible":function(s){return e.showFlow=s}}},[e.showFlow&&e.processXml?t("BpmnLook",{ref:"PreviewRef",attrs:{diagram:e.processXml,approvalData:e.approvalData}}):e._e()],1),t("PreviewImage",{attrs:{images:e.trackUrl,visible:e.taskurlshow,indexd:0,isOne:!0,isStyle:e.isStyle},on:{"update:visible":function(s){return e.taskurlshow=s}}}),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopupFF",attrs:{visible:e.flowForecastVisible,titleText:"\u6D41\u7A0B\u9884\u6D4B",isIndex:129,cancel:e.flowForecastClose,comfig:e.flowForecastClose},on:{"update:visible":function(s){return e.flowForecastVisible=s}}},[t("div",{staticStyle:{margin:"20px"}},[t("div",{staticStyle:{"margin-left":"10px","margin-bottom":"10px"},domProps:{innerHTML:e._s(e.flowForecastData.completeTime)}}),t("div",{staticClass:"timeline"},e._l(e.flowForecastData.processBudgetModelList,function(s,n){return t("div",{key:n,staticClass:"timeline-item"},[t("div",{staticClass:"item-top"},[t("div",{staticClass:"top-spot"},[t("div",{staticClass:"spot",class:{active:n==0}})]),t("div",{staticClass:"top-title"},[e._v(e._s(s.title))])]),t("div",{staticClass:"item-bottom",class:{last:n==e.flowForecastData.processBudgetModelList.length-1}},[t("span",{staticStyle:{color:"#009800"}},[e._v(" \u6267\u884C\u4EBA\uFF1A"+e._s(s.excutor)+" ")])])])}),0)])])],1)},Cb=[];const lC="",bu={};var wb=Ae(Ab,bb,Cb,!1,xb,"a0f579ac",null,null);function xb(e){for(let i in bu)this[i]=bu[i]}const Cu=function(){return wb.ex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b1NIxBQEEoqBIjL0lgED2NrV0TEHgP1VLsH2X3+jEAAAAAElFTkSuQmCC";var Tb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",[e.visible?t("div",{staticClass:"top-msg"},e._l(e.listData,function(s){return t("div",{staticClass:"top-msg-items",on:{click:function(n){return e.handleMsg(s)}}},[t("div",{staticClass:"top-msg-items-text"},[e._v(e._s(s.opinionName))]),t("div",{staticClass:"top-msg-items-del",on:{click:function(n){return n.stopPropagation(),e.handleOpenMsg(s)}}},[t("img",{attrs:{src:e.Del}})])])}),0):e._e(),t("TopPopup",{attrs:{isIndex:2299,titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06\u5E38\u7528\u610F\u89C1'${e.opinion.opinionName}'\u5220\u9664`,cancel:e.handleTipsCancel,comfig:e.handleDel,visible:e.visibleListMsg},on:{"update:visible":function(s){return e.visibleListMsg=s}}})],1)},Ib=[];const cC="",kb={name:"msgList",components:{TopPopup:Xe},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 Eb}},watch:{visible:{handler(e,i){e&&this.request.get("/auth/user/opinion/my").then(t=>{t.code===200&&(this.listData=t.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(i=>{i.code===200&&(this.listData=i.data)})):this.$emit("handleTips",e.msg,!0,"error")}).catch(e=>{this.$emit("handleTips",e.msg,!0,"error")}))}}},wu={};var Nb=Ae(kb,Tb,Ib,!1,Sb,"66478dbb",null,null);function Sb(e){for(let i in wu)this[i]=wu[i]}const ws=function(){return Nb.exports}();var _b=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-popup-content"},[t("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?t("div",[t("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),t("div",{staticClass:"process-pc-value"},[t("div",{staticClass:"process-popup-textarea"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),t("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?t("div",{staticClass:"msg-btn"},[t("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),t("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(s){return[t("div",[t("br"),e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[t("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return t("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):t("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[t("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(s){return[t("div",{staticClass:"process-pc-label"},[t("br"),e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[t("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return t("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):t("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[t("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e._e()],2),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[t("div",{staticStyle:{height:"100%"}},[e.visible?t("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="5"?t("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[t("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),t("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}})],1)},Pb=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-pc-label"},[e._v(" \u52A0\u7B7E\u7406\u7531\uFF1A"),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const uC="",Db={name:"counterSign",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:ft,attchViews:bi,TopPopup:Xe,departPerson:Pt.departPerson,MsgList:ws},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,i){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((i,t)=>{e.push(i)}),this.handleTips("",!0,"loading"),this.param.request.post("/bladex/blade-workflow/tis/addSignTask",{signPersoneds:e,taskId:this.param.taskInstId,comment:this.commentMsg}).then(i=>{i.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(i.msg,!0,"error")})},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((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name),this.entity.checkedArray.push({type:3,id:i.id,subjectId:i.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((t,s)=>{t.size=t.fileSize,t.format=t.originFileName.substring(t.originFileName.lastIndexOf(".")+1),t.uploadTime=t.createTime,t.processInstId=this.param.processInstId,t.taskInstId=this.param.taskInstId,t.name=t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("counterSign")}}},xu={};var Ob=Ae(Db,_b,Pb,!1,Mb,"b5145b72",null,null);function Mb(e){for(let i in xu)this[i]=xu[i]}const Bb=function(){return Ob.exports}();var Rb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-popup-content"},[t("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?t("div",[t("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),t("div",{staticClass:"process-pc-value"},[t("div",{staticClass:"process-popup-textarea"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),t("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?t("div",{staticClass:"msg-btn"},[t("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),t("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(s){return[t("div",[e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[t("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return t("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):t("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[t("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(s){return[t("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:function(n){return e.handleOpenPopup(s.id)}}},[t("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(n,r){return t("span",[e._v(" "+e._s(r==0?n:`,${n}`)+" ")])}),0):t("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[t("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]})]:e._e()],2),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[t("div",{staticStyle:{height:"100%"}},[e.visible?t("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="1"?t("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[t("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),t("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}})],1)},Lb=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-pc-label"},[e._v(" \u8F6C\u5BA1\u7406\u7531\uFF1A"),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const pC="",Fb={name:"delegateTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:ft,attchViews:bi,TopPopup:Xe,departPerson:Pt.departPerson,MsgList:ws},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,i){this.nextNodeData=e.nextNodeData,this.taskNode=e.taskNode,this.outGatewayUserTaskModel=e.outGatewayUserTaskModel,this.actionName=e.actionName,this.attachShow(),e.nextNodeData.length?this.nextNodeData[0].type=="userTask"||this.nextNodeData[0].type=="UserTaskModel"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):this.nextNodeData[0].type=="ExclusiveGatewayModel"||this.nextNodeData[0].type=="InclusiveGatewayModel":e.outGatewayUserTaskModel.length&&(e.outGatewayUserTaskModel[0].type=="userTask"?(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]):e.outGatewayUserTaskModel[0].type=="ExclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="InclusiveGatewayModel"||e.outGatewayUserTaskModel[0].type=="UserTaskModel"&&(this.entity.multiple=!0,this.entity.codeType=this.param.isCodeType||[3],this.entity.source="1",this.entity.checkedArray=[],this.entity.type=this.param.isCheckType||"0",this.entity.orgType=this.param.isOrgType||[0]))},immediate:!0,deep:!0}},created(){},methods:{handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleOpenMsg(){this.visibleListMsg=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth//user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleOpenPopup(e){this.visible=!0,this.partObjId=e},async confirm(){if(!this.commentMsg){this.textTips="\u8BF7\u8F93\u5165\u8F6C\u5BA1\u7406\u7531!",this.$refs.topTips.handleOpen();return}let e=this.partNodeArr[this.partObjId].map(i=>i.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(i=>{i.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(i.msg,!0,"error")})},attachShow(e="\u529E\u7406"){const i=(this.param||{}).extendedProperties||[];let t=!1,s,n="";s=i.find(a=>a.name=="delegateTaskButtonAnnex"),n=s?s.value:"",n&&(t=!0);let r="";if(typeof n!="string"&&n!=null&&n.map(a=>{a.indexOf(this.operationLabel)!=-1&&(t=!0,r=a)}),r&&(n=r),t){const a=n.split(":");this.attachRule.required=a[1]=="true",this.attachRule.limit=a[2]==-1?999:a[2],this.otherList=n;let o=this.otherList.split(":");this.limit=o[2],this.requires=JSON.parse(o[1]),this.labels=o[0]}return this.labels,this.limit,t},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((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNodeArr[this.partObjId].push(i),this.partNode[this.partObjId].push(i.name),this.entity.checkedArray.push({type:3,id:i.id,subjectId:i.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((t,s)=>{t.size=t.fileSize,t.format=t.originFileName.substring(t.originFileName.lastIndexOf(".")+1),t.uploadTime=t.createTime,t.processInstId=this.param.processInstId,t.taskInstId=this.param.taskInstId,t.name=t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("delegateTask")}}},Eu={};var jb=Ae(Fb,Rb,Lb,!1,Vb,"3e18ae74",null,null);function Vb(e){for(let i in Eu)this[i]=Eu[i]}const Qb=function(){return jb.exports}(),Ub="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAACZ5JREFUeF7tne1xG0cMhkE2EqeS2JXY6iLRZMb2jEdJF3YqiVNJ5EbMzIlhRDIiecAt9uPeh3+9wC5e4BEWx7O0MT4ogAIXFdigDQqgwGUFAITqQIErCgAI5YECAEINoEBMATpITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKIJM6YAgMR0w0pEAQARSTRhxhQAkJhuWIkoACAiiSbMmAIAEtMNKxEFAEQk0YQZUwBAYrphJaIAgIgkmjBjCgBITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKIJM6YAgMR0w0pEAQARSTRhxhQAkJhuWIkoACAiiSbMmAIAEtMNKxEFAEQk0YQZUwBAYrphJaIAgIgkmjBjCgBITDesRBQAEJFEE2ZMAQCJ6YaViAIAIpJowowpACAx3bASUQBARBJNmDEFACSmG1YiCgCISKKHDfPn3Svb2tt/z//NtvZonzZfa8UDILWUZh+fAs9gfDgzfDSzL/aw+ehzGFsNIDHdsMpUYA/Hn2b26so2j/aw+THzGJNvAMlWGP8+BX7dvbbvT3DM+aRDAiBz0sCaOgrc796b2fmV6tbe03Xr7tai6L8DSFQ57Moq8MvuT9vY65DTrb3JGtwBJJQRjIopMM0bG/schmN/kLQuAiDFMo0jtwK+eeOy+519td82b9z7zzAAkBkisSRBgdi8cekgdJCEFOGylQJL5o2XzswM0iqT7FtUgTLzxumREq9X00ZcsYpWAM4uKlBq3jjdgO9BKLkVKHC/e2dmnwtHkg4HHaRwxnD3ggL3uwmMCZCSnypwAEjJlOHrVIGMeWO/QzU4AISizlFg3suGkb2rwgEgkRRhc12BnGG8euc4BMlTLAq+nAJlv/w7Plf1zg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6V6CgCIXs6J2KEAgDjEYqmeAgCil3MidigAIA6xWKqnAIDo5ZyIHQoAiEMsluopACB6OSdihwIA4hCLpXoKAIhezonYoQCAOMRiqZ4CAKKXcyJ2KAAgDrFYqqcAgOjlnIgdCgCIQyyW6inwD771qeduEnFsAAAAAElFTkSuQmCC",dC="";var Gb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return e.nodeItems&&e.nodeItems.length?t("div",{staticClass:"treenode"},[e.endNode?e._e():t("div",{staticClass:"treenode-multi"},[t("div",{staticClass:"treenode-node",staticStyle:{"margin-top":"0"}},[e._l(e.nodeItems,function(s){return[e.checkType=="InclusiveGatewayModel"&&e.nodeItems.length>1?t("div",{staticClass:"treenode-checkbox",class:e.checkBoxArr.includes(s.id)?"treenode-checkbox-active":"",on:{click:function(n){return e.handleCheckBoxClick(s)}}},[t("span",[e.checkBoxArr.includes(s.id)?t("img",{staticClass:"treenode-checkbox-active-img",attrs:{src:e.check}}):e._e()]),e._v(" "+e._s(s.nodeName||s.name)+" ")]):e.checkType=="ExclusiveGatewayModel"&&e.nodeItems.length>1?t("div",{staticClass:"treenode-radio",class:e.radioArr==s.id?"treenode-radio-active":"",on:{click:function(n){return e.handleRadioClick(s)}}},[t("span"),e._v(" "+e._s(s.nodeName||s.name)+" ")]):e._e()]})],2),e.checkType=="InclusiveGatewayModel"&&e.checkBoxItem&&e.checkBoxItem.length?e._l(e.checkBoxItem,function(s){return t("div",{staticClass:"treenode-node"},[s.childNode&&s.childNode.length?t("div",[t("TreeNode",{attrs:{items:s.childNode,endNode:s.childNode.length==1,nodeType:e.nodeType,param:e.param,checkType:s.type},on:{onMultiNode:e.onMultiNode,onVars:e.onVars}})],1):t("div",{staticClass:"personselect"},[t("div",{staticClass:"personselect-name"},[e._v(" "+e._s(s.name||s.nodeName)+" ")]),t("div",{staticClass:"items-person"},[s.userList&&s.userList.length>0?t("div",{staticClass:"items-person-set",on:{click:function(n){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?[t("div",{staticClass:"items-person-set",on:{click:function(n){return n.stopPropagation(),e.handleOpenPopup(s)}}},[e._v(" \u8BBE\u7F6E ")])]:e._e(),s.userList&&s.userList.length>0?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.routeTxt&&s.routeTxt.userNames?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(s.routeTxt.userNames)+" ")]):e._e()],2),s.routeTxt&&s.routeTxt.length>0?t("div",{staticClass:"views-items-includes"},[t("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),t("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(n,r){return t("div",{key:n.type},[n.ids&&n.ids.length>0?t("div",[t("div",{staticClass:"include"},[t("b",{staticClass:"include include-type",class:["include-"+n.type]},[e._v(e._s(n.type=="user"?"\u7528\u6237":n.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),t("span",{staticClass:"include include-name"},[e._v(e._s(n.name))])]),r!==s.routeTxt.length-1?t("div",{staticClass:"include include-assign",class:["include-assign-"+(n.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}):e._e(),e.checkType=="ExclusiveGatewayModel"&&e.radioItem&&e.radioItem.length?e._l(e.radioItem,function(s){return t("div",{staticClass:"treenode-node"},[s.childNode&&s.childNode.length?t("div",[t("TreeNode",{attrs:{items:s.childNode,endNode:s.childNode.length==1,nodeType:e.nodeType,param:e.param,checkType:s.type},on:{onMultiNode:e.onMultiNode,onVars:e.onVars}})],1):t("div",{staticClass:"personselect"},[t("div",{staticClass:"personselect-name"},[e._v(" "+e._s(s.name||s.nodeName)+" ")]),t("div",{staticClass:"items-person"},[s.userList&&s.userList.length>0?t("div",{staticClass:"items-person-set",on:{click:function(n){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?[t("div",{staticClass:"items-person-set",on:{click:function(n){return n.stopPropagation(),e.handleOpenPopup(s)}}},[e._v(" \u8BBE\u7F6E ")])]:e._e(),s.userList&&s.userList.length>0?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"&&s.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")]):s.routeTxt&&s.routeTxt.userNames?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s(s.routeTxt.userNames)+" ")]):e._e()],2),s.routeTxt&&s.routeTxt.length>0?t("div",{staticClass:"views-items-includes"},[t("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),t("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(n,r){return t("div",{key:n.type},[n.ids&&n.ids.length>0?t("div",[t("div",{staticClass:"include"},[t("b",{staticClass:"include include-type",class:["include-"+n.type]},[e._v(e._s(n.type=="user"?"\u7528\u6237":n.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),t("span",{staticClass:"include include-name"},[e._v(e._s(n.name))])]),r!==s.routeTxt.length-1?t("div",{staticClass:"include include-assign",class:["include-assign-"+(n.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}):e._e()],2),e.endNode?t("div",{staticClass:"treenode-single"},e._l(e.nodeItems,function(s){return t("div",{staticClass:"treenode-single-items"},[t("div",{staticClass:"personselect"},[t("div",{staticClass:"personselect-name"},[e._v(" "+e._s(s.name||s.nodeName)+" ")]),s.nodeType!=="endEvent"?t("div",{staticClass:"items-person"},[s.userList&&s.userList.length>0?t("div",{staticClass:"items-person-set",on:{click:function(n){return e.handleOpenFixedPerson(s)}}},[e._v(" \u9009\u62E9 ")]):s.setPersonnel?t("div",{staticClass:"items-person-name"},[e._v(" "+e._s((s.assignees||[]).map(function(n){return n.name}).join(","))+" ")]):[t("div",{staticClass:"items-person-set",on:{click:function(n){return n.stopPropagation(),e.handleOpenPopup(s)}}},[e._v(" \u8BBE\u7F6E ")])],t("div",{staticClass:"items-person-name"},[!e.partNode[s.id]&&s.humanPerformerName=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"&&s.noPersonnel?t("div",[e._v(" \u6CA1\u6709\u53EF\u9009\u4EBA\u5458\uFF0C\u8BF7\u68C0\u67E5\u914D\u7F6E ")]):e._e(),e._v(" "+e._s(e.partNode[s.id]?e.partNode[s.id].join(","):"")+" ")])],2):e._e(),s.routeTxt&&s.routeTxt.length>0?t("div",{staticClass:"views-items-includes"},[t("div",{staticClass:"views-items-name2"},[e._v(" "+e._s("\u6240\u5C5E\u8303\u56F4")+" ")]),t("div",{staticClass:"views-items-and2"},e._l(s.routeTxt,function(n,r){return t("div",{key:n.type},[n.ids&&n.ids.length>0?t("div",[t("div",{staticClass:"include"},[t("b",{staticClass:"include include-type",class:["include-"+n.type]},[e._v(e._s(n.type=="user"?"\u7528\u6237":n.type=="dept"?"\u90E8\u95E8":"\u5C97\u4F4D"))]),t("span",{staticClass:"include include-name"},[e._v(e._s(n.name))])]),r!==s.routeTxt.length-1?t("div",{staticClass:"include include-assign",class:["include-assign-"+(n.assigneeRetain?"true":"false")]},[e._v(e._s(s.assigneeRetain=="true"?"\u4E14\u540C\u65F6\u6EE1\u8DB3":"\u6216\u8005\u6EE1\u8DB3"))]):e._e()]):e._e()])}),0)]):e._e()])])}),0):e._e(),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[e.visible?t("departPerson",e._b({attrs:{isTitle:!1},on:{callback:e.handleCallback}},"departPerson",e.entity,!1)):e._e()],1),t("SelectFixedPerson",{attrs:{visible:e.showFixedPerson,list:e.fixedPersonList,multiple:e.currentClickItem.loopCardinality==-1,select:e.fixedSelect[e.partObjId]||[]},on:{updateList:e.handleClickFixedPerson,updateVisible:e.updateFixedPersonVisible,updateSelect:e.updateFixedSelect,confirm:e.handleSumbitFixedPerson}}),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}})],1):e._e()},qb=[];const hC="",Jb={name:"TreeNode",components:{SelectFixedPerson:Au,TopPopup:Xe,TopTips:ft,departPerson:Pt.departPerson},props:{items:{type:Array,default:()=>[]},endNode:{type:Boolean,default:!1},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}},checkType:{type:String,default:""}},data(){return{currentClickItem:{},fixedSelect:{},showFixedPerson:!1,fixedPersonList:[],nodeItems:[],visible:!1,checkBoxArr:[],checkBoxItem:[],radioArr:"",radioItem:[],partObjId:"",entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partNode:{},partNodeArr:{},textTips:"",statusTips:!1,typeTips:"success",gateVars:{},onMultiNodeData:{},onVarsData:{},personMake:[],personMakeList:{}}},watch:{items:{handler(e,i){e&&e.length&&(this.multiNodeParticipant={},this.partNode={},this.partNodeArr={},this.gateVars={},this.nodeItems=JSON.parse(JSON.stringify(e)),this.nodeItems,this.nodeItems.map(t=>{if(Array.isArray(t.assignees),t.assignees,t.userTaskModelDTO||(t.userTaskModelDTO={name:t.name,humanPerformer:{name:t.humanPerformerName},routeTxt:t.routeTxt,participantList:t.participantList}),Array.isArray(t.assignees)&&t.assignees.length&&(this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNodeArr[t.id]||(this.partNodeArr[t.id]=[]),t.assignees.forEach(s=>{this.partNodeArr,this.multiNodeParticipant;const n=this.partNodeArr[t.id].find(a=>a.name==s.name),r=this.multiNodeParticipant[t.id].find(a=>a==s.id);n||this.partNodeArr[t.id].push(s),r||this.multiNodeParticipant[t.id].push(s.id)})),t.userTaskModelDTO&&t.userTaskModelDTO.participantList&&t.userTaskModelDTO.participantList.length&&t.userTaskModelDTO.humanPerformer&&t.userTaskModelDTO.participantList.map(s=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.partNodeArr[t.id]||(this.partNodeArr[t.id]=[]),this.multiNodeParticipant[t.id].includes(s.id)||this.multiNodeParticipant[t.id].push(s.id),this.partNode[t.id].includes(s.name)||this.partNode[t.id].push(s.name),this.partNodeArr[t.id].find(n=>n.name==s.name)||this.partNodeArr[t.id].push(s)}),(t.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||t.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(t.id),t.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let s={taskDefId:t.id,postIds:[]};t.userTaskModelDTO.routeTxt.postList.map(n=>{s.postIds.push(n.postId)}),this.param.request.post("/auth/user/getTaskAuditor",{deptId:this.param.taskNode&&this.param.taskNode[0].vars?this.param.taskNode[0].vars._businessDeptId:"",taskPostIds:[s]}).then(n=>{let r=[],a=[],o=!1;n.data.map(p=>{p.posts.map(h=>{a.push(...h.users),h.users.length==1?r.push(...h.users):o=!0})}),r.length>t.loopCardinality&&t.loopCardinality>0&&(o=!0),o&&(r=[]);let l=[];n.data[0].posts.map(p=>{l.push({...p,projectPost:!(this.param.taskNode&&this.param.taskNode[0].vars&&this.param.taskNode[0].vars._businessDeptId),id:p.users.map(h=>h.id)})}),a.length==0&&this.$set(t,"noPersonnel",!0),r.length>0&&(this.$set(t,"noPersonnel",!0),this.partObjId=t.id,this.handleCallback(r)),t.positionArray=l})}this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(s=>{s.code==200&&(this.personMakeList=s.data)})}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.$emit("onVars",this.gateVars),this.checkType=="ExclusiveGatewayModel"&&e.length==1&&this.handleRadioClick(e[0]))},immediate:!0,deep:!0}},computed:{check(){return ua}},mounted(){},methods:{clear(){this.radioArr="",this.radioItem=[],this.checkBoxArr=[],this.checkBoxItem=[],this.multiNodeParticipant={},this.partNode={},this.partNodeArr={},this.gateVars={}},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"||e=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"},handleCallback(e){this.visible=!1,this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name),this.partNodeArr[this.partObjId].push(i)}),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 i=e.childNode&&e.childNode.length?e.childNode:e&&e.length?e:[e];i&&i.length&&i.forEach((t,s)=>{t.participantList&&t.participantList.length?t.participantList.forEach((n,r)=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.partNodeArr[t.id]||(this.partNodeArr[t.id]=[]),this.multiNodeParticipant[t.id].includes(n.id)||this.multiNodeParticipant[t.id].push(n.id),this.partNode[t.id].includes(n.name)||this.partNode[t.id].push(n.name),this.partNodeArr[t.id].find(a=>a.name==n.name)||this.partNodeArr[t.id].push(n)}):t.id&&t.humanPerformerName=="\u56FA\u5B9A\u4EBA\u5458"&&this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[t.id]}).then(n=>{n.code==200&&(this.partNode[t.id]={},this.partNode[t.id]=n.data[t.id].split(";"))}),this.nodeType=="outing"&&(this.onVarsData&&(this.gateVars={...this.gateVars,...this.onVarsData}),this.$emit("onVars",this.gateVars))})},handleOpenFixedPerson(e){this.currentClickItem=e,this.partObjId=e.id,this.showFixedPerson=!0,this.fixedPersonList=e.userList||[]},updateFixedPersonVisible(e){this.showFixedPerson=e},updateFixedSelect(e){},handleSumbitFixedPerson(e){this.$set(this.fixedSelect,this.partObjId,e),this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.userId),this.partNode[this.partObjId].push(i.realName),this.partNodeArr[this.partObjId].push({...i,name:i.realName,id:i.userId})}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.showFixedPerson=!1},handleClickFixedPerson(e){this.$set(this.multiNodeParticipant,this.partObjId,[]),this.$set(this.partNode,this.partObjId,[]),this.$set(this.partNodeArr,this.partObjId,[]),e.map((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.userId),this.partNode[this.partObjId].push(i.realName),this.partNodeArr[this.partObjId].push({...i,name:i.realName,id:i.userId})}),this.onMultiNodeData&&(this.multiNodeParticipant={...this.multiNodeParticipant,...this.onMultiNodeData}),this.$emit("onMultiNode",this.multiNodeParticipant),this.$emit("onMultiNodeObj",this.partNodeArr),this.showFixedPerson=!1},handleOpenPopup(e){if(this.visible=!0,this.partObjId=e.id,this.nodeType=="nexting"?e={...e,...e.userTaskModelDTO}:this.nodeType=="outing"?e={...e,humanPerformer:{name:e.humanPerformerName}}:this.handleTips("\u52A0\u8F7D\u5931\u8D25,\u8BF7\u5237\u65B0",!0,"error"),e.humanPerformer.name=="\u56FA\u5B9A\u5355\u4F4D"||e.humanPerformerName=="\u56FA\u5B9A\u5355\u4F4D"){let i,t=[];this.multiNodeParticipant,this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((s,n)=>{t.push({type:3,id:s.id,subjectId:s.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:i,checkedArray:t}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"||e.humanPerformerName=="\u56FA\u5B9A\u90E8\u95E8"){let i,t=[],s=[];e.routeTxt.departmentIds.forEach((n,r)=>{e.routeTxt.departmentIds.length>1?t.push(n.rangeId):i=n.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((n,r)=>{s.push({type:3,id:n.id,deptId:i,subjectId:n.subjectId})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCodeArray:t,checkedArray:s}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCode:i,checkedArray:s}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"||e.humanPerformerName=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"){let i=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((t,s)=>{i.push({type:3,id:t.id,subjectId:t.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:[5],request:this.param.request,codeType:[8],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,positionArray:e.positionArray,checkedArray:i}}else{let i=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.partNodeArr[e.id].forEach((t,s)=>{i.push({type:3,id:t.id,subjectId:t.subjectId})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:i}}},handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,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))}}},Tu={};var Hb=Ae(Jb,Gb,qb,!1,Kb,"4064b34c",null,null);function Kb(e){for(let i in Tu)this[i]=Tu[i]}const Wb=function(){return Hb.exports}();var Yb=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"test"},[e.param.nodeLoading?[e._m(0)]:[e.nodeItems&&e.nodeItems.length?t("div",e._l(e.nodeItems,function(s,n){return t("div",{key:n,staticClass:"treeperson"},[s.nodeType=="endEvent"?[t("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")])]:s.branches&&s.branches.length?[e.nodeType=="nexting"&&s.nodeType!="inclusiveGateway"?[s.nodeType=="exclusiveGateway"&&s.branches.length>1?t("div",{staticClass:"treeperson-firstnode"},[e._m(1,!0),e._l(s.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.branches)}}},[t("span"),e._v(" "+e._s(r.id.includes("Flow")?r.nodeName||r.name?r.nodeName||r.name:r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:"":r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name||r.nodeName||r.name:r.nodeName||r.name)+" ")])})],2):s.nodeType=="exclusiveGateway"&&s.branches.length==1?t("div",{staticClass:"treeperson-firstnode"},e._l(s.branches,function(r,a){return t("div",[t("span"),t("tree-person",{ref:"TreePersonRef",refInFor:!0,attrs:{items:r.branches&&r.branches.length>0?r.branches:[r],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})],1)}),0):s.nodeType=="inclusiveGateway"&&s.branches.length>=1?t("div",{staticClass:"treeperson-firstnode"},[e._m(2,!0),e._l(s.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleMultiFirstNodeClick(r)}}},[t("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])})],2):t("div",{staticClass:"treeperson-firstnode"},[e._m(3,!0),e._l(s.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.branches)}}},[t("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])})],2),e.childrenItems&&e.childrenItems.length>0&&e.childrenItems[0].nodeInfoDTO&&e.childrenItems[0].nodeInfoDTO.nodeType!="userTask"?[t("tree-person",{key:e.firstCheck,ref:"TreePersonRef",refInFor:!0,attrs:{items:[e.firstCheckItem],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})]:e.childrenItems&&e.childrenItems.length>1&&e.childrenItems[0].nodeInfoDTO&&e.childrenItems[0].nodeInfoDTO.nodeType=="userTask"?[e._m(4,!0),t("div",{staticClass:"treeperson-checkbox-box"},e._l(e.childrenItems,function(r,a){return t("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstMultiCheckSub.includes(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleMultiFirstNodeClickSub(r,e.childrenItems)}}},[t("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])}),0),e._l(e.filterMultiItemsSub(e.childrenItems),function(r){return[t("TreeNode",{attrs:{items:r.branches&&r.branches.length>0?r.branches:[r.nodeInfoDTO?r.nodeInfoDTO:r],endNode:!0,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(a){return e.onMultiNode(a,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]})]:[t("TreeNode",{attrs:{items:e.childrenItems,endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:e.nodeType=="nexting"&&s.nodeType=="inclusiveGateway"?[s.nodeType=="inclusiveGateway"&&s.branches.length>=1?t("div",{staticClass:"treeperson-firstnode"},[e._m(5,!0),t("div",{staticClass:"treeperson-checkbox-box"},e._l(s.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstMultiCheck.includes(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleMultiFirstNodeClick(r,s.branches)}}},[t("span"),e._v(" "+e._s(r.nodeInfoDTO?r.nodeInfoDTO.nodeName||r.nodeInfoDTO.name:r.nodeName||r.name)+" ")])}),0)]):e._e(),e._l(e.filterMultiItems(s.branches),function(r){return[t("TreeNode",{attrs:{items:r.branches&&r.branches.length>0?r.branches:[r.nodeInfoDTO?r.nodeInfoDTO:r],endNode:!0,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(a){return e.onMultiNode(a,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]})]:e._e()]:s.nodeType=="exclusiveGateway"&&s.branches&&s.branches.length>1?[e._m(6,!0),s.type=="ExclusiveGatewayModel"&&s.branches.length==1?e._e():t("div",{staticClass:"treeperson-firstnode"},e._l(s.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-checkbox",class:e.firstCheck==r.id?"treeperson-checkbox-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.branches)}}},[t("span"),e._v(" "+e._s(r.nodeName||r.name)+" ")])}),0),t("TreeNode",{attrs:{items:e.childrenItems,endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:function(r){return e.onMultiNode(r,"multi")},onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]:s.nodeType=="exclusiveGateway"&&s.branches&&s.branches.length==1?[e._m(7,!0),e.nodeType=="nexting"?[t("TreeNode",{attrs:{items:[s.branches[0]],endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]:[t("TreeNode",{attrs:{items:[s.branches[0]],endNode:!0,nodeType:"nexting",param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:s.id||s.nodeInfoDTO&&s.nodeInfoDTO.id?[e.nodeType=="nexting"?[s.nodeInfoDTO&&s.nodeInfoDTO.nodeType=="exclusiveGateway"?[e._m(8,!0),e._l(s.nodeInfoDTO.branches,function(r,a){return t("div",{key:a,staticClass:"treeperson-radio",class:e.firstCheck==(r.nodeInfoDTO?r.nodeInfoDTO.id:r.id)?"treeperson-radio-active":"",on:{click:function(o){return e.handleFirstNodeClick(r,s.nodeInfoDTO.branches)}}},[t("span"),e._v(" "+e._s(r.nodeName||r.name)+" ")])}),t("tree-person",{key:e.firstCheck,ref:"TreePersonRef",refInFor:!0,attrs:{items:[e.firstCheckItem],nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})]:[e._m(9,!0),t("TreeNode",{attrs:{items:[s.nodeInfoDTO?s.nodeInfoDTO:s],endNode:e.childrenEndItems,nodeType:e.nodeType,param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:[t("TreeNode",{attrs:{items:[s],endNode:!0,nodeType:"nexting",param:e.param,checkType:e.firstType},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj,onVars:e.onVars}})]]:void 0],2)}),0):e._e()]],2)},zb=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",[t("span",[e._v("\u4E0B\u4E00\u8282\u70B9: ")]),t("b",{staticStyle:{"font-size":"16px"}},[e._v("\u8282\u70B9\u52A0\u8F7D\u4E2D\uFF0C\u8BF7\u7A0D\u540E......")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"treeperson-title"},[e._v(" \u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9 "),t("span",{staticClass:"treeperson-title--re"},[e._v("*")])])}];const fC="",Xb={name:"tree-person",components:{TreeNode:Wb},props:{items:{type:Array,default:()=>[]},nodeType:{type:String,default:"outing"},param:{type:Object,default:()=>{}}},data(){return{nodeItems:[],visible:!1,partObjId:"",partNode:[],firstCheck:"",firstCheckItem:{},firstType:"",firstMultiCheck:[],firstMultiCheckItem:[],firstMultiType:[],firstMultiCheckSub:[],firstMultiCheckItemSub:[],firstMultiTypeSub:[],childrenItems:[],childrenEndItems:!1,childrenItemsSub:[],childrenEndItemsSub:!1,gateVars:{},multiNode:{},partNodeArr:{},getVars:{}}},watch:{items:{handler(e,i){e&&e.length&&(this.nodeType=="nexting"?(this.nodeItems=[],this.childrenEndItems=!0,e.forEach(t=>{t={...t,...t.userTaskModelDTO},this.nodeItems.push(t)})):this.nodeType=="outing"&&(this.nodeItems=e),this.nodeItems.length==1&&this.nodeItems[0].type=="ExclusiveGatewayModel"&&this.nodeItems[0].childNode&&this.nodeItems[0].childNode.length==1&&this.handleFirstNodeClick(this.nodeItems[0]),this.nodeItems)},immediate:!0,deep:!0}},methods:{filterMultiItems(e=[]){return this.firstMultiCheck,e.filter(i=>this.firstMultiCheck.includes(i.nodeInfoDTO?i.nodeInfoDTO.id:i.id))},filterMultiItemsSub(e=[]){return this.firstMultiCheckSub,e.filter(i=>this.firstMultiCheckSub.includes(i.nodeInfoDTO?i.nodeInfoDTO.id:i.id))},onMultiNode(e,i=""){i&&Object.prototype.toString.call(e)=="[object Object]"?Object.prototype.toString.call(this.multiNode)=="[object Object]"?Object.keys(e).forEach(t=>{e[t]||(e[t]=[""]),e[t]&&e[t].length>=1?this.multiNode[t]=e[t].filter(s=>s):this.multiNode[t]=e[t]}):this.multiNode=e:this.multiNode=e,this.$emit("onMultiNode",this.multiNode)},onMultiNodeObj(e){this.partNodeArr=e,this.$emit("onMultiNodeObj",this.partNodeArr)},onVars(e){e?this.getVars={...this.gateVars,...e}:this.getVars={...this.gateVars},this.$emit("onVars",this.getVars)},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"||e=="\u56FA\u5B9A\u89D2\u8272/\u5C97\u4F4D"},handleMultiFirstNodeClick(e,i=[]){let t=e;if(t&&t.nodeInfoDTO&&(t=t.nodeInfoDTO),this.firstMultiCheck.includes(t.id)){this.firstMultiCheck=this.firstMultiCheck.filter(s=>s!=t.id),this.firstMultiCheckItem=this.firstMultiCheckItem.filter(s=>s.id!=t.id),this.firstMultiType=this.firstMultiType.filter(s=>s!=t.nodeType),delete this.param.selChildrenItems[t.id];return}if(t){this.firstMultiCheck.push(t.id),this.firstMultiCheckItem.push(t),this.firstMultiType.push(t.nodeType);let s=[t];t.branches&&t.branches.length?(this.childrenItems=t.branches,this.childrenEndItems=!1):(this.childrenItems=[t],this.childrenEndItems=!0),i.forEach(n=>{delete this.param.selChildrenItems[n.id],this.param.selChildrenItems[t.id]=(this.childrenItems||[]).map(r=>r.nodeInfoDTO||r)}),this.gateVars={},s.forEach(n=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(n.incomingConditionItemList)&&n.incomingConditionItemList.length>0&&(this.param.vars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue,this.gateVars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue)})}},handleMultiFirstNodeClickSub(e,i=[]){let t=e;if(t&&t.nodeInfoDTO&&(t=t.nodeInfoDTO),this.firstMultiCheckSub.includes(t.id)){this.firstMultiCheckSub=this.firstMultiCheckSub.filter(s=>s!=t.id),this.firstMultiCheckItemSub=this.firstMultiCheckItemSub.filter(s=>s.id!=t.id),this.firstMultiTypeSub=this.firstMultiTypeSub.filter(s=>s!=t.nodeType),this.childrenItemsSub=this.childrenItemsSub.filter(s=>s.id!=t.id),i.forEach(s=>{delete this.param.selChildrenItems[s.nodeInfoDTO?s.nodeInfoDTO.id:s.id]}),delete this.param.selChildrenItems[t.id];return}if(t){this.firstMultiCheckSub.push(t.id),this.firstMultiCheckItemSub.push(t),this.firstMultiTypeSub.push(t.nodeType);let s=[t];t.branches&&t.branches.length?(this.childrenItemsSub.push(t.branches),this.childrenEndItemsSub=!1):(this.childrenItemsSub.push(t),this.childrenEndItemsSub=!0),i.forEach(n=>{delete this.param.selChildrenItems[n.nodeInfoDTO?n.nodeInfoDTO.id:n.id],this.param.selChildrenItems[t.id]=(this.childrenItemsSub||[]).map(r=>r.nodeInfoDTO||r)}),this.gateVars={},s.forEach(n=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(n.incomingConditionItemList)&&n.incomingConditionItemList.length>0&&(this.param.vars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue,this.gateVars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue)})}},handleFirstNodeClick(e,i=[]){let t=e;if(t&&t.nodeInfoDTO&&(t=t.nodeInfoDTO),t){this.firstCheck=t.id,this.firstCheckItem=t,this.firstType=t.nodeType;let s=[t];t.branches&&t.branches.length?(this.childrenItems=t.branches,this.childrenEndItems=!1):(this.childrenItems=[t],this.childrenEndItems=!0),i.forEach(n=>{const r=this.param.selChildrenItems[n.nodeInfoDTO?n.nodeInfoDTO.id:n.id];Array.isArray(r)&&r.forEach(a=>{delete this.param.selChildrenItems[a.id]}),delete this.param.selChildrenItems[n.nodeInfoDTO?n.nodeInfoDTO.id:n.id],this.param.selChildrenItems[t.id]=(this.childrenItems||[]).map(a=>a.nodeInfoDTO||a)}),this.gateVars={},s.forEach(n=>{(!this.param||!this.param.vars)&&(this.param.vars={}),Array.isArray(n.incomingConditionItemList)&&n.incomingConditionItemList.length>0&&(this.param.vars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue,this.gateVars[n.incomingConditionItemList[0].itemName]=n.incomingConditionItemList[0].compareValue)})}}}},Iu={};var Zb=Ae(Xb,Yb,zb,!1,$b,"04a361c0",null,null);function $b(e){for(let i in Iu)this[i]=Iu[i]}const e0=function(){return Zb.exports}();var t0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"top-popup-zindex",class:e.className,style:`${e.isIndex?`z-index:${e.isIndex}`:""}`},[t("div",{staticClass:"top-popup-mask",style:e.show&&e.isMask?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:function(s){e.isMaskClose&&e.handleClose()}}}),!e.isTips&&!e.isDrawer?t("div",{staticClass:"top-popup",style:e.show?"transform: translateY(0)":"transform: translateY(150%)"},[t("div",{staticClass:"top-popup-header"},[t("div",{staticClass:"header-cancel",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),t("div",{staticClass:"header-title"},[e._v(e._s(e.titleText))]),t("div",{staticClass:"header-comfig",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])]),t("div",{staticClass:"top-popup-body"},[e._t("default")],2)]):!e.isTips&&e.isDrawer?t("div",{staticClass:"top-popup-drawer",class:e.show?"top-popup-drawer--active":"",style:e.width?`width:${e.width};`:""},[t("div",{staticClass:"top-popup-drawer--body"},[e._t("default")],2)]):e.isTips&&!e.isDrawer?t("div",{staticClass:"top-tips",style:e.show?"visibility: visible; opacity: 1; transform: scale(1)":"visibility: hidden; opacity: 0; transform: scale(1.2)"},[t("div",{staticClass:"top-tips-header"},[e._v(e._s(e.titleText))]),t("div",{staticClass:"top-tips-body"},[e._v(e._s(e.context))]),t("div",{staticClass:"top-tips-footer"},[t("div",{staticClass:"top-tips-btn",on:{click:e.handleCancel}},[e._v(" "+e._s(e.cancelText)+" ")]),t("div",{staticClass:"top-tips-btn",on:{click:e.handleComfig}},[e._v(" "+e._s(e.comfigText)+" ")])])]):e._e()])},i0=[];const mC="",s0={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,i){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"),i=navigator.userAgent.includes("iPad");return e||i}},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})}},ku={};var n0=Ae(s0,t0,i0,!1,r0,"37f0c2ca",null,null);function r0(e){for(let i in ku)this[i]=ku[i]}const Nu=function(){return n0.exports}();var a0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"sign-container",style:e.setDynamicVars},[t("div",{staticClass:"canvas-container"},[e.paths.length==0&&e.currentPath.length==0?t("div",{staticClass:"tips"},[e._v("\u8BF7\u5728\u6B64\u533A\u57DF\u7B7E\u5B57")]):e._e(),t("canvas",{ref:"canvasRef",class:{"uni-canvas-style":e.isUniCanvas()},attrs:{id:"canvas-id","canvas-id":"canvas-id"},on:{touchmove:e.draw,touchstart:e.startDrawing,touchend:e.finishDrawing}})]),t("div",{staticClass:"history"},[t("div",{staticClass:"img-grid",on:{click:function(s){return e.useHistory(0)}}},[e.historyPics[0]?t("img",{attrs:{src:e.historyPics[0]?e.historyPics[0].url:"",fit:"scale-down"}}):e._e()]),t("div",{staticClass:"img-grid",on:{click:function(s){return e.useHistory(1)}}},[e.historyPics[1]&&e.historyPics[1].url?t("img",{attrs:{src:e.historyPics[1].url,fit:"scale-down"}}):e._e()]),t("div",{staticClass:"img-grid",staticStyle:{"margin-right":"10rpx"},on:{click:function(s){return e.useHistory(2)}}},[e.historyPics[2]&&e.historyPics[2].url?t("img",{attrs:{src:e.historyPics[2].url,fit:"scale-down"}}):e._e()])]),t("div",{staticClass:"actions-area"},[t("button",{staticClass:"btns-common cmf-btn",on:{click:e.confirmSave}},[e._v("\u786E\u8BA4")]),t("button",{staticClass:"btns-common",on:{click:e.cancelSign}},[e._v("\u8FD4\u56DE")]),t("button",{staticClass:"btns-common",on:{click:e.undo}},[e._v("\u64A4\u9500")]),t("button",{staticClass:"btns-common",on:{click:e.clearCanvas}},[e._v("\u6E05\u7A7A")])]),t("signDrawer",{ref:"TopPopupSign",attrs:{visible:e.confirmVisible,titleText:"",isDrawer:!1,isTips:!0,context:"\u63D0\u4EA4\u4E4B\u540E\u5C06\u4E0D\u80FD\u518D\u4FEE\u6539,\u786E\u8BA4\u8981\u63D0\u4EA4\u7B7E\u540D\u5417?",comfig:e.saveSignature},on:{"update:visible":function(s){return e.confirmVisible=s}}})],1)},o0=[];const gC="",l0={props:{request:{type:Function,default:()=>{}}},components:{signDrawer:Nu},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 i=this.$refs.canvasRef.getBoundingClientRect(),t=(e.touches[0].clientX-i.left)*(this.$refs.canvasRef.width/i.width)/window.devicePixelRatio,s=(e.touches[0].clientY-i.top)*(this.$refs.canvasRef.height/i.height)/window.devicePixelRatio;this.ctx.beginPath(),this.ctx.moveTo(t,s),this.currentPath.push({x:t,y:s})}else this.isDrawing=!0,this.currentPath=[],this.currentPath.push({x:e.touches[0].x,y:e.touches[0].y})},draw(e){if(!!this.isDrawing)if(this.$refs.canvasRef.getContext&&this.currentPath.length>0){const i=this.$refs.canvasRef.getBoundingClientRect(),t=(e.touches[0].clientX-i.left)*(this.$refs.canvasRef.width/i.width)/window.devicePixelRatio,s=(e.touches[0].clientY-i.top)*(this.$refs.canvasRef.height/i.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(t,s),this.ctx.stroke(),this.currentPath.push({x:t,y:s})}else this.currentPath.length>0&&(this.currentPath.push({x:e.touches[0].x,y:e.touches[0].y}),this.ctx.moveTo(this.currentPath[this.currentPath.length-2].x,this.currentPath[this.currentPath.length-2].y),this.ctx.lineTo(this.currentPath[this.currentPath.length-1].x,this.currentPath[this.currentPath.length-1].y),this.ctx.setLineWidth(3),this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.setStrokeStyle("#000"),this.ctx.stroke(),this.ctx.draw(!0))},undo(){if(this.$refs.canvasRef.getContext){this.paths.pop(),this.ctx.clearRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height),this.ctx.fillStyle="#fff",this.ctx.fillRect(0,0,this.$refs.canvasRef.width,this.$refs.canvasRef.height);for(let e of this.paths)for(let i=0;i<e.length-1;i++){const{x:t,y:s}=e[i];i===0?(this.ctx.beginPath(),this.ctx.moveTo(t,s)):(this.ctx.lineTo(t,s),this.ctx.stroke())}}else if(this.paths.length>0){this.paths.pop(),this.ctx.clearRect(0,0,this.$refs.canvasRef.$el.offsetWidth,this.$refs.canvasRef.$el.offsetHeight),this.ctx.draw(!0);for(let e of this.paths)for(let i=0;i<e.length-1;i++)this.ctx.moveTo(e[i].x,e[i].y),this.ctx.lineTo(e[i+1].x,e[i+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,i;(i=(e=this.$refs)==null?void 0:e.canvasRef)!=null&&i.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,i){const t=new Blob([e],{type:"text/plain"}),r=new File([t],"text.txt").size/1024;if(r<=64){const a=document.getElementById("canvas-id");return this.getRotatedDataURL(a,-90,i)}else{if(r>300)return null;{let a,o;if(i<.005)return null;if(i-.05>0){a=i-.05;const l=document.getElementById("canvas-id");return o=this.getRotatedDataURL(l,-90,a),this.fixAccuracy(o,a)}else{a=i/2;const l=document.getElementById("canvas-id");return o=this.getRotatedDataURL(l,-90,a),this.fixAccuracy(o,a)}}}},confirmSave(){if(this.paths.length==0){this.$emit("validateFail","\u8BF7\u7B7E\u5B57!");return}this.confirmVisible=!0},saveSignature(){if(this.confirmVisible=!1,this.savaClock)return;this.savaClock=!0;let e=this;if(this.$refs.canvasRef.getContext){let i=.6;const t=document.getElementById("canvas-id");return this.getRotatedDataURL(t,-90,i),!0}else uni.canvasToTempFilePath({canvasId:"canvas-id",success(i){e.signatureImage=i.tempFilePath;let t=JSON.parse(localStorage.getItem("signaturesArr"))||[];t.unshift(this.signatureImage),this.$set(this,"historyPics",t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},getRotatedDataURL(e,i,t){let s=e.width/window.devicePixelRatio,n=e.height/window.devicePixelRatio,r=i*Math.PI/180,a=Math.max(s*Math.abs(Math.cos(r)),n*Math.abs(Math.sin(r))),o=Math.max(s*Math.abs(Math.sin(r)),n*Math.abs(Math.cos(r)));const l=document.createElement("canvas"),p=l.getContext("2d");l.width=a,l.height=o,p.translate(a/2,o/2),p.rotate(r),p.drawImage(e,-s/2,-n/2,s,n),l.toBlob(h=>{this.uploadImage(h)},"image/png",.95)},async uploadImage(e,i){this.loading=!0;const t=new FormData;t.append("file",e,i||`signature-${Date.now()}.png`);const s=await this.request.post("/file/upload",t,{headers:{"Content-Type":"multipart/form-data"}});if(this.loading=!1,!s.success)return;let n=JSON.parse(localStorage.getItem("signaturesArr"))||[];n.unshift(s.data),this.$set(this,"historyPics",n.slice(0,3)),localStorage.setItem("signaturesArr",JSON.stringify(this.historyPics)),this.$emit("saveSignature",s.data,!0)}},computed:{setDynamicVars(){return{"--action-height":`${this.historyHeight}px`}}},mounted(){var e;if(this.historyHeight=(e=document.querySelector(".history"))==null?void 0:e.offsetHeight,this.$refs.canvasRef.getContext){let i=document.querySelector(".canvas-container");if(i){let t=document.getElementById("canvas-id");const s=i.offsetWidth,n=i.offsetHeight-this.actionHeight-this.historyHeight;t.style.width=`${s}px`,t.style.height=`${n}px`,t.width=s*window.devicePixelRatio,t.height=n*window.devicePixelRatio,this.ctx=this.$refs.canvasRef.getContext("2d"),this.ctx.scale(window.devicePixelRatio,window.devicePixelRatio),this.ctx.fillStyle="#fff",this.ctx.fillRect(0,0,t.width,t.height)}}else{this.ctx=uni.createCanvasContext("canvas-id",this);const i=uni.getSystemInfoSync().pixelRatio;this.ctx.scale(i,i)}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)}},Su={};var c0=Ae(l0,a0,o0,!1,u0,"58762489",null,null);function u0(e){for(let i in Su)this[i]=Su[i]}const p0=function(){return c0.exports}();var d0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-popup-content"},[e.param.ProcessInsObj&&e.param.ProcessInsObj.processDefId!="obj_94014ede99b6495d8f6d5977314faa15"?t("div",{staticClass:"process-popup-content-msg"},[e.param.isQuickReply?t("div",{staticClass:"process-pc-label"},[e._v("\u5FEB\u6377\u56DE\u590D")]):e._e(),e.param.isQuickReply?t("div",{staticClass:"process-pc-value",staticStyle:{display:"flex"}},[t("div",{staticClass:"process-radio",staticStyle:{width:"100%"}},[e.param.isDocument?e._l(e.msgCheckList,function(s){return t("div",{staticClass:"process-radio-item",class:s==e.commentMsg?"process-radio-item--check":"",on:{click:function(){return e.commentMsg=s}}},[t("span"),e._v(" "+e._s(s)+" ")])}):e._l(e.msgCheckListS,function(s){return t("div",{staticClass:"process-radio-item",class:s==e.commentMsg?"process-radio-item--check":"",on:{click:function(){return e.commentMsg=s}}},[t("span"),e._v(" "+e._s(s)+" ")])}),e.param.isMsg?t("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px","margin-left":"auto"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")]):e._e()],2)]):e._e(),e.param.isMsg&&!e.param.isQuickReply?t("div",[t("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),t("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u610F\u89C1 "),e.param.isRequire?t("span",{staticClass:"process-pc-label--re"},[e._v("*")]):e._e()]),t("div",{staticClass:"process-pc-value"},[t("div",{staticClass:"process-popup-textarea"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),t("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?t("div",{staticClass:"msg-btn"},[t("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]):e._e(),t("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length==1&&e.nextNodeData[0].nodeType=="endEvent"?t("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]):e.nextNodeData&&e.nextNodeData.nodeType=="endEvent"?t("div",[e._v(" \u4E0B\u4E00\u8282\u70B9\uFF1A\u7ED3\u675F\u4E8B\u4EF6 ")]):e.param.ProcessInsObj.taskParentId?e._e():t("TreePerson",{ref:"TreePersonRef",attrs:{items:e.nextNodeData,nodeType:"nexting",param:e.param},on:{onMultiNode:e.onMultiNode,onMultiNodeObj:e.onMultiNodeObj}})],1),e._t("completeSlot"),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[t("div",{staticStyle:{height:"100%"}},[e.visible?t("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[t("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),t("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}}),e.labels=="1"?t("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),t("signDrawer",{ref:"TopPopupSign",attrs:{visible:e.signVisible,titleText:"\u7B7E\u5B57",isDrawer:!0,width:"100vw"},on:{"update:visible":function(s){return e.signVisible=s}}},[t("div",{staticStyle:{height:"100%"}},[e.signVisible?t("TopSign",{attrs:{request:e.param.request},on:{saveSignature:e.handleSignature,validateFail:e.noticeFail,close:e.handleClose}}):e._e()],1)])],2)},h0=[];const yC="",f0={name:"complete",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:ft,attchViews:bi,TopPopup:Xe,departPerson:Pt.departPerson,MsgList:ws,TreePerson:e0,TopSign:p0,signDrawer:Nu},computed:{check(){return ua},checkS(){return Ub},isSelectPerson(){if(this.pureTip=!1,this.nextNodeData,this.taskNode,this.multiNodeParticipant,this.$refs.TreePersonRef,this.param,Array.isArray(this.nextNodeData)&&this.nextNodeData[0].nodeType!="endEvent"){let e=this.param.selChildrenItems||{},i=[];if(Object.keys(e).filter(s=>s.startsWith("Activity")).forEach(s=>{i=i.concat(e[s])}),i.length==0&&Object.values(e).forEach(s=>{Array.isArray(s)&&s.length>0&&s.forEach(n=>{(n.id||"").startsWith("Activity")&&(i=i.concat(n))})}),i.length>0){let s="";const n=i.every(r=>{let a=this.multiNodeParticipant[r.id];a=(a||[]).filter(l=>l);const o=a&&a.length>0;return o||(s=r),o});return n?!1:s.name}else if(this.nextNodeData[0].nodeType=="exclusiveGateway"&&this.nextNodeData[0].branches&&this.nextNodeData[0].branches.length==1){const s=this.findUserTaskNode(this.nextNodeData[0].branches[0]);let n=(this.multiNodeParticipant[s.id]||[]).filter(a=>a);const r=n&&n.length>0;return this.nextNodeData[0].branches[0],r?!1:s.name}else if(this.nextNodeData[0].nodeType=="exclusiveGateway"&&this.nextNodeData[0].branches&&this.nextNodeData[0].branches.length>1){const s=this.$refs.TreePersonRef.childrenItems||null;if(s&&s.length>0){let n="";return s.every(a=>{const o=this.multiNodeParticipant[a.id]&&this.multiNodeParticipant[a.id].length>0;return o||(n=a),o})?!1:n.name}else return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"}else if(this.nextNodeData[0].nodeType=="userTask"){let s=(this.multiNodeParticipant[this.nextNodeData[0].id]||[]).filter(n=>n);return s&&s.length>0?!1:this.nextNodeData[0].name}}else return!1;if(this.nextNodeData.nodeType!="endEvent"){let e=this.param.selChildrenItems||{},i=[];if(Object.keys(e).filter(s=>s.startsWith("Activity")).forEach(s=>{i=i.concat(e[s])}),i.length==0&&Object.values(e).forEach(s=>{Array.isArray(s)&&s.length>0&&s.forEach(n=>{(n.id||"").startsWith("Activity")&&(i=i.concat(n))})}),i.length>0){let s="";const n=i.every(r=>{let a=this.multiNodeParticipant[r.id];a=(a||[]).filter(l=>l);const o=a&&a.length>0;return o||(s=r),o});return n?!1:s.name}else if(this.nextNodeData.nodeType=="exclusiveGateway"&&this.nextNodeData.branches&&this.nextNodeData.branches.length==1){const s=this.findUserTaskNode(this.nextNodeData.branches[0]);let n=(this.multiNodeParticipant[s.id]||[]).filter(a=>a);const r=n&&n.length>0;return this.nextNodeData.branches[0],r?!1:s.name}else if(this.nextNodeData.nodeType=="exclusiveGateway"&&this.nextNodeData.branches&&this.nextNodeData.branches.length>1){const s=this.$refs.TreePersonRef.childrenItems||null;if(s&&s.length>0){let n="";return s.every(a=>{const o=this.multiNodeParticipant[a.id]&&this.multiNodeParticipant[a.id].length>0;return o||(n=a),o})?!1:n.name}else return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"}else if(this.nextNodeData.nodeType=="userTask"){let s=(this.multiNodeParticipant[this.nextNodeData.id]||[]).filter(n=>n);return s&&s.length>0?!1:this.nextNodeData.name}}else return!1;if(Array.isArray(this.nextNodeData)&&this.nextNodeData.length==1&&this.nextNodeData[0].userTaskModelDTO&&this.taskNode&&this.taskNode.length>0&&this.taskNode[0].taskState!=4&&this.taskNode[0].taskState!=11){let e=this.nextNodeData[0].userTaskModelDTO.humanPerformer.name;if(e!="\u56FA\u5B9A\u8D26\u6237"&&e!="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173"&&JSON.stringify(this.multiNodeParticipant)=="{}")return this.nextNodeData[0].userTaskModelDTO.name}return this.pureTip=!0,"\u8BF7\u9009\u62E9\u4E0B\u4E00\u6B65\u5BA1\u6279\u8282\u70B9"},signRequired(){return!!this.param.extendedProperties.find(i=>i.name=="signature")}},data(){return{pureTip:!1,showFile:!1,attachRule:{limit:0,required:!1},partNodeArr:{},commentMsg:"",style:{color:"#333",disableColor:"#F7F6F6"},textTips:"",statusTips:!1,typeTips:"success",limit:"",requires:"",labels:"",otherList:"",attchLists:[],nextNodeData:[],taskNode:[],outGatewayUserTaskModel:[],formData:{},visible:!1,entity:{source:"0",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:!0},multiNodeParticipant:{},partObjId:[],partNode:{},canCheck:!0,radioCheck:"",radioCheckChild:[],radioCheckName:"",radioCheckNameList:[],radioCheckNode:[],radioCheckNodeList:[],partList:[],gateVars:{},personMake:[],personMakeList:{},visibleListMsg:!1,visibleMsgComfig:!1,msgCheck:"",msgCheckList:["\u540C\u610F","\u5982\u62DF","\u5DF2\u9605"],msgCheckListS:["\u540C\u610F","\u5DF2\u9605"],actionName:"",partNodeS:[],makeType:"",digitalSignature:"",signVisible:!1}},watch:{"param.nodeLoading":{handler(e,i){e||(this.param,this.nextNodeData=this.param.nextNodeData,this.nextNodeData&&this.nextNodeData.length?(this.nextNodeData.map((t,s)=>{t.nodeType!=="endEvent"&&(t.userTaskModelDTO||(t.userTaskModelDTO={name:t.name,humanPerformer:{name:t.humanPerformerName},routeTxt:t.routeTxt,participantList:t.participantList}),t.userTaskModelDTO&&t.userTaskModelDTO.participantList&&t.userTaskModelDTO.participantList.length&&t.userTaskModelDTO.participantList.map(n=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.multiNodeParticipant[t.id].includes(n.id)||this.multiNodeParticipant[t.id].push(n.id),this.partNode[t.id].includes(n.name)||this.partNode[t.id].push(n.name)}),(t.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||t.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(t.id))}),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(t=>{t.code==200&&(this.personMakeList=t.data)})):this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map((t,s)=>{t.nodeType!=="endEvent"&&t.participantList&&t.participantList.length&&t.participantList.map(n=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.multiNodeParticipant[t.id].includes(n.id)||this.multiNodeParticipant[t.id].push(n.id),this.partNode[t.id].includes(n.name)||this.partNode[t.id].push(n.name)})}))}},"param.visible":{handler(e,i){this.nextNodeData=this.param.nextNodeData,this.taskNode=this.param.taskNode,this.outGatewayUserTaskModel=this.param.outGatewayUserTaskModel,this.actionName=this.param.actionName,this.attachShow(),this.showFile,this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map(t=>{t.type!=="endEvent"&&(t.userTaskModelDTO={name:t.name,humanPerformer:{name:t.humanPerformerName},routeTxt:t.routeTxt,participantList:t.participantList},t.humanPerformer={name:t.humanPerformerName})}),this.nextNodeData&&this.nextNodeData.length?(this.nextNodeData.map((t,s)=>{t.nodeType!=="endEvent"&&(t.userTaskModelDTO||(t.userTaskModelDTO={name:t.name,humanPerformer:{name:t.humanPerformerName},routeTxt:t.routeTxt,participantList:t.participantList}),t.userTaskModelDTO&&t.userTaskModelDTO.participantList&&t.userTaskModelDTO.participantList.length&&t.userTaskModelDTO.participantList.map(n=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.multiNodeParticipant[t.id].includes(n.id)||this.multiNodeParticipant[t.id].push(n.id),this.partNode[t.id].includes(n.name)||this.partNode[t.id].push(n.name)}),(t.userTaskModelDTO.humanPerformer.name=="\u56FA\u5B9A\u8D26\u6237"||t.userTaskModelDTO.humanPerformer.name=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&this.personMake.push(t.id))}),this.personMake&&this.personMake.length&&this.param.request.post(`aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:this.personMake}).then(t=>{t.code==200&&(this.personMakeList=t.data)})):this.outGatewayUserTaskModel&&this.outGatewayUserTaskModel.length&&this.outGatewayUserTaskModel.map((t,s)=>{t.nodeType!=="endEvent"&&t.participantList&&t.participantList.length&&t.participantList.map(n=>{this.multiNodeParticipant[t.id]||(this.multiNodeParticipant[t.id]=[]),this.partNode[t.id]||(this.partNode[t.id]=[]),this.multiNodeParticipant[t.id].includes(n.id)||this.multiNodeParticipant[t.id].push(n.id),this.partNode[t.id].includes(n.name)||this.partNode[t.id].push(n.name)})})},immediate:!0,deep:!0}},created(){this.makeDelegateTaskButtonAnnex()},methods:{findUserTaskNode(e){return e?e.nodeInfoDTO&&e.nodeInfoDTO.nodeType!="userTask"?this.findUserTaskNode(e.nodeInfoDTO.branches[0]):e.nodeInfoDTO?e.nodeInfoDTO:e:{}},handleMakeMsg(){this.commentMsg==""&&!this.commentMsg.length?(this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success"),this.visibleMsgComfig=!1):this.visibleMsgComfig=!0},handleTipsCancel(){this.visibleMsgComfig=!1},handleTipsComfig(){this.handleTips("",!0,"loading"),this.visibleMsgComfig=!1,this.param.request.post("/auth/user/opinion/save",{opinionName:this.commentMsg}).then(e=>{e.code===200?this.handleTips("\u8BBE\u7F6E\u6210\u529F!",!0,"success"):this.handleTips(e.msg,!0,"error")}).catch(e=>{this.handleTips(e.msg,!0,"error")})},handleMsg(e){this.commentMsg=e,this.visibleListMsg=!1},handleSaveNode(e){this.makeType=="InclusiveGatewayModel"?(this.radioCheckNameList.includes(e.id)?this.radioCheckNameList.splice(this.radioCheckNameList.indexOf(e.id),1):(this.radioCheckNameList.push(e.id),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue),this.gateVars[e.itemName]=e.compareValue):(this.radioCheckNameList=[],this.radioCheckNodeList=[],this.radioCheckNameList.push(e.id),e.childNode&&e.childNode.length&&(this.radioCheckNodeList=e.childNode),this.gateVars[e.incomingConditionItemList[0].itemName]=e.incomingConditionItemList[0].compareValue,this.gateVars[e.itemName]=e.compareValue)},handleSaveNodeS(e){this.makeType=="InclusiveGatewayModel"?this.radioCheckNode.includes(e.id)?this.radioCheckNode.splice(this.radioCheckNode.indexOf(e.id),1):this.radioCheckNode.push(e.id):this.radioCheckNode&&this.radioCheckNode.length?this.radioCheckNode=[]:(this.radioCheckNode.push(e.id),e.childNode&&e.childNode.length&&this.radioCheckNodeList.push(e.childNode))},forRadioChild(e,i){e.map((t,s)=>{t.childNode&&t.childNode.length?this.forRadioChild(t.childNode,!0):i&&this.radioCheckChild.push(t)})},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(i=>{i.participantList&&i.participantList.length?i.participantList.map(t=>{this.multiNodeParticipant[i.id]||(this.multiNodeParticipant[i.id]=[]),this.partNode[i.id]||(this.partNode[i.id]=[]),this.multiNodeParticipant[i.id].includes(t.id)||this.multiNodeParticipant[i.id].push(t.id),this.partNode[i.id].includes(t.name)||this.partNode[i.id].push(t.name)}):this.param.request.post(`/aws/repository/getParticipantsOfPerformerNames?taskInstId=${this.param.taskInstId}`,{userTaskDefIds:[i.id]}).then(t=>{t.code==200&&(this.partNodeS=[],this.partNodeS.push(t.data[i.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 i,t=[];e.routeTxt.companyIds.map((s,n)=>{i=s.name}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((s,n)=>{t.push({type:3,id:s})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,subjectName:i,checkedArray:t}}else if(e.humanPerformer.name=="\u56FA\u5B9A\u90E8\u95E8"){let i,t=[],s=[];e.routeTxt.departmentIds.forEach((n,r)=>{e.routeTxt.departmentIds.length>1?t.push(n.rangeId):i=n.rangeId}),this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].forEach((n,r)=>{s.push({type:3,id:n,deptId:i})}),e.routeTxt.departmentIds.length>1?this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCodeArray:t,checkedArray:s}:this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,deptCode:i,checkedArray:s}}else{let i=[];this.multiNodeParticipant[e.id]&&this.multiNodeParticipant[e.id].length&&this.multiNodeParticipant[e.id].map((t,s)=>{i.push({type:3,id:t})}),this.entity={source:"1",type:this.param.isCheckType||"0",orgType:this.param.isOrgType||[0],request:this.param.request,codeType:this.param.isCodeType||[3],multiple:e.loopCardinality==-1,maxMultiple:e.loopCardinality==-1?0:1,checkedArray:i}}},handleOpenMsg(){this.visibleListMsg=!0},async confirm(){this.signRequired?this.signConfirm():this.commonConfirm()},async commonConfirm(){if(this.param.ProcessInsObj.processDefId=="obj_94014ede99b6495d8f6d5977314faa15"&&(this.commentMsg="\u540C\u610F"),!this.commentMsg&&this.param.isRequire){this.handleTips("\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1!",!1,"success");return}if(this.requires&&this.attchLists.length<=0){this.handleTips("\u8BF7\u4E0A\u4F20\u9644\u4EF6!",!1,"success");return}if(this.isSelectPerson!==!1){this.handleTips(this.pureTip?this.isSelectPerson:"\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 o=0;if(this.radioCheckNameList.map((l,p)=>{(!this.multiNodeParticipant[l]||!this.multiNodeParticipant[l].length)&&this.radioCheckChild.map((h,m)=>{h.id==l&&(h.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"||h.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&(!h.childNode||!h.childNode.length?o+=1:this.radioCheckNode.map((A,k)=>{(!this.multiNodeParticipant[A]||!this.multiNodeParticipant[A].length)&&(o+=1),e[A]=this.multiNodeParticipant[A]}))}),e[l]=this.multiNodeParticipant[l]}),o>0){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}}}else{if(this.multiNodeParticipant[this.partObjId]&&!this.multiNodeParticipant[this.partObjId].length){this.handleTips("\u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA!",!1,"success");return}e=this.multiNodeParticipant}if(this.signRequired){this.signVisible=!0;return}if(this.param.beforeFunction&&!await this.param.beforeFunction())return;(this.param.incomingConditionItemList||[]).forEach(o=>{let l=this.param.vars||this.gateVars||{};l[o.itemName]||(l[o.itemName]="")}),this.handleTips("",!0,"loading");let i=[];const t=Array.isArray(this.param.nextNodeData)?this.param.nextNodeData[0]:this.param.nextNodeData;t.setPersonnel?i=t.assignees:i=(this.partNodeArr[t.id]||[]).map(o=>({id:o.id,name:o.name})),Object.keys(e).forEach(o=>{Array.isArray(e[o])&&(e[o]=e[o].filter(l=>l)),(!e[o]||Array.isArray(e[o])&&e[o].length<=0)&&delete e[o]});let s=t&&t.nodeType!="endEvent"&&(!t.branches||t.branches.length<=0),n=t&&t.nodeType!="endEvent"&&t.branches&&t.branches.length==1&&t.branches[0].nodeInfoDTO&&t.branches[0].nodeInfoDTO.nodeType!="endEvent",r=t&&t.nodeType!="endEvent"&&t.branches&&t.branches.length==1&&!t.branches[0].nodeInfoDTO&&t.branches[0].nodeType!="endEvent";if((s||n||r)&&!Object.keys(e).length){let l={};return s?l=t:n?l=t.branches[0].nodeInfoDTO:r&&(l=t.branches[0]),this.handleTips(l.nodeType?"\u8BF7\u9009\u62E9["+l.name+"]\u5BA1\u6279\u4EBA!":"\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA",!0,"error"),!1}Date.now()&&(this.param.processInstId,this.param.actionComplete,this.commentMsg,this.param.taskInstId,this.param.vars||this.gateVars,this.attchLists),await this.param.request.post("/bladex/blade-workflow/tis/complete",{pass:!0,assignees:i,processInstanceId:this.param.processInstId,actionName:this.param.actionComplete,commentMsg:this.commentMsg,taskId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:e,attachment:this.attchLists}).then(o=>{o.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(o.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(this.pureTip?this.isSelectPerson:"\u8BF7\u9009\u62E9["+this.isSelectPerson+"]\u5BA1\u6279\u4EBA!",!1,"success");return}this.commentMsg||(this.commentMsg=" ");let i={};if(this.radioCheckNameList&&this.radioCheckNameList.length){if(this.radioCheckChild[0].type!=="EndEventModel"){let l=0;if(this.radioCheckNameList.map((p,h)=>{(!this.multiNodeParticipant[p]||!this.multiNodeParticipant[p].length)&&this.radioCheckChild.map((m,A)=>{m.id==p&&(m.humanPerformerName!=="\u56FA\u5B9A\u8D26\u6237"||m.humanPerformerName!=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u76F8\u5173")&&(!m.childNode||!m.childNode.length?l+=1:this.radioCheckNode.map((k,V)=>{(!this.multiNodeParticipant[k]||!this.multiNodeParticipant[k].length)&&(l+=1),i[k]=this.multiNodeParticipant[k]}))}),i[p]=this.multiNodeParticipant[p]}),l>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}i=this.multiNodeParticipant}if(e){this.signVisible=!0;return}if(!this.digitalSignature){this.handleTips("\u8BF7\u7B7E\u5B57!",!1,"success");return}if(this.param.beforeFunction&&!await this.param.beforeFunction())return;this.handleTips("",!0,"loading"),this.signVisible=(!1)(this.param.incomingConditionItemList||[]).forEach(l=>{let p=this.param.vars||this.gateVars||{};p[l.itemName]||(p[l.itemName]="")});let t=[];const s=Array.isArray(this.param.nextNodeData)?this.param.nextNodeData[0]:this.param.nextNodeData;s.setPersonnel?t=s.assignees:t=(this.partNodeArr[s.id]||[]).map(l=>({id:l.id,name:l.name})),Object.keys(i).forEach(l=>{Array.isArray(i[l])&&(i[l]=i[l].filter(p=>p)),(!i[l]||Array.isArray(i[l])&&i[l].length<=0)&&delete i[l]});let n=s&&s.nodeType!="endEvent"&&(!s.branches||s.branches.length<=0),r=s&&s.nodeType!="endEvent"&&s.branches&&s.branches.length==1&&s.branches[0].nodeInfoDTO&&s.branches[0].nodeInfoDTO.nodeType!="endEvent",a=s&&s.nodeType!="endEvent"&&s.branches&&s.branches.length==1&&!s.branches[0].nodeInfoDTO&&s.branches[0].nodeType!="endEvent";if((n||r||a)&&!Object.keys(i).length){let p={};return n?p=s:r?p=s.branches[0].nodeInfoDTO:a&&(p=s.branches[0]),this.handleTips(p.nodeType?"\u8BF7\u9009\u62E9["+p.name+"]\u5BA1\u6279\u4EBA!":"\u8BF7\u9009\u62E9\u4E0B\u4E00\u8282\u70B9\u5BA1\u6279\u4EBA",!0,"error"),!1}await this.param.request.post("/bladex/blade-workflow/tis/complete",{pass:!0,assignees:t,processInstanceId:this.param.processInstId,actionName:this.param.actionComplete,commentMsg:this.commentMsg,taskId:this.param.taskInstId,vars:this.param.vars||this.gateVars,multiNodeParticipant:i,digitalSignature:this.digitalSignature,attachment:this.attchLists}).then(l=>{l.code==200?(this.$emit("handleClosePopup1"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal(),this.commentMsg=""):this.handleTips(l.msg,!0,"error")})},attachShow(e="\u529E\u7406"){const i=(this.param||{}).extendedProperties||[];let t=!1,s,n="";s=i.find(a=>a.name=="completeButtonAnnex"),n=s?s.value:"",n&&(t=!0);let r="";if(typeof n!="string"&&n!=null&&n.map(a=>{a.indexOf(this.operationLabel)!=-1&&(t=!0,r=a)}),r&&(n=r),t){const a=n.split(":");this.attachRule.required=a[1]=="true",this.attachRule.limit=a[2]==-1?999:a[2],this.otherList=n;let o=this.otherList.split(":");this.limit=o[2],this.requires=JSON.parse(o[1]),this.labels=o[0]}return this.labels,this.limit,t},makeDelegateTaskButtonAnnex(){},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name)})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((t,s)=>{t.size=t.fileSize,t.format=t.name.substring(t.name.lastIndexOf(".")+1),t.uploadTime=t.createTime,t.processInstId=this.param.processInstId,t.taskInstId=this.param.taskInstId,t.name=t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,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,i){this.digitalSignature=e,i&&(this.signVisible=!1,this.signConfirm(!1))},noticeFail(e){this.handleTips(e,!1,"success")},handleClose(){this.signVisible=!1}}},_u={};var m0=Ae(f0,d0,h0,!1,g0,"5ea02048",null,null);function g0(e){for(let i in _u)this[i]=_u[i]}const Pu=function(){return m0.exports}();var y0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-popup-content"},[t("div",{staticClass:"process-popup-content-msg"},[e.param.isMsg?t("div",[t("div",{staticClass:"process-radio-item",staticStyle:{color:"#1389ff","font-size":"14px"},on:{click:function(s){return e.handleOpenMsg()}}},[e._v(" \u5E38\u7528\u610F\u89C1 ")])]):e._e(),e._m(0),t("div",{staticClass:"process-pc-value"},[t("div",{staticClass:"process-popup-textarea"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),t("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])]),e.param.isMsg?t("div",{staticClass:"msg-btn"},[t("span",{staticClass:"msg-btn-click",on:{click:function(s){return e.handleMakeMsg()}}},[e._v("\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1")])]):e._e()])]),e.taskNode&&e.taskNode.length>0&&e.taskNode[0].taskState!=4?t("div",{staticClass:"process-popup-content-person"},[e.nextNodeData.length?[e._l(e.nextNodeData,function(s){var n,r;return[e.isOption(s==null||(n=s.userTaskModelDTO)===null||n===void 0||(r=n.humanPerformer)===null||r===void 0?void 0:r.name)?[t("div",[e._v(" "+e._s(s.userTaskModelDTO.name)+" "),t("br"),e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:function(a){return e.handleOpenPopup(s.id)}}},[t("div",{staticClass:"process-pc-value--people"},[e.partNode[s.id]&&e.partNode[s.id].length?t("div",{staticClass:"process-pc-value--data"},e._l(e.partNode[s.id],function(a,o){return t("span",[e._v(" "+e._s(o==0?a:`,${a}`)+" ")])}),0):t("div",{staticClass:"process-pc-value--data",staticStyle:{color:"#888"}},[t("span",[e._v(" \u8BF7\u9009\u62E9\u5BA1\u6279\u4EBA ")])])])])]:e._e()]})]:e.outGatewayUserTaskModel.length?[e._l(e.outGatewayUserTaskModel,function(s){return[e.isOption(s.humanPerformerName)?[t("div",{staticStyle:{"font-size":"15px"}},[e._v(" "+e._s(s.name)+" ")]),t("div",{staticClass:"process-pc-label"},[e._v(" \u5BA1\u6279\u4EBA "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])]),t("div",{staticClass:"process-pc-value",on:{click:e.handleOpenPopup}},[t("div",{staticClass:"process-pc-value--people"},[e._v(" "+e._s(234)+" ")])])]:e._e()]})]:e._e()],2):e._e(),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visible,titleText:"\u9009\u4EBA",isDrawer:!0},on:{"update:visible":function(s){return e.visible=s}}},[t("div",{staticStyle:{height:"100%"}},[e.visible?t("departPerson",e._b({attrs:{isTitle:!1,visible:e.visible,request:e.param.request},on:{"update:visible":function(s){e.visible=s},callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e()],1)]),e.labels=="\u62D2\u7EDD"?t("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e(),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[t("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),t("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}})],1)},v0=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-pc-label"},[e._v(" \u62D2\u7EDD\u7406\u7531\uFF1A "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const vC="",A0={name:"cancel",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:ft,attchViews:bi,TopPopup:Xe,departPerson:Pt.departPerson,MsgList:ws},watch:{param:{async handler(e,i){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((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name),this.entity.checkedArray.push({type:3,id:i.id,subjectId:i.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((t,s)=>{t.size=t.fileSize,t.format=t.originFileName.substring(t.originFileName.lastIndexOf(".")+1),t.uploadTime=t.createTime,t.processInstId=this.param.processInstId,t.taskInstId=this.param.taskInstId,t.name=t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u62D2\u7EDD")}}},Du={};var b0=Ae(A0,y0,v0,!1,C0,"3be26d49",null,null);function C0(e){for(let i in Du)this[i]=Du[i]}const w0=function(){return b0.exports}();var x0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-popup-content"},[t("div",{staticClass:"process-popup-content-msg"},[e._m(0),t("div",{staticClass:"process-pc-value",staticStyle:{display:"inline-block",width:"50%"}},[t("TopDownSelect",{attrs:{option:e.option,optionStyle:"width:calc(100% - 40px);left:20px;",maskShow:!1,border:""},on:{change:e.handleChange}})],1),e._m(1),t("div",{staticClass:"process-pc-value"},[t("div",{staticClass:"process-popup-textarea"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.commentMsg,expression:"commentMsg"}],staticClass:"textarea-item",attrs:{name:"description",cols:"40",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6279\u610F\u89C1(200\u5B57\u4EE5\u5185)",maxlength:"200",onkeyup:"this.value=this.value.replace(/[\\uD800-\\uDFFF]/g,'')"},domProps:{value:e.commentMsg},on:{input:function(s){s.target.composing||(e.commentMsg=s.target.value)}}}),t("div",{staticClass:"process-popup-textarea-num"},[e._v(" "+e._s(e.commentMsg.length)+"/200 ")])])])]),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),t("TopPopup",{ref:"TopPopup",attrs:{visible:e.visibleListMsg,titleText:"\u5E38\u7528\u610F\u89C1",isDrawer:!0},on:{"update:visible":function(s){return e.visibleListMsg=s}}},[t("MsgList",{attrs:{visible:e.visibleListMsg,request:e.param.request,useInfo:e.param.userInfo},on:{handleTips:e.handleTips,handleMsg:e.handleMsg}})],1),t("TopPopup",{attrs:{titleText:"\u64CD\u4F5C\u6D88\u606F\u63D0\u793A",isTips:!0,context:`\u5C06${e.commentMsg}\u8BBE\u7F6E\u4E3A\u5E38\u7528\u610F\u89C1`,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig,visible:e.visibleMsgComfig},on:{"update:visible":function(s){return e.visibleMsgComfig=s}}}),e.labels=="\u9000\u56DE"?t("attchViews",{attrs:{limit:e.limit?e.limit:-1,requires:e.requires,request:e.param.request,linkUrl:e.param.linkUrl},on:{getValue:e.getValues}}):e._e()],1)},E0=[function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-pc-label",staticStyle:{"background-color":"#fff",position:"relative","z-index":"199",display:"inline-block",width:"50%"}},[e._v(" \u9000\u56DE\u8282\u70B9\uFF1A "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])])},function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-pc-label"},[e._v(" \u9000\u56DE\u7406\u7531\uFF1A "),t("span",{staticClass:"process-pc-label--re"},[e._v("*")])])}];const AC="",T0={name:"backNode",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:ft,attchViews:bi,TopPopup:Xe,departPerson:Pt.departPerson,TopDownSelect:yu,MsgList:ws},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,i){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(i=>({...i,name:i.nodeName,id:i.nodeId})).filter(i=>!(i.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((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name),this.entity.checkedArray.push({type:3,id:i.id,subjectId:i.subjectId})})},handleCancel(){},getValues(e){this.attchLists=e},async uploadAttch(){if(this.attchLists.length>0){this.attchLists.map((t,s)=>{t.size=t.fileSize,t.format=t.originFileName.substring(t.originFileName.lastIndexOf(".")+1),t.uploadTime=t.createTime,t.processInstId=this.param.processInstId,t.taskInstId=this.param.taskInstId,t.name=t.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,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("\u9000\u56DE")}}},Ou={};var I0=Ae(T0,x0,E0,!1,k0,"0d20c2b4",null,null);function k0(e){for(let i in Ou)this[i]=Ou[i]}const N0=function(){return I0.exports}();var S0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticStyle:{height:"100%"}},[e.param.visible?t("departPerson",e._b({attrs:{isTitle:!1,request:e.param.request},on:{callback:e.handleCallback,cancel:e.handleCancel}},"departPerson",e.entity,!1)):e._e(),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}})],1)},_0=[];const bC="",P0={name:"ccTask",props:{param:{type:Object,defalut:()=>{}}},components:{TopTips:ft,departPerson:Pt.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,i){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((i,t)=>{t==0?e=i:e=`${e} ${i}`}),await this.param.request.post("/bladex/blade-workflow/tis/createCCTask",{processInstId:this.param.processInstId,taskId:this.param.taskInstId,title:"",participant:e}).then(i=>{i.code==200?(this.$emit("handleClosecctaskTopPopup"),this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success"),window.top.postMessage("success","*"),this.handleFinal()):this.handleTips(i.msg,!0,"error")})},makeDelegateTaskButtonAnnex(){},handleCallback(e){this.visible=!1,this.multiNodeParticipant[this.partObjId]=[],this.partNode[this.partObjId]=[],e.map((i,t)=>{this.multiNodeParticipant[this.partObjId].push(i.id),this.partNode[this.partObjId].push(i.name),this.entity.checkedArray.push({type:3,id:i.id,subjectId:i.subjectId})}),e&&e.length&&this.confirm()},handleCancel(){},getValues(e){this.attchLists=e},isOption(e){return e=="\u4EFB\u610F\u6307\u5B9A"||e=="\u56FA\u5B9A\u90E8\u95E8"||e=="\u56FA\u5B9A\u5355\u4F4D"||e=="\u4E0E\u6D41\u7A0B\u7533\u8BF7\u4EBA\u6240\u5728\u7EC4\u7EC7\u7ED3\u6784\u7684\u4F4D\u7F6E\u76F8\u5173"||e=="\u56FA\u5B9A\u7FA4\u7EC4"},handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()},handleFinal(){this.param.endFunction&&this.param.endFunction("ccTask")}}},Mu={};var D0=Ae(P0,S0,_0,!1,O0,null,null,null);function O0(e){for(let i in Mu)this[i]=Mu[i]}const M0=function(){return D0.exports}();var B0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",{staticClass:"process-btns"},[e.process.status=="todo"?[e.getButton("wf_pass")?t("button",{staticClass:"process-button success",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("examine",!0,["deleted"].includes(e.process.processIsFinished)?"\u91CD\u65B0\u63D0\u4EA4":e.getButton("wf_pass").name)}}},[["deleted"].includes(e.process.processIsFinished)?t("span",[e._v("\u91CD\u65B0\u63D0\u4EA4")]):t("span",[e._v(e._s(e.getButton("wf_pass").name))])]):e._e(),e.getButton("wf_reject")?t("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("examine",!1,(e.backNodes.length>1,e.getButton("wf_reject").name))}}},[e.backNodes.length>1?t("span",[e._v(e._s(e.getButton("wf_reject").name))]):t("span",[e._v(e._s(e.getButton("wf_reject").name))])]):e._e(),e.uid==(e.process.variables||{}).applyUserId?t("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("reminders")}}},[t("span",[e._v("\u50AC\u529E")])]):e._e(),e.getButton("wf_transfer")?t("button",{staticClass:"process-button primary",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("user-select",{type:"transfer",checkType:"radio",name:e.getButton("wf_transfer").name})}}},[e._v(e._s(e.getButton("wf_transfer").name))]):e._e(),e.getButton("wf_delegate")?t("button",{staticClass:"process-button warning",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("user-select",{type:"delegate",checkType:"radio",name:e.getButton("wf_delegate").name})}}},[e._v(" "+e._s(e.getButton("wf_delegate").name)+" ")]):e._e(),e.getButton("wf_rollback")?t("button",{staticClass:"process-button success",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("rollback",e.getButton("wf_rollback").name)}}},[e._v(" "+e._s(e.getButton("wf_rollback").name)+" ")]):e._e(),e.getButton("wf_terminate")?t("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("terminate")}}},[e._v(" "+e._s(e.getButton("wf_terminate").name)+" ")]):e._e(),e.process.isMultiInstance&&e.getButton("wf_add_instance")?t("button",{staticClass:"process-button primary",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("user-select",{type:"addInstance",checkType:"checkbox",name:e.getButton("wf_add_instance").name})}}},[e._v(" "+e._s(e.getButton("wf_add_instance").name)+" ")]):e._e(),e.getButton("wf_cctask")?t("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(s){e.$emit("circulate",e.getButton("wf_cctask").name)}}},[t("span",[e._v(e._s(e.getButton("wf_cctask").name))])]):e._e()]:e._e(),e.process.isOwner&&e.process.isReturnable&&!["deleted"].includes(e.process.processIsFinished)?t("button",{staticClass:"process-button danger",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("withdraw","\u64A4\u9500")}}},[e._v(" \u64A4\u9500 ")]):e._e(),e.getButton("wf_print")?t("button",{staticClass:"process-button info",attrs:{size:"default",disabled:e.loading},on:{click:function(s){return e.$emit("print")}}},[e._v(" "+e._s(e.getButton("wf_print").name)+" ")]):e._e()],2)},R0=[];const CC="",L0={name:"nf-button",components:{TopTips:ft},props:{uid:{type:String,default:""},loading:{type:Boolean,default:!1},buttonList:{type:Array,default:()=>[]},process:{type:Object,default:()=>({variables:{}})},request:{type:[Function,Object],default:()=>({get:()=>{},post:()=>{}})},comment:String},data(){return{isCollapse:!0,nodeVisible:!1,nodeForm:{},nodeOption:{column:[{label:"\u8282\u70B9",prop:"nodeId",type:"select",props:{label:"nodeName",value:"nodeId"},span:24,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u56DE\u9000\u8282\u70B9",trigger:"change"}]}]},backNodes:[]}},watch:{process:{handler(e,i){e&&e.taskId&&this.request.get("/bladex/blade-workflow/process/getBackNodes",{params:{taskId:e.taskId}}).then(t=>{const s=t.data;this.backNodes=s})},deep:!0,immediate:!0}},methods:{handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,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(i=>i.buttonKey==e)}}},Bu={};var F0=Ae(L0,B0,R0,!1,j0,"128c5f57",null,null);function j0(e){for(let i in Bu)this[i]=Bu[i]}const V0={name:"TopProcess",components:{processBtns:function(){return F0.exports}(),TopTab:rb,TopPopup:Xe,TopTips:ft,TopSumbitPopup:Cu},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{currentProcess:{currentProcessOriginData:[],currentMan:[],currentFirstNode:{}},incomingConditionItemList:[],submitLoading:!1,nextTaskNode:{},deptId:"",absoluteTaskId:"",comment:"",processXml:"",approvalData:[],processStatus:{},processDefList:{},processBusiness:{},getFirstProcessNode:{},taskNode:[],taskNodeList:[],taskNodeIds:[],taskState:NaN,taskCurrent:0,taskObj:{},taskId:"",taskNodeShow:!1,actionShow:!1,titleText:"",btnStyle:"",processIntId:"",trackUrl:"",taskCommentList:[],operationCom:null,operationComKey:Date.now(),ProcessInsObj:{button:[],flow:[],form:{},process:{}},popupContext:"",operationParam:{},nextTaskNode:{},annexlabel:"",handleTipsType:"",textTips:"",statusTips:!1,typeTips:"",outGatewayUserTaskModel:[],nextNodeData:[],visibleSong:!1,trackList:[],user:{},canCheck:!0,approveNode:{},restartDataS:{},selfBtnList:[],topNum:144,bottomNum:70,userIdData:"",TopPopup1:!1,cctaskTopPopup:!1,cctaskTopPopupTitle:"\u6284\u9001"}},watch:{processInstId:{async handler(e,i){this.processIntId=this.processInstId||this.formData.processId||this.formData.processInstId,e&&(this.request.get("/bladex/blade-workflow/tis/getTaskModelDetail",{params:{processInstId:this.processInstId}}).then(t=>{var s;if(t.code==200){this.ProcessInsObj={...this.ProcessInsObj,...t.data},this.taskObj.buttons=this.ProcessInsObj.button||[],this.trackList=(((s=t.data)==null?void 0:s.flow)||[]).filter(a=>["userTask","candidate"].includes(a.historyActivityType));const n=((this.ProcessInsObj.process||{}).variables||{}).deptId;this.deptId=n;const r=(this.ProcessInsObj.process||{}).taskId;this.absoluteTaskId=r,this.approvalData=(t.data||{}).flow||[],this.processXml=((t.data||{}).process||{}).xml||"",this.handleGetProcessStatus(),this.$emit("get-process-data",this.ProcessInsObj)}}),this.getCurrentProcess(),this.getUserInfo())},immediate:!0,deep:!0},restartData:{handler(e,i){e&&(this.restartDataS=e)},immediate:!0,deep:!0},selfBtn:{handler(e,i){e&&e.length&&(this.selfBtnList=e)},immediate:!0,deep:!0},uid:{handler(e,i){e&&(this.userIdData=e)},immediate:!0,deep:!0}},mounted(){},computed:{actionBtn(){return this.operBtn.length>3?this.operBtn.slice(3):[]},operBtn(){let e=[];const i=this.ProcessInsObj.process,t=this.ProcessInsObj.button;if(!i||!t)return e;if(this.getButton("wf_pass"),this.needResubmit&&i.status=="todo"&&this.userIdData&&i.isOwner&&["deleted"].includes(i.processIsFinished)&&this.getButton("wf_pass")){let n={};n.name="\u91CD\u65B0\u63D0\u4EA4",n.btnProps={type:"default"},e.push(n),n.click=r=>{this.handlePass("\u91CD\u65B0\u63D0\u4EA4"),this.submitLoading=!0,this.handleActionClose()}}if(!this.isView&&i.status=="todo"&&this.getButton("wf_pass")){let n={};n.name=this.getButton("wf_pass").name,n.btnProps={type:"primary"},e.push(n),n.click=r=>{this.handlePass(this.getButton("wf_pass").name),this.submitLoading=!0,this.handleActionClose()}}if(!this.isView&&i.status=="todo"&&this.getButton("wf_reject")){let n={};n.name=this.getButton("wf_reject").name,n.btnProps={type:"danger"},e.push(n),n.click=r=>{this.handleCancel(this.getButton("wf_reject").name),this.submitLoading=!0,this.handleActionClose()}}if(this.selfBtnList&&this.selfBtnList.length&&this.selfBtnList.map(n=>{let r={};r.name=n.name,r.btnProps={type:n.type},e.push(r),r.click=n.click}),["wf_edit"].map(n=>{if(!this.isView&&i.status=="todo"&&this.getButton(n)){let r={};r.name=this.getButton(n).name,r.btnProps={},r.key=r.name,r.click=()=>{this.$emit("clickCustomButton",r.name)},e.push(r)}}),!this.isView&&i.status=="todo"&&this.getButton("wf_rollback")){let n={};n.name=this.getButton("wf_rollback").name,n.btnProps={type:"danger"},e.push(n),n.click=r=>{this.handleRollbackTask(this.getButton("wf_rollback").name),this.handleActionClose()}}if(!this.isView&&i.status=="todo"&&this.getButton("wf_cctask")){let n={};n.name=this.getButton("wf_cctask").name,n.btnProps={type:"default"},n.click=async r=>{this.handleCirculate(this.getButton("wf_cctask").name),this.handleActionClose()},e.push(n)}if(!this.isView&&i.status=="todo"&&this.getButton("wf_delegate")){let n={};n.name=this.getButton("wf_delegate").name,n.btnProps={type:"warning"},n.key="cc2",n.click=()=>{this.handleUserSelect({type:"delegate",checkType:"radio",name:this.getButton("wf_delegate").name}),this.handleActionClose()},e.push(n)}if(!this.isView&&i.status=="todo"&&this.getButton("wf_terminate")){let n={};n.name=this.getButton("wf_terminate").name,n.btnProps={type:"danger"},n.key="cc3",n.click=()=>{this.handleTerminateProcess(),this.handleActionClose()},e.push(n)}if(!this.isView&&i.status=="todo"&&this.getButton("wf_transfer")){let n={};n.name=this.getButton("wf_transfer").name,n.btnProps={type:"default"},n.click=r=>{this.handleUserSelect({type:"transfer",checkType:"radio",name:this.getButton("wf_transfer").name}),this.handleActionClose()},e.push(n)}if(!this.isView&&this.getButton("wf_add_instance")){let n={};n.name=this.getButton("wf_add_instance").name,n.btnProps={type:"primary"},n.click=r=>{this.handleUserSelect({type:"addInstance",checkType:"checkbox",name:this.getButton("wf_add_instance").name}),this.handleActionClose()},e.push(n)}if(i.pass==!1&&i.isOwner&&this.processIntId){let n={};n.name="\u50AC\u529E",n.btnProps={type:"default"},n.click=r=>{this.handleReminders("\u50AC\u529E"),this.handleActionClose()},e.push(n)}if(this.processIntId&&i.isOwner&&i.isReturnable&&!["deleted"].includes(i.processIsFinished)){let n={};n.name="\u64A4\u9500",n.btnProps={type:"default"},n.click=r=>{this.handleWithdrawTask("\u64A4\u9500"),this.handleActionClose()},e.push(n)}return console.error(e,"btnList"),e},processCardHeight(){let e=this.topNum+this.bottomNum-10;return this.isAdditional&&!this.operBtn&&!this.operBtn.length&&!this.ProcessInsObj.end&&(e-=this.bottomNum),this.hideHeader&&(e-=204),`calc(100vh - ${e}px)`},processBtn(){if(this.isAdditional&&!this.operBtn&&!this.operBtn.length&&!this.ProcessInsObj.end)return`-${this.bottomNum}px`}},methods:{async getCurrentProcess(){this.request.get("/bladex/blade-workflow/repository/queryTaskNodeList",{params:{processInstId:this.processIntId}}).then(e=>{if(e.code==200){const i={};if(i.currentProcessOriginData=e.data||[],i.currentProcessOriginData.length>0){let t=i.currentProcessOriginData[0],s=(t.currentName||"").split(","),n=(t.avatar||"").split(",");s=s.map((r,a)=>({realName:r,avatar:n[a]||"",phone:"",ancestorNames:[]})),i.currentMan=s,i.currentFirstNode=t,this.currentProcess=i}}else this.currentProcess={currentProcessOriginData:[],currentMan:[],currentFirstNode:{}}}).catch(e=>{console.error(e)})},getButton(e){const i=(this.ProcessInsObj.button||[]).find(t=>t.buttonKey==e);return i},handleActionBtn(e){switch(e.buttonKey){case"wf_pass":this.handleExamine(!0,["deleted"].includes(this.ProcessInsObj.process.processIsFinished)?"\u91CD\u65B0\u63D0\u4EA4":e.name);break;case"wf_reject":this.handleExamine(!1,e.name);break;case"wf_transfer":this.handleTransfer(e.name);break;case"wf_add_instance":this.handleAddInstance(e.name);break;case"wf_rollback":this.handleRollbackTask(e.name);break;case"wf_transfer":this.handleTransfer(e.name);break;case"wf_terminate":this.handleTerminateProcess(e.name);case"wf_cctask":this.handleCirculate(e.name);break}this.handleActionClose()},handleDraft(){this.submitLoading=!0},handleExamine(e,i){e?this.handlePass(i):this.handleCancel(i),this.submitLoading=!0},async handlePass(e){this.operationParam.nodeLoading=!0,this.before?this.before().then(()=>{this.showOperation(Pu,e)}):this.showOperation(Pu,e),this.deptId&&(await this.getNextNode(this.deptId),this.operationParam={...this.operationParam,nodeLoading:!1,incomingConditionItemList:this.incomingConditionItemList,nextNodeData:this.nextTaskNode})},handleCancel(e){this.showOperation(w0,e)},handleUserSelect({type:e,checkType:i,name:t}){e=="transfer"?this.handleTransfer(t):e=="addInstance"&&this.handleAddInstance(t)},async handleTransfer(e){this.deptId&&await this.getNextNode(this.deptId),this.showOperation(Qb,e)},async handleAddInstance(e){this.deptId&&await this.getNextNode(this.deptId),this.showOperation(Bb,e)},handlePrint(){},handleRollbackTask(e){this.showOperation(N0,e)},handleTerminateProcess(){},handleWithdrawTask(e){this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText="\u64A4\u9500",this.popupContext="\u786E\u5B9A\u64A4\u9500\u5417?",this.handleTipsType="\u64A4\u9500"},handleReminders(e){this.$refs.TopPopup2.handleOpen(),this.handleActionClose(),this.titleText="\u50AC\u529E",this.popupContext="\u786E\u5B9A\u50AC\u529E\u5417?",this.handleTipsType="\u50AC\u529E"},handleCirculate(e){this.showOperation(M0,e,this.request,this.taskObj.ccTaskButtonAnnex,"\u6284\u9001"),this.cctaskTopPopupTitle=e},async getNextNode(e){if(this.ProcessInsObj.process&&(this.ProcessInsObj.process||{}).taskParentId)return!0;let i;try{i=await this.request.get("/bladex/blade-workflow/tis/simulation",{params:{taskId:this.absoluteTaskId,processInstId:this.processIntId}})}catch(s){console.error(s),i={}}let t=i.data||{};i.code==200&&!i.data.evaluation&&(this.incomingConditionItemList=[],t.branches=await this.getOutgoingProcessNode(this.absoluteTaskId,i.data.id)),i.code==200&&i.data.evaluation&&i.data.branches&&i.data.branches.length>0&&i.data.branches[0].nodeType!="userTask"&&(this.incomingConditionItemList=[],t.branches=await this.getOutgoingProcessNode(this.absoluteTaskId,i.data.branches[0].id)),t=await this.getSelectFixData(t,e),this.nextTaskNode=t,this.operationParam={...this.operationParam,nextNodeData:(this.nextTaskNode||{}).id?[this.nextTaskNode]:[]}},async getNodeUser({deptId:e,intersection:i,userIds:t,postIds:s,deptIds:n}){return await this.request.post("/auth/user/getTaskAuditor",{deptId:e,intersection:i,userIds:t,postIds:s,deptIds:n})},handleGetHeight(){this.$nextTick(()=>{setTimeout(()=>{let e=document.getElementById("process-header"),i=document.getElementById("process-footer");this.bottomNum=i?i.scrollHeight+10:70,this.topNum=e?e.scrollHeight+10:144},1e3)})},handleTestsss(e,i){},handleTestS(){this.handleTips("\u63D0\u4EA4\u6210\u529F!",!1,"success")},handleTest(){this.visibleSong=!0},async getUserInfo(){let e=await this.request.get("/app/user/info");e.code===200&&(this.user=e.data||{},this.userIdData=e.data.userId)},async handleGetSimulation(e){this.handleTips("",!0,"loading");let i={processInstId:this.processInstId,taskInstId:this.taskNode.length?this.taskNode[0].taskId:"",vars:e,errorTip:!1},t=await this.request.post("/aws/tis/simulation",i);if(t.success){this.handleTips("",!1,"success"),this.nextNodeData=t.data;for(let s=0;s<this.nextNodeData.length;s++)this.approveNode=this.nextNodeData[s]}else{let s=this.taskNode&&this.taskNode.length?this.taskNode[0].taskId:"";this.outGatewayUserTaskModel=await this.getOutgoingProcessNode(s,"")}},async getSelectFixData(e,i){let t=JSON.parse(JSON.stringify(e));if(t.nodeType!="userTask"&&Array.isArray(t.branches))for(let s=0;s<t.branches.length;s++){let n=t.branches[s],r=n.nodeInfoDTO?n.nodeInfoDTO:n;try{r=await this.getSelectFixData(r,i)}catch(a){}n.nodeInfoDTO?n.nodeInfoDTO=r:n=r,t.branches[s]=n}else if(t.nodeType=="userTask"&&!t.setPersonnel){let s=cu(t),n;try{n=await this.getNodeUser({deptId:i,intersection:s.intersection?1:0,userIds:s.userIds,postIds:s.postIds,deptIds:s.deptIds}),n.code==$enum.apiCode.success}catch(r){}n.code==200&&(t.userList=n.data)}return t},async getOutgoingProcessNode(e,i){let t=await this.request.get("/bladex/blade-workflow/tis/getOutgoingProcessNode",{params:{taskId:e,processNodeId:i}});if(t.code==200){if(t.data&&t.data.length){for(let s=0;s<t.data.length;s++){let n=t.data[s];n.incomingConditionItemList&&n.incomingConditionItemList.length!==0&&(n.nodeInfoDTO.incomingConditionItemList=n.incomingConditionItemList,this.incomingConditionItemList.push(...n.incomingConditionItemList)),n.nodeInfoDTO.nodeType!="userTask"&&(n.nodeInfoDTO.branches=await this.getOutgoingProcessNode(e,n.nodeInfoDTO.id))}return this.handleTips("",!1,"success"),t.data}return this.handleTips("",!1,"success"),[]}return[]},handleGet(e){this.taskNode=[].concat(e),this.taskNodeShow=!1,this.actionShow=!1,this.handleGetProcessStatus(),this.handleGetUserTaskModel()},handleGetProcessStatus(){this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/repository/findTaskTodoInfoByTaskId",{params:{taskId:this.absoluteTaskId||""}}).then(e=>{e.code==200&&(this.processStatus={...e.data||{},...e.data.vars?e.data.vars:{},bizStatusName:e.data.taskState,currUserName:e.data.currentName,allUserNames:e.data.currentName}),this.handleGetHeight(),this.handleTips("",!1,"success")}).catch(e=>{this.handleGetHeight()}).finally(()=>{})},handleGetUserTaskModel(){this.taskNode&&this.taskNode.length?this.request.get("/aws/repository/getUserTaskModel",{params:{taskId:this.taskNode[0].taskId}}).then(e=>{e.code==200&&(this.taskObj=e.data),this.handleGetHeight(),this.$refs.topTips.handleClose()}).catch(e=>{this.handleGetHeight(),this.$refs.topTips.handleClose()}):this.$refs.topTips.handleClose()},async showOperation(e,i,t,s,n){switch(this.beforeFunction&&(this.operationParam.beforeFunction=this.beforeFunction),this.operationParam.request=this.request,this.annexlabel=s||"fasdfsafdsa",this.titleText=i,this.operationCom=e,this.operationComKey=Date.now(),this.operationParam.selChildrenItems={},this.operationParam.annex=s||"fasdfsafdsa",this.operationParam.subjectId=this.formData.subjectId,this.operationParam.processInstId=this.processIntId,this.operationParam.taskInstId=(this.ProcessInsObj.process||{}).taskId||"",this.operationParam.variables=(this.ProcessInsObj.process||{}).variables||{},this.operationParam.extendedProperties=(this.ProcessInsObj.form||{}).extendedProperties||[],this.operationParam.actionName=i,this.operationParam.formData=this.formData,this.operationParam.ProcessInsObj=this.ProcessInsObj.process||{},this.operationParam.userInfo=this.user,this.nextTaskNode,this.operationParam.nextNodeData=(this.nextTaskNode||{}).id?[this.nextTaskNode]:[],this.operationParam.incomingConditionItemList=this.incomingConditionItemList,this.operationParam.outGatewayUserTaskModel=this.outGatewayUserTaskModel,this.operationParam.taskNode=this.taskNode,this.operationParam.appId=this.processStatus.appId,this.operationParam.endFunction=this.endFunction,this.operationParam.isDocument=this.isDocument,this.operationParam.isQuickReply=this.isQuickReply,this.operationParam.isMsg=this.isMsg,this.operationParam.isRequire=this.isRequire,this.operationParam.canCheck=this.canCheck,this.operationParam.isCheckType=this.isCheckType,this.operationParam.isOrgType=this.isOrgType,this.operationParam.isCodeType=this.isCodeType,n){case"\u6284\u9001":this.operationParam.visible=!0,this.cctaskTopPopup=!0;break;default:this.operationParam.visible=!0,this.TopPopup1=!0;break}},handleCancelPopup(){this.TopPopup1=!1,this.operationParam.visible=!1,this.submitLoading=!1},async handleComfig(){this.$refs.operationRef.confirm()},handleClosePopup1(){this.TopPopup1=!1,this.operationParam.visible=!1,this.submitLoading=!1},handleClosecctaskTopPopup(){this.cctaskTopPopup=!1,this.operationParam.visible=!1,this.submitLoading=!1},handleTipsComfig(){this.$refs.TopPopup2.handleCancel(),this.handleTipsType=="\u50AC\u529E"&&(this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/tis/reminders",{params:{processInstId:this.processIntId}}).then(e=>{e.code==200?(this.handleTips("\u50AC\u529E\u6210\u529F",!0,"success"),window.top.postMessage("success","*"),this.endFunction("\u50AC\u529E")):this.handleTips(e.msg,!0,"error")})),this.handleTipsType=="\u64A4\u9500"&&(this.handleTips("",!0,"loading"),this.request.get("/bladex/blade-workflow/tis/withdrawTask",{params:{processInstId:this.processIntId}}).then(e=>{e.code==200?(this.handleTips("\u64A4\u9500\u6210\u529F",!0,"success"),window.top.postMessage("success","*"),this.endFunction("\u64A4\u9500")):(this.textTips=e.msg,this.typeTips="error",this.handleTips(e.msg,!0,"error"))}))},handleTipsCancel(){},getColor(e){return e=="\u5BA1\u6838\u4E2D"?"#FFA52D":e=="\u5DF2\u9A73\u56DE"?"#F14B4C":e=="\u5DF2\u64A4\u9500"?"#CECECE":e=="\u5DF2\u5B8C\u6210"?"#6DC743":"#1389FF"},handleActionOpen(){this.actionShow=!0},handleActionClose(){this.actionShow=!1},actionClick(e){this.titleText=e,this.actionShow=!1},getBtnStyle(e){switch(e){case"primary":return"background-color:#3c9cff;color:#fff";case"danger":return"background-color:rgb(255, 230, 230);color:rgb(255, 96, 96)";case"default":return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)";default:return"background-color:rgb(241, 241, 241);color:rgb(51, 51, 51)"}},async handleRestart(){this.handleTips("",!0,"loading"),await this.request.post("/bladex/blade-workflow/repository/getProcessDefList",{appId:this.processStatus.appId}).then(e=>{this.processDefList=e.data,this.request.get("/aws/pis/getProcessInstanceByBusinessKey",{params:{businessKey:this.formData.businessKey}}).then(i=>{this.processBusiness=i.data,this.request.get("/bladex/blade-workflow/repository/getAllProcessNode",{params:{processDefId:this.processBusiness.processDefId}}).then(t=>{this.getFirstProcessNode=t.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(t=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(i=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})}).catch(e=>{this.handleTips("\u8BF7\u6C42\u51FA\u9519",!0,"error")})},handleTips(e,i,t){this.textTips=e,this.statusTips=i,this.typeTips=t,this.$refs.topTips.handleOpen()}}};var Q0=function(){var e=this,i=e.$createElement,t=e._self._c||i;return t("div",[t("div",{staticClass:"process-warp"},[(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)&&!e.hideHeader?t("div",{ref:"processheader",staticClass:"process-main",attrs:{id:"process-header"}},[t("div",{staticClass:"process-ml-item border"},[t("div",{staticClass:"process-mli-name"},[e._v("\u6D41\u7A0B\u72B6\u6001")]),t("div",{staticClass:"process-mli-value"},[e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status?t("div",{staticClass:"process-mliv-dd",style:{background:e.getColor(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)}},[e._v(" "+e._s(e.formData.currentState||e.processStatus.bizStatusName||e.processStatus.status)+" ")]):e._e()])]),t("div",{staticClass:"process-ml-item border"},[t("div",{staticClass:"process-mli-name"},[e._v("\u6D41\u7A0B\u53D1\u8D77\u65F6\u95F4")]),t("div",{staticClass:"process-mli-value"},[t("span",[e._v(e._s(e.processStatus.createTime))])])]),e.processStatus.allUserNames&&e.processStatus.allUserNames.length?t("div",{staticClass:"process-ml-item"},[t("div",{staticClass:"process-mli-name"},[e._v("\u5BA1\u6279\u8282\u70B9")]),t("div",{staticClass:"process-mli-value",staticStyle:{width:"50%","text-align":"right"}},[t("span",{staticClass:"process-mliv-jd"},[e._v(e._s(`${e.processStatus.taskState==4?e.processStatus.currUserName:e.processStatus.allUserNames.toString()}\u5BA1\u6279\u4E2D`))])])]):e._e()]):e._e(),t("div",{staticClass:"process-card",style:{height:e.processCardHeight}},[t("TopTab",{attrs:{ProcessInsObj:e.ProcessInsObj,processXml:e.processXml,approvalData:e.approvalData,tapList:e.tapList,selfTapList:e.selfTapList,processIntId:e.processIntId,track:e.trackUrl,taskComment:e.taskCommentList,trackList:e.trackList}},[e.selfTapList&&e.selfTapList.length?e._l(e.selfTapList,function(s,n){return t("div",{key:n,staticStyle:{height:"100%"},attrs:{slot:s.slot},slot:s.slot},[e._t(s.slot,null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)}):[t("div",{staticStyle:{height:"100%"},attrs:{slot:"default"},slot:"default"},[e._t("default",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2),e._l(e.tapList,function(s,n){return t("div",{key:n,staticStyle:{height:"100%"},attrs:{slot:s.slot},slot:s.slot},[e._t(s.slot,null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)})]],2)],1),e.isView?e._e():t("div",{staticClass:"process-btn",style:{bottom:e.processBtn},attrs:{id:"process-footer"}},[e.isAdditional?t("div",{staticClass:"footBtnRow"},[e._t("btn",null,{data:e.processStatus,processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2):[e.isDocument&&(e.formData.currentState=="\u7F16\u6587\u53F7\u5957\u7EA2"||e.formData.currentState=="\u76D6\u7AE0")?[t("div",{staticClass:"top-button",style:e.getBtnStyle("default")},[e._v(" \u8BF7\u53BBPC\u7AEF\u5904\u7406\u8BE5\u6D41\u7A0B ")])]:[e.formData.currentState!="\u5DF2\u5B8C\u6210"||e.processStatus.status!="\u5DF2\u5B8C\u6210"||e.processStatus.bizStatusName!="\u5DF2\u5B8C\u6210"?[e._l(e.operBtn,function(s,n){return[n<3?t("div",{key:s.name,staticClass:"top-button",style:e.getBtnStyle((s.btnProps.type||"default").toString()),on:{click:function(r){return s.click(s.name)}}},[e._v(" "+e._s(s.name)+" ")]):e._e()]})]:e._e(),e.operBtn.length>3&&e.actionBtn&&e.actionBtn.length?t("div",{staticClass:"elips",on:{click:e.handleActionOpen}},[t("div",{staticClass:"circle"}),t("div",{staticClass:"circle"}),t("div",{staticClass:"circle"})]):e._e()]]],2)]),t("TopPopup",{ref:"TopPopup1",attrs:{cancel:e.handleCancelPopup,comfig:e.handleComfig,titleText:e.titleText,visible:e.TopPopup1,className:"toppopup-component"},on:{"update:visible":function(s){return e.TopPopup1=s}}},[t(e.operationCom,{key:e.operationComKey,ref:"operationRef",tag:"component",attrs:{param:e.operationParam},on:{handleClosePopup1:e.handleClosePopup1}},[t("div",{attrs:{slot:"completeSlot"},slot:"completeSlot"},[e._t("completeSlot",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)])],1),t("TopPopup",{ref:"TopPopup2",attrs:{titleText:e.titleText,isTips:!0,context:e.popupContext,cancel:e.handleTipsCancel,comfig:e.handleTipsComfig}}),t("TopTips",{ref:"topTips",attrs:{text:e.textTips,statusTips:e.statusTips,type:e.typeTips}}),e.actionBtn&&e.actionBtn.length||e.taskNodeList&&e.taskNodeList.length?t("div",{staticClass:"top-elips",style:e.actionShow?"transform: translateY(0)":"transform: translateY(100%)"},[e.taskNodeShow?e._l(e.taskNodeList,function(s){return t("div",{key:s.taskId,staticClass:"top-elips-items",on:{click:function(n){return e.handleGet(s)}}},[e._v(" "+e._s(s.name)+" ")])}):e._l(e.actionBtn,function(s){return t("div",{key:s.name,staticClass:"top-elips-items",on:{click:function(n){return s.click(s.name)}}},[e._v(" "+e._s(s.name)+" ")])}),t("div",{staticClass:"top-elips-items top-elips-items--cancel",on:{click:e.handleActionClose}},[e._v(" \u53D6\u6D88 ")])],2):e._e(),t("div",{staticClass:"top-elips-mask",style:e.actionShow?"visibility: visible; opacity: .7;":"visibility: hidden; opacity: 0;",on:{click:e.handleActionClose}}),t("TopSumbitPopup",e._b({ref:"actionPop",attrs:{visible:e.visibleSong,request:e.request,appId:e.processStatus.appId,id:e.formData.businessKey,resubmit:!0,selfList:e.selfList,isCheckType:e.isCheckType,isOrgType:e.isOrgType,isCodeType:e.isCodeType},on:{"update:visible":function(s){e.visibleSong=s},successFn:e.endFunction,change:e.handleTestsss}},"TopSumbitPopup",e.restartDataS,!1)),t("TopPopup",{ref:"cctaskTopPopup",attrs:{titleText:e.cctaskTopPopupTitle,visible:e.cctaskTopPopup,isDrawer:!0},on:{"update:visible":function(s){return e.cctaskTopPopup=s}}},[t(e.operationCom,{ref:"cctaskOperationRef",tag:"component",attrs:{param:e.operationParam},on:{handleClosecctaskTopPopup:e.handleClosecctaskTopPopup}},[t("div",{attrs:{slot:"completeSlot"},slot:"completeSlot"},[e._t("completeSlot",null,{processData:e.ProcessInsObj,currentProcess:e.currentProcess})],2)])],1)],1)},U0=[];const xC="",Ru={};var G0=Ae(V0,Q0,U0,!1,q0,"a4fed71a",null,null);function q0(e){for(let i in Ru)this[i]=Ru[i]}const J0=function(){return G0.exports}(),Lu={name:"ddy-process-h5",version:"1.0.1-rc.3.35",description:"> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6",main:"./ddy-process-h5.umd.cjs",style:"./style.css",type:"module",exports:{".":{import:"./ddy-process-h5.js",require:"./ddy-process-h5.umd.cjs"},"./style.css":{import:"./style.css",require:"./style.css"}},scripts:{test:'echo "Error: no test specified" && exit 1',postinstall:"node scripts/postinstall.mjs"},devDependencies:{"checked-pick-app":"1.6.7",dsbridge:"^3.1.4"},dependencies:{"checked-pick-app":"1.6.7",dsbridge:"^3.1.4"},author:"",license:"ISC"};console.info("%c\u26A1"+Lu.name+"%c v"+Lu.version,"background: linear-gradient(135deg, #ff3939ff, #ffbe5cff); color: white; padding: 9px 4px 9px 4px; border-radius: 3px 0 0 3px;font-size: 12px;","background: #5100ffff; color: white; padding: 9px 6px 9px 4px; border-radius: 0px 3px 3px 0px;font-size: 12px;"),ot.TopProcess=J0,ot.TopSumbitPopup=Cu,ot.ViewAttchList=Tl,ot.attchViews=bi,Object.defineProperties(ot,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});