ldap-ui 0.10.6__py3-none-any.whl → 0.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ldap_ui/__init__.py +1 -1
- ldap_ui/statics/assets/{index-BqtjNw3A.js → index-CLhimpsr.js} +5 -5
- ldap_ui/statics/assets/index-CLhimpsr.js.gz +0 -0
- ldap_ui/statics/assets/{index-DU7KlFaH.css → index-Zs8eqVyc.css} +1 -1
- ldap_ui/statics/assets/index-Zs8eqVyc.css.gz +0 -0
- ldap_ui/statics/index.html +2 -2
- {ldap_ui-0.10.6.dist-info → ldap_ui-0.11.0.dist-info}/METADATA +1 -1
- {ldap_ui-0.10.6.dist-info → ldap_ui-0.11.0.dist-info}/RECORD +12 -12
- ldap_ui/statics/assets/index-BqtjNw3A.js.gz +0 -0
- ldap_ui/statics/assets/index-DU7KlFaH.css.gz +0 -0
- {ldap_ui-0.10.6.dist-info → ldap_ui-0.11.0.dist-info}/WHEEL +0 -0
- {ldap_ui-0.10.6.dist-info → ldap_ui-0.11.0.dist-info}/entry_points.txt +0 -0
- {ldap_ui-0.10.6.dist-info → ldap_ui-0.11.0.dist-info}/licenses/LICENSE.txt +0 -0
- {ldap_ui-0.10.6.dist-info → ldap_ui-0.11.0.dist-info}/top_level.txt +0 -0
ldap_ui/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.
|
|
1
|
+
__version__ = "0.11.0"
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
* @vue/reactivity v3.5.18
|
|
7
7
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
8
|
* @license MIT
|
|
9
|
-
**/let Oe;class Ai{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Oe,!t&&Oe&&(this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Oe;try{return Oe=this,t()}finally{Oe=n}}}on(){++this._on===1&&(this.prevScope=Oe,Oe=this)}off(){this._on>0&&--this._on===0&&(Oe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Jr(){return Oe}function ji(e,t=!1){Oe&&Oe.cleanups.push(e)}let ge;const fs=new WeakSet;class Xr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Oe&&Oe.active&&Oe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,fs.has(this)&&(fs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Zr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,or(this),eo(this);const t=ge,n=Je;ge=this,Je=!0;try{return this.fn()}finally{to(this),ge=t,Je=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Vs(t);this.deps=this.depsTail=void 0,or(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?fs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xs(this)&&this.run()}get dirty(){return xs(this)}}let Qr=0,on,ln;function Zr(e,t=!1){if(e.flags|=8,t){e.next=ln,ln=e;return}e.next=on,on=e}function Fs(){Qr++}function Us(){if(--Qr>0)return;if(ln){let t=ln;for(ln=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;on;){let t=on;for(on=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function eo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function to(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Vs(s),Di(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function xs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(no(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function no(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===fn)||(e.globalVersion=fn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xs(e))))return;e.flags|=2;const t=e.dep,n=ge,s=Je;ge=e,Je=!0;try{eo(e);const r=e.fn(e._value);(t.version===0||xt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ge=n,Je=s,to(e),e.flags&=-3}}function Vs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Vs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Di(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Je=!0;const so=[];function mt(){so.push(Je),Je=!1}function vt(){const e=so.pop();Je=e===void 0?!0:e}function or(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ge;ge=void 0;try{t()}finally{ge=n}}}let fn=0;class Pi{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Hs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ge||!Je||ge===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ge)n=this.activeLink=new Pi(ge,this),ge.deps?(n.prevDep=ge.depsTail,ge.depsTail.nextDep=n,ge.depsTail=n):ge.deps=ge.depsTail=n,ro(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ge.depsTail,n.nextDep=void 0,ge.depsTail.nextDep=n,ge.depsTail=n,ge.deps===n&&(ge.deps=s)}return n}trigger(t){this.version++,fn++,this.notify(t)}notify(t){Fs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Us()}}}function ro(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ro(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ss=new WeakMap,Nt=Symbol(""),$s=Symbol(""),dn=Symbol("");function ke(e,t,n){if(Je&&ge){let s=Ss.get(e);s||Ss.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Hs),r.map=s,r.key=n),r.track()}}function dt(e,t,n,s,r,i){const o=Ss.get(e);if(!o){fn++;return}const l=a=>{a&&a.trigger()};if(Fs(),t==="clear")o.forEach(l);else{const a=B(e),c=a&&Ns(n);if(a&&n==="length"){const u=Number(s);o.forEach((f,p)=>{(p==="length"||p===dn||!Xe(p)&&p>=u)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),c&&l(o.get(dn)),t){case"add":a?c&&l(o.get("length")):(l(o.get(Nt)),Bt(e)&&l(o.get($s)));break;case"delete":a||(l(o.get(Nt)),Bt(e)&&l(o.get($s)));break;case"set":Bt(e)&&l(o.get(Nt));break}}Us()}function Ut(e){const t=oe(e);return t===e?t:(ke(t,"iterate",dn),Ye(e)?t:t.map($e))}function Qn(e){return ke(e=oe(e),"iterate",dn),e}const Ii={__proto__:null,[Symbol.iterator](){return ds(this,Symbol.iterator,$e)},concat(...e){return Ut(this).concat(...e.map(t=>B(t)?Ut(t):t))},entries(){return ds(this,"entries",e=>(e[1]=$e(e[1]),e))},every(e,t){return ut(this,"every",e,t,void 0,arguments)},filter(e,t){return ut(this,"filter",e,t,n=>n.map($e),arguments)},find(e,t){return ut(this,"find",e,t,$e,arguments)},findIndex(e,t){return ut(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ut(this,"findLast",e,t,$e,arguments)},findLastIndex(e,t){return ut(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ut(this,"forEach",e,t,void 0,arguments)},includes(...e){return ps(this,"includes",e)},indexOf(...e){return ps(this,"indexOf",e)},join(e){return Ut(this).join(e)},lastIndexOf(...e){return ps(this,"lastIndexOf",e)},map(e,t){return ut(this,"map",e,t,void 0,arguments)},pop(){return en(this,"pop")},push(...e){return en(this,"push",e)},reduce(e,...t){return ir(this,"reduce",e,t)},reduceRight(e,...t){return ir(this,"reduceRight",e,t)},shift(){return en(this,"shift")},some(e,t){return ut(this,"some",e,t,void 0,arguments)},splice(...e){return en(this,"splice",e)},toReversed(){return Ut(this).toReversed()},toSorted(e){return Ut(this).toSorted(e)},toSpliced(...e){return Ut(this).toSpliced(...e)},unshift(...e){return en(this,"unshift",e)},values(){return ds(this,"values",$e)}};function ds(e,t,n){const s=Qn(e),r=s[t]();return s!==e&&!Ye(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const Mi=Array.prototype;function ut(e,t,n,s,r,i){const o=Qn(e),l=o!==e&&!Ye(e),a=o[t];if(a!==Mi[t]){const f=a.apply(e,i);return l?$e(f):f}let c=n;o!==e&&(l?c=function(f,p){return n.call(this,$e(f),p,e)}:n.length>2&&(c=function(f,p){return n.call(this,f,p,e)}));const u=a.call(o,c,s);return l&&r?r(u):u}function ir(e,t,n,s){const r=Qn(e);let i=n;return r!==e&&(Ye(e)?n.length>3&&(i=function(o,l,a){return n.call(this,o,l,a,e)}):i=function(o,l,a){return n.call(this,o,$e(l),a,e)}),r[t](i,...s)}function ps(e,t,n){const s=oe(e);ke(s,"iterate",dn);const r=s[t](...n);return(r===-1||r===!1)&&Ws(n[0])?(n[0]=oe(n[0]),s[t](...n)):r}function en(e,t,n=[]){mt(),Fs();const s=oe(e)[t].apply(e,n);return Us(),vt(),s}const Ri=Is("__proto__,__v_isRef,__isVue"),oo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Xe));function Ni(e){Xe(e)||(e=String(e));const t=oe(this);return ke(t,"has",e),t.hasOwnProperty(e)}class io{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?zi:co:i?uo:ao).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=B(t);if(!r){let a;if(o&&(a=Ii[n]))return a;if(n==="hasOwnProperty")return Ni}const l=Reflect.get(t,n,De(t)?t:s);return(Xe(n)?oo.has(n):Ri(n))||(r||ke(t,"get",n),i)?l:De(l)?o&&Ns(n)?l:l.value:me(l)?r?fo(l):qs(l):l}}class lo extends io{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const a=Tt(i);if(!Ye(s)&&!Tt(s)&&(i=oe(i),s=oe(s)),!B(t)&&De(i)&&!De(s))return a?!1:(i.value=s,!0)}const o=B(t)&&Ns(n)?Number(n)<t.length:ae(t,n),l=Reflect.set(t,n,s,De(t)?t:r);return t===oe(r)&&(o?xt(s,i)&&dt(t,"set",n,s):dt(t,"add",n,s)),l}deleteProperty(t,n){const s=ae(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&dt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Xe(n)||!oo.has(n))&&ke(t,"has",n),s}ownKeys(t){return ke(t,"iterate",B(t)?"length":Nt),Reflect.ownKeys(t)}}class Li extends io{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Fi=new lo,Ui=new Li,Vi=new lo(!0);const Ts=e=>e,kn=e=>Reflect.getPrototypeOf(e);function Hi(e,t,n){return function(...s){const r=this.__v_raw,i=oe(r),o=Bt(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=r[e](...s),u=n?Ts:t?Nn:$e;return!t&&ke(i,"iterate",a?$s:Nt),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:l?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function En(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Bi(e,t){const n={get(r){const i=this.__v_raw,o=oe(i),l=oe(r);e||(xt(r,l)&&ke(o,"get",r),ke(o,"get",l));const{has:a}=kn(o),c=t?Ts:e?Nn:$e;if(a.call(o,r))return c(i.get(r));if(a.call(o,l))return c(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ke(oe(r),"iterate",Nt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=oe(i),l=oe(r);return e||(xt(r,l)&&ke(o,"has",r),ke(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,a=oe(l),c=t?Ts:e?Nn:$e;return!e&&ke(a,"iterate",Nt),l.forEach((u,f)=>r.call(i,c(u),c(f),o))}};return xe(n,e?{add:En("add"),set:En("set"),delete:En("delete"),clear:En("clear")}:{add(r){!t&&!Ye(r)&&!Tt(r)&&(r=oe(r));const i=oe(this);return kn(i).has.call(i,r)||(i.add(r),dt(i,"add",r,r)),this},set(r,i){!t&&!Ye(i)&&!Tt(i)&&(i=oe(i));const o=oe(this),{has:l,get:a}=kn(o);let c=l.call(o,r);c||(r=oe(r),c=l.call(o,r));const u=a.call(o,r);return o.set(r,i),c?xt(i,u)&&dt(o,"set",r,i):dt(o,"add",r,i),this},delete(r){const i=oe(this),{has:o,get:l}=kn(i);let a=o.call(i,r);a||(r=oe(r),a=o.call(i,r)),l&&l.call(i,r);const c=i.delete(r);return a&&dt(i,"delete",r,void 0),c},clear(){const r=oe(this),i=r.size!==0,o=r.clear();return i&&dt(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Hi(r,e,t)}),n}function Bs(e,t){const n=Bi(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ae(n,r)&&r in s?n:s,r,i)}const qi={get:Bs(!1,!1)},Ki={get:Bs(!1,!0)},Wi={get:Bs(!0,!1)};const ao=new WeakMap,uo=new WeakMap,co=new WeakMap,zi=new WeakMap;function Yi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gi(e){return e.__v_skip||!Object.isExtensible(e)?0:Yi(yi(e))}function qs(e){return Tt(e)?e:Ks(e,!1,Fi,qi,ao)}function Ji(e){return Ks(e,!1,Vi,Ki,uo)}function fo(e){return Ks(e,!0,Ui,Wi,co)}function Ks(e,t,n,s,r){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Gi(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function qt(e){return Tt(e)?qt(e.__v_raw):!!(e&&e.__v_isReactive)}function Tt(e){return!!(e&&e.__v_isReadonly)}function Ye(e){return!!(e&&e.__v_isShallow)}function Ws(e){return e?!!e.__v_raw:!1}function oe(e){const t=e&&e.__v_raw;return t?oe(t):e}function Xi(e){return!ae(e,"__v_skip")&&Object.isExtensible(e)&&Cs(e,"__v_skip",!0),e}const $e=e=>me(e)?qs(e):e,Nn=e=>me(e)?fo(e):e;function De(e){return e?e.__v_isRef===!0:!1}function q(e){return po(e,!1)}function ze(e){return po(e,!0)}function po(e,t){return De(e)?e:new Qi(e,t)}class Qi{constructor(t,n){this.dep=new Hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:oe(t),this._value=n?t:$e(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ye(t)||Tt(t);t=s?t:oe(t),xt(t,n)&&(this._rawValue=t,this._value=s?t:$e(t),this.dep.trigger())}}function Qt(e){return De(e)?e.value:e}function Kt(e){return Y(e)?e():Qt(e)}const Zi={get:(e,t,n)=>t==="__v_raw"?e:Qt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return De(r)&&!De(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ho(e){return qt(e)?e:new Proxy(e,Zi)}class el{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=fn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ge!==this)return Zr(this,!0),!0}get value(){const t=this.dep.track();return no(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function tl(e,t,n=!1){let s,r;return Y(e)?s=e:(s=e.get,r=e.set),new el(s,r,n)}const An={},Ln=new WeakMap;let It;function nl(e,t=!1,n=It){if(n){let s=Ln.get(n);s||Ln.set(n,s=[]),s.push(e)}}function sl(e,t,n=pe){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:a}=n,c=R=>r?R:Ye(R)||r===!1||r===0?pt(R,1):pt(R);let u,f,p,m,C=!1,E=!1;if(De(e)?(f=()=>e.value,C=Ye(e)):qt(e)?(f=()=>c(e),C=!0):B(e)?(E=!0,C=e.some(R=>qt(R)||Ye(R)),f=()=>e.map(R=>{if(De(R))return R.value;if(qt(R))return c(R);if(Y(R))return a?a(R,2):R()})):Y(e)?t?f=a?()=>a(e,2):e:f=()=>{if(p){mt();try{p()}finally{vt()}}const R=It;It=u;try{return a?a(e,3,[m]):e(m)}finally{It=R}}:f=it,t&&r){const R=f,V=r===!0?1/0:r;f=()=>pt(R(),V)}const F=Jr(),b=()=>{u.stop(),F&&F.active&&Rs(F.effects,u)};if(i&&t){const R=t;t=(...V)=>{R(...V),b()}}let x=E?new Array(e.length).fill(An):An;const L=R=>{if(!(!(u.flags&1)||!u.dirty&&!R))if(t){const V=u.run();if(r||C||(E?V.some((ne,K)=>xt(ne,x[K])):xt(V,x))){p&&p();const ne=It;It=u;try{const K=[V,x===An?void 0:E&&x[0]===An?[]:x,m];x=V,a?a(t,3,K):t(...K)}finally{It=ne}}}else u.run()};return l&&l(L),u=new Xr(f),u.scheduler=o?()=>o(L,!1):L,m=R=>nl(R,!1,u),p=u.onStop=()=>{const R=Ln.get(u);if(R){if(a)a(R,4);else for(const V of R)V();Ln.delete(u)}},t?s?L(!0):x=u.run():o?o(L.bind(null,!0),!0):u.run(),b.pause=u.pause.bind(u),b.resume=u.resume.bind(u),b.stop=b,b}function pt(e,t=1/0,n){if(t<=0||!me(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,De(e))pt(e.value,t,n);else if(B(e))for(let s=0;s<e.length;s++)pt(e[s],t,n);else if(Yn(e)||Bt(e))e.forEach(s=>{pt(s,t,n)});else if(Kr(e)){for(const s in e)pt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&pt(e[s],t,n)}return e}/**
|
|
9
|
+
**/let Oe;class Ai{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Oe,!t&&Oe&&(this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Oe;try{return Oe=this,t()}finally{Oe=n}}}on(){++this._on===1&&(this.prevScope=Oe,Oe=this)}off(){this._on>0&&--this._on===0&&(Oe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Jr(){return Oe}function ji(e,t=!1){Oe&&Oe.cleanups.push(e)}let ge;const fs=new WeakSet;class Xr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Oe&&Oe.active&&Oe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,fs.has(this)&&(fs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Zr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,or(this),eo(this);const t=ge,n=Je;ge=this,Je=!0;try{return this.fn()}finally{to(this),ge=t,Je=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Vs(t);this.deps=this.depsTail=void 0,or(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?fs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xs(this)&&this.run()}get dirty(){return xs(this)}}let Qr=0,on,ln;function Zr(e,t=!1){if(e.flags|=8,t){e.next=ln,ln=e;return}e.next=on,on=e}function Fs(){Qr++}function Us(){if(--Qr>0)return;if(ln){let t=ln;for(ln=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;on;){let t=on;for(on=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function eo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function to(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Vs(s),Di(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function xs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(no(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function no(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===fn)||(e.globalVersion=fn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xs(e))))return;e.flags|=2;const t=e.dep,n=ge,s=Je;ge=e,Je=!0;try{eo(e);const r=e.fn(e._value);(t.version===0||xt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ge=n,Je=s,to(e),e.flags&=-3}}function Vs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Vs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Di(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Je=!0;const so=[];function mt(){so.push(Je),Je=!1}function vt(){const e=so.pop();Je=e===void 0?!0:e}function or(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ge;ge=void 0;try{t()}finally{ge=n}}}let fn=0;class Pi{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Hs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ge||!Je||ge===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ge)n=this.activeLink=new Pi(ge,this),ge.deps?(n.prevDep=ge.depsTail,ge.depsTail.nextDep=n,ge.depsTail=n):ge.deps=ge.depsTail=n,ro(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ge.depsTail,n.nextDep=void 0,ge.depsTail.nextDep=n,ge.depsTail=n,ge.deps===n&&(ge.deps=s)}return n}trigger(t){this.version++,fn++,this.notify(t)}notify(t){Fs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Us()}}}function ro(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ro(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ss=new WeakMap,Nt=Symbol(""),$s=Symbol(""),dn=Symbol("");function ke(e,t,n){if(Je&&ge){let s=Ss.get(e);s||Ss.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Hs),r.map=s,r.key=n),r.track()}}function dt(e,t,n,s,r,i){const o=Ss.get(e);if(!o){fn++;return}const l=a=>{a&&a.trigger()};if(Fs(),t==="clear")o.forEach(l);else{const a=B(e),c=a&&Ns(n);if(a&&n==="length"){const u=Number(s);o.forEach((f,p)=>{(p==="length"||p===dn||!Xe(p)&&p>=u)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),c&&l(o.get(dn)),t){case"add":a?c&&l(o.get("length")):(l(o.get(Nt)),Bt(e)&&l(o.get($s)));break;case"delete":a||(l(o.get(Nt)),Bt(e)&&l(o.get($s)));break;case"set":Bt(e)&&l(o.get(Nt));break}}Us()}function Ut(e){const t=oe(e);return t===e?t:(ke(t,"iterate",dn),Ye(e)?t:t.map($e))}function Qn(e){return ke(e=oe(e),"iterate",dn),e}const Ii={__proto__:null,[Symbol.iterator](){return ds(this,Symbol.iterator,$e)},concat(...e){return Ut(this).concat(...e.map(t=>B(t)?Ut(t):t))},entries(){return ds(this,"entries",e=>(e[1]=$e(e[1]),e))},every(e,t){return ut(this,"every",e,t,void 0,arguments)},filter(e,t){return ut(this,"filter",e,t,n=>n.map($e),arguments)},find(e,t){return ut(this,"find",e,t,$e,arguments)},findIndex(e,t){return ut(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ut(this,"findLast",e,t,$e,arguments)},findLastIndex(e,t){return ut(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ut(this,"forEach",e,t,void 0,arguments)},includes(...e){return ps(this,"includes",e)},indexOf(...e){return ps(this,"indexOf",e)},join(e){return Ut(this).join(e)},lastIndexOf(...e){return ps(this,"lastIndexOf",e)},map(e,t){return ut(this,"map",e,t,void 0,arguments)},pop(){return en(this,"pop")},push(...e){return en(this,"push",e)},reduce(e,...t){return ir(this,"reduce",e,t)},reduceRight(e,...t){return ir(this,"reduceRight",e,t)},shift(){return en(this,"shift")},some(e,t){return ut(this,"some",e,t,void 0,arguments)},splice(...e){return en(this,"splice",e)},toReversed(){return Ut(this).toReversed()},toSorted(e){return Ut(this).toSorted(e)},toSpliced(...e){return Ut(this).toSpliced(...e)},unshift(...e){return en(this,"unshift",e)},values(){return ds(this,"values",$e)}};function ds(e,t,n){const s=Qn(e),r=s[t]();return s!==e&&!Ye(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const Mi=Array.prototype;function ut(e,t,n,s,r,i){const o=Qn(e),l=o!==e&&!Ye(e),a=o[t];if(a!==Mi[t]){const f=a.apply(e,i);return l?$e(f):f}let c=n;o!==e&&(l?c=function(f,p){return n.call(this,$e(f),p,e)}:n.length>2&&(c=function(f,p){return n.call(this,f,p,e)}));const u=a.call(o,c,s);return l&&r?r(u):u}function ir(e,t,n,s){const r=Qn(e);let i=n;return r!==e&&(Ye(e)?n.length>3&&(i=function(o,l,a){return n.call(this,o,l,a,e)}):i=function(o,l,a){return n.call(this,o,$e(l),a,e)}),r[t](i,...s)}function ps(e,t,n){const s=oe(e);ke(s,"iterate",dn);const r=s[t](...n);return(r===-1||r===!1)&&Ws(n[0])?(n[0]=oe(n[0]),s[t](...n)):r}function en(e,t,n=[]){mt(),Fs();const s=oe(e)[t].apply(e,n);return Us(),vt(),s}const Ri=Is("__proto__,__v_isRef,__isVue"),oo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Xe));function Ni(e){Xe(e)||(e=String(e));const t=oe(this);return ke(t,"has",e),t.hasOwnProperty(e)}class io{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?zi:co:i?uo:ao).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=B(t);if(!r){let a;if(o&&(a=Ii[n]))return a;if(n==="hasOwnProperty")return Ni}const l=Reflect.get(t,n,De(t)?t:s);return(Xe(n)?oo.has(n):Ri(n))||(r||ke(t,"get",n),i)?l:De(l)?o&&Ns(n)?l:l.value:me(l)?r?fo(l):qs(l):l}}class lo extends io{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const a=Tt(i);if(!Ye(s)&&!Tt(s)&&(i=oe(i),s=oe(s)),!B(t)&&De(i)&&!De(s))return a?!1:(i.value=s,!0)}const o=B(t)&&Ns(n)?Number(n)<t.length:ae(t,n),l=Reflect.set(t,n,s,De(t)?t:r);return t===oe(r)&&(o?xt(s,i)&&dt(t,"set",n,s):dt(t,"add",n,s)),l}deleteProperty(t,n){const s=ae(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&dt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Xe(n)||!oo.has(n))&&ke(t,"has",n),s}ownKeys(t){return ke(t,"iterate",B(t)?"length":Nt),Reflect.ownKeys(t)}}class Li extends io{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Fi=new lo,Ui=new Li,Vi=new lo(!0);const Ts=e=>e,kn=e=>Reflect.getPrototypeOf(e);function Hi(e,t,n){return function(...s){const r=this.__v_raw,i=oe(r),o=Bt(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=r[e](...s),u=n?Ts:t?Nn:$e;return!t&&ke(i,"iterate",a?$s:Nt),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:l?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function En(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Bi(e,t){const n={get(r){const i=this.__v_raw,o=oe(i),l=oe(r);e||(xt(r,l)&&ke(o,"get",r),ke(o,"get",l));const{has:a}=kn(o),c=t?Ts:e?Nn:$e;if(a.call(o,r))return c(i.get(r));if(a.call(o,l))return c(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ke(oe(r),"iterate",Nt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=oe(i),l=oe(r);return e||(xt(r,l)&&ke(o,"has",r),ke(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,a=oe(l),c=t?Ts:e?Nn:$e;return!e&&ke(a,"iterate",Nt),l.forEach((u,f)=>r.call(i,c(u),c(f),o))}};return xe(n,e?{add:En("add"),set:En("set"),delete:En("delete"),clear:En("clear")}:{add(r){!t&&!Ye(r)&&!Tt(r)&&(r=oe(r));const i=oe(this);return kn(i).has.call(i,r)||(i.add(r),dt(i,"add",r,r)),this},set(r,i){!t&&!Ye(i)&&!Tt(i)&&(i=oe(i));const o=oe(this),{has:l,get:a}=kn(o);let c=l.call(o,r);c||(r=oe(r),c=l.call(o,r));const u=a.call(o,r);return o.set(r,i),c?xt(i,u)&&dt(o,"set",r,i):dt(o,"add",r,i),this},delete(r){const i=oe(this),{has:o,get:l}=kn(i);let a=o.call(i,r);a||(r=oe(r),a=o.call(i,r)),l&&l.call(i,r);const c=i.delete(r);return a&&dt(i,"delete",r,void 0),c},clear(){const r=oe(this),i=r.size!==0,o=r.clear();return i&&dt(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Hi(r,e,t)}),n}function Bs(e,t){const n=Bi(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ae(n,r)&&r in s?n:s,r,i)}const qi={get:Bs(!1,!1)},Ki={get:Bs(!1,!0)},Wi={get:Bs(!0,!1)};const ao=new WeakMap,uo=new WeakMap,co=new WeakMap,zi=new WeakMap;function Yi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gi(e){return e.__v_skip||!Object.isExtensible(e)?0:Yi(yi(e))}function qs(e){return Tt(e)?e:Ks(e,!1,Fi,qi,ao)}function Ji(e){return Ks(e,!1,Vi,Ki,uo)}function fo(e){return Ks(e,!0,Ui,Wi,co)}function Ks(e,t,n,s,r){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Gi(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function qt(e){return Tt(e)?qt(e.__v_raw):!!(e&&e.__v_isReactive)}function Tt(e){return!!(e&&e.__v_isReadonly)}function Ye(e){return!!(e&&e.__v_isShallow)}function Ws(e){return e?!!e.__v_raw:!1}function oe(e){const t=e&&e.__v_raw;return t?oe(t):e}function Xi(e){return!ae(e,"__v_skip")&&Object.isExtensible(e)&&Cs(e,"__v_skip",!0),e}const $e=e=>me(e)?qs(e):e,Nn=e=>me(e)?fo(e):e;function De(e){return e?e.__v_isRef===!0:!1}function q(e){return po(e,!1)}function ze(e){return po(e,!0)}function po(e,t){return De(e)?e:new Qi(e,t)}class Qi{constructor(t,n){this.dep=new Hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:oe(t),this._value=n?t:$e(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ye(t)||Tt(t);t=s?t:oe(t),xt(t,n)&&(this._rawValue=t,this._value=s?t:$e(t),this.dep.trigger())}}function Qt(e){return De(e)?e.value:e}function Kt(e){return Y(e)?e():Qt(e)}const Zi={get:(e,t,n)=>t==="__v_raw"?e:Qt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return De(r)&&!De(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ho(e){return qt(e)?e:new Proxy(e,Zi)}class el{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=fn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ge!==this)return Zr(this,!0),!0}get value(){const t=this.dep.track();return no(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function tl(e,t,n=!1){let s,r;return Y(e)?s=e:(s=e.get,r=e.set),new el(s,r,n)}const An={},Ln=new WeakMap;let It;function nl(e,t=!1,n=It){if(n){let s=Ln.get(n);s||Ln.set(n,s=[]),s.push(e)}}function sl(e,t,n=pe){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:a}=n,c=R=>r?R:Ye(R)||r===!1||r===0?pt(R,1):pt(R);let u,f,p,m,x=!1,O=!1;if(De(e)?(f=()=>e.value,x=Ye(e)):qt(e)?(f=()=>c(e),x=!0):B(e)?(O=!0,x=e.some(R=>qt(R)||Ye(R)),f=()=>e.map(R=>{if(De(R))return R.value;if(qt(R))return c(R);if(Y(R))return a?a(R,2):R()})):Y(e)?t?f=a?()=>a(e,2):e:f=()=>{if(p){mt();try{p()}finally{vt()}}const R=It;It=u;try{return a?a(e,3,[m]):e(m)}finally{It=R}}:f=it,t&&r){const R=f,V=r===!0?1/0:r;f=()=>pt(R(),V)}const F=Jr(),b=()=>{u.stop(),F&&F.active&&Rs(F.effects,u)};if(i&&t){const R=t;t=(...V)=>{R(...V),b()}}let C=O?new Array(e.length).fill(An):An;const L=R=>{if(!(!(u.flags&1)||!u.dirty&&!R))if(t){const V=u.run();if(r||x||(O?V.some((ne,K)=>xt(ne,C[K])):xt(V,C))){p&&p();const ne=It;It=u;try{const K=[V,C===An?void 0:O&&C[0]===An?[]:C,m];C=V,a?a(t,3,K):t(...K)}finally{It=ne}}}else u.run()};return l&&l(L),u=new Xr(f),u.scheduler=o?()=>o(L,!1):L,m=R=>nl(R,!1,u),p=u.onStop=()=>{const R=Ln.get(u);if(R){if(a)a(R,4);else for(const V of R)V();Ln.delete(u)}},t?s?L(!0):C=u.run():o?o(L.bind(null,!0),!0):u.run(),b.pause=u.pause.bind(u),b.resume=u.resume.bind(u),b.stop=b,b}function pt(e,t=1/0,n){if(t<=0||!me(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,De(e))pt(e.value,t,n);else if(B(e))for(let s=0;s<e.length;s++)pt(e[s],t,n);else if(Yn(e)||Bt(e))e.forEach(s=>{pt(s,t,n)});else if(Kr(e)){for(const s in e)pt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&pt(e[s],t,n)}return e}/**
|
|
10
10
|
* @vue/runtime-core v3.5.18
|
|
11
11
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
12
|
* @license MIT
|
|
13
|
-
**/function xn(e,t,n,s){try{return s?e(...s):e()}catch(r){Zn(r,t,n)}}function Qe(e,t,n,s){if(Y(e)){const r=xn(e,t,n,s);return r&&Br(r)&&r.catch(i=>{Zn(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Qe(e[i],t,n,s));return r}}function Zn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||pe;if(t){let l=t.parent;const a=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,c)===!1)return}l=l.parent}if(i){mt(),xn(i,null,10,[e,a,c]),vt();return}}rl(e,n,r,s,o)}function rl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Re=[];let rt=-1;const Wt=[];let wt=null,Vt=0;const mo=Promise.resolve();let Fn=null;function Lt(e){const t=Fn||mo;return e?t.then(this?e.bind(this):e):t}function ol(e){let t=rt+1,n=Re.length;for(;t<n;){const s=t+n>>>1,r=Re[s],i=pn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function zs(e){if(!(e.flags&1)){const t=pn(e),n=Re[Re.length-1];!n||!(e.flags&2)&&t>=pn(n)?Re.push(e):Re.splice(ol(t),0,e),e.flags|=1,vo()}}function vo(){Fn||(Fn=mo.then(yo))}function il(e){B(e)?Wt.push(...e):wt&&e.id===-1?wt.splice(Vt+1,0,e):e.flags&1||(Wt.push(e),e.flags|=1),vo()}function lr(e,t,n=rt+1){for(;n<Re.length;n++){const s=Re[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Re.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function go(e){if(Wt.length){const t=[...new Set(Wt)].sort((n,s)=>pn(n)-pn(s));if(Wt.length=0,wt){wt.push(...t);return}for(wt=t,Vt=0;Vt<wt.length;Vt++){const n=wt[Vt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wt=null,Vt=0}}const pn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function yo(e){try{for(rt=0;rt<Re.length;rt++){const t=Re[rt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),xn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;rt<Re.length;rt++){const t=Re[rt];t&&(t.flags&=-2)}rt=-1,Re.length=0,go(),Fn=null,(Re.length||Wt.length)&&yo()}}let Ae=null,bo=null;function Un(e){const t=Ae;return Ae=e,bo=e&&e.type.__scopeId||null,t}function he(e,t=Ae,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&gr(-1);const i=Un(t);let o;try{o=e(...r)}finally{Un(i),s._d&&gr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Ve(e,t){if(Ae===null)return e;const n=os(Ae),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,a=pe]=t[r];i&&(Y(i)&&(i={mounted:i,updated:i}),i.deep&&pt(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:a}))}return e}function At(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let a=l.dir[s];a&&(mt(),Qe(a,n,8,[e.el,l,e,t]),vt())}}const ll=Symbol("_vte"),wo=e=>e.__isTeleport,_t=Symbol("_leaveCb"),jn=Symbol("_enterCb");function al(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Et(()=>{e.isMounted=!0}),Eo(()=>{e.isUnmounting=!0}),e}const We=[Function,Array],_o={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:We,onEnter:We,onAfterEnter:We,onEnterCancelled:We,onBeforeLeave:We,onLeave:We,onAfterLeave:We,onLeaveCancelled:We,onBeforeAppear:We,onAppear:We,onAfterAppear:We,onAppearCancelled:We},Co=e=>{const t=e.subTree;return t.component?Co(t.component):t},ul={name:"BaseTransition",props:_o,setup(e,{slots:t}){const n=rs(),s=al();return()=>{const r=t.default&&$o(t.default(),!0);if(!r||!r.length)return;const i=xo(r),o=oe(e),{mode:l}=o;if(s.isLeaving)return hs(i);const a=ar(i);if(!a)return hs(i);let c=Os(a,o,s,n,f=>c=f);a.type!==Ee&&hn(a,c);let u=n.subTree&&ar(n.subTree);if(u&&u.type!==Ee&&!Mt(a,u)&&Co(n).type!==Ee){let f=Os(u,o,s,n);if(hn(u,f),l==="out-in"&&a.type!==Ee)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},hs(i);l==="in-out"&&a.type!==Ee?f.delayLeave=(p,m,C)=>{const E=So(s,u);E[String(u.key)]=u,p[_t]=()=>{m(),p[_t]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{C(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function xo(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ee){t=n;break}}return t}const cl=ul;function So(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Os(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:C,onLeaveCancelled:E,onBeforeAppear:F,onAppear:b,onAfterAppear:x,onAppearCancelled:L}=t,R=String(e.key),V=So(n,e),ne=(W,ee)=>{W&&Qe(W,s,9,ee)},K=(W,ee)=>{const re=ee[1];ne(W,ee),B(W)?W.every(P=>P.length<=1)&&re():W.length<=1&&re()},le={mode:o,persisted:l,beforeEnter(W){let ee=a;if(!n.isMounted)if(i)ee=F||a;else return;W[_t]&&W[_t](!0);const re=V[R];re&&Mt(e,re)&&re.el[_t]&&re.el[_t](),ne(ee,[W])},enter(W){let ee=c,re=u,P=f;if(!n.isMounted)if(i)ee=b||c,re=x||u,P=L||f;else return;let ue=!1;const A=W[jn]=y=>{ue||(ue=!0,y?ne(P,[W]):ne(re,[W]),le.delayedLeave&&le.delayedLeave(),W[jn]=void 0)};ee?K(ee,[W,A]):A()},leave(W,ee){const re=String(e.key);if(W[jn]&&W[jn](!0),n.isUnmounting)return ee();ne(p,[W]);let P=!1;const ue=W[_t]=A=>{P||(P=!0,ee(),A?ne(E,[W]):ne(C,[W]),W[_t]=void 0,V[re]===e&&delete V[re])};V[re]=e,m?K(m,[W,ue]):ue()},clone(W){const ee=Os(W,t,n,s,r);return r&&r(ee),ee}};return le}function hs(e){if(es(e))return e=Ot(e),e.children=null,e}function ar(e){if(!es(e))return wo(e.type)&&e.children?xo(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Y(n.default))return n.default()}}function hn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,hn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function $o(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ie?(o.patchFlag&128&&r++,s=s.concat($o(o.children,t,l))):(t||o.type!==Ee)&&s.push(l!=null?Ot(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function ye(e,t){return Y(e)?xe({name:e.name},t,{setup:e}):e}function To(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function an(e,t,n,s,r=!1){if(B(e)){e.forEach((C,E)=>an(C,t&&(B(t)?t[E]:t),n,s,r));return}if(zt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&an(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?os(s.component):s.el,o=r?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===pe?l.refs={}:l.refs,f=l.setupState,p=oe(f),m=f===pe?()=>!1:C=>ae(p,C);if(c!=null&&c!==a&&(be(c)?(u[c]=null,m(c)&&(f[c]=null)):De(c)&&(c.value=null)),Y(a))xn(a,l,12,[o,u]);else{const C=be(a),E=De(a);if(C||E){const F=()=>{if(e.f){const b=C?m(a)?f[a]:u[a]:a.value;r?B(b)&&Rs(b,i):B(b)?b.includes(i)||b.push(i):C?(u[a]=[i],m(a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else C?(u[a]=o,m(a)&&(f[a]=o)):E&&(a.value=o,e.k&&(u[e.k]=o))};o?(F.id=-1,Be(F,n)):F()}}}Jn().requestIdleCallback;Jn().cancelIdleCallback;const zt=e=>!!e.type.__asyncLoader,es=e=>e.type.__isKeepAlive;function fl(e,t){Oo(e,"a",t)}function dl(e,t){Oo(e,"da",t)}function Oo(e,t,n=Ne){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ts(t,s,n),n){let r=n.parent;for(;r&&r.parent;)es(r.parent.vnode)&&pl(s,t,n,r),r=r.parent}}function pl(e,t,n,s){const r=ts(t,e,s,!0);Ao(()=>{Rs(s[t],r)},n)}function ts(e,t,n=Ne,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{mt();const l=Sn(n),a=Qe(t,n,e,o);return l(),vt(),a});return s?r.unshift(i):r.push(i),i}}const gt=e=>(t,n=Ne)=>{(!gn||e==="sp")&&ts(e,(...s)=>t(...s),n)},hl=gt("bm"),Et=gt("m"),ml=gt("bu"),ko=gt("u"),Eo=gt("bum"),Ao=gt("um"),vl=gt("sp"),gl=gt("rtg"),yl=gt("rtc");function bl(e,t=Ne){ts("ec",e,t)}const wl=Symbol.for("v-ndc");function Te(e,t,n,s){let r;const i=n,o=B(e);if(o||be(e)){const l=o&&qt(e);let a=!1,c=!1;l&&(a=!Ye(e),c=Tt(e),e=Qn(e)),r=new Array(e.length);for(let u=0,f=e.length;u<f;u++)r[u]=t(a?c?Nn($e(e[u])):$e(e[u]):e[u],u,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(me(e))if(e[Symbol.iterator])r=Array.from(e,(l,a)=>t(l,a,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,c=l.length;a<c;a++){const u=l[a];r[a]=t(e[u],u,a,i)}}else r=[];return r}function Ge(e,t,n={},s,r){if(Ae.ce||Ae.parent&&zt(Ae.parent)&&Ae.parent.ce)return t!=="default"&&(n.name=t),g(),we(ie,null,[G("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),g();const o=i&&jo(i(n)),l=n.key||o&&o.key,a=we(ie,{key:(l&&!Xe(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function jo(e){return e.some(t=>vn(t)?!(t.type===Ee||t.type===ie&&!jo(t.children)):!0)?e:null}const ks=e=>e?Qo(e)?os(e):ks(e.parent):null,un=xe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ks(e.parent),$root:e=>ks(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Po(e),$forceUpdate:e=>e.f||(e.f=()=>{zs(e.update)}),$nextTick:e=>e.n||(e.n=Lt.bind(e.proxy)),$watch:e=>Vl.bind(e)}),ms=(e,t)=>e!==pe&&!e.__isScriptSetup&&ae(e,t),_l={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ms(s,t))return o[t]=1,s[t];if(r!==pe&&ae(r,t))return o[t]=2,r[t];if((c=e.propsOptions[0])&&ae(c,t))return o[t]=3,i[t];if(n!==pe&&ae(n,t))return o[t]=4,n[t];Es&&(o[t]=0)}}const u=un[t];let f,p;if(u)return t==="$attrs"&&ke(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==pe&&ae(n,t))return o[t]=4,n[t];if(p=a.config.globalProperties,ae(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return ms(r,t)?(r[t]=n,!0):s!==pe&&ae(s,t)?(s[t]=n,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==pe&&ae(e,o)||ms(t,o)||(l=i[0])&&ae(l,o)||ae(s,o)||ae(un,o)||ae(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ur(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Es=!0;function Cl(e){const t=Po(e),n=e.proxy,s=e.ctx;Es=!1,t.beforeCreate&&cr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:p,beforeUpdate:m,updated:C,activated:E,deactivated:F,beforeDestroy:b,beforeUnmount:x,destroyed:L,unmounted:R,render:V,renderTracked:ne,renderTriggered:K,errorCaptured:le,serverPrefetch:W,expose:ee,inheritAttrs:re,components:P,directives:ue,filters:A}=t;if(c&&xl(c,s,null),o)for(const Q in o){const fe=o[Q];Y(fe)&&(s[Q]=fe.bind(n))}if(r){const Q=r.call(n,n);me(Q)&&(e.data=qs(Q))}if(Es=!0,i)for(const Q in i){const fe=i[Q],Ze=Y(fe)?fe.bind(n,n):Y(fe.get)?fe.get.bind(n,n):it,Ft=!Y(fe)&&Y(fe.set)?fe.set.bind(n):it,at=Z({get:Ze,set:Ft});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>at.value,set:Ke=>at.value=Ke})}if(l)for(const Q in l)Do(l[Q],s,n,Q);if(a){const Q=Y(a)?a.call(n):a;Reflect.ownKeys(Q).forEach(fe=>{Mo(fe,Q[fe])})}u&&cr(u,e,"c");function O(Q,fe){B(fe)?fe.forEach(Ze=>Q(Ze.bind(n))):fe&&Q(fe.bind(n))}if(O(hl,f),O(Et,p),O(ml,m),O(ko,C),O(fl,E),O(dl,F),O(bl,le),O(yl,ne),O(gl,K),O(Eo,x),O(Ao,R),O(vl,W),B(ee))if(ee.length){const Q=e.exposed||(e.exposed={});ee.forEach(fe=>{Object.defineProperty(Q,fe,{get:()=>n[fe],set:Ze=>n[fe]=Ze,enumerable:!0})})}else e.exposed||(e.exposed={});V&&e.render===it&&(e.render=V),re!=null&&(e.inheritAttrs=re),P&&(e.components=P),ue&&(e.directives=ue),W&&To(e)}function xl(e,t,n=it){B(e)&&(e=As(e));for(const s in e){const r=e[s];let i;me(r)?"default"in r?i=Ce(r.from||s,r.default,!0):i=Ce(r.from||s):i=Ce(r),De(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function cr(e,t,n){Qe(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Do(e,t,n,s){let r=s.includes(".")?zo(n,s):()=>n[s];if(be(e)){const i=t[e];Y(i)&&Pe(r,i)}else if(Y(e))Pe(r,e.bind(n));else if(me(e))if(B(e))e.forEach(i=>Do(i,t,n,s));else{const i=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(i)&&Pe(r,i,e)}}function Po(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(c=>Vn(a,c,o,!0)),Vn(a,t,o)),me(t)&&i.set(t,a),a}function Vn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Vn(e,i,n,!0),r&&r.forEach(o=>Vn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Sl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Sl={data:fr,props:dr,emits:dr,methods:sn,computed:sn,beforeCreate:Me,created:Me,beforeMount:Me,mounted:Me,beforeUpdate:Me,updated:Me,beforeDestroy:Me,beforeUnmount:Me,destroyed:Me,unmounted:Me,activated:Me,deactivated:Me,errorCaptured:Me,serverPrefetch:Me,components:sn,directives:sn,watch:Tl,provide:fr,inject:$l};function fr(e,t){return t?e?function(){return xe(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function $l(e,t){return sn(As(e),As(t))}function As(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Me(e,t){return e?[...new Set([].concat(e,t))]:t}function sn(e,t){return e?xe(Object.create(null),e,t):t}function dr(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:xe(Object.create(null),ur(e),ur(t??{})):t}function Tl(e,t){if(!e)return t;if(!t)return e;const n=xe(Object.create(null),e);for(const s in t)n[s]=Me(e[s],t[s]);return n}function Io(){return{app:null,config:{isNativeTag:vi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ol=0;function kl(e,t){return function(s,r=null){Y(s)||(s=xe({},s)),r!=null&&!me(r)&&(r=null);const i=Io(),o=new WeakSet,l=[];let a=!1;const c=i.app={_uid:Ol++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:aa,get config(){return i.config},set config(u){},use(u,...f){return o.has(u)||(u&&Y(u.install)?(o.add(u),u.install(c,...f)):Y(u)&&(o.add(u),u(c,...f))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,f){return f?(i.components[u]=f,c):i.components[u]},directive(u,f){return f?(i.directives[u]=f,c):i.directives[u]},mount(u,f,p){if(!a){const m=c._ceVNode||G(s,r);return m.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(m,u,p),a=!0,c._container=u,u.__vue_app__=c,os(m.component)}},onUnmount(u){l.push(u)},unmount(){a&&(Qe(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return i.provides[u]=f,c},runWithContext(u){const f=Yt;Yt=c;try{return u()}finally{Yt=f}}};return c}}let Yt=null;function Mo(e,t){if(Ne){let n=Ne.provides;const s=Ne.parent&&Ne.parent.provides;s===n&&(n=Ne.provides=Object.create(s)),n[e]=t}}function Ce(e,t,n=!1){const s=rs();if(s||Yt){let r=Yt?Yt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Y(t)?t.call(s&&s.proxy):t}}const Ro={},No=()=>Object.create(Ro),Lo=e=>Object.getPrototypeOf(e)===Ro;function El(e,t,n,s=!1){const r={},i=No();e.propsDefaults=Object.create(null),Fo(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Ji(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Al(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=oe(r),[a]=e.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(ns(e.emitsOptions,p))continue;const m=t[p];if(a)if(ae(i,p))m!==i[p]&&(i[p]=m,c=!0);else{const C=$t(p);r[C]=js(a,l,C,m,e,!1)}else m!==i[p]&&(i[p]=m,c=!0)}}}else{Fo(e,t,r,i)&&(c=!0);let u;for(const f in l)(!t||!ae(t,f)&&((u=kt(f))===f||!ae(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(r[f]=js(a,l,f,void 0,e,!0)):delete r[f]);if(i!==l)for(const f in i)(!t||!ae(t,f))&&(delete i[f],c=!0)}c&&dt(e.attrs,"set","")}function Fo(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(rn(a))continue;const c=t[a];let u;r&&ae(r,u=$t(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:ns(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,o=!0)}if(i){const a=oe(n),c=l||pe;for(let u=0;u<i.length;u++){const f=i[u];n[f]=js(r,a,f,c[f],e,!ae(c,f))}}return o}function js(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=ae(o,"default");if(l&&s===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&Y(a)){const{propsDefaults:c}=r;if(n in c)s=c[n];else{const u=Sn(r);s=c[n]=a.call(null,t),u()}}else s=a;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===kt(n))&&(s=!0))}return s}const jl=new WeakMap;function Uo(e,t,n=!1){const s=n?jl:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let a=!1;if(!Y(e)){const u=f=>{a=!0;const[p,m]=Uo(f,t,!0);xe(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return me(e)&&s.set(e,Ht),Ht;if(B(i))for(let u=0;u<i.length;u++){const f=$t(i[u]);pr(f)&&(o[f]=pe)}else if(i)for(const u in i){const f=$t(u);if(pr(f)){const p=i[u],m=o[f]=B(p)||Y(p)?{type:p}:xe({},p),C=m.type;let E=!1,F=!0;if(B(C))for(let b=0;b<C.length;++b){const x=C[b],L=Y(x)&&x.name;if(L==="Boolean"){E=!0;break}else L==="String"&&(F=!1)}else E=Y(C)&&C.name==="Boolean";m[0]=E,m[1]=F,(E||ae(m,"default"))&&l.push(f)}}const c=[o,l];return me(e)&&s.set(e,c),c}function pr(e){return e[0]!=="$"&&!rn(e)}const Ys=e=>e==="_"||e==="__"||e==="_ctx"||e==="$stable",Gs=e=>B(e)?e.map(ot):[ot(e)],Dl=(e,t,n)=>{if(t._n)return t;const s=he((...r)=>Gs(t(...r)),n);return s._c=!1,s},Vo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ys(r))continue;const i=e[r];if(Y(i))t[r]=Dl(r,i,s);else if(i!=null){const o=Gs(i);t[r]=()=>o}}},Ho=(e,t)=>{const n=Gs(t);e.slots.default=()=>n},Bo=(e,t,n)=>{for(const s in t)(n||!Ys(s))&&(e[s]=t[s])},Pl=(e,t,n)=>{const s=e.slots=No();if(e.vnode.shapeFlag&32){const r=t.__;r&&Cs(s,"__",r,!0);const i=t._;i?(Bo(s,t,n),n&&Cs(s,"_",i,!0)):Vo(t,s)}else t&&Ho(e,t)},Il=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=pe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Bo(r,t,n):(i=!t.$stable,Vo(t,r)),o=t}else t&&(Ho(e,t),o={default:1});if(i)for(const l in r)!Ys(l)&&o[l]==null&&delete r[l]},Be=Yl;function Ml(e){return Rl(e)}function Rl(e,t){const n=Jn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:p,setScopeId:m=it,insertStaticContent:C}=e,E=(d,h,v,S=null,w=null,_=null,I=void 0,D=null,j=!!h.dynamicChildren)=>{if(d===h)return;d&&!Mt(d,h)&&(S=J(d),Ke(d,w,_,!0),d=null),h.patchFlag===-2&&(j=!1,h.dynamicChildren=null);const{type:$,ref:H,shapeFlag:M}=h;switch($){case ss:F(d,h,v,S);break;case Ee:b(d,h,v,S);break;case gs:d==null&&x(h,v,S,I);break;case ie:P(d,h,v,S,w,_,I,D,j);break;default:M&1?V(d,h,v,S,w,_,I,D,j):M&6?ue(d,h,v,S,w,_,I,D,j):(M&64||M&128)&&$.process(d,h,v,S,w,_,I,D,j,Se)}H!=null&&w?an(H,d&&d.ref,_,h||d,!h):H==null&&d&&d.ref!=null&&an(d.ref,null,_,d,!0)},F=(d,h,v,S)=>{if(d==null)s(h.el=l(h.children),v,S);else{const w=h.el=d.el;h.children!==d.children&&c(w,h.children)}},b=(d,h,v,S)=>{d==null?s(h.el=a(h.children||""),v,S):h.el=d.el},x=(d,h,v,S)=>{[d.el,d.anchor]=C(d.children,h,v,S,d.el,d.anchor)},L=({el:d,anchor:h},v,S)=>{let w;for(;d&&d!==h;)w=p(d),s(d,v,S),d=w;s(h,v,S)},R=({el:d,anchor:h})=>{let v;for(;d&&d!==h;)v=p(d),r(d),d=v;r(h)},V=(d,h,v,S,w,_,I,D,j)=>{h.type==="svg"?I="svg":h.type==="math"&&(I="mathml"),d==null?ne(h,v,S,w,_,I,D,j):W(d,h,w,_,I,D,j)},ne=(d,h,v,S,w,_,I,D)=>{let j,$;const{props:H,shapeFlag:M,transition:U,dirs:z}=d;if(j=d.el=o(d.type,_,H&&H.is,H),M&8?u(j,d.children):M&16&&le(d.children,j,null,S,w,vs(d,_),I,D),z&&At(d,null,S,"created"),K(j,d,d.scopeId,I,S),H){for(const ve in H)ve!=="value"&&!rn(ve)&&i(j,ve,null,H[ve],_,S);"value"in H&&i(j,"value",null,H.value,_),($=H.onVnodeBeforeMount)&&st($,S,d)}z&&At(d,null,S,"beforeMount");const te=Nl(w,U);te&&U.beforeEnter(j),s(j,h,v),(($=H&&H.onVnodeMounted)||te||z)&&Be(()=>{$&&st($,S,d),te&&U.enter(j),z&&At(d,null,S,"mounted")},w)},K=(d,h,v,S,w)=>{if(v&&m(d,v),S)for(let _=0;_<S.length;_++)m(d,S[_]);if(w){let _=w.subTree;if(h===_||Go(_.type)&&(_.ssContent===h||_.ssFallback===h)){const I=w.vnode;K(d,I,I.scopeId,I.slotScopeIds,w.parent)}}},le=(d,h,v,S,w,_,I,D,j=0)=>{for(let $=j;$<d.length;$++){const H=d[$]=D?Ct(d[$]):ot(d[$]);E(null,H,h,v,S,w,_,I,D)}},W=(d,h,v,S,w,_,I)=>{const D=h.el=d.el;let{patchFlag:j,dynamicChildren:$,dirs:H}=h;j|=d.patchFlag&16;const M=d.props||pe,U=h.props||pe;let z;if(v&&jt(v,!1),(z=U.onVnodeBeforeUpdate)&&st(z,v,h,d),H&&At(h,d,v,"beforeUpdate"),v&&jt(v,!0),(M.innerHTML&&U.innerHTML==null||M.textContent&&U.textContent==null)&&u(D,""),$?ee(d.dynamicChildren,$,D,v,S,vs(h,w),_):I||fe(d,h,D,null,v,S,vs(h,w),_,!1),j>0){if(j&16)re(D,M,U,v,w);else if(j&2&&M.class!==U.class&&i(D,"class",null,U.class,w),j&4&&i(D,"style",M.style,U.style,w),j&8){const te=h.dynamicProps;for(let ve=0;ve<te.length;ve++){const ce=te[ve],Fe=M[ce],Ue=U[ce];(Ue!==Fe||ce==="value")&&i(D,ce,Fe,Ue,w,v)}}j&1&&d.children!==h.children&&u(D,h.children)}else!I&&$==null&&re(D,M,U,v,w);((z=U.onVnodeUpdated)||H)&&Be(()=>{z&&st(z,v,h,d),H&&At(h,d,v,"updated")},S)},ee=(d,h,v,S,w,_,I)=>{for(let D=0;D<h.length;D++){const j=d[D],$=h[D],H=j.el&&(j.type===ie||!Mt(j,$)||j.shapeFlag&198)?f(j.el):v;E(j,$,H,null,S,w,_,I,!0)}},re=(d,h,v,S,w)=>{if(h!==v){if(h!==pe)for(const _ in h)!rn(_)&&!(_ in v)&&i(d,_,h[_],null,w,S);for(const _ in v){if(rn(_))continue;const I=v[_],D=h[_];I!==D&&_!=="value"&&i(d,_,D,I,w,S)}"value"in v&&i(d,"value",h.value,v.value,w)}},P=(d,h,v,S,w,_,I,D,j)=>{const $=h.el=d?d.el:l(""),H=h.anchor=d?d.anchor:l("");let{patchFlag:M,dynamicChildren:U,slotScopeIds:z}=h;z&&(D=D?D.concat(z):z),d==null?(s($,v,S),s(H,v,S),le(h.children||[],v,H,w,_,I,D,j)):M>0&&M&64&&U&&d.dynamicChildren?(ee(d.dynamicChildren,U,v,w,_,I,D),(h.key!=null||w&&h===w.subTree)&&qo(d,h,!0)):fe(d,h,v,H,w,_,I,D,j)},ue=(d,h,v,S,w,_,I,D,j)=>{h.slotScopeIds=D,d==null?h.shapeFlag&512?w.ctx.activate(h,v,S,I,j):A(h,v,S,w,_,I,j):y(d,h,j)},A=(d,h,v,S,w,_,I)=>{const D=d.component=ta(d,S,w);if(es(d)&&(D.ctx.renderer=Se),na(D,!1,I),D.asyncDep){if(w&&w.registerDep(D,O,I),!d.el){const j=D.subTree=G(Ee);b(null,j,h,v),d.placeholder=j.el}}else O(D,d,h,v,w,_,I)},y=(d,h,v)=>{const S=h.component=d.component;if(Wl(d,h,v))if(S.asyncDep&&!S.asyncResolved){Q(S,h,v);return}else S.next=h,S.update();else h.el=d.el,S.vnode=h},O=(d,h,v,S,w,_,I)=>{const D=()=>{if(d.isMounted){let{next:M,bu:U,u:z,parent:te,vnode:ve}=d;{const tt=Ko(d);if(tt){M&&(M.el=ve.el,Q(d,M,I)),tt.asyncDep.then(()=>{d.isUnmounted||D()});return}}let ce=M,Fe;jt(d,!1),M?(M.el=ve.el,Q(d,M,I)):M=ve,U&&Dn(U),(Fe=M.props&&M.props.onVnodeBeforeUpdate)&&st(Fe,te,M,ve),jt(d,!0);const Ue=mr(d),et=d.subTree;d.subTree=Ue,E(et,Ue,f(et.el),J(et),d,w,_),M.el=Ue.el,ce===null&&zl(d,Ue.el),z&&Be(z,w),(Fe=M.props&&M.props.onVnodeUpdated)&&Be(()=>st(Fe,te,M,ve),w)}else{let M;const{el:U,props:z}=h,{bm:te,m:ve,parent:ce,root:Fe,type:Ue}=d,et=zt(h);jt(d,!1),te&&Dn(te),!et&&(M=z&&z.onVnodeBeforeMount)&&st(M,ce,h),jt(d,!0);{Fe.ce&&Fe.ce._def.shadowRoot!==!1&&Fe.ce._injectChildStyle(Ue);const tt=d.subTree=mr(d);E(null,tt,v,S,d,w,_),h.el=tt.el}if(ve&&Be(ve,w),!et&&(M=z&&z.onVnodeMounted)){const tt=h;Be(()=>st(M,ce,tt),w)}(h.shapeFlag&256||ce&&zt(ce.vnode)&&ce.vnode.shapeFlag&256)&&d.a&&Be(d.a,w),d.isMounted=!0,h=v=S=null}};d.scope.on();const j=d.effect=new Xr(D);d.scope.off();const $=d.update=j.run.bind(j),H=d.job=j.runIfDirty.bind(j);H.i=d,H.id=d.uid,j.scheduler=()=>zs(H),jt(d,!0),$()},Q=(d,h,v)=>{h.component=d;const S=d.vnode.props;d.vnode=h,d.next=null,Al(d,h.props,S,v),Il(d,h.children,v),mt(),lr(d),vt()},fe=(d,h,v,S,w,_,I,D,j=!1)=>{const $=d&&d.children,H=d?d.shapeFlag:0,M=h.children,{patchFlag:U,shapeFlag:z}=h;if(U>0){if(U&128){Ft($,M,v,S,w,_,I,D,j);return}else if(U&256){Ze($,M,v,S,w,_,I,D,j);return}}z&8?(H&16&&N($,w,_),M!==$&&u(v,M)):H&16?z&16?Ft($,M,v,S,w,_,I,D,j):N($,w,_,!0):(H&8&&u(v,""),z&16&&le(M,v,S,w,_,I,D,j))},Ze=(d,h,v,S,w,_,I,D,j)=>{d=d||Ht,h=h||Ht;const $=d.length,H=h.length,M=Math.min($,H);let U;for(U=0;U<M;U++){const z=h[U]=j?Ct(h[U]):ot(h[U]);E(d[U],z,v,null,w,_,I,D,j)}$>H?N(d,w,_,!0,!1,M):le(h,v,S,w,_,I,D,j,M)},Ft=(d,h,v,S,w,_,I,D,j)=>{let $=0;const H=h.length;let M=d.length-1,U=H-1;for(;$<=M&&$<=U;){const z=d[$],te=h[$]=j?Ct(h[$]):ot(h[$]);if(Mt(z,te))E(z,te,v,null,w,_,I,D,j);else break;$++}for(;$<=M&&$<=U;){const z=d[M],te=h[U]=j?Ct(h[U]):ot(h[U]);if(Mt(z,te))E(z,te,v,null,w,_,I,D,j);else break;M--,U--}if($>M){if($<=U){const z=U+1,te=z<H?h[z].el:S;for(;$<=U;)E(null,h[$]=j?Ct(h[$]):ot(h[$]),v,te,w,_,I,D,j),$++}}else if($>U)for(;$<=M;)Ke(d[$],w,_,!0),$++;else{const z=$,te=$,ve=new Map;for($=te;$<=U;$++){const He=h[$]=j?Ct(h[$]):ot(h[$]);He.key!=null&&ve.set(He.key,$)}let ce,Fe=0;const Ue=U-te+1;let et=!1,tt=0;const Zt=new Array(Ue);for($=0;$<Ue;$++)Zt[$]=0;for($=z;$<=M;$++){const He=d[$];if(Fe>=Ue){Ke(He,w,_,!0);continue}let nt;if(He.key!=null)nt=ve.get(He.key);else for(ce=te;ce<=U;ce++)if(Zt[ce-te]===0&&Mt(He,h[ce])){nt=ce;break}nt===void 0?Ke(He,w,_,!0):(Zt[nt-te]=$+1,nt>=tt?tt=nt:et=!0,E(He,h[nt],v,null,w,_,I,D,j),Fe++)}const er=et?Ll(Zt):Ht;for(ce=er.length-1,$=Ue-1;$>=0;$--){const He=te+$,nt=h[He],tr=h[He+1],nr=He+1<H?tr.el||tr.placeholder:S;Zt[$]===0?E(null,nt,v,nr,w,_,I,D,j):et&&(ce<0||$!==er[ce]?at(nt,v,nr,2):ce--)}}},at=(d,h,v,S,w=null)=>{const{el:_,type:I,transition:D,children:j,shapeFlag:$}=d;if($&6){at(d.component.subTree,h,v,S);return}if($&128){d.suspense.move(h,v,S);return}if($&64){I.move(d,h,v,Se);return}if(I===ie){s(_,h,v);for(let M=0;M<j.length;M++)at(j[M],h,v,S);s(d.anchor,h,v);return}if(I===gs){L(d,h,v);return}if(S!==2&&$&1&&D)if(S===0)D.beforeEnter(_),s(_,h,v),Be(()=>D.enter(_),w);else{const{leave:M,delayLeave:U,afterLeave:z}=D,te=()=>{d.ctx.isUnmounted?r(_):s(_,h,v)},ve=()=>{M(_,()=>{te(),z&&z()})};U?U(_,te,ve):ve()}else s(_,h,v)},Ke=(d,h,v,S=!1,w=!1)=>{const{type:_,props:I,ref:D,children:j,dynamicChildren:$,shapeFlag:H,patchFlag:M,dirs:U,cacheIndex:z}=d;if(M===-2&&(w=!1),D!=null&&(mt(),an(D,null,v,d,!0),vt()),z!=null&&(h.renderCache[z]=void 0),H&256){h.ctx.deactivate(d);return}const te=H&1&&U,ve=!zt(d);let ce;if(ve&&(ce=I&&I.onVnodeBeforeUnmount)&&st(ce,h,d),H&6)as(d.component,v,S);else{if(H&128){d.suspense.unmount(v,S);return}te&&At(d,null,h,"beforeUnmount"),H&64?d.type.remove(d,h,v,Se,S):$&&!$.hasOnce&&(_!==ie||M>0&&M&64)?N($,h,v,!1,!0):(_===ie&&M&384||!w&&H&16)&&N(j,h,v),S&&Tn(d)}(ve&&(ce=I&&I.onVnodeUnmounted)||te)&&Be(()=>{ce&&st(ce,h,d),te&&At(d,null,h,"unmounted")},v)},Tn=d=>{const{type:h,el:v,anchor:S,transition:w}=d;if(h===ie){On(v,S);return}if(h===gs){R(d);return}const _=()=>{r(v),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(d.shapeFlag&1&&w&&!w.persisted){const{leave:I,delayLeave:D}=w,j=()=>I(v,_);D?D(d.el,_,j):j()}else _()},On=(d,h)=>{let v;for(;d!==h;)v=p(d),r(d),d=v;r(h)},as=(d,h,v)=>{const{bum:S,scope:w,job:_,subTree:I,um:D,m:j,a:$,parent:H,slots:{__:M}}=d;hr(j),hr($),S&&Dn(S),H&&B(M)&&M.forEach(U=>{H.renderCache[U]=void 0}),w.stop(),_&&(_.flags|=8,Ke(I,d,h,v)),D&&Be(D,h),Be(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},N=(d,h,v,S=!1,w=!1,_=0)=>{for(let I=_;I<d.length;I++)Ke(d[I],h,v,S,w)},J=d=>{if(d.shapeFlag&6)return J(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),v=h&&h[ll];return v?p(v):h};let de=!1;const _e=(d,h,v)=>{d==null?h._vnode&&Ke(h._vnode,null,null,!0):E(h._vnode||null,d,h,null,null,null,v),h._vnode=d,de||(de=!0,lr(),go(),de=!1)},Se={p:E,um:Ke,m:at,r:Tn,mt:A,mc:le,pc:fe,pbc:ee,n:J,o:e};return{render:_e,hydrate:void 0,createApp:kl(_e)}}function vs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function jt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Nl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qo(e,t,n=!1){const s=e.children,r=t.children;if(B(s)&&B(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Ct(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&qo(o,l)),l.type===ss&&(l.el=o.el),l.type===Ee&&!l.el&&(l.el=o.el)}}function Ll(e){const t=e.slice(),n=[0];let s,r,i,o,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<c?i=l+1:o=l;c<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Ko(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ko(t)}function hr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Fl=Symbol.for("v-scx"),Ul=()=>Ce(Fl);function Pe(e,t,n){return Wo(e,t,n)}function Wo(e,t,n=pe){const{immediate:s,deep:r,flush:i,once:o}=n,l=xe({},n),a=t&&s||!t&&i!=="post";let c;if(gn){if(i==="sync"){const m=Ul();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!a){const m=()=>{};return m.stop=it,m.resume=it,m.pause=it,m}}const u=Ne;l.call=(m,C,E)=>Qe(m,u,C,E);let f=!1;i==="post"?l.scheduler=m=>{Be(m,u&&u.suspense)}:i!=="sync"&&(f=!0,l.scheduler=(m,C)=>{C?m():zs(m)}),l.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const p=sl(e,t,l);return gn&&(c?c.push(p):a&&p()),p}function Vl(e,t,n){const s=this.proxy,r=be(e)?e.includes(".")?zo(s,e):()=>s[e]:e.bind(s,s);let i;Y(t)?i=t:(i=t.handler,n=t);const o=Sn(this),l=Wo(r,i.bind(s),n);return o(),l}function zo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Hl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${$t(t)}Modifiers`]||e[`${kt(t)}Modifiers`];function Bl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||pe;let r=n;const i=t.startsWith("update:"),o=i&&Hl(s,t.slice(7));o&&(o.trim&&(r=n.map(u=>be(u)?u.trim():u)),o.number&&(r=n.map(Rn)));let l,a=s[l=us(t)]||s[l=us($t(t))];!a&&i&&(a=s[l=us(kt(t))]),a&&Qe(a,e,6,r);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Qe(c,e,6,r)}}function Yo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!Y(e)){const a=c=>{const u=Yo(c,t,!0);u&&(l=!0,xe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(me(e)&&s.set(e,null),null):(B(i)?i.forEach(a=>o[a]=null):xe(o,i),me(e)&&s.set(e,o),o)}function ns(e,t){return!e||!zn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,kt(t))||ae(e,t))}function mr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:a,render:c,renderCache:u,props:f,data:p,setupState:m,ctx:C,inheritAttrs:E}=e,F=Un(e);let b,x;try{if(n.shapeFlag&4){const R=r||s,V=R;b=ot(c.call(V,R,u,f,m,p,C)),x=l}else{const R=t;b=ot(R.length>1?R(f,{attrs:l,slots:o,emit:a}):R(f,null)),x=t.props?l:ql(l)}}catch(R){cn.length=0,Zn(R,e,1),b=G(Ee)}let L=b;if(x&&E!==!1){const R=Object.keys(x),{shapeFlag:V}=L;R.length&&V&7&&(i&&R.some(Ms)&&(x=Kl(x,i)),L=Ot(L,x,!1,!0))}return n.dirs&&(L=Ot(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&hn(L,n.transition),b=L,Un(F),b}const ql=e=>{let t;for(const n in e)(n==="class"||n==="style"||zn(n))&&((t||(t={}))[n]=e[n]);return t},Kl=(e,t)=>{const n={};for(const s in e)(!Ms(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Wl(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?vr(s,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(o[p]!==s[p]&&!ns(c,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?vr(s,o,c):!0:!!o;return!1}function vr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!ns(n,i))return!0}return!1}function zl({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Go=e=>e.__isSuspense;function Yl(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):il(e)}const ie=Symbol.for("v-fgt"),ss=Symbol.for("v-txt"),Ee=Symbol.for("v-cmt"),gs=Symbol.for("v-stc"),cn=[];let qe=null;function g(e=!1){cn.push(qe=e?null:[])}function Gl(){cn.pop(),qe=cn[cn.length-1]||null}let mn=1;function gr(e,t=!1){mn+=e,e<0&&qe&&t&&(qe.hasOnce=!0)}function Jo(e){return e.dynamicChildren=mn>0?qe||Ht:null,Gl(),mn>0&&qe&&qe.push(e),e}function T(e,t,n,s,r,i){return Jo(k(e,t,n,s,r,i,!0))}function we(e,t,n,s,r){return Jo(G(e,t,n,s,r,!0))}function vn(e){return e?e.__v_isVNode===!0:!1}function Mt(e,t){return e.type===t.type&&e.key===t.key}const Xo=({key:e})=>e??null,Pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||De(e)||Y(e)?{i:Ae,r:e,k:t,f:!!n}:e:null);function k(e,t=null,n=null,s=0,r=null,i=e===ie?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xo(t),ref:t&&Pn(t),scopeId:bo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ae};return l?(Js(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=be(n)?8:16),mn>0&&!o&&qe&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&qe.push(a),a}const G=Jl;function Jl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===wl)&&(e=Ee),vn(e)){const l=Ot(e,t,!0);return n&&Js(l,n),mn>0&&!i&&qe&&(l.shapeFlag&6?qe[qe.indexOf(e)]=l:qe.push(l)),l.patchFlag=-2,l}if(ia(e)&&(e=e.__vccOpts),t){t=Xl(t);let{class:l,style:a}=t;l&&!be(l)&&(t.class=je(l)),me(a)&&(Ws(a)&&!B(a)&&(a=xe({},a)),t.style=Ls(a))}const o=be(e)?1:Go(e)?128:wo(e)?64:me(e)?4:Y(e)?2:0;return k(e,t,n,s,r,o,i,!0)}function Xl(e){return e?Ws(e)||Lo(e)?xe({},e):e:null}function Ot(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:a}=e,c=t?Ql(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Xo(c),ref:t&&t.ref?n&&i?B(i)?i.concat(Pn(t)):[i,Pn(t)]:Pn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ie?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ot(e.ssContent),ssFallback:e.ssFallback&&Ot(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&hn(u,a.clone(u)),u}function Le(e=" ",t=0){return G(ss,null,e,t)}function X(e="",t=!1){return t?(g(),we(Ee,null,e)):G(Ee,null,e)}function ot(e){return e==null||typeof e=="boolean"?G(Ee):B(e)?G(ie,null,e.slice()):vn(e)?Ct(e):G(ss,null,String(e))}function Ct(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ot(e)}function Js(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Js(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Lo(t)?t._ctx=Ae:r===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Ae},n=32):(t=String(t),s&64?(n=16,t=[Le(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ql(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=je([t.class,s.class]));else if(r==="style")t.style=Ls([t.style,s.style]);else if(zn(r)){const i=t[r],o=s[r];o&&i!==o&&!(B(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function st(e,t,n,s=null){Qe(e,t,7,[n,s])}const Zl=Io();let ea=0;function ta(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Zl,i={uid:ea++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ai(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Uo(s,r),emitsOptions:Yo(s,r),emit:null,emitted:null,propsDefaults:pe,inheritAttrs:s.inheritAttrs,ctx:pe,data:pe,props:pe,attrs:pe,slots:pe,refs:pe,setupState:pe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Bl.bind(null,i),e.ce&&e.ce(i),i}let Ne=null;const rs=()=>Ne||Ae;let Hn,Ds;{const e=Jn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Hn=t("__VUE_INSTANCE_SETTERS__",n=>Ne=n),Ds=t("__VUE_SSR_SETTERS__",n=>gn=n)}const Sn=e=>{const t=Ne;return Hn(e),e.scope.on(),()=>{e.scope.off(),Hn(t)}},yr=()=>{Ne&&Ne.scope.off(),Hn(null)};function Qo(e){return e.vnode.shapeFlag&4}let gn=!1;function na(e,t=!1,n=!1){t&&Ds(t);const{props:s,children:r}=e.vnode,i=Qo(e);El(e,s,i,t),Pl(e,r,n||t);const o=i?sa(e,t):void 0;return t&&Ds(!1),o}function sa(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_l);const{setup:s}=n;if(s){mt();const r=e.setupContext=s.length>1?oa(e):null,i=Sn(e),o=xn(s,e,0,[e.props,r]),l=Br(o);if(vt(),i(),(l||e.sp)&&!zt(e)&&To(e),l){if(o.then(yr,yr),t)return o.then(a=>{br(e,a)}).catch(a=>{Zn(a,e,0)});e.asyncDep=o}else br(e,o)}else Zo(e)}function br(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=ho(t)),Zo(e)}function Zo(e,t,n){const s=e.type;e.render||(e.render=s.render||it);{const r=Sn(e);mt();try{Cl(e)}finally{vt(),r()}}}const ra={get(e,t){return ke(e,"get",""),e[t]}};function oa(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ra),slots:e.slots,emit:e.emit,expose:t}}function os(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ho(Xi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in un)return un[n](e)},has(t,n){return n in t||n in un}})):e.proxy}function ia(e){return Y(e)&&"__vccOpts"in e}const Z=(e,t)=>tl(e,t,gn);function la(e,t,n){const s=arguments.length;return s===2?me(t)&&!B(t)?vn(t)?G(e,null,[t]):G(e,t):G(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&vn(n)&&(n=[n]),G(e,t,n))}const aa="3.5.18";/**
|
|
13
|
+
**/function xn(e,t,n,s){try{return s?e(...s):e()}catch(r){Zn(r,t,n)}}function Qe(e,t,n,s){if(Y(e)){const r=xn(e,t,n,s);return r&&Br(r)&&r.catch(i=>{Zn(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Qe(e[i],t,n,s));return r}}function Zn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||pe;if(t){let l=t.parent;const a=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,c)===!1)return}l=l.parent}if(i){mt(),xn(i,null,10,[e,a,c]),vt();return}}rl(e,n,r,s,o)}function rl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Re=[];let rt=-1;const Wt=[];let wt=null,Vt=0;const mo=Promise.resolve();let Fn=null;function Lt(e){const t=Fn||mo;return e?t.then(this?e.bind(this):e):t}function ol(e){let t=rt+1,n=Re.length;for(;t<n;){const s=t+n>>>1,r=Re[s],i=pn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function zs(e){if(!(e.flags&1)){const t=pn(e),n=Re[Re.length-1];!n||!(e.flags&2)&&t>=pn(n)?Re.push(e):Re.splice(ol(t),0,e),e.flags|=1,vo()}}function vo(){Fn||(Fn=mo.then(yo))}function il(e){B(e)?Wt.push(...e):wt&&e.id===-1?wt.splice(Vt+1,0,e):e.flags&1||(Wt.push(e),e.flags|=1),vo()}function lr(e,t,n=rt+1){for(;n<Re.length;n++){const s=Re[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Re.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function go(e){if(Wt.length){const t=[...new Set(Wt)].sort((n,s)=>pn(n)-pn(s));if(Wt.length=0,wt){wt.push(...t);return}for(wt=t,Vt=0;Vt<wt.length;Vt++){const n=wt[Vt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wt=null,Vt=0}}const pn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function yo(e){try{for(rt=0;rt<Re.length;rt++){const t=Re[rt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),xn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;rt<Re.length;rt++){const t=Re[rt];t&&(t.flags&=-2)}rt=-1,Re.length=0,go(),Fn=null,(Re.length||Wt.length)&&yo()}}let Ae=null,bo=null;function Un(e){const t=Ae;return Ae=e,bo=e&&e.type.__scopeId||null,t}function he(e,t=Ae,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&gr(-1);const i=Un(t);let o;try{o=e(...r)}finally{Un(i),s._d&&gr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Ve(e,t){if(Ae===null)return e;const n=os(Ae),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,a=pe]=t[r];i&&(Y(i)&&(i={mounted:i,updated:i}),i.deep&&pt(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:a}))}return e}function At(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let a=l.dir[s];a&&(mt(),Qe(a,n,8,[e.el,l,e,t]),vt())}}const ll=Symbol("_vte"),wo=e=>e.__isTeleport,_t=Symbol("_leaveCb"),jn=Symbol("_enterCb");function al(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Et(()=>{e.isMounted=!0}),Eo(()=>{e.isUnmounting=!0}),e}const We=[Function,Array],_o={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:We,onEnter:We,onAfterEnter:We,onEnterCancelled:We,onBeforeLeave:We,onLeave:We,onAfterLeave:We,onLeaveCancelled:We,onBeforeAppear:We,onAppear:We,onAfterAppear:We,onAppearCancelled:We},Co=e=>{const t=e.subTree;return t.component?Co(t.component):t},ul={name:"BaseTransition",props:_o,setup(e,{slots:t}){const n=rs(),s=al();return()=>{const r=t.default&&$o(t.default(),!0);if(!r||!r.length)return;const i=xo(r),o=oe(e),{mode:l}=o;if(s.isLeaving)return hs(i);const a=ar(i);if(!a)return hs(i);let c=Os(a,o,s,n,f=>c=f);a.type!==Ee&&hn(a,c);let u=n.subTree&&ar(n.subTree);if(u&&u.type!==Ee&&!Mt(a,u)&&Co(n).type!==Ee){let f=Os(u,o,s,n);if(hn(u,f),l==="out-in"&&a.type!==Ee)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},hs(i);l==="in-out"&&a.type!==Ee?f.delayLeave=(p,m,x)=>{const O=So(s,u);O[String(u.key)]=u,p[_t]=()=>{m(),p[_t]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{x(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function xo(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ee){t=n;break}}return t}const cl=ul;function So(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Os(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:x,onLeaveCancelled:O,onBeforeAppear:F,onAppear:b,onAfterAppear:C,onAppearCancelled:L}=t,R=String(e.key),V=So(n,e),ne=(W,ee)=>{W&&Qe(W,s,9,ee)},K=(W,ee)=>{const re=ee[1];ne(W,ee),B(W)?W.every(P=>P.length<=1)&&re():W.length<=1&&re()},le={mode:o,persisted:l,beforeEnter(W){let ee=a;if(!n.isMounted)if(i)ee=F||a;else return;W[_t]&&W[_t](!0);const re=V[R];re&&Mt(e,re)&&re.el[_t]&&re.el[_t](),ne(ee,[W])},enter(W){let ee=c,re=u,P=f;if(!n.isMounted)if(i)ee=b||c,re=C||u,P=L||f;else return;let ue=!1;const A=W[jn]=y=>{ue||(ue=!0,y?ne(P,[W]):ne(re,[W]),le.delayedLeave&&le.delayedLeave(),W[jn]=void 0)};ee?K(ee,[W,A]):A()},leave(W,ee){const re=String(e.key);if(W[jn]&&W[jn](!0),n.isUnmounting)return ee();ne(p,[W]);let P=!1;const ue=W[_t]=A=>{P||(P=!0,ee(),A?ne(O,[W]):ne(x,[W]),W[_t]=void 0,V[re]===e&&delete V[re])};V[re]=e,m?K(m,[W,ue]):ue()},clone(W){const ee=Os(W,t,n,s,r);return r&&r(ee),ee}};return le}function hs(e){if(es(e))return e=Ot(e),e.children=null,e}function ar(e){if(!es(e))return wo(e.type)&&e.children?xo(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Y(n.default))return n.default()}}function hn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,hn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function $o(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ie?(o.patchFlag&128&&r++,s=s.concat($o(o.children,t,l))):(t||o.type!==Ee)&&s.push(l!=null?Ot(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function ye(e,t){return Y(e)?xe({name:e.name},t,{setup:e}):e}function To(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function an(e,t,n,s,r=!1){if(B(e)){e.forEach((x,O)=>an(x,t&&(B(t)?t[O]:t),n,s,r));return}if(zt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&an(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?os(s.component):s.el,o=r?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===pe?l.refs={}:l.refs,f=l.setupState,p=oe(f),m=f===pe?()=>!1:x=>ae(p,x);if(c!=null&&c!==a&&(be(c)?(u[c]=null,m(c)&&(f[c]=null)):De(c)&&(c.value=null)),Y(a))xn(a,l,12,[o,u]);else{const x=be(a),O=De(a);if(x||O){const F=()=>{if(e.f){const b=x?m(a)?f[a]:u[a]:a.value;r?B(b)&&Rs(b,i):B(b)?b.includes(i)||b.push(i):x?(u[a]=[i],m(a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else x?(u[a]=o,m(a)&&(f[a]=o)):O&&(a.value=o,e.k&&(u[e.k]=o))};o?(F.id=-1,Be(F,n)):F()}}}Jn().requestIdleCallback;Jn().cancelIdleCallback;const zt=e=>!!e.type.__asyncLoader,es=e=>e.type.__isKeepAlive;function fl(e,t){Oo(e,"a",t)}function dl(e,t){Oo(e,"da",t)}function Oo(e,t,n=Ne){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ts(t,s,n),n){let r=n.parent;for(;r&&r.parent;)es(r.parent.vnode)&&pl(s,t,n,r),r=r.parent}}function pl(e,t,n,s){const r=ts(t,e,s,!0);Ao(()=>{Rs(s[t],r)},n)}function ts(e,t,n=Ne,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{mt();const l=Sn(n),a=Qe(t,n,e,o);return l(),vt(),a});return s?r.unshift(i):r.push(i),i}}const gt=e=>(t,n=Ne)=>{(!gn||e==="sp")&&ts(e,(...s)=>t(...s),n)},hl=gt("bm"),Et=gt("m"),ml=gt("bu"),ko=gt("u"),Eo=gt("bum"),Ao=gt("um"),vl=gt("sp"),gl=gt("rtg"),yl=gt("rtc");function bl(e,t=Ne){ts("ec",e,t)}const wl=Symbol.for("v-ndc");function Te(e,t,n,s){let r;const i=n,o=B(e);if(o||be(e)){const l=o&&qt(e);let a=!1,c=!1;l&&(a=!Ye(e),c=Tt(e),e=Qn(e)),r=new Array(e.length);for(let u=0,f=e.length;u<f;u++)r[u]=t(a?c?Nn($e(e[u])):$e(e[u]):e[u],u,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(me(e))if(e[Symbol.iterator])r=Array.from(e,(l,a)=>t(l,a,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,c=l.length;a<c;a++){const u=l[a];r[a]=t(e[u],u,a,i)}}else r=[];return r}function Ge(e,t,n={},s,r){if(Ae.ce||Ae.parent&&zt(Ae.parent)&&Ae.parent.ce)return t!=="default"&&(n.name=t),g(),we(ie,null,[G("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),g();const o=i&&jo(i(n)),l=n.key||o&&o.key,a=we(ie,{key:(l&&!Xe(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function jo(e){return e.some(t=>vn(t)?!(t.type===Ee||t.type===ie&&!jo(t.children)):!0)?e:null}const ks=e=>e?Qo(e)?os(e):ks(e.parent):null,un=xe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ks(e.parent),$root:e=>ks(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Po(e),$forceUpdate:e=>e.f||(e.f=()=>{zs(e.update)}),$nextTick:e=>e.n||(e.n=Lt.bind(e.proxy)),$watch:e=>Vl.bind(e)}),ms=(e,t)=>e!==pe&&!e.__isScriptSetup&&ae(e,t),_l={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ms(s,t))return o[t]=1,s[t];if(r!==pe&&ae(r,t))return o[t]=2,r[t];if((c=e.propsOptions[0])&&ae(c,t))return o[t]=3,i[t];if(n!==pe&&ae(n,t))return o[t]=4,n[t];Es&&(o[t]=0)}}const u=un[t];let f,p;if(u)return t==="$attrs"&&ke(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==pe&&ae(n,t))return o[t]=4,n[t];if(p=a.config.globalProperties,ae(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return ms(r,t)?(r[t]=n,!0):s!==pe&&ae(s,t)?(s[t]=n,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==pe&&ae(e,o)||ms(t,o)||(l=i[0])&&ae(l,o)||ae(s,o)||ae(un,o)||ae(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ur(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Es=!0;function Cl(e){const t=Po(e),n=e.proxy,s=e.ctx;Es=!1,t.beforeCreate&&cr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:p,beforeUpdate:m,updated:x,activated:O,deactivated:F,beforeDestroy:b,beforeUnmount:C,destroyed:L,unmounted:R,render:V,renderTracked:ne,renderTriggered:K,errorCaptured:le,serverPrefetch:W,expose:ee,inheritAttrs:re,components:P,directives:ue,filters:A}=t;if(c&&xl(c,s,null),o)for(const Q in o){const fe=o[Q];Y(fe)&&(s[Q]=fe.bind(n))}if(r){const Q=r.call(n,n);me(Q)&&(e.data=qs(Q))}if(Es=!0,i)for(const Q in i){const fe=i[Q],Ze=Y(fe)?fe.bind(n,n):Y(fe.get)?fe.get.bind(n,n):it,Ft=!Y(fe)&&Y(fe.set)?fe.set.bind(n):it,at=Z({get:Ze,set:Ft});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>at.value,set:Ke=>at.value=Ke})}if(l)for(const Q in l)Do(l[Q],s,n,Q);if(a){const Q=Y(a)?a.call(n):a;Reflect.ownKeys(Q).forEach(fe=>{Mo(fe,Q[fe])})}u&&cr(u,e,"c");function k(Q,fe){B(fe)?fe.forEach(Ze=>Q(Ze.bind(n))):fe&&Q(fe.bind(n))}if(k(hl,f),k(Et,p),k(ml,m),k(ko,x),k(fl,O),k(dl,F),k(bl,le),k(yl,ne),k(gl,K),k(Eo,C),k(Ao,R),k(vl,W),B(ee))if(ee.length){const Q=e.exposed||(e.exposed={});ee.forEach(fe=>{Object.defineProperty(Q,fe,{get:()=>n[fe],set:Ze=>n[fe]=Ze,enumerable:!0})})}else e.exposed||(e.exposed={});V&&e.render===it&&(e.render=V),re!=null&&(e.inheritAttrs=re),P&&(e.components=P),ue&&(e.directives=ue),W&&To(e)}function xl(e,t,n=it){B(e)&&(e=As(e));for(const s in e){const r=e[s];let i;me(r)?"default"in r?i=Ce(r.from||s,r.default,!0):i=Ce(r.from||s):i=Ce(r),De(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function cr(e,t,n){Qe(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Do(e,t,n,s){let r=s.includes(".")?zo(n,s):()=>n[s];if(be(e)){const i=t[e];Y(i)&&Pe(r,i)}else if(Y(e))Pe(r,e.bind(n));else if(me(e))if(B(e))e.forEach(i=>Do(i,t,n,s));else{const i=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(i)&&Pe(r,i,e)}}function Po(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(c=>Vn(a,c,o,!0)),Vn(a,t,o)),me(t)&&i.set(t,a),a}function Vn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Vn(e,i,n,!0),r&&r.forEach(o=>Vn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Sl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Sl={data:fr,props:dr,emits:dr,methods:sn,computed:sn,beforeCreate:Me,created:Me,beforeMount:Me,mounted:Me,beforeUpdate:Me,updated:Me,beforeDestroy:Me,beforeUnmount:Me,destroyed:Me,unmounted:Me,activated:Me,deactivated:Me,errorCaptured:Me,serverPrefetch:Me,components:sn,directives:sn,watch:Tl,provide:fr,inject:$l};function fr(e,t){return t?e?function(){return xe(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function $l(e,t){return sn(As(e),As(t))}function As(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Me(e,t){return e?[...new Set([].concat(e,t))]:t}function sn(e,t){return e?xe(Object.create(null),e,t):t}function dr(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:xe(Object.create(null),ur(e),ur(t??{})):t}function Tl(e,t){if(!e)return t;if(!t)return e;const n=xe(Object.create(null),e);for(const s in t)n[s]=Me(e[s],t[s]);return n}function Io(){return{app:null,config:{isNativeTag:vi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ol=0;function kl(e,t){return function(s,r=null){Y(s)||(s=xe({},s)),r!=null&&!me(r)&&(r=null);const i=Io(),o=new WeakSet,l=[];let a=!1;const c=i.app={_uid:Ol++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:aa,get config(){return i.config},set config(u){},use(u,...f){return o.has(u)||(u&&Y(u.install)?(o.add(u),u.install(c,...f)):Y(u)&&(o.add(u),u(c,...f))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,f){return f?(i.components[u]=f,c):i.components[u]},directive(u,f){return f?(i.directives[u]=f,c):i.directives[u]},mount(u,f,p){if(!a){const m=c._ceVNode||G(s,r);return m.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(m,u,p),a=!0,c._container=u,u.__vue_app__=c,os(m.component)}},onUnmount(u){l.push(u)},unmount(){a&&(Qe(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return i.provides[u]=f,c},runWithContext(u){const f=Yt;Yt=c;try{return u()}finally{Yt=f}}};return c}}let Yt=null;function Mo(e,t){if(Ne){let n=Ne.provides;const s=Ne.parent&&Ne.parent.provides;s===n&&(n=Ne.provides=Object.create(s)),n[e]=t}}function Ce(e,t,n=!1){const s=rs();if(s||Yt){let r=Yt?Yt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&Y(t)?t.call(s&&s.proxy):t}}const Ro={},No=()=>Object.create(Ro),Lo=e=>Object.getPrototypeOf(e)===Ro;function El(e,t,n,s=!1){const r={},i=No();e.propsDefaults=Object.create(null),Fo(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Ji(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Al(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=oe(r),[a]=e.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(ns(e.emitsOptions,p))continue;const m=t[p];if(a)if(ae(i,p))m!==i[p]&&(i[p]=m,c=!0);else{const x=$t(p);r[x]=js(a,l,x,m,e,!1)}else m!==i[p]&&(i[p]=m,c=!0)}}}else{Fo(e,t,r,i)&&(c=!0);let u;for(const f in l)(!t||!ae(t,f)&&((u=kt(f))===f||!ae(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(r[f]=js(a,l,f,void 0,e,!0)):delete r[f]);if(i!==l)for(const f in i)(!t||!ae(t,f))&&(delete i[f],c=!0)}c&&dt(e.attrs,"set","")}function Fo(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(rn(a))continue;const c=t[a];let u;r&&ae(r,u=$t(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:ns(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,o=!0)}if(i){const a=oe(n),c=l||pe;for(let u=0;u<i.length;u++){const f=i[u];n[f]=js(r,a,f,c[f],e,!ae(c,f))}}return o}function js(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=ae(o,"default");if(l&&s===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&Y(a)){const{propsDefaults:c}=r;if(n in c)s=c[n];else{const u=Sn(r);s=c[n]=a.call(null,t),u()}}else s=a;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===kt(n))&&(s=!0))}return s}const jl=new WeakMap;function Uo(e,t,n=!1){const s=n?jl:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let a=!1;if(!Y(e)){const u=f=>{a=!0;const[p,m]=Uo(f,t,!0);xe(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return me(e)&&s.set(e,Ht),Ht;if(B(i))for(let u=0;u<i.length;u++){const f=$t(i[u]);pr(f)&&(o[f]=pe)}else if(i)for(const u in i){const f=$t(u);if(pr(f)){const p=i[u],m=o[f]=B(p)||Y(p)?{type:p}:xe({},p),x=m.type;let O=!1,F=!0;if(B(x))for(let b=0;b<x.length;++b){const C=x[b],L=Y(C)&&C.name;if(L==="Boolean"){O=!0;break}else L==="String"&&(F=!1)}else O=Y(x)&&x.name==="Boolean";m[0]=O,m[1]=F,(O||ae(m,"default"))&&l.push(f)}}const c=[o,l];return me(e)&&s.set(e,c),c}function pr(e){return e[0]!=="$"&&!rn(e)}const Ys=e=>e==="_"||e==="__"||e==="_ctx"||e==="$stable",Gs=e=>B(e)?e.map(ot):[ot(e)],Dl=(e,t,n)=>{if(t._n)return t;const s=he((...r)=>Gs(t(...r)),n);return s._c=!1,s},Vo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ys(r))continue;const i=e[r];if(Y(i))t[r]=Dl(r,i,s);else if(i!=null){const o=Gs(i);t[r]=()=>o}}},Ho=(e,t)=>{const n=Gs(t);e.slots.default=()=>n},Bo=(e,t,n)=>{for(const s in t)(n||!Ys(s))&&(e[s]=t[s])},Pl=(e,t,n)=>{const s=e.slots=No();if(e.vnode.shapeFlag&32){const r=t.__;r&&Cs(s,"__",r,!0);const i=t._;i?(Bo(s,t,n),n&&Cs(s,"_",i,!0)):Vo(t,s)}else t&&Ho(e,t)},Il=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=pe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Bo(r,t,n):(i=!t.$stable,Vo(t,r)),o=t}else t&&(Ho(e,t),o={default:1});if(i)for(const l in r)!Ys(l)&&o[l]==null&&delete r[l]},Be=Yl;function Ml(e){return Rl(e)}function Rl(e,t){const n=Jn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:p,setScopeId:m=it,insertStaticContent:x}=e,O=(d,h,v,S=null,w=null,_=null,I=void 0,D=null,j=!!h.dynamicChildren)=>{if(d===h)return;d&&!Mt(d,h)&&(S=J(d),Ke(d,w,_,!0),d=null),h.patchFlag===-2&&(j=!1,h.dynamicChildren=null);const{type:$,ref:H,shapeFlag:M}=h;switch($){case ss:F(d,h,v,S);break;case Ee:b(d,h,v,S);break;case gs:d==null&&C(h,v,S,I);break;case ie:P(d,h,v,S,w,_,I,D,j);break;default:M&1?V(d,h,v,S,w,_,I,D,j):M&6?ue(d,h,v,S,w,_,I,D,j):(M&64||M&128)&&$.process(d,h,v,S,w,_,I,D,j,Se)}H!=null&&w?an(H,d&&d.ref,_,h||d,!h):H==null&&d&&d.ref!=null&&an(d.ref,null,_,d,!0)},F=(d,h,v,S)=>{if(d==null)s(h.el=l(h.children),v,S);else{const w=h.el=d.el;h.children!==d.children&&c(w,h.children)}},b=(d,h,v,S)=>{d==null?s(h.el=a(h.children||""),v,S):h.el=d.el},C=(d,h,v,S)=>{[d.el,d.anchor]=x(d.children,h,v,S,d.el,d.anchor)},L=({el:d,anchor:h},v,S)=>{let w;for(;d&&d!==h;)w=p(d),s(d,v,S),d=w;s(h,v,S)},R=({el:d,anchor:h})=>{let v;for(;d&&d!==h;)v=p(d),r(d),d=v;r(h)},V=(d,h,v,S,w,_,I,D,j)=>{h.type==="svg"?I="svg":h.type==="math"&&(I="mathml"),d==null?ne(h,v,S,w,_,I,D,j):W(d,h,w,_,I,D,j)},ne=(d,h,v,S,w,_,I,D)=>{let j,$;const{props:H,shapeFlag:M,transition:U,dirs:z}=d;if(j=d.el=o(d.type,_,H&&H.is,H),M&8?u(j,d.children):M&16&&le(d.children,j,null,S,w,vs(d,_),I,D),z&&At(d,null,S,"created"),K(j,d,d.scopeId,I,S),H){for(const ve in H)ve!=="value"&&!rn(ve)&&i(j,ve,null,H[ve],_,S);"value"in H&&i(j,"value",null,H.value,_),($=H.onVnodeBeforeMount)&&st($,S,d)}z&&At(d,null,S,"beforeMount");const te=Nl(w,U);te&&U.beforeEnter(j),s(j,h,v),(($=H&&H.onVnodeMounted)||te||z)&&Be(()=>{$&&st($,S,d),te&&U.enter(j),z&&At(d,null,S,"mounted")},w)},K=(d,h,v,S,w)=>{if(v&&m(d,v),S)for(let _=0;_<S.length;_++)m(d,S[_]);if(w){let _=w.subTree;if(h===_||Go(_.type)&&(_.ssContent===h||_.ssFallback===h)){const I=w.vnode;K(d,I,I.scopeId,I.slotScopeIds,w.parent)}}},le=(d,h,v,S,w,_,I,D,j=0)=>{for(let $=j;$<d.length;$++){const H=d[$]=D?Ct(d[$]):ot(d[$]);O(null,H,h,v,S,w,_,I,D)}},W=(d,h,v,S,w,_,I)=>{const D=h.el=d.el;let{patchFlag:j,dynamicChildren:$,dirs:H}=h;j|=d.patchFlag&16;const M=d.props||pe,U=h.props||pe;let z;if(v&&jt(v,!1),(z=U.onVnodeBeforeUpdate)&&st(z,v,h,d),H&&At(h,d,v,"beforeUpdate"),v&&jt(v,!0),(M.innerHTML&&U.innerHTML==null||M.textContent&&U.textContent==null)&&u(D,""),$?ee(d.dynamicChildren,$,D,v,S,vs(h,w),_):I||fe(d,h,D,null,v,S,vs(h,w),_,!1),j>0){if(j&16)re(D,M,U,v,w);else if(j&2&&M.class!==U.class&&i(D,"class",null,U.class,w),j&4&&i(D,"style",M.style,U.style,w),j&8){const te=h.dynamicProps;for(let ve=0;ve<te.length;ve++){const ce=te[ve],Fe=M[ce],Ue=U[ce];(Ue!==Fe||ce==="value")&&i(D,ce,Fe,Ue,w,v)}}j&1&&d.children!==h.children&&u(D,h.children)}else!I&&$==null&&re(D,M,U,v,w);((z=U.onVnodeUpdated)||H)&&Be(()=>{z&&st(z,v,h,d),H&&At(h,d,v,"updated")},S)},ee=(d,h,v,S,w,_,I)=>{for(let D=0;D<h.length;D++){const j=d[D],$=h[D],H=j.el&&(j.type===ie||!Mt(j,$)||j.shapeFlag&198)?f(j.el):v;O(j,$,H,null,S,w,_,I,!0)}},re=(d,h,v,S,w)=>{if(h!==v){if(h!==pe)for(const _ in h)!rn(_)&&!(_ in v)&&i(d,_,h[_],null,w,S);for(const _ in v){if(rn(_))continue;const I=v[_],D=h[_];I!==D&&_!=="value"&&i(d,_,D,I,w,S)}"value"in v&&i(d,"value",h.value,v.value,w)}},P=(d,h,v,S,w,_,I,D,j)=>{const $=h.el=d?d.el:l(""),H=h.anchor=d?d.anchor:l("");let{patchFlag:M,dynamicChildren:U,slotScopeIds:z}=h;z&&(D=D?D.concat(z):z),d==null?(s($,v,S),s(H,v,S),le(h.children||[],v,H,w,_,I,D,j)):M>0&&M&64&&U&&d.dynamicChildren?(ee(d.dynamicChildren,U,v,w,_,I,D),(h.key!=null||w&&h===w.subTree)&&qo(d,h,!0)):fe(d,h,v,H,w,_,I,D,j)},ue=(d,h,v,S,w,_,I,D,j)=>{h.slotScopeIds=D,d==null?h.shapeFlag&512?w.ctx.activate(h,v,S,I,j):A(h,v,S,w,_,I,j):y(d,h,j)},A=(d,h,v,S,w,_,I)=>{const D=d.component=ta(d,S,w);if(es(d)&&(D.ctx.renderer=Se),na(D,!1,I),D.asyncDep){if(w&&w.registerDep(D,k,I),!d.el){const j=D.subTree=G(Ee);b(null,j,h,v),d.placeholder=j.el}}else k(D,d,h,v,w,_,I)},y=(d,h,v)=>{const S=h.component=d.component;if(Wl(d,h,v))if(S.asyncDep&&!S.asyncResolved){Q(S,h,v);return}else S.next=h,S.update();else h.el=d.el,S.vnode=h},k=(d,h,v,S,w,_,I)=>{const D=()=>{if(d.isMounted){let{next:M,bu:U,u:z,parent:te,vnode:ve}=d;{const tt=Ko(d);if(tt){M&&(M.el=ve.el,Q(d,M,I)),tt.asyncDep.then(()=>{d.isUnmounted||D()});return}}let ce=M,Fe;jt(d,!1),M?(M.el=ve.el,Q(d,M,I)):M=ve,U&&Dn(U),(Fe=M.props&&M.props.onVnodeBeforeUpdate)&&st(Fe,te,M,ve),jt(d,!0);const Ue=mr(d),et=d.subTree;d.subTree=Ue,O(et,Ue,f(et.el),J(et),d,w,_),M.el=Ue.el,ce===null&&zl(d,Ue.el),z&&Be(z,w),(Fe=M.props&&M.props.onVnodeUpdated)&&Be(()=>st(Fe,te,M,ve),w)}else{let M;const{el:U,props:z}=h,{bm:te,m:ve,parent:ce,root:Fe,type:Ue}=d,et=zt(h);jt(d,!1),te&&Dn(te),!et&&(M=z&&z.onVnodeBeforeMount)&&st(M,ce,h),jt(d,!0);{Fe.ce&&Fe.ce._def.shadowRoot!==!1&&Fe.ce._injectChildStyle(Ue);const tt=d.subTree=mr(d);O(null,tt,v,S,d,w,_),h.el=tt.el}if(ve&&Be(ve,w),!et&&(M=z&&z.onVnodeMounted)){const tt=h;Be(()=>st(M,ce,tt),w)}(h.shapeFlag&256||ce&&zt(ce.vnode)&&ce.vnode.shapeFlag&256)&&d.a&&Be(d.a,w),d.isMounted=!0,h=v=S=null}};d.scope.on();const j=d.effect=new Xr(D);d.scope.off();const $=d.update=j.run.bind(j),H=d.job=j.runIfDirty.bind(j);H.i=d,H.id=d.uid,j.scheduler=()=>zs(H),jt(d,!0),$()},Q=(d,h,v)=>{h.component=d;const S=d.vnode.props;d.vnode=h,d.next=null,Al(d,h.props,S,v),Il(d,h.children,v),mt(),lr(d),vt()},fe=(d,h,v,S,w,_,I,D,j=!1)=>{const $=d&&d.children,H=d?d.shapeFlag:0,M=h.children,{patchFlag:U,shapeFlag:z}=h;if(U>0){if(U&128){Ft($,M,v,S,w,_,I,D,j);return}else if(U&256){Ze($,M,v,S,w,_,I,D,j);return}}z&8?(H&16&&N($,w,_),M!==$&&u(v,M)):H&16?z&16?Ft($,M,v,S,w,_,I,D,j):N($,w,_,!0):(H&8&&u(v,""),z&16&&le(M,v,S,w,_,I,D,j))},Ze=(d,h,v,S,w,_,I,D,j)=>{d=d||Ht,h=h||Ht;const $=d.length,H=h.length,M=Math.min($,H);let U;for(U=0;U<M;U++){const z=h[U]=j?Ct(h[U]):ot(h[U]);O(d[U],z,v,null,w,_,I,D,j)}$>H?N(d,w,_,!0,!1,M):le(h,v,S,w,_,I,D,j,M)},Ft=(d,h,v,S,w,_,I,D,j)=>{let $=0;const H=h.length;let M=d.length-1,U=H-1;for(;$<=M&&$<=U;){const z=d[$],te=h[$]=j?Ct(h[$]):ot(h[$]);if(Mt(z,te))O(z,te,v,null,w,_,I,D,j);else break;$++}for(;$<=M&&$<=U;){const z=d[M],te=h[U]=j?Ct(h[U]):ot(h[U]);if(Mt(z,te))O(z,te,v,null,w,_,I,D,j);else break;M--,U--}if($>M){if($<=U){const z=U+1,te=z<H?h[z].el:S;for(;$<=U;)O(null,h[$]=j?Ct(h[$]):ot(h[$]),v,te,w,_,I,D,j),$++}}else if($>U)for(;$<=M;)Ke(d[$],w,_,!0),$++;else{const z=$,te=$,ve=new Map;for($=te;$<=U;$++){const He=h[$]=j?Ct(h[$]):ot(h[$]);He.key!=null&&ve.set(He.key,$)}let ce,Fe=0;const Ue=U-te+1;let et=!1,tt=0;const Zt=new Array(Ue);for($=0;$<Ue;$++)Zt[$]=0;for($=z;$<=M;$++){const He=d[$];if(Fe>=Ue){Ke(He,w,_,!0);continue}let nt;if(He.key!=null)nt=ve.get(He.key);else for(ce=te;ce<=U;ce++)if(Zt[ce-te]===0&&Mt(He,h[ce])){nt=ce;break}nt===void 0?Ke(He,w,_,!0):(Zt[nt-te]=$+1,nt>=tt?tt=nt:et=!0,O(He,h[nt],v,null,w,_,I,D,j),Fe++)}const er=et?Ll(Zt):Ht;for(ce=er.length-1,$=Ue-1;$>=0;$--){const He=te+$,nt=h[He],tr=h[He+1],nr=He+1<H?tr.el||tr.placeholder:S;Zt[$]===0?O(null,nt,v,nr,w,_,I,D,j):et&&(ce<0||$!==er[ce]?at(nt,v,nr,2):ce--)}}},at=(d,h,v,S,w=null)=>{const{el:_,type:I,transition:D,children:j,shapeFlag:$}=d;if($&6){at(d.component.subTree,h,v,S);return}if($&128){d.suspense.move(h,v,S);return}if($&64){I.move(d,h,v,Se);return}if(I===ie){s(_,h,v);for(let M=0;M<j.length;M++)at(j[M],h,v,S);s(d.anchor,h,v);return}if(I===gs){L(d,h,v);return}if(S!==2&&$&1&&D)if(S===0)D.beforeEnter(_),s(_,h,v),Be(()=>D.enter(_),w);else{const{leave:M,delayLeave:U,afterLeave:z}=D,te=()=>{d.ctx.isUnmounted?r(_):s(_,h,v)},ve=()=>{M(_,()=>{te(),z&&z()})};U?U(_,te,ve):ve()}else s(_,h,v)},Ke=(d,h,v,S=!1,w=!1)=>{const{type:_,props:I,ref:D,children:j,dynamicChildren:$,shapeFlag:H,patchFlag:M,dirs:U,cacheIndex:z}=d;if(M===-2&&(w=!1),D!=null&&(mt(),an(D,null,v,d,!0),vt()),z!=null&&(h.renderCache[z]=void 0),H&256){h.ctx.deactivate(d);return}const te=H&1&&U,ve=!zt(d);let ce;if(ve&&(ce=I&&I.onVnodeBeforeUnmount)&&st(ce,h,d),H&6)as(d.component,v,S);else{if(H&128){d.suspense.unmount(v,S);return}te&&At(d,null,h,"beforeUnmount"),H&64?d.type.remove(d,h,v,Se,S):$&&!$.hasOnce&&(_!==ie||M>0&&M&64)?N($,h,v,!1,!0):(_===ie&&M&384||!w&&H&16)&&N(j,h,v),S&&Tn(d)}(ve&&(ce=I&&I.onVnodeUnmounted)||te)&&Be(()=>{ce&&st(ce,h,d),te&&At(d,null,h,"unmounted")},v)},Tn=d=>{const{type:h,el:v,anchor:S,transition:w}=d;if(h===ie){On(v,S);return}if(h===gs){R(d);return}const _=()=>{r(v),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(d.shapeFlag&1&&w&&!w.persisted){const{leave:I,delayLeave:D}=w,j=()=>I(v,_);D?D(d.el,_,j):j()}else _()},On=(d,h)=>{let v;for(;d!==h;)v=p(d),r(d),d=v;r(h)},as=(d,h,v)=>{const{bum:S,scope:w,job:_,subTree:I,um:D,m:j,a:$,parent:H,slots:{__:M}}=d;hr(j),hr($),S&&Dn(S),H&&B(M)&&M.forEach(U=>{H.renderCache[U]=void 0}),w.stop(),_&&(_.flags|=8,Ke(I,d,h,v)),D&&Be(D,h),Be(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},N=(d,h,v,S=!1,w=!1,_=0)=>{for(let I=_;I<d.length;I++)Ke(d[I],h,v,S,w)},J=d=>{if(d.shapeFlag&6)return J(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),v=h&&h[ll];return v?p(v):h};let de=!1;const _e=(d,h,v)=>{d==null?h._vnode&&Ke(h._vnode,null,null,!0):O(h._vnode||null,d,h,null,null,null,v),h._vnode=d,de||(de=!0,lr(),go(),de=!1)},Se={p:O,um:Ke,m:at,r:Tn,mt:A,mc:le,pc:fe,pbc:ee,n:J,o:e};return{render:_e,hydrate:void 0,createApp:kl(_e)}}function vs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function jt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Nl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qo(e,t,n=!1){const s=e.children,r=t.children;if(B(s)&&B(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Ct(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&qo(o,l)),l.type===ss&&(l.el=o.el),l.type===Ee&&!l.el&&(l.el=o.el)}}function Ll(e){const t=e.slice(),n=[0];let s,r,i,o,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<c?i=l+1:o=l;c<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Ko(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ko(t)}function hr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Fl=Symbol.for("v-scx"),Ul=()=>Ce(Fl);function Pe(e,t,n){return Wo(e,t,n)}function Wo(e,t,n=pe){const{immediate:s,deep:r,flush:i,once:o}=n,l=xe({},n),a=t&&s||!t&&i!=="post";let c;if(gn){if(i==="sync"){const m=Ul();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!a){const m=()=>{};return m.stop=it,m.resume=it,m.pause=it,m}}const u=Ne;l.call=(m,x,O)=>Qe(m,u,x,O);let f=!1;i==="post"?l.scheduler=m=>{Be(m,u&&u.suspense)}:i!=="sync"&&(f=!0,l.scheduler=(m,x)=>{x?m():zs(m)}),l.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const p=sl(e,t,l);return gn&&(c?c.push(p):a&&p()),p}function Vl(e,t,n){const s=this.proxy,r=be(e)?e.includes(".")?zo(s,e):()=>s[e]:e.bind(s,s);let i;Y(t)?i=t:(i=t.handler,n=t);const o=Sn(this),l=Wo(r,i.bind(s),n);return o(),l}function zo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Hl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${$t(t)}Modifiers`]||e[`${kt(t)}Modifiers`];function Bl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||pe;let r=n;const i=t.startsWith("update:"),o=i&&Hl(s,t.slice(7));o&&(o.trim&&(r=n.map(u=>be(u)?u.trim():u)),o.number&&(r=n.map(Rn)));let l,a=s[l=us(t)]||s[l=us($t(t))];!a&&i&&(a=s[l=us(kt(t))]),a&&Qe(a,e,6,r);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Qe(c,e,6,r)}}function Yo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!Y(e)){const a=c=>{const u=Yo(c,t,!0);u&&(l=!0,xe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(me(e)&&s.set(e,null),null):(B(i)?i.forEach(a=>o[a]=null):xe(o,i),me(e)&&s.set(e,o),o)}function ns(e,t){return!e||!zn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,kt(t))||ae(e,t))}function mr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:a,render:c,renderCache:u,props:f,data:p,setupState:m,ctx:x,inheritAttrs:O}=e,F=Un(e);let b,C;try{if(n.shapeFlag&4){const R=r||s,V=R;b=ot(c.call(V,R,u,f,m,p,x)),C=l}else{const R=t;b=ot(R.length>1?R(f,{attrs:l,slots:o,emit:a}):R(f,null)),C=t.props?l:ql(l)}}catch(R){cn.length=0,Zn(R,e,1),b=G(Ee)}let L=b;if(C&&O!==!1){const R=Object.keys(C),{shapeFlag:V}=L;R.length&&V&7&&(i&&R.some(Ms)&&(C=Kl(C,i)),L=Ot(L,C,!1,!0))}return n.dirs&&(L=Ot(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&hn(L,n.transition),b=L,Un(F),b}const ql=e=>{let t;for(const n in e)(n==="class"||n==="style"||zn(n))&&((t||(t={}))[n]=e[n]);return t},Kl=(e,t)=>{const n={};for(const s in e)(!Ms(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Wl(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?vr(s,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(o[p]!==s[p]&&!ns(c,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?vr(s,o,c):!0:!!o;return!1}function vr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!ns(n,i))return!0}return!1}function zl({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Go=e=>e.__isSuspense;function Yl(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):il(e)}const ie=Symbol.for("v-fgt"),ss=Symbol.for("v-txt"),Ee=Symbol.for("v-cmt"),gs=Symbol.for("v-stc"),cn=[];let qe=null;function g(e=!1){cn.push(qe=e?null:[])}function Gl(){cn.pop(),qe=cn[cn.length-1]||null}let mn=1;function gr(e,t=!1){mn+=e,e<0&&qe&&t&&(qe.hasOnce=!0)}function Jo(e){return e.dynamicChildren=mn>0?qe||Ht:null,Gl(),mn>0&&qe&&qe.push(e),e}function T(e,t,n,s,r,i){return Jo(E(e,t,n,s,r,i,!0))}function we(e,t,n,s,r){return Jo(G(e,t,n,s,r,!0))}function vn(e){return e?e.__v_isVNode===!0:!1}function Mt(e,t){return e.type===t.type&&e.key===t.key}const Xo=({key:e})=>e??null,Pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||De(e)||Y(e)?{i:Ae,r:e,k:t,f:!!n}:e:null);function E(e,t=null,n=null,s=0,r=null,i=e===ie?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xo(t),ref:t&&Pn(t),scopeId:bo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ae};return l?(Js(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=be(n)?8:16),mn>0&&!o&&qe&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&qe.push(a),a}const G=Jl;function Jl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===wl)&&(e=Ee),vn(e)){const l=Ot(e,t,!0);return n&&Js(l,n),mn>0&&!i&&qe&&(l.shapeFlag&6?qe[qe.indexOf(e)]=l:qe.push(l)),l.patchFlag=-2,l}if(ia(e)&&(e=e.__vccOpts),t){t=Xl(t);let{class:l,style:a}=t;l&&!be(l)&&(t.class=je(l)),me(a)&&(Ws(a)&&!B(a)&&(a=xe({},a)),t.style=Ls(a))}const o=be(e)?1:Go(e)?128:wo(e)?64:me(e)?4:Y(e)?2:0;return E(e,t,n,s,r,o,i,!0)}function Xl(e){return e?Ws(e)||Lo(e)?xe({},e):e:null}function Ot(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:a}=e,c=t?Ql(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Xo(c),ref:t&&t.ref?n&&i?B(i)?i.concat(Pn(t)):[i,Pn(t)]:Pn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ie?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ot(e.ssContent),ssFallback:e.ssFallback&&Ot(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&hn(u,a.clone(u)),u}function Le(e=" ",t=0){return G(ss,null,e,t)}function X(e="",t=!1){return t?(g(),we(Ee,null,e)):G(Ee,null,e)}function ot(e){return e==null||typeof e=="boolean"?G(Ee):B(e)?G(ie,null,e.slice()):vn(e)?Ct(e):G(ss,null,String(e))}function Ct(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ot(e)}function Js(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Js(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Lo(t)?t._ctx=Ae:r===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Ae},n=32):(t=String(t),s&64?(n=16,t=[Le(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ql(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=je([t.class,s.class]));else if(r==="style")t.style=Ls([t.style,s.style]);else if(zn(r)){const i=t[r],o=s[r];o&&i!==o&&!(B(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function st(e,t,n,s=null){Qe(e,t,7,[n,s])}const Zl=Io();let ea=0;function ta(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Zl,i={uid:ea++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ai(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Uo(s,r),emitsOptions:Yo(s,r),emit:null,emitted:null,propsDefaults:pe,inheritAttrs:s.inheritAttrs,ctx:pe,data:pe,props:pe,attrs:pe,slots:pe,refs:pe,setupState:pe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Bl.bind(null,i),e.ce&&e.ce(i),i}let Ne=null;const rs=()=>Ne||Ae;let Hn,Ds;{const e=Jn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Hn=t("__VUE_INSTANCE_SETTERS__",n=>Ne=n),Ds=t("__VUE_SSR_SETTERS__",n=>gn=n)}const Sn=e=>{const t=Ne;return Hn(e),e.scope.on(),()=>{e.scope.off(),Hn(t)}},yr=()=>{Ne&&Ne.scope.off(),Hn(null)};function Qo(e){return e.vnode.shapeFlag&4}let gn=!1;function na(e,t=!1,n=!1){t&&Ds(t);const{props:s,children:r}=e.vnode,i=Qo(e);El(e,s,i,t),Pl(e,r,n||t);const o=i?sa(e,t):void 0;return t&&Ds(!1),o}function sa(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_l);const{setup:s}=n;if(s){mt();const r=e.setupContext=s.length>1?oa(e):null,i=Sn(e),o=xn(s,e,0,[e.props,r]),l=Br(o);if(vt(),i(),(l||e.sp)&&!zt(e)&&To(e),l){if(o.then(yr,yr),t)return o.then(a=>{br(e,a)}).catch(a=>{Zn(a,e,0)});e.asyncDep=o}else br(e,o)}else Zo(e)}function br(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=ho(t)),Zo(e)}function Zo(e,t,n){const s=e.type;e.render||(e.render=s.render||it);{const r=Sn(e);mt();try{Cl(e)}finally{vt(),r()}}}const ra={get(e,t){return ke(e,"get",""),e[t]}};function oa(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ra),slots:e.slots,emit:e.emit,expose:t}}function os(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ho(Xi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in un)return un[n](e)},has(t,n){return n in t||n in un}})):e.proxy}function ia(e){return Y(e)&&"__vccOpts"in e}const Z=(e,t)=>tl(e,t,gn);function la(e,t,n){const s=arguments.length;return s===2?me(t)&&!B(t)?vn(t)?G(e,null,[t]):G(e,t):G(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&vn(n)&&(n=[n]),G(e,t,n))}const aa="3.5.18";/**
|
|
14
14
|
* @vue/runtime-dom v3.5.18
|
|
15
15
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
16
|
* @license MIT
|
|
17
|
-
**/let Ps;const wr=typeof window<"u"&&window.trustedTypes;if(wr)try{Ps=wr.createPolicy("vue",{createHTML:e=>e})}catch{}const ei=Ps?e=>Ps.createHTML(e):e=>e,ua="http://www.w3.org/2000/svg",ca="http://www.w3.org/1998/Math/MathML",ft=typeof document<"u"?document:null,_r=ft&&ft.createElement("template"),fa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ft.createElementNS(ua,e):t==="mathml"?ft.createElementNS(ca,e):n?ft.createElement(e,{is:n}):ft.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ft.createTextNode(e),createComment:e=>ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{_r.innerHTML=ei(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=_r.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},bt="transition",tn="animation",yn=Symbol("_vtc"),ti={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},da=xe({},_o,ti),pa=e=>(e.displayName="Transition",e.props=da,e),Bn=pa((e,{slots:t})=>la(cl,ha(e),t)),Dt=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Cr=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function ha(e){const t={};for(const P in e)P in ti||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,C=ma(r),E=C&&C[0],F=C&&C[1],{onBeforeEnter:b,onEnter:x,onEnterCancelled:L,onLeave:R,onLeaveCancelled:V,onBeforeAppear:ne=b,onAppear:K=x,onAppearCancelled:le=L}=t,W=(P,ue,A,y)=>{P._enterCancelled=y,Pt(P,ue?u:l),Pt(P,ue?c:o),A&&A()},ee=(P,ue)=>{P._isLeaving=!1,Pt(P,f),Pt(P,m),Pt(P,p),ue&&ue()},re=P=>(ue,A)=>{const y=P?K:x,O=()=>W(ue,P,A);Dt(y,[ue,O]),xr(()=>{Pt(ue,P?a:i),ct(ue,P?u:l),Cr(y)||Sr(ue,s,E,O)})};return xe(t,{onBeforeEnter(P){Dt(b,[P]),ct(P,i),ct(P,o)},onBeforeAppear(P){Dt(ne,[P]),ct(P,a),ct(P,c)},onEnter:re(!1),onAppear:re(!0),onLeave(P,ue){P._isLeaving=!0;const A=()=>ee(P,ue);ct(P,f),P._enterCancelled?(ct(P,p),Or()):(Or(),ct(P,p)),xr(()=>{P._isLeaving&&(Pt(P,f),ct(P,m),Cr(R)||Sr(P,s,F,A))}),Dt(R,[P,A])},onEnterCancelled(P){W(P,!1,void 0,!0),Dt(L,[P])},onAppearCancelled(P){W(P,!0,void 0,!0),Dt(le,[P])},onLeaveCancelled(P){ee(P),Dt(V,[P])}})}function ma(e){if(e==null)return null;if(me(e))return[ys(e.enter),ys(e.leave)];{const t=ys(e);return[t,t]}}function ys(e){return _i(e)}function ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[yn]||(e[yn]=new Set)).add(t)}function Pt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[yn];n&&(n.delete(t),n.size||(e[yn]=void 0))}function xr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let va=0;function Sr(e,t,n,s){const r=e._endId=++va,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:a}=ga(e,t);if(!o)return s();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,p),i()},p=m=>{m.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},l+1),e.addEventListener(c,p)}function ga(e,t){const n=window.getComputedStyle(e),s=C=>(n[C]||"").split(", "),r=s(`${bt}Delay`),i=s(`${bt}Duration`),o=$r(r,i),l=s(`${tn}Delay`),a=s(`${tn}Duration`),c=$r(l,a);let u=null,f=0,p=0;t===bt?o>0&&(u=bt,f=o,p=i.length):t===tn?c>0&&(u=tn,f=c,p=a.length):(f=Math.max(o,c),u=f>0?o>c?bt:tn:null,p=u?u===bt?i.length:a.length:0);const m=u===bt&&/\b(transform|all)(,|$)/.test(s(`${bt}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:m}}function $r(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Tr(n)+Tr(e[s])))}function Tr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Or(){return document.body.offsetHeight}function ya(e,t,n){const s=e[yn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const qn=Symbol("_vod"),ni=Symbol("_vsh"),Xs={beforeMount(e,{value:t},{transition:n}){e[qn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):nn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),nn(e,!0),s.enter(e)):s.leave(e,()=>{nn(e,!1)}):nn(e,t))},beforeUnmount(e,{value:t}){nn(e,t)}};function nn(e,t){e.style.display=t?e[qn]:"none",e[ni]=!t}const ba=Symbol(""),wa=/(^|;)\s*display\s*:/;function _a(e,t,n){const s=e.style,r=be(n);let i=!1;if(n&&!r){if(t)if(be(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&In(s,l,"")}else for(const o in t)n[o]==null&&In(s,o,"");for(const o in n)o==="display"&&(i=!0),In(s,o,n[o])}else if(r){if(t!==n){const o=s[ba];o&&(n+=";"+o),s.cssText=n,i=wa.test(n)}}else t&&e.removeAttribute("style");qn in e&&(e[qn]=i?s.display:"",e[ni]&&(s.display="none"))}const kr=/\s*!important$/;function In(e,t,n){if(B(n))n.forEach(s=>In(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ca(e,t);kr.test(n)?e.setProperty(kt(s),n.replace(kr,""),"important"):e[s]=n}}const Er=["Webkit","Moz","ms"],bs={};function Ca(e,t){const n=bs[t];if(n)return n;let s=$t(t);if(s!=="filter"&&s in e)return bs[t]=s;s=Wr(s);for(let r=0;r<Er.length;r++){const i=Er[r]+s;if(i in e)return bs[t]=i}return t}const Ar="http://www.w3.org/1999/xlink";function jr(e,t,n,s,r,i=Oi(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ar,t.slice(6,t.length)):e.setAttributeNS(Ar,t,n):n==null||i&&!zr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Xe(n)?String(n):n)}function Dr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ei(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=zr(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function Rt(e,t,n,s){e.addEventListener(t,n,s)}function xa(e,t,n,s){e.removeEventListener(t,n,s)}const Pr=Symbol("_vei");function Sa(e,t,n,s,r=null){const i=e[Pr]||(e[Pr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,a]=$a(t);if(s){const c=i[t]=ka(s,r);Rt(e,l,c,a)}else o&&(xa(e,l,o,a),i[t]=void 0)}}const Ir=/(?:Once|Passive|Capture)$/;function $a(e){let t;if(Ir.test(e)){t={};let s;for(;s=e.match(Ir);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):kt(e.slice(2)),t]}let ws=0;const Ta=Promise.resolve(),Oa=()=>ws||(Ta.then(()=>ws=0),ws=Date.now());function ka(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Qe(Ea(s,n.value),t,5,[s])};return n.value=e,n.attached=Oa(),n}function Ea(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Mr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Aa=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?ya(e,s,o):t==="style"?_a(e,n,s):zn(t)?Ms(t)||Sa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ja(e,t,s,o))?(Dr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&jr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!be(s))?Dr(e,$t(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),jr(e,t,s,o))};function ja(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mr(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Mr(t)&&be(n)?!1:t in e}const Kn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>Dn(t,n):t};function Da(e){e.target.composing=!0}function Rr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Gt=Symbol("_assign"),Jt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Gt]=Kn(r);const i=s||r.props&&r.props.type==="number";Rt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Rn(l)),e[Gt](l)}),n&&Rt(e,"change",()=>{e.value=e.value.trim()}),t||(Rt(e,"compositionstart",Da),Rt(e,"compositionend",Rr),Rt(e,"change",Rr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Gt]=Kn(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Rn(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===a)||(e.value=a))}},bn={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=Yn(t);Rt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Rn(Wn(o)):Wn(o));e[Gt](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Lt(()=>{e._assigning=!1})}),e[Gt]=Kn(s)},mounted(e,{value:t}){Nr(e,t)},beforeUpdate(e,t,n){e[Gt]=Kn(n)},updated(e,{value:t}){e._assigning||Nr(e,t)}};function Nr(e,t){const n=e.multiple,s=B(t);if(!(n&&!s&&!Yn(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=Wn(o);if(n)if(s){const a=typeof l;a==="string"||a==="number"?o.selected=t.some(c=>String(c)===String(l)):o.selected=Ei(t,l)>-1}else o.selected=t.has(l);else if(Xn(Wn(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Wn(e){return"_value"in e?e._value:e.value}const Pa=["ctrl","shift","alt","meta"],Ia={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Pa.some(n=>e[`${n}Key`]&&!t.includes(n))},Xt=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=Ia[t[o]];if(l&&l(r,t))return}return e(r,...i)})},Ma={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},yt=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=kt(r.key);if(t.some(o=>o===i||Ma[o]===i))return e(r)})},Ra=xe({patchProp:Aa},fa);let Lr;function Na(){return Lr||(Lr=Ml(Ra))}const La=(...e)=>{const t=Na().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ua(s);if(!r)return;const i=t._component;!Y(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Fa(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Fa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ua(e){return be(e)?document.querySelector(e):e}const Va={class:"max-w-sm rounded overflow-hidden shadow-lg border border-front/20"},Ha={class:"py-2 border-b border-front/20"},Ba={class:"pl-6"},qa={class:"px-6 py-2"},si=ye({__name:"Card",props:{title:{}},emits:["close"],setup(e,{emit:t}){const n=t;return(s,r)=>(g(),T("div",Va,[Ge(s.$slots,"header",{},()=>[k("div",Ha,[k("strong",Ba,se(s.title),1),k("span",{class:"control text-l float-right mr-2 pl-2",title:"close",onClick:r[0]||(r[0]=i=>n("close"))},"⊗ ")])]),k("div",qa,[Ge(s.$slots,"default")])]))}}),Ka={class:"header"},Wa={class:"list-disc mt-2"},za={key:0},Ya={key:1},Ga={key:2},Ja={key:3},Xa={key:0},Qa=ye({__name:"AttributeCard",props:{modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,s=Ce("app"),r=Z(()=>s?.schema.attr(n.modelValue)),i=t;return(o,l)=>o.modelValue&&r.value?(g(),we(si,{key:0,title:r.value.names?.join(", ")||"",class:"ml-4",onClose:l[1]||(l[1]=a=>i("update:modelValue"))},{default:he(()=>[k("div",Ka,se(r.value.desc),1),k("ul",Wa,[r.value.$super?(g(),T("li",za,[l[2]||(l[2]=Le(" Parent: ",-1)),k("span",{class:"cursor-pointer",onClick:l[0]||(l[0]=a=>i("update:modelValue",r.value.$super.name))},se(r.value.$super),1)])):X("",!0),r.value.equality?(g(),T("li",Ya,"Equality: "+se(r.value.equality),1)):X("",!0),r.value.ordering?(g(),T("li",Ga,"Ordering: "+se(r.value.ordering),1)):X("",!0),r.value.substr?(g(),T("li",Ja,"Substring: "+se(r.value.substr),1)):X("",!0),k("li",null,[Le(" Syntax: "+se(r.value.$syntax)+" ",1),r.value.binary?(g(),T("span",Xa,"(binary)")):X("",!0)])])]),_:1},8,["title"])):X("",!0)}}),Za={key:0,class:"fixed w-full h-full top-0 left-0 z-20 bg-front/60 dark:bg-back/70"},eu={class:"absolute max-h-full w-1/2 max-w-lg container text-front overflow-hidden rounded bg-back border border-front/40"},tu={class:"flex justify-between items-start"},nu={class:"max-h-full w-full divide-y divide-front/30"},su={key:0,class:"flex justify-between items-center px-4 py-1"},ru={class:"ui-modal-header text-xl font-bold leading-normal"},ou={class:"ui-modal-body p-4 space-y-4"},iu={class:"ui-modal-footer flex justify-end w-full p-4 space-x-3"},lt=ye({__name:"Modal",props:{title:{type:String,required:!0},open:{type:Boolean,required:!0},okTitle:{type:String,default:"OK"},okClasses:{type:String,default:"bg-primary/80"},cancelTitle:{type:String,default:"Cancel"},cancelClasses:{type:String,default:"bg-secondary"},hideFooter:{type:Boolean,default:!1},returnTo:String},emits:["ok","cancel","show","shown","hide","hidden"],setup(e,{emit:t}){const n=e,s=t;function r(){n.open&&s("ok")}function i(){n.open&&(n.returnTo&&document.getElementById(n.returnTo)?.focus(),s("cancel"))}return(o,l)=>(g(),T("div",null,[G(Bn,{name:"fade"},{default:he(()=>[e.open?(g(),T("div",Za)):X("",!0)]),_:1}),G(Bn,{name:"bounce",onEnter:l[0]||(l[0]=a=>s("show")),onAfterEnter:l[1]||(l[1]=a=>s("shown")),onLeave:l[2]||(l[2]=a=>s("hide")),onAfterLeave:l[3]||(l[3]=a=>s("hidden"))},{default:he(()=>[e.open?(g(),T("div",{key:0,ref:"backdrop",onClick:Xt(i,["self"]),onKeydown:yt(i,["esc"]),class:"fixed w-full h-full top-0 left-0 flex items-center justify-center z-30"},[k("div",eu,[k("div",tu,[k("div",nu,[e.title?(g(),T("div",su,[k("h3",ru,[Ge(o.$slots,"header",{},()=>[Le(se(e.title),1)])]),k("div",{class:"control text-xl",onClick:i,title:"close"}," ⊗ ")])):X("",!0),k("div",ou,[Ge(o.$slots,"default")]),Ve(k("div",iu,[Ge(o.$slots,"footer",{},()=>[k("button",{id:"ui-modal-cancel",onClick:i,type:"button",class:je(["btn",e.cancelClasses]),tabindex:"0"},[Ge(o.$slots,"modal-cancel",{},()=>[Le(se(e.cancelTitle),1)])],2),k("button",{id:"ui-modal-ok",onClick:Xt(r,["stop"]),type:"button",class:je(["btn",e.okClasses]),tabindex:"0"},[Ge(o.$slots,"modal-ok",{},()=>[Le(se(e.okTitle),1)])],2)])],512),[[Xs,!e.hideFooter]])])])])],544)):X("",!0)]),_:3})]))}}),lu=ye({__name:"AddAttributeDialog",props:{entry:{},attributes:{},modal:{},returnTo:{}},emits:["ok","show-modal","update:modal"],setup(e,{emit:t}){const n=e,s=q(),r=q(void 0),i=Z(()=>n.attributes.filter(a=>!Object.keys(n.entry.attrs).includes(a))),o=t;function l(){if(s.value){if(s.value=="jpegPhoto"||s.value=="thumbnailPhoto"){o("show-modal","add-"+s.value);return}if(s.value=="userPassword"){o("show-modal","change-password");return}o("update:modal"),o("ok",s.value)}}return(a,c)=>(g(),we(lt,{title:"Add attribute",open:a.modal=="add-attribute","return-to":n.returnTo,onShow:c[1]||(c[1]=u=>s.value=void 0),onShown:c[2]||(c[2]=u=>r.value?.focus()),onOk:l,onCancel:c[3]||(c[3]=u=>o("update:modal"))},{default:he(()=>[Ve(k("select",{"onUpdate:modelValue":c[0]||(c[0]=u=>s.value=u),ref_key:"select",ref:r,onKeyup:yt(l,["enter"])},[(g(!0),T(ie,null,Te(i.value,u=>(g(),T("option",{key:u},se(u),1))),128))],544),[[bn,s.value]])]),_:1},8,["open","return-to"]))}}),au=ye({__name:"AddObjectClassDialog",props:{entry:{},modal:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=t,r=Ce("app"),i=q(),o=q(),l=Z(()=>Array.from(r?.schema.objectClasses.values()||[]).filter(c=>c.aux&&!n.entry.attrs.objectClass.includes(c.name)).map(c=>c.name));function a(){i.value&&(s("update:modal"),s("ok",i.value))}return(c,u)=>(g(),we(lt,{title:"Add objectClass",open:c.modal=="add-object-class",onShow:u[1]||(u[1]=f=>i.value=void 0),onShown:u[2]||(u[2]=f=>o.value?.focus()),onOk:a,onCancel:u[3]||(u[3]=f=>s("update:modal"))},{default:he(()=>[Ve(k("select",{"onUpdate:modelValue":u[0]||(u[0]=f=>i.value=f),ref_key:"select",ref:o,onKeyup:yt(a,["enter"])},[(g(!0),T(ie,null,Te(l.value,f=>(g(),T("option",{key:f},se(f),1))),128))],544),[[bn,i.value]])]),_:1},8,["open"]))}}),Fr=(e,t,n)=>{typeof n=="string"||n instanceof Blob?e.append(t,n):e.append(t,JSON.stringify(n))},uu={bodySerializer:e=>{const t=new FormData;return Object.entries(e).forEach(([n,s])=>{s!=null&&(Array.isArray(s)?s.forEach(r=>Fr(t,n,r)):Fr(t,n,s))}),t}},cu={bodySerializer:e=>JSON.stringify(e,(t,n)=>typeof n=="bigint"?n.toString():n)},fu=async(e,t)=>{const n=typeof t=="function"?await t(e):t;if(n)return e.scheme==="bearer"?`Bearer ${n}`:e.scheme==="basic"?`Basic ${btoa(n)}`:n},du=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},pu=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},hu=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},ri=({allowReserved:e,explode:t,name:n,style:s,value:r})=>{if(!t){const l=(e?r:r.map(a=>encodeURIComponent(a))).join(pu(s));switch(s){case"label":return`.${l}`;case"matrix":return`;${n}=${l}`;case"simple":return l;default:return`${n}=${l}`}}const i=du(s),o=r.map(l=>s==="label"||s==="simple"?e?l:encodeURIComponent(l):is({allowReserved:e,name:n,value:l})).join(i);return s==="label"||s==="matrix"?i+o:o},is=({allowReserved:e,name:t,value:n})=>{if(n==null)return"";if(typeof n=="object")throw new Error("Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.");return`${t}=${e?n:encodeURIComponent(n)}`},oi=({allowReserved:e,explode:t,name:n,style:s,value:r,valueOnly:i})=>{if(r instanceof Date)return i?r.toISOString():`${n}=${r.toISOString()}`;if(s!=="deepObject"&&!t){let a=[];Object.entries(r).forEach(([u,f])=>{a=[...a,u,e?f:encodeURIComponent(f)]});const c=a.join(",");switch(s){case"form":return`${n}=${c}`;case"label":return`.${c}`;case"matrix":return`;${n}=${c}`;default:return c}}const o=hu(s),l=Object.entries(r).map(([a,c])=>is({allowReserved:e,name:s==="deepObject"?`${n}[${a}]`:a,value:c})).join(o);return s==="label"||s==="matrix"?o+l:l},mu=/\{[^{}]+\}/g,vu=({path:e,url:t})=>{let n=t;const s=t.match(mu);if(s)for(const r of s){let i=!1,o=r.substring(1,r.length-1),l="simple";o.endsWith("*")&&(i=!0,o=o.substring(0,o.length-1)),o.startsWith(".")?(o=o.substring(1),l="label"):o.startsWith(";")&&(o=o.substring(1),l="matrix");const a=e[o];if(a==null)continue;if(Array.isArray(a)){n=n.replace(r,ri({explode:i,name:o,style:l,value:a}));continue}if(typeof a=="object"){n=n.replace(r,oi({explode:i,name:o,style:l,value:a,valueOnly:!0}));continue}if(l==="matrix"){n=n.replace(r,`;${is({name:o,value:a})}`);continue}const c=encodeURIComponent(l==="label"?`.${a}`:a);n=n.replace(r,c)}return n},ii=({allowReserved:e,array:t,object:n}={})=>r=>{const i=[];if(r&&typeof r=="object")for(const o in r){const l=r[o];if(l!=null)if(Array.isArray(l)){const a=ri({allowReserved:e,explode:!0,name:o,style:"form",value:l,...t});a&&i.push(a)}else if(typeof l=="object"){const a=oi({allowReserved:e,explode:!0,name:o,style:"deepObject",value:l,...n});a&&i.push(a)}else{const a=is({allowReserved:e,name:o,value:l});a&&i.push(a)}}return i.join("&")},gu=e=>{if(!e)return"stream";const t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return"json";if(t==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some(n=>t.startsWith(n)))return"blob";if(t.startsWith("text/"))return"text"}},yu=async({security:e,...t})=>{for(const n of e){const s=await fu(n,t.auth);if(!s)continue;const r=n.name??"Authorization";switch(n.in){case"query":t.query||(t.query={}),t.query[r]=s;break;case"cookie":t.headers.append("Cookie",`${r}=${s}`);break;case"header":default:t.headers.set(r,s);break}return}},Ur=e=>bu({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:ii(e.querySerializer),url:e.url}),bu=({baseUrl:e,path:t,query:n,querySerializer:s,url:r})=>{const i=r.startsWith("/")?r:`/${r}`;let o=(e??"")+i;t&&(o=vu({path:t,url:o}));let l=n?s(n):"";return l.startsWith("?")&&(l=l.substring(1)),l&&(o+=`?${l}`),o},Vr=(e,t)=>{const n={...e,...t};return n.baseUrl?.endsWith("/")&&(n.baseUrl=n.baseUrl.substring(0,n.baseUrl.length-1)),n.headers=li(e.headers,t.headers),n},li=(...e)=>{const t=new Headers;for(const n of e){if(!n||typeof n!="object")continue;const s=n instanceof Headers?n.entries():Object.entries(n);for(const[r,i]of s)if(i===null)t.delete(r);else if(Array.isArray(i))for(const o of i)t.append(r,o);else i!==void 0&&t.set(r,typeof i=="object"?JSON.stringify(i):i)}return t};class _s{_fns;constructor(){this._fns=[]}clear(){this._fns=[]}getInterceptorIndex(t){return typeof t=="number"?this._fns[t]?t:-1:this._fns.indexOf(t)}exists(t){const n=this.getInterceptorIndex(t);return!!this._fns[n]}eject(t){const n=this.getInterceptorIndex(t);this._fns[n]&&(this._fns[n]=null)}update(t,n){const s=this.getInterceptorIndex(t);return this._fns[s]?(this._fns[s]=n,t):!1}use(t){return this._fns=[...this._fns,t],this._fns.length-1}}const wu=()=>({error:new _s,request:new _s,response:new _s}),_u=ii({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Cu={"Content-Type":"application/json"},ai=(e={})=>({...cu,headers:Cu,parseAs:"auto",querySerializer:_u,...e}),ui=(e={})=>{let t=Vr(ai(),e);const n=()=>({...t}),s=o=>(t=Vr(t,o),n()),r=wu(),i=async o=>{const l={...t,...o,fetch:o.fetch??t.fetch??globalThis.fetch,headers:li(t.headers,o.headers)};l.security&&await yu({...l,security:l.security}),l.requestValidator&&await l.requestValidator(l),l.body&&l.bodySerializer&&(l.body=l.bodySerializer(l.body)),(l.body===void 0||l.body==="")&&l.headers.delete("Content-Type");const a=Ur(l),c={redirect:"follow",...l};let u=new Request(a,c);for(const x of r.request._fns)x&&(u=await x(u,l));const f=l.fetch;let p=await f(u);for(const x of r.response._fns)x&&(p=await x(p,u,l));const m={request:u,response:p};if(p.ok){if(p.status===204||p.headers.get("Content-Length")==="0")return l.responseStyle==="data"?{}:{data:{},...m};const x=(l.parseAs==="auto"?gu(p.headers.get("Content-Type")):l.parseAs)??"json";let L;switch(x){case"arrayBuffer":case"blob":case"formData":case"json":case"text":L=await p[x]();break;case"stream":return l.responseStyle==="data"?p.body:{data:p.body,...m}}return x==="json"&&(l.responseValidator&&await l.responseValidator(L),l.responseTransformer&&(L=await l.responseTransformer(L))),l.responseStyle==="data"?L:{data:L,...m}}const C=await p.text();let E;try{E=JSON.parse(C)}catch{}const F=E??C;let b=F;for(const x of r.error._fns)x&&(b=await x(F,p,u,l));if(b=b||{},l.throwOnError)throw b;return l.responseStyle==="data"?void 0:{error:b,...m}};return{buildUrl:Ur,connect:o=>i({...o,method:"CONNECT"}),delete:o=>i({...o,method:"DELETE"}),get:o=>i({...o,method:"GET"}),getConfig:n,head:o=>i({...o,method:"HEAD"}),interceptors:r,options:o=>i({...o,method:"OPTIONS"}),patch:o=>i({...o,method:"PATCH"}),post:o=>i({...o,method:"POST"}),put:o=>i({...o,method:"PUT"}),request:i,setConfig:s,trace:o=>i({...o,method:"TRACE"})}},Ie=ui(ai()),xu=e=>(e.client??Ie).delete({url:"/api/blob/{attr}/{index}/{dn}",...e}),Su=e=>(e.client??Ie).put({...uu,url:"/api/blob/{attr}/{index}/{dn}",...e,headers:{"Content-Type":null,...e.headers}}),$u=e=>(e.client??Ie).post({url:"/api/change-password/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tu=e=>(e.client??Ie).post({url:"/api/check-password/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ou=e=>(e.client??Ie).delete({url:"/api/entry/{dn}",...e}),ku=e=>(e.client??Ie).get({url:"/api/entry/{dn}",...e}),Eu=e=>(e.client??Ie).post({url:"/api/entry/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Au=e=>(e.client??Ie).put({url:"/api/entry/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ju=e=>(e.client??Ie).post({url:"/api/ldif",...e,headers:{"Content-Type":"application/json",...e.headers}}),Du=e=>(e.client??Ie).get({url:"/api/range/{attribute}",...e}),Pu=e=>(e.client??Ie).post({url:"/api/rename/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Iu=e=>(e?.client??Ie).get({url:"/api/schema",...e}),Mu=e=>(e.client??Ie).get({url:"/api/search/{query}",...e}),Ru=e=>(e.client??Ie).get({url:"/api/subtree/{root_dn}",...e}),Nu=e=>(e.client??Ie).get({url:"/api/tree/{basedn}",...e}),Lu=e=>(e?.client??Ie).get({url:"/api/whoami",...e}),Fu=["accept"],Hr=ye({__name:"AddPhotoDialog",props:{dn:{type:String,required:!0},attr:{type:String,validator:e=>["jpegPhoto","thumbnailPhoto"].includes(e)},modal:String,returnTo:String},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=q(null),r=t,i=Ce("app");async function o(l){const a=l.target;if(!a?.files)return;(await Su({path:{attr:n.attr,index:0,dn:n.dn},body:{blob:a.files[0]},client:i?.client})).error||(r("update:modal"),r("ok",n.dn,[n.attr]))}return(l,a)=>(g(),we(lt,{title:"Upload photo","hide-footer":"","return-to":e.returnTo,open:e.modal=="add-"+e.attr,onShown:a[0]||(a[0]=c=>s.value?.focus()),onCancel:a[1]||(a[1]=c=>r("update:modal"))},{default:he(()=>[k("input",{name:"photo",type:"file",ref_key:"upload",ref:s,onChange:o,accept:e.attr=="jpegPhoto"?"image/jpeg":"image/*"},null,40,Fu)]),_:1},8,["return-to","open"]))}});function Uu(e,t,n){return n.indexOf(e)==t}function ci(e){let t=e.substring(14);return t!="Z"&&(t=t.substring(0,3)+":"+(t.length>3?t.substring(3,5):"00")),new Date(e.substring(0,4)+"-"+e.substring(4,6)+"-"+e.substring(6,8)+"T"+e.substring(8,10)+":"+e.substring(10,12)+":"+e.substring(12,14)+t)}let ls;class Vu{attr;value;constructor(t){const n=t.split("=");this.attr=ls.attr(n[0].trim()),this.value=n[1].trim()}toString(){return this.attr.name+"="+this.attr.normalizer(this.value)}matches(t){return t!==void 0&&this.toString()==t.toString()}}class St{rdn;parent;constructor(t){const n=t.split(",");this.rdn=new Vu(n[0]),this.parent=n.length==1?void 0:new St(t.slice(n[0].length+1))}toString(){const t=this.rdn.toString();return this.parent?t+","+this.parent.toString():t}get level(){return this.parent?this.parent.level+1:0}matches(t){return!t||!this.rdn.matches(t.rdn)?!1:!this.parent&&!t.parent?!0:!!this.parent&&this.parent.matches(t.parent)}isSubordinate(t){let n=this.parent;for(;n;){if(n.matches(t))return!0;n=n.parent}return!1}parents(t){const n=[];for(let s=this.parent;s&&(n.push(s),!(!s.parent||s.matches(t)));s=s.parent);return n}}let fi=class{oid;name;names;sup};class Hu extends fi{desc;obsolete;may;must;kind;constructor(t){super(),Object.assign(this,t)}get structural(){return this.kind=="structural"}get aux(){return this.kind=="auxiliary"}$collect(t){const n=[];for(let r=this;r;r=r.$super){const i=r[t];i&&n.push(i)}const s=n.flat().map(r=>ls.attr(r)).map(r=>r?.name).filter(Uu);return s.sort(),s}toString(){return this.name}get $super(){const t=Object.getPrototypeOf(this);return t.sup?t:void 0}}class Bu extends fi{desc;equality;obsolete;ordering;no_user_mod;single_value;substr;syntax;usage;normalizers={distinguishedNameMatch:t=>new St(t).toString(),caseIgnoreIA5Match:t=>t.toLowerCase(),caseIgnoreMatch:t=>t.toLowerCase(),generalizedTimeMatch:t=>ci(t).toISOString(),integerMatch:t=>+t,numericStringMatch:t=>+t,octetStringMatch:t=>t};constructor(t){super(),delete this.equality,delete this.ordering,delete this.substr,delete this.syntax,Object.assign(this,Object.fromEntries(Object.entries(t).filter(([n,s])=>s!=null)))}toString(){return this.name}get normalizer(){return this.normalizers[this.equality||"octetStringMatch"]||this.normalizers.octetStringMatch}get binary(){if(this.equality!="octetStringMatch")return!!this.$syntax?.not_human_readable}get $syntax(){if(this.syntax)return ls.syntaxes.get(this.syntax)}get $super(){const t=Object.getPrototypeOf(this);return t.sup?t:void 0}}class qu{oid;desc;not_human_readable;constructor(t){Object.assign(this,t)}toString(){return this.desc}}class Ku{attributes;objectClasses;syntaxes;attributesByName;constructor(t){this.syntaxes=new Map(Object.entries(t.syntaxes).map(([n,s])=>[n,new qu(s)])),this.attributes=Object.values(t.attributes).map(n=>new Bu(n)),this.objectClasses=new Map(Object.entries(t.objectClasses).map(([n,s])=>[n.toLowerCase(),new Hu(s)])),this.buildPrototypeChain(this.objectClasses),this.attributesByName=new Map(this.attributes.flatMap(n=>(n.names||[]).map(s=>[s.toLowerCase(),n]))),this.buildPrototypeChain(this.attributesByName),ls=this}buildPrototypeChain(t){for(const n of t.values()){const s=n.sup?n.sup[0]:void 0,r=s?t.get(s.toLowerCase()):void 0;r&&Object.setPrototypeOf(n,r)}}attr(t){return this.attributesByName.get(t?.toLowerCase()||"")}oc(t){return this.objectClasses.get(t?.toLowerCase()||"")}search(t){return this.attributes.filter(n=>n.names?.some(s=>s.toLowerCase().startsWith(t.toLowerCase())))}}function Qs(e){return Jr()?(ji(e),!0):!1}const Wu=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zu=e=>e!=null,Yu=Object.prototype.toString,Gu=e=>Yu.call(e)==="[object Object]";function Mn(e){return Array.isArray(e)?e:[e]}function Ju(e){return rs()}function Xu(e,t=!0,n){Ju()?Et(e,n):t?e():Lt(e)}function Qu(e,t,n){return Pe(e,t,{...n,immediate:!0})}const $n=Wu?window:void 0;function wn(e){var t;const n=Kt(e);return(t=n?.$el)!=null?t:n}function ht(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},s=(l,a,c,u)=>(l.addEventListener(a,c,u),()=>l.removeEventListener(a,c,u)),r=Z(()=>{const l=Mn(Kt(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=Qu(()=>{var l,a;return[(a=(l=r.value)==null?void 0:l.map(c=>wn(c)))!=null?a:[$n].filter(c=>c!=null),Mn(Kt(r.value?e[1]:e[0])),Mn(Qt(r.value?e[2]:e[1])),Kt(r.value?e[3]:e[2])]},([l,a,c,u])=>{if(n(),!l?.length||!a?.length||!c?.length)return;const f=Gu(u)?{...u}:u;t.push(...l.flatMap(p=>a.flatMap(m=>c.map(C=>s(p,m,C,f)))))},{flush:"post"}),o=()=>{i(),n()};return Qs(n),o}function Zu(){const e=ze(!1),t=rs();return t&&Et(()=>{e.value=!0},t),e}function di(e){const t=Zu();return Z(()=>(t.value,!!e()))}function ec(e,t,n={}){const{window:s=$n,...r}=n;let i;const o=di(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=Z(()=>{const p=Kt(e),m=Mn(p).map(wn).filter(zu);return new Set(m)}),c=Pe(()=>a.value,p=>{l(),o.value&&p.size&&(i=new MutationObserver(t),p.forEach(m=>i.observe(m,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),f=()=>{c(),l()};return Qs(f),{isSupported:o,stop:f,takeRecords:u}}function tc(e,t,n={}){const{window:s=$n,...r}=n;let i;const o=di(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=Z(()=>{const f=Kt(e);return Array.isArray(f)?f.map(p=>wn(p)):[wn(f)]}),c=Pe(a,f=>{if(l(),o.value&&s){i=new ResizeObserver(t);for(const p of f)p&&i.observe(p,r)}},{immediate:!0,flush:"post"}),u=()=>{l(),c()};return Qs(u),{isSupported:o,stop:u}}const nc={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function sc(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:s=!1,initialValue:r={x:0,y:0},window:i=$n,target:o=i,scroll:l=!0,eventFilter:a}=e;let c=null,u=0,f=0;const p=ze(r.x),m=ze(r.y),C=ze(null),E=typeof t=="function"?t:nc[t],F=K=>{const le=E(K);c=K,le&&([p.value,m.value]=le,C.value="mouse"),i&&(u=i.scrollX,f=i.scrollY)},b=K=>{if(K.touches.length>0){const le=E(K.touches[0]);le&&([p.value,m.value]=le,C.value="touch")}},x=()=>{if(!c||!i)return;const K=E(c);c instanceof MouseEvent&&K&&(p.value=K[0]+i.scrollX-u,m.value=K[1]+i.scrollY-f)},L=()=>{p.value=r.x,m.value=r.y},R=a?K=>a(()=>F(K),{}):K=>F(K),V=a?K=>a(()=>b(K),{}):K=>b(K),ne=a?()=>a(()=>x(),{}):()=>x();if(o){const K={passive:!0};ht(o,["mousemove","dragover"],R,K),n&&t!=="movement"&&(ht(o,["touchstart","touchmove"],V,K),s&&ht(o,"touchend",L,K)),l&&t==="page"&&ht(i,"scroll",ne,K)}return{x:p,y:m,sourceType:C}}function rc(e,t={}){const{windowResize:n=!0,windowScroll:s=!0,handleOutside:r=!0,window:i=$n}=t,o=t.type||"page",{x:l,y:a,sourceType:c}=sc(t),u=ze(e??i?.document.body),f=ze(0),p=ze(0),m=ze(0),C=ze(0),E=ze(0),F=ze(0),b=ze(!0);function x(){if(!i)return;const V=wn(u);if(!V||!(V instanceof Element))return;const{left:ne,top:K,width:le,height:W}=V.getBoundingClientRect();m.value=ne+(o==="page"?i.pageXOffset:0),C.value=K+(o==="page"?i.pageYOffset:0),E.value=W,F.value=le;const ee=l.value-m.value,re=a.value-C.value;b.value=le===0||W===0||ee<0||re<0||ee>le||re>W,(r||!b.value)&&(f.value=ee,p.value=re)}const L=[];function R(){L.forEach(V=>V()),L.length=0}if(Xu(()=>{x()}),i){const{stop:V}=tc(u,x),{stop:ne}=ec(u,x,{attributeFilter:["style","class"]}),K=Pe([u,l,a],x);L.push(V,ne,K),ht(document,"mouseleave",()=>b.value=!0,{passive:!0}),s&&L.push(ht("scroll",x,{capture:!0,passive:!0})),n&&L.push(ht("resize",x,{passive:!0}))}return{x:l,y:a,sourceType:c,elementX:f,elementY:p,elementPositionX:m,elementPositionY:C,elementHeight:E,elementWidth:F,isOutside:b,stop:R}}const oc={key:0,class:"ui-popover absolute z-10 border border-front/70 rounded min-w-max text-front bg-back list-none"},Zs=ye({__name:"Popover",props:{open:{type:Boolean}},emits:["opened","closed","update:open"],setup(e,{emit:t}){const n=e,s=t,r=q(null),i=q(),{isOutside:o}=rc(r);function l(){i.value=void 0,n.open&&s("update:open")}function a(u){const f=r.value.children.length-1;i.value===void 0?i.value=u>0?0:f:(i.value+=u,i.value>f?i.value=0:i.value<0&&(i.value=f))}function c(u){if(!(!n.open||!r.value))switch(u.key){case"Esc":case"Escape":l();break;case"ArrowDown":a(1),u.preventDefault();break;case"ArrowUp":a(-1),u.preventDefault();break;case"Enter":{r.value.children[i.value].click(),u.preventDefault();break}}}return Et(()=>{ht(document,"keydown",c),ht(document,"click",l)}),Pe(i,u=>{if(!(!n.open||!r.value)){for(const f of r.value.children)f.classList.remove("selected");u!=null&&r.value.children[u].classList.add("selected")}}),Pe(o,u=>{for(const f of r.value.children)u?f.classList.remove("hover:bg-primary/40"):(i.value=void 0,f.classList.add("hover:bg-primary/40"))}),(u,f)=>(g(),we(Bn,{name:"fade",onAfterEnter:f[0]||(f[0]=p=>s("opened")),onAfterLeave:f[1]||(f[1]=p=>s("closed"))},{default:he(()=>[u.open?(g(),T("div",oc,[k("ul",{class:"bg-front/5 dark:bg-front/10 py-2",ref_key:"items",ref:r,onClick:l},[Ge(u.$slots,"default")],512)])):X("",!0)]),_:3}))}}),ic=["onClick","title"],lc=ye({__name:"AttributeSearch",props:{query:{},for:{}},emits:["done"],setup(e,{emit:t}){const n=e,s=Ce("app"),r=q([]),i=Z(()=>(n.query??"").trim()!=""&&r.value&&r.value.length>0&&!(r.value.length==1&&n.query==r.value[0].name)),o=t;Pe(()=>n.query,a=>{a&&(r.value=s?.schema.search(a)||[],r.value.sort((c,u)=>c.name.toLowerCase().localeCompare(u.name.toLowerCase())))});function l(a){o("done",a),r.value=[],Lt(()=>{if(n.for){const c=document.getElementById(n.for);c&&c.focus()}})}return(a,c)=>(g(),we(Zs,{open:i.value,"onUpdate:open":c[0]||(c[0]=u=>r.value=[])},{default:he(()=>[(g(!0),T(ie,null,Te(r.value,u=>(g(),T("li",{key:u.oid,onClick:f=>l(u.name),title:u.oid,role:"menuitem"},se(u.name),9,ic))),128))]),_:1},8,["open"]))}}),ac=["onClick","title"],pi=ye({__name:"SearchResults",props:{query:{type:String,default:""},for:String,label:{type:String,default:"name",validator:e=>["name","dn"].includes(e)},shorten:String,silent:{type:Boolean,default:!1}},emits:["select-dn"],setup(e,{emit:t}){const n=e,s=Ce("app"),r=q([]),i=Z(()=>n.query.trim()!=""&&r.value&&r.value.length>1),o=t;Pe(()=>n.query,async c=>{if(!c)return;const u=await Mu({path:{query:c},client:s?.client});if(u.data){if(r.value=await u.data,r.value.length==0&&!n.silent){s?.showWarning("No search results");return}if(r.value.length==1){a(r.value[0].dn);return}r.value.sort((f,p)=>f[n.label].toLowerCase().localeCompare(p[n.label].toLowerCase()))}});function l(c){return n.shorten&&n.shorten!=c?c.replace(n.shorten,"…"):c}function a(c){o("select-dn",c),r.value=[],Lt(()=>{if(n.for){const u=document.getElementById(n.for);u&&u.focus()}})}return(c,u)=>(g(),we(Zs,{open:i.value,"onUpdate:open":u[0]||(u[0]=f=>r.value=[])},{default:he(()=>[(g(!0),T(ie,null,Te(r.value,f=>(g(),T("li",{key:f.dn,onClick:p=>a(f.dn),title:e.label=="dn"?"":l(f.dn),role:"menuitem"},se(f[e.label]),9,ac))),128))]),_:1},8,["open"]))}}),uc=ye({__name:"ToggleButton",props:{value:{}},emits:["update:value"],setup(e,{emit:t}){const n=e,s=t,r=Z(()=>n.value=="TRUE");return(i,o)=>(g(),T("button",{type:"button",class:"p-0 relative focus:outline-none",tabindex:"0",onClick:o[0]||(o[0]=l=>s("update:value",r.value?"FALSE":"TRUE"))},[o[1]||(o[1]=k("div",{class:"w-8 h-4 transition rounded-full bg-gray-200"},null,-1)),k("div",{class:je(["absolute top-0 left-0 w-4 h-4 transition-all duration-200 ease-in-out transform scale-110 rounded-full shadow-sm",r.value?"translate-x-4 bg-primary":"translate-x-0 bg-secondary"])},null,2)]))}}),cc={key:0,class:"flex mx-4 space-x-4"},fc=["title"],dc={key:0,class:"fa text-emerald-700 ml-1 fa-check"},pc={class:"w-3/4"},hc=["onClick","title"],mc={key:5,class:"mr-5"},vc={key:6},gc=["src"],yc=["onClick"],bc={key:7},wc=["onClick"],_c={key:1,class:"pb-1 border-primary focus-within:border-b border-solid"},Cc=["onClick"],xc=["value","id","type","placeholder","disabled","title"],Sc=["onClick"],$c={key:2,class:"text-xs ml-6 opacity-70"},Tc=ye({__name:"AttributeRow",props:{entry:{},attr:{},baseDn:{},values:{},must:{type:Boolean},may:{type:Boolean},changed:{type:Boolean}},emits:["show-attr","show-modal","show-oc","reload-form","update","valid"],setup(e,{emit:t}){function n(N,J,de){return N==""||de.indexOf(N)==J}const s={weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},r={boolean:"1.3.6.1.4.1.1466.115.121.1.7",distinguishedName:"1.3.6.1.4.1.1466.115.121.1.12",generalizedTime:"1.3.6.1.4.1.1466.115.121.1.24",integer:"1.3.6.1.4.1.1466.115.121.1.27",oid:"1.3.6.1.4.1.1466.115.121.1.38",telephoneNumber:"1.3.6.1.4.1.1466.115.121.1.50"},i=["uidNumber","gidNumber"],o=e,l=Ce("app"),a=q(!0),c=q(),u=q(""),f=q(""),p=q(),m=Z(()=>o.attr.syntax==r.boolean),C=Z(()=>o.attr.syntax==r.distinguishedName),E=Z(()=>o.values.length==1&&o.values[0]==c.value),F=Z(()=>o.values.every(N=>!N.trim())),b=Z(()=>!o.must&&!o.may),x=Z(()=>o.attr.name==o.entry.dn.split("=")[0]),L=Z(()=>o.attr.syntax==r.oid),R=Z(()=>F.value&&o.must),V=Z(()=>o.attr.name=="userPassword"),ne=Z(()=>o.attr.syntax==r.generalizedTime),K=Z(()=>V.value?!1:o.entry.binary.includes(o.attr.name)),le=Z(()=>x.value||o.attr.name=="objectClass"||b.value&&F.value||!o.entry.isNew&&(V.value||K.value)),W=Z(()=>R.value?" ":F.value?" ":C.value?" ":""),ee=Z(()=>o.attr.name=="jpegPhoto"||o.attr.name=="thumbnailPhoto"||!o.attr.no_user_mod&&!K.value),re=Z(()=>V.value?"password":o.attr.syntax==r.telephoneNumber?"tel":o.attr.syntax==r.integer?"number":"text"),P=t;Pe(a,N=>P("valid",N)),Et(async()=>{if(le.value||!i.includes(o.attr.name)||o.values.length!=1||o.values[0])return;const N=await Du({path:{attribute:o.attr.name},client:l?.client});if(!N.data)return;const J=N.data;u.value=J.min==J.max?"> "+J.min:"∉ ("+J.min+" - "+J.max+")",c.value=""+J.next,P("update",o.attr.name,[c.value],0),ue()}),ko(ue);function ue(){a.value=!R.value&&(!b.value||F.value)&&o.values.every(n)}function A(N){const J=N.target,de=J.value,_e=+J.id.split("-").slice(-1).pop();y(_e,de)}function y(N,J){const de=o.values.slice();de[N]=J,P("update",o.attr.name,de)}function O(){const N=o.values.slice();N.includes("")||N.push(""),P("update",o.attr.name,N,N.length-1)}function Q(N){const J=o.values.slice(0,N).concat(o.values.slice(N+1));P("update","objectClass",J)}function fe(N){return ci(N).toLocaleString(void 0,s)}function Ze(N){return o.attr.name=="objectClass"&&(l?.schema.oc(N)?.structural||!1)}function Ft(N){const J=l?.schema.oc(N);return o.attr.name=="objectClass"&&!!J&&!J.structural}function at(N){return!n(o.values[N],N,o.values)}function Ke(N){return N==0&&!o.attr.single_value&&!le.value&&!o.values.includes("")}function Tn(N){const J=N.target;p.value=J.id;const de=J.value;f.value=de.length>=2&&!de.includes(",")?de:""}function On(N){const J=+p.value.split("-").slice(-1).pop(),de=o.values.slice();de[J]=N,f.value="",P("update",o.attr.name,de)}async function as(N){(await xu({path:{attr:o.attr.name,index:N,dn:o.entry.dn},client:l?.client})).error||P("reload-form",o.entry.dn,[o.attr.name])}return(N,J)=>N.attr&&ee.value?(g(),T("div",cc,[k("div",{class:je([{required:N.must,optional:N.may,rdn:x.value,illegal:b.value},"w-1/4"])},[k("span",{class:"cursor-pointer oc",title:N.attr.desc,onClick:J[0]||(J[0]=de=>P("show-attr",N.attr.name))},se(N.attr),9,fc),N.changed?(g(),T("i",dc)):X("",!0)],2),k("div",pc,[(g(!0),T(ie,null,Te(N.values,(de,_e)=>(g(),T("div",{key:_e},[Ze(de)?(g(),T("span",{key:0,onClick:J[1]||(J[1]=Se=>P("show-modal","add-object-class")),tabindex:"-1",class:"add-btn control font-bold",title:"Add object class…"},"⊕")):Ft(de)?(g(),T("span",{key:1,onClick:Se=>Q(_e),class:"remove-btn control",title:"Remove "+de},"⊖",8,hc)):V.value?(g(),T("span",{key:2,class:"fa fa-question-circle control",onClick:J[2]||(J[2]=Se=>P("show-modal","change-password")),tabindex:"-1",title:"change password"})):N.attr.name=="jpegPhoto"||N.attr.name=="thumbnailPhoto"?(g(),T("span",{key:3,onClick:J[3]||(J[3]=Se=>P("show-modal","add-jpegPhoto")),tabindex:"-1",class:"add-btn control align-top",title:"Add photo…"},"⊕")):Ke(_e)&&!b.value?(g(),T("span",{key:4,onClick:O,class:"add-btn control",title:"Add row"},"⊕")):(g(),T("span",mc)),N.attr.name=="jpegPhoto"||N.attr.name=="thumbnailPhoto"?(g(),T("span",vc,[de?(g(),T("img",{key:0,src:"data:image/"+(N.attr.name=="jpegPhoto"?"jpeg":"*")+";base64,"+de,class:"max-w-[120px] max-h-[120px] border p-px inline mx-1"},null,8,gc)):X("",!0),de?(g(),T("span",{key:1,class:"control remove-btn align-top ml-1",onClick:Se=>as(_e),title:"Remove photo"},"⊖",8,yc)):X("",!0)])):m.value?(g(),T("span",bc,[_e==0&&!N.values[0]?(g(),T("span",{key:0,class:"control text-lg",onClick:Se=>y(_e,"FALSE")},"⊕",8,wc)):(g(),T("span",_c,[G(uc,{id:N.attr+"-"+_e,value:N.values[_e],class:"mt-2","onUpdate:value":Se=>y(_e,Se)},null,8,["id","value","onUpdate:value"]),k("i",{class:"fa fa-trash ml-2 relative -top-0.5 control",onClick:Se=>y(_e,"")},null,8,Cc)]))])):(g(),T("input",{key:8,value:N.values[_e],id:N.attr+"-"+_e,type:re.value,autocomplete:"off",class:je(["w-[90%] glyph outline-none bg-back border-x-0 border-t-0 border-b border-solid border-front/20 focus:border-primary px-1",{structural:Ze(de),auto:E.value,illegal:b.value&&!F.value||at(_e)}]),placeholder:W.value,disabled:le.value,title:ne.value?fe(de):"",onInput:A,onFocusin:J[4]||(J[4]=Se=>f.value=""),onKeyup:[Tn,J[5]||(J[5]=yt(Se=>f.value="",["esc"]))]},null,42,xc)),N.attr.name=="objectClass"?(g(),T("i",{key:9,class:"cursor-pointer fa fa-info-circle",onClick:Se=>P("show-oc",de)},null,8,Sc)):X("",!0)]))),128)),C.value&&p.value?(g(),we(pi,{key:0,silent:"",onSelectDn:On,for:p.value,query:f.value,label:"dn",shorten:N.baseDn},null,8,["for","query","shorten"])):X("",!0),L.value&&p.value?(g(),we(lc,{key:1,onDone:On,for:p.value,query:f.value},null,8,["for","query"])):X("",!0),u.value?(g(),T("div",$c,se(u.value),1)):X("",!0)])])):X("",!0)}}),hi=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Oc=hi(Tc,[["__scopeId","data-v-8340a860"]]),kc={key:0,class:"text-danger text-xs mb-1"},Ec=ye({__name:"CopyEntryDialog",props:{entry:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=t,r=q(""),i=q(""),o=q(null);function l(){i.value="",r.value=n.entry.dn}function a(){if(!r.value||r.value==n.entry.dn){i.value="This DN already exists";return}const c=r.value.split(","),u=c[0].split("="),f=u[0];if(u.length!=2){i.value="Invalid RDN: "+c[0];return}s("update:modal");const p=JSON.parse(JSON.stringify(n.entry));p.attrs[f]=[u[1]],p.dn=r.value,p.isNew=!0,s("ok",p)}return(c,u)=>(g(),we(lt,{title:"Copy entry",open:c.modal=="copy-entry","return-to":c.returnTo,onShow:l,onShown:u[1]||(u[1]=f=>o.value?.focus()),onOk:a,onCancel:u[2]||(u[2]=f=>s("update:modal"))},{default:he(()=>[k("div",null,[i.value?(g(),T("div",kc,se(i.value),1)):X("",!0),Ve(k("input",{ref_key:"newdn",ref:o,"onUpdate:modelValue":u[0]||(u[0]=f=>r.value=f),placeholder:"New DN",onKeyup:yt(a,["enter"])},null,544),[[Jt,r.value]])])]),_:1},8,["open","return-to"]))}}),Ac=["title"],_n=ye({__name:"NodeLabel",props:{dn:{},oc:{}},emits:["select-dn"],setup(e,{emit:t}){const n=e,s={account:"user",groupOfNames:"users",groupOfURLs:"users",groupOfUniqueNames:"users",inetOrgPerson:"address-book",krbContainer:"lock",krbPrincipal:"user-o",krbRealmContainer:"globe",organization:"globe",organizationalRole:"android",organizationalUnit:"sitemap",person:"user",posixGroup:"users"},r=Z(()=>n.oc?" fa-"+(s[n.oc]||"question"):"fa-question"),i=Z(()=>(n.dn||"").split(",")[0].replace(/^cn=/,"").replace(/^krbPrincipalName=/,"")),o=t;function l(a){a&&o("select-dn",a)}return(a,c)=>(g(),T("span",{onClick:c[0]||(c[0]=u=>l(a.dn)),title:a.dn,class:"node-label cursor-pointer select-none"},[a.oc?(g(),T("i",{key:0,class:je(["fa w-6 text-center",r.value])},null,2)):X("",!0),Ge(a.$slots,"default",{},()=>[Le(se(i.value),1)])],8,Ac))}}),jc={key:0},Dc=ye({__name:"DeleteEntryDialog",props:{dn:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=q([]),r=t,i=Z(()=>new St(n.dn)),o=Ce("app");async function l(){const f=await Ru({path:{root_dn:n.dn},client:o?.client});f.data&&(s.value=f.data)}function a(f){return new St(f.dn).level-i.value.level-1}function c(){document.getElementById("ui-modal-ok")?.focus()}function u(){r("update:modal"),r("ok",n.dn)}return(f,p)=>(g(),we(lt,{title:"Are you sure?",open:f.modal=="delete-entry","return-to":f.returnTo,"cancel-classes":"bg-primary/80","ok-classes":"bg-danger/80",onShow:l,onShown:c,onOk:u,onCancel:p[0]||(p[0]=m=>r("update:modal"))},{"modal-ok":he(()=>p[2]||(p[2]=[k("i",{class:"fa fa-trash-o fa-lg"},null,-1),Le(" Delete ",-1)])),default:he(()=>[p[3]||(p[3]=k("p",{class:"strong"},"This action is irreversible.",-1)),s.value.length?(g(),T("div",jc,[p[1]||(p[1]=k("p",{class:"text-danger mb-2"}," The following child nodes will be also deleted: ",-1)),(g(!0),T(ie,null,Te(s.value,m=>(g(),T("div",{key:m.dn},[(g(!0),T(ie,null,Te(a(m),C=>(g(),T("span",{class:"ml-6",key:C}))),128)),G(_n,{dn:"",oc:m.structuralObjectClass},{default:he(()=>[Le(se(m.dn.split(",")[0]),1)]),_:2},1032,["oc"])]))),128))])):X("",!0)]),_:1,__:[3]},8,["open","return-to"]))}}),Pc=ye({__name:"DiscardEntryDialog",props:{dn:{},modal:{},returnTo:{}},emits:["ok","shown","update:modal"],setup(e,{emit:t}){const n=q(),s=t;function r(){document.getElementById("ui-modal-ok")?.focus(),s("shown")}function i(){s("update:modal"),s("ok",n.value)}return(o,l)=>(g(),we(lt,{title:"Are you sure?",open:o.modal=="discard-entry","return-to":o.returnTo,"cancel-classes":"bg-primary/80","ok-classes":"bg-danger/80",onShow:l[0]||(l[0]=a=>n.value=o.dn),onShown:r,onOk:i,onCancel:l[1]||(l[1]=a=>s("update:modal"))},{"modal-ok":he(()=>l[2]||(l[2]=[k("i",{class:"fa fa-trash-o fa-lg"},null,-1),Le(" Discard ",-1)])),default:he(()=>[l[3]||(l[3]=k("p",{class:"strong"},"All changes will be irreversibly lost.",-1))]),_:1,__:[3]},8,["open","return-to"]))}}),Ic={class:"relative inline-block text-left mx-1"},Mc=["aria-expanded"],Rc=["aria-hidden"],mi=ye({__name:"DropdownMenu",props:{title:{}},setup(e){const t=q(!1);return(n,s)=>(g(),T("div",Ic,[k("span",{ref:"opener",class:"inline-flex w-full py-2 select-none cursor-pointer","aria-expanded":t.value,"aria-haspopup":"true",onClick:s[0]||(s[0]=Xt(r=>t.value=!t.value,["stop"]))},[Ge(n.$slots,"button-content",{},()=>[Le(se(n.title),1)]),(g(),T("svg",{class:"-mr-1 h-5 w-5 pt-1",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":!t.value},s[2]||(s[2]=[k("path",{"fill-rule":"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z","clip-rule":"evenodd"},null,-1)]),8,Rc))],8,Mc),G(Zs,{open:t.value,"onUpdate:open":s[1]||(s[1]=r=>t.value=r)},{default:he(()=>[Ge(n.$slots,"default")]),_:3},8,["open"])]))}}),Nc={key:0},Lc={key:0},Fc=ye({__name:"NewEntryDialog",props:{dn:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=Ce("app"),r=q(""),i=q(""),o=q(""),l=q(null),a=Z(()=>s?.schema.oc(r.value)),c=t;function u(){r.value=i.value=o.value=""}function f(){if(!r.value||!i.value||!o.value)return;c("update:modal");const m=[r.value];for(let E=a.value?.$super;E;E=E.$super)!E.structural&&E.kind!="abstract"&&m.push(E.name);const C={dn:i.value+"="+o.value+","+n.dn,changed:[],binary:[],autoFilled:[],isNew:!0,attrs:{objectClass:m}};C.attrs[i.value]=[o.value],c("ok",C)}function p(){if(!r.value)return[];const m=a.value?.$collect("must")||[];return m.length==1&&(i.value=m[0]),m}return(m,C)=>(g(),we(lt,{title:"New entry",open:m.modal=="new-entry","return-to":m.returnTo,onOk:f,onCancel:C[3]||(C[3]=E=>c("update:modal")),onShow:u,onShown:C[4]||(C[4]=E=>l.value?.focus())},{default:he(()=>[k("label",null,[C[5]||(C[5]=Le("Object class: ",-1)),Ve(k("select",{ref_key:"select",ref:l,"onUpdate:modelValue":C[0]||(C[0]=E=>r.value=E)},[(g(!0),T(ie,null,Te(Qt(s)?.schema.objectClasses.values(),E=>(g(),T(ie,{key:E.name},[E.structural?(g(),T("option",Nc,se(E),1)):X("",!0)],64))),128))],512),[[bn,r.value]])]),r.value?(g(),T("label",Lc,[C[6]||(C[6]=Le("RDN attribute: ",-1)),Ve(k("select",{"onUpdate:modelValue":C[1]||(C[1]=E=>i.value=E)},[(g(!0),T(ie,null,Te(p(),E=>(g(),T("option",{key:E},se(E),1))),128))],512),[[bn,i.value]])])):X("",!0),r.value?Ve((g(),T("input",{key:1,"onUpdate:modelValue":C[2]||(C[2]=E=>o.value=E),placeholder:"RDN value",onKeyup:yt(f,["enter"])},null,544)),[[Jt,o.value]]):X("",!0)]),_:1},8,["open","return-to"]))}}),Uc={key:0},Vc=ye({__name:"PasswordChangeDialog",props:{entry:{},modal:{},returnTo:{},user:{}},emits:["ok","update-form","update:modal"],setup(e,{emit:t}){const n=e,s=q(""),r=q(""),i=q(""),o=q(),l=q(null),a=q(null),c=Z(()=>n.user==n.entry.dn),u=Z(()=>r.value&&r.value==i.value),f=Z(()=>!!n.entry.attrs.userPassword&&n.entry.attrs.userPassword[0]!=""),p=t,m=Ce("app");function C(){s.value=r.value=i.value="",o.value=void 0}function E(){f.value?l.value?.focus():a.value?.focus()}async function F(){if(!s.value||s.value.length==0){o.value=void 0;return}const x=await Tu({path:{dn:n.entry.dn},body:s.value,client:m?.client});o.value=x.data}async function b(){c.value&&!r.value||r.value!=i.value||c.value&&f.value&&!o.value||(p("update:modal"),p("ok",s.value,r.value))}return(x,L)=>(g(),we(lt,{title:"Change / verify password",open:x.modal=="change-password","return-to":x.returnTo,onShow:C,onShown:E,onOk:b,onCancel:L[3]||(L[3]=R=>p("update:modal")),onHidden:L[4]||(L[4]=R=>p("update-form"))},{default:he(()=>[f.value?(g(),T("div",Uc,[k("small",null,se(c.value?"Required":"Optional"),1),o.value!==void 0?(g(),T("i",{key:0,class:je(["fa ml-2",o.value?"text-emerald-700 fa-check-circle":"text-danger fa-times-circle"])},null,2)):X("",!0),Ve(k("input",{ref_key:"old",ref:l,"onUpdate:modelValue":L[0]||(L[0]=R=>s.value=R),placeholder:"Old password",type:"password",onChange:F},null,544),[[Jt,s.value]])])):X("",!0),Ve(k("input",{ref_key:"changed",ref:a,"onUpdate:modelValue":L[1]||(L[1]=R=>r.value=R),placeholder:"New password",type:"password"},null,512),[[Jt,r.value]]),Ve(k("input",{"onUpdate:modelValue":L[2]||(L[2]=R=>i.value=R),class:je({"text-danger":i.value&&!u.value}),placeholder:"Repeat new password",type:"password",onKeyup:yt(b,["enter"])},null,34),[[Jt,i.value]])]),_:1},8,["open","return-to"]))}}),Hc=ye({__name:"RenameEntryDialog",props:{entry:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=q(),r=q(null),i=Z(()=>Object.keys(n.entry.attrs).filter(c)),o=t;function l(){s.value=i.value.length==1?i.value[0]:void 0}function a(){const u=n.entry.attrs[s.value||""];u&&u[0]&&(o("update:modal"),o("ok",s.value+"="+u[0]))}function c(u){const f=n.entry.dn.split("=")[0];return u!=f&&!n.entry.attrs[u].every(p=>!p)}return(u,f)=>(g(),we(lt,{title:"Rename entry",open:u.modal=="rename-entry","return-to":u.returnTo,onOk:a,onCancel:f[1]||(f[1]=p=>o("update:modal")),onShow:l,onShown:f[2]||(f[2]=p=>r.value?.focus())},{default:he(()=>[k("label",null,[f[3]||(f[3]=Le("New RDN attribute: ",-1)),Ve(k("select",{ref_key:"select",ref:r,"onUpdate:modelValue":f[0]||(f[0]=p=>s.value=p),onKeyup:yt(a,["enter"])},[(g(!0),T(ie,null,Te(i.value,p=>(g(),T("option",{key:p},se(p),1))),128))],544),[[bn,s.value]])])]),_:1},8,["open","return-to"]))}}),Bc={key:0,class:"rounded border border-front/20 mb-3 mx-4 flex-auto"},qc={class:"flex justify-between mb-4 border-b border-front/20 bg-primary/70"},Kc={key:0,class:"py-2 ml-3"},Wc={key:1,class:"ml-2"},zc={role:"menuitem"},Yc=["href"],Gc={class:"flex ml-4 mt-2 space-x-4"},Jc={class:"w-3/4 pl-4"},Xc={class:"w-[90%] space-x-3"},Qc=["disabled"],Zc={key:0,type:"reset",accesskey:"r",tabindex:"0",class:"btn bg-secondary"},ef=ye({__name:"EntryEditor",props:{activeDn:{},baseDn:{},user:{}},emits:["update:activeDn","show-attr","show-oc"],setup(e,{emit:t}){function n(A,y,O){return O.indexOf(A)==y}const s=["BUTTON","INPUT","SELECT","TEXTAREA"],r=e,i=Ce("app"),o=q(),l=q(),a=q([]),c=q(),u=Z(()=>{const A=Object.keys(o.value?.attrs||{});return A.sort((y,O)=>y.toLowerCase().localeCompare(O.toLowerCase())),A}),f=Z(()=>{const A=o.value?.attrs.objectClass.map(y=>i?.schema.oc(y)).filter(y=>y&&y.structural)[0];return A?A.name:""}),p=t;Pe(()=>r.activeDn,A=>{(!o.value||A!=o.value.dn)&&(l.value=void 0),A&&o.value&&o.value.isNew?c.value="discard-entry":A?ne(A,void 0,void 0):o.value&&!o.value.isNew&&(o.value=void 0)});function m(A){Lt(()=>{const y=A?document.getElementById(A):document.querySelector('form#entry input:not([disabled]), form#entry button[type="button"]');y&&window.setTimeout(()=>y.focus(),100)})}function C(A){const y=A.target;y.id&&s.includes(y.tagName)&&(l.value=y.id)}function E(A){o.value=A,p("update:activeDn"),m(R())}function F(A){o.value=void 0,p("update:activeDn",A)}function b(A){o.value.attrs[A]=[""],m(A+"-0")}function x(A){o.value.attrs.objectClass.push(A),m(R()||l.value)}function L(A,y,O){o.value.attrs[A]=y,O!==void 0&&m(A+"-"+O)}function R(){const A=P("must").filter(y=>!o.value.attrs[y]);return A.forEach(y=>o.value.attrs[y]=[""]),A.length?A[0]+"-0":void 0}function V(A){i?.showError(A.detail?.join(`
|
|
18
|
-
`)||"Operation failed")}async function ne(A,y,O){if(a.value=[],!A||A.startsWith("-")){o.value=void 0;return}const Q=await ku({path:{dn:A},client:i?.client});if(Q.error){V(Q.error);return}o.value=Q.data,o.value.changed=y||[],o.value.isNew=!1,document.title=A.split(",")[0],m(O)}function K(A){return o.value?.changed&&o.value.changed.includes(A)||!1}async function le(){if(a.value.length>0){m(l.value);return}o.value.changed=[];let A=[];if(o.value.isNew){const y=await Au({path:{dn:o.value.dn},body:o.value.attrs,client:i?.client});if(y.error){V(y.error);return}A=y.data}else{const y=await Eu({path:{dn:o.value.dn},body:o.value.attrs,client:i?.client});if(y.error){V(y.error);return}A=y.data}o.value.isNew?(o.value.isNew=!1,p("update:activeDn",o.value.dn)):ne(o.value.dn,A,l.value)}async function W(A){const y=await Pu({path:{dn:o.value.dn},body:A,client:i?.client});if(y.error){V(y.error);return}const O=o.value.dn.split(",");O.splice(0,1,A),p("update:activeDn",O.join(","))}async function ee(A){const y=await Ou({path:{dn:A},client:i?.client});if(y.error){V(y.error);return}i?.showInfo("👍 Deleted: "+A),p("update:activeDn","-"+A)}async function re(A,y){const O=await $u({path:{dn:o.value.dn},body:{old:A,new1:y},client:i?.client});O.error?V(O.error):(o.value.attrs.userPassword=[y],o.value.changed?.push("userPassword"))}function P(A){const y=o.value.attrs.objectClass.filter(O=>O&&O!="top").map(O=>i?.schema.oc(O)).flatMap(O=>O?O.$collect(A):[]).filter(n);return y.sort(),y}function ue(A,y){if(y){const O=a.value.indexOf(A);O>=0&&a.value.splice(O,1)}else a.value.includes(A)||a.value.push(A)}return(A,y)=>o.value?(g(),T("div",Bc,[G(Fc,{modal:c.value,"onUpdate:modal":y[0]||(y[0]=O=>c.value=O),dn:o.value.dn,"return-to":l.value,onOk:E},null,8,["modal","dn","return-to"]),G(Ec,{modal:c.value,"onUpdate:modal":y[1]||(y[1]=O=>c.value=O),entry:o.value,"return-to":l.value,onOk:E},null,8,["modal","entry","return-to"]),G(Hc,{modal:c.value,"onUpdate:modal":y[2]||(y[2]=O=>c.value=O),entry:o.value,"return-to":l.value,onOk:W},null,8,["modal","entry","return-to"]),G(Dc,{modal:c.value,"onUpdate:modal":y[3]||(y[3]=O=>c.value=O),dn:o.value.dn,"return-to":l.value,onOk:ee},null,8,["modal","dn","return-to"]),G(Pc,{modal:c.value,"onUpdate:modal":y[4]||(y[4]=O=>c.value=O),dn:r.activeDn,"return-to":l.value,onOk:F,onShown:y[5]||(y[5]=O=>p("update:activeDn"))},null,8,["modal","dn","return-to"]),G(Vc,{modal:c.value,"onUpdate:modal":y[6]||(y[6]=O=>c.value=O),entry:o.value,"return-to":l.value,user:A.user,onOk:re},null,8,["modal","entry","return-to","user"]),G(Hr,{modal:c.value,"onUpdate:modal":y[7]||(y[7]=O=>c.value=O),attr:"jpegPhoto",dn:o.value.dn,"return-to":l.value,onOk:ne},null,8,["modal","dn","return-to"]),G(Hr,{modal:c.value,"onUpdate:modal":y[8]||(y[8]=O=>c.value=O),attr:"thumbnailPhoto",dn:o.value.dn,"return-to":l.value,onOk:ne},null,8,["modal","dn","return-to"]),G(au,{modal:c.value,"onUpdate:modal":y[9]||(y[9]=O=>c.value=O),entry:o.value,"return-to":l.value,onOk:x},null,8,["modal","entry","return-to"]),G(lu,{modal:c.value,"onUpdate:modal":y[10]||(y[10]=O=>c.value=O),entry:o.value,attributes:P("may"),"return-to":l.value,onOk:b,onShowModal:y[11]||(y[11]=O=>c.value=O)},null,8,["modal","entry","attributes","return-to"]),k("nav",qc,[o.value.isNew?(g(),T("div",Kc,[G(_n,{dn:o.value.dn,oc:f.value},null,8,["dn","oc"])])):(g(),T("div",Wc,[G(mi,null,{"button-content":he(()=>[G(_n,{dn:o.value.dn,oc:f.value},null,8,["dn","oc"])]),default:he(()=>[k("li",{onClick:y[12]||(y[12]=O=>c.value="new-entry"),role:"menuitem"},"Add child…"),k("li",{onClick:y[13]||(y[13]=O=>c.value="copy-entry"),role:"menuitem"},"Copy…"),k("li",{onClick:y[14]||(y[14]=O=>c.value="rename-entry"),role:"menuitem"},"Rename…"),k("li",zc,[k("a",{href:"api/ldif/"+o.value.dn},"Export",8,Yc)]),k("li",{onClick:y[15]||(y[15]=O=>c.value="delete-entry"),class:"text-danger",role:"menuitem"}," Delete… ")]),_:1})])),o.value.isNew?(g(),T("div",{key:2,class:"control text-2xl mr-2",onClick:y[16]||(y[16]=O=>c.value="discard-entry"),title:"close"}," ⊗ ")):(g(),T("div",{key:3,class:"control text-xl mr-2",title:"close",onClick:y[17]||(y[17]=O=>p("update:activeDn"))}," ⊗ "))]),k("form",{id:"entry",class:"space-y-4 my-4",onSubmit:Xt(le,["prevent"]),onReset:y[22]||(y[22]=O=>ne(o.value.dn,void 0,void 0)),onFocusin:C},[(g(!0),T(ie,null,Te(u.value,O=>(g(),we(Oc,{key:O,"base-dn":r.baseDn,attr:Qt(i)?.schema.attr(O),entry:o.value,values:o.value.attrs[O],changed:K(O),may:P("may").includes(O),must:P("must").includes(O),onUpdate:L,onReloadForm:ne,onValid:Q=>ue(O,Q),onShowModal:y[18]||(y[18]=Q=>c.value=Q),onShowAttr:y[19]||(y[19]=Q=>p("show-attr",Q)),onShowOc:y[20]||(y[20]=Q=>p("show-oc",Q))},null,8,["base-dn","attr","entry","values","changed","may","must","onValid"]))),128)),k("div",Gc,[y[23]||(y[23]=k("div",{class:"w-1/4"},null,-1)),k("div",Jc,[k("div",Xc,[k("button",{type:"submit",class:"btn bg-primary/70",tabindex:"0",accesskey:"s",disabled:a.value.length!=0}," Submit ",8,Qc),o.value.isNew?X("",!0):(g(),T("button",Zc," Reset ")),o.value.isNew?X("",!0):(g(),T("button",{key:1,class:"btn float-right bg-secondary",accesskey:"a",tabindex:"0",onClick:y[21]||(y[21]=Xt(O=>c.value="add-attribute",["prevent"]))}," Add attribute… "))])])])],32)])):X("",!0)}}),tf=ye({__name:"LdifImportDialog",props:{modal:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=q(""),s=Ce("app"),r=t;function i(){n.value=""}function o(a){const c=a.target,u=c.files,f=u[0],p=new FileReader;p.onload=function(){n.value=p.result,c.value=""},p.readAsText(f)}async function l(){if(!n.value)return;r("update:modal"),(await ju({body:n.value,client:s?.client})).error||r("ok")}return(a,c)=>(g(),we(lt,{title:"Import",open:a.modal=="ldif-import","ok-title":"Import",onShow:i,onOk:l,onCancel:c[1]||(c[1]=u=>r("update:modal"))},{default:he(()=>[Ve(k("textarea",{"onUpdate:modelValue":c[0]||(c[0]=u=>n.value=u),id:"ldif-data",placeholder:"Paste or upload LDIF"},null,512),[[Jt,n.value]]),k("input",{type:"file",onChange:o,accept:".ldif"},null,32)]),_:1},8,["open"]))}}),nf={class:"px-4 flex flex-col md:flex-row flex-wrap justify-between mt-0 py-1 bg-primary/40"},sf={class:"flex items-center"},rf={class:"flex items-center space-x-4 text-lg"},of=["onClick"],lf=ye({__name:"NavBar",props:{baseDn:{},treeOpen:{type:Boolean},user:{}},emits:["select-dn","show-modal","show-oc","update:treeOpen"],setup(e,{emit:t}){const n=Ce("app"),s=q(null),r=q(""),i=q(!1),o=t;function l(){r.value="",Lt(()=>{r.value=s?.value?.value||""})}return(a,c)=>(g(),T("nav",nf,[k("div",sf,[k("i",{class:"cursor-pointer glyph fa-bars fa-lg pt-1 mr-4 md:hidden",onClick:c[0]||(c[0]=u=>i.value=!i.value)}),k("i",{class:je(["cursor-pointer fa fa-lg mr-2",a.treeOpen?"fa-list-alt":"fa-list-ul"]),onClick:c[1]||(c[1]=u=>o("update:treeOpen",!a.treeOpen))},null,2),G(_n,{oc:"person",dn:a.user,onSelectDn:c[2]||(c[2]=u=>o("select-dn",u)),class:"text-lg"},null,8,["dn"])]),Ve(k("div",rf,[k("span",{class:"cursor-pointer",onClick:c[3]||(c[3]=u=>o("show-modal","ldif-import"))},"Import…"),G(mi,{title:"Schema"},{default:he(()=>[(g(!0),T(ie,null,Te(Qt(n)?.schema.objectClasses.keys(),u=>(g(),T("li",{role:"menuitem",key:u,onClick:f=>o("show-oc",u)},se(u),9,of))),128))]),_:1}),k("form",{onSubmit:Xt(l,["prevent"])},[k("input",{class:"glyph px-2 py-1 rounded focus:border focus:border-front/80 outline-none text-front dark:bg-gray-800/80",autofocus:"",placeholder:" ",name:"q",onFocusin:c[4]||(c[4]=u=>s.value?.select()),accesskey:"k",onKeyup:c[5]||(c[5]=yt(u=>r.value="",["esc"])),id:"nav-search",ref_key:"input",ref:s},null,544),G(pi,{for:"nav-search",onSelectDn:c[6]||(c[6]=u=>{r.value="",o("select-dn",u)}),shorten:a.baseDn,query:r.value},null,8,["shorten","query"])],32)],512),[[Xs,!i.value]])]))}}),af={class:"header"},uf={key:0,class:"mt-2"},cf={class:"list-disc"},ff=["onClick"],df={key:1,class:"mt-2"},pf={class:"list-disc"},hf=["onClick"],mf={key:2,class:"mt-2"},vf={class:"list-disc"},gf=["onClick"],yf=ye({__name:"ObjectClassCard",props:{modelValue:{}},emits:["show-attr","update:modelValue"],setup(e,{emit:t}){const n=e,s=Ce("app"),r=Z(()=>s?.schema.oc(n.modelValue)),i=t;return(o,l)=>o.modelValue&&r.value?(g(),we(si,{key:0,title:r.value.name||"",class:"ml-4",onClose:l[0]||(l[0]=a=>i("update:modelValue"))},{default:he(()=>[k("div",af,se(r.value.desc),1),r.value.sup?.length?(g(),T("div",uf,[l[1]||(l[1]=k("i",null,"Superclasses:",-1)),k("ul",cf,[(g(!0),T(ie,null,Te(r.value.sup,a=>(g(),T("li",{key:a},[k("span",{class:"cursor-pointer",onClick:c=>i("update:modelValue",a)},se(a),9,ff)]))),128))])])):X("",!0),r.value.$collect("must").length?(g(),T("div",df,[l[2]||(l[2]=k("i",null,"Required attributes:",-1)),k("ul",pf,[(g(!0),T(ie,null,Te(r.value.$collect("must"),a=>(g(),T("li",{key:a},[k("span",{class:"cursor-pointer",onClick:c=>i("show-attr",a)},se(a),9,hf)]))),128))])])):X("",!0),r.value.$collect("may").length?(g(),T("div",mf,[l[3]||(l[3]=k("i",null,"Optional attributes:",-1)),k("ul",vf,[(g(!0),T(ie,null,Te(r.value.$collect("may"),a=>(g(),T("li",{key:a},[k("span",{class:"cursor-pointer",onClick:c=>i("show-attr",a)},se(a),9,gf)]))),128))])])):X("",!0)]),_:1},8,["title"])):X("",!0)}}),bf={class:"rounded-md bg-front/[.07] p-4 shadow-md shadow-front/20"},wf={key:0,class:"list-unstyled"},_f=["id"],Cf=["onClick"],xf={key:1,class:"mr-4"},Sf={key:0},$f=ye({__name:"TreeView",props:{activeDn:{}},emits:["base-dn","update:activeDn"],setup(e,{emit:t}){class n{dn;level;hasSubordinates;structuralObjectClass;open=!1;subordinates=[];distinguishedName;constructor(f){this.dn=f.dn,this.level=this.dn.split(",").length,this.hasSubordinates=f.hasSubordinates,this.structuralObjectClass=f.structuralObjectClass,this.hasSubordinates&&(this.subordinates=[],this.open=!1),this.distinguishedName=new St(this.dn)}find(f){if(f){if(this.distinguishedName.matches(f))return this;if(!(!f.isSubordinate(this.distinguishedName)||!this.hasSubordinates))return this.subordinates.map(p=>p.find(f)).filter(p=>p)[0]}}get loaded(){return!this.hasSubordinates||this.subordinates.length>0}visible(){return!this.hasSubordinates||!this.open?[this]:[this].concat(this.subordinates.flatMap(f=>f.visible()))}}const s=e,r=q(),i=t,o=Ce("app");Et(async()=>{await a("base"),i("base-dn",r.value?.dn)}),Pe(()=>s.activeDn,async u=>{if(!u)return;if(u=="-"||u=="base"){await a("base");return}const f=new St(u||r.value.dn),p=[f].concat(f.parents(r.value?.distinguishedName));p.reverse();for(let m of p){const C=r.value?.find(m);if(!C)break;C.loaded||await a(m.toString()),C.open=!0}r.value?.find(f)||(await a(f.parent?.toString()),r.value.find(f.parent).open=!0)});async function l(u){i("update:activeDn",u.toString());const f=r.value?.find(u);f&&f.hasSubordinates&&!f.open&&await c(f)}async function a(u){if(!u)return;const f=await Nu({path:{basedn:u},client:o?.client});if(!f.data)return;const p=f.data;if(p.sort((C,E)=>C.dn.toLowerCase().localeCompare(E.dn.toLowerCase())),u=="base"){r.value=new n(p[0]),await c(r.value);return}const m=r.value?.find(new St(u));m&&(m.subordinates=p.map(C=>new n(C)),m.hasSubordinates=m.subordinates.length>0)}async function c(u){!u.open&&!u.loaded&&await a(u.dn),u.open=!u.open}return(u,f)=>(g(),T("div",bf,[r.value?(g(),T("ul",wf,[(g(!0),T(ie,null,Te(r.value.visible(),p=>(g(),T("li",{key:p.dn,id:p.dn,class:je(p.structuralObjectClass)},[(g(!0),T(ie,null,Te(p.level-r.value.level,m=>(g(),T("span",{class:"ml-6",key:m}))),128)),p.hasSubordinates?(g(),T("span",{key:0,class:"control",onClick:m=>c(p)},[k("i",{class:je("control p-0 fa fa-chevron-circle-"+(p.open?"down":"right"))},null,2)],8,Cf)):(g(),T("span",xf)),G(_n,{dn:p.dn,oc:p.structuralObjectClass,class:je(["tree-link whitespace-nowrap text-front/80",{active:u.activeDn==p.dn}]),onSelectDn:m=>l(p.distinguishedName)},{default:he(()=>[p.level?X("",!0):(g(),T("span",Sf,se(p.dn),1))]),_:2},1032,["dn","oc","onSelectDn","class"])],10,_f))),128))])):X("",!0)]))}}),Tf=hi($f,[["__scopeId","data-v-8e56aa3a"]]),Of={key:0,id:"app"},kf={class:"flex container"},Ef={class:"space-y-4"},Af={class:"flex-auto mt-4"},jf=ye({__name:"App",setup(e){const t=q(),n=q(),s=q(!0),r=q(),i=q(),o=q(),l=q(),a=q(),c=q(),u=ui({baseUrl:window.location.href});Mo("app",{get schema(){return l.value},showInfo:p,showError:C,showException:E,showWarning:m,client:u}),Et(async()=>{const F=await Lu({client:u});if(F.data){t.value=F.data;const b=await Iu({client:u});b.data&&(l.value=new Ku(b.data))}}),Pe(c,F=>{F&&(a.value=void 0)}),Pe(a,F=>{F&&(c.value=void 0)});function p(F){o.value={counter:5,cssClass:"bg-emerald-300",msg:""+F},setTimeout(()=>{o.value=void 0},5e3)}function m(F){o.value={counter:10,cssClass:"bg-amber-200",msg:"⚠️ "+F},setTimeout(()=>{o.value=void 0},1e4)}function C(F){o.value={counter:60,cssClass:"bg-red-300",msg:"⛔ "+F},setTimeout(()=>{o.value=void 0},6e4)}function E(F){const b=document.createElement("span");b.innerHTML=F.replace(`
|
|
19
|
-
`," ");const
|
|
17
|
+
**/let Ps;const wr=typeof window<"u"&&window.trustedTypes;if(wr)try{Ps=wr.createPolicy("vue",{createHTML:e=>e})}catch{}const ei=Ps?e=>Ps.createHTML(e):e=>e,ua="http://www.w3.org/2000/svg",ca="http://www.w3.org/1998/Math/MathML",ft=typeof document<"u"?document:null,_r=ft&&ft.createElement("template"),fa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ft.createElementNS(ua,e):t==="mathml"?ft.createElementNS(ca,e):n?ft.createElement(e,{is:n}):ft.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ft.createTextNode(e),createComment:e=>ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{_r.innerHTML=ei(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=_r.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},bt="transition",tn="animation",yn=Symbol("_vtc"),ti={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},da=xe({},_o,ti),pa=e=>(e.displayName="Transition",e.props=da,e),Bn=pa((e,{slots:t})=>la(cl,ha(e),t)),Dt=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Cr=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function ha(e){const t={};for(const P in e)P in ti||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,x=ma(r),O=x&&x[0],F=x&&x[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:L,onLeave:R,onLeaveCancelled:V,onBeforeAppear:ne=b,onAppear:K=C,onAppearCancelled:le=L}=t,W=(P,ue,A,y)=>{P._enterCancelled=y,Pt(P,ue?u:l),Pt(P,ue?c:o),A&&A()},ee=(P,ue)=>{P._isLeaving=!1,Pt(P,f),Pt(P,m),Pt(P,p),ue&&ue()},re=P=>(ue,A)=>{const y=P?K:C,k=()=>W(ue,P,A);Dt(y,[ue,k]),xr(()=>{Pt(ue,P?a:i),ct(ue,P?u:l),Cr(y)||Sr(ue,s,O,k)})};return xe(t,{onBeforeEnter(P){Dt(b,[P]),ct(P,i),ct(P,o)},onBeforeAppear(P){Dt(ne,[P]),ct(P,a),ct(P,c)},onEnter:re(!1),onAppear:re(!0),onLeave(P,ue){P._isLeaving=!0;const A=()=>ee(P,ue);ct(P,f),P._enterCancelled?(ct(P,p),Or()):(Or(),ct(P,p)),xr(()=>{P._isLeaving&&(Pt(P,f),ct(P,m),Cr(R)||Sr(P,s,F,A))}),Dt(R,[P,A])},onEnterCancelled(P){W(P,!1,void 0,!0),Dt(L,[P])},onAppearCancelled(P){W(P,!0,void 0,!0),Dt(le,[P])},onLeaveCancelled(P){ee(P),Dt(V,[P])}})}function ma(e){if(e==null)return null;if(me(e))return[ys(e.enter),ys(e.leave)];{const t=ys(e);return[t,t]}}function ys(e){return _i(e)}function ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[yn]||(e[yn]=new Set)).add(t)}function Pt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[yn];n&&(n.delete(t),n.size||(e[yn]=void 0))}function xr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let va=0;function Sr(e,t,n,s){const r=e._endId=++va,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:a}=ga(e,t);if(!o)return s();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,p),i()},p=m=>{m.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},l+1),e.addEventListener(c,p)}function ga(e,t){const n=window.getComputedStyle(e),s=x=>(n[x]||"").split(", "),r=s(`${bt}Delay`),i=s(`${bt}Duration`),o=$r(r,i),l=s(`${tn}Delay`),a=s(`${tn}Duration`),c=$r(l,a);let u=null,f=0,p=0;t===bt?o>0&&(u=bt,f=o,p=i.length):t===tn?c>0&&(u=tn,f=c,p=a.length):(f=Math.max(o,c),u=f>0?o>c?bt:tn:null,p=u?u===bt?i.length:a.length:0);const m=u===bt&&/\b(transform|all)(,|$)/.test(s(`${bt}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:m}}function $r(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Tr(n)+Tr(e[s])))}function Tr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Or(){return document.body.offsetHeight}function ya(e,t,n){const s=e[yn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const qn=Symbol("_vod"),ni=Symbol("_vsh"),Xs={beforeMount(e,{value:t},{transition:n}){e[qn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):nn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),nn(e,!0),s.enter(e)):s.leave(e,()=>{nn(e,!1)}):nn(e,t))},beforeUnmount(e,{value:t}){nn(e,t)}};function nn(e,t){e.style.display=t?e[qn]:"none",e[ni]=!t}const ba=Symbol(""),wa=/(^|;)\s*display\s*:/;function _a(e,t,n){const s=e.style,r=be(n);let i=!1;if(n&&!r){if(t)if(be(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&In(s,l,"")}else for(const o in t)n[o]==null&&In(s,o,"");for(const o in n)o==="display"&&(i=!0),In(s,o,n[o])}else if(r){if(t!==n){const o=s[ba];o&&(n+=";"+o),s.cssText=n,i=wa.test(n)}}else t&&e.removeAttribute("style");qn in e&&(e[qn]=i?s.display:"",e[ni]&&(s.display="none"))}const kr=/\s*!important$/;function In(e,t,n){if(B(n))n.forEach(s=>In(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ca(e,t);kr.test(n)?e.setProperty(kt(s),n.replace(kr,""),"important"):e[s]=n}}const Er=["Webkit","Moz","ms"],bs={};function Ca(e,t){const n=bs[t];if(n)return n;let s=$t(t);if(s!=="filter"&&s in e)return bs[t]=s;s=Wr(s);for(let r=0;r<Er.length;r++){const i=Er[r]+s;if(i in e)return bs[t]=i}return t}const Ar="http://www.w3.org/1999/xlink";function jr(e,t,n,s,r,i=Oi(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ar,t.slice(6,t.length)):e.setAttributeNS(Ar,t,n):n==null||i&&!zr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Xe(n)?String(n):n)}function Dr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ei(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=zr(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function Rt(e,t,n,s){e.addEventListener(t,n,s)}function xa(e,t,n,s){e.removeEventListener(t,n,s)}const Pr=Symbol("_vei");function Sa(e,t,n,s,r=null){const i=e[Pr]||(e[Pr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,a]=$a(t);if(s){const c=i[t]=ka(s,r);Rt(e,l,c,a)}else o&&(xa(e,l,o,a),i[t]=void 0)}}const Ir=/(?:Once|Passive|Capture)$/;function $a(e){let t;if(Ir.test(e)){t={};let s;for(;s=e.match(Ir);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):kt(e.slice(2)),t]}let ws=0;const Ta=Promise.resolve(),Oa=()=>ws||(Ta.then(()=>ws=0),ws=Date.now());function ka(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Qe(Ea(s,n.value),t,5,[s])};return n.value=e,n.attached=Oa(),n}function Ea(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Mr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Aa=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?ya(e,s,o):t==="style"?_a(e,n,s):zn(t)?Ms(t)||Sa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ja(e,t,s,o))?(Dr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&jr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!be(s))?Dr(e,$t(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),jr(e,t,s,o))};function ja(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mr(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Mr(t)&&be(n)?!1:t in e}const Kn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>Dn(t,n):t};function Da(e){e.target.composing=!0}function Rr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Gt=Symbol("_assign"),Jt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Gt]=Kn(r);const i=s||r.props&&r.props.type==="number";Rt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Rn(l)),e[Gt](l)}),n&&Rt(e,"change",()=>{e.value=e.value.trim()}),t||(Rt(e,"compositionstart",Da),Rt(e,"compositionend",Rr),Rt(e,"change",Rr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Gt]=Kn(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Rn(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===a)||(e.value=a))}},bn={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=Yn(t);Rt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Rn(Wn(o)):Wn(o));e[Gt](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Lt(()=>{e._assigning=!1})}),e[Gt]=Kn(s)},mounted(e,{value:t}){Nr(e,t)},beforeUpdate(e,t,n){e[Gt]=Kn(n)},updated(e,{value:t}){e._assigning||Nr(e,t)}};function Nr(e,t){const n=e.multiple,s=B(t);if(!(n&&!s&&!Yn(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=Wn(o);if(n)if(s){const a=typeof l;a==="string"||a==="number"?o.selected=t.some(c=>String(c)===String(l)):o.selected=Ei(t,l)>-1}else o.selected=t.has(l);else if(Xn(Wn(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Wn(e){return"_value"in e?e._value:e.value}const Pa=["ctrl","shift","alt","meta"],Ia={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Pa.some(n=>e[`${n}Key`]&&!t.includes(n))},Xt=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=Ia[t[o]];if(l&&l(r,t))return}return e(r,...i)})},Ma={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},yt=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=kt(r.key);if(t.some(o=>o===i||Ma[o]===i))return e(r)})},Ra=xe({patchProp:Aa},fa);let Lr;function Na(){return Lr||(Lr=Ml(Ra))}const La=(...e)=>{const t=Na().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ua(s);if(!r)return;const i=t._component;!Y(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Fa(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Fa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ua(e){return be(e)?document.querySelector(e):e}const Va={class:"max-w-sm rounded overflow-hidden shadow-lg border border-front/20"},Ha={class:"py-2 border-b border-front/20"},Ba={class:"pl-6"},qa={class:"px-6 py-2"},si=ye({__name:"Card",props:{title:{}},emits:["close"],setup(e,{emit:t}){const n=t;return(s,r)=>(g(),T("div",Va,[Ge(s.$slots,"header",{},()=>[E("div",Ha,[E("strong",Ba,se(s.title),1),E("span",{class:"control text-l float-right mr-2 pl-2",title:"close",onClick:r[0]||(r[0]=i=>n("close"))},"⊗ ")])]),E("div",qa,[Ge(s.$slots,"default")])]))}}),Ka={class:"header"},Wa={class:"list-disc mt-2"},za={key:0},Ya={key:1},Ga={key:2},Ja={key:3},Xa={key:0},Qa=ye({__name:"AttributeCard",props:{modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,s=Ce("app"),r=Z(()=>s?.schema.attr(n.modelValue)),i=t;return(o,l)=>o.modelValue&&r.value?(g(),we(si,{key:0,title:r.value.names?.join(", ")||"",class:"ml-4",onClose:l[1]||(l[1]=a=>i("update:modelValue"))},{default:he(()=>[E("div",Ka,se(r.value.desc),1),E("ul",Wa,[r.value.$super?(g(),T("li",za,[l[2]||(l[2]=Le(" Parent: ",-1)),E("span",{class:"cursor-pointer",onClick:l[0]||(l[0]=a=>i("update:modelValue",r.value.$super.name))},se(r.value.$super),1)])):X("",!0),r.value.equality?(g(),T("li",Ya,"Equality: "+se(r.value.equality),1)):X("",!0),r.value.ordering?(g(),T("li",Ga,"Ordering: "+se(r.value.ordering),1)):X("",!0),r.value.substr?(g(),T("li",Ja,"Substring: "+se(r.value.substr),1)):X("",!0),E("li",null,[Le(" Syntax: "+se(r.value.$syntax)+" ",1),r.value.binary?(g(),T("span",Xa,"(binary)")):X("",!0)])])]),_:1},8,["title"])):X("",!0)}}),Za={key:0,class:"fixed w-full h-full top-0 left-0 z-20 bg-front/60 dark:bg-back/70"},eu={class:"absolute max-h-full w-1/2 max-w-lg container text-front overflow-hidden rounded bg-back border border-front/40"},tu={class:"flex justify-between items-start"},nu={class:"max-h-full w-full divide-y divide-front/30"},su={key:0,class:"flex justify-between items-center px-4 py-1"},ru={class:"ui-modal-header text-xl font-bold leading-normal"},ou={class:"ui-modal-body p-4 space-y-4"},iu={class:"ui-modal-footer flex justify-end w-full p-4 space-x-3"},lt=ye({__name:"Modal",props:{title:{type:String,required:!0},open:{type:Boolean,required:!0},okTitle:{type:String,default:"OK"},okClasses:{type:String,default:"bg-primary/80"},cancelTitle:{type:String,default:"Cancel"},cancelClasses:{type:String,default:"bg-secondary"},hideFooter:{type:Boolean,default:!1},returnTo:String},emits:["ok","cancel","show","shown","hide","hidden"],setup(e,{emit:t}){const n=e,s=t;function r(){n.open&&s("ok")}function i(){n.open&&(n.returnTo&&document.getElementById(n.returnTo)?.focus(),s("cancel"))}return(o,l)=>(g(),T("div",null,[G(Bn,{name:"fade"},{default:he(()=>[e.open?(g(),T("div",Za)):X("",!0)]),_:1}),G(Bn,{name:"bounce",onEnter:l[0]||(l[0]=a=>s("show")),onAfterEnter:l[1]||(l[1]=a=>s("shown")),onLeave:l[2]||(l[2]=a=>s("hide")),onAfterLeave:l[3]||(l[3]=a=>s("hidden"))},{default:he(()=>[e.open?(g(),T("div",{key:0,ref:"backdrop",onClick:Xt(i,["self"]),onKeydown:yt(i,["esc"]),class:"fixed w-full h-full top-0 left-0 flex items-center justify-center z-30"},[E("div",eu,[E("div",tu,[E("div",nu,[e.title?(g(),T("div",su,[E("h3",ru,[Ge(o.$slots,"header",{},()=>[Le(se(e.title),1)])]),E("div",{class:"control text-xl",onClick:i,title:"close"}," ⊗ ")])):X("",!0),E("div",ou,[Ge(o.$slots,"default")]),Ve(E("div",iu,[Ge(o.$slots,"footer",{},()=>[E("button",{id:"ui-modal-cancel",onClick:i,type:"button",class:je(["btn",e.cancelClasses]),tabindex:"0"},[Ge(o.$slots,"modal-cancel",{},()=>[Le(se(e.cancelTitle),1)])],2),E("button",{id:"ui-modal-ok",onClick:Xt(r,["stop"]),type:"button",class:je(["btn",e.okClasses]),tabindex:"0"},[Ge(o.$slots,"modal-ok",{},()=>[Le(se(e.okTitle),1)])],2)])],512),[[Xs,!e.hideFooter]])])])])],544)):X("",!0)]),_:3})]))}}),lu=ye({__name:"AddAttributeDialog",props:{entry:{},attributes:{},modal:{},returnTo:{}},emits:["ok","show-modal","update:modal"],setup(e,{emit:t}){const n=e,s=q(),r=q(void 0),i=Z(()=>n.attributes.filter(a=>!Object.keys(n.entry.attrs).includes(a))),o=t;function l(){if(s.value){if(s.value=="jpegPhoto"||s.value=="thumbnailPhoto"){o("show-modal","add-"+s.value);return}if(s.value=="userPassword"){o("show-modal","change-password");return}o("update:modal"),o("ok",s.value)}}return(a,c)=>(g(),we(lt,{title:"Add attribute",open:a.modal=="add-attribute","return-to":n.returnTo,onShow:c[1]||(c[1]=u=>s.value=void 0),onShown:c[2]||(c[2]=u=>r.value?.focus()),onOk:l,onCancel:c[3]||(c[3]=u=>o("update:modal"))},{default:he(()=>[Ve(E("select",{"onUpdate:modelValue":c[0]||(c[0]=u=>s.value=u),ref_key:"select",ref:r,onKeyup:yt(l,["enter"])},[(g(!0),T(ie,null,Te(i.value,u=>(g(),T("option",{key:u},se(u),1))),128))],544),[[bn,s.value]])]),_:1},8,["open","return-to"]))}}),au=ye({__name:"AddObjectClassDialog",props:{entry:{},modal:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=t,r=Ce("app"),i=q(),o=q(),l=Z(()=>Array.from(r?.schema.objectClasses.values()||[]).filter(c=>c.aux&&!n.entry.attrs.objectClass.includes(c.name)).map(c=>c.name));function a(){i.value&&(s("update:modal"),s("ok",i.value))}return(c,u)=>(g(),we(lt,{title:"Add objectClass",open:c.modal=="add-object-class",onShow:u[1]||(u[1]=f=>i.value=void 0),onShown:u[2]||(u[2]=f=>o.value?.focus()),onOk:a,onCancel:u[3]||(u[3]=f=>s("update:modal"))},{default:he(()=>[Ve(E("select",{"onUpdate:modelValue":u[0]||(u[0]=f=>i.value=f),ref_key:"select",ref:o,onKeyup:yt(a,["enter"])},[(g(!0),T(ie,null,Te(l.value,f=>(g(),T("option",{key:f},se(f),1))),128))],544),[[bn,i.value]])]),_:1},8,["open"]))}}),Fr=(e,t,n)=>{typeof n=="string"||n instanceof Blob?e.append(t,n):e.append(t,JSON.stringify(n))},uu={bodySerializer:e=>{const t=new FormData;return Object.entries(e).forEach(([n,s])=>{s!=null&&(Array.isArray(s)?s.forEach(r=>Fr(t,n,r)):Fr(t,n,s))}),t}},cu={bodySerializer:e=>JSON.stringify(e,(t,n)=>typeof n=="bigint"?n.toString():n)},fu=async(e,t)=>{const n=typeof t=="function"?await t(e):t;if(n)return e.scheme==="bearer"?`Bearer ${n}`:e.scheme==="basic"?`Basic ${btoa(n)}`:n},du=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},pu=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},hu=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},ri=({allowReserved:e,explode:t,name:n,style:s,value:r})=>{if(!t){const l=(e?r:r.map(a=>encodeURIComponent(a))).join(pu(s));switch(s){case"label":return`.${l}`;case"matrix":return`;${n}=${l}`;case"simple":return l;default:return`${n}=${l}`}}const i=du(s),o=r.map(l=>s==="label"||s==="simple"?e?l:encodeURIComponent(l):is({allowReserved:e,name:n,value:l})).join(i);return s==="label"||s==="matrix"?i+o:o},is=({allowReserved:e,name:t,value:n})=>{if(n==null)return"";if(typeof n=="object")throw new Error("Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.");return`${t}=${e?n:encodeURIComponent(n)}`},oi=({allowReserved:e,explode:t,name:n,style:s,value:r,valueOnly:i})=>{if(r instanceof Date)return i?r.toISOString():`${n}=${r.toISOString()}`;if(s!=="deepObject"&&!t){let a=[];Object.entries(r).forEach(([u,f])=>{a=[...a,u,e?f:encodeURIComponent(f)]});const c=a.join(",");switch(s){case"form":return`${n}=${c}`;case"label":return`.${c}`;case"matrix":return`;${n}=${c}`;default:return c}}const o=hu(s),l=Object.entries(r).map(([a,c])=>is({allowReserved:e,name:s==="deepObject"?`${n}[${a}]`:a,value:c})).join(o);return s==="label"||s==="matrix"?o+l:l},mu=/\{[^{}]+\}/g,vu=({path:e,url:t})=>{let n=t;const s=t.match(mu);if(s)for(const r of s){let i=!1,o=r.substring(1,r.length-1),l="simple";o.endsWith("*")&&(i=!0,o=o.substring(0,o.length-1)),o.startsWith(".")?(o=o.substring(1),l="label"):o.startsWith(";")&&(o=o.substring(1),l="matrix");const a=e[o];if(a==null)continue;if(Array.isArray(a)){n=n.replace(r,ri({explode:i,name:o,style:l,value:a}));continue}if(typeof a=="object"){n=n.replace(r,oi({explode:i,name:o,style:l,value:a,valueOnly:!0}));continue}if(l==="matrix"){n=n.replace(r,`;${is({name:o,value:a})}`);continue}const c=encodeURIComponent(l==="label"?`.${a}`:a);n=n.replace(r,c)}return n},ii=({allowReserved:e,array:t,object:n}={})=>r=>{const i=[];if(r&&typeof r=="object")for(const o in r){const l=r[o];if(l!=null)if(Array.isArray(l)){const a=ri({allowReserved:e,explode:!0,name:o,style:"form",value:l,...t});a&&i.push(a)}else if(typeof l=="object"){const a=oi({allowReserved:e,explode:!0,name:o,style:"deepObject",value:l,...n});a&&i.push(a)}else{const a=is({allowReserved:e,name:o,value:l});a&&i.push(a)}}return i.join("&")},gu=e=>{if(!e)return"stream";const t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return"json";if(t==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some(n=>t.startsWith(n)))return"blob";if(t.startsWith("text/"))return"text"}},yu=async({security:e,...t})=>{for(const n of e){const s=await fu(n,t.auth);if(!s)continue;const r=n.name??"Authorization";switch(n.in){case"query":t.query||(t.query={}),t.query[r]=s;break;case"cookie":t.headers.append("Cookie",`${r}=${s}`);break;case"header":default:t.headers.set(r,s);break}return}},Ur=e=>bu({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:ii(e.querySerializer),url:e.url}),bu=({baseUrl:e,path:t,query:n,querySerializer:s,url:r})=>{const i=r.startsWith("/")?r:`/${r}`;let o=(e??"")+i;t&&(o=vu({path:t,url:o}));let l=n?s(n):"";return l.startsWith("?")&&(l=l.substring(1)),l&&(o+=`?${l}`),o},Vr=(e,t)=>{const n={...e,...t};return n.baseUrl?.endsWith("/")&&(n.baseUrl=n.baseUrl.substring(0,n.baseUrl.length-1)),n.headers=li(e.headers,t.headers),n},li=(...e)=>{const t=new Headers;for(const n of e){if(!n||typeof n!="object")continue;const s=n instanceof Headers?n.entries():Object.entries(n);for(const[r,i]of s)if(i===null)t.delete(r);else if(Array.isArray(i))for(const o of i)t.append(r,o);else i!==void 0&&t.set(r,typeof i=="object"?JSON.stringify(i):i)}return t};class _s{_fns;constructor(){this._fns=[]}clear(){this._fns=[]}getInterceptorIndex(t){return typeof t=="number"?this._fns[t]?t:-1:this._fns.indexOf(t)}exists(t){const n=this.getInterceptorIndex(t);return!!this._fns[n]}eject(t){const n=this.getInterceptorIndex(t);this._fns[n]&&(this._fns[n]=null)}update(t,n){const s=this.getInterceptorIndex(t);return this._fns[s]?(this._fns[s]=n,t):!1}use(t){return this._fns=[...this._fns,t],this._fns.length-1}}const wu=()=>({error:new _s,request:new _s,response:new _s}),_u=ii({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Cu={"Content-Type":"application/json"},ai=(e={})=>({...cu,headers:Cu,parseAs:"auto",querySerializer:_u,...e}),ui=(e={})=>{let t=Vr(ai(),e);const n=()=>({...t}),s=o=>(t=Vr(t,o),n()),r=wu(),i=async o=>{const l={...t,...o,fetch:o.fetch??t.fetch??globalThis.fetch,headers:li(t.headers,o.headers)};l.security&&await yu({...l,security:l.security}),l.requestValidator&&await l.requestValidator(l),l.body&&l.bodySerializer&&(l.body=l.bodySerializer(l.body)),(l.body===void 0||l.body==="")&&l.headers.delete("Content-Type");const a=Ur(l),c={redirect:"follow",...l};let u=new Request(a,c);for(const C of r.request._fns)C&&(u=await C(u,l));const f=l.fetch;let p=await f(u);for(const C of r.response._fns)C&&(p=await C(p,u,l));const m={request:u,response:p};if(p.ok){if(p.status===204||p.headers.get("Content-Length")==="0")return l.responseStyle==="data"?{}:{data:{},...m};const C=(l.parseAs==="auto"?gu(p.headers.get("Content-Type")):l.parseAs)??"json";let L;switch(C){case"arrayBuffer":case"blob":case"formData":case"json":case"text":L=await p[C]();break;case"stream":return l.responseStyle==="data"?p.body:{data:p.body,...m}}return C==="json"&&(l.responseValidator&&await l.responseValidator(L),l.responseTransformer&&(L=await l.responseTransformer(L))),l.responseStyle==="data"?L:{data:L,...m}}const x=await p.text();let O;try{O=JSON.parse(x)}catch{}const F=O??x;let b=F;for(const C of r.error._fns)C&&(b=await C(F,p,u,l));if(b=b||{},l.throwOnError)throw b;return l.responseStyle==="data"?void 0:{error:b,...m}};return{buildUrl:Ur,connect:o=>i({...o,method:"CONNECT"}),delete:o=>i({...o,method:"DELETE"}),get:o=>i({...o,method:"GET"}),getConfig:n,head:o=>i({...o,method:"HEAD"}),interceptors:r,options:o=>i({...o,method:"OPTIONS"}),patch:o=>i({...o,method:"PATCH"}),post:o=>i({...o,method:"POST"}),put:o=>i({...o,method:"PUT"}),request:i,setConfig:s,trace:o=>i({...o,method:"TRACE"})}},Ie=ui(ai()),xu=e=>(e.client??Ie).delete({url:"/api/blob/{attr}/{index}/{dn}",...e}),Su=e=>(e.client??Ie).put({...uu,url:"/api/blob/{attr}/{index}/{dn}",...e,headers:{"Content-Type":null,...e.headers}}),$u=e=>(e.client??Ie).post({url:"/api/change-password/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tu=e=>(e.client??Ie).post({url:"/api/check-password/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ou=e=>(e.client??Ie).delete({url:"/api/entry/{dn}",...e}),ku=e=>(e.client??Ie).get({url:"/api/entry/{dn}",...e}),Eu=e=>(e.client??Ie).post({url:"/api/entry/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Au=e=>(e.client??Ie).put({url:"/api/entry/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ju=e=>(e.client??Ie).post({url:"/api/ldif",...e,headers:{"Content-Type":"application/json",...e.headers}}),Du=e=>(e.client??Ie).get({url:"/api/range/{attribute}",...e}),Pu=e=>(e.client??Ie).post({url:"/api/rename/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Iu=e=>(e?.client??Ie).get({url:"/api/schema",...e}),Mu=e=>(e.client??Ie).get({url:"/api/search/{query}",...e}),Ru=e=>(e.client??Ie).get({url:"/api/subtree/{root_dn}",...e}),Nu=e=>(e.client??Ie).get({url:"/api/tree/{basedn}",...e}),Lu=e=>(e?.client??Ie).get({url:"/api/whoami",...e}),Fu=["accept"],Hr=ye({__name:"AddPhotoDialog",props:{dn:{type:String,required:!0},attr:{type:String,validator:e=>["jpegPhoto","thumbnailPhoto"].includes(e)},modal:String,returnTo:String},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=q(null),r=t,i=Ce("app");async function o(l){const a=l.target;if(!a?.files)return;(await Su({path:{attr:n.attr,index:0,dn:n.dn},body:{blob:a.files[0]},client:i?.client})).error||(r("update:modal"),r("ok",n.dn,[n.attr]))}return(l,a)=>(g(),we(lt,{title:"Upload photo","hide-footer":"","return-to":e.returnTo,open:e.modal=="add-"+e.attr,onShown:a[0]||(a[0]=c=>s.value?.focus()),onCancel:a[1]||(a[1]=c=>r("update:modal"))},{default:he(()=>[E("input",{name:"photo",type:"file",ref_key:"upload",ref:s,onChange:o,accept:e.attr=="jpegPhoto"?"image/jpeg":"image/*"},null,40,Fu)]),_:1},8,["return-to","open"]))}});function Uu(e,t,n){return n.indexOf(e)==t}function ci(e){let t=e.substring(14);return t!="Z"&&(t=t.substring(0,3)+":"+(t.length>3?t.substring(3,5):"00")),new Date(e.substring(0,4)+"-"+e.substring(4,6)+"-"+e.substring(6,8)+"T"+e.substring(8,10)+":"+e.substring(10,12)+":"+e.substring(12,14)+t)}let ls;class Vu{attr;value;constructor(t){const n=t.split("=");this.attr=ls.attr(n[0].trim()),this.value=n[1].trim()}toString(){return this.attr.name+"="+this.attr.normalizer(this.value)}matches(t){return t!==void 0&&this.toString()==t.toString()}}class St{rdn;parent;constructor(t){const n=t.split(",");this.rdn=new Vu(n[0]),this.parent=n.length==1?void 0:new St(t.slice(n[0].length+1))}toString(){const t=this.rdn.toString();return this.parent?t+","+this.parent.toString():t}get level(){return this.parent?this.parent.level+1:0}matches(t){return!t||!this.rdn.matches(t.rdn)?!1:!this.parent&&!t.parent?!0:!!this.parent&&this.parent.matches(t.parent)}isSubordinate(t){let n=this.parent;for(;n;){if(n.matches(t))return!0;n=n.parent}return!1}parents(t){const n=[];for(let s=this.parent;s&&(n.push(s),!(!s.parent||s.matches(t)));s=s.parent);return n}}let fi=class{oid;name;names;sup};class Hu extends fi{desc;obsolete;may;must;kind;constructor(t){super(),Object.assign(this,t)}get structural(){return this.kind=="structural"}get aux(){return this.kind=="auxiliary"}$collect(t){const n=[];for(let r=this;r;r=r.$super){const i=r[t];i&&n.push(i)}const s=n.flat().map(r=>ls.attr(r)).map(r=>r?.name).filter(Uu);return s.sort(),s}toString(){return this.name}get $super(){const t=Object.getPrototypeOf(this);return t.sup?t:void 0}}class Bu extends fi{desc;equality;obsolete;ordering;no_user_mod;single_value;substr;syntax;usage;normalizers={distinguishedNameMatch:t=>new St(t).toString(),caseIgnoreIA5Match:t=>t.toLowerCase(),caseIgnoreMatch:t=>t.toLowerCase(),generalizedTimeMatch:t=>ci(t).toISOString(),integerMatch:t=>+t,numericStringMatch:t=>+t,octetStringMatch:t=>t};constructor(t){super(),delete this.equality,delete this.ordering,delete this.substr,delete this.syntax,Object.assign(this,Object.fromEntries(Object.entries(t).filter(([n,s])=>s!=null)))}toString(){return this.name}get normalizer(){return this.normalizers[this.equality||"octetStringMatch"]||this.normalizers.octetStringMatch}get binary(){if(this.equality!="octetStringMatch")return!!this.$syntax?.not_human_readable}get $syntax(){if(this.syntax)return ls.syntaxes.get(this.syntax)}get $super(){const t=Object.getPrototypeOf(this);return t.sup?t:void 0}}class qu{oid;desc;not_human_readable;constructor(t){Object.assign(this,t)}toString(){return this.desc}}class Ku{attributes;objectClasses;syntaxes;attributesByName;constructor(t){this.syntaxes=new Map(Object.entries(t.syntaxes).map(([n,s])=>[n,new qu(s)])),this.attributes=Object.values(t.attributes).map(n=>new Bu(n)),this.objectClasses=new Map(Object.entries(t.objectClasses).map(([n,s])=>[n.toLowerCase(),new Hu(s)])),this.buildPrototypeChain(this.objectClasses),this.attributesByName=new Map(this.attributes.flatMap(n=>(n.names||[]).map(s=>[s.toLowerCase(),n]))),this.buildPrototypeChain(this.attributesByName),ls=this}buildPrototypeChain(t){for(const n of t.values()){const s=n.sup?n.sup[0]:void 0,r=s?t.get(s.toLowerCase()):void 0;r&&Object.setPrototypeOf(n,r)}}attr(t){return this.attributesByName.get(t?.toLowerCase()||"")}oc(t){return this.objectClasses.get(t?.toLowerCase()||"")}search(t){return this.attributes.filter(n=>n.names?.some(s=>s.toLowerCase().startsWith(t.toLowerCase())))}}function Qs(e){return Jr()?(ji(e),!0):!1}const Wu=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zu=e=>e!=null,Yu=Object.prototype.toString,Gu=e=>Yu.call(e)==="[object Object]";function Mn(e){return Array.isArray(e)?e:[e]}function Ju(e){return rs()}function Xu(e,t=!0,n){Ju()?Et(e,n):t?e():Lt(e)}function Qu(e,t,n){return Pe(e,t,{...n,immediate:!0})}const $n=Wu?window:void 0;function wn(e){var t;const n=Kt(e);return(t=n?.$el)!=null?t:n}function ht(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},s=(l,a,c,u)=>(l.addEventListener(a,c,u),()=>l.removeEventListener(a,c,u)),r=Z(()=>{const l=Mn(Kt(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=Qu(()=>{var l,a;return[(a=(l=r.value)==null?void 0:l.map(c=>wn(c)))!=null?a:[$n].filter(c=>c!=null),Mn(Kt(r.value?e[1]:e[0])),Mn(Qt(r.value?e[2]:e[1])),Kt(r.value?e[3]:e[2])]},([l,a,c,u])=>{if(n(),!l?.length||!a?.length||!c?.length)return;const f=Gu(u)?{...u}:u;t.push(...l.flatMap(p=>a.flatMap(m=>c.map(x=>s(p,m,x,f)))))},{flush:"post"}),o=()=>{i(),n()};return Qs(n),o}function Zu(){const e=ze(!1),t=rs();return t&&Et(()=>{e.value=!0},t),e}function di(e){const t=Zu();return Z(()=>(t.value,!!e()))}function ec(e,t,n={}){const{window:s=$n,...r}=n;let i;const o=di(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=Z(()=>{const p=Kt(e),m=Mn(p).map(wn).filter(zu);return new Set(m)}),c=Pe(()=>a.value,p=>{l(),o.value&&p.size&&(i=new MutationObserver(t),p.forEach(m=>i.observe(m,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),f=()=>{c(),l()};return Qs(f),{isSupported:o,stop:f,takeRecords:u}}function tc(e,t,n={}){const{window:s=$n,...r}=n;let i;const o=di(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},a=Z(()=>{const f=Kt(e);return Array.isArray(f)?f.map(p=>wn(p)):[wn(f)]}),c=Pe(a,f=>{if(l(),o.value&&s){i=new ResizeObserver(t);for(const p of f)p&&i.observe(p,r)}},{immediate:!0,flush:"post"}),u=()=>{l(),c()};return Qs(u),{isSupported:o,stop:u}}const nc={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function sc(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:s=!1,initialValue:r={x:0,y:0},window:i=$n,target:o=i,scroll:l=!0,eventFilter:a}=e;let c=null,u=0,f=0;const p=ze(r.x),m=ze(r.y),x=ze(null),O=typeof t=="function"?t:nc[t],F=K=>{const le=O(K);c=K,le&&([p.value,m.value]=le,x.value="mouse"),i&&(u=i.scrollX,f=i.scrollY)},b=K=>{if(K.touches.length>0){const le=O(K.touches[0]);le&&([p.value,m.value]=le,x.value="touch")}},C=()=>{if(!c||!i)return;const K=O(c);c instanceof MouseEvent&&K&&(p.value=K[0]+i.scrollX-u,m.value=K[1]+i.scrollY-f)},L=()=>{p.value=r.x,m.value=r.y},R=a?K=>a(()=>F(K),{}):K=>F(K),V=a?K=>a(()=>b(K),{}):K=>b(K),ne=a?()=>a(()=>C(),{}):()=>C();if(o){const K={passive:!0};ht(o,["mousemove","dragover"],R,K),n&&t!=="movement"&&(ht(o,["touchstart","touchmove"],V,K),s&&ht(o,"touchend",L,K)),l&&t==="page"&&ht(i,"scroll",ne,K)}return{x:p,y:m,sourceType:x}}function rc(e,t={}){const{windowResize:n=!0,windowScroll:s=!0,handleOutside:r=!0,window:i=$n}=t,o=t.type||"page",{x:l,y:a,sourceType:c}=sc(t),u=ze(e??i?.document.body),f=ze(0),p=ze(0),m=ze(0),x=ze(0),O=ze(0),F=ze(0),b=ze(!0);function C(){if(!i)return;const V=wn(u);if(!V||!(V instanceof Element))return;const{left:ne,top:K,width:le,height:W}=V.getBoundingClientRect();m.value=ne+(o==="page"?i.pageXOffset:0),x.value=K+(o==="page"?i.pageYOffset:0),O.value=W,F.value=le;const ee=l.value-m.value,re=a.value-x.value;b.value=le===0||W===0||ee<0||re<0||ee>le||re>W,(r||!b.value)&&(f.value=ee,p.value=re)}const L=[];function R(){L.forEach(V=>V()),L.length=0}if(Xu(()=>{C()}),i){const{stop:V}=tc(u,C),{stop:ne}=ec(u,C,{attributeFilter:["style","class"]}),K=Pe([u,l,a],C);L.push(V,ne,K),ht(document,"mouseleave",()=>b.value=!0,{passive:!0}),s&&L.push(ht("scroll",C,{capture:!0,passive:!0})),n&&L.push(ht("resize",C,{passive:!0}))}return{x:l,y:a,sourceType:c,elementX:f,elementY:p,elementPositionX:m,elementPositionY:x,elementHeight:O,elementWidth:F,isOutside:b,stop:R}}const oc={key:0,class:"ui-popover absolute z-10 border border-front/70 rounded min-w-max text-front bg-back list-none"},Zs=ye({__name:"Popover",props:{open:{type:Boolean}},emits:["opened","closed","update:open"],setup(e,{emit:t}){const n=e,s=t,r=q(null),i=q(),{isOutside:o}=rc(r);function l(){i.value=void 0,n.open&&s("update:open")}function a(u){const f=r.value.children.length-1;i.value===void 0?i.value=u>0?0:f:(i.value+=u,i.value>f?i.value=0:i.value<0&&(i.value=f))}function c(u){if(!(!n.open||!r.value))switch(u.key){case"Esc":case"Escape":l();break;case"ArrowDown":a(1),u.preventDefault();break;case"ArrowUp":a(-1),u.preventDefault();break;case"Enter":{r.value.children[i.value].click(),u.preventDefault();break}}}return Et(()=>{ht(document,"keydown",c),ht(document,"click",l)}),Pe(i,u=>{if(!(!n.open||!r.value)){for(const f of r.value.children)f.classList.remove("selected");u!=null&&r.value.children[u].classList.add("selected")}}),Pe(o,u=>{for(const f of r.value.children)u?f.classList.remove("hover:bg-primary/40"):(i.value=void 0,f.classList.add("hover:bg-primary/40"))}),(u,f)=>(g(),we(Bn,{name:"fade",onAfterEnter:f[0]||(f[0]=p=>s("opened")),onAfterLeave:f[1]||(f[1]=p=>s("closed"))},{default:he(()=>[u.open?(g(),T("div",oc,[E("ul",{class:"bg-front/5 dark:bg-front/10 py-2",ref_key:"items",ref:r,onClick:l},[Ge(u.$slots,"default")],512)])):X("",!0)]),_:3}))}}),ic=["onClick","title"],lc=ye({__name:"AttributeSearch",props:{query:{},for:{}},emits:["done"],setup(e,{emit:t}){const n=e,s=Ce("app"),r=q([]),i=Z(()=>(n.query??"").trim()!=""&&r.value&&r.value.length>0&&!(r.value.length==1&&n.query==r.value[0].name)),o=t;Pe(()=>n.query,a=>{a&&(r.value=s?.schema.search(a)||[],r.value.sort((c,u)=>c.name.toLowerCase().localeCompare(u.name.toLowerCase())))});function l(a){o("done",a),r.value=[],Lt(()=>{if(n.for){const c=document.getElementById(n.for);c&&c.focus()}})}return(a,c)=>(g(),we(Zs,{open:i.value,"onUpdate:open":c[0]||(c[0]=u=>r.value=[])},{default:he(()=>[(g(!0),T(ie,null,Te(r.value,u=>(g(),T("li",{key:u.oid,onClick:f=>l(u.name),title:u.oid,role:"menuitem"},se(u.name),9,ic))),128))]),_:1},8,["open"]))}}),ac=["onClick","title"],pi=ye({__name:"SearchResults",props:{query:{type:String,default:""},for:String,label:{type:String,default:"name",validator:e=>["name","dn"].includes(e)},shorten:String,silent:{type:Boolean,default:!1}},emits:["select-dn"],setup(e,{emit:t}){const n=e,s=Ce("app"),r=q([]),i=Z(()=>n.query.trim()!=""&&r.value&&r.value.length>1),o=t;Pe(()=>n.query,async c=>{if(!c)return;const u=await Mu({path:{query:c},client:s?.client});if(u.data){if(r.value=await u.data,r.value.length==0&&!n.silent){s?.showWarning("No search results");return}if(r.value.length==1){a(r.value[0].dn);return}r.value.sort((f,p)=>f[n.label].toLowerCase().localeCompare(p[n.label].toLowerCase()))}});function l(c){return n.shorten&&n.shorten!=c?c.replace(n.shorten,"…"):c}function a(c){o("select-dn",c),r.value=[],Lt(()=>{if(n.for){const u=document.getElementById(n.for);u&&u.focus()}})}return(c,u)=>(g(),we(Zs,{open:i.value,"onUpdate:open":u[0]||(u[0]=f=>r.value=[])},{default:he(()=>[(g(!0),T(ie,null,Te(r.value,f=>(g(),T("li",{key:f.dn,onClick:p=>a(f.dn),title:e.label=="dn"?"":l(f.dn),role:"menuitem"},se(f[e.label]),9,ac))),128))]),_:1},8,["open"]))}}),uc=ye({__name:"ToggleButton",props:{value:{}},emits:["update:value"],setup(e,{emit:t}){const n=e,s=t,r=Z(()=>n.value=="TRUE");return(i,o)=>(g(),T("button",{type:"button",class:"p-0 relative focus:outline-none",tabindex:"0",onClick:o[0]||(o[0]=l=>s("update:value",r.value?"FALSE":"TRUE"))},[o[1]||(o[1]=E("div",{class:"w-8 h-4 transition rounded-full bg-gray-200"},null,-1)),E("div",{class:je(["absolute top-0 left-0 w-4 h-4 transition-all duration-200 ease-in-out transform scale-110 rounded-full shadow-sm",r.value?"translate-x-4 bg-primary":"translate-x-0 bg-secondary"])},null,2)]))}}),cc={key:0,class:"flex mx-4 space-x-4"},fc=["title"],dc={key:0,class:"fa text-emerald-700 ml-1 fa-check"},pc={class:"w-3/4"},hc=["onClick","title"],mc={key:5,class:"mr-5"},vc={key:6},gc=["src"],yc=["onClick"],bc={key:7},wc=["onClick"],_c={key:1,class:"pb-1 border-primary focus-within:border-b border-solid"},Cc=["onClick"],xc=["value","id","type","placeholder","disabled","title"],Sc=["onClick"],$c={key:2,class:"text-xs ml-6 opacity-70"},Tc=ye({__name:"AttributeRow",props:{entry:{},attr:{},baseDn:{},values:{},must:{type:Boolean},may:{type:Boolean},changed:{type:Boolean}},emits:["show-attr","show-modal","show-oc","reload-form","update","valid"],setup(e,{emit:t}){function n(N,J,de){return N==""||de.indexOf(N)==J}const s={weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},r={boolean:"1.3.6.1.4.1.1466.115.121.1.7",distinguishedName:"1.3.6.1.4.1.1466.115.121.1.12",generalizedTime:"1.3.6.1.4.1.1466.115.121.1.24",integer:"1.3.6.1.4.1.1466.115.121.1.27",oid:"1.3.6.1.4.1.1466.115.121.1.38",telephoneNumber:"1.3.6.1.4.1.1466.115.121.1.50"},i=["uidNumber","gidNumber"],o=e,l=Ce("app"),a=q(!0),c=q(),u=q(""),f=q(""),p=q(),m=Z(()=>o.attr.syntax==r.boolean),x=Z(()=>o.attr.syntax==r.distinguishedName),O=Z(()=>o.values.length==1&&o.values[0]==c.value),F=Z(()=>o.values.every(N=>!N.trim())),b=Z(()=>!o.must&&!o.may),C=Z(()=>o.attr.name==o.entry.dn.split("=")[0]),L=Z(()=>o.attr.syntax==r.oid),R=Z(()=>F.value&&o.must),V=Z(()=>o.attr.name=="userPassword"),ne=Z(()=>o.attr.syntax==r.generalizedTime),K=Z(()=>V.value?!1:o.entry.binary.includes(o.attr.name)),le=Z(()=>C.value||o.attr.name=="objectClass"||b.value&&F.value||!o.entry.isNew&&(V.value||K.value)),W=Z(()=>R.value?" ":F.value?" ":x.value?" ":""),ee=Z(()=>o.attr.name=="jpegPhoto"||o.attr.name=="thumbnailPhoto"||!o.attr.no_user_mod&&!K.value),re=Z(()=>V.value?"password":o.attr.syntax==r.telephoneNumber?"tel":o.attr.syntax==r.integer?"number":"text"),P=t;Pe(a,N=>P("valid",N)),Et(async()=>{if(le.value||!i.includes(o.attr.name)||o.values.length!=1||o.values[0])return;const N=await Du({path:{attribute:o.attr.name},client:l?.client});if(!N.data)return;const J=N.data;u.value=J.min==J.max?"> "+J.min:"∉ ("+J.min+" - "+J.max+")",c.value=""+J.next,P("update",o.attr.name,[c.value],0),ue()}),ko(ue);function ue(){a.value=!R.value&&(!b.value||F.value)&&o.values.every(n)}function A(N){const J=N.target,de=J.value,_e=+J.id.split("-").slice(-1).pop();y(_e,de)}function y(N,J){const de=o.values.slice();de[N]=J,P("update",o.attr.name,de)}function k(){const N=o.values.slice();N.includes("")||N.push(""),P("update",o.attr.name,N,N.length-1)}function Q(N){const J=o.values.slice(0,N).concat(o.values.slice(N+1));P("update","objectClass",J)}function fe(N){return ci(N).toLocaleString(void 0,s)}function Ze(N){return o.attr.name=="objectClass"&&(l?.schema.oc(N)?.structural||!1)}function Ft(N){const J=l?.schema.oc(N);return o.attr.name=="objectClass"&&!!J&&!J.structural}function at(N){return!n(o.values[N],N,o.values)}function Ke(N){return N==0&&!o.attr.single_value&&!le.value&&!o.values.includes("")}function Tn(N){const J=N.target;p.value=J.id;const de=J.value;f.value=de.length>=2&&!de.includes(",")?de:""}function On(N){const J=+p.value.split("-").slice(-1).pop(),de=o.values.slice();de[J]=N,f.value="",P("update",o.attr.name,de)}async function as(N){(await xu({path:{attr:o.attr.name,index:N,dn:o.entry.dn},client:l?.client})).error||P("reload-form",o.entry.dn,[o.attr.name])}return(N,J)=>N.attr&&ee.value?(g(),T("div",cc,[E("div",{class:je([{required:N.must,optional:N.may,rdn:C.value,illegal:b.value},"w-1/4"])},[E("span",{class:"cursor-pointer oc",title:N.attr.desc,onClick:J[0]||(J[0]=de=>P("show-attr",N.attr.name))},se(N.attr),9,fc),N.changed?(g(),T("i",dc)):X("",!0)],2),E("div",pc,[(g(!0),T(ie,null,Te(N.values,(de,_e)=>(g(),T("div",{key:_e},[Ze(de)?(g(),T("span",{key:0,onClick:J[1]||(J[1]=Se=>P("show-modal","add-object-class")),tabindex:"-1",class:"add-btn control font-bold",title:"Add object class…"},"⊕")):Ft(de)?(g(),T("span",{key:1,onClick:Se=>Q(_e),class:"remove-btn control",title:"Remove "+de},"⊖",8,hc)):V.value?(g(),T("span",{key:2,class:"fa fa-question-circle control",onClick:J[2]||(J[2]=Se=>P("show-modal","change-password")),tabindex:"-1",title:"change password"})):N.attr.name=="jpegPhoto"||N.attr.name=="thumbnailPhoto"?(g(),T("span",{key:3,onClick:J[3]||(J[3]=Se=>P("show-modal","add-jpegPhoto")),tabindex:"-1",class:"add-btn control align-top",title:"Add photo…"},"⊕")):Ke(_e)&&!b.value?(g(),T("span",{key:4,onClick:k,class:"add-btn control",title:"Add row"},"⊕")):(g(),T("span",mc)),N.attr.name=="jpegPhoto"||N.attr.name=="thumbnailPhoto"?(g(),T("span",vc,[de?(g(),T("img",{key:0,src:"data:image/"+(N.attr.name=="jpegPhoto"?"jpeg":"*")+";base64,"+de,class:"max-w-[120px] max-h-[120px] border p-px inline mx-1"},null,8,gc)):X("",!0),de?(g(),T("span",{key:1,class:"control remove-btn align-top ml-1",onClick:Se=>as(_e),title:"Remove photo"},"⊖",8,yc)):X("",!0)])):m.value?(g(),T("span",bc,[_e==0&&!N.values[0]?(g(),T("span",{key:0,class:"control text-lg",onClick:Se=>y(_e,"FALSE")},"⊕",8,wc)):(g(),T("span",_c,[G(uc,{id:N.attr+"-"+_e,value:N.values[_e],class:"mt-2","onUpdate:value":Se=>y(_e,Se)},null,8,["id","value","onUpdate:value"]),E("i",{class:"fa fa-trash ml-2 relative -top-0.5 control",onClick:Se=>y(_e,"")},null,8,Cc)]))])):(g(),T("input",{key:8,value:N.values[_e],id:N.attr+"-"+_e,type:re.value,autocomplete:"off",class:je(["w-[90%] glyph outline-none bg-back border-x-0 border-t-0 border-b border-solid border-front/20 focus:border-primary px-1",{structural:Ze(de),auto:O.value,illegal:b.value&&!F.value||at(_e)}]),placeholder:W.value,disabled:le.value,title:ne.value?fe(de):"",onInput:A,onFocusin:J[4]||(J[4]=Se=>f.value=""),onKeyup:[Tn,J[5]||(J[5]=yt(Se=>f.value="",["esc"]))]},null,42,xc)),N.attr.name=="objectClass"?(g(),T("i",{key:9,class:"cursor-pointer fa fa-info-circle",onClick:Se=>P("show-oc",de)},null,8,Sc)):X("",!0)]))),128)),x.value&&p.value?(g(),we(pi,{key:0,silent:"",onSelectDn:On,for:p.value,query:f.value,label:"dn",shorten:N.baseDn},null,8,["for","query","shorten"])):X("",!0),L.value&&p.value?(g(),we(lc,{key:1,onDone:On,for:p.value,query:f.value},null,8,["for","query"])):X("",!0),u.value?(g(),T("div",$c,se(u.value),1)):X("",!0)])])):X("",!0)}}),hi=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Oc=hi(Tc,[["__scopeId","data-v-8340a860"]]),kc={key:0,class:"text-danger text-xs mb-1"},Ec=ye({__name:"CopyEntryDialog",props:{entry:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=t,r=q(""),i=q(""),o=q(null);function l(){i.value="",r.value=n.entry.dn}function a(){if(!r.value||r.value==n.entry.dn){i.value="This DN already exists";return}const c=r.value.split(","),u=c[0].split("="),f=u[0];if(u.length!=2){i.value="Invalid RDN: "+c[0];return}s("update:modal");const p=JSON.parse(JSON.stringify(n.entry));p.attrs[f]=[u[1]],p.dn=r.value,p.isNew=!0,s("ok",p)}return(c,u)=>(g(),we(lt,{title:"Copy entry",open:c.modal=="copy-entry","return-to":c.returnTo,onShow:l,onShown:u[1]||(u[1]=f=>o.value?.focus()),onOk:a,onCancel:u[2]||(u[2]=f=>s("update:modal"))},{default:he(()=>[E("div",null,[i.value?(g(),T("div",kc,se(i.value),1)):X("",!0),Ve(E("input",{ref_key:"newdn",ref:o,"onUpdate:modelValue":u[0]||(u[0]=f=>r.value=f),placeholder:"New DN",onKeyup:yt(a,["enter"])},null,544),[[Jt,r.value]])])]),_:1},8,["open","return-to"]))}}),Ac=["title"],_n=ye({__name:"NodeLabel",props:{dn:{},oc:{}},emits:["select-dn"],setup(e,{emit:t}){const n=e,s={account:"user",groupOfNames:"users",groupOfURLs:"users",groupOfUniqueNames:"users",inetOrgPerson:"address-book",krbContainer:"lock",krbPrincipal:"user-o",krbRealmContainer:"globe",organization:"globe",organizationalRole:"android",organizationalUnit:"sitemap",person:"user",posixGroup:"users"},r=Z(()=>n.oc?" fa-"+(s[n.oc]||"question"):"fa-question"),i=Z(()=>(n.dn||"").split(",")[0].replace(/^cn=/,"").replace(/^krbPrincipalName=/,"")),o=t;function l(a){a&&o("select-dn",a)}return(a,c)=>(g(),T("span",{onClick:c[0]||(c[0]=u=>l(a.dn)),title:a.dn,class:"node-label cursor-pointer select-none"},[a.oc?(g(),T("i",{key:0,class:je(["fa w-6 text-center",r.value])},null,2)):X("",!0),Ge(a.$slots,"default",{},()=>[Le(se(i.value),1)])],8,Ac))}}),jc={key:0},Dc=ye({__name:"DeleteEntryDialog",props:{dn:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=q([]),r=t,i=Z(()=>new St(n.dn)),o=Ce("app");async function l(){const f=await Ru({path:{root_dn:n.dn},client:o?.client});f.data&&(s.value=f.data)}function a(f){return new St(f.dn).level-i.value.level-1}function c(){document.getElementById("ui-modal-ok")?.focus()}function u(){r("update:modal"),r("ok",n.dn)}return(f,p)=>(g(),we(lt,{title:"Are you sure?",open:f.modal=="delete-entry","return-to":f.returnTo,"cancel-classes":"bg-primary/80","ok-classes":"bg-danger/80",onShow:l,onShown:c,onOk:u,onCancel:p[0]||(p[0]=m=>r("update:modal"))},{"modal-ok":he(()=>p[2]||(p[2]=[E("i",{class:"fa fa-trash-o fa-lg"},null,-1),Le(" Delete ",-1)])),default:he(()=>[p[3]||(p[3]=E("p",{class:"strong"},"This action is irreversible.",-1)),s.value.length?(g(),T("div",jc,[p[1]||(p[1]=E("p",{class:"text-danger mb-2"}," The following child nodes will be also deleted: ",-1)),(g(!0),T(ie,null,Te(s.value,m=>(g(),T("div",{key:m.dn},[(g(!0),T(ie,null,Te(a(m),x=>(g(),T("span",{class:"ml-6",key:x}))),128)),G(_n,{dn:"",oc:m.structuralObjectClass},{default:he(()=>[Le(se(m.dn.split(",")[0]),1)]),_:2},1032,["oc"])]))),128))])):X("",!0)]),_:1,__:[3]},8,["open","return-to"]))}}),Pc=ye({__name:"DiscardEntryDialog",props:{dn:{},modal:{},returnTo:{}},emits:["ok","shown","update:modal"],setup(e,{emit:t}){const n=q(),s=t;function r(){document.getElementById("ui-modal-ok")?.focus(),s("shown")}function i(){s("update:modal"),s("ok",n.value)}return(o,l)=>(g(),we(lt,{title:"Are you sure?",open:o.modal=="discard-entry","return-to":o.returnTo,"cancel-classes":"bg-primary/80","ok-classes":"bg-danger/80",onShow:l[0]||(l[0]=a=>n.value=o.dn),onShown:r,onOk:i,onCancel:l[1]||(l[1]=a=>s("update:modal"))},{"modal-ok":he(()=>l[2]||(l[2]=[E("i",{class:"fa fa-trash-o fa-lg"},null,-1),Le(" Discard ",-1)])),default:he(()=>[l[3]||(l[3]=E("p",{class:"strong"},"All changes will be irreversibly lost.",-1))]),_:1,__:[3]},8,["open","return-to"]))}}),Ic={class:"relative inline-block text-left mx-1"},Mc=["aria-expanded"],Rc=["aria-hidden"],mi=ye({__name:"DropdownMenu",props:{title:{}},setup(e){const t=q(!1);return(n,s)=>(g(),T("div",Ic,[E("span",{ref:"opener",class:"inline-flex w-full py-2 select-none cursor-pointer","aria-expanded":t.value,"aria-haspopup":"true",onClick:s[0]||(s[0]=Xt(r=>t.value=!t.value,["stop"]))},[Ge(n.$slots,"button-content",{},()=>[Le(se(n.title),1)]),(g(),T("svg",{class:"-mr-1 h-5 w-5 pt-1",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":!t.value},s[2]||(s[2]=[E("path",{"fill-rule":"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z","clip-rule":"evenodd"},null,-1)]),8,Rc))],8,Mc),G(Zs,{open:t.value,"onUpdate:open":s[1]||(s[1]=r=>t.value=r)},{default:he(()=>[Ge(n.$slots,"default")]),_:3},8,["open"])]))}}),Nc={key:0},Lc={key:0},Fc=ye({__name:"NewEntryDialog",props:{dn:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=Ce("app"),r=q(""),i=q(""),o=q(""),l=q(null),a=Z(()=>s?.schema.oc(r.value)),c=t;function u(){r.value=i.value=o.value=""}function f(){if(!r.value||!i.value||!o.value)return;c("update:modal");const m=[r.value];for(let O=a.value?.$super;O;O=O.$super)!O.structural&&O.kind!="abstract"&&m.push(O.name);const x={dn:i.value+"="+o.value+","+n.dn,changed:[],binary:[],autoFilled:[],isNew:!0,attrs:{objectClass:m}};x.attrs[i.value]=[o.value],c("ok",x)}function p(){if(!r.value)return[];const m=a.value?.$collect("must")||[];return m.length==1&&(i.value=m[0]),m}return(m,x)=>(g(),we(lt,{title:"New entry",open:m.modal=="new-entry","return-to":m.returnTo,onOk:f,onCancel:x[3]||(x[3]=O=>c("update:modal")),onShow:u,onShown:x[4]||(x[4]=O=>l.value?.focus())},{default:he(()=>[E("label",null,[x[5]||(x[5]=Le("Object class: ",-1)),Ve(E("select",{ref_key:"select",ref:l,"onUpdate:modelValue":x[0]||(x[0]=O=>r.value=O)},[(g(!0),T(ie,null,Te(Qt(s)?.schema.objectClasses.values(),O=>(g(),T(ie,{key:O.name},[O.structural?(g(),T("option",Nc,se(O),1)):X("",!0)],64))),128))],512),[[bn,r.value]])]),r.value?(g(),T("label",Lc,[x[6]||(x[6]=Le("RDN attribute: ",-1)),Ve(E("select",{"onUpdate:modelValue":x[1]||(x[1]=O=>i.value=O)},[(g(!0),T(ie,null,Te(p(),O=>(g(),T("option",{key:O},se(O),1))),128))],512),[[bn,i.value]])])):X("",!0),r.value?Ve((g(),T("input",{key:1,"onUpdate:modelValue":x[2]||(x[2]=O=>o.value=O),placeholder:"RDN value",onKeyup:yt(f,["enter"])},null,544)),[[Jt,o.value]]):X("",!0)]),_:1},8,["open","return-to"]))}}),Uc={key:0},Vc=ye({__name:"PasswordChangeDialog",props:{entry:{},modal:{},returnTo:{},user:{}},emits:["ok","update-form","update:modal"],setup(e,{emit:t}){const n=e,s=q(""),r=q(""),i=q(""),o=q(),l=q(null),a=q(null),c=Z(()=>n.user==n.entry.dn),u=Z(()=>r.value&&r.value==i.value),f=Z(()=>!!n.entry.attrs.userPassword&&n.entry.attrs.userPassword[0]!=""),p=t,m=Ce("app");function x(){s.value=r.value=i.value="",o.value=void 0}function O(){f.value?l.value?.focus():a.value?.focus()}async function F(){if(!s.value||s.value.length==0){o.value=void 0;return}const C=await Tu({path:{dn:n.entry.dn},body:s.value,client:m?.client});o.value=C.data}async function b(){c.value&&!r.value||r.value!=i.value||c.value&&f.value&&!o.value||(p("update:modal"),p("ok",s.value,r.value))}return(C,L)=>(g(),we(lt,{title:"Change / verify password",open:C.modal=="change-password","return-to":C.returnTo,onShow:x,onShown:O,onOk:b,onCancel:L[3]||(L[3]=R=>p("update:modal")),onHidden:L[4]||(L[4]=R=>p("update-form"))},{default:he(()=>[f.value?(g(),T("div",Uc,[E("small",null,se(c.value?"Required":"Optional"),1),o.value!==void 0?(g(),T("i",{key:0,class:je(["fa ml-2",o.value?"text-emerald-700 fa-check-circle":"text-danger fa-times-circle"])},null,2)):X("",!0),Ve(E("input",{ref_key:"old",ref:l,"onUpdate:modelValue":L[0]||(L[0]=R=>s.value=R),placeholder:"Old password",type:"password",onChange:F},null,544),[[Jt,s.value]])])):X("",!0),Ve(E("input",{ref_key:"changed",ref:a,"onUpdate:modelValue":L[1]||(L[1]=R=>r.value=R),placeholder:"New password",type:"password"},null,512),[[Jt,r.value]]),Ve(E("input",{"onUpdate:modelValue":L[2]||(L[2]=R=>i.value=R),class:je({"text-danger":i.value&&!u.value}),placeholder:"Repeat new password",type:"password",onKeyup:yt(b,["enter"])},null,34),[[Jt,i.value]])]),_:1},8,["open","return-to"]))}}),Hc=ye({__name:"RenameEntryDialog",props:{entry:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=q(),r=q(null),i=Z(()=>Object.keys(n.entry.attrs).filter(c)),o=t;function l(){s.value=i.value.length==1?i.value[0]:void 0}function a(){const u=n.entry.attrs[s.value||""];u&&u[0]&&(o("update:modal"),o("ok",s.value+"="+u[0]))}function c(u){const f=n.entry.dn.split("=")[0];return u!=f&&!n.entry.attrs[u].every(p=>!p)}return(u,f)=>(g(),we(lt,{title:"Rename entry",open:u.modal=="rename-entry","return-to":u.returnTo,onOk:a,onCancel:f[1]||(f[1]=p=>o("update:modal")),onShow:l,onShown:f[2]||(f[2]=p=>r.value?.focus())},{default:he(()=>[E("label",null,[f[3]||(f[3]=Le("New RDN attribute: ",-1)),Ve(E("select",{ref_key:"select",ref:r,"onUpdate:modelValue":f[0]||(f[0]=p=>s.value=p),onKeyup:yt(a,["enter"])},[(g(!0),T(ie,null,Te(i.value,p=>(g(),T("option",{key:p},se(p),1))),128))],544),[[bn,s.value]])])]),_:1},8,["open","return-to"]))}}),Bc={key:0,class:"rounded border border-front/20 mb-3 mx-4 flex-auto"},qc={class:"flex justify-between mb-4 border-b border-front/20 bg-primary/70"},Kc={key:0,class:"py-2 ml-3"},Wc={key:1,class:"ml-2"},zc={role:"menuitem"},Yc=["href"],Gc={class:"flex ml-4 mt-2 space-x-4"},Jc={class:"w-3/4 pl-4"},Xc={class:"w-[90%] space-x-3"},Qc=["disabled"],Zc={key:0,type:"reset",accesskey:"r",tabindex:"0",class:"btn bg-secondary"},ef=ye({__name:"EntryEditor",props:{activeDn:{},baseDn:{},user:{}},emits:["update:activeDn","show-attr","show-oc"],setup(e,{emit:t}){function n(A,y,k){return k.indexOf(A)==y}const s=["BUTTON","INPUT","SELECT","TEXTAREA"],r=e,i=Ce("app"),o=q(),l=q(),a=q([]),c=q(),u=Z(()=>{const A=Object.keys(o.value?.attrs||{});return A.sort((y,k)=>y.toLowerCase().localeCompare(k.toLowerCase())),A}),f=Z(()=>{const A=o.value?.attrs.objectClass.map(y=>i?.schema.oc(y)).filter(y=>y&&y.structural)[0];return A?A.name:""}),p=t;Pe(()=>r.activeDn,A=>{(!o.value||A!=o.value.dn)&&(l.value=void 0),A&&o.value&&o.value.isNew?c.value="discard-entry":A?ne(A,void 0,void 0):o.value&&!o.value.isNew&&(o.value=void 0)});function m(A){Lt(()=>{const y=A?document.getElementById(A):document.querySelector('form#entry input:not([disabled]), form#entry button[type="button"]');y&&window.setTimeout(()=>y.focus(),100)})}function x(A){const y=A.target;y.id&&s.includes(y.tagName)&&(l.value=y.id)}function O(A){o.value=A,p("update:activeDn"),m(R())}function F(A){o.value=void 0,p("update:activeDn",A)}function b(A){o.value.attrs[A]=[""],m(A+"-0")}function C(A){o.value.attrs.objectClass.push(A),m(R()||l.value)}function L(A,y,k){o.value.attrs[A]=y,k!==void 0&&m(A+"-"+k)}function R(){const A=P("must").filter(y=>!o.value.attrs[y]);return A.forEach(y=>o.value.attrs[y]=[""]),A.length?A[0]+"-0":void 0}function V(A){i?.showError(A.detail?.join(`
|
|
18
|
+
`)||"Operation failed")}async function ne(A,y,k){if(a.value=[],!A||A.startsWith("-")){o.value=void 0;return}const Q=await ku({path:{dn:A},client:i?.client});if(Q.error){V(Q.error);return}o.value=Q.data,o.value.changed=y||[],o.value.isNew=!1,document.title=A.split(",")[0],m(k)}function K(A){return o.value?.changed&&o.value.changed.includes(A)||!1}async function le(){if(a.value.length>0){m(l.value);return}o.value.changed=[];let A=[];if(o.value.isNew){const y=await Au({path:{dn:o.value.dn},body:o.value.attrs,client:i?.client});if(y.error){V(y.error);return}A=y.data}else{const y=await Eu({path:{dn:o.value.dn},body:o.value.attrs,client:i?.client});if(y.error){V(y.error);return}A=y.data}o.value.isNew?(o.value.isNew=!1,p("update:activeDn",o.value.dn)):ne(o.value.dn,A,l.value)}async function W(A){const y=await Pu({path:{dn:o.value.dn},body:A,client:i?.client});if(y.error){V(y.error);return}const k=o.value.dn.split(",");k.splice(0,1,A),p("update:activeDn",k.join(","))}async function ee(A){const y=await Ou({path:{dn:A},client:i?.client});if(y.error){V(y.error);return}i?.showInfo("👍 Deleted: "+A),p("update:activeDn","-"+A)}async function re(A,y){const k=await $u({path:{dn:o.value.dn},body:{old:A,new1:y},client:i?.client});k.error?V(k.error):(o.value.attrs.userPassword=[y],o.value.changed?.push("userPassword"))}function P(A){const y=o.value.attrs.objectClass.filter(k=>k&&k!="top").map(k=>i?.schema.oc(k)).flatMap(k=>k?k.$collect(A):[]).filter(n);return y.sort(),y}function ue(A,y){if(y){const k=a.value.indexOf(A);k>=0&&a.value.splice(k,1)}else a.value.includes(A)||a.value.push(A)}return(A,y)=>o.value?(g(),T("div",Bc,[G(Fc,{modal:c.value,"onUpdate:modal":y[0]||(y[0]=k=>c.value=k),dn:o.value.dn,"return-to":l.value,onOk:O},null,8,["modal","dn","return-to"]),G(Ec,{modal:c.value,"onUpdate:modal":y[1]||(y[1]=k=>c.value=k),entry:o.value,"return-to":l.value,onOk:O},null,8,["modal","entry","return-to"]),G(Hc,{modal:c.value,"onUpdate:modal":y[2]||(y[2]=k=>c.value=k),entry:o.value,"return-to":l.value,onOk:W},null,8,["modal","entry","return-to"]),G(Dc,{modal:c.value,"onUpdate:modal":y[3]||(y[3]=k=>c.value=k),dn:o.value.dn,"return-to":l.value,onOk:ee},null,8,["modal","dn","return-to"]),G(Pc,{modal:c.value,"onUpdate:modal":y[4]||(y[4]=k=>c.value=k),dn:r.activeDn,"return-to":l.value,onOk:F,onShown:y[5]||(y[5]=k=>p("update:activeDn"))},null,8,["modal","dn","return-to"]),G(Vc,{modal:c.value,"onUpdate:modal":y[6]||(y[6]=k=>c.value=k),entry:o.value,"return-to":l.value,user:A.user,onOk:re},null,8,["modal","entry","return-to","user"]),G(Hr,{modal:c.value,"onUpdate:modal":y[7]||(y[7]=k=>c.value=k),attr:"jpegPhoto",dn:o.value.dn,"return-to":l.value,onOk:ne},null,8,["modal","dn","return-to"]),G(Hr,{modal:c.value,"onUpdate:modal":y[8]||(y[8]=k=>c.value=k),attr:"thumbnailPhoto",dn:o.value.dn,"return-to":l.value,onOk:ne},null,8,["modal","dn","return-to"]),G(au,{modal:c.value,"onUpdate:modal":y[9]||(y[9]=k=>c.value=k),entry:o.value,"return-to":l.value,onOk:C},null,8,["modal","entry","return-to"]),G(lu,{modal:c.value,"onUpdate:modal":y[10]||(y[10]=k=>c.value=k),entry:o.value,attributes:P("may"),"return-to":l.value,onOk:b,onShowModal:y[11]||(y[11]=k=>c.value=k)},null,8,["modal","entry","attributes","return-to"]),E("nav",qc,[o.value.isNew?(g(),T("div",Kc,[G(_n,{dn:o.value.dn,oc:f.value},null,8,["dn","oc"])])):(g(),T("div",Wc,[G(mi,null,{"button-content":he(()=>[G(_n,{dn:o.value.dn,oc:f.value},null,8,["dn","oc"])]),default:he(()=>[E("li",{onClick:y[12]||(y[12]=k=>c.value="new-entry"),role:"menuitem"},"Add child…"),E("li",{onClick:y[13]||(y[13]=k=>c.value="copy-entry"),role:"menuitem"},"Copy…"),E("li",{onClick:y[14]||(y[14]=k=>c.value="rename-entry"),role:"menuitem"},"Rename…"),E("li",zc,[E("a",{href:"api/ldif/"+o.value.dn},"Export",8,Yc)]),E("li",{onClick:y[15]||(y[15]=k=>c.value="delete-entry"),class:"text-danger",role:"menuitem"}," Delete… ")]),_:1})])),o.value.isNew?(g(),T("div",{key:2,class:"control text-2xl mr-2",onClick:y[16]||(y[16]=k=>c.value="discard-entry"),title:"close"}," ⊗ ")):(g(),T("div",{key:3,class:"control text-xl mr-2",title:"close",onClick:y[17]||(y[17]=k=>p("update:activeDn"))}," ⊗ "))]),E("form",{id:"entry",class:"space-y-4 my-4",onSubmit:Xt(le,["prevent"]),onReset:y[22]||(y[22]=k=>ne(o.value.dn,void 0,void 0)),onFocusin:x},[(g(!0),T(ie,null,Te(u.value,k=>(g(),we(Oc,{key:k,"base-dn":r.baseDn,attr:Qt(i)?.schema.attr(k),entry:o.value,values:o.value.attrs[k],changed:K(k),may:P("may").includes(k),must:P("must").includes(k),onUpdate:L,onReloadForm:ne,onValid:Q=>ue(k,Q),onShowModal:y[18]||(y[18]=Q=>c.value=Q),onShowAttr:y[19]||(y[19]=Q=>p("show-attr",Q)),onShowOc:y[20]||(y[20]=Q=>p("show-oc",Q))},null,8,["base-dn","attr","entry","values","changed","may","must","onValid"]))),128)),E("div",Gc,[y[23]||(y[23]=E("div",{class:"w-1/4"},null,-1)),E("div",Jc,[E("div",Xc,[E("button",{type:"submit",class:"btn bg-primary/70",tabindex:"0",accesskey:"s",disabled:a.value.length!=0}," Submit ",8,Qc),o.value.isNew?X("",!0):(g(),T("button",Zc," Reset ")),o.value.isNew?X("",!0):(g(),T("button",{key:1,class:"btn float-right bg-secondary",accesskey:"a",tabindex:"0",onClick:y[21]||(y[21]=Xt(k=>c.value="add-attribute",["prevent"]))}," Add attribute… "))])])])],32)])):X("",!0)}}),tf=ye({__name:"LdifImportDialog",props:{modal:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=q(""),s=Ce("app"),r=t;function i(){n.value=""}function o(a){const c=a.target,u=c.files,f=u[0],p=new FileReader;p.onload=function(){n.value=p.result,c.value=""},p.readAsText(f)}async function l(){if(!n.value)return;r("update:modal"),(await ju({body:n.value,client:s?.client})).error||r("ok")}return(a,c)=>(g(),we(lt,{title:"Import",open:a.modal=="ldif-import","ok-title":"Import",onShow:i,onOk:l,onCancel:c[1]||(c[1]=u=>r("update:modal"))},{default:he(()=>[Ve(E("textarea",{"onUpdate:modelValue":c[0]||(c[0]=u=>n.value=u),id:"ldif-data",placeholder:"Paste or upload LDIF"},null,512),[[Jt,n.value]]),E("input",{type:"file",onChange:o,accept:".ldif"},null,32)]),_:1},8,["open"]))}}),nf={class:"px-4 flex flex-col md:flex-row flex-wrap justify-between mt-0 py-1 bg-primary/40"},sf={class:"flex items-center"},rf={class:"flex items-center space-x-4 text-lg"},of=["onClick"],lf=ye({__name:"NavBar",props:{baseDn:{},treeOpen:{type:Boolean},user:{}},emits:["select-dn","show-modal","show-oc","update:treeOpen"],setup(e,{emit:t}){const n=Ce("app"),s=q(null),r=q(""),i=q(!1),o=t;function l(){r.value="",Lt(()=>{r.value=s?.value?.value||""})}return(a,c)=>(g(),T("nav",nf,[E("div",sf,[E("i",{class:"cursor-pointer glyph fa-bars fa-lg pt-1 mr-4 md:hidden",onClick:c[0]||(c[0]=u=>i.value=!i.value)}),E("i",{class:je(["cursor-pointer fa fa-lg mr-2",a.treeOpen?"fa-list-alt":"fa-list-ul"]),onClick:c[1]||(c[1]=u=>o("update:treeOpen",!a.treeOpen))},null,2),G(_n,{oc:"person",dn:a.user,onSelectDn:c[2]||(c[2]=u=>o("select-dn",u)),class:"text-lg"},null,8,["dn"])]),Ve(E("div",rf,[E("span",{class:"cursor-pointer",onClick:c[3]||(c[3]=u=>o("show-modal","ldif-import"))},"Import…"),G(mi,{title:"Schema"},{default:he(()=>[(g(!0),T(ie,null,Te(Qt(n)?.schema.objectClasses.keys(),u=>(g(),T("li",{role:"menuitem",key:u,onClick:f=>o("show-oc",u)},se(u),9,of))),128))]),_:1}),E("form",{onSubmit:Xt(l,["prevent"])},[E("input",{class:"glyph px-2 py-1 rounded focus:border focus:border-front/80 outline-none text-front dark:bg-gray-800/80",autofocus:"",placeholder:" ",name:"q",onFocusin:c[4]||(c[4]=u=>s.value?.select()),accesskey:"k",onKeyup:c[5]||(c[5]=yt(u=>r.value="",["esc"])),id:"nav-search",ref_key:"input",ref:s},null,544),G(pi,{for:"nav-search",onSelectDn:c[6]||(c[6]=u=>{r.value="",o("select-dn",u)}),shorten:a.baseDn,query:r.value},null,8,["shorten","query"])],32)],512),[[Xs,!i.value]])]))}}),af={class:"header"},uf={key:0,class:"mt-2"},cf={class:"list-disc"},ff=["onClick"],df={key:1,class:"mt-2"},pf={class:"list-disc"},hf=["onClick"],mf={key:2,class:"mt-2"},vf={class:"list-disc"},gf=["onClick"],yf=ye({__name:"ObjectClassCard",props:{modelValue:{}},emits:["show-attr","update:modelValue"],setup(e,{emit:t}){const n=e,s=Ce("app"),r=Z(()=>s?.schema.oc(n.modelValue)),i=t;return(o,l)=>o.modelValue&&r.value?(g(),we(si,{key:0,title:r.value.name||"",class:"ml-4",onClose:l[0]||(l[0]=a=>i("update:modelValue"))},{default:he(()=>[E("div",af,se(r.value.desc),1),r.value.sup?.length?(g(),T("div",uf,[l[1]||(l[1]=E("i",null,"Superclasses:",-1)),E("ul",cf,[(g(!0),T(ie,null,Te(r.value.sup,a=>(g(),T("li",{key:a},[E("span",{class:"cursor-pointer",onClick:c=>i("update:modelValue",a)},se(a),9,ff)]))),128))])])):X("",!0),r.value.$collect("must").length?(g(),T("div",df,[l[2]||(l[2]=E("i",null,"Required attributes:",-1)),E("ul",pf,[(g(!0),T(ie,null,Te(r.value.$collect("must"),a=>(g(),T("li",{key:a},[E("span",{class:"cursor-pointer",onClick:c=>i("show-attr",a)},se(a),9,hf)]))),128))])])):X("",!0),r.value.$collect("may").length?(g(),T("div",mf,[l[3]||(l[3]=E("i",null,"Optional attributes:",-1)),E("ul",vf,[(g(!0),T(ie,null,Te(r.value.$collect("may"),a=>(g(),T("li",{key:a},[E("span",{class:"cursor-pointer",onClick:c=>i("show-attr",a)},se(a),9,gf)]))),128))])])):X("",!0)]),_:1},8,["title"])):X("",!0)}}),bf={class:"rounded-md bg-front/[.07] p-4 shadow-md shadow-front/20"},wf={key:0,class:"list-unstyled"},_f=["id"],Cf=["onClick"],xf={key:1,class:"mr-4"},Sf={key:0},$f=ye({__name:"TreeView",props:{activeDn:{}},emits:["base-dn","update:activeDn"],setup(e,{emit:t}){class n{dn;level;hasSubordinates;structuralObjectClass;open=!1;subordinates=[];distinguishedName;constructor(f){this.dn=f.dn,this.level=this.dn.split(",").length,this.hasSubordinates=f.hasSubordinates,this.structuralObjectClass=f.structuralObjectClass,this.hasSubordinates&&(this.subordinates=[],this.open=!1),this.distinguishedName=new St(this.dn)}find(f){if(f){if(this.distinguishedName.matches(f))return this;if(!(!f.isSubordinate(this.distinguishedName)||!this.hasSubordinates))return this.subordinates.map(p=>p.find(f)).filter(p=>p)[0]}}get loaded(){return!this.hasSubordinates||this.subordinates.length>0}visible(){return!this.hasSubordinates||!this.open?[this]:[this].concat(this.subordinates.flatMap(f=>f.visible()))}}const s=e,r=q(),i=t,o=Ce("app");Et(async()=>{await a("base"),i("base-dn",r.value?.dn)}),Pe(()=>s.activeDn,async u=>{if(!u)return;if(u=="base"){await a("base");return}let f=u;u.startsWith("-")&&(f=u.split(",").slice(1).join(","),await a(f));let p=new St(f);const m=[p].concat(p.parents(r.value?.distinguishedName));m.reverse();for(let x of m){const O=r.value?.find(x);if(!O)break;O.loaded||await a(x.toString()),O.open=!0}if(!r.value?.find(p)){await a(p.parent?.toString()),r.value.find(p.parent).open=!0;return}});async function l(u){i("update:activeDn",u.toString());const f=r.value?.find(u);f&&f.hasSubordinates&&!f.open&&await c(f)}async function a(u){if(!u)return;const f=await Nu({path:{basedn:u},client:o?.client});if(!f.data)return;const p=f.data;if(p.sort((x,O)=>x.dn.toLowerCase().localeCompare(O.dn.toLowerCase())),u=="base"){r.value=new n(p[0]),await c(r.value);return}const m=r.value?.find(new St(u));m&&(m.subordinates=p.map(x=>new n(x)),m.hasSubordinates=m.subordinates.length>0)}async function c(u){!u.open&&!u.loaded&&await a(u.dn),u.open=!u.open}return(u,f)=>(g(),T("div",bf,[r.value?(g(),T("ul",wf,[(g(!0),T(ie,null,Te(r.value.visible(),p=>(g(),T("li",{key:p.dn,id:p.dn,class:je(p.structuralObjectClass)},[(g(!0),T(ie,null,Te(p.level-r.value.level,m=>(g(),T("span",{class:"ml-6",key:m}))),128)),p.hasSubordinates?(g(),T("span",{key:0,class:"control",onClick:m=>c(p)},[E("i",{class:je("control p-0 fa fa-chevron-circle-"+(p.open?"down":"right"))},null,2)],8,Cf)):(g(),T("span",xf)),G(_n,{dn:p.dn,oc:p.structuralObjectClass,class:je(["tree-link whitespace-nowrap text-front/80",{active:u.activeDn==p.dn}]),onSelectDn:m=>l(p.distinguishedName)},{default:he(()=>[p.level?X("",!0):(g(),T("span",Sf,se(p.dn),1))]),_:2},1032,["dn","oc","onSelectDn","class"])],10,_f))),128))])):X("",!0)]))}}),Tf=hi($f,[["__scopeId","data-v-75b42660"]]),Of={key:0,id:"app"},kf={class:"flex container"},Ef={class:"space-y-4"},Af={class:"flex-auto mt-4"},jf=ye({__name:"App",setup(e){const t=q(),n=q(),s=q(!0),r=q(),i=q(),o=q(),l=q(),a=q(),c=q(),u=ui({baseUrl:window.location.href});Mo("app",{get schema(){return l.value},showInfo:p,showError:x,showException:O,showWarning:m,client:u}),Et(async()=>{const F=await Lu({client:u});if(F.data){t.value=F.data;const b=await Iu({client:u});b.data&&(l.value=new Ku(b.data))}}),Pe(c,F=>{F&&(a.value=void 0)}),Pe(a,F=>{F&&(c.value=void 0)});function p(F){o.value={counter:5,cssClass:"bg-emerald-300",msg:""+F},setTimeout(()=>{o.value=void 0},5e3)}function m(F){o.value={counter:10,cssClass:"bg-amber-200",msg:"⚠️ "+F},setTimeout(()=>{o.value=void 0},1e4)}function x(F){o.value={counter:60,cssClass:"bg-red-300",msg:"⛔ "+F},setTimeout(()=>{o.value=void 0},6e4)}function O(F){const b=document.createElement("span");b.innerHTML=F.replace(`
|
|
19
|
+
`," ");const C=b.getElementsByTagName("title");for(let V of C)b.removeChild(V);let L="";const R=b.getElementsByTagName("h1");for(let V of R)L=L+V.textContent+": ",b.removeChild(V);x(L+" "+b.textContent)}return(F,b)=>t.value?(g(),T("div",Of,[G(lf,{treeOpen:s.value,"onUpdate:treeOpen":b[0]||(b[0]=C=>s.value=C),dn:r.value,"base-dn":n.value,user:t.value,onShowModal:b[1]||(b[1]=C=>i.value=C),onSelectDn:b[2]||(b[2]=C=>r.value=C),onShowOc:b[3]||(b[3]=C=>a.value=C)},null,8,["treeOpen","dn","base-dn","user"]),G(tf,{modal:i.value,"onUpdate:modal":b[4]||(b[4]=C=>i.value=C),onOk:b[5]||(b[5]=C=>r.value="-")},null,8,["modal"]),E("div",kf,[E("div",Ef,[Ve(G(Tf,{activeDn:r.value,"onUpdate:activeDn":b[6]||(b[6]=C=>r.value=C),onBaseDn:b[7]||(b[7]=C=>n.value=C)},null,8,["activeDn"]),[[Xs,s.value]]),G(yf,{modelValue:a.value,"onUpdate:modelValue":b[8]||(b[8]=C=>a.value=C),onShowAttr:b[9]||(b[9]=C=>c.value=C),onShowOc:b[10]||(b[10]=C=>a.value=C)},null,8,["modelValue"]),G(Qa,{modelValue:c.value,"onUpdate:modelValue":b[11]||(b[11]=C=>c.value=C),onShowAttr:b[12]||(b[12]=C=>c.value=C)},null,8,["modelValue"])]),E("div",Af,[G(Bn,{name:"fade"},{default:he(()=>[o.value?(g(),T("div",{key:0,class:je([o.value.cssClass,"rounded mx-4 mb-4 p-3 border border-front/70 text-front/70 dark:text-back/70"])},[Le(se(o.value.msg)+" ",1),E("span",{class:"float-right control",onClick:b[13]||(b[13]=C=>o.value=void 0)},"✖")],2)):X("",!0)]),_:1}),G(ef,{activeDn:r.value,"onUpdate:activeDn":b[14]||(b[14]=C=>r.value=C),user:t.value,onShowAttr:b[15]||(b[15]=C=>c.value=C),onShowOc:b[16]||(b[16]=C=>a.value=C)},null,8,["activeDn","user"])])]),X("",!0)])):X("",!0)}});La(jf).mount("#app");
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.ui-modal-body label{display:block;color:rgb(var(--color-front) / .7)}.ui-modal-body input,.ui-modal-body textarea,.ui-modal-body select{margin-top:.25rem;width:100%;border-radius:.25rem;border-width:1px;border-color:rgb(var(--color-front) / .2);background-color:#e5e7ebcc;padding:.5rem;--tw-text-opacity: 1;color:rgb(var(--color-front) / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}.ui-modal-body input:focus,.ui-modal-body textarea:focus,.ui-modal-body select:focus{--tw-border-opacity: 1;border-color:rgb(var(--color-primary) / var(--tw-border-opacity, 1))}@media (prefers-color-scheme: dark){.ui-modal-body input,.ui-modal-body textarea,.ui-modal-body select{background-color:#1f2937cc}}.ui-modal-footer button{min-width:5rem}.bounce-enter-active{animation:bounce-in .5s}.bounce-leave-active{animation:bounce-in .5s reverse}@keyframes bounce-in{0%{transform:scale(0)}50%{transform:scale(1.15)}to{transform:scale(1)}}.ui-popover [role=menuitem]{cursor:pointer;padding-left:1rem;padding-right:1rem}.ui-popover [role=menuitem].selected{background-color:rgb(var(--color-primary) / .4)}div.optional span.oc[data-v-8340a860]{color:rgb(var(--color-front) / .7)}div.illegal[data-v-8340a860],input.illegal[data-v-8340a860]{--tw-text-opacity: 1;color:rgb(var(--color-danger) / var(--tw-text-opacity, 1));text-decoration-line:line-through}div.rdn span.oc[data-v-8340a860],input.structural[data-v-8340a860]{font-weight:700}.add-btn[data-v-8340a860],.remove-btn[data-v-8340a860],.fa-info-circle[data-v-8340a860],.fa-question-circle[data-v-8340a860]{font-size:1rem;line-height:1.5rem;opacity:.4}.add-btn[data-v-8340a860]:hover,.remove-btn[data-v-8340a860]:hover,.fa-info-circle[data-v-8340a860]:hover,.fa-question-circle[data-v-8340a860]:hover{opacity:.7}input.disabled[data-v-8340a860],input[data-v-8340a860]:disabled{border-bottom-width:0px}input.auto[data-v-8340a860]{--tw-text-opacity: 1;color:rgb(var(--color-primary) / var(--tw-text-opacity, 1))}div.rdn span.oc[data-v-8340a860]:after{content:" (rdn)";font-weight:200}.active[data-v-8e56aa3a]{font-weight:700;--tw-text-opacity: 1;color:rgb(var(--color-front) / var(--tw-text-opacity, 1))}.control{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding-top:.25rem;padding-right:.25rem;line-height:1;opacity:.7}.control:hover{opacity:.9}button,.btn,[type=button]{border-radius:.25rem;padding:.5rem .75rem;font-weight:500;--tw-text-opacity: 1;color:rgb(var(--color-back) / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}@media (prefers-color-scheme: dark){button,.btn,[type=button]{--tw-text-opacity: 1;color:rgb(var(--color-front) / var(--tw-text-opacity, 1))}}button.btn{border-width:2px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(var(--color-back) / var(--tw-border-opacity, 1))}button.btn:focus{--tw-border-opacity: 1;border-color:rgb(var(--color-primary) / var(--tw-border-opacity, 1))}@media (prefers-color-scheme: dark){button.btn:focus{--tw-border-opacity: 1;border-color:rgb(var(--color-front) / var(--tw-border-opacity, 1))}}select{background:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDEwIj4KICA8cG9seWdvbiBmaWxsPSJncmF5IiBwb2ludHM9IjEuNDEgNC42NyAyLjQ4IDMuMTggMy41NCA0LjY3IDEuNDEgNC42NyIgLz4KICA8cG9seWdvbiBmaWxsPSJncmF5IiBwb2ludHM9IjMuNTQgNS4zMyAyLjQ4IDYuODIgMS40MSA1LjMzIDMuNTQgNS4zMyIgLz4KPC9zdmc+) no-repeat right;-webkit-appearance:none;-moz-appearance:none;appearance:none}.glyph{font-family:sans-serif,FontAwesome;font-style:normal}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--color-front: 32 32 32;--color-back: 255 255 255;--color-primary: 23 162 184;--color-secondary: 108 117 125;--color-danger: 229 57 53}@media (prefers-color-scheme: dark){:root{--color-front: 255 255 255;--color-back: 16 16 16}}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-top-0\.5{top:-.125rem}.left-0{left:0}.top-0{top:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.float-right{float:right}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-4{margin-left:1rem;margin-right:1rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mr-1{margin-right:-.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-4{height:1rem}.h-5{height:1.25rem}.h-full{height:100%}.max-h-\[120px\]{max-height:120px}.max-h-full{max-height:100%}.w-1\/2{width:50%}.w-1\/4{width:25%}.w-3\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[90\%\]{width:90%}.w-full{width:100%}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-\[120px\]{max-width:120px}.max-w-lg{max-width:32rem}.max-w-sm{max-width:24rem}.flex-auto{flex:1 1 auto}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-4{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-front\/30>:not([hidden])~:not([hidden]){border-color:rgb(var(--color-front) / .3)}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-x-0{border-left-width:0px;border-right-width:0px}.border-b{border-bottom-width:1px}.border-t-0{border-top-width:0px}.border-solid{border-style:solid}.border-back{--tw-border-opacity: 1;border-color:rgb(var(--color-back) / var(--tw-border-opacity, 1))}.border-front\/20{border-color:rgb(var(--color-front) / .2)}.border-front\/40{border-color:rgb(var(--color-front) / .4)}.border-front\/70{border-color:rgb(var(--color-front) / .7)}.border-primary{--tw-border-opacity: 1;border-color:rgb(var(--color-primary) / var(--tw-border-opacity, 1))}.bg-amber-200{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity, 1))}.bg-back{--tw-bg-opacity: 1;background-color:rgb(var(--color-back) / var(--tw-bg-opacity, 1))}.bg-danger{--tw-bg-opacity: 1;background-color:rgb(var(--color-danger) / var(--tw-bg-opacity, 1))}.bg-danger\/80{background-color:rgb(var(--color-danger) / .8)}.bg-emerald-300{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity, 1))}.bg-front{--tw-bg-opacity: 1;background-color:rgb(var(--color-front) / var(--tw-bg-opacity, 1))}.bg-front\/5{background-color:rgb(var(--color-front) / .05)}.bg-front\/60{background-color:rgb(var(--color-front) / .6)}.bg-front\/\[\.07\]{background-color:rgb(var(--color-front) / .07)}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-200\/80{background-color:#e5e7ebcc}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(var(--color-primary) / var(--tw-bg-opacity, 1))}.bg-primary\/40{background-color:rgb(var(--color-primary) / .4)}.bg-primary\/70{background-color:rgb(var(--color-primary) / .7)}.bg-primary\/80{background-color:rgb(var(--color-primary) / .8)}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity, 1))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(var(--color-secondary) / var(--tw-bg-opacity, 1))}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-px{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-1{padding-bottom:.25rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pt-1{padding-top:.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-top{vertical-align:top}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.leading-none{line-height:1}.leading-normal{line-height:1.5}.text-back{--tw-text-opacity: 1;color:rgb(var(--color-back) / var(--tw-text-opacity, 1))}.text-danger{--tw-text-opacity: 1;color:rgb(var(--color-danger) / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-front{--tw-text-opacity: 1;color:rgb(var(--color-front) / var(--tw-text-opacity, 1))}.text-front\/70{color:rgb(var(--color-front) / .7)}.text-front\/80{color:rgb(var(--color-front) / .8)}.text-primary{--tw-text-opacity: 1;color:rgb(var(--color-primary) / var(--tw-text-opacity, 1))}.text-secondary{--tw-text-opacity: 1;color:rgb(var(--color-secondary) / var(--tw-text-opacity, 1))}.line-through{text-decoration-line:line-through}.opacity-40{opacity:.4}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-front\/20{--tw-shadow-color: rgb(var(--color-front) / .2);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.focus-within\:border-b:focus-within{border-bottom-width:1px}.hover\:bg-primary\/40:hover{background-color:rgb(var(--color-primary) / .4)}.hover\:opacity-70:hover{opacity:.7}.hover\:opacity-90:hover{opacity:.9}.focus\:border:focus{border-width:1px}.focus\:border-front\/80:focus{border-color:rgb(var(--color-front) / .8)}.focus\:border-primary:focus{--tw-border-opacity: 1;border-color:rgb(var(--color-primary) / var(--tw-border-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}@media (min-width: 768px){.md\:hidden{display:none}.md\:flex-row{flex-direction:row}}@media (prefers-color-scheme: dark){.dark\:bg-back\/70{background-color:rgb(var(--color-back) / .7)}.dark\:bg-front\/10{background-color:rgb(var(--color-front) / .1)}.dark\:bg-gray-800\/80{background-color:#1f2937cc}.dark\:text-back\/70{color:rgb(var(--color-back) / .7)}.dark\:text-front{--tw-text-opacity: 1;color:rgb(var(--color-front) / var(--tw-text-opacity, 1))}}/*!
|
|
1
|
+
.ui-modal-body label{display:block;color:rgb(var(--color-front) / .7)}.ui-modal-body input,.ui-modal-body textarea,.ui-modal-body select{margin-top:.25rem;width:100%;border-radius:.25rem;border-width:1px;border-color:rgb(var(--color-front) / .2);background-color:#e5e7ebcc;padding:.5rem;--tw-text-opacity: 1;color:rgb(var(--color-front) / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}.ui-modal-body input:focus,.ui-modal-body textarea:focus,.ui-modal-body select:focus{--tw-border-opacity: 1;border-color:rgb(var(--color-primary) / var(--tw-border-opacity, 1))}@media (prefers-color-scheme: dark){.ui-modal-body input,.ui-modal-body textarea,.ui-modal-body select{background-color:#1f2937cc}}.ui-modal-footer button{min-width:5rem}.bounce-enter-active{animation:bounce-in .5s}.bounce-leave-active{animation:bounce-in .5s reverse}@keyframes bounce-in{0%{transform:scale(0)}50%{transform:scale(1.15)}to{transform:scale(1)}}.ui-popover [role=menuitem]{cursor:pointer;padding-left:1rem;padding-right:1rem}.ui-popover [role=menuitem].selected{background-color:rgb(var(--color-primary) / .4)}div.optional span.oc[data-v-8340a860]{color:rgb(var(--color-front) / .7)}div.illegal[data-v-8340a860],input.illegal[data-v-8340a860]{--tw-text-opacity: 1;color:rgb(var(--color-danger) / var(--tw-text-opacity, 1));text-decoration-line:line-through}div.rdn span.oc[data-v-8340a860],input.structural[data-v-8340a860]{font-weight:700}.add-btn[data-v-8340a860],.remove-btn[data-v-8340a860],.fa-info-circle[data-v-8340a860],.fa-question-circle[data-v-8340a860]{font-size:1rem;line-height:1.5rem;opacity:.4}.add-btn[data-v-8340a860]:hover,.remove-btn[data-v-8340a860]:hover,.fa-info-circle[data-v-8340a860]:hover,.fa-question-circle[data-v-8340a860]:hover{opacity:.7}input.disabled[data-v-8340a860],input[data-v-8340a860]:disabled{border-bottom-width:0px}input.auto[data-v-8340a860]{--tw-text-opacity: 1;color:rgb(var(--color-primary) / var(--tw-text-opacity, 1))}div.rdn span.oc[data-v-8340a860]:after{content:" (rdn)";font-weight:200}.active[data-v-75b42660]{font-weight:700;--tw-text-opacity: 1;color:rgb(var(--color-front) / var(--tw-text-opacity, 1))}.control{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding-top:.25rem;padding-right:.25rem;line-height:1;opacity:.7}.control:hover{opacity:.9}button,.btn,[type=button]{border-radius:.25rem;padding:.5rem .75rem;font-weight:500;--tw-text-opacity: 1;color:rgb(var(--color-back) / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}@media (prefers-color-scheme: dark){button,.btn,[type=button]{--tw-text-opacity: 1;color:rgb(var(--color-front) / var(--tw-text-opacity, 1))}}button.btn{border-width:2px;border-style:solid;--tw-border-opacity: 1;border-color:rgb(var(--color-back) / var(--tw-border-opacity, 1))}button.btn:focus{--tw-border-opacity: 1;border-color:rgb(var(--color-primary) / var(--tw-border-opacity, 1))}@media (prefers-color-scheme: dark){button.btn:focus{--tw-border-opacity: 1;border-color:rgb(var(--color-front) / var(--tw-border-opacity, 1))}}select{background:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDEwIj4KICA8cG9seWdvbiBmaWxsPSJncmF5IiBwb2ludHM9IjEuNDEgNC42NyAyLjQ4IDMuMTggMy41NCA0LjY3IDEuNDEgNC42NyIgLz4KICA8cG9seWdvbiBmaWxsPSJncmF5IiBwb2ludHM9IjMuNTQgNS4zMyAyLjQ4IDYuODIgMS40MSA1LjMzIDMuNTQgNS4zMyIgLz4KPC9zdmc+) no-repeat right;-webkit-appearance:none;-moz-appearance:none;appearance:none}.glyph{font-family:sans-serif,FontAwesome;font-style:normal}.fade-enter-active,.fade-leave-active{transition:opacity .5s ease}.fade-enter-from,.fade-leave-to{opacity:0}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--color-front: 32 32 32;--color-back: 255 255 255;--color-primary: 23 162 184;--color-secondary: 108 117 125;--color-danger: 229 57 53}@media (prefers-color-scheme: dark){:root{--color-front: 255 255 255;--color-back: 16 16 16}}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-top-0\.5{top:-.125rem}.left-0{left:0}.top-0{top:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.float-right{float:right}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-4{margin-left:1rem;margin-right:1rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mr-1{margin-right:-.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-4{height:1rem}.h-5{height:1.25rem}.h-full{height:100%}.max-h-\[120px\]{max-height:120px}.max-h-full{max-height:100%}.w-1\/2{width:50%}.w-1\/4{width:25%}.w-3\/4{width:75%}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-\[90\%\]{width:90%}.w-full{width:100%}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-\[120px\]{max-width:120px}.max-w-lg{max-width:32rem}.max-w-sm{max-width:24rem}.flex-auto{flex:1 1 auto}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-4{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-front\/30>:not([hidden])~:not([hidden]){border-color:rgb(var(--color-front) / .3)}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-x-0{border-left-width:0px;border-right-width:0px}.border-b{border-bottom-width:1px}.border-t-0{border-top-width:0px}.border-solid{border-style:solid}.border-back{--tw-border-opacity: 1;border-color:rgb(var(--color-back) / var(--tw-border-opacity, 1))}.border-front\/20{border-color:rgb(var(--color-front) / .2)}.border-front\/40{border-color:rgb(var(--color-front) / .4)}.border-front\/70{border-color:rgb(var(--color-front) / .7)}.border-primary{--tw-border-opacity: 1;border-color:rgb(var(--color-primary) / var(--tw-border-opacity, 1))}.bg-amber-200{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity, 1))}.bg-back{--tw-bg-opacity: 1;background-color:rgb(var(--color-back) / var(--tw-bg-opacity, 1))}.bg-danger{--tw-bg-opacity: 1;background-color:rgb(var(--color-danger) / var(--tw-bg-opacity, 1))}.bg-danger\/80{background-color:rgb(var(--color-danger) / .8)}.bg-emerald-300{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity, 1))}.bg-front{--tw-bg-opacity: 1;background-color:rgb(var(--color-front) / var(--tw-bg-opacity, 1))}.bg-front\/5{background-color:rgb(var(--color-front) / .05)}.bg-front\/60{background-color:rgb(var(--color-front) / .6)}.bg-front\/\[\.07\]{background-color:rgb(var(--color-front) / .07)}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-200\/80{background-color:#e5e7ebcc}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(var(--color-primary) / var(--tw-bg-opacity, 1))}.bg-primary\/40{background-color:rgb(var(--color-primary) / .4)}.bg-primary\/70{background-color:rgb(var(--color-primary) / .7)}.bg-primary\/80{background-color:rgb(var(--color-primary) / .8)}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity, 1))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(var(--color-secondary) / var(--tw-bg-opacity, 1))}.p-0{padding:0}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-px{padding:1px}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-1{padding-bottom:.25rem}.pl-2{padding-left:.5rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pt-1{padding-top:.25rem}.text-left{text-align:left}.text-center{text-align:center}.align-top{vertical-align:top}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.leading-none{line-height:1}.leading-normal{line-height:1.5}.text-back{--tw-text-opacity: 1;color:rgb(var(--color-back) / var(--tw-text-opacity, 1))}.text-danger{--tw-text-opacity: 1;color:rgb(var(--color-danger) / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-front{--tw-text-opacity: 1;color:rgb(var(--color-front) / var(--tw-text-opacity, 1))}.text-front\/70{color:rgb(var(--color-front) / .7)}.text-front\/80{color:rgb(var(--color-front) / .8)}.text-primary{--tw-text-opacity: 1;color:rgb(var(--color-primary) / var(--tw-text-opacity, 1))}.text-secondary{--tw-text-opacity: 1;color:rgb(var(--color-secondary) / var(--tw-text-opacity, 1))}.line-through{text-decoration-line:line-through}.opacity-40{opacity:.4}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-front\/20{--tw-shadow-color: rgb(var(--color-front) / .2);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.focus-within\:border-b:focus-within{border-bottom-width:1px}.hover\:bg-primary\/40:hover{background-color:rgb(var(--color-primary) / .4)}.hover\:opacity-70:hover{opacity:.7}.hover\:opacity-90:hover{opacity:.9}.focus\:border:focus{border-width:1px}.focus\:border-front\/80:focus{border-color:rgb(var(--color-front) / .8)}.focus\:border-primary:focus{--tw-border-opacity: 1;border-color:rgb(var(--color-primary) / var(--tw-border-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}@media (min-width: 768px){.md\:hidden{display:none}.md\:flex-row{flex-direction:row}}@media (prefers-color-scheme: dark){.dark\:bg-back\/70{background-color:rgb(var(--color-back) / .7)}.dark\:bg-front\/10{background-color:rgb(var(--color-front) / .1)}.dark\:bg-gray-800\/80{background-color:#1f2937cc}.dark\:text-back\/70{color:rgb(var(--color-back) / .7)}.dark\:text-front{--tw-text-opacity: 1;color:rgb(var(--color-front) / var(--tw-text-opacity, 1))}}/*!
|
|
2
2
|
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
|
3
3
|
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
|
4
4
|
*/@font-face{font-family:FontAwesome;src:url(./fontawesome-webfont-G5YE5S7X.eot?v=4.7.0);src:url(./fontawesome-webfont-G5YE5S7X.eot?#iefix&v=4.7.0) format("embedded-opentype"),url(./fontawesome-webfont-B-jkhYfk.woff2?v=4.7.0) format("woff2"),url(./fontawesome-webfont-CDK5bt4p.woff?v=4.7.0) format("woff"),url(./fontawesome-webfont-CQDK8MU3.ttf?v=4.7.0) format("truetype"),url(./fontawesome-webfont-D13rzr4g.svg?v=4.7.0#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";transform:scaleY(-1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-remove:before,.fa-close:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-gear:before,.fa-cog:before{content:""}.fa-trash-o:before{content:""}.fa-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before{content:""}.fa-road:before{content:""}.fa-download:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before{content:""}.fa-rotate-right:before,.fa-repeat:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before{content:""}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before{content:""}.fa-check-circle:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-warning:before,.fa-exclamation-triangle:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before{content:""}.fa-twitter-square:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-gears:before,.fa-cogs:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before{content:""}.fa-facebook-f:before,.fa-facebook:before{content:""}.fa-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-cloud:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-save:before,.fa-floppy-o:before{content:""}.fa-square:before{content:""}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-unsorted:before,.fa-sort:before{content:""}.fa-sort-down:before,.fa-sort-desc:before{content:""}.fa-sort-up:before,.fa-sort-asc:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-legal:before,.fa-gavel:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-flash:before,.fa-bolt:before{content:""}.fa-sitemap:before{content:""}.fa-umbrella:before{content:""}.fa-paste:before,.fa-clipboard:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before{content:""}.fa-code:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-unlink:before,.fa-chain-broken:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:""}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:""}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:""}.fa-euro:before,.fa-eur:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-rupee:before,.fa-inr:before{content:""}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:""}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:""}.fa-won:before,.fa-krw:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before,.fa-gratipay:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-turkish-lira:before,.fa-try:before{content:""}.fa-plus-square-o:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-institution:before,.fa-bank:before,.fa-university:before{content:""}.fa-mortar-board:before,.fa-graduation-cap:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper-pp:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before{content:""}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:""}.fa-file-zip-o:before,.fa-file-archive-o:before{content:""}.fa-file-sound-o:before,.fa-file-audio-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before{content:""}.fa-file-code-o:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:""}.fa-ge:before,.fa-empire:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-send:before,.fa-paper-plane:before{content:""}.fa-send-o:before,.fa-paper-plane-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before{content:""}.fa-line-chart:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:""}.fa-meanpath:before{content:""}.fa-buysellads:before{content:""}.fa-connectdevelop:before{content:""}.fa-dashcube:before{content:""}.fa-forumbee:before{content:""}.fa-leanpub:before{content:""}.fa-sellsy:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-simplybuilt:before{content:""}.fa-skyatlas:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-diamond:before{content:""}.fa-ship:before{content:""}.fa-user-secret:before{content:""}.fa-motorcycle:before{content:""}.fa-street-view:before{content:""}.fa-heartbeat:before{content:""}.fa-venus:before{content:""}.fa-mars:before{content:""}.fa-mercury:before{content:""}.fa-intersex:before,.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-venus-double:before{content:""}.fa-mars-double:before{content:""}.fa-venus-mars:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-neuter:before{content:""}.fa-genderless:before{content:""}.fa-facebook-official:before{content:""}.fa-pinterest-p:before{content:""}.fa-whatsapp:before{content:""}.fa-server:before{content:""}.fa-user-plus:before{content:""}.fa-user-times:before{content:""}.fa-hotel:before,.fa-bed:before{content:""}.fa-viacoin:before{content:""}.fa-train:before{content:""}.fa-subway:before{content:""}.fa-medium:before{content:""}.fa-yc:before,.fa-y-combinator:before{content:""}.fa-optin-monster:before{content:""}.fa-opencart:before{content:""}.fa-expeditedssl:before{content:""}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:""}.fa-battery-3:before,.fa-battery-three-quarters:before{content:""}.fa-battery-2:before,.fa-battery-half:before{content:""}.fa-battery-1:before,.fa-battery-quarter:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-mouse-pointer:before{content:""}.fa-i-cursor:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-sticky-note:before{content:""}.fa-sticky-note-o:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-diners-club:before{content:""}.fa-clone:before{content:""}.fa-balance-scale:before{content:""}.fa-hourglass-o:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass:before{content:""}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:""}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:""}.fa-hand-scissors-o:before{content:""}.fa-hand-lizard-o:before{content:""}.fa-hand-spock-o:before{content:""}.fa-hand-pointer-o:before{content:""}.fa-hand-peace-o:before{content:""}.fa-trademark:before{content:""}.fa-registered:before{content:""}.fa-creative-commons:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-tripadvisor:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-get-pocket:before{content:""}.fa-wikipedia-w:before{content:""}.fa-safari:before{content:""}.fa-chrome:before{content:""}.fa-firefox:before{content:""}.fa-opera:before{content:""}.fa-internet-explorer:before{content:""}.fa-tv:before,.fa-television:before{content:""}.fa-contao:before{content:""}.fa-500px:before{content:""}.fa-amazon:before{content:""}.fa-calendar-plus-o:before{content:""}.fa-calendar-minus-o:before{content:""}.fa-calendar-times-o:before{content:""}.fa-calendar-check-o:before{content:""}.fa-industry:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-map-o:before{content:""}.fa-map:before{content:""}.fa-commenting:before{content:""}.fa-commenting-o:before{content:""}.fa-houzz:before{content:""}.fa-vimeo:before{content:""}.fa-black-tie:before{content:""}.fa-fonticons:before{content:""}.fa-reddit-alien:before{content:""}.fa-edge:before{content:""}.fa-credit-card-alt:before{content:""}.fa-codiepie:before{content:""}.fa-modx:before{content:""}.fa-fort-awesome:before{content:""}.fa-usb:before{content:""}.fa-product-hunt:before{content:""}.fa-mixcloud:before{content:""}.fa-scribd:before{content:""}.fa-pause-circle:before{content:""}.fa-pause-circle-o:before{content:""}.fa-stop-circle:before{content:""}.fa-stop-circle-o:before{content:""}.fa-shopping-bag:before{content:""}.fa-shopping-basket:before{content:""}.fa-hashtag:before{content:""}.fa-bluetooth:before{content:""}.fa-bluetooth-b:before{content:""}.fa-percent:before{content:""}.fa-gitlab:before{content:""}.fa-wpbeginner:before{content:""}.fa-wpforms:before{content:""}.fa-envira:before{content:""}.fa-universal-access:before{content:""}.fa-wheelchair-alt:before{content:""}.fa-question-circle-o:before{content:""}.fa-blind:before{content:""}.fa-audio-description:before{content:""}.fa-volume-control-phone:before{content:""}.fa-braille:before{content:""}.fa-assistive-listening-systems:before{content:""}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:""}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:""}.fa-glide:before{content:""}.fa-glide-g:before{content:""}.fa-signing:before,.fa-sign-language:before{content:""}.fa-low-vision:before{content:""}.fa-viadeo:before{content:""}.fa-viadeo-square:before{content:""}.fa-snapchat:before{content:""}.fa-snapchat-ghost:before{content:""}.fa-snapchat-square:before{content:""}.fa-pied-piper:before{content:""}.fa-first-order:before{content:""}.fa-yoast:before{content:""}.fa-themeisle:before{content:""}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:""}.fa-fa:before,.fa-font-awesome:before{content:""}.fa-handshake-o:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-o:before{content:""}.fa-linode:before{content:""}.fa-address-book:before{content:""}.fa-address-book-o:before{content:""}.fa-vcard:before,.fa-address-card:before{content:""}.fa-vcard-o:before,.fa-address-card-o:before{content:""}.fa-user-circle:before{content:""}.fa-user-circle-o:before{content:""}.fa-user-o:before{content:""}.fa-id-badge:before{content:""}.fa-drivers-license:before,.fa-id-card:before{content:""}.fa-drivers-license-o:before,.fa-id-card-o:before{content:""}.fa-quora:before{content:""}.fa-free-code-camp:before{content:""}.fa-telegram:before{content:""}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:""}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:""}.fa-thermometer-2:before,.fa-thermometer-half:before{content:""}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:""}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:""}.fa-shower:before{content:""}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:""}.fa-podcast:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-times-rectangle:before,.fa-window-close:before{content:""}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:""}.fa-bandcamp:before{content:""}.fa-grav:before{content:""}.fa-etsy:before{content:""}.fa-imdb:before{content:""}.fa-ravelry:before{content:""}.fa-eercast:before{content:""}.fa-microchip:before{content:""}.fa-snowflake-o:before{content:""}.fa-superpowers:before{content:""}.fa-wpexplorer:before{content:""}.fa-meetup:before{content:""}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
|
|
Binary file
|
ldap_ui/statics/index.html
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
<link rel="icon" href="./favicon.ico">
|
|
13
13
|
|
|
14
14
|
<title>Directory</title>
|
|
15
|
-
<script type="module" crossorigin src="./assets/index-
|
|
16
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
15
|
+
<script type="module" crossorigin src="./assets/index-CLhimpsr.js"></script>
|
|
16
|
+
<link rel="stylesheet" crossorigin href="./assets/index-Zs8eqVyc.css">
|
|
17
17
|
</head>
|
|
18
18
|
<body class="bg-back text-front">
|
|
19
19
|
<div id="app"></div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
ldap_ui/__init__.py,sha256=
|
|
1
|
+
ldap_ui/__init__.py,sha256=raMu9XA9JEjvdoTmFqcOw7qhJX24rYDP7XmS59TAO-Q,23
|
|
2
2
|
ldap_ui/__main__.py,sha256=pGLTrBhcUZdJzO8yTJVaZeD9rcR5iGt4rZ11pbuXWi0,1887
|
|
3
3
|
ldap_ui/app.py,sha256=TS2oIcbP78063fKAbiSLNbKcODadWtZhr5w8xsxFjgg,2946
|
|
4
4
|
ldap_ui/entities.py,sha256=z5ibW3IjbR5rm8iHrCHZ1bh2oFja5EC_sBRV0rmBo18,1035
|
|
@@ -7,19 +7,19 @@ ldap_ui/ldap_helpers.py,sha256=22PxAjw1fUQxfBmhscLJrWJpw74K7Od0GjvoqbVuKSU,4458
|
|
|
7
7
|
ldap_ui/schema.py,sha256=XaXvn1WRTyOJHeNyXLLHEbeWBPMtC6deVZ4QDvp_VeY,4387
|
|
8
8
|
ldap_ui/settings.py,sha256=T4yFb4FnO-SzW0dost7Qs2cES3_rdYYIN2i29HdOBgw,2790
|
|
9
9
|
ldap_ui/statics/favicon.ico,sha256=_PMMM_C1ER5cpJTXZcRgISR4igj44kA4u8Trl-Ko3L0,4286
|
|
10
|
-
ldap_ui/statics/index.html,sha256=
|
|
10
|
+
ldap_ui/statics/index.html,sha256=XE7Ic269jR7PAUzusej0jyTbIkk_-FJ0Lymyhc3sTxk,827
|
|
11
11
|
ldap_ui/statics/assets/fontawesome-webfont-B-jkhYfk.woff2,sha256=Kt78vAQefRj88tQXh53FoJmXqmTWdbejxLbOM9oT8_4,77160
|
|
12
12
|
ldap_ui/statics/assets/fontawesome-webfont-CDK5bt4p.woff,sha256=ugxZ3rVFD1y0Gz-TYJ7i0NmVQVh33foiPoqKdTNHTwc,98024
|
|
13
13
|
ldap_ui/statics/assets/fontawesome-webfont-CQDK8MU3.ttf,sha256=qljzPyOaD7AvXHpsRcBD16msmgkzNYBmlOzW1O3A1qg,165548
|
|
14
14
|
ldap_ui/statics/assets/fontawesome-webfont-D13rzr4g.svg,sha256=rWFXkmwWIrpOHQPUePFUE2hSS_xG9R5C_g2UX37zI-Q,444379
|
|
15
15
|
ldap_ui/statics/assets/fontawesome-webfont-G5YE5S7X.eot,sha256=e_yrbbmdXPvxcFygU23ceFhUMsxfpBu9etDwCQM7KXk,165742
|
|
16
|
-
ldap_ui/statics/assets/index-
|
|
17
|
-
ldap_ui/statics/assets/index-
|
|
18
|
-
ldap_ui/statics/assets/index-
|
|
19
|
-
ldap_ui/statics/assets/index-
|
|
20
|
-
ldap_ui-0.
|
|
21
|
-
ldap_ui-0.
|
|
22
|
-
ldap_ui-0.
|
|
23
|
-
ldap_ui-0.
|
|
24
|
-
ldap_ui-0.
|
|
25
|
-
ldap_ui-0.
|
|
16
|
+
ldap_ui/statics/assets/index-CLhimpsr.js,sha256=MyWTpURo_vHF9nGUrDFkCpt6dmMiqwNgW_hg7fyVlhE,129666
|
|
17
|
+
ldap_ui/statics/assets/index-CLhimpsr.js.gz,sha256=0EXgcJlxdqss87mM1q1P0HbDIUTFuOxNedGoD9cOH4s,46810
|
|
18
|
+
ldap_ui/statics/assets/index-Zs8eqVyc.css,sha256=9gSM3_IAhiwl3ube7JBFtgHwr4Ln1NjIaYVQiVsiQJE,47885
|
|
19
|
+
ldap_ui/statics/assets/index-Zs8eqVyc.css.gz,sha256=HXBZMOI-ODQ2Cpyxsu4lwMjY6qCYqcREoi8rvZgcodM,11518
|
|
20
|
+
ldap_ui-0.11.0.dist-info/licenses/LICENSE.txt,sha256=UpJ0sDIqHxbOtzy1EG4bCHs9R_99ODxxPDK4NZ0g3I0,1042
|
|
21
|
+
ldap_ui-0.11.0.dist-info/METADATA,sha256=JoB55lrtdl9qZ37BtnbYx8alU5B4qQhksEYJoCigbAo,7873
|
|
22
|
+
ldap_ui-0.11.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
23
|
+
ldap_ui-0.11.0.dist-info/entry_points.txt,sha256=TGxMkXYeZP5m5NjZxWmgzITYWhSdj2mR_GGUYmHhGws,50
|
|
24
|
+
ldap_ui-0.11.0.dist-info/top_level.txt,sha256=t9Agyig1nDdJuQvx_UVuk1n28pgswc1BIYw8E6pWado,8
|
|
25
|
+
ldap_ui-0.11.0.dist-info/RECORD,,
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|