diff --git a/data.mv.db b/data.mv.db index ea79c7a..12d64ed 100644 Binary files a/data.mv.db and b/data.mv.db differ diff --git a/frontend/vue-project/dist/assets/index-11a2dcdd.js b/frontend/vue-project/dist/assets/index-11a2dcdd.js new file mode 100644 index 0000000..43bb206 --- /dev/null +++ b/frontend/vue-project/dist/assets/index-11a2dcdd.js @@ -0,0 +1,7 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function Ws(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}function Gs(e){if(B(e)){const t={};for(let n=0;n{if(n){const s=n.split(ol);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Js(e){let t="";if(pe(e))t=e;else if(B(e))for(let n=0;nKn(n,t))}const Me=e=>pe(e)?e:e==null?"":B(e)||se(e)&&(e.toString===Mo||!D(e.toString))?JSON.stringify(e,Po,2):String(e),Po=(e,t)=>t&&t.__v_isRef?Po(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:zn(t)?{[`Set(${t.size})`]:[...t.values()]}:se(t)&&!B(t)&&!Fo(t)?String(t):t,oe={},Mt=[],He=()=>{},fl=()=>!1,dl=/^on[^a-z]/,qn=e=>dl.test(e),Qs=e=>e.startsWith("onUpdate:"),we=Object.assign,Ys=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hl=Object.prototype.hasOwnProperty,W=(e,t)=>hl.call(e,t),B=Array.isArray,Ft=e=>fn(e)==="[object Map]",zn=e=>fn(e)==="[object Set]",Sr=e=>fn(e)==="[object Date]",D=e=>typeof e=="function",pe=e=>typeof e=="string",tn=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",To=e=>se(e)&&D(e.then)&&D(e.catch),Mo=Object.prototype.toString,fn=e=>Mo.call(e),pl=e=>fn(e).slice(8,-1),Fo=e=>fn(e)==="[object Object]",Xs=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Rn=Ws(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ml=/-(\w)/g,Je=Vn(e=>e.replace(ml,(t,n)=>n?n.toUpperCase():"")),gl=/\B([A-Z])/g,Ht=Vn(e=>e.replace(gl,"-$1").toLowerCase()),Wn=Vn(e=>e.charAt(0).toUpperCase()+e.slice(1)),us=Vn(e=>e?`on${Wn(e)}`:""),nn=(e,t)=>!Object.is(e,t),xn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Rs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let wr;const bl=()=>wr||(wr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Be;class yl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Be,!t&&Be&&(this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Be;try{return Be=this,t()}finally{Be=n}}}on(){Be=this}off(){Be=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},ko=e=>(e.w&pt)>0,jo=e=>(e.n&pt)>0,Sl=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(a==="length"||a>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":B(e)?Xs(n)&&l.push(i.get("length")):(l.push(i.get(xt)),Ft(e)&&l.push(i.get(As)));break;case"delete":B(e)||(l.push(i.get(xt)),Ft(e)&&l.push(i.get(As)));break;case"set":Ft(e)&&l.push(i.get(xt));break}if(l.length===1)l[0]&&Os(l[0]);else{const c=[];for(const u of l)u&&c.push(...u);Os(Zs(c))}}function Os(e,t){const n=B(e)?e:[...e];for(const s of n)s.computed&&Rr(s);for(const s of n)s.computed||Rr(s)}function Rr(e,t){(e!==$e||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const vl=Ws("__proto__,__v_isRef,__isVue"),Lo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(tn)),Rl=tr(),xl=tr(!1,!0),Cl=tr(!0),xr=Al();function Al(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=J(this);for(let o=0,i=this.length;o{e[t]=function(...n){Kt();const s=J(this)[t].apply(this,n);return qt(),s}}),e}function Ol(e){const t=J(this);return Ae(t,"has",e),t.hasOwnProperty(e)}function tr(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?ql:Ho:t?Do:$o).get(s))return s;const i=B(s);if(!e){if(i&&W(xr,r))return Reflect.get(xr,r,o);if(r==="hasOwnProperty")return Ol}const l=Reflect.get(s,r,o);return(tn(r)?Lo.has(r):vl(r))||(e||Ae(s,"get",r),t)?l:Ee(l)?i&&Xs(r)?l:l.value:se(l)?e?Ko(l):dn(l):l}}const Pl=Uo(),Tl=Uo(!0);function Uo(e=!1){return function(n,s,r,o){let i=n[s];if(Lt(i)&&Ee(i)&&!Ee(r))return!1;if(!e&&(!Ln(r)&&!Lt(r)&&(i=J(i),r=J(r)),!B(n)&&Ee(i)&&!Ee(r)))return i.value=r,!0;const l=B(n)&&Xs(s)?Number(s)e,Gn=e=>Reflect.getPrototypeOf(e);function bn(e,t,n=!1,s=!1){e=e.__v_raw;const r=J(e),o=J(t);n||(t!==o&&Ae(r,"get",t),Ae(r,"get",o));const{has:i}=Gn(r),l=s?nr:n?or:sn;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function yn(e,t=!1){const n=this.__v_raw,s=J(n),r=J(e);return t||(e!==r&&Ae(s,"has",e),Ae(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function _n(e,t=!1){return e=e.__v_raw,!t&&Ae(J(e),"iterate",xt),Reflect.get(e,"size",e)}function Cr(e){e=J(e);const t=J(this);return Gn(t).has.call(t,e)||(t.add(e),rt(t,"add",e,e)),this}function Ar(e,t){t=J(t);const n=J(this),{has:s,get:r}=Gn(n);let o=s.call(n,e);o||(e=J(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?nn(t,i)&&rt(n,"set",e,t):rt(n,"add",e,t),this}function Or(e){const t=J(this),{has:n,get:s}=Gn(t);let r=n.call(t,e);r||(e=J(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&rt(t,"delete",e,void 0),o}function Pr(){const e=J(this),t=e.size!==0,n=e.clear();return t&&rt(e,"clear",void 0,void 0),n}function En(e,t){return function(s,r){const o=this,i=o.__v_raw,l=J(i),c=t?nr:e?or:sn;return!e&&Ae(l,"iterate",xt),i.forEach((u,a)=>s.call(r,c(u),c(a),o))}}function Sn(e,t,n){return function(...s){const r=this.__v_raw,o=J(r),i=Ft(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=r[e](...s),a=n?nr:t?or:sn;return!t&&Ae(o,"iterate",c?As:xt),{next(){const{value:p,done:m}=u.next();return m?{value:p,done:m}:{value:l?[a(p[0]),a(p[1])]:a(p),done:m}},[Symbol.iterator](){return this}}}}function it(e){return function(...t){return e==="delete"?!1:this}}function Il(){const e={get(o){return bn(this,o)},get size(){return _n(this)},has:yn,add:Cr,set:Ar,delete:Or,clear:Pr,forEach:En(!1,!1)},t={get(o){return bn(this,o,!1,!0)},get size(){return _n(this)},has:yn,add:Cr,set:Ar,delete:Or,clear:Pr,forEach:En(!1,!0)},n={get(o){return bn(this,o,!0)},get size(){return _n(this,!0)},has(o){return yn.call(this,o,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:En(!0,!1)},s={get(o){return bn(this,o,!0,!0)},get size(){return _n(this,!0)},has(o){return yn.call(this,o,!0)},add:it("add"),set:it("set"),delete:it("delete"),clear:it("clear"),forEach:En(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Sn(o,!1,!1),n[o]=Sn(o,!0,!1),t[o]=Sn(o,!1,!0),s[o]=Sn(o,!0,!0)}),[e,n,t,s]}const[Ll,Ul,Bl,$l]=Il();function sr(e,t){const n=t?e?$l:Bl:e?Ul:Ll;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(W(n,r)&&r in s?n:s,r,o)}const Dl={get:sr(!1,!1)},Hl={get:sr(!1,!0)},Kl={get:sr(!0,!1)},$o=new WeakMap,Do=new WeakMap,Ho=new WeakMap,ql=new WeakMap;function zl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vl(e){return e.__v_skip||!Object.isExtensible(e)?0:zl(pl(e))}function dn(e){return Lt(e)?e:rr(e,!1,Bo,Dl,$o)}function Wl(e){return rr(e,!1,Nl,Hl,Do)}function Ko(e){return rr(e,!0,jl,Kl,Ho)}function rr(e,t,n,s,r){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Vl(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function kt(e){return Lt(e)?kt(e.__v_raw):!!(e&&e.__v_isReactive)}function Lt(e){return!!(e&&e.__v_isReadonly)}function Ln(e){return!!(e&&e.__v_isShallow)}function qo(e){return kt(e)||Lt(e)}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function zo(e){return In(e,"__v_skip",!0),e}const sn=e=>se(e)?dn(e):e,or=e=>se(e)?Ko(e):e;function Vo(e){dt&&$e&&(e=J(e),Io(e.dep||(e.dep=Zs())))}function Wo(e,t){e=J(e);const n=e.dep;n&&Os(n)}function Ee(e){return!!(e&&e.__v_isRef===!0)}function Gl(e){return Go(e,!1)}function Jl(e){return Go(e,!0)}function Go(e,t){return Ee(e)?e:new Ql(e,t)}class Ql{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:sn(t)}get value(){return Vo(this),this._value}set value(t){const n=this.__v_isShallow||Ln(t)||Lt(t);t=n?t:J(t),nn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:sn(t),Wo(this))}}function jt(e){return Ee(e)?e.value:e}const Yl={get:(e,t,n)=>jt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ee(r)&&!Ee(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Jo(e){return kt(e)?e:new Proxy(e,Yl)}var Qo;class Xl{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Qo]=!1,this._dirty=!0,this.effect=new er(t,()=>{this._dirty||(this._dirty=!0,Wo(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=J(this);return Vo(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Qo="__v_isReadonly";function Zl(e,t,n=!1){let s,r;const o=D(e);return o?(s=e,r=He):(s=e.get,r=e.set),new Xl(s,r,o||!r,n)}function ht(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){Jn(o,t,n)}return r}function ke(e,t,n,s){if(D(e)){const o=ht(e,t,n,s);return o&&To(o)&&o.catch(i=>{Jn(i,t,n)}),o}const r=[];for(let o=0;o>>1;on(_e[s])We&&_e.splice(t,1)}function sc(e){B(e)?Nt.push(...e):(!Ze||!Ze.includes(e,e.allowRecurse?Et+1:Et))&&Nt.push(e),Zo()}function Tr(e,t=rn?We+1:0){for(;t<_e.length;t++){const n=_e[t];n&&n.pre&&(_e.splice(t,1),t--,n())}}function ei(e){if(Nt.length){const t=[...new Set(Nt)];if(Nt.length=0,Ze){Ze.push(...t);return}for(Ze=t,Ze.sort((n,s)=>on(n)-on(s)),Et=0;Ete.id==null?1/0:e.id,rc=(e,t)=>{const n=on(e)-on(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ti(e){Ps=!1,rn=!0,_e.sort(rc);const t=He;try{for(We=0;We<_e.length;We++){const n=_e[We];n&&n.active!==!1&&ht(n,null,14)}}finally{We=0,_e.length=0,ei(),rn=!1,ir=null,(_e.length||Nt.length)&&ti()}}function oc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||oe;let r=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const a=`${i==="modelValue"?"model":i}Modifiers`,{number:p,trim:m}=s[a]||oe;m&&(r=n.map(b=>pe(b)?b.trim():b)),p&&(r=n.map(Rs))}let l,c=s[l=us(t)]||s[l=us(Je(t))];!c&&o&&(c=s[l=us(Ht(t))]),c&&ke(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ke(u,e,6,r)}}function ni(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!D(e)){const c=u=>{const a=ni(u,t,!0);a&&(l=!0,we(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(se(e)&&s.set(e,null),null):(B(o)?o.forEach(c=>i[c]=null):we(i,o),se(e)&&s.set(e,i),i)}function Qn(e,t){return!e||!qn(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,Ht(t))||W(e,t))}let Pe=null,si=null;function Un(e){const t=Pe;return Pe=e,si=e&&e.type.__scopeId||null,t}function Cn(e,t=Pe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&$r(-1);const o=Un(t);let i;try{i=e(...r)}finally{Un(o),s._d&&$r(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function as(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:u,render:a,renderCache:p,data:m,setupState:b,ctx:y,inheritAttrs:w}=e;let j,O;const U=Un(e);try{if(n.shapeFlag&4){const q=r||s;j=Ve(a.call(q,q,p,o,b,m,y)),O=c}else{const q=t;j=Ve(q.length>1?q(o,{attrs:c,slots:l,emit:u}):q(o,null)),O=t.props?c:ic(c)}}catch(q){Xt.length=0,Jn(q,e,1),j=Se(nt)}let k=j;if(O&&w!==!1){const q=Object.keys(O),{shapeFlag:ie}=k;q.length&&ie&7&&(i&&q.some(Qs)&&(O=lc(O,i)),k=mt(k,O))}return n.dirs&&(k=mt(k),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(k.transition=n.transition),j=k,Un(U),j}const ic=e=>{let t;for(const n in e)(n==="class"||n==="style"||qn(n))&&((t||(t={}))[n]=e[n]);return t},lc=(e,t)=>{const n={};for(const s in e)(!Qs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function cc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Mr(s,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let p=0;pe.__isSuspense;function fc(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):sc(e)}function An(e,t){if(fe){let n=fe.provides;const s=fe.parent&&fe.parent.provides;s===n&&(n=fe.provides=Object.create(s)),n[e]=t}}function tt(e,t,n=!1){const s=fe||Pe;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&D(t)?t.call(s.proxy):t}}const wn={};function On(e,t,n){return ri(e,t,n)}function ri(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=oe){const l=El()===(fe==null?void 0:fe.scope)?fe:null;let c,u=!1,a=!1;if(Ee(e)?(c=()=>e.value,u=Ln(e)):kt(e)?(c=()=>e,s=!0):B(e)?(a=!0,u=e.some(k=>kt(k)||Ln(k)),c=()=>e.map(k=>{if(Ee(k))return k.value;if(kt(k))return Rt(k);if(D(k))return ht(k,l,2)})):D(e)?t?c=()=>ht(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return p&&p(),ke(e,l,3,[m])}:c=He,t&&s){const k=c;c=()=>Rt(k())}let p,m=k=>{p=O.onStop=()=>{ht(k,l,4)}},b;if(cn)if(m=He,t?n&&ke(t,l,3,[c(),a?[]:void 0,m]):c(),r==="sync"){const k=lu();b=k.__watcherHandles||(k.__watcherHandles=[])}else return He;let y=a?new Array(e.length).fill(wn):wn;const w=()=>{if(O.active)if(t){const k=O.run();(s||u||(a?k.some((q,ie)=>nn(q,y[ie])):nn(k,y)))&&(p&&p(),ke(t,l,3,[k,y===wn?void 0:a&&y[0]===wn?[]:y,m]),y=k)}else O.run()};w.allowRecurse=!!t;let j;r==="sync"?j=w:r==="post"?j=()=>Ce(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),j=()=>lr(w));const O=new er(c,j);t?n?w():y=O.run():r==="post"?Ce(O.run.bind(O),l&&l.suspense):O.run();const U=()=>{O.stop(),l&&l.scope&&Ys(l.scope.effects,O)};return b&&b.push(U),U}function dc(e,t,n){const s=this.proxy,r=pe(e)?e.includes(".")?oi(s,e):()=>s[e]:e.bind(s,s);let o;D(t)?o=t:(o=t.handler,n=t);const i=fe;Ut(this);const l=ri(r,o.bind(s),n);return i?Ut(i):Ct(),l}function oi(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{Rt(n,t)});else if(Fo(e))for(const n in e)Rt(e[n],t);return e}function hc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ai(()=>{e.isMounted=!0}),fi(()=>{e.isUnmounting=!0}),e}const Te=[Function,Array],pc={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Te,onEnter:Te,onAfterEnter:Te,onEnterCancelled:Te,onBeforeLeave:Te,onLeave:Te,onAfterLeave:Te,onLeaveCancelled:Te,onBeforeAppear:Te,onAppear:Te,onAfterAppear:Te,onAppearCancelled:Te},setup(e,{slots:t}){const n=Zc(),s=hc();let r;return()=>{const o=t.default&&li(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const w of o)if(w.type!==nt){i=w;break}}const l=J(e),{mode:c}=l;if(s.isLeaving)return fs(i);const u=Fr(i);if(!u)return fs(i);const a=Ts(u,l,s,n);Ms(u,a);const p=n.subTree,m=p&&Fr(p);let b=!1;const{getTransitionKey:y}=u.type;if(y){const w=y();r===void 0?r=w:w!==r&&(r=w,b=!0)}if(m&&m.type!==nt&&(!St(u,m)||b)){const w=Ts(m,l,s,n);if(Ms(m,w),c==="out-in")return s.isLeaving=!0,w.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},fs(i);c==="in-out"&&u.type!==nt&&(w.delayLeave=(j,O,U)=>{const k=ii(s,m);k[String(m.key)]=m,j._leaveCb=()=>{O(),j._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=U})}return i}}},mc=pc;function ii(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ts(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:p,onLeave:m,onAfterLeave:b,onLeaveCancelled:y,onBeforeAppear:w,onAppear:j,onAfterAppear:O,onAppearCancelled:U}=t,k=String(e.key),q=ii(n,e),ie=(H,ue)=>{H&&ke(H,s,9,ue)},ge=(H,ue)=>{const re=ue[1];ie(H,ue),B(H)?H.every(be=>be.length<=1)&&re():H.length<=1&&re()},Re={mode:o,persisted:i,beforeEnter(H){let ue=l;if(!n.isMounted)if(r)ue=w||l;else return;H._leaveCb&&H._leaveCb(!0);const re=q[k];re&&St(e,re)&&re.el._leaveCb&&re.el._leaveCb(),ie(ue,[H])},enter(H){let ue=c,re=u,be=a;if(!n.isMounted)if(r)ue=j||c,re=O||u,be=U||a;else return;let ye=!1;const Ne=H._enterCb=Ye=>{ye||(ye=!0,Ye?ie(be,[H]):ie(re,[H]),Re.delayedLeave&&Re.delayedLeave(),H._enterCb=void 0)};ue?ge(ue,[H,Ne]):Ne()},leave(H,ue){const re=String(e.key);if(H._enterCb&&H._enterCb(!0),n.isUnmounting)return ue();ie(p,[H]);let be=!1;const ye=H._leaveCb=Ne=>{be||(be=!0,ue(),Ne?ie(y,[H]):ie(b,[H]),H._leaveCb=void 0,q[re]===e&&delete q[re])};q[re]=e,m?ge(m,[H,ye]):ye()},clone(H){return Ts(H,t,n,s)}};return Re}function fs(e){if(Yn(e))return e=mt(e),e.children=null,e}function Fr(e){return Yn(e)?e.children?e.children[0]:void 0:e}function Ms(e,t){e.shapeFlag&6&&e.component?Ms(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function li(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader,Yn=e=>e.type.__isKeepAlive;function gc(e,t){ui(e,"a",t)}function bc(e,t){ui(e,"da",t)}function ui(e,t,n=fe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Xn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Yn(r.parent.vnode)&&yc(s,t,n,r),r=r.parent}}function yc(e,t,n,s){const r=Xn(t,e,s,!0);di(()=>{Ys(s[t],r)},n)}function Xn(e,t,n=fe,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Kt(),Ut(n);const l=ke(t,n,e,i);return Ct(),qt(),l});return s?r.unshift(o):r.push(o),o}}const ot=e=>(t,n=fe)=>(!cn||e==="sp")&&Xn(e,(...s)=>t(...s),n),_c=ot("bm"),ai=ot("m"),Ec=ot("bu"),Sc=ot("u"),fi=ot("bum"),di=ot("um"),wc=ot("sp"),vc=ot("rtg"),Rc=ot("rtc");function xc(e,t=fe){Xn("ec",e,t)}function ft(e,t){const n=Pe;if(n===null)return e;const s=ts(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;ot(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;le?vi(e)?ts(e)||e.proxy:ks(e.parent):null,Yt=we(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ks(e.parent),$root:e=>ks(e.root),$emit:e=>e.emit,$options:e=>cr(e),$forceUpdate:e=>e.f||(e.f=()=>lr(e.update)),$nextTick:e=>e.n||(e.n=Xo.bind(e.proxy)),$watch:e=>dc.bind(e)}),ds=(e,t)=>e!==oe&&!e.__isScriptSetup&&W(e,t),Oc={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const b=i[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(ds(s,t))return i[t]=1,s[t];if(r!==oe&&W(r,t))return i[t]=2,r[t];if((u=e.propsOptions[0])&&W(u,t))return i[t]=3,o[t];if(n!==oe&&W(n,t))return i[t]=4,n[t];js&&(i[t]=0)}}const a=Yt[t];let p,m;if(a)return t==="$attrs"&&Ae(e,"get",t),a(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==oe&&W(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,W(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return ds(r,t)?(r[t]=n,!0):s!==oe&&W(s,t)?(s[t]=n,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==oe&&W(e,i)||ds(t,i)||(l=o[0])&&W(l,i)||W(s,i)||W(Yt,i)||W(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:W(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let js=!0;function Pc(e){const t=cr(e),n=e.proxy,s=e.ctx;js=!1,t.beforeCreate&&jr(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:p,mounted:m,beforeUpdate:b,updated:y,activated:w,deactivated:j,beforeDestroy:O,beforeUnmount:U,destroyed:k,unmounted:q,render:ie,renderTracked:ge,renderTriggered:Re,errorCaptured:H,serverPrefetch:ue,expose:re,inheritAttrs:be,components:ye,directives:Ne,filters:Ye}=t;if(u&&Tc(u,s,null,e.appContext.config.unwrapInjectedRef),i)for(const te in i){const Z=i[te];D(Z)&&(s[te]=Z.bind(n))}if(r){const te=r.call(n,n);se(te)&&(e.data=dn(te))}if(js=!0,o)for(const te in o){const Z=o[te],Ie=D(Z)?Z.bind(n,n):D(Z.get)?Z.get.bind(n,n):He,gt=!D(Z)&&D(Z.set)?Z.set.bind(n):He,Le=Fe({get:Ie,set:gt});Object.defineProperty(s,te,{enumerable:!0,configurable:!0,get:()=>Le.value,set:xe=>Le.value=xe})}if(l)for(const te in l)pi(l[te],s,n,te);if(c){const te=D(c)?c.call(n):c;Reflect.ownKeys(te).forEach(Z=>{An(Z,te[Z])})}a&&jr(a,e,"c");function de(te,Z){B(Z)?Z.forEach(Ie=>te(Ie.bind(n))):Z&&te(Z.bind(n))}if(de(_c,p),de(ai,m),de(Ec,b),de(Sc,y),de(gc,w),de(bc,j),de(xc,H),de(Rc,ge),de(vc,Re),de(fi,U),de(di,q),de(wc,ue),B(re))if(re.length){const te=e.exposed||(e.exposed={});re.forEach(Z=>{Object.defineProperty(te,Z,{get:()=>n[Z],set:Ie=>n[Z]=Ie})})}else e.exposed||(e.exposed={});ie&&e.render===He&&(e.render=ie),be!=null&&(e.inheritAttrs=be),ye&&(e.components=ye),Ne&&(e.directives=Ne)}function Tc(e,t,n=He,s=!1){B(e)&&(e=Ns(e));for(const r in e){const o=e[r];let i;se(o)?"default"in o?i=tt(o.from||r,o.default,!0):i=tt(o.from||r):i=tt(o),Ee(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function jr(e,t,n){ke(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function pi(e,t,n,s){const r=s.includes(".")?oi(n,s):()=>n[s];if(pe(e)){const o=t[e];D(o)&&On(r,o)}else if(D(e))On(r,e.bind(n));else if(se(e))if(B(e))e.forEach(o=>pi(o,t,n,s));else{const o=D(e.handler)?e.handler.bind(n):t[e.handler];D(o)&&On(r,o,e)}}function cr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>Bn(c,u,i,!0)),Bn(c,t,i)),se(t)&&o.set(t,c),c}function Bn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Bn(e,o,n,!0),r&&r.forEach(i=>Bn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Mc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Mc={data:Nr,props:_t,emits:_t,methods:_t,computed:_t,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:_t,directives:_t,watch:kc,provide:Nr,inject:Fc};function Nr(e,t){return t?e?function(){return we(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function Fc(e,t){return _t(Ns(e),Ns(t))}function Ns(e){if(B(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let p=0;p{c=!0;const[m,b]=gi(p,t,!0);we(i,m),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return se(e)&&s.set(e,Mt),Mt;if(B(o))for(let a=0;a-1,b[1]=w<0||y-1||W(b,"default"))&&l.push(p)}}}const u=[i,l];return se(e)&&s.set(e,u),u}function Ir(e){return e[0]!=="$"}function Lr(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Ur(e,t){return Lr(e)===Lr(t)}function Br(e,t){return B(t)?t.findIndex(n=>Ur(n,e)):D(t)&&Ur(t,e)?0:-1}const bi=e=>e[0]==="_"||e==="$stable",ur=e=>B(e)?e.map(Ve):[Ve(e)],Ic=(e,t,n)=>{if(t._n)return t;const s=Cn((...r)=>ur(t(...r)),n);return s._c=!1,s},yi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(bi(r))continue;const o=e[r];if(D(o))t[r]=Ic(r,o,s);else if(o!=null){const i=ur(o);t[r]=()=>i}}},_i=(e,t)=>{const n=ur(t);e.slots.default=()=>n},Lc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=J(t),In(t,"_",n)):yi(t,e.slots={})}else e.slots={},t&&_i(e,t);In(e.slots,es,1)},Uc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=oe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(we(r,t),!n&&l===1&&delete r._):(o=!t.$stable,yi(t,r)),i=t}else t&&(_i(e,t),i={default:1});if(o)for(const l in r)!bi(l)&&!(l in i)&&delete r[l]};function Ei(){return{app:null,config:{isNativeTag:fl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Bc=0;function $c(e,t){return function(s,r=null){D(s)||(s=Object.assign({},s)),r!=null&&!se(r)&&(r=null);const o=Ei(),i=new Set;let l=!1;const c=o.app={_uid:Bc++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:cu,get config(){return o.config},set config(u){},use(u,...a){return i.has(u)||(u&&D(u.install)?(i.add(u),u.install(c,...a)):D(u)&&(i.add(u),u(c,...a))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,a){return a?(o.components[u]=a,c):o.components[u]},directive(u,a){return a?(o.directives[u]=a,c):o.directives[u]},mount(u,a,p){if(!l){const m=Se(s,r);return m.appContext=o,a&&t?t(m,u):e(m,u,p),l=!0,c._container=u,u.__vue_app__=c,ts(m.component)||m.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(u,a){return o.provides[u]=a,c}};return c}}function Ls(e,t,n,s,r=!1){if(B(e)){e.forEach((m,b)=>Ls(m,t&&(B(t)?t[b]:t),n,s,r));return}if(Pn(s)&&!r)return;const o=s.shapeFlag&4?ts(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,u=t&&t.r,a=l.refs===oe?l.refs={}:l.refs,p=l.setupState;if(u!=null&&u!==c&&(pe(u)?(a[u]=null,W(p,u)&&(p[u]=null)):Ee(u)&&(u.value=null)),D(c))ht(c,l,12,[i,a]);else{const m=pe(c),b=Ee(c);if(m||b){const y=()=>{if(e.f){const w=m?W(p,c)?p[c]:a[c]:c.value;r?B(w)&&Ys(w,o):B(w)?w.includes(o)||w.push(o):m?(a[c]=[o],W(p,c)&&(p[c]=a[c])):(c.value=[o],e.k&&(a[e.k]=c.value))}else m?(a[c]=i,W(p,c)&&(p[c]=i)):b&&(c.value=i,e.k&&(a[e.k]=i))};i?(y.id=-1,Ce(y,n)):y()}}}const Ce=fc;function Dc(e){return Hc(e)}function Hc(e,t){const n=bl();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:a,parentNode:p,nextSibling:m,setScopeId:b=He,insertStaticContent:y}=e,w=(f,h,g,E=null,v=null,C=null,T=!1,x=null,A=!!h.dynamicChildren)=>{if(f===h)return;f&&!St(f,h)&&(E=P(f),xe(f,v,C,!0),f=null),h.patchFlag===-2&&(A=!1,h.dynamicChildren=null);const{type:R,ref:I,shapeFlag:F}=h;switch(R){case Zn:j(f,h,g,E);break;case nt:O(f,h,g,E);break;case hs:f==null&&U(h,g,E,T);break;case ce:ye(f,h,g,E,v,C,T,x,A);break;default:F&1?ie(f,h,g,E,v,C,T,x,A):F&6?Ne(f,h,g,E,v,C,T,x,A):(F&64||F&128)&&R.process(f,h,g,E,v,C,T,x,A,V)}I!=null&&v&&Ls(I,f&&f.ref,C,h||f,!h)},j=(f,h,g,E)=>{if(f==null)s(h.el=l(h.children),g,E);else{const v=h.el=f.el;h.children!==f.children&&u(v,h.children)}},O=(f,h,g,E)=>{f==null?s(h.el=c(h.children||""),g,E):h.el=f.el},U=(f,h,g,E)=>{[f.el,f.anchor]=y(f.children,h,g,E,f.el,f.anchor)},k=({el:f,anchor:h},g,E)=>{let v;for(;f&&f!==h;)v=m(f),s(f,g,E),f=v;s(h,g,E)},q=({el:f,anchor:h})=>{let g;for(;f&&f!==h;)g=m(f),r(f),f=g;r(h)},ie=(f,h,g,E,v,C,T,x,A)=>{T=T||h.type==="svg",f==null?ge(h,g,E,v,C,T,x,A):ue(f,h,v,C,T,x,A)},ge=(f,h,g,E,v,C,T,x)=>{let A,R;const{type:I,props:F,shapeFlag:L,transition:$,dirs:z}=f;if(A=f.el=i(f.type,C,F&&F.is,F),L&8?a(A,f.children):L&16&&H(f.children,A,null,E,v,C&&I!=="foreignObject",T,x),z&&bt(f,null,E,"created"),Re(A,f,f.scopeId,T,E),F){for(const ee in F)ee!=="value"&&!Rn(ee)&&o(A,ee,null,F[ee],C,f.children,E,v,M);"value"in F&&o(A,"value",null,F.value),(R=F.onVnodeBeforeMount)&&ze(R,E,f)}z&&bt(f,null,E,"beforeMount");const ne=(!v||v&&!v.pendingBranch)&&$&&!$.persisted;ne&&$.beforeEnter(A),s(A,h,g),((R=F&&F.onVnodeMounted)||ne||z)&&Ce(()=>{R&&ze(R,E,f),ne&&$.enter(A),z&&bt(f,null,E,"mounted")},v)},Re=(f,h,g,E,v)=>{if(g&&b(f,g),E)for(let C=0;C{for(let R=A;R{const x=h.el=f.el;let{patchFlag:A,dynamicChildren:R,dirs:I}=h;A|=f.patchFlag&16;const F=f.props||oe,L=h.props||oe;let $;g&&yt(g,!1),($=L.onVnodeBeforeUpdate)&&ze($,g,h,f),I&&bt(h,f,g,"beforeUpdate"),g&&yt(g,!0);const z=v&&h.type!=="foreignObject";if(R?re(f.dynamicChildren,R,x,g,E,z,C):T||Z(f,h,x,null,g,E,z,C,!1),A>0){if(A&16)be(x,h,F,L,g,E,v);else if(A&2&&F.class!==L.class&&o(x,"class",null,L.class,v),A&4&&o(x,"style",F.style,L.style,v),A&8){const ne=h.dynamicProps;for(let ee=0;ee{$&&ze($,g,h,f),I&&bt(h,f,g,"updated")},E)},re=(f,h,g,E,v,C,T)=>{for(let x=0;x{if(g!==E){if(g!==oe)for(const x in g)!Rn(x)&&!(x in E)&&o(f,x,g[x],null,T,h.children,v,C,M);for(const x in E){if(Rn(x))continue;const A=E[x],R=g[x];A!==R&&x!=="value"&&o(f,x,R,A,T,h.children,v,C,M)}"value"in E&&o(f,"value",g.value,E.value)}},ye=(f,h,g,E,v,C,T,x,A)=>{const R=h.el=f?f.el:l(""),I=h.anchor=f?f.anchor:l("");let{patchFlag:F,dynamicChildren:L,slotScopeIds:$}=h;$&&(x=x?x.concat($):$),f==null?(s(R,g,E),s(I,g,E),H(h.children,g,I,v,C,T,x,A)):F>0&&F&64&&L&&f.dynamicChildren?(re(f.dynamicChildren,L,g,v,C,T,x),(h.key!=null||v&&h===v.subTree)&&Si(f,h,!0)):Z(f,h,g,I,v,C,T,x,A)},Ne=(f,h,g,E,v,C,T,x,A)=>{h.slotScopeIds=x,f==null?h.shapeFlag&512?v.ctx.activate(h,g,E,T,A):Ye(h,g,E,v,C,T,A):Vt(f,h,A)},Ye=(f,h,g,E,v,C,T)=>{const x=f.component=Xc(f,E,v);if(Yn(f)&&(x.ctx.renderer=V),eu(x),x.asyncDep){if(v&&v.registerDep(x,de),!f.el){const A=x.subTree=Se(nt);O(null,A,h,g)}return}de(x,f,h,g,v,C,T)},Vt=(f,h,g)=>{const E=h.component=f.component;if(cc(f,h,g))if(E.asyncDep&&!E.asyncResolved){te(E,h,g);return}else E.next=h,nc(E.update),E.update();else h.el=f.el,E.vnode=h},de=(f,h,g,E,v,C,T)=>{const x=()=>{if(f.isMounted){let{next:I,bu:F,u:L,parent:$,vnode:z}=f,ne=I,ee;yt(f,!1),I?(I.el=z.el,te(f,I,T)):I=z,F&&xn(F),(ee=I.props&&I.props.onVnodeBeforeUpdate)&&ze(ee,$,I,z),yt(f,!0);const he=as(f),Ue=f.subTree;f.subTree=he,w(Ue,he,p(Ue.el),P(Ue),f,v,C),I.el=he.el,ne===null&&uc(f,he.el),L&&Ce(L,v),(ee=I.props&&I.props.onVnodeUpdated)&&Ce(()=>ze(ee,$,I,z),v)}else{let I;const{el:F,props:L}=h,{bm:$,m:z,parent:ne}=f,ee=Pn(h);if(yt(f,!1),$&&xn($),!ee&&(I=L&&L.onVnodeBeforeMount)&&ze(I,ne,h),yt(f,!0),F&&K){const he=()=>{f.subTree=as(f),K(F,f.subTree,f,v,null)};ee?h.type.__asyncLoader().then(()=>!f.isUnmounted&&he()):he()}else{const he=f.subTree=as(f);w(null,he,g,E,f,v,C),h.el=he.el}if(z&&Ce(z,v),!ee&&(I=L&&L.onVnodeMounted)){const he=h;Ce(()=>ze(I,ne,he),v)}(h.shapeFlag&256||ne&&Pn(ne.vnode)&&ne.vnode.shapeFlag&256)&&f.a&&Ce(f.a,v),f.isMounted=!0,h=g=E=null}},A=f.effect=new er(x,()=>lr(R),f.scope),R=f.update=()=>A.run();R.id=f.uid,yt(f,!0),R()},te=(f,h,g)=>{h.component=f;const E=f.vnode.props;f.vnode=h,f.next=null,Nc(f,h.props,E,g),Uc(f,h.children,g),Kt(),Tr(),qt()},Z=(f,h,g,E,v,C,T,x,A=!1)=>{const R=f&&f.children,I=f?f.shapeFlag:0,F=h.children,{patchFlag:L,shapeFlag:$}=h;if(L>0){if(L&128){gt(R,F,g,E,v,C,T,x,A);return}else if(L&256){Ie(R,F,g,E,v,C,T,x,A);return}}$&8?(I&16&&M(R,v,C),F!==R&&a(g,F)):I&16?$&16?gt(R,F,g,E,v,C,T,x,A):M(R,v,C,!0):(I&8&&a(g,""),$&16&&H(F,g,E,v,C,T,x,A))},Ie=(f,h,g,E,v,C,T,x,A)=>{f=f||Mt,h=h||Mt;const R=f.length,I=h.length,F=Math.min(R,I);let L;for(L=0;LI?M(f,v,C,!0,!1,F):H(h,g,E,v,C,T,x,A,F)},gt=(f,h,g,E,v,C,T,x,A)=>{let R=0;const I=h.length;let F=f.length-1,L=I-1;for(;R<=F&&R<=L;){const $=f[R],z=h[R]=A?ut(h[R]):Ve(h[R]);if(St($,z))w($,z,g,null,v,C,T,x,A);else break;R++}for(;R<=F&&R<=L;){const $=f[F],z=h[L]=A?ut(h[L]):Ve(h[L]);if(St($,z))w($,z,g,null,v,C,T,x,A);else break;F--,L--}if(R>F){if(R<=L){const $=L+1,z=$L)for(;R<=F;)xe(f[R],v,C,!0),R++;else{const $=R,z=R,ne=new Map;for(R=z;R<=L;R++){const Oe=h[R]=A?ut(h[R]):Ve(h[R]);Oe.key!=null&&ne.set(Oe.key,R)}let ee,he=0;const Ue=L-z+1;let Ot=!1,yr=0;const Wt=new Array(Ue);for(R=0;R=Ue){xe(Oe,v,C,!0);continue}let qe;if(Oe.key!=null)qe=ne.get(Oe.key);else for(ee=z;ee<=L;ee++)if(Wt[ee-z]===0&&St(Oe,h[ee])){qe=ee;break}qe===void 0?xe(Oe,v,C,!0):(Wt[qe-z]=R+1,qe>=yr?yr=qe:Ot=!0,w(Oe,h[qe],g,null,v,C,T,x,A),he++)}const _r=Ot?Kc(Wt):Mt;for(ee=_r.length-1,R=Ue-1;R>=0;R--){const Oe=z+R,qe=h[Oe],Er=Oe+1{const{el:C,type:T,transition:x,children:A,shapeFlag:R}=f;if(R&6){Le(f.component.subTree,h,g,E);return}if(R&128){f.suspense.move(h,g,E);return}if(R&64){T.move(f,h,g,V);return}if(T===ce){s(C,h,g);for(let F=0;Fx.enter(C),v);else{const{leave:F,delayLeave:L,afterLeave:$}=x,z=()=>s(C,h,g),ne=()=>{F(C,()=>{z(),$&&$()})};L?L(C,z,ne):ne()}else s(C,h,g)},xe=(f,h,g,E=!1,v=!1)=>{const{type:C,props:T,ref:x,children:A,dynamicChildren:R,shapeFlag:I,patchFlag:F,dirs:L}=f;if(x!=null&&Ls(x,null,g,f,!0),I&256){h.ctx.deactivate(f);return}const $=I&1&&L,z=!Pn(f);let ne;if(z&&(ne=T&&T.onVnodeBeforeUnmount)&&ze(ne,h,f),I&6)S(f.component,g,E);else{if(I&128){f.suspense.unmount(g,E);return}$&&bt(f,null,h,"beforeUnmount"),I&64?f.type.remove(f,h,g,v,V,E):R&&(C!==ce||F>0&&F&64)?M(R,h,g,!1,!0):(C===ce&&F&384||!v&&I&16)&&M(A,h,g),E&&At(f)}(z&&(ne=T&&T.onVnodeUnmounted)||$)&&Ce(()=>{ne&&ze(ne,h,f),$&&bt(f,null,h,"unmounted")},g)},At=f=>{const{type:h,el:g,anchor:E,transition:v}=f;if(h===ce){gn(g,E);return}if(h===hs){q(f);return}const C=()=>{r(g),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(f.shapeFlag&1&&v&&!v.persisted){const{leave:T,delayLeave:x}=v,A=()=>T(g,C);x?x(f.el,C,A):A()}else C()},gn=(f,h)=>{let g;for(;f!==h;)g=m(f),r(f),f=g;r(h)},S=(f,h,g)=>{const{bum:E,scope:v,update:C,subTree:T,um:x}=f;E&&xn(E),v.stop(),C&&(C.active=!1,xe(T,f,h,g)),x&&Ce(x,h),Ce(()=>{f.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},M=(f,h,g,E=!1,v=!1,C=0)=>{for(let T=C;Tf.shapeFlag&6?P(f.component.subTree):f.shapeFlag&128?f.suspense.next():m(f.anchor||f.el),N=(f,h,g)=>{f==null?h._vnode&&xe(h._vnode,null,null,!0):w(h._vnode||null,f,h,null,null,null,g),Tr(),ei(),h._vnode=f},V={p:w,um:xe,m:Le,r:At,mt:Ye,mc:H,pc:Z,pbc:re,n:P,o:e};let le,K;return t&&([le,K]=t(V)),{render:N,hydrate:le,createApp:$c(N,le)}}function yt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Si(e,t,n=!1){const s=e.children,r=t.children;if(B(s)&&B(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const qc=e=>e.__isTeleport,ce=Symbol(void 0),Zn=Symbol(void 0),nt=Symbol(void 0),hs=Symbol(void 0),Xt=[];let De=null;function Q(e=!1){Xt.push(De=e?null:[])}function zc(){Xt.pop(),De=Xt[Xt.length-1]||null}let ln=1;function $r(e){ln+=e}function Vc(e){return e.dynamicChildren=ln>0?De||Mt:null,zc(),ln>0&&De&&De.push(e),e}function Y(e,t,n,s,r,o){return Vc(d(e,t,n,s,r,o,!0))}function Us(e){return e?e.__v_isVNode===!0:!1}function St(e,t){return e.type===t.type&&e.key===t.key}const es="__vInternal",wi=({key:e})=>e??null,Tn=({ref:e,ref_key:t,ref_for:n})=>e!=null?pe(e)||Ee(e)||D(e)?{i:Pe,r:e,k:t,f:!!n}:e:null;function d(e,t=null,n=null,s=0,r=null,o=e===ce?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wi(t),ref:t&&Tn(t),scopeId:si,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Pe};return l?(ar(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=pe(n)?8:16),ln>0&&!i&&De&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&De.push(c),c}const Se=Wc;function Wc(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Cc)&&(e=nt),Us(e)){const l=mt(e,t,!0);return n&&ar(l,n),ln>0&&!o&&De&&(l.shapeFlag&6?De[De.indexOf(e)]=l:De.push(l)),l.patchFlag|=-2,l}if(ou(e)&&(e=e.__vccOpts),t){t=Gc(t);let{class:l,style:c}=t;l&&!pe(l)&&(t.class=Js(l)),se(c)&&(qo(c)&&!B(c)&&(c=we({},c)),t.style=Gs(c))}const i=pe(e)?1:ac(e)?128:qc(e)?64:se(e)?4:D(e)?2:0;return d(e,t,n,s,r,i,o,!0)}function Gc(e){return e?qo(e)||es in e?we({},e):e:null}function mt(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Jc(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&wi(l),ref:t&&t.ref?n&&r?B(r)?r.concat(Tn(t)):[r,Tn(t)]:Tn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ce?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Mn(e=" ",t=0){return Se(Zn,null,e,t)}function Ve(e){return e==null||typeof e=="boolean"?Se(nt):B(e)?Se(ce,null,e.slice()):typeof e=="object"?ut(e):Se(Zn,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mt(e)}function ar(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ar(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(es in t)?t._ctx=Pe:r===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else D(t)?(t={default:t,_ctx:Pe},n=32):(t=String(t),s&64?(n=16,t=[Mn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Jc(...e){const t={};for(let n=0;nfe||Pe,Ut=e=>{fe=e,e.scope.on()},Ct=()=>{fe&&fe.scope.off(),fe=null};function vi(e){return e.vnode.shapeFlag&4}let cn=!1;function eu(e,t=!1){cn=t;const{props:n,children:s}=e.vnode,r=vi(e);jc(e,n,r,t),Lc(e,s);const o=r?tu(e,t):void 0;return cn=!1,o}function tu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=zo(new Proxy(e.ctx,Oc));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?su(e):null;Ut(e),Kt();const o=ht(s,e,0,[e.props,r]);if(qt(),Ct(),To(o)){if(o.then(Ct,Ct),t)return o.then(i=>{Dr(e,i,t)}).catch(i=>{Jn(i,e,0)});e.asyncDep=o}else Dr(e,o,t)}else Ri(e,t)}function Dr(e,t,n){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=Jo(t)),Ri(e,n)}let Hr;function Ri(e,t,n){const s=e.type;if(!e.render){if(!t&&Hr&&!s.render){const r=s.template||cr(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=we(we({isCustomElement:o,delimiters:l},i),c);s.render=Hr(r,u)}}e.render=s.render||He}Ut(e),Kt(),Pc(e),qt(),Ct()}function nu(e){return new Proxy(e.attrs,{get(t,n){return Ae(e,"get","$attrs"),t[n]}})}function su(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=nu(e))},slots:e.slots,emit:e.emit,expose:t}}function ts(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Jo(zo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Yt)return Yt[n](e)},has(t,n){return n in t||n in Yt}}))}function ru(e,t=!0){return D(e)?e.displayName||e.name:e.name||t&&e.__name}function ou(e){return D(e)&&"__vccOpts"in e}const Fe=(e,t)=>Zl(e,t,cn);function xi(e,t,n){const s=arguments.length;return s===2?se(t)&&!B(t)?Us(t)?Se(e,null,[t]):Se(e,t):Se(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Us(n)&&(n=[n]),Se(e,t,n))}const iu=Symbol(""),lu=()=>tt(iu),cu="3.2.47",uu="http://www.w3.org/2000/svg",wt=typeof document<"u"?document:null,Kr=wt&&wt.createElement("template"),au={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?wt.createElementNS(uu,e):wt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>wt.createTextNode(e),createComment:e=>wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Kr.innerHTML=s?`${e}`:e;const l=Kr.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function fu(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function du(e,t,n){const s=e.style,r=pe(n);if(n&&!r){if(t&&!pe(t))for(const o in t)n[o]==null&&Bs(s,o,"");for(const o in n)Bs(s,o,n[o])}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const qr=/\s*!important$/;function Bs(e,t,n){if(B(n))n.forEach(s=>Bs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=hu(e,t);qr.test(n)?e.setProperty(Ht(s),n.replace(qr,""),"important"):e[s]=n}}const zr=["Webkit","Moz","ms"],ps={};function hu(e,t){const n=ps[t];if(n)return n;let s=Je(t);if(s!=="filter"&&s in e)return ps[t]=s;s=Wn(s);for(let r=0;rms||(_u.then(()=>ms=0),ms=Date.now());function Su(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ke(wu(s,n.value),t,5,[s])};return n.value=e,n.attached=Eu(),n}function wu(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Gr=/^on[a-z]/,vu=(e,t,n,s,r=!1,o,i,l,c)=>{t==="class"?fu(e,s,r):t==="style"?du(e,n,s):qn(t)?Qs(t)||bu(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ru(e,t,s,r))?mu(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),pu(e,t,s,r))};function Ru(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Gr.test(t)&&D(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Gr.test(t)&&pe(n)?!1:t in e}const xu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};mc.props;const $n=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>xn(t,n):t};function Cu(e){e.target.composing=!0}function Jr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const It={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=$n(r);const o=s||r.props&&r.props.type==="number";vt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Rs(l)),e._assign(l)}),n&&vt(e,"change",()=>{e.value=e.value.trim()}),t||(vt(e,"compositionstart",Cu),vt(e,"compositionend",Jr),vt(e,"change",Jr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e._assign=$n(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&Rs(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Qr={deep:!0,created(e,t,n){e._assign=$n(n),vt(e,"change",()=>{const s=e._modelValue,r=Au(e),o=e.checked,i=e._assign;if(B(s)){const l=Oo(s,r),c=l!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const u=[...s];u.splice(l,1),i(u)}}else if(zn(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(Ci(e,o))})},mounted:Yr,beforeUpdate(e,t,n){e._assign=$n(n),Yr(e,t,n)}};function Yr(e,{value:t,oldValue:n},s){e._modelValue=t,B(t)?e.checked=Oo(t,s.props.value)>-1:zn(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Kn(t,Ci(e,!0)))}function Au(e){return"_value"in e?e._value:e.value}function Ci(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ou=we({patchProp:vu},au);let Xr;function Pu(){return Xr||(Xr=Dc(Ou))}const Tu=(...e)=>{const t=Pu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Mu(s);if(!r)return;const o=t._component;!D(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Mu(e){return pe(e)?document.querySelector(e):e}const hn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Fu={},ku={class:"navbar navbar-expand-lg navbar-light bg-light"},ju={class:"container-fluid"},Nu={class:"collapse navbar-collapse",id:"navbarNav"},Iu={class:"navbar-nav justify-content-center"},Lu={class:"nav-item"},Uu={class:"nav-item"},Bu={class:"nav-item"};function $u(e,t,n,s,r,o){const i=Fs("router-link");return Q(),Y("nav",ku,[d("div",ju,[d("div",Nu,[d("ul",Iu,[d("li",Lu,[Se(i,{to:"/students",class:"nav-link"},{default:Cn(()=>[Mn("Студенты")]),_:1})]),d("li",Uu,[Se(i,{to:"/groups",class:"nav-link"},{default:Cn(()=>[Mn("Группы")]),_:1})]),d("li",Bu,[Se(i,{to:"/subjects",class:"nav-link"},{default:Cn(()=>[Mn("Предметы")]),_:1})])])])])])}const Du=hn(Fu,[["render",$u]]),Hu={components:{Header:Du}},Ku={class:"container-fluid"};function qu(e,t,n,s,r,o){const i=Fs("Header"),l=Fs("router-view");return Q(),Y(ce,null,[Se(i),d("div",Ku,[Se(l)])],64)}const zu=hn(Hu,[["render",qu]]);function Ai(e,t){return function(){return e.apply(t,arguments)}}const{toString:Vu}=Object.prototype,{getPrototypeOf:fr}=Object,ns=(e=>t=>{const n=Vu.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Qe=e=>(e=e.toLowerCase(),t=>ns(t)===e),ss=e=>t=>typeof t===e,{isArray:zt}=Array,un=ss("undefined");function Wu(e){return e!==null&&!un(e)&&e.constructor!==null&&!un(e.constructor)&&je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Oi=Qe("ArrayBuffer");function Gu(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Oi(e.buffer),t}const Ju=ss("string"),je=ss("function"),Pi=ss("number"),rs=e=>e!==null&&typeof e=="object",Qu=e=>e===!0||e===!1,Fn=e=>{if(ns(e)!=="object")return!1;const t=fr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Yu=Qe("Date"),Xu=Qe("File"),Zu=Qe("Blob"),ea=Qe("FileList"),ta=e=>rs(e)&&je(e.pipe),na=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||je(e.append)&&((t=ns(e))==="formdata"||t==="object"&&je(e.toString)&&e.toString()==="[object FormData]"))},sa=Qe("URLSearchParams"),ra=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),zt(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Mi=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Fi=e=>!un(e)&&e!==Mi;function $s(){const{caseless:e}=Fi(this)&&this||{},t={},n=(s,r)=>{const o=e&&Ti(t,r)||r;Fn(t[o])&&Fn(s)?t[o]=$s(t[o],s):Fn(s)?t[o]=$s({},s):zt(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(pn(t,(r,o)=>{n&&je(r)?e[o]=Ai(r,n):e[o]=r},{allOwnKeys:s}),e),ia=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),la=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},ca=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&fr(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ua=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},aa=e=>{if(!e)return null;if(zt(e))return e;let t=e.length;if(!Pi(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},fa=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&fr(Uint8Array)),da=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},ha=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},pa=Qe("HTMLFormElement"),ma=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Zr=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ga=Qe("RegExp"),ki=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};pn(n,(r,o)=>{t(r,o,e)!==!1&&(s[o]=r)}),Object.defineProperties(e,s)},ba=e=>{ki(e,(t,n)=>{if(je(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(je(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ya=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return zt(e)?s(e):s(String(e).split(t)),n},_a=()=>{},Ea=(e,t)=>(e=+e,Number.isFinite(e)?e:t),gs="abcdefghijklmnopqrstuvwxyz",eo="0123456789",ji={DIGIT:eo,ALPHA:gs,ALPHA_DIGIT:gs+gs.toUpperCase()+eo},Sa=(e=16,t=ji.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function wa(e){return!!(e&&je(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const va=e=>{const t=new Array(10),n=(s,r)=>{if(rs(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=zt(s)?[]:{};return pn(s,(i,l)=>{const c=n(i,r+1);!un(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},Ra=Qe("AsyncFunction"),xa=e=>e&&(rs(e)||je(e))&&je(e.then)&&je(e.catch),_={isArray:zt,isArrayBuffer:Oi,isBuffer:Wu,isFormData:na,isArrayBufferView:Gu,isString:Ju,isNumber:Pi,isBoolean:Qu,isObject:rs,isPlainObject:Fn,isUndefined:un,isDate:Yu,isFile:Xu,isBlob:Zu,isRegExp:ga,isFunction:je,isStream:ta,isURLSearchParams:sa,isTypedArray:fa,isFileList:ea,forEach:pn,merge:$s,extend:oa,trim:ra,stripBOM:ia,inherits:la,toFlatObject:ca,kindOf:ns,kindOfTest:Qe,endsWith:ua,toArray:aa,forEachEntry:da,matchAll:ha,isHTMLForm:pa,hasOwnProperty:Zr,hasOwnProp:Zr,reduceDescriptors:ki,freezeMethods:ba,toObjectSet:ya,toCamelCase:ma,noop:_a,toFiniteNumber:Ea,findKey:Ti,global:Mi,isContextDefined:Fi,ALPHABET:ji,generateString:Sa,isSpecCompliantForm:wa,toJSONObject:va,isAsyncFn:Ra,isThenable:xa};function G(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r)}_.inherits(G,Error,{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:_.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ni=G.prototype,Ii={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ii[e]={value:e}});Object.defineProperties(G,Ii);Object.defineProperty(Ni,"isAxiosError",{value:!0});G.from=(e,t,n,s,r,o)=>{const i=Object.create(Ni);return _.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),G.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Ca=null;function Ds(e){return _.isPlainObject(e)||_.isArray(e)}function Li(e){return _.endsWith(e,"[]")?e.slice(0,-2):e}function to(e,t,n){return e?e.concat(t).map(function(r,o){return r=Li(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Aa(e){return _.isArray(e)&&!e.some(Ds)}const Oa=_.toFlatObject(_,{},null,function(t){return/^is[A-Z]/.test(t)});function os(e,t,n){if(!_.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,j){return!_.isUndefined(j[w])});const s=n.metaTokens,r=n.visitor||a,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&_.isSpecCompliantForm(t);if(!_.isFunction(r))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(_.isDate(y))return y.toISOString();if(!c&&_.isBlob(y))throw new G("Blob is not supported. Use a Buffer instead.");return _.isArrayBuffer(y)||_.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function a(y,w,j){let O=y;if(y&&!j&&typeof y=="object"){if(_.endsWith(w,"{}"))w=s?w:w.slice(0,-2),y=JSON.stringify(y);else if(_.isArray(y)&&Aa(y)||(_.isFileList(y)||_.endsWith(w,"[]"))&&(O=_.toArray(y)))return w=Li(w),O.forEach(function(k,q){!(_.isUndefined(k)||k===null)&&t.append(i===!0?to([w],q,o):i===null?w:w+"[]",u(k))}),!1}return Ds(y)?!0:(t.append(to(j,w,o),u(y)),!1)}const p=[],m=Object.assign(Oa,{defaultVisitor:a,convertValue:u,isVisitable:Ds});function b(y,w){if(!_.isUndefined(y)){if(p.indexOf(y)!==-1)throw Error("Circular reference detected in "+w.join("."));p.push(y),_.forEach(y,function(O,U){(!(_.isUndefined(O)||O===null)&&r.call(t,O,_.isString(U)?U.trim():U,w,m))===!0&&b(O,w?w.concat(U):[U])}),p.pop()}}if(!_.isObject(e))throw new TypeError("data must be an object");return b(e),t}function no(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function dr(e,t){this._pairs=[],e&&os(e,this,t)}const Ui=dr.prototype;Ui.append=function(t,n){this._pairs.push([t,n])};Ui.toString=function(t){const n=t?function(s){return t.call(this,s,no)}:no;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Pa(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Bi(e,t,n){if(!t)return e;const s=n&&n.encode||Pa,r=n&&n.serialize;let o;if(r?o=r(t,n):o=_.isURLSearchParams(t)?t.toString():new dr(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Ta{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){_.forEach(this.handlers,function(s){s!==null&&t(s)})}}const so=Ta,$i={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ma=typeof URLSearchParams<"u"?URLSearchParams:dr,Fa=typeof FormData<"u"?FormData:null,ka=typeof Blob<"u"?Blob:null,ja=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Na=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ge={isBrowser:!0,classes:{URLSearchParams:Ma,FormData:Fa,Blob:ka},isStandardBrowserEnv:ja,isStandardBrowserWebWorkerEnv:Na,protocols:["http","https","file","blob","url","data"]};function Ia(e,t){return os(e,new Ge.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return Ge.isNode&&_.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function La(e){return _.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ua(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&_.isArray(r)?r.length:i,c?(_.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!_.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&_.isArray(r[i])&&(r[i]=Ua(r[i])),!l)}if(_.isFormData(e)&&_.isFunction(e.entries)){const n={};return _.forEachEntry(e,(s,r)=>{t(La(s),r,n,0)}),n}return null}const Ba={"Content-Type":void 0};function $a(e,t,n){if(_.isString(e))try{return(t||JSON.parse)(e),_.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const is={transitional:$i,adapter:["xhr","http"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=_.isObject(t);if(o&&_.isHTMLForm(t)&&(t=new FormData(t)),_.isFormData(t))return r&&r?JSON.stringify(Di(t)):t;if(_.isArrayBuffer(t)||_.isBuffer(t)||_.isStream(t)||_.isFile(t)||_.isBlob(t))return t;if(_.isArrayBufferView(t))return t.buffer;if(_.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Ia(t,this.formSerializer).toString();if((l=_.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return os(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),$a(t)):t}],transformResponse:[function(t){const n=this.transitional||is.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&_.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?G.from(l,G.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ge.classes.FormData,Blob:Ge.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};_.forEach(["delete","get","head"],function(t){is.headers[t]={}});_.forEach(["post","put","patch"],function(t){is.headers[t]=_.merge(Ba)});const hr=is,Da=_.toObjectSet(["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"]),Ha=e=>{const t={};let n,s,r;return e&&e.split(` +`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Da[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},ro=Symbol("internals");function Gt(e){return e&&String(e).trim().toLowerCase()}function kn(e){return e===!1||e==null?e:_.isArray(e)?e.map(kn):String(e)}function Ka(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const qa=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function bs(e,t,n,s,r){if(_.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!_.isString(t)){if(_.isString(s))return t.indexOf(s)!==-1;if(_.isRegExp(s))return s.test(t)}}function za(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Va(e,t){const n=_.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}class ls{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,u){const a=Gt(c);if(!a)throw new Error("header name must be a non-empty string");const p=_.findKey(r,a);(!p||r[p]===void 0||u===!0||u===void 0&&r[p]!==!1)&&(r[p||c]=kn(l))}const i=(l,c)=>_.forEach(l,(u,a)=>o(u,a,c));return _.isPlainObject(t)||t instanceof this.constructor?i(t,n):_.isString(t)&&(t=t.trim())&&!qa(t)?i(Ha(t),n):t!=null&&o(n,t,s),this}get(t,n){if(t=Gt(t),t){const s=_.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Ka(r);if(_.isFunction(n))return n.call(this,r,s);if(_.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Gt(t),t){const s=_.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||bs(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=Gt(i),i){const l=_.findKey(s,i);l&&(!n||bs(s,s[l],l,n))&&(delete s[l],r=!0)}}return _.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||bs(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return _.forEach(this,(r,o)=>{const i=_.findKey(s,o);if(i){n[i]=kn(r),delete n[o];return}const l=t?za(o):String(o).trim();l!==o&&delete n[o],n[l]=kn(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return _.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&_.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[ro]=this[ro]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=Gt(i);s[l]||(Va(r,i),s[l]=!0)}return _.isArray(t)?t.forEach(o):o(t),this}}ls.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_.freezeMethods(ls.prototype);_.freezeMethods(ls);const st=ls;function ys(e,t){const n=this||hr,s=t||n,r=st.from(s.headers);let o=s.data;return _.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Hi(e){return!!(e&&e.__CANCEL__)}function mn(e,t,n){G.call(this,e??"canceled",G.ERR_CANCELED,t,n),this.name="CanceledError"}_.inherits(mn,G,{__CANCEL__:!0});function Wa(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new G("Request failed with status code "+n.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Ga=Ge.isStandardBrowserEnv?function(){return{write:function(n,s,r,o,i,l){const c=[];c.push(n+"="+encodeURIComponent(s)),_.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),_.isString(o)&&c.push("path="+o),_.isString(i)&&c.push("domain="+i),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Ja(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Qa(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Ki(e,t){return e&&!Ja(t)?Qa(e,t):t}const Ya=Ge.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function r(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{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 s=r(window.location.href),function(i){const l=_.isString(i)?r(i):i;return l.protocol===s.protocol&&l.host===s.host}}():function(){return function(){return!0}}();function Xa(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Za(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),a=s[o];i||(i=u),n[r]=c,s[r]=u;let p=o,m=0;for(;p!==r;)m+=n[p++],p=p%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),u-i{const o=r.loaded,i=r.lengthComputable?r.total:void 0,l=o-n,c=s(l),u=o<=i;n=o;const a={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:c||void 0,estimated:c&&i&&u?(i-o)/c:void 0,event:r};a[t?"download":"upload"]=!0,e(a)}}const ef=typeof XMLHttpRequest<"u",tf=ef&&function(e){return new Promise(function(n,s){let r=e.data;const o=st.from(e.headers).normalize(),i=e.responseType;let l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}_.isFormData(r)&&(Ge.isStandardBrowserEnv||Ge.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(e.auth){const b=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(b+":"+y))}const a=Ki(e.baseURL,e.url);u.open(e.method.toUpperCase(),Bi(a,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function p(){if(!u)return;const b=st.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),w={data:!i||i==="text"||i==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:b,config:e,request:u};Wa(function(O){n(O),c()},function(O){s(O),c()},w),u=null}if("onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(p)},u.onabort=function(){u&&(s(new G("Request aborted",G.ECONNABORTED,e,u)),u=null)},u.onerror=function(){s(new G("Network Error",G.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let y=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const w=e.transitional||$i;e.timeoutErrorMessage&&(y=e.timeoutErrorMessage),s(new G(y,w.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,e,u)),u=null},Ge.isStandardBrowserEnv){const b=(e.withCredentials||Ya(a))&&e.xsrfCookieName&&Ga.read(e.xsrfCookieName);b&&o.set(e.xsrfHeaderName,b)}r===void 0&&o.setContentType(null),"setRequestHeader"in u&&_.forEach(o.toJSON(),function(y,w){u.setRequestHeader(w,y)}),_.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),i&&i!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",oo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",oo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=b=>{u&&(s(!b||b.type?new mn(null,e,u):b),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const m=Xa(a);if(m&&Ge.protocols.indexOf(m)===-1){s(new G("Unsupported protocol "+m+":",G.ERR_BAD_REQUEST,e));return}u.send(r||null)})},jn={http:Ca,xhr:tf};_.forEach(jn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const nf={getAdapter:e=>{e=_.isArray(e)?e:[e];const{length:t}=e;let n,s;for(let r=0;re instanceof st?e.toJSON():e;function Bt(e,t){t=t||{};const n={};function s(u,a,p){return _.isPlainObject(u)&&_.isPlainObject(a)?_.merge.call({caseless:p},u,a):_.isPlainObject(a)?_.merge({},a):_.isArray(a)?a.slice():a}function r(u,a,p){if(_.isUndefined(a)){if(!_.isUndefined(u))return s(void 0,u,p)}else return s(u,a,p)}function o(u,a){if(!_.isUndefined(a))return s(void 0,a)}function i(u,a){if(_.isUndefined(a)){if(!_.isUndefined(u))return s(void 0,u)}else return s(void 0,a)}function l(u,a,p){if(p in t)return s(u,a);if(p in e)return s(void 0,u)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(u,a)=>r(lo(u),lo(a),!0)};return _.forEach(Object.keys(Object.assign({},e,t)),function(a){const p=c[a]||r,m=p(e[a],t[a],a);_.isUndefined(m)&&p!==l||(n[a]=m)}),n}const qi="1.4.0",pr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{pr[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const co={};pr.transitional=function(t,n,s){function r(o,i){return"[Axios v"+qi+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new G(r(i," has been removed"+(n?" in "+n:"")),G.ERR_DEPRECATED);return n&&!co[i]&&(co[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function sf(e,t,n){if(typeof e!="object")throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new G("option "+o+" must be "+c,G.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new G("Unknown option "+o,G.ERR_BAD_OPTION)}}const Hs={assertOptions:sf,validators:pr},lt=Hs.validators;class Dn{constructor(t){this.defaults=t,this.interceptors={request:new so,response:new so}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Bt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&Hs.assertOptions(s,{silentJSONParsing:lt.transitional(lt.boolean),forcedJSONParsing:lt.transitional(lt.boolean),clarifyTimeoutError:lt.transitional(lt.boolean)},!1),r!=null&&(_.isFunction(r)?n.paramsSerializer={serialize:r}:Hs.assertOptions(r,{encode:lt.function,serialize:lt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=o&&_.merge(o.common,o[n.method]),i&&_.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=st.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(c=c&&w.synchronous,l.unshift(w.fulfilled,w.rejected))});const u=[];this.interceptors.response.forEach(function(w){u.push(w.fulfilled,w.rejected)});let a,p=0,m;if(!c){const y=[io.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,u),m=y.length,a=Promise.resolve(n);p{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new mn(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new mr(function(r){t=r}),cancel:t}}}const rf=mr;function of(e){return function(n){return e.apply(null,n)}}function lf(e){return _.isObject(e)&&e.isAxiosError===!0}const Ks={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ks).forEach(([e,t])=>{Ks[t]=e});const cf=Ks;function zi(e){const t=new Nn(e),n=Ai(Nn.prototype.request,t);return _.extend(n,Nn.prototype,t,{allOwnKeys:!0}),_.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return zi(Bt(e,r))},n}const me=zi(hr);me.Axios=Nn;me.CanceledError=mn;me.CancelToken=rf;me.isCancel=Hi;me.VERSION=qi;me.toFormData=os;me.AxiosError=G;me.Cancel=me.CanceledError;me.all=function(t){return Promise.all(t)};me.spread=of;me.isAxiosError=lf;me.mergeConfig=Bt;me.AxiosHeaders=st;me.formToJSON=e=>Di(_.isHTMLForm(e)?new FormData(e):e);me.HttpStatusCode=cf;me.default=me;const ae=me;class Es{constructor(t){this.id=t==null?void 0:t.id,this.name=t==null?void 0:t.name,this.birthDate=t==null?void 0:t.birthDate,this.group=t==null?void 0:t.group}}const uf={created(){this.getStudents(),this.getGroups()},mounted(){document.getElementById("editModal").addEventListener("shown.bs.modal",function(){})},data(){return{students:[],groups:[],URL:"http://localhost:8080/",student:new Es,editedStudent:new Es}},methods:{getStudents(){ae.get(this.URL+"student").then(e=>{this.students=e.data,console.log(e.data)}).catch(e=>{console.log(e)})},getGroups(){ae.get(this.URL+"student/groups").then(e=>{this.groups=e.data,console.log(e.data)}).catch(e=>{console.log(e)})},addStudent(e){console.log(e),e.group=null,console.log(e),ae.post(this.URL+"student",e).then(()=>{this.getStudents(),this.closeModal()}).catch(t=>{console.log(t)})},deleteStudent(e){ae.delete(this.URL+`student/${e}`).then(()=>{this.getStudents()})},openModal(e,t=null){e==="create"?(this.editedStudent=new Es,this.editedStudent.status="create"):e==="edit"&&t&&(this.editedStudent={...t},this.editedStudent.status="edit"),document.getElementById("editModal").style.display="block"},closeModal(){document.getElementById("editModal").style.display="none"},editStudent(e){ae.put(this.URL+`student/${e.id}`,e).then(()=>{const t=this.students.findIndex(n=>n.id===e.id);t!==-1&&(this.students[t]={...e}),this.closeModal(),this.getStudents()}).catch(t=>{console.log(t)})}}},af={class:"container mt-4"},ff=d("h1",{class:"text-center mb-4"},"Student Table",-1),df={class:"table table-striped"},hf=d("thead",null,[d("tr",null,[d("th",null,"Имя"),d("th",null,"Дата рождения"),d("th",null,"Группа"),d("th")])],-1),pf=["onClick"],mf=["onClick"],gf={class:"modal",tabindex:"-1",id:"editModal"},bf={class:"modal-dialog"},yf={class:"modal-content"},_f=d("div",{class:"modal-header"},[d("h5",{class:"modal-title"},"Студент")],-1),Ef={class:"modal-body"},Sf={class:"form-group"},wf=d("label",{for:"name"},"Имя:",-1),vf={class:"form-group"},Rf=d("label",{for:"birthdate"},"Дата рождения:",-1),xf={class:"modal-footer"};function Cf(e,t,n,s,r,o){return Q(),Y(ce,null,[d("div",af,[ff,d("button",{class:"btn btn-primary mr-2",onClick:t[0]||(t[0]=i=>o.openModal("create"))},"Добавить"),d("table",df,[hf,d("tbody",null,[(Q(!0),Y(ce,null,et(r.students,i=>(Q(),Y("tr",{key:i.id},[d("td",null,Me(i.name),1),d("td",null,Me(i.birthDate),1),d("td",null,Me(i.groupName||"No Group"),1),d("td",null,[d("td",null,[d("button",{class:"btn btn-primary mr-2",onClick:l=>o.openModal("edit",i)},"Изменить",8,pf)]),d("td",null,[d("button",{class:"btn btn-danger",onClick:l=>o.deleteStudent(i.id)},"Удалить",8,mf)])])]))),128))])])]),d("div",gf,[d("div",bf,[d("div",yf,[_f,d("div",Ef,[d("form",null,[d("div",Sf,[wf,ft(d("input",{type:"text",class:"form-control",id:"name",name:"name","onUpdate:modelValue":t[1]||(t[1]=i=>r.editedStudent.name=i)},null,512),[[It,r.editedStudent.name]])]),d("div",vf,[Rf,ft(d("input",{type:"date",class:"form-control",id:"birthdate",name:"birthdate","onUpdate:modelValue":t[2]||(t[2]=i=>r.editedStudent.birthDate=i)},null,512),[[It,r.editedStudent.birthDate]])])])]),d("div",xf,[d("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"editModal",onClick:t[3]||(t[3]=i=>o.closeModal())},"Закрыть"),r.editedStudent.status==="create"?(Q(),Y("button",{key:0,type:"button",class:"btn btn-primary",onClick:t[4]||(t[4]=i=>o.addStudent(r.editedStudent))},"Создать")):(Q(),Y("button",{key:1,type:"button",class:"btn btn-primary",onClick:t[5]||(t[5]=i=>o.editStudent(r.editedStudent))},"Сохранить"))])])])])],64)}const Af=hn(uf,[["render",Cf]]);class vn{constructor(t){this.id=t==null?void 0:t.id,this.name=t==null?void 0:t.name,this.subjectIds=t==null?void 0:t.subjectIds}}class uo{constructor(t){this.id=t==null?void 0:t.id,this.name=t==null?void 0:t.name,this.groupIds=t==null?void 0:t.groupIds}}const Of={created(){this.getGroups(),this.getSubjects(),this.getAll()},data(){return{groups:[],URL:"http://localhost:8080/",group:new vn,students:[],subjects:[],selectedStudents:[],open:[],groupId:void 0,selectedSubjects:[],subjectsInGroup:[],getAllInfo:new Object}},methods:{getAll(){ae.get(this.URL+"group/getAll").then(e=>{this.getAllInfo=e.data,console.log(e.data)}).catch(e=>{console.log(e)})},getSubjectsInGroup(e){ae.get(this.URL+`group/${e}/getAllSubjects`).then(t=>{this.subjectsInGroup=t.data,console.log(t.data)}).catch(t=>{console.log(t)})},getGroups(){ae.get(this.URL+"group").then(e=>{this.groups=e.data,console.log(e.data)}).catch(e=>{console.log(e)})},addGroup(e){console.log(this.group),ae.post(this.URL+"group",e).then(()=>{this.getGroups(),this.closeModal()}).catch(t=>{console.log(t)})},deleteGroup(e){ae.delete(this.URL+`group/${e}`).then(()=>{this.getGroups()})},editGroup(e){ae.put(this.URL+`group/${e.id}`,e).then(()=>{const t=this.groups.findIndex(n=>n.id===e.id);t!==-1&&(this.groups[t]={...e}),this.closeModal(),this.getGroups()}),this.closeModal()},openModal(e,t=null){e==="create"?(this.group=new vn,this.group.status="create"):e==="edit"&&t&&(this.group={...t},this.group.status="edit"),document.getElementById("editModal").style.display="block"},closeModal(){document.getElementById("editModal").style.display="none"},getStudentsFromGroup(e){this.selectedStudents=[],ae.get(this.URL+`group/${e}/students`).then(t=>{this.students=t.data,console.log(t.data)}).catch(t=>{console.log(t)})},OpenModelForStudents(){document.getElementById("ModelForStudents").style.display="block"},closeModelForStudents(){document.getElementById("ModelForStudents").style.display="none"},OpenModelForSubjects(){document.getElementById("ModelForSubjects").style.display="block"},closeModelForSubjects(){document.getElementById("ModelForSubjects").style.display="none"},OpenModelForAddStudents(e){this.group={...e},document.getElementById("ModalForAddStudents").style.display="block"},CloseModalForAddStudents(){document.getElementById("ModalForAddStudents").style.display="none"},openReport(){document.getElementById("openReport").style.display="block"},closeReport(){document.getElementById("openReport").style.display="none"},saveStudents(e){ae.post(this.URL+`group/${e}/addStudents`,this.selectedStudents).then(()=>{this.getStudentsFromGroup(e),this.CloseModalForAddStudents(),console.log(this.students)}).catch(t=>{console.log(t)})},getStudentsFromUndefinedGroup(){ae.get(this.URL+"group/getStudentsUndefined").then(e=>{this.students=e.data,console.log(e.data)}).catch(e=>{console.log(e)})},deleteStudentFromGroup(e){ae.delete(this.URL+`group/deleteStudentFromGroup/${e}`).then(()=>{this.getStudentsFromGroup()}).catch(t=>{console.log(t)})},OpenModelForAddSubjects(e,t=null){e==="create"?(this.group=new vn,this.group.status="create"):e==="edit"&&t&&(this.group={...t},this.group.status="edit"),this.open=this.group.subjectIds?[...this.group.subjectIds]:[],this.loadSelectedSubjects(),document.getElementById("openModalForAddSubjects").style.display="block"},closeModalForAddSubjects(){document.getElementById("openModalForAddSubjects").style.display="none",this.open=[...this.selectedSubjects],this.selectedSubjects=[],this.group=new vn},loadSelectedSubjects(){this.selectedSubjects=[...this.open]},addSubjectToGroup(e,t){ae.post(this.URL+`group/${e}/addSubjectToGroup`,t).then(()=>{this.closeModalForAddSubjects(),this.getGroups(),this.open=[...this.selectedSubjects]}).catch(n=>{console.log(n)})},getSubjects(){ae.get(this.URL+"subject").then(e=>{this.subjects=e.data,console.log(e.data)}).catch(e=>{console.log(e)})}}},Pf={class:"container mt-4"},Tf=d("h1",{class:"text-center mb-4"},"Group Table",-1),Mf={class:"table table-striped"},Ff=d("thead",null,[d("tr",null,[d("th",null,"Имя"),d("th",null,"Действия"),d("th",null,"Работа с группой"),d("th",null,"Работа с предметами")])],-1),kf={class:"d-flex flex-column"},jf=["onClick"],Nf=["onClick"],If={class:"d-flex flex-column"},Lf=["onClick"],Uf=["onClick"],Bf={class:"d-flex flex-column"},$f=["onClick"],Df=["onClick"],Hf={class:"modal",tabindex:"-1",id:"openReport"},Kf={class:"modal-dialog"},qf={class:"modal-content"},zf=d("div",{class:"modal-header"},[d("h5",{class:"modal-title"},"Отчет")],-1),Vf={class:"modal-body"},Wf={class:"table table-striped"},Gf=d("thead",null,[d("tr",null,[d("th",null,"Группа"),d("th",null,"Студенты")])],-1),Jf={class:"modal-footer"},Qf={class:"modal",tabindex:"-1",id:"openModalForAddSubjects"},Yf={class:"modal-dialog"},Xf={class:"modal-content"},Zf=d("div",{class:"modal-header"},[d("h5",{class:"modal-title"},"Добавление предметов")],-1),ed={class:"modal-body"},td={class:"form-group"},nd=d("label",{for:"name"},"Имя:",-1),sd={class:"form-group"},rd=d("label",{for:"name"},"Выберите предметы для добавления:",-1),od={class:"list-group"},id={class:"form-check"},ld=["value","checked"],cd={class:"form-check-label",for:"groupCheck{{ subject.id }}"},ud={class:"modal-footer"},ad={class:"modal",tabindex:"-1",id:"ModalForAddStudents"},fd={class:"modal-dialog"},dd={class:"modal-content"},hd=d("div",{class:"modal-header"},[d("h5",{class:"modal-title"},"Добавление студентов в группу")],-1),pd={class:"modal-body"},md={class:"form-group"},gd=d("label",{for:"name"},"Имя:",-1),bd={class:"form-group"},yd=d("label",{for:"name"},"Выберите студентов для добавления:",-1),_d={class:"list-group"},Ed={class:"form-check"},Sd=["id","value"],wd=["for"],vd={class:"modal-footer"},Rd={class:"modal",tabindex:"-1",id:"editModal"},xd={class:"modal-dialog"},Cd={class:"modal-content"},Ad=d("div",{class:"modal-header"},[d("h5",{class:"modal-title"},"Группа")],-1),Od={class:"modal-body"},Pd={class:"form-group"},Td=d("label",{for:"name"},"Имя:",-1),Md={class:"modal-footer"},Fd={class:"modal",tabindex:"-1",id:"ModelForStudents"},kd={class:"modal-dialog"},jd={class:"modal-content"},Nd=d("div",{class:"modal-header"},[d("h5",{class:"modal-title"},"Студенты")],-1),Id={class:"modal-body"},Ld={class:"form-group"},Ud={class:"table table-striped"},Bd=d("thead",null,[d("tr",null,[d("th",null,"Имя"),d("th",null,"Дата рождения"),d("th")])],-1),$d=["onClick"],Dd={class:"modal-footer"},Hd={class:"modal",tabindex:"-1",id:"ModelForSubjects"},Kd={class:"modal-dialog"},qd={class:"modal-content"},zd=d("div",{class:"modal-header"},[d("h5",{class:"modal-title"},"Предметы")],-1),Vd={class:"modal-body"},Wd={class:"form-group"},Gd={class:"table table-striped"},Jd=d("thead",null,[d("tr",null,[d("th",null,"Название")])],-1),Qd={class:"modal-footer"};function Yd(e,t,n,s,r,o){return Q(),Y(ce,null,[d("div",Pf,[Tf,d("button",{class:"btn btn-primary mr-2",onClick:t[0]||(t[0]=i=>o.openModal("create"))},"Добавить"),d("button",{class:"btn btn-primary mr-2",onClick:t[1]||(t[1]=i=>o.openReport())},"Отчет"),d("table",Mf,[Ff,d("tbody",null,[(Q(!0),Y(ce,null,et(r.groups,i=>(Q(),Y("tr",{key:i.id},[d("td",null,Me(i.name),1),d("td",null,[d("div",kf,[d("button",{class:"btn btn-primary mb-2",onClick:l=>o.openModal("edit",i)},"Изменить",8,jf),d("button",{class:"btn btn-danger mb-2",onClick:l=>o.deleteGroup(i.id)},"Удалить",8,Nf)])]),d("td",null,[d("div",If,[d("button",{class:"btn btn-primary mb-2",onClick:l=>{o.OpenModelForStudents(),o.getStudentsFromGroup(i.id)}},"Просмотр студентов",8,Lf),d("button",{class:"btn btn-primary mb-2",onClick:l=>{o.OpenModelForAddStudents(i),o.getStudentsFromUndefinedGroup()}},"Добавление студентов в группу",8,Uf)])]),d("td",null,[d("div",Bf,[d("button",{class:"btn btn-primary mb-2",onClick:l=>{o.OpenModelForSubjects(),o.getSubjectsInGroup(i.id)}},"Просмотр предметов",8,$f),d("button",{class:"btn btn-primary mb-2",onClick:l=>{o.OpenModelForAddSubjects("edit",i)}},"Добавление предметов в группу",8,Df)])])]))),128))])])]),d("div",Hf,[d("div",Kf,[d("div",qf,[zf,d("div",Vf,[d("form",null,[d("table",Wf,[Gf,d("tbody",null,[(Q(!0),Y(ce,null,et(Object.entries(r.getAllInfo),([i,l])=>(Q(),Y("tr",{key:i},[d("td",null,Me(i),1),d("td",null,[d("ul",null,[(Q(!0),Y(ce,null,et(l,c=>(Q(),Y("li",{key:c},Me(c),1))),128))])])]))),128))])])])]),d("div",Jf,[d("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"editModal",onClick:t[2]||(t[2]=i=>o.closeReport())},"Закрыть")])])])]),d("div",Qf,[d("div",Yf,[d("div",Xf,[Zf,d("div",ed,[d("form",null,[d("div",td,[nd,ft(d("input",{readonly:"",type:"text",class:"form-control",id:"name",name:"name","onUpdate:modelValue":t[3]||(t[3]=i=>r.group.name=i)},null,512),[[It,r.group.name]])]),d("div",sd,[rd,d("ul",od,[(Q(!0),Y(ce,null,et(r.subjects,i=>(Q(),Y("li",{class:"list-group-item",key:i.id},[d("div",id,[ft(d("input",{class:"form-check-input",type:"checkbox","onUpdate:modelValue":t[4]||(t[4]=l=>r.selectedSubjects=l),value:i.id,checked:r.open.includes(i.id),id:"groupCheck{{ subject.id }}"},null,8,ld),[[Qr,r.selectedSubjects]]),d("label",cd,Me(i.name),1)])]))),128))])])])]),d("div",ud,[d("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"editModal",onClick:t[5]||(t[5]=i=>o.closeModalForAddSubjects())},"Закрыть"),d("button",{type:"button",class:"btn btn-primary",onClick:t[6]||(t[6]=i=>o.addSubjectToGroup(r.group.id,r.selectedSubjects))},"Добавить")])])])]),d("div",ad,[d("div",fd,[d("div",dd,[hd,d("div",pd,[d("form",null,[d("div",md,[gd,ft(d("input",{type:"text",class:"form-control",id:"name",name:"name","onUpdate:modelValue":t[7]||(t[7]=i=>r.group.name=i)},null,512),[[It,r.group.name]])]),d("div",bd,[yd,d("ul",_d,[(Q(!0),Y(ce,null,et(r.students,i=>(Q(),Y("li",{class:"list-group-item",key:i.id},[d("div",Ed,[ft(d("input",{class:"form-check-input",type:"checkbox",id:"studentCheck"+i.id,value:i.id,"onUpdate:modelValue":t[8]||(t[8]=l=>r.selectedStudents=l)},null,8,Sd),[[Qr,r.selectedStudents]]),d("label",{class:"form-check-label",for:"studentCheck"+i.id},Me(i.name),9,wd)])]))),128))])])])]),d("div",vd,[d("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"editModal",onClick:t[9]||(t[9]=i=>o.CloseModalForAddStudents())},"Закрыть"),d("button",{type:"button",class:"btn btn-primary",onClick:t[10]||(t[10]=i=>o.saveStudents(r.group.id))},"Сохранить")])])])]),d("div",Rd,[d("div",xd,[d("div",Cd,[Ad,d("div",Od,[d("form",null,[d("div",Pd,[Td,ft(d("input",{type:"text",class:"form-control",id:"name",name:"name","onUpdate:modelValue":t[11]||(t[11]=i=>r.group.name=i)},null,512),[[It,r.group.name]])])])]),d("div",Md,[d("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"editModal",onClick:t[12]||(t[12]=i=>o.closeModal())},"Закрыть"),r.group.status==="create"?(Q(),Y("button",{key:0,type:"button",class:"btn btn-primary",onClick:t[13]||(t[13]=i=>o.addGroup(r.group))},"Создать")):(Q(),Y("button",{key:1,type:"button",class:"btn btn-primary",onClick:t[14]||(t[14]=i=>o.editGroup(r.group))},"Сохранить"))])])])]),d("div",Fd,[d("div",kd,[d("div",jd,[Nd,d("div",Id,[d("form",null,[d("div",Ld,[d("table",Ud,[Bd,d("tbody",null,[(Q(!0),Y(ce,null,et(r.students,i=>(Q(),Y("tr",{key:i.id},[d("td",null,Me(i.name),1),d("td",null,Me(i.birthDate),1),d("td",null,[d("td",null,[d("button",{class:"btn btn-danger mr-2",onClick:l=>o.deleteStudentFromGroup(i.id)},"Удалить",8,$d)])])]))),128))])])])])]),d("div",Dd,[d("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"ModelForStudents",onClick:t[15]||(t[15]=i=>o.closeModelForStudents())},"Закрыть")])])])]),d("div",Hd,[d("div",Kd,[d("div",qd,[zd,d("div",Vd,[d("form",null,[d("div",Wd,[d("table",Gd,[Jd,d("tbody",null,[(Q(!0),Y(ce,null,et(r.subjectsInGroup,i=>(Q(),Y("tr",{key:i.id},[d("td",null,Me(i.name),1)]))),128))])])])])]),d("div",Qd,[d("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"ModelForSubjects",onClick:t[16]||(t[16]=i=>o.closeModelForSubjects())},"Закрыть")])])])])],64)}const Xd=hn(Of,[["render",Yd]]),Zd={created(){this.getSubjects()},data(){return{subjects:[],URL:"http://localhost:8080/",subject:new uo}},methods:{getSubjects(){ae.get(this.URL+"subject").then(e=>{this.subjects=e.data}).catch(e=>{console.log(e)})},addSubject(e){console.log(e),ae.post(this.URL+"subject",e).then(()=>{this.getSubjects(),this.closeModal()}).catch(t=>{console.log(t)})},deleteSubject(e){ae.delete(this.URL+`subject/${e}`).then(()=>{this.getSubjects()})},editSubject(e){ae.put(this.URL+`subject/${e.id}`,e).then(()=>{const t=this.subjects.findIndex(n=>n.id===e.id);t!==-1&&(this.subjects[t]={...e}),this.closeModal(),this.getSubjects()}),this.closeModal()},openModal(e,t=null){e==="create"?(this.subject=new uo,this.subject.status="create"):e==="edit"&&t&&(this.subject={...t},this.subject.status="edit"),document.getElementById("editModal").style.display="block"},closeModal(){document.getElementById("editModal").style.display="none"}}},eh={class:"container mt-4"},th=d("h1",{class:"text-center mb-4"},"Subject Table",-1),nh={class:"table table-striped"},sh=d("thead",null,[d("tr",null,[d("th",null,"Имя"),d("th")])],-1),rh=["onClick"],oh=["onClick"],ih={class:"modal",tabindex:"-1",id:"editModal"},lh={class:"modal-dialog"},ch={class:"modal-content"},uh=d("div",{class:"modal-header"},[d("h5",{class:"modal-title"},"Предмет")],-1),ah={class:"modal-body"},fh={class:"form-group"},dh=d("label",{for:"name"},"Имя:",-1),hh={class:"modal-footer"};function ph(e,t,n,s,r,o){return Q(),Y(ce,null,[d("div",eh,[th,d("button",{class:"btn btn-primary mr-2",onClick:t[0]||(t[0]=i=>o.openModal("create"))},"Добавить"),d("table",nh,[sh,d("tbody",null,[(Q(!0),Y(ce,null,et(r.subjects,i=>(Q(),Y("tr",{key:i.id},[d("td",null,Me(i.name),1),d("td",null,[d("td",null,[d("button",{class:"btn btn-primary mr-2",onClick:l=>o.openModal("edit",i)},"Изменить",8,rh)]),d("td",null,[d("button",{class:"btn btn-danger",onClick:l=>o.deleteSubject(i.id)},"Удалить",8,oh)])])]))),128))])])]),d("div",ih,[d("div",lh,[d("div",ch,[uh,d("div",ah,[d("form",null,[d("div",fh,[dh,ft(d("input",{type:"text",class:"form-control",id:"name",name:"name","onUpdate:modelValue":t[1]||(t[1]=i=>r.subject.name=i)},null,512),[[It,r.subject.name]])])])]),d("div",hh,[d("button",{type:"button",class:"btn btn-secondary","data-bs-dismiss":"editModal",onClick:t[2]||(t[2]=i=>o.closeModal())},"Закрыть"),r.subject.status==="create"?(Q(),Y("button",{key:0,type:"button",class:"btn btn-primary",onClick:t[3]||(t[3]=i=>o.addSubject(r.subject))},"Создать")):(Q(),Y("button",{key:1,type:"button",class:"btn btn-primary",onClick:t[4]||(t[4]=i=>o.editSubject(r.subject))},"Сохранить"))])])])])],64)}const mh=hn(Zd,[["render",ph]]);/*! + * vue-router v4.1.6 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */const Tt=typeof window<"u";function gh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const X=Object.assign;function Ss(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ke(r)?r.map(e):e(r)}return n}const Zt=()=>{},Ke=Array.isArray,bh=/\/$/,yh=e=>e.replace(bh,"");function ws(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=wh(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function _h(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ao(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Eh(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&$t(t.matched[s],n.matched[r])&&Vi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $t(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Vi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Sh(e[n],t[n]))return!1;return!0}function Sh(e,t){return Ke(e)?fo(e,t):Ke(t)?fo(t,e):e===t}function fo(e,t){return Ke(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function wh(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let r=n.length-1,o,i;for(o=0;o1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var an;(function(e){e.pop="pop",e.push="push"})(an||(an={}));var en;(function(e){e.back="back",e.forward="forward",e.unknown=""})(en||(en={}));function vh(e){if(!e)if(Tt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),yh(e)}const Rh=/^[^#]+#/;function xh(e,t){return e.replace(Rh,"#")+t}function Ch(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const cs=()=>({left:window.pageXOffset,top:window.pageYOffset});function Ah(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Ch(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ho(e,t){return(history.state?history.state.position-t:-1)+e}const qs=new Map;function Oh(e,t){qs.set(e,t)}function Ph(e){const t=qs.get(e);return qs.delete(e),t}let Th=()=>location.protocol+"//"+location.host;function Wi(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),ao(c,"")}return ao(n,e)+s+r}function Mh(e,t,n,s){let r=[],o=[],i=null;const l=({state:m})=>{const b=Wi(e,location),y=n.value,w=t.value;let j=0;if(m){if(n.value=b,t.value=m,i&&i===y){i=null;return}j=w?m.position-w.position:0}else s(b);r.forEach(O=>{O(n.value,y,{delta:j,type:an.pop,direction:j?j>0?en.forward:en.back:en.unknown})})};function c(){i=n.value}function u(m){r.push(m);const b=()=>{const y=r.indexOf(m);y>-1&&r.splice(y,1)};return o.push(b),b}function a(){const{history:m}=window;m.state&&m.replaceState(X({},m.state,{scroll:cs()}),"")}function p(){for(const m of o)m();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a),{pauseListeners:c,listen:u,destroy:p}}function po(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?cs():null}}function Fh(e){const{history:t,location:n}=window,s={value:Wi(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,a){const p=e.indexOf("#"),m=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:Th()+e+c;try{t[a?"replaceState":"pushState"](u,"",m),r.value=u}catch(b){console.error(b),n[a?"replace":"assign"](m)}}function i(c,u){const a=X({},t.state,po(r.value.back,c,r.value.forward,!0),u,{position:r.value.position});o(c,a,!0),s.value=c}function l(c,u){const a=X({},r.value,t.state,{forward:c,scroll:cs()});o(a.current,a,!0);const p=X({},po(s.value,c,null),{position:a.position+1},u);o(c,p,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function kh(e){e=vh(e);const t=Fh(e),n=Mh(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=X({location:"",base:e,go:s,createHref:xh.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function jh(e){return typeof e=="string"||e&&typeof e=="object"}function Gi(e){return typeof e=="string"||typeof e=="symbol"}const ct={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ji=Symbol("");var mo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(mo||(mo={}));function Dt(e,t){return X(new Error,{type:e,[Ji]:!0},t)}function Xe(e,t){return e instanceof Error&&Ji in e&&(t==null||!!(e.type&t))}const go="[^/]+?",Nh={sensitive:!1,strict:!1,start:!0,end:!0},Ih=/[.+*?^${}()[\]/\\]/g;function Lh(e,t){const n=X({},Nh,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const a=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let p=0;pt.length?t.length===1&&t[0]===40+40?1:-1:0}function Bh(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const $h={type:0,value:""},Dh=/[a-zA-Z0-9_]/;function Hh(e){if(!e)return[[]];if(e==="/")return[[$h]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(b){throw new Error(`ERR (${n})/"${u}": ${b}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,u="",a="";function p(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function m(){u+=c}for(;l{i(U)}:Zt}function i(a){if(Gi(a)){const p=s.get(a);p&&(s.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&s.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function l(){return n}function c(a){let p=0;for(;p=0&&(a.record.path!==n[p].record.path||!Qi(a,n[p]));)p++;n.splice(p,0,a),a.record.name&&!_o(a)&&s.set(a.record.name,a)}function u(a,p){let m,b={},y,w;if("name"in a&&a.name){if(m=s.get(a.name),!m)throw Dt(1,{location:a});w=m.record.name,b=X(yo(p.params,m.keys.filter(U=>!U.optional).map(U=>U.name)),a.params&&yo(a.params,m.keys.map(U=>U.name))),y=m.stringify(b)}else if("path"in a)y=a.path,m=n.find(U=>U.re.test(y)),m&&(b=m.parse(y),w=m.record.name);else{if(m=p.name?s.get(p.name):n.find(U=>U.re.test(p.path)),!m)throw Dt(1,{location:a,currentLocation:p});w=m.record.name,b=X({},p.params,a.params),y=m.stringify(b)}const j=[];let O=m;for(;O;)j.unshift(O.record),O=O.parent;return{name:w,path:y,params:b,matched:j,meta:Wh(j)}}return e.forEach(a=>o(a)),{addRoute:o,resolve:u,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function yo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function zh(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Vh(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Vh(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function _o(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Wh(e){return e.reduce((t,n)=>X(t,n.meta),{})}function Eo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Qi(e,t){return t.children.some(n=>n===e||Qi(e,n))}const Yi=/#/g,Gh=/&/g,Jh=/\//g,Qh=/=/g,Yh=/\?/g,Xi=/\+/g,Xh=/%5B/g,Zh=/%5D/g,Zi=/%5E/g,ep=/%60/g,el=/%7B/g,tp=/%7C/g,tl=/%7D/g,np=/%20/g;function gr(e){return encodeURI(""+e).replace(tp,"|").replace(Xh,"[").replace(Zh,"]")}function sp(e){return gr(e).replace(el,"{").replace(tl,"}").replace(Zi,"^")}function zs(e){return gr(e).replace(Xi,"%2B").replace(np,"+").replace(Yi,"%23").replace(Gh,"%26").replace(ep,"`").replace(el,"{").replace(tl,"}").replace(Zi,"^")}function rp(e){return zs(e).replace(Qh,"%3D")}function op(e){return gr(e).replace(Yi,"%23").replace(Yh,"%3F")}function ip(e){return e==null?"":op(e).replace(Jh,"%2F")}function Hn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function lp(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&zs(o)):[s&&zs(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function cp(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ke(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const up=Symbol(""),wo=Symbol(""),br=Symbol(""),nl=Symbol(""),Vs=Symbol("");function Jt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function at(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const c=p=>{p===!1?l(Dt(4,{from:n,to:t})):p instanceof Error?l(p):jh(p)?l(Dt(2,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),i())},u=e.call(s&&s.instances[r],t,n,c);let a=Promise.resolve(u);e.length<3&&(a=a.then(c)),a.catch(p=>l(p))})}function vs(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(ap(l)){const u=(l.__vccOpts||l)[t];u&&r.push(at(u,n,s,o,i))}else{let c=l();r.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const a=gh(u)?u.default:u;o.components[i]=a;const m=(a.__vccOpts||a)[t];return m&&at(m,n,s,o,i)()}))}}return r}function ap(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function vo(e){const t=tt(br),n=tt(nl),s=Fe(()=>t.resolve(jt(e.to))),r=Fe(()=>{const{matched:c}=s.value,{length:u}=c,a=c[u-1],p=n.matched;if(!a||!p.length)return-1;const m=p.findIndex($t.bind(null,a));if(m>-1)return m;const b=Ro(c[u-2]);return u>1&&Ro(a)===b&&p[p.length-1].path!==b?p.findIndex($t.bind(null,c[u-2])):m}),o=Fe(()=>r.value>-1&&pp(n.params,s.value.params)),i=Fe(()=>r.value>-1&&r.value===n.matched.length-1&&Vi(n.params,s.value.params));function l(c={}){return hp(c)?t[jt(e.replace)?"replace":"push"](jt(e.to)).catch(Zt):Promise.resolve()}return{route:s,href:Fe(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const fp=ci({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:vo,setup(e,{slots:t}){const n=dn(vo(e)),{options:s}=tt(br),r=Fe(()=>({[xo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[xo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:xi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),dp=fp;function hp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function pp(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ke(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Ro(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const xo=(e,t,n)=>e??t??n,mp=ci({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=tt(Vs),r=Fe(()=>e.route||s.value),o=tt(wo,0),i=Fe(()=>{let u=jt(o);const{matched:a}=r.value;let p;for(;(p=a[u])&&!p.components;)u++;return u}),l=Fe(()=>r.value.matched[i.value]);An(wo,Fe(()=>i.value+1)),An(up,l),An(Vs,r);const c=Gl();return On(()=>[c.value,l.value,e.name],([u,a,p],[m,b,y])=>{a&&(a.instances[p]=u,b&&b!==a&&u&&u===m&&(a.leaveGuards.size||(a.leaveGuards=b.leaveGuards),a.updateGuards.size||(a.updateGuards=b.updateGuards))),u&&a&&(!b||!$t(a,b)||!m)&&(a.enterCallbacks[p]||[]).forEach(w=>w(u))},{flush:"post"}),()=>{const u=r.value,a=e.name,p=l.value,m=p&&p.components[a];if(!m)return Co(n.default,{Component:m,route:u});const b=p.props[a],y=b?b===!0?u.params:typeof b=="function"?b(u):b:null,j=xi(m,X({},y,t,{onVnodeUnmounted:O=>{O.component.isUnmounted&&(p.instances[a]=null)},ref:c}));return Co(n.default,{Component:j,route:u})||j}}});function Co(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const gp=mp;function bp(e){const t=qh(e.routes,e),n=e.parseQuery||lp,s=e.stringifyQuery||So,r=e.history,o=Jt(),i=Jt(),l=Jt(),c=Jl(ct);let u=ct;Tt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Ss.bind(null,S=>""+S),p=Ss.bind(null,ip),m=Ss.bind(null,Hn);function b(S,M){let P,N;return Gi(S)?(P=t.getRecordMatcher(S),N=M):N=S,t.addRoute(N,P)}function y(S){const M=t.getRecordMatcher(S);M&&t.removeRoute(M)}function w(){return t.getRoutes().map(S=>S.record)}function j(S){return!!t.getRecordMatcher(S)}function O(S,M){if(M=X({},M||c.value),typeof S=="string"){const f=ws(n,S,M.path),h=t.resolve({path:f.path},M),g=r.createHref(f.fullPath);return X(f,h,{params:m(h.params),hash:Hn(f.hash),redirectedFrom:void 0,href:g})}let P;if("path"in S)P=X({},S,{path:ws(n,S.path,M.path).path});else{const f=X({},S.params);for(const h in f)f[h]==null&&delete f[h];P=X({},S,{params:p(S.params)}),M.params=p(M.params)}const N=t.resolve(P,M),V=S.hash||"";N.params=a(m(N.params));const le=_h(s,X({},S,{hash:sp(V),path:N.path})),K=r.createHref(le);return X({fullPath:le,hash:V,query:s===So?cp(S.query):S.query||{}},N,{redirectedFrom:void 0,href:K})}function U(S){return typeof S=="string"?ws(n,S,c.value.path):X({},S)}function k(S,M){if(u!==S)return Dt(8,{from:M,to:S})}function q(S){return Re(S)}function ie(S){return q(X(U(S),{replace:!0}))}function ge(S){const M=S.matched[S.matched.length-1];if(M&&M.redirect){const{redirect:P}=M;let N=typeof P=="function"?P(S):P;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=U(N):{path:N},N.params={}),X({query:S.query,hash:S.hash,params:"path"in N?{}:S.params},N)}}function Re(S,M){const P=u=O(S),N=c.value,V=S.state,le=S.force,K=S.replace===!0,f=ge(P);if(f)return Re(X(U(f),{state:typeof f=="object"?X({},V,f.state):V,force:le,replace:K}),M||P);const h=P;h.redirectedFrom=M;let g;return!le&&Eh(s,N,P)&&(g=Dt(16,{to:h,from:N}),gt(N,N,!0,!1)),(g?Promise.resolve(g):ue(h,N)).catch(E=>Xe(E)?Xe(E,2)?E:Ie(E):te(E,h,N)).then(E=>{if(E){if(Xe(E,2))return Re(X({replace:K},U(E.to),{state:typeof E.to=="object"?X({},V,E.to.state):V,force:le}),M||h)}else E=be(h,N,!0,K,V);return re(h,N,E),E})}function H(S,M){const P=k(S,M);return P?Promise.reject(P):Promise.resolve()}function ue(S,M){let P;const[N,V,le]=yp(S,M);P=vs(N.reverse(),"beforeRouteLeave",S,M);for(const f of N)f.leaveGuards.forEach(h=>{P.push(at(h,S,M))});const K=H.bind(null,S,M);return P.push(K),Pt(P).then(()=>{P=[];for(const f of o.list())P.push(at(f,S,M));return P.push(K),Pt(P)}).then(()=>{P=vs(V,"beforeRouteUpdate",S,M);for(const f of V)f.updateGuards.forEach(h=>{P.push(at(h,S,M))});return P.push(K),Pt(P)}).then(()=>{P=[];for(const f of S.matched)if(f.beforeEnter&&!M.matched.includes(f))if(Ke(f.beforeEnter))for(const h of f.beforeEnter)P.push(at(h,S,M));else P.push(at(f.beforeEnter,S,M));return P.push(K),Pt(P)}).then(()=>(S.matched.forEach(f=>f.enterCallbacks={}),P=vs(le,"beforeRouteEnter",S,M),P.push(K),Pt(P))).then(()=>{P=[];for(const f of i.list())P.push(at(f,S,M));return P.push(K),Pt(P)}).catch(f=>Xe(f,8)?f:Promise.reject(f))}function re(S,M,P){for(const N of l.list())N(S,M,P)}function be(S,M,P,N,V){const le=k(S,M);if(le)return le;const K=M===ct,f=Tt?history.state:{};P&&(N||K?r.replace(S.fullPath,X({scroll:K&&f&&f.scroll},V)):r.push(S.fullPath,V)),c.value=S,gt(S,M,P,K),Ie()}let ye;function Ne(){ye||(ye=r.listen((S,M,P)=>{if(!gn.listening)return;const N=O(S),V=ge(N);if(V){Re(X(V,{replace:!0}),N).catch(Zt);return}u=N;const le=c.value;Tt&&Oh(ho(le.fullPath,P.delta),cs()),ue(N,le).catch(K=>Xe(K,12)?K:Xe(K,2)?(Re(K.to,N).then(f=>{Xe(f,20)&&!P.delta&&P.type===an.pop&&r.go(-1,!1)}).catch(Zt),Promise.reject()):(P.delta&&r.go(-P.delta,!1),te(K,N,le))).then(K=>{K=K||be(N,le,!1),K&&(P.delta&&!Xe(K,8)?r.go(-P.delta,!1):P.type===an.pop&&Xe(K,20)&&r.go(-1,!1)),re(N,le,K)}).catch(Zt)}))}let Ye=Jt(),Vt=Jt(),de;function te(S,M,P){Ie(S);const N=Vt.list();return N.length?N.forEach(V=>V(S,M,P)):console.error(S),Promise.reject(S)}function Z(){return de&&c.value!==ct?Promise.resolve():new Promise((S,M)=>{Ye.add([S,M])})}function Ie(S){return de||(de=!S,Ne(),Ye.list().forEach(([M,P])=>S?P(S):M()),Ye.reset()),S}function gt(S,M,P,N){const{scrollBehavior:V}=e;if(!Tt||!V)return Promise.resolve();const le=!P&&Ph(ho(S.fullPath,0))||(N||!P)&&history.state&&history.state.scroll||null;return Xo().then(()=>V(S,M,le)).then(K=>K&&Ah(K)).catch(K=>te(K,S,M))}const Le=S=>r.go(S);let xe;const At=new Set,gn={currentRoute:c,listening:!0,addRoute:b,removeRoute:y,hasRoute:j,getRoutes:w,resolve:O,options:e,push:q,replace:ie,go:Le,back:()=>Le(-1),forward:()=>Le(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Vt.add,isReady:Z,install(S){const M=this;S.component("RouterLink",dp),S.component("RouterView",gp),S.config.globalProperties.$router=M,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>jt(c)}),Tt&&!xe&&c.value===ct&&(xe=!0,q(r.location).catch(V=>{}));const P={};for(const V in ct)P[V]=Fe(()=>c.value[V]);S.provide(br,M),S.provide(nl,dn(P)),S.provide(Vs,c);const N=S.unmount;At.add(S),S.unmount=function(){At.delete(S),At.size<1&&(u=ct,ye&&ye(),ye=null,c.value=ct,xe=!1,de=!1),N()}}};return gn}function Pt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function yp(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i$t(u,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>$t(u,c))||r.push(c))}return[n,s,r]}const _p=[{path:"/students",component:Af},{path:"/groups",component:Xd},{path:"/subjects",component:mh}],Ep=bp({history:kh(),linkActiveClass:"active",routes:_p}),sl=Tu(zu);sl.use(Ep);sl.mount("#app"); diff --git a/frontend/vue-project/dist/assets/index-8a71c744.css b/frontend/vue-project/dist/assets/index-8a71c744.css new file mode 100644 index 0000000..f1285d2 --- /dev/null +++ b/frontend/vue-project/dist/assets/index-8a71c744.css @@ -0,0 +1 @@ +.navbar-brand{font-size:2rem;font-weight:700}.nav-link{color:#000;font-weight:700;text-transform:uppercase;transition:color .3s ease-in-out}.nav-link:hover{color:#dc3545} diff --git a/frontend/vue-project/dist/favicon.ico b/frontend/vue-project/dist/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/frontend/vue-project/dist/favicon.ico differ diff --git a/frontend/vue-project/dist/index.html b/frontend/vue-project/dist/index.html new file mode 100644 index 0000000..56e24dc --- /dev/null +++ b/frontend/vue-project/dist/index.html @@ -0,0 +1,21 @@ + + + + + + + + + + + + + Vite + Vue + + + + +
+ + +