ldap-ui 0.10.2__py3-none-any.whl → 0.10.3__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 CHANGED
@@ -1 +1 @@
1
- __version__ = "0.10.2"
1
+ __version__ = "0.10.3"
ldap_ui/__main__.py CHANGED
@@ -57,6 +57,11 @@ def print_version(ctx: click.Context, param: click.Parameter, value: bool) -> No
57
57
  help="Log level.",
58
58
  show_default=True,
59
59
  )
60
+ @click.option(
61
+ "--reload",
62
+ is_flag=True,
63
+ help="Watch for changes and reload?",
64
+ )
60
65
  @click.option(
61
66
  "--version",
62
67
  is_flag=True,
@@ -65,7 +70,7 @@ def print_version(ctx: click.Context, param: click.Parameter, value: bool) -> No
65
70
  is_eager=True,
66
71
  help="Display the current version and exit.",
67
72
  )
68
- def main(base_dn, host, port, ldap_url, log_level):
73
+ def main(base_dn, host, port, ldap_url, log_level, reload):
69
74
  logging.basicConfig(level=LOG_LEVELS[log_level])
70
75
  rootHandler = logging.getLogger().handlers[0]
71
76
  rootHandler.setFormatter(ColourizedFormatter(fmt="%(levelprefix)s %(message)s"))
@@ -76,11 +81,7 @@ def main(base_dn, host, port, ldap_url, log_level):
76
81
  if ldap_url is not None:
77
82
  settings.LDAP_URL = ldap_url
78
83
 
79
- uvicorn.run(
80
- "ldap_ui.app:app",
81
- host=host,
82
- port=port,
83
- )
84
+ uvicorn.run("ldap_ui.app:app", host=host, port=port, reload=reload)
84
85
 
85
86
 
86
87
  if __name__ == "__main__":
ldap_ui/ldap_api.py CHANGED
@@ -19,12 +19,12 @@ from fastapi import (
19
19
  Body,
20
20
  Depends,
21
21
  File,
22
+ Header,
22
23
  HTTPException,
23
24
  Response,
24
25
  UploadFile,
25
26
  )
26
27
  from fastapi.responses import PlainTextResponse
27
- from fastapi.security import HTTPBasic, HTTPBasicCredentials
28
28
  from ldap import (
29
29
  INVALID_CREDENTIALS, # type: ignore
30
30
  SCOPE_BASE, # type: ignore
@@ -94,8 +94,8 @@ async def get_root_dse(connection: LDAPObject):
94
94
 
95
95
 
96
96
  async def authenticated(
97
- credentials: Annotated[HTTPBasicCredentials, Depends(HTTPBasic())],
98
97
  connection: Annotated[LDAPObject, Depends(ldap_connect)],
98
+ authorization: Annotated[str | None, Header()] = None,
99
99
  ) -> LDAPObject:
100
100
  "Authenticate against the directory"
101
101
 
@@ -107,11 +107,11 @@ async def authenticated(
107
107
  password = settings.GET_BIND_PASSWORD()
108
108
 
109
109
  # Search for basic auth user
110
- if not dn:
111
- password = credentials.password
112
- dn = settings.GET_BIND_PATTERN(
113
- credentials.username
114
- ) or await anonymous_user_search(connection, credentials.username)
110
+ if not dn and authorization:
111
+ username, password = get_basic_credentials(authorization)
112
+ dn = settings.GET_BIND_PATTERN(username) or await anonymous_user_search(
113
+ connection, username
114
+ )
115
115
 
116
116
  if dn: # Log in
117
117
  await empty(connection, connection.simple_bind(dn, password))
@@ -120,6 +120,13 @@ async def authenticated(
120
120
  raise INVALID_CREDENTIALS([{"desc": f"Invalid credentials for DN: {dn}"}])
121
121
 
122
122
 
123
+ def get_basic_credentials(authorization: str) -> list[str]:
124
+ scheme, credentials = authorization.split(maxsplit=1)
125
+ if scheme.lower() != "basic":
126
+ raise INVALID_CREDENTIALS()
127
+ return base64.b64decode(credentials).decode().split(":", maxsplit=1)
128
+
129
+
123
130
  AuthenticatedConnection = Annotated[LDAPObject, Depends(authenticated)]
124
131
 
125
132
 
ldap_ui/settings.py CHANGED
@@ -30,17 +30,11 @@ BASE_DN = config("BASE_DN", default=None)
30
30
  SCHEMA_DN = config("SCHEMA_DN", default=None)
31
31
 
32
32
  USE_TLS = config(
33
- "USE_TLS",
34
- cast=lambda x: bool(x),
35
- default=LDAP_URL.startswith("ldaps://"),
33
+ "USE_TLS", cast=lambda x: bool(x), default=LDAP_URL.startswith("ldaps://")
36
34
  )
37
35
 
38
36
  # DANGEROUS: Disable TLS host name verification.
39
- INSECURE_TLS = config(
40
- "INSECURE_TLS",
41
- cast=lambda x: bool(x),
42
- default=False,
43
- )
37
+ INSECURE_TLS = config("INSECURE_TLS", cast=lambda x: bool(x), default=False)
44
38
 
45
39
  #
46
40
  # Binding
@@ -54,8 +48,7 @@ def GET_BIND_DN() -> Optional[str]:
54
48
  the UI will NOT ask for a login.
55
49
  You need to secure it otherwise!
56
50
  """
57
- if config("BIND_DN", default=None):
58
- return config("BIND_DN")
51
+ return config("BIND_DN", default=None)
59
52
 
60
53
 
61
54
  def GET_BIND_PATTERN(username) -> Optional[str]:
@@ -0,0 +1,19 @@
1
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
2
+ * @vue/shared v3.5.18
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **//*! #__NO_SIDE_EFFECTS__ */function Is(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const pe={},Vt=[],it=()=>{},vi=()=>!1,zn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Rs=e=>e.startsWith("onUpdate:"),xe=Object.assign,Ms=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},gi=Object.prototype.hasOwnProperty,ae=(e,t)=>gi.call(e,t),B=Array.isArray,Ht=e=>xn(e)==="[object Map]",Yn=e=>xn(e)==="[object Set]",sr=e=>xn(e)==="[object Date]",Y=e=>typeof e=="function",be=e=>typeof e=="string",Xe=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",qr=e=>(me(e)||Y(e))&&Y(e.then)&&Y(e.catch),Kr=Object.prototype.toString,xn=e=>Kr.call(e),yi=e=>xn(e).slice(8,-1),Wr=e=>xn(e)==="[object Object]",Ns=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,sn=Is(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bi=/-(\w)/g,St=Gn(e=>e.replace(bi,(t,n)=>n?n.toUpperCase():"")),wi=/\B([A-Z])/g,Tt=Gn(e=>e.replace(wi,"-$1").toLowerCase()),zr=Gn(e=>e.charAt(0).toUpperCase()+e.slice(1)),us=Gn(e=>e?`on${zr(e)}`:""),Ct=(e,t)=>!Object.is(e,t),Dn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},xs=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Mn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},_i=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let rr;const Jn=()=>rr||(rr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ls(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=be(s)?$i(s):Ls(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(be(e)||me(e))return e}const xi=/;(?![^(]*\))/g,Ci=/:([^]+)/,Si=/\/\*[^]*?\*\//g;function $i(e){const t={};return e.replace(Si,"").split(xi).forEach(n=>{if(n){const s=n.split(Ci);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function je(e){let t="";if(be(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=je(e[n]);s&&(t+=s+" ")}else if(me(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Oi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ti=Is(Oi);function Yr(e){return!!e||e===""}function ki(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Xn(e[s],t[s]);return n}function Xn(e,t){if(e===t)return!0;let n=sr(e),s=sr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Xe(e),s=Xe(t),n||s)return e===t;if(n=B(e),s=B(t),n||s)return n&&s?ki(e,t):!1;if(n=me(e),s=me(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(l&&!a||!l&&a||!Xn(e[o],t[o]))return!1}}return String(e)===String(t)}function Ei(e,t){return e.findIndex(n=>Xn(n,t))}const Gr=e=>!!(e&&e.__v_isRef===!0),se=e=>be(e)?e:e==null?"":B(e)||me(e)&&(e.toString===Kr||!Y(e.toString))?Gr(e)?se(e.value):JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>Gr(t)?Jr(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[cs(s,i)+" =>"]=r,n),{})}:Yn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>cs(n))}:Xe(t)?cs(t):me(t)&&!B(t)&&!Wr(t)?String(t):t,cs=(e,t="")=>{var n;return Xe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
+ * @vue/reactivity v3.5.18
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/let Te;class Ai{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Te,!t&&Te&&(this.index=(Te.scopes||(Te.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=Te;try{return Te=this,t()}finally{Te=n}}}on(){++this._on===1&&(this.prevScope=Te,Te=this)}off(){this._on>0&&--this._on===0&&(Te=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 Xr(){return Te}function ji(e,t=!1){Te&&Te.cleanups.push(e)}let ge;const fs=new WeakSet;class Qr{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,Te&&Te.active&&Te.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||eo(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,or(this),to(this);const t=ge,n=Je;ge=this,Je=!0;try{return this.fn()}finally{no(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(){Cs(this)&&this.run()}get dirty(){return Cs(this)}}let Zr=0,rn,on;function eo(e,t=!1){if(e.flags|=8,t){e.next=on,on=e;return}e.next=rn,rn=e}function Fs(){Zr++}function Us(){if(--Zr>0)return;if(on){let t=on;for(on=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;rn;){let t=rn;for(rn=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 to(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function no(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 Cs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(so(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function so(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===cn)||(e.globalVersion=cn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Cs(e))))return;e.flags|=2;const t=e.dep,n=ge,s=Je;ge=e,Je=!0;try{to(e);const r=e.fn(e._value);(t.version===0||Ct(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ge=n,Je=s,no(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 ro=[];function mt(){ro.push(Je),Je=!1}function vt(){const e=ro.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 cn=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,oo(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++,cn++,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 oo(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)oo(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ss=new WeakMap,Mt=Symbol(""),$s=Symbol(""),fn=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){cn++;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===fn||!Xe(p)&&p>=u)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),c&&l(o.get(fn)),t){case"add":a?c&&l(o.get("length")):(l(o.get(Mt)),Ht(e)&&l(o.get($s)));break;case"delete":a||(l(o.get(Mt)),Ht(e)&&l(o.get($s)));break;case"set":Ht(e)&&l(o.get(Mt));break}}Us()}function Ft(e){const t=oe(e);return t===e?t:(ke(t,"iterate",fn),Ye(e)?t:t.map(Se))}function Qn(e){return ke(e=oe(e),"iterate",fn),e}const Ii={__proto__:null,[Symbol.iterator](){return ds(this,Symbol.iterator,Se)},concat(...e){return Ft(this).concat(...e.map(t=>B(t)?Ft(t):t))},entries(){return ds(this,"entries",e=>(e[1]=Se(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(Se),arguments)},find(e,t){return ut(this,"find",e,t,Se,arguments)},findIndex(e,t){return ut(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ut(this,"findLast",e,t,Se,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 Ft(this).join(e)},lastIndexOf(...e){return ps(this,"lastIndexOf",e)},map(e,t){return ut(this,"map",e,t,void 0,arguments)},pop(){return Zt(this,"pop")},push(...e){return Zt(this,"push",e)},reduce(e,...t){return ir(this,"reduce",e,t)},reduceRight(e,...t){return ir(this,"reduceRight",e,t)},shift(){return Zt(this,"shift")},some(e,t){return ut(this,"some",e,t,void 0,arguments)},splice(...e){return Zt(this,"splice",e)},toReversed(){return Ft(this).toReversed()},toSorted(e){return Ft(this).toSorted(e)},toSpliced(...e){return Ft(this).toSpliced(...e)},unshift(...e){return Zt(this,"unshift",e)},values(){return ds(this,"values",Se)}};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 Ri=Array.prototype;function ut(e,t,n,s,r,i){const o=Qn(e),l=o!==e&&!Ye(e),a=o[t];if(a!==Ri[t]){const f=a.apply(e,i);return l?Se(f):f}let c=n;o!==e&&(l?c=function(f,p){return n.call(this,Se(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,Se(l),a,e)}),r[t](i,...s)}function ps(e,t,n){const s=oe(e);ke(s,"iterate",fn);const r=s[t](...n);return(r===-1||r===!1)&&Ws(n[0])?(n[0]=oe(n[0]),s[t](...n)):r}function Zt(e,t,n=[]){mt(),Fs();const s=oe(e)[t].apply(e,n);return Us(),vt(),s}const Mi=Is("__proto__,__v_isRef,__isVue"),io=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 lo{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:fo:i?co:uo).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)?io.has(n):Mi(n))||(r||ke(t,"get",n),i)?l:De(l)?o&&Ns(n)?l:l.value:me(l)?r?po(l):qs(l):l}}class ao extends lo{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const a=$t(i);if(!Ye(s)&&!$t(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?Ct(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)||!io.has(n))&&ke(t,"has",n),s}ownKeys(t){return ke(t,"iterate",B(t)?"length":Mt),Reflect.ownKeys(t)}}class Li extends lo{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Fi=new ao,Ui=new Li,Vi=new ao(!0);const Os=e=>e,kn=e=>Reflect.getPrototypeOf(e);function Hi(e,t,n){return function(...s){const r=this.__v_raw,i=oe(r),o=Ht(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=r[e](...s),u=n?Os:t?Nn:Se;return!t&&ke(i,"iterate",a?$s:Mt),{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||(Ct(r,l)&&ke(o,"get",r),ke(o,"get",l));const{has:a}=kn(o),c=t?Os:e?Nn:Se;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",Mt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=oe(i),l=oe(r);return e||(Ct(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?Os:e?Nn:Se;return!e&&ke(a,"iterate",Mt),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)&&!$t(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)&&!$t(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?Ct(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 uo=new WeakMap,co=new WeakMap,fo=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 $t(e)?e:Ks(e,!1,Fi,qi,uo)}function Ji(e){return Ks(e,!1,Vi,Ki,co)}function po(e){return Ks(e,!0,Ui,Wi,fo)}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 Bt(e){return $t(e)?Bt(e.__v_raw):!!(e&&e.__v_isReactive)}function $t(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)&&xs(e,"__v_skip",!0),e}const Se=e=>me(e)?qs(e):e,Nn=e=>me(e)?po(e):e;function De(e){return e?e.__v_isRef===!0:!1}function q(e){return ho(e,!1)}function ze(e){return ho(e,!0)}function ho(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:Se(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)||$t(t);t=s?t:oe(t),Ct(t,n)&&(this._rawValue=t,this._value=s?t:Se(t),this.dep.trigger())}}function Xt(e){return De(e)?e.value:e}function qt(e){return Y(e)?e():Xt(e)}const Zi={get:(e,t,n)=>t==="__v_raw"?e:Xt(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 mo(e){return Bt(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=cn-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 eo(this,!0),!0}get value(){const t=this.dep.track();return so(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 Pt;function nl(e,t=!1,n=Pt){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,T=!1;if(De(e)?(f=()=>e.value,C=Ye(e)):Bt(e)?(f=()=>c(e),C=!0):B(e)?(T=!0,C=e.some(R=>Bt(R)||Ye(R)),f=()=>e.map(R=>{if(De(R))return R.value;if(Bt(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=Pt;Pt=u;try{return a?a(e,3,[m]):e(m)}finally{Pt=R}}:f=it,t&&r){const R=f,F=r===!0?1/0:r;f=()=>pt(R(),F)}const U=Xr(),b=()=>{u.stop(),U&&U.active&&Ms(U.effects,u)};if(i&&t){const R=t;t=(...F)=>{R(...F),b()}}let x=T?new Array(e.length).fill(An):An;const L=R=>{if(!(!(u.flags&1)||!u.dirty&&!R))if(t){const F=u.run();if(r||C||(T?F.some((ne,K)=>Ct(ne,x[K])):Ct(F,x))){p&&p();const ne=Pt;Pt=u;try{const K=[F,x===An?void 0:T&&x[0]===An?[]:x,m];x=F,a?a(t,3,K):t(...K)}finally{Pt=ne}}}else u.run()};return l&&l(L),u=new Qr(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 F of R)F();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)||Ht(e))e.forEach(s=>{pt(s,t,n)});else if(Wr(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
+ * @vue/runtime-core v3.5.18
11
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
+ * @license MIT
13
+ **/function Cn(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=Cn(e,t,n,s);return r&&qr(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(),Cn(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 Me=[];let rt=-1;const Kt=[];let wt=null,Ut=0;const vo=Promise.resolve();let Fn=null;function Nt(e){const t=Fn||vo;return e?t.then(this?e.bind(this):e):t}function ol(e){let t=rt+1,n=Me.length;for(;t<n;){const s=t+n>>>1,r=Me[s],i=dn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function zs(e){if(!(e.flags&1)){const t=dn(e),n=Me[Me.length-1];!n||!(e.flags&2)&&t>=dn(n)?Me.push(e):Me.splice(ol(t),0,e),e.flags|=1,go()}}function go(){Fn||(Fn=vo.then(bo))}function il(e){B(e)?Kt.push(...e):wt&&e.id===-1?wt.splice(Ut+1,0,e):e.flags&1||(Kt.push(e),e.flags|=1),go()}function lr(e,t,n=rt+1){for(;n<Me.length;n++){const s=Me[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Me.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function yo(e){if(Kt.length){const t=[...new Set(Kt)].sort((n,s)=>dn(n)-dn(s));if(Kt.length=0,wt){wt.push(...t);return}for(wt=t,Ut=0;Ut<wt.length;Ut++){const n=wt[Ut];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wt=null,Ut=0}}const dn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function bo(e){try{for(rt=0;rt<Me.length;rt++){const t=Me[rt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Cn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;rt<Me.length;rt++){const t=Me[rt];t&&(t.flags&=-2)}rt=-1,Me.length=0,yo(),Fn=null,(Me.length||Kt.length)&&bo()}}let Ae=null,wo=null;function Un(e){const t=Ae;return Ae=e,wo=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 Et(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"),_o=e=>e.__isTeleport,_t=Symbol("_leaveCb"),jn=Symbol("_enterCb");function al(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return kt(()=>{e.isMounted=!0}),Ao(()=>{e.isUnmounting=!0}),e}const We=[Function,Array],xo={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:xo,setup(e,{slots:t}){const n=rs(),s=al();return()=>{const r=t.default&&Oo(t.default(),!0);if(!r||!r.length)return;const i=So(r),o=oe(e),{mode:l}=o;if(s.isLeaving)return hs(i);const a=ar(i);if(!a)return hs(i);let c=Ts(a,o,s,n,f=>c=f);a.type!==Ee&&pn(a,c);let u=n.subTree&&ar(n.subTree);if(u&&u.type!==Ee&&!It(a,u)&&Co(n).type!==Ee){let f=Ts(u,o,s,n);if(pn(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 T=$o(s,u);T[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 So(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 $o(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ts(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:C,onLeaveCancelled:T,onBeforeAppear:U,onAppear:b,onAfterAppear:x,onAppearCancelled:L}=t,R=String(e.key),F=$o(n,e),ne=(W,Z)=>{W&&Qe(W,s,9,Z)},K=(W,Z)=>{const re=Z[1];ne(W,Z),B(W)?W.every(P=>P.length<=1)&&re():W.length<=1&&re()},le={mode:o,persisted:l,beforeEnter(W){let Z=a;if(!n.isMounted)if(i)Z=U||a;else return;W[_t]&&W[_t](!0);const re=F[R];re&&It(e,re)&&re.el[_t]&&re.el[_t](),ne(Z,[W])},enter(W){let Z=c,re=u,P=f;if(!n.isMounted)if(i)Z=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)};Z?K(Z,[W,A]):A()},leave(W,Z){const re=String(e.key);if(W[jn]&&W[jn](!0),n.isUnmounting)return Z();ne(p,[W]);let P=!1;const ue=W[_t]=A=>{P||(P=!0,Z(),A?ne(T,[W]):ne(C,[W]),W[_t]=void 0,F[re]===e&&delete F[re])};F[re]=e,m?K(m,[W,ue]):ue()},clone(W){const Z=Ts(W,t,n,s,r);return r&&r(Z),Z}};return le}function hs(e){if(es(e))return e=Ot(e),e.children=null,e}function ar(e){if(!es(e))return _o(e.type)&&e.children?So(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 pn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,pn(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 Oo(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(Oo(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 ln(e,t,n,s,r=!1){if(B(e)){e.forEach((C,T)=>ln(C,t&&(B(t)?t[T]:t),n,s,r));return}if(Wt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&ln(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))Cn(a,l,12,[o,u]);else{const C=be(a),T=De(a);if(C||T){const U=()=>{if(e.f){const b=C?m(a)?f[a]:u[a]:a.value;r?B(b)&&Ms(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)):T&&(a.value=o,e.k&&(u[e.k]=o))};o?(U.id=-1,Be(U,n)):U()}}}Jn().requestIdleCallback;Jn().cancelIdleCallback;const Wt=e=>!!e.type.__asyncLoader,es=e=>e.type.__isKeepAlive;function fl(e,t){ko(e,"a",t)}function dl(e,t){ko(e,"da",t)}function ko(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);jo(()=>{Ms(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)=>{(!vn||e==="sp")&&ts(e,(...s)=>t(...s),n)},hl=gt("bm"),kt=gt("m"),ml=gt("bu"),Eo=gt("u"),Ao=gt("bum"),jo=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 $e(e,t,n,s){let r;const i=n,o=B(e);if(o||be(e)){const l=o&&Bt(e);let a=!1,c=!1;l&&(a=!Ye(e),c=$t(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(Se(e[u])):Se(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&&Wt(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&&Do(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 Do(e){return e.some(t=>mn(t)?!(t.type===Ee||t.type===ie&&!Do(t.children)):!0)?e:null}const ks=e=>e?Zo(e)?os(e):ks(e.parent):null,an=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=>Io(e),$forceUpdate:e=>e.f||(e.f=()=>{zs(e.update)}),$nextTick:e=>e.n||(e.n=Nt.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=an[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(an,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 xl(e){const t=Io(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:T,deactivated:U,beforeDestroy:b,beforeUnmount:x,destroyed:L,unmounted:R,render:F,renderTracked:ne,renderTriggered:K,errorCaptured:le,serverPrefetch:W,expose:Z,inheritAttrs:re,components:P,directives:ue,filters:A}=t;if(c&&Cl(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,Lt=!Y(fe)&&Y(fe.set)?fe.set.bind(n):it,at=ee({get:Ze,set:Lt});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>at.value,set:Ke=>at.value=Ke})}if(l)for(const Q in l)Po(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(kt,p),k(ml,m),k(Eo,C),k(fl,T),k(dl,U),k(bl,le),k(yl,ne),k(gl,K),k(Ao,x),k(jo,R),k(vl,W),B(Z))if(Z.length){const Q=e.exposed||(e.exposed={});Z.forEach(fe=>{Object.defineProperty(Q,fe,{get:()=>n[fe],set:Ze=>n[fe]=Ze,enumerable:!0})})}else e.exposed||(e.exposed={});F&&e.render===it&&(e.render=F),re!=null&&(e.inheritAttrs=re),P&&(e.components=P),ue&&(e.directives=ue),W&&To(e)}function Cl(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=Oe(r.from||s,r.default,!0):i=Oe(r.from||s):i=Oe(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 Po(e,t,n,s){let r=s.includes(".")?Yo(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=>Po(i,t,n,s));else{const i=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(i)&&Pe(r,i,e)}}function Io(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:nn,computed:nn,beforeCreate:Re,created:Re,beforeMount:Re,mounted:Re,beforeUpdate:Re,updated:Re,beforeDestroy:Re,beforeUnmount:Re,destroyed:Re,unmounted:Re,activated:Re,deactivated:Re,errorCaptured:Re,serverPrefetch:Re,components:nn,directives:nn,watch:Ol,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 nn(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 Re(e,t){return e?[...new Set([].concat(e,t))]:t}function nn(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 Ol(e,t){if(!e)return t;if(!t)return e;const n=xe(Object.create(null),e);for(const s in t)n[s]=Re(e[s],t[s]);return n}function Ro(){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 Tl=0;function kl(e,t){return function(s,r=null){Y(s)||(s=xe({},s)),r!=null&&!me(r)&&(r=null);const i=Ro(),o=new WeakSet,l=[];let a=!1;const c=i.app={_uid:Tl++,_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=zt;zt=c;try{return u()}finally{zt=f}}};return c}}let zt=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 Oe(e,t,n=!1){const s=rs();if(s||zt){let r=zt?zt._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 No={},Lo=()=>Object.create(No),Fo=e=>Object.getPrototypeOf(e)===No;function El(e,t,n,s=!1){const r={},i=Lo();e.propsDefaults=Object.create(null),Uo(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=St(p);r[C]=js(a,l,C,m,e,!1)}else m!==i[p]&&(i[p]=m,c=!0)}}}else{Uo(e,t,r,i)&&(c=!0);let u;for(const f in l)(!t||!ae(t,f)&&((u=Tt(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 Uo(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(sn(a))continue;const c=t[a];let u;r&&ae(r,u=St(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===Tt(n))&&(s=!0))}return s}const jl=new WeakMap;function Vo(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]=Vo(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,Vt),Vt;if(B(i))for(let u=0;u<i.length;u++){const f=St(i[u]);pr(f)&&(o[f]=pe)}else if(i)for(const u in i){const f=St(u);if(pr(f)){const p=i[u],m=o[f]=B(p)||Y(p)?{type:p}:xe({},p),C=m.type;let T=!1,U=!0;if(B(C))for(let b=0;b<C.length;++b){const x=C[b],L=Y(x)&&x.name;if(L==="Boolean"){T=!0;break}else L==="String"&&(U=!1)}else T=Y(C)&&C.name==="Boolean";m[0]=T,m[1]=U,(T||ae(m,"default"))&&l.push(f)}}const c=[o,l];return me(e)&&s.set(e,c),c}function pr(e){return e[0]!=="$"&&!sn(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},Ho=(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}}},Bo=(e,t)=>{const n=Gs(t);e.slots.default=()=>n},qo=(e,t,n)=>{for(const s in t)(n||!Ys(s))&&(e[s]=t[s])},Pl=(e,t,n)=>{const s=e.slots=Lo();if(e.vnode.shapeFlag&32){const r=t.__;r&&xs(s,"__",r,!0);const i=t._;i?(qo(s,t,n),n&&xs(s,"_",i,!0)):Ho(t,s)}else t&&Bo(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:qo(r,t,n):(i=!t.$stable,Ho(t,r)),o=t}else t&&(Bo(e,t),o={default:1});if(i)for(const l in r)!Ys(l)&&o[l]==null&&delete r[l]},Be=Yl;function Rl(e){return Ml(e)}function Ml(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,T=(d,h,v,S=null,w=null,_=null,I=void 0,D=null,j=!!h.dynamicChildren)=>{if(d===h)return;d&&!It(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:U(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?F(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,Ce)}H!=null&&w?ln(H,d&&d.ref,_,h||d,!h):H==null&&d&&d.ref!=null&&ln(d.ref,null,_,d,!0)},U=(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)},F=(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:V,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&&Et(d,null,S,"created"),K(j,d,d.scopeId,I,S),H){for(const ve in H)ve!=="value"&&!sn(ve)&&i(j,ve,null,H[ve],_,S);"value"in H&&i(j,"value",null,H.value,_),($=H.onVnodeBeforeMount)&&st($,S,d)}z&&Et(d,null,S,"beforeMount");const te=Nl(w,V);te&&V.beforeEnter(j),s(j,h,v),(($=H&&H.onVnodeMounted)||te||z)&&Be(()=>{$&&st($,S,d),te&&V.enter(j),z&&Et(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===_||Jo(_.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?xt(d[$]):ot(d[$]);T(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,V=h.props||pe;let z;if(v&&At(v,!1),(z=V.onVnodeBeforeUpdate)&&st(z,v,h,d),H&&Et(h,d,v,"beforeUpdate"),v&&At(v,!0),(M.innerHTML&&V.innerHTML==null||M.textContent&&V.textContent==null)&&u(D,""),$?Z(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,V,v,w);else if(j&2&&M.class!==V.class&&i(D,"class",null,V.class,w),j&4&&i(D,"style",M.style,V.style,w),j&8){const te=h.dynamicProps;for(let ve=0;ve<te.length;ve++){const ce=te[ve],Fe=M[ce],Ue=V[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,V,v,w);((z=V.onVnodeUpdated)||H)&&Be(()=>{z&&st(z,v,h,d),H&&Et(h,d,v,"updated")},S)},Z=(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||!It(j,$)||j.shapeFlag&198)?f(j.el):v;T(j,$,H,null,S,w,_,I,!0)}},re=(d,h,v,S,w)=>{if(h!==v){if(h!==pe)for(const _ in h)!sn(_)&&!(_ in v)&&i(d,_,h[_],null,w,S);for(const _ in v){if(sn(_))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:V,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&&V&&d.dynamicChildren?(Z(d.dynamicChildren,V,v,w,_,I,D),(h.key!=null||w&&h===w.subTree)&&Ko(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=Ce),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:V,u:z,parent:te,vnode:ve}=d;{const tt=Wo(d);if(tt){M&&(M.el=ve.el,Q(d,M,I)),tt.asyncDep.then(()=>{d.isUnmounted||D()});return}}let ce=M,Fe;At(d,!1),M?(M.el=ve.el,Q(d,M,I)):M=ve,V&&Dn(V),(Fe=M.props&&M.props.onVnodeBeforeUpdate)&&st(Fe,te,M,ve),At(d,!0);const Ue=mr(d),et=d.subTree;d.subTree=Ue,T(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:V,props:z}=h,{bm:te,m:ve,parent:ce,root:Fe,type:Ue}=d,et=Wt(h);At(d,!1),te&&Dn(te),!et&&(M=z&&z.onVnodeBeforeMount)&&st(M,ce,h),At(d,!0);{Fe.ce&&Fe.ce._def.shadowRoot!==!1&&Fe.ce._injectChildStyle(Ue);const tt=d.subTree=mr(d);T(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&&Wt(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 Qr(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),At(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:V,shapeFlag:z}=h;if(V>0){if(V&128){Lt($,M,v,S,w,_,I,D,j);return}else if(V&256){Ze($,M,v,S,w,_,I,D,j);return}}z&8?(H&16&&N($,w,_),M!==$&&u(v,M)):H&16?z&16?Lt($,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||Vt,h=h||Vt;const $=d.length,H=h.length,M=Math.min($,H);let V;for(V=0;V<M;V++){const z=h[V]=j?xt(h[V]):ot(h[V]);T(d[V],z,v,null,w,_,I,D,j)}$>H?N(d,w,_,!0,!1,M):le(h,v,S,w,_,I,D,j,M)},Lt=(d,h,v,S,w,_,I,D,j)=>{let $=0;const H=h.length;let M=d.length-1,V=H-1;for(;$<=M&&$<=V;){const z=d[$],te=h[$]=j?xt(h[$]):ot(h[$]);if(It(z,te))T(z,te,v,null,w,_,I,D,j);else break;$++}for(;$<=M&&$<=V;){const z=d[M],te=h[V]=j?xt(h[V]):ot(h[V]);if(It(z,te))T(z,te,v,null,w,_,I,D,j);else break;M--,V--}if($>M){if($<=V){const z=V+1,te=z<H?h[z].el:S;for(;$<=V;)T(null,h[$]=j?xt(h[$]):ot(h[$]),v,te,w,_,I,D,j),$++}}else if($>V)for(;$<=M;)Ke(d[$],w,_,!0),$++;else{const z=$,te=$,ve=new Map;for($=te;$<=V;$++){const He=h[$]=j?xt(h[$]):ot(h[$]);He.key!=null&&ve.set(He.key,$)}let ce,Fe=0;const Ue=V-te+1;let et=!1,tt=0;const Qt=new Array(Ue);for($=0;$<Ue;$++)Qt[$]=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<=V;ce++)if(Qt[ce-te]===0&&It(He,h[ce])){nt=ce;break}nt===void 0?Ke(He,w,_,!0):(Qt[nt-te]=$+1,nt>=tt?tt=nt:et=!0,T(He,h[nt],v,null,w,_,I,D,j),Fe++)}const er=et?Ll(Qt):Vt;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;Qt[$]===0?T(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,Ce);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:V,afterLeave:z}=D,te=()=>{d.ctx.isUnmounted?r(_):s(_,h,v)},ve=()=>{M(_,()=>{te(),z&&z()})};V?V(_,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:V,cacheIndex:z}=d;if(M===-2&&(w=!1),D!=null&&(mt(),ln(D,null,v,d,!0),vt()),z!=null&&(h.renderCache[z]=void 0),H&256){h.ctx.deactivate(d);return}const te=H&1&&V,ve=!Wt(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&&Et(d,null,h,"beforeUnmount"),H&64?d.type.remove(d,h,v,Ce,S):$&&!$.hasOnce&&(_!==ie||M>0&&M&64)?N($,h,v,!1,!0):(_===ie&&M&384||!w&&H&16)&&N(j,h,v),S&&On(d)}(ve&&(ce=I&&I.onVnodeUnmounted)||te)&&Be(()=>{ce&&st(ce,h,d),te&&Et(d,null,h,"unmounted")},v)},On=d=>{const{type:h,el:v,anchor:S,transition:w}=d;if(h===ie){Tn(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 _()},Tn=(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(V=>{H.renderCache[V]=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):T(h._vnode||null,d,h,null,null,null,v),h._vnode=d,de||(de=!0,lr(),yo(),de=!1)},Ce={p:T,um:Ke,m:at,r:On,mt:A,mc:le,pc:fe,pbc:Z,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 At({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 Ko(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]=xt(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Ko(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 Wo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Wo(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=()=>Oe(Fl);function Pe(e,t,n){return zo(e,t,n)}function zo(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(vn){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,T)=>Qe(m,u,C,T);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 vn&&(c?c.push(p):a&&p()),p}function Vl(e,t,n){const s=this.proxy,r=be(e)?e.includes(".")?Yo(s,e):()=>s[e]:e.bind(s,s);let i;Y(t)?i=t:(i=t.handler,n=t);const o=Sn(this),l=zo(r,i.bind(s),n);return o(),l}function Yo(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[`${St(t)}Modifiers`]||e[`${Tt(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(Mn)));let l,a=s[l=us(t)]||s[l=us(St(t))];!a&&i&&(a=s[l=us(Tt(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 Go(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=Go(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,Tt(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:T}=e,U=Un(e);let b,x;try{if(n.shapeFlag&4){const R=r||s,F=R;b=ot(c.call(F,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){un.length=0,Zn(R,e,1),b=G(Ee)}let L=b;if(x&&T!==!1){const R=Object.keys(x),{shapeFlag:F}=L;R.length&&F&7&&(i&&R.some(Rs)&&(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&&pn(L,n.transition),b=L,Un(U),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)(!Rs(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 Jo=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"),un=[];let qe=null;function g(e=!1){un.push(qe=e?null:[])}function Gl(){un.pop(),qe=un[un.length-1]||null}let hn=1;function gr(e,t=!1){hn+=e,e<0&&qe&&t&&(qe.hasOnce=!0)}function Xo(e){return e.dynamicChildren=hn>0?qe||Vt:null,Gl(),hn>0&&qe&&qe.push(e),e}function O(e,t,n,s,r,i){return Xo(E(e,t,n,s,r,i,!0))}function we(e,t,n,s,r){return Xo(G(e,t,n,s,r,!0))}function mn(e){return e?e.__v_isVNode===!0:!1}function It(e,t){return e.type===t.type&&e.key===t.key}const Qo=({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&&Qo(t),ref:t&&Pn(t),scopeId:wo,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),hn>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),mn(e)){const l=Ot(e,t,!0);return n&&Js(l,n),hn>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:Jo(e)?128:_o(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)||Fo(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&&Qo(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&&pn(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()):mn(e)?xt(e):G(ss,null,String(e))}function xt(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&&!Fo(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=Ro();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:Vo(s,r),emitsOptions:Go(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=>vn=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 Zo(e){return e.vnode.shapeFlag&4}let vn=!1;function na(e,t=!1,n=!1){t&&Ds(t);const{props:s,children:r}=e.vnode,i=Zo(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=Cn(s,e,0,[e.props,r]),l=qr(o);if(vt(),i(),(l||e.sp)&&!Wt(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 ei(e)}function br(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=mo(t)),ei(e)}function ei(e,t,n){const s=e.type;e.render||(e.render=s.render||it);{const r=Sn(e);mt();try{xl(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(mo(Xi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in an)return an[n](e)},has(t,n){return n in t||n in an}})):e.proxy}function ia(e){return Y(e)&&"__vccOpts"in e}const ee=(e,t)=>tl(e,t,vn);function la(e,t,n){const s=arguments.length;return s===2?me(t)&&!B(t)?mn(t)?G(e,null,[t]):G(e,t):G(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&mn(n)&&(n=[n]),G(e,t,n))}const aa="3.5.18";/**
14
+ * @vue/runtime-dom v3.5.18
15
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
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 ti=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=ti(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",en="animation",gn=Symbol("_vtc"),ni={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({},xo,ni),pa=e=>(e.displayName="Transition",e.props=da,e),Bn=pa((e,{slots:t})=>la(cl,ha(e),t)),jt=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},xr=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 ni||(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),T=C&&C[0],U=C&&C[1],{onBeforeEnter:b,onEnter:x,onEnterCancelled:L,onLeave:R,onLeaveCancelled:F,onBeforeAppear:ne=b,onAppear:K=x,onAppearCancelled:le=L}=t,W=(P,ue,A,y)=>{P._enterCancelled=y,Dt(P,ue?u:l),Dt(P,ue?c:o),A&&A()},Z=(P,ue)=>{P._isLeaving=!1,Dt(P,f),Dt(P,m),Dt(P,p),ue&&ue()},re=P=>(ue,A)=>{const y=P?K:x,k=()=>W(ue,P,A);jt(y,[ue,k]),Cr(()=>{Dt(ue,P?a:i),ct(ue,P?u:l),xr(y)||Sr(ue,s,T,k)})};return xe(t,{onBeforeEnter(P){jt(b,[P]),ct(P,i),ct(P,o)},onBeforeAppear(P){jt(ne,[P]),ct(P,a),ct(P,c)},onEnter:re(!1),onAppear:re(!0),onLeave(P,ue){P._isLeaving=!0;const A=()=>Z(P,ue);ct(P,f),P._enterCancelled?(ct(P,p),Tr()):(Tr(),ct(P,p)),Cr(()=>{P._isLeaving&&(Dt(P,f),ct(P,m),xr(R)||Sr(P,s,U,A))}),jt(R,[P,A])},onEnterCancelled(P){W(P,!1,void 0,!0),jt(L,[P])},onAppearCancelled(P){W(P,!0,void 0,!0),jt(le,[P])},onLeaveCancelled(P){Z(P),jt(F,[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[gn]||(e[gn]=new Set)).add(t)}function Dt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[gn];n&&(n.delete(t),n.size||(e[gn]=void 0))}function Cr(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(`${en}Delay`),a=s(`${en}Duration`),c=$r(l,a);let u=null,f=0,p=0;t===bt?o>0&&(u=bt,f=o,p=i.length):t===en?c>0&&(u=en,f=c,p=a.length):(f=Math.max(o,c),u=f>0?o>c?bt:en: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)=>Or(n)+Or(e[s])))}function Or(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Tr(){return document.body.offsetHeight}function ya(e,t,n){const s=e[gn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const qn=Symbol("_vod"),si=Symbol("_vsh"),Xs={beforeMount(e,{value:t},{transition:n}){e[qn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):tn(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),tn(e,!0),s.enter(e)):s.leave(e,()=>{tn(e,!1)}):tn(e,t))},beforeUnmount(e,{value:t}){tn(e,t)}};function tn(e,t){e.style.display=t?e[qn]:"none",e[si]=!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[si]&&(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=xa(e,t);kr.test(n)?e.setProperty(Tt(s),n.replace(kr,""),"important"):e[s]=n}}const Er=["Webkit","Moz","ms"],bs={};function xa(e,t){const n=bs[t];if(n)return n;let s=St(t);if(s!=="filter"&&s in e)return bs[t]=s;s=zr(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=Ti(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ar,t.slice(6,t.length)):e.setAttributeNS(Ar,t,n):n==null||i&&!Yr(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"?ti(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=Yr(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 Ca(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&&(Ca(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):Tt(e.slice(2)),t]}let ws=0;const Oa=Promise.resolve(),Ta=()=>ws||(Oa.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=Ta(),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 Rr=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)?Rs(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,St(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&&Rr(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 Rr(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 Mr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Yt=Symbol("_assign"),Gt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Yt]=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=Mn(l)),e[Yt](l)}),n&&Rt(e,"change",()=>{e.value=e.value.trim()}),t||(Rt(e,"compositionstart",Da),Rt(e,"compositionend",Mr),Rt(e,"change",Mr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Yt]=Kn(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Mn(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))}},yn={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?Mn(Wn(o)):Wn(o));e[Yt](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Nt(()=>{e._assigning=!1})}),e[Yt]=Kn(s)},mounted(e,{value:t}){Nr(e,t)},beforeUpdate(e,t,n){e[Yt]=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))},Jt=(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)})},Ra={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=Tt(r.key);if(t.some(o=>o===i||Ra[o]===i))return e(r)})},Ma=xe({patchProp:Aa},fa);let Lr;function Na(){return Lr||(Lr=Rl(Ma))}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"},ri=ye({__name:"Card",props:{title:{}},emits:["close"],setup(e,{emit:t}){const n=t;return(s,r)=>(g(),O("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=Oe("app"),r=ee(()=>s?.schema.attr(n.modelValue)),i=t;return(o,l)=>o.modelValue&&r.value?(g(),we(ri,{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(),O("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(),O("li",Ya,"Equality: "+se(r.value.equality),1)):X("",!0),r.value.ordering?(g(),O("li",Ga,"Ordering: "+se(r.value.ordering),1)):X("",!0),r.value.substr?(g(),O("li",Ja,"Substring: "+se(r.value.substr),1)):X("",!0),E("li",null,[Le(" Syntax: "+se(r.value.$syntax)+" ",1),r.value.binary?(g(),O("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(),O("div",null,[G(Bn,{name:"fade"},{default:he(()=>[e.open?(g(),O("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(),O("div",{key:0,ref:"backdrop",onClick:Jt(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(),O("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:Jt(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=ee(()=>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),O(ie,null,$e(i.value,u=>(g(),O("option",{key:u},se(u),1))),128))],544),[[yn,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=Oe("app"),i=q(),o=q(),l=ee(()=>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),O(ie,null,$e(l.value,f=>(g(),O("option",{key:f},se(f),1))),128))],544),[[yn,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"&"}},oi=({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)}`},ii=({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,oi({explode:i,name:o,style:l,value:a}));continue}if(typeof a=="object"){n=n.replace(r,ii({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},li=({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=oi({allowReserved:e,explode:!0,name:o,style:"form",value:l,...t});a&&i.push(a)}else if(typeof l=="object"){const a=ii({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:li(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=ai(e.headers,t.headers),n},ai=(...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=li({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),xu={"Content-Type":"application/json"},ui=(e={})=>({...cu,headers:xu,parseAs:"auto",querySerializer:_u,...e}),ci=(e={})=>{let t=Vr(ui(),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:ai(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 T;try{T=JSON.parse(C)}catch{}const U=T??C;let b=U;for(const x of r.error._fns)x&&(b=await x(U,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=ci(ui()),Cu=e=>(e.client??Ie).delete({security:[{scheme:"basic",type:"http"}],url:"/api/blob/{attr}/{index}/{dn}",...e}),Su=e=>(e.client??Ie).put({...uu,security:[{scheme:"basic",type:"http"}],url:"/api/blob/{attr}/{index}/{dn}",...e,headers:{"Content-Type":null,...e.headers}}),$u=e=>(e.client??Ie).post({security:[{scheme:"basic",type:"http"}],url:"/api/change-password/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Ou=e=>(e.client??Ie).post({security:[{scheme:"basic",type:"http"}],url:"/api/check-password/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Tu=e=>(e.client??Ie).delete({security:[{scheme:"basic",type:"http"}],url:"/api/entry/{dn}",...e}),ku=e=>(e.client??Ie).get({security:[{scheme:"basic",type:"http"}],url:"/api/entry/{dn}",...e}),Eu=e=>(e.client??Ie).post({security:[{scheme:"basic",type:"http"}],url:"/api/entry/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Au=e=>(e.client??Ie).put({security:[{scheme:"basic",type:"http"}],url:"/api/entry/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ju=e=>(e.client??Ie).post({security:[{scheme:"basic",type:"http"}],url:"/api/ldif",...e,headers:{"Content-Type":"application/json",...e.headers}}),Du=e=>(e.client??Ie).get({security:[{scheme:"basic",type:"http"}],url:"/api/range/{attribute}",...e}),Pu=e=>(e.client??Ie).post({security:[{scheme:"basic",type:"http"}],url:"/api/rename/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Iu=e=>(e?.client??Ie).get({security:[{scheme:"basic",type:"http"}],url:"/api/schema",...e}),Ru=e=>(e.client??Ie).get({security:[{scheme:"basic",type:"http"}],url:"/api/search/{query}",...e}),Mu=e=>(e.client??Ie).get({security:[{scheme:"basic",type:"http"}],url:"/api/subtree/{root_dn}",...e}),Nu=e=>(e.client??Ie).get({security:[{scheme:"basic",type:"http"}],url:"/api/tree/{basedn}",...e}),Lu=e=>(e?.client??Ie).get({security:[{scheme:"basic",type:"http"}],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=Oe("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 Vu(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 Hu{text;attrName;value;constructor(t){this.text=t;const n=t.split("=");this.attrName=n[0].trim(),this.value=n[1].trim()}toString(){return this.text}eq(t){return t!==void 0&&this.attr!==void 0&&this.attr.eq(t.attr)&&this.attr.matcher(this.value,t.value)}get attr(){return ls.attr(this.attrName)}}class bn{text;rdn;parent;constructor(t){this.text=t;const n=t.split(",");this.rdn=new Hu(n[0]),this.parent=n.length==1?void 0:new bn(t.slice(n[0].length+1))}toString(){return this.text}eq(t){return!t||!this.rdn.eq(t.rdn)?!1:!this.parent&&!t.parent?!0:!!this.parent&&this.parent.eq(t.parent)}}let fi=class{oid;name;names;sup};class Bu 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}}const Br={distinguishedNameMatch:(e,t)=>new bn(e).eq(new bn(t)),caseIgnoreIA5Match:(e,t)=>e.toLowerCase()==t.toLowerCase(),caseIgnoreMatch:(e,t)=>e.toLowerCase()==t.toLowerCase(),integerMatch:(e,t)=>+e==+t,numericStringMatch:(e,t)=>+e==+t,octetStringMatch:(e,t)=>e==t};class qu extends fi{desc;equality;obsolete;ordering;no_user_mod;single_value;substr;syntax;usage;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 matcher(){return(this.equality?Br[this.equality]:void 0)||Br.octetStringMatch}eq(t){return t&&this.oid==t.oid}get binary(){if(this.equality!="octetStringMatch")return!!this.$syntax?.not_human_readable}get $syntax(){return ls.syntaxes.get(this.syntax)}get $super(){const t=Object.getPrototypeOf(this);return t.sup?t:void 0}}class Ku{oid;desc;not_human_readable;constructor(t){Object.assign(this,t)}toString(){return this.desc}}class Wu extends Object{attributes;objectClasses;syntaxes;attributesByName;constructor(t){super(),this.syntaxes=new Map(Object.entries(t.syntaxes).map(([n,s])=>[n,new Ku(s)])),this.attributes=Object.values(t.attributes).map(n=>new qu(n)),this.objectClasses=new Map(Object.entries(t.objectClasses).map(([n,s])=>[n.toLowerCase(),new Bu(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 Xr()?(ji(e),!0):!1}const zu=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Yu=e=>e!=null,Gu=Object.prototype.toString,Ju=e=>Gu.call(e)==="[object Object]";function Rn(e){return Array.isArray(e)?e:[e]}function Xu(e){return rs()}function Qu(e,t=!0,n){Xu()?kt(e,n):t?e():Nt(e)}function Zu(e,t,n){return Pe(e,t,{...n,immediate:!0})}const $n=zu?window:void 0;function wn(e){var t;const n=qt(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=ee(()=>{const l=Rn(qt(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=Zu(()=>{var l,a;return[(a=(l=r.value)==null?void 0:l.map(c=>wn(c)))!=null?a:[$n].filter(c=>c!=null),Rn(qt(r.value?e[1]:e[0])),Rn(Xt(r.value?e[2]:e[1])),qt(r.value?e[3]:e[2])]},([l,a,c,u])=>{if(n(),!l?.length||!a?.length||!c?.length)return;const f=Ju(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 ec(){const e=ze(!1),t=rs();return t&&kt(()=>{e.value=!0},t),e}function di(e){const t=ec();return ee(()=>(t.value,!!e()))}function tc(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=ee(()=>{const p=qt(e),m=Rn(p).map(wn).filter(Yu);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 nc(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=ee(()=>{const f=qt(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 sc={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 rc(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),T=typeof t=="function"?t:sc[t],U=K=>{const le=T(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=T(K.touches[0]);le&&([p.value,m.value]=le,C.value="touch")}},x=()=>{if(!c||!i)return;const K=T(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(()=>U(K),{}):K=>U(K),F=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"],F,K),s&&ht(o,"touchend",L,K)),l&&t==="page"&&ht(i,"scroll",ne,K)}return{x:p,y:m,sourceType:C}}function oc(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}=rc(t),u=ze(e??i?.document.body),f=ze(0),p=ze(0),m=ze(0),C=ze(0),T=ze(0),U=ze(0),b=ze(!0);function x(){if(!i)return;const F=wn(u);if(!F||!(F instanceof Element))return;const{left:ne,top:K,width:le,height:W}=F.getBoundingClientRect();m.value=ne+(o==="page"?i.pageXOffset:0),C.value=K+(o==="page"?i.pageYOffset:0),T.value=W,U.value=le;const Z=l.value-m.value,re=a.value-C.value;b.value=le===0||W===0||Z<0||re<0||Z>le||re>W,(r||!b.value)&&(f.value=Z,p.value=re)}const L=[];function R(){L.forEach(F=>F()),L.length=0}if(Qu(()=>{x()}),i){const{stop:F}=nc(u,x),{stop:ne}=tc(u,x,{attributeFilter:["style","class"]}),K=Pe([u,l,a],x);L.push(F,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:T,elementWidth:U,isOutside:b,stop:R}}const ic={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}=oc(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 kt(()=>{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(),O("div",ic,[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}))}}),lc=["onClick","title"],ac=ye({__name:"AttributeSearch",props:{query:{},for:{}},emits:["done"],setup(e,{emit:t}){const n=e,s=Oe("app"),r=q([]),i=ee(()=>(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=[],Nt(()=>{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),O(ie,null,$e(r.value,u=>(g(),O("li",{key:u.oid,onClick:f=>l(u.name),title:u.oid,role:"menuitem"},se(u.name),9,lc))),128))]),_:1},8,["open"]))}}),uc=["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=Oe("app"),r=q([]),i=ee(()=>n.query.trim()!=""&&r.value&&r.value.length>1),o=t;Pe(()=>n.query,async c=>{if(!c)return;const u=await Ru({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=[],Nt(()=>{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),O(ie,null,$e(r.value,f=>(g(),O("li",{key:f.dn,onClick:p=>a(f.dn),title:e.label=="dn"?"":l(f.dn),role:"menuitem"},se(f[e.label]),9,uc))),128))]),_:1},8,["open"]))}}),cc=ye({__name:"ToggleButton",props:{value:{}},emits:["update:value"],setup(e,{emit:t}){const n=e,s=t,r=ee(()=>n.value=="TRUE");return(i,o)=>(g(),O("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)]))}}),fc={key:0,class:"flex mx-4 space-x-4"},dc=["title"],pc={key:0,class:"fa text-emerald-700 ml-1 fa-check"},hc={class:"w-3/4"},mc=["onClick","title"],vc={key:5,class:"mr-5"},gc={key:6},yc=["src"],bc=["onClick"],wc={key:7},_c=["onClick"],xc={key:1,class:"pb-1 border-primary focus-within:border-b border-solid"},Cc=["onClick"],Sc=["value","id","type","placeholder","disabled","title"],$c=["onClick"],Oc={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=Oe("app"),a=q(!0),c=q(),u=q(""),f=q(""),p=q(),m=ee(()=>o.attr.syntax==r.boolean),C=ee(()=>o.attr.syntax==r.distinguishedName),T=ee(()=>o.values.length==1&&o.values[0]==c.value),U=ee(()=>o.values.every(N=>!N.trim())),b=ee(()=>!o.must&&!o.may),x=ee(()=>o.attr.name==o.entry.dn.split("=")[0]),L=ee(()=>o.attr.syntax==r.oid),R=ee(()=>U.value&&o.must),F=ee(()=>o.attr.name=="userPassword"),ne=ee(()=>o.attr.syntax==r.generalizedTime),K=ee(()=>F.value?!1:o.entry.binary.includes(o.attr.name)),le=ee(()=>x.value||o.attr.name=="objectClass"||b.value&&U.value||!o.entry.isNew&&(F.value||K.value)),W=ee(()=>R.value?"  ":U.value?"  ":C.value?"  ":""),Z=ee(()=>o.attr.name=="jpegPhoto"||o.attr.name=="thumbnailPhoto"||!o.attr.no_user_mod&&!K.value),re=ee(()=>F.value?"password":o.attr.syntax==r.telephoneNumber?"tel":o.attr.syntax==r.integer?"number":"text"),P=t;Pe(a,N=>P("valid",N)),kt(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()}),Eo(ue);function ue(){a.value=!R.value&&(!b.value||U.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 Vu(N).toLocaleString(void 0,s)}function Ze(N){return o.attr.name=="objectClass"&&l?.schema.oc(N)?.structural}function Lt(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 On(N){const J=N.target;p.value=J.id;const de=J.value;f.value=de.length>=2&&!de.includes(",")?de:""}function Tn(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 Cu({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&&Z.value?(g(),O("div",fc,[E("div",{class:je([{required:N.must,optional:N.may,rdn:x.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,dc),N.changed?(g(),O("i",pc)):X("",!0)],2),E("div",hc,[(g(!0),O(ie,null,$e(N.values,(de,_e)=>(g(),O("div",{key:_e},[Ze(de)?(g(),O("span",{key:0,onClick:J[1]||(J[1]=Ce=>P("show-modal","add-object-class")),tabindex:"-1",class:"add-btn control font-bold",title:"Add object class…"},"⊕")):Lt(de)?(g(),O("span",{key:1,onClick:Ce=>Q(_e),class:"remove-btn control",title:"Remove "+de},"⊖",8,mc)):F.value?(g(),O("span",{key:2,class:"fa fa-question-circle control",onClick:J[2]||(J[2]=Ce=>P("show-modal","change-password")),tabindex:"-1",title:"change password"})):N.attr.name=="jpegPhoto"||N.attr.name=="thumbnailPhoto"?(g(),O("span",{key:3,onClick:J[3]||(J[3]=Ce=>P("show-modal","add-jpegPhoto")),tabindex:"-1",class:"add-btn control align-top",title:"Add photo…"},"⊕")):Ke(_e)&&!b.value?(g(),O("span",{key:4,onClick:k,class:"add-btn control",title:"Add row"},"⊕")):(g(),O("span",vc)),N.attr.name=="jpegPhoto"||N.attr.name=="thumbnailPhoto"?(g(),O("span",gc,[de?(g(),O("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,yc)):X("",!0),de?(g(),O("span",{key:1,class:"control remove-btn align-top ml-1",onClick:Ce=>as(_e),title:"Remove photo"},"⊖",8,bc)):X("",!0)])):m.value?(g(),O("span",wc,[_e==0&&!N.values[0]?(g(),O("span",{key:0,class:"control text-lg",onClick:Ce=>y(_e,"FALSE")},"⊕",8,_c)):(g(),O("span",xc,[G(cc,{id:N.attr+"-"+_e,value:N.values[_e],class:"mt-2","onUpdate:value":Ce=>y(_e,Ce)},null,8,["id","value","onUpdate:value"]),E("i",{class:"fa fa-trash ml-2 relative -top-0.5 control",onClick:Ce=>y(_e,"")},null,8,Cc)]))])):(g(),O("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:T.value,illegal:b.value&&!U.value||at(_e)}]),placeholder:W.value,disabled:le.value,title:ne.value?fe(de):"",onInput:A,onFocusin:J[4]||(J[4]=Ce=>f.value=""),onKeyup:[On,J[5]||(J[5]=yt(Ce=>f.value="",["esc"]))]},null,42,Sc)),N.attr.name=="objectClass"?(g(),O("i",{key:9,class:"cursor-pointer fa fa-info-circle",onClick:Ce=>P("show-oc",de)},null,8,$c)):X("",!0)]))),128)),C.value&&p.value?(g(),we(pi,{key:0,silent:"",onSelectDn:Tn,for:p.value,query:f.value,label:"dn",shorten:N.baseDn},null,8,["for","query","shorten"])):X("",!0),L.value&&p.value?(g(),we(ac,{key:1,onDone:Tn,for:p.value,query:f.value},null,8,["for","query"])):X("",!0),u.value?(g(),O("div",Oc,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},kc=hi(Tc,[["__scopeId","data-v-6918b285"]]),Ec={key:0,class:"text-danger text-xs mb-1"},Ac=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(),O("div",Ec,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),[[Gt,r.value]])])]),_:1},8,["open","return-to"]))}}),jc=["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=ee(()=>n.oc?" fa-"+(s[n.oc]||"question"):"fa-question"),i=ee(()=>(n.dn||"").split(",")[0].replace(/^cn=/,"").replace(/^krbPrincipalName=/,"")),o=t;function l(a){a&&o("select-dn",a)}return(a,c)=>(g(),O("span",{onClick:c[0]||(c[0]=u=>l(a.dn)),title:a.dn,class:"node-label cursor-pointer select-none"},[a.oc?(g(),O("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,jc))}}),Dc={key:0},Pc=ye({__name:"DeleteEntryDialog",props:{dn:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=q([]),r=t,i=Oe("app");async function o(){const c=await Mu({path:{root_dn:n.dn},client:i?.client});c.data&&(s.value=c.data)}function l(){document.getElementById("ui-modal-ok")?.focus()}function a(){r("update:modal"),r("ok",n.dn)}return(c,u)=>(g(),we(lt,{title:"Are you sure?",open:c.modal=="delete-entry","return-to":c.returnTo,"cancel-classes":"bg-primary/80","ok-classes":"bg-danger/80",onShow:o,onShown:l,onOk:a,onCancel:u[0]||(u[0]=f=>r("update:modal"))},{"modal-ok":he(()=>u[2]||(u[2]=[E("i",{class:"fa fa-trash-o fa-lg"},null,-1),Le(" Delete ",-1)])),default:he(()=>[u[3]||(u[3]=E("p",{class:"strong"},"This action is irreversible.",-1)),s.value.length?(g(),O("div",Dc,[u[1]||(u[1]=E("p",{class:"text-danger mb-2"}," The following child nodes will be also deleted: ",-1)),(g(!0),O(ie,null,$e(s.value,f=>(g(),O("div",{key:f.dn},[(g(!0),O(ie,null,$e(f.level,p=>(g(),O("span",{class:"ml-6",key:p}))),128)),G(_n,{dn:"",oc:f.structuralObjectClass},{default:he(()=>[Le(se(f.dn.split(",")[0]),1)]),_:2},1032,["oc"])]))),128))])):X("",!0)]),_:1,__:[3]},8,["open","return-to"]))}}),Ic=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"]))}}),Rc={class:"relative inline-block text-left mx-1"},Mc=["aria-expanded"],Nc=["aria-hidden"],mi=ye({__name:"DropdownMenu",props:{title:{}},setup(e){const t=q(!1);return(n,s)=>(g(),O("div",Rc,[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]=Jt(r=>t.value=!t.value,["stop"]))},[Ge(n.$slots,"button-content",{},()=>[Le(se(n.title),1)]),(g(),O("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,Nc))],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"])]))}}),Lc={key:0},Fc={key:0},Uc=ye({__name:"NewEntryDialog",props:{dn:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=Oe("app"),r=q(""),i=q(""),o=q(""),l=q(null),a=ee(()=>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 T=a.value?.$super;T;T=T.$super)!T.structural&&T.kind!="abstract"&&m.push(T.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]=T=>c("update:modal")),onShow:u,onShown:C[4]||(C[4]=T=>l.value?.focus())},{default:he(()=>[E("label",null,[C[5]||(C[5]=Le("Object class: ",-1)),Ve(E("select",{ref_key:"select",ref:l,"onUpdate:modelValue":C[0]||(C[0]=T=>r.value=T)},[(g(!0),O(ie,null,$e(Xt(s)?.schema.objectClasses.values(),T=>(g(),O(ie,{key:T.name},[T.structural?(g(),O("option",Lc,se(T),1)):X("",!0)],64))),128))],512),[[yn,r.value]])]),r.value?(g(),O("label",Fc,[C[6]||(C[6]=Le("RDN attribute: ",-1)),Ve(E("select",{"onUpdate:modelValue":C[1]||(C[1]=T=>i.value=T)},[(g(!0),O(ie,null,$e(p(),T=>(g(),O("option",{key:T},se(T),1))),128))],512),[[yn,i.value]])])):X("",!0),r.value?Ve((g(),O("input",{key:1,"onUpdate:modelValue":C[2]||(C[2]=T=>o.value=T),placeholder:"RDN value",onKeyup:yt(f,["enter"])},null,544)),[[Gt,o.value]]):X("",!0)]),_:1},8,["open","return-to"]))}}),Vc={key:0},Hc=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=ee(()=>n.user==n.entry.dn),u=ee(()=>r.value&&r.value==i.value),f=ee(()=>!!n.entry.attrs.userPassword&&n.entry.attrs.userPassword[0]!=""),p=t,m=Oe("app");function C(){s.value=r.value=i.value="",o.value=void 0}function T(){f.value?l.value?.focus():a.value?.focus()}async function U(){if(!s.value||s.value.length==0){o.value=void 0;return}const x=await Ou({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:T,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(),O("div",Vc,[E("small",null,se(c.value?"Required":"Optional"),1),o.value!==void 0?(g(),O("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:U},null,544),[[Gt,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),[[Gt,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),[[Gt,i.value]])]),_:1},8,["open","return-to"]))}}),Bc=ye({__name:"RenameEntryDialog",props:{entry:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=q(),r=q(null),i=ee(()=>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),O(ie,null,$e(i.value,p=>(g(),O("option",{key:p},se(p),1))),128))],544),[[yn,s.value]])])]),_:1},8,["open","return-to"]))}}),qc={key:0,class:"rounded border border-front/20 mb-3 mx-4 flex-auto"},Kc={class:"flex justify-between mb-4 border-b border-front/20 bg-primary/70"},Wc={key:0,class:"py-2 ml-3"},zc={key:1,class:"ml-2"},Yc={role:"menuitem"},Gc=["href"],Jc={class:"flex ml-4 mt-2 space-x-4"},Xc={class:"w-3/4 pl-4"},Qc={class:"w-[90%] space-x-3"},Zc=["disabled"],ef={key:0,type:"reset",accesskey:"r",tabindex:"0",class:"btn bg-secondary"},tf=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=Oe("app"),o=q(),l=q(),a=q([]),c=q(),u=ee(()=>{const A=Object.keys(o.value?.attrs||{});return A.sort((y,k)=>y.toLowerCase().localeCompare(k.toLowerCase())),A}),f=ee(()=>{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){Nt(()=>{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 T(A){o.value=A,p("update:activeDn"),m(R())}function U(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,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 F(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){F(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){F(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){F(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){F(y.error);return}const k=o.value.dn.split(",");k.splice(0,1,A),p("update:activeDn",k.join(","))}async function Z(A){const y=await Tu({path:{dn:A}});if(y.error){F(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?F(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(),O("div",qc,[G(Uc,{modal:c.value,"onUpdate:modal":y[0]||(y[0]=k=>c.value=k),dn:o.value.dn,"return-to":l.value,onOk:T},null,8,["modal","dn","return-to"]),G(Ac,{modal:c.value,"onUpdate:modal":y[1]||(y[1]=k=>c.value=k),entry:o.value,"return-to":l.value,onOk:T},null,8,["modal","entry","return-to"]),G(Bc,{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(Pc,{modal:c.value,"onUpdate:modal":y[3]||(y[3]=k=>c.value=k),dn:o.value.dn,"return-to":l.value,onOk:Z},null,8,["modal","dn","return-to"]),G(Ic,{modal:c.value,"onUpdate:modal":y[4]||(y[4]=k=>c.value=k),dn:r.activeDn,"return-to":l.value,onOk:U,onShown:y[5]||(y[5]=k=>p("update:activeDn"))},null,8,["modal","dn","return-to"]),G(Hc,{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:x},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",Kc,[o.value.isNew?(g(),O("div",Wc,[G(_n,{dn:o.value.dn,oc:f.value},null,8,["dn","oc"])])):(g(),O("div",zc,[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",Yc,[E("a",{href:"api/ldif/"+o.value.dn},"Export",8,Gc)]),E("li",{onClick:y[15]||(y[15]=k=>c.value="delete-entry"),class:"text-danger",role:"menuitem"}," Delete… ")]),_:1})])),o.value.isNew?(g(),O("div",{key:2,class:"control text-2xl mr-2",onClick:y[16]||(y[16]=k=>c.value="discard-entry"),title:"close"}," ⊗ ")):(g(),O("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:Jt(le,["prevent"]),onReset:y[22]||(y[22]=k=>ne(o.value.dn,void 0,void 0)),onFocusin:C},[(g(!0),O(ie,null,$e(u.value,k=>(g(),we(kc,{key:k,"base-dn":r.baseDn,attr:Xt(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",Jc,[y[23]||(y[23]=E("div",{class:"w-1/4"},null,-1)),E("div",Xc,[E("div",Qc,[E("button",{type:"submit",class:"btn bg-primary/70",tabindex:"0",accesskey:"s",disabled:a.value.length!=0}," Submit ",8,Zc),o.value.isNew?X("",!0):(g(),O("button",ef," Reset ")),o.value.isNew?X("",!0):(g(),O("button",{key:1,class:"btn float-right bg-secondary",accesskey:"a",tabindex:"0",onClick:y[21]||(y[21]=Jt(k=>c.value="add-attribute",["prevent"]))}," Add attribute… "))])])])],32)])):X("",!0)}}),nf=ye({__name:"LdifImportDialog",props:{modal:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=q(""),s=t;function r(){n.value=""}function i(l){const a=l.target,c=a.files,u=c[0],f=new FileReader;f.onload=function(){n.value=f.result,a.value=""},f.readAsText(u)}async function o(){if(!n.value)return;s("update:modal"),(await ju({body:n.value})).error||s("ok")}return(l,a)=>(g(),we(lt,{title:"Import",open:l.modal=="ldif-import","ok-title":"Import",onShow:r,onOk:o,onCancel:a[1]||(a[1]=c=>s("update:modal"))},{default:he(()=>[Ve(E("textarea",{"onUpdate:modelValue":a[0]||(a[0]=c=>n.value=c),id:"ldif-data",placeholder:"Paste or upload LDIF"},null,512),[[Gt,n.value]]),E("input",{type:"file",onChange:i,accept:".ldif"},null,32)]),_:1},8,["open"]))}}),sf={class:"px-4 flex flex-col md:flex-row flex-wrap justify-between mt-0 py-1 bg-primary/40"},rf={class:"flex items-center"},of={class:"flex items-center space-x-4 text-lg"},lf=["onClick"],af=ye({__name:"NavBar",props:{baseDn:{},treeOpen:{type:Boolean},user:{}},emits:["select-dn","show-modal","show-oc","update:treeOpen"],setup(e,{emit:t}){const n=Oe("app"),s=q(null),r=q(""),i=q(!1),o=t;function l(){r.value="",Nt(()=>{r.value=s?.value?.value||""})}return(a,c)=>(g(),O("nav",sf,[E("div",rf,[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",of,[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),O(ie,null,$e(Xt(n)?.schema.objectClasses.keys(),u=>(g(),O("li",{role:"menuitem",key:u,onClick:f=>o("show-oc",u)},se(u),9,lf))),128))]),_:1}),E("form",{onSubmit:Jt(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]])]))}}),uf={class:"header"},cf={key:0,class:"mt-2"},ff={class:"list-disc"},df=["onClick"],pf={key:1,class:"mt-2"},hf={class:"list-disc"},mf=["onClick"],vf={key:2,class:"mt-2"},gf={class:"list-disc"},yf=["onClick"],bf=ye({__name:"ObjectClassCard",props:{modelValue:{}},emits:["show-attr","update:modelValue"],setup(e,{emit:t}){const n=e,s=Oe("app"),r=ee(()=>s?.schema.oc(n.modelValue)),i=t;return(o,l)=>o.modelValue&&r.value?(g(),we(ri,{key:0,title:r.value.name||"",class:"ml-4",onClose:l[0]||(l[0]=a=>i("update:modelValue"))},{default:he(()=>[E("div",uf,se(r.value.desc),1),r.value.sup?.length?(g(),O("div",cf,[l[1]||(l[1]=E("i",null,"Superclasses:",-1)),E("ul",ff,[(g(!0),O(ie,null,$e(r.value.sup,a=>(g(),O("li",{key:a},[E("span",{class:"cursor-pointer",onClick:c=>i("update:modelValue",a)},se(a),9,df)]))),128))])])):X("",!0),r.value.$collect("must").length?(g(),O("div",pf,[l[2]||(l[2]=E("i",null,"Required attributes:",-1)),E("ul",hf,[(g(!0),O(ie,null,$e(r.value.$collect("must"),a=>(g(),O("li",{key:a},[E("span",{class:"cursor-pointer",onClick:c=>i("show-attr",a)},se(a),9,mf)]))),128))])])):X("",!0),r.value.$collect("may").length?(g(),O("div",vf,[l[3]||(l[3]=E("i",null,"Optional attributes:",-1)),E("ul",gf,[(g(!0),O(ie,null,$e(r.value.$collect("may"),a=>(g(),O("li",{key:a},[E("span",{class:"cursor-pointer",onClick:c=>i("show-attr",a)},se(a),9,yf)]))),128))])])):X("",!0)]),_:1},8,["title"])):X("",!0)}}),wf={class:"rounded-md bg-front/[.07] p-4 shadow-md shadow-front/20"},_f={key:0,class:"list-unstyled"},xf=["id"],Cf=["onClick"],Sf={key:1,class:"mr-4"},$f={key:0},Of=ye({__name:"TreeView",props:{activeDn:{}},emits:["base-dn","update:activeDn"],setup(e,{emit:t}){class n{dn;level;hasSubordinates;structuralObjectClass;open=!1;subordinates=[];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)}find(f){if(this.dn==f)return this;const p=","+this.dn;if(!(!f.endsWith(p)||!this.hasSubordinates))return this.subordinates.map(m=>m.find(f)).filter(m=>m)[0]}get loaded(){return!this.hasSubordinates||this.subordinates.length>0}parentDns(f){const p=[];for(let m=this.dn;;){p.push(m);const C=m.indexOf(",");if(C==-1||m==f)break;m=m.substring(C+1)}return p}visible(){return!this.hasSubordinates||!this.open?[this]:[this].concat(this.subordinates.flatMap(f=>f.visible()))}}const s=e,r=q(),i=t,o=Oe("app");kt(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 bn(u||r.value.dn),p=[];for(let m=f;m&&(p.push(m),m.toString()!=r.value?.dn);m=m.parent);p.reverse();for(let m=0;m<p.length;++m){const C=p[m].toString(),T=r.value?.find(C);if(!T)break;T.loaded||await a(C),T.open=!0}r.value?.find(f.toString())||(await a(f.parent.toString()),r.value.find(f.parent.toString()).open=!0)});async function l(u){i("update:activeDn",u);const f=r.value?.find(u);f&&f.hasSubordinates&&!f.open&&await c(f)}async function a(u){const f=await Nu({path:{basedn:u},client:o?.client});if(!f.data)return;const p=f.data;if(p.sort((C,T)=>C.dn.toLowerCase().localeCompare(T.dn.toLowerCase())),u=="base"){r.value=new n(p[0]),await c(r.value);return}const m=r.value?.find(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(),O("div",wf,[r.value?(g(),O("ul",_f,[(g(!0),O(ie,null,$e(r.value.visible(),p=>(g(),O("li",{key:p.dn,id:p.dn,class:je(p.structuralObjectClass)},[(g(!0),O(ie,null,$e(p.level-r.value.level,m=>(g(),O("span",{class:"ml-6",key:m}))),128)),p.hasSubordinates?(g(),O("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(),O("span",Sf)),G(_n,{dn:p.dn,oc:p.structuralObjectClass,class:je(["tree-link whitespace-nowrap text-front/80",{active:u.activeDn==p.dn}]),onSelectDn:l},{default:he(()=>[p.level?X("",!0):(g(),O("span",$f,se(p.dn),1))]),_:2},1032,["dn","oc","class"])],10,xf))),128))])):X("",!0)]))}}),Tf=hi(Of,[["__scopeId","data-v-325868f5"]]),kf={key:0,id:"app"},Ef={class:"flex container"},Af={class:"space-y-4"},jf={class:"flex-auto mt-4"},Df=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=ci({baseUrl:window.location.href});Mo("app",{get schema(){return l.value},showInfo:p,showError:C,showException:T,showWarning:m,client:u}),kt(async()=>{const U=await Lu({client:u});if(U.data){t.value=U.data;const b=await Iu({client:u});b.data&&(l.value=new Wu(b.data))}}),Pe(c,U=>{U&&(a.value=void 0)}),Pe(a,U=>{U&&(c.value=void 0)});function p(U){o.value={counter:5,cssClass:"bg-emerald-300",msg:""+U},setTimeout(()=>{o.value=void 0},5e3)}function m(U){o.value={counter:10,cssClass:"bg-amber-200",msg:"⚠️ "+U},setTimeout(()=>{o.value=void 0},1e4)}function C(U){o.value={counter:60,cssClass:"bg-red-300",msg:"⛔ "+U},setTimeout(()=>{o.value=void 0},6e4)}function T(U){const b=document.createElement("span");b.innerHTML=U.replace(`
19
+ `," ");const x=b.getElementsByTagName("title");for(let F=0;F<x.length;++F)b.removeChild(x[F]);let L="";const R=b.getElementsByTagName("h1");for(let F=0;F<R.length;++F)L=L+R[F].textContent+": ",b.removeChild(R[F]);C(L+" "+b.textContent)}return(U,b)=>t.value?(g(),O("div",kf,[G(af,{treeOpen:s.value,"onUpdate:treeOpen":b[0]||(b[0]=x=>s.value=x),dn:r.value,"base-dn":n.value,user:t.value,onShowModal:b[1]||(b[1]=x=>i.value=x),onSelectDn:b[2]||(b[2]=x=>r.value=x),onShowOc:b[3]||(b[3]=x=>a.value=x)},null,8,["treeOpen","dn","base-dn","user"]),G(nf,{modal:i.value,"onUpdate:modal":b[4]||(b[4]=x=>i.value=x),onOk:b[5]||(b[5]=x=>r.value="-")},null,8,["modal"]),E("div",Ef,[E("div",Af,[Ve(G(Tf,{activeDn:r.value,"onUpdate:activeDn":b[6]||(b[6]=x=>r.value=x),onBaseDn:b[7]||(b[7]=x=>n.value=x)},null,8,["activeDn"]),[[Xs,s.value]]),G(bf,{modelValue:a.value,"onUpdate:modelValue":b[8]||(b[8]=x=>a.value=x),onShowAttr:b[9]||(b[9]=x=>c.value=x),onShowOc:b[10]||(b[10]=x=>a.value=x)},null,8,["modelValue"]),G(Qa,{modelValue:c.value,"onUpdate:modelValue":b[11]||(b[11]=x=>c.value=x),onShowAttr:b[12]||(b[12]=x=>c.value=x)},null,8,["modelValue"])]),E("div",jf,[G(Bn,{name:"fade"},{default:he(()=>[o.value?(g(),O("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]=x=>o.value=void 0)},"✖")],2)):X("",!0)]),_:1}),G(tf,{activeDn:r.value,"onUpdate:activeDn":b[14]||(b[14]=x=>r.value=x),user:t.value,onShowAttr:b[15]||(b[15]=x=>c.value=x),onShowOc:b[16]||(b[16]=x=>a.value=x)},null,8,["activeDn","user"])])]),X("",!0)])):X("",!0)}});La(Df).mount("#app");
@@ -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-1fc1f702]{color:rgb(var(--color-front) / .7)}div.illegal[data-v-1fc1f702],input.illegal[data-v-1fc1f702]{--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-1fc1f702],input.structural[data-v-1fc1f702]{font-weight:700}.add-btn[data-v-1fc1f702],.remove-btn[data-v-1fc1f702],.fa-info-circle[data-v-1fc1f702],.fa-question-circle[data-v-1fc1f702]{font-size:1rem;line-height:1.5rem;opacity:.4}.add-btn[data-v-1fc1f702]:hover,.remove-btn[data-v-1fc1f702]:hover,.fa-info-circle[data-v-1fc1f702]:hover,.fa-question-circle[data-v-1fc1f702]:hover{opacity:.7}input.disabled[data-v-1fc1f702],input[data-v-1fc1f702]:disabled{border-bottom-width:0px}input.auto[data-v-1fc1f702]{--tw-text-opacity: 1;color:rgb(var(--color-primary) / var(--tw-text-opacity, 1))}div.rdn span.oc[data-v-1fc1f702]:after{content:" (rdn)";font-weight:200}.active[data-v-325868f5]{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-\[1px\]{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-6918b285]{color:rgb(var(--color-front) / .7)}div.illegal[data-v-6918b285],input.illegal[data-v-6918b285]{--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-6918b285],input.structural[data-v-6918b285]{font-weight:700}.add-btn[data-v-6918b285],.remove-btn[data-v-6918b285],.fa-info-circle[data-v-6918b285],.fa-question-circle[data-v-6918b285]{font-size:1rem;line-height:1.5rem;opacity:.4}.add-btn[data-v-6918b285]:hover,.remove-btn[data-v-6918b285]:hover,.fa-info-circle[data-v-6918b285]:hover,.fa-question-circle[data-v-6918b285]:hover{opacity:.7}input.disabled[data-v-6918b285],input[data-v-6918b285]:disabled{border-bottom-width:0px}input.auto[data-v-6918b285]{--tw-text-opacity: 1;color:rgb(var(--color-primary) / var(--tw-text-opacity, 1))}div.rdn span.oc[data-v-6918b285]:after{content:" (rdn)";font-weight:200}.active[data-v-325868f5]{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}
@@ -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-0D2GdpZj.js"></script>
16
- <link rel="stylesheet" crossorigin href="./assets/index-CAWiQJyn.css">
15
+ <script type="module" crossorigin src="./assets/index-BxbE5Fxl.js"></script>
16
+ <link rel="stylesheet" crossorigin href="./assets/index-sA8CL-9V.css">
17
17
  </head>
18
18
  <body class="bg-back text-front">
19
19
  <div id="app"></div>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ldap-ui
3
- Version: 0.10.2
3
+ Version: 0.10.3
4
4
  Summary: A fast and versatile LDAP editor
5
5
  Author: dnknth
6
6
  License-Expression: MIT
@@ -0,0 +1,25 @@
1
+ ldap_ui/__init__.py,sha256=0C8KcY1dzs3hdkAre06v0NCQ0Uxcqv6g9a93bRcVLW0,23
2
+ ldap_ui/__main__.py,sha256=pGLTrBhcUZdJzO8yTJVaZeD9rcR5iGt4rZ11pbuXWi0,1887
3
+ ldap_ui/app.py,sha256=TS2oIcbP78063fKAbiSLNbKcODadWtZhr5w8xsxFjgg,2946
4
+ ldap_ui/entities.py,sha256=S5inxIka5WKr_LTXoRGXeIRzAgFZuqUIJqBMTdfU1as,773
5
+ ldap_ui/ldap_api.py,sha256=nm9CxqR6JC9PO1B3XAa2-Ql01nijCZ_EtoDvwK4s4MY,16430
6
+ ldap_ui/ldap_helpers.py,sha256=XzI_ZLN978JEVU8EBVVLzUFpW6kXTURiu7COV98SKB0,4517
7
+ ldap_ui/schema.py,sha256=XaXvn1WRTyOJHeNyXLLHEbeWBPMtC6deVZ4QDvp_VeY,4387
8
+ ldap_ui/settings.py,sha256=T4yFb4FnO-SzW0dost7Qs2cES3_rdYYIN2i29HdOBgw,2790
9
+ ldap_ui/statics/favicon.ico,sha256=_PMMM_C1ER5cpJTXZcRgISR4igj44kA4u8Trl-Ko3L0,4286
10
+ ldap_ui/statics/index.html,sha256=x8qFAqY44z2va_8ygCZxueWWzQWdTuWFe6w_93BpMpY,827
11
+ ldap_ui/statics/assets/fontawesome-webfont-B-jkhYfk.woff2,sha256=Kt78vAQefRj88tQXh53FoJmXqmTWdbejxLbOM9oT8_4,77160
12
+ ldap_ui/statics/assets/fontawesome-webfont-CDK5bt4p.woff,sha256=ugxZ3rVFD1y0Gz-TYJ7i0NmVQVh33foiPoqKdTNHTwc,98024
13
+ ldap_ui/statics/assets/fontawesome-webfont-CQDK8MU3.ttf,sha256=qljzPyOaD7AvXHpsRcBD16msmgkzNYBmlOzW1O3A1qg,165548
14
+ ldap_ui/statics/assets/fontawesome-webfont-D13rzr4g.svg,sha256=rWFXkmwWIrpOHQPUePFUE2hSS_xG9R5C_g2UX37zI-Q,444379
15
+ ldap_ui/statics/assets/fontawesome-webfont-G5YE5S7X.eot,sha256=e_yrbbmdXPvxcFygU23ceFhUMsxfpBu9etDwCQM7KXk,165742
16
+ ldap_ui/statics/assets/index-BxbE5Fxl.js,sha256=PWZN7EbSKZTezrFwbGdXrfOUGxt8BWcYlnBFEpuw7L8,129953
17
+ ldap_ui/statics/assets/index-BxbE5Fxl.js.gz,sha256=-JGOqwC2jjKMEYPuYFpe7kzvdEMXiC86abGpQyuf4zI,46735
18
+ ldap_ui/statics/assets/index-sA8CL-9V.css,sha256=HF4Re7ot5MeW_vdcFGDNSU_sQvRmJtOw3tFWQeDzSmk,47885
19
+ ldap_ui/statics/assets/index-sA8CL-9V.css.gz,sha256=7aKlylnuwvDq0i5CtFzpVQboTCRRnhHlBKGva7OyxaY,11520
20
+ ldap_ui-0.10.3.dist-info/licenses/LICENSE.txt,sha256=UpJ0sDIqHxbOtzy1EG4bCHs9R_99ODxxPDK4NZ0g3I0,1042
21
+ ldap_ui-0.10.3.dist-info/METADATA,sha256=ostLLgfTemuQZ4jtXDqal3FwdiZ_cdbDoTeZ-083c7c,7873
22
+ ldap_ui-0.10.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
+ ldap_ui-0.10.3.dist-info/entry_points.txt,sha256=TGxMkXYeZP5m5NjZxWmgzITYWhSdj2mR_GGUYmHhGws,50
24
+ ldap_ui-0.10.3.dist-info/top_level.txt,sha256=t9Agyig1nDdJuQvx_UVuk1n28pgswc1BIYw8E6pWado,8
25
+ ldap_ui-0.10.3.dist-info/RECORD,,
@@ -1,19 +0,0 @@
1
- var ci=Object.defineProperty;var fi=(e,t,n)=>t in e?ci(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var X=(e,t,n)=>fi(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
2
- * @vue/shared v3.5.16
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function ks(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const de={},Ft=[],it=()=>{},di=()=>!1,Bn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Es=e=>e.startsWith("onUpdate:"),Se=Object.assign,As=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pi=Object.prototype.hasOwnProperty,ae=(e,t)=>pi.call(e,t),q=Array.isArray,Ut=e=>yn(e)==="[object Map]",qn=e=>yn(e)==="[object Set]",Ys=e=>yn(e)==="[object Date]",J=e=>typeof e=="function",be=e=>typeof e=="string",Qe=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",Mr=e=>(he(e)||J(e))&&J(e.then)&&J(e.catch),Lr=Object.prototype.toString,yn=e=>Lr.call(e),hi=e=>yn(e).slice(8,-1),Fr=e=>yn(e)==="[object Object]",js=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,tn=ks(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},mi=/-(\w)/g,xt=Kn(e=>e.replace(mi,(t,n)=>n?n.toUpperCase():"")),vi=/\B([A-Z])/g,Tt=Kn(e=>e.replace(vi,"-$1").toLowerCase()),Ur=Kn(e=>e.charAt(0).toUpperCase()+e.slice(1)),rs=Kn(e=>e?`on${Ur(e)}`:""),Ct=(e,t)=>!Object.is(e,t),kn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Vr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},jn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},gi=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let Xs;const Wn=()=>Xs||(Xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ds(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=be(s)?_i(s):Ds(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(be(e)||he(e))return e}const yi=/;(?![^(]*\))/g,bi=/:([^]+)/,wi=/\/\*[^]*?\*\//g;function _i(e){const t={};return e.replace(wi,"").split(yi).forEach(n=>{if(n){const s=n.split(bi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ie(e){let t="";if(be(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const s=Ie(e[n]);s&&(t+=s+" ")}else if(he(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ci="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xi=ks(Ci);function Hr(e){return!!e||e===""}function Si(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=zn(e[s],t[s]);return n}function zn(e,t){if(e===t)return!0;let n=Ys(e),s=Ys(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Qe(e),s=Qe(t),n||s)return e===t;if(n=q(e),s=q(t),n||s)return n&&s?Si(e,t):!1;if(n=he(e),s=he(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(l&&!a||!l&&a||!zn(e[o],t[o]))return!1}}return String(e)===String(t)}function $i(e,t){return e.findIndex(n=>zn(n,t))}const Br=e=>!!(e&&e.__v_isRef===!0),re=e=>be(e)?e:e==null?"":q(e)||he(e)&&(e.toString===Lr||!J(e.toString))?Br(e)?re(e.value):JSON.stringify(e,qr,2):String(e),qr=(e,t)=>Br(t)?qr(e,t.value):Ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[os(s,i)+" =>"]=r,n),{})}:qn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>os(n))}:Qe(t)?os(t):he(t)&&!q(t)&&!Fr(t)?String(t):t,os=(e,t="")=>{var n;return Qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
- * @vue/reactivity v3.5.16
7
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
- * @license MIT
9
- **/let Ae;class Ti{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ae,!t&&Ae&&(this.index=(Ae.scopes||(Ae.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=Ae;try{return Ae=this,t()}finally{Ae=n}}}on(){++this._on===1&&(this.prevScope=Ae,Ae=this)}off(){this._on>0&&--this._on===0&&(Ae=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 Kr(){return Ae}function Oi(e,t=!1){Ae&&Ae.cleanups.push(e)}let ve;const is=new WeakSet;class Wr{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,Ae&&Ae.active&&Ae.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,is.has(this)&&(is.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Gr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Qs(this),Jr(this);const t=ve,n=Xe;ve=this,Xe=!0;try{return this.fn()}finally{Yr(this),ve=t,Xe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ns(t);this.deps=this.depsTail=void 0,Qs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?is.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){gs(this)&&this.run()}get dirty(){return gs(this)}}let zr=0,nn,sn;function Gr(e,t=!1){if(e.flags|=8,t){e.next=sn,sn=e;return}e.next=nn,nn=e}function Ps(){zr++}function Is(){if(--zr>0)return;if(sn){let t=sn;for(sn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;nn;){let t=nn;for(nn=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 Jr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Yr(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ns(s),ki(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function gs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ln)||(e.globalVersion=ln,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!gs(e))))return;e.flags|=2;const t=e.dep,n=ve,s=Xe;ve=e,Xe=!0;try{Jr(e);const r=e.fn(e._value);(t.version===0||Ct(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ve=n,Xe=s,Yr(e),e.flags&=-3}}function Ns(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)Ns(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ki(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Xe=!0;const Qr=[];function ht(){Qr.push(Xe),Xe=!1}function mt(){const e=Qr.pop();Xe=e===void 0?!0:e}function Qs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ve;ve=void 0;try{t()}finally{ve=n}}}let ln=0;class Ei{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 Rs{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}track(t){if(!ve||!Xe||ve===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ve)n=this.activeLink=new Ei(ve,this),ve.deps?(n.prevDep=ve.depsTail,ve.depsTail.nextDep=n,ve.depsTail=n):ve.deps=ve.depsTail=n,Zr(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=ve.depsTail,n.nextDep=void 0,ve.depsTail.nextDep=n,ve.depsTail=n,ve.deps===n&&(ve.deps=s)}return n}trigger(t){this.version++,ln++,this.notify(t)}notify(t){Ps();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Is()}}}function Zr(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)Zr(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ys=new WeakMap,Nt=Symbol(""),bs=Symbol(""),an=Symbol("");function je(e,t,n){if(Xe&&ve){let s=ys.get(e);s||ys.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Rs),r.map=s,r.key=n),r.track()}}function dt(e,t,n,s,r,i){const o=ys.get(e);if(!o){ln++;return}const l=a=>{a&&a.trigger()};if(Ps(),t==="clear")o.forEach(l);else{const a=q(e),c=a&&js(n);if(a&&n==="length"){const u=Number(s);o.forEach((f,p)=>{(p==="length"||p===an||!Qe(p)&&p>=u)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),c&&l(o.get(an)),t){case"add":a?c&&l(o.get("length")):(l(o.get(Nt)),Ut(e)&&l(o.get(bs)));break;case"delete":a||(l(o.get(Nt)),Ut(e)&&l(o.get(bs)));break;case"set":Ut(e)&&l(o.get(Nt));break}}Is()}function Mt(e){const t=ie(e);return t===e?t:(je(t,"iterate",an),Je(e)?t:t.map(Te))}function Gn(e){return je(e=ie(e),"iterate",an),e}const Ai={__proto__:null,[Symbol.iterator](){return ls(this,Symbol.iterator,Te)},concat(...e){return Mt(this).concat(...e.map(t=>q(t)?Mt(t):t))},entries(){return ls(this,"entries",e=>(e[1]=Te(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(Te),arguments)},find(e,t){return ut(this,"find",e,t,Te,arguments)},findIndex(e,t){return ut(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ut(this,"findLast",e,t,Te,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 as(this,"includes",e)},indexOf(...e){return as(this,"indexOf",e)},join(e){return Mt(this).join(e)},lastIndexOf(...e){return as(this,"lastIndexOf",e)},map(e,t){return ut(this,"map",e,t,void 0,arguments)},pop(){return Xt(this,"pop")},push(...e){return Xt(this,"push",e)},reduce(e,...t){return Zs(this,"reduce",e,t)},reduceRight(e,...t){return Zs(this,"reduceRight",e,t)},shift(){return Xt(this,"shift")},some(e,t){return ut(this,"some",e,t,void 0,arguments)},splice(...e){return Xt(this,"splice",e)},toReversed(){return Mt(this).toReversed()},toSorted(e){return Mt(this).toSorted(e)},toSpliced(...e){return Mt(this).toSpliced(...e)},unshift(...e){return Xt(this,"unshift",e)},values(){return ls(this,"values",Te)}};function ls(e,t,n){const s=Gn(e),r=s[t]();return s!==e&&!Je(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const ji=Array.prototype;function ut(e,t,n,s,r,i){const o=Gn(e),l=o!==e&&!Je(e),a=o[t];if(a!==ji[t]){const f=a.apply(e,i);return l?Te(f):f}let c=n;o!==e&&(l?c=function(f,p){return n.call(this,Te(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 Zs(e,t,n,s){const r=Gn(e);let i=n;return r!==e&&(Je(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,Te(l),a,e)}),r[t](i,...s)}function as(e,t,n){const s=ie(e);je(s,"iterate",an);const r=s[t](...n);return(r===-1||r===!1)&&Us(n[0])?(n[0]=ie(n[0]),s[t](...n)):r}function Xt(e,t,n=[]){ht(),Ps();const s=ie(e)[t].apply(e,n);return Is(),mt(),s}const Di=ks("__proto__,__v_isRef,__isVue"),eo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qe));function Pi(e){Qe(e)||(e=String(e));const t=ie(this);return je(t,"has",e),t.hasOwnProperty(e)}class to{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?Bi:oo:i?ro:so).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=q(t);if(!r){let a;if(o&&(a=Ai[n]))return a;if(n==="hasOwnProperty")return Pi}const l=Reflect.get(t,n,Ne(t)?t:s);return(Qe(n)?eo.has(n):Di(n))||(r||je(t,"get",n),i)?l:Ne(l)?o&&js(n)?l:l.value:he(l)?r?io(l):Ls(l):l}}class no extends to{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const a=St(i);if(!Je(s)&&!St(s)&&(i=ie(i),s=ie(s)),!q(t)&&Ne(i)&&!Ne(s))return a?!1:(i.value=s,!0)}const o=q(t)&&js(n)?Number(n)<t.length:ae(t,n),l=Reflect.set(t,n,s,Ne(t)?t:r);return t===ie(r)&&(o?Ct(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(!Qe(n)||!eo.has(n))&&je(t,"has",n),s}ownKeys(t){return je(t,"iterate",q(t)?"length":Nt),Reflect.ownKeys(t)}}class Ii extends to{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Ni=new no,Ri=new Ii,Mi=new no(!0);const ws=e=>e,Sn=e=>Reflect.getPrototypeOf(e);function Li(e,t,n){return function(...s){const r=this.__v_raw,i=ie(r),o=Ut(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=r[e](...s),u=n?ws:t?Dn:Te;return!t&&je(i,"iterate",a?bs: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 $n(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Fi(e,t){const n={get(r){const i=this.__v_raw,o=ie(i),l=ie(r);e||(Ct(r,l)&&je(o,"get",r),je(o,"get",l));const{has:a}=Sn(o),c=t?ws:e?Dn:Te;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&&je(ie(r),"iterate",Nt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=ie(i),l=ie(r);return e||(Ct(r,l)&&je(o,"has",r),je(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=ie(l),c=t?ws:e?Dn:Te;return!e&&je(a,"iterate",Nt),l.forEach((u,f)=>r.call(i,c(u),c(f),o))}};return Se(n,e?{add:$n("add"),set:$n("set"),delete:$n("delete"),clear:$n("clear")}:{add(r){!t&&!Je(r)&&!St(r)&&(r=ie(r));const i=ie(this);return Sn(i).has.call(i,r)||(i.add(r),dt(i,"add",r,r)),this},set(r,i){!t&&!Je(i)&&!St(i)&&(i=ie(i));const o=ie(this),{has:l,get:a}=Sn(o);let c=l.call(o,r);c||(r=ie(r),c=l.call(o,r));const u=a.call(o,r);return o.set(r,i),c?Ct(i,u)&&dt(o,"set",r,i):dt(o,"add",r,i),this},delete(r){const i=ie(this),{has:o,get:l}=Sn(i);let a=o.call(i,r);a||(r=ie(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=ie(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]=Li(r,e,t)}),n}function Ms(e,t){const n=Fi(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 Ui={get:Ms(!1,!1)},Vi={get:Ms(!1,!0)},Hi={get:Ms(!0,!1)};const so=new WeakMap,ro=new WeakMap,oo=new WeakMap,Bi=new WeakMap;function qi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ki(e){return e.__v_skip||!Object.isExtensible(e)?0:qi(hi(e))}function Ls(e){return St(e)?e:Fs(e,!1,Ni,Ui,so)}function Wi(e){return Fs(e,!1,Mi,Vi,ro)}function io(e){return Fs(e,!0,Ri,Hi,oo)}function Fs(e,t,n,s,r){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Ki(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 Vt(e){return St(e)?Vt(e.__v_raw):!!(e&&e.__v_isReactive)}function St(e){return!!(e&&e.__v_isReadonly)}function Je(e){return!!(e&&e.__v_isShallow)}function Us(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function zi(e){return!ae(e,"__v_skip")&&Object.isExtensible(e)&&Vr(e,"__v_skip",!0),e}const Te=e=>he(e)?Ls(e):e,Dn=e=>he(e)?io(e):e;function Ne(e){return e?e.__v_isRef===!0:!1}function U(e){return Gi(e,!1)}function Gi(e,t){return Ne(e)?e:new Ji(e,t)}class Ji{constructor(t,n){this.dep=new Rs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ie(t),this._value=n?t:Te(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Je(t)||St(t);t=s?t:ie(t),Ct(t,n)&&(this._rawValue=t,this._value=s?t:Te(t),this.dep.trigger())}}function bn(e){return Ne(e)?e.value:e}const Yi={get:(e,t,n)=>t==="__v_raw"?e:bn(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ne(r)&&!Ne(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function lo(e){return Vt(e)?e:new Proxy(e,Yi)}class Xi{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Rs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ln-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ve!==this)return Gr(this,!0),!0}get value(){const t=this.dep.track();return Xr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Qi(e,t,n=!1){let s,r;return J(e)?s=e:(s=e.get,r=e.set),new Xi(s,r,n)}const Tn={},Pn=new WeakMap;let jt;function Zi(e,t=!1,n=jt){if(n){let s=Pn.get(n);s||Pn.set(n,s=[]),s.push(e)}}function el(e,t,n=de){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:a}=n,c=N=>r?N:Je(N)||r===!1||r===0?pt(N,1):pt(N);let u,f,p,m,_=!1,P=!1;if(Ne(e)?(f=()=>e.value,_=Je(e)):Vt(e)?(f=()=>c(e),_=!0):q(e)?(P=!0,_=e.some(N=>Vt(N)||Je(N)),f=()=>e.map(N=>{if(Ne(N))return N.value;if(Vt(N))return c(N);if(J(N))return a?a(N,2):N()})):J(e)?t?f=a?()=>a(e,2):e:f=()=>{if(p){ht();try{p()}finally{mt()}}const N=jt;jt=u;try{return a?a(e,3,[m]):e(m)}finally{jt=N}}:f=it,t&&r){const N=f,R=r===!0?1/0:r;f=()=>pt(N(),R)}const T=Kr(),g=()=>{u.stop(),T&&T.active&&As(T.effects,u)};if(i&&t){const N=t;t=(...R)=>{N(...R),g()}}let E=P?new Array(e.length).fill(Tn):Tn;const H=N=>{if(!(!(u.flags&1)||!u.dirty&&!N))if(t){const R=u.run();if(r||_||(P?R.some((Z,ye)=>Ct(Z,E[ye])):Ct(R,E))){p&&p();const Z=jt;jt=u;try{const ye=[R,E===Tn?void 0:P&&E[0]===Tn?[]:E,m];E=R,a?a(t,3,ye):t(...ye)}finally{jt=Z}}}else u.run()};return l&&l(H),u=new Wr(f),u.scheduler=o?()=>o(H,!1):H,m=N=>Zi(N,!1,u),p=u.onStop=()=>{const N=Pn.get(u);if(N){if(a)a(N,4);else for(const R of N)R();Pn.delete(u)}},t?s?H(!0):E=u.run():o?o(H.bind(null,!0),!0):u.run(),g.pause=u.pause.bind(u),g.resume=u.resume.bind(u),g.stop=g,g}function pt(e,t=1/0,n){if(t<=0||!he(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ne(e))pt(e.value,t,n);else if(q(e))for(let s=0;s<e.length;s++)pt(e[s],t,n);else if(qn(e)||Ut(e))e.forEach(s=>{pt(s,t,n)});else if(Fr(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
- * @vue/runtime-core v3.5.16
11
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
- * @license MIT
13
- **/function wn(e,t,n,s){try{return s?e(...s):e()}catch(r){Jn(r,t,n)}}function Ze(e,t,n,s){if(J(e)){const r=wn(e,t,n,s);return r&&Mr(r)&&r.catch(i=>{Jn(i,t,n)}),r}if(q(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Ze(e[i],t,n,s));return r}}function Jn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||de;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){ht(),wn(i,null,10,[e,a,c]),mt();return}}tl(e,n,r,s,o)}function tl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Le=[];let rt=-1;const Ht=[];let bt=null,Lt=0;const ao=Promise.resolve();let In=null;function Gt(e){const t=In||ao;return e?t.then(this?e.bind(this):e):t}function nl(e){let t=rt+1,n=Le.length;for(;t<n;){const s=t+n>>>1,r=Le[s],i=un(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Vs(e){if(!(e.flags&1)){const t=un(e),n=Le[Le.length-1];!n||!(e.flags&2)&&t>=un(n)?Le.push(e):Le.splice(nl(t),0,e),e.flags|=1,uo()}}function uo(){In||(In=ao.then(fo))}function sl(e){q(e)?Ht.push(...e):bt&&e.id===-1?bt.splice(Lt+1,0,e):e.flags&1||(Ht.push(e),e.flags|=1),uo()}function er(e,t,n=rt+1){for(;n<Le.length;n++){const s=Le[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Le.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function co(e){if(Ht.length){const t=[...new Set(Ht)].sort((n,s)=>un(n)-un(s));if(Ht.length=0,bt){bt.push(...t);return}for(bt=t,Lt=0;Lt<bt.length;Lt++){const n=bt[Lt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}bt=null,Lt=0}}const un=e=>e.id==null?e.flags&2?-1:1/0:e.id;function fo(e){try{for(rt=0;rt<Le.length;rt++){const t=Le[rt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),wn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;rt<Le.length;rt++){const t=Le[rt];t&&(t.flags&=-2)}rt=-1,Le.length=0,co(),In=null,(Le.length||Ht.length)&&fo()}}let Oe=null,po=null;function Nn(e){const t=Oe;return Oe=e,po=e&&e.type.__scopeId||null,t}function pe(e,t=Oe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&cr(-1);const i=Nn(t);let o;try{o=e(...r)}finally{Nn(i),s._d&&cr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Ve(e,t){if(Oe===null)return e;const n=es(Oe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,a=de]=t[r];i&&(J(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 Ot(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&&(ht(),Ze(a,n,8,[e.el,l,e,t]),mt())}}const rl=Symbol("_vte"),ho=e=>e.__isTeleport,wt=Symbol("_leaveCb"),On=Symbol("_enterCb");function ol(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Jt(()=>{e.isMounted=!0}),xo(()=>{e.isUnmounting=!0}),e}const Ge=[Function,Array],mo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ge,onEnter:Ge,onAfterEnter:Ge,onEnterCancelled:Ge,onBeforeLeave:Ge,onLeave:Ge,onAfterLeave:Ge,onLeaveCancelled:Ge,onBeforeAppear:Ge,onAppear:Ge,onAfterAppear:Ge,onAppearCancelled:Ge},vo=e=>{const t=e.subTree;return t.component?vo(t.component):t},il={name:"BaseTransition",props:mo,setup(e,{slots:t}){const n=Zl(),s=ol();return()=>{const r=t.default&&bo(t.default(),!0);if(!r||!r.length)return;const i=go(r),o=ie(e),{mode:l}=o;if(s.isLeaving)return us(i);const a=tr(i);if(!a)return us(i);let c=_s(a,o,s,n,f=>c=f);a.type!==De&&cn(a,c);let u=n.subTree&&tr(n.subTree);if(u&&u.type!==De&&!Dt(a,u)&&vo(n).type!==De){let f=_s(u,o,s,n);if(cn(u,f),l==="out-in"&&a.type!==De)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},us(i);l==="in-out"&&a.type!==De?f.delayLeave=(p,m,_)=>{const P=yo(s,u);P[String(u.key)]=u,p[wt]=()=>{m(),p[wt]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{_(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function go(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==De){t=n;break}}return t}const ll=il;function yo(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 _s(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:_,onLeaveCancelled:P,onBeforeAppear:T,onAppear:g,onAfterAppear:E,onAppearCancelled:H}=t,N=String(e.key),R=yo(n,e),Z=(Y,ne)=>{Y&&Ze(Y,s,9,ne)},ye=(Y,ne)=>{const fe=ne[1];Z(Y,ne),q(Y)?Y.every(I=>I.length<=1)&&fe():Y.length<=1&&fe()},_e={mode:o,persisted:l,beforeEnter(Y){let ne=a;if(!n.isMounted)if(i)ne=T||a;else return;Y[wt]&&Y[wt](!0);const fe=R[N];fe&&Dt(e,fe)&&fe.el[wt]&&fe.el[wt](),Z(ne,[Y])},enter(Y){let ne=c,fe=u,I=f;if(!n.isMounted)if(i)ne=g||c,fe=E||u,I=H||f;else return;let ue=!1;const A=Y[On]=y=>{ue||(ue=!0,y?Z(I,[Y]):Z(fe,[Y]),_e.delayedLeave&&_e.delayedLeave(),Y[On]=void 0)};ne?ye(ne,[Y,A]):A()},leave(Y,ne){const fe=String(e.key);if(Y[On]&&Y[On](!0),n.isUnmounting)return ne();Z(p,[Y]);let I=!1;const ue=Y[wt]=A=>{I||(I=!0,ne(),A?Z(P,[Y]):Z(_,[Y]),Y[wt]=void 0,R[fe]===e&&delete R[fe])};R[fe]=e,m?ye(m,[Y,ue]):ue()},clone(Y){const ne=_s(Y,t,n,s,r);return r&&r(ne),ne}};return _e}function us(e){if(Yn(e))return e=$t(e),e.children=null,e}function tr(e){if(!Yn(e))return ho(e.type)&&e.children?go(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&&J(n.default))return n.default()}}function cn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,cn(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 bo(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===le?(o.patchFlag&128&&r++,s=s.concat(bo(o.children,t,l))):(t||o.type!==De)&&s.push(l!=null?$t(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 ge(e,t){return J(e)?Se({name:e.name},t,{setup:e}):e}function wo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Rn(e,t,n,s,r=!1){if(q(e)){e.forEach((_,P)=>Rn(_,t&&(q(t)?t[P]:t),n,s,r));return}if(Bt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Rn(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?es(s.component):s.el,o=r?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===de?l.refs={}:l.refs,f=l.setupState,p=ie(f),m=f===de?()=>!1:_=>ae(p,_);if(c!=null&&c!==a&&(be(c)?(u[c]=null,m(c)&&(f[c]=null)):Ne(c)&&(c.value=null)),J(a))wn(a,l,12,[o,u]);else{const _=be(a),P=Ne(a);if(_||P){const T=()=>{if(e.f){const g=_?m(a)?f[a]:u[a]:a.value;r?q(g)&&As(g,i):q(g)?g.includes(i)||g.push(i):_?(u[a]=[i],m(a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else _?(u[a]=o,m(a)&&(f[a]=o)):P&&(a.value=o,e.k&&(u[e.k]=o))};o?(T.id=-1,Ke(T,n)):T()}}}Wn().requestIdleCallback;Wn().cancelIdleCallback;const Bt=e=>!!e.type.__asyncLoader,Yn=e=>e.type.__isKeepAlive;function al(e,t){_o(e,"a",t)}function ul(e,t){_o(e,"da",t)}function _o(e,t,n=Pe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Xn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Yn(r.parent.vnode)&&cl(s,t,n,r),r=r.parent}}function cl(e,t,n,s){const r=Xn(t,e,s,!0);So(()=>{As(s[t],r)},n)}function Xn(e,t,n=Pe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ht();const l=_n(n),a=Ze(t,n,e,o);return l(),mt(),a});return s?r.unshift(i):r.push(i),i}}const vt=e=>(t,n=Pe)=>{(!pn||e==="sp")&&Xn(e,(...s)=>t(...s),n)},fl=vt("bm"),Jt=vt("m"),dl=vt("bu"),Co=vt("u"),xo=vt("bum"),So=vt("um"),pl=vt("sp"),hl=vt("rtg"),ml=vt("rtc");function vl(e,t=Pe){Xn("ec",e,t)}const gl=Symbol.for("v-ndc");function ke(e,t,n,s){let r;const i=n,o=q(e);if(o||be(e)){const l=o&&Vt(e);let a=!1,c=!1;l&&(a=!Je(e),c=St(e),e=Gn(e)),r=new Array(e.length);for(let u=0,f=e.length;u<f;u++)r[u]=t(a?c?Dn(Te(e[u])):Te(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(he(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 Ye(e,t,n={},s,r){if(Oe.ce||Oe.parent&&Bt(Oe.parent)&&Oe.parent.ce)return t!=="default"&&(n.name=t),b(),we(le,null,[G("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),b();const o=i&&$o(i(n)),l=n.key||o&&o.key,a=we(le,{key:(l&&!Qe(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 $o(e){return e.some(t=>dn(t)?!(t.type===De||t.type===le&&!$o(t.children)):!0)?e:null}const Cs=e=>e?Wo(e)?es(e):Cs(e.parent):null,rn=Se(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=>Cs(e.parent),$root:e=>Cs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Oo(e),$forceUpdate:e=>e.f||(e.f=()=>{Vs(e.update)}),$nextTick:e=>e.n||(e.n=Gt.bind(e.proxy)),$watch:e=>Ll.bind(e)}),cs=(e,t)=>e!==de&&!e.__isScriptSetup&&ae(e,t),yl={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(cs(s,t))return o[t]=1,s[t];if(r!==de&&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!==de&&ae(n,t))return o[t]=4,n[t];xs&&(o[t]=0)}}const u=rn[t];let f,p;if(u)return t==="$attrs"&&je(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==de&&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 cs(r,t)?(r[t]=n,!0):s!==de&&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!==de&&ae(e,o)||cs(t,o)||(l=i[0])&&ae(l,o)||ae(s,o)||ae(rn,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 nr(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let xs=!0;function bl(e){const t=Oo(e),n=e.proxy,s=e.ctx;xs=!1,t.beforeCreate&&sr(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:_,activated:P,deactivated:T,beforeDestroy:g,beforeUnmount:E,destroyed:H,unmounted:N,render:R,renderTracked:Z,renderTriggered:ye,errorCaptured:_e,serverPrefetch:Y,expose:ne,inheritAttrs:fe,components:I,directives:ue,filters:A}=t;if(c&&wl(c,s,null),o)for(const z in o){const oe=o[z];J(oe)&&(s[z]=oe.bind(n))}if(r){const z=r.call(n,n);he(z)&&(e.data=Ls(z))}if(xs=!0,i)for(const z in i){const oe=i[z],Ce=J(oe)?oe.bind(n,n):J(oe.get)?oe.get.bind(n,n):it,Rt=!J(oe)&&J(oe.set)?oe.set.bind(n):it,at=se({get:Ce,set:Rt});Object.defineProperty(s,z,{enumerable:!0,configurable:!0,get:()=>at.value,set:ze=>at.value=ze})}if(l)for(const z in l)To(l[z],s,n,z);if(a){const z=J(a)?a.call(n):a;Reflect.ownKeys(z).forEach(oe=>{Eo(oe,z[oe])})}u&&sr(u,e,"c");function O(z,oe){q(oe)?oe.forEach(Ce=>z(Ce.bind(n))):oe&&z(oe.bind(n))}if(O(fl,f),O(Jt,p),O(dl,m),O(Co,_),O(al,P),O(ul,T),O(vl,_e),O(ml,Z),O(hl,ye),O(xo,E),O(So,N),O(pl,Y),q(ne))if(ne.length){const z=e.exposed||(e.exposed={});ne.forEach(oe=>{Object.defineProperty(z,oe,{get:()=>n[oe],set:Ce=>n[oe]=Ce})})}else e.exposed||(e.exposed={});R&&e.render===it&&(e.render=R),fe!=null&&(e.inheritAttrs=fe),I&&(e.components=I),ue&&(e.directives=ue),Y&&wo(e)}function wl(e,t,n=it){q(e)&&(e=Ss(e));for(const s in e){const r=e[s];let i;he(r)?"default"in r?i=Ee(r.from||s,r.default,!0):i=Ee(r.from||s):i=Ee(r),Ne(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function sr(e,t,n){Ze(q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function To(e,t,n,s){let r=s.includes(".")?Vo(n,s):()=>n[s];if(be(e)){const i=t[e];J(i)&&He(r,i)}else if(J(e))He(r,e.bind(n));else if(he(e))if(q(e))e.forEach(i=>To(i,t,n,s));else{const i=J(e.handler)?e.handler.bind(n):t[e.handler];J(i)&&He(r,i,e)}}function Oo(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=>Mn(a,c,o,!0)),Mn(a,t,o)),he(t)&&i.set(t,a),a}function Mn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Mn(e,i,n,!0),r&&r.forEach(o=>Mn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=_l[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const _l={data:rr,props:or,emits:or,methods:en,computed:en,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:en,directives:en,watch:xl,provide:rr,inject:Cl};function rr(e,t){return t?e?function(){return Se(J(e)?e.call(this,this):e,J(t)?t.call(this,this):t)}:t:e}function Cl(e,t){return en(Ss(e),Ss(t))}function Ss(e){if(q(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 en(e,t){return e?Se(Object.create(null),e,t):t}function or(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:Se(Object.create(null),nr(e),nr(t??{})):t}function xl(e,t){if(!e)return t;if(!t)return e;const n=Se(Object.create(null),e);for(const s in t)n[s]=Me(e[s],t[s]);return n}function ko(){return{app:null,config:{isNativeTag:di,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 Sl=0;function $l(e,t){return function(s,r=null){J(s)||(s=Se({},s)),r!=null&&!he(r)&&(r=null);const i=ko(),o=new WeakSet,l=[];let a=!1;const c=i.app={_uid:Sl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:ia,get config(){return i.config},set config(u){},use(u,...f){return o.has(u)||(u&&J(u.install)?(o.add(u),u.install(c,...f)):J(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,es(m.component)}},onUnmount(u){l.push(u)},unmount(){a&&(Ze(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=qt;qt=c;try{return u()}finally{qt=f}}};return c}}let qt=null;function Eo(e,t){if(Pe){let n=Pe.provides;const s=Pe.parent&&Pe.parent.provides;s===n&&(n=Pe.provides=Object.create(s)),n[e]=t}}function Ee(e,t,n=!1){const s=Pe||Oe;if(s||qt){let r=qt?qt._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&&J(t)?t.call(s&&s.proxy):t}}const Ao={},jo=()=>Object.create(Ao),Do=e=>Object.getPrototypeOf(e)===Ao;function Tl(e,t,n,s=!1){const r={},i=jo();e.propsDefaults=Object.create(null),Po(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Wi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Ol(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=ie(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(Qn(e.emitsOptions,p))continue;const m=t[p];if(a)if(ae(i,p))m!==i[p]&&(i[p]=m,c=!0);else{const _=xt(p);r[_]=$s(a,l,_,m,e,!1)}else m!==i[p]&&(i[p]=m,c=!0)}}}else{Po(e,t,r,i)&&(c=!0);let u;for(const f in l)(!t||!ae(t,f)&&((u=Tt(f))===f||!ae(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(r[f]=$s(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 Po(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(tn(a))continue;const c=t[a];let u;r&&ae(r,u=xt(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:Qn(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,o=!0)}if(i){const a=ie(n),c=l||de;for(let u=0;u<i.length;u++){const f=i[u];n[f]=$s(r,a,f,c[f],e,!ae(c,f))}}return o}function $s(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&&J(a)){const{propsDefaults:c}=r;if(n in c)s=c[n];else{const u=_n(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===Tt(n))&&(s=!0))}return s}const kl=new WeakMap;function Io(e,t,n=!1){const s=n?kl:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let a=!1;if(!J(e)){const u=f=>{a=!0;const[p,m]=Io(f,t,!0);Se(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 he(e)&&s.set(e,Ft),Ft;if(q(i))for(let u=0;u<i.length;u++){const f=xt(i[u]);ir(f)&&(o[f]=de)}else if(i)for(const u in i){const f=xt(u);if(ir(f)){const p=i[u],m=o[f]=q(p)||J(p)?{type:p}:Se({},p),_=m.type;let P=!1,T=!0;if(q(_))for(let g=0;g<_.length;++g){const E=_[g],H=J(E)&&E.name;if(H==="Boolean"){P=!0;break}else H==="String"&&(T=!1)}else P=J(_)&&_.name==="Boolean";m[0]=P,m[1]=T,(P||ae(m,"default"))&&l.push(f)}}const c=[o,l];return he(e)&&s.set(e,c),c}function ir(e){return e[0]!=="$"&&!tn(e)}const Hs=e=>e[0]==="_"||e==="$stable",Bs=e=>q(e)?e.map(ot):[ot(e)],El=(e,t,n)=>{if(t._n)return t;const s=pe((...r)=>Bs(t(...r)),n);return s._c=!1,s},No=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Hs(r))continue;const i=e[r];if(J(i))t[r]=El(r,i,s);else if(i!=null){const o=Bs(i);t[r]=()=>o}}},Ro=(e,t)=>{const n=Bs(t);e.slots.default=()=>n},Mo=(e,t,n)=>{for(const s in t)(n||!Hs(s))&&(e[s]=t[s])},Al=(e,t,n)=>{const s=e.slots=jo();if(e.vnode.shapeFlag&32){const r=t._;r?(Mo(s,t,n),n&&Vr(s,"_",r,!0)):No(t,s)}else t&&Ro(e,t)},jl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=de;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Mo(r,t,n):(i=!t.$stable,No(t,r)),o=t}else t&&(Ro(e,t),o={default:1});if(i)for(const l in r)!Hs(l)&&o[l]==null&&delete r[l]},Ke=Kl;function Dl(e){return Pl(e)}function Pl(e,t){const n=Wn();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:_}=e,P=(d,h,v,x=null,w=null,C=null,M=void 0,D=null,j=!!h.dynamicChildren)=>{if(d===h)return;d&&!Dt(d,h)&&(x=K(d),ze(d,w,C,!0),d=null),h.patchFlag===-2&&(j=!1,h.dynamicChildren=null);const{type:S,ref:B,shapeFlag:L}=h;switch(S){case Zn:T(d,h,v,x);break;case De:g(d,h,v,x);break;case ds:d==null&&E(h,v,x,M);break;case le:I(d,h,v,x,w,C,M,D,j);break;default:L&1?R(d,h,v,x,w,C,M,D,j):L&6?ue(d,h,v,x,w,C,M,D,j):(L&64||L&128)&&S.process(d,h,v,x,w,C,M,D,j,$e)}B!=null&&w&&Rn(B,d&&d.ref,C,h||d,!h)},T=(d,h,v,x)=>{if(d==null)s(h.el=l(h.children),v,x);else{const w=h.el=d.el;h.children!==d.children&&c(w,h.children)}},g=(d,h,v,x)=>{d==null?s(h.el=a(h.children||""),v,x):h.el=d.el},E=(d,h,v,x)=>{[d.el,d.anchor]=_(d.children,h,v,x,d.el,d.anchor)},H=({el:d,anchor:h},v,x)=>{let w;for(;d&&d!==h;)w=p(d),s(d,v,x),d=w;s(h,v,x)},N=({el:d,anchor:h})=>{let v;for(;d&&d!==h;)v=p(d),r(d),d=v;r(h)},R=(d,h,v,x,w,C,M,D,j)=>{h.type==="svg"?M="svg":h.type==="math"&&(M="mathml"),d==null?Z(h,v,x,w,C,M,D,j):Y(d,h,w,C,M,D,j)},Z=(d,h,v,x,w,C,M,D)=>{let j,S;const{props:B,shapeFlag:L,transition:V,dirs:W}=d;if(j=d.el=o(d.type,C,B&&B.is,B),L&8?u(j,d.children):L&16&&_e(d.children,j,null,x,w,fs(d,C),M,D),W&&Ot(d,null,x,"created"),ye(j,d,d.scopeId,M,x),B){for(const me in B)me!=="value"&&!tn(me)&&i(j,me,null,B[me],C,x);"value"in B&&i(j,"value",null,B.value,C),(S=B.onVnodeBeforeMount)&&st(S,x,d)}W&&Ot(d,null,x,"beforeMount");const te=Il(w,V);te&&V.beforeEnter(j),s(j,h,v),((S=B&&B.onVnodeMounted)||te||W)&&Ke(()=>{S&&st(S,x,d),te&&V.enter(j),W&&Ot(d,null,x,"mounted")},w)},ye=(d,h,v,x,w)=>{if(v&&m(d,v),x)for(let C=0;C<x.length;C++)m(d,x[C]);if(w){let C=w.subTree;if(h===C||Bo(C.type)&&(C.ssContent===h||C.ssFallback===h)){const M=w.vnode;ye(d,M,M.scopeId,M.slotScopeIds,w.parent)}}},_e=(d,h,v,x,w,C,M,D,j=0)=>{for(let S=j;S<d.length;S++){const B=d[S]=D?_t(d[S]):ot(d[S]);P(null,B,h,v,x,w,C,M,D)}},Y=(d,h,v,x,w,C,M)=>{const D=h.el=d.el;let{patchFlag:j,dynamicChildren:S,dirs:B}=h;j|=d.patchFlag&16;const L=d.props||de,V=h.props||de;let W;if(v&&kt(v,!1),(W=V.onVnodeBeforeUpdate)&&st(W,v,h,d),B&&Ot(h,d,v,"beforeUpdate"),v&&kt(v,!0),(L.innerHTML&&V.innerHTML==null||L.textContent&&V.textContent==null)&&u(D,""),S?ne(d.dynamicChildren,S,D,v,x,fs(h,w),C):M||oe(d,h,D,null,v,x,fs(h,w),C,!1),j>0){if(j&16)fe(D,L,V,v,w);else if(j&2&&L.class!==V.class&&i(D,"class",null,V.class,w),j&4&&i(D,"style",L.style,V.style,w),j&8){const te=h.dynamicProps;for(let me=0;me<te.length;me++){const ce=te[me],Be=L[ce],Ue=V[ce];(Ue!==Be||ce==="value")&&i(D,ce,Be,Ue,w,v)}}j&1&&d.children!==h.children&&u(D,h.children)}else!M&&S==null&&fe(D,L,V,v,w);((W=V.onVnodeUpdated)||B)&&Ke(()=>{W&&st(W,v,h,d),B&&Ot(h,d,v,"updated")},x)},ne=(d,h,v,x,w,C,M)=>{for(let D=0;D<h.length;D++){const j=d[D],S=h[D],B=j.el&&(j.type===le||!Dt(j,S)||j.shapeFlag&198)?f(j.el):v;P(j,S,B,null,x,w,C,M,!0)}},fe=(d,h,v,x,w)=>{if(h!==v){if(h!==de)for(const C in h)!tn(C)&&!(C in v)&&i(d,C,h[C],null,w,x);for(const C in v){if(tn(C))continue;const M=v[C],D=h[C];M!==D&&C!=="value"&&i(d,C,D,M,w,x)}"value"in v&&i(d,"value",h.value,v.value,w)}},I=(d,h,v,x,w,C,M,D,j)=>{const S=h.el=d?d.el:l(""),B=h.anchor=d?d.anchor:l("");let{patchFlag:L,dynamicChildren:V,slotScopeIds:W}=h;W&&(D=D?D.concat(W):W),d==null?(s(S,v,x),s(B,v,x),_e(h.children||[],v,B,w,C,M,D,j)):L>0&&L&64&&V&&d.dynamicChildren?(ne(d.dynamicChildren,V,v,w,C,M,D),(h.key!=null||w&&h===w.subTree)&&Lo(d,h,!0)):oe(d,h,v,B,w,C,M,D,j)},ue=(d,h,v,x,w,C,M,D,j)=>{h.slotScopeIds=D,d==null?h.shapeFlag&512?w.ctx.activate(h,v,x,M,j):A(h,v,x,w,C,M,j):y(d,h,j)},A=(d,h,v,x,w,C,M)=>{const D=d.component=Ql(d,x,w);if(Yn(d)&&(D.ctx.renderer=$e),ea(D,!1,M),D.asyncDep){if(w&&w.registerDep(D,O,M),!d.el){const j=D.subTree=G(De);g(null,j,h,v)}}else O(D,d,h,v,w,C,M)},y=(d,h,v)=>{const x=h.component=d.component;if(Bl(d,h,v))if(x.asyncDep&&!x.asyncResolved){z(x,h,v);return}else x.next=h,x.update();else h.el=d.el,x.vnode=h},O=(d,h,v,x,w,C,M)=>{const D=()=>{if(d.isMounted){let{next:L,bu:V,u:W,parent:te,vnode:me}=d;{const tt=Fo(d);if(tt){L&&(L.el=me.el,z(d,L,M)),tt.asyncDep.then(()=>{d.isUnmounted||D()});return}}let ce=L,Be;kt(d,!1),L?(L.el=me.el,z(d,L,M)):L=me,V&&kn(V),(Be=L.props&&L.props.onVnodeBeforeUpdate)&&st(Be,te,L,me),kt(d,!0);const Ue=ar(d),et=d.subTree;d.subTree=Ue,P(et,Ue,f(et.el),K(et),d,w,C),L.el=Ue.el,ce===null&&ql(d,Ue.el),W&&Ke(W,w),(Be=L.props&&L.props.onVnodeUpdated)&&Ke(()=>st(Be,te,L,me),w)}else{let L;const{el:V,props:W}=h,{bm:te,m:me,parent:ce,root:Be,type:Ue}=d,et=Bt(h);kt(d,!1),te&&kn(te),!et&&(L=W&&W.onVnodeBeforeMount)&&st(L,ce,h),kt(d,!0);{Be.ce&&Be.ce._injectChildStyle(Ue);const tt=d.subTree=ar(d);P(null,tt,v,x,d,w,C),h.el=tt.el}if(me&&Ke(me,w),!et&&(L=W&&W.onVnodeMounted)){const tt=h;Ke(()=>st(L,ce,tt),w)}(h.shapeFlag&256||ce&&Bt(ce.vnode)&&ce.vnode.shapeFlag&256)&&d.a&&Ke(d.a,w),d.isMounted=!0,h=v=x=null}};d.scope.on();const j=d.effect=new Wr(D);d.scope.off();const S=d.update=j.run.bind(j),B=d.job=j.runIfDirty.bind(j);B.i=d,B.id=d.uid,j.scheduler=()=>Vs(B),kt(d,!0),S()},z=(d,h,v)=>{h.component=d;const x=d.vnode.props;d.vnode=h,d.next=null,Ol(d,h.props,x,v),jl(d,h.children,v),ht(),er(d),mt()},oe=(d,h,v,x,w,C,M,D,j=!1)=>{const S=d&&d.children,B=d?d.shapeFlag:0,L=h.children,{patchFlag:V,shapeFlag:W}=h;if(V>0){if(V&128){Rt(S,L,v,x,w,C,M,D,j);return}else if(V&256){Ce(S,L,v,x,w,C,M,D,j);return}}W&8?(B&16&&F(S,w,C),L!==S&&u(v,L)):B&16?W&16?Rt(S,L,v,x,w,C,M,D,j):F(S,w,C,!0):(B&8&&u(v,""),W&16&&_e(L,v,x,w,C,M,D,j))},Ce=(d,h,v,x,w,C,M,D,j)=>{d=d||Ft,h=h||Ft;const S=d.length,B=h.length,L=Math.min(S,B);let V;for(V=0;V<L;V++){const W=h[V]=j?_t(h[V]):ot(h[V]);P(d[V],W,v,null,w,C,M,D,j)}S>B?F(d,w,C,!0,!1,L):_e(h,v,x,w,C,M,D,j,L)},Rt=(d,h,v,x,w,C,M,D,j)=>{let S=0;const B=h.length;let L=d.length-1,V=B-1;for(;S<=L&&S<=V;){const W=d[S],te=h[S]=j?_t(h[S]):ot(h[S]);if(Dt(W,te))P(W,te,v,null,w,C,M,D,j);else break;S++}for(;S<=L&&S<=V;){const W=d[L],te=h[V]=j?_t(h[V]):ot(h[V]);if(Dt(W,te))P(W,te,v,null,w,C,M,D,j);else break;L--,V--}if(S>L){if(S<=V){const W=V+1,te=W<B?h[W].el:x;for(;S<=V;)P(null,h[S]=j?_t(h[S]):ot(h[S]),v,te,w,C,M,D,j),S++}}else if(S>V)for(;S<=L;)ze(d[S],w,C,!0),S++;else{const W=S,te=S,me=new Map;for(S=te;S<=V;S++){const qe=h[S]=j?_t(h[S]):ot(h[S]);qe.key!=null&&me.set(qe.key,S)}let ce,Be=0;const Ue=V-te+1;let et=!1,tt=0;const Yt=new Array(Ue);for(S=0;S<Ue;S++)Yt[S]=0;for(S=W;S<=L;S++){const qe=d[S];if(Be>=Ue){ze(qe,w,C,!0);continue}let nt;if(qe.key!=null)nt=me.get(qe.key);else for(ce=te;ce<=V;ce++)if(Yt[ce-te]===0&&Dt(qe,h[ce])){nt=ce;break}nt===void 0?ze(qe,w,C,!0):(Yt[nt-te]=S+1,nt>=tt?tt=nt:et=!0,P(qe,h[nt],v,null,w,C,M,D,j),Be++)}const Gs=et?Nl(Yt):Ft;for(ce=Gs.length-1,S=Ue-1;S>=0;S--){const qe=te+S,nt=h[qe],Js=qe+1<B?h[qe+1].el:x;Yt[S]===0?P(null,nt,v,Js,w,C,M,D,j):et&&(ce<0||S!==Gs[ce]?at(nt,v,Js,2):ce--)}}},at=(d,h,v,x,w=null)=>{const{el:C,type:M,transition:D,children:j,shapeFlag:S}=d;if(S&6){at(d.component.subTree,h,v,x);return}if(S&128){d.suspense.move(h,v,x);return}if(S&64){M.move(d,h,v,$e);return}if(M===le){s(C,h,v);for(let L=0;L<j.length;L++)at(j[L],h,v,x);s(d.anchor,h,v);return}if(M===ds){H(d,h,v);return}if(x!==2&&S&1&&D)if(x===0)D.beforeEnter(C),s(C,h,v),Ke(()=>D.enter(C),w);else{const{leave:L,delayLeave:V,afterLeave:W}=D,te=()=>{d.ctx.isUnmounted?r(C):s(C,h,v)},me=()=>{L(C,()=>{te(),W&&W()})};V?V(C,te,me):me()}else s(C,h,v)},ze=(d,h,v,x=!1,w=!1)=>{const{type:C,props:M,ref:D,children:j,dynamicChildren:S,shapeFlag:B,patchFlag:L,dirs:V,cacheIndex:W}=d;if(L===-2&&(w=!1),D!=null&&(ht(),Rn(D,null,v,d,!0),mt()),W!=null&&(h.renderCache[W]=void 0),B&256){h.ctx.deactivate(d);return}const te=B&1&&V,me=!Bt(d);let ce;if(me&&(ce=M&&M.onVnodeBeforeUnmount)&&st(ce,h,d),B&6)ss(d.component,v,x);else{if(B&128){d.suspense.unmount(v,x);return}te&&Ot(d,null,h,"beforeUnmount"),B&64?d.type.remove(d,h,v,$e,x):S&&!S.hasOnce&&(C!==le||L>0&&L&64)?F(S,h,v,!1,!0):(C===le&&L&384||!w&&B&16)&&F(j,h,v),x&&Cn(d)}(me&&(ce=M&&M.onVnodeUnmounted)||te)&&Ke(()=>{ce&&st(ce,h,d),te&&Ot(d,null,h,"unmounted")},v)},Cn=d=>{const{type:h,el:v,anchor:x,transition:w}=d;if(h===le){xn(v,x);return}if(h===ds){N(d);return}const C=()=>{r(v),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(d.shapeFlag&1&&w&&!w.persisted){const{leave:M,delayLeave:D}=w,j=()=>M(v,C);D?D(d.el,C,j):j()}else C()},xn=(d,h)=>{let v;for(;d!==h;)v=p(d),r(d),d=v;r(h)},ss=(d,h,v)=>{const{bum:x,scope:w,job:C,subTree:M,um:D,m:j,a:S,parent:B,slots:{__:L}}=d;lr(j),lr(S),x&&kn(x),B&&q(L)&&L.forEach(V=>{B.renderCache[V]=void 0}),w.stop(),C&&(C.flags|=8,ze(M,d,h,v)),D&&Ke(D,h),Ke(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},F=(d,h,v,x=!1,w=!1,C=0)=>{for(let M=C;M<d.length;M++)ze(d[M],h,v,x,w)},K=d=>{if(d.shapeFlag&6)return K(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),v=h&&h[rl];return v?p(v):h};let ee=!1;const xe=(d,h,v)=>{d==null?h._vnode&&ze(h._vnode,null,null,!0):P(h._vnode||null,d,h,null,null,null,v),h._vnode=d,ee||(ee=!0,er(),co(),ee=!1)},$e={p:P,um:ze,m:at,r:Cn,mt:A,mc:_e,pc:oe,pbc:ne,n:K,o:e};return{render:xe,hydrate:void 0,createApp:$l(xe)}}function fs({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 kt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Il(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Lo(e,t,n=!1){const s=e.children,r=t.children;if(q(s)&&q(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]=_t(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Lo(o,l)),l.type===Zn&&(l.el=o.el),l.type===De&&!l.el&&(l.el=o.el)}}function Nl(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 Fo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fo(t)}function lr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Rl=Symbol.for("v-scx"),Ml=()=>Ee(Rl);function He(e,t,n){return Uo(e,t,n)}function Uo(e,t,n=de){const{immediate:s,deep:r,flush:i,once:o}=n,l=Se({},n),a=t&&s||!t&&i!=="post";let c;if(pn){if(i==="sync"){const m=Ml();c=m.__watcherHandles||(m.__watcherHandles=[])}else if(!a){const m=()=>{};return m.stop=it,m.resume=it,m.pause=it,m}}const u=Pe;l.call=(m,_,P)=>Ze(m,u,_,P);let f=!1;i==="post"?l.scheduler=m=>{Ke(m,u&&u.suspense)}:i!=="sync"&&(f=!0,l.scheduler=(m,_)=>{_?m():Vs(m)}),l.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const p=el(e,t,l);return pn&&(c?c.push(p):a&&p()),p}function Ll(e,t,n){const s=this.proxy,r=be(e)?e.includes(".")?Vo(s,e):()=>s[e]:e.bind(s,s);let i;J(t)?i=t:(i=t.handler,n=t);const o=_n(this),l=Uo(r,i.bind(s),n);return o(),l}function Vo(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 Fl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xt(t)}Modifiers`]||e[`${Tt(t)}Modifiers`];function Ul(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||de;let r=n;const i=t.startsWith("update:"),o=i&&Fl(s,t.slice(7));o&&(o.trim&&(r=n.map(u=>be(u)?u.trim():u)),o.number&&(r=n.map(jn)));let l,a=s[l=rs(t)]||s[l=rs(xt(t))];!a&&i&&(a=s[l=rs(Tt(t))]),a&&Ze(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,Ze(c,e,6,r)}}function Ho(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(!J(e)){const a=c=>{const u=Ho(c,t,!0);u&&(l=!0,Se(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(he(e)&&s.set(e,null),null):(q(i)?i.forEach(a=>o[a]=null):Se(o,i),he(e)&&s.set(e,o),o)}function Qn(e,t){return!e||!Bn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,Tt(t))||ae(e,t))}function ar(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:_,inheritAttrs:P}=e,T=Nn(e);let g,E;try{if(n.shapeFlag&4){const N=r||s,R=N;g=ot(c.call(R,N,u,f,m,p,_)),E=l}else{const N=t;g=ot(N.length>1?N(f,{attrs:l,slots:o,emit:a}):N(f,null)),E=t.props?l:Vl(l)}}catch(N){on.length=0,Jn(N,e,1),g=G(De)}let H=g;if(E&&P!==!1){const N=Object.keys(E),{shapeFlag:R}=H;N.length&&R&7&&(i&&N.some(Es)&&(E=Hl(E,i)),H=$t(H,E,!1,!0))}return n.dirs&&(H=$t(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(n.dirs):n.dirs),n.transition&&cn(H,n.transition),g=H,Nn(T),g}const Vl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Bn(n))&&((t||(t={}))[n]=e[n]);return t},Hl=(e,t)=>{const n={};for(const s in e)(!Es(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Bl(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?ur(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]&&!Qn(c,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?ur(s,o,c):!0:!!o;return!1}function ur(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]&&!Qn(n,i))return!0}return!1}function ql({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 Bo=e=>e.__isSuspense;function Kl(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):sl(e)}const le=Symbol.for("v-fgt"),Zn=Symbol.for("v-txt"),De=Symbol.for("v-cmt"),ds=Symbol.for("v-stc"),on=[];let We=null;function b(e=!1){on.push(We=e?null:[])}function Wl(){on.pop(),We=on[on.length-1]||null}let fn=1;function cr(e,t=!1){fn+=e,e<0&&We&&t&&(We.hasOnce=!0)}function qo(e){return e.dynamicChildren=fn>0?We||Ft:null,Wl(),fn>0&&We&&We.push(e),e}function $(e,t,n,s,r,i){return qo(k(e,t,n,s,r,i,!0))}function we(e,t,n,s,r){return qo(G(e,t,n,s,r,!0))}function dn(e){return e?e.__v_isVNode===!0:!1}function Dt(e,t){return e.type===t.type&&e.key===t.key}const Ko=({key:e})=>e??null,En=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||Ne(e)||J(e)?{i:Oe,r:e,k:t,f:!!n}:e:null);function k(e,t=null,n=null,s=0,r=null,i=e===le?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ko(t),ref:t&&En(t),scopeId:po,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:Oe};return l?(qs(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=be(n)?8:16),fn>0&&!o&&We&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&We.push(a),a}const G=zl;function zl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===gl)&&(e=De),dn(e)){const l=$t(e,t,!0);return n&&qs(l,n),fn>0&&!i&&We&&(l.shapeFlag&6?We[We.indexOf(e)]=l:We.push(l)),l.patchFlag=-2,l}if(ra(e)&&(e=e.__vccOpts),t){t=Gl(t);let{class:l,style:a}=t;l&&!be(l)&&(t.class=Ie(l)),he(a)&&(Us(a)&&!q(a)&&(a=Se({},a)),t.style=Ds(a))}const o=be(e)?1:Bo(e)?128:ho(e)?64:he(e)?4:J(e)?2:0;return k(e,t,n,s,r,o,i,!0)}function Gl(e){return e?Us(e)||Do(e)?Se({},e):e:null}function $t(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:a}=e,c=t?Jl(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ko(c),ref:t&&t.ref?n&&i?q(i)?i.concat(En(t)):[i,En(t)]:En(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!==le?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&&$t(e.ssContent),ssFallback:e.ssFallback&&$t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&cn(u,a.clone(u)),u}function Fe(e=" ",t=0){return G(Zn,null,e,t)}function Q(e="",t=!1){return t?(b(),we(De,null,e)):G(De,null,e)}function ot(e){return e==null||typeof e=="boolean"?G(De):q(e)?G(le,null,e.slice()):dn(e)?_t(e):G(Zn,null,String(e))}function _t(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:$t(e)}function qs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),qs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Do(t)?t._ctx=Oe:r===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else J(t)?(t={default:t,_ctx:Oe},n=32):(t=String(t),s&64?(n=16,t=[Fe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Jl(...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=Ie([t.class,s.class]));else if(r==="style")t.style=Ds([t.style,s.style]);else if(Bn(r)){const i=t[r],o=s[r];o&&i!==o&&!(q(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){Ze(e,t,7,[n,s])}const Yl=ko();let Xl=0;function Ql(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Yl,i={uid:Xl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ti(!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:Io(s,r),emitsOptions:Ho(s,r),emit:null,emitted:null,propsDefaults:de,inheritAttrs:s.inheritAttrs,ctx:de,data:de,props:de,attrs:de,slots:de,refs:de,setupState:de,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=Ul.bind(null,i),e.ce&&e.ce(i),i}let Pe=null;const Zl=()=>Pe||Oe;let Ln,Ts;{const e=Wn(),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)}};Ln=t("__VUE_INSTANCE_SETTERS__",n=>Pe=n),Ts=t("__VUE_SSR_SETTERS__",n=>pn=n)}const _n=e=>{const t=Pe;return Ln(e),e.scope.on(),()=>{e.scope.off(),Ln(t)}},fr=()=>{Pe&&Pe.scope.off(),Ln(null)};function Wo(e){return e.vnode.shapeFlag&4}let pn=!1;function ea(e,t=!1,n=!1){t&&Ts(t);const{props:s,children:r}=e.vnode,i=Wo(e);Tl(e,s,i,t),Al(e,r,n||t);const o=i?ta(e,t):void 0;return t&&Ts(!1),o}function ta(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yl);const{setup:s}=n;if(s){ht();const r=e.setupContext=s.length>1?sa(e):null,i=_n(e),o=wn(s,e,0,[e.props,r]),l=Mr(o);if(mt(),i(),(l||e.sp)&&!Bt(e)&&wo(e),l){if(o.then(fr,fr),t)return o.then(a=>{dr(e,a)}).catch(a=>{Jn(a,e,0)});e.asyncDep=o}else dr(e,o)}else zo(e)}function dr(e,t,n){J(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=lo(t)),zo(e)}function zo(e,t,n){const s=e.type;e.render||(e.render=s.render||it);{const r=_n(e);ht();try{bl(e)}finally{mt(),r()}}}const na={get(e,t){return je(e,"get",""),e[t]}};function sa(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,na),slots:e.slots,emit:e.emit,expose:t}}function es(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(lo(zi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in rn)return rn[n](e)},has(t,n){return n in t||n in rn}})):e.proxy}function ra(e){return J(e)&&"__vccOpts"in e}const se=(e,t)=>Qi(e,t,pn);function oa(e,t,n){const s=arguments.length;return s===2?he(t)&&!q(t)?dn(t)?G(e,null,[t]):G(e,t):G(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&dn(n)&&(n=[n]),G(e,t,n))}const ia="3.5.16";/**
14
- * @vue/runtime-dom v3.5.16
15
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
- * @license MIT
17
- **/let Os;const pr=typeof window<"u"&&window.trustedTypes;if(pr)try{Os=pr.createPolicy("vue",{createHTML:e=>e})}catch{}const Go=Os?e=>Os.createHTML(e):e=>e,la="http://www.w3.org/2000/svg",aa="http://www.w3.org/1998/Math/MathML",ft=typeof document<"u"?document:null,hr=ft&&ft.createElement("template"),ua={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(la,e):t==="mathml"?ft.createElementNS(aa,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{hr.innerHTML=Go(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=hr.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]}},yt="transition",Qt="animation",hn=Symbol("_vtc"),Jo={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},ca=Se({},mo,Jo),fa=e=>(e.displayName="Transition",e.props=ca,e),Fn=fa((e,{slots:t})=>oa(ll,da(e),t)),Et=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},mr=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function da(e){const t={};for(const I in e)I in Jo||(t[I]=e[I]);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,_=pa(r),P=_&&_[0],T=_&&_[1],{onBeforeEnter:g,onEnter:E,onEnterCancelled:H,onLeave:N,onLeaveCancelled:R,onBeforeAppear:Z=g,onAppear:ye=E,onAppearCancelled:_e=H}=t,Y=(I,ue,A,y)=>{I._enterCancelled=y,At(I,ue?u:l),At(I,ue?c:o),A&&A()},ne=(I,ue)=>{I._isLeaving=!1,At(I,f),At(I,m),At(I,p),ue&&ue()},fe=I=>(ue,A)=>{const y=I?ye:E,O=()=>Y(ue,I,A);Et(y,[ue,O]),vr(()=>{At(ue,I?a:i),ct(ue,I?u:l),mr(y)||gr(ue,s,P,O)})};return Se(t,{onBeforeEnter(I){Et(g,[I]),ct(I,i),ct(I,o)},onBeforeAppear(I){Et(Z,[I]),ct(I,a),ct(I,c)},onEnter:fe(!1),onAppear:fe(!0),onLeave(I,ue){I._isLeaving=!0;const A=()=>ne(I,ue);ct(I,f),I._enterCancelled?(ct(I,p),wr()):(wr(),ct(I,p)),vr(()=>{I._isLeaving&&(At(I,f),ct(I,m),mr(N)||gr(I,s,T,A))}),Et(N,[I,A])},onEnterCancelled(I){Y(I,!1,void 0,!0),Et(H,[I])},onAppearCancelled(I){Y(I,!0,void 0,!0),Et(_e,[I])},onLeaveCancelled(I){ne(I),Et(R,[I])}})}function pa(e){if(e==null)return null;if(he(e))return[ps(e.enter),ps(e.leave)];{const t=ps(e);return[t,t]}}function ps(e){return gi(e)}function ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[hn]||(e[hn]=new Set)).add(t)}function At(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[hn];n&&(n.delete(t),n.size||(e[hn]=void 0))}function vr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ha=0;function gr(e,t,n,s){const r=e._endId=++ha,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:a}=ma(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 ma(e,t){const n=window.getComputedStyle(e),s=_=>(n[_]||"").split(", "),r=s(`${yt}Delay`),i=s(`${yt}Duration`),o=yr(r,i),l=s(`${Qt}Delay`),a=s(`${Qt}Duration`),c=yr(l,a);let u=null,f=0,p=0;t===yt?o>0&&(u=yt,f=o,p=i.length):t===Qt?c>0&&(u=Qt,f=c,p=a.length):(f=Math.max(o,c),u=f>0?o>c?yt:Qt:null,p=u?u===yt?i.length:a.length:0);const m=u===yt&&/\b(transform|all)(,|$)/.test(s(`${yt}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:m}}function yr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>br(n)+br(e[s])))}function br(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wr(){return document.body.offsetHeight}function va(e,t,n){const s=e[hn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Un=Symbol("_vod"),Yo=Symbol("_vsh"),Ks={beforeMount(e,{value:t},{transition:n}){e[Un]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Zt(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),Zt(e,!0),s.enter(e)):s.leave(e,()=>{Zt(e,!1)}):Zt(e,t))},beforeUnmount(e,{value:t}){Zt(e,t)}};function Zt(e,t){e.style.display=t?e[Un]:"none",e[Yo]=!t}const ga=Symbol(""),ya=/(^|;)\s*display\s*:/;function ba(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&&An(s,l,"")}else for(const o in t)n[o]==null&&An(s,o,"");for(const o in n)o==="display"&&(i=!0),An(s,o,n[o])}else if(r){if(t!==n){const o=s[ga];o&&(n+=";"+o),s.cssText=n,i=ya.test(n)}}else t&&e.removeAttribute("style");Un in e&&(e[Un]=i?s.display:"",e[Yo]&&(s.display="none"))}const _r=/\s*!important$/;function An(e,t,n){if(q(n))n.forEach(s=>An(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=wa(e,t);_r.test(n)?e.setProperty(Tt(s),n.replace(_r,""),"important"):e[s]=n}}const Cr=["Webkit","Moz","ms"],hs={};function wa(e,t){const n=hs[t];if(n)return n;let s=xt(t);if(s!=="filter"&&s in e)return hs[t]=s;s=Ur(s);for(let r=0;r<Cr.length;r++){const i=Cr[r]+s;if(i in e)return hs[t]=i}return t}const xr="http://www.w3.org/1999/xlink";function Sr(e,t,n,s,r,i=xi(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(xr,t.slice(6,t.length)):e.setAttributeNS(xr,t,n):n==null||i&&!Hr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Qe(n)?String(n):n)}function $r(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Go(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=Hr(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 Pt(e,t,n,s){e.addEventListener(t,n,s)}function _a(e,t,n,s){e.removeEventListener(t,n,s)}const Tr=Symbol("_vei");function Ca(e,t,n,s,r=null){const i=e[Tr]||(e[Tr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,a]=xa(t);if(s){const c=i[t]=Ta(s,r);Pt(e,l,c,a)}else o&&(_a(e,l,o,a),i[t]=void 0)}}const Or=/(?:Once|Passive|Capture)$/;function xa(e){let t;if(Or.test(e)){t={};let s;for(;s=e.match(Or);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Tt(e.slice(2)),t]}let ms=0;const Sa=Promise.resolve(),$a=()=>ms||(Sa.then(()=>ms=0),ms=Date.now());function Ta(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ze(Oa(s,n.value),t,5,[s])};return n.value=e,n.attached=$a(),n}function Oa(e,t){if(q(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 kr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ka=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?va(e,s,o):t==="style"?ba(e,n,s):Bn(t)?Es(t)||Ca(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ea(e,t,s,o))?($r(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Sr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!be(s))?$r(e,xt(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Sr(e,t,s,o))};function Ea(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&kr(t)&&J(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 kr(t)&&be(n)?!1:t in e}const Vn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?n=>kn(t,n):t};function Aa(e){e.target.composing=!0}function Er(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Kt=Symbol("_assign"),Wt={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Kt]=Vn(r);const i=s||r.props&&r.props.type==="number";Pt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=jn(l)),e[Kt](l)}),n&&Pt(e,"change",()=>{e.value=e.value.trim()}),t||(Pt(e,"compositionstart",Aa),Pt(e,"compositionend",Er),Pt(e,"change",Er))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Kt]=Vn(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?jn(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))}},mn={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=qn(t);Pt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?jn(Hn(o)):Hn(o));e[Kt](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Gt(()=>{e._assigning=!1})}),e[Kt]=Vn(s)},mounted(e,{value:t}){Ar(e,t)},beforeUpdate(e,t,n){e[Kt]=Vn(n)},updated(e,{value:t}){e._assigning||Ar(e,t)}};function Ar(e,t){const n=e.multiple,s=q(t);if(!(n&&!s&&!qn(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=Hn(o);if(n)if(s){const a=typeof l;a==="string"||a==="number"?o.selected=t.some(c=>String(c)===String(l)):o.selected=$i(t,l)>-1}else o.selected=t.has(l);else if(zn(Hn(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Hn(e){return"_value"in e?e._value:e.value}const ja=["ctrl","shift","alt","meta"],Da={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)=>ja.some(n=>e[`${n}Key`]&&!t.includes(n))},zt=(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=Da[t[o]];if(l&&l(r,t))return}return e(r,...i)})},Pa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},gt=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=Tt(r.key);if(t.some(o=>o===i||Pa[o]===i))return e(r)})},Ia=Se({patchProp:ka},ua);let jr;function Na(){return jr||(jr=Dl(Ia))}const Ra=(...e)=>{const t=Na().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=La(s);if(!r)return;const i=t._component;!J(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Ma(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Ma(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function La(e){return be(e)?document.querySelector(e):e}const Fa={class:"max-w-sm rounded overflow-hidden shadow-lg border border-front/20"},Ua={class:"py-2 border-b border-front/20"},Va={class:"pl-6"},Ha={class:"px-6 py-2"},Xo=ge({__name:"Card",props:{title:{}},emits:["close"],setup(e,{emit:t}){const n=t;return(s,r)=>(b(),$("div",Fa,[Ye(s.$slots,"header",{},()=>[k("div",Ua,[k("strong",Va,re(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",Ha,[Ye(s.$slots,"default")])]))}}),Ba={class:"header"},qa={class:"list-disc mt-2"},Ka={key:0},Wa={key:1},za={key:2},Ga={key:3},Ja={key:0},Ya=ge({__name:"AttributeCard",props:{modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,s=Ee("app"),r=se(()=>{var o;return(o=s==null?void 0:s.schema)==null?void 0:o.attr(n.modelValue)}),i=t;return(o,l)=>{var a;return o.modelValue&&r.value?(b(),we(Xo,{key:0,title:((a=r.value.names)==null?void 0:a.join(", "))||"",class:"ml-4",onClose:l[1]||(l[1]=c=>i("update:modelValue"))},{default:pe(()=>[k("div",Ba,re(r.value.desc),1),k("ul",qa,[r.value.$super?(b(),$("li",Ka,[l[2]||(l[2]=Fe(" Parent: ")),k("span",{class:"cursor-pointer",onClick:l[0]||(l[0]=c=>i("update:modelValue",r.value.$super.name))},re(r.value.$super),1)])):Q("",!0),r.value.equality?(b(),$("li",Wa,"Equality: "+re(r.value.equality),1)):Q("",!0),r.value.ordering?(b(),$("li",za,"Ordering: "+re(r.value.ordering),1)):Q("",!0),r.value.substr?(b(),$("li",Ga,"Substring: "+re(r.value.substr),1)):Q("",!0),k("li",null,[Fe(" Syntax: "+re(r.value.$syntax)+" ",1),r.value.binary?(b(),$("span",Ja,"(binary)")):Q("",!0)])])]),_:1},8,["title"])):Q("",!0)}}}),Xa={key:0,class:"fixed w-full h-full top-0 left-0 z-20 bg-front/60 dark:bg-back/70"},Qa={class:"absolute max-h-full w-1/2 max-w-lg container text-front overflow-hidden rounded bg-back border border-front/40"},Za={class:"flex justify-between items-start"},eu={class:"max-h-full w-full divide-y divide-front/30"},tu={key:0,class:"flex justify-between items-center px-4 py-1"},nu={class:"ui-modal-header text-xl font-bold leading-normal"},su={class:"ui-modal-body p-4 space-y-4"},ru={class:"ui-modal-footer flex justify-end w-full p-4 space-x-3"},lt=ge({__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(){var o;n.open&&(n.returnTo&&((o=document.getElementById(n.returnTo))==null||o.focus()),s("cancel"))}return(o,l)=>(b(),$("div",null,[G(Fn,{name:"fade"},{default:pe(()=>[e.open?(b(),$("div",Xa)):Q("",!0)]),_:1}),G(Fn,{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:pe(()=>[e.open?(b(),$("div",{key:0,ref:"backdrop",onClick:zt(i,["self"]),onKeydown:gt(i,["esc"]),class:"fixed w-full h-full top-0 left-0 flex items-center justify-center z-30"},[k("div",Qa,[k("div",Za,[k("div",eu,[e.title?(b(),$("div",tu,[k("h3",nu,[Ye(o.$slots,"header",{},()=>[Fe(re(e.title),1)])]),k("div",{class:"control text-xl",onClick:i,title:"close"}," ⊗ ")])):Q("",!0),k("div",su,[Ye(o.$slots,"default")]),Ve(k("div",ru,[Ye(o.$slots,"footer",{},()=>[k("button",{id:"ui-modal-cancel",onClick:i,type:"button",class:Ie(["btn",e.cancelClasses]),tabindex:"0"},[Ye(o.$slots,"modal-cancel",{},()=>[Fe(re(e.cancelTitle),1)])],2),k("button",{id:"ui-modal-ok",onClick:zt(r,["stop"]),type:"button",class:Ie(["btn",e.okClasses]),tabindex:"0"},[Ye(o.$slots,"modal-ok",{},()=>[Fe(re(e.okTitle),1)])],2)])],512),[[Ks,!e.hideFooter]])])])])],544)):Q("",!0)]),_:3})]))}}),ou=ge({__name:"AddAttributeDialog",props:{entry:{},attributes:{},modal:{},returnTo:{}},emits:["ok","show-modal","update:modal"],setup(e,{emit:t}){const n=e,s=U(),r=U(null),i=se(()=>{const a=Object.keys(n.entry.attrs);return n.attributes.filter(c=>!a.includes(c))}),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)=>(b(),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=>{var f;return(f=r.value)==null?void 0:f.focus()}),onOk:l,onCancel:c[3]||(c[3]=u=>o("update:modal"))},{default:pe(()=>[Ve(k("select",{"onUpdate:modelValue":c[0]||(c[0]=u=>s.value=u),ref_key:"select",ref:r,onKeyup:gt(l,["enter"])},[(b(!0),$(le,null,ke(i.value,u=>(b(),$("option",{key:u},re(u),1))),128))],544),[[mn,s.value]])]),_:1},8,["open","return-to"]))}}),iu=ge({__name:"AddObjectClassDialog",props:{entry:{},modal:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=t,r=Ee("app"),i=U(),o=U(),l=se(()=>{var c;return Array.from(((c=r==null?void 0:r.schema)==null?void 0:c.objectClasses.values())||[]).filter(u=>u.aux&&!n.entry.attrs.objectClass.includes(u.name)).map(u=>u.name)});function a(){i.value&&(s("update:modal"),s("ok",i.value))}return(c,u)=>(b(),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=>{var p;return(p=o.value)==null?void 0:p.focus()}),onOk:a,onCancel:u[3]||(u[3]=f=>s("update:modal"))},{default:pe(()=>[Ve(k("select",{"onUpdate:modelValue":u[0]||(u[0]=f=>i.value=f),ref_key:"select",ref:o,onKeyup:gt(a,["enter"])},[(b(!0),$(le,null,ke(l.value,f=>(b(),$("option",{key:f},re(f),1))),128))],544),[[mn,i.value]])]),_:1},8,["open"]))}}),Dr=(e,t,n)=>{typeof n=="string"||n instanceof Blob?e.append(t,n):e.append(t,JSON.stringify(n))},lu={bodySerializer:e=>{const t=new FormData;return Object.entries(e).forEach(([n,s])=>{s!=null&&(Array.isArray(s)?s.forEach(r=>Dr(t,n,r)):Dr(t,n,s))}),t}},au={bodySerializer:e=>JSON.stringify(e,(t,n)=>typeof n=="bigint"?n.toString():n)},uu=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},cu=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},fu=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},du=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},Qo=({allowReserved:e,explode:t,name:n,style:s,value:r})=>{if(!t){const l=(e?r:r.map(a=>encodeURIComponent(a))).join(fu(s));switch(s){case"label":return`.${l}`;case"matrix":return`;${n}=${l}`;case"simple":return l;default:return`${n}=${l}`}}const i=cu(s),o=r.map(l=>s==="label"||s==="simple"?e?l:encodeURIComponent(l):ts({allowReserved:e,name:n,value:l})).join(i);return s==="label"||s==="matrix"?i+o:o},ts=({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)}`},Zo=({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=du(s),l=Object.entries(r).map(([a,c])=>ts({allowReserved:e,name:s==="deepObject"?`${n}[${a}]`:a,value:c})).join(o);return s==="label"||s==="matrix"?o+l:l},pu=/\{[^{}]+\}/g,hu=({path:e,url:t})=>{let n=t;const s=t.match(pu);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,Qo({explode:i,name:o,style:l,value:a}));continue}if(typeof a=="object"){n=n.replace(r,Zo({explode:i,name:o,style:l,value:a,valueOnly:!0}));continue}if(l==="matrix"){n=n.replace(r,`;${ts({name:o,value:a})}`);continue}const c=encodeURIComponent(l==="label"?`.${a}`:a);n=n.replace(r,c)}return n},ei=({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=Qo({allowReserved:e,explode:!0,name:o,style:"form",value:l,...t});a&&i.push(a)}else if(typeof l=="object"){const a=Zo({allowReserved:e,explode:!0,name:o,style:"deepObject",value:l,...n});a&&i.push(a)}else{const a=ts({allowReserved:e,name:o,value:l});a&&i.push(a)}}return i.join("&")},mu=e=>{var n;if(!e)return"stream";const t=(n=e.split(";")[0])==null?void 0:n.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(s=>t.startsWith(s)))return"blob";if(t.startsWith("text/"))return"text"}},vu=async({security:e,...t})=>{for(const n of e){const s=await uu(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}},Pr=e=>gu({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:ei(e.querySerializer),url:e.url}),gu=({baseUrl:e,path:t,query:n,querySerializer:s,url:r})=>{const i=r.startsWith("/")?r:`/${r}`;let o=(e??"")+i;t&&(o=hu({path:t,url:o}));let l=n?s(n):"";return l.startsWith("?")&&(l=l.substring(1)),l&&(o+=`?${l}`),o},Ir=(e,t)=>{var s;const n={...e,...t};return(s=n.baseUrl)!=null&&s.endsWith("/")&&(n.baseUrl=n.baseUrl.substring(0,n.baseUrl.length-1)),n.headers=ti(e.headers,t.headers),n},ti=(...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 vs{constructor(){X(this,"_fns");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 yu=()=>({error:new vs,request:new vs,response:new vs}),bu=ei({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),wu={"Content-Type":"application/json"},ni=(e={})=>({...au,headers:wu,parseAs:"auto",querySerializer:bu,...e}),si=(e={})=>{let t=Ir(ni(),e);const n=()=>({...t}),s=o=>(t=Ir(t,o),n()),r=yu(),i=async o=>{const l={...t,...o,fetch:o.fetch??t.fetch??globalThis.fetch,headers:ti(t.headers,o.headers)};l.security&&await vu({...l,security:l.security}),l.body&&l.bodySerializer&&(l.body=l.bodySerializer(l.body)),(l.body===void 0||l.body==="")&&l.headers.delete("Content-Type");const a=Pr(l),c={redirect:"follow",...l};let u=new Request(a,c);for(const T of r.request._fns)T&&(u=await T(u,l));const f=l.fetch;let p=await f(u);for(const T of r.response._fns)T&&(p=await T(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 T=(l.parseAs==="auto"?mu(p.headers.get("Content-Type")):l.parseAs)??"json";if(T==="stream")return l.responseStyle==="data"?p.body:{data:p.body,...m};let g=await p[T]();return T==="json"&&(l.responseValidator&&await l.responseValidator(g),l.responseTransformer&&(g=await l.responseTransformer(g))),l.responseStyle==="data"?g:{data:g,...m}}let _=await p.text();try{_=JSON.parse(_)}catch{}let P=_;for(const T of r.error._fns)T&&(P=await T(_,p,u,l));if(P=P||{},l.throwOnError)throw P;return l.responseStyle==="data"?void 0:{error:P,...m}};return{buildUrl:Pr,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"})}},Re=si(ni()),_u=e=>(e.client??Re).delete({security:[{scheme:"basic",type:"http"}],url:"/api/blob/{attr}/{index}/{dn}",...e}),Cu=e=>(e.client??Re).put({...lu,security:[{scheme:"basic",type:"http"}],url:"/api/blob/{attr}/{index}/{dn}",...e,headers:{"Content-Type":null,...e.headers}}),xu=e=>(e.client??Re).post({security:[{scheme:"basic",type:"http"}],url:"/api/change-password/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Su=e=>(e.client??Re).post({security:[{scheme:"basic",type:"http"}],url:"/api/check-password/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),$u=e=>(e.client??Re).delete({security:[{scheme:"basic",type:"http"}],url:"/api/entry/{dn}",...e}),Tu=e=>(e.client??Re).get({security:[{scheme:"basic",type:"http"}],url:"/api/entry/{dn}",...e}),Ou=e=>(e.client??Re).post({security:[{scheme:"basic",type:"http"}],url:"/api/entry/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),ku=e=>(e.client??Re).put({security:[{scheme:"basic",type:"http"}],url:"/api/entry/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Eu=e=>(e.client??Re).post({security:[{scheme:"basic",type:"http"}],url:"/api/ldif",...e,headers:{"Content-Type":"application/json",...e.headers}}),Au=e=>(e.client??Re).get({security:[{scheme:"basic",type:"http"}],url:"/api/range/{attribute}",...e}),ju=e=>(e.client??Re).post({security:[{scheme:"basic",type:"http"}],url:"/api/rename/{dn}",...e,headers:{"Content-Type":"application/json",...e.headers}}),Du=e=>((e==null?void 0:e.client)??Re).get({security:[{scheme:"basic",type:"http"}],url:"/api/schema",...e}),Pu=e=>(e.client??Re).get({security:[{scheme:"basic",type:"http"}],url:"/api/search/{query}",...e}),Iu=e=>(e.client??Re).get({security:[{scheme:"basic",type:"http"}],url:"/api/subtree/{root_dn}",...e}),Nu=e=>(e.client??Re).get({security:[{scheme:"basic",type:"http"}],url:"/api/tree/{basedn}",...e}),Ru=e=>((e==null?void 0:e.client)??Re).get({security:[{scheme:"basic",type:"http"}],url:"/api/whoami",...e}),Mu=["accept"],Nr=ge({__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=U(null),r=t,i=Ee("app");async function o(l){const a=l.target;if(!(a!=null&&a.files))return;(await Cu({path:{attr:n.attr,index:0,dn:n.dn},body:{blob:a.files[0]},client:i==null?void 0:i.client})).error||(r("update:modal"),r("ok",n.dn,[n.attr]))}return(l,a)=>(b(),we(lt,{title:"Upload photo","hide-footer":"","return-to":e.returnTo,open:e.modal=="add-"+e.attr,onShown:a[0]||(a[0]=c=>{var u;return(u=s.value)==null?void 0:u.focus()}),onCancel:a[1]||(a[1]=c=>r("update:modal"))},{default:pe(()=>[k("input",{name:"photo",type:"file",ref_key:"upload",ref:s,onChange:o,accept:e.attr=="jpegPhoto"?"image/jpeg":"image/*"},null,40,Mu)]),_:1},8,["return-to","open"]))}});function Lu(e,t,n){return n.indexOf(e)==t}function Fu(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 ns;class Uu{constructor(t){X(this,"text");X(this,"attrName");X(this,"value");this.text=t;const n=t.split("=");this.attrName=n[0].trim(),this.value=n[1].trim()}toString(){return this.text}eq(t){return t!==void 0&&this.attr!==void 0&&this.attr.eq(t.attr)&&this.attr.matcher(this.value,t.value)}get attr(){return ns.attr(this.attrName)}}class vn{constructor(t){X(this,"text");X(this,"rdn");X(this,"parent");this.text=t;const n=t.split(",");this.rdn=new Uu(n[0]),this.parent=n.length==1?void 0:new vn(t.slice(n[0].length+1))}toString(){return this.text}eq(t){return!t||!this.rdn.eq(t.rdn)?!1:!this.parent&&!t.parent?!0:!!this.parent&&this.parent.eq(t.parent)}}let ri=class{constructor(){X(this,"oid");X(this,"name");X(this,"names");X(this,"sup")}};class Vu extends ri{constructor(n){super();X(this,"desc");X(this,"obsolete");X(this,"may");X(this,"must");X(this,"kind");Object.assign(this,n)}get structural(){return this.kind=="structural"}get aux(){return this.kind=="auxiliary"}$collect(n){const s=[];for(let i=this;i;i=i.$super){const o=i[n];o&&s.push(o)}const r=s.flat().map(i=>ns.attr(i)).map(i=>i==null?void 0:i.name).filter(Lu);return r.sort(),r}toString(){return this.name}get $super(){const n=Object.getPrototypeOf(this);return n.sup?n:void 0}}const Rr={distinguishedNameMatch:(e,t)=>new vn(e).eq(new vn(t)),caseIgnoreIA5Match:(e,t)=>e.toLowerCase()==t.toLowerCase(),caseIgnoreMatch:(e,t)=>e.toLowerCase()==t.toLowerCase(),integerMatch:(e,t)=>+e==+t,numericStringMatch:(e,t)=>+e==+t,octetStringMatch:(e,t)=>e==t};class Hu extends ri{constructor(n){super();X(this,"desc");X(this,"equality");X(this,"obsolete");X(this,"ordering");X(this,"no_user_mod");X(this,"single_value");X(this,"substr");X(this,"syntax");X(this,"usage");delete this.equality,delete this.ordering,delete this.substr,delete this.syntax,Object.assign(this,Object.fromEntries(Object.entries(n).filter(([s,r])=>r!=null)))}toString(){return this.name}get matcher(){return(this.equality?Rr[this.equality]:void 0)||Rr.octetStringMatch}eq(n){return n&&this.oid==n.oid}get binary(){var n;if(this.equality!="octetStringMatch")return(n=this.$syntax)==null?void 0:n.not_human_readable}get $syntax(){return ns.syntaxes.get(this.syntax)}get $super(){const n=Object.getPrototypeOf(this);return n.sup?n:void 0}}class Bu{constructor(t){X(this,"oid");X(this,"desc");X(this,"not_human_readable");Object.assign(this,t)}toString(){return this.desc}}class qu extends Object{constructor(n){super();X(this,"attributes");X(this,"objectClasses");X(this,"syntaxes");X(this,"attributesByName");this.syntaxes=new Map(Object.entries(n.syntaxes).map(([s,r])=>[s,new Bu(r)])),this.attributes=Object.values(n.attributes).map(s=>new Hu(s)),this.objectClasses=new Map(Object.entries(n.objectClasses).map(([s,r])=>[s.toLowerCase(),new Vu(r)])),this.buildPrototypeChain(this.objectClasses),this.attributesByName=new Map(this.attributes.flatMap(s=>(s.names||[]).map(r=>[r.toLowerCase(),s]))),this.buildPrototypeChain(this.attributesByName),ns=this}buildPrototypeChain(n){for(const s of n.values()){const r=s.sup?s.sup[0]:void 0,i=r?n.get(r.toLowerCase()):void 0;i&&Object.setPrototypeOf(s,i)}}attr(n){return this.attributesByName.get((n==null?void 0:n.toLowerCase())||"")}oc(n){return this.objectClasses.get((n==null?void 0:n.toLowerCase())||"")}search(n){return this.attributes.filter(s=>{var r;return(r=s.names)==null?void 0:r.some(i=>i.toLowerCase().startsWith(n.toLowerCase()))})}}function Ku(e){return Kr()?(Oi(e),!0):!1}function oi(e){return typeof e=="function"?e():bn(e)}const Wu=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const zu=Object.prototype.toString,Gu=e=>zu.call(e)==="[object Object]",Ju=()=>{};function ii(e){var t;const n=oi(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ws=Wu?window:void 0;function It(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Ws):[t,n,s,r]=e,!t)return Ju;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(u=>u()),i.length=0},l=(u,f,p,m)=>(u.addEventListener(f,p,m),()=>u.removeEventListener(f,p,m)),a=He(()=>[ii(t),oi(r)],([u,f])=>{if(o(),!u)return;const p=Gu(f)?{...f}:f;i.push(...n.flatMap(m=>s.map(_=>l(u,m,_,p))))},{immediate:!0,flush:"post"}),c=()=>{a(),o()};return Ku(c),c}const Yu={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Xu(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:s=!1,initialValue:r={x:0,y:0},window:i=Ws,target:o=i,scroll:l=!0,eventFilter:a}=e;let c=null;const u=U(r.x),f=U(r.y),p=U(null),m=typeof t=="function"?t:Yu[t],_=R=>{const Z=m(R);c=R,Z&&([u.value,f.value]=Z,p.value="mouse")},P=R=>{if(R.touches.length>0){const Z=m(R.touches[0]);Z&&([u.value,f.value]=Z,p.value="touch")}},T=()=>{if(!c||!i)return;const R=m(c);c instanceof MouseEvent&&R&&(u.value=R[0]+i.scrollX,f.value=R[1]+i.scrollY)},g=()=>{u.value=r.x,f.value=r.y},E=a?R=>a(()=>_(R),{}):R=>_(R),H=a?R=>a(()=>P(R),{}):R=>P(R),N=a?()=>a(()=>T(),{}):()=>T();if(o){const R={passive:!0};It(o,["mousemove","dragover"],E,R),n&&t!=="movement"&&(It(o,["touchstart","touchmove"],H,R),s&&It(o,"touchend",g,R)),l&&t==="page"&&It(i,"scroll",N,{passive:!0})}return{x:u,y:f,sourceType:p}}function Qu(e,t={}){const{handleOutside:n=!0,window:s=Ws}=t,r=t.type||"page",{x:i,y:o,sourceType:l}=Xu(t),a=U(e??(s==null?void 0:s.document.body)),c=U(0),u=U(0),f=U(0),p=U(0),m=U(0),_=U(0),P=U(!0);let T=()=>{};return s&&(T=He([a,i,o],()=>{const g=ii(a);if(!g)return;const{left:E,top:H,width:N,height:R}=g.getBoundingClientRect();f.value=E+(r==="page"?s.pageXOffset:0),p.value=H+(r==="page"?s.pageYOffset:0),m.value=R,_.value=N;const Z=i.value-f.value,ye=o.value-p.value;P.value=N===0||R===0||Z<0||ye<0||Z>N||ye>R,(n||!P.value)&&(c.value=Z,u.value=ye)},{immediate:!0}),It(document,"mouseleave",()=>{P.value=!0})),{x:i,y:o,sourceType:l,elementX:c,elementY:u,elementPositionX:f,elementPositionY:p,elementHeight:m,elementWidth:_,isOutside:P,stop:T}}const Zu={key:0,class:"ui-popover absolute z-10 border border-front/70 rounded min-w-max text-front bg-back list-none"},zs=ge({__name:"Popover",props:{open:{type:Boolean}},emits:["opened","closed","update:open"],setup(e,{emit:t}){const n=e,s=t,r=U(null),i=U(),{isOutside:o}=Qu(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 Jt(()=>{It(document,"keydown",c),It(document,"click",l)}),He(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")}}),He(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)=>(b(),we(Fn,{name:"fade",onAfterEnter:f[0]||(f[0]=p=>s("opened")),onAfterLeave:f[1]||(f[1]=p=>s("closed"))},{default:pe(()=>[u.open?(b(),$("div",Zu,[k("ul",{class:"bg-front/5 dark:bg-front/10 py-2",ref_key:"items",ref:r,onClick:l},[Ye(u.$slots,"default")],512)])):Q("",!0)]),_:3}))}}),ec=["onClick","title"],tc=ge({__name:"AttributeSearch",props:{query:{},for:{}},emits:["done"],setup(e,{emit:t}){const n=e,s=Ee("app"),r=U([]),i=se(()=>(n.query??"").trim()!=""&&r.value&&r.value.length>0&&!(r.value.length==1&&n.query==r.value[0].name)),o=t;He(()=>n.query,a=>{var c;a&&(r.value=((c=s==null?void 0:s.schema)==null?void 0:c.search(a))||[],r.value.sort((u,f)=>u.name.toLowerCase().localeCompare(f.name.toLowerCase())))});function l(a){o("done",a),r.value=[],Gt(()=>{if(n.for){const c=document.getElementById(n.for);c&&c.focus()}})}return(a,c)=>(b(),we(zs,{open:i.value,"onUpdate:open":c[0]||(c[0]=u=>r.value=[])},{default:pe(()=>[(b(!0),$(le,null,ke(r.value,u=>(b(),$("li",{key:u.oid,onClick:f=>l(u.name),title:u.oid,role:"menuitem"},re(u.name),9,ec))),128))]),_:1},8,["open"]))}}),nc=["onClick","title"],li=ge({__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=Ee("app"),r=U([]),i=se(()=>n.query.trim()!=""&&r.value&&r.value.length>1),o=t;He(()=>n.query,async c=>{if(!c)return;const u=await Pu({path:{query:c},client:s==null?void 0:s.client});if(u.data){if(r.value=await u.data,r.value.length==0&&!n.silent){s==null||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=[],Gt(()=>{if(n.for){const u=document.getElementById(n.for);u&&u.focus()}})}return(c,u)=>(b(),we(zs,{open:i.value,"onUpdate:open":u[0]||(u[0]=f=>r.value=[])},{default:pe(()=>[(b(!0),$(le,null,ke(r.value,f=>(b(),$("li",{key:f.dn,onClick:p=>a(f.dn),title:e.label=="dn"?"":l(f.dn),role:"menuitem"},re(f[e.label]),9,nc))),128))]),_:1},8,["open"]))}}),sc=ge({__name:"ToggleButton",props:{value:{}},emits:["update:value"],setup(e,{emit:t}){const n=e,s=t,r=se(()=>n.value=="TRUE");return(i,o)=>(b(),$("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:Ie(["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)]))}}),rc={key:0,class:"flex mx-4 space-x-4"},oc=["title"],ic={key:0,class:"fa text-emerald-700 ml-1 fa-check"},lc={class:"w-3/4"},ac=["onClick","title"],uc={key:5,class:"mr-5"},cc={key:6},fc=["src"],dc=["onClick"],pc={key:7},hc=["onClick"],mc={key:1,class:"pb-1 border-primary focus-within:border-b border-solid"},vc=["onClick"],gc=["value","id","type","placeholder","disabled","title"],yc=["onClick"],bc={key:2,class:"text-xs ml-6 opacity-70"},wc=ge({__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(F,K,ee){return F==""||ee.indexOf(F)==K}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=Ee("app"),a=U(!0),c=U(),u=U(""),f=U(""),p=U(),m=se(()=>o.attr.syntax==r.boolean),_=se(()=>o.attr.syntax==r.distinguishedName),P=se(()=>o.values.length==1&&o.values[0]==c.value),T=se(()=>o.values.every(F=>!F.trim())),g=se(()=>!o.must&&!o.may),E=se(()=>o.attr.name==o.entry.dn.split("=")[0]),H=se(()=>o.attr.syntax==r.oid),N=se(()=>T.value&&o.must),R=se(()=>o.attr.name=="userPassword"),Z=se(()=>o.attr.syntax==r.generalizedTime),ye=se(()=>R.value?!1:o.entry.binary.includes(o.attr.name)),_e=se(()=>E.value||o.attr.name=="objectClass"||g.value&&T.value||!o.entry.isNew&&(R.value||ye.value)),Y=se(()=>N.value?"  ":T.value?"  ":_.value?"  ":""),ne=se(()=>o.attr.name=="jpegPhoto"||o.attr.name=="thumbnailPhoto"||!o.attr.no_user_mod&&!ye.value),fe=se(()=>R.value?"password":o.attr.syntax==r.telephoneNumber?"tel":o.attr.syntax==r.integer?"number":"text"),I=t;He(a,F=>I("valid",F)),Jt(async()=>{if(_e.value||!i.includes(o.attr.name)||o.values.length!=1||o.values[0])return;const F=await Au({path:{attribute:o.attr.name},client:l==null?void 0:l.client});if(!F.data)return;const K=F.data;u.value=K.min==K.max?"> "+K.min:"∉ ("+K.min+" - "+K.max+")",c.value=""+K.next,I("update",o.attr.name,[c.value],0),ue()}),Co(ue);function ue(){a.value=!N.value&&(!g.value||T.value)&&o.values.every(n)}function A(F){const K=F.target,ee=K.value,xe=+K.id.split("-").slice(-1).pop();y(xe,ee)}function y(F,K){const ee=o.values.slice();ee[F]=K,I("update",o.attr.name,ee)}function O(){const F=o.values.slice();F.includes("")||F.push(""),I("update",o.attr.name,F,F.length-1)}function z(F){const K=o.values.slice(0,F).concat(o.values.slice(F+1));I("update","objectClass",K)}function oe(F){return Fu(F).toLocaleString(void 0,s)}function Ce(F){var K,ee;return o.attr.name=="objectClass"&&((ee=(K=l==null?void 0:l.schema)==null?void 0:K.oc(F))==null?void 0:ee.structural)}function Rt(F){var ee;const K=(ee=l==null?void 0:l.schema)==null?void 0:ee.oc(F);return o.attr.name=="objectClass"&&K&&!K.structural}function at(F){return!n(o.values[F],F,o.values)}function ze(F){return F==0&&!o.attr.single_value&&!_e.value&&!o.values.includes("")}function Cn(F){const K=F.target;p.value=K.id;const ee=K.value;f.value=ee.length>=2&&!ee.includes(",")?ee:""}function xn(F){const K=+p.value.split("-").slice(-1).pop(),ee=o.values.slice();ee[K]=F,f.value="",I("update",o.attr.name,ee)}async function ss(F){(await _u({path:{attr:o.attr.name,index:F,dn:o.entry.dn},client:l==null?void 0:l.client})).error||I("reload-form",o.entry.dn,[o.attr.name])}return(F,K)=>F.attr&&ne.value?(b(),$("div",rc,[k("div",{class:Ie([{required:F.must,optional:F.may,rdn:E.value,illegal:g.value},"w-1/4"])},[k("span",{class:"cursor-pointer oc",title:F.attr.desc,onClick:K[0]||(K[0]=ee=>I("show-attr",F.attr.name))},re(F.attr),9,oc),F.changed?(b(),$("i",ic)):Q("",!0)],2),k("div",lc,[(b(!0),$(le,null,ke(F.values,(ee,xe)=>(b(),$("div",{key:xe},[Ce(ee)?(b(),$("span",{key:0,onClick:K[1]||(K[1]=$e=>I("show-modal","add-object-class")),tabindex:"-1",class:"add-btn control font-bold",title:"Add object class…"},"⊕")):Rt(ee)?(b(),$("span",{key:1,onClick:$e=>z(xe),class:"remove-btn control",title:"Remove "+ee},"⊖",8,ac)):R.value?(b(),$("span",{key:2,class:"fa fa-question-circle control",onClick:K[2]||(K[2]=$e=>I("show-modal","change-password")),tabindex:"-1",title:"change password"})):F.attr.name=="jpegPhoto"||F.attr.name=="thumbnailPhoto"?(b(),$("span",{key:3,onClick:K[3]||(K[3]=$e=>I("show-modal","add-jpegPhoto")),tabindex:"-1",class:"add-btn control align-top",title:"Add photo…"},"⊕")):ze(xe)&&!g.value?(b(),$("span",{key:4,onClick:O,class:"add-btn control",title:"Add row"},"⊕")):(b(),$("span",uc)),F.attr.name=="jpegPhoto"||F.attr.name=="thumbnailPhoto"?(b(),$("span",cc,[ee?(b(),$("img",{key:0,src:"data:image/"+(F.attr.name=="jpegPhoto"?"jpeg":"*")+";base64,"+ee,class:"max-w-[120px] max-h-[120px] border p-[1px] inline mx-1"},null,8,fc)):Q("",!0),ee?(b(),$("span",{key:1,class:"control remove-btn align-top ml-1",onClick:$e=>ss(xe),title:"Remove photo"},"⊖",8,dc)):Q("",!0)])):m.value?(b(),$("span",pc,[xe==0&&!F.values[0]?(b(),$("span",{key:0,class:"control text-lg",onClick:$e=>y(xe,"FALSE")},"⊕",8,hc)):(b(),$("span",mc,[G(sc,{id:F.attr+"-"+xe,value:F.values[xe],class:"mt-2","onUpdate:value":$e=>y(xe,$e)},null,8,["id","value","onUpdate:value"]),k("i",{class:"fa fa-trash ml-2 relative -top-0.5 control",onClick:$e=>y(xe,"")},null,8,vc)]))])):(b(),$("input",{key:8,value:F.values[xe],id:F.attr+"-"+xe,type:fe.value,autocomplete:"off",class:Ie(["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:Ce(ee),auto:P.value,illegal:g.value&&!T.value||at(xe)}]),placeholder:Y.value,disabled:_e.value,title:Z.value?oe(ee):"",onInput:A,onFocusin:K[4]||(K[4]=$e=>f.value=""),onKeyup:[Cn,K[5]||(K[5]=gt($e=>f.value="",["esc"]))]},null,42,gc)),F.attr.name=="objectClass"?(b(),$("i",{key:9,class:"cursor-pointer fa fa-info-circle",onClick:$e=>I("show-oc",ee)},null,8,yc)):Q("",!0)]))),128)),_.value&&p.value?(b(),we(li,{key:0,silent:"",onSelectDn:xn,for:p.value,query:f.value,label:"dn",shorten:F.baseDn},null,8,["for","query","shorten"])):Q("",!0),H.value&&p.value?(b(),we(tc,{key:1,onDone:xn,for:p.value,query:f.value},null,8,["for","query"])):Q("",!0),u.value?(b(),$("div",bc,re(u.value),1)):Q("",!0)])])):Q("",!0)}}),ai=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},_c=ai(wc,[["__scopeId","data-v-1fc1f702"]]),Cc={key:0,class:"text-danger text-xs mb-1"},xc=ge({__name:"CopyEntryDialog",props:{entry:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=t,r=U(""),i=U(""),o=U(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)=>(b(),we(lt,{title:"Copy entry",open:c.modal=="copy-entry","return-to":c.returnTo,onShow:l,onShown:u[1]||(u[1]=f=>{var p;return(p=o.value)==null?void 0:p.focus()}),onOk:a,onCancel:u[2]||(u[2]=f=>s("update:modal"))},{default:pe(()=>[k("div",null,[i.value?(b(),$("div",Cc,re(i.value),1)):Q("",!0),Ve(k("input",{ref_key:"newdn",ref:o,"onUpdate:modelValue":u[0]||(u[0]=f=>r.value=f),placeholder:"New DN",onKeyup:gt(a,["enter"])},null,544),[[Wt,r.value]])])]),_:1},8,["open","return-to"]))}}),Sc=["title"],gn=ge({__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=se(()=>n.oc?" fa-"+(s[n.oc]||"question"):"fa-question"),i=se(()=>(n.dn||"").split(",")[0].replace(/^cn=/,"").replace(/^krbPrincipalName=/,"")),o=t;function l(a){a&&o("select-dn",a)}return(a,c)=>(b(),$("span",{onClick:c[0]||(c[0]=u=>l(a.dn)),title:a.dn,class:"node-label cursor-pointer select-none"},[a.oc?(b(),$("i",{key:0,class:Ie(["fa w-6 text-center",r.value])},null,2)):Q("",!0),Ye(a.$slots,"default",{},()=>[Fe(re(i.value),1)])],8,Sc))}}),$c={key:0},Tc=ge({__name:"DeleteEntryDialog",props:{dn:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=U([]),r=t,i=Ee("app");async function o(){const c=await Iu({path:{root_dn:n.dn},client:i==null?void 0:i.client});c.data&&(s.value=c.data)}function l(){var c;(c=document.getElementById("ui-modal-ok"))==null||c.focus()}function a(){r("update:modal"),r("ok",n.dn)}return(c,u)=>(b(),we(lt,{title:"Are you sure?",open:c.modal=="delete-entry","return-to":c.returnTo,"cancel-classes":"bg-primary/80","ok-classes":"bg-danger/80",onShow:o,onShown:l,onOk:a,onCancel:u[0]||(u[0]=f=>r("update:modal"))},{"modal-ok":pe(()=>u[2]||(u[2]=[k("i",{class:"fa fa-trash-o fa-lg"},null,-1),Fe(" Delete ")])),default:pe(()=>[u[3]||(u[3]=k("p",{class:"strong"},"This action is irreversible.",-1)),s.value.length?(b(),$("div",$c,[u[1]||(u[1]=k("p",{class:"text-danger mb-2"}," The following child nodes will be also deleted: ",-1)),(b(!0),$(le,null,ke(s.value,f=>(b(),$("div",{key:f.dn},[(b(!0),$(le,null,ke(f.level,p=>(b(),$("span",{class:"ml-6",key:p}))),128)),G(gn,{dn:"",oc:f.structuralObjectClass},{default:pe(()=>[Fe(re(f.dn.split(",")[0]),1)]),_:2},1032,["oc"])]))),128))])):Q("",!0)]),_:1,__:[3]},8,["open","return-to"]))}}),Oc=ge({__name:"DiscardEntryDialog",props:{dn:{},modal:{},returnTo:{}},emits:["ok","shown","update:modal"],setup(e,{emit:t}){const n=U(),s=t;function r(){var o;(o=document.getElementById("ui-modal-ok"))==null||o.focus(),s("shown")}function i(){s("update:modal"),s("ok",n.value)}return(o,l)=>(b(),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":pe(()=>l[2]||(l[2]=[k("i",{class:"fa fa-trash-o fa-lg"},null,-1),Fe(" Discard ")])),default:pe(()=>[l[3]||(l[3]=k("p",{class:"strong"},"All changes will be irreversibly lost.",-1))]),_:1,__:[3]},8,["open","return-to"]))}}),kc={class:"relative inline-block text-left mx-1"},Ec=["aria-expanded"],Ac=["aria-hidden"],ui=ge({__name:"DropdownMenu",props:{title:{}},setup(e){const t=U(!1);return(n,s)=>(b(),$("div",kc,[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]=zt(r=>t.value=!t.value,["stop"]))},[Ye(n.$slots,"button-content",{},()=>[Fe(re(n.title),1)]),(b(),$("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,Ac))],8,Ec),G(zs,{open:t.value,"onUpdate:open":s[1]||(s[1]=r=>t.value=r)},{default:pe(()=>[Ye(n.$slots,"default")]),_:3},8,["open"])]))}}),jc={key:0},Dc={key:0},Pc=ge({__name:"NewEntryDialog",props:{dn:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=Ee("app"),r=U(""),i=U(""),o=U(""),l=U(null),a=se(()=>{var m;return(m=s==null?void 0:s.schema)==null?void 0:m.oc(r.value)}),c=t;function u(){r.value=i.value=o.value=""}function f(){var P;if(!r.value||!i.value||!o.value)return;c("update:modal");const m=[r.value];for(let T=(P=a.value)==null?void 0:P.$super;T;T=T.$super)!T.structural&&T.kind!="abstract"&&m.push(T.name);const _={dn:i.value+"="+o.value+","+n.dn,changed:[],binary:[],autoFilled:[],isNew:!0,attrs:{objectClass:m}};_.attrs[i.value]=[o.value],c("ok",_)}function p(){var _;if(!r.value)return[];const m=((_=a.value)==null?void 0:_.$collect("must"))||[];return m.length==1&&(i.value=m[0]),m}return(m,_)=>(b(),we(lt,{title:"New entry",open:m.modal=="new-entry","return-to":m.returnTo,onOk:f,onCancel:_[3]||(_[3]=P=>c("update:modal")),onShow:u,onShown:_[4]||(_[4]=P=>{var T;return(T=l.value)==null?void 0:T.focus()})},{default:pe(()=>{var P,T;return[k("label",null,[_[5]||(_[5]=Fe("Object class: ")),Ve(k("select",{ref_key:"select",ref:l,"onUpdate:modelValue":_[0]||(_[0]=g=>r.value=g)},[(b(!0),$(le,null,ke((T=(P=bn(s))==null?void 0:P.schema)==null?void 0:T.objectClasses.values(),g=>(b(),$(le,{key:g.name},[g.structural?(b(),$("option",jc,re(g),1)):Q("",!0)],64))),128))],512),[[mn,r.value]])]),r.value?(b(),$("label",Dc,[_[6]||(_[6]=Fe("RDN attribute: ")),Ve(k("select",{"onUpdate:modelValue":_[1]||(_[1]=g=>i.value=g)},[(b(!0),$(le,null,ke(p(),g=>(b(),$("option",{key:g},re(g),1))),128))],512),[[mn,i.value]])])):Q("",!0),r.value?Ve((b(),$("input",{key:1,"onUpdate:modelValue":_[2]||(_[2]=g=>o.value=g),placeholder:"RDN value",onKeyup:gt(f,["enter"])},null,544)),[[Wt,o.value]]):Q("",!0)]}),_:1},8,["open","return-to"]))}}),Ic={key:0},Nc=ge({__name:"PasswordChangeDialog",props:{entry:{},modal:{},returnTo:{},user:{}},emits:["ok","update-form","update:modal"],setup(e,{emit:t}){const n=e,s=U(""),r=U(""),i=U(""),o=U(),l=U(null),a=U(null),c=se(()=>n.user==n.entry.dn),u=se(()=>r.value&&r.value==i.value),f=se(()=>!!n.entry.attrs.userPassword&&n.entry.attrs.userPassword[0]!=""),p=t,m=Ee("app");function _(){s.value=r.value=i.value="",o.value=void 0}function P(){var E,H;f.value?(E=l.value)==null||E.focus():(H=a.value)==null||H.focus()}async function T(){if(!s.value||s.value.length==0){o.value=void 0;return}const E=await Su({path:{dn:n.entry.dn},body:s.value,client:m==null?void 0:m.client});o.value=E.data}async function g(){c.value&&!r.value||r.value!=i.value||c.value&&f.value&&!o.value||(p("update:modal"),p("ok",s.value,r.value))}return(E,H)=>(b(),we(lt,{title:"Change / verify password",open:E.modal=="change-password","return-to":E.returnTo,onShow:_,onShown:P,onOk:g,onCancel:H[3]||(H[3]=N=>p("update:modal")),onHidden:H[4]||(H[4]=N=>p("update-form"))},{default:pe(()=>[f.value?(b(),$("div",Ic,[k("small",null,re(c.value?"Required":"Optional"),1),o.value!==void 0?(b(),$("i",{key:0,class:Ie(["fa ml-2",o.value?"text-emerald-700 fa-check-circle":"text-danger fa-times-circle"])},null,2)):Q("",!0),Ve(k("input",{ref_key:"old",ref:l,"onUpdate:modelValue":H[0]||(H[0]=N=>s.value=N),placeholder:"Old password",type:"password",onChange:T},null,544),[[Wt,s.value]])])):Q("",!0),Ve(k("input",{ref_key:"changed",ref:a,"onUpdate:modelValue":H[1]||(H[1]=N=>r.value=N),placeholder:"New password",type:"password"},null,512),[[Wt,r.value]]),Ve(k("input",{"onUpdate:modelValue":H[2]||(H[2]=N=>i.value=N),class:Ie({"text-danger":i.value&&!u.value}),placeholder:"Repeat new password",type:"password",onKeyup:gt(g,["enter"])},null,34),[[Wt,i.value]])]),_:1},8,["open","return-to"]))}}),Rc=ge({__name:"RenameEntryDialog",props:{entry:{},modal:{},returnTo:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=e,s=U(),r=U(null),i=se(()=>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)=>(b(),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=>{var m;return(m=r.value)==null?void 0:m.focus()})},{default:pe(()=>[k("label",null,[f[3]||(f[3]=Fe("New RDN attribute: ")),Ve(k("select",{ref_key:"select",ref:r,"onUpdate:modelValue":f[0]||(f[0]=p=>s.value=p),onKeyup:gt(a,["enter"])},[(b(!0),$(le,null,ke(i.value,p=>(b(),$("option",{key:p},re(p),1))),128))],544),[[mn,s.value]])])]),_:1},8,["open","return-to"]))}}),Mc={key:0,class:"rounded border border-front/20 mb-3 mx-4 flex-auto"},Lc={class:"flex justify-between mb-4 border-b border-front/20 bg-primary/70"},Fc={key:0,class:"py-2 ml-3"},Uc={key:1,class:"ml-2"},Vc={role:"menuitem"},Hc=["href"],Bc={class:"flex ml-4 mt-2 space-x-4"},qc={class:"w-3/4 pl-4"},Kc={class:"w-[90%] space-x-3"},Wc=["disabled"],zc={key:0,type:"reset",accesskey:"r",tabindex:"0",class:"btn bg-secondary"},Gc=ge({__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=Ee("app"),o=U(),l=U(),a=U([]),c=U(),u=se(()=>{var y;const A=Object.keys(((y=o.value)==null?void 0:y.attrs)||{});return A.sort((O,z)=>O.toLowerCase().localeCompare(z.toLowerCase())),A}),f=se(()=>{var y;const A=(y=o.value)==null?void 0:y.attrs.objectClass.map(O=>{var z;return(z=i==null?void 0:i.schema)==null?void 0:z.oc(O)}).filter(O=>O&&O.structural)[0];return A?A.name:""}),p=t;He(()=>r.activeDn,A=>{(!o.value||A!=o.value.dn)&&(l.value=void 0),A&&o.value&&o.value.isNew?c.value="discard-entry":A?Z(A,void 0,void 0):o.value&&!o.value.isNew&&(o.value=void 0)});function m(A){Gt(()=>{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 _(A){const y=A.target;y.id&&s.includes(y.tagName)&&(l.value=y.id)}function P(A){o.value=A,p("update:activeDn"),m(N())}function T(A){o.value=void 0,p("update:activeDn",A)}function g(A){o.value.attrs[A]=[""],m(A+"-0")}function E(A){o.value.attrs.objectClass.push(A),m(N()||l.value)}function H(A,y,O){o.value.attrs[A]=y,O!==void 0&&m(A+"-"+O)}function N(){const A=I("must").filter(y=>!o.value.attrs[y]);return A.forEach(y=>o.value.attrs[y]=[""]),A.length?A[0]+"-0":void 0}function R(A){var y;i==null||i.showError(((y=A.detail)==null?void 0:y.join(`
18
- `))||"Operation failed")}async function Z(A,y,O){if(a.value=[],!A||A.startsWith("-")){o.value=void 0;return}const z=await Tu({path:{dn:A},client:i==null?void 0:i.client});if(z.error){R(z.error);return}o.value=z.data,o.value.changed=y||[],o.value.isNew=!1,document.title=A.split(",")[0],m(O)}function ye(A){var y;return((y=o.value)==null?void 0:y.changed)&&o.value.changed.includes(A)||!1}async function _e(){if(a.value.length>0){m(l.value);return}o.value.changed=[];let A=[];if(o.value.isNew){const y=await ku({path:{dn:o.value.dn},body:o.value.attrs,client:i==null?void 0:i.client});if(y.error){R(y.error);return}A=y.data}else{const y=await Ou({path:{dn:o.value.dn},body:o.value.attrs,client:i==null?void 0:i.client});if(y.error){R(y.error);return}A=y.data}o.value.isNew?(o.value.isNew=!1,p("update:activeDn",o.value.dn)):Z(o.value.dn,A,l.value)}async function Y(A){const y=await ju({path:{dn:o.value.dn},body:A,client:i==null?void 0:i.client});if(y.error){R(y.error);return}const O=o.value.dn.split(",");O.splice(0,1,A),p("update:activeDn",O.join(","))}async function ne(A){const y=await $u({path:{dn:A}});if(y.error){R(y.error);return}i==null||i.showInfo("👍 Deleted: "+A),p("update:activeDn","-"+A)}async function fe(A,y){var z;const O=await xu({path:{dn:o.value.dn},body:{old:A,new1:y},client:i==null?void 0:i.client});O.error?R(O.error):(o.value.attrs.userPassword=[y],(z=o.value.changed)==null||z.push("userPassword"))}function I(A){const y=o.value.attrs.objectClass.filter(O=>O&&O!="top").map(O=>{var z;return(z=i==null?void 0:i.schema)==null?void 0:z.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?(b(),$("div",Mc,[G(Pc,{modal:c.value,"onUpdate:modal":y[0]||(y[0]=O=>c.value=O),dn:o.value.dn,"return-to":l.value,onOk:P},null,8,["modal","dn","return-to"]),G(xc,{modal:c.value,"onUpdate:modal":y[1]||(y[1]=O=>c.value=O),entry:o.value,"return-to":l.value,onOk:P},null,8,["modal","entry","return-to"]),G(Rc,{modal:c.value,"onUpdate:modal":y[2]||(y[2]=O=>c.value=O),entry:o.value,"return-to":l.value,onOk:Y},null,8,["modal","entry","return-to"]),G(Tc,{modal:c.value,"onUpdate:modal":y[3]||(y[3]=O=>c.value=O),dn:o.value.dn,"return-to":l.value,onOk:ne},null,8,["modal","dn","return-to"]),G(Oc,{modal:c.value,"onUpdate:modal":y[4]||(y[4]=O=>c.value=O),dn:r.activeDn,"return-to":l.value,onOk:T,onShown:y[5]||(y[5]=O=>p("update:activeDn"))},null,8,["modal","dn","return-to"]),G(Nc,{modal:c.value,"onUpdate:modal":y[6]||(y[6]=O=>c.value=O),entry:o.value,"return-to":l.value,user:A.user,onOk:fe},null,8,["modal","entry","return-to","user"]),G(Nr,{modal:c.value,"onUpdate:modal":y[7]||(y[7]=O=>c.value=O),attr:"jpegPhoto",dn:o.value.dn,"return-to":l.value,onOk:Z},null,8,["modal","dn","return-to"]),G(Nr,{modal:c.value,"onUpdate:modal":y[8]||(y[8]=O=>c.value=O),attr:"thumbnailPhoto",dn:o.value.dn,"return-to":l.value,onOk:Z},null,8,["modal","dn","return-to"]),G(iu,{modal:c.value,"onUpdate:modal":y[9]||(y[9]=O=>c.value=O),entry:o.value,"return-to":l.value,onOk:E},null,8,["modal","entry","return-to"]),G(ou,{modal:c.value,"onUpdate:modal":y[10]||(y[10]=O=>c.value=O),entry:o.value,attributes:I("may"),"return-to":l.value,onOk:g,onShowModal:y[11]||(y[11]=O=>c.value=O)},null,8,["modal","entry","attributes","return-to"]),k("nav",Lc,[o.value.isNew?(b(),$("div",Fc,[G(gn,{dn:o.value.dn,oc:f.value},null,8,["dn","oc"])])):(b(),$("div",Uc,[G(ui,null,{"button-content":pe(()=>[G(gn,{dn:o.value.dn,oc:f.value},null,8,["dn","oc"])]),default:pe(()=>[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",Vc,[k("a",{href:"api/ldif/"+o.value.dn},"Export",8,Hc)]),k("li",{onClick:y[15]||(y[15]=O=>c.value="delete-entry"),class:"text-danger",role:"menuitem"}," Delete… ")]),_:1})])),o.value.isNew?(b(),$("div",{key:2,class:"control text-2xl mr-2",onClick:y[16]||(y[16]=O=>c.value="discard-entry"),title:"close"}," ⊗ ")):(b(),$("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:zt(_e,["prevent"]),onReset:y[22]||(y[22]=O=>Z(o.value.dn,void 0,void 0)),onFocusin:_},[(b(!0),$(le,null,ke(u.value,O=>{var z,oe;return b(),we(_c,{key:O,"base-dn":r.baseDn,attr:(oe=(z=bn(i))==null?void 0:z.schema)==null?void 0:oe.attr(O),entry:o.value,values:o.value.attrs[O],changed:ye(O),may:I("may").includes(O),must:I("must").includes(O),onUpdate:H,onReloadForm:Z,onValid:Ce=>ue(O,Ce),onShowModal:y[18]||(y[18]=Ce=>c.value=Ce),onShowAttr:y[19]||(y[19]=Ce=>p("show-attr",Ce)),onShowOc:y[20]||(y[20]=Ce=>p("show-oc",Ce))},null,8,["base-dn","attr","entry","values","changed","may","must","onValid"])}),128)),k("div",Bc,[y[23]||(y[23]=k("div",{class:"w-1/4"},null,-1)),k("div",qc,[k("div",Kc,[k("button",{type:"submit",class:"btn bg-primary/70",tabindex:"0",accesskey:"s",disabled:a.value.length!=0}," Submit ",8,Wc),o.value.isNew?Q("",!0):(b(),$("button",zc," Reset ")),o.value.isNew?Q("",!0):(b(),$("button",{key:1,class:"btn float-right bg-secondary",accesskey:"a",tabindex:"0",onClick:y[21]||(y[21]=zt(O=>c.value="add-attribute",["prevent"]))}," Add attribute… "))])])])],32)])):Q("",!0)}}),Jc=ge({__name:"LdifImportDialog",props:{modal:{}},emits:["ok","update:modal"],setup(e,{emit:t}){const n=U(""),s=t;function r(){n.value=""}function i(l){const a=l.target,c=a.files,u=c[0],f=new FileReader;f.onload=function(){n.value=f.result,a.value=""},f.readAsText(u)}async function o(){if(!n.value)return;s("update:modal"),(await Eu({body:n.value})).error||s("ok")}return(l,a)=>(b(),we(lt,{title:"Import",open:l.modal=="ldif-import","ok-title":"Import",onShow:r,onOk:o,onCancel:a[1]||(a[1]=c=>s("update:modal"))},{default:pe(()=>[Ve(k("textarea",{"onUpdate:modelValue":a[0]||(a[0]=c=>n.value=c),id:"ldif-data",placeholder:"Paste or upload LDIF"},null,512),[[Wt,n.value]]),k("input",{type:"file",onChange:i,accept:".ldif"},null,32)]),_:1},8,["open"]))}}),Yc={class:"px-4 flex flex-col md:flex-row flex-wrap justify-between mt-0 py-1 bg-primary/40"},Xc={class:"flex items-center"},Qc={class:"flex items-center space-x-4 text-lg"},Zc=["onClick"],ef=ge({__name:"NavBar",props:{baseDn:{},treeOpen:{type:Boolean},user:{}},emits:["select-dn","show-modal","show-oc","update:treeOpen"],setup(e,{emit:t}){const n=Ee("app"),s=U(null),r=U(""),i=U(!1),o=t;function l(){r.value="",Gt(()=>{var a;r.value=((a=s==null?void 0:s.value)==null?void 0:a.value)||""})}return(a,c)=>(b(),$("nav",Yc,[k("div",Xc,[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:Ie(["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(gn,{oc:"person",dn:a.user,onSelectDn:c[2]||(c[2]=u=>o("select-dn",u)),class:"text-lg"},null,8,["dn"])]),Ve(k("div",Qc,[k("span",{class:"cursor-pointer",onClick:c[3]||(c[3]=u=>o("show-modal","ldif-import"))},"Import…"),G(ui,{title:"Schema"},{default:pe(()=>{var u,f;return[(b(!0),$(le,null,ke((f=(u=bn(n))==null?void 0:u.schema)==null?void 0:f.objectClasses.keys(),p=>(b(),$("li",{role:"menuitem",key:p,onClick:m=>o("show-oc",p)},re(p),9,Zc))),128))]}),_:1}),k("form",{onSubmit:zt(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=>{var f;return(f=s.value)==null?void 0:f.select()}),accesskey:"k",onKeyup:c[5]||(c[5]=gt(u=>r.value="",["esc"])),id:"nav-search",ref_key:"input",ref:s},null,544),G(li,{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),[[Ks,!i.value]])]))}}),tf={class:"header"},nf={key:0,class:"mt-2"},sf={class:"list-disc"},rf=["onClick"],of={key:1,class:"mt-2"},lf={class:"list-disc"},af=["onClick"],uf={key:2,class:"mt-2"},cf={class:"list-disc"},ff=["onClick"],df=ge({__name:"ObjectClassCard",props:{modelValue:{}},emits:["show-attr","update:modelValue"],setup(e,{emit:t}){const n=e,s=Ee("app"),r=se(()=>{var o;return(o=s==null?void 0:s.schema)==null?void 0:o.oc(n.modelValue)}),i=t;return(o,l)=>o.modelValue&&r.value?(b(),we(Xo,{key:0,title:r.value.name||"",class:"ml-4",onClose:l[0]||(l[0]=a=>i("update:modelValue"))},{default:pe(()=>{var a;return[k("div",tf,re(r.value.desc),1),(a=r.value.sup)!=null&&a.length?(b(),$("div",nf,[l[1]||(l[1]=k("i",null,"Superclasses:",-1)),k("ul",sf,[(b(!0),$(le,null,ke(r.value.sup,c=>(b(),$("li",{key:c},[k("span",{class:"cursor-pointer",onClick:u=>i("update:modelValue",c)},re(c),9,rf)]))),128))])])):Q("",!0),r.value.$collect("must").length?(b(),$("div",of,[l[2]||(l[2]=k("i",null,"Required attributes:",-1)),k("ul",lf,[(b(!0),$(le,null,ke(r.value.$collect("must"),c=>(b(),$("li",{key:c},[k("span",{class:"cursor-pointer",onClick:u=>i("show-attr",c)},re(c),9,af)]))),128))])])):Q("",!0),r.value.$collect("may").length?(b(),$("div",uf,[l[3]||(l[3]=k("i",null,"Optional attributes:",-1)),k("ul",cf,[(b(!0),$(le,null,ke(r.value.$collect("may"),c=>(b(),$("li",{key:c},[k("span",{class:"cursor-pointer",onClick:u=>i("show-attr",c)},re(c),9,ff)]))),128))])])):Q("",!0)]}),_:1},8,["title"])):Q("",!0)}}),pf={class:"rounded-md bg-front/[.07] p-4 shadow-md shadow-front/20"},hf={key:0,class:"list-unstyled"},mf=["id"],vf=["onClick"],gf={key:1,class:"mr-4"},yf={key:0},bf=ge({__name:"TreeView",props:{activeDn:{}},emits:["base-dn","update:activeDn"],setup(e,{emit:t}){class n{constructor(f){X(this,"dn");X(this,"level");X(this,"hasSubordinates");X(this,"structuralObjectClass");X(this,"open",!1);X(this,"subordinates",[]);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)}find(f){if(this.dn==f)return this;const p=","+this.dn;if(!(!f.endsWith(p)||!this.hasSubordinates))return this.subordinates.map(m=>m.find(f)).filter(m=>m)[0]}get loaded(){return!this.hasSubordinates||this.subordinates.length>0}parentDns(f){const p=[];for(let m=this.dn;;){p.push(m);const _=m.indexOf(",");if(_==-1||m==f)break;m=m.substring(_+1)}return p}visible(){return!this.hasSubordinates||!this.open?[this]:[this].concat(this.subordinates.flatMap(f=>f.visible()))}}const s=e,r=U(),i=t,o=Ee("app");Jt(async()=>{var u;await a("base"),i("base-dn",(u=r.value)==null?void 0:u.dn)}),He(()=>s.activeDn,async u=>{var m,_,P;if(!u)return;if(u=="-"||u=="base"){await a("base");return}const f=new vn(u||r.value.dn),p=[];for(let T=f;T&&(p.push(T),T.toString()!=((m=r.value)==null?void 0:m.dn));T=T.parent);p.reverse();for(let T=0;T<p.length;++T){const g=p[T].toString(),E=(_=r.value)==null?void 0:_.find(g);if(!E)break;E.loaded||await a(g),E.open=!0}(P=r.value)!=null&&P.find(f.toString())||(await a(f.parent.toString()),r.value.find(f.parent.toString()).open=!0)});async function l(u){var p;i("update:activeDn",u);const f=(p=r.value)==null?void 0:p.find(u);f&&f.hasSubordinates&&!f.open&&await c(f)}async function a(u){var _;const f=await Nu({path:{basedn:u},client:o==null?void 0:o.client});if(!f.data)return;const p=f.data;if(p.sort((P,T)=>P.dn.toLowerCase().localeCompare(T.dn.toLowerCase())),u=="base"){r.value=new n(p[0]),await c(r.value);return}const m=(_=r.value)==null?void 0:_.find(u);m&&(m.subordinates=p.map(P=>new n(P)),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)=>(b(),$("div",pf,[r.value?(b(),$("ul",hf,[(b(!0),$(le,null,ke(r.value.visible(),p=>(b(),$("li",{key:p.dn,id:p.dn,class:Ie(p.structuralObjectClass)},[(b(!0),$(le,null,ke(p.level-r.value.level,m=>(b(),$("span",{class:"ml-6",key:m}))),128)),p.hasSubordinates?(b(),$("span",{key:0,class:"control",onClick:m=>c(p)},[k("i",{class:Ie("control p-0 fa fa-chevron-circle-"+(p.open?"down":"right"))},null,2)],8,vf)):(b(),$("span",gf)),G(gn,{dn:p.dn,oc:p.structuralObjectClass,class:Ie(["tree-link whitespace-nowrap text-front/80",{active:u.activeDn==p.dn}]),onSelectDn:l},{default:pe(()=>[p.level?Q("",!0):(b(),$("span",yf,re(p.dn),1))]),_:2},1032,["dn","oc","class"])],10,mf))),128))])):Q("",!0)]))}}),wf=ai(bf,[["__scopeId","data-v-325868f5"]]),_f={key:0,id:"app"},Cf={class:"flex container"},xf={class:"space-y-4"},Sf={class:"flex-auto mt-4"},$f=ge({__name:"App",setup(e){const t=U(),n=U(),s=U(!0),r=U(),i=U(),o=U(),l=U(),a=U(),c=U(),u=si({baseUrl:window.location.href});Eo("app",{get schema(){return l.value},showInfo:p,showError:_,showException:P,showWarning:m,client:u}),Jt(async()=>{const T=await Ru({client:u});if(T.data){t.value=T.data;const g=await Du({client:u});g.data&&(l.value=new qu(g.data))}}),He(c,T=>{T&&(a.value=void 0)}),He(a,T=>{T&&(c.value=void 0)});function p(T){o.value={counter:5,cssClass:"bg-emerald-300",msg:""+T},setTimeout(()=>{o.value=void 0},5e3)}function m(T){o.value={counter:10,cssClass:"bg-amber-200",msg:"⚠️ "+T},setTimeout(()=>{o.value=void 0},1e4)}function _(T){o.value={counter:60,cssClass:"bg-red-300",msg:"⛔ "+T},setTimeout(()=>{o.value=void 0},6e4)}function P(T){const g=document.createElement("span");g.innerHTML=T.replace(`
19
- `," ");const E=g.getElementsByTagName("title");for(let R=0;R<E.length;++R)g.removeChild(E[R]);let H="";const N=g.getElementsByTagName("h1");for(let R=0;R<N.length;++R)H=H+N[R].textContent+": ",g.removeChild(N[R]);_(H+" "+g.textContent)}return(T,g)=>t.value?(b(),$("div",_f,[G(ef,{treeOpen:s.value,"onUpdate:treeOpen":g[0]||(g[0]=E=>s.value=E),dn:r.value,"base-dn":n.value,user:t.value,onShowModal:g[1]||(g[1]=E=>i.value=E),onSelectDn:g[2]||(g[2]=E=>r.value=E),onShowOc:g[3]||(g[3]=E=>a.value=E)},null,8,["treeOpen","dn","base-dn","user"]),G(Jc,{modal:i.value,"onUpdate:modal":g[4]||(g[4]=E=>i.value=E),onOk:g[5]||(g[5]=E=>r.value="-")},null,8,["modal"]),k("div",Cf,[k("div",xf,[Ve(G(wf,{activeDn:r.value,"onUpdate:activeDn":g[6]||(g[6]=E=>r.value=E),onBaseDn:g[7]||(g[7]=E=>n.value=E)},null,8,["activeDn"]),[[Ks,s.value]]),G(df,{modelValue:a.value,"onUpdate:modelValue":g[8]||(g[8]=E=>a.value=E),onShowAttr:g[9]||(g[9]=E=>c.value=E),onShowOc:g[10]||(g[10]=E=>a.value=E)},null,8,["modelValue"]),G(Ya,{modelValue:c.value,"onUpdate:modelValue":g[11]||(g[11]=E=>c.value=E),onShowAttr:g[12]||(g[12]=E=>c.value=E)},null,8,["modelValue"])]),k("div",Sf,[G(Fn,{name:"fade"},{default:pe(()=>[o.value?(b(),$("div",{key:0,class:Ie([o.value.cssClass,"rounded mx-4 mb-4 p-3 border border-front/70 text-front/70 dark:text-back/70"])},[Fe(re(o.value.msg)+" ",1),k("span",{class:"float-right control",onClick:g[13]||(g[13]=E=>o.value=void 0)},"✖")],2)):Q("",!0)]),_:1}),G(Gc,{activeDn:r.value,"onUpdate:activeDn":g[14]||(g[14]=E=>r.value=E),user:t.value,onShowAttr:g[15]||(g[15]=E=>c.value=E),onShowOc:g[16]||(g[16]=E=>a.value=E)},null,8,["activeDn","user"])])]),Q("",!0)])):Q("",!0)}});Ra($f).mount("#app");
Binary file
@@ -1,25 +0,0 @@
1
- ldap_ui/__init__.py,sha256=A_AARqtxTOj_AQTpjpgOxNx-UOBio5wYFfZ2mrdMKfs,23
2
- ldap_ui/__main__.py,sha256=SfpNGw1tlunqLobN8T-7GT47BQBw_c9gO2ANgXkNO9U,1802
3
- ldap_ui/app.py,sha256=TS2oIcbP78063fKAbiSLNbKcODadWtZhr5w8xsxFjgg,2946
4
- ldap_ui/entities.py,sha256=S5inxIka5WKr_LTXoRGXeIRzAgFZuqUIJqBMTdfU1as,773
5
- ldap_ui/ldap_api.py,sha256=TTjTXljcUqjZDBRHv40ineM3PHQdDk6jPD4LbKXcefQ,16209
6
- ldap_ui/ldap_helpers.py,sha256=XzI_ZLN978JEVU8EBVVLzUFpW6kXTURiu7COV98SKB0,4517
7
- ldap_ui/schema.py,sha256=XaXvn1WRTyOJHeNyXLLHEbeWBPMtC6deVZ4QDvp_VeY,4387
8
- ldap_ui/settings.py,sha256=UjCB24epLLUF0ECLb5MulfHPNGjEG57ZS2HXVFJ_k3Y,2844
9
- ldap_ui/statics/favicon.ico,sha256=_PMMM_C1ER5cpJTXZcRgISR4igj44kA4u8Trl-Ko3L0,4286
10
- ldap_ui/statics/index.html,sha256=Y34UkiFPWMBd4uFOP_o_a8EHb78F5peAcN1pU0QgDNs,827
11
- ldap_ui/statics/assets/fontawesome-webfont-B-jkhYfk.woff2,sha256=Kt78vAQefRj88tQXh53FoJmXqmTWdbejxLbOM9oT8_4,77160
12
- ldap_ui/statics/assets/fontawesome-webfont-CDK5bt4p.woff,sha256=ugxZ3rVFD1y0Gz-TYJ7i0NmVQVh33foiPoqKdTNHTwc,98024
13
- ldap_ui/statics/assets/fontawesome-webfont-CQDK8MU3.ttf,sha256=qljzPyOaD7AvXHpsRcBD16msmgkzNYBmlOzW1O3A1qg,165548
14
- ldap_ui/statics/assets/fontawesome-webfont-D13rzr4g.svg,sha256=rWFXkmwWIrpOHQPUePFUE2hSS_xG9R5C_g2UX37zI-Q,444379
15
- ldap_ui/statics/assets/fontawesome-webfont-G5YE5S7X.eot,sha256=e_yrbbmdXPvxcFygU23ceFhUMsxfpBu9etDwCQM7KXk,165742
16
- ldap_ui/statics/assets/index-0D2GdpZj.js,sha256=VVt9YhXcSOBQ-z1DXRLxnXZle3zLunHei-OuPseYF8U,130260
17
- ldap_ui/statics/assets/index-0D2GdpZj.js.gz,sha256=IJoHcdgbKxLz-UZlaoFegTnM3SIAZyIqrRozanjHWbA,46595
18
- ldap_ui/statics/assets/index-CAWiQJyn.css,sha256=7pcPuEVMRsQLm5hpUjB4GKR-uQtuT1CbNLRJXuXOr-0,47890
19
- ldap_ui/statics/assets/index-CAWiQJyn.css.gz,sha256=KRLZwZGCbc6jr_eUSClK28a8IZjQtNIj_HH3kEAJkcY,11524
20
- ldap_ui-0.10.2.dist-info/licenses/LICENSE.txt,sha256=UpJ0sDIqHxbOtzy1EG4bCHs9R_99ODxxPDK4NZ0g3I0,1042
21
- ldap_ui-0.10.2.dist-info/METADATA,sha256=KW_c5HQiWamPCJ1amAhbpdJcokg-EUZXfrjyyFjpBCo,7873
22
- ldap_ui-0.10.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
23
- ldap_ui-0.10.2.dist-info/entry_points.txt,sha256=TGxMkXYeZP5m5NjZxWmgzITYWhSdj2mR_GGUYmHhGws,50
24
- ldap_ui-0.10.2.dist-info/top_level.txt,sha256=t9Agyig1nDdJuQvx_UVuk1n28pgswc1BIYw8E6pWado,8
25
- ldap_ui-0.10.2.dist-info/RECORD,,