a small relational database with user-editable schema for manual data entry
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2 lines
93 KiB

!function(){"use strict";function e(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl"),n=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function o(e){if(S(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=o(R(r)?s(r):r);if(i)for(const e in i)t[e]=i[e]}return t}if(P(e))return e}const r=/;(?![^(]*\))/g,i=/:(.+)/;function s(e){const t={};return e.split(r).forEach((e=>{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function a(e){let t="";if(R(e))t=e;else if(S(e))for(let n=0;n<e.length;n++)t+=a(e[n])+" ";else if(P(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const l=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),c=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view");function u(e,t){if(e===t)return!0;let n=$(e),o=$(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=S(e),o=S(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=u(e[o],t[o]);return n}(e,t);if(n=P(e),o=P(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!u(e[n],t[n]))return!1}}return String(e)===String(t)}function d(e,t){return e.findIndex((e=>u(e,t)))}const f=e=>null==e?"":P(e)?JSON.stringify(e,p,2):String(e),p=(e,t)=>O(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:C(t)?{[`Set(${t.size})`]:[...t.values()]}:!P(t)||S(t)||I(t)?t:String(t),h=Object.freeze({}),m=Object.freeze([]),g=()=>{},v=()=>!1,y=/^on[^a-z]/,b=e=>y.test(e),_=e=>e.startsWith("onUpdate:"),w=Object.assign,x=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},j=Object.prototype.hasOwnProperty,k=(e,t)=>j.call(e,t),S=Array.isArray,O=e=>"[object Map]"===N(e),C=e=>"[object Set]"===N(e),$=e=>e instanceof Date,E=e=>"function"==typeof e,R=e=>"string"==typeof e,A=e=>"symbol"==typeof e,P=e=>null!==e&&"object"==typeof e,F=e=>P(e)&&E(e.then)&&E(e.catch),T=Object.prototype.toString,N=e=>T.call(e),V=e=>N(e).slice(8,-1),I=e=>"[object Object]"===N(e),M=e=>R(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,U=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),L=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},B=/-(\w)/g,D=L((e=>e.replace(B,((e,t)=>t?t.toUpperCase():"")))),q=/\B([A-Z])/g,H=L((e=>e.replace(q,"-$1").toLowerCase())),z=L((e=>e.charAt(0).toUpperCase()+e.slice(1))),J=L((e=>e?`on${z(e)}`:"")),W=(e,t)=>e!==t&&(e==e||t==t),K=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},G=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},X=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Y;const Z=new WeakMap,Q=[];let ee;const te=Symbol("iterate"),ne=Symbol("Map key iterate");function oe(e,t=h){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!Q.includes(n)){se(n);try{return le.push(ae),ae=!0,Q.push(n),ee=n,e()}finally{Q.pop(),ue(),ee=Q[Q.length-1]}}};return n.id=ie++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function re(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let ie=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let ae=!0;const le=[];function ce(){le.push(ae),ae=!1}function ue(){const e=le.pop();ae=void 0===e||e}function de(e,t,n){if(!ae||void 0===ee)return;let o=Z.get(e);o||Z.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=new Set),r.has(ee)||(r.add(ee),ee.deps.push(r),ee.options.onTrack&&ee.options.onTrack({effect:ee,target:e,type:t,key:n}))}function fe(e,t,n,o,r,i){const s=Z.get(e);if(!s)return;const a=new Set,l=e=>{e&&e.forEach((e=>{(e!==ee||e.allowRecurse)&&a.add(e)}))};if("clear"===t)s.forEach(l);else if("length"===n&&S(e))s.forEach(((e,t)=>{("length"===t||t>=o)&&l(e)}));else switch(void 0!==n&&l(s.get(n)),t){case"add":S(e)?M(n)&&l(s.get("length")):(l(s.get(te)),O(e)&&l(s.get(ne)));break;case"delete":S(e)||(l(s.get(te)),O(e)&&l(s.get(ne)));break;case"set":O(e)&&l(s.get(te))}a.forEach((s=>{s.options.onTrigger&&s.options.onTrigger({effect:s,target:e,key:n,type:t,newValue:o,oldValue:r,oldTarget:i}),s.options.scheduler?s.options.scheduler(s):s()}))}const pe=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(A)),he=be(),me=be(!1,!0),ge=be(!0),ve=be(!0,!0),ye={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?Ke:We).get(n))return n;const i=S(n);if(!e&&i&&k(ye,o))return Reflect.get(ye,o,r);const s=Reflect.get(n,o,r);if(A(o)?pe.has(o):"__proto__"===o||"__v_isRef"===o)return s;if(e||de(n,"get",o),t)return s;if(ot(s)){return!i||!M(o)?s.value:s}return P(s)?e?Xe(s):Ge(s):s}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){const n=nt(this);for(let e=0,t=this.length;e<t;e++)de(n,"get",e+"");const o=t.apply(n,e);return-1===o||!1===o?t.apply(n,e.map(nt)):o}})),["push","pop","shift","unshift","splice"].forEach((e=>{const t=Array.prototype[e];ye[e]=function(...e){ce();const n=t.apply(this,e);return ue(),n}}));function _e(e=!1){return function(t,n,o,r){const i=t[n];if(!e&&(o=nt(o),!S(t)&&ot(i)&&!ot(o)))return i.value=o,!0;const s=S(t)&&M(n)?Number(n)<t.length:k(t,n),a=Reflect.set(t,n,o,r);return t===nt(r)&&(s?W(o,i)&&fe(t,"set",n,o,i):fe(t,"add",n,o)),a}}const we={get:he,set:_e(),deleteProperty:function(e,t){const n=k(e,t),o=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&fe(e,"delete",t,void 0,o),r},has:function(e,t){const n=Reflect.has(e,t);return A(t)&&pe.has(t)||de(e,"has",t),n},ownKeys:function(e){return de(e,"iterate",S(e)?"length":te),Reflect.ownKeys(e)}},xe={get:ge,set:(e,t)=>(console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>(console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},je=w({},we,{get:me,set:_e(!0)}),ke=w({},xe,{get:ve}),Se=e=>P(e)?Ge(e):e,Oe=e=>P(e)?Xe(e):e,Ce=e=>e,$e=e=>Reflect.getPrototypeOf(e);function Ee(e,t,n=!1,o=!1){const r=nt(e=e.__v_raw),i=nt(t);t!==i&&!n&&de(r,"get",t),!n&&de(r,"get",i);const{has:s}=$e(r),a=n?Oe:o?Ce:Se;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void 0}function Re(e,t=!1){const n=this.__v_raw,o=nt(n),r=nt(e);return e!==r&&!t&&de(o,"has",e),!t&&de(o,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&de(nt(e),"iterate",te),Reflect.get(e,"size",e)}function Pe(e){e=nt(e);const t=nt(this),n=$e(t).has.call(t,e);return t.add(e),n||fe(t,"add",e,e),this}function Fe(e,t){t=nt(t);const n=nt(this),{has:o,get:r}=$e(n);let i=o.call(n,e);i?Je(n,o,e):(e=nt(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?W(t,s)&&fe(n,"set",e,t,s):fe(n,"add",e,t),this}function Te(e){const t=nt(this),{has:n,get:o}=$e(t);let r=n.call(t,e);r?Je(t,n,e):(e=nt(e),r=n.call(t,e));const i=o?o.call(t,e):void 0,s=t.delete(e);return r&&fe(t,"delete",e,void 0,i),s}function Ne(){const e=nt(this),t=0!==e.size,n=O(e)?new Map(e):new Set(e),o=e.clear();return t&&fe(e,"clear",void 0,void 0,n),o}function Ve(e,t){return function(n,o){const r=this,i=r.__v_raw,s=nt(i),a=e?Oe:t?Ce:Se;return!e&&de(s,"iterate",te),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function Ie(e,t,n){return function(...o){const r=this.__v_raw,i=nt(r),s=O(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=t?Oe:n?Ce:Se;return!t&&de(i,"iterate",l?ne:te),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Me(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${z(e)} operation ${n}failed: target is readonly.`,nt(this))}return"delete"!==e&&this}}const Ue={get(e){return Ee(this,e)},get size(){return Ae(this)},has:Re,add:Pe,set:Fe,delete:Te,clear:Ne,forEach:Ve(!1,!1)},Le={get(e){return Ee(this,e,!1,!0)},get size(){return Ae(this)},has:Re,add:Pe,set:Fe,delete:Te,clear:Ne,forEach:Ve(!1,!0)},Be={get(e){return Ee(this,e,!0)},get size(){return Ae(this,!0)},has(e){return Re.call(this,e,!0)},add:Me("add"),set:Me("set"),delete:Me("delete"),clear:Me("clear"),forEach:Ve(!0,!1)};function De(e,t){const n=t?Le:e?Be:Ue;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(k(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Ue[e]=Ie(e,!1,!1),Be[e]=Ie(e,!0,!1),Le[e]=Ie(e,!1,!0)}));const qe={get:De(!1,!1)},He={get:De(!1,!0)},ze={get:De(!0,!1)};function Je(e,t,n){const o=nt(n);if(o!==n&&t.call(e,o)){const t=V(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const We=new WeakMap,Ke=new WeakMap;function Ge(e){return e&&e.__v_isReadonly?e:Ze(e,!1,we,qe)}function Xe(e){return Ze(e,!0,xe,ze)}function Ye(e){return Ze(e,!0,ke,ze)}function Ze(e,t,n,o){if(!P(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=t?Ke:We,i=r.get(e);if(i)return i;const s=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(V(a));var a;if(0===s)return e;const l=new Proxy(e,2===s?o:n);return r.set(e,l),l}function Qe(e){return et(e)?Qe(e.__v_raw):!(!e||!e.__v_isReactive)}function et(e){return!(!e||!e.__v_isReadonly)}function tt(e){return Qe(e)||et(e)}function nt(e){return e&&nt(e.__v_raw)||e}function ot(e){return Boolean(e&&!0===e.__v_isRef)}const rt={get:(e,t,n)=>{return ot(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const r=e[t];return ot(r)&&!ot(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function it(e){return Qe(e)?e:new Proxy(e,rt)}class st{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}class at{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=oe(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,fe(nt(this),"set","value"))}}),this.__v_isReadonly=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),de(nt(this),"get","value"),this._value}set value(e){this._setter(e)}}const lt=[];function ct(e){lt.push(e)}function ut(){lt.pop()}function dt(e,...t){ce();const n=lt.length?lt[lt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=lt[lt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)mt(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${wr(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,r=` at <${wr(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...ft(e.props),i]:[r+i]}(e))})),t}(r)),console.warn(...n)}ue()}function ft(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...pt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function pt(e,t,n){return R(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ot(t)?(t=pt(e,nt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):E(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=nt(t),n?t:[`${e}=`,t])}const ht={bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next"};function mt(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){vt(e,t,n)}return r}function gt(e,t,n,o){if(E(e)){const r=mt(e,t,n,o);return r&&F(r)&&r.catch((e=>{vt(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(gt(e[i],t,n,o));return r}function vt(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,i=ht[n];for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void mt(s,null,10,[e,r,i])}!function(e,t,n,o=!0){{const r=ht[t];if(n&&ct(n),dt("Unhandled error"+(r?` during execution of ${r}`:"")),n&&ut(),o)throw e;console.error(e)}}(e,n,r,o)}let yt=!1,bt=!1;const _t=[];let wt=0;const xt=[];let jt=null,kt=0;const St=[];let Ot=null,Ct=0;const $t=Promise.resolve();let Et=null,Rt=null;function At(e){const t=Et||$t;return e?t.then(this?e.bind(this):e):t}function Pt(e){_t.length&&_t.includes(e,yt&&e.allowRecurse?wt+1:wt)||e===Rt||(_t.push(e),Ft())}function Ft(){yt||bt||(bt=!0,Et=$t.then(Ut))}function Tt(e,t,n,o){S(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),Ft()}function Nt(e){Tt(e,Ot,St,Ct)}function Vt(e,t=null){if(xt.length){for(Rt=t,jt=[...new Set(xt)],xt.length=0,e=e||new Map,kt=0;kt<jt.length;kt++)Lt(e,jt[kt]),jt[kt]();jt=null,kt=0,Rt=null,Vt(e,t)}}function It(e){if(St.length){const t=[...new Set(St)];if(St.length=0,Ot)return void Ot.push(...t);for(Ot=t,e=e||new Map,Ot.sort(((e,t)=>Mt(e)-Mt(t))),Ct=0;Ct<Ot.length;Ct++)Lt(e,Ot[Ct]),Ot[Ct]();Ot=null,Ct=0}}const Mt=e=>null==e.id?1/0:e.id;function Ut(e){bt=!1,yt=!0,Vt(e=e||new Map),_t.sort(((e,t)=>Mt(e)-Mt(t)));try{for(wt=0;wt<_t.length;wt++){const t=_t[wt];t&&(Lt(e,t),mt(t,null,14))}}finally{wt=0,_t.length=0,It(e),yt=!1,Et=null,(_t.length||St.length)&&Ut(e)}}function Lt(e,t){if(e.has(t)){const n=e.get(t);if(n>100)throw new Error("Maximum recursive updates exceeded. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.");e.set(t,n+1)}else e.set(t,1)}let Bt=!1;const Dt=new Set;("undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{}).__VUE_HMR_RUNTIME__={createRecord:zt(Ht),rerender:zt((function(e,t){const n=qt.get(e);if(!n)return;t&&(n.component.render=t);Array.from(n.instances).forEach((e=>{t&&(e.render=t),e.renderCache=[],Bt=!0,e.update(),Bt=!1}))})),reload:zt((function(e,t){const n=qt.get(e);if(!n)return;const{component:o,instances:r}=n;if(!Dt.has(o)){t=xr(t)?t.__vccOpts:t,w(o,t);for(const e in o)e in t||delete o[e];Dt.add(o),Nt((()=>{Dt.delete(o)}))}Array.from(r).forEach((e=>{e.parent?Pt(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}))}))};const qt=new Map;function Ht(e,t){return t||(dt("HMR API usage is out of date.\nPlease upgrade vue-loader/vite/rollup-plugin-vue or other relevant depdendency that handles Vue SFC compilation."),t={}),!qt.has(e)&&(qt.set(e,{component:xr(t)?t.__vccOpts:t,instances:new Set}),!0)}function zt(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Jt;const Wt=Xt("component:added"),Kt=Xt("component:updated"),Gt=Xt("component:removed");function Xt(e){return t=>{Jt&&Jt.emit(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function Yt(e,t,...n){const o=e.vnode.props||h;{const{emitsOptions:o,propsOptions:[r]}=e;if(o)if(t in o){const e=o[t];if(E(e)){e(...n)||dt(`Invalid event arguments: event validation failed for event "${t}".`)}}else r&&J(t)in r||dt(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${J(t)}" prop.`)}let r=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in o){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:i}=o[e]||h;i?r=n.map((e=>e.trim())):t&&(r=n.map(X))}!function(e,t,n){Jt&&Jt.emit("component:emit",e.appContext.app,e,t,n)}(e,t,r);{const n=t.toLowerCase();n!==t&&o[J(n)]&&dt(`Event "${n}" is emitted in component ${wr(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${H(t)}" instead of "${t}".`)}let a=J(D(t)),l=o[a];!l&&i&&(a=J(H(t)),l=o[a]),l&&gt(l,e,6,r);const c=o[a+"Once"];if(c){if(e.emitted){if(e.emitted[a])return}else(e.emitted={})[a]=!0;gt(c,e,6,r)}}function Zt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},i=!1;if(!E(e)){const o=e=>{i=!0,w(r,Zt(e,t,!0))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||i?(S(o)?o.forEach((e=>r[e]=null)):w(r,o),e.__emits=r):e.__emits=null}function Qt(e,t){return!(!e||!b(t))&&(t=t.slice(2).replace(/Once$/,""),k(e,t[0].toLowerCase()+t.slice(1))||k(e,H(t))||k(e,t))}let en=null;function tn(e){en=e}let nn=!1;function on(){nn=!0}function rn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:h}=e;let m;en=e,nn=!1;try{let e;if(4&n.shapeFlag){const t=r||o;m=zo(u.call(t,t,d,i,p,f,h)),e=l}else{const n=t;l===i&&on(),m=zo(n.length>1?n(i,{get attrs(){return on(),l},slots:a,emit:c}):n(i,null)),e=t.props?l:ln(l)}let g,v=m;if(2048&m.patchFlag&&([v,g]=sn(m)),!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=v;if(t.length)if(1&n||6&n)s&&t.some(_)&&(e=cn(e,s)),v=Do(v,e);else if(!nn&&v.type!==Eo){const e=Object.keys(l),t=[],n=[];for(let o=0,r=e.length;o<r;o++){const r=e[o];b(r)?_(r)||t.push(r[2].toLowerCase()+r.slice(3)):n.push(r)}n.length&&dt(`Extraneous non-props attributes (${n.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),t.length&&dt(`Extraneous non-emits event listeners (${t.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}n.dirs&&(un(v)||dt("Runtime directive used on component with non-element root node. The directives will not function as intended."),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(un(v)||dt("Component inside <Transition> renders non-element root node that cannot be animated."),v.transition=n.transition),g?g(v):m=v}catch(t){vt(t,e,1),m=Bo(Eo)}return en=null,m}const sn=e=>{const t=e.children,n=e.dynamicChildren,o=an(t);if(!o)return[e,void 0];const r=t.indexOf(o),i=n?n.indexOf(o):-1;return[zo(o),o=>{t[r]=o,n&&(i>-1?n[i]=o:o.patchFlag>0&&(e.dynamicChildren=[...n,o]))}]};function an(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(!Vo(o))return;if(o.type!==Eo||"v-if"===o.children){if(t)return;t=o}}return t}const ln=e=>{let t;for(const n in e)("class"===n||"style"===n||b(n))&&((t||(t={}))[n]=e[n]);return t},cn=(e,t)=>{const n={};for(const o in e)_(o)&&o.slice(9)in t||(n[o]=e[o]);return n},un=e=>6&e.shapeFlag||1&e.shapeFlag||e.type===Eo;function dn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!Qt(n,i))return!0}return!1}function fn(e){if(E(e)&&(e=e()),S(e)){const t=an(e);t||dt("<Suspense> slots expect a single root node."),e=t}return zo(e)}let pn=0;const hn=e=>pn+=e;function mn(e,t=en){if(!t)return e;const n=(...n)=>{pn||Fo(!0);const o=en;tn(t);const r=e(...n);return tn(o),pn||To(),r};return n._c=!0,n}let gn=null;const vn=[];function yn(e){vn.push(gn=e)}function bn(){vn.pop(),gn=vn[vn.length-1]||null}function _n(e){return t=>mn((function(){yn(e);const n=t.apply(this,arguments);return bn(),n}))}function wn(e,t,n,o=!1){const r={},i={};G(i,Mo,1),xn(e,t,r,i),En(r,e),n?e.props=o?r:Ze(r,!1,je,He):e.type.props?e.props=r:e.props=i,e.attrs=i}function xn(e,t,n,o){const[r,i]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(U(i))continue;let a;r&&k(r,a=D(i))?n[a]=s:Qt(e.emitsOptions,i)||(o[i]=s)}if(i){const t=nt(n);for(let o=0;o<i.length;o++){const s=i[o];n[s]=jn(r,t,s,t[s],e)}}}function jn(e,t,n,o,r){const i=e[n];if(null!=i){const e=k(i,"default");if(e&&void 0===o){const e=i.default;i.type!==Function&&E(e)?(dr(r),o=e(t),dr(null)):o=e}i[0]&&(k(t,n)||e?!i[1]||""!==o&&o!==H(n)||(o=!0):o=!1)}return o}function kn(e,t,n=!1){if(!t.deopt&&e.__props)return e.__props;const o=e.props,r={},i=[];let s=!1;if(!E(e)){const o=e=>{s=!0;const[n,o]=kn(e,t,!0);w(r,n),o&&i.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!s)return e.__props=m;if(S(o))for(let e=0;e<o.length;e++){R(o[e])||dt("props must be strings when using array syntax.",o[e]);const t=D(o[e]);Sn(t)&&(r[t]=h)}else if(o){P(o)||dt("invalid props options",o);for(const e in o){const t=D(e);if(Sn(t)){const n=o[e],s=r[t]=S(n)||E(n)?{type:n}:n;if(s){const e=$n(Boolean,s.type),n=$n(String,s.type);s[0]=e>-1,s[1]=n<0||e<n,(e>-1||k(s,"default"))&&i.push(t)}}}}return e.__props=[r,i]}function Sn(e){return"$"!==e[0]||(dt(`Invalid prop name: "${e}" is a reserved property.`),!1)}function On(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Cn(e,t){return On(e)===On(t)}function $n(e,t){if(S(t)){for(let n=0,o=t.length;n<o;n++)if(Cn(t[n],e))return n}else if(E(t))return Cn(t,e)?0:-1;return-1}function En(e,t){const n=nt(e),o=t.propsOptions[0];for(const e in o){let t=o[e];null!=t&&Rn(e,n[e],t,!k(n,e))}}function Rn(e,t,n,o){const{type:r,required:i,validator:s}=n;if(i&&o)dt('Missing required prop: "'+e+'"');else if(null!=t||n.required){if(null!=r&&!0!==r){let n=!1;const o=S(r)?r:[r],i=[];for(let e=0;e<o.length&&!n;e++){const{valid:r,expectedType:s}=Pn(t,o[e]);i.push(s||""),n=r}if(!n)return void dt(function(e,t,n){let o=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(z).join(", ")}`;const r=n[0],i=V(t),s=Fn(t,r),a=Fn(t,i);1===n.length&&Tn(r)&&!function(...e){return e.some((e=>"boolean"===e.toLowerCase()))}(r,i)&&(o+=` with value ${s}`);o+=`, got ${i} `,Tn(i)&&(o+=`with value ${a}.`);return o}(e,t,i))}s&&!s(t)&&dt('Invalid prop: custom validator check failed for prop "'+e+'".')}}const An=e("String,Number,Boolean,Function,Symbol");function Pn(e,t){let n;const o=On(t);if(An(o)){const r=typeof e;n=r===o.toLowerCase(),n||"object"!==r||(n=e instanceof t)}else n="Object"===o?P(e):"Array"===o?S(e):e instanceof t;return{valid:n,expectedType:o}}function Fn(e,t){return"String"===t?`"${e}"`:"Number"===t?`${Number(e)}`:`${e}`}function Tn(e){return["string","number","boolean"].some((t=>e.toLowerCase()===t))}function Nn(e,t,n=ur,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),dr(n);const r=gt(t,n,e,o);return dr(null),ue(),r});return o?r.unshift(i):r.push(i),i}dt(`${J(ht[e].replace(/ hook$/,""))} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}const Vn=e=>(t,n=ur)=>!hr&&Nn(e,t,n),In=Vn("bm"),Mn=Vn("m"),Un=Vn("bu"),Ln=Vn("u"),Bn=Vn("bum"),Dn=Vn("um"),qn=Vn("rtg"),Hn=Vn("rtc"),zn={};function Jn(e,t,n){return E(t)||dt("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Wn(e,t,n)}function Wn(e,t,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:s}=h,a=ur){t||(void 0!==n&&dt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&dt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const l=e=>{dt("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")};let c,u,d=!1;if(ot(e)?(c=()=>e.value,d=!!e._shallow):Qe(e)?(c=()=>e,o=!0):S(e)?c=()=>e.map((e=>ot(e)?e.value:Qe(e)?Gn(e):E(e)?mt(e,a,2):void l(e))):E(e)?c=t?()=>mt(e,a,2):()=>{if(!a||!a.isUnmounted)return u&&u(),mt(e,a,3,[f])}:(c=g,l(e)),t&&o){const e=c;c=()=>Gn(e())}const f=e=>{u=y.options.onStop=()=>{mt(e,a,4)}};let p=S(e)?[]:zn;const m=()=>{if(y.active)if(t){const e=y();(o||d||W(e,p))&&(u&&u(),gt(t,a,3,[e,p===zn?void 0:p,f]),p=e)}else y()};let v;m.allowRecurse=!!t,v="sync"===r?m:"post"===r?()=>vo(m,a&&a.suspense):()=>{!a||a.isMounted?function(e){Tt(e,jt,xt,kt)}(m):m()};const y=oe(c,{lazy:!0,onTrack:i,onTrigger:s,scheduler:v});return yr(y,a),t?n?m():p=y():"post"===r?vo(y,a&&a.suspense):y(),()=>{re(y),a&&x(a.effects,y)}}function Kn(e,t,n){const o=this.proxy;return Wn(R(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Gn(e,t=new Set){if(!P(e)||t.has(e))return e;if(t.add(e),ot(e))Gn(e.value,t);else if(S(e))for(let n=0;n<e.length;n++)Gn(e[n],t);else if(C(e)||O(e))e.forEach((e=>{Gn(e,t)}));else for(const n in e)Gn(e[n],t);return e}const Xn=e=>e.type.__isKeepAlive;function Yn(e,t,n=ur){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Nn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Xn(e.parent.vnode)&&Zn(o,t,n,e),e=e.parent}}function Zn(e,t,n,o){const r=Nn(t,e,o,!0);Dn((()=>{x(o[t],r)}),n)}const Qn=e=>"_"===e[0]||"$stable"===e,eo=e=>S(e)?e.map(zo):[zo(e)],to=(e,t,n)=>mn((n=>(ur&&dt(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),eo(t(n)))),n),no=(e,t)=>{const n=e._ctx;for(const o in e){if(Qn(o))continue;const r=e[o];if(E(r))t[o]=to(o,r,n);else if(null!=r){dt(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const e=eo(r);t[o]=()=>e}}},oo=(e,t)=>{Xn(e.vnode)||dt("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=eo(t);e.slots.default=()=>n},ro=e("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text");function io(e){ro(e)&&dt("Do not use built-in directive ids as custom directive id: "+e)}function so(e,t){const n=en;if(null===n)return dt("withDirectives can only be used inside render functions."),e;const o=n.proxy,r=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[n,i,s,a=h]=t[e];E(n)&&(n={mounted:n,updated:n}),r.push({dir:n,instance:o,value:i,oldValue:void 0,arg:s,modifiers:a})}return e}function ao(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);const l=a.dir[o];l&&gt(l,n,8,[e.el,a,e,t])}}function lo(){return{app:null,config:{isNativeTag:v,performance:!1,globalProperties:{},optionMergeStrategies:{},isCustomElement:v,errorHandler:void 0,warnHandler:void 0},mixins:[],components:{},directives:{},provides:Object.create(null)}}let co,uo,fo=0;function po(e,t){return function(n,o=null){null==o||P(o)||(dt("root props passed to app.mount() must be an object."),o=null);const r=lo(),i=new Set;let s=!1;const a=r.app={_uid:fo++,_component:n,_props:o,_container:null,_context:r,version:Sr,get config(){return r.config},set config(e){dt("app.config cannot be replaced. Modify individual options instead.")},use:(e,...t)=>(i.has(e)?dt("Plugin has already been applied to target app."):e&&E(e.install)?(i.add(e),e.install(a,...t)):E(e)?(i.add(e),e(a,...t)):dt('A plugin must either be a function or an object with an "install" function.'),a),mixin:e=>(r.mixins.includes(e)?dt("Mixin has already been applied to target app"+(e.name?`: ${e.name}`:"")):(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),a),component:(e,t)=>(pr(e,r.config),t?(r.components[e]&&dt(`Component "${e}" has already been registered in target app.`),r.components[e]=t,a):r.components[e]),directive:(e,t)=>(io(e),t?(r.directives[e]&&dt(`Directive "${e}" has already been registered in target app.`),r.directives[e]=t,a):r.directives[e]),mount(i,l){if(!s){const c=Bo(n,o);return c.appContext=r,r.reload=()=>{e(Do(c),i)},l&&t?t(c,i):e(c,i),s=!0,a._container=i,i.__vue_app__=a,function(e,t){Jt&&Jt.emit("app:init",e,t,{Fragment:Co,Text:$o,Comment:Eo,Static:Ro})}(a,Sr),c.component.proxy}dt("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`")},unmount(){s?(e(null,a._container),function(e){Jt&&Jt.emit("app:unmount",e)}(a)):dt("Cannot unmount an app that is not mounted.")},provide:(e,t)=>(e in r.provides&&dt(`App already provides property with key "${String(e)}". It will be overwritten with the new value.`),r.provides[e]=t,a)};return a}}function ho(e,t){e.appContext.config.performance&&go()&&uo.mark(`vue-${t}-${e.uid}`)}function mo(e,t){if(e.appContext.config.performance&&go()){const n=`vue-${t}-${e.uid}`,o=n+":end";uo.mark(o),uo.measure(`<${wr(e,e.type)}> ${t}`,n,o),uo.clearMarks(n),uo.clearMarks(o)}}function go(){return void 0!==co||("undefined"!=typeof window&&window.performance?(co=!0,uo=window.performance):co=!1),co}const vo=function(e,t){t&&t.pendingBranch?S(e)?t.effects.push(...e):t.effects.push(e):Nt(e)},yo=(e,t,n,o)=>{if(S(e))return void e.forEach(((e,r)=>yo(e,t&&(S(t)?t[r]:t),n,o)));let r;r=!o||o.type.__asyncLoader?null:4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el;const{i:i,r:s}=e;if(!i)return void dt("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");const a=t&&t.r,l=i.refs===h?i.refs={}:i.refs,c=i.setupState;if(null!=a&&a!==s&&(R(a)?(l[a]=null,k(c,a)&&(c[a]=null)):ot(a)&&(a.value=null)),R(s)){const e=()=>{l[s]=r,k(c,s)&&(c[s]=r)};r?(e.id=-1,vo(e,n)):e()}else if(ot(s)){const e=()=>{s.value=r};r?(e.id=-1,vo(e,n)):e()}else E(s)?mt(s,i,12,[r,l]):dt("Invalid template ref type:",r,`(${typeof r})`)};function bo(e){return function(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=g,cloneNode:v,insertStaticContent:y}=e,b=(e,t,n,o=null,r=null,i=null,s=!1,a=!1)=>{e&&!Io(e,t)&&(o=ne(e),Y(e,r,i,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:l,ref:c,shapeFlag:u}=t;switch(l){case $o:_(e,t,n,o);break;case Eo:x(e,t,n,o);break;case Ro:null==e?j(t,n,o,s):S(e,t,n,s);break;case Co:V(e,t,n,o,r,i,s,a);break;default:1&u?$(e,t,n,o,r,i,s,a):6&u?I(e,t,n,o,r,i,s,a):64&u||128&u?l.process(e,t,n,o,r,i,s,a,se):dt("Invalid VNode type:",l,`(${typeof l})`)}null!=c&&r&&yo(c,e&&e.ref,i,t)},_=(e,t,o,r)=>{if(null==e)n(t.el=a(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},x=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},j=(e,t,n,o)=>{[e.el,e.anchor]=y(e.children,t,n,o)},S=(e,t,n,o)=>{if(t.children!==e.children){const r=f(e.anchor);C(e),[t.el,t.anchor]=y(t.children,n,r,o)}else t.el=e.el,t.anchor=e.anchor},O=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=f(e),n(e,o,r),e=i;n(t,o,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)},$=(e,t,n,o,r,i,s,a)=>{s=s||"svg"===t.type,null==e?E(t,n,o,r,i,s,a):P(e,t,r,i,s,a)},E=(e,t,o,i,a,l,c)=>{let d,f;const{type:p,props:h,shapeFlag:m,transition:g,scopeId:v,patchFlag:y,dirs:b}=e;if(d=e.el=s(e.type,l,h&&h.is),8&m?u(d,e.children):16&m&&A(e.children,d,null,i,a,l&&"foreignObject"!==p,c||!!e.dynamicChildren),b&&ao(e,null,i,"created"),h){for(const t in h)U(t)||r(d,t,null,h[t],l,e.children,i,a,te);(f=h.onVnodeBeforeMount)&&_o(f,i,e)}R(d,v,e,i),Object.defineProperty(d,"__vnode",{value:e,enumerable:!1}),Object.defineProperty(d,"__vueParentComponent",{value:i,enumerable:!1}),b&&ao(e,null,i,"beforeMount");const _=(!a||a&&!a.pendingBranch)&&g&&!g.persisted;_&&g.beforeEnter(d),n(d,t,o),((f=h&&h.onVnodeMounted)||_||b)&&vo((()=>{f&&_o(f,i,e),_&&g.enter(d),b&&ao(e,null,i,"mounted")}),a)},R=(e,t,n,o)=>{if(t&&p(e,t),o){const r=o.type.__scopeId;r&&r!==t&&p(e,r+"-s");let i=o.subTree;i.type===Co&&(i=an(i.children)||i),n===i&&R(e,o.vnode.scopeId,o.vnode,o.parent)}},A=(e,t,n,o,r,i,s,a=0)=>{for(let l=a;l<e.length;l++){const a=e[l]=s?Jo(e[l]):zo(e[l]);b(null,a,t,n,o,r,i,s)}},P=(e,t,n,o,s,a)=>{const l=t.el=e.el;let{patchFlag:c,dynamicChildren:d,dirs:f}=t;c|=16&e.patchFlag;const p=e.props||h,m=t.props||h;let g;if((g=m.onVnodeBeforeUpdate)&&_o(g,n,t,e),f&&ao(t,e,n,"beforeUpdate"),Bt&&(c=0,a=!1,d=null),c>0){if(16&c)N(l,t,p,m,n,o,s);else if(2&c&&p.class!==m.class&&r(l,"class",null,m.class,s),4&c&&r(l,"style",p.style,m.style,s),8&c){const a=t.dynamicProps;for(let t=0;t<a.length;t++){const c=a[t],u=p[c],d=m[c];(d!==u||i&&i(l,c))&&r(l,c,u,d,s,e.children,n,o,te)}}1&c&&e.children!==t.children&&u(l,t.children)}else a||null!=d||N(l,t,p,m,n,o,s);const v=s&&"foreignObject"!==t.type;d?(T(e.dynamicChildren,d,l,n,o,v),n&&n.type.__hmrId&&wo(e,t)):a||z(e,t,l,null,n,o,v),((g=m.onVnodeUpdated)||f)&&vo((()=>{g&&_o(g,n,t,e),f&&ao(t,e,n,"updated")}),o)},T=(e,t,n,o,r,i)=>{for(let s=0;s<t.length;s++){const a=e[s],l=t[s],c=a.type===Co||!Io(a,l)||6&a.shapeFlag||64&a.shapeFlag?d(a.el):n;b(a,l,c,null,o,r,i,!0)}},N=(e,t,n,o,s,a,l)=>{if(n!==o){for(const c in o){if(U(c))continue;const u=o[c],d=n[c];(u!==d||i&&i(e,c))&&r(e,c,d,u,l,t.children,s,a,te)}if(n!==h)for(const i in n)U(i)||i in o||r(e,i,n[i],null,l,t.children,s,a,te)}},V=(e,t,o,r,i,s,l,c)=>{const u=t.el=e?e.el:a(""),d=t.anchor=e?e.anchor:a("");let{patchFlag:f,dynamicChildren:p}=t;f>0&&(c=!0),Bt&&(f=0,c=!1,p=null),null==e?(n(u,o,r),n(d,o,r),A(t.children,o,d,i,s,l,c)):f>0&&64&f&&p&&e.dynamicChildren?(T(e.dynamicChildren,p,o,i,s,l),i&&i.type.__hmrId?wo(e,t):(null!=t.key||i&&t===i.subTree)&&wo(e,t,!0)):z(e,t,o,d,i,s,l,c)},I=(e,t,n,o,r,i,s,a)=>{null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,a):M(t,n,o,r,i,s,a):L(e,t,a)},M=(e,t,n,o,r,i,s)=>{const a=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||lr,i={uid:cr++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:kn(o,r),emitsOptions:Zt(o,r),emit:null,emitted:null,ctx:h,data:h,props:h,attrs:h,slots:h,refs:h,setupState:h,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null};return i.ctx=function(e){const t={};Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(ir).forEach((n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>ir[n](e),set:g})}));const{globalProperties:n}=e.appContext.config;return Object.keys(n).forEach((e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>n[e],set:g})})),t}(i),i.root=t?t.root:i,i.emit=Yt.bind(null,i),Wt(i),i}(e,o,r);if(a.type.__hmrId&&function(e){const t=e.type.__hmrId;let n=qt.get(t);n||(Ht(t,e.type),n=qt.get(t)),n.instances.add(e)}(a),ct(e),ho(a,"mount"),Xn(e)&&(a.ctx.renderer=se),ho(a,"init"),function(e,t=!1){hr=t;const{props:n,children:o,shapeFlag:r}=e.vnode,i=4&r;wn(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,G(t,"_",n)):no(t,e.slots={})}else e.slots={},t&&oo(e,t);G(e.slots,Mo,1)})(e,o);const s=i?function(e,t){const n=e.type;n.name&&pr(n.name,e.appContext.config);if(n.components){const t=Object.keys(n.components);for(let n=0;n<t.length;n++)pr(t[n],e.appContext.config)}if(n.directives){const e=Object.keys(n.directives);for(let t=0;t<e.length;t++)io(e[t])}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,sr),function(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach((n=>{Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>e.props[n],set:g})}))}(e);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed&&dt("expose() should be called only once per setup()."),e.exposed=it(t)};return Object.freeze({get props(){return e.props},get attrs(){return new Proxy(e.attrs,vr)},get slots(){return Ye(e.slots)},get emit(){return(t,...n)=>e.emit(t,...n)},expose:t})}(e):null;ur=e,ce();const r=mt(o,e,0,[Ye(e.props),n]);if(ue(),ur=null,F(r)){if(t)return r.then((t=>{mr(e,t)}));e.asyncDep=r}else mr(e,r)}else gr(e)}(e,t):void 0;hr=!1}(a),mo(a,"init"),a.asyncDep){if(r&&r.registerDep(a,B),!e.el){const e=a.subTree=Bo(Eo);x(null,e,t,n)}}else B(a,e,t,n,r,i,s),ut(),mo(a,"mount")},L=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if((r||a)&&Bt)return!0;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||dn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?dn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!Qt(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return ct(t),q(o,t,n),void ut();o.next=t,function(e){const t=_t.indexOf(e);t>-1&&_t.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},B=(e,t,n,o,r,i,s)=>{e.update=oe((function(){if(e.isMounted){let t,{next:n,bu:o,u:a,parent:l,vnode:c}=e,u=n;ct(n||e.vnode),n?(n.el=c.el,q(e,n,s)):n=c,o&&K(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&_o(t,l,n,c),ho(e,"render");const f=rn(e);mo(e,"render");const p=e.subTree;e.subTree=f,ho(e,"patch"),b(p,f,d(p.el),ne(p),e,r,i),mo(e,"patch"),n.el=f.el,null===u&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,f.el),a&&vo(a,r),(t=n.props&&n.props.onVnodeUpdated)&&vo((()=>{_o(t,l,n,c)}),r),Kt(e),ut()}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e;c&&K(c),(s=l&&l.onVnodeBeforeMount)&&_o(s,d,t),ho(e,"render");const f=e.subTree=rn(e);if(mo(e,"render"),a&&le?(ho(e,"hydrate"),le(t.el,f,e,r),mo(e,"hydrate")):(ho(e,"patch"),b(null,f,n,o,e,r,i),mo(e,"patch"),t.el=f.el),u&&vo(u,r),s=l&&l.onVnodeMounted){const e=t;vo((()=>{_o(s,d,e)}),r)}const{a:p}=e;p&&256&t.shapeFlag&&vo(p,r),e.isMounted=!0,t=n=o=null}}),function(e){return{scheduler:Pt,allowRecurse:!0,onTrack:e.rtc?t=>K(e.rtc,t):void 0,onTrigger:e.rtg?t=>K(e.rtg,t):void 0}}(e))},q=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=nt(r),[l]=e.propsOptions;if(e.type.__hmrId||e.parent&&e.parent.type.__hmrId||!(o||s>0)||16&s){let o;xn(e,t,r,i);for(const i in a)t&&(k(t,i)||(o=H(i))!==i&&k(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=jn(l,t||h,i,void 0,e)):delete r[i]);if(i!==a)for(const e in i)t&&k(t,e)||delete i[e]}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){const s=n[o],c=t[s];if(l)if(k(i,s))i[s]=c;else{const t=D(s);r[t]=jn(l,a,t,c,e)}else i[s]=c}}fe(e,"set","$attrs"),t&&En(r,e)}(e,t.props,o,n),((e,t)=>{const{vnode:n,slots:o}=e;let r=!0,i=h;if(32&n.shapeFlag){const e=t._;e?Bt?w(o,t):1===e?r=!1:w(o,t):(r=!t.$stable,no(t,o)),i=t}else t&&(oo(e,t),i={default:1});if(r)for(const e in o)Qn(e)||e in i||delete o[e]})(e,t.children),Vt(void 0,e.update)},z=(e,t,n,o,r,i,s,a=!1)=>{const l=e&&e.children,c=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void W(l,d,n,o,r,i,s,a);if(256&f)return void J(l,d,n,o,r,i,s,a)}8&p?(16&c&&te(l,r,i),d!==l&&u(n,d)):16&c?16&p?W(l,d,n,o,r,i,s,a):te(l,r,i,!0):(8&c&&u(n,""),16&p&&A(d,n,o,r,i,s,a))},J=(e,t,n,o,r,i,s,a)=>{t=t||m;const l=(e=e||m).length,c=t.length,u=Math.min(l,c);let d;for(d=0;d<u;d++){const o=t[d]=a?Jo(t[d]):zo(t[d]);b(e[d],o,n,null,r,i,s,a)}l>c?te(e,r,i,!0,!1,u):A(t,n,o,r,i,s,a,u)},W=(e,t,n,o,r,i,s,a)=>{let l=0;const c=t.length;let u=e.length-1,d=c-1;for(;l<=u&&l<=d;){const o=e[l],c=t[l]=a?Jo(t[l]):zo(t[l]);if(!Io(o,c))break;b(o,c,n,null,r,i,s,a),l++}for(;l<=u&&l<=d;){const o=e[u],l=t[d]=a?Jo(t[d]):zo(t[d]);if(!Io(o,l))break;b(o,l,n,null,r,i,s,a),u--,d--}if(l>u){if(l<=d){const e=d+1,u=e<c?t[e].el:o;for(;l<=d;)b(null,t[l]=a?Jo(t[l]):zo(t[l]),n,u,r,i,s),l++}}else if(l>d)for(;l<=u;)Y(e[l],r,i,!0),l++;else{const f=l,p=l,h=new Map;for(l=p;l<=d;l++){const e=t[l]=a?Jo(t[l]):zo(t[l]);null!=e.key&&(h.has(e.key)&&dt("Duplicate keys found during update:",JSON.stringify(e.key),"Make sure keys are unique."),h.set(e.key,l))}let g,v=0;const y=d-p+1;let _=!1,w=0;const x=new Array(y);for(l=0;l<y;l++)x[l]=0;for(l=f;l<=u;l++){const o=e[l];if(v>=y){Y(o,r,i,!0);continue}let c;if(null!=o.key)c=h.get(o.key);else for(g=p;g<=d;g++)if(0===x[g-p]&&Io(o,t[g])){c=g;break}void 0===c?Y(o,r,i,!0):(x[c-p]=l+1,c>=w?w=c:_=!0,b(o,t[c],n,null,r,i,s,a),v++)}const j=_?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=(i+s)/2|0,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(x):m;for(g=j.length-1,l=y-1;l>=0;l--){const e=p+l,a=t[e],u=e+1<c?t[e+1].el:o;0===x[l]?b(null,a,n,u,r,i,s):_&&(g<0||l!==j[g]?X(a,n,u,2):g--)}}},X=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void X(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,se);if(a===Co){n(s,t,o);for(let e=0;e<c.length;e++)X(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===Ro)return void O(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),vo((()=>l.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},Y=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&yo(a,null,n,null),256&u)return void t.ctx.deactivate(e);const p=1&u&&f;let h;if((h=s&&s.onVnodeBeforeUnmount)&&_o(h,t,e),6&u)ee(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&ao(e,null,t,"beforeUnmount"),c&&(i!==Co||d>0&&64&d)?te(c,t,n,!1,!0):(i===Co&&(128&d||256&d)||!r&&16&u)&&te(l,t,n),64&u&&(o||!xo(e.props))&&e.type.remove(e,se),o&&Z(e)}((h=s&&s.onVnodeUnmounted)||p)&&vo((()=>{h&&_o(h,t,e),p&&ao(e,null,t,"unmounted")}),n)},Z=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Co)return void Q(n,r);if(t===Ro)return void C(e);const s=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,s);o?o(e.el,s,r):r()}else s()},Q=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},ee=(e,t,n)=>{e.type.__hmrId&&function(e){qt.get(e.type.__hmrId).instances.delete(e)}(e);const{bum:o,effects:r,update:i,subTree:s,um:a}=e;if(o&&K(o),r)for(let e=0;e<r.length;e++)re(r[e]);i&&(re(i),Y(s,e,t,n)),a&&vo(a,t),vo((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve()),Gt(e)},te=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)Y(e[s],t,n,o,r)},ne=e=>6&e.shapeFlag?ne(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ie=(e,t)=>{null==e?t._vnode&&Y(t._vnode,null,null,!0):b(t._vnode||null,e,t),It(),t._vnode=e},se={p:b,um:Y,m:X,r:Z,mt:M,mc:A,pc:z,pbc:T,n:ne,o:e};let ae,le;t&&([ae,le]=t(se));return{render:ie,hydrate:ae,createApp:po(ie,ae)}}(e)}function _o(e,t,n,o=null){gt(e,t,7,[n,o])}function wo(e,t,n=!1){const o=e.children,r=t.children;if(S(o)&&S(r))for(let e=0;e<o.length;e++){const t=o[e];let i=r[e];1&i.shapeFlag&&!i.dynamicChildren&&((i.patchFlag<=0||32===i.patchFlag)&&(i=r[e]=Jo(r[e]),i.el=t.el),n||wo(t,i)),i.type!==Eo||i.el||(i.el=t.el)}}const xo=e=>e&&(e.disabled||""===e.disabled),jo="components";function ko(e){return function(e,t,n=!0){const o=en||ur;if(o){const r=o.type;if(e===jo){if("_self"===t)return r;const e=_r(r);if(e&&(e===t||e===D(t)||e===z(D(t))))return r}const i=Oo(o[e]||r[e],t)||Oo(o.appContext[e],t);return n&&!i&&dt(`Failed to resolve ${e.slice(0,-1)}: ${t}`),i}dt(`resolve${z(e.slice(0,-1))} can only be used in render() or setup().`)}(jo,e)||e}const So=Symbol();function Oo(e,t){return e&&(e[t]||e[D(t)]||e[z(D(t))])}const Co=Symbol("Fragment"),$o=Symbol("Text"),Eo=Symbol("Comment"),Ro=Symbol("Static"),Ao=[];let Po=null;function Fo(e=!1){Ao.push(Po=e?null:[])}function To(){Ao.pop(),Po=Ao[Ao.length-1]||null}function No(e,t,n,o,r){const i=Bo(e,t,n,o,r,!0);return i.dynamicChildren=Po||m,To(),Po&&Po.push(i),i}function Vo(e){return!!e&&!0===e.__v_isVNode}function Io(e,t){return!(6&t.shapeFlag&&Dt.has(t.type))&&(e.type===t.type&&e.key===t.key)}const Mo="__vInternal",Uo=({key:e})=>null!=e?e:null,Lo=({ref:e})=>null!=e?R(e)||ot(e)||E(e)?{i:en,r:e}:e:null,Bo=(...e)=>function(e,t=null,n=null,r=0,i=null,s=!1){e&&e!==So||(e||dt(`Invalid vnode type when creating vnode: ${e}.`),e=Eo);if(Vo(e)){const o=Do(e,t,!0);return n&&Wo(o,n),o}xr(e)&&(e=e.__vccOpts);if(t){(tt(t)||Mo in t)&&(t=w({},t));let{class:e,style:n}=t;e&&!R(e)&&(t.class=a(e)),P(n)&&(tt(n)&&!S(n)&&(n=w({},n)),t.style=o(n))}const l=R(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:P(e)?4:E(e)?2:0;4&l&&tt(e)&&dt("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=nt(e));const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Uo(t),ref:t&&Lo(t),scopeId:gn,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null};c.key!=c.key&&dt("VNode created with invalid key (NaN). VNode type:",c.type);if(Wo(c,n),128&l){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=zo(null)),{content:o,fallback:r}}(c);c.ssContent=e,c.ssFallback=t}!s&&Po&&(r>0||6&l)&&32!==r&&Po.push(c);return c}(...e);function Do(e,t,n=!1){const{props:r,ref:i,patchFlag:s}=e,l=t?function(...e){const t=w({},e[0]);for(let n=1;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=a([t.class,r.class]));else if("style"===e)t.style=o([t.style,r.style]);else if(b(e)){const n=t[e],o=r[e];n!==o&&(t[e]=n?[].concat(n,r[e]):o)}else""!==e&&(t[e]=r[e])}return t}(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Uo(l),ref:t&&t.ref?n&&i?S(i)?i.concat(Lo(t)):[i,Lo(t)]:Lo(t):i,scopeId:e.scopeId,children:e.children,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Co?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Do(e.ssContent),ssFallback:e.ssFallback&&Do(e.ssFallback),el:e.el,anchor:e.anchor}}function qo(e=" ",t=0){return Bo($o,null,e,t)}function Ho(e="",t=!1){return t?(Fo(),No(Eo,null,e)):Bo(Eo,null,e)}function zo(e){return null==e||"boolean"==typeof e?Bo(Eo):S(e)?Bo(Co,null,e):"object"==typeof e?null===e.el?e:Do(e):Bo($o,null,String(e))}function Jo(e){return null===e.el?e:Do(e)}function Wo(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(S(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&hn(1),Wo(e,n()),n._c&&hn(-1)))}{n=32;const o=t._;o||Mo in t?3===o&&en&&(1024&en.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=en}}else E(t)?(t={default:t,_ctx:en},n=32):(t=String(t),64&o?(n=16,t=[qo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ko(e,t,n=!1){const o=ur||en;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&E(t)?t():t;dt(`injection "${String(e)}" not found.`)}else dt("inject() can only be used inside setup() or functional components.")}let Go=!1;function Xo(e,t,n=[],o=[],r=[],i=!1){const{mixins:s,extends:a,data:l,computed:c,methods:u,watch:d,provide:f,inject:p,components:m,directives:v,beforeMount:y,mounted:b,beforeUpdate:_,updated:x,activated:j,deactivated:k,beforeDestroy:O,beforeUnmount:C,destroyed:$,unmounted:R,render:A,renderTracked:F,renderTriggered:T,errorCaptured:N,expose:V}=t,I=e.proxy,M=e.ctx,U=e.appContext.mixins;i&&A&&e.render===g&&(e.render=A),i||(Go=!0,Yo("beforeCreate","bc",t,e,U),Go=!1,er(e,U,n,o,r)),a&&Xo(e,a,n,o,r,!0),s&&er(e,s,n,o,r);const L=function(){const e=Object.create(null);return(t,n)=>{e[n]?dt(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}();{const[t]=e.propsOptions;if(t)for(const e in t)L("Props",e)}if(p)if(S(p))for(let e=0;e<p.length;e++){const t=p[e];M[t]=Ko(t),L("Inject",t)}else for(const e in p){const t=p[e];P(t)?M[e]=Ko(t.from||e,t.default,!0):M[e]=Ko(t),L("Inject",e)}if(u)for(const e in u){const t=u[e];E(t)?(M[e]=t.bind(I),L("Methods",e)):dt(`Method "${e}" has type "${typeof t}" in the component definition. Did you reference the function correctly?`)}if(i)l&&n.push(l);else{n.length&&n.forEach((t=>tr(e,t,I))),l&&tr(e,l,I);{const t=nt(e.data);for(const e in t)L("Data",e),"$"!==e[0]&&"_"!==e[0]&&Object.defineProperty(M,e,{configurable:!0,enumerable:!0,get:()=>t[e],set:g})}}if(c)for(const e in c){const t=c[e],n=E(t)?t.bind(I,I):E(t.get)?t.get.bind(I,I):g;n===g&&dt(`Computed property "${e}" has no getter.`);const o=jr({get:n,set:!E(t)&&E(t.set)?t.set.bind(I):()=>{dt(`Write operation failed: computed property "${e}" is readonly.`)}});Object.defineProperty(M,e,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}),L("Computed",e)}var B;if(d&&o.push(d),!i&&o.length&&o.forEach((e=>{for(const t in e)nr(e[t],M,I,t)})),f&&r.push(f),!i&&r.length&&r.forEach((e=>{const t=E(e)?e.call(I):e;Reflect.ownKeys(t).forEach((e=>{!function(e,t){if(ur){let n=ur.provides;const o=ur.parent&&ur.parent.provides;o===n&&(n=ur.provides=Object.create(o)),n[e]=t}else dt("provide() can only be used inside setup().")}(e,t[e])}))})),i&&(m&&w(e.components||(e.components=w({},e.type.components)),m),v&&w(e.directives||(e.directives=w({},e.type.directives)),v)),i||Yo("created","c",t,e,U),y&&In(y.bind(I)),b&&Mn(b.bind(I)),_&&Un(_.bind(I)),x&&Ln(x.bind(I)),j&&Yn(j.bind(I),"a",B),k&&function(e,t){Yn(e,"da",t)}(k.bind(I)),N&&((e,t=ur)=>{Nn("ec",e,t)})(N.bind(I)),F&&Hn(F.bind(I)),T&&qn(T.bind(I)),O&&dt("`beforeDestroy` has been renamed to `beforeUnmount`."),C&&Bn(C.bind(I)),$&&dt("`destroyed` has been renamed to `unmounted`."),R&&Dn(R.bind(I)),S(V))if(i)dt("The `expose` option is ignored when used in mixins.");else if(V.length){const t=e.exposed||(e.exposed=it({}));V.forEach((e=>{t[e]=function(e,t){return ot(e[t])?e[t]:new st(e,t)}(I,e)}))}else e.exposed||(e.exposed=h)}function Yo(e,t,n,o,r){Qo(e,t,r,o);const{extends:i,mixins:s}=n;i&&Zo(e,t,i,o),s&&Qo(e,t,s,o);const a=n[e];a&&gt(a.bind(o.proxy),o,t)}function Zo(e,t,n,o){n.extends&&Zo(e,t,n.extends,o);const r=n[e];r&&gt(r.bind(o.proxy),o,t)}function Qo(e,t,n,o){for(let r=0;r<n.length;r++){const i=n[r].mixins;i&&Qo(e,t,i,o);const s=n[r][e];s&&gt(s.bind(o.proxy),o,t)}}function er(e,t,n,o,r){for(let i=0;i<t.length;i++)Xo(e,t[i],n,o,r,!0)}function tr(e,t,n){E(t)||dt("The data option must be a function. Plain object usage is no longer supported.");const o=t.call(n,n);F(o)&&dt("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),P(o)?e.data===h?e.data=Ge(o):w(e.data,o):dt("data() should return an object.")}function nr(e,t,n,o){const r=o.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(n,o):()=>n[o];if(R(e)){const n=t[e];E(n)?Jn(r,n):dt(`Invalid watch handler specified by key "${e}"`,n)}else if(E(e))Jn(r,e.bind(n));else if(P(e))if(S(e))e.forEach((e=>nr(e,t,n,o)));else{const o=E(e.handler)?e.handler.bind(n):t[e.handler];E(o)?Jn(r,o,e):dt(`Invalid watch handler specified by key "${e.handler}"`,o)}else dt(`Invalid watch option: "${o}"`,e)}function or(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:i}=t;i&&or(e,i,n),r&&r.forEach((t=>or(e,t,n)));for(const r in t)o&&k(o,r)?e[r]=o[r](e[r],t[r],n.proxy,r):e[r]=t[r]}const rr=e=>e&&(e.proxy?e.proxy:rr(e.parent)),ir=w(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Ye(e.props),$attrs:e=>Ye(e.attrs),$slots:e=>Ye(e.slots),$refs:e=>Ye(e.refs),$parent:e=>rr(e.parent),$root:e=>e.root&&e.root.proxy,$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const i=e.appContext.mixins;if(!i.length&&!o&&!r)return t;const s={};return i.forEach((t=>or(s,t,e))),or(s,t,e),t.__merged=s}(e),$forceUpdate:e=>()=>Pt(e.update),$nextTick:e=>At.bind(e.proxy),$watch:e=>Kn.bind(e)}),sr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:a,appContext:l}=e;if("__v_skip"===t)return!0;if("__isVue"===t)return!0;let c;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 0:return o[t];case 1:return r[t];case 3:return n[t];case 2:return i[t]}else{if(o!==h&&k(o,t))return s[t]=0,o[t];if(r!==h&&k(r,t))return s[t]=1,r[t];if((c=e.propsOptions[0])&&k(c,t))return s[t]=2,i[t];if(n!==h&&k(n,t))return s[t]=3,n[t];Go||(s[t]=4)}}const u=ir[t];let d,f;return u?("$attrs"===t&&(de(e,"get",t),on()),u(e)):(d=a.__cssModules)&&(d=d[t])?d:n!==h&&k(n,t)?(s[t]=3,n[t]):(f=l.config.globalProperties,k(f,t)?f[t]:void(!en||R(t)&&0===t.indexOf("__v")||(r===h||"$"!==t[0]&&"_"!==t[0]||!k(r,t)?dt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`):dt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`))))},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;if(r!==h&&k(r,t))r[t]=n;else if(o!==h&&k(o,t))o[t]=n;else if(t in e.props)return dt(`Attempting to mutate prop "${t}". Props are readonly.`,e),!1;return"$"===t[0]&&t.slice(1)in e?(dt(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`,e),!1):(t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},s){let a;return void 0!==n[s]||e!==h&&k(e,s)||t!==h&&k(t,s)||(a=i[0])&&k(a,s)||k(o,s)||k(ir,s)||k(r.config.globalProperties,s)},ownKeys:e=>(dt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e))},ar=w({},sr,{get(e,t){if(t!==Symbol.unscopables)return sr.get(e,t,e)},has(e,n){const o="_"!==n[0]&&!t(n);return!o&&sr.has(e,n)&&dt(`Property ${JSON.stringify(n)} should not start with _ which is a reserved prefix for Vue internals.`),o}});const lr=lo();let cr=0;let ur=null;const dr=e=>{ur=e},fr=e("slot,component");function pr(e,t){const n=t.isNativeTag||v;(fr(e)||n(e))&&dt("Do not use built-in or reserved HTML elements as component id: "+e)}let hr=!1;function mr(e,t,n){E(t)?e.render=t:P(t)?(Vo(t)&&dt("setup() should not return VNodes directly - return a render function instead."),e.devtoolsRawSetupState=t,e.setupState=it(t),function(e){const{ctx:t,setupState:n}=e;Object.keys(nt(n)).forEach((e=>{"$"!==e[0]&&"_"!==e[0]?Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>n[e],set:g}):dt(`setup() return property ${JSON.stringify(e)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`)}))}(e)):void 0!==t&&dt("setup() should return an object. Received: "+(null===t?"null":typeof t)),gr(e)}function gr(e,t){const n=e.type;e.render||(e.render=n.render||g,e.render._rc&&(e.withProxy=new Proxy(e.ctx,ar))),ur=e,ce(),Xo(e,n),ue(),ur=null,n.render||e.render!==g||(n.template?dt('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):dt("Component is missing template or render function."))}const vr={get:(e,t)=>(on(),e[t]),set:()=>(dt("setupContext.attrs is readonly."),!1),deleteProperty:()=>(dt("setupContext.attrs is readonly."),!1)};function yr(e,t=ur){t&&(t.effects||(t.effects=[])).push(e)}const br=/(?:^|[-_])(\w)/g;function _r(e){return E(e)&&e.displayName||e.name}function wr(e,t,n=!1){let o=_r(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(br,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function xr(e){return E(e)&&"__vccOpts"in e}function jr(e){const t=function(e){let t,n;return E(e)?(t=e,n=()=>{console.warn("Write operation failed: computed value is readonly")}):(t=e.get,n=e.set),new at(t,n,E(e)||!e.set)}(e);return yr(t.effect),t}function kr(e,t){let n;if(S(e)||R(e)){n=new Array(e.length);for(let o=0,r=e.length;o<r;o++)n[o]=t(e[o],o)}else if("number"==typeof e){if(!Number.isInteger(e))return dt(`The v-for range expect an integer value but got ${e}.`),[];n=new Array(e);for(let o=0;o<e;o++)n[o]=t(o+1,o)}else if(P(e))if(e[Symbol.iterator])n=Array.from(e,t);else{const o=Object.keys(e);n=new Array(o.length);for(let r=0,i=o.length;r<i;r++){const i=o[r];n[r]=t(e[i],i,r)}}else n=[];return n}const Sr="3.0.5",Or="http://www.w3.org/2000/svg",Cr="undefined"!=typeof document?document:null;let $r,Er;const Rr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n)=>t?Cr.createElementNS(Or,e):Cr.createElement(e,n?{is:n}:void 0),createText:e=>Cr.createTextNode(e),createComment:e=>Cr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Cr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode:e=>e.cloneNode(!0),insertStaticContent(e,t,n,o){const r=o?Er||(Er=Cr.createElementNS(Or,"svg")):$r||($r=Cr.createElement("div"));r.innerHTML=e;const i=r.firstChild;let s=i,a=s;for(;s;)a=s,Rr.insert(s,t,n),s=r.firstChild;return[i,a]}};const Ar=/\s*!important$/;function Pr(e,t,n){if(S(n))n.forEach((n=>Pr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Tr[t];if(n)return n;let o=D(t);if("filter"!==o&&o in e)return Tr[t]=o;o=z(o);for(let n=0;n<Fr.length;n++){const r=Fr[n]+o;if(r in e)return Tr[t]=r}return t}(e,t);Ar.test(n)?e.setProperty(H(o),n.replace(Ar,""),"important"):e[o]=n}}const Fr=["Webkit","Moz","ms"],Tr={};const Nr="http://www.w3.org/1999/xlink";let Vr=Date.now;"undefined"!=typeof document&&Vr()>document.createEvent("Event").timeStamp&&(Vr=()=>performance.now());let Ir=0;const Mr=Promise.resolve(),Ur=()=>{Ir=0};function Lr(e,t,n,o){e.addEventListener(t,n,o)}function Br(e,t,n,o,r=null){const i=e._vei||(e._vei={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(Dr.test(e)){let n;for(t={};n=e.match(Dr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),t]}(t);if(o){Lr(e,n,i[t]=function(e,t){const n=e=>{(e.timeStamp||Vr())>=n.attached-1&&gt(function(e,t){if(S(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Ir||(Mr.then(Ur),Ir=Vr()))(),n}(o,r),a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const Dr=/(?:Once|Passive|Capture)$/;const qr=/^on[a-z]/;const Hr=e=>{const t=e.props["onUpdate:modelValue"];return S(t)?e=>K(t,e):t};function zr(e){e.target.composing=!0}function Jr(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const Wr={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=Hr(r);const i=o||"number"===e.type;Lr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():i&&(o=X(o)),e._assign(o)})),n&&Lr(e,"change",(()=>{e.value=e.value.trim()})),t||(Lr(e,"compositionstart",zr),Lr(e,"compositionend",Jr),Lr(e,"change",Jr))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=Hr(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&X(e.value)===t)return}const i=null==t?"":t;e.value!==i&&(e.value=i)}},Kr={created(e,t,n){e._assign=Hr(n),Lr(e,"change",(()=>{const t=e._modelValue,n=Zr(e),o=e.checked,r=e._assign;if(S(t)){const e=d(t,n),i=-1!==e;if(o&&!i)r(t.concat(n));else if(!o&&i){const n=[...t];n.splice(e,1),r(n)}}else if(C(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Qr(e,o))}))},mounted:Gr,beforeUpdate(e,t,n){e._assign=Hr(n),Gr(e,t,n)}};function Gr(e,{value:t,oldValue:n},o){e._modelValue=t,S(t)?e.checked=d(t,o.props.value)>-1:C(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=u(t,Qr(e,!0)))}const Xr={created(e,{value:t,modifiers:{number:n}},o){const r=C(t);Lr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?X(Zr(e)):Zr(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=Hr(o)},mounted(e,{value:t}){Yr(e,t)},beforeUpdate(e,t,n){e._assign=Hr(n)},updated(e,{value:t}){Yr(e,t)}};function Yr(e,t){const n=e.multiple;if(!n||S(t)||C(t)){for(let o=0,r=e.options.length;o<r;o++){const r=e.options[o],i=Zr(r);if(n)S(t)?r.selected=d(t,i)>-1:r.selected=t.has(i);else if(u(Zr(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}else dt(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`)}function Zr(e){return"_value"in e?e._value:e.value}function Qr(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ei=w({patchProp:(e,t,o,r,i=!1,s,a,l,c)=>{switch(t){case"class":!function(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),e.className=t}}(e,r,i);break;case"style":!function(e,t,n){const o=e.style;if(n)if(R(n))t!==n&&(o.cssText=n);else{for(const e in n)Pr(o,e,n[e]);if(t&&!R(t))for(const e in t)null==n[e]&&Pr(o,e,"")}else e.removeAttribute("style")}(e,o,r);break;default:b(t)?_(t)||Br(e,t,0,r,a):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&qr.test(t)&&E(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t&&"string"==typeof n)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if(qr.test(t)&&R(n))return!1;return t in e}(e,t,r,i)?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(o){dt(`Failed setting prop "${t}" on <${e.tagName.toLowerCase()}>: value ${n} is invalid.`,o)}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,s,a,l,c):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,o,r){if(r&&t.startsWith("xlink:"))null==o?e.removeAttributeNS(Nr,t.slice(6,t.length)):e.setAttributeNS(Nr,t,o);else{const r=n(t);null==o||r&&!1===o?e.removeAttribute(t):e.setAttribute(t,r?"":o)}}(e,t,r,i))}},forcePatchProp:(e,t)=>"value"===t},Rr);let ti;const ni=(...e)=>{const t=(ti||(ti=bo(ei))).createApp(...e);!function(e){Object.defineProperty(e.config,"isNativeTag",{value:e=>l(e)||c(e),writable:!1})}(t);const{mount:n}=t;return t.mount=e=>{const o=function(e){if(R(e)){const t=document.querySelector(e);return t||dt(`Failed to mount app: mount target selector "${e}" returned null.`),t}e instanceof ShadowRoot&&"closed"===e.mode&&dt('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs');return e}(e);if(!o)return;const r=t._component;E(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};!function(){const e=Y||(Y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});var t;e.__VUE__=!0,t=e.__VUE_DEVTOOLS_GLOBAL_HOOK__,Jt=t,function(){if("undefined"==typeof window)return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},o={style:"color:#9d288c"},r={header:t=>P(t)?t.__isVue?["div",e,"VueInstance"]:ot(t)?["div",{},["span",e,u(t)],"<",a(t.value),">"]:Qe(t)?["div",{},["span",e,"Reactive"],"<",a(t),">"+(et(t)?" (readonly)":"")]:et(t)?["div",{},["span",e,"Readonly"],"<",a(t),">"]:null:null,hasBody:e=>e&&e.__isVue,body(e){if(e&&e.__isVue)return["div",{},...i(e.$)]}};function i(e){const t=[];e.type.props&&e.props&&t.push(s("props",nt(e.props))),e.setupState!==h&&t.push(s("setup",e.setupState)),e.data!==h&&t.push(s("data",nt(e.data)));const n=l(e,"computed");n&&t.push(s("computed",n));const r=l(e,"inject");return r&&t.push(s("injected",r)),t.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:e}]]),t}function s(e,t){return t=w({},t),Object.keys(t).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},e],["div",{style:"padding-left:1.25em"},...Object.keys(t).map((e=>["div",{},["span",o,e+": "],a(t[e],!1)]))]]:["span",{}]}function a(e,r=!0){return"number"==typeof e?["span",t,e]:"string"==typeof e?["span",n,JSON.stringify(e)]:"boolean"==typeof e?["span",o,e]:P(e)?["object",{object:r?nt(e):e}]:["span",n,String(e)]}function l(e,t){const n=e.type;if(E(n))return;const o={};for(const r in e.ctx)c(n,r,t)&&(o[r]=e.ctx[r]);return o}function c(e,t,n){const o=e[n];return!!(S(o)&&o.includes(t)||P(o)&&t in o)||!(!e.extends||!c(e.extends,t,n))||!(!e.mixins||!e.mixins.some((e=>c(e,t,n))))||void 0}function u(e){return e._shallow?"ShallowRef":e.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}()}();var oi={name:"StringValue",props:{id:{type:String,default:""},value:Object},methods:{focus(){this.$refs.input.focus()}},computed:{inputValue:{set(e){this.value.String=e},get(){return this.value.String}}}};oi.render=function(e,t,n,o,r,i){return so((Fo(),No("input",{ref:"input",type:"text",id:n.id,"onUpdate:modelValue":t[1]||(t[1]=e=>i.inputValue=e)},null,8,["id"])),[[Wr,i.inputValue]])},oi.__file="src/components/StringValue.vue";var ri={name:"DecimalValue",props:{id:{type:String,default:""},value:Object},methods:{focus(){this.$refs.input.focus()}},computed:{inputValue:{set(e){this.value.Decimal=parseFloat(e)},get(){return this.value.Decimal}}}};ri.render=function(e,t,n,o,r,i){return so((Fo(),No("input",{ref:"input",type:"number",id:n.id,step:"any","onUpdate:modelValue":t[1]||(t[1]=e=>i.inputValue=e)},null,8,["id"])),[[Wr,i.inputValue]])},ri.__file="src/components/DecimalValue.vue";var ii={name:"BooleanValue",props:{id:{type:String,default:""},value:Object},methods:{focus(){this.$refs.input.focus()}},computed:{inputValue:{set(e){this.value.Boolean=!!e},get(){return this.value.Boolean}}}};ii.render=function(e,t,n,o,r,i){return so((Fo(),No("input",{ref:"input",type:"checkbox",id:n.id,value:"true","onUpdate:modelValue":t[1]||(t[1]=e=>i.inputValue=e)},null,8,["id"])),[[Kr,i.inputValue]])},ii.__file="src/components/BooleanValue.vue";var si={name:"IntegerValue",props:{id:{type:String,default:""},value:Object},methods:{focus(){this.$refs.input.focus()}},computed:{inputValue:{set(e){this.value.Integer=parseInt(e)},get(){return this.value.Integer}}}};function ai(e,t){let n={};for(let o of e)"string"==typeof t?n[o[t]]=o:n[t(o)]=o;return n}function li(e){return JSON.parse(JSON.stringify(e))}function ci(e){return+e}si.render=function(e,t,n,o,r,i){return so((Fo(),No("input",{ref:"input",type:"number",id:n.id,step:"1","onUpdate:modelValue":t[1]||(t[1]=e=>i.inputValue=e)},null,8,["id"])),[[Wr,i.inputValue]])},si.__file="src/components/IntegerValue.vue";var ui={name:"PropertyField",props:["model","values"],data:()=>({id:"f"+Math.random().toString(16).replace(".","")+(+new Date).toString(16),fieldRefs:[]}),methods:{addValue(e){this.values.push(li(this.model.default)),At((()=>{this.fieldRefs[this.values.length-1].focus()}))},removeValue(e){this.values.splice(e,1)},setFieldRef(e){e&&this.fieldRefs.push(e)}},beforeUpdate(){this.fieldRefs=[]}};const di={key:0},fi={key:2};function pi(e,t){for(var n=-1,o=null==e?0:e.length;++n<o&&!1!==t(e[n],n,e););return e}ui.render=function(e,t,n,o,r,i){const s=ko("string-value"),a=ko("integer-value"),l=ko("decimal-value"),c=ko("boolean-value");return Fo(),No(Co,null,[0===n.values.length?(Fo(),No("tr",di,[Bo("th",{onClick:t[1]||(t[1]=(...e)=>i.addValue&&i.addValue(...e))},f(n.model.name),1),Bo("td",null,[Bo("a",{href:"#",onClick:t[2]||(t[2]=(...e)=>i.addValue&&i.addValue(...e))},"Add")])])):(Fo(!0),No(Co,{key:1},kr(n.values,((e,t)=>(Fo(),No("tr",{key:t},[0==t?(Fo(),No("th",{key:0,rowspan:n.values.length+n.model.multiple},[Bo("label",{for:r.id},f(n.model.name),9,["for"])],8,["rowspan"])):Ho("v-if",!0),Bo("td",null,["String"===n.model.data_type?(Fo(),No(s,{key:0,ref:i.setFieldRef,value:e,id:0===t?r.id:null},null,8,["value","id"])):Ho("v-if",!0),"Integer"===n.model.data_type?(Fo(),No(a,{key:1,ref:i.setFieldRef,value:e,id:0===t?r.id:null},null,8,["value","id"])):Ho("v-if",!0),"Decimal"===n.model.data_type?(Fo(),No(l,{key:2,ref:i.setFieldRef,value:e,id:0===t?r.id:null},null,8,["value","id"])):Ho("v-if",!0),"Boolean"===n.model.data_type?(Fo(),No(c,{key:3,ref:i.setFieldRef,value:e,id:0===t?r.id:null},null,8,["value","id"])):Ho("v-if",!0),t>0||n.model.optional?(Fo(),No("a",{key:4,href:"#",onClick:e=>i.removeValue(t),style:{"margin-left":"5px"}},"X",8,["onClick"])):Ho("v-if",!0)])])))),128)),n.values.length>0&&n.model.multiple?(Fo(),No("tr",fi,[Bo("td",null,[Bo("a",{href:"#",onClick:t[3]||(t[3]=(...e)=>i.addValue&&i.addValue(...e))},"Add")])])):Ho("v-if",!0)],64)},ui.__file="src/components/PropertyField.vue";var hi,mi=function(e,t,n){for(var o=-1,r=Object(e),i=n(e),s=i.length;s--;){var a=i[hi?s:++o];if(!1===t(r[a],a,r))break}return e};var gi="object"==typeof global&&global&&global.Object===Object&&global,vi="object"==typeof self&&self&&self.Object===Object&&self,yi=gi||vi||Function("return this")(),bi=yi.Symbol,_i=Object.prototype,wi=_i.hasOwnProperty,xi=_i.toString,ji=bi?bi.toStringTag:void 0;var ki=Object.prototype.toString;var Si=bi?bi.toStringTag:void 0;function Oi(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Si&&Si in Object(e)?function(e){var t=wi.call(e,ji),n=e[ji];try{e[ji]=void 0;var o=!0}catch(e){}var r=xi.call(e);return o&&(t?e[ji]=n:delete e[ji]),r}(e):function(e){return ki.call(e)}(e)}function Ci(e){return null!=e&&"object"==typeof e}function $i(e){return Ci(e)&&"[object Arguments]"==Oi(e)}var Ei=Object.prototype,Ri=Ei.hasOwnProperty,Ai=Ei.propertyIsEnumerable,Pi=$i(function(){return arguments}())?$i:function(e){return Ci(e)&&Ri.call(e,"callee")&&!Ai.call(e,"callee")},Fi=Array.isArray;var Ti="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ni=Ti&&"object"==typeof module&&module&&!module.nodeType&&module,Vi=Ni&&Ni.exports===Ti?yi.Buffer:void 0,Ii=(Vi?Vi.isBuffer:void 0)||function(){return!1},Mi=/^(?:0|[1-9]\d*)$/;function Ui(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Mi.test(e))&&e>-1&&e%1==0&&e<t}function Li(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}var Bi={};Bi["[object Float32Array]"]=Bi["[object Float64Array]"]=Bi["[object Int8Array]"]=Bi["[object Int16Array]"]=Bi["[object Int32Array]"]=Bi["[object Uint8Array]"]=Bi["[object Uint8ClampedArray]"]=Bi["[object Uint16Array]"]=Bi["[object Uint32Array]"]=!0,Bi["[object Arguments]"]=Bi["[object Array]"]=Bi["[object ArrayBuffer]"]=Bi["[object Boolean]"]=Bi["[object DataView]"]=Bi["[object Date]"]=Bi["[object Error]"]=Bi["[object Function]"]=Bi["[object Map]"]=Bi["[object Number]"]=Bi["[object Object]"]=Bi["[object RegExp]"]=Bi["[object Set]"]=Bi["[object String]"]=Bi["[object WeakMap]"]=!1;var Di,qi="object"==typeof exports&&exports&&!exports.nodeType&&exports,Hi=qi&&"object"==typeof module&&module&&!module.nodeType&&module,zi=Hi&&Hi.exports===qi&&gi.process,Ji=function(){try{var e=Hi&&Hi.require&&Hi.require("util").types;return e||zi&&zi.binding&&zi.binding("util")}catch(e){}}(),Wi=Ji&&Ji.isTypedArray,Ki=Wi?(Di=Wi,function(e){return Di(e)}):function(e){return Ci(e)&&Li(e.length)&&!!Bi[Oi(e)]},Gi=Object.prototype.hasOwnProperty;function Xi(e,t){var n=Fi(e),o=!n&&Pi(e),r=!n&&!o&&Ii(e),i=!n&&!o&&!r&&Ki(e),s=n||o||r||i,a=s?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],l=a.length;for(var c in e)!t&&!Gi.call(e,c)||s&&("length"==c||r&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ui(c,l))||a.push(c);return a}var Yi=Object.prototype;function Zi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Yi)}var Qi=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),es=Object.prototype.hasOwnProperty;function ts(e){if(!Zi(e))return Qi(e);var t=[];for(var n in Object(e))es.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ns(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function os(e){if(!ns(e))return!1;var t=Oi(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function rs(e){return null!=e&&Li(e.length)&&!os(e)}function is(e){return rs(e)?Xi(e):ts(e)}var ss=function(e,t){return function(n,o){if(null==n)return n;if(!rs(n))return e(n,o);for(var r=n.length,i=t?r:-1,s=Object(n);(t?i--:++i<r)&&!1!==o(s[i],i,s););return n}}((function(e,t){return e&&mi(e,t,is)}));function as(e){return e}function ls(e,t){var n;return(Fi(e)?pi:ss)(e,"function"==typeof(n=t)?n:as)}var cs=yi["__core-js_shared__"],us=function(){var e=/[^.]+$/.exec(cs&&cs.keys&&cs.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var ds=Function.prototype.toString;function fs(e){if(null!=e){try{return ds.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var ps=/^\[object .+?Constructor\]$/,hs=Function.prototype,ms=Object.prototype,gs=hs.toString,vs=ms.hasOwnProperty,ys=RegExp("^"+gs.call(vs).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function bs(e){return!(!ns(e)||function(e){return!!us&&us in e}(e))&&(os(e)?ys:ps).test(fs(e))}function _s(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return bs(n)?n:void 0}var ws=_s(yi,"DataView"),xs=_s(yi,"Map"),js=_s(yi,"Promise"),ks=_s(yi,"Set"),Ss=_s(yi,"WeakMap"),Os="[object Map]",Cs="[object Promise]",$s="[object Set]",Es="[object WeakMap]",Rs="[object DataView]",As=fs(ws),Ps=fs(xs),Fs=fs(js),Ts=fs(ks),Ns=fs(Ss),Vs=Oi;(ws&&Vs(new ws(new ArrayBuffer(1)))!=Rs||xs&&Vs(new xs)!=Os||js&&Vs(js.resolve())!=Cs||ks&&Vs(new ks)!=$s||Ss&&Vs(new Ss)!=Es)&&(Vs=function(e){var t=Oi(e),n="[object Object]"==t?e.constructor:void 0,o=n?fs(n):"";if(o)switch(o){case As:return Rs;case Ps:return Os;case Fs:return Cs;case Ts:return $s;case Ns:return Es}return t});var Is=Vs,Ms=Object.prototype.hasOwnProperty;function Us(e){if(null==e)return!0;if(rs(e)&&(Fi(e)||"string"==typeof e||"function"==typeof e.splice||Ii(e)||Ki(e)||Pi(e)))return!e.length;var t=Is(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(Zi(e))return!ts(e).length;for(var n in e)if(Ms.call(e,n))return!1;return!0}var Ls=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o<n.length;o++)n[o]=arguments[o];return e.apply(t,n)}},Bs=Object.prototype.toString;function Ds(e){return"[object Array]"===Bs.call(e)}function qs(e){return void 0===e}function Hs(e){return null!==e&&"object"==typeof e}function zs(e){if("[object Object]"!==Bs.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function Js(e){return"[object Function]"===Bs.call(e)}function Ws(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),Ds(e))for(var n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}var Ks={isArray:Ds,isArrayBuffer:function(e){return"[object ArrayBuffer]"===Bs.call(e)},isBuffer:function(e){return null!==e&&!qs(e)&&null!==e.constructor&&!qs(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:Hs,isPlainObject:zs,isUndefined:qs,isDate:function(e){return"[object Date]"===Bs.call(e)},isFile:function(e){return"[object File]"===Bs.call(e)},isBlob:function(e){return"[object Blob]"===Bs.call(e)},isFunction:Js,isStream:function(e){return Hs(e)&&Js(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:Ws,merge:function e(){var t={};function n(n,o){zs(t[o])&&zs(n)?t[o]=e(t[o],n):zs(n)?t[o]=e({},n):Ds(n)?t[o]=n.slice():t[o]=n}for(var o=0,r=arguments.length;o<r;o++)Ws(arguments[o],n);return t},extend:function(e,t,n){return Ws(t,(function(t,o){e[o]=n&&"function"==typeof t?Ls(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}};function Gs(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Xs=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(Ks.isURLSearchParams(t))o=t.toString();else{var r=[];Ks.forEach(t,(function(e,t){null!=e&&(Ks.isArray(e)?t+="[]":e=[e],Ks.forEach(e,(function(e){Ks.isDate(e)?e=e.toISOString():Ks.isObject(e)&&(e=JSON.stringify(e)),r.push(Gs(t)+"="+Gs(e))})))})),o=r.join("&")}if(o){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e};function Ys(){this.handlers=[]}Ys.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},Ys.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Ys.prototype.forEach=function(e){Ks.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var Zs=Ys,Qs=function(e,t,n){return Ks.forEach(n,(function(n){e=n(e,t)})),e},ea=function(e){return!(!e||!e.__CANCEL__)},ta=function(e,t){Ks.forEach(e,(function(n,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[o])}))},na=function(e,t,n,o,r){return function(e,t,n,o,r){return e.config=t,n&&(e.code=n),e.request=o,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}(new Error(e),t,n,o,r)},oa=Ks.isStandardBrowserEnv()?{write:function(e,t,n,o,r,i){var s=[];s.push(e+"="+encodeURIComponent(t)),Ks.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Ks.isString(o)&&s.push("path="+o),Ks.isString(r)&&s.push("domain="+r),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},ra=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],ia=Ks.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var o=e;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=Ks.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},sa=function(e){return new Promise((function(t,n){var o=e.data,r=e.headers;Ks.isFormData(o)&&delete r["Content-Type"];var i=new XMLHttpRequest;if(e.auth){var s=e.auth.username||"",a=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.Authorization="Basic "+btoa(s+":"+a)}var l,c,u=(l=e.baseURL,c=e.url,l&&!/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(c)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(l,c):c);if(i.open(e.method.toUpperCase(),Xs(u,e.params,e.paramsSerializer),!0),i.timeout=e.timeout,i.onreadystatechange=function(){if(i&&4===i.readyState&&(0!==i.status||i.responseURL&&0===i.responseURL.indexOf("file:"))){var o,r,s,a,l,c="getAllResponseHeaders"in i?(o=i.getAllResponseHeaders(),l={},o?(Ks.forEach(o.split("\n"),(function(e){if(a=e.indexOf(":"),r=Ks.trim(e.substr(0,a)).toLowerCase(),s=Ks.trim(e.substr(a+1)),r){if(l[r]&&ra.indexOf(r)>=0)return;l[r]="set-cookie"===r?(l[r]?l[r]:[]).concat([s]):l[r]?l[r]+", "+s:s}})),l):l):null,u={data:e.responseType&&"text"!==e.responseType?i.response:i.responseText,status:i.status,statusText:i.statusText,headers:c,config:e,request:i};!function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(na("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}(t,n,u),i=null}},i.onabort=function(){i&&(n(na("Request aborted",e,"ECONNABORTED",i)),i=null)},i.onerror=function(){n(na("Network Error",e,null,i)),i=null},i.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(na(t,e,"ECONNABORTED",i)),i=null},Ks.isStandardBrowserEnv()){var d=(e.withCredentials||ia(u))&&e.xsrfCookieName?oa.read(e.xsrfCookieName):void 0;d&&(r[e.xsrfHeaderName]=d)}if("setRequestHeader"in i&&Ks.forEach(r,(function(e,t){void 0===o&&"content-type"===t.toLowerCase()?delete r[t]:i.setRequestHeader(t,e)})),Ks.isUndefined(e.withCredentials)||(i.withCredentials=!!e.withCredentials),e.responseType)try{i.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&i.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&i.upload&&i.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){i&&(i.abort(),n(e),i=null)})),o||(o=null),i.send(o)}))},aa={"Content-Type":"application/x-www-form-urlencoded"};function la(e,t){!Ks.isUndefined(e)&&Ks.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var ca,ua={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(ca=sa),ca),transformRequest:[function(e,t){return ta(t,"Accept"),ta(t,"Content-Type"),Ks.isFormData(e)||Ks.isArrayBuffer(e)||Ks.isBuffer(e)||Ks.isStream(e)||Ks.isFile(e)||Ks.isBlob(e)?e:Ks.isArrayBufferView(e)?e.buffer:Ks.isURLSearchParams(e)?(la(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):Ks.isObject(e)?(la(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};ua.headers={common:{Accept:"application/json, text/plain, */*"}},Ks.forEach(["delete","get","head"],(function(e){ua.headers[e]={}})),Ks.forEach(["post","put","patch"],(function(e){ua.headers[e]=Ks.merge(aa)}));var da=ua;function fa(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var pa=function(e){return fa(e),e.headers=e.headers||{},e.data=Qs(e.data,e.headers,e.transformRequest),e.headers=Ks.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Ks.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||da.adapter)(e).then((function(t){return fa(e),t.data=Qs(t.data,t.headers,e.transformResponse),t}),(function(t){return ea(t)||(fa(e),t&&t.response&&(t.response.data=Qs(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},ha=function(e,t){t=t||{};var n={},o=["url","method","data"],r=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function a(e,t){return Ks.isPlainObject(e)&&Ks.isPlainObject(t)?Ks.merge(e,t):Ks.isPlainObject(t)?Ks.merge({},t):Ks.isArray(t)?t.slice():t}function l(o){Ks.isUndefined(t[o])?Ks.isUndefined(e[o])||(n[o]=a(void 0,e[o])):n[o]=a(e[o],t[o])}Ks.forEach(o,(function(e){Ks.isUndefined(t[e])||(n[e]=a(void 0,t[e]))})),Ks.forEach(r,l),Ks.forEach(i,(function(o){Ks.isUndefined(t[o])?Ks.isUndefined(e[o])||(n[o]=a(void 0,e[o])):n[o]=a(void 0,t[o])})),Ks.forEach(s,(function(o){o in t?n[o]=a(e[o],t[o]):o in e&&(n[o]=a(void 0,e[o]))}));var c=o.concat(r).concat(i).concat(s),u=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===c.indexOf(e)}));return Ks.forEach(u,l),n};function ma(e){this.defaults=e,this.interceptors={request:new Zs,response:new Zs}}ma.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=ha(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[pa,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},ma.prototype.getUri=function(e){return e=ha(this.defaults,e),Xs(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},Ks.forEach(["delete","get","head","options"],(function(e){ma.prototype[e]=function(t,n){return this.request(ha(n||{},{method:e,url:t,data:(n||{}).data}))}})),Ks.forEach(["post","put","patch"],(function(e){ma.prototype[e]=function(t,n,o){return this.request(ha(o||{},{method:e,url:t,data:n}))}}));var ga=ma;function va(e){this.message=e}va.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},va.prototype.__CANCEL__=!0;var ya=va;function ba(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new ya(e),t(n.reason))}))}ba.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},ba.source=function(){var e;return{token:new ba((function(t){e=t})),cancel:e}};var _a=ba;function wa(e){var t=new ga(e),n=Ls(ga.prototype.request,t);return Ks.extend(n,ga.prototype,t),Ks.extend(n,t),n}var xa=wa(da);xa.Axios=ga,xa.create=function(e){return wa(ha(xa.defaults,e))},xa.Cancel=ya,xa.CancelToken=_a,xa.isCancel=ea,xa.all=function(e){return Promise.all(e)},xa.spread=function(e){return function(t){return e.apply(null,t)}},xa.isAxiosError=function(e){return"object"==typeof e&&!0===e.isAxiosError};var ja=xa,ka=xa;ja.default=ka;var Sa=ja,Oa={props:["model_id","schema","objects"],name:"NewObjectForm",data(){const e=this.schema.obj_models.find((e=>e.id===this.model_id));let t=this.schema.prop_models.filter((t=>t.object===e.id)),n=this.schema.rel_models.filter((t=>t.object===e.id));t.sort(((e,t)=>e.name.localeCompare(t.name))),n.sort(((e,t)=>e.name.localeCompare(t.name)));let o={};t.forEach((e=>{e.optional?o[e.id]=[]:o[e.id]=[li(e.default)]})),t=ai(t,"id"),n=ai(n,"id");let r={};return this.schema.obj_models.forEach((e=>{r[e.id]=e.name})),{model:e,properties:t,relations:n,model_names:r,values:o,name:"",relationRefs:[]}},methods:{collectData(){if(Us(this.name))throw new Error("Name is required");let e=[];ls(li(this.values),((t,n)=>{for(let o of t)e.push({model_id:ci(n),value:o})}));let t=[];for(let e of this.relationRefs)for(let n of e.collectData())t.push(n);return{model_id:this.model_id,name:this.name,values:e,relations:t}},trySave(){let e;try{e=this.collectData()}catch(e){return void alert(e.message)}console.log("Try save",e),Sa({method:"post",url:"/object/create",data:e}).then((function(e){location.href="/objects"})).catch((function(e){alert(e.response?e.response.data:e)}))},setRelationRef(e){e&&this.relationRefs.push(e)}},beforeUpdate(){this.relationRefs=[]},mounted(){this.$el.parentNode.classList.add("EditForm")}};const Ca=Bo("th",null,[Bo("label",{for:"field-name"},"Name")],-1),$a={key:0},Ea=Bo("h3",null,"Relations",-1);Oa.render=function(e,t,n,o,r,i){const s=ko("property"),a=ko("new-relation");return Fo(),No(Co,null,[Bo("h2",null,"New "+f(r.model.name),1),Bo("p",null,[Bo("input",{type:"button",value:"Save",onClick:t[1]||(t[1]=(...e)=>i.trySave&&i.trySave(...e))})]),Bo("table",null,[Bo("tr",null,[Ca,Bo("td",null,[so(Bo("input",{type:"text",id:"field-name","onUpdate:modelValue":t[2]||(t[2]=e=>r.name=e)},null,512),[[Wr,r.name]])])]),(Fo(!0),No(Co,null,kr(r.properties,((e,t)=>(Fo(),No(s,{model:e,values:r.values[e.id],key:t},null,8,["model","values"])))),128))]),r.relations.length>0?(Fo(),No("div",$a,[Ea,(Fo(!0),No(Co,null,kr(r.relations,(e=>(Fo(),No(a,{ref:i.setRelationRef,model_id:e.id,objects:n.objects,schema:n.schema},null,8,["model_id","objects","schema"])))),256))])):Ho("v-if",!0)],64)},Oa.__file="src/components/NewObjectForm.vue";var Ra={props:["model_id","schema","objects"],name:"NewRelationForm",data(){const e=this.schema.rel_models.find((e=>e.id===this.model_id));if(!e)throw Error("Relation model not exist");let t=this.schema.prop_models.filter((t=>t.object===e.id));t.sort(((e,t)=>e.name.localeCompare(t.name))),t=Us(t)?null:ai(t,"id");let n=this.schema.obj_models.find((t=>t.id===e.related));if(!n)throw Error("Related model not exist");let o={};this.objects.forEach((t=>{t.model===e.related&&(o[t.id]=t.name)}));let r=[];if(!e.optional){let e={};ls(this.properties,(t=>{t.optional?e[t.id]=[]:e[t.id]=[li(t.default)]})),r.push({related:"",values:e})}return{model:e,related_model:n,properties:t,object_names:o,instances:r}},methods:{collectData(){let e=[];return ls(li(this.instances),(t=>{if(Us(t.related)){if(!this.model.optional)throw new Error(`Relation "${this.model.name}" is required`);return}let n=[];ls(t.values,((e,t)=>{for(let o of e)n.push({model_id:ci(t),value:o})})),e.push({model_id:this.model.id,related_id:ci(t.related),values:n})})),e},addInstance(){let e={};ls(this.properties,(t=>{t.optional?e[t.id]=[]:e[t.id]=[li(t.default)]})),this.instances.push({related:"",values:e})},removeInstance(e){this.instances.splice(e,1)}}};const Aa=_n("data-v-0f98a4a0");yn("data-v-0f98a4a0");const Pa={key:1};bn();const Fa=Aa(((e,t,n,o,r,i)=>{const s=ko("property");return Fo(),No("div",null,[(Fo(!0),No(Co,null,kr(r.instances,((e,t)=>(Fo(),No("div",{class:"new-relation",key:t},[Bo("b",null,[qo(f(r.model.name)+" -> "+f(r.related_model.name)+" ",1),so(Bo("select",{"onUpdate:modelValue":t=>e.related=t},[(Fo(!0),No(Co,null,kr(r.object_names,((e,t)=>(Fo(),No("option",{value:t},f(e),9,["value"])))),256))],8,["onUpdate:modelValue"]),[[Xr,e.related]])]),r.model.multiple||r.model.optional&&r.instances.length>0?(Fo(),No("a",{key:0,href:"#",style:{"margin-left":"5px"},onClick:e=>i.removeInstance(t)},"X",8,["onClick"])):Ho("v-if",!0),r.properties?(Fo(),No("table",Pa,[(Fo(!0),No(Co,null,kr(r.properties,((t,n)=>(Fo(),No(s,{model:t,values:e.values[n],key:n},null,8,["model","values"])))),128))])):Ho("v-if",!0)])))),128)),r.model.multiple||r.model.optional&&0==r.instances.length?(Fo(),No("a",{key:0,href:"#",onClick:t[1]||(t[1]=(...e)=>i.addInstance&&i.addInstance(...e))},"Add "+f(r.model.name)+" -> "+f(r.related_model.name),1)):Ho("v-if",!0)])}));Ra.render=Fa,Ra.__scopeId="data-v-0f98a4a0",Ra.__file="src/components/NewRelationForm.vue",window.onLoad=function(e){document.addEventListener("DOMContentLoaded",e)},window.Yopa={newObjectForm(e){let t=window.app=ni(Oa,e);return function(e){e.component("string-value",oi),e.component("integer-value",si),e.component("decimal-value",ri),e.component("boolean-value",ii),e.component("property",ui),e.component("new-relation",Ra)}(t),t.mount("#new-object-form")}},onLoad((()=>{setTimeout((()=>{let e=document.getElementsByClassName("toast");e.length&&(e[0].style.display="none")}),3e3)}))}();
//# sourceMappingURL=bundle.js.map