@zenuml/core 2.0.27 → 2.0.28
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.
|
@@ -30590,3 +30590,4 @@ export {
|
|
|
30590
30590
|
bw as VueSequence,
|
|
30591
30591
|
Ew as default
|
|
30592
30592
|
};
|
|
30593
|
+
//# sourceMappingURL=zenuml.esm.mjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Wt,Ot){typeof exports=="object"&&typeof module<"u"?Ot(exports):typeof define=="function"&&define.amd?define(["exports"],Ot):(Wt=typeof globalThis<"u"?globalThis:Wt||self,Ot(Wt["@zenuml/core"]={}))})(this,function(Wt){"use strict";var gb=Object.defineProperty;var xb=(Wt,Ot,Je)=>Ot in Wt?gb(Wt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Wt[Ot]=Je;var et=(Wt,Ot,Je)=>(xb(Wt,typeof Ot!="symbol"?Ot+"":Ot,Je),Je);var Ot=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Je(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}var k2=O2;function O2(n,t,e){var r=e&&e.stringify||Je,s=1;if(typeof n=="object"&&n!==null){var i=t.length+s;if(i===1)return n;var o=new Array(i);o[0]=r(n);for(var a=1;a<i;a++)o[a]=r(t[a]);return o.join(" ")}if(typeof n!="string")return n;var l=t.length;if(l===0)return n;for(var c="",u=1-s,f=-1,d=n&&n.length||0,p=0;p<d;){if(n.charCodeAt(p)===37&&p+1<d){switch(f=f>-1?f:0,n.charCodeAt(p+1)){case 100:case 102:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Number(t[u]),f=p+2,p++;break;case 105:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Math.floor(Number(t[u])),f=p+2,p++;break;case 79:case 111:case 106:if(u>=l||t[u]===void 0)break;f<p&&(c+=n.slice(f,p));var w=typeof t[u];if(w==="string"){c+="'"+t[u]+"'",f=p+2,p++;break}if(w==="function"){c+=t[u].name||"<anonymous>",f=p+2,p++;break}c+=r(t[u]),f=p+2,p++;break;case 115:if(u>=l)break;f<p&&(c+=n.slice(f,p)),c+=String(t[u]),f=p+2,p++;break;case 37:f<p&&(c+=n.slice(f,p)),c+="%",f=p+2,p++,u--;break}++u}++p}return f===-1?n:(f<d&&(c+=n.slice(f)),c)}const N1=k2;var N2=me;const rr=G2().console||{},I2={mapHttpRequest:Xr,mapHttpResponse:Xr,wrapRequestSerializer:Ni,wrapResponseSerializer:Ni,wrapErrorSerializer:Ni,req:Xr,res:Xr,err:F2};function M2(n,t){return Array.isArray(n)?n.filter(function(r){return r!=="!stdSerializers.err"}):n===!0?Object.keys(t):!1}function me(n){n=n||{},n.browser=n.browser||{};const t=n.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");const e=n.browser.write||rr;n.browser.write&&(n.browser.asObject=!0);const r=n.serializers||{},s=M2(n.browser.serialize,r);let i=n.browser.serialize;Array.isArray(n.browser.serialize)&&n.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);const o=["error","fatal","warn","info","debug","trace"];typeof e=="function"&&(e.error=e.fatal=e.warn=e.info=e.debug=e.trace=e),(n.enabled===!1||n.browser.disabled)&&(n.level="silent");const a=n.level||"info",l=Object.create(e);l.log||(l.log=sr),Object.defineProperty(l,"levelVal",{get:u}),Object.defineProperty(l,"level",{get:f,set:d});const c={transmit:t,serialize:s,asObject:n.browser.asObject,levels:o,timestamp:B2(n)};l.levels=me.levels,l.level=a,l.setMaxListeners=l.getMaxListeners=l.emit=l.addListener=l.on=l.prependListener=l.once=l.prependOnceListener=l.removeListener=l.removeAllListeners=l.listeners=l.listenerCount=l.eventNames=l.write=l.flush=sr,l.serializers=r,l._serialize=s,l._stdErrSerialize=i,l.child=p,t&&(l._logEvent=Oi());function u(){return this.level==="silent"?1/0:this.levels.values[this.level]}function f(){return this._level}function d(w){if(w!=="silent"&&!this.levels.values[w])throw Error("unknown level "+w);this._level=w,yn(c,l,"error","log"),yn(c,l,"fatal","error"),yn(c,l,"warn","error"),yn(c,l,"info","log"),yn(c,l,"debug","log"),yn(c,l,"trace","log")}function p(w,I){if(!w)throw new Error("missing bindings for child Pino");I=I||{},s&&w.serializers&&(I.serializers=w.serializers);const q=I.serializers;if(s&&q){var $=Object.assign({},r,q),j=n.browser.serialize===!0?Object.keys($):s;delete w.serializers,Yr([w],j,$,this._stdErrSerialize)}function ot(Y){this._childLevel=(Y._childLevel|0)+1,this.error=Cn(Y,w,"error"),this.fatal=Cn(Y,w,"fatal"),this.warn=Cn(Y,w,"warn"),this.info=Cn(Y,w,"info"),this.debug=Cn(Y,w,"debug"),this.trace=Cn(Y,w,"trace"),$&&(this.serializers=$,this._serialize=j),t&&(this._logEvent=Oi([].concat(Y._logEvent.bindings,w)))}return ot.prototype=this,new ot(this)}return l}me.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},me.stdSerializers=I2,me.stdTimeFunctions=Object.assign({},{nullTime:I1,epochTime:M1,unixTime:U2,isoTime:H2});function yn(n,t,e,r){const s=Object.getPrototypeOf(t);t[e]=t.levelVal>t.levels.values[e]?sr:s[e]?s[e]:rr[e]||rr[r]||sr,P2(n,t,e)}function P2(n,t,e){!n.transmit&&t[e]===sr||(t[e]=function(r){return function(){const i=n.timestamp(),o=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===rr?rr:this;for(var l=0;l<o.length;l++)o[l]=arguments[l];if(n.serialize&&!n.asObject&&Yr(o,this._serialize,this.serializers,this._stdErrSerialize),n.asObject?r.call(a,$2(this,e,o,i)):r.apply(a,o),n.transmit){const c=n.transmit.level||t.level,u=me.levels.values[c],f=me.levels.values[e];if(f<u)return;D2(this,{ts:i,methodLevel:e,methodValue:f,transmitLevel:c,transmitValue:me.levels.values[n.transmit.level||t.level],send:n.transmit.send,val:t.levelVal},o)}}}(t[e]))}function $2(n,t,e,r){n._serialize&&Yr(e,n._serialize,n.serializers,n._stdErrSerialize);const s=e.slice();let i=s[0];const o={};r&&(o.time=r),o.level=me.levels.values[t];let a=(n._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof s[0]=="object";)Object.assign(o,s.shift());i=s.length?N1(s.shift(),s):void 0}else typeof i=="string"&&(i=N1(s.shift(),s));return i!==void 0&&(o.msg=i),o}function Yr(n,t,e,r){for(const s in n)if(r&&n[s]instanceof Error)n[s]=me.stdSerializers.err(n[s]);else if(typeof n[s]=="object"&&!Array.isArray(n[s]))for(const i in n[s])t&&t.indexOf(i)>-1&&i in e&&(n[s][i]=e[i](n[s][i]))}function Cn(n,t,e){return function(){const r=new Array(1+arguments.length);r[0]=t;for(var s=1;s<r.length;s++)r[s]=arguments[s-1];return n[e].apply(this,r)}}function D2(n,t,e){const r=t.send,s=t.ts,i=t.methodLevel,o=t.methodValue,a=t.val,l=n._logEvent.bindings;Yr(e,n._serialize||Object.keys(n.serializers),n.serializers,n._stdErrSerialize===void 0?!0:n._stdErrSerialize),n._logEvent.ts=s,n._logEvent.messages=e.filter(function(c){return l.indexOf(c)===-1}),n._logEvent.level.label=i,n._logEvent.level.value=o,r(i,n._logEvent,a),n._logEvent=Oi(l)}function Oi(n){return{ts:0,messages:[],bindings:n||[],level:{label:"",value:0}}}function F2(n){const t={type:n.constructor.name,msg:n.message,stack:n.stack};for(const e in n)t[e]===void 0&&(t[e]=n[e]);return t}function B2(n){return typeof n.timestamp=="function"?n.timestamp:n.timestamp===!1?I1:M1}function Xr(){return{}}function Ni(n){return n}function sr(){}function I1(){return!1}function M1(){return Date.now()}function U2(){return Math.round(Date.now()/1e3)}function H2(){return new Date(Date.now()).toISOString()}function G2(){function n(t){return typeof t<"u"&&t}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return n(self)||n(window)||n(this)||{}}}const j2=N2({level:"warn"}),P1=["log","trace","debug","info","warn","error"];function V2(n,t){n[t]=(console[t]||console.log).bind(console)}function z2(n,t,e){n[t]=(console[t]||console.log).bind(console,e[0],e[1])}function Z2(n){P1.forEach(e=>V2(n,e));const t=n.child;return n.child=function(e){const r=t.call(n,e);return P1.forEach(s=>z2(r,s,["%c"+e.name||"","color: #00f"])),r},n}let ir=Z2(j2);var Mt=Object.freeze({}),z=Array.isArray;function G(n){return n==null}function L(n){return n!=null}function pt(n){return n===!0}function q2(n){return n===!1}function Ae(n){return typeof n=="string"||typeof n=="number"||typeof n=="symbol"||typeof n=="boolean"}function ht(n){return typeof n=="function"}function bt(n){return n!==null&&typeof n=="object"}var Qr=Object.prototype.toString;function or(n){return Qr.call(n).slice(8,-1)}function Pt(n){return Qr.call(n)==="[object Object]"}function $1(n){return Qr.call(n)==="[object RegExp]"}function D1(n){var t=parseFloat(String(n));return t>=0&&Math.floor(t)===t&&isFinite(n)}function Ii(n){return L(n)&&typeof n.then=="function"&&typeof n.catch=="function"}function W2(n){return n==null?"":Array.isArray(n)||Pt(n)&&n.toString===Qr?JSON.stringify(n,null,2):String(n)}function ar(n){var t=parseFloat(n);return isNaN(t)?n:t}function Kt(n,t){for(var e=Object.create(null),r=n.split(","),s=0;s<r.length;s++)e[r[s]]=!0;return t?function(i){return e[i.toLowerCase()]}:function(i){return e[i]}}var K2=Kt("slot,component",!0),F1=Kt("key,ref,slot,slot-scope,is");function Ue(n,t){var e=n.length;if(e){if(t===n[e-1]){n.length=e-1;return}var r=n.indexOf(t);if(r>-1)return n.splice(r,1)}}var Y2=Object.prototype.hasOwnProperty;function wt(n,t){return Y2.call(n,t)}function tn(n){var t=Object.create(null);return function(r){var s=t[r];return s||(t[r]=n(r))}}var X2=/-(\w)/g,en=tn(function(n){return n.replace(X2,function(t,e){return e?e.toUpperCase():""})}),B1=tn(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}),Q2=/\B([A-Z])/g,nn=tn(function(n){return n.replace(Q2,"-$1").toLowerCase()});function J2(n,t){function e(r){var s=arguments.length;return s?s>1?n.apply(t,arguments):n.call(t,r):n.call(t)}return e._length=n.length,e}function tf(n,t){return n.bind(t)}var U1=Function.prototype.bind?tf:J2;function Mi(n,t){t=t||0;for(var e=n.length-t,r=new Array(e);e--;)r[e]=n[e+t];return r}function lt(n,t){for(var e in t)n[e]=t[e];return n}function H1(n){for(var t={},e=0;e<n.length;e++)n[e]&<(t,n[e]);return t}function yt(n,t,e){}var Jr=function(n,t,e){return!1},G1=function(n){return n};function rn(n,t){if(n===t)return!0;var e=bt(n),r=bt(t);if(e&&r)try{var s=Array.isArray(n),i=Array.isArray(t);if(s&&i)return n.length===t.length&&n.every(function(l,c){return rn(l,t[c])});if(n instanceof Date&&t instanceof Date)return n.getTime()===t.getTime();if(!s&&!i){var o=Object.keys(n),a=Object.keys(t);return o.length===a.length&&o.every(function(l){return rn(n[l],t[l])})}else return!1}catch{return!1}else return!e&&!r?String(n)===String(t):!1}function j1(n,t){for(var e=0;e<n.length;e++)if(rn(n[e],t))return e;return-1}function ts(n){var t=!1;return function(){t||(t=!0,n.apply(this,arguments))}}function ef(n,t){return n===t?n===0&&1/n!==1/t:n===n||t===t}var V1="data-server-rendered",es=["component","directive","filter"],z1=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],nt={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:Jr,isReservedAttr:Jr,isUnknownElement:Jr,getTagNamespace:yt,parsePlatformTagName:G1,mustUseProp:Jr,async:!0,_lifecycleHooks:z1},Z1=/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 Pi(n){var t=(n+"").charCodeAt(0);return t===36||t===95}function He(n,t,e,r){Object.defineProperty(n,t,{value:e,enumerable:!!r,writable:!0,configurable:!0})}var nf=new RegExp("[^".concat(Z1.source,".$_\\d]"));function rf(n){if(!nf.test(n)){var t=n.split(".");return function(e){for(var r=0;r<t.length;r++){if(!e)return;e=e[t[r]]}return e}}}var sf="__proto__"in{},jt=typeof window<"u",se=jt&&window.navigator.userAgent.toLowerCase(),En=se&&/msie|trident/.test(se),bn=se&&se.indexOf("msie 9.0")>0,q1=se&&se.indexOf("edge/")>0;se&&se.indexOf("android")>0;var of=se&&/iphone|ipad|ipod|ios/.test(se),W1=se&&se.match(/firefox\/(\d+)/),$i={}.watch,K1=!1;if(jt)try{var Y1={};Object.defineProperty(Y1,"passive",{get:function(){K1=!0}}),window.addEventListener("test-passive",null,Y1)}catch{}var ns,lr=function(){return ns===void 0&&(!jt&&typeof global<"u"?ns=global.process&&global.process.env.VUE_ENV==="server":ns=!1),ns},rs=jt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function sn(n){return typeof n=="function"&&/native code/.test(n.toString())}var cr=typeof Symbol<"u"&&sn(Symbol)&&typeof Reflect<"u"&&sn(Reflect.ownKeys),ur;typeof Set<"u"&&sn(Set)?ur=Set:ur=function(){function n(){this.set=Object.create(null)}return n.prototype.has=function(t){return this.set[t]===!0},n.prototype.add=function(t){this.set[t]=!0},n.prototype.clear=function(){this.set=Object.create(null)},n}();var wn=null;function Ge(n){n===void 0&&(n=null),n||wn&&wn._scope.off(),wn=n,n&&n._scope.on()}var Vt=function(){function n(t,e,r,s,i,o,a,l){this.tag=t,this.data=e,this.children=r,this.text=s,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,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(n.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),n}(),on=function(n){n===void 0&&(n="");var t=new Vt;return t.text=n,t.isComment=!0,t};function Tn(n){return new Vt(void 0,void 0,void 0,String(n))}function Di(n){var t=new Vt(n.tag,n.data,n.children&&n.children.slice(),n.text,n.elm,n.context,n.componentOptions,n.asyncFactory);return t.ns=n.ns,t.isStatic=n.isStatic,t.key=n.key,t.isComment=n.isComment,t.fnContext=n.fnContext,t.fnOptions=n.fnOptions,t.fnScopeId=n.fnScopeId,t.asyncMeta=n.asyncMeta,t.isCloned=!0,t}var ss=function(){return ss=Object.assign||function(t){for(var e,r=1,s=arguments.length;r<s;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},ss.apply(this,arguments)},af=0,is=[],lf=function(){for(var n=0;n<is.length;n++){var t=is[n];t.subs=t.subs.filter(function(e){return e}),t._pending=!1}is.length=0},he=function(){function n(){this._pending=!1,this.id=af++,this.subs=[]}return n.prototype.addSub=function(t){this.subs.push(t)},n.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,is.push(this))},n.prototype.depend=function(t){n.target&&(n.target.addDep(this),process.env.NODE_ENV!=="production"&&t&&n.target.onTrack&&n.target.onTrack(ss({effect:n.target},t)))},n.prototype.notify=function(t){var e=this.subs.filter(function(o){return o});process.env.NODE_ENV!=="production"&&!nt.async&&e.sort(function(o,a){return o.id-a.id});for(var r=0,s=e.length;r<s;r++){var i=e[r];process.env.NODE_ENV!=="production"&&t&&i.onTrigger&&i.onTrigger(ss({effect:e[r]},t)),i.update()}},n}();he.target=null;var os=[];function An(n){os.push(n),he.target=n}function Sn(){os.pop(),he.target=os[os.length-1]}var X1=Array.prototype,as=Object.create(X1),cf=["push","pop","shift","unshift","splice","sort","reverse"];cf.forEach(function(n){var t=X1[n];He(as,n,function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];var i=t.apply(this,r),o=this.__ob__,a;switch(n){case"push":case"unshift":a=r;break;case"splice":a=r.slice(2);break}return a&&o.observeArray(a),process.env.NODE_ENV!=="production"?o.dep.notify({type:"array mutation",target:this,key:n}):o.dep.notify(),i})});var Q1=Object.getOwnPropertyNames(as),J1={},Fi=!0;function je(n){Fi=n}var uf={notify:yt,depend:yt,addSub:yt,removeSub:yt},tl=function(){function n(t,e,r){if(e===void 0&&(e=!1),r===void 0&&(r=!1),this.value=t,this.shallow=e,this.mock=r,this.dep=r?uf:new he,this.vmCount=0,He(t,"__ob__",this),z(t)){if(!r)if(sf)t.__proto__=as;else for(var s=0,i=Q1.length;s<i;s++){var o=Q1[s];He(t,o,as[o])}e||this.observeArray(t)}else for(var a=Object.keys(t),s=0;s<a.length;s++){var o=a[s];fe(t,o,J1,void 0,e,r)}}return n.prototype.observeArray=function(t){for(var e=0,r=t.length;e<r;e++)Se(t[e],!1,this.mock)},n}();function Se(n,t,e){if(n&&wt(n,"__ob__")&&n.__ob__ instanceof tl)return n.__ob__;if(Fi&&(e||!lr())&&(z(n)||Pt(n))&&Object.isExtensible(n)&&!n.__v_skip&&!_e(n)&&!(n instanceof Vt))return new tl(n,t,e)}function fe(n,t,e,r,s,i){var o=new he,a=Object.getOwnPropertyDescriptor(n,t);if(!(a&&a.configurable===!1)){var l=a&&a.get,c=a&&a.set;(!l||c)&&(e===J1||arguments.length===2)&&(e=n[t]);var u=!s&&Se(e,!1,i);return Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:function(){var d=l?l.call(n):e;return he.target&&(process.env.NODE_ENV!=="production"?o.depend({target:n,type:"get",key:t}):o.depend(),u&&(u.dep.depend(),z(d)&&nl(d))),_e(d)&&!s?d.value:d},set:function(d){var p=l?l.call(n):e;if(ef(p,d)){if(process.env.NODE_ENV!=="production"&&r&&r(),c)c.call(n,d);else{if(l)return;if(!s&&_e(p)&&!_e(d)){p.value=d;return}else e=d}u=!s&&Se(d,!1,i),process.env.NODE_ENV!=="production"?o.notify({type:"set",target:n,key:t,newValue:d,oldValue:p}):o.notify()}}}),o}}function Bi(n,t,e){if(process.env.NODE_ENV!=="production"&&(G(n)||Ae(n))&&T("Cannot set reactive property on undefined, null, or primitive value: ".concat(n)),Ui(n)){process.env.NODE_ENV!=="production"&&T('Set operation on key "'.concat(t,'" failed: target is readonly.'));return}var r=n.__ob__;return z(n)&&D1(t)?(n.length=Math.max(n.length,t),n.splice(t,1,e),r&&!r.shallow&&r.mock&&Se(e,!1,!0),e):t in n&&!(t in Object.prototype)?(n[t]=e,e):n._isVue||r&&r.vmCount?(process.env.NODE_ENV!=="production"&&T("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),e):r?(fe(r.value,t,e,void 0,r.shallow,r.mock),process.env.NODE_ENV!=="production"?r.dep.notify({type:"add",target:n,key:t,newValue:e,oldValue:void 0}):r.dep.notify(),e):(n[t]=e,e)}function el(n,t){if(process.env.NODE_ENV!=="production"&&(G(n)||Ae(n))&&T("Cannot delete reactive property on undefined, null, or primitive value: ".concat(n)),z(n)&&D1(t)){n.splice(t,1);return}var e=n.__ob__;if(n._isVue||e&&e.vmCount){process.env.NODE_ENV!=="production"&&T("Avoid deleting properties on a Vue instance or its root $data - just set it to null.");return}if(Ui(n)){process.env.NODE_ENV!=="production"&&T('Delete operation on key "'.concat(t,'" failed: target is readonly.'));return}wt(n,t)&&(delete n[t],e&&(process.env.NODE_ENV!=="production"?e.dep.notify({type:"delete",target:n,key:t}):e.dep.notify()))}function nl(n){for(var t=void 0,e=0,r=n.length;e<r;e++)t=n[e],t&&t.__ob__&&t.__ob__.dep.depend(),z(t)&&nl(t)}function rl(n){return hf(n,!0),He(n,"__v_isShallow",!0),n}function hf(n,t){if(!Ui(n)){if(process.env.NODE_ENV!=="production"){z(n)&&T("Avoid using Array as root value for ".concat(t?"shallowReactive()":"reactive()"," as it cannot be tracked in watch() or watchEffect(). Use ").concat(t?"shallowRef()":"ref()"," instead. This is a Vue-2-only limitation."));var e=n&&n.__ob__;e&&e.shallow!==t&&T("Target is already a ".concat(e.shallow?"":"non-","shallow reactive object, and cannot be converted to ").concat(t?"":"non-","shallow."))}var r=Se(n,t,lr());process.env.NODE_ENV!=="production"&&!r&&((n==null||Ae(n))&&T("value cannot be made reactive: ".concat(String(n))),ff(n)&&T("Vue 2 does not support reactive collection types such as Map or Set."))}}function Ui(n){return!!(n&&n.__v_isReadonly)}function ff(n){var t=or(n);return t==="Map"||t==="WeakMap"||t==="Set"||t==="WeakSet"}function _e(n){return!!(n&&n.__v_isRef===!0)}function Hi(n,t,e){Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var r=t[e];if(_e(r))return r.value;var s=r&&r.__ob__;return s&&s.dep.depend(),r},set:function(r){var s=t[e];_e(s)&&!_e(r)?s.value=r:t[e]=r}})}var Yt,df=function(){function n(t){t===void 0&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Yt,!t&&Yt&&(this.index=(Yt.scopes||(Yt.scopes=[])).push(this)-1)}return n.prototype.run=function(t){if(this.active){var e=Yt;try{return Yt=this,t()}finally{Yt=e}}else process.env.NODE_ENV!=="production"&&T("cannot run an inactive effect scope.")},n.prototype.on=function(){Yt=this},n.prototype.off=function(){Yt=this.parent},n.prototype.stop=function(t){if(this.active){var e=void 0,r=void 0;for(e=0,r=this.effects.length;e<r;e++)this.effects[e].teardown();for(e=0,r=this.cleanups.length;e<r;e++)this.cleanups[e]();if(this.scopes)for(e=0,r=this.scopes.length;e<r;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this.active=!1}},n}();function pf(n,t){t===void 0&&(t=Yt),t&&t.active&&t.effects.push(n)}function gf(n){var t=n._provided,e=n.$parent&&n.$parent._provided;return e===t?n._provided=Object.create(e):t}var sl=tn(function(n){var t=n.charAt(0)==="&";n=t?n.slice(1):n;var e=n.charAt(0)==="~";n=e?n.slice(1):n;var r=n.charAt(0)==="!";return n=r?n.slice(1):n,{name:n,once:e,capture:r,passive:t}});function Gi(n,t){function e(){var r=e.fns;if(z(r))for(var s=r.slice(),i=0;i<s.length;i++)Ze(s[i],null,arguments,t,"v-on handler");else return Ze(r,null,arguments,t,"v-on handler")}return e.fns=n,e}function il(n,t,e,r,s,i){var o,a,l,c;for(o in n)a=n[o],l=t[o],c=sl(o),G(a)?process.env.NODE_ENV!=="production"&&T('Invalid handler for event "'.concat(c.name,'": got ')+String(a),i):G(l)?(G(a.fns)&&(a=n[o]=Gi(a,i)),pt(c.once)&&(a=n[o]=s(c.name,a,c.capture)),e(c.name,a,c.capture,c.passive,c.params)):a!==l&&(l.fns=a,n[o]=l);for(o in t)G(n[o])&&(c=sl(o),r(c.name,t[o],c.capture))}function Ve(n,t,e){n instanceof Vt&&(n=n.data.hook||(n.data.hook={}));var r,s=n[t];function i(){e.apply(this,arguments),Ue(r.fns,i)}G(s)?r=Gi([i]):L(s.fns)&&pt(s.merged)?(r=s,r.fns.push(i)):r=Gi([s,i]),r.merged=!0,n[t]=r}function xf(n,t,e){var r=t.options.props;if(!G(r)){var s={},i=n.attrs,o=n.props;if(L(i)||L(o))for(var a in r){var l=nn(a);if(process.env.NODE_ENV!=="production"){var c=a.toLowerCase();a!==c&&i&&wt(i,c)&&oo('Prop "'.concat(c,'" is passed to component ')+"".concat(ln(e||t),", but the declared prop name is")+' "'.concat(a,'". ')+"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(a,'".'))}ol(s,o,a,l,!0)||ol(s,i,a,l,!1)}return s}}function ol(n,t,e,r,s){if(L(t)){if(wt(t,e))return n[e]=t[e],s||delete t[e],!0;if(wt(t,r))return n[e]=t[r],s||delete t[r],!0}return!1}function mf(n){for(var t=0;t<n.length;t++)if(z(n[t]))return Array.prototype.concat.apply([],n);return n}function ji(n){return Ae(n)?[Tn(n)]:z(n)?al(n):void 0}function hr(n){return L(n)&&L(n.text)&&q2(n.isComment)}function al(n,t){var e=[],r,s,i,o;for(r=0;r<n.length;r++)s=n[r],!(G(s)||typeof s=="boolean")&&(i=e.length-1,o=e[i],z(s)?s.length>0&&(s=al(s,"".concat(t||"","_").concat(r)),hr(s[0])&&hr(o)&&(e[i]=Tn(o.text+s[0].text),s.shift()),e.push.apply(e,s)):Ae(s)?hr(o)?e[i]=Tn(o.text+s):s!==""&&e.push(Tn(s)):hr(s)&&hr(o)?e[i]=Tn(o.text+s.text):(pt(n._isVList)&&L(s.tag)&&G(s.key)&&L(t)&&(s.key="__vlist".concat(t,"_").concat(r,"__")),e.push(s)));return e}function _f(n,t){var e=null,r,s,i,o;if(z(n)||typeof n=="string")for(e=new Array(n.length),r=0,s=n.length;r<s;r++)e[r]=t(n[r],r);else if(typeof n=="number")for(e=new Array(n),r=0;r<n;r++)e[r]=t(r+1,r);else if(bt(n))if(cr&&n[Symbol.iterator]){e=[];for(var a=n[Symbol.iterator](),l=a.next();!l.done;)e.push(t(l.value,e.length)),l=a.next()}else for(i=Object.keys(n),e=new Array(i.length),r=0,s=i.length;r<s;r++)o=i[r],e[r]=t(n[o],o,r);return L(e)||(e=[]),e._isVList=!0,e}function Lf(n,t,e,r){var s=this.$scopedSlots[n],i;s?(e=e||{},r&&(process.env.NODE_ENV!=="production"&&!bt(r)&&T("slot v-bind without argument expects an Object",this),e=lt(lt({},r),e)),i=s(e)||(ht(t)?t():t)):i=this.$slots[n]||(ht(t)?t():t);var o=e&&e.slot;return o?this.$createElement("template",{slot:o},i):i}function vf(n){return xs(this.$options,"filters",n,!0)||G1}function ll(n,t){return z(n)?n.indexOf(t)===-1:n!==t}function yf(n,t,e,r,s){var i=nt.keyCodes[t]||e;return s&&r&&!nt.keyCodes[t]?ll(s,r):i?ll(i,n):r?nn(r)!==t:n===void 0}function Cf(n,t,e,r,s){if(e)if(!bt(e))process.env.NODE_ENV!=="production"&&T("v-bind without argument expects an Object or Array value",this);else{z(e)&&(e=H1(e));var i=void 0,o=function(l){if(l==="class"||l==="style"||F1(l))i=n;else{var c=n.attrs&&n.attrs.type;i=r||nt.mustUseProp(t,c,l)?n.domProps||(n.domProps={}):n.attrs||(n.attrs={})}var u=en(l),f=nn(l);if(!(u in i)&&!(f in i)&&(i[l]=e[l],s)){var d=n.on||(n.on={});d["update:".concat(l)]=function(p){e[l]=p}}};for(var a in e)o(a)}return n}function Ef(n,t){var e=this._staticTrees||(this._staticTrees=[]),r=e[n];return r&&!t||(r=e[n]=this.$options.staticRenderFns[n].call(this._renderProxy,this._c,this),cl(r,"__static__".concat(n),!1)),r}function bf(n,t,e){return cl(n,"__once__".concat(t).concat(e?"_".concat(e):""),!0),n}function cl(n,t,e){if(z(n))for(var r=0;r<n.length;r++)n[r]&&typeof n[r]!="string"&&ul(n[r],"".concat(t,"_").concat(r),e);else ul(n,t,e)}function ul(n,t,e){n.isStatic=!0,n.key=t,n.isOnce=e}function wf(n,t){if(t)if(!Pt(t))process.env.NODE_ENV!=="production"&&T("v-on without argument expects an Object value",this);else{var e=n.on=n.on?lt({},n.on):{};for(var r in t){var s=e[r],i=t[r];e[r]=s?[].concat(s,i):i}}return n}function hl(n,t,e,r){t=t||{$stable:!e};for(var s=0;s<n.length;s++){var i=n[s];z(i)?hl(i,t,e):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return r&&(t.$key=r),t}function Tf(n,t){for(var e=0;e<t.length;e+=2){var r=t[e];typeof r=="string"&&r?n[t[e]]=t[e+1]:process.env.NODE_ENV!=="production"&&r!==""&&r!==null&&T("Invalid value for dynamic directive argument (expected string or null): ".concat(r),this)}return n}function Af(n,t){return typeof n=="string"?t+n:n}function fl(n){n._o=bf,n._n=ar,n._s=W2,n._l=_f,n._t=Lf,n._q=rn,n._i=j1,n._m=Ef,n._f=vf,n._k=yf,n._b=Cf,n._v=Tn,n._e=on,n._u=hl,n._g=wf,n._d=Tf,n._p=Af}function Vi(n,t){if(!n||!n.length)return{};for(var e={},r=0,s=n.length;r<s;r++){var i=n[r],o=i.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,(i.context===t||i.fnContext===t)&&o&&o.slot!=null){var a=o.slot,l=e[a]||(e[a]=[]);i.tag==="template"?l.push.apply(l,i.children||[]):l.push(i)}else(e.default||(e.default=[])).push(i)}for(var c in e)e[c].every(Sf)&&delete e[c];return e}function Sf(n){return n.isComment&&!n.asyncFactory||n.text===" "}function fr(n){return n.isComment&&n.asyncFactory}function dr(n,t,e,r){var s,i=Object.keys(e).length>0,o=t?!!t.$stable:!i,a=t&&t.$key;if(!t)s={};else{if(t._normalized)return t._normalized;if(o&&r&&r!==Mt&&a===r.$key&&!i&&!r.$hasNormal)return r;s={};for(var l in t)t[l]&&l[0]!=="$"&&(s[l]=Rf(n,e,l,t[l]))}for(var c in e)c in s||(s[c]=kf(e,c));return t&&Object.isExtensible(t)&&(t._normalized=s),He(s,"$stable",o),He(s,"$key",a),He(s,"$hasNormal",i),s}function Rf(n,t,e,r){var s=function(){var i=wn;Ge(n);var o=arguments.length?r.apply(null,arguments):r({});o=o&&typeof o=="object"&&!z(o)?[o]:ji(o);var a=o&&o[0];return Ge(i),o&&(!a||o.length===1&&a.isComment&&!fr(a))?void 0:o};return r.proxy&&Object.defineProperty(t,e,{get:s,enumerable:!0,configurable:!0}),s}function kf(n,t){return function(){return n[t]}}function Of(n){var t=n.$options,e=t.setup;if(e){var r=n._setupContext=Nf(n);Ge(n),An();var s=Ze(e,null,[n._props||rl({}),r],n,"setup");if(Sn(),Ge(),ht(s))t.render=s;else if(bt(s))if(process.env.NODE_ENV!=="production"&&s instanceof Vt&&T("setup() should not return VNodes directly - return a render function instead."),n._setupState=s,s.__sfc){var o=n._setupProxy={};for(var i in s)i!=="__sfc"&&Hi(o,s,i)}else for(var i in s)Pi(i)?process.env.NODE_ENV!=="production"&&T("Avoid using variables that start with _ or $ in setup()."):Hi(n,s,i);else process.env.NODE_ENV!=="production"&&s!==void 0&&T("setup() should return an object. Received: ".concat(s===null?"null":typeof s))}}function Nf(n){var t=!1;return{get attrs(){if(!n._attrsProxy){var e=n._attrsProxy={};He(e,"_v_attr_proxy",!0),ls(e,n.$attrs,Mt,n,"$attrs")}return n._attrsProxy},get listeners(){if(!n._listenersProxy){var e=n._listenersProxy={};ls(e,n.$listeners,Mt,n,"$listeners")}return n._listenersProxy},get slots(){return Mf(n)},emit:U1(n.$emit,n),expose:function(e){process.env.NODE_ENV!=="production"&&(t&&T("expose() should be called only once per setup().",n),t=!0),e&&Object.keys(e).forEach(function(r){return Hi(n,e,r)})}}}function ls(n,t,e,r,s){var i=!1;for(var o in t)o in n?t[o]!==e[o]&&(i=!0):(i=!0,If(n,o,r,s));for(var o in n)o in t||(i=!0,delete n[o]);return i}function If(n,t,e,r){Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:function(){return e[r][t]}})}function Mf(n){return n._slotsProxy||dl(n._slotsProxy={},n.$scopedSlots),n._slotsProxy}function dl(n,t){for(var e in t)n[e]=t[e];for(var e in n)e in t||delete n[e]}function Pf(n){n._vnode=null,n._staticTrees=null;var t=n.$options,e=n.$vnode=t._parentVnode,r=e&&e.context;n.$slots=Vi(t._renderChildren,r),n.$scopedSlots=e?dr(n.$parent,e.data.scopedSlots,n.$slots):Mt,n._c=function(i,o,a,l){return cs(n,i,o,a,l,!1)},n.$createElement=function(i,o,a,l){return cs(n,i,o,a,l,!0)};var s=e&&e.data;process.env.NODE_ENV!=="production"?(fe(n,"$attrs",s&&s.attrs||Mt,function(){!xr&&T("$attrs is readonly.",n)},!0),fe(n,"$listeners",t._parentListeners||Mt,function(){!xr&&T("$listeners is readonly.",n)},!0)):(fe(n,"$attrs",s&&s.attrs||Mt,null,!0),fe(n,"$listeners",t._parentListeners||Mt,null,!0))}var zi=null;function $f(n){fl(n.prototype),n.prototype.$nextTick=function(t){return Yi(t,this)},n.prototype._render=function(){var t=this,e=t.$options,r=e.render,s=e._parentVnode;s&&t._isMounted&&(t.$scopedSlots=dr(t.$parent,s.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&dl(t._slotsProxy,t.$scopedSlots)),t.$vnode=s;var i;try{Ge(t),zi=t,i=r.call(t._renderProxy,t.$createElement)}catch(o){if(ze(o,t,"render"),process.env.NODE_ENV!=="production"&&t.$options.renderError)try{i=t.$options.renderError.call(t._renderProxy,t.$createElement,o)}catch(a){ze(a,t,"renderError"),i=t._vnode}else i=t._vnode}finally{zi=null,Ge()}return z(i)&&i.length===1&&(i=i[0]),i instanceof Vt||(process.env.NODE_ENV!=="production"&&z(i)&&T("Multiple root nodes returned from render function. Render function should return a single root node.",t),i=on()),i.parent=s,i}}function Zi(n,t){return(n.__esModule||cr&&n[Symbol.toStringTag]==="Module")&&(n=n.default),bt(n)?t.extend(n):n}function Df(n,t,e,r,s){var i=on();return i.asyncFactory=n,i.asyncMeta={data:t,context:e,children:r,tag:s},i}function Ff(n,t){if(pt(n.error)&&L(n.errorComp))return n.errorComp;if(L(n.resolved))return n.resolved;var e=zi;if(e&&L(n.owners)&&n.owners.indexOf(e)===-1&&n.owners.push(e),pt(n.loading)&&L(n.loadingComp))return n.loadingComp;if(e&&!L(n.owners)){var r=n.owners=[e],s=!0,i=null,o=null;e.$on("hook:destroyed",function(){return Ue(r,e)});var a=function(f){for(var d=0,p=r.length;d<p;d++)r[d].$forceUpdate();f&&(r.length=0,i!==null&&(clearTimeout(i),i=null),o!==null&&(clearTimeout(o),o=null))},l=ts(function(f){n.resolved=Zi(f,t),s?r.length=0:a(!0)}),c=ts(function(f){process.env.NODE_ENV!=="production"&&T("Failed to resolve async component: ".concat(String(n))+(f?`
|
|
1
|
+
(function(Wt,Ot){typeof exports=="object"&&typeof module<"u"?Ot(exports):typeof define=="function"&&define.amd?define(["exports"],Ot):(Wt=typeof globalThis<"u"?globalThis:Wt||self,Ot(Wt.zenuml={}))})(this,function(Wt){"use strict";var gb=Object.defineProperty;var xb=(Wt,Ot,Je)=>Ot in Wt?gb(Wt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Wt[Ot]=Je;var et=(Wt,Ot,Je)=>(xb(Wt,typeof Ot!="symbol"?Ot+"":Ot,Je),Je);var Ot=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Je(n){try{return JSON.stringify(n)}catch{return'"[Circular]"'}}var k2=O2;function O2(n,t,e){var r=e&&e.stringify||Je,s=1;if(typeof n=="object"&&n!==null){var i=t.length+s;if(i===1)return n;var o=new Array(i);o[0]=r(n);for(var a=1;a<i;a++)o[a]=r(t[a]);return o.join(" ")}if(typeof n!="string")return n;var l=t.length;if(l===0)return n;for(var c="",u=1-s,f=-1,d=n&&n.length||0,p=0;p<d;){if(n.charCodeAt(p)===37&&p+1<d){switch(f=f>-1?f:0,n.charCodeAt(p+1)){case 100:case 102:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Number(t[u]),f=p+2,p++;break;case 105:if(u>=l||t[u]==null)break;f<p&&(c+=n.slice(f,p)),c+=Math.floor(Number(t[u])),f=p+2,p++;break;case 79:case 111:case 106:if(u>=l||t[u]===void 0)break;f<p&&(c+=n.slice(f,p));var w=typeof t[u];if(w==="string"){c+="'"+t[u]+"'",f=p+2,p++;break}if(w==="function"){c+=t[u].name||"<anonymous>",f=p+2,p++;break}c+=r(t[u]),f=p+2,p++;break;case 115:if(u>=l)break;f<p&&(c+=n.slice(f,p)),c+=String(t[u]),f=p+2,p++;break;case 37:f<p&&(c+=n.slice(f,p)),c+="%",f=p+2,p++,u--;break}++u}++p}return f===-1?n:(f<d&&(c+=n.slice(f)),c)}const N1=k2;var N2=me;const rr=G2().console||{},I2={mapHttpRequest:Xr,mapHttpResponse:Xr,wrapRequestSerializer:Ni,wrapResponseSerializer:Ni,wrapErrorSerializer:Ni,req:Xr,res:Xr,err:F2};function M2(n,t){return Array.isArray(n)?n.filter(function(r){return r!=="!stdSerializers.err"}):n===!0?Object.keys(t):!1}function me(n){n=n||{},n.browser=n.browser||{};const t=n.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");const e=n.browser.write||rr;n.browser.write&&(n.browser.asObject=!0);const r=n.serializers||{},s=M2(n.browser.serialize,r);let i=n.browser.serialize;Array.isArray(n.browser.serialize)&&n.browser.serialize.indexOf("!stdSerializers.err")>-1&&(i=!1);const o=["error","fatal","warn","info","debug","trace"];typeof e=="function"&&(e.error=e.fatal=e.warn=e.info=e.debug=e.trace=e),(n.enabled===!1||n.browser.disabled)&&(n.level="silent");const a=n.level||"info",l=Object.create(e);l.log||(l.log=sr),Object.defineProperty(l,"levelVal",{get:u}),Object.defineProperty(l,"level",{get:f,set:d});const c={transmit:t,serialize:s,asObject:n.browser.asObject,levels:o,timestamp:B2(n)};l.levels=me.levels,l.level=a,l.setMaxListeners=l.getMaxListeners=l.emit=l.addListener=l.on=l.prependListener=l.once=l.prependOnceListener=l.removeListener=l.removeAllListeners=l.listeners=l.listenerCount=l.eventNames=l.write=l.flush=sr,l.serializers=r,l._serialize=s,l._stdErrSerialize=i,l.child=p,t&&(l._logEvent=Oi());function u(){return this.level==="silent"?1/0:this.levels.values[this.level]}function f(){return this._level}function d(w){if(w!=="silent"&&!this.levels.values[w])throw Error("unknown level "+w);this._level=w,yn(c,l,"error","log"),yn(c,l,"fatal","error"),yn(c,l,"warn","error"),yn(c,l,"info","log"),yn(c,l,"debug","log"),yn(c,l,"trace","log")}function p(w,I){if(!w)throw new Error("missing bindings for child Pino");I=I||{},s&&w.serializers&&(I.serializers=w.serializers);const q=I.serializers;if(s&&q){var $=Object.assign({},r,q),j=n.browser.serialize===!0?Object.keys($):s;delete w.serializers,Yr([w],j,$,this._stdErrSerialize)}function ot(Y){this._childLevel=(Y._childLevel|0)+1,this.error=Cn(Y,w,"error"),this.fatal=Cn(Y,w,"fatal"),this.warn=Cn(Y,w,"warn"),this.info=Cn(Y,w,"info"),this.debug=Cn(Y,w,"debug"),this.trace=Cn(Y,w,"trace"),$&&(this.serializers=$,this._serialize=j),t&&(this._logEvent=Oi([].concat(Y._logEvent.bindings,w)))}return ot.prototype=this,new ot(this)}return l}me.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},me.stdSerializers=I2,me.stdTimeFunctions=Object.assign({},{nullTime:I1,epochTime:M1,unixTime:U2,isoTime:H2});function yn(n,t,e,r){const s=Object.getPrototypeOf(t);t[e]=t.levelVal>t.levels.values[e]?sr:s[e]?s[e]:rr[e]||rr[r]||sr,P2(n,t,e)}function P2(n,t,e){!n.transmit&&t[e]===sr||(t[e]=function(r){return function(){const i=n.timestamp(),o=new Array(arguments.length),a=Object.getPrototypeOf&&Object.getPrototypeOf(this)===rr?rr:this;for(var l=0;l<o.length;l++)o[l]=arguments[l];if(n.serialize&&!n.asObject&&Yr(o,this._serialize,this.serializers,this._stdErrSerialize),n.asObject?r.call(a,$2(this,e,o,i)):r.apply(a,o),n.transmit){const c=n.transmit.level||t.level,u=me.levels.values[c],f=me.levels.values[e];if(f<u)return;D2(this,{ts:i,methodLevel:e,methodValue:f,transmitLevel:c,transmitValue:me.levels.values[n.transmit.level||t.level],send:n.transmit.send,val:t.levelVal},o)}}}(t[e]))}function $2(n,t,e,r){n._serialize&&Yr(e,n._serialize,n.serializers,n._stdErrSerialize);const s=e.slice();let i=s[0];const o={};r&&(o.time=r),o.level=me.levels.values[t];let a=(n._childLevel|0)+1;if(a<1&&(a=1),i!==null&&typeof i=="object"){for(;a--&&typeof s[0]=="object";)Object.assign(o,s.shift());i=s.length?N1(s.shift(),s):void 0}else typeof i=="string"&&(i=N1(s.shift(),s));return i!==void 0&&(o.msg=i),o}function Yr(n,t,e,r){for(const s in n)if(r&&n[s]instanceof Error)n[s]=me.stdSerializers.err(n[s]);else if(typeof n[s]=="object"&&!Array.isArray(n[s]))for(const i in n[s])t&&t.indexOf(i)>-1&&i in e&&(n[s][i]=e[i](n[s][i]))}function Cn(n,t,e){return function(){const r=new Array(1+arguments.length);r[0]=t;for(var s=1;s<r.length;s++)r[s]=arguments[s-1];return n[e].apply(this,r)}}function D2(n,t,e){const r=t.send,s=t.ts,i=t.methodLevel,o=t.methodValue,a=t.val,l=n._logEvent.bindings;Yr(e,n._serialize||Object.keys(n.serializers),n.serializers,n._stdErrSerialize===void 0?!0:n._stdErrSerialize),n._logEvent.ts=s,n._logEvent.messages=e.filter(function(c){return l.indexOf(c)===-1}),n._logEvent.level.label=i,n._logEvent.level.value=o,r(i,n._logEvent,a),n._logEvent=Oi(l)}function Oi(n){return{ts:0,messages:[],bindings:n||[],level:{label:"",value:0}}}function F2(n){const t={type:n.constructor.name,msg:n.message,stack:n.stack};for(const e in n)t[e]===void 0&&(t[e]=n[e]);return t}function B2(n){return typeof n.timestamp=="function"?n.timestamp:n.timestamp===!1?I1:M1}function Xr(){return{}}function Ni(n){return n}function sr(){}function I1(){return!1}function M1(){return Date.now()}function U2(){return Math.round(Date.now()/1e3)}function H2(){return new Date(Date.now()).toISOString()}function G2(){function n(t){return typeof t<"u"&&t}try{return typeof globalThis<"u"||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch{return n(self)||n(window)||n(this)||{}}}const j2=N2({level:"warn"}),P1=["log","trace","debug","info","warn","error"];function V2(n,t){n[t]=(console[t]||console.log).bind(console)}function z2(n,t,e){n[t]=(console[t]||console.log).bind(console,e[0],e[1])}function Z2(n){P1.forEach(e=>V2(n,e));const t=n.child;return n.child=function(e){const r=t.call(n,e);return P1.forEach(s=>z2(r,s,["%c"+e.name||"","color: #00f"])),r},n}let ir=Z2(j2);var Mt=Object.freeze({}),z=Array.isArray;function G(n){return n==null}function L(n){return n!=null}function pt(n){return n===!0}function q2(n){return n===!1}function Ae(n){return typeof n=="string"||typeof n=="number"||typeof n=="symbol"||typeof n=="boolean"}function ht(n){return typeof n=="function"}function bt(n){return n!==null&&typeof n=="object"}var Qr=Object.prototype.toString;function or(n){return Qr.call(n).slice(8,-1)}function Pt(n){return Qr.call(n)==="[object Object]"}function $1(n){return Qr.call(n)==="[object RegExp]"}function D1(n){var t=parseFloat(String(n));return t>=0&&Math.floor(t)===t&&isFinite(n)}function Ii(n){return L(n)&&typeof n.then=="function"&&typeof n.catch=="function"}function W2(n){return n==null?"":Array.isArray(n)||Pt(n)&&n.toString===Qr?JSON.stringify(n,null,2):String(n)}function ar(n){var t=parseFloat(n);return isNaN(t)?n:t}function Kt(n,t){for(var e=Object.create(null),r=n.split(","),s=0;s<r.length;s++)e[r[s]]=!0;return t?function(i){return e[i.toLowerCase()]}:function(i){return e[i]}}var K2=Kt("slot,component",!0),F1=Kt("key,ref,slot,slot-scope,is");function Ue(n,t){var e=n.length;if(e){if(t===n[e-1]){n.length=e-1;return}var r=n.indexOf(t);if(r>-1)return n.splice(r,1)}}var Y2=Object.prototype.hasOwnProperty;function wt(n,t){return Y2.call(n,t)}function tn(n){var t=Object.create(null);return function(r){var s=t[r];return s||(t[r]=n(r))}}var X2=/-(\w)/g,en=tn(function(n){return n.replace(X2,function(t,e){return e?e.toUpperCase():""})}),B1=tn(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}),Q2=/\B([A-Z])/g,nn=tn(function(n){return n.replace(Q2,"-$1").toLowerCase()});function J2(n,t){function e(r){var s=arguments.length;return s?s>1?n.apply(t,arguments):n.call(t,r):n.call(t)}return e._length=n.length,e}function tf(n,t){return n.bind(t)}var U1=Function.prototype.bind?tf:J2;function Mi(n,t){t=t||0;for(var e=n.length-t,r=new Array(e);e--;)r[e]=n[e+t];return r}function lt(n,t){for(var e in t)n[e]=t[e];return n}function H1(n){for(var t={},e=0;e<n.length;e++)n[e]&<(t,n[e]);return t}function yt(n,t,e){}var Jr=function(n,t,e){return!1},G1=function(n){return n};function rn(n,t){if(n===t)return!0;var e=bt(n),r=bt(t);if(e&&r)try{var s=Array.isArray(n),i=Array.isArray(t);if(s&&i)return n.length===t.length&&n.every(function(l,c){return rn(l,t[c])});if(n instanceof Date&&t instanceof Date)return n.getTime()===t.getTime();if(!s&&!i){var o=Object.keys(n),a=Object.keys(t);return o.length===a.length&&o.every(function(l){return rn(n[l],t[l])})}else return!1}catch{return!1}else return!e&&!r?String(n)===String(t):!1}function j1(n,t){for(var e=0;e<n.length;e++)if(rn(n[e],t))return e;return-1}function ts(n){var t=!1;return function(){t||(t=!0,n.apply(this,arguments))}}function ef(n,t){return n===t?n===0&&1/n!==1/t:n===n||t===t}var V1="data-server-rendered",es=["component","directive","filter"],z1=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],nt={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:Jr,isReservedAttr:Jr,isUnknownElement:Jr,getTagNamespace:yt,parsePlatformTagName:G1,mustUseProp:Jr,async:!0,_lifecycleHooks:z1},Z1=/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 Pi(n){var t=(n+"").charCodeAt(0);return t===36||t===95}function He(n,t,e,r){Object.defineProperty(n,t,{value:e,enumerable:!!r,writable:!0,configurable:!0})}var nf=new RegExp("[^".concat(Z1.source,".$_\\d]"));function rf(n){if(!nf.test(n)){var t=n.split(".");return function(e){for(var r=0;r<t.length;r++){if(!e)return;e=e[t[r]]}return e}}}var sf="__proto__"in{},jt=typeof window<"u",se=jt&&window.navigator.userAgent.toLowerCase(),En=se&&/msie|trident/.test(se),bn=se&&se.indexOf("msie 9.0")>0,q1=se&&se.indexOf("edge/")>0;se&&se.indexOf("android")>0;var of=se&&/iphone|ipad|ipod|ios/.test(se),W1=se&&se.match(/firefox\/(\d+)/),$i={}.watch,K1=!1;if(jt)try{var Y1={};Object.defineProperty(Y1,"passive",{get:function(){K1=!0}}),window.addEventListener("test-passive",null,Y1)}catch{}var ns,lr=function(){return ns===void 0&&(!jt&&typeof global<"u"?ns=global.process&&global.process.env.VUE_ENV==="server":ns=!1),ns},rs=jt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function sn(n){return typeof n=="function"&&/native code/.test(n.toString())}var cr=typeof Symbol<"u"&&sn(Symbol)&&typeof Reflect<"u"&&sn(Reflect.ownKeys),ur;typeof Set<"u"&&sn(Set)?ur=Set:ur=function(){function n(){this.set=Object.create(null)}return n.prototype.has=function(t){return this.set[t]===!0},n.prototype.add=function(t){this.set[t]=!0},n.prototype.clear=function(){this.set=Object.create(null)},n}();var wn=null;function Ge(n){n===void 0&&(n=null),n||wn&&wn._scope.off(),wn=n,n&&n._scope.on()}var Vt=function(){function n(t,e,r,s,i,o,a,l){this.tag=t,this.data=e,this.children=r,this.text=s,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,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(n.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),n}(),on=function(n){n===void 0&&(n="");var t=new Vt;return t.text=n,t.isComment=!0,t};function Tn(n){return new Vt(void 0,void 0,void 0,String(n))}function Di(n){var t=new Vt(n.tag,n.data,n.children&&n.children.slice(),n.text,n.elm,n.context,n.componentOptions,n.asyncFactory);return t.ns=n.ns,t.isStatic=n.isStatic,t.key=n.key,t.isComment=n.isComment,t.fnContext=n.fnContext,t.fnOptions=n.fnOptions,t.fnScopeId=n.fnScopeId,t.asyncMeta=n.asyncMeta,t.isCloned=!0,t}var ss=function(){return ss=Object.assign||function(t){for(var e,r=1,s=arguments.length;r<s;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},ss.apply(this,arguments)},af=0,is=[],lf=function(){for(var n=0;n<is.length;n++){var t=is[n];t.subs=t.subs.filter(function(e){return e}),t._pending=!1}is.length=0},he=function(){function n(){this._pending=!1,this.id=af++,this.subs=[]}return n.prototype.addSub=function(t){this.subs.push(t)},n.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,is.push(this))},n.prototype.depend=function(t){n.target&&(n.target.addDep(this),process.env.NODE_ENV!=="production"&&t&&n.target.onTrack&&n.target.onTrack(ss({effect:n.target},t)))},n.prototype.notify=function(t){var e=this.subs.filter(function(o){return o});process.env.NODE_ENV!=="production"&&!nt.async&&e.sort(function(o,a){return o.id-a.id});for(var r=0,s=e.length;r<s;r++){var i=e[r];process.env.NODE_ENV!=="production"&&t&&i.onTrigger&&i.onTrigger(ss({effect:e[r]},t)),i.update()}},n}();he.target=null;var os=[];function An(n){os.push(n),he.target=n}function Sn(){os.pop(),he.target=os[os.length-1]}var X1=Array.prototype,as=Object.create(X1),cf=["push","pop","shift","unshift","splice","sort","reverse"];cf.forEach(function(n){var t=X1[n];He(as,n,function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];var i=t.apply(this,r),o=this.__ob__,a;switch(n){case"push":case"unshift":a=r;break;case"splice":a=r.slice(2);break}return a&&o.observeArray(a),process.env.NODE_ENV!=="production"?o.dep.notify({type:"array mutation",target:this,key:n}):o.dep.notify(),i})});var Q1=Object.getOwnPropertyNames(as),J1={},Fi=!0;function je(n){Fi=n}var uf={notify:yt,depend:yt,addSub:yt,removeSub:yt},tl=function(){function n(t,e,r){if(e===void 0&&(e=!1),r===void 0&&(r=!1),this.value=t,this.shallow=e,this.mock=r,this.dep=r?uf:new he,this.vmCount=0,He(t,"__ob__",this),z(t)){if(!r)if(sf)t.__proto__=as;else for(var s=0,i=Q1.length;s<i;s++){var o=Q1[s];He(t,o,as[o])}e||this.observeArray(t)}else for(var a=Object.keys(t),s=0;s<a.length;s++){var o=a[s];fe(t,o,J1,void 0,e,r)}}return n.prototype.observeArray=function(t){for(var e=0,r=t.length;e<r;e++)Se(t[e],!1,this.mock)},n}();function Se(n,t,e){if(n&&wt(n,"__ob__")&&n.__ob__ instanceof tl)return n.__ob__;if(Fi&&(e||!lr())&&(z(n)||Pt(n))&&Object.isExtensible(n)&&!n.__v_skip&&!_e(n)&&!(n instanceof Vt))return new tl(n,t,e)}function fe(n,t,e,r,s,i){var o=new he,a=Object.getOwnPropertyDescriptor(n,t);if(!(a&&a.configurable===!1)){var l=a&&a.get,c=a&&a.set;(!l||c)&&(e===J1||arguments.length===2)&&(e=n[t]);var u=!s&&Se(e,!1,i);return Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:function(){var d=l?l.call(n):e;return he.target&&(process.env.NODE_ENV!=="production"?o.depend({target:n,type:"get",key:t}):o.depend(),u&&(u.dep.depend(),z(d)&&nl(d))),_e(d)&&!s?d.value:d},set:function(d){var p=l?l.call(n):e;if(ef(p,d)){if(process.env.NODE_ENV!=="production"&&r&&r(),c)c.call(n,d);else{if(l)return;if(!s&&_e(p)&&!_e(d)){p.value=d;return}else e=d}u=!s&&Se(d,!1,i),process.env.NODE_ENV!=="production"?o.notify({type:"set",target:n,key:t,newValue:d,oldValue:p}):o.notify()}}}),o}}function Bi(n,t,e){if(process.env.NODE_ENV!=="production"&&(G(n)||Ae(n))&&T("Cannot set reactive property on undefined, null, or primitive value: ".concat(n)),Ui(n)){process.env.NODE_ENV!=="production"&&T('Set operation on key "'.concat(t,'" failed: target is readonly.'));return}var r=n.__ob__;return z(n)&&D1(t)?(n.length=Math.max(n.length,t),n.splice(t,1,e),r&&!r.shallow&&r.mock&&Se(e,!1,!0),e):t in n&&!(t in Object.prototype)?(n[t]=e,e):n._isVue||r&&r.vmCount?(process.env.NODE_ENV!=="production"&&T("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),e):r?(fe(r.value,t,e,void 0,r.shallow,r.mock),process.env.NODE_ENV!=="production"?r.dep.notify({type:"add",target:n,key:t,newValue:e,oldValue:void 0}):r.dep.notify(),e):(n[t]=e,e)}function el(n,t){if(process.env.NODE_ENV!=="production"&&(G(n)||Ae(n))&&T("Cannot delete reactive property on undefined, null, or primitive value: ".concat(n)),z(n)&&D1(t)){n.splice(t,1);return}var e=n.__ob__;if(n._isVue||e&&e.vmCount){process.env.NODE_ENV!=="production"&&T("Avoid deleting properties on a Vue instance or its root $data - just set it to null.");return}if(Ui(n)){process.env.NODE_ENV!=="production"&&T('Delete operation on key "'.concat(t,'" failed: target is readonly.'));return}wt(n,t)&&(delete n[t],e&&(process.env.NODE_ENV!=="production"?e.dep.notify({type:"delete",target:n,key:t}):e.dep.notify()))}function nl(n){for(var t=void 0,e=0,r=n.length;e<r;e++)t=n[e],t&&t.__ob__&&t.__ob__.dep.depend(),z(t)&&nl(t)}function rl(n){return hf(n,!0),He(n,"__v_isShallow",!0),n}function hf(n,t){if(!Ui(n)){if(process.env.NODE_ENV!=="production"){z(n)&&T("Avoid using Array as root value for ".concat(t?"shallowReactive()":"reactive()"," as it cannot be tracked in watch() or watchEffect(). Use ").concat(t?"shallowRef()":"ref()"," instead. This is a Vue-2-only limitation."));var e=n&&n.__ob__;e&&e.shallow!==t&&T("Target is already a ".concat(e.shallow?"":"non-","shallow reactive object, and cannot be converted to ").concat(t?"":"non-","shallow."))}var r=Se(n,t,lr());process.env.NODE_ENV!=="production"&&!r&&((n==null||Ae(n))&&T("value cannot be made reactive: ".concat(String(n))),ff(n)&&T("Vue 2 does not support reactive collection types such as Map or Set."))}}function Ui(n){return!!(n&&n.__v_isReadonly)}function ff(n){var t=or(n);return t==="Map"||t==="WeakMap"||t==="Set"||t==="WeakSet"}function _e(n){return!!(n&&n.__v_isRef===!0)}function Hi(n,t,e){Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var r=t[e];if(_e(r))return r.value;var s=r&&r.__ob__;return s&&s.dep.depend(),r},set:function(r){var s=t[e];_e(s)&&!_e(r)?s.value=r:t[e]=r}})}var Yt,df=function(){function n(t){t===void 0&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Yt,!t&&Yt&&(this.index=(Yt.scopes||(Yt.scopes=[])).push(this)-1)}return n.prototype.run=function(t){if(this.active){var e=Yt;try{return Yt=this,t()}finally{Yt=e}}else process.env.NODE_ENV!=="production"&&T("cannot run an inactive effect scope.")},n.prototype.on=function(){Yt=this},n.prototype.off=function(){Yt=this.parent},n.prototype.stop=function(t){if(this.active){var e=void 0,r=void 0;for(e=0,r=this.effects.length;e<r;e++)this.effects[e].teardown();for(e=0,r=this.cleanups.length;e<r;e++)this.cleanups[e]();if(this.scopes)for(e=0,r=this.scopes.length;e<r;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this.active=!1}},n}();function pf(n,t){t===void 0&&(t=Yt),t&&t.active&&t.effects.push(n)}function gf(n){var t=n._provided,e=n.$parent&&n.$parent._provided;return e===t?n._provided=Object.create(e):t}var sl=tn(function(n){var t=n.charAt(0)==="&";n=t?n.slice(1):n;var e=n.charAt(0)==="~";n=e?n.slice(1):n;var r=n.charAt(0)==="!";return n=r?n.slice(1):n,{name:n,once:e,capture:r,passive:t}});function Gi(n,t){function e(){var r=e.fns;if(z(r))for(var s=r.slice(),i=0;i<s.length;i++)Ze(s[i],null,arguments,t,"v-on handler");else return Ze(r,null,arguments,t,"v-on handler")}return e.fns=n,e}function il(n,t,e,r,s,i){var o,a,l,c;for(o in n)a=n[o],l=t[o],c=sl(o),G(a)?process.env.NODE_ENV!=="production"&&T('Invalid handler for event "'.concat(c.name,'": got ')+String(a),i):G(l)?(G(a.fns)&&(a=n[o]=Gi(a,i)),pt(c.once)&&(a=n[o]=s(c.name,a,c.capture)),e(c.name,a,c.capture,c.passive,c.params)):a!==l&&(l.fns=a,n[o]=l);for(o in t)G(n[o])&&(c=sl(o),r(c.name,t[o],c.capture))}function Ve(n,t,e){n instanceof Vt&&(n=n.data.hook||(n.data.hook={}));var r,s=n[t];function i(){e.apply(this,arguments),Ue(r.fns,i)}G(s)?r=Gi([i]):L(s.fns)&&pt(s.merged)?(r=s,r.fns.push(i)):r=Gi([s,i]),r.merged=!0,n[t]=r}function xf(n,t,e){var r=t.options.props;if(!G(r)){var s={},i=n.attrs,o=n.props;if(L(i)||L(o))for(var a in r){var l=nn(a);if(process.env.NODE_ENV!=="production"){var c=a.toLowerCase();a!==c&&i&&wt(i,c)&&oo('Prop "'.concat(c,'" is passed to component ')+"".concat(ln(e||t),", but the declared prop name is")+' "'.concat(a,'". ')+"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(a,'".'))}ol(s,o,a,l,!0)||ol(s,i,a,l,!1)}return s}}function ol(n,t,e,r,s){if(L(t)){if(wt(t,e))return n[e]=t[e],s||delete t[e],!0;if(wt(t,r))return n[e]=t[r],s||delete t[r],!0}return!1}function mf(n){for(var t=0;t<n.length;t++)if(z(n[t]))return Array.prototype.concat.apply([],n);return n}function ji(n){return Ae(n)?[Tn(n)]:z(n)?al(n):void 0}function hr(n){return L(n)&&L(n.text)&&q2(n.isComment)}function al(n,t){var e=[],r,s,i,o;for(r=0;r<n.length;r++)s=n[r],!(G(s)||typeof s=="boolean")&&(i=e.length-1,o=e[i],z(s)?s.length>0&&(s=al(s,"".concat(t||"","_").concat(r)),hr(s[0])&&hr(o)&&(e[i]=Tn(o.text+s[0].text),s.shift()),e.push.apply(e,s)):Ae(s)?hr(o)?e[i]=Tn(o.text+s):s!==""&&e.push(Tn(s)):hr(s)&&hr(o)?e[i]=Tn(o.text+s.text):(pt(n._isVList)&&L(s.tag)&&G(s.key)&&L(t)&&(s.key="__vlist".concat(t,"_").concat(r,"__")),e.push(s)));return e}function _f(n,t){var e=null,r,s,i,o;if(z(n)||typeof n=="string")for(e=new Array(n.length),r=0,s=n.length;r<s;r++)e[r]=t(n[r],r);else if(typeof n=="number")for(e=new Array(n),r=0;r<n;r++)e[r]=t(r+1,r);else if(bt(n))if(cr&&n[Symbol.iterator]){e=[];for(var a=n[Symbol.iterator](),l=a.next();!l.done;)e.push(t(l.value,e.length)),l=a.next()}else for(i=Object.keys(n),e=new Array(i.length),r=0,s=i.length;r<s;r++)o=i[r],e[r]=t(n[o],o,r);return L(e)||(e=[]),e._isVList=!0,e}function Lf(n,t,e,r){var s=this.$scopedSlots[n],i;s?(e=e||{},r&&(process.env.NODE_ENV!=="production"&&!bt(r)&&T("slot v-bind without argument expects an Object",this),e=lt(lt({},r),e)),i=s(e)||(ht(t)?t():t)):i=this.$slots[n]||(ht(t)?t():t);var o=e&&e.slot;return o?this.$createElement("template",{slot:o},i):i}function vf(n){return xs(this.$options,"filters",n,!0)||G1}function ll(n,t){return z(n)?n.indexOf(t)===-1:n!==t}function yf(n,t,e,r,s){var i=nt.keyCodes[t]||e;return s&&r&&!nt.keyCodes[t]?ll(s,r):i?ll(i,n):r?nn(r)!==t:n===void 0}function Cf(n,t,e,r,s){if(e)if(!bt(e))process.env.NODE_ENV!=="production"&&T("v-bind without argument expects an Object or Array value",this);else{z(e)&&(e=H1(e));var i=void 0,o=function(l){if(l==="class"||l==="style"||F1(l))i=n;else{var c=n.attrs&&n.attrs.type;i=r||nt.mustUseProp(t,c,l)?n.domProps||(n.domProps={}):n.attrs||(n.attrs={})}var u=en(l),f=nn(l);if(!(u in i)&&!(f in i)&&(i[l]=e[l],s)){var d=n.on||(n.on={});d["update:".concat(l)]=function(p){e[l]=p}}};for(var a in e)o(a)}return n}function Ef(n,t){var e=this._staticTrees||(this._staticTrees=[]),r=e[n];return r&&!t||(r=e[n]=this.$options.staticRenderFns[n].call(this._renderProxy,this._c,this),cl(r,"__static__".concat(n),!1)),r}function bf(n,t,e){return cl(n,"__once__".concat(t).concat(e?"_".concat(e):""),!0),n}function cl(n,t,e){if(z(n))for(var r=0;r<n.length;r++)n[r]&&typeof n[r]!="string"&&ul(n[r],"".concat(t,"_").concat(r),e);else ul(n,t,e)}function ul(n,t,e){n.isStatic=!0,n.key=t,n.isOnce=e}function wf(n,t){if(t)if(!Pt(t))process.env.NODE_ENV!=="production"&&T("v-on without argument expects an Object value",this);else{var e=n.on=n.on?lt({},n.on):{};for(var r in t){var s=e[r],i=t[r];e[r]=s?[].concat(s,i):i}}return n}function hl(n,t,e,r){t=t||{$stable:!e};for(var s=0;s<n.length;s++){var i=n[s];z(i)?hl(i,t,e):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return r&&(t.$key=r),t}function Tf(n,t){for(var e=0;e<t.length;e+=2){var r=t[e];typeof r=="string"&&r?n[t[e]]=t[e+1]:process.env.NODE_ENV!=="production"&&r!==""&&r!==null&&T("Invalid value for dynamic directive argument (expected string or null): ".concat(r),this)}return n}function Af(n,t){return typeof n=="string"?t+n:n}function fl(n){n._o=bf,n._n=ar,n._s=W2,n._l=_f,n._t=Lf,n._q=rn,n._i=j1,n._m=Ef,n._f=vf,n._k=yf,n._b=Cf,n._v=Tn,n._e=on,n._u=hl,n._g=wf,n._d=Tf,n._p=Af}function Vi(n,t){if(!n||!n.length)return{};for(var e={},r=0,s=n.length;r<s;r++){var i=n[r],o=i.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,(i.context===t||i.fnContext===t)&&o&&o.slot!=null){var a=o.slot,l=e[a]||(e[a]=[]);i.tag==="template"?l.push.apply(l,i.children||[]):l.push(i)}else(e.default||(e.default=[])).push(i)}for(var c in e)e[c].every(Sf)&&delete e[c];return e}function Sf(n){return n.isComment&&!n.asyncFactory||n.text===" "}function fr(n){return n.isComment&&n.asyncFactory}function dr(n,t,e,r){var s,i=Object.keys(e).length>0,o=t?!!t.$stable:!i,a=t&&t.$key;if(!t)s={};else{if(t._normalized)return t._normalized;if(o&&r&&r!==Mt&&a===r.$key&&!i&&!r.$hasNormal)return r;s={};for(var l in t)t[l]&&l[0]!=="$"&&(s[l]=Rf(n,e,l,t[l]))}for(var c in e)c in s||(s[c]=kf(e,c));return t&&Object.isExtensible(t)&&(t._normalized=s),He(s,"$stable",o),He(s,"$key",a),He(s,"$hasNormal",i),s}function Rf(n,t,e,r){var s=function(){var i=wn;Ge(n);var o=arguments.length?r.apply(null,arguments):r({});o=o&&typeof o=="object"&&!z(o)?[o]:ji(o);var a=o&&o[0];return Ge(i),o&&(!a||o.length===1&&a.isComment&&!fr(a))?void 0:o};return r.proxy&&Object.defineProperty(t,e,{get:s,enumerable:!0,configurable:!0}),s}function kf(n,t){return function(){return n[t]}}function Of(n){var t=n.$options,e=t.setup;if(e){var r=n._setupContext=Nf(n);Ge(n),An();var s=Ze(e,null,[n._props||rl({}),r],n,"setup");if(Sn(),Ge(),ht(s))t.render=s;else if(bt(s))if(process.env.NODE_ENV!=="production"&&s instanceof Vt&&T("setup() should not return VNodes directly - return a render function instead."),n._setupState=s,s.__sfc){var o=n._setupProxy={};for(var i in s)i!=="__sfc"&&Hi(o,s,i)}else for(var i in s)Pi(i)?process.env.NODE_ENV!=="production"&&T("Avoid using variables that start with _ or $ in setup()."):Hi(n,s,i);else process.env.NODE_ENV!=="production"&&s!==void 0&&T("setup() should return an object. Received: ".concat(s===null?"null":typeof s))}}function Nf(n){var t=!1;return{get attrs(){if(!n._attrsProxy){var e=n._attrsProxy={};He(e,"_v_attr_proxy",!0),ls(e,n.$attrs,Mt,n,"$attrs")}return n._attrsProxy},get listeners(){if(!n._listenersProxy){var e=n._listenersProxy={};ls(e,n.$listeners,Mt,n,"$listeners")}return n._listenersProxy},get slots(){return Mf(n)},emit:U1(n.$emit,n),expose:function(e){process.env.NODE_ENV!=="production"&&(t&&T("expose() should be called only once per setup().",n),t=!0),e&&Object.keys(e).forEach(function(r){return Hi(n,e,r)})}}}function ls(n,t,e,r,s){var i=!1;for(var o in t)o in n?t[o]!==e[o]&&(i=!0):(i=!0,If(n,o,r,s));for(var o in n)o in t||(i=!0,delete n[o]);return i}function If(n,t,e,r){Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:function(){return e[r][t]}})}function Mf(n){return n._slotsProxy||dl(n._slotsProxy={},n.$scopedSlots),n._slotsProxy}function dl(n,t){for(var e in t)n[e]=t[e];for(var e in n)e in t||delete n[e]}function Pf(n){n._vnode=null,n._staticTrees=null;var t=n.$options,e=n.$vnode=t._parentVnode,r=e&&e.context;n.$slots=Vi(t._renderChildren,r),n.$scopedSlots=e?dr(n.$parent,e.data.scopedSlots,n.$slots):Mt,n._c=function(i,o,a,l){return cs(n,i,o,a,l,!1)},n.$createElement=function(i,o,a,l){return cs(n,i,o,a,l,!0)};var s=e&&e.data;process.env.NODE_ENV!=="production"?(fe(n,"$attrs",s&&s.attrs||Mt,function(){!xr&&T("$attrs is readonly.",n)},!0),fe(n,"$listeners",t._parentListeners||Mt,function(){!xr&&T("$listeners is readonly.",n)},!0)):(fe(n,"$attrs",s&&s.attrs||Mt,null,!0),fe(n,"$listeners",t._parentListeners||Mt,null,!0))}var zi=null;function $f(n){fl(n.prototype),n.prototype.$nextTick=function(t){return Yi(t,this)},n.prototype._render=function(){var t=this,e=t.$options,r=e.render,s=e._parentVnode;s&&t._isMounted&&(t.$scopedSlots=dr(t.$parent,s.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&dl(t._slotsProxy,t.$scopedSlots)),t.$vnode=s;var i;try{Ge(t),zi=t,i=r.call(t._renderProxy,t.$createElement)}catch(o){if(ze(o,t,"render"),process.env.NODE_ENV!=="production"&&t.$options.renderError)try{i=t.$options.renderError.call(t._renderProxy,t.$createElement,o)}catch(a){ze(a,t,"renderError"),i=t._vnode}else i=t._vnode}finally{zi=null,Ge()}return z(i)&&i.length===1&&(i=i[0]),i instanceof Vt||(process.env.NODE_ENV!=="production"&&z(i)&&T("Multiple root nodes returned from render function. Render function should return a single root node.",t),i=on()),i.parent=s,i}}function Zi(n,t){return(n.__esModule||cr&&n[Symbol.toStringTag]==="Module")&&(n=n.default),bt(n)?t.extend(n):n}function Df(n,t,e,r,s){var i=on();return i.asyncFactory=n,i.asyncMeta={data:t,context:e,children:r,tag:s},i}function Ff(n,t){if(pt(n.error)&&L(n.errorComp))return n.errorComp;if(L(n.resolved))return n.resolved;var e=zi;if(e&&L(n.owners)&&n.owners.indexOf(e)===-1&&n.owners.push(e),pt(n.loading)&&L(n.loadingComp))return n.loadingComp;if(e&&!L(n.owners)){var r=n.owners=[e],s=!0,i=null,o=null;e.$on("hook:destroyed",function(){return Ue(r,e)});var a=function(f){for(var d=0,p=r.length;d<p;d++)r[d].$forceUpdate();f&&(r.length=0,i!==null&&(clearTimeout(i),i=null),o!==null&&(clearTimeout(o),o=null))},l=ts(function(f){n.resolved=Zi(f,t),s?r.length=0:a(!0)}),c=ts(function(f){process.env.NODE_ENV!=="production"&&T("Failed to resolve async component: ".concat(String(n))+(f?`
|
|
2
2
|
Reason: `.concat(f):"")),L(n.errorComp)&&(n.error=!0,a(!0))}),u=n(l,c);return bt(u)&&(Ii(u)?G(n.resolved)&&u.then(l,c):Ii(u.component)&&(u.component.then(l,c),L(u.error)&&(n.errorComp=Zi(u.error,t)),L(u.loading)&&(n.loadingComp=Zi(u.loading,t),u.delay===0?n.loading=!0:i=setTimeout(function(){i=null,G(n.resolved)&&G(n.error)&&(n.loading=!0,a(!1))},u.delay||200)),L(u.timeout)&&(o=setTimeout(function(){o=null,G(n.resolved)&&c(process.env.NODE_ENV!=="production"?"timeout (".concat(u.timeout,"ms)"):null)},u.timeout)))),s=!1,n.loading?n.loadingComp:n.resolved}}function pl(n){if(z(n))for(var t=0;t<n.length;t++){var e=n[t];if(L(e)&&(L(e.componentOptions)||fr(e)))return e}}var Bf=1,gl=2;function cs(n,t,e,r,s,i){return(z(e)||Ae(e))&&(s=r,r=e,e=void 0),pt(i)&&(s=gl),Uf(n,t,e,r,s)}function Uf(n,t,e,r,s){if(L(e)&&L(e.__ob__))return process.env.NODE_ENV!=="production"&&T("Avoid using observed data object as vnode data: ".concat(JSON.stringify(e),`
|
|
3
3
|
`)+"Always create fresh vnode data objects in each render!",n),on();if(L(e)&&L(e.is)&&(t=e.is),!t)return on();process.env.NODE_ENV!=="production"&&L(e)&&L(e.key)&&!Ae(e.key)&&T("Avoid using non-primitive value as key, use string/number value instead.",n),z(r)&&ht(r[0])&&(e=e||{},e.scopedSlots={default:r[0]},r.length=0),s===gl?r=ji(r):s===Bf&&(r=mf(r));var i,o;if(typeof t=="string"){var a=void 0;o=n.$vnode&&n.$vnode.ns||nt.getTagNamespace(t),nt.isReservedTag(t)?(process.env.NODE_ENV!=="production"&&L(e)&&L(e.nativeOn)&&e.tag!=="component"&&T("The .native modifier for v-on is only valid on components but it was used on <".concat(t,">."),n),i=new Vt(nt.parsePlatformTagName(t),e,r,void 0,void 0,n)):(!e||!e.pre)&&L(a=xs(n.$options,"components",t))?i=Ol(a,e,n,r,t):i=new Vt(t,e,r,void 0,void 0,n)}else i=Ol(t,e,n,r);return z(i)?i:L(i)?(L(o)&&xl(i,o),L(e)&&Hf(e),i):on()}function xl(n,t,e){if(n.ns=t,n.tag==="foreignObject"&&(t=void 0,e=!0),L(n.children))for(var r=0,s=n.children.length;r<s;r++){var i=n.children[r];L(i.tag)&&(G(i.ns)||pt(e)&&i.tag!=="svg")&&xl(i,t,e)}}function Hf(n){bt(n.style)&&fs(n.style),bt(n.class)&&fs(n.class)}function ze(n,t,e){An();try{if(t)for(var r=t;r=r.$parent;){var s=r.$options.errorCaptured;if(s)for(var i=0;i<s.length;i++)try{var o=s[i].call(r,n,t,e)===!1;if(o)return}catch(a){ml(a,r,"errorCaptured hook")}}ml(n,t,e)}finally{Sn()}}function Ze(n,t,e,r,s){var i;try{i=e?n.apply(t,e):n.call(t),i&&!i._isVue&&Ii(i)&&!i._handled&&(i.catch(function(o){return ze(o,r,s+" (Promise/async)")}),i._handled=!0)}catch(o){ze(o,r,s)}return i}function ml(n,t,e){if(nt.errorHandler)try{return nt.errorHandler.call(null,n,t,e)}catch(r){r!==n&&_l(r,null,"config.errorHandler")}_l(n,t,e)}function _l(n,t,e){if(process.env.NODE_ENV!=="production"&&T("Error in ".concat(e,': "').concat(n.toString(),'"'),t),jt&&typeof console<"u")console.error(n);else throw n}var qi=!1,Wi=[],Ki=!1;function us(){Ki=!1;var n=Wi.slice(0);Wi.length=0;for(var t=0;t<n.length;t++)n[t]()}var pr;if(typeof Promise<"u"&&sn(Promise)){var Gf=Promise.resolve();pr=function(){Gf.then(us),of&&setTimeout(yt)},qi=!0}else if(!En&&typeof MutationObserver<"u"&&(sn(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var hs=1,jf=new MutationObserver(us),Ll=document.createTextNode(String(hs));jf.observe(Ll,{characterData:!0}),pr=function(){hs=(hs+1)%2,Ll.data=String(hs)},qi=!0}else typeof setImmediate<"u"&&sn(setImmediate)?pr=function(){setImmediate(us)}:pr=function(){setTimeout(us,0)};function Yi(n,t){var e;if(Wi.push(function(){if(n)try{n.call(t)}catch(r){ze(r,t,"nextTick")}else e&&e(t)}),Ki||(Ki=!0,pr()),!n&&typeof Promise<"u")return new Promise(function(r){e=r})}var Vf="2.7.14",vl=new ur;function fs(n){return ds(n,vl),vl.clear(),n}function ds(n,t){var e,r,s=z(n);if(!(!s&&!bt(n)||n.__v_skip||Object.isFrozen(n)||n instanceof Vt)){if(n.__ob__){var i=n.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(s)for(e=n.length;e--;)ds(n[e],t);else if(_e(n))ds(n.value,t);else for(r=Object.keys(n),e=r.length;e--;)ds(n[r[e]],t)}}var zf=0,Xi=function(){function n(t,e,r,s,i){pf(this,Yt&&!Yt._vm?Yt:t?t._scope:void 0),(this.vm=t)&&i&&(t._watcher=this),s?(this.deep=!!s.deep,this.user=!!s.user,this.lazy=!!s.lazy,this.sync=!!s.sync,this.before=s.before,process.env.NODE_ENV!=="production"&&(this.onTrack=s.onTrack,this.onTrigger=s.onTrigger)):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++zf,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ur,this.newDepIds=new ur,this.expression=process.env.NODE_ENV!=="production"?e.toString():"",ht(e)?this.getter=e:(this.getter=rf(e),this.getter||(this.getter=yt,process.env.NODE_ENV!=="production"&&T('Failed watching path: "'.concat(e,'" ')+"Watcher only accepts simple dot-delimited paths. For full control, use a function instead.",t))),this.value=this.lazy?void 0:this.get()}return n.prototype.get=function(){An(this);var t,e=this.vm;try{t=this.getter.call(e,e)}catch(r){if(this.user)ze(r,e,'getter for watcher "'.concat(this.expression,'"'));else throw r}finally{this.deep&&fs(t),Sn(),this.cleanupDeps()}return t},n.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},n.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},n.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ad(this)},n.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||bt(t)||this.deep){var e=this.value;if(this.value=t,this.user){var r='callback for watcher "'.concat(this.expression,'"');Ze(this.cb,this.vm,[t,e],this.vm,r)}else this.cb.call(this.vm,t,e)}}},n.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},n.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},n.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&Ue(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},n}(),Le,ps;if(process.env.NODE_ENV!=="production"){var Re=jt&&window.performance;Re&&Re.mark&&Re.measure&&Re.clearMarks&&Re.clearMeasures&&(Le=function(n){return Re.mark(n)},ps=function(n,t,e){Re.measure(n,t,e),Re.clearMarks(t),Re.clearMarks(e)})}function Zf(n){n._events=Object.create(null),n._hasHookEvent=!1;var t=n.$options._parentListeners;t&&yl(n,t)}var gr;function qf(n,t){gr.$on(n,t)}function Wf(n,t){gr.$off(n,t)}function Kf(n,t){var e=gr;return function r(){var s=t.apply(null,arguments);s!==null&&e.$off(n,r)}}function yl(n,t,e){gr=n,il(t,e||{},qf,Wf,Kf,n),gr=void 0}function Yf(n){var t=/^hook:/;n.prototype.$on=function(e,r){var s=this;if(z(e))for(var i=0,o=e.length;i<o;i++)s.$on(e[i],r);else(s._events[e]||(s._events[e]=[])).push(r),t.test(e)&&(s._hasHookEvent=!0);return s},n.prototype.$once=function(e,r){var s=this;function i(){s.$off(e,i),r.apply(s,arguments)}return i.fn=r,s.$on(e,i),s},n.prototype.$off=function(e,r){var s=this;if(!arguments.length)return s._events=Object.create(null),s;if(z(e)){for(var i=0,o=e.length;i<o;i++)s.$off(e[i],r);return s}var a=s._events[e];if(!a)return s;if(!r)return s._events[e]=null,s;for(var l,c=a.length;c--;)if(l=a[c],l===r||l.fn===r){a.splice(c,1);break}return s},n.prototype.$emit=function(e){var r=this;if(process.env.NODE_ENV!=="production"){var s=e.toLowerCase();s!==e&&r._events[s]&&oo('Event "'.concat(s,'" is emitted in component ')+"".concat(ln(r),' but the handler is registered for "').concat(e,'". ')+"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(nn(e),'" instead of "').concat(e,'".'))}var i=r._events[e];if(i){i=i.length>1?Mi(i):i;for(var o=Mi(arguments,1),a='event handler for "'.concat(e,'"'),l=0,c=i.length;l<c;l++)Ze(i[l],r,o,r,a)}return r}}var an=null,xr=!1;function Cl(n){var t=an;return an=n,function(){an=t}}function Xf(n){var t=n.$options,e=t.parent;if(e&&!t.abstract){for(;e.$options.abstract&&e.$parent;)e=e.$parent;e.$children.push(n)}n.$parent=e,n.$root=e?e.$root:n,n.$children=[],n.$refs={},n._provided=e?e._provided:Object.create(null),n._watcher=null,n._inactive=null,n._directInactive=!1,n._isMounted=!1,n._isDestroyed=!1,n._isBeingDestroyed=!1}function Qf(n){n.prototype._update=function(t,e){var r=this,s=r.$el,i=r._vnode,o=Cl(r);r._vnode=t,i?r.$el=r.__patch__(i,t):r.$el=r.__patch__(r.$el,t,e,!1),o(),s&&(s.__vue__=null),r.$el&&(r.$el.__vue__=r);for(var a=r;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},n.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},n.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Xt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;e&&!e._isBeingDestroyed&&!t.$options.abstract&&Ue(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Xt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Jf(n,t,e){n.$el=t,n.$options.render||(n.$options.render=on,process.env.NODE_ENV!=="production"&&(n.$options.template&&n.$options.template.charAt(0)!=="#"||n.$options.el||t?T("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.",n):T("Failed to mount component: template or render function not defined.",n))),Xt(n,"beforeMount");var r;process.env.NODE_ENV!=="production"&&nt.performance&&Le?r=function(){var a=n._name,l=n._uid,c="vue-perf-start:".concat(l),u="vue-perf-end:".concat(l);Le(c);var f=n._render();Le(u),ps("vue ".concat(a," render"),c,u),Le(c),n._update(f,e),Le(u),ps("vue ".concat(a," patch"),c,u)}:r=function(){n._update(n._render(),e)};var s={before:function(){n._isMounted&&!n._isDestroyed&&Xt(n,"beforeUpdate")}};process.env.NODE_ENV!=="production"&&(s.onTrack=function(a){return Xt(n,"renderTracked",[a])},s.onTrigger=function(a){return Xt(n,"renderTriggered",[a])}),new Xi(n,r,yt,s,!0),e=!1;var i=n._preWatchers;if(i)for(var o=0;o<i.length;o++)i[o].run();return n.$vnode==null&&(n._isMounted=!0,Xt(n,"mounted")),n}function td(n,t,e,r,s){process.env.NODE_ENV!=="production"&&(xr=!0);var i=r.data.scopedSlots,o=n.$scopedSlots,a=!!(i&&!i.$stable||o!==Mt&&!o.$stable||i&&n.$scopedSlots.$key!==i.$key||!i&&n.$scopedSlots.$key),l=!!(s||n.$options._renderChildren||a),c=n.$vnode;n.$options._parentVnode=r,n.$vnode=r,n._vnode&&(n._vnode.parent=r),n.$options._renderChildren=s;var u=r.data.attrs||Mt;n._attrsProxy&&ls(n._attrsProxy,u,c.data&&c.data.attrs||Mt,n,"$attrs")&&(l=!0),n.$attrs=u,e=e||Mt;var f=n.$options._parentListeners;if(n._listenersProxy&&ls(n._listenersProxy,e,f||Mt,n,"$listeners"),n.$listeners=n.$options._parentListeners=e,yl(n,e,f),t&&n.$options.props){je(!1);for(var d=n._props,p=n.$options._propKeys||[],w=0;w<p.length;w++){var I=p[w],q=n.$options.props;d[I]=uo(I,q,t,n)}je(!0),n.$options.propsData=t}l&&(n.$slots=Vi(s,r.context),n.$forceUpdate()),process.env.NODE_ENV!=="production"&&(xr=!1)}function El(n){for(;n&&(n=n.$parent);)if(n._inactive)return!0;return!1}function Qi(n,t){if(t){if(n._directInactive=!1,El(n))return}else if(n._directInactive)return;if(n._inactive||n._inactive===null){n._inactive=!1;for(var e=0;e<n.$children.length;e++)Qi(n.$children[e]);Xt(n,"activated")}}function bl(n,t){if(!(t&&(n._directInactive=!0,El(n)))&&!n._inactive){n._inactive=!0;for(var e=0;e<n.$children.length;e++)bl(n.$children[e]);Xt(n,"deactivated")}}function Xt(n,t,e,r){r===void 0&&(r=!0),An();var s=wn;r&&Ge(n);var i=n.$options[t],o="".concat(t," hook");if(i)for(var a=0,l=i.length;a<l;a++)Ze(i[a],n,e||null,n,o);n._hasHookEvent&&n.$emit("hook:"+t),r&&Ge(s),Sn()}var ed=100,ke=[],Ji=[],mr={},gs={},to=!1,eo=!1,Rn=0;function nd(){Rn=ke.length=Ji.length=0,mr={},process.env.NODE_ENV!=="production"&&(gs={}),to=eo=!1}var wl=0,no=Date.now;if(jt&&!En){var ro=window.performance;ro&&typeof ro.now=="function"&&no()>document.createEvent("Event").timeStamp&&(no=function(){return ro.now()})}var rd=function(n,t){if(n.post){if(!t.post)return 1}else if(t.post)return-1;return n.id-t.id};function Tl(){wl=no(),eo=!0;var n,t;for(ke.sort(rd),Rn=0;Rn<ke.length;Rn++)if(n=ke[Rn],n.before&&n.before(),t=n.id,mr[t]=null,n.run(),process.env.NODE_ENV!=="production"&&mr[t]!=null&&(gs[t]=(gs[t]||0)+1,gs[t]>ed)){T("You may have an infinite update loop "+(n.user?'in watcher with expression "'.concat(n.expression,'"'):"in a component render function."),n.vm);break}var e=Ji.slice(),r=ke.slice();nd(),od(e),sd(r),lf(),rs&&nt.devtools&&rs.emit("flush")}function sd(n){for(var t=n.length;t--;){var e=n[t],r=e.vm;r&&r._watcher===e&&r._isMounted&&!r._isDestroyed&&Xt(r,"updated")}}function id(n){n._inactive=!1,Ji.push(n)}function od(n){for(var t=0;t<n.length;t++)n[t]._inactive=!0,Qi(n[t],!0)}function ad(n){var t=n.id;if(mr[t]==null&&!(n===he.target&&n.noRecurse)){if(mr[t]=!0,!eo)ke.push(n);else{for(var e=ke.length-1;e>Rn&&ke[e].id>n.id;)e--;ke.splice(e+1,0,n)}if(!to){if(to=!0,process.env.NODE_ENV!=="production"&&!nt.async){Tl();return}Yi(Tl)}}}function ld(n){var t=n.$options.provide;if(t){var e=ht(t)?t.call(n):t;if(!bt(e))return;for(var r=gf(n),s=cr?Reflect.ownKeys(e):Object.keys(e),i=0;i<s.length;i++){var o=s[i];Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(e,o))}}}function cd(n){var t=Al(n.$options.inject,n);t&&(je(!1),Object.keys(t).forEach(function(e){process.env.NODE_ENV!=="production"?fe(n,e,t[e],function(){T("Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. "+'injection being mutated: "'.concat(e,'"'),n)}):fe(n,e,t[e])}),je(!0))}function Al(n,t){if(n){for(var e=Object.create(null),r=cr?Reflect.ownKeys(n):Object.keys(n),s=0;s<r.length;s++){var i=r[s];if(i!=="__ob__"){var o=n[i].from;if(o in t._provided)e[i]=t._provided[o];else if("default"in n[i]){var a=n[i].default;e[i]=ht(a)?a.call(t):a}else process.env.NODE_ENV!=="production"&&T('Injection "'.concat(i,'" not found'),t)}}return e}}function so(n,t,e,r,s){var i=this,o=s.options,a;wt(r,"_uid")?(a=Object.create(r),a._original=r):(a=r,r=r._original);var l=pt(o._compiled),c=!l;this.data=n,this.props=t,this.children=e,this.parent=r,this.listeners=n.on||Mt,this.injections=Al(o.inject,r),this.slots=function(){return i.$slots||dr(r,n.scopedSlots,i.$slots=Vi(e,r)),i.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return dr(r,n.scopedSlots,this.slots())}}),l&&(this.$options=o,this.$slots=this.slots(),this.$scopedSlots=dr(r,n.scopedSlots,this.$slots)),o._scopeId?this._c=function(u,f,d,p){var w=cs(a,u,f,d,p,c);return w&&!z(w)&&(w.fnScopeId=o._scopeId,w.fnContext=r),w}:this._c=function(u,f,d,p){return cs(a,u,f,d,p,c)}}fl(so.prototype);function ud(n,t,e,r,s){var i=n.options,o={},a=i.props;if(L(a))for(var l in a)o[l]=uo(l,a,t||Mt);else L(e.attrs)&&Rl(o,e.attrs),L(e.props)&&Rl(o,e.props);var c=new so(e,o,s,r,n),u=i.render.call(null,c._c,c);if(u instanceof Vt)return Sl(u,e,c.parent,i,c);if(z(u)){for(var f=ji(u)||[],d=new Array(f.length),p=0;p<f.length;p++)d[p]=Sl(f[p],e,c.parent,i,c);return d}}function Sl(n,t,e,r,s){var i=Di(n);return i.fnContext=e,i.fnOptions=r,process.env.NODE_ENV!=="production"&&((i.devtoolsMeta=i.devtoolsMeta||{}).renderContext=s),t.slot&&((i.data||(i.data={})).slot=t.slot),i}function Rl(n,t){for(var e in t)n[en(e)]=t[e]}function kn(n){return n.name||n.__name||n._componentTag}var io={init:function(n,t){if(n.componentInstance&&!n.componentInstance._isDestroyed&&n.data.keepAlive){var e=n;io.prepatch(e,e)}else{var r=n.componentInstance=hd(n,an);r.$mount(t?n.elm:void 0,t)}},prepatch:function(n,t){var e=t.componentOptions,r=t.componentInstance=n.componentInstance;td(r,e.propsData,e.listeners,t,e.children)},insert:function(n){var t=n.context,e=n.componentInstance;e._isMounted||(e._isMounted=!0,Xt(e,"mounted")),n.data.keepAlive&&(t._isMounted?id(e):Qi(e,!0))},destroy:function(n){var t=n.componentInstance;t._isDestroyed||(n.data.keepAlive?bl(t,!0):t.$destroy())}},kl=Object.keys(io);function Ol(n,t,e,r,s){if(!G(n)){var i=e.$options._base;if(bt(n)&&(n=i.extend(n)),typeof n!="function"){process.env.NODE_ENV!=="production"&&T("Invalid Component definition: ".concat(String(n)),e);return}var o;if(G(n.cid)&&(o=n,n=Ff(o,i),n===void 0))return Df(o,t,e,r,s);t=t||{},go(n),L(t.model)&&pd(n.options,t);var a=xf(t,n,s);if(pt(n.options.functional))return ud(n,a,t,e,r);var l=t.on;if(t.on=t.nativeOn,pt(n.options.abstract)){var c=t.slot;t={},c&&(t.slot=c)}fd(t);var u=kn(n.options)||s,f=new Vt("vue-component-".concat(n.cid).concat(u?"-".concat(u):""),t,void 0,void 0,void 0,e,{Ctor:n,propsData:a,listeners:l,tag:s,children:r},o);return f}}function hd(n,t){var e={_isComponent:!0,_parentVnode:n,parent:t},r=n.data.inlineTemplate;return L(r)&&(e.render=r.render,e.staticRenderFns=r.staticRenderFns),new n.componentOptions.Ctor(e)}function fd(n){for(var t=n.hook||(n.hook={}),e=0;e<kl.length;e++){var r=kl[e],s=t[r],i=io[r];s!==i&&!(s&&s._merged)&&(t[r]=s?dd(i,s):i)}}function dd(n,t){var e=function(r,s){n(r,s),t(r,s)};return e._merged=!0,e}function pd(n,t){var e=n.model&&n.model.prop||"value",r=n.model&&n.model.event||"input";(t.attrs||(t.attrs={}))[e]=t.model.value;var s=t.on||(t.on={}),i=s[r],o=t.model.callback;L(i)?(z(i)?i.indexOf(o)===-1:i!==o)&&(s[r]=[o].concat(i)):s[r]=o}var T=yt,oo=yt,ao,ln;if(process.env.NODE_ENV!=="production"){var Nl=typeof console<"u",gd=/(?:^|[-_])(\w)/g,xd=function(n){return n.replace(gd,function(t){return t.toUpperCase()}).replace(/[-_]/g,"")};T=function(n,t){t===void 0&&(t=wn);var e=t?ao(t):"";nt.warnHandler?nt.warnHandler.call(null,n,t,e):Nl&&!nt.silent&&console.error("[Vue warn]: ".concat(n).concat(e))},oo=function(n,t){Nl&&!nt.silent&&console.warn("[Vue tip]: ".concat(n)+(t?ao(t):""))},ln=function(n,t){if(n.$root===n)return"<Root>";var e=ht(n)&&n.cid!=null?n.options:n._isVue?n.$options||n.constructor.options:n,r=kn(e),s=e.__file;if(!r&&s){var i=s.match(/([^/\\]+)\.vue$/);r=i&&i[1]}return(r?"<".concat(xd(r),">"):"<Anonymous>")+(s&&t!==!1?" at ".concat(s):"")};var md=function(n,t){for(var e="";t;)t%2===1&&(e+=n),t>1&&(n+=n),t>>=1;return e};ao=function(n){if(n._isVue&&n.$parent){for(var t=[],e=0;n;){if(t.length>0){var r=t[t.length-1];if(r.constructor===n.constructor){e++,n=n.$parent;continue}else e>0&&(t[t.length-1]=[r,e],e=0)}t.push(n),n=n.$parent}return`
|
|
4
4
|
|
|
@@ -560,3 +560,4 @@ https://github.com/highlightjs/highlight.js/issues/2277`),at=y,U=E);const xt={co
|
|
|
560
560
|
`:`<code>${n}</code>`}};F.setOptions({highlight:function(n,t){if(!t)return vn.highlightAuto(n).value;const e=vn.getLanguage(t)?t:"plaintext";return vn.highlight(e,n).value},breaks:!0}),F.use({renderer:CC});const EC={name:"comment",props:["comment","commentObj"],computed:{markedComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)&&F.parse((t=this.commentObj)==null?void 0:t.text)||this.comment&&F.parse(this.comment)},color(){var n;return(n=this.commentObj)==null?void 0:n.color}}},u2={};var bC=tt(EC,vC,yC,!1,wC,"460475e2",null,null);function wC(n){for(let t in u2)this[t]=u2[t]}const Wr=function(){return bC.exports}();var TC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full",class:{"right-to-left":n.rtl},attrs:{"data-el-type":"occurrence","data-belongs-to":n.participant,"data-x-offset":n.center,"data-debug-center-of":n.computedCenter}},[this.context.braceBlock()?e("block",{attrs:{context:n.context.braceBlock().block(),selfCallIndent:n.selfCallIndent}}):n._e()],1)},AC=[];const bw="",ww="",SC={name:"occurrence",props:["context","selfCallIndent","participant","rtl"],data:function(){return{center:0}},computed:{...Dt(["centerOf","messageLayerLeft"]),...Cr(["code"]),computedCenter:function(){try{return this.centerOf(this.participant)}catch(n){return console.error(n),0}}}},h2={};var RC=tt(SC,TC,AC,!1,kC,"03ad2cec",null,null);function kC(n){for(let t in h2)this[t]=h2[t]}const f2=function(){return RC.exports}();class Qn{constructor(t,e,r,s){this.start={line:t,col:e},this.stop={line:r,col:s}}static from(t){const e=t.start,r=t.stop;return new Qn(e.line,e.column,r.line,r.column+r.text.length)}}var OC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction creation sync text-center transform",class:{"right-to-left":n.rightToLeft,"-translate-x-full":n.rightToLeft,highlight:n.isCurrent},style:{width:n.interactionWidth+"px"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),e("div",{ref:"messageContainer",staticClass:"message-container pointer-events-none flex items-center h-10",class:{"flex-row-reverse":n.rightToLeft},attrs:{"data-type":"creation","data-to":n.to}},[e("message",{ref:"messageEl",staticClass:"invocation w-full transform -translate-y-1/2 pointer-events-auto",attrs:{content:n.signature,rtl:n.rightToLeft,type:"creation"}}),e("div",{ref:"participantPlaceHolder",staticClass:"invisible right-0 flex flex-col justify-center flex-shrink-0"},[e("participant",{attrs:{entity:{name:n.to}}})],1)],1),e("occurrence",{staticClass:"pointer-events-auto",attrs:{context:n.creation,participant:n.to}}),n.assignee?e("message",{staticClass:"return transform -translate-y-full pointer-events-auto",attrs:{content:n.assignee,rtl:!n.rightToLeft,type:"return"}}):n._e()],1)},NC=[];const d2=ir.child({name:"Creation"}),IC={name:"creation",props:["context","comment","selfCallIndent"],computed:{...Dt(["cursor","onElementClick","distance"]),from(){return this.context.Origin()},creation(){return this.context.creation()},interactionWidth(){let n=Math.abs(this.distance(this.to,this.from)),t=this.selfCallIndent||0;return n+(this.rightToLeft?t:-t)},rightToLeft(){return this.distance(this.to,this.from)<0},signature(){return this.creation.SignatureText()},assignee(){function n(s){return s&&s.getFormattedText()||""}let t=this.creation.creationBody().assignment();if(!t)return"";let e=n(t.assignee());const r=n(t.type());return e+(r?":"+r:"")},to(){return this.creation.Owner()},isCurrent(){return this.creation.isCurrent(this.cursor)}},mounted(){this.layoutMessageContainer(),d2.log(`mounted for ${this.to}`)},updated(){this.layoutMessageContainer(),d2.debug(`mounted for ${this.to}`)},methods:{layoutMessageContainer(){(()=>{if(!this.$refs.participantPlaceHolder||!this.$refs.messageContainer)return;const t=this.$refs.participantPlaceHolder.offsetWidth/2;this.$refs.messageContainer.style.width=`calc(100% + ${t+6}px`,this.rightToLeft&&(this.$refs.messageContainer.style.transform=`translateX( ${-(t+6)}px`)})()},onClick(){this.onElementClick(Qn.from(this.context))}},components:{Participant:sh,Comment:Wr,Occurrence:f2,Message:zr}},p2={};var MC=tt(IC,OC,NC,!1,PC,null,null,null);function PC(n){for(let t in p2)this[t]=p2[t]}const $C=function(){return MC.exports}();var DC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message self text-sm flex items-start",staticStyle:{"border-width":"0"}},[e("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"30",height:"24"}},[e("polyline",{staticClass:"line stroke-current fill-none stroke-2",attrs:{points:"0,2 28,2 28,15 14,15"}}),e("polyline",{staticClass:"head stroke-current fill-current stroke-2",attrs:{points:"18,9 8,15 18,21"}})]),e("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[n.assignee?e("span",[n._v(n._s(n.assignee)+" = ")]):n._e(),n._v(" "+n._s(n.content))])])},FC=[];const BC={name:"self-invocation",props:["content","assignee"]},g2={};var UC=tt(BC,DC,FC,!1,HC,null,null,null);function HC(n){for(let t in g2)this[t]=g2[t]}const GC=function(){return UC.exports}();var jC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction sync inline-block",class:{highlight:n.isCurrent,self:n.isSelf},style:{width:!n.isSelf&&n.interactionWidth+"px",transform:"translateX("+n.translateX+"px)"},attrs:{"data-to":n.to,"data-type":"interaction","data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.showStarter&&n.isRootBlock||n.outOfBand?e("div",{staticClass:"occurrence source border-2",class:{"right-to-left":n.rightToLeft}}):n._e(),n.hasComment?e("comment",{attrs:{commentObj:n.commentObj}}):n._e(),e(n.invocation,{tag:"component",staticClass:"text-center",attrs:{color:n.color,content:n.signature,assignee:n.assignee,rtl:n.rightToLeft,type:"sync"}}),e("occurrence",{attrs:{context:n.message,participant:n.to,selfCallIndent:n.passOnOffset,rtl:n.rightToLeft}}),n.assignee&&!n.isSelf?e("message",{staticClass:"return transform -translate-y-full",attrs:{content:n.assignee,rtl:!n.rightToLeft,type:"return"}}):n._e()],1)},VC=[];const Tw="",zC={name:"interaction",props:["context","selfCallIndent","commentObj"],computed:{...Dt(["participants","distance2","cursor","onElementClick"]),hasComment(){var n,t;return((n=this.commentObj)==null?void 0:n.text)!==""||((t=this.commentObj)==null?void 0:t.color)!==""},color(){var n;return(n=this.commentObj)==null?void 0:n.color},message:function(){var n;return(n=this.context)==null?void 0:n.message()},providedFrom:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.ProvidedFrom()},from:function(){return this.providedFrom||this.origin},outOfBand:function(){return!!this.providedFrom&&this.providedFrom!==this.origin},assignee:function(){var t;let n=(t=this.message)==null?void 0:t.Assignment();return n?n.getText():""},signature:function(){var n;return(n=this.message)==null?void 0:n.SignatureText()},translateX:function(){if(!this.rightToLeft&&!this.outOfBand)return 0;const t=this.rightToLeft?this.to:this.providedFrom,e=this.distance2(this.origin,t),r=this.selfCallIndent||0;return e+0-r},rightToLeft:function(){return this.distance2(this.from,this.to)<0},isCurrent:function(){var n;return(n=this.message)==null?void 0:n.isCurrent(this.cursor)},showStarter(){return this.participants.Starter().name!=="_STARTER_"},isRootBlock(){var n,t;return((t=(n=this.context)==null?void 0:n.parentCtx)==null?void 0:t.parentCtx)instanceof jm},origin:function(){var n;return(n=this.context)==null?void 0:n.Origin()},passOnOffset:function(){return this.isSelf?(this.selfCallIndent||0)+6:0},interactionWidth:function(){if(this.context&&this.isSelf)return 0;let n=this.outOfBand?0:this.selfCallIndent||0;return Math.abs(this.distance2(this.from,this.to)-n)},to:function(){var n,t;return(t=(n=this.context)==null?void 0:n.message())==null?void 0:t.Owner()},isSelf:function(){return this.to===this.from},invocation:function(){return this.isSelf?"SelfInvocation":"Message"}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Message:zr,SelfInvocation:GC,Comment:Wr,Occurrence:f2}},x2={};var ZC=tt(zC,jC,VC,!1,qC,"654355dc",null,null);function qC(n){for(let t in x2)this[t]=x2[t]}const WC=function(){return ZC.exports}();var KC=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"message self flex items-start",staticStyle:{"border-width":"0"}},[e("svg",{staticClass:"arrow text-skin-message-arrow",attrs:{width:"34",height:"34"}},[e("polyline",{staticClass:"stroke-current stroke-2 fill-none",attrs:{points:"0,2 28,2 28,25 1,25"}}),e("polyline",{staticClass:"head stroke-current stroke-2 fill-none",attrs:{points:"11,19 1,25 11,31"}})]),e("label",{staticClass:"name px-px hover:text-skin-message-hover hover:bg-skin-message-hover"},[n._v(n._s(n.content))])])},YC=[];const Aw="",XC={name:"self-invocation-async",props:["content"]},m2={};var QC=tt(XC,KC,YC,!1,JC,"15650a4a",null,null);function JC(n){for(let t in m2)this[t]=m2[t]}const tE=function(){return QC.exports}();var eE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction async",class:{"right-to-left":n.rightToLeft,highlight:n.isCurrent},style:{width:n.interactionWidth+"px",transform:"translateX("+n.translateX+"px)"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),e(n.invocation,{tag:"component",attrs:{content:n.signature,rtl:n.rightToLeft,type:"async"}})],1)},nE=[];const Sw="";function S1(n){return n==null}const rE={name:"interaction-async",props:["context","comment","selfCallIndent"],computed:{...Dt(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.asyncMessage()},interactionWidth:function(){var n;return this.isSelf?10*(((n=this.signature)==null?void 0:n.length)||0)+100:Math.abs(this.distance(this.target,this.source))},translateX:function(){return this.rightToLeft?this.distance(this.target,this.from):this.distance(this.source,this.from)},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText()},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t;return(t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText()},isCurrent:function(){const n=this.asyncMessage.start.start,t=this.asyncMessage.stop.stop+1;return S1(this.cursor)||S1(n)||S1(t)?!1:this.cursor>=n&&this.cursor<=t},isSelf:function(){return this.source===this.target},invocation:function(){return this.isSelf?"SelfInvocationAsync":"Message"}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Comment:Wr,SelfInvocationAsync:tE,Message:zr}},_2={};var sE=tt(rE,eE,nE,!1,iE,"146d3785",null,null);function iE(n){for(let t in _2)this[t]=_2[t]}const oE=function(){return sE.exports}();var aE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment alt border-skin-fragment rounded",style:n.fragmentStyle},[e("div",{staticClass:"segment"},[n.comment?e("comment",{attrs:{comment:n.comment,commentObj:n.commentObj}}):n._e(),n._m(0),e("div",{staticClass:"segment"},[e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.condition)+"]")])]),n.blockInIfBlock?e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInIfBlock,selfCallIndent:n.selfCallIndent}}):n._e()],1)],1),n._l(n.alt.elseIfBlock(),function(r,s){return[e("div",{key:s+500,staticClass:"segment mt-2 border-t border-solid"},[e("div",{key:s+1e3,staticClass:"text-skin-fragment"},[e("label",{staticClass:"else-if hidden"},[n._v("else if")]),e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.conditionFromIfElseBlock(r))+"]")])]),e("block",{key:s+2e3,style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInElseIfBlock(r),selfCallIndent:n.selfCallIndent}})],1)]}),n.elseBlock?[e("div",{staticClass:"segment mt-2 border-t border-solid"},[n._m(1),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.elseBlock,selfCallIndent:n.selfCallIndent}})],1)]:n._e()],2)},lE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",{staticClass:"p-0"},[n._v("Alt")])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"p-1"},[n._v("[else]")])])}];const Rw="",cE={name:"fragment-alt",props:["context","comment","selfCallIndent","commentObj"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},alt:function(){return this.context.alt()},blockInIfBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.ifBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},condition:function(){var n;return this.conditionFromIfElseBlock((n=this.alt)==null?void 0:n.ifBlock())},elseBlock:function(){var n,t,e;return(e=(t=(n=this.alt)==null?void 0:n.elseBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{conditionFromIfElseBlock(n){var t,e;return(e=(t=n==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()},blockInElseIfBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},L2={};var uE=tt(cE,aE,lE,!1,hE,"44efdc8c",null,null);function hE(n){for(let t in L2)this[t]=L2[t]}const fE=function(){return uE.exports}();var dE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment par border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.par.braceBlock().block(),selfCallIndent:n.selfCallIndent}})],1)},pE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Par")])])])}];const kw="",Ow="",gE={name:"fragment-par",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},par:function(){return this.context.par()}}},v2={};var xE=tt(gE,dE,pE,!1,mE,"52a95b3f",null,null);function mE(n){for(let t in v2)this[t]=v2[t]}const _E=function(){return xE.exports}();var LE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment loop border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("div",{staticClass:"segment"},[e("div",{staticClass:"text-skin-fragment"},[e("label",{staticClass:"condition p-1"},[n._v("["+n._s(n.condition)+"]")])]),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInLoop,selfCallIndent:n.selfCallIndent}})],1)],1)},vE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header text-skin-fragment-header bg-skin-fragment-header text-base leading-4"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",{staticClass:"p-0"},[n._v("Loop")])])])}];const Nw="",yE={name:"fragment-loop",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},loop:function(){return this.context.loop()},blockInLoop:function(){var n,t;return(t=(n=this.loop)==null?void 0:n.braceBlock())==null?void 0:t.block()},condition:function(){var n,t,e;return(e=(t=(n=this.loop)==null?void 0:n.parExpr())==null?void 0:t.condition())==null?void 0:e.getFormattedText()}}},y2={};var CE=tt(yE,LE,vE,!1,EE,"645ba87b",null,null);function EE(n){for(let t in y2)this[t]=y2[t]}const bE=function(){return CE.exports}();var wE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment opt border-skin-fragment rounded",style:n.fragmentStyle},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.opt.braceBlock().block(),selfCallIndent:n.selfCallIndent}})],1)},TE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Opt")])])])}];const Iw="",AE={name:"fragment-opt",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},opt:function(){return this.context.opt()}}},C2={};var SE=tt(AE,wE,TE,!1,RE,"08f77468",null,null);function RE(n){for(let t in C2)this[t]=C2[t]}const kE=function(){return SE.exports}();var OE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"fragment tcf border-skin-fragment rounded",style:n.fragmentStyle},[e("div",{staticClass:"segment"},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n._m(0),n.blockInTryBlock?e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInTryBlock,selfCallIndent:n.selfCallIndent}}):n._e()],1),n._l(n.tcf.catchBlock(),function(r,s){return[e("div",{key:s+500,staticClass:"segment mt-2 border-t border-solid"},[e("div",{key:s+1e3,staticClass:"header text-skin-fragment"},[e("label",{staticClass:"keyword catch p-1"},[n._v("catch")]),e("label",{staticClass:"exception p-1"},[n._v(n._s(n.exception(r)))])]),e("block",{key:s+2e3,style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.blockInCatchBlock(r),selfCallIndent:n.selfCallIndent}})],1)]}),n.finallyBlock?[e("div",{staticClass:"segment mt-2 border-t border-solid"},[n._m(1),e("block",{style:{paddingLeft:`${n.offsetX}px`},attrs:{context:n.finallyBlock,selfCallIndent:n.selfCallIndent}})],1)]:n._e()],2)},NE=[function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t"},[e("div",{staticClass:"name font-semibold p-1 border-b"},[e("label",[n._v("Try")])])])},function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"header text-skin-fragment finally"},[e("label",{staticClass:"keyword finally p-1"},[n._v("finally")])])}];const Mw="",IE={name:"fragment-tcf",props:["context","comment","selfCallIndent"],mixins:[Vr],computed:{from:function(){return this.context.Origin()},tcf:function(){return this.context.tcf()},blockInTryBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.tryBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()},finallyBlock:function(){var n,t,e;return(e=(t=(n=this.tcf)==null?void 0:n.finallyBlock())==null?void 0:t.braceBlock())==null?void 0:e.block()}},methods:{exception(n){var t;return(t=n==null?void 0:n.invocation())==null?void 0:t.parameters().getText()},blockInCatchBlock(n){var t;return(t=n==null?void 0:n.braceBlock())==null?void 0:t.block()}}},E2={};var ME=tt(IE,OE,NE,!1,PE,"55e59ff3",null,null);function PE(n){for(let t in E2)this[t]=E2[t]}const $E=function(){return ME.exports}();var DE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"interaction return relative",class:{"right-to-left":n.rightToLeft,highlight:n.isCurrent},style:{width:n.width+"px",left:n.left+"px"},attrs:{"data-signature":n.signature},on:{click:function(r){return r.stopPropagation(),n.onClick.apply(null,arguments)}}},[n.comment?e("comment",{attrs:{comment:n.comment}}):n._e(),n.isSelf?e("div",{staticClass:"flex items-center"},[e("svg",{staticClass:"w-3 h-3 flex-shrink-0 fill-current m-1",attrs:{viewBox:"0 0 512 512"}},[e("path",{staticClass:"cls-1",attrs:{d:"M256 0C114.84 0 0 114.84 0 256s114.84 256 256 256 256-114.84 256-256S397.16 0 256 0Zm0 469.33c-117.63 0-213.33-95.7-213.33-213.33S138.37 42.67 256 42.67 469.33 138.37 469.33 256 373.63 469.33 256 469.33Z"}}),e("path",{staticClass:"cls-1",attrs:{d:"M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"}})]),e("span",{staticClass:"name text-sm"},[n._v(n._s(n.signature))])]):n._e(),n.isSelf?n._e():e("Message",{attrs:{content:n.signature,rtl:n.rightToLeft,type:"return"}})],1)},FE=[];const BE={name:"return",props:["context","comment"],computed:{...Dt(["distance","cursor","onElementClick"]),from:function(){return this.context.Origin()},asyncMessage:function(){var n;return(n=this.context)==null?void 0:n.ret().asyncMessage()},width:function(){return this.isSelf?gi(this.signature,Wn.MessageContent):Math.abs(this.distance(this.target,this.source))},left:function(){return this.rightToLeft?this.distance(this.target,this.from)+2:this.distance(this.source,this.from)+2},rightToLeft:function(){return this.distance(this.target,this.source)<0},signature:function(){var n,t,e,r,s;return((t=(n=this.asyncMessage)==null?void 0:n.content())==null?void 0:t.getFormattedText())||((s=(r=(e=this.context)==null?void 0:e.ret())==null?void 0:r.expr())==null?void 0:s.getFormattedText())},source:function(){var n,t;return((t=(n=this.asyncMessage)==null?void 0:n.from())==null?void 0:t.getFormattedText())||this.from},target:function(){var n,t,e,r;return((t=(n=this.asyncMessage)==null?void 0:n.to())==null?void 0:t.getFormattedText())||((r=(e=this.context)==null?void 0:e.ret())==null?void 0:r.ReturnTo())},isCurrent:function(){return!1},isSelf:function(){return this.source===this.target}},methods:{onClick(){this.onElementClick(Qn.from(this.context))}},components:{Comment:Wr,Message:zr}},b2={};var UE=tt(BE,DE,FE,!1,HE,null,null,null);function HE(n){for(let t in b2)this[t]=b2[t]}const GE=function(){return UE.exports}();var jE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"divider",style:{width:n.width+"px",transform:"translateX("+(-1*n.centerOfFrom+10)+"px)"}},[e("div",{staticClass:"left bg-skin-divider"}),e("div",{staticClass:"name"},[n._v(n._s(n.name))]),e("div",{staticClass:"right bg-skin-divider"})])},VE=[];const Pw="",zE={name:"divider",props:["context"],computed:{...Dt(["participants","centerOf"]),width(){let n=this.participants.Names().pop();return this.centerOf(n)+10},from:function(){return this.context.Origin()},centerOfFrom(){return this.centerOf(this.from)},name:function(){return this.context.divider().Note()}}},w2={};var ZE=tt(zE,jE,VE,!1,qE,"83993fee",null,null);function qE(n){for(let t in w2)this[t]=w2[t]}const WE=function(){return ZE.exports}();class KE{constructor(t){const e=t.split(`
|
|
561
561
|
`);this.color=e.find(s=>s.trimStart().startsWith("[red]"))?"red":void 0;const r=e.map(s=>s.replace("[red]",""));this.text=r.join(`
|
|
562
562
|
`),this.text=this.text.trimEnd()}}var YE=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e(n.subStatement,{tag:"component",staticClass:"text-left text-sm text-skin-message",attrs:{context:n.context,comment:n.comment,commentObj:n.commentObj,selfCallIndent:n.selfCallIndent}})},XE=[];const QE={name:"statement",props:["context","selfCallIndent"],computed:{comment:function(){return this.context.getComment()?this.context.getComment():""},commentObj:function(){return new KE(this.comment)},subStatement:function(){let n=this,t={loop:"FragmentLoop",alt:"FragmentAlt",par:"FragmentPar",opt:"FragmentOpt",tcf:"FragmentTryCatchFinally",creation:"Creation",message:"Interaction",asyncMessage:"InteractionAsync",divider:"Divider",ret:"Return"},e=Object.keys(t).find(r=>n.context[r]()!==null);return t[e]}},components:{Creation:$C,Interaction:WC,InteractionAsync:oE,FragmentAlt:fE,FragmentPar:_E,FragmentOpt:kE,FragmentTryCatchFinally:$E,FragmentLoop:bE,Divider:WE,Return:GE}},T2={};var JE=tt(QE,YE,XE,!1,tb,null,null,null);function tb(n){for(let t in T2)this[t]=T2[t]}const eb=function(){return JE.exports}();var nb=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"block"},n._l(n.statements,function(r,s){return e("div",{key:s,staticClass:"statement-container mt-1"},[e("statement",{attrs:{context:r,selfCallIndent:n.selfCallIndent}})],1)}),0)},rb=[];const sb={name:"block",props:["context","selfCallIndent"],computed:{statements:function(){var n;return(n=this.context)==null?void 0:n.stat()}},components:{Statement:eb}},A2={};var ib=tt(sb,nb,rb,!1,ob,null,null,null);function ob(n){for(let t in A2)this[t]=A2[t]}const ab=function(){return ib.exports}(),lb=ir.child({name:"core"});ct.component("Comment",Wr),ct.component("Block",ab),ct.use(Bo);class cb{constructor(t,e=!1){this.el=t,this.store=Ku(),this.app=new ct({el:this.el,store:new Bo.Store(this.store),render:r=>r(e?f1:$h)})}async render(t,e){return lb.debug("rendering",t,e),this._code=t||this._code,this._theme=e||this._theme,this.store.state.theme=this._theme||"default",await this.app.$store.dispatch("updateCode",{code:this._code}),Promise.resolve(this)}get code(){return this._code}get theme(){return this._theme}async getPng(){return this.app.$children[0].toPng()}}const ub={Vue:ct,Vuex:Bo,Store:Ku,SeqDiagram:f1,DiagramFrame:$h};Wt.VueSequence=ub,Wt.default=cb,Object.defineProperties(Wt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
563
|
+
//# sourceMappingURL=zenuml.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
The `module` field is not officially defined by Node.js and support is not planned.
|
|
2
|
+
Instead, the Node.js community settled on package `exports` which they believe is
|
|
3
|
+
more versatile.
|
|
4
|
+
|
|
5
|
+
For practical reasons JavaScript bundlers will continue support the `module` field.
|
|
6
|
+
The esbuild docs [explain](https://esbuild.github.io/api/#main-fields)
|
|
7
|
+
when to use `module` as well as related fields like `main` and `browser`.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
* `main` is the standard field for all packages that are mean to be used with node.
|
|
11
|
+
It is reasonable to expect that the file path in this field is a valid CommonJS module.
|
|
12
|
+
* `module` is a non-standard field that is used to integrate ECMAScript modules into
|
|
13
|
+
node. It is reasonable to expect that the file path in this field is an ECMAScript module (esm).
|
|
14
|
+
|
|
15
|
+
For @zenuml/core, the `main` field is set to `dist/zenuml.js` and the `module` field
|
|
16
|
+
is set to `dist/zenuml.esm.js`.
|
|
17
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenuml/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.28",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/ZenUml/core.git"
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"git:forget": "git rm -r --cached . && git add . && git commit -m \"Forget all ignored files\"",
|
|
34
34
|
"test:specs": "echo \"Error: test:specs is not supported\""
|
|
35
35
|
},
|
|
36
|
-
"main": "./dist/zenuml.
|
|
36
|
+
"main": "./dist/zenuml.js",
|
|
37
|
+
"module": "./dist/zenuml.esm.mjs",
|
|
37
38
|
"types": "./types/index.d.ts",
|
|
38
39
|
"dependencies": {
|
|
39
40
|
"@types/assert": "^1.5.4",
|
package/types/index.d.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
import { VueConstructor } from 'vue';
|
|
2
|
-
|
|
3
|
-
interface VueSequence {
|
|
4
|
-
Version: string;
|
|
5
|
-
BuildTime: string;
|
|
6
|
-
Store: any;
|
|
7
|
-
SeqDiagram: VueConstructor;
|
|
8
|
-
DiagramFrame: VueConstructor;
|
|
9
|
-
}
|
|
1
|
+
// import { VueConstructor } from 'vue';
|
|
2
|
+
|
|
10
3
|
|
|
11
4
|
declare module '*.vue' {
|
|
12
5
|
const SFC: Vue.Component;
|
|
@@ -32,3 +25,7 @@ declare module '@/spa/components/*' {
|
|
|
32
25
|
}
|
|
33
26
|
|
|
34
27
|
export const VueSequence: VueSequence;
|
|
28
|
+
|
|
29
|
+
export default ZenUml;
|
|
30
|
+
|
|
31
|
+
export const debug;
|
package/vite.config.lib.js
CHANGED
|
@@ -8,6 +8,21 @@ export default defineConfig({
|
|
|
8
8
|
name: '@zenuml/core',
|
|
9
9
|
fileName: 'zenuml-core',
|
|
10
10
|
},
|
|
11
|
+
rollupOptions: {
|
|
12
|
+
output: [
|
|
13
|
+
{
|
|
14
|
+
format: 'esm',
|
|
15
|
+
sourcemap: true,
|
|
16
|
+
entryFileNames: `zenuml.esm.mjs`,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'zenuml',
|
|
20
|
+
format: 'umd',
|
|
21
|
+
sourcemap: true,
|
|
22
|
+
entryFileNames: `zenuml.js`,
|
|
23
|
+
},
|
|
24
|
+
]
|
|
25
|
+
},
|
|
11
26
|
},
|
|
12
27
|
plugins: [vue()],
|
|
13
28
|
test: {
|