add cover

This commit is contained in:
2026-09-10 12:02:06 +07:00
parent 3fe0083593
commit b6c9c8ed55
42 changed files with 76 additions and 58 deletions
@@ -1,4 +1,4 @@
import{A as e,D as t,N as n,it as r,v as i}from"./vue-router-bPs2Bq2h.js";import{B as a,G as o,J as s,K as c,M as l,N as u,V as d,Y as f,Z as p,o as m,r as h,t as g}from"./light-BDe84dgP.js";import{a as _,c as v,r as y}from"./resolve-slot-Cp3m6n7Y.js";import{H as b,I as x,L as S,N as C,P as w,R as T,T as E,w as D,z as O}from"./index-uJsjffF2.js";function k(e){let{lineHeight:t,borderRadius:n,fontWeightStrong:r,baseColor:i,dividerColor:o,actionColor:s,textColor1:c,textColor2:l,closeColorHover:u,closeColorPressed:f,closeIconColor:p,closeIconColorHover:m,closeIconColorPressed:h,infoColor:g,successColor:_,warningColor:v,errorColor:y,fontSize:b}=e;return Object.assign(Object.assign({},E),{fontSize:b,lineHeight:t,titleFontWeight:r,borderRadius:n,border:`1px solid ${o}`,color:s,titleTextColor:c,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:u,closeColorPressed:f,closeIconColor:p,closeIconColorHover:m,closeIconColorPressed:h,borderInfo:`1px solid ${d(i,a(g,{alpha:.25}))}`,colorInfo:d(i,a(g,{alpha:.08})),titleTextColorInfo:c,iconColorInfo:g,contentTextColorInfo:l,closeColorHoverInfo:u,closeColorPressedInfo:f,closeIconColorInfo:p,closeIconColorHoverInfo:m,closeIconColorPressedInfo:h,borderSuccess:`1px solid ${d(i,a(_,{alpha:.25}))}`,colorSuccess:d(i,a(_,{alpha:.08})),titleTextColorSuccess:c,iconColorSuccess:_,contentTextColorSuccess:l,closeColorHoverSuccess:u,closeColorPressedSuccess:f,closeIconColorSuccess:p,closeIconColorHoverSuccess:m,closeIconColorPressedSuccess:h,borderWarning:`1px solid ${d(i,a(v,{alpha:.33}))}`,colorWarning:d(i,a(v,{alpha:.08})),titleTextColorWarning:c,iconColorWarning:v,contentTextColorWarning:l,closeColorHoverWarning:u,closeColorPressedWarning:f,closeIconColorWarning:p,closeIconColorHoverWarning:m,closeIconColorPressedWarning:h,borderError:`1px solid ${d(i,a(y,{alpha:.25}))}`,colorError:d(i,a(y,{alpha:.08})),titleTextColorError:c,iconColorError:y,contentTextColorError:l,closeColorHoverError:u,closeColorPressedError:f,closeIconColorError:p,closeIconColorHoverError:m,closeIconColorPressedError:h})}var A={name:`Alert`,common:g,self:k},j=c(`alert`,`
import{A as e,D as t,N as n,it as r,v as i}from"./vue-router-bPs2Bq2h.js";import{B as a,G as o,J as s,K as c,M as l,N as u,V as d,Y as f,Z as p,o as m,r as h,t as g}from"./light-BDe84dgP.js";import{a as _,c as v,r as y}from"./resolve-slot-Cp3m6n7Y.js";import{H as b,I as x,L as S,N as C,P as w,R as T,T as E,w as D,z as O}from"./index-5AgAVT4o.js";function k(e){let{lineHeight:t,borderRadius:n,fontWeightStrong:r,baseColor:i,dividerColor:o,actionColor:s,textColor1:c,textColor2:l,closeColorHover:u,closeColorPressed:f,closeIconColor:p,closeIconColorHover:m,closeIconColorPressed:h,infoColor:g,successColor:_,warningColor:v,errorColor:y,fontSize:b}=e;return Object.assign(Object.assign({},E),{fontSize:b,lineHeight:t,titleFontWeight:r,borderRadius:n,border:`1px solid ${o}`,color:s,titleTextColor:c,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:u,closeColorPressed:f,closeIconColor:p,closeIconColorHover:m,closeIconColorPressed:h,borderInfo:`1px solid ${d(i,a(g,{alpha:.25}))}`,colorInfo:d(i,a(g,{alpha:.08})),titleTextColorInfo:c,iconColorInfo:g,contentTextColorInfo:l,closeColorHoverInfo:u,closeColorPressedInfo:f,closeIconColorInfo:p,closeIconColorHoverInfo:m,closeIconColorPressedInfo:h,borderSuccess:`1px solid ${d(i,a(_,{alpha:.25}))}`,colorSuccess:d(i,a(_,{alpha:.08})),titleTextColorSuccess:c,iconColorSuccess:_,contentTextColorSuccess:l,closeColorHoverSuccess:u,closeColorPressedSuccess:f,closeIconColorSuccess:p,closeIconColorHoverSuccess:m,closeIconColorPressedSuccess:h,borderWarning:`1px solid ${d(i,a(v,{alpha:.33}))}`,colorWarning:d(i,a(v,{alpha:.08})),titleTextColorWarning:c,iconColorWarning:v,contentTextColorWarning:l,closeColorHoverWarning:u,closeColorPressedWarning:f,closeIconColorWarning:p,closeIconColorHoverWarning:m,closeIconColorPressedWarning:h,borderError:`1px solid ${d(i,a(y,{alpha:.25}))}`,colorError:d(i,a(y,{alpha:.08})),titleTextColorError:c,iconColorError:y,contentTextColorError:l,closeColorHoverError:u,closeColorPressedError:f,closeIconColorError:p,closeIconColorHoverError:m,closeIconColorPressedError:h})}var A={name:`Alert`,common:g,self:k},j=c(`alert`,`
line-height: var(--n-line-height);
border-radius: var(--n-border-radius);
position: relative;
@@ -1,4 +1,4 @@
import{A as e,D as t,L as n,P as r,T as i,U as a,f as o,it as s,j as c,p as l,st as u,v as d}from"./vue-router-bPs2Bq2h.js";import{B as f,G as p,J as m,K as h,M as g,N as _,V as v,X as y,Y as b,Z as x,a as S,i as C,o as w,r as T,z as E}from"./light-BDe84dgP.js";import{a as D,n as O}from"./resolve-slot-Cp3m6n7Y.js";import{n as k,t as A}from"./call-ChHlm4-m.js";import{F as j,J as M,N,V as P,j as F,x as I}from"./index-uJsjffF2.js";var L=typeof document<`u`&&typeof window<`u`;function R(e,t=!0,n=[]){return e.forEach(e=>{if(e!==null){if(typeof e!=`object`){(typeof e==`string`||typeof e==`number`)&&n.push(i(String(e)));return}if(Array.isArray(e)){R(e,t,n);return}if(e.type===l){if(e.children===null)return;Array.isArray(e.children)&&R(e.children,t,n)}else{if(e.type===o&&t)return;n.push(e)}}}),n}var z=E(`n-form-item`);function B(e,{defaultSize:t=`medium`,mergedSize:r,mergedDisabled:i}={}){let o=c(z,null);a(z,null);let s=d(r?()=>r(o):()=>{let{size:n}=e;if(n)return n;if(o){let{mergedSize:e}=o;if(e.value!==void 0)return e.value}return t}),l=d(i?()=>i(o):()=>{let{disabled:t}=e;return t===void 0?o?o.disabled.value:!1:t}),u=d(()=>{let{status:t}=e;return t||o?.mergedValidationStatus.value});return n(()=>{o&&o.restoreValidation()}),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:u,nTriggerFormBlur(){o&&o.handleContentBlur()},nTriggerFormChange(){o&&o.handleContentChange()},nTriggerFormFocus(){o&&o.handleContentFocus()},nTriggerFormInput(){o&&o.handleContentInput()}}}var{cubicBezierEaseInOut:V}=S;function H({duration:e=`.2s`,delay:t=`.1s`}={}){return[p(`&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to`,{opacity:1}),p(`&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from`,`
import{A as e,D as t,L as n,P as r,T as i,U as a,f as o,it as s,j as c,p as l,st as u,v as d}from"./vue-router-bPs2Bq2h.js";import{B as f,G as p,J as m,K as h,M as g,N as _,V as v,X as y,Y as b,Z as x,a as S,i as C,o as w,r as T,z as E}from"./light-BDe84dgP.js";import{a as D,n as O}from"./resolve-slot-Cp3m6n7Y.js";import{n as k,t as A}from"./call-ChHlm4-m.js";import{F as j,J as M,N,V as P,j as F,x as I}from"./index-5AgAVT4o.js";var L=typeof document<`u`&&typeof window<`u`;function R(e,t=!0,n=[]){return e.forEach(e=>{if(e!==null){if(typeof e!=`object`){(typeof e==`string`||typeof e==`number`)&&n.push(i(String(e)));return}if(Array.isArray(e)){R(e,t,n);return}if(e.type===l){if(e.children===null)return;Array.isArray(e.children)&&R(e.children,t,n)}else{if(e.type===o&&t)return;n.push(e)}}}),n}var z=E(`n-form-item`);function B(e,{defaultSize:t=`medium`,mergedSize:r,mergedDisabled:i}={}){let o=c(z,null);a(z,null);let s=d(r?()=>r(o):()=>{let{size:n}=e;if(n)return n;if(o){let{mergedSize:e}=o;if(e.value!==void 0)return e.value}return t}),l=d(i?()=>i(o):()=>{let{disabled:t}=e;return t===void 0?o?o.disabled.value:!1:t}),u=d(()=>{let{status:t}=e;return t||o?.mergedValidationStatus.value});return n(()=>{o&&o.restoreValidation()}),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:u,nTriggerFormBlur(){o&&o.handleContentBlur()},nTriggerFormChange(){o&&o.handleContentChange()},nTriggerFormFocus(){o&&o.handleContentFocus()},nTriggerFormInput(){o&&o.handleContentInput()}}}var{cubicBezierEaseInOut:V}=S;function H({duration:e=`.2s`,delay:t=`.1s`}={}){return[p(`&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to`,{opacity:1}),p(`&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from`,`
opacity: 0!important;
margin-left: 0!important;
margin-right: 0!important;
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{D as e,Dt as t,E as n,Et as r,H as i,Q as a,S as o,T as s,W as c,b as l,it as u,lt as d,o as f,p,y as m}from"./vue-router-bPs2Bq2h.js";import{t as h}from"./Tag-uR4tclwF.js";import{i as g,n as _,t as v}from"./HeaderMenu-DYpd2XW2.js";var y={class:`center-block-custom`},b={class:`width1200 display-table catalog-grid`},x=[`onClick`],S={class:`scenario-content-block`},C={class:`scenario-title`},w={class:`scenario-description`},T={class:`scenario-label`},E=_(e({__name:`CatalogPage`,setup(e){let l=g(),_=u([]),E=f();async function D(){_.value=[];let e=await l.GetScenariosCatalog({});_.value=e.scenarios}async function O(e){E.push(`/scenarios/`+e)}return D(),(e,l)=>(i(),o(p,null,[m(`div`,y,[m(`div`,b,[(i(!0),o(p,null,c(_.value,e=>(i(),o(`div`,{class:`scenario-block`,onClick:t=>O(e.id),key:e.id},[m(`div`,{class:`scenario-image-block scenario-image`,style:r({backgroundImage:`url(${e.image})`})},null,4),m(`div`,S,[m(`p`,C,t(e.name),1),m(`p`,w,t(e.description),1),m(`p`,T,[n(d(h),{bordered:!1,type:`success`,class:`status-block`},{default:a(()=>[s(`Автор: `+t(e.author?.username),1)]),_:2},1024)])])],8,x))),128))])]),n(v,{active:`catalog`})],64))}}),[[`__scopeId`,`data-v-14025c2d`]]),D=e({__name:`CatalogView`,setup(e){return(e,t)=>(i(),l(E))}});export{D as default};
import{D as e,Dt as t,E as n,Et as r,H as i,Q as a,S as o,T as s,W as c,b as l,it as u,lt as d,o as f,p,y as m}from"./vue-router-bPs2Bq2h.js";import{t as h}from"./Tag-BoPQy6kO.js";import{i as g,n as _,t as v}from"./HeaderMenu-DYpd2XW2.js";var y={class:`center-block-custom`},b={class:`width1200 display-table catalog-grid`},x=[`onClick`],S={class:`scenario-content-block`},C={class:`scenario-title`},w={class:`scenario-description`},T={class:`scenario-label`},E=_(e({__name:`CatalogPage`,setup(e){let l=g(),_=u([]),E=f();async function D(){_.value=[];let e=await l.GetScenariosCatalog({});_.value=e.scenarios}async function O(e){E.push(`/scenarios/`+e)}return D(),(e,l)=>(i(),o(p,null,[m(`div`,y,[m(`div`,b,[(i(!0),o(p,null,c(_.value,e=>(i(),o(`div`,{class:`scenario-block`,onClick:t=>O(e.id),key:e.id},[m(`div`,{class:`scenario-image-block scenario-image`,style:r({backgroundImage:`url(${e.image})`})},null,4),m(`div`,S,[m(`p`,C,t(e.name),1),m(`p`,w,t(e.description),1),m(`p`,T,[n(d(h),{bordered:!1,type:`success`,class:`status-block`},{default:a(()=>[s(`Автор: `+t(e.author?.username),1)]),_:2},1024)])])],8,x))),128))])]),n(v,{active:`catalog`})],64))}}),[[`__scopeId`,`data-v-14025c2d`]]),D=e({__name:`CatalogView`,setup(e){return(e,t)=>(i(),l(E))}});export{D as default};
@@ -1 +1 @@
import{D as e,E as t,H as n,S as r,p as i}from"./vue-router-bPs2Bq2h.js";import{t as a}from"./DocsPage-D1ynKA7U.js";import{t as o}from"./HeaderMenu-DYpd2XW2.js";var s=e({__name:`ConsentView`,setup(e){return(e,s)=>(n(),r(i,null,[t(a,{kind:`consent`}),t(o)],64))}});export{s as default};
import{D as e,E as t,H as n,S as r,p as i}from"./vue-router-bPs2Bq2h.js";import{t as a}from"./DocsPage-BK414Zxw.js";import{t as o}from"./HeaderMenu-DYpd2XW2.js";var s=e({__name:`ConsentView`,setup(e){return(e,s)=>(n(),r(i,null,[t(a,{kind:`consent`}),t(o)],64))}});export{s as default};
@@ -1,4 +1,4 @@
import{A as e,D as t,Dt as n,E as r,H as i,Q as a,S as o,T as s,Z as c,b as l,it as u,lt as d,t as f,v as p,y as m,z as h}from"./vue-router-bPs2Bq2h.js";import{G as g,K as _,M as v,N as y,Y as b,Z as x,r as S}from"./light-BDe84dgP.js";import{l as C}from"./resolve-slot-Cp3m6n7Y.js";import{t as w}from"./use-compitable-BcHeQzgm.js";import{t as T}from"./fade-in.cssr-CHZadXSL.js";import{t as E}from"./Alert-DvrG5CJB.js";import{M as D,Y as O,j as k,o as A}from"./index-uJsjffF2.js";import{i as j,n as M}from"./HeaderMenu-DYpd2XW2.js";import{t as N}from"./HeaderText-CmFAI0wA.js";var P=g([g(`@keyframes spin-rotate`,`
import{A as e,D as t,Dt as n,E as r,H as i,Q as a,S as o,T as s,Z as c,b as l,it as u,lt as d,t as f,v as p,y as m,z as h}from"./vue-router-bPs2Bq2h.js";import{G as g,K as _,M as v,N as y,Y as b,Z as x,r as S}from"./light-BDe84dgP.js";import{l as C}from"./resolve-slot-Cp3m6n7Y.js";import{t as w}from"./use-compitable-BcHeQzgm.js";import{t as T}from"./fade-in.cssr-CHZadXSL.js";import{t as E}from"./Alert-D9Ys3fZL.js";import{M as D,Y as O,j as k,o as A}from"./index-5AgAVT4o.js";import{i as j,n as M}from"./HeaderMenu-DYpd2XW2.js";import{t as N}from"./HeaderText-CmFAI0wA.js";var P=g([g(`@keyframes spin-rotate`,`
from {
transform: rotate(0);
}
@@ -1 +1 @@
import{A as e,D as t,v as n}from"./vue-router-bPs2Bq2h.js";import{N as r,Z as i,o as a,r as o}from"./light-BDe84dgP.js";import{o as s,s as c}from"./resolve-slot-Cp3m6n7Y.js";import{s as l}from"./Button-6wrxJwf5.js";import{t as u}from"./get-slot-6kXJmSMP.js";import{l as d}from"./index-uJsjffF2.js";function f(){return d}var p={name:`Flex`,self:f},m=t({name:`Flex`,props:Object.assign(Object.assign({},o.props),{align:String,justify:{type:String,default:`start`},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:`medium`},wrap:{type:Boolean,default:!0}}),setup(e){let{mergedClsPrefixRef:t,mergedRtlRef:l}=r(e),u=o(`Flex`,`-flex`,void 0,p,e,t);return{rtlEnabled:a(`Flex`,l,t),mergedClsPrefix:t,margin:n(()=>{let{size:t}=e;if(Array.isArray(t))return{horizontal:t[0],vertical:t[1]};if(typeof t==`number`)return{horizontal:t,vertical:t};let{self:{[i(`gap`,t)]:n}}=u.value,{row:r,col:a}=c(n);return{horizontal:s(a),vertical:s(r)}})}},render(){let{vertical:t,reverse:n,align:r,inline:i,justify:a,margin:o,wrap:s,mergedClsPrefix:c,rtlEnabled:d}=this,f=l(u(this),!1);return f.length?e(`div`,{role:`none`,class:[`${c}-flex`,d&&`${c}-flex--rtl`],style:{display:i?`inline-flex`:`flex`,flexDirection:t&&!n?`column`:t&&n?`column-reverse`:!t&&n?`row-reverse`:`row`,justifyContent:a,flexWrap:!s||t?`nowrap`:`wrap`,alignItems:r,gap:`${o.vertical}px ${o.horizontal}px`}},f):null}});export{m as t};
import{A as e,D as t,v as n}from"./vue-router-bPs2Bq2h.js";import{N as r,Z as i,o as a,r as o}from"./light-BDe84dgP.js";import{o as s,s as c}from"./resolve-slot-Cp3m6n7Y.js";import{s as l}from"./Button-zUtycQAQ.js";import{t as u}from"./get-slot-6kXJmSMP.js";import{l as d}from"./index-5AgAVT4o.js";function f(){return d}var p={name:`Flex`,self:f},m=t({name:`Flex`,props:Object.assign(Object.assign({},o.props),{align:String,justify:{type:String,default:`start`},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:`medium`},wrap:{type:Boolean,default:!0}}),setup(e){let{mergedClsPrefixRef:t,mergedRtlRef:l}=r(e),u=o(`Flex`,`-flex`,void 0,p,e,t);return{rtlEnabled:a(`Flex`,l,t),mergedClsPrefix:t,margin:n(()=>{let{size:t}=e;if(Array.isArray(t))return{horizontal:t[0],vertical:t[1]};if(typeof t==`number`)return{horizontal:t,vertical:t};let{self:{[i(`gap`,t)]:n}}=u.value,{row:r,col:a}=c(n);return{horizontal:s(a),vertical:s(r)}})}},render(){let{vertical:t,reverse:n,align:r,inline:i,justify:a,margin:o,wrap:s,mergedClsPrefix:c,rtlEnabled:d}=this,f=l(u(this),!1);return f.length?e(`div`,{role:`none`,class:[`${c}-flex`,d&&`${c}-flex--rtl`],style:{display:i?`inline-flex`:`flex`,flexDirection:t&&!n?`column`:t&&n?`column-reverse`:!t&&n?`row-reverse`:`row`,justifyContent:a,flexWrap:!s||t?`nowrap`:`wrap`,alignItems:r,gap:`${o.vertical}px ${o.horizontal}px`}},f):null}});export{m as t};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{$ as e,A as t,D as n,Dt as r,E as i,Et as a,H as o,P as s,Q as c,S as l,T as u,Tt as ee,W as d,X as f,a as te,b as p,it as m,lt as h,o as g,p as _,st as ne,v,x as y,y as b}from"./vue-router-bPs2Bq2h.js";import{G as x,H as S,K as C,N as w,n as T,o as E,r as D,t as O}from"./light-BDe84dgP.js";import{D as re,j as k,l as ie,t as A}from"./Card-BAHmnv1x.js";import{a as j,r as M}from"./resolve-slot-Cp3m6n7Y.js";import{t as N}from"./Modal-C-I6MapN.js";import{n as P,o as F,t as I}from"./Button-6wrxJwf5.js";import{t as L}from"./call-ChHlm4-m.js";import{t as R}from"./Add-DIWmYlsC.js";import{t as z}from"./Input-DYAPVZvJ.js";import{i as B,n as V,r as H}from"./application-j-qwJFlz.js";import{t as ae}from"./Tag-uR4tclwF.js";import{t as oe}from"./use-message-DegAclJt.js";import{t as U}from"./Space-hMkHw002.js";import{t as W}from"./Flex-Bfc1rTqt.js";import{t as se}from"./QrCode-c3qDqmj4.js";import{t as G}from"./text-XqTc2mEj.js";import{C as K,H as q,J,Q as ce,et as Y,x as X}from"./index-uJsjffF2.js";import{i as le,n as ue,o as de,r as Z,t as fe}from"./HeaderMenu-DYpd2XW2.js";import{t as pe}from"./Settings-CfqkfQL3.js";import{t as me}from"./binary_client-Da71734e.js";import{t as he}from"./useSimplePolling-Dk-tGYmM.js";import{n as ge,t as _e}from"./datetime-BJNH0M1T.js";function ve(e){let{textColorDisabled:t}=e;return{iconColorDisabled:t}}var ye=T({name:`InputNumber`,common:O,peers:{Button:X,Input:K},self:ve}),be=x([C(`input-number-suffix`,`
import{$ as e,A as t,D as n,Dt as r,E as i,Et as a,H as o,P as s,Q as c,S as l,T as u,Tt as ee,W as d,X as f,a as te,b as p,it as m,lt as h,o as g,p as _,st as ne,v,x as y,y as b}from"./vue-router-bPs2Bq2h.js";import{G as x,H as S,K as C,N as w,n as T,o as E,r as D,t as O}from"./light-BDe84dgP.js";import{D as re,j as k,l as ie,t as A}from"./Card-CQdukemP.js";import{a as j,r as M}from"./resolve-slot-Cp3m6n7Y.js";import{t as N}from"./Modal-bzeZOooZ.js";import{n as P,o as F,t as I}from"./Button-zUtycQAQ.js";import{t as L}from"./call-ChHlm4-m.js";import{t as R}from"./Add-DIWmYlsC.js";import{t as z}from"./Input-BKd_e6ky.js";import{i as B,n as V,r as H}from"./application-j-qwJFlz.js";import{t as ae}from"./Tag-BoPQy6kO.js";import{t as oe}from"./use-message-BLMKznjM.js";import{t as U}from"./Space-Z4mIWkRm.js";import{t as W}from"./Flex-DBYh1RTP.js";import{t as se}from"./QrCode-c3qDqmj4.js";import{t as G}from"./text-BdggxQpA.js";import{C as K,H as q,J,Q as ce,et as Y,x as X}from"./index-5AgAVT4o.js";import{i as le,n as ue,o as de,r as Z,t as fe}from"./HeaderMenu-DYpd2XW2.js";import{t as pe}from"./Settings-CfqkfQL3.js";import{t as me}from"./binary_client-Da71734e.js";import{t as he}from"./useSimplePolling-Dk-tGYmM.js";import{n as ge,t as _e}from"./datetime-BJNH0M1T.js";function ve(e){let{textColorDisabled:t}=e;return{iconColorDisabled:t}}var ye=T({name:`InputNumber`,common:O,peers:{Button:X,Input:K},self:ve}),be=x([C(`input-number-suffix`,`
display: inline-block;
margin-right: 10px;
`),C(`input-number-prefix`,`
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{A as e,D as t,O as n,P as r,U as i,X as a,Z as o,it as s,j as c,p as l,st as u,v as d,z as ee}from"./vue-router-bPs2Bq2h.js";import{G as f,J as p,K as m,M as te,N as ne,X as h,Y as g,Z as _,i as re,o as ie,r as v,z as y}from"./light-BDe84dgP.js";import{A as b,D as ae,c as x,h as S,i as C,j as w,l as oe,o as T}from"./Card-BAHmnv1x.js";import{a as E,c as se,i as D,r as O}from"./resolve-slot-Cp3m6n7Y.js";import{i as ce,o as le}from"./Button-6wrxJwf5.js";import{t as k}from"./call-ChHlm4-m.js";import{C as ue,H as A,J as j}from"./index-uJsjffF2.js";var M=t({name:`Eye`,render(){return e(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 512 512`},e(`path`,{d:`M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`32`}),e(`circle`,{cx:`256`,cy:`256`,r:`80`,fill:`none`,stroke:`currentColor`,"stroke-miterlimit":`10`,"stroke-width":`32`}))}}),N=t({name:`EyeOff`,render(){return e(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 512 512`},e(`path`,{d:`M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z`,fill:`currentColor`}),e(`path`,{d:`M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z`,fill:`currentColor`}),e(`path`,{d:`M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z`,fill:`currentColor`}),e(`path`,{d:`M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z`,fill:`currentColor`}),e(`path`,{d:`M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z`,fill:`currentColor`}))}}),P=y(`n-input`),de=m(`input`,`
import{A as e,D as t,O as n,P as r,U as i,X as a,Z as o,it as s,j as c,p as l,st as u,v as d,z as ee}from"./vue-router-bPs2Bq2h.js";import{G as f,J as p,K as m,M as te,N as ne,X as h,Y as g,Z as _,i as re,o as ie,r as v,z as y}from"./light-BDe84dgP.js";import{A as b,D as ae,c as x,h as S,i as C,j as w,l as oe,o as T}from"./Card-CQdukemP.js";import{a as E,c as se,i as D,r as O}from"./resolve-slot-Cp3m6n7Y.js";import{i as ce,o as le}from"./Button-zUtycQAQ.js";import{t as k}from"./call-ChHlm4-m.js";import{C as ue,H as A,J as j}from"./index-5AgAVT4o.js";var M=t({name:`Eye`,render(){return e(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 512 512`},e(`path`,{d:`M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`32`}),e(`circle`,{cx:`256`,cy:`256`,r:`80`,fill:`none`,stroke:`currentColor`,"stroke-miterlimit":`10`,"stroke-width":`32`}))}}),N=t({name:`EyeOff`,render(){return e(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 512 512`},e(`path`,{d:`M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z`,fill:`currentColor`}),e(`path`,{d:`M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z`,fill:`currentColor`}),e(`path`,{d:`M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z`,fill:`currentColor`}),e(`path`,{d:`M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z`,fill:`currentColor`}),e(`path`,{d:`M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z`,fill:`currentColor`}))}}),P=y(`n-input`),de=m(`input`,`
max-width: 100%;
cursor: text;
line-height: 1.5;
@@ -1,4 +1,4 @@
import{$ as e,A as t,D as n,E as r,H as i,N as a,P as o,Q as s,S as c,T as l,U as u,X as d,Z as f,_ as p,it as m,j as h,lt as g,o as _,p as v,st as y,v as b,y as x,z as S}from"./vue-router-bPs2Bq2h.js";import{$ as C,E as w,G as T,I as E,J as D,K as O,M as k,N as A,Q as j,R as M,X as N,Y as P,Z as F,j as I,o as L,r as R,z}from"./light-BDe84dgP.js";import{a as B,i as V,l as ee,n as H,o as U,r as W,t as G}from"./Follower-DSTVlRUR.js";import{a as te,o as ne,t as re}from"./utils-CoAZQrfk.js";import{D as K,M as ie,a as ae,h as q,j as J,m as Y,t as oe,y as se}from"./Card-BAHmnv1x.js";import{a as X,c as Z,o as ce}from"./resolve-slot-Cp3m6n7Y.js";import{a as Q,o as le}from"./light-WRuBODwl.js";import{t as ue}from"./use-compitable-BcHeQzgm.js";import{o as de,s as fe,t as pe}from"./Button-6wrxJwf5.js";import{t as $}from"./call-ChHlm4-m.js";import{t as me}from"./Add-DIWmYlsC.js";import{t as he}from"./Input-DYAPVZvJ.js";import{t as ge}from"./use-message-DegAclJt.js";import{t as _e}from"./Space-hMkHw002.js";import{F as ve,G as ye,H as be,J as xe,K as Se,P as Ce,Q as we,S as Te,V as Ee,X as De,Y as Oe,b as ke,i as Ae,q as je}from"./index-uJsjffF2.js";import{a as Me,n as Ne,t as Pe}from"./HeaderMenu-DYpd2XW2.js";var Fe=H(`.v-x-scroll`,{overflow:`auto`,scrollbarWidth:`none`},[H(`&::-webkit-scrollbar`,{width:0,height:0})]),Ie=n({name:`XScroll`,props:{disabled:Boolean,onScroll:Function},setup(){let e=m(null);function t(e){!(e.currentTarget.offsetWidth<e.currentTarget.scrollWidth)||e.deltaY===0||(e.currentTarget.scrollLeft+=e.deltaY+e.deltaX,e.preventDefault())}let n=M();return Fe.mount({id:`vueuc/x-scroll`,head:!0,anchorMetaName:W,ssr:n}),Object.assign({selfRef:e,handleWheel:t},{scrollTo(...t){var n;(n=e.value)==null||n.scrollTo(...t)}})},render(){return t(`div`,{ref:`selfRef`,onScroll:this.onScroll,onWheel:this.disabled?void 0:this.handleWheel,class:`v-x-scroll`},this.$slots)}}),Le=/\s/;function Re(e){for(var t=e.length;t--&&Le.test(e.charAt(t)););return t}var ze=/^\s+/;function Be(e){return e&&e.slice(0,Re(e)+1).replace(ze,``)}var Ve=NaN,He=/^[-+]0x[0-9a-f]+$/i,Ue=/^0b[01]+$/i,We=/^0o[0-7]+$/i,Ge=parseInt;function Ke(e){if(typeof e==`number`)return e;if(ye(e))return Ve;if(w(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=w(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=Be(e);var n=Ue.test(e);return n||We.test(e)?Ge(e.slice(2),n?2:8):He.test(e)?Ve:+e}var qe=function(){return I.Date.now()},Je=`Expected a function`,Ye=Math.max,Xe=Math.min;function Ze(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(Je);t=Ke(t)||0,w(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?Ye(Ke(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(_,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?Xe(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function _(){var e=qe();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(qe())}function x(){var e=qe(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}var Qe=`Expected a function`;function $e(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw TypeError(Qe);return w(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),Ze(e,t,{leading:r,maxWait:t,trailing:i})}var et=T([O(`auto-complete`,`
import{$ as e,A as t,D as n,E as r,H as i,N as a,P as o,Q as s,S as c,T as l,U as u,X as d,Z as f,_ as p,it as m,j as h,lt as g,o as _,p as v,st as y,v as b,y as x,z as S}from"./vue-router-bPs2Bq2h.js";import{$ as C,E as w,G as T,I as E,J as D,K as O,M as k,N as A,Q as j,R as M,X as N,Y as P,Z as F,j as I,o as L,r as R,z}from"./light-BDe84dgP.js";import{a as B,i as V,l as ee,n as H,o as U,r as W,t as G}from"./Follower-B5HTmQoi.js";import{a as te,o as ne,t as re}from"./utils-Cw_TQREI.js";import{D as K,M as ie,a as ae,h as q,j as J,m as Y,t as oe,y as se}from"./Card-CQdukemP.js";import{a as X,c as Z,o as ce}from"./resolve-slot-Cp3m6n7Y.js";import{a as Q,o as le}from"./light-WRuBODwl.js";import{t as ue}from"./use-compitable-BcHeQzgm.js";import{o as de,s as fe,t as pe}from"./Button-zUtycQAQ.js";import{t as $}from"./call-ChHlm4-m.js";import{t as me}from"./Add-DIWmYlsC.js";import{t as he}from"./Input-BKd_e6ky.js";import{t as ge}from"./use-message-BLMKznjM.js";import{t as _e}from"./Space-Z4mIWkRm.js";import{F as ve,G as ye,H as be,J as xe,K as Se,P as Ce,Q as we,S as Te,V as Ee,X as De,Y as Oe,b as ke,i as Ae,q as je}from"./index-5AgAVT4o.js";import{a as Me,n as Ne,t as Pe}from"./HeaderMenu-DYpd2XW2.js";var Fe=H(`.v-x-scroll`,{overflow:`auto`,scrollbarWidth:`none`},[H(`&::-webkit-scrollbar`,{width:0,height:0})]),Ie=n({name:`XScroll`,props:{disabled:Boolean,onScroll:Function},setup(){let e=m(null);function t(e){!(e.currentTarget.offsetWidth<e.currentTarget.scrollWidth)||e.deltaY===0||(e.currentTarget.scrollLeft+=e.deltaY+e.deltaX,e.preventDefault())}let n=M();return Fe.mount({id:`vueuc/x-scroll`,head:!0,anchorMetaName:W,ssr:n}),Object.assign({selfRef:e,handleWheel:t},{scrollTo(...t){var n;(n=e.value)==null||n.scrollTo(...t)}})},render(){return t(`div`,{ref:`selfRef`,onScroll:this.onScroll,onWheel:this.disabled?void 0:this.handleWheel,class:`v-x-scroll`},this.$slots)}}),Le=/\s/;function Re(e){for(var t=e.length;t--&&Le.test(e.charAt(t)););return t}var ze=/^\s+/;function Be(e){return e&&e.slice(0,Re(e)+1).replace(ze,``)}var Ve=NaN,He=/^[-+]0x[0-9a-f]+$/i,Ue=/^0b[01]+$/i,We=/^0o[0-7]+$/i,Ge=parseInt;function Ke(e){if(typeof e==`number`)return e;if(ye(e))return Ve;if(w(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=w(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=Be(e);var n=Ue.test(e);return n||We.test(e)?Ge(e.slice(2),n?2:8):He.test(e)?Ve:+e}var qe=function(){return I.Date.now()},Je=`Expected a function`,Ye=Math.max,Xe=Math.min;function Ze(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(Je);t=Ke(t)||0,w(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?Ye(Ke(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(_,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?Xe(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function _(){var e=qe();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(qe())}function x(){var e=qe(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}var Qe=`Expected a function`;function $e(e,t,n){var r=!0,i=!0;if(typeof e!=`function`)throw TypeError(Qe);return w(n)&&(r=`leading`in n?!!n.leading:r,i=`trailing`in n?!!n.trailing:i),Ze(e,t,{leading:r,maxWait:t,trailing:i})}var et=T([O(`auto-complete`,`
z-index: auto;
position: relative;
display: inline-flex;
@@ -1,4 +1,4 @@
import{$ as e,A as t,B as n,D as r,I as i,L as a,N as o,P as s,Tt as c,U as l,X as u,_ as d,it as f,j as p,rt as m,st as h,v as g,z as _}from"./vue-router-bPs2Bq2h.js";import{G as v,J as y,K as b,L as x,M as S,N as C,Q as w,W as T,Y as E,Z as D,o as O,r as k,z as A}from"./light-BDe84dgP.js";import{A as j,C as ee,E as te,M as ne,O as M,S as re,T as ie,_ as ae,a as oe,f as se,j as N,k as ce,m as le,n as ue,o as de,r as fe,t as pe,v as me,w as P,y as he}from"./Card-BAHmnv1x.js";import{a as F,c as ge,r as I}from"./resolve-slot-Cp3m6n7Y.js";import{a as L}from"./light-WRuBODwl.js";import{c as _e,t as R}from"./Button-6wrxJwf5.js";import{i as ve,n as ye,t as z}from"./keep-C3s16ije.js";import{t as B}from"./call-ChHlm4-m.js";import{t as be}from"./fade-in.cssr-CHZadXSL.js";import{H as xe,I as Se,L as Ce,P as we,Q as V,R as H,Y as U,m as Te,p as Ee,q as De,z as Oe}from"./index-uJsjffF2.js";var W=f(null);function ke(e){if(e.clientX>0||e.clientY>0)W.value={x:e.clientX,y:e.clientY};else{let{target:t}=e;if(t instanceof Element){let{left:e,top:n,width:r,height:i}=t.getBoundingClientRect();e>0||n>0?W.value={x:e+r/2,y:n+i/2}:W.value={x:0,y:0}}else W.value=null}}var G=0,Ae=!0;function je(){if(!ce)return m(f(null));G===0&&N(`click`,document,ke,!0);let e=()=>{G+=1};return(Ae&&=M())?(i(e),a(()=>{--G,G===0&&j(`click`,document,ke,!0)})):e(),m(W)}var Me=f(void 0),K=0;function Ne(){Me.value=Date.now()}var Pe=!0;function Fe(e){if(!ce)return m(f(!1));let t=f(!1),n=null;function r(){n!==null&&window.clearTimeout(n)}function o(){r(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}K===0&&N(`click`,window,Ne,!0);let s=()=>{K+=1,N(`click`,window,o,!0)};return(Pe&&=M())?(i(s),a(()=>{--K,K===0&&j(`click`,window,Ne,!0),j(`click`,window,o,!0),r()})):s(),m(t)}var q=f(!1);function Ie(){q.value=!0}function Le(){q.value=!1}var J=0;function Re(){return _e&&(i(()=>{J||(window.addEventListener(`compositionstart`,Ie),window.addEventListener(`compositionend`,Le)),J++}),a(()=>{J<=1?(window.removeEventListener(`compositionstart`,Ie),window.removeEventListener(`compositionend`,Le),J=0):J--})),q}var Y=0,ze=``,Be=``,Ve=``,He=``,X=f(`0px`);function Ue(e){if(typeof document>`u`)return;let t=document.documentElement,n,r=!1,i=()=>{t.style.marginRight=ze,t.style.overflow=Be,t.style.overflowX=Ve,t.style.overflowY=He,X.value=`0px`};_(()=>{n=u(e,e=>{if(e){if(!Y){let e=window.innerWidth-t.offsetWidth;e>0&&(ze=t.style.marginRight,t.style.marginRight=`${e}px`,X.value=`${e}px`),Be=t.style.overflow,Ve=t.style.overflowX,He=t.style.overflowY,t.style.overflow=`hidden`,t.style.overflowX=`hidden`,t.style.overflowY=`hidden`}r=!0,Y++}else Y--,Y||i(),r=!1},{immediate:!0})}),a(()=>{n?.(),r&&=(Y--,Y||i(),!1)})}var We=A(`n-dialog-provider`);A(`n-dialog-api`),A(`n-dialog-reactive-list`);var Z={icon:Function,type:{type:String,default:`default`},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,titleClass:[String,Array],titleStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],actionClass:[String,Array],actionStyle:[String,Object],onPositiveClick:Function,onNegativeClick:Function,onClose:Function,closeFocusable:Boolean},Ge=se(Z),Ke=v([b(`dialog`,`
import{$ as e,A as t,B as n,D as r,I as i,L as a,N as o,P as s,Tt as c,U as l,X as u,_ as d,it as f,j as p,rt as m,st as h,v as g,z as _}from"./vue-router-bPs2Bq2h.js";import{G as v,J as y,K as b,L as x,M as S,N as C,Q as w,W as T,Y as E,Z as D,o as O,r as k,z as A}from"./light-BDe84dgP.js";import{A as j,C as ee,E as te,M as ne,O as M,S as re,T as ie,_ as ae,a as oe,f as se,j as N,k as ce,m as le,n as ue,o as de,r as fe,t as pe,v as me,w as P,y as he}from"./Card-CQdukemP.js";import{a as F,c as ge,r as I}from"./resolve-slot-Cp3m6n7Y.js";import{a as L}from"./light-WRuBODwl.js";import{c as _e,t as R}from"./Button-zUtycQAQ.js";import{i as ve,n as ye,t as z}from"./keep-CdOBSz7D.js";import{t as B}from"./call-ChHlm4-m.js";import{t as be}from"./fade-in.cssr-CHZadXSL.js";import{H as xe,I as Se,L as Ce,P as we,Q as V,R as H,Y as U,m as Te,p as Ee,q as De,z as Oe}from"./index-5AgAVT4o.js";var W=f(null);function ke(e){if(e.clientX>0||e.clientY>0)W.value={x:e.clientX,y:e.clientY};else{let{target:t}=e;if(t instanceof Element){let{left:e,top:n,width:r,height:i}=t.getBoundingClientRect();e>0||n>0?W.value={x:e+r/2,y:n+i/2}:W.value={x:0,y:0}}else W.value=null}}var G=0,Ae=!0;function je(){if(!ce)return m(f(null));G===0&&N(`click`,document,ke,!0);let e=()=>{G+=1};return(Ae&&=M())?(i(e),a(()=>{--G,G===0&&j(`click`,document,ke,!0)})):e(),m(W)}var Me=f(void 0),K=0;function Ne(){Me.value=Date.now()}var Pe=!0;function Fe(e){if(!ce)return m(f(!1));let t=f(!1),n=null;function r(){n!==null&&window.clearTimeout(n)}function o(){r(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}K===0&&N(`click`,window,Ne,!0);let s=()=>{K+=1,N(`click`,window,o,!0)};return(Pe&&=M())?(i(s),a(()=>{--K,K===0&&j(`click`,window,Ne,!0),j(`click`,window,o,!0),r()})):s(),m(t)}var q=f(!1);function Ie(){q.value=!0}function Le(){q.value=!1}var J=0;function Re(){return _e&&(i(()=>{J||(window.addEventListener(`compositionstart`,Ie),window.addEventListener(`compositionend`,Le)),J++}),a(()=>{J<=1?(window.removeEventListener(`compositionstart`,Ie),window.removeEventListener(`compositionend`,Le),J=0):J--})),q}var Y=0,ze=``,Be=``,Ve=``,He=``,X=f(`0px`);function Ue(e){if(typeof document>`u`)return;let t=document.documentElement,n,r=!1,i=()=>{t.style.marginRight=ze,t.style.overflow=Be,t.style.overflowX=Ve,t.style.overflowY=He,X.value=`0px`};_(()=>{n=u(e,e=>{if(e){if(!Y){let e=window.innerWidth-t.offsetWidth;e>0&&(ze=t.style.marginRight,t.style.marginRight=`${e}px`,X.value=`${e}px`),Be=t.style.overflow,Ve=t.style.overflowX,He=t.style.overflowY,t.style.overflow=`hidden`,t.style.overflowX=`hidden`,t.style.overflowY=`hidden`}r=!0,Y++}else Y--,Y||i(),r=!1},{immediate:!0})}),a(()=>{n?.(),r&&=(Y--,Y||i(),!1)})}var We=A(`n-dialog-provider`);A(`n-dialog-api`),A(`n-dialog-reactive-list`);var Z={icon:Function,type:{type:String,default:`default`},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,titleClass:[String,Array],titleStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],actionClass:[String,Array],actionStyle:[String,Object],onPositiveClick:Function,onNegativeClick:Function,onClose:Function,closeFocusable:Boolean},Ge=se(Z),Ke=v([b(`dialog`,`
--n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left);
word-break: break-word;
line-height: var(--n-line-height);
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
import{A as e,D as t,Dt as n,E as r,Et as i,G as a,H as o,Q as s,S as c,T as l,Tt as u,U as d,W as f,b as p,et as m,it as h,j as g,lt as _,ot as v,p as y,st as b,v as x,w as S,x as C,y as w}from"./vue-router-bPs2Bq2h.js";import{B as T,G as E,J as D,K as O,M as ee,N as k,X as A,Y as j,Z as M,i as N,n as te,o as ne,r as P,t as re,z as ie}from"./light-BDe84dgP.js";import{D as F,l as ae,t as oe}from"./Card-BAHmnv1x.js";import{a as I,i as se,l as ce,n as le,o as L,r as ue}from"./resolve-slot-Cp3m6n7Y.js";import{o as de}from"./light-WRuBODwl.js";import{t as fe}from"./Modal-C-I6MapN.js";import{a as pe,o as me,r as he,t as R}from"./Button-6wrxJwf5.js";import{t as z}from"./call-ChHlm4-m.js";import{n as ge,t as _e}from"./Upload-CFlffoAw.js";import{t as ve}from"./Add-DIWmYlsC.js";import{t as B}from"./Input-DYAPVZvJ.js";import{i as ye,n as V,r as H,t as be}from"./application-j-qwJFlz.js";import{t as xe}from"./Tag-uR4tclwF.js";import{t as U}from"./Space-hMkHw002.js";import{t as W}from"./text-XqTc2mEj.js";import{C as Se,F as Ce,H as G,V as we,a as Te,d as Ee,et as K,j as De,x as Oe}from"./index-uJsjffF2.js";import{n as ke,o as Ae,r as je}from"./HeaderMenu-DYpd2XW2.js";var Me=t({name:`ArrowDown`,render(){return e(`svg`,{viewBox:`0 0 28 28`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},e(`g`,{stroke:`none`,"stroke-width":`1`,"fill-rule":`evenodd`},e(`g`,{"fill-rule":`nonzero`},e(`path`,{d:`M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z`}))))}}),Ne=t({name:`ArrowUp`,render(){return e(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`},e(`g`,{fill:`none`},e(`path`,{d:`M3.13 9.163a.5.5 0 1 0 .74.674L9.5 3.67V17.5a.5.5 0 0 0 1 0V3.672l5.63 6.165a.5.5 0 0 0 .738-.674l-6.315-6.916a.746.746 0 0 0-.632-.24a.746.746 0 0 0-.476.24L3.131 9.163z`,fill:`currentColor`})))}}),Pe=O(`input-group`,`
import{A as e,D as t,Dt as n,E as r,Et as i,G as a,H as o,Q as s,S as c,T as l,Tt as u,U as d,W as f,b as p,et as m,it as h,j as g,lt as _,ot as v,p as y,st as b,v as x,w as S,x as C,y as w}from"./vue-router-bPs2Bq2h.js";import{B as T,G as E,J as D,K as O,M as ee,N as k,X as A,Y as j,Z as M,i as N,n as te,o as ne,r as P,t as re,z as ie}from"./light-BDe84dgP.js";import{D as F,l as ae,t as oe}from"./Card-CQdukemP.js";import{a as I,i as se,l as ce,n as le,o as L,r as ue}from"./resolve-slot-Cp3m6n7Y.js";import{o as de}from"./light-WRuBODwl.js";import{t as fe}from"./Modal-bzeZOooZ.js";import{a as pe,o as me,r as he,t as R}from"./Button-zUtycQAQ.js";import{t as z}from"./call-ChHlm4-m.js";import{n as ge,t as _e}from"./Upload-BrK4tvhv.js";import{t as ve}from"./Add-DIWmYlsC.js";import{t as B}from"./Input-BKd_e6ky.js";import{i as ye,n as V,r as H,t as be}from"./application-j-qwJFlz.js";import{t as xe}from"./Tag-BoPQy6kO.js";import{t as U}from"./Space-Z4mIWkRm.js";import{t as W}from"./text-BdggxQpA.js";import{C as Se,F as Ce,H as G,V as we,a as Te,d as Ee,et as K,j as De,x as Oe}from"./index-5AgAVT4o.js";import{n as ke,o as Ae,r as je}from"./HeaderMenu-DYpd2XW2.js";var Me=t({name:`ArrowDown`,render(){return e(`svg`,{viewBox:`0 0 28 28`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},e(`g`,{stroke:`none`,"stroke-width":`1`,"fill-rule":`evenodd`},e(`g`,{"fill-rule":`nonzero`},e(`path`,{d:`M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z`}))))}}),Ne=t({name:`ArrowUp`,render(){return e(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`},e(`g`,{fill:`none`},e(`path`,{d:`M3.13 9.163a.5.5 0 1 0 .74.674L9.5 3.67V17.5a.5.5 0 0 0 1 0V3.672l5.63 6.165a.5.5 0 0 0 .738-.674l-6.315-6.916a.746.746 0 0 0-.632-.24a.746.746 0 0 0-.476.24L3.131 9.163z`,fill:`currentColor`})))}}),Pe=O(`input-group`,`
display: inline-flex;
width: 100%;
flex-wrap: nowrap;
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{D as e,E as t,H as n,S as r,p as i}from"./vue-router-bPs2Bq2h.js";import{t as a}from"./DocsPage-D1ynKA7U.js";import{t as o}from"./HeaderMenu-DYpd2XW2.js";var s=e({__name:`PrivacyPolicyView`,setup(e){return(e,s)=>(n(),r(i,null,[t(a,{kind:`privacy`}),t(o)],64))}});export{s as default};
import{D as e,E as t,H as n,S as r,p as i}from"./vue-router-bPs2Bq2h.js";import{t as a}from"./DocsPage-BK414Zxw.js";import{t as o}from"./HeaderMenu-DYpd2XW2.js";var s=e({__name:`PrivacyPolicyView`,setup(e){return(e,s)=>(n(),r(i,null,[t(a,{kind:`privacy`}),t(o)],64))}});export{s as default};
@@ -1 +1 @@
import{D as e,Dt as t,E as n,H as r,Q as i,S as a,T as o,a as s,b as c,it as l,lt as u,p as d,y as f}from"./vue-router-bPs2Bq2h.js";import{t as p}from"./Tag-uR4tclwF.js";import{t as m}from"./use-message-DegAclJt.js";import{i as h,n as g,t as _}from"./HeaderMenu-DYpd2XW2.js";var v={class:`center-block-custom`},y={class:`width700`},b={class:`scenario-card`},x={class:`scenario-heading`},S={class:`scenario-title`},C={class:`scenario-image-frame`},w=[`src`,`alt`],T={class:`scenario-details`},E={class:`scenario-description`},D={class:`scenario-author`},O=g(e({__name:`ScenarioPage`,setup(e){let c=m(),g=h(),O=s().params.id,k=l({id:void 0,name:void 0,story:void 0,author:void 0,status:void 0,updatedAt:void 0,createdAt:void 0,publishedAt:void 0});async function A(e){let t=await g.GetScenario({id:e});if(t.error!=``){c.error(t.error);return}k.value=t.scenario}return A(Number(O)),(e,s)=>(r(),a(d,null,[f(`div`,v,[f(`div`,y,[f(`section`,b,[f(`div`,x,[s[0]||=f(`p`,{class:`scenario-kicker`},`ДЕЛО ИЗ КАТАЛОГА`,-1),f(`h1`,S,t(k.value.name),1)]),f(`div`,C,[f(`img`,{class:`scenario-image`,src:k.value.image,alt:k.value.name},null,8,w)]),f(`div`,T,[f(`p`,E,t(k.value.description),1),f(`div`,D,[n(u(p),{bordered:!1,type:`success`,class:`status-block`},{default:i(()=>[o(` Автор: `+t(k.value.author?.username),1)]),_:1})])])])])]),n(_,{active:`catalog`})],64))}}),[[`__scopeId`,`data-v-17249bca`]]),k=e({__name:`ScenarioView`,setup(e){return(e,t)=>(r(),c(O))}});export{k as default};
import{D as e,Dt as t,E as n,H as r,Q as i,S as a,T as o,a as s,b as c,it as l,lt as u,p as d,y as f}from"./vue-router-bPs2Bq2h.js";import{t as p}from"./Tag-BoPQy6kO.js";import{t as m}from"./use-message-BLMKznjM.js";import{i as h,n as g,t as _}from"./HeaderMenu-DYpd2XW2.js";var v={class:`center-block-custom`},y={class:`width700`},b={class:`scenario-card`},x={class:`scenario-heading`},S={class:`scenario-title`},C={class:`scenario-image-frame`},w=[`src`,`alt`],T={class:`scenario-details`},E={class:`scenario-description`},D={class:`scenario-author`},O=g(e({__name:`ScenarioPage`,setup(e){let c=m(),g=h(),O=s().params.id,k=l({id:void 0,name:void 0,story:void 0,author:void 0,status:void 0,updatedAt:void 0,createdAt:void 0,publishedAt:void 0});async function A(e){let t=await g.GetScenario({id:e});if(t.error!=``){c.error(t.error);return}k.value=t.scenario}return A(Number(O)),(e,s)=>(r(),a(d,null,[f(`div`,v,[f(`div`,y,[f(`section`,b,[f(`div`,x,[s[0]||=f(`p`,{class:`scenario-kicker`},`ДЕЛО ИЗ КАТАЛОГА`,-1),f(`h1`,S,t(k.value.name),1)]),f(`div`,C,[f(`img`,{class:`scenario-image`,src:k.value.image,alt:k.value.name},null,8,w)]),f(`div`,T,[f(`p`,E,t(k.value.description),1),f(`div`,D,[n(u(p),{bordered:!1,type:`success`,class:`status-block`},{default:i(()=>[o(` Автор: `+t(k.value.author?.username),1)]),_:1})])])])])]),n(_,{active:`catalog`})],64))}}),[[`__scopeId`,`data-v-17249bca`]]),k=e({__name:`ScenarioView`,setup(e){return(e,t)=>(r(),c(O))}});export{k as default};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
.binding-card[data-v-5821691e],.qr-card[data-v-5821691e],.ready-card[data-v-5821691e]{text-align:center;width:100%;max-width:min(94vw,520px)}.binding-card p[data-v-5821691e],.qr-card p[data-v-5821691e],.ready-card p[data-v-5821691e]{margin:0 0 16px}.binding-card .n-select[data-v-5821691e]{margin-bottom:8px}.binding-card .n-button[data-v-5821691e],.qr-card .n-button[data-v-5821691e],.ready-card .n-button[data-v-5821691e]{margin-top:8px}.ready-title[data-v-5821691e]{font-size:28px}.screen-qr[data-v-5821691e]{background:#fff;padding:12px;line-height:0}.screen-center[data-v-5821691e]{justify-content:center;align-items:center;min-height:100dvh;padding:20px;display:flex}.screen-page[data-v-5821691e]{color:#eee;background:#111;min-height:100dvh}.screen-content[data-v-5821691e]{text-align:center;justify-content:center;align-items:center;min-height:100dvh;display:flex}.screen-cover[data-v-5821691e]{background:#ffffff14;border-radius:16px;padding:48px}.cover-label[data-v-5821691e]{margin:0 0 20px;font-size:clamp(28px,6vw,72px)}.screen-message[data-v-5821691e]{font-size:clamp(42px,10vw,140px);font-weight:700}
+1
View File
@@ -0,0 +1 @@
.binding-card[data-v-5b9ddcab],.qr-card[data-v-5b9ddcab],.ready-card[data-v-5b9ddcab]{text-align:center;width:100%;max-width:min(94vw,520px)}.binding-card p[data-v-5b9ddcab],.qr-card p[data-v-5b9ddcab],.ready-card p[data-v-5b9ddcab]{margin:0 0 16px}.binding-card .n-select[data-v-5b9ddcab]{margin-bottom:8px}.binding-card .n-button[data-v-5b9ddcab],.qr-card .n-button[data-v-5b9ddcab],.ready-card .n-button[data-v-5b9ddcab]{margin-top:8px}.ready-title[data-v-5b9ddcab]{font-size:28px}.screen-qr[data-v-5b9ddcab]{background:#fff;padding:12px;line-height:0}.screen-center[data-v-5b9ddcab]{justify-content:center;align-items:center;min-height:100dvh;padding:20px;display:flex}.screen-page[data-v-5b9ddcab]{color:#eee;background:#111;min-height:100dvh}.screen-content[data-v-5b9ddcab]{text-align:center;justify-content:center;align-items:center;min-height:100dvh;display:flex}.screen-cover[data-v-5b9ddcab]{background:#ffffff14;border-radius:16px;padding:48px}.cover-label[data-v-5b9ddcab]{margin:0 0 20px;font-size:clamp(28px,6vw,72px)}.cover-image[data-v-5b9ddcab]{object-fit:contain;max-width:min(80vw,720px);max-height:55dvh;margin:0 auto 24px;display:block}.screen-message[data-v-5b9ddcab]{font-size:clamp(42px,10vw,140px);font-weight:700}
@@ -1,4 +1,4 @@
import{$ as e,A as t,D as n,G as r,P as i,X as a,Z as o,it as s,p as c,st as l,v as u,z as d}from"./vue-router-bPs2Bq2h.js";import{G as f,J as p,K as m,M as h,N as g,R as _,X as v,Y as y,Z as b,o as x,r as S}from"./light-BDe84dgP.js";import{a as C,i as w,n as T,o as E,r as D,t as O}from"./Follower-DSTVlRUR.js";import{a as k,c as A,i as j,n as ee,o as te,r as M,t as ne,u as N}from"./utils-CoAZQrfk.js";import{D as re,M as ie,a as P,d as F,i as I,l as L,y as R}from"./Card-BAHmnv1x.js";import{c as z}from"./resolve-slot-Cp3m6n7Y.js";import{a as B}from"./light-WRuBODwl.js";import{t as ae}from"./use-compitable-BcHeQzgm.js";import{o as oe}from"./Button-6wrxJwf5.js";import{t as V}from"./Popover-aqz8nMov.js";import{r as se}from"./keep-C3s16ije.js";import{t as H}from"./call-ChHlm4-m.js";import{t as U}from"./Tag-uR4tclwF.js";import{E as W,Q as G,Y as ce,q as K,v as le}from"./index-uJsjffF2.js";var q=`v-hidden`,ue=T(`[v-hidden]`,{display:`none!important`}),J=n({name:`Overflow`,props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){let n=s(null),r=s(null);function i(i){let{value:a}=n,{getCounter:o,getTail:s}=e,c;if(c=o===void 0?r.value:o(),!a||!c)return;c.hasAttribute(q)&&c.removeAttribute(q);let{children:l}=a;if(i.showAllItemsBeforeCalculate)for(let e of l)e.hasAttribute(q)&&e.removeAttribute(q);let u=a.offsetWidth,d=[],f=t.tail?s?.():null,p=f?f.offsetWidth:0,m=!1,h=a.children.length-+!!t.tail;for(let t=0;t<h-1;++t){if(t<0)continue;let n=l[t];if(m){n.hasAttribute(q)||n.setAttribute(q,``);continue}else n.hasAttribute(q)&&n.removeAttribute(q);let r=n.offsetWidth;if(p+=r,d[t]=r,p>u){let{updateCounter:n}=e;for(let r=t;r>=0;--r){let i=h-1-r;n===void 0?c.textContent=`${i}`:n(i);let a=c.offsetWidth;if(p-=d[r],p+a<=u||r===0){m=!0,t=r-1,f&&(t===-1?(f.style.maxWidth=`${u-a}px`,f.style.boxSizing=`border-box`):f.style.maxWidth=``);let{onUpdateCount:n}=e;n&&n(i);break}}}}let{onUpdateOverflow:g}=e;m?g!==void 0&&g(!0):(g!==void 0&&g(!1),c.setAttribute(q,``))}let a=_();return ue.mount({id:`vueuc/overflow`,head:!0,anchorMetaName:D,ssr:a}),d(()=>i({showAllItemsBeforeCalculate:!1})),{selfRef:n,counterRef:r,sync:i}},render(){let{$slots:e}=this;return i(()=>this.sync({showAllItemsBeforeCalculate:!1})),t(`div`,{class:`v-overflow`,ref:`selfRef`},[r(e,`default`),e.counter?e.counter():t(`span`,{style:{display:`inline-block`},ref:`counterRef`}),e.tail?e.tail():null])}});function Y(e){switch(typeof e){case`string`:return e||void 0;case`number`:return String(e);default:return}}var de=f([m(`base-selection`,`
import{$ as e,A as t,D as n,G as r,P as i,X as a,Z as o,it as s,p as c,st as l,v as u,z as d}from"./vue-router-bPs2Bq2h.js";import{G as f,J as p,K as m,M as h,N as g,R as _,X as v,Y as y,Z as b,o as x,r as S}from"./light-BDe84dgP.js";import{a as C,i as w,n as T,o as E,r as D,t as O}from"./Follower-B5HTmQoi.js";import{a as k,c as A,i as j,n as ee,o as te,r as M,t as ne,u as N}from"./utils-Cw_TQREI.js";import{D as re,M as ie,a as P,d as F,i as I,l as L,y as R}from"./Card-CQdukemP.js";import{c as z}from"./resolve-slot-Cp3m6n7Y.js";import{a as B}from"./light-WRuBODwl.js";import{t as ae}from"./use-compitable-BcHeQzgm.js";import{o as oe}from"./Button-zUtycQAQ.js";import{t as V}from"./Popover-evSIjISY.js";import{r as se}from"./keep-CdOBSz7D.js";import{t as H}from"./call-ChHlm4-m.js";import{t as U}from"./Tag-BoPQy6kO.js";import{E as W,Q as G,Y as ce,q as K,v as le}from"./index-5AgAVT4o.js";var q=`v-hidden`,ue=T(`[v-hidden]`,{display:`none!important`}),J=n({name:`Overflow`,props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){let n=s(null),r=s(null);function i(i){let{value:a}=n,{getCounter:o,getTail:s}=e,c;if(c=o===void 0?r.value:o(),!a||!c)return;c.hasAttribute(q)&&c.removeAttribute(q);let{children:l}=a;if(i.showAllItemsBeforeCalculate)for(let e of l)e.hasAttribute(q)&&e.removeAttribute(q);let u=a.offsetWidth,d=[],f=t.tail?s?.():null,p=f?f.offsetWidth:0,m=!1,h=a.children.length-+!!t.tail;for(let t=0;t<h-1;++t){if(t<0)continue;let n=l[t];if(m){n.hasAttribute(q)||n.setAttribute(q,``);continue}else n.hasAttribute(q)&&n.removeAttribute(q);let r=n.offsetWidth;if(p+=r,d[t]=r,p>u){let{updateCounter:n}=e;for(let r=t;r>=0;--r){let i=h-1-r;n===void 0?c.textContent=`${i}`:n(i);let a=c.offsetWidth;if(p-=d[r],p+a<=u||r===0){m=!0,t=r-1,f&&(t===-1?(f.style.maxWidth=`${u-a}px`,f.style.boxSizing=`border-box`):f.style.maxWidth=``);let{onUpdateCount:n}=e;n&&n(i);break}}}}let{onUpdateOverflow:g}=e;m?g!==void 0&&g(!0):(g!==void 0&&g(!1),c.setAttribute(q,``))}let a=_();return ue.mount({id:`vueuc/overflow`,head:!0,anchorMetaName:D,ssr:a}),d(()=>i({showAllItemsBeforeCalculate:!1})),{selfRef:n,counterRef:r,sync:i}},render(){let{$slots:e}=this;return i(()=>this.sync({showAllItemsBeforeCalculate:!1})),t(`div`,{class:`v-overflow`,ref:`selfRef`},[r(e,`default`),e.counter?e.counter():t(`span`,{style:{display:`inline-block`},ref:`counterRef`}),e.tail?e.tail():null])}});function Y(e){switch(typeof e){case`string`:return e||void 0;case`number`:return String(e);default:return}}var de=f([m(`base-selection`,`
--n-padding-single: var(--n-padding-single-top) var(--n-padding-single-right) var(--n-padding-single-bottom) var(--n-padding-single-left);
--n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-right) var(--n-padding-multiple-bottom) var(--n-padding-multiple-left);
position: relative;
@@ -1 +1 @@
import{A as e,D as t,f as n,v as r}from"./vue-router-bPs2Bq2h.js";import{N as i,Z as a,o,r as s}from"./light-BDe84dgP.js";import{o as c,s as l}from"./resolve-slot-Cp3m6n7Y.js";import{c as u,s as d}from"./Button-6wrxJwf5.js";import{t as f}from"./get-slot-6kXJmSMP.js";import{u as p}from"./index-uJsjffF2.js";function m(){return p}var h={name:`Space`,self:m},g;function _(){if(!u)return!0;if(g===void 0){let e=document.createElement(`div`);e.style.display=`flex`,e.style.flexDirection=`column`,e.style.rowGap=`1px`,e.appendChild(document.createElement(`div`)),e.appendChild(document.createElement(`div`)),document.body.appendChild(e);let t=e.scrollHeight===1;return document.body.removeChild(e),g=t}return g}var v=t({name:`Space`,props:Object.assign(Object.assign({},s.props),{align:String,justify:{type:String,default:`start`},inline:Boolean,vertical:Boolean,reverse:Boolean,size:[String,Number,Array],wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),setup(e){let{mergedClsPrefixRef:t,mergedRtlRef:n,mergedComponentPropsRef:u}=i(e),d=r(()=>e.size||u?.value?.Space?.size||`medium`),f=s(`Space`,`-space`,void 0,h,e,t),p=o(`Space`,n,t);return{useGap:_(),rtlEnabled:p,mergedClsPrefix:t,margin:r(()=>{let e=d.value;if(Array.isArray(e))return{horizontal:e[0],vertical:e[1]};if(typeof e==`number`)return{horizontal:e,vertical:e};let{self:{[a(`gap`,e)]:t}}=f.value,{row:n,col:r}=l(t);return{horizontal:c(r),vertical:c(n)}})}},render(){let{vertical:t,reverse:r,align:i,inline:a,justify:o,itemClass:s,itemStyle:c,margin:l,wrap:u,mergedClsPrefix:p,rtlEnabled:m,useGap:h,wrapItem:g,internalUseGap:_}=this,v=d(f(this),!1);if(!v.length)return null;let y=`${l.horizontal}px`,b=`${l.horizontal/2}px`,x=`${l.vertical}px`,S=`${l.vertical/2}px`,C=v.length-1,w=o.startsWith(`space-`);return e(`div`,{role:`none`,class:[`${p}-space`,m&&`${p}-space--rtl`],style:{display:a?`inline-flex`:`flex`,flexDirection:t&&!r?`column`:t&&r?`column-reverse`:!t&&r?`row-reverse`:`row`,justifyContent:[`start`,`end`].includes(o)?`flex-${o}`:o,flexWrap:!u||t?`nowrap`:`wrap`,marginTop:h||t?``:`-${S}`,marginBottom:h||t?``:`-${S}`,alignItems:i,gap:h?`${l.vertical}px ${l.horizontal}px`:``}},!g&&(h||_)?v:v.map((r,i)=>r.type===n?r:e(`div`,{role:`none`,class:s,style:[c,{maxWidth:`100%`},h?``:t?{marginBottom:i===C?``:x}:m?{marginLeft:w?o===`space-between`&&i===C?``:b:i===C?``:y,marginRight:w?o===`space-between`&&i===0?``:b:``,paddingTop:S,paddingBottom:S}:{marginRight:w?o===`space-between`&&i===C?``:b:i===C?``:y,marginLeft:w?o===`space-between`&&i===0?``:b:``,paddingTop:S,paddingBottom:S}]},r)))}});export{v as t};
import{A as e,D as t,f as n,v as r}from"./vue-router-bPs2Bq2h.js";import{N as i,Z as a,o,r as s}from"./light-BDe84dgP.js";import{o as c,s as l}from"./resolve-slot-Cp3m6n7Y.js";import{c as u,s as d}from"./Button-zUtycQAQ.js";import{t as f}from"./get-slot-6kXJmSMP.js";import{u as p}from"./index-5AgAVT4o.js";function m(){return p}var h={name:`Space`,self:m},g;function _(){if(!u)return!0;if(g===void 0){let e=document.createElement(`div`);e.style.display=`flex`,e.style.flexDirection=`column`,e.style.rowGap=`1px`,e.appendChild(document.createElement(`div`)),e.appendChild(document.createElement(`div`)),document.body.appendChild(e);let t=e.scrollHeight===1;return document.body.removeChild(e),g=t}return g}var v=t({name:`Space`,props:Object.assign(Object.assign({},s.props),{align:String,justify:{type:String,default:`start`},inline:Boolean,vertical:Boolean,reverse:Boolean,size:[String,Number,Array],wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),setup(e){let{mergedClsPrefixRef:t,mergedRtlRef:n,mergedComponentPropsRef:u}=i(e),d=r(()=>e.size||u?.value?.Space?.size||`medium`),f=s(`Space`,`-space`,void 0,h,e,t),p=o(`Space`,n,t);return{useGap:_(),rtlEnabled:p,mergedClsPrefix:t,margin:r(()=>{let e=d.value;if(Array.isArray(e))return{horizontal:e[0],vertical:e[1]};if(typeof e==`number`)return{horizontal:e,vertical:e};let{self:{[a(`gap`,e)]:t}}=f.value,{row:n,col:r}=l(t);return{horizontal:c(r),vertical:c(n)}})}},render(){let{vertical:t,reverse:r,align:i,inline:a,justify:o,itemClass:s,itemStyle:c,margin:l,wrap:u,mergedClsPrefix:p,rtlEnabled:m,useGap:h,wrapItem:g,internalUseGap:_}=this,v=d(f(this),!1);if(!v.length)return null;let y=`${l.horizontal}px`,b=`${l.horizontal/2}px`,x=`${l.vertical}px`,S=`${l.vertical/2}px`,C=v.length-1,w=o.startsWith(`space-`);return e(`div`,{role:`none`,class:[`${p}-space`,m&&`${p}-space--rtl`],style:{display:a?`inline-flex`:`flex`,flexDirection:t&&!r?`column`:t&&r?`column-reverse`:!t&&r?`row-reverse`:`row`,justifyContent:[`start`,`end`].includes(o)?`flex-${o}`:o,flexWrap:!u||t?`nowrap`:`wrap`,marginTop:h||t?``:`-${S}`,marginBottom:h||t?``:`-${S}`,alignItems:i,gap:h?`${l.vertical}px ${l.horizontal}px`:``}},!g&&(h||_)?v:v.map((r,i)=>r.type===n?r:e(`div`,{role:`none`,class:s,style:[c,{maxWidth:`100%`},h?``:t?{marginBottom:i===C?``:x}:m?{marginLeft:w?o===`space-between`&&i===C?``:b:i===C?``:y,marginRight:w?o===`space-between`&&i===0?``:b:``,paddingTop:S,paddingBottom:S}:{marginRight:w?o===`space-between`&&i===C?``:b:i===C?``:y,marginLeft:w?o===`space-between`&&i===0?``:b:``,paddingTop:S,paddingBottom:S}]},r)))}});export{v as t};
@@ -1,4 +1,4 @@
import{A as e,D as t,U as n,it as r,st as i,v as a}from"./vue-router-bPs2Bq2h.js";import{B as o,G as s,J as c,K as l,M as u,N as d,X as f,Y as p,Z as m,o as h,r as g,t as _,z as v}from"./light-BDe84dgP.js";import{a as y,c as b}from"./resolve-slot-Cp3m6n7Y.js";import{n as x,t as S}from"./call-ChHlm4-m.js";import{D as C,P as w}from"./index-uJsjffF2.js";function T(e){let{textColor2:t,primaryColorHover:n,primaryColorPressed:r,primaryColor:i,infoColor:a,successColor:s,warningColor:c,errorColor:l,baseColor:u,borderColor:d,opacityDisabled:f,tagColor:p,closeIconColor:m,closeIconColorHover:h,closeIconColorPressed:g,borderRadiusSmall:_,fontSizeMini:v,fontSizeTiny:y,fontSizeSmall:b,fontSizeMedium:x,heightMini:S,heightTiny:w,heightSmall:T,heightMedium:E,closeColorHover:D,closeColorPressed:O,buttonColor2Hover:k,buttonColor2Pressed:A,fontWeightStrong:j}=e;return Object.assign(Object.assign({},C),{closeBorderRadius:_,heightTiny:S,heightSmall:w,heightMedium:T,heightLarge:E,borderRadius:_,opacityDisabled:f,fontSizeTiny:v,fontSizeSmall:y,fontSizeMedium:b,fontSizeLarge:x,fontWeightStrong:j,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:u,colorCheckable:`#0000`,colorHoverCheckable:k,colorPressedCheckable:A,colorChecked:i,colorCheckedHover:n,colorCheckedPressed:r,border:`1px solid ${d}`,textColor:t,color:p,colorBordered:`rgb(250, 250, 252)`,closeIconColor:m,closeIconColorHover:h,closeIconColorPressed:g,closeColorHover:D,closeColorPressed:O,borderPrimary:`1px solid ${o(i,{alpha:.3})}`,textColorPrimary:i,colorPrimary:o(i,{alpha:.12}),colorBorderedPrimary:o(i,{alpha:.1}),closeIconColorPrimary:i,closeIconColorHoverPrimary:i,closeIconColorPressedPrimary:i,closeColorHoverPrimary:o(i,{alpha:.12}),closeColorPressedPrimary:o(i,{alpha:.18}),borderInfo:`1px solid ${o(a,{alpha:.3})}`,textColorInfo:a,colorInfo:o(a,{alpha:.12}),colorBorderedInfo:o(a,{alpha:.1}),closeIconColorInfo:a,closeIconColorHoverInfo:a,closeIconColorPressedInfo:a,closeColorHoverInfo:o(a,{alpha:.12}),closeColorPressedInfo:o(a,{alpha:.18}),borderSuccess:`1px solid ${o(s,{alpha:.3})}`,textColorSuccess:s,colorSuccess:o(s,{alpha:.12}),colorBorderedSuccess:o(s,{alpha:.1}),closeIconColorSuccess:s,closeIconColorHoverSuccess:s,closeIconColorPressedSuccess:s,closeColorHoverSuccess:o(s,{alpha:.12}),closeColorPressedSuccess:o(s,{alpha:.18}),borderWarning:`1px solid ${o(c,{alpha:.35})}`,textColorWarning:c,colorWarning:o(c,{alpha:.15}),colorBorderedWarning:o(c,{alpha:.12}),closeIconColorWarning:c,closeIconColorHoverWarning:c,closeIconColorPressedWarning:c,closeColorHoverWarning:o(c,{alpha:.12}),closeColorPressedWarning:o(c,{alpha:.18}),borderError:`1px solid ${o(l,{alpha:.23})}`,textColorError:l,colorError:o(l,{alpha:.1}),colorBorderedError:o(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:o(l,{alpha:.12}),closeColorPressedError:o(l,{alpha:.18})})}var E={name:`Tag`,common:_,self:T},D={color:Object,type:{type:String,default:`default`},round:Boolean,size:String,closable:Boolean,disabled:{type:Boolean,default:void 0}},O=l(`tag`,`
import{A as e,D as t,U as n,it as r,st as i,v as a}from"./vue-router-bPs2Bq2h.js";import{B as o,G as s,J as c,K as l,M as u,N as d,X as f,Y as p,Z as m,o as h,r as g,t as _,z as v}from"./light-BDe84dgP.js";import{a as y,c as b}from"./resolve-slot-Cp3m6n7Y.js";import{n as x,t as S}from"./call-ChHlm4-m.js";import{D as C,P as w}from"./index-5AgAVT4o.js";function T(e){let{textColor2:t,primaryColorHover:n,primaryColorPressed:r,primaryColor:i,infoColor:a,successColor:s,warningColor:c,errorColor:l,baseColor:u,borderColor:d,opacityDisabled:f,tagColor:p,closeIconColor:m,closeIconColorHover:h,closeIconColorPressed:g,borderRadiusSmall:_,fontSizeMini:v,fontSizeTiny:y,fontSizeSmall:b,fontSizeMedium:x,heightMini:S,heightTiny:w,heightSmall:T,heightMedium:E,closeColorHover:D,closeColorPressed:O,buttonColor2Hover:k,buttonColor2Pressed:A,fontWeightStrong:j}=e;return Object.assign(Object.assign({},C),{closeBorderRadius:_,heightTiny:S,heightSmall:w,heightMedium:T,heightLarge:E,borderRadius:_,opacityDisabled:f,fontSizeTiny:v,fontSizeSmall:y,fontSizeMedium:b,fontSizeLarge:x,fontWeightStrong:j,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:u,colorCheckable:`#0000`,colorHoverCheckable:k,colorPressedCheckable:A,colorChecked:i,colorCheckedHover:n,colorCheckedPressed:r,border:`1px solid ${d}`,textColor:t,color:p,colorBordered:`rgb(250, 250, 252)`,closeIconColor:m,closeIconColorHover:h,closeIconColorPressed:g,closeColorHover:D,closeColorPressed:O,borderPrimary:`1px solid ${o(i,{alpha:.3})}`,textColorPrimary:i,colorPrimary:o(i,{alpha:.12}),colorBorderedPrimary:o(i,{alpha:.1}),closeIconColorPrimary:i,closeIconColorHoverPrimary:i,closeIconColorPressedPrimary:i,closeColorHoverPrimary:o(i,{alpha:.12}),closeColorPressedPrimary:o(i,{alpha:.18}),borderInfo:`1px solid ${o(a,{alpha:.3})}`,textColorInfo:a,colorInfo:o(a,{alpha:.12}),colorBorderedInfo:o(a,{alpha:.1}),closeIconColorInfo:a,closeIconColorHoverInfo:a,closeIconColorPressedInfo:a,closeColorHoverInfo:o(a,{alpha:.12}),closeColorPressedInfo:o(a,{alpha:.18}),borderSuccess:`1px solid ${o(s,{alpha:.3})}`,textColorSuccess:s,colorSuccess:o(s,{alpha:.12}),colorBorderedSuccess:o(s,{alpha:.1}),closeIconColorSuccess:s,closeIconColorHoverSuccess:s,closeIconColorPressedSuccess:s,closeColorHoverSuccess:o(s,{alpha:.12}),closeColorPressedSuccess:o(s,{alpha:.18}),borderWarning:`1px solid ${o(c,{alpha:.35})}`,textColorWarning:c,colorWarning:o(c,{alpha:.15}),colorBorderedWarning:o(c,{alpha:.12}),closeIconColorWarning:c,closeIconColorHoverWarning:c,closeIconColorPressedWarning:c,closeColorHoverWarning:o(c,{alpha:.12}),closeColorPressedWarning:o(c,{alpha:.18}),borderError:`1px solid ${o(l,{alpha:.23})}`,textColorError:l,colorError:o(l,{alpha:.1}),colorBorderedError:o(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:o(l,{alpha:.12}),closeColorPressedError:o(l,{alpha:.18})})}var E={name:`Tag`,common:_,self:T},D={color:Object,type:{type:String,default:`default`},round:Boolean,size:String,closable:Boolean,disabled:{type:Boolean,default:void 0}},O=l(`tag`,`
--n-close-margin: var(--n-close-margin-top) var(--n-close-margin-right) var(--n-close-margin-bottom) var(--n-close-margin-left);
white-space: nowrap;
position: relative;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{D as e,E as t,H as n,S as r,p as i}from"./vue-router-bPs2Bq2h.js";import{t as a}from"./DocsPage-D1ynKA7U.js";import{t as o}from"./HeaderMenu-DYpd2XW2.js";var s=e({__name:`UserAgreementView`,setup(e){return(e,s)=>(n(),r(i,null,[t(a,{kind:`terms`}),t(o)],64))}});export{s as default};
import{D as e,E as t,H as n,S as r,p as i}from"./vue-router-bPs2Bq2h.js";import{t as a}from"./DocsPage-BK414Zxw.js";import{t as o}from"./HeaderMenu-DYpd2XW2.js";var s=e({__name:`UserAgreementView`,setup(e){return(e,s)=>(n(),r(i,null,[t(a,{kind:`terms`}),t(o)],64))}});export{s as default};
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{D as e,d as t}from"./light-BDe84dgP.js";import{G as n,U as r}from"./index-uJsjffF2.js";var i=/^(\d|\.)+$/,a=/(\d|\.)+/;function o(e,{c:t=1,offset:n=0,attachPx:r=!0}={}){if(typeof e==`number`){let r=(e+n)*t;return r===0?`0`:`${r}px`}else if(typeof e==`string`)if(i.test(e)){let i=(Number(e)+n)*t;return r?i===0?`0`:`${i}px`:`${i}`}else{let r=a.exec(e);return r?e.replace(a,String((Number(r[0])+n)*t)):e}return e}var s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;function l(t,r){if(e(t))return!1;var i=typeof t;return i==`number`||i==`symbol`||i==`boolean`||t==null||n(t)?!0:c.test(t)||!s.test(t)||r!=null&&t in Object(r)}var u=`Expected a function`;function d(e,n){if(typeof e!=`function`||n!=null&&typeof n!=`function`)throw TypeError(u);var r=function(){var t=arguments,i=n?n.apply(this,t):t[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,t);return r.cache=a.set(i,o)||a,o};return r.cache=new(d.Cache||t),r}d.Cache=t;var f=500;function p(e){var t=d(e,function(e){return n.size===f&&n.clear(),e}),n=t.cache;return t}var m=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,g=p(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(m,function(e,n,r,i){t.push(r?i.replace(h,`$1`):n||e)}),t});function _(t,n){return e(t)?t:l(t,n)?[t]:g(r(t))}var v=1/0;function y(e){if(typeof e==`string`||n(e))return e;var t=e+``;return t==`0`&&1/e==-v?`-0`:t}function b(e,t){t=_(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[y(t[n++])];return n&&n==r?e:void 0}function x(e,t,n){var r=e==null?void 0:b(e,t);return r===void 0?n:r}export{l as a,_ as i,b as n,o,y as r,x as t};
import{D as e,d as t}from"./light-BDe84dgP.js";import{G as n,U as r}from"./index-5AgAVT4o.js";var i=/^(\d|\.)+$/,a=/(\d|\.)+/;function o(e,{c:t=1,offset:n=0,attachPx:r=!0}={}){if(typeof e==`number`){let r=(e+n)*t;return r===0?`0`:`${r}px`}else if(typeof e==`string`)if(i.test(e)){let i=(Number(e)+n)*t;return r?i===0?`0`:`${i}px`:`${i}`}else{let r=a.exec(e);return r?e.replace(a,String((Number(r[0])+n)*t)):e}return e}var s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;function l(t,r){if(e(t))return!1;var i=typeof t;return i==`number`||i==`symbol`||i==`boolean`||t==null||n(t)?!0:c.test(t)||!s.test(t)||r!=null&&t in Object(r)}var u=`Expected a function`;function d(e,n){if(typeof e!=`function`||n!=null&&typeof n!=`function`)throw TypeError(u);var r=function(){var t=arguments,i=n?n.apply(this,t):t[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,t);return r.cache=a.set(i,o)||a,o};return r.cache=new(d.Cache||t),r}d.Cache=t;var f=500;function p(e){var t=d(e,function(e){return n.size===f&&n.clear(),e}),n=t.cache;return t}var m=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,g=p(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(m,function(e,n,r,i){t.push(r?i.replace(h,`$1`):n||e)}),t});function _(t,n){return e(t)?t:l(t,n)?[t]:g(r(t))}var v=1/0;function y(e){if(typeof e==`string`||n(e))return e;var t=e+``;return t==`0`&&1/e==-v?`-0`:t}function b(e,t){t=_(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[y(t[n++])];return n&&n==r?e:void 0}function x(e,t,n){var r=e==null?void 0:b(e,t);return r===void 0?n:r}export{l as a,_ as i,b as n,o,y as r,x as t};
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{A as e,D as t,L as n,X as r,it as i,p as a,z as o}from"./vue-router-bPs2Bq2h.js";import{A as s,M as c,j as l}from"./Card-BAHmnv1x.js";import{o as u}from"./light-WRuBODwl.js";function d(e){return typeof e==`string`?document.querySelector(e):e()||null}function f(e){return e instanceof HTMLElement}function p(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(f(n)&&(h(n)||p(n)))return!0}return!1}function m(e){for(let t=e.childNodes.length-1;t>=0;t--){let n=e.childNodes[t];if(f(n)&&(h(n)||m(n)))return!0}return!1}function h(e){if(!g(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function g(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute(`tabIndex`)!==null)return!0;if(e.getAttribute(`disabled`))return!1;switch(e.nodeName){case`A`:return!!e.href&&e.rel!==`ignore`;case`INPUT`:return e.type!==`hidden`&&e.type!==`file`;case`SELECT`:case`TEXTAREA`:return!0;default:return!1}}var _=[],v=t({name:`FocusTrap`,props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:[String,Function],finalFocusTo:[String,Function],returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){let t=u(),a=i(null),f=i(null),h=!1,g=!1,v=typeof document>`u`?null:document.activeElement;function y(){return _[_.length-1]===t}function b(t){var n;t.code===`Escape`&&y()&&((n=e.onEsc)==null||n.call(e,t))}o(()=>{r(()=>e.active,e=>{e?(C(),l(`keydown`,document,b)):(s(`keydown`,document,b),h&&w())},{immediate:!0})}),n(()=>{s(`keydown`,document,b),h&&w()});function x(e){if(!g&&y()){let t=S();if(t===null||t.contains(c(e)))return;T(`first`)}}function S(){let e=a.value;if(e===null)return null;let t=e;for(;t=t.nextSibling,!(t===null||t instanceof Element&&t.tagName===`DIV`););return t}function C(){var n;if(!e.disabled){if(_.push(t),e.autoFocus){let{initialFocusTo:t}=e;t===void 0?T(`first`):(n=d(t))==null||n.focus({preventScroll:!0})}h=!0,document.addEventListener(`focus`,x,!0)}}function w(){var n;if(e.disabled||(document.removeEventListener(`focus`,x,!0),_=_.filter(e=>e!==t),y()))return;let{finalFocusTo:r}=e;r===void 0?e.returnFocusOnDeactivated&&v instanceof HTMLElement&&(g=!0,v.focus({preventScroll:!0}),g=!1):(n=d(r))==null||n.focus({preventScroll:!0})}function T(t){if(y()&&e.active){let e=a.value,n=f.value;if(e!==null&&n!==null){let r=S();if(r==null||r===n){g=!0,e.focus({preventScroll:!0}),g=!1;return}g=!0;let i=t===`first`?p(r):m(r);g=!1,i||(g=!0,e.focus({preventScroll:!0}),g=!1)}}}function E(e){if(g)return;let t=S();t!==null&&(e.relatedTarget!==null&&t.contains(e.relatedTarget)?T(`last`):T(`first`))}function D(e){g||(e.relatedTarget!==null&&e.relatedTarget===a.value?T(`last`):T(`first`))}return{focusableStartRef:a,focusableEndRef:f,focusableStyle:`position: absolute; height: 0; width: 0;`,handleStartFocus:E,handleEndFocus:D}},render(){let{default:t}=this.$slots;if(t===void 0)return null;if(this.disabled)return t();let{active:n,focusableStyle:r}=this;return e(a,null,[e(`div`,{"aria-hidden":`true`,tabindex:n?`0`:`-1`,ref:`focusableStartRef`,style:r,onFocus:this.handleStartFocus}),t(),e(`div`,{"aria-hidden":`true`,style:r,ref:`focusableEndRef`,tabindex:n?`0`:`-1`,onFocus:this.handleEndFocus})])}}),y=new WeakSet;function b(e){y.add(e)}function x(e){return!y.has(e)}function S(e,t=[],n){let r={};return t.forEach(t=>{r[t]=e[t]}),Object.assign(r,n)}export{v as i,x as n,b as r,S as t};
import{A as e,D as t,L as n,X as r,it as i,p as a,z as o}from"./vue-router-bPs2Bq2h.js";import{A as s,M as c,j as l}from"./Card-CQdukemP.js";import{o as u}from"./light-WRuBODwl.js";function d(e){return typeof e==`string`?document.querySelector(e):e()||null}function f(e){return e instanceof HTMLElement}function p(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes[t];if(f(n)&&(h(n)||p(n)))return!0}return!1}function m(e){for(let t=e.childNodes.length-1;t>=0;t--){let n=e.childNodes[t];if(f(n)&&(h(n)||m(n)))return!0}return!1}function h(e){if(!g(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function g(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute(`tabIndex`)!==null)return!0;if(e.getAttribute(`disabled`))return!1;switch(e.nodeName){case`A`:return!!e.href&&e.rel!==`ignore`;case`INPUT`:return e.type!==`hidden`&&e.type!==`file`;case`SELECT`:case`TEXTAREA`:return!0;default:return!1}}var _=[],v=t({name:`FocusTrap`,props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:[String,Function],finalFocusTo:[String,Function],returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){let t=u(),a=i(null),f=i(null),h=!1,g=!1,v=typeof document>`u`?null:document.activeElement;function y(){return _[_.length-1]===t}function b(t){var n;t.code===`Escape`&&y()&&((n=e.onEsc)==null||n.call(e,t))}o(()=>{r(()=>e.active,e=>{e?(C(),l(`keydown`,document,b)):(s(`keydown`,document,b),h&&w())},{immediate:!0})}),n(()=>{s(`keydown`,document,b),h&&w()});function x(e){if(!g&&y()){let t=S();if(t===null||t.contains(c(e)))return;T(`first`)}}function S(){let e=a.value;if(e===null)return null;let t=e;for(;t=t.nextSibling,!(t===null||t instanceof Element&&t.tagName===`DIV`););return t}function C(){var n;if(!e.disabled){if(_.push(t),e.autoFocus){let{initialFocusTo:t}=e;t===void 0?T(`first`):(n=d(t))==null||n.focus({preventScroll:!0})}h=!0,document.addEventListener(`focus`,x,!0)}}function w(){var n;if(e.disabled||(document.removeEventListener(`focus`,x,!0),_=_.filter(e=>e!==t),y()))return;let{finalFocusTo:r}=e;r===void 0?e.returnFocusOnDeactivated&&v instanceof HTMLElement&&(g=!0,v.focus({preventScroll:!0}),g=!1):(n=d(r))==null||n.focus({preventScroll:!0})}function T(t){if(y()&&e.active){let e=a.value,n=f.value;if(e!==null&&n!==null){let r=S();if(r==null||r===n){g=!0,e.focus({preventScroll:!0}),g=!1;return}g=!0;let i=t===`first`?p(r):m(r);g=!1,i||(g=!0,e.focus({preventScroll:!0}),g=!1)}}}function E(e){if(g)return;let t=S();t!==null&&(e.relatedTarget!==null&&t.contains(e.relatedTarget)?T(`last`):T(`first`))}function D(e){g||(e.relatedTarget!==null&&e.relatedTarget===a.value?T(`last`):T(`first`))}return{focusableStartRef:a,focusableEndRef:f,focusableStyle:`position: absolute; height: 0; width: 0;`,handleStartFocus:E,handleEndFocus:D}},render(){let{default:t}=this.$slots;if(t===void 0)return null;if(this.disabled)return t();let{active:n,focusableStyle:r}=this;return e(a,null,[e(`div`,{"aria-hidden":`true`,tabindex:n?`0`:`-1`,ref:`focusableStartRef`,style:r,onFocus:this.handleStartFocus}),t(),e(`div`,{"aria-hidden":`true`,style:r,ref:`focusableEndRef`,tabindex:n?`0`:`-1`,onFocus:this.handleEndFocus})])}}),y=new WeakSet;function b(e){y.add(e)}function x(e){return!y.has(e)}function S(e,t=[],n){let r={};return t.forEach(t=>{r[t]=e[t]}),Object.assign(r,n)}export{v as i,x as n,b as r,S as t};
@@ -1,4 +1,4 @@
import{A as e,D as t,v as n}from"./vue-router-bPs2Bq2h.js";import{K as r,M as i,N as a,Y as o,Z as s,r as c}from"./light-BDe84dgP.js";import{t as l}from"./use-compitable-BcHeQzgm.js";import{r as u}from"./index-uJsjffF2.js";var d=r(`text`,`
import{A as e,D as t,v as n}from"./vue-router-bPs2Bq2h.js";import{K as r,M as i,N as a,Y as o,Z as s,r as c}from"./light-BDe84dgP.js";import{t as l}from"./use-compitable-BcHeQzgm.js";import{r as u}from"./index-5AgAVT4o.js";var d=r(`text`,`
transition: color .3s var(--n-bezier);
color: var(--n-text-color);
`,[o(`strong`,`
@@ -1 +1 @@
import{j as e}from"./vue-router-bPs2Bq2h.js";import{I as t}from"./light-BDe84dgP.js";import{f as n}from"./index-uJsjffF2.js";function r(){let r=e(n,null);return r===null&&t(`use-message`,"No outer <n-message-provider /> founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),r}export{r as t};
import{j as e}from"./vue-router-bPs2Bq2h.js";import{I as t}from"./light-BDe84dgP.js";import{f as n}from"./index-5AgAVT4o.js";function r(){let r=e(n,null);return r===null&&t(`use-message`,"No outer <n-message-provider /> founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),r}export{r as t};
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -5,7 +5,7 @@
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Вечерний детектив</title>
<script type="module" crossorigin src="/assets/index-uJsjffF2.js"></script>
<script type="module" crossorigin src="/assets/index-5AgAVT4o.js"></script>
<link rel="modulepreload" crossorigin href="/assets/vue-router-bPs2Bq2h.js">
<link rel="modulepreload" crossorigin href="/assets/light-BDe84dgP.js">
<link rel="modulepreload" crossorigin href="/assets/light-WRuBODwl.js">
+8 -1
View File
@@ -1316,6 +1316,8 @@ message ScreenState {
string error = 6;
int64 state_version = 7;
int64 position_ms = 8;
string game_name = 9;
string cover_image = 10;
}
message CreateScreenSessionReq {}
@@ -1384,11 +1386,15 @@ message MapItem {
bool sound_enabled = 8;
}
message GetGameMapReq { int32 gameId = 1; }
message GetGameMapReq {
int32 gameId = 1;
}
message GetGameMapRsp {
string error = 1;
repeated MapItem items = 2;
}
message UpdateGameMapItemReq {
int32 gameId = 1;
string kind = 2;
@@ -1397,6 +1403,7 @@ message UpdateGameMapItemReq {
int32 y = 5;
bool hidden = 6;
}
message UpdateGameMapItemRsp { string error = 1; }
message SetScreenModeReq {
@@ -497,6 +497,8 @@ export type ScreenState = {
error: string | undefined;
stateVersion: number | undefined;
positionMs: number | undefined;
gameName: string | undefined;
coverImage: string | undefined;
};
export type CreateScreenSessionReq = {
+11 -2
View File
@@ -171,8 +171,9 @@ onUnmounted(() => {
<div v-if="screenMode === 'SCREEN_MODE_INTRO_DONE'" class="screen-message">Успехов</div>
<div v-else-if="screenMode === 'SCREEN_MODE_CONCLUSION_DONE'" class="screen-message">Спасибо за игру!</div>
<div v-else class="screen-cover">
<p class="cover-label">Обложка дела</p>
<p>Игра №{{ state.gameId }}</p>
<img v-if="state.coverImage" :src="state.coverImage" class="cover-image" alt="Обложка дела" />
<p class="cover-label">{{ state.gameName || `Игра №${state.gameId}` }}</p>
<p>Обложка дела</p>
<n-button v-if="!prepared" type="primary" @click="prepareScreen">Подготовить экран</n-button>
</div>
</div>
@@ -250,6 +251,14 @@ onUnmounted(() => {
margin: 0 0 20px;
}
.cover-image {
display: block;
margin: 0 auto 24px;
max-height: 55dvh;
max-width: min(80vw, 720px);
object-fit: contain;
}
.screen-message {
font-size: clamp(42px, 10vw, 140px);
font-weight: 700;