2 lines
90 KiB
JavaScript
2 lines
90 KiB
JavaScript
import{p as N,i as ve,c as m,r as R,a as me,b as re,d as wt,s as K,o as be,e as xe,f as Kn,h as Re,j as Wn,k as qn,l as pe,m as Jn,n as tn,q as Xn,t as St,w as j,u as mt,v as T,x as Zn,y as Qn,z as de,A as nn,V as ea,B as W,C as ue,D as Vt,I as ta,E as Z,F as X,G as We,H as i,J as Ie,K as tt,L as na,M as te,N as an,O as Ce,P as nt,Q as xt,R as $e,S as ln,T as he,U as on,W as Ve,X as le,Y as aa,Z as je,_ as Le,$ as la,a0 as ze,a1 as Ue,a2 as De,a3 as Q,a4 as Ct,a5 as oa,a6 as ia,a7 as ra,a8 as J,a9 as sa,aa as rn,ab as ua,ac as Ye,ad as gt,ae as at,af as $t,ag as sn,ah as un,ai as kt,aj as ca,ak as cn,al as He,am as lt,an as dn,ao as G,ap as ae,aq as C,ar as oe,as as _t,at as It,au as Ae,av as ge,aw as At,ax as da,ay as ot,az as se,aA as Me,aB as va,aC as we,aD as vn,aE as it,aF as fn,aG as rt,aH as fa,aI as mn,aJ as ma,aK as ga,aL as st,aM as ya,aN as gn,aO as ut,aP as ha,aQ as ba,aR as Ft,aS as Pt,aT as pa,aU as Te,aV as Rt,aW as ie,aX as Pe,aY as _e,aZ as wa,a_ as Sa,a$ as Va,b0 as Ee,b1 as xa,b2 as Lt,b3 as Ca,b4 as yn,b5 as $a,b6 as hn,b7 as Nt,b8 as ka,b9 as _a,ba as Ia,bb as Aa,bc as Pa,bd as Ra,be as La,bf as Oa}from"./index-32269281.js";import{u as Ea,V as ee,a as bn,b as ct,c as Be,m as Ba}from"./ssrBoot-d4b2bdea.js";import{V as pn,a as Ma,b as wn,c as Sn}from"./group-185db83d.js";const qe=Symbol.for("vuetify:layout"),Vn=Symbol.for("vuetify:layout-item"),jt=1e3,Ta=N({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),xn=N({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function Da(){const e=ve(qe);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function Cn(e){const o=ve(qe);if(!o)throw new Error("[Vuetify] Could not find injected layout");const n=e.id??`layout-item-${Re()}`,t=wt("useLayoutItem");xe(Vn,{id:n});const l=K(!1);Wn(()=>l.value=!0),qn(()=>l.value=!1);const{layoutItemStyles:a,layoutItemScrimStyles:r}=o.register(t,{...e,active:m(()=>l.value?!1:e.active.value),id:n});return pe(()=>o.unregister(n)),{layoutItemStyles:a,layoutRect:o.layoutRect,layoutItemScrimStyles:r}}const Fa=(e,o,n,t)=>{let l={top:0,left:0,right:0,bottom:0};const a=[{id:"",layer:{...l}}];for(const r of e){const u=o.get(r),f=n.get(r),d=t.get(r);if(!u||!f||!d)continue;const g={...l,[u.value]:parseInt(l[u.value],10)+(d.value?parseInt(f.value,10):0)};a.push({id:r,layer:g}),l=g}return a};function Na(e){const o=ve(qe,null),n=m(()=>o?o.rootZIndex.value-100:jt),t=R([]),l=me(new Map),a=me(new Map),r=me(new Map),u=me(new Map),f=me(new Map),{resizeRef:d,contentRect:g}=Ea(),s=m(()=>{const w=new Map,x=e.overlaps??[];for(const S of x.filter($=>$.includes(":"))){const[$,P]=S.split(":");if(!t.value.includes($)||!t.value.includes(P))continue;const I=l.get($),D=l.get(P),O=a.get($),B=a.get(P);!I||!D||!O||!B||(w.set(P,{position:I.value,amount:parseInt(O.value,10)}),w.set($,{position:D.value,amount:-parseInt(B.value,10)}))}return w}),h=m(()=>{const w=[...new Set([...r.values()].map(S=>S.value))].sort((S,$)=>S-$),x=[];for(const S of w){const $=t.value.filter(P=>{var I;return((I=r.get(P))==null?void 0:I.value)===S});x.push(...$)}return Fa(x,l,a,u)}),v=m(()=>!Array.from(f.values()).some(w=>w.value)),c=m(()=>h.value[h.value.length-1].layer),y=m(()=>({"--v-layout-left":re(c.value.left),"--v-layout-right":re(c.value.right),"--v-layout-top":re(c.value.top),"--v-layout-bottom":re(c.value.bottom),...v.value?void 0:{transition:"none"}})),b=m(()=>h.value.slice(1).map((w,x)=>{let{id:S}=w;const{layer:$}=h.value[x],P=a.get(S),I=l.get(S);return{id:S,...$,size:Number(P.value),position:I.value}})),p=w=>b.value.find(x=>x.id===w),k=wt("createLayout"),A=K(!1);be(()=>{A.value=!0}),xe(qe,{register:(w,x)=>{let{id:S,order:$,position:P,layoutSize:I,elementSize:D,active:O,disableTransitions:B,absolute:F}=x;r.set(S,$),l.set(S,P),a.set(S,I),u.set(S,O),B&&f.set(S,B);const H=Kn(Vn,k==null?void 0:k.vnode).indexOf(w);H>-1?t.value.splice(H,0,S):t.value.push(S);const L=m(()=>b.value.findIndex(z=>z.id===S)),M=m(()=>n.value+h.value.length*2-L.value*2),E=m(()=>{const z=P.value==="left"||P.value==="right",ne=P.value==="right",ce=P.value==="bottom",fe={[P.value]:0,zIndex:M.value,transform:`translate${z?"X":"Y"}(${(O.value?0:-110)*(ne||ce?-1:1)}%)`,position:F.value||n.value!==jt?"absolute":"fixed",...v.value?void 0:{transition:"none"}};if(!A.value)return fe;const U=b.value[L.value];if(!U)throw new Error(`[Vuetify] Could not find layout item "${S}"`);const vt=s.value.get(S);return vt&&(U[vt.position]+=vt.amount),{...fe,height:z?`calc(100% - ${U.top}px - ${U.bottom}px)`:D.value?`${D.value}px`:void 0,left:ne?void 0:`${U.left}px`,right:ne?`${U.right}px`:void 0,top:P.value!=="bottom"?`${U.top}px`:void 0,bottom:P.value!=="top"?`${U.bottom}px`:void 0,width:z?D.value?`${D.value}px`:void 0:`calc(100% - ${U.left}px - ${U.right}px)`}}),Y=m(()=>({zIndex:M.value-1}));return{layoutItemStyles:E,layoutItemScrimStyles:Y,zIndex:M}},unregister:w=>{r.delete(w),l.delete(w),a.delete(w),u.delete(w),f.delete(w),t.value=t.value.filter(x=>x!==w)},mainRect:c,mainStyles:y,getLayoutItem:p,items:b,layoutRect:g,rootZIndex:n});const _=m(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),V=m(()=>({zIndex:n.value,position:o?"relative":void 0,overflow:o?"hidden":void 0}));return{layoutClasses:_,layoutStyles:V,getLayoutItem:p,items:b,layoutRect:g,layoutRef:d}}const ja=Jn("MainmenuStore",()=>{const e=R([]);return{portallinks:e,loadlinks:async()=>{const n=await tn.get("api/navigation/links/");e.value=n.data}}});function zt(e,o){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);o&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,t)}return n}function Se(e){for(var o=1;o<arguments.length;o++){var n=arguments[o]!=null?arguments[o]:{};o%2?zt(Object(n),!0).forEach(function(t){za(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function za(e,o,n){return o in e?Object.defineProperty(e,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[o]=n,e}function Ut(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((n,t)=>(o.includes(t)||(n[t]=T(e[t])),n),{})}function Je(e){return typeof e=="function"}function Ua(e){return Zn(e)||Qn(e)}function $n(e,o,n){let t=e;const l=o.split(".");for(let a=0;a<l.length;a++){if(!t[l[a]])return n;t=t[l[a]]}return t}function ft(e,o,n){return m(()=>e.some(t=>$n(o,t,{[n]:!1})[n]))}function Ht(e,o,n){return m(()=>e.reduce((t,l)=>{const a=$n(o,l,{[n]:!1})[n]||[];return t.concat(a)},[]))}function kn(e,o,n,t){return e.call(t,T(o),T(n),t)}function _n(e){return e.$valid!==void 0?!e.$valid:!e}function Ha(e,o,n,t,l,a,r){let{$lazy:u,$rewardEarly:f}=l,d=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],g=arguments.length>8?arguments[8]:void 0,s=arguments.length>9?arguments[9]:void 0,h=arguments.length>10?arguments[10]:void 0;const v=R(!!t.value),c=R(0);n.value=!1;const y=j([o,t].concat(d,h),()=>{if(u&&!t.value||f&&!s.value&&!n.value)return;let b;try{b=kn(e,o,g,r)}catch(p){b=Promise.reject(p)}c.value++,n.value=!!c.value,v.value=!1,Promise.resolve(b).then(p=>{c.value--,n.value=!!c.value,a.value=p,v.value=_n(p)}).catch(p=>{c.value--,n.value=!!c.value,a.value=p,v.value=!0})},{immediate:!0,deep:typeof o=="object"});return{$invalid:v,$unwatch:y}}function Ga(e,o,n,t,l,a,r,u){let{$lazy:f,$rewardEarly:d}=t;const g=()=>({}),s=m(()=>{if(f&&!n.value||d&&!u.value)return!1;let h=!0;try{const v=kn(e,o,r,a);l.value=v,h=_n(v)}catch(v){l.value=v}return h});return{$unwatch:g,$invalid:s}}function Ya(e,o,n,t,l,a,r,u,f,d,g){const s=R(!1),h=e.$params||{},v=R(null);let c,y;e.$async?{$invalid:c,$unwatch:y}=Ha(e.$validator,o,s,n,t,v,l,e.$watchTargets,f,d,g):{$invalid:c,$unwatch:y}=Ga(e.$validator,o,n,t,v,l,f,d);const b=e.$message;return{$message:Je(b)?m(()=>b(Ut({$pending:s,$invalid:c,$params:Ut(h),$model:o,$response:v,$validator:a,$propertyPath:u,$property:r}))):b||"",$params:h,$pending:s,$invalid:c,$response:v,$unwatch:y}}function Ka(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const o=T(e),n=Object.keys(o),t={},l={},a={};let r=null;return n.forEach(u=>{const f=o[u];switch(!0){case Je(f.$validator):t[u]=f;break;case Je(f):t[u]={$validator:f};break;case u==="$validationGroups":r=f;break;case u.startsWith("$"):a[u]=f;break;default:l[u]=f}}),{rules:t,nestedValidators:l,config:a,validationGroups:r}}const Wa="__root";function qa(e,o,n,t,l,a,r,u,f){const d=Object.keys(e),g=t.get(l,e),s=R(!1),h=R(!1),v=R(0);if(g){if(!g.$partial)return g;g.$unwatch(),s.value=g.$dirty.value}const c={$dirty:s,$path:l,$touch:()=>{s.value||(s.value=!0)},$reset:()=>{s.value&&(s.value=!1)},$commit:()=>{}};return d.length?(d.forEach(y=>{c[y]=Ya(e[y],o,c.$dirty,a,r,y,n,l,f,h,v)}),c.$externalResults=m(()=>u.value?[].concat(u.value).map((y,b)=>({$propertyPath:l,$property:n,$validator:"$externalResults",$uid:`${l}-externalResult-${b}`,$message:y,$params:{},$response:null,$pending:!1})):[]),c.$invalid=m(()=>{const y=d.some(b=>T(c[b].$invalid));return h.value=y,!!c.$externalResults.value.length||y}),c.$pending=m(()=>d.some(y=>T(c[y].$pending))),c.$error=m(()=>c.$dirty.value?c.$pending.value||c.$invalid.value:!1),c.$silentErrors=m(()=>d.filter(y=>T(c[y].$invalid)).map(y=>{const b=c[y];return me({$propertyPath:l,$property:n,$validator:y,$uid:`${l}-${y}`,$message:b.$message,$params:b.$params,$response:b.$response,$pending:b.$pending})}).concat(c.$externalResults.value)),c.$errors=m(()=>c.$dirty.value?c.$silentErrors.value:[]),c.$unwatch=()=>d.forEach(y=>{c[y].$unwatch()}),c.$commit=()=>{h.value=!0,v.value=Date.now()},t.set(l,e,c),c):(g&&t.set(l,e,c),c)}function Ja(e,o,n,t,l,a,r){const u=Object.keys(e);return u.length?u.reduce((f,d)=>(f[d]=yt({validations:e[d],state:o,key:d,parentKey:n,resultsCache:t,globalConfig:l,instance:a,externalResults:r}),f),{}):{}}function Xa(e,o,n){const t=m(()=>[o,n].filter(c=>c).reduce((c,y)=>c.concat(Object.values(T(y))),[])),l=m({get(){return e.$dirty.value||(t.value.length?t.value.every(c=>c.$dirty):!1)},set(c){e.$dirty.value=c}}),a=m(()=>{const c=T(e.$silentErrors)||[],y=t.value.filter(b=>(T(b).$silentErrors||[]).length).reduce((b,p)=>b.concat(...p.$silentErrors),[]);return c.concat(y)}),r=m(()=>{const c=T(e.$errors)||[],y=t.value.filter(b=>(T(b).$errors||[]).length).reduce((b,p)=>b.concat(...p.$errors),[]);return c.concat(y)}),u=m(()=>t.value.some(c=>c.$invalid)||T(e.$invalid)||!1),f=m(()=>t.value.some(c=>T(c.$pending))||T(e.$pending)||!1),d=m(()=>t.value.some(c=>c.$dirty)||t.value.some(c=>c.$anyDirty)||l.value),g=m(()=>l.value?f.value||u.value:!1),s=()=>{e.$touch(),t.value.forEach(c=>{c.$touch()})},h=()=>{e.$commit(),t.value.forEach(c=>{c.$commit()})},v=()=>{e.$reset(),t.value.forEach(c=>{c.$reset()})};return t.value.length&&t.value.every(c=>c.$dirty)&&s(),{$dirty:l,$errors:r,$invalid:u,$anyDirty:d,$error:g,$pending:f,$touch:s,$reset:v,$silentErrors:a,$commit:h}}function yt(e){let{validations:o,state:n,key:t,parentKey:l,childResults:a,resultsCache:r,globalConfig:u={},instance:f,externalResults:d}=e;const g=l?`${l}.${t}`:t,{rules:s,nestedValidators:h,config:v,validationGroups:c}=Ka(o),y=Se(Se({},u),v),b=t?m(()=>{const E=T(n);return E?T(E[t]):void 0}):n,p=Se({},T(d)||{}),k=m(()=>{const E=T(d);return t?E?T(E[t]):void 0:E}),A=qa(s,b,t,r,g,y,f,k,n),_=Ja(h,b,g,r,y,f,k),V={};c&&Object.entries(c).forEach(E=>{let[Y,z]=E;V[Y]={$invalid:ft(z,_,"$invalid"),$error:ft(z,_,"$error"),$pending:ft(z,_,"$pending"),$errors:Ht(z,_,"$errors"),$silentErrors:Ht(z,_,"$silentErrors")}});const{$dirty:w,$errors:x,$invalid:S,$anyDirty:$,$error:P,$pending:I,$touch:D,$reset:O,$silentErrors:B,$commit:F}=Xa(A,_,a),q=t?m({get:()=>T(b),set:E=>{w.value=!0;const Y=T(n),z=T(d);z&&(z[t]=p[t]),mt(Y[t])?Y[t].value=E:Y[t]=E}}):null;t&&y.$autoDirty&&j(b,()=>{w.value||D();const E=T(d);E&&(E[t]=p[t])},{flush:"sync"});async function H(){return D(),y.$rewardEarly&&(F(),await de()),await de(),new Promise(E=>{if(!I.value)return E(!S.value);const Y=j(I,()=>{E(!S.value),Y()})})}function L(E){return(a.value||{})[E]}function M(){mt(d)?d.value=p:Object.keys(p).length===0?Object.keys(d).forEach(E=>{delete d[E]}):Object.assign(d,p)}return me(Se(Se(Se({},A),{},{$model:q,$dirty:w,$error:P,$errors:x,$invalid:S,$anyDirty:$,$pending:I,$touch:D,$reset:O,$path:g||Wa,$silentErrors:B,$validate:H,$commit:F},a&&{$getResultsForChild:L,$clearExternalResults:M,$validationGroups:V}),_))}class Za{constructor(){this.storage=new Map}set(o,n,t){this.storage.set(o,{rules:n,result:t})}checkRulesValidity(o,n,t){const l=Object.keys(t),a=Object.keys(n);return a.length!==l.length||!a.every(u=>l.includes(u))?!1:a.every(u=>n[u].$params?Object.keys(n[u].$params).every(f=>T(t[u].$params[f])===T(n[u].$params[f])):!0)}get(o,n){const t=this.storage.get(o);if(!t)return;const{rules:l,result:a}=t,r=this.checkRulesValidity(o,n,l),u=a.$unwatch?a.$unwatch:()=>({});return r?a:{$dirty:a.$dirty,$partial:!0,$unwatch:u}}}const Ke={COLLECT_ALL:!0,COLLECT_NONE:!1},Gt=Symbol("vuelidate#injectChildResults"),Yt=Symbol("vuelidate#removeChildResults");function Qa(e){let{$scope:o,instance:n}=e;const t={},l=R([]),a=m(()=>l.value.reduce((g,s)=>(g[s]=T(t[s]),g),{}));function r(g,s){let{$registerAs:h,$scope:v,$stopPropagation:c}=s;c||o===Ke.COLLECT_NONE||v===Ke.COLLECT_NONE||o!==Ke.COLLECT_ALL&&o!==v||(t[h]=g,l.value.push(h))}n.__vuelidateInjectInstances=[].concat(n.__vuelidateInjectInstances||[],r);function u(g){l.value=l.value.filter(s=>s!==g),delete t[g]}n.__vuelidateRemoveInstances=[].concat(n.__vuelidateRemoveInstances||[],u);const f=ve(Gt,[]);xe(Gt,n.__vuelidateInjectInstances);const d=ve(Yt,[]);return xe(Yt,n.__vuelidateRemoveInstances),{childResults:a,sendValidationResultsToParent:f,removeValidationResultsFromParent:d}}function In(e){return new Proxy(e,{get(o,n){return typeof o[n]=="object"?In(o[n]):m(()=>o[n])}})}let Kt=0;function el(e,o){var n;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(t=e,e=void 0,o=void 0);let{$registerAs:l,$scope:a=Ke.COLLECT_ALL,$stopPropagation:r,$externalResults:u,currentVueInstance:f}=t;const d=f||((n=Xn())===null||n===void 0?void 0:n.proxy),g=d?d.$options:{};l||(Kt+=1,l=`_vuelidate_${Kt}`);const s=R({}),h=new Za,{childResults:v,sendValidationResultsToParent:c,removeValidationResultsFromParent:y}=d?Qa({$scope:a,instance:d}):{childResults:R({})};if(!e&&g.validations){const b=g.validations;o=R({}),St(()=>{o.value=d,j(()=>Je(b)?b.call(o.value,new In(o.value)):b,p=>{s.value=yt({validations:p,state:o,childResults:v,resultsCache:h,globalConfig:t,instance:d,externalResults:u||d.vuelidateExternalResults})},{immediate:!0})}),t=g.validationsConfig||t}else{const b=mt(e)||Ua(e)?e:me(e||{});j(b,p=>{s.value=yt({validations:p,state:o,childResults:v,resultsCache:h,globalConfig:t,instance:d??{},externalResults:u})},{immediate:!0})}return d&&(c.forEach(b=>b(s,{$registerAs:l,$scope:a,$stopPropagation:r})),pe(()=>y.forEach(b=>b(l)))),m(()=>Se(Se({},T(s.value)),v.value))}function Wt(e,o){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);o&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,t)}return n}function Fe(e){for(var o=1;o<arguments.length;o++){var n=arguments[o]!=null?arguments[o]:{};o%2?Wt(Object(n),!0).forEach(function(t){tl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tl(e,o,n){return o in e?Object.defineProperty(e,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[o]=n,e}function Xe(e){return typeof e=="function"}function ht(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function dt(e){return Xe(e.$validator)?Fe({},e):{$validator:e}}function An(e){return typeof e=="object"?e.$valid:e}function Pn(e){return e.$validator||e}function nl(e,o){if(!ht(e))throw new Error(`[@vuelidate/validators]: First parameter to "withParams" should be an object, provided ${typeof e}`);if(!ht(o)&&!Xe(o))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=dt(o);return n.$params=Fe(Fe({},n.$params||{}),e),n}function al(e,o){if(!Xe(e)&&typeof T(e)!="string")throw new Error(`[@vuelidate/validators]: First parameter to "withMessage" should be string or a function returning a string, provided ${typeof e}`);if(!ht(o)&&!Xe(o))throw new Error("[@vuelidate/validators]: Validator must be a function or object with $validator parameter");const n=dt(o);return n.$message=e,n}function ll(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];const n=dt(e);return Fe(Fe({},n),{},{$async:!0,$watchTargets:o})}function ol(e){return{$validator(o){for(var n=arguments.length,t=new Array(n>1?n-1:0),l=1;l<n;l++)t[l-1]=arguments[l];return T(o).reduce((a,r,u)=>{const f=Object.entries(r).reduce((d,g)=>{let[s,h]=g;const v=e[s]||{},c=Object.entries(v).reduce((y,b)=>{let[p,k]=b;const _=Pn(k).call(this,h,r,u,...t),V=An(_);if(y.$data[p]=_,y.$data.$invalid=!V||!!y.$data.$invalid,y.$data.$error=y.$data.$invalid,!V){let w=k.$message||"";const x=k.$params||{};typeof w=="function"&&(w=w({$pending:!1,$invalid:!V,$params:x,$model:h,$response:_})),y.$errors.push({$property:s,$message:w,$params:x,$response:_,$model:h,$pending:!1,$validator:p})}return{$valid:y.$valid&&V,$data:y.$data,$errors:y.$errors}},{$valid:!0,$data:{},$errors:[]});return d.$data[s]=c.$data,d.$errors[s]=c.$errors,{$valid:d.$valid&&c.$valid,$data:d.$data,$errors:d.$errors}},{$valid:!0,$data:{},$errors:{}});return{$valid:a.$valid&&f.$valid,$data:a.$data.concat(f.$data),$errors:a.$errors.concat(f.$errors)}},{$valid:!0,$data:[],$errors:[]})},$message:o=>{let{$response:n}=o;return n?n.$errors.map(t=>Object.values(t).map(l=>l.map(a=>a.$message)).reduce((l,a)=>l.concat(a),[])):[]}}}const Ot=e=>{if(e=T(e),Array.isArray(e))return!!e.length;if(e==null)return!1;if(e===!1)return!0;if(e instanceof Date)return!isNaN(e.getTime());if(typeof e=="object"){for(let o in e)return!0;return!1}return!!String(e).length},il=e=>(e=T(e),Array.isArray(e)?e.length:typeof e=="object"?Object.keys(e).length:String(e).length);function ke(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t=>(t=T(t),!Ot(t)||o.every(l=>(l.lastIndex=0,l.test(t))))}var Rn=Object.freeze({__proto__:null,forEach:ol,len:il,normalizeValidatorObject:dt,regex:ke,req:Ot,unwrap:T,unwrapNormalizedValidator:Pn,unwrapValidatorResponse:An,withAsync:ll,withMessage:al,withParams:nl});ke(/^[a-zA-Z]*$/);ke(/^[a-zA-Z0-9]*$/);ke(/^\d*(\.\d+)?$/);const rl=/^(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9]{2,}(?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$/i;ke(rl);function sl(e){return typeof e=="string"&&(e=e.trim()),Ot(e)}var ul={$validator:sl,$message:"Value is required",$params:{type:"required"}};const cl=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i;ke(cl);ke(/(^[0-9]*$)|(^-[0-9]+$)/);ke(/^[-]?\d*(\.\d+)?$/);const dl=N({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...nn({origin:"center center",scrollStrategy:"block",transition:{component:ea},zIndex:2400})},"VDialog"),Ze=W()({name:"VDialog",props:dl(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:n}=o;const t=ue(e,"modelValue"),{scopeId:l}=Vt(),a=R();function r(f){var s,h;const d=f.relatedTarget,g=f.target;if(d!==g&&((s=a.value)!=null&&s.contentEl)&&((h=a.value)!=null&&h.globalTop)&&![document,a.value.contentEl].includes(g)&&!a.value.contentEl.contains(g)){const v=na(a.value.contentEl);if(!v.length)return;const c=v[0],y=v[v.length-1];d===c?y.focus():c.focus()}}ta&&j(()=>t.value&&e.retainFocus,f=>{f?document.addEventListener("focusin",r):document.removeEventListener("focusin",r)},{immediate:!0}),j(t,async f=>{var d,g;await de(),f?(d=a.value.contentEl)==null||d.focus({preventScroll:!0}):(g=a.value.activatorEl)==null||g.focus({preventScroll:!0})});const u=m(()=>Z({"aria-haspopup":"dialog","aria-expanded":String(t.value)},e.activatorProps));return X(()=>{const[f]=We.filterProps(e);return i(We,Z({ref:a,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},f,{modelValue:t.value,"onUpdate:modelValue":d=>t.value=d,"aria-modal":"true",activatorProps:u.value,role:"dialog"},l),{activator:n.activator,default:function(){for(var d=arguments.length,g=new Array(d),s=0;s<d;s++)g[s]=arguments[s];return i(Ie,{root:"VDialog"},{default:()=>{var h;return[(h=n.default)==null?void 0:h.call(n,...g)]}})}})}),tt({},a)}});const vl=N({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...te(),...an({transition:{component:pn}})},"VCounter"),Ln=W()({name:"VCounter",functional:!0,props:vl(),setup(e,o){let{slots:n}=o;const t=m(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return X(()=>i(xt,{transition:e.transition},{default:()=>[Ce(i("div",{class:["v-counter",e.class],style:e.style},[n.default?n.default({counter:t.value,max:e.max,value:e.value}):t.value]),[[nt,e.active]])]})),{}}});const fl=N({text:String,clickable:Boolean,...te(),...$e()},"VLabel"),ml=W()({name:"VLabel",props:fl(),setup(e,o){let{slots:n}=o;return X(()=>{var t;return i("label",{class:["v-label",{"v-label--clickable":e.clickable},e.class],style:e.style},[e.text,(t=n.default)==null?void 0:t.call(n)])}),{}}}),gl=N({floating:Boolean,...te()},"VFieldLabel"),Ge=W()({name:"VFieldLabel",props:gl(),setup(e,o){let{slots:n}=o;return X(()=>i(ml,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},n)),{}}});function On(e){const{t:o}=ln();function n(t){let{name:l}=t;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],r=e[`onClick:${l}`],u=r&&a?o(`$vuetify.input.${a}`,e.label??""):void 0;return i(he,{icon:e[`${l}Icon`],"aria-label":u,onClick:r},null)}return{InputIcon:n}}const En=N({focused:Boolean,"onUpdate:focused":Ve()},"focus");function Et(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:on();const n=ue(e,"focused"),t=m(()=>({[`${o}--focused`]:n.value}));function l(){n.value=!0}function a(){n.value=!1}return{focusClasses:t,isFocused:n,focus:l,blur:a}}const yl=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Bt=N({appendInnerIcon:le,bgColor:String,clearable:Boolean,clearIcon:{type:le,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:le,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>yl.includes(e)},"onClick:clear":Ve(),"onClick:appendInner":Ve(),"onClick:prependInner":Ve(),...te(),...aa(),...je(),...$e()},"VField"),Mt=W()({name:"VField",inheritAttrs:!1,props:{id:String,...En(),...Bt()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:n,emit:t,slots:l}=o;const{themeClasses:a}=Le(e),{loaderClasses:r}=la(e),{focusClasses:u,isFocused:f,focus:d,blur:g}=Et(e),{InputIcon:s}=On(e),{roundedClasses:h}=ze(e),{rtlClasses:v}=Ue(),c=m(()=>e.dirty||e.active),y=m(()=>!e.singleLine&&!!(e.label||l.label)),b=Re(),p=m(()=>e.id||`input-${b}`),k=m(()=>`${p.value}-messages`),A=R(),_=R(),V=R(),w=m(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:x,backgroundColorStyles:S}=De(Q(e,"bgColor")),{textColorClasses:$,textColorStyles:P}=Ct(m(()=>e.error||e.disabled?void 0:c.value&&f.value?e.color:e.baseColor));j(c,O=>{if(y.value){const B=A.value.$el,F=_.value.$el;requestAnimationFrame(()=>{const q=oa(B),H=F.getBoundingClientRect(),L=H.x-q.x,M=H.y-q.y-(q.height/2-H.height/2),E=H.width/.75,Y=Math.abs(E-q.width)>1?{maxWidth:re(E)}:void 0,z=getComputedStyle(B),ne=getComputedStyle(F),ce=parseFloat(z.transitionDuration)*1e3||150,fe=parseFloat(ne.getPropertyValue("--v-field-label-scale")),U=ne.getPropertyValue("color");B.style.visibility="visible",F.style.visibility="hidden",ia(B,{transform:`translate(${L}px, ${M}px) scale(${fe})`,color:U,...Y},{duration:ce,easing:ua,direction:O?"normal":"reverse"}).finished.then(()=>{B.style.removeProperty("visibility"),F.style.removeProperty("visibility")})})}},{flush:"post"});const I=m(()=>({isActive:c,isFocused:f,controlRef:V,blur:g,focus:d}));function D(O){O.target!==document.activeElement&&O.preventDefault()}return X(()=>{var L,M,E;const O=e.variant==="outlined",B=l["prepend-inner"]||e.prependInnerIcon,F=!!(e.clearable||l.clear),q=!!(l["append-inner"]||e.appendInnerIcon||F),H=l.label?l.label({...I.value,label:e.label,props:{for:p.value}}):e.label;return i("div",Z({class:["v-field",{"v-field--active":c.value,"v-field--appended":q,"v-field--center-affix":e.centerAffix??!w.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":B,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!H,[`v-field--variant-${e.variant}`]:!0},a.value,x.value,u.value,r.value,h.value,v.value,e.class],style:[S.value,P.value,e.style],onClick:D},n),[i("div",{class:"v-field__overlay"},null),i(ra,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),B&&i("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&i(s,{key:"prepend-icon",name:"prependInner"},null),(L=l["prepend-inner"])==null?void 0:L.call(l,I.value)]),i("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&y.value&&i(Ge,{key:"floating-label",ref:_,class:[$.value],floating:!0,for:p.value},{default:()=>[H]}),i(Ge,{ref:A,for:p.value},{default:()=>[H]}),(M=l.default)==null?void 0:M.call(l,{...I.value,props:{id:p.value,class:"v-field__input","aria-describedby":k.value},focus:d,blur:g})]),F&&i(Ma,{key:"clear"},{default:()=>[Ce(i("div",{class:"v-field__clearable",onMousedown:Y=>{Y.preventDefault(),Y.stopPropagation()}},[l.clear?l.clear():i(s,{name:"clear"},null)]),[[nt,e.dirty]])]}),q&&i("div",{key:"append",class:"v-field__append-inner"},[(E=l["append-inner"])==null?void 0:E.call(l,I.value),e.appendInnerIcon&&i(s,{key:"append-icon",name:"appendInner"},null)]),i("div",{class:["v-field__outline",$.value]},[O&&i(J,null,[i("div",{class:"v-field__outline__start"},null),y.value&&i("div",{class:"v-field__outline__notch"},[i(Ge,{ref:_,floating:!0,for:p.value},{default:()=>[H]})]),i("div",{class:"v-field__outline__end"},null)]),w.value&&y.value&&i(Ge,{ref:_,floating:!0,for:p.value},{default:()=>[H]})])])}),{controlRef:V}}});function Bn(e){const o=Object.keys(Mt.props).filter(n=>!sa(n)&&n!=="class"&&n!=="style");return rn(e,o)}const hl=N({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...te(),...an({transition:{component:pn,leaveAbsolute:!0,group:!0}})},"VMessages"),bl=W()({name:"VMessages",props:hl(),setup(e,o){let{slots:n}=o;const t=m(()=>Ye(e.messages)),{textColorClasses:l,textColorStyles:a}=Ct(m(()=>e.color));return X(()=>i(xt,{transition:e.transition,tag:"div",class:["v-messages",l.value,e.class],style:[a.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&t.value.map((r,u)=>i("div",{class:"v-messages__message",key:`${u}-${t.value}`},[n.message?n.message({message:r}):r]))]})),{}}}),pl=Symbol.for("vuetify:form");function wl(){return ve(pl,null)}const Sl=N({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...En()},"validation");function Vl(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:on(),n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Re();const t=ue(e,"modelValue"),l=m(()=>e.validationValue===void 0?t.value:e.validationValue),a=wl(),r=R([]),u=K(!0),f=m(()=>!!(Ye(t.value===""?null:t.value).length||Ye(l.value===""?null:l.value).length)),d=m(()=>!!(e.disabled??(a==null?void 0:a.isDisabled.value))),g=m(()=>!!(e.readonly??(a==null?void 0:a.isReadonly.value))),s=m(()=>e.errorMessages.length?Ye(e.errorMessages).slice(0,Math.max(0,+e.maxErrors)):r.value),h=m(()=>{let _=(e.validateOn??(a==null?void 0:a.validateOn.value))||"input";_==="lazy"&&(_="input lazy");const V=new Set((_==null?void 0:_.split(" "))??[]);return{blur:V.has("blur")||V.has("input"),input:V.has("input"),submit:V.has("submit"),lazy:V.has("lazy")}}),v=m(()=>e.error||e.errorMessages.length?!1:e.rules.length?u.value?r.value.length||h.value.lazy?null:!0:!r.value.length:!0),c=K(!1),y=m(()=>({[`${o}--error`]:v.value===!1,[`${o}--dirty`]:f.value,[`${o}--disabled`]:d.value,[`${o}--readonly`]:g.value})),b=m(()=>e.name??T(n));St(()=>{a==null||a.register({id:b.value,validate:A,reset:p,resetValidation:k})}),pe(()=>{a==null||a.unregister(b.value)}),be(async()=>{h.value.lazy||await A(!0),a==null||a.update(b.value,v.value,s.value)}),gt(()=>h.value.input,()=>{j(l,()=>{if(l.value!=null)A();else if(e.focused){const _=j(()=>e.focused,V=>{V||A(),_()})}})}),gt(()=>h.value.blur,()=>{j(()=>e.focused,_=>{_||A()})}),j(v,()=>{a==null||a.update(b.value,v.value,s.value)});function p(){t.value=null,de(k)}function k(){u.value=!0,h.value.lazy?r.value=[]:A(!0)}async function A(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const V=[];c.value=!0;for(const w of e.rules){if(V.length>=+(e.maxErrors??1))break;const S=await(typeof w=="function"?w:()=>w)(l.value);if(S!==!0){if(S!==!1&&typeof S!="string"){console.warn(`${S} is not a valid value. Rule functions must return boolean true or a string.`);continue}V.push(S||"")}}return r.value=V,c.value=!1,u.value=_,r.value}return{errorMessages:s,isDirty:f,isDisabled:d,isReadonly:g,isPristine:u,isValid:v,isValidating:c,reset:p,resetValidation:k,validate:A,validationClasses:y}}const Tt=N({id:String,appendIcon:le,centerAffix:{type:Boolean,default:!0},prependIcon:le,hideDetails:[Boolean,String],hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":Ve(),"onClick:append":Ve(),...te(),...at(),...Sl()},"VInput"),Qe=W()({name:"VInput",props:{...Tt()},emits:{"update:modelValue":e=>!0},setup(e,o){let{attrs:n,slots:t,emit:l}=o;const{densityClasses:a}=$t(e),{rtlClasses:r}=Ue(),{InputIcon:u}=On(e),f=Re(),d=m(()=>e.id||`input-${f}`),g=m(()=>`${d.value}-messages`),{errorMessages:s,isDirty:h,isDisabled:v,isReadonly:c,isPristine:y,isValid:b,isValidating:p,reset:k,resetValidation:A,validate:_,validationClasses:V}=Vl(e,"v-input",d),w=m(()=>({id:d,messagesId:g,isDirty:h,isDisabled:v,isReadonly:c,isPristine:y,isValid:b,isValidating:p,reset:k,resetValidation:A,validate:_})),x=m(()=>{var S;return(S=e.errorMessages)!=null&&S.length||!y.value&&s.value.length?s.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return X(()=>{var D,O,B,F;const S=!!(t.prepend||e.prependIcon),$=!!(t.append||e.appendIcon),P=x.value.length>0,I=!e.hideDetails||e.hideDetails==="auto"&&(P||!!t.details);return i("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix},a.value,r.value,V.value,e.class],style:e.style},[S&&i("div",{key:"prepend",class:"v-input__prepend"},[(D=t.prepend)==null?void 0:D.call(t,w.value),e.prependIcon&&i(u,{key:"prepend-icon",name:"prepend"},null)]),t.default&&i("div",{class:"v-input__control"},[(O=t.default)==null?void 0:O.call(t,w.value)]),$&&i("div",{key:"append",class:"v-input__append"},[e.appendIcon&&i(u,{key:"append-icon",name:"append"},null),(B=t.append)==null?void 0:B.call(t,w.value)]),I&&i("div",{class:"v-input__details"},[i(bl,{id:g.value,active:P,messages:x.value},{message:t.message}),(F=t.details)==null?void 0:F.call(t,w.value)])])}),{reset:k,resetValidation:A,validate:_}}}),xl=["color","file","time","date","datetime-local","week","month"],Cl=N({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,type:{type:String,default:"text"},modelModifiers:Object,...Tt(),...Bt()},"VTextField"),qt=W()({name:"VTextField",directives:{Intersect:sn},inheritAttrs:!1,props:Cl(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:n,emit:t,slots:l}=o;const a=ue(e,"modelValue"),{isFocused:r,focus:u,blur:f}=Et(e),d=m(()=>typeof e.counterValue=="function"?e.counterValue(a.value):(a.value??"").toString().length),g=m(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),s=m(()=>["plain","underlined"].includes(e.variant));function h(w,x){var S,$;!e.autofocus||!w||($=(S=x[0].target)==null?void 0:S.focus)==null||$.call(S)}const v=R(),c=R(),y=R(),b=m(()=>xl.includes(e.type)||e.persistentPlaceholder||r.value||e.active);function p(){var w;y.value!==document.activeElement&&((w=y.value)==null||w.focus()),r.value||u()}function k(w){t("mousedown:control",w),w.target!==y.value&&(p(),w.preventDefault())}function A(w){p(),t("click:control",w)}function _(w){w.stopPropagation(),p(),de(()=>{a.value=null,cn(e["onClick:clear"],w)})}function V(w){var S;const x=w.target;if(a.value=x.value,(S=e.modelModifiers)!=null&&S.trim&&["text","search","password","tel","url"].includes(e.type)){const $=[x.selectionStart,x.selectionEnd];de(()=>{x.selectionStart=$[0],x.selectionEnd=$[1]})}}return X(()=>{const w=!!(l.counter||e.counter||e.counterValue),x=!!(w||l.details),[S,$]=un(n),[{modelValue:P,...I}]=Qe.filterProps(e),[D]=Bn(e);return i(Qe,Z({ref:v,modelValue:a.value,"onUpdate:modelValue":O=>a.value=O,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-text-field--plain-underlined":["plain","underlined"].includes(e.variant)},e.class],style:e.style},S,I,{centerAffix:!s.value,focused:r.value}),{...l,default:O=>{let{id:B,isDisabled:F,isDirty:q,isReadonly:H,isValid:L}=O;return i(Mt,Z({ref:c,onMousedown:k,onClick:A,"onClick:clear":_,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:"textbox"},D,{id:B.value,active:b.value||q.value,dirty:q.value||e.dirty,disabled:F.value,focused:r.value,error:L.value===!1}),{...l,default:M=>{let{props:{class:E,...Y}}=M;const z=Ce(i("input",Z({ref:y,value:a.value,onInput:V,autofocus:e.autofocus,readonly:H.value,disabled:F.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:p,onBlur:f},Y,$),null),[[kt("intersect"),{handler:h},null,{once:!0}]]);return i(J,null,[e.prefix&&i("span",{class:"v-text-field__prefix"},[i("span",{class:"v-text-field__prefix__text"},[e.prefix])]),i("div",{class:E,"data-no-activator":""},[l.default?i(J,null,[l.default(),z]):ca(z)]),e.suffix&&i("span",{class:"v-text-field__suffix"},[i("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:x?O=>{var B;return i(J,null,[(B=l.details)==null?void 0:B.call(l,O),w&&i(J,null,[i("span",null,null),i(Ln,{active:e.persistentCounter||r.value,value:d.value,max:g.value},l.counter)])])}:void 0})}),tt({},v,c,y)}}),Jt=Rn.withMessage("Обязательное поле",ul),$l={setup(){const e=lt(),o=dn(),n=R(!1),t=me({username:"9966-00-125",password:""}),l=m(()=>({username:{req:Jt,latin:Rn.withMessage(()=>'Логин имееет вид "0000-00-000"',f=>/(\d{4,4}[-]\d{2,2}[-]\d{3,3})+$/.test(f.toString()))},password:{req:Jt}})),a=el(l,t),r=f=>a.value[f].$error?a.value[f].$errors[0].$message:"",u=async()=>{a.value.$error?console.log(!0):await e.logging(t)};return be(()=>{a.value.$validate()}),{accountStore:e,AppStore:o,menuAuthDialog:n,anon:t,v$:a,logging:u,errorer:r}}},kl=se("span",{class:"text-h5"},"Вход в портал",-1);function _l(e,o,n,t,l,a){return G(),ae(Ze,{modelValue:t.menuAuthDialog,"onUpdate:modelValue":o[3]||(o[3]=r=>t.menuAuthDialog=r),persistent:"",width:"400"},{activator:C(({props:r})=>[i(ee,Z(r,{"append-icon":"mdi-login"}),{prepend:C(()=>[i(he,{color:"white"})]),append:C(()=>[i(he,{color:"white"})]),default:C(()=>[oe(" Войти ")]),_:2},1040)]),default:C(()=>[i(ot,null,{default:C(()=>[i(_t,null,{default:C(()=>[kl]),_:1}),i(It,null,{default:C(()=>[i(wn,null,{default:C(()=>[i(Ae,null,{default:C(()=>[i(ge,{cols:"12",class:"py-0"},{default:C(()=>[i(qt,{modelValue:t.anon.username,"onUpdate:modelValue":o[0]||(o[0]=r=>t.anon.username=r),label:"Логин",variant:"underlined","error-messages":t.errorer("username")},null,8,["modelValue","error-messages"])]),_:1}),i(ge,{cols:"12",class:"py-0"},{default:C(()=>[i(qt,{modelValue:t.anon.password,"onUpdate:modelValue":o[1]||(o[1]=r=>t.anon.password=r),label:"Пароль",variant:"underlined",type:"password","error-messages":t.errorer("password")},null,8,["modelValue","error-messages"])]),_:1})]),_:1})]),_:1})]),_:1}),i(At,null,{default:C(()=>[i(bn),i(ee,{color:"blue-darken-1",variant:"text",onClick:o[2]||(o[2]=r=>t.menuAuthDialog=!1)},{default:C(()=>[oe(" Отмена ")]),_:1}),i(ee,{color:"blue-darken-1",variant:"text",onClick:t.logging},{default:C(()=>[oe(" Войти ")]),_:1},8,["onClick"])]),_:1}),Ce(i(da,{indeterminate:""},null,512),[[nt,t.AppStore.loading]])]),_:1})]),_:1},8,["modelValue"])}const Il=He($l,[["render",_l]]);const bt=Symbol.for("vuetify:list");function Mn(){const e=ve(bt,{hasPrepend:K(!1),updateHasPrepend:()=>null}),o={hasPrepend:K(!1),updateHasPrepend:n=>{n&&(o.hasPrepend.value=n)}};return xe(bt,o),e}function Tn(){return ve(bt,null)}const Al={open:e=>{let{id:o,value:n,opened:t,parents:l}=e;if(n){const a=new Set;a.add(o);let r=l.get(o);for(;r!=null;)a.add(r),r=l.get(r);return a}else return t.delete(o),t},select:()=>null},Dn={open:e=>{let{id:o,value:n,opened:t,parents:l}=e;if(n){let a=l.get(o);for(t.add(o);a!=null&&a!==o;)t.add(a),a=l.get(a);return t}else t.delete(o);return t},select:()=>null},Pl={open:Dn.open,select:e=>{let{id:o,value:n,opened:t,parents:l}=e;if(!n)return t;const a=[];let r=l.get(o);for(;r!=null;)a.push(r),r=l.get(r);return new Set(a)}},Dt=e=>{const o={select:n=>{let{id:t,value:l,selected:a}=n;if(t=Me(t),e&&!l){const r=Array.from(a.entries()).reduce((u,f)=>{let[d,g]=f;return g==="on"?[...u,d]:u},[]);if(r.length===1&&r[0]===t)return a}return a.set(t,l?"on":"off"),a},in:(n,t,l)=>{let a=new Map;for(const r of n||[])a=o.select({id:r,value:!0,selected:new Map(a),children:t,parents:l});return a},out:n=>{const t=[];for(const[l,a]of n.entries())a==="on"&&t.push(l);return t}};return o},Fn=e=>{const o=Dt(e);return{select:t=>{let{selected:l,id:a,...r}=t;a=Me(a);const u=l.has(a)?new Map([[a,l.get(a)]]):new Map;return o.select({...r,id:a,selected:u})},in:(t,l,a)=>{let r=new Map;return t!=null&&t.length&&(r=o.in(t.slice(0,1),l,a)),r},out:(t,l,a)=>o.out(t,l,a)}},Rl=e=>{const o=Dt(e);return{select:t=>{let{id:l,selected:a,children:r,...u}=t;return l=Me(l),r.has(l)?a:o.select({id:l,selected:a,children:r,...u})},in:o.in,out:o.out}},Ll=e=>{const o=Fn(e);return{select:t=>{let{id:l,selected:a,children:r,...u}=t;return l=Me(l),r.has(l)?a:o.select({id:l,selected:a,children:r,...u})},in:o.in,out:o.out}},Ol=e=>{const o={select:n=>{let{id:t,value:l,selected:a,children:r,parents:u}=n;t=Me(t);const f=new Map(a),d=[t];for(;d.length;){const s=d.shift();a.set(s,l?"on":"off"),r.has(s)&&d.push(...r.get(s))}let g=u.get(t);for(;g;){const s=r.get(g),h=s.every(c=>a.get(c)==="on"),v=s.every(c=>!a.has(c)||a.get(c)==="off");a.set(g,h?"on":v?"off":"indeterminate"),g=u.get(g)}return e&&!l&&Array.from(a.entries()).reduce((h,v)=>{let[c,y]=v;return y==="on"?[...h,c]:h},[]).length===0?f:a},in:(n,t,l)=>{let a=new Map;for(const r of n||[])a=o.select({id:r,value:!0,selected:new Map(a),children:t,parents:l});return a},out:(n,t)=>{const l=[];for(const[a,r]of n.entries())r==="on"&&!t.has(a)&&l.push(a);return l}};return o},Ne=Symbol.for("vuetify:nested"),Nn={id:K(),root:{register:()=>null,unregister:()=>null,parents:R(new Map),children:R(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:R(new Set),selected:R(new Map),selectedValues:R([])}},El=N({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),Bl=e=>{let o=!1;const n=R(new Map),t=R(new Map),l=ue(e,"opened",e.opened,s=>new Set(s),s=>[...s.values()]),a=m(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return Ll(e.mandatory);case"leaf":return Rl(e.mandatory);case"independent":return Dt(e.mandatory);case"single-independent":return Fn(e.mandatory);case"classic":default:return Ol(e.mandatory)}}),r=m(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return Pl;case"single":return Al;case"multiple":default:return Dn}}),u=ue(e,"selected",e.selected,s=>a.value.in(s,n.value,t.value),s=>a.value.out(s,n.value,t.value));pe(()=>{o=!0});function f(s){const h=[];let v=s;for(;v!=null;)h.unshift(v),v=t.value.get(v);return h}const d=wt("nested"),g={id:K(),root:{opened:l,selected:u,selectedValues:m(()=>{const s=[];for(const[h,v]of u.value.entries())v==="on"&&s.push(h);return s}),register:(s,h,v)=>{h&&s!==h&&t.value.set(s,h),v&&n.value.set(s,[]),h!=null&&n.value.set(h,[...n.value.get(h)||[],s])},unregister:s=>{if(o)return;n.value.delete(s);const h=t.value.get(s);if(h){const v=n.value.get(h)??[];n.value.set(h,v.filter(c=>c!==s))}t.value.delete(s),l.value.delete(s)},open:(s,h,v)=>{d.emit("click:open",{id:s,value:h,path:f(s),event:v});const c=r.value.open({id:s,value:h,opened:new Set(l.value),children:n.value,parents:t.value,event:v});c&&(l.value=c)},openOnSelect:(s,h,v)=>{const c=r.value.select({id:s,value:h,selected:new Map(u.value),opened:new Set(l.value),children:n.value,parents:t.value,event:v});c&&(l.value=c)},select:(s,h,v)=>{d.emit("click:select",{id:s,value:h,path:f(s),event:v});const c=a.value.select({id:s,value:h,selected:new Map(u.value),children:n.value,parents:t.value,event:v});c&&(u.value=c),g.root.openOnSelect(s,h,v)},children:n,parents:t}};return xe(Ne,g),g.root},jn=(e,o)=>{const n=ve(Ne,Nn),t=Symbol(Re()),l=m(()=>e.value!==void 0?e.value:t),a={...n,id:l,open:(r,u)=>n.root.open(l.value,r,u),openOnSelect:(r,u)=>n.root.openOnSelect(l.value,r,u),isOpen:m(()=>n.root.opened.value.has(l.value)),parent:m(()=>n.root.parents.value.get(l.value)),select:(r,u)=>n.root.select(l.value,r,u),isSelected:m(()=>n.root.selected.value.get(Me(l.value))==="on"),isIndeterminate:m(()=>n.root.selected.value.get(l.value)==="indeterminate"),isLeaf:m(()=>!n.root.children.value.get(l.value)),isGroupActivator:n.isGroupActivator};return!n.isGroupActivator&&n.root.register(l.value,n.id.value,o),pe(()=>{!n.isGroupActivator&&n.root.unregister(l.value)}),o&&xe(Ne,a),a},Ml=()=>{const e=ve(Ne,Nn);xe(Ne,{...e,isGroupActivator:!0})},Tl=va({name:"VListGroupActivator",setup(e,o){let{slots:n}=o;return Ml(),()=>{var t;return(t=n.default)==null?void 0:t.call(n)}}}),Dl=N({activeColor:String,baseColor:String,color:String,collapseIcon:{type:le,default:"$collapse"},expandIcon:{type:le,default:"$expand"},prependIcon:le,appendIcon:le,fluid:Boolean,subgroup:Boolean,title:String,value:null,...te(),...we()},"VListGroup"),pt=W()({name:"VListGroup",props:Dl(),setup(e,o){let{slots:n}=o;const{isOpen:t,open:l,id:a}=jn(Q(e,"value"),!0),r=m(()=>`v-list-group--id-${String(a.value)}`),u=Tn(),{isBooted:f}=ct();function d(v){l(!t.value,v)}const g=m(()=>({onClick:d,class:"v-list-group__header",id:r.value})),s=m(()=>t.value?e.collapseIcon:e.expandIcon),h=m(()=>({VListItem:{active:t.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&s.value,appendIcon:e.appendIcon||!e.subgroup&&s.value,title:e.title,value:e.value}}));return X(()=>i(e.tag,{class:["v-list-group",{"v-list-group--prepend":u==null?void 0:u.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":t.value},e.class],style:e.style},{default:()=>[n.activator&&i(Ie,{defaults:h.value},{default:()=>[i(Tl,null,{default:()=>[n.activator({props:g.value,isOpen:t.value})]})]}),i(xt,{transition:{component:Sn},disabled:!f.value},{default:()=>{var v;return[Ce(i("div",{class:"v-list-group__items",role:"group","aria-labelledby":r.value},[(v=n.default)==null?void 0:v.call(n)]),[[nt,t.value]])]}})]})),{}}});const Fl=vn("v-list-item-subtitle"),Nl=vn("v-list-item-title"),jl=N({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:le,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:le,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number,Boolean],title:[String,Number,Boolean],value:null,onClick:Ve(),onClickOnce:Ve(),...it(),...te(),...at(),...fn(),...rt(),...je(),...fa(),...we(),...$e(),...mn({variant:"text"})},"VListItem"),ye=W()({name:"VListItem",directives:{Ripple:ma},props:jl(),emits:{click:e=>!0},setup(e,o){let{attrs:n,slots:t,emit:l}=o;const a=ga(e,n),r=m(()=>e.value===void 0?a.href.value:e.value),{select:u,isSelected:f,isIndeterminate:d,isGroupActivator:g,root:s,parent:h,openOnSelect:v}=jn(r,!1),c=Tn(),y=m(()=>{var L;return e.active!==!1&&(e.active||((L=a.isActive)==null?void 0:L.value)||f.value)}),b=m(()=>e.link!==!1&&a.isLink.value),p=m(()=>!e.disabled&&e.link!==!1&&(e.link||a.isClickable.value||e.value!=null&&!!c)),k=m(()=>e.rounded||e.nav),A=m(()=>e.color??e.activeColor),_=m(()=>({color:y.value?A.value??e.baseColor:e.baseColor,variant:e.variant}));j(()=>{var L;return(L=a.isActive)==null?void 0:L.value},L=>{L&&h.value!=null&&s.open(h.value,!0),L&&v(L)},{immediate:!0});const{themeClasses:V}=Le(e),{borderClasses:w}=st(e),{colorClasses:x,colorStyles:S,variantClasses:$}=ya(_),{densityClasses:P}=$t(e),{dimensionStyles:I}=gn(e),{elevationClasses:D}=ut(e),{roundedClasses:O}=ze(k),B=m(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),F=m(()=>({isActive:y.value,select:u,isSelected:f.value,isIndeterminate:d.value}));function q(L){var M;l("click",L),!(g||!p.value)&&((M=a.navigate)==null||M.call(a,L),e.value!=null&&u(!f.value,L))}function H(L){(L.key==="Enter"||L.key===" ")&&(L.preventDefault(),q(L))}return X(()=>{const L=b.value?"a":e.tag,M=t.title||e.title,E=t.subtitle||e.subtitle,Y=!!(e.appendAvatar||e.appendIcon),z=!!(Y||t.append),ne=!!(e.prependAvatar||e.prependIcon),ce=!!(ne||t.prepend);return c==null||c.updateHasPrepend(ce),e.activeColor&&ha("active-color",["color","base-color"]),Ce(i(L,{class:["v-list-item",{"v-list-item--active":y.value,"v-list-item--disabled":e.disabled,"v-list-item--link":p.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!ce&&(c==null?void 0:c.hasPrepend.value),[`${e.activeClass}`]:e.activeClass&&y.value},V.value,w.value,x.value,P.value,D.value,B.value,O.value,$.value,e.class],style:[S.value,I.value,e.style],href:a.href.value,tabindex:p.value?c?-2:0:void 0,onClick:q,onKeydown:p.value&&!b.value&&H},{default:()=>{var fe;return[ba(p.value||y.value,"v-list-item"),ce&&i("div",{key:"prepend",class:"v-list-item__prepend"},[t.prepend?i(Ie,{key:"prepend-defaults",disabled:!ne,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var U;return[(U=t.prepend)==null?void 0:U.call(t,F.value)]}}):i(J,null,[e.prependAvatar&&i(Ft,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&i(he,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),i("div",{class:"v-list-item__content","data-no-activator":""},[M&&i(Nl,{key:"title"},{default:()=>{var U;return[((U=t.title)==null?void 0:U.call(t,{title:e.title}))??e.title]}}),E&&i(Fl,{key:"subtitle"},{default:()=>{var U;return[((U=t.subtitle)==null?void 0:U.call(t,{subtitle:e.subtitle}))??e.subtitle]}}),(fe=t.default)==null?void 0:fe.call(t,F.value)]),z&&i("div",{key:"append",class:"v-list-item__append"},[t.append?i(Ie,{key:"append-defaults",disabled:!Y,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var U;return[(U=t.append)==null?void 0:U.call(t,F.value)]}}):i(J,null,[e.appendIcon&&i(he,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&i(Ft,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])]}}),[[kt("ripple"),p.value&&e.ripple]])}),{}}}),zl=N({color:String,inset:Boolean,sticky:Boolean,title:String,...te(),...we()},"VListSubheader"),Ul=W()({name:"VListSubheader",props:zl(),setup(e,o){let{slots:n}=o;const{textColorClasses:t,textColorStyles:l}=Ct(Q(e,"color"));return X(()=>{const a=!!(n.default||e.title);return i(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},t.value,e.class],style:[{textColorStyles:l},e.style]},{default:()=>{var r;return[a&&i("div",{class:"v-list-subheader__text"},[((r=n.default)==null?void 0:r.call(n))??e.title])]}})}),{}}}),Hl=N({items:Array},"VListChildren"),zn=W()({name:"VListChildren",props:Hl(),setup(e,o){let{slots:n}=o;return Mn(),()=>{var t,l;return((t=n.default)==null?void 0:t.call(n))??((l=e.items)==null?void 0:l.map(a=>{var v,c;let{children:r,props:u,type:f,raw:d}=a;if(f==="divider")return((v=n.divider)==null?void 0:v.call(n,{props:u}))??i(Be,u,null);if(f==="subheader")return((c=n.subheader)==null?void 0:c.call(n,{props:u}))??i(Ul,u,null);const g={subtitle:n.subtitle?y=>{var b;return(b=n.subtitle)==null?void 0:b.call(n,{...y,item:d})}:void 0,prepend:n.prepend?y=>{var b;return(b=n.prepend)==null?void 0:b.call(n,{...y,item:d})}:void 0,append:n.append?y=>{var b;return(b=n.append)==null?void 0:b.call(n,{...y,item:d})}:void 0,title:n.title?y=>{var b;return(b=n.title)==null?void 0:b.call(n,{...y,item:d})}:void 0},[s,h]=pt.filterProps(u);return r?i(pt,Z({value:u==null?void 0:u.value},s),{activator:y=>{let{props:b}=y;return n.header?n.header({props:{...u,...b}}):i(ye,Z(u,b),g)},default:()=>i(zn,{items:r},n)}):n.item?n.item({props:u}):i(ye,u,g)}))}}}),Gl=N({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean},"list-items");function Yl(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function Kl(e,o){const n=Te(o,e.itemType,"item"),t=Yl(o)?o:Te(o,e.itemTitle),l=Te(o,e.itemValue,void 0),a=Te(o,e.itemChildren),r=e.itemProps===!0?rn(o,["children"])[1]:Te(o,e.itemProps),u={title:t,value:l,...r};return{type:n,title:u.title,value:u.value,props:u,children:n==="item"&&a?Un(e,a):void 0,raw:o}}function Un(e,o){const n=[];for(const t of o)n.push(Kl(e,t));return n}function Wl(e){return{items:m(()=>Un(e,e.items))}}const ql=N({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},nav:Boolean,...El({selectStrategy:"single-leaf",openStrategy:"list"}),...it(),...te(),...at(),...fn(),...rt(),itemType:{type:String,default:"type"},...Gl(),...je(),...we(),...$e(),...mn({variant:"text"})},"VList"),et=W()({name:"VList",props:ql(),emits:{"update:selected":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:select":e=>!0},setup(e,o){let{slots:n}=o;const{items:t}=Wl(e),{themeClasses:l}=Le(e),{backgroundColorClasses:a,backgroundColorStyles:r}=De(Q(e,"bgColor")),{borderClasses:u}=st(e),{densityClasses:f}=$t(e),{dimensionStyles:d}=gn(e),{elevationClasses:g}=ut(e),{roundedClasses:s}=ze(e),{open:h,select:v}=Bl(e),c=m(()=>e.lines?`v-list--${e.lines}-line`:void 0),y=Q(e,"activeColor"),b=Q(e,"baseColor"),p=Q(e,"color");Mn(),Pt({VListGroup:{activeColor:y,baseColor:b,color:p},VListItem:{activeClass:Q(e,"activeClass"),activeColor:y,baseColor:b,color:p,density:Q(e,"density"),disabled:Q(e,"disabled"),lines:Q(e,"lines"),nav:Q(e,"nav"),variant:Q(e,"variant")}});const k=K(!1),A=R();function _($){k.value=!0}function V($){k.value=!1}function w($){var P;!k.value&&!($.relatedTarget&&((P=A.value)!=null&&P.contains($.relatedTarget)))&&S()}function x($){if(A.value){if($.key==="ArrowDown")S("next");else if($.key==="ArrowUp")S("prev");else if($.key==="Home")S("first");else if($.key==="End")S("last");else return;$.preventDefault()}}function S($){if(A.value)return pa(A.value,$)}return X(()=>i(e.tag,{ref:A,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav},l.value,a.value,u.value,f.value,g.value,c.value,s.value,e.class],style:[r.value,d.value,e.style],tabindex:e.disabled||k.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:_,onFocusout:V,onFocus:w,onKeydown:x},{default:()=>[i(zn,{items:t.value},n)]})),{open:h,select:v,focus:S}}}),Jl={props:{menuGetUserDialog:{type:Boolean,default:!1},loging:{type:String,default:""}},setup(e,o){const n=lt(),t=R([]),l=async()=>{const f=await tn.get("api/accounts/getuser/?userlogin="+e.loging);t.value=f.data},a=()=>[{title:"Отдел:",info:t.value.department},{title:"ФИО:",info:t.value.fio},{title:"Должность:",info:t.value.post}],r=()=>[{title:"E-mail: ",info:t.value.email},{title:"Телефон: ",info:t.value.tel},{title:"Комната: ",info:t.value.room},{title:"Логин: ",info:t.value.login}];function u(){o.emit("menusClose")}return be(()=>{l()}),{menusCloses:u,userlinks:t,accountStore:n,basicInformation:a,subInformation:r}}},Xl=se("span",{class:"text-h5"},"Карточка пользователя",-1),Zl={class:"font-weight-medium"},Ql={class:"text-subtitle-1"},eo={class:"font-weight-medium"},to={class:"text-subtitle-1"};function no(e,o,n,t,l,a){return G(),ae(ot,null,{default:C(()=>[i(_t,null,{default:C(()=>[Xl]),_:1}),i(It,{class:"flex-column d-flex pb-0"},{default:C(()=>[i(Ae,{class:"flex-grow-0"},{default:C(()=>[i(Be),i(ge,{class:"pa-0",lg:"4"},{default:C(()=>[i(Rt,{class:"h-100",cover:"",src:t.accountStore.user.photo},null,8,["src"])]),_:1}),i(ge,{class:"pa-0"},{default:C(()=>[i(et,{class:"pt-0 custom_subtitle"},{default:C(()=>[(G(!0),ie(J,null,Pe(t.basicInformation(),r=>(G(),ae(ye,{key:r},{title:C(()=>[se("span",Zl,_e(r.title),1)]),subtitle:C(()=>[se("span",Ql,_e(r.info),1)]),_:2},1024))),128))]),_:1})]),_:1}),i(Be)]),_:1}),i(Ae,{class:"flex-grow-0"},{default:C(()=>[i(et,{class:"pa-0 pt-3 custom_subtitle"},{default:C(()=>[(G(!0),ie(J,null,Pe(t.subInformation(),r=>(G(),ae(ye,{key:r,class:"py-0",density:""},{title:C(()=>[se("span",eo,_e(r.title),1),se("span",to,_e(r.info),1)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1}),i(At,{class:"align-self-end pt-0"},{default:C(()=>[i(ee,{color:"blue-darken-1",variant:"text",onClick:t.menusCloses},{default:C(()=>[oe(" Отмена ")]),_:1},8,["onClick"])]),_:1})]),_:1})}const Hn=He(Jl,[["render",no]]),ao={components:{CardUsers:Hn},setup(){const e=R(""),o=R(!1),n={onliner:function(u){let f=new Set(u);l.value=Array.from(f)}},t=lt();let l=R(["ds"]);const a=new WebSocket(wa+"ws/watcher/?token="+localStorage.access),r=u=>{e.value=u,o.value=!0};return a.onmessage=u=>{let f=JSON.parse(u.data);n[f.message.action](f.message.data)},j(()=>t.cod2user,function(){t.cod2user.value||a.close()}),{loging:e,menuGetUserDialog:o,onlineuser:l,checkremote:Sa,spravURL:Va,whatuser:r}}};function lo(e,o,n,t,l,a){const r=Ee("Card-users");return G(),ie("div",null,[(G(!0),ie(J,null,Pe(t.onlineuser,u=>(G(),ae(ye,{key:u,"prepend-avatar":t.checkremote(`${t.spravURL}${u}.jpg`),title:"x",nav:"",onClick:f=>t.whatuser(u)},{default:C(()=>[i(Ze,{modelValue:t.menuGetUserDialog,"onUpdate:modelValue":o[1]||(o[1]=f=>t.menuGetUserDialog=f),persistent:"",width:"600"},{default:C(()=>[i(r,{menuGetUserDialog:t.menuGetUserDialog,loging:t.loging,onMenusClose:o[0]||(o[0]=f=>t.menuGetUserDialog=!1)},null,8,["menuGetUserDialog","loging"])]),_:1},8,["modelValue"])]),_:2},1032,["prepend-avatar","onClick"]))),128))])}const oo=He(ao,[["render",lo]]);const io=N({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:le,default:"$ratingEmpty"},fullIcon:{type:le,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},ripple:Boolean,...te(),...at(),...xa(),...we(),...$e()},"VRating"),ro=W()({name:"VRating",props:io(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:n}=o;const{t}=ln(),{themeClasses:l}=Le(e),a=ue(e,"modelValue"),r=m(()=>Lt(parseFloat(a.value),0,+e.length)),u=m(()=>Ca(Number(e.length),1)),f=m(()=>u.value.flatMap(y=>e.halfIncrements?[y-.5,y]:[y])),d=K(-1),g=m(()=>f.value.map(y=>{const b=e.hover&&d.value>-1,p=r.value>=y,k=d.value>=y,_=(b?k:p)?e.fullIcon:e.emptyIcon,V=e.activeColor??e.color,w=p||k?V:e.color;return{isFilled:p,isHovered:k,icon:_,color:w}})),s=m(()=>[0,...f.value].map(y=>{function b(){d.value=y}function p(){d.value=-1}function k(){e.disabled||e.readonly||(a.value=r.value===y&&e.clearable?0:y)}return{onMouseenter:e.hover?b:void 0,onMouseleave:e.hover?p:void 0,onClick:k}})),h=m(()=>e.name??`v-rating-${Re()}`);function v(y){var S,$;let{value:b,index:p,showStar:k=!0}=y;const{onMouseenter:A,onMouseleave:_,onClick:V}=s.value[p+1],w=`${h.value}-${String(b).replace(".","-")}`,x={color:(S=g.value[p])==null?void 0:S.color,density:e.density,disabled:e.disabled,icon:($=g.value[p])==null?void 0:$.icon,ripple:e.ripple,size:e.size,variant:"plain"};return i(J,null,[i("label",{for:w,class:{"v-rating__item--half":e.halfIncrements&&b%1>0,"v-rating__item--full":e.halfIncrements&&b%1===0},onMouseenter:A,onMouseleave:_,onClick:V},[i("span",{class:"v-rating__hidden"},[t(e.itemAriaLabel,b,e.length)]),k?n.item?n.item({...g.value[p],props:x,value:b,index:p,rating:r.value}):i(ee,x,null):void 0]),i("input",{class:"v-rating__hidden",name:h.value,id:w,type:"radio",value:b,checked:r.value===b,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function c(y){return n["item-label"]?n["item-label"](y):y.label?i("span",null,[y.label]):i("span",null,[oe(" ")])}return X(()=>{var b;const y=!!((b=e.itemLabels)!=null&&b.length)||n["item-label"];return i(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},l.value,e.class],style:e.style},{default:()=>[i(v,{value:0,index:-1,showStar:!1},null),u.value.map((p,k)=>{var A,_;return i("div",{class:"v-rating__wrapper"},[y&&e.itemLabelPosition==="top"?c({value:p,index:k,label:(A=e.itemLabels)==null?void 0:A[k]}):void 0,i("div",{class:"v-rating__item"},[e.halfIncrements?i(J,null,[i(v,{value:p-.5,index:k*2},null),i(v,{value:p,index:k*2+1},null)]):i(v,{value:p,index:k},null)]),y&&e.itemLabelPosition==="bottom"?c({value:p,index:k,label:(_=e.itemLabels)==null?void 0:_[k]}):void 0])})]})}),{}}});const so=N({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...Tt(),...Bt()},"VTextarea"),uo=W()({name:"VTextarea",directives:{Intersect:sn},inheritAttrs:!1,props:so(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,o){let{attrs:n,emit:t,slots:l}=o;const a=ue(e,"modelValue"),{isFocused:r,focus:u,blur:f}=Et(e),d=m(()=>typeof e.counterValue=="function"?e.counterValue(a.value):(a.value||"").toString().length),g=m(()=>{if(n.maxlength)return n.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter});function s(I,D){var O,B;!e.autofocus||!I||(B=(O=D[0].target)==null?void 0:O.focus)==null||B.call(O)}const h=R(),v=R(),c=K(""),y=R(),b=m(()=>e.persistentPlaceholder||r.value||e.active);function p(){var I;y.value!==document.activeElement&&((I=y.value)==null||I.focus()),r.value||u()}function k(I){p(),t("click:control",I)}function A(I){t("mousedown:control",I)}function _(I){I.stopPropagation(),p(),de(()=>{a.value="",cn(e["onClick:clear"],I)})}function V(I){var O;const D=I.target;if(a.value=D.value,(O=e.modelModifiers)!=null&&O.trim){const B=[D.selectionStart,D.selectionEnd];de(()=>{D.selectionStart=B[0],D.selectionEnd=B[1]})}}const w=R(),x=R(+e.rows),S=m(()=>["plain","underlined"].includes(e.variant));yn(()=>{e.autoGrow||(x.value=+e.rows)});function $(){e.autoGrow&&de(()=>{if(!w.value||!v.value)return;const I=getComputedStyle(w.value),D=getComputedStyle(v.value.$el),O=parseFloat(I.getPropertyValue("--v-field-padding-top"))+parseFloat(I.getPropertyValue("--v-input-padding-top"))+parseFloat(I.getPropertyValue("--v-field-padding-bottom")),B=w.value.scrollHeight,F=parseFloat(I.lineHeight),q=Math.max(parseFloat(e.rows)*F+O,parseFloat(D.getPropertyValue("--v-input-control-height"))),H=parseFloat(e.maxRows)*F+O||1/0,L=Lt(B??0,q,H);x.value=Math.floor((L-O)/F),c.value=re(L)})}be($),j(a,$),j(()=>e.rows,$),j(()=>e.maxRows,$),j(()=>e.density,$);let P;return j(w,I=>{I?(P=new ResizeObserver($),P.observe(w.value)):P==null||P.disconnect()}),pe(()=>{P==null||P.disconnect()}),X(()=>{const I=!!(l.counter||e.counter||e.counterValue),D=!!(I||l.details),[O,B]=un(n),[{modelValue:F,...q}]=Qe.filterProps(e),[H]=Bn(e);return i(Qe,Z({ref:h,modelValue:a.value,"onUpdate:modelValue":L=>a.value=L,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-text-field--plain-underlined":S.value},e.class],style:e.style},O,q,{centerAffix:x.value===1&&!S.value,focused:r.value}),{...l,default:L=>{let{isDisabled:M,isDirty:E,isReadonly:Y,isValid:z}=L;return i(Mt,Z({ref:v,style:{"--v-textarea-control-height":c.value},onClick:k,onMousedown:A,"onClick:clear":_,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:"textbox"},H,{active:b.value||E.value,centerAffix:x.value===1&&!S.value,dirty:E.value||e.dirty,disabled:M.value,focused:r.value,error:z.value===!1}),{...l,default:ne=>{let{props:{class:ce,...fe}}=ne;return i(J,null,[e.prefix&&i("span",{class:"v-text-field__prefix"},[e.prefix]),Ce(i("textarea",Z({ref:y,class:ce,value:a.value,onInput:V,autofocus:e.autofocus,readonly:Y.value,disabled:M.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:p,onBlur:f},fe,B),null),[[kt("intersect"),{handler:s},null,{once:!0}]]),e.autoGrow&&Ce(i("textarea",{class:[ce,"v-textarea__sizer"],"onUpdate:modelValue":U=>a.value=U,ref:w,readonly:!0,"aria-hidden":"true"},null),[[$a,a.value]]),e.suffix&&i("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:D?L=>{var M;return i(J,null,[(M=l.details)==null?void 0:M.call(l,L),I&&i(J,null,[i("span",null,null),i(Ln,{active:e.persistentCounter||r.value,value:d.value,max:g.value},l.counter)])])}:void 0})}),tt({},h,v,y)}}),co={props:{LikeDialog:{type:Boolean,default:!1}},setup(e,o){const n=R({nowcomment:{comment:""},nowrating:[]});function t(){Nt.get("api/feedback/feedbackdata/").then(f=>{if(n.value=f.data,n.value.nowrating.length==0)for(let d of n.value.basecrit)n.value.nowrating.push({rating:d.rating,crit:d.id,id:null});n.value.nowcomment===null&&(n.value.nowcomment={comment:"",id:null})})}be(()=>{t()});const l=m(()=>{const d=n.value.nowrating.reduce((s,h)=>s+h.rating,0)/n.value.nowrating.length;return Number.isInteger(d)?d:d.toFixed(1)});function a(){let f="";return l.value>0&&l.value<=3?f="УПС-С! Мы обязательно все исправим":l.value>2&&l.value<=4?f="Спасибо за обратную связь, мы обратим на это внимание":l.value>4&&l.value<5?f="Класс, будем стараться до 5":f="Спасибо за отзыв и высокую оценку ^__^",f}function r(){o.emit("menusClose")}function u(){Nt.post("api/feedback/feedbackdata/",{nowrating:n.value.nowrating,nowcomment:n.value.nowcomment}).then(f=>{}),r()}return{feedbackdata:n,average:l,menusCloses:r,myLabel:a,feedSend:u}}},vo=se("span",{class:"text-h5"},"Обратная связь",-1),fo={key:0,class:"pl-5"},mo={class:"font-weight-black"};function go(e,o,n,t,l,a){return G(),ae(ot,{class:"pt-2"},{default:C(()=>[i(_t,null,{default:C(()=>[vo]),_:1}),i(It,{class:"px-2 py-0"},{default:C(()=>[i(wn,null,{default:C(()=>[i(Ae,null,{default:C(()=>[i(ge,{class:"flex-grow-0 py-0 text-no-wrap align-self-center text-button"},{default:C(()=>[oe(" Оцените сайт ")]),_:1}),i(Be)]),_:1}),(G(!0),ie(J,null,Pe(t.feedbackdata.basecrit,(r,u)=>(G(),ae(Ae,{key:u},{default:C(()=>[i(ge,{class:"flex-grow-0 pb-0"},{default:C(()=>[i(he,{size:"large",color:r.color,icon:r.ico},null,8,["color","icon"])]),_:2},1024),i(ge,{class:"pb-0",lg:"3"},{default:C(()=>[oe(_e(r.name),1)]),_:2},1024),i(ge,{class:"py-0"},{default:C(()=>[i(ro,{modelValue:t.feedbackdata.nowrating[u].rating,"onUpdate:modelValue":f=>t.feedbackdata.nowrating[u].rating=f,hover:"","half-increments":"",size:"small",color:"yellow-darken-3"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),i(Be)]),_:2},1024))),128)),i(Ae,{class:"mt-6"},{default:C(()=>[i(ge,{class:"pa-0 px-3"},{default:C(()=>[i(uo,{label:"Ваши комментарии сделают портал лучше","hide-details":"",variant:"outlined",rows:"5","row-height":"15",modelValue:t.feedbackdata.nowcomment.comment,"onUpdate:modelValue":o[0]||(o[0]=r=>t.feedbackdata.nowcomment.comment=r)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),i(At,{class:"pt-0"},{default:C(()=>[t.average<5||t.feedbackdata.nowcomment.id!=null?(G(),ie("small",fo,[oe(" Вы оценили сайт на "),se("span",mo,_e(t.average),1),oe(" "+_e(t.myLabel()),1)])):hn("",!0),i(bn),i(ee,{color:"blue-darken-1",variant:"text",text:"Закрыть",onClick:t.menusCloses},null,8,["onClick"]),i(ee,{color:"blue-darken-1",variant:"text",text:t.feedbackdata.nowcomment.id==null?"Отправить":"Обновить",onClick:t.feedSend},null,8,["text","onClick"])]),_:1})]),_:1})}const yo=He(co,[["render",go]]);const ho=N({...te(),...Ta({fullHeight:!0}),...$e()},"VApp"),bo=W()({name:"VApp",props:ho(),setup(e,o){let{slots:n}=o;const t=Le(e),{layoutClasses:l,layoutStyles:a,getLayoutItem:r,items:u,layoutRef:f}=Na(e),{rtlClasses:d}=Ue();return X(()=>{var g;return i("div",{ref:f,class:["v-application",t.themeClasses.value,l.value,d.value,e.class],style:[a.value,e.style]},[i("div",{class:"v-application__wrap"},[(g=n.default)==null?void 0:g.call(n)])])}),{getLayoutItem:r,items:u,theme:t}}});const po=N({text:String,...te(),...we()},"VToolbarTitle"),Gn=W()({name:"VToolbarTitle",props:po(),setup(e,o){let{slots:n}=o;return X(()=>{const t=!!(n.default||n.text||e.text);return i(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var l;return[t&&i("div",{class:"v-toolbar-title__placeholder"},[n.text?n.text():e.text,(l=n.default)==null?void 0:l.call(n)])]}})}),{}}}),wo=[null,"prominent","default","comfortable","compact"],Yn=N({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>wo.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...it(),...te(),...rt(),...je(),...we({tag:"header"}),...$e()},"VToolbar"),Xt=W()({name:"VToolbar",props:Yn(),setup(e,o){var v;let{slots:n}=o;const{backgroundColorClasses:t,backgroundColorStyles:l}=De(Q(e,"color")),{borderClasses:a}=st(e),{elevationClasses:r}=ut(e),{roundedClasses:u}=ze(e),{themeClasses:f}=Le(e),{rtlClasses:d}=Ue(),g=K(!!(e.extended||(v=n.extension)!=null&&v.call(n))),s=m(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),h=m(()=>g.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return Pt({VBtn:{variant:"text"}}),X(()=>{var p;const c=!!(e.title||n.title),y=!!(n.image||e.image),b=(p=n.extension)==null?void 0:p.call(n);return g.value=!!(e.extended||b),i(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},t.value,a.value,r.value,u.value,f.value,d.value,e.class],style:[l.value,e.style]},{default:()=>[y&&i("div",{key:"image",class:"v-toolbar__image"},[n.image?i(Ie,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):i(Rt,{key:"image-img",cover:!0,src:e.image},null)]),i(Ie,{defaults:{VTabs:{height:re(s.value)}}},{default:()=>{var k,A,_;return[i("div",{class:"v-toolbar__content",style:{height:re(s.value)}},[n.prepend&&i("div",{class:"v-toolbar__prepend"},[(k=n.prepend)==null?void 0:k.call(n)]),c&&i(Gn,{key:"title",text:e.title},{text:n.title}),(A=n.default)==null?void 0:A.call(n),n.append&&i("div",{class:"v-toolbar__append"},[(_=n.append)==null?void 0:_.call(n)])])]}}),i(Ie,{defaults:{VTabs:{height:re(h.value)}}},{default:()=>[i(Sn,null,{default:()=>[g.value&&i("div",{class:"v-toolbar__extension",style:{height:re(h.value)}},[b])]})]})]})}),{contentHeight:s,extensionHeight:h}}}),So=N({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function Vo(e){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:n}=o;let t=0;const l=R(null),a=K(0),r=K(0),u=K(0),f=K(!1),d=K(!1),g=m(()=>Number(e.scrollThreshold)),s=m(()=>Lt((g.value-a.value)/g.value||0)),h=()=>{const v=l.value;!v||n&&!n.value||(t=a.value,a.value="window"in v?v.pageYOffset:v.scrollTop,d.value=a.value<t,u.value=Math.abs(a.value-g.value))};return j(d,()=>{r.value=r.value||a.value}),j(f,()=>{r.value=0}),be(()=>{j(()=>e.scrollTarget,v=>{var y;const c=v?document.querySelector(v):window;c&&c!==l.value&&((y=l.value)==null||y.removeEventListener("scroll",h),l.value=c,l.value.addEventListener("scroll",h,{passive:!0}))},{immediate:!0})}),pe(()=>{var v;(v=l.value)==null||v.removeEventListener("scroll",h)}),n&&j(n,h,{immediate:!0}),{scrollThreshold:g,currentScroll:a,currentThreshold:u,isScrollActive:f,scrollRatio:s,isScrollingUp:d,savedScroll:r}}const xo=N({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...Yn(),...xn(),...So(),height:{type:[Number,String],default:64}},"VAppBar"),Co=W()({name:"VAppBar",props:xo(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:n}=o;const t=R(),l=ue(e,"modelValue"),a=m(()=>{var k;const p=new Set(((k=e.scrollBehavior)==null?void 0:k.split(" "))??[]);return{hide:p.has("hide"),inverted:p.has("inverted"),collapse:p.has("collapse"),elevate:p.has("elevate"),fadeImage:p.has("fade-image")}}),r=m(()=>{const p=a.value;return p.hide||p.inverted||p.collapse||p.elevate||p.fadeImage||!l.value}),{currentScroll:u,scrollThreshold:f,isScrollingUp:d,scrollRatio:g}=Vo(e,{canScroll:r}),s=m(()=>e.collapse||a.value.collapse&&(a.value.inverted?g.value>0:g.value===0)),h=m(()=>e.flat||a.value.elevate&&(a.value.inverted?u.value>0:u.value===0)),v=m(()=>a.value.fadeImage?a.value.inverted?1-g.value:g.value:void 0),c=m(()=>{var A,_;if(a.value.hide&&a.value.inverted)return 0;const p=((A=t.value)==null?void 0:A.contentHeight)??0,k=((_=t.value)==null?void 0:_.extensionHeight)??0;return p+k});gt(m(()=>!!e.scrollBehavior),()=>{yn(()=>{a.value.hide?a.value.inverted?l.value=u.value>f.value:l.value=d.value||u.value<f.value:l.value=!0})});const{ssrBootStyles:y}=ct(),{layoutItemStyles:b}=Cn({id:e.name,order:m(()=>parseInt(e.order,10)),position:Q(e,"location"),layoutSize:c,elementSize:K(void 0),active:l,absolute:Q(e,"absolute")});return X(()=>{const[p]=Xt.filterProps(e);return i(Xt,Z({ref:t,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...b.value,"--v-toolbar-image-opacity":v.value,height:void 0,...y.value},e.style]},p,{collapse:s.value,flat:h.value}),n)}),{}}}),$o=N({...Ba({icon:"$menu",variant:"text"})},"VAppBarNavIcon"),ko=W()({name:"VAppBarNavIcon",props:$o(),setup(e,o){let{slots:n}=o;return X(()=>i(ee,Z(e,{class:["v-app-bar-nav-icon"]}),n)),{}}});const _o=N({scrollable:Boolean,...te(),...we({tag:"main"})},"VMain"),Io=W()({name:"VMain",props:_o(),setup(e,o){let{slots:n}=o;const{mainStyles:t}=Da(),{ssrBootStyles:l}=ct();return X(()=>i(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[t.value,l.value,e.style]},{default:()=>{var a,r;return[e.scrollable?i("div",{class:"v-main__scroller"},[(a=n.default)==null?void 0:a.call(n)]):(r=n.default)==null?void 0:r.call(n)]}})),{}}});function Ao(e){let{rootEl:o,isSticky:n,layoutItemStyles:t}=e;const l=K(!1),a=K(0),r=m(()=>{const d=typeof l.value=="boolean"?"top":l.value;return[n.value?{top:"auto",bottom:"auto",height:void 0}:void 0,l.value?{[d]:re(a.value)}:{top:t.value.top}]});be(()=>{j(n,d=>{d?window.addEventListener("scroll",f,{passive:!0}):window.removeEventListener("scroll",f)},{immediate:!0})}),pe(()=>{window.removeEventListener("scroll",f)});let u=0;function f(){const d=u>window.scrollY?"up":"down",g=o.value.getBoundingClientRect(),s=parseFloat(t.value.top??0),h=window.scrollY-Math.max(0,a.value-s),v=g.height+Math.max(a.value,s)-window.scrollY-window.innerHeight,c=parseFloat(getComputedStyle(o.value).getPropertyValue("--v-body-scroll-y"))||0;g.height<window.innerHeight-s?(l.value="top",a.value=s):d==="up"&&l.value==="bottom"||d==="down"&&l.value==="top"?(a.value=window.scrollY+g.top-c,l.value=!0):d==="down"&&v<=0?(a.value=0,l.value="bottom"):d==="up"&&h<=0&&(c?l.value!=="top"&&(a.value=-h+c+s,l.value="top"):(a.value=g.top+h,l.value="top")),u=window.scrollY}return{isStuck:l,stickyStyles:r}}const Po=100,Ro=20;function Zt(e){const o=1.41421356237;return(e<0?-1:1)*Math.sqrt(Math.abs(e))*o}function Qt(e){if(e.length<2)return 0;if(e.length===2)return e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t);let o=0;for(let n=e.length-1;n>0;n--){if(e[n].t===e[n-1].t)continue;const t=Zt(o),l=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);o+=(l-t)*Math.abs(l),n===e.length-1&&(o*=.5)}return Zt(o)*1e3}function Lo(){const e={};function o(l){Array.from(l.changedTouches).forEach(a=>{(e[a.identifier]??(e[a.identifier]=new ka(Ro))).push([l.timeStamp,a])})}function n(l){Array.from(l.changedTouches).forEach(a=>{delete e[a.identifier]})}function t(l){var d;const a=(d=e[l])==null?void 0:d.values().reverse();if(!a)throw new Error(`No samples for touch id ${l}`);const r=a[0],u=[],f=[];for(const g of a){if(r[0]-g[0]>Po)break;u.push({t:g[0],d:g[1].clientX}),f.push({t:g[0],d:g[1].clientY})}return{x:Qt(u),y:Qt(f),get direction(){const{x:g,y:s}=this,[h,v]=[Math.abs(g),Math.abs(s)];return h>v&&g>=0?"right":h>v&&g<=0?"left":v>h&&s>=0?"down":v>h&&s<=0?"up":Oo()}}}return{addMovement:o,endTouch:n,getVelocity:t}}function Oo(){throw new Error}function Eo(e){let{isActive:o,isTemporary:n,width:t,touchless:l,position:a}=e;be(()=>{window.addEventListener("touchstart",p,{passive:!0}),window.addEventListener("touchmove",k,{passive:!1}),window.addEventListener("touchend",A,{passive:!0})}),pe(()=>{window.removeEventListener("touchstart",p),window.removeEventListener("touchmove",k),window.removeEventListener("touchend",A)});const r=m(()=>["left","right"].includes(a.value)),{addMovement:u,endTouch:f,getVelocity:d}=Lo();let g=!1;const s=K(!1),h=K(0),v=K(0);let c;function y(V,w){return(a.value==="left"?V:a.value==="right"?document.documentElement.clientWidth-V:a.value==="top"?V:a.value==="bottom"?document.documentElement.clientHeight-V:Oe())-(w?t.value:0)}function b(V){let w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const x=a.value==="left"?(V-v.value)/t.value:a.value==="right"?(document.documentElement.clientWidth-V-v.value)/t.value:a.value==="top"?(V-v.value)/t.value:a.value==="bottom"?(document.documentElement.clientHeight-V-v.value)/t.value:Oe();return w?Math.max(0,Math.min(1,x)):x}function p(V){if(l.value)return;const w=V.changedTouches[0].clientX,x=V.changedTouches[0].clientY,S=25,$=a.value==="left"?w<S:a.value==="right"?w>document.documentElement.clientWidth-S:a.value==="top"?x<S:a.value==="bottom"?x>document.documentElement.clientHeight-S:Oe(),P=o.value&&(a.value==="left"?w<t.value:a.value==="right"?w>document.documentElement.clientWidth-t.value:a.value==="top"?x<t.value:a.value==="bottom"?x>document.documentElement.clientHeight-t.value:Oe());($||P||o.value&&n.value)&&(g=!0,c=[w,x],v.value=y(r.value?w:x,o.value),h.value=b(r.value?w:x),f(V),u(V))}function k(V){const w=V.changedTouches[0].clientX,x=V.changedTouches[0].clientY;if(g){if(!V.cancelable){g=!1;return}const $=Math.abs(w-c[0]),P=Math.abs(x-c[1]);(r.value?$>P&&$>3:P>$&&P>3)?(s.value=!0,g=!1):(r.value?P:$)>3&&(g=!1)}if(!s.value)return;V.preventDefault(),u(V);const S=b(r.value?w:x,!1);h.value=Math.max(0,Math.min(1,S)),S>1?v.value=y(r.value?w:x,!0):S<0&&(v.value=y(r.value?w:x,!1))}function A(V){if(g=!1,!s.value)return;u(V),s.value=!1;const w=d(V.changedTouches[0].identifier),x=Math.abs(w.x),S=Math.abs(w.y);(r.value?x>S&&x>400:S>x&&S>3)?o.value=w.direction===({left:"right",right:"left",top:"down",bottom:"up"}[a.value]||Oe()):o.value=h.value>.5}const _=m(()=>s.value?{transform:a.value==="left"?`translateX(calc(-100% + ${h.value*t.value}px))`:a.value==="right"?`translateX(calc(100% - ${h.value*t.value}px))`:a.value==="top"?`translateY(calc(-100% + ${h.value*t.value}px))`:a.value==="bottom"?`translateY(calc(100% - ${h.value*t.value}px))`:Oe(),transition:"none"}:void 0);return{isDragging:s,dragProgress:h,dragStyles:_}}function Oe(){throw new Error}const Bo=["start","end","left","right","top","bottom"],Mo=N({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>Bo.includes(e)},sticky:Boolean,...it(),...te(),...rt(),...xn(),...je(),...we({tag:"nav"}),...$e()},"VNavigationDrawer"),en=W()({name:"VNavigationDrawer",props:Mo(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,o){let{attrs:n,emit:t,slots:l}=o;const{isRtl:a}=Ue(),{themeClasses:r}=Le(e),{borderClasses:u}=st(e),{backgroundColorClasses:f,backgroundColorStyles:d}=De(Q(e,"color")),{elevationClasses:g}=ut(e),{mobile:s}=_a(),{roundedClasses:h}=ze(e),v=Ia(),c=ue(e,"modelValue",null,M=>!!M),{ssrBootStyles:y}=ct(),{scopeId:b}=Vt(),p=R(),k=K(!1),A=m(()=>e.rail&&e.expandOnHover&&k.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),_=m(()=>Aa(e.location,a.value)),V=m(()=>!e.permanent&&(s.value||e.temporary)),w=m(()=>e.sticky&&!V.value&&_.value!=="bottom");e.expandOnHover&&e.rail!=null&&j(k,M=>t("update:rail",!M)),e.disableResizeWatcher||j(V,M=>!e.permanent&&de(()=>c.value=!M)),!e.disableRouteWatcher&&v&&j(v.currentRoute,()=>V.value&&(c.value=!1)),j(()=>e.permanent,M=>{M&&(c.value=!0)}),St(()=>{e.modelValue!=null||V.value||(c.value=e.permanent||!s.value)});const{isDragging:x,dragProgress:S,dragStyles:$}=Eo({isActive:c,isTemporary:V,width:A,touchless:Q(e,"touchless"),position:_}),P=m(()=>{const M=V.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):A.value;return x.value?M*S.value:M}),{layoutItemStyles:I,layoutItemScrimStyles:D}=Cn({id:e.name,order:m(()=>parseInt(e.order,10)),position:_,layoutSize:P,elementSize:A,active:m(()=>c.value||x.value),disableTransitions:m(()=>x.value),absolute:m(()=>e.absolute||w.value&&typeof O.value!="string")}),{isStuck:O,stickyStyles:B}=Ao({rootEl:p,isSticky:w,layoutItemStyles:I}),F=De(m(()=>typeof e.scrim=="string"?e.scrim:null)),q=m(()=>({...x.value?{opacity:S.value*.2,transition:"none"}:void 0,...D.value}));Pt({VList:{bgColor:"transparent"}});function H(){k.value=!0}function L(){k.value=!1}return X(()=>{const M=l.image||e.image;return i(J,null,[i(e.tag,Z({ref:p,onMouseenter:H,onMouseleave:L,class:["v-navigation-drawer",`v-navigation-drawer--${_.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":k.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":V.value,"v-navigation-drawer--active":c.value,"v-navigation-drawer--sticky":w.value},r.value,f.value,u.value,g.value,h.value,e.class],style:[d.value,I.value,$.value,y.value,B.value,e.style]},b,n),{default:()=>{var E,Y,z,ne;return[M&&i("div",{key:"image",class:"v-navigation-drawer__img"},[l.image?(E=l.image)==null?void 0:E.call(l,{image:e.image}):i("img",{src:e.image,alt:""},null)]),l.prepend&&i("div",{class:"v-navigation-drawer__prepend"},[(Y=l.prepend)==null?void 0:Y.call(l)]),i("div",{class:"v-navigation-drawer__content"},[(z=l.default)==null?void 0:z.call(l)]),l.append&&i("div",{class:"v-navigation-drawer__append"},[(ne=l.append)==null?void 0:ne.call(l)])]}}),i(Pa,{name:"fade-transition"},{default:()=>[V.value&&(x.value||c.value)&&!!e.scrim&&i("div",Z({class:["v-navigation-drawer__scrim",F.backgroundColorClasses.value],style:[q.value,F.backgroundColorStyles.value],onClick:()=>c.value=!1},b),null)]})])}),{isStuck:O}}});const To=N({id:String,text:String,...Ra(nn({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),Do=W()({name:"VTooltip",props:To(),emits:{"update:modelValue":e=>!0},setup(e,o){let{slots:n}=o;const t=ue(e,"modelValue"),{scopeId:l}=Vt(),a=Re(),r=m(()=>e.id||`v-tooltip-${a}`),u=R(),f=m(()=>e.location.split(" ").length>1?e.location:e.location+" center"),d=m(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),g=m(()=>e.transition?e.transition:t.value?"scale-transition":"fade-transition"),s=m(()=>Z({"aria-describedby":r.value},e.activatorProps));return X(()=>{const[h]=We.filterProps(e);return i(We,Z({ref:u,class:["v-tooltip",e.class],style:e.style,id:r.value},h,{modelValue:t.value,"onUpdate:modelValue":v=>t.value=v,transition:g.value,absolute:!0,location:f.value,origin:d.value,persistent:!0,role:"tooltip",activatorProps:s.value,_disableGlobalStack:!0},l),{activator:n.activator,default:function(){var b;for(var v=arguments.length,c=new Array(v),y=0;y<v;y++)c[y]=arguments[y];return((b=n.default)==null?void 0:b.call(n,...c))??e.text}})}),tt({},u)}}),Fo={components:{AuthForm:Il,OnlineUsers:oo,CardUsers:Hn,CardLike:yo},mixins:[La],setup(){const e=dn(),o=Oa(),n=ja(),t=lt(),l=R(!0),a=R(!0),r=R(!1),u=R(!1),f=()=>{o.global.name.value=o.global.current.value.dark?"light":"dark"};n.loadlinks();const d=[{name:"Главная",ico:"mdi-home",path:"/home"},{name:"Структура",ico:"mdi-source-branch",path:"/structure"},{name:"Сотрудники",ico:"mdi-account-multiple-outline",submenu:[{name:"Справочник",link:"http://10.252.44.33/accounting6/members.php"}]},{name:"Деятельность",ico:"mdi-bulletin-board",submenu:[{name:"Обеспечивающая",path:"/providing"}]},{name:"Безопасность",ico:"mdi-routes",path:"/securyty"},{name:"О портале",ico:"mdi-information-variant",path:"/portal"},{name:"Об инспекции",ico:"mdi-city",path:"/inspection"}],g=m(()=>new URL("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAgCAYAAAAFQMh/AAAAAXNSR0IB2cksfwAAAAlwSFlzAAAuIwAALiMBeKU/dgAACa9JREFUeJylVwtQlNcV3qRJY5ymEzXpI9U0SZNqUpsm0yRmknEmZlKbVk3SJIpTTSbNGEB5xycYK8pbfCAiooC8xADLy32y4MousLyfyhvcBXYXljc/7LIPYL+e+wuWZOLUae7MN3vn/uec795zzz3nrEBwP8NV/BvCLkIJQb/EXeJ4xF2Ch9wkeNxD6njAVWyY//YVL/ujh6v4WUIqwbLKR443AorgdqYMBy/XwjO2Al+eLMHFwk5sOqrEtjMavL1fAZKdntd59v8hfIjgR6eyLN0tYcbw8qEiiKt6kVTUhVRlN9LVWgRl3cRZWQeS5G3wT65FrKgFwZlNWHugkOlYCL68rfsk/SlBtmKP1BmWfQtB3zbyxAz+yXXYGFGK98NL8dnZcnjEVWFzZBmdvhKJ8nYcvdqIgJQ6BGc0IUx4Ey96y5ykJ+Vt3gdpxT9Di7EluBgh2c2IV97GWnLh1nA1vFLqkV3Zh7QKPUSNA7hW34+Ucj1yaM0ruQE7aTOvkGeiJG24pOjELrqWzcdusE1X3JvcVfwg4dqTe6T4Or4aIjLqTUSfn9UgJK8V6rYhjE7Z4ZidAxtDI2M82HDMOjFqtvMygTnNcL9UDdeL1cio1CNS3LbgMRHP8QPEu9b4yJ0h5N7AK/UIobv65GQZcqr0GORssNkdPInT6YRl2opcuYoHm7M1NpjM8KQdQtLZEVOJMHE73Ok6DpP7nybbfNR/j/TXP3GXTO4IU/GuPE73upVI8+qMsDlm0WswoUBVieHRcfQaTZiYnMKpS1d5cJNmfo19YzJM1jEzh+xaIz4+paFA7EKGpge/olfx8G7JJONaTBz15sFC+CfW4ET2TWyNLKWTGtDS2YsewwCkN8pRWd+M8tpbiErI5NdKqxt5sDlbY9+YDJNla23dvcgiVzOvhZH3YmXt+DhExVwetUD6BCWBiQ8iSpCm0uIYRebxnBYYRy0orWpESrYMur5+jE1MQii9gaCzSYi/eg02m50Hm7M19o3JMFmmw3QHxix05y04kFANSa2eP9Bj3nKOcTLij1xCVUgv0cH/ahO2UyJQUZBYyWiKUIbg6CTIiytgGhqFqKiUNxoWk4qG5g4ebM7W2Dcmw2SZDtNlNljA7YzSYN0BPrngATc+0D4S0ET+kp8c4RRUX5yvhHdqA8YoQqfMFpxNzMSxM4lkKBk5smJwU2a6vxnkFahxITWXR76ihF9j35gMk2U6TJfZGLc46HU08KQPE+mD9LvMt6BIsMxHrnOLqUCqoh0uLKCqDZih5zHOTeJMfAZvhOF41GWoKur5U2STW0POJfNgc7bGvjGZBXmmy2zMzDn5l7E1pBgn6GkdpCT0uE+BTvCEt2yaZaeMUh02HCuGsLaffxpMKfpy1l1DDEpNLbS9BoIRbV06dOn60KPv5+fs22JZpstssCGs6YdrXDW2RajxAWW+n3vKrILVvjJE5zdjJ93tvyhZNOjuJAU7vclkofQ7xmKSs6FQVaDfNAyh5DrU5XX8M8qmOfu2WJbp2ufffp12DF9RWmU8vlRgVnrJIFi3rwB5Gh2ExV3YRS5vN3BYGC0dWj5QFhu8kiOjk+qRmCFGZFw6DAODOJ8kRFBUAhLjTiMqJpbXYboLo93IwfV8BUIpji5e78afvi6AYI2f3OlyWoMvYqvgfqEKZR0jdxWs1mlIc9OQnBiLsPOpvPtYJBtNQ8gSX4eQwIg19J5jkjIhTQvFkGwbqovSYJ0237XDbO6hDOZJqdSNXP6kF2Wxtw5fN8eKWxEna8OehFpk1RjnU+McuM5sjNRFob8kEFV1Dei43YtObR8GBkeQlCkhdyt5V7dWKWAqj0CDJAzj5fsx3nwZU+VemLMv3LER7wTe4JNIBFWtlfsLzYLfHVb2+MdX4aSknd5xI1LVOkqTc5ibtWOiMRpmbgjmCh+M9dXz9xpDbu3o7kE7oa1Ti5b2LjTkH4HoWj6Gbpdh9GYCxqqDYDE10O7nYKP0maLS8RnMK7EWm8NK8JC7pFnw9glNwT668KO5rUijyN6f3gTThJWdGVy3CCZNEMab4sA1J6Im5wjSkmLRZzAiPU8BeWY02hX/xoBsO4qFwRjRlsBsaoKl5gAcrdHMbRgYt8KDCA9/28Qnpr+GqPGgmyRZ8N6Zis3LKMpe8y+CL+XqHafLkEuuoefHVx3mcrYJNrhhLbiWy9CXhENy5QTa8vegsyYXXM1xDJUdgYPTwdocjWljGcw6KdlwIp+KxabwEhwVNuMcdSvP7+Mz2JuCU0W3f7ExUjNxlhXvom78he7Ch3aoG/pvcCwMy3A7WjTpaBf7oUfqhsnCLWgVH8CoygODleEYU+6ARSvC3IwVs45pdJum4JdUjyCq0ZepXdpw9AZeCFCaiHipgOw9sCOh/vRTfgUIIHfk1xjwt6BihFItHaHUuXhoq9NRkuEPo9QFTaL9KJPEQ50RCK34S1iUH4LT+MBuufMqRqhpiJR2YEOwCkeybsGPUvFOKhJ/PKY6tLgsLn35uHowgnYmphr8Hu3sLf9CRBd0YXjKPh/ls+CMdTA1pKJFnYRckRSZouuovdmGsSEDrAYlzH3qO93JpA3Rii5spAMkF99GIp32CW85XjmmHvw6q2X5d3qBtYGqd9cGKJ3vUgv7M/c7neVrVFFCr7WhqnuUb3mcszbMmAcwO+MAR97oHpjEuNmGiSkbBikgb5NrayhLRZK3Xqf6vow61O3UXBxJq8czh4rmPomr3fKDbdferJZvl5PLF7pKhqc8pajpHEKXYQKtlNXY3Y9w00Rop2IyxwKXDz2zbYbvVgzDZrxBgbrYxmOUMNZHasLu2WSS/soTiu62J/cq7iot95RBa5zgCViUMjAiK5EMUqGv6hhCNW1syurAKGdFR+8oHpnvxRke9ZQ5f+t/PfqepIvI/3ylynDrpaPFvOK6gwrspn8Nksoe6AY4dOjHcY1yu++FSizzkPIyv3QXwSWyBI9Sh+pOKXGBdImH1L7CT+H3P0nniR8lrG7Sc6Ivkhpsnx6Q4u9eed9xHcOKXfnY8Vkqgj6MwN4PwvDcl9n49PM0bAtRghpHJzUYN0nu5fsi/d4GVkw7Znfq5BUdDe98hvNbQhGw/SK+cbmIuE3HUfv6duifexWjK59H65r1aHz1H+hb/z5SD2cYifDj+//rco9hTkw6OfaHOwSDT6/B4KrV/Hx01QsYeOZFdKx6EX20Nr5xEzi//bO2QuWnP4pwYVhz85dbos5FcV6+3Zyn7wzn4e2cPBgwMR2fUDTyTaB10MvXNh4YXGC5lLjBmnLl97O9+iX3Y/c/fUJPxpmc/zEAAAAASUVORK5CYII=",self.location).href);return{theme:o,mainmenuStore:n,accountStore:t,drawer:l,drawer_right:a,toggleTheme:f,navigations:d,imageSrc:g,getcard:async()=>{r.value=!0},menuGetUserDialog:r,LikeDialog:u,appStore:e}}},No=["src"],jo=se("span",null,"F.A.Q.",-1),zo={class:"mystat d-flex flex-column"};function Uo(e,o,n,t,l,a){const r=Ee("Card-users"),u=Ee("Card-like"),f=Ee("Auth-form"),d=Ee("router-view"),g=Ee("Online-users");return G(),ae(bo,null,{default:C(()=>[i(Co,{elevation:2,density:"compact",color:"teal-darken-4"},{image:C(()=>[i(Rt,{gradient:"to top right, rgba(19,84,122,.8), rgba(128,208,199,.8)"})]),append:C(()=>[t.accountStore.cod2user?(G(),ie(J,{key:0},[i(ot,{border:"",class:"bg-transparent",density:"compact","prepend-avatar":t.accountStore.user.photo,title:t.accountStore.user.fio,subtitle:t.accountStore.user.post,variant:"text",onClick:t.getcard},null,8,["prepend-avatar","title","subtitle","onClick"]),i(Ze,{modelValue:t.menuGetUserDialog,"onUpdate:modelValue":o[2]||(o[2]=s=>t.menuGetUserDialog=s),persistent:"",width:"600"},{default:C(()=>[i(r,{menuGetUserDialog:t.menuGetUserDialog,loging:t.accountStore.user.login,onMenusClose:o[1]||(o[1]=s=>t.menuGetUserDialog=!1)},null,8,["menuGetUserDialog","loging"])]),_:1},8,["modelValue"]),i(Do,{location:"bottom"},{activator:C(({props:s})=>[i(ee,Z(s,{dark:"",to:"/faq",icon:"mdi-comment-question-outline"}),null,16)]),default:C(()=>[jo]),_:1}),i(Ze,{modelValue:t.LikeDialog,"onUpdate:modelValue":o[4]||(o[4]=s=>t.LikeDialog=s),persistent:"",width:"800"},{activator:C(({props:s})=>[i(ee,Z(s,{dark:"",icon:"mdi-thumb-up-outline"}),null,16)]),default:C(()=>[i(u,{LikeDialog:t.LikeDialog,onMenusClose:o[3]||(o[3]=s=>t.LikeDialog=!1)},null,8,["LikeDialog"])]),_:1},8,["modelValue"]),i(ee,{icon:"",onClick:t.toggleTheme},{default:C(()=>[i(he,{class:"mr-1",color:"lampa"},{default:C(()=>[oe(" mdi-lightbulb-outline ")]),_:1})]),_:1},8,["onClick"]),i(ee,{dark:"",icon:"mdi-magnify"}),i(ee,{dark:"",icon:"mdi-account-multiple-outline",onClick:o[5]||(o[5]=s=>t.drawer_right=!t.drawer_right)}),i(ee,{dark:"",icon:"mdi-logout",onClick:t.accountStore.logout},null,8,["onClick"])],64)):(G(),ae(Ae,{key:1,justify:"center"},{default:C(()=>[i(f)]),_:1}))]),default:C(()=>[i(ko,{onClick:o[0]||(o[0]=s=>t.drawer=!t.drawer)},{default:C(()=>[se("img",{style:{cursor:"pointer"},src:t.imageSrc},null,8,No)]),_:1}),i(Gn,null,{default:C(()=>[oe(" Портал МиФНС по ЦОД № 2 ")]),_:1})]),_:1}),i(en,{modelValue:t.drawer,"onUpdate:modelValue":o[6]||(o[6]=s=>t.drawer=s)},{default:C(()=>[i(Be),i(et,{nav:"",density:"compact"},{default:C(()=>[(G(!0),ie(J,null,Pe(t.navigations,(s,h)=>(G(),ie(J,null,["submenu"in s?(G(),ae(pt,{key:h,value:s.name},{activator:C(({props:v})=>[i(ye,Z(v,{title:s.name,"prepend-icon":s.ico}),null,16,["title","prepend-icon"])]),default:C(()=>[(G(!0),ie(J,null,Pe(s.submenu,(v,c)=>(G(),ae(ye,{href:v.link,key:c,value:v.name,title:v.name,to:v.path},null,8,["href","value","title","to"]))),128))]),_:2},1032,["value"])):(G(),ae(ye,{key:s.name,title:s.name,value:s.name,href:s.link,to:s.path,color:"navigation"},{prepend:C(()=>[i(he,{icon:s.ico},null,8,["icon"])]),_:2},1032,["title","value","href","to"]))],64))),256))]),_:1}),i(et,{nav:"",density:"compact"},{default:C(()=>[(G(!0),ie(J,null,Pe(t.mainmenuStore.portallinks,s=>(G(),ae(ye,{key:s.name,title:s.name,value:s.name,href:s.link,color:"teal-darken-4"},{prepend:C(()=>[i(he,{icon:s.imagecode},null,8,["icon"])]),_:2},1032,["title","value","href"]))),128))]),_:1})]),_:1},8,["modelValue"]),i(Io,{class:"d-flex bg-main_theme"},{default:C(()=>[i(d),se("div",zo,[i(ee,{class:"mb-1","prepend-icon":"mdi-wikipedia",size:"small",variant:"outlined",height:"30"},{default:C(()=>[oe(" Wiki ")]),_:1}),i(ee,{height:"30","prepend-icon":"mdi-apple-finder",size:"small",variant:"outlined"},{default:C(()=>[oe(" МС ")]),_:1})])]),_:1}),t.accountStore.cod2user?(G(),ae(en,{key:0,modelValue:t.drawer_right,"onUpdate:modelValue":o[7]||(o[7]=s=>t.drawer_right=s),rail:"",permanent:"",location:"right",onClick:o[8]||(o[8]=s=>e.rail=!1)},{default:C(()=>[i(g)]),_:1},8,["modelValue"])):hn("",!0)]),_:1})}const Ko=He(Fo,[["render",Uo]]);export{Ko as default};
|