layers-design-system 3.0.22 → 3.1.0

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.
@@ -0,0 +1,163 @@
1
+ "use strict";const n=require("vue");var wt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pv={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(wt,function(){var r=1e3,o=6e4,a=36e5,i="millisecond",l="second",s="minute",u="hour",c="day",d="week",f="month",p="quarter",h="year",m="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Q){var z=["th","st","nd","rd"],C=Q%100;return"["+Q+(z[(C-20)%10]||z[C]||z[0])+"]"}},b=function(Q,z,C){var S=String(Q);return!S||S.length>=z?Q:""+Array(z+1-S.length).join(C)+Q},M={s:b,z:function(Q){var z=-Q.utcOffset(),C=Math.abs(z),S=Math.floor(C/60),I=C%60;return(z<=0?"+":"-")+b(S,2,"0")+":"+b(I,2,"0")},m:function Q(z,C){if(z.date()<C.date())return-Q(C,z);var S=12*(C.year()-z.year())+(C.month()-z.month()),I=z.clone().add(S,f),k=C-I<0,E=z.clone().add(S+(k?-1:1),f);return+(-(S+(C-I)/(k?I-E:E-I))||0)},a:function(Q){return Q<0?Math.ceil(Q)||0:Math.floor(Q)},p:function(Q){return{M:f,y:h,w:d,d:c,D:m,h:u,m:s,s:l,ms:i,Q:p}[Q]||String(Q||"").toLowerCase().replace(/s$/,"")},u:function(Q){return Q===void 0}},N="en",w={};w[N]=_;var x="$isDayjsObject",T=function(Q){return Q instanceof R||!(!Q||!Q[x])},O=function Q(z,C,S){var I;if(!z)return N;if(typeof z=="string"){var k=z.toLowerCase();w[k]&&(I=k),C&&(w[k]=C,I=k);var E=z.split("-");if(!I&&E.length>1)return Q(E[0])}else{var B=z.name;w[B]=z,I=B}return!S&&I&&(N=I),I||!S&&N},j=function(Q,z){if(T(Q))return Q.clone();var C=typeof z=="object"?z:{};return C.date=Q,C.args=arguments,new R(C)},P=M;P.l=O,P.i=T,P.w=function(Q,z){return j(Q,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var R=function(){function Q(C){this.$L=O(C.locale,null,!0),this.parse(C),this.$x=this.$x||C.x||{},this[x]=!0}var z=Q.prototype;return z.parse=function(C){this.$d=function(S){var I=S.date,k=S.utc;if(I===null)return new Date(NaN);if(P.u(I))return new Date;if(I instanceof Date)return new Date(I);if(typeof I=="string"&&!/Z$/i.test(I)){var E=I.match(y);if(E){var B=E[2]-1||0,V=(E[7]||"0").substring(0,3);return k?new Date(Date.UTC(E[1],B,E[3]||1,E[4]||0,E[5]||0,E[6]||0,V)):new Date(E[1],B,E[3]||1,E[4]||0,E[5]||0,E[6]||0,V)}}return new Date(I)}(C),this.init()},z.init=function(){var C=this.$d;this.$y=C.getFullYear(),this.$M=C.getMonth(),this.$D=C.getDate(),this.$W=C.getDay(),this.$H=C.getHours(),this.$m=C.getMinutes(),this.$s=C.getSeconds(),this.$ms=C.getMilliseconds()},z.$utils=function(){return P},z.isValid=function(){return this.$d.toString()!==g},z.isSame=function(C,S){var I=j(C);return this.startOf(S)<=I&&I<=this.endOf(S)},z.isAfter=function(C,S){return j(C)<this.startOf(S)},z.isBefore=function(C,S){return this.endOf(S)<j(C)},z.$g=function(C,S,I){return P.u(C)?this[S]:this.set(I,C)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function(C,S){var I=this,k=!!P.u(S)||S,E=P.p(C),B=function(se,ce){var he=P.w(I.$u?Date.UTC(I.$y,ce,se):new Date(I.$y,ce,se),I);return k?he:he.endOf(c)},V=function(se,ce){return P.w(I.toDate()[se].apply(I.toDate("s"),(k?[0,0,0,0]:[23,59,59,999]).slice(ce)),I)},F=this.$W,q=this.$M,Y=this.$D,ee="set"+(this.$u?"UTC":"");switch(E){case h:return k?B(1,0):B(31,11);case f:return k?B(1,q):B(0,q+1);case d:var J=this.$locale().weekStart||0,te=(F<J?F+7:F)-J;return B(k?Y-te:Y+(6-te),q);case c:case m:return V(ee+"Hours",0);case u:return V(ee+"Minutes",1);case s:return V(ee+"Seconds",2);case l:return V(ee+"Milliseconds",3);default:return this.clone()}},z.endOf=function(C){return this.startOf(C,!1)},z.$set=function(C,S){var I,k=P.p(C),E="set"+(this.$u?"UTC":""),B=(I={},I[c]=E+"Date",I[m]=E+"Date",I[f]=E+"Month",I[h]=E+"FullYear",I[u]=E+"Hours",I[s]=E+"Minutes",I[l]=E+"Seconds",I[i]=E+"Milliseconds",I)[k],V=k===c?this.$D+(S-this.$W):S;if(k===f||k===h){var F=this.clone().set(m,1);F.$d[B](V),F.init(),this.$d=F.set(m,Math.min(this.$D,F.daysInMonth())).$d}else B&&this.$d[B](V);return this.init(),this},z.set=function(C,S){return this.clone().$set(C,S)},z.get=function(C){return this[P.p(C)]()},z.add=function(C,S){var I,k=this;C=Number(C);var E=P.p(S),B=function(q){var Y=j(k);return P.w(Y.date(Y.date()+Math.round(q*C)),k)};if(E===f)return this.set(f,this.$M+C);if(E===h)return this.set(h,this.$y+C);if(E===c)return B(1);if(E===d)return B(7);var V=(I={},I[s]=o,I[u]=a,I[l]=r,I)[E]||1,F=this.$d.getTime()+C*V;return P.w(F,this)},z.subtract=function(C,S){return this.add(-1*C,S)},z.format=function(C){var S=this,I=this.$locale();if(!this.isValid())return I.invalidDate||g;var k=C||"YYYY-MM-DDTHH:mm:ssZ",E=P.z(this),B=this.$H,V=this.$m,F=this.$M,q=I.weekdays,Y=I.months,ee=I.meridiem,J=function(ce,he,Ee,Ce){return ce&&(ce[he]||ce(S,k))||Ee[he].slice(0,Ce)},te=function(ce){return P.s(B%12||12,ce,"0")},se=ee||function(ce,he,Ee){var Ce=ce<12?"AM":"PM";return Ee?Ce.toLowerCase():Ce};return k.replace(v,function(ce,he){return he||function(Ee){switch(Ee){case"YY":return String(S.$y).slice(-2);case"YYYY":return P.s(S.$y,4,"0");case"M":return F+1;case"MM":return P.s(F+1,2,"0");case"MMM":return J(I.monthsShort,F,Y,3);case"MMMM":return J(Y,F);case"D":return S.$D;case"DD":return P.s(S.$D,2,"0");case"d":return String(S.$W);case"dd":return J(I.weekdaysMin,S.$W,q,2);case"ddd":return J(I.weekdaysShort,S.$W,q,3);case"dddd":return q[S.$W];case"H":return String(B);case"HH":return P.s(B,2,"0");case"h":return te(1);case"hh":return te(2);case"a":return se(B,V,!0);case"A":return se(B,V,!1);case"m":return String(V);case"mm":return P.s(V,2,"0");case"s":return String(S.$s);case"ss":return P.s(S.$s,2,"0");case"SSS":return P.s(S.$ms,3,"0");case"Z":return E}return null}(ce)||E.replace(":","")})},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function(C,S,I){var k,E=this,B=P.p(S),V=j(C),F=(V.utcOffset()-this.utcOffset())*o,q=this-V,Y=function(){return P.m(E,V)};switch(B){case h:k=Y()/12;break;case f:k=Y();break;case p:k=Y()/3;break;case d:k=(q-F)/6048e5;break;case c:k=(q-F)/864e5;break;case u:k=q/a;break;case s:k=q/o;break;case l:k=q/r;break;default:k=q}return I?k:P.a(k)},z.daysInMonth=function(){return this.endOf(f).$D},z.$locale=function(){return w[this.$L]},z.locale=function(C,S){if(!C)return this.$L;var I=this.clone(),k=O(C,S,!0);return k&&(I.$L=k),I},z.clone=function(){return P.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},Q}(),$=R.prototype;return j.prototype=$,[["$ms",i],["$s",l],["$m",s],["$H",u],["$W",c],["$M",f],["$y",h],["$D",m]].forEach(function(Q){$[Q[1]]=function(z){return this.$g(z,Q[0],Q[1])}}),j.extend=function(Q,z){return Q.$i||(Q(z,R,j),Q.$i=!0),j},j.locale=O,j.isDayjs=T,j.unix=function(Q){return j(1e3*Q)},j.en=w[N],j.Ls=w,j.p={},j})})(Pv);var Rv=Pv.exports;const pe=yt(Rv);var Fv={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(wt,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(o,a,i){var l=a.prototype,s=l.format;i.en.formats=r,l.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,d=function(f,p){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(h,m,g){var y=g&&g.toUpperCase();return m||p[g]||r[g]||p[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,_,b){return _||b.slice(1)})})}(u,c===void 0?{}:c);return s.call(this,d)}}})})(Fv);var pb=Fv.exports;const mb=yt(pb);const a0=["aqua","aqua-dark","purple","purple-dark","salmon","salmon-dark","yellow","yellow-dark","lead","lead-light","link","link-light","success","success-light","warning","warning-light","danger","danger-light","white","red","green","gray","gray-10","gray-20","gray-30","gray-40","gray-50","gray-60","gray-70","gray-80","gray-90"],vh={aqua:"#00b8ad","aqua-dark":"#00a69c","aqua-light":$a("#00b8ad"),purple:"#5451d6","purple-dark":"#4644b5",salmon:"#f97777","salmon-dark":"#e86161",yellow:"#ffca65","yellow-dark":"#f5b845",lead:"#232b34","lead-light":"#434e5b",white:"#ffffff",gray:"#808080",red:"#ed6b4f",green:"#30b565",link:"#2f8af5","link-light":$a("#2f8af5"),success:"#30b565","success-light":$a("#30b565"),warning:"#f0af09","warning-light":$a("#f0af09"),danger:"#ed6b4f","danger-light":$a("#ed6b4f"),"gray-10":"#f4f6f8","gray-20":"#eef1f5","gray-30":"#e8ecef","gray-40":"#d7dee3","gray-50":"#c8d0d8","gray-60":"#a3b1bf","gray-70":"#748494","gray-80":"#405261","gray-90":"#1d2b36"};function ni(e){return a0.includes(e)?`var(--color-${e})`:e}function Uv(e){return a0.includes(e)?vh[e]:vh.aqua}function Bf(e){return a0.includes(e)?`var(--color-${e}-op)`:$a(e)}function $a(e){var t;return/^#([A-Fa-f0-9]{3}){1,2}$/.test(e)?(t=e.substring(1).split(""),t.length==3&&(t=[t[0],t[0],t[1],t[1],t[2],t[2]]),t="0x"+t.join(""),"rgba("+[t>>16&255,t>>8&255,t&255].join(",")+",0.1)"):"var(--color-gray-60-op)"}const Hv={};Hv.install=function(e){e.config.globalProperties.$L.getColor=ni,e.config.globalProperties.$L.getColorLight=Bf};const yl={"type:String":"uil-text","type:Number":"uil-star","type:Date":"uil-calender","format:Email":"uil-at","format:Amount":"uil-usd-circle","format:PaymentStatus":"uil-bolt-alt",amount:"uil-usd-circle",recurrence:"uil-repeat",date:"uil-calender",user:"uil-user-circle",email:"uil-at",key:"uil-key-skeleton"};function hb(e){return e?(e.icon?e=e.icon:e.format?e=`format:${e.format}`:e.type&&(e=`type:${e.type}`),e in yl&&(e=yl[e]),e):null}function gb(e,t){yl[e]=t}function vb(e,t){yl[`type:${e}`]=t}function yb(e,t){yl[`format:${e}`]=t}const Yv={get:hb,register:gb,registerForType:vb,registerForFormat:yb},Qv={};Qv.install=function(e){e.config.globalProperties.$L.Icons=Yv};const qv=new Map;function Mb(e){return qv.get(e)}function _b(e,t){qv.set(e,t)}const Wv={};Wv.install=function(e){e.config.globalProperties.$L.Schemas={get:Mb,register:_b}};const ge=(e,t)=>{const r=e.__vccOpts||e;for(const[o,a]of t)r[o]=a;return r},bb=n.defineComponent({name:"LIcon",props:{icon:{type:String,required:!1},size:{type:[String,Number],default:"1em"},color:{type:String,default:""}},computed:{iconName(){var r,o;let e="";(r=this.$slots)!=null&&r.default&&(e=(o=this.$slots.default()[0])==null?void 0:o.children);const t=this.icon||e||"";return Yv.get(t)||t},iconClass(){return`l-icon uil ${this.iconName}`},sizeStyle(){return typeof this.size=="number"||typeof this.size=="string"&&!this.size.endsWith("px")?`${this.size}px`:this.size},iconStyle(){return`font-size: ${this.sizeStyle}; color: ${ni(this.color)}`}}});function Nb(e,t,r,o,a,i){return e.iconName?(n.openBlock(),n.createElementBlock("i",{key:0,class:n.normalizeClass(e.iconClass),style:n.normalizeStyle(e.iconStyle)},null,6)):n.createCommentVNode("",!0)}const Gv=ge(bb,[["render",Nb],["__scopeId","data-v-04945ea1"]]),wb=Object.freeze(Object.defineProperty({__proto__:null,default:Gv},Symbol.toStringTag,{value:"Module"}));let yh={success:"success",info:null,warning:"warning",error:null};const kb={tagName:"l-notification",components:{LIcon:Gv},data(){return{visible:!1,title:"",message:"",duration:4500,type:"",showClose:!0,customClass:"",iconClass:"",onClose:null,onClick:null,closed:!1,verticalOffset:0,timer:null,dangerouslyUseHTMLString:!1,position:"top-right",loading:!1,loadingPosition:"left",loadingType:"dark",action:null,actionLabel:"",actionColor:"white"}},computed:{typeClass(){return this.type&&yh[this.type]?`el-icon-${yh[this.type]}`:""},horizontalClass(){return this.position.indexOf("left")===-1&&this.position.indexOf("right")===-1?"center":this.position.indexOf("right")>-1?"right":"left"},verticalProperty(){return/^top/.test(this.position)?"top":"bottom"},positionStyle(){return{[this.verticalProperty]:`${this.verticalOffset}px`}}},watch:{closed(e){e&&(this.visible=!1,this.$el.addEventListener("transitionend",this.destroyElement))}},methods:{callAction(){if(typeof this.action=="function")return this.action()},destroyElement(){this.$el.removeEventListener("transitionend",this.destroyElement),this.$el.parentNode.removeChild(this.$el)},click(){typeof this.onClick=="function"&&this.onClick()},close(){this.closed=!0,typeof this.onClose=="function"&&this.onClose()},clearTimer(){clearTimeout(this.timer)},startTimer(){this.duration>0&&(this.timer=setTimeout(()=>{this.closed||this.close()},this.duration))},keydown(e){e.keyCode===46||e.keyCode===8?this.clearTimer():e.keyCode===27?this.closed||this.close():this.startTimer()}},mounted(){this.duration>0&&(this.timer=setTimeout(()=>{this.closed||this.close()},this.duration)),document.addEventListener("keydown",this.keydown)},beforeUnmount(){document.removeEventListener("keydown",this.keydown)}},Cb={class:"el-notification__wrapper"},xb=["textContent"],Eb={class:"el-notification__content text-regular"},Tb={key:0},Db=["innerHTML"];function Sb(e,t,r,o,a,i){const l=n.resolveComponent("LCircularLoader"),s=n.resolveComponent("l-button"),u=n.resolveComponent("l-icon");return n.openBlock(),n.createBlock(n.Transition,{name:"el-notification-fade"},{default:n.withCtx(()=>[n.withDirectives(n.createElementVNode("div",{class:n.normalizeClass(["el-notification",a.customClass,i.horizontalClass]),style:n.normalizeStyle(i.positionStyle),onMouseenter:t[1]||(t[1]=c=>i.clearTimer()),onMouseleave:t[2]||(t[2]=c=>i.startTimer()),onClick:t[3]||(t[3]=(...c)=>i.click&&i.click(...c)),role:"alert"},[a.loading&&a.loadingPosition=="left"?(n.openBlock(),n.createBlock(l,{key:0,type:a.loadingType,class:"el-notification__loadingLeft"},null,8,["type"])):i.typeClass||a.iconClass?(n.openBlock(),n.createElementBlock("i",{key:1,class:n.normalizeClass(["el-notification__icon",[i.typeClass,a.iconClass]])},null,2)):n.createCommentVNode("",!0),n.createElementVNode("div",{class:n.normalizeClass(["el-notification__group",{"is-with-icon":i.typeClass||a.iconClass,"not-closeable":!a.showClose}])},[n.createElementVNode("div",Cb,[a.title?(n.openBlock(),n.createElementBlock("h2",{key:0,class:"el-notification__title",textContent:n.toDisplayString(a.title)},null,8,xb)):n.createCommentVNode("",!0),n.withDirectives(n.createElementVNode("div",Eb,[n.renderSlot(e.$slots,"default",{},()=>[a.dangerouslyUseHTMLString?(n.openBlock(),n.createElementBlock("p",{key:1,innerHTML:a.message},null,8,Db)):(n.openBlock(),n.createElementBlock("p",Tb,n.toDisplayString(a.message),1))])],512),[[n.vShow,a.message]])]),a.actionLabel?(n.openBlock(),n.createBlock(s,{key:0,type:"text",onClick:t[0]||(t[0]=c=>i.callAction()),class:n.normalizeClass(["el-notification__actionBtn",a.actionColor+"--text"])},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(a.actionLabel),1)]),_:1},8,["class"])):n.createCommentVNode("",!0)],2),a.loading&&a.loadingPosition=="right"?(n.openBlock(),n.createBlock(l,{key:2,class:"el-notification__loadingRight",type:a.loadingType},null,8,["type"])):a.showClose?(n.openBlock(),n.createBlock(u,{key:3,class:"white--text el-notification_closeButton",onClick:n.withModifiers(i.close,["stop"])},{default:n.withCtx(()=>t[4]||(t[4]=[n.createTextVNode(" uil-multiply ")])),_:1},8,["onClick"])):n.createCommentVNode("",!0)],38),[[n.vShow,a.visible]])]),_:3})}const Kv=ge(kb,[["render",Sb]]),Ib=Object.freeze(Object.defineProperty({__proto__:null,default:Kv},Symbol.toStringTag,{value:"Module"}));function Ab(){this.__data__=[],this.size=0}var zb=Ab;function Ob(e,t){return e===t||e!==e&&t!==t}var ql=Ob,jb=ql;function Lb(e,t){for(var r=e.length;r--;)if(jb(e[r][0],t))return r;return-1}var bc=Lb,Bb=bc,Vb=Array.prototype,$b=Vb.splice;function Pb(e){var t=this.__data__,r=Bb(t,e);if(r<0)return!1;var o=t.length-1;return r==o?t.pop():$b.call(t,r,1),--this.size,!0}var Rb=Pb,Fb=bc;function Ub(e){var t=this.__data__,r=Fb(t,e);return r<0?void 0:t[r][1]}var Hb=Ub,Yb=bc;function Qb(e){return Yb(this.__data__,e)>-1}var qb=Qb,Wb=bc;function Gb(e,t){var r=this.__data__,o=Wb(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}var Kb=Gb,Zb=zb,Jb=Rb,Xb=Hb,eN=qb,tN=Kb;function ki(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ki.prototype.clear=Zb;ki.prototype.delete=Jb;ki.prototype.get=Xb;ki.prototype.has=eN;ki.prototype.set=tN;var Nc=ki,nN=Nc;function rN(){this.__data__=new nN,this.size=0}var oN=rN;function aN(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}var iN=aN;function lN(e){return this.__data__.get(e)}var sN=lN;function uN(e){return this.__data__.has(e)}var cN=uN,dN=typeof wt=="object"&&wt&&wt.Object===Object&&wt,Zv=dN,fN=Zv,pN=typeof self=="object"&&self&&self.Object===Object&&self,mN=fN||pN||Function("return this")(),gr=mN,hN=gr,gN=hN.Symbol,Ci=gN,Mh=Ci,Jv=Object.prototype,vN=Jv.hasOwnProperty,yN=Jv.toString,Ri=Mh?Mh.toStringTag:void 0;function MN(e){var t=vN.call(e,Ri),r=e[Ri];try{e[Ri]=void 0;var o=!0}catch{}var a=yN.call(e);return o&&(t?e[Ri]=r:delete e[Ri]),a}var _N=MN,bN=Object.prototype,NN=bN.toString;function wN(e){return NN.call(e)}var kN=wN,_h=Ci,CN=_N,xN=kN,EN="[object Null]",TN="[object Undefined]",bh=_h?_h.toStringTag:void 0;function DN(e){return e==null?e===void 0?TN:EN:bh&&bh in Object(e)?CN(e):xN(e)}var xi=DN;function SN(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var vr=SN,IN=xi,AN=vr,zN="[object AsyncFunction]",ON="[object Function]",jN="[object GeneratorFunction]",LN="[object Proxy]";function BN(e){if(!AN(e))return!1;var t=IN(e);return t==ON||t==jN||t==zN||t==LN}var i0=BN,VN=gr,$N=VN["__core-js_shared__"],PN=$N,Md=PN,Nh=function(){var e=/[^.]+$/.exec(Md&&Md.keys&&Md.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function RN(e){return!!Nh&&Nh in e}var FN=RN,UN=Function.prototype,HN=UN.toString;function YN(e){if(e!=null){try{return HN.call(e)}catch{}try{return e+""}catch{}}return""}var Xv=YN,QN=i0,qN=FN,WN=vr,GN=Xv,KN=/[\\^$.*+?()[\]{}|]/g,ZN=/^\[object .+?Constructor\]$/,JN=Function.prototype,XN=Object.prototype,ew=JN.toString,tw=XN.hasOwnProperty,nw=RegExp("^"+ew.call(tw).replace(KN,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function rw(e){if(!WN(e)||qN(e))return!1;var t=QN(e)?nw:ZN;return t.test(GN(e))}var ow=rw;function aw(e,t){return e==null?void 0:e[t]}var iw=aw,lw=ow,sw=iw;function uw(e,t){var r=sw(e,t);return lw(r)?r:void 0}var ba=uw,cw=ba,dw=gr,fw=cw(dw,"Map"),l0=fw,pw=ba,mw=pw(Object,"create"),wc=mw,wh=wc;function hw(){this.__data__=wh?wh(null):{},this.size=0}var gw=hw;function vw(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var yw=vw,Mw=wc,_w="__lodash_hash_undefined__",bw=Object.prototype,Nw=bw.hasOwnProperty;function ww(e){var t=this.__data__;if(Mw){var r=t[e];return r===_w?void 0:r}return Nw.call(t,e)?t[e]:void 0}var kw=ww,Cw=wc,xw=Object.prototype,Ew=xw.hasOwnProperty;function Tw(e){var t=this.__data__;return Cw?t[e]!==void 0:Ew.call(t,e)}var Dw=Tw,Sw=wc,Iw="__lodash_hash_undefined__";function Aw(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Sw&&t===void 0?Iw:t,this}var zw=Aw,Ow=gw,jw=yw,Lw=kw,Bw=Dw,Vw=zw;function Ei(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ei.prototype.clear=Ow;Ei.prototype.delete=jw;Ei.prototype.get=Lw;Ei.prototype.has=Bw;Ei.prototype.set=Vw;var $w=Ei,kh=$w,Pw=Nc,Rw=l0;function Fw(){this.size=0,this.__data__={hash:new kh,map:new(Rw||Pw),string:new kh}}var Uw=Fw;function Hw(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Yw=Hw,Qw=Yw;function qw(e,t){var r=e.__data__;return Qw(t)?r[typeof t=="string"?"string":"hash"]:r.map}var kc=qw,Ww=kc;function Gw(e){var t=Ww(this,e).delete(e);return this.size-=t?1:0,t}var Kw=Gw,Zw=kc;function Jw(e){return Zw(this,e).get(e)}var Xw=Jw,ek=kc;function tk(e){return ek(this,e).has(e)}var nk=tk,rk=kc;function ok(e,t){var r=rk(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}var ak=ok,ik=Uw,lk=Kw,sk=Xw,uk=nk,ck=ak;function Ti(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ti.prototype.clear=ik;Ti.prototype.delete=lk;Ti.prototype.get=sk;Ti.prototype.has=uk;Ti.prototype.set=ck;var s0=Ti,dk=Nc,fk=l0,pk=s0,mk=200;function hk(e,t){var r=this.__data__;if(r instanceof dk){var o=r.__data__;if(!fk||o.length<mk-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new pk(o)}return r.set(e,t),this.size=r.size,this}var gk=hk,vk=Nc,yk=oN,Mk=iN,_k=sN,bk=cN,Nk=gk;function Di(e){var t=this.__data__=new vk(e);this.size=t.size}Di.prototype.clear=yk;Di.prototype.delete=Mk;Di.prototype.get=_k;Di.prototype.has=bk;Di.prototype.set=Nk;var Cc=Di,wk=ba,kk=function(){try{var e=wk(Object,"defineProperty");return e({},"",{}),e}catch{}}(),e3=kk,Ch=e3;function Ck(e,t,r){t=="__proto__"&&Ch?Ch(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var u0=Ck,xk=u0,Ek=ql;function Tk(e,t,r){(r!==void 0&&!Ek(e[t],r)||r===void 0&&!(t in e))&&xk(e,t,r)}var t3=Tk;function Dk(e){return function(t,r,o){for(var a=-1,i=Object(t),l=o(t),s=l.length;s--;){var u=l[e?s:++a];if(r(i[u],u,i)===!1)break}return t}}var Sk=Dk,Ik=Sk,Ak=Ik(),n3=Ak,du={exports:{}};du.exports;(function(e,t){var r=gr,o=t&&!t.nodeType&&t,a=o&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===o,l=i?r.Buffer:void 0,s=l?l.allocUnsafe:void 0;function u(c,d){if(d)return c.slice();var f=c.length,p=s?s(f):new c.constructor(f);return c.copy(p),p}e.exports=u})(du,du.exports);var r3=du.exports,zk=gr,Ok=zk.Uint8Array,o3=Ok,xh=o3;function jk(e){var t=new e.constructor(e.byteLength);return new xh(t).set(new xh(e)),t}var c0=jk,Lk=c0;function Bk(e,t){var r=t?Lk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var a3=Bk;function Vk(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}var i3=Vk,$k=vr,Eh=Object.create,Pk=function(){function e(){}return function(t){if(!$k(t))return{};if(Eh)return Eh(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}(),Rk=Pk;function Fk(e,t){return function(r){return e(t(r))}}var l3=Fk,Uk=l3,Hk=Uk(Object.getPrototypeOf,Object),d0=Hk,Yk=Object.prototype;function Qk(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Yk;return e===r}var f0=Qk,qk=Rk,Wk=d0,Gk=f0;function Kk(e){return typeof e.constructor=="function"&&!Gk(e)?qk(Wk(e)):{}}var s3=Kk;function Zk(e){return e!=null&&typeof e=="object"}var to=Zk,Jk=xi,Xk=to,e5="[object Arguments]";function t5(e){return Xk(e)&&Jk(e)==e5}var n5=t5,Th=n5,r5=to,u3=Object.prototype,o5=u3.hasOwnProperty,a5=u3.propertyIsEnumerable,i5=Th(function(){return arguments}())?Th:function(e){return r5(e)&&o5.call(e,"callee")&&!a5.call(e,"callee")},xc=i5,l5=Array.isArray,Zn=l5,s5=9007199254740991;function u5(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=s5}var p0=u5,c5=i0,d5=p0;function f5(e){return e!=null&&d5(e.length)&&!c5(e)}var Si=f5,p5=Si,m5=to;function h5(e){return m5(e)&&p5(e)}var c3=h5,fu={exports:{}};function g5(){return!1}var v5=g5;fu.exports;(function(e,t){var r=gr,o=v5,a=t&&!t.nodeType&&t,i=a&&!0&&e&&!e.nodeType&&e,l=i&&i.exports===a,s=l?r.Buffer:void 0,u=s?s.isBuffer:void 0,c=u||o;e.exports=c})(fu,fu.exports);var Ec=fu.exports,y5=xi,M5=d0,_5=to,b5="[object Object]",N5=Function.prototype,w5=Object.prototype,d3=N5.toString,k5=w5.hasOwnProperty,C5=d3.call(Object);function x5(e){if(!_5(e)||y5(e)!=b5)return!1;var t=M5(e);if(t===null)return!0;var r=k5.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&d3.call(r)==C5}var E5=x5,T5=xi,D5=p0,S5=to,I5="[object Arguments]",A5="[object Array]",z5="[object Boolean]",O5="[object Date]",j5="[object Error]",L5="[object Function]",B5="[object Map]",V5="[object Number]",$5="[object Object]",P5="[object RegExp]",R5="[object Set]",F5="[object String]",U5="[object WeakMap]",H5="[object ArrayBuffer]",Y5="[object DataView]",Q5="[object Float32Array]",q5="[object Float64Array]",W5="[object Int8Array]",G5="[object Int16Array]",K5="[object Int32Array]",Z5="[object Uint8Array]",J5="[object Uint8ClampedArray]",X5="[object Uint16Array]",eC="[object Uint32Array]",st={};st[Q5]=st[q5]=st[W5]=st[G5]=st[K5]=st[Z5]=st[J5]=st[X5]=st[eC]=!0;st[I5]=st[A5]=st[H5]=st[z5]=st[Y5]=st[O5]=st[j5]=st[L5]=st[B5]=st[V5]=st[$5]=st[P5]=st[R5]=st[F5]=st[U5]=!1;function tC(e){return S5(e)&&D5(e.length)&&!!st[T5(e)]}var nC=tC;function rC(e){return function(t){return e(t)}}var Tc=rC,pu={exports:{}};pu.exports;(function(e,t){var r=Zv,o=t&&!t.nodeType&&t,a=o&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===o,l=i&&r.process,s=function(){try{var u=a&&a.require&&a.require("util").types;return u||l&&l.binding&&l.binding("util")}catch{}}();e.exports=s})(pu,pu.exports);var m0=pu.exports,oC=nC,aC=Tc,Dh=m0,Sh=Dh&&Dh.isTypedArray,iC=Sh?aC(Sh):oC,h0=iC;function lC(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var f3=lC,sC=u0,uC=ql,cC=Object.prototype,dC=cC.hasOwnProperty;function fC(e,t,r){var o=e[t];(!(dC.call(e,t)&&uC(o,r))||r===void 0&&!(t in e))&&sC(e,t,r)}var p3=fC,pC=p3,mC=u0;function hC(e,t,r,o){var a=!r;r||(r={});for(var i=-1,l=t.length;++i<l;){var s=t[i],u=o?o(r[s],e[s],s,r,e):void 0;u===void 0&&(u=e[s]),a?mC(r,s,u):pC(r,s,u)}return r}var Wl=hC;function gC(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}var vC=gC,yC=9007199254740991,MC=/^(?:0|[1-9]\d*)$/;function _C(e,t){var r=typeof e;return t=t??yC,!!t&&(r=="number"||r!="symbol"&&MC.test(e))&&e>-1&&e%1==0&&e<t}var g0=_C,bC=vC,NC=xc,wC=Zn,kC=Ec,CC=g0,xC=h0,EC=Object.prototype,TC=EC.hasOwnProperty;function DC(e,t){var r=wC(e),o=!r&&NC(e),a=!r&&!o&&kC(e),i=!r&&!o&&!a&&xC(e),l=r||o||a||i,s=l?bC(e.length,String):[],u=s.length;for(var c in e)(t||TC.call(e,c))&&!(l&&(c=="length"||a&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||CC(c,u)))&&s.push(c);return s}var m3=DC;function SC(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var IC=SC,AC=vr,zC=f0,OC=IC,jC=Object.prototype,LC=jC.hasOwnProperty;function BC(e){if(!AC(e))return OC(e);var t=zC(e),r=[];for(var o in e)o=="constructor"&&(t||!LC.call(e,o))||r.push(o);return r}var VC=BC,$C=m3,PC=VC,RC=Si;function FC(e){return RC(e)?$C(e,!0):PC(e)}var Gl=FC,UC=Wl,HC=Gl;function YC(e){return UC(e,HC(e))}var QC=YC,Ih=t3,qC=r3,WC=a3,GC=i3,KC=s3,Ah=xc,zh=Zn,ZC=c3,JC=Ec,XC=i0,ex=vr,tx=E5,nx=h0,Oh=f3,rx=QC;function ox(e,t,r,o,a,i,l){var s=Oh(e,r),u=Oh(t,r),c=l.get(u);if(c){Ih(e,r,c);return}var d=i?i(s,u,r+"",e,t,l):void 0,f=d===void 0;if(f){var p=zh(u),h=!p&&JC(u),m=!p&&!h&&nx(u);d=u,p||h||m?zh(s)?d=s:ZC(s)?d=GC(s):h?(f=!1,d=qC(u,!0)):m?(f=!1,d=WC(u,!0)):d=[]:tx(u)||Ah(u)?(d=s,Ah(s)?d=rx(s):(!ex(s)||XC(s))&&(d=KC(u))):f=!1}f&&(l.set(u,d),a(d,u,o,i,l),l.delete(u)),Ih(e,r,d)}var ax=ox,ix=Cc,lx=t3,sx=n3,ux=ax,cx=vr,dx=Gl,fx=f3;function h3(e,t,r,o,a){e!==t&&sx(t,function(i,l){if(a||(a=new ix),cx(i))ux(e,t,l,r,h3,o,a);else{var s=o?o(fx(e,l),i,l+"",e,t,a):void 0;s===void 0&&(s=i),lx(e,l,s)}},dx)}var px=h3;function mx(e){return e}var v0=mx;function hx(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var gx=hx,vx=gx,jh=Math.max;function yx(e,t,r){return t=jh(t===void 0?e.length-1:t,0),function(){for(var o=arguments,a=-1,i=jh(o.length-t,0),l=Array(i);++a<i;)l[a]=o[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=o[a];return s[t]=r(l),vx(e,this,s)}}var Mx=yx;function _x(e){return function(){return e}}var bx=_x,Nx=bx,Lh=e3,wx=v0,kx=Lh?function(e,t){return Lh(e,"toString",{configurable:!0,enumerable:!1,value:Nx(t),writable:!0})}:wx,Cx=kx,xx=800,Ex=16,Tx=Date.now;function Dx(e){var t=0,r=0;return function(){var o=Tx(),a=Ex-(o-r);if(r=o,a>0){if(++t>=xx)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Sx=Dx,Ix=Cx,Ax=Sx,zx=Ax(Ix),Ox=zx,jx=v0,Lx=Mx,Bx=Ox;function Vx(e,t){return Bx(Lx(e,t,jx),e+"")}var g3=Vx,$x=ql,Px=Si,Rx=g0,Fx=vr;function Ux(e,t,r){if(!Fx(r))return!1;var o=typeof t;return(o=="number"?Px(r)&&Rx(t,r.length):o=="string"&&t in r)?$x(r[t],e):!1}var Hx=Ux,Yx=g3,Qx=Hx;function qx(e){return Yx(function(t,r){var o=-1,a=r.length,i=a>1?r[a-1]:void 0,l=a>2?r[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,l&&Qx(r[0],r[1],l)&&(i=a<3?void 0:i,a=1),t=Object(t);++o<a;){var s=r[o];s&&e(t,s,o,i)}return t})}var Wx=qx,Gx=px,Kx=Wx,Zx=Kx(function(e,t,r){Gx(e,t,r)}),Jx=Zx;const Xx=yt(Jx);let ir=[],eE=1,tE=1e4;const ma=function(e){e=Xx({},e);const t=e.onClose,r="notification_"+eE++,o=e.position||"top-right";e.onClose=function(){ma.close(r,t)};const a=n.createApp({render(){return n.h(Kv,{...e,onClose:e.onClose},{default:()=>n.isVNode(e.message)?[e.message]:[]})}});a.use(hh,{enabledNotify:!1});const i=document.createElement("div");document.body.appendChild(i);const l=a.mount(i);l.id=r,l.visible=!0,l.dom=i,i.style.zIndex=tE++;let s=e.offset||0;return ir.filter(u=>u.position===o).forEach(u=>{s+=u.dom.offsetHeight+16}),s+=16,l.verticalOffset=s,ir.push(l),l};["success","warning","info","error"].forEach(e=>{ma[e]=t=>((typeof t=="string"||n.isVNode(t))&&(t={message:t}),t.type=e,ma(t))});ma.close=function(e,t){let r=-1;const o=ir.find((l,s)=>l.id===e?(r=s,!0):!1);if(!o||(typeof t=="function"&&t(o),ir.splice(r,1),ir.length<=1))return;const a=o.position,i=o.dom.offsetHeight;for(let l=r;l<ir.length;l++)ir[l].position===a&&(ir[l].dom.style.top=parseInt(ir[l].dom.style.top,10)-i-16+"px")};ma.closeAll=function(){for(;ir.length;)ir.pop().close()};const nE=()=>({setLanguage:async function(e){["en","es","pt-br"].includes(e)||(e="pt-br");let r;switch(e){case"en":r=await Promise.resolve().then(()=>cF),await Promise.resolve().then(()=>require("./en-ea65e4f4.cjs")).then(o=>o.en);break;case"es":r=await Promise.resolve().then(()=>require("./es-1e7a9d7e.cjs")),await Promise.resolve().then(()=>require("./es-d675539e.cjs")).then(o=>o.es);break;default:r=await Promise.resolve().then(()=>require("./pt-br-c3f75a63.cjs")),await Promise.resolve().then(()=>require("./pt-br-2b8fb6e7.cjs")).then(o=>o.ptBr);break}return pe.locale(e),r.default}});function v3(e){const t=[];if(e&&e.format&&t.push(`format:${e.format}`),e&&e.type&&t.push(`type:${e.type}`),t.push("DEFAULT"),t.length===0)throw new Error(`Unprocessable fieldSchema ${e}`);return t}const Qs=new Map;function rE(e,t){if(!e)throw new Error(`Received ${e} fieldSchema, componentType ${t}`);if(e.components&&e.components[t])return e.components[t];const r=v3(e);for(const o of r){const a=Qs.get(`${o}:${t}`);if(a)return a}throw new Error(`Component not found for field schema ${JSON.stringify(e)} and component type ${t}`)}function oE(e,t,r){const a=`${v3(e)[0]}:${t}`;Qs.has(a)&&Qs.get(a)!==r&&console.warn(`Overwriting component for key ${a}`),Qs.set(a,r)}const ln={get:rE,register:oE},y3={};y3.install=function(e){e.config.globalProperties.$L.FieldTypeComponents=ln};const Bh=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},_t=(e,t,{checkForDefaultPrevented:r=!0}={})=>a=>{const i=e==null?void 0:e(a);if(r===!1||!i)return t==null?void 0:t(a)},Vh=e=>t=>t.pointerType==="mouse"?e(t):void 0;var aE=Object.defineProperty,iE=Object.defineProperties,lE=Object.getOwnPropertyDescriptors,$h=Object.getOwnPropertySymbols,sE=Object.prototype.hasOwnProperty,uE=Object.prototype.propertyIsEnumerable,Ph=(e,t,r)=>t in e?aE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,cE=(e,t)=>{for(var r in t||(t={}))sE.call(t,r)&&Ph(e,r,t[r]);if($h)for(var r of $h(t))uE.call(t,r)&&Ph(e,r,t[r]);return e},dE=(e,t)=>iE(e,lE(t));function Vf(e,t){var r;const o=n.shallowRef();return n.watchEffect(()=>{o.value=e()},dE(cE({},t),{flush:(r=t==null?void 0:t.flush)!=null?r:"sync"})),n.readonly(o)}var Rh;const We=typeof window<"u",fE=e=>typeof e<"u",pE=e=>typeof e=="function",mE=e=>typeof e=="string",ri=()=>{},$f=We&&((Rh=window==null?void 0:window.navigator)==null?void 0:Rh.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function oi(e){return typeof e=="function"?e():n.unref(e)}function M3(e,t){function r(...o){return new Promise((a,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(a).catch(i)})}return r}function hE(e,t={}){let r,o,a=ri;const i=s=>{clearTimeout(s),a(),a=ri};return s=>{const u=oi(e),c=oi(t.maxWait);return r&&i(r),u<=0||c!==void 0&&c<=0?(o&&(i(o),o=null),Promise.resolve(s())):new Promise((d,f)=>{a=t.rejectOnCancel?f:d,c&&!o&&(o=setTimeout(()=>{r&&i(r),o=null,d(s())},c)),r=setTimeout(()=>{o&&i(o),o=null,d(s())},u)})}}function gE(e,t=!0,r=!0,o=!1){let a=0,i,l=!0,s=ri,u;const c=()=>{i&&(clearTimeout(i),i=void 0,s(),s=ri)};return f=>{const p=oi(e),h=Date.now()-a,m=()=>u=f();return c(),p<=0?(a=Date.now(),m()):(h>p&&(r||!l)?(a=Date.now(),m()):t&&(u=new Promise((g,y)=>{s=o?y:g,i=setTimeout(()=>{a=Date.now(),l=!0,g(m()),c()},Math.max(0,p-h))})),!r&&!i&&(i=setTimeout(()=>l=!0,p)),l=!1,u)}}function vE(e){return e}function Kl(e){return n.getCurrentScope()?(n.onScopeDispose(e),!0):!1}function yE(e,t=200,r={}){return M3(hE(t,r),e)}function ME(e,t=200,r={}){const o=n.ref(e.value),a=yE(()=>{o.value=e.value},t,r);return n.watch(e,()=>a()),o}function _E(e,t=200,r=!1,o=!0,a=!1){return M3(gE(t,r,o,a),e)}function bE(e,t=!0){n.getCurrentInstance()?n.onMounted(e):t?e():n.nextTick(e)}function Fh(e,t,r={}){const{immediate:o=!0}=r,a=n.ref(!1);let i=null;function l(){i&&(clearTimeout(i),i=null)}function s(){a.value=!1,l()}function u(...c){l(),a.value=!0,i=setTimeout(()=>{a.value=!1,i=null,e(...c)},oi(t))}return o&&(a.value=!0,We&&u()),Kl(s),{isPending:n.readonly(a),start:u,stop:s}}function Tr(e){var t;const r=oi(e);return(t=r==null?void 0:r.$el)!=null?t:r}const Zl=We?window:void 0,NE=We?window.document:void 0;function ct(...e){let t,r,o,a;if(mE(e[0])||Array.isArray(e[0])?([r,o,a]=e,t=Zl):[t,r,o,a]=e,!t)return ri;Array.isArray(r)||(r=[r]),Array.isArray(o)||(o=[o]);const i=[],l=()=>{i.forEach(d=>d()),i.length=0},s=(d,f,p,h)=>(d.addEventListener(f,p,h),()=>d.removeEventListener(f,p,h)),u=n.watch(()=>[Tr(t),oi(a)],([d,f])=>{l(),d&&i.push(...r.flatMap(p=>o.map(h=>s(d,p,h,f))))},{immediate:!0,flush:"post"}),c=()=>{u(),l()};return Kl(c),c}let Uh=!1;function _3(e,t,r={}){const{window:o=Zl,ignore:a=[],capture:i=!0,detectIframe:l=!1}=r;if(!o)return;$f&&!Uh&&(Uh=!0,Array.from(o.document.body.children).forEach(p=>p.addEventListener("click",ri)));let s=!0;const u=p=>a.some(h=>{if(typeof h=="string")return Array.from(o.document.querySelectorAll(h)).some(m=>m===p.target||p.composedPath().includes(m));{const m=Tr(h);return m&&(p.target===m||p.composedPath().includes(m))}}),d=[ct(o,"click",p=>{const h=Tr(e);if(!(!h||h===p.target||p.composedPath().includes(h))){if(p.detail===0&&(s=!u(p)),!s){s=!0;return}t(p)}},{passive:!0,capture:i}),ct(o,"pointerdown",p=>{const h=Tr(e);h&&(s=!p.composedPath().includes(h)&&!u(p))},{passive:!0}),l&&ct(o,"blur",p=>{var h;const m=Tr(e);((h=o.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(m!=null&&m.contains(o.document.activeElement))&&t(p)})].filter(Boolean);return()=>d.forEach(p=>p())}function b3(e,t=!1){const r=n.ref(),o=()=>r.value=!!e();return o(),bE(o,t),r}function wE(e){return JSON.parse(JSON.stringify(e))}const Hh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yh="__vueuse_ssr_handlers__";Hh[Yh]=Hh[Yh]||{};function kE({document:e=NE}={}){if(!e)return n.ref("visible");const t=n.ref(e.visibilityState);return ct(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Qh=Object.getOwnPropertySymbols,CE=Object.prototype.hasOwnProperty,xE=Object.prototype.propertyIsEnumerable,EE=(e,t)=>{var r={};for(var o in e)CE.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Qh)for(var o of Qh(e))t.indexOf(o)<0&&xE.call(e,o)&&(r[o]=e[o]);return r};function vn(e,t,r={}){const o=r,{window:a=Zl}=o,i=EE(o,["window"]);let l;const s=b3(()=>a&&"ResizeObserver"in a),u=()=>{l&&(l.disconnect(),l=void 0)},c=n.watch(()=>Tr(e),f=>{u(),s.value&&a&&f&&(l=new ResizeObserver(t),l.observe(f,i))},{immediate:!0,flush:"post"}),d=()=>{u(),c()};return Kl(d),{isSupported:s,stop:d}}var qh=Object.getOwnPropertySymbols,TE=Object.prototype.hasOwnProperty,DE=Object.prototype.propertyIsEnumerable,SE=(e,t)=>{var r={};for(var o in e)TE.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&qh)for(var o of qh(e))t.indexOf(o)<0&&DE.call(e,o)&&(r[o]=e[o]);return r};function IE(e,t,r={}){const o=r,{window:a=Zl}=o,i=SE(o,["window"]);let l;const s=b3(()=>a&&"MutationObserver"in a),u=()=>{l&&(l.disconnect(),l=void 0)},c=n.watch(()=>Tr(e),f=>{u(),s.value&&a&&f&&(l=new MutationObserver(t),l.observe(f,i))},{immediate:!0}),d=()=>{u(),c()};return Kl(d),{isSupported:s,stop:d}}var Wh;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Wh||(Wh={}));var AE=Object.defineProperty,Gh=Object.getOwnPropertySymbols,zE=Object.prototype.hasOwnProperty,OE=Object.prototype.propertyIsEnumerable,Kh=(e,t,r)=>t in e?AE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,jE=(e,t)=>{for(var r in t||(t={}))zE.call(t,r)&&Kh(e,r,t[r]);if(Gh)for(var r of Gh(t))OE.call(t,r)&&Kh(e,r,t[r]);return e};const LE={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};jE({linear:vE},LE);function BE(e,t,r,o={}){var a,i,l;const{clone:s=!1,passive:u=!1,eventName:c,deep:d=!1,defaultValue:f}=o,p=n.getCurrentInstance(),h=r||(p==null?void 0:p.emit)||((a=p==null?void 0:p.$emit)==null?void 0:a.bind(p))||((l=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:l.bind(p==null?void 0:p.proxy));let m=c;t||(t="modelValue"),m=c||m||`update:${t.toString()}`;const g=v=>s?pE(s)?s(v):wE(v):v,y=()=>fE(e[t])?g(e[t]):f;if(u){const v=y(),_=n.ref(v);return n.watch(()=>e[t],b=>_.value=g(b)),n.watch(_,b=>{(b!==e[t]||d)&&h(m,b)},{deep:d}),_}else return n.computed({get(){return y()},set(v){h(m,v)}})}function VE({window:e=Zl}={}){if(!e)return n.ref(!1);const t=n.ref(e.document.hasFocus());return ct(e,"blur",()=>{t.value=!1}),ct(e,"focus",()=>{t.value=!0}),t}const $E=()=>We&&/firefox/i.test(window.navigator.userAgent),PE=(e,t)=>{if(!We||!e||!t)return!1;const r=e.getBoundingClientRect();let o;return t instanceof Element?o=t.getBoundingClientRect():o={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},r.top<o.bottom&&r.bottom>o.top&&r.right>o.left&&r.left<o.right};/**
2
+ * @vue/shared v3.5.12
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/process.env.NODE_ENV!=="production"&&Object.freeze({});process.env.NODE_ENV!=="production"&&Object.freeze([]);const lt=()=>{},RE=Object.prototype.hasOwnProperty,Zh=(e,t)=>RE.call(e,t),we=Array.isArray,Jh=e=>y0(e)==="[object Date]",rt=e=>typeof e=="function",Je=e=>typeof e=="string",kt=e=>e!==null&&typeof e=="object",Xh=e=>(kt(e)||rt(e))&&rt(e.then)&&rt(e.catch),FE=Object.prototype.toString,y0=e=>FE.call(e),_d=e=>y0(e).slice(8,-1),e2=e=>y0(e)==="[object Object]",M0=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},UE=/-(\w)/g,HE=M0(e=>e.replace(UE,(t,r)=>r?r.toUpperCase():"")),YE=/\B([A-Z])/g,QE=M0(e=>e.replace(YE,"-$1").toLowerCase()),qE=M0(e=>e.charAt(0).toUpperCase()+e.slice(1));var WE=typeof global=="object"&&global&&global.Object===Object&&global;const N3=WE;var GE=typeof self=="object"&&self&&self.Object===Object&&self,KE=N3||GE||Function("return this")();const yr=KE;var ZE=yr.Symbol;const Rn=ZE;var w3=Object.prototype,JE=w3.hasOwnProperty,XE=w3.toString,Fi=Rn?Rn.toStringTag:void 0;function eT(e){var t=JE.call(e,Fi),r=e[Fi];try{e[Fi]=void 0;var o=!0}catch{}var a=XE.call(e);return o&&(t?e[Fi]=r:delete e[Fi]),a}var tT=Object.prototype,nT=tT.toString;function rT(e){return nT.call(e)}var oT="[object Null]",aT="[object Undefined]",t2=Rn?Rn.toStringTag:void 0;function Ii(e){return e==null?e===void 0?aT:oT:t2&&t2 in Object(e)?eT(e):rT(e)}function So(e){return e!=null&&typeof e=="object"}var iT="[object Symbol]";function Dc(e){return typeof e=="symbol"||So(e)&&Ii(e)==iT}function lT(e,t){for(var r=-1,o=e==null?0:e.length,a=Array(o);++r<o;)a[r]=t(e[r],r,e);return a}var sT=Array.isArray;const Fn=sT;var uT=1/0,n2=Rn?Rn.prototype:void 0,r2=n2?n2.toString:void 0;function k3(e){if(typeof e=="string")return e;if(Fn(e))return lT(e,k3)+"";if(Dc(e))return r2?r2.call(e):"";var t=e+"";return t=="0"&&1/e==-uT?"-0":t}var cT=/\s/;function dT(e){for(var t=e.length;t--&&cT.test(e.charAt(t)););return t}var fT=/^\s+/;function pT(e){return e&&e.slice(0,dT(e)+1).replace(fT,"")}function Un(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var o2=0/0,mT=/^[-+]0x[0-9a-f]+$/i,hT=/^0b[01]+$/i,gT=/^0o[0-7]+$/i,vT=parseInt;function Pf(e){if(typeof e=="number")return e;if(Dc(e))return o2;if(Un(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Un(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pT(e);var r=hT.test(e);return r||gT.test(e)?vT(e.slice(2),r?2:8):mT.test(e)?o2:+e}var a2=1/0,yT=17976931348623157e292;function MT(e){if(!e)return e===0?e:0;if(e=Pf(e),e===a2||e===-a2){var t=e<0?-1:1;return t*yT}return e===e?e:0}function _T(e){var t=MT(e),r=t%1;return t===t?r?t-r:t:0}function C3(e){return e}var bT="[object AsyncFunction]",NT="[object Function]",wT="[object GeneratorFunction]",kT="[object Proxy]";function x3(e){if(!Un(e))return!1;var t=Ii(e);return t==NT||t==wT||t==bT||t==kT}var CT=yr["__core-js_shared__"];const bd=CT;var i2=function(){var e=/[^.]+$/.exec(bd&&bd.keys&&bd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function xT(e){return!!i2&&i2 in e}var ET=Function.prototype,TT=ET.toString;function Na(e){if(e!=null){try{return TT.call(e)}catch{}try{return e+""}catch{}}return""}var DT=/[\\^$.*+?()[\]{}|]/g,ST=/^\[object .+?Constructor\]$/,IT=Function.prototype,AT=Object.prototype,zT=IT.toString,OT=AT.hasOwnProperty,jT=RegExp("^"+zT.call(OT).replace(DT,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function LT(e){if(!Un(e)||xT(e))return!1;var t=x3(e)?jT:ST;return t.test(Na(e))}function BT(e,t){return e==null?void 0:e[t]}function wa(e,t){var r=BT(e,t);return LT(r)?r:void 0}var VT=wa(yr,"WeakMap");const Rf=VT;var l2=Object.create,$T=function(){function e(){}return function(t){if(!Un(t))return{};if(l2)return l2(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();const PT=$T;function RT(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function FT(e,t){var r=-1,o=e.length;for(t||(t=Array(o));++r<o;)t[r]=e[r];return t}var UT=800,HT=16,YT=Date.now;function QT(e){var t=0,r=0;return function(){var o=YT(),a=HT-(o-r);if(r=o,a>0){if(++t>=UT)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function qT(e){return function(){return e}}var WT=function(){try{var e=wa(Object,"defineProperty");return e({},"",{}),e}catch{}}();const mu=WT;var GT=mu?function(e,t){return mu(e,"toString",{configurable:!0,enumerable:!1,value:qT(t),writable:!0})}:C3;const KT=GT;var ZT=QT(KT);const JT=ZT;function XT(e,t){for(var r=-1,o=e==null?0:e.length;++r<o&&t(e[r],r,e)!==!1;);return e}function eD(e,t,r,o){for(var a=e.length,i=r+(o?1:-1);o?i--:++i<a;)if(t(e[i],i,e))return i;return-1}var tD=9007199254740991,nD=/^(?:0|[1-9]\d*)$/;function _0(e,t){var r=typeof e;return t=t??tD,!!t&&(r=="number"||r!="symbol"&&nD.test(e))&&e>-1&&e%1==0&&e<t}function E3(e,t,r){t=="__proto__"&&mu?mu(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function b0(e,t){return e===t||e!==e&&t!==t}var rD=Object.prototype,oD=rD.hasOwnProperty;function N0(e,t,r){var o=e[t];(!(oD.call(e,t)&&b0(o,r))||r===void 0&&!(t in e))&&E3(e,t,r)}function Sc(e,t,r,o){var a=!r;r||(r={});for(var i=-1,l=t.length;++i<l;){var s=t[i],u=o?o(r[s],e[s],s,r,e):void 0;u===void 0&&(u=e[s]),a?E3(r,s,u):N0(r,s,u)}return r}var s2=Math.max;function aD(e,t,r){return t=s2(t===void 0?e.length-1:t,0),function(){for(var o=arguments,a=-1,i=s2(o.length-t,0),l=Array(i);++a<i;)l[a]=o[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=o[a];return s[t]=r(l),RT(e,this,s)}}var iD=9007199254740991;function w0(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=iD}function T3(e){return e!=null&&w0(e.length)&&!x3(e)}var lD=Object.prototype;function k0(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||lD;return e===r}function sD(e,t){for(var r=-1,o=Array(e);++r<e;)o[r]=t(r);return o}var uD="[object Arguments]";function u2(e){return So(e)&&Ii(e)==uD}var D3=Object.prototype,cD=D3.hasOwnProperty,dD=D3.propertyIsEnumerable,fD=u2(function(){return arguments}())?u2:function(e){return So(e)&&cD.call(e,"callee")&&!dD.call(e,"callee")};const C0=fD;function pD(){return!1}var S3=typeof exports=="object"&&exports&&!exports.nodeType&&exports,c2=S3&&typeof module=="object"&&module&&!module.nodeType&&module,mD=c2&&c2.exports===S3,d2=mD?yr.Buffer:void 0,hD=d2?d2.isBuffer:void 0,gD=hD||pD;const hu=gD;var vD="[object Arguments]",yD="[object Array]",MD="[object Boolean]",_D="[object Date]",bD="[object Error]",ND="[object Function]",wD="[object Map]",kD="[object Number]",CD="[object Object]",xD="[object RegExp]",ED="[object Set]",TD="[object String]",DD="[object WeakMap]",SD="[object ArrayBuffer]",ID="[object DataView]",AD="[object Float32Array]",zD="[object Float64Array]",OD="[object Int8Array]",jD="[object Int16Array]",LD="[object Int32Array]",BD="[object Uint8Array]",VD="[object Uint8ClampedArray]",$D="[object Uint16Array]",PD="[object Uint32Array]",ut={};ut[AD]=ut[zD]=ut[OD]=ut[jD]=ut[LD]=ut[BD]=ut[VD]=ut[$D]=ut[PD]=!0;ut[vD]=ut[yD]=ut[SD]=ut[MD]=ut[ID]=ut[_D]=ut[bD]=ut[ND]=ut[wD]=ut[kD]=ut[CD]=ut[xD]=ut[ED]=ut[TD]=ut[DD]=!1;function RD(e){return So(e)&&w0(e.length)&&!!ut[Ii(e)]}function x0(e){return function(t){return e(t)}}var I3=typeof exports=="object"&&exports&&!exports.nodeType&&exports,el=I3&&typeof module=="object"&&module&&!module.nodeType&&module,FD=el&&el.exports===I3,Nd=FD&&N3.process,UD=function(){try{var e=el&&el.require&&el.require("util").types;return e||Nd&&Nd.binding&&Nd.binding("util")}catch{}}();const ai=UD;var f2=ai&&ai.isTypedArray,HD=f2?x0(f2):RD;const A3=HD;var YD=Object.prototype,QD=YD.hasOwnProperty;function z3(e,t){var r=Fn(e),o=!r&&C0(e),a=!r&&!o&&hu(e),i=!r&&!o&&!a&&A3(e),l=r||o||a||i,s=l?sD(e.length,String):[],u=s.length;for(var c in e)(t||QD.call(e,c))&&!(l&&(c=="length"||a&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||_0(c,u)))&&s.push(c);return s}function O3(e,t){return function(r){return e(t(r))}}var qD=O3(Object.keys,Object);const WD=qD;var GD=Object.prototype,KD=GD.hasOwnProperty;function ZD(e){if(!k0(e))return WD(e);var t=[];for(var r in Object(e))KD.call(e,r)&&r!="constructor"&&t.push(r);return t}function Ic(e){return T3(e)?z3(e):ZD(e)}function JD(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var XD=Object.prototype,eS=XD.hasOwnProperty;function tS(e){if(!Un(e))return JD(e);var t=k0(e),r=[];for(var o in e)o=="constructor"&&(t||!eS.call(e,o))||r.push(o);return r}function E0(e){return T3(e)?z3(e,!0):tS(e)}var nS=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rS=/^\w*$/;function T0(e,t){if(Fn(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Dc(e)?!0:rS.test(e)||!nS.test(e)||t!=null&&e in Object(t)}var oS=wa(Object,"create");const Ml=oS;function aS(){this.__data__=Ml?Ml(null):{},this.size=0}function iS(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var lS="__lodash_hash_undefined__",sS=Object.prototype,uS=sS.hasOwnProperty;function cS(e){var t=this.__data__;if(Ml){var r=t[e];return r===lS?void 0:r}return uS.call(t,e)?t[e]:void 0}var dS=Object.prototype,fS=dS.hasOwnProperty;function pS(e){var t=this.__data__;return Ml?t[e]!==void 0:fS.call(t,e)}var mS="__lodash_hash_undefined__";function hS(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ml&&t===void 0?mS:t,this}function ha(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ha.prototype.clear=aS;ha.prototype.delete=iS;ha.prototype.get=cS;ha.prototype.has=pS;ha.prototype.set=hS;function gS(){this.__data__=[],this.size=0}function Ac(e,t){for(var r=e.length;r--;)if(b0(e[r][0],t))return r;return-1}var vS=Array.prototype,yS=vS.splice;function MS(e){var t=this.__data__,r=Ac(t,e);if(r<0)return!1;var o=t.length-1;return r==o?t.pop():yS.call(t,r,1),--this.size,!0}function _S(e){var t=this.__data__,r=Ac(t,e);return r<0?void 0:t[r][1]}function bS(e){return Ac(this.__data__,e)>-1}function NS(e,t){var r=this.__data__,o=Ac(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}function no(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}no.prototype.clear=gS;no.prototype.delete=MS;no.prototype.get=_S;no.prototype.has=bS;no.prototype.set=NS;var wS=wa(yr,"Map");const _l=wS;function kS(){this.size=0,this.__data__={hash:new ha,map:new(_l||no),string:new ha}}function CS(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function zc(e,t){var r=e.__data__;return CS(t)?r[typeof t=="string"?"string":"hash"]:r.map}function xS(e){var t=zc(this,e).delete(e);return this.size-=t?1:0,t}function ES(e){return zc(this,e).get(e)}function TS(e){return zc(this,e).has(e)}function DS(e,t){var r=zc(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}function ro(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ro.prototype.clear=kS;ro.prototype.delete=xS;ro.prototype.get=ES;ro.prototype.has=TS;ro.prototype.set=DS;var SS="Expected a function";function D0(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(SS);var r=function(){var o=arguments,a=t?t.apply(this,o):o[0],i=r.cache;if(i.has(a))return i.get(a);var l=e.apply(this,o);return r.cache=i.set(a,l)||i,l};return r.cache=new(D0.Cache||ro),r}D0.Cache=ro;var IS=500;function AS(e){var t=D0(e,function(o){return r.size===IS&&r.clear(),o}),r=t.cache;return t}var zS=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,OS=/\\(\\)?/g,jS=AS(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(zS,function(r,o,a,i){t.push(a?i.replace(OS,"$1"):o||r)}),t});const LS=jS;function BS(e){return e==null?"":k3(e)}function Oc(e,t){return Fn(e)?e:T0(e,t)?[e]:LS(BS(e))}var VS=1/0;function Jl(e){if(typeof e=="string"||Dc(e))return e;var t=e+"";return t=="0"&&1/e==-VS?"-0":t}function S0(e,t){t=Oc(t,e);for(var r=0,o=t.length;e!=null&&r<o;)e=e[Jl(t[r++])];return r&&r==o?e:void 0}function qr(e,t,r){var o=e==null?void 0:S0(e,t);return o===void 0?r:o}function I0(e,t){for(var r=-1,o=t.length,a=e.length;++r<o;)e[a+r]=t[r];return e}var p2=Rn?Rn.isConcatSpreadable:void 0;function $S(e){return Fn(e)||C0(e)||!!(p2&&e&&e[p2])}function j3(e,t,r,o,a){var i=-1,l=e.length;for(r||(r=$S),a||(a=[]);++i<l;){var s=e[i];t>0&&r(s)?t>1?j3(s,t-1,r,o,a):I0(a,s):o||(a[a.length]=s)}return a}function L3(e){var t=e==null?0:e.length;return t?j3(e,1):[]}function PS(e){return JT(aD(e,void 0,L3),e+"")}var RS=O3(Object.getPrototypeOf,Object);const B3=RS;function sn(){if(!arguments.length)return[];var e=arguments[0];return Fn(e)?e:[e]}function FS(){this.__data__=new no,this.size=0}function US(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function HS(e){return this.__data__.get(e)}function YS(e){return this.__data__.has(e)}var QS=200;function qS(e,t){var r=this.__data__;if(r instanceof no){var o=r.__data__;if(!_l||o.length<QS-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new ro(o)}return r.set(e,t),this.size=r.size,this}function Ir(e){var t=this.__data__=new no(e);this.size=t.size}Ir.prototype.clear=FS;Ir.prototype.delete=US;Ir.prototype.get=HS;Ir.prototype.has=YS;Ir.prototype.set=qS;function WS(e,t){return e&&Sc(t,Ic(t),e)}function GS(e,t){return e&&Sc(t,E0(t),e)}var V3=typeof exports=="object"&&exports&&!exports.nodeType&&exports,m2=V3&&typeof module=="object"&&module&&!module.nodeType&&module,KS=m2&&m2.exports===V3,h2=KS?yr.Buffer:void 0,g2=h2?h2.allocUnsafe:void 0;function ZS(e,t){if(t)return e.slice();var r=e.length,o=g2?g2(r):new e.constructor(r);return e.copy(o),o}function JS(e,t){for(var r=-1,o=e==null?0:e.length,a=0,i=[];++r<o;){var l=e[r];t(l,r,e)&&(i[a++]=l)}return i}function $3(){return[]}var XS=Object.prototype,e9=XS.propertyIsEnumerable,v2=Object.getOwnPropertySymbols,t9=v2?function(e){return e==null?[]:(e=Object(e),JS(v2(e),function(t){return e9.call(e,t)}))}:$3;const A0=t9;function n9(e,t){return Sc(e,A0(e),t)}var r9=Object.getOwnPropertySymbols,o9=r9?function(e){for(var t=[];e;)I0(t,A0(e)),e=B3(e);return t}:$3;const P3=o9;function a9(e,t){return Sc(e,P3(e),t)}function R3(e,t,r){var o=t(e);return Fn(e)?o:I0(o,r(e))}function Ff(e){return R3(e,Ic,A0)}function i9(e){return R3(e,E0,P3)}var l9=wa(yr,"DataView");const Uf=l9;var s9=wa(yr,"Promise");const Hf=s9;var u9=wa(yr,"Set");const Yf=u9;var y2="[object Map]",c9="[object Object]",M2="[object Promise]",_2="[object Set]",b2="[object WeakMap]",N2="[object DataView]",d9=Na(Uf),f9=Na(_l),p9=Na(Hf),m9=Na(Yf),h9=Na(Rf),Wo=Ii;(Uf&&Wo(new Uf(new ArrayBuffer(1)))!=N2||_l&&Wo(new _l)!=y2||Hf&&Wo(Hf.resolve())!=M2||Yf&&Wo(new Yf)!=_2||Rf&&Wo(new Rf)!=b2)&&(Wo=function(e){var t=Ii(e),r=t==c9?e.constructor:void 0,o=r?Na(r):"";if(o)switch(o){case d9:return N2;case f9:return y2;case p9:return M2;case m9:return _2;case h9:return b2}return t});const bl=Wo;var g9=Object.prototype,v9=g9.hasOwnProperty;function y9(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&v9.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var M9=yr.Uint8Array;const gu=M9;function z0(e){var t=new e.constructor(e.byteLength);return new gu(t).set(new gu(e)),t}function _9(e,t){var r=t?z0(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var b9=/\w*$/;function N9(e){var t=new e.constructor(e.source,b9.exec(e));return t.lastIndex=e.lastIndex,t}var w2=Rn?Rn.prototype:void 0,k2=w2?w2.valueOf:void 0;function w9(e){return k2?Object(k2.call(e)):{}}function k9(e,t){var r=t?z0(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var C9="[object Boolean]",x9="[object Date]",E9="[object Map]",T9="[object Number]",D9="[object RegExp]",S9="[object Set]",I9="[object String]",A9="[object Symbol]",z9="[object ArrayBuffer]",O9="[object DataView]",j9="[object Float32Array]",L9="[object Float64Array]",B9="[object Int8Array]",V9="[object Int16Array]",$9="[object Int32Array]",P9="[object Uint8Array]",R9="[object Uint8ClampedArray]",F9="[object Uint16Array]",U9="[object Uint32Array]";function H9(e,t,r){var o=e.constructor;switch(t){case z9:return z0(e);case C9:case x9:return new o(+e);case O9:return _9(e,r);case j9:case L9:case B9:case V9:case $9:case P9:case R9:case F9:case U9:return k9(e,r);case E9:return new o;case T9:case I9:return new o(e);case D9:return N9(e);case S9:return new o;case A9:return w9(e)}}function Y9(e){return typeof e.constructor=="function"&&!k0(e)?PT(B3(e)):{}}var Q9="[object Map]";function q9(e){return So(e)&&bl(e)==Q9}var C2=ai&&ai.isMap,W9=C2?x0(C2):q9;const G9=W9;var K9="[object Set]";function Z9(e){return So(e)&&bl(e)==K9}var x2=ai&&ai.isSet,J9=x2?x0(x2):Z9;const X9=J9;var eI=1,tI=2,nI=4,F3="[object Arguments]",rI="[object Array]",oI="[object Boolean]",aI="[object Date]",iI="[object Error]",U3="[object Function]",lI="[object GeneratorFunction]",sI="[object Map]",uI="[object Number]",H3="[object Object]",cI="[object RegExp]",dI="[object Set]",fI="[object String]",pI="[object Symbol]",mI="[object WeakMap]",hI="[object ArrayBuffer]",gI="[object DataView]",vI="[object Float32Array]",yI="[object Float64Array]",MI="[object Int8Array]",_I="[object Int16Array]",bI="[object Int32Array]",NI="[object Uint8Array]",wI="[object Uint8ClampedArray]",kI="[object Uint16Array]",CI="[object Uint32Array]",at={};at[F3]=at[rI]=at[hI]=at[gI]=at[oI]=at[aI]=at[vI]=at[yI]=at[MI]=at[_I]=at[bI]=at[sI]=at[uI]=at[H3]=at[cI]=at[dI]=at[fI]=at[pI]=at[NI]=at[wI]=at[kI]=at[CI]=!0;at[iI]=at[U3]=at[mI]=!1;function tl(e,t,r,o,a,i){var l,s=t&eI,u=t&tI,c=t&nI;if(r&&(l=a?r(e,o,a,i):r(e)),l!==void 0)return l;if(!Un(e))return e;var d=Fn(e);if(d){if(l=y9(e),!s)return FT(e,l)}else{var f=bl(e),p=f==U3||f==lI;if(hu(e))return ZS(e,s);if(f==H3||f==F3||p&&!a){if(l=u||p?{}:Y9(e),!s)return u?a9(e,GS(l,e)):n9(e,WS(l,e))}else{if(!at[f])return a?e:{};l=H9(e,f,s)}}i||(i=new Ir);var h=i.get(e);if(h)return h;i.set(e,l),X9(e)?e.forEach(function(y){l.add(tl(y,t,r,y,e,i))}):G9(e)&&e.forEach(function(y,v){l.set(v,tl(y,t,r,v,e,i))});var m=c?u?i9:Ff:u?E0:Ic,g=d?void 0:m(e);return XT(g||e,function(y,v){g&&(v=y,y=e[v]),N0(l,v,tl(y,t,r,v,e,i))}),l}var xI=4;function E2(e){return tl(e,xI)}var EI=1,TI=4;function T2(e){return tl(e,EI|TI)}var DI="__lodash_hash_undefined__";function SI(e){return this.__data__.set(e,DI),this}function II(e){return this.__data__.has(e)}function vu(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new ro;++t<r;)this.add(e[t])}vu.prototype.add=vu.prototype.push=SI;vu.prototype.has=II;function AI(e,t){for(var r=-1,o=e==null?0:e.length;++r<o;)if(t(e[r],r,e))return!0;return!1}function zI(e,t){return e.has(t)}var OI=1,jI=2;function Y3(e,t,r,o,a,i){var l=r&OI,s=e.length,u=t.length;if(s!=u&&!(l&&u>s))return!1;var c=i.get(e),d=i.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,h=r&jI?new vu:void 0;for(i.set(e,t),i.set(t,e);++f<s;){var m=e[f],g=t[f];if(o)var y=l?o(g,m,f,t,e,i):o(m,g,f,e,t,i);if(y!==void 0){if(y)continue;p=!1;break}if(h){if(!AI(t,function(v,_){if(!zI(h,_)&&(m===v||a(m,v,r,o,i)))return h.push(_)})){p=!1;break}}else if(!(m===g||a(m,g,r,o,i))){p=!1;break}}return i.delete(e),i.delete(t),p}function LI(e){var t=-1,r=Array(e.size);return e.forEach(function(o,a){r[++t]=[a,o]}),r}function BI(e){var t=-1,r=Array(e.size);return e.forEach(function(o){r[++t]=o}),r}var VI=1,$I=2,PI="[object Boolean]",RI="[object Date]",FI="[object Error]",UI="[object Map]",HI="[object Number]",YI="[object RegExp]",QI="[object Set]",qI="[object String]",WI="[object Symbol]",GI="[object ArrayBuffer]",KI="[object DataView]",D2=Rn?Rn.prototype:void 0,wd=D2?D2.valueOf:void 0;function ZI(e,t,r,o,a,i,l){switch(r){case KI:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case GI:return!(e.byteLength!=t.byteLength||!i(new gu(e),new gu(t)));case PI:case RI:case HI:return b0(+e,+t);case FI:return e.name==t.name&&e.message==t.message;case YI:case qI:return e==t+"";case UI:var s=LI;case QI:var u=o&VI;if(s||(s=BI),e.size!=t.size&&!u)return!1;var c=l.get(e);if(c)return c==t;o|=$I,l.set(e,t);var d=Y3(s(e),s(t),o,a,i,l);return l.delete(e),d;case WI:if(wd)return wd.call(e)==wd.call(t)}return!1}var JI=1,XI=Object.prototype,eA=XI.hasOwnProperty;function tA(e,t,r,o,a,i){var l=r&JI,s=Ff(e),u=s.length,c=Ff(t),d=c.length;if(u!=d&&!l)return!1;for(var f=u;f--;){var p=s[f];if(!(l?p in t:eA.call(t,p)))return!1}var h=i.get(e),m=i.get(t);if(h&&m)return h==t&&m==e;var g=!0;i.set(e,t),i.set(t,e);for(var y=l;++f<u;){p=s[f];var v=e[p],_=t[p];if(o)var b=l?o(_,v,p,t,e,i):o(v,_,p,e,t,i);if(!(b===void 0?v===_||a(v,_,r,o,i):b)){g=!1;break}y||(y=p=="constructor")}if(g&&!y){var M=e.constructor,N=t.constructor;M!=N&&"constructor"in e&&"constructor"in t&&!(typeof M=="function"&&M instanceof M&&typeof N=="function"&&N instanceof N)&&(g=!1)}return i.delete(e),i.delete(t),g}var nA=1,S2="[object Arguments]",I2="[object Array]",vs="[object Object]",rA=Object.prototype,A2=rA.hasOwnProperty;function oA(e,t,r,o,a,i){var l=Fn(e),s=Fn(t),u=l?I2:bl(e),c=s?I2:bl(t);u=u==S2?vs:u,c=c==S2?vs:c;var d=u==vs,f=c==vs,p=u==c;if(p&&hu(e)){if(!hu(t))return!1;l=!0,d=!1}if(p&&!d)return i||(i=new Ir),l||A3(e)?Y3(e,t,r,o,a,i):ZI(e,t,u,r,o,a,i);if(!(r&nA)){var h=d&&A2.call(e,"__wrapped__"),m=f&&A2.call(t,"__wrapped__");if(h||m){var g=h?e.value():e,y=m?t.value():t;return i||(i=new Ir),a(g,y,r,o,i)}}return p?(i||(i=new Ir),tA(e,t,r,o,a,i)):!1}function jc(e,t,r,o,a){return e===t?!0:e==null||t==null||!So(e)&&!So(t)?e!==e&&t!==t:oA(e,t,r,o,jc,a)}var aA=1,iA=2;function lA(e,t,r,o){var a=r.length,i=a,l=!o;if(e==null)return!i;for(e=Object(e);a--;){var s=r[a];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<i;){s=r[a];var u=s[0],c=e[u],d=s[1];if(l&&s[2]){if(c===void 0&&!(u in e))return!1}else{var f=new Ir;if(o)var p=o(c,d,u,e,t,f);if(!(p===void 0?jc(d,c,aA|iA,o,f):p))return!1}}return!0}function Q3(e){return e===e&&!Un(e)}function sA(e){for(var t=Ic(e),r=t.length;r--;){var o=t[r],a=e[o];t[r]=[o,a,Q3(a)]}return t}function q3(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function uA(e){var t=sA(e);return t.length==1&&t[0][2]?q3(t[0][0],t[0][1]):function(r){return r===e||lA(r,e,t)}}function cA(e,t){return e!=null&&t in Object(e)}function dA(e,t,r){t=Oc(t,e);for(var o=-1,a=t.length,i=!1;++o<a;){var l=Jl(t[o]);if(!(i=e!=null&&r(e,l)))break;e=e[l]}return i||++o!=a?i:(a=e==null?0:e.length,!!a&&w0(a)&&_0(l,a)&&(Fn(e)||C0(e)))}function W3(e,t){return e!=null&&dA(e,t,cA)}var fA=1,pA=2;function mA(e,t){return T0(e)&&Q3(t)?q3(Jl(e),t):function(r){var o=qr(r,e);return o===void 0&&o===t?W3(r,e):jc(t,o,fA|pA)}}function hA(e){return function(t){return t==null?void 0:t[e]}}function gA(e){return function(t){return S0(t,e)}}function vA(e){return T0(e)?hA(Jl(e)):gA(e)}function yA(e){return typeof e=="function"?e:e==null?C3:typeof e=="object"?Fn(e)?mA(e[0],e[1]):uA(e):vA(e)}var MA=function(){return yr.Date.now()};const kd=MA;var _A="Expected a function",bA=Math.max,NA=Math.min;function Nl(e,t,r){var o,a,i,l,s,u,c=0,d=!1,f=!1,p=!0;if(typeof e!="function")throw new TypeError(_A);t=Pf(t)||0,Un(r)&&(d=!!r.leading,f="maxWait"in r,i=f?bA(Pf(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p);function h(w){var x=o,T=a;return o=a=void 0,c=w,l=e.apply(T,x),l}function m(w){return c=w,s=setTimeout(v,t),d?h(w):l}function g(w){var x=w-u,T=w-c,O=t-x;return f?NA(O,i-T):O}function y(w){var x=w-u,T=w-c;return u===void 0||x>=t||x<0||f&&T>=i}function v(){var w=kd();if(y(w))return _(w);s=setTimeout(v,g(w))}function _(w){return s=void 0,p&&o?h(w):(o=a=void 0,l)}function b(){s!==void 0&&clearTimeout(s),c=0,o=u=a=s=void 0}function M(){return s===void 0?l:_(kd())}function N(){var w=kd(),x=y(w);if(o=arguments,a=this,u=w,x){if(s===void 0)return m(u);if(f)return clearTimeout(s),s=setTimeout(v,t),h(u)}return s===void 0&&(s=setTimeout(v,t)),l}return N.cancel=b,N.flush=M,N}var wA=Math.max,kA=Math.min;function CA(e,t,r){var o=e==null?0:e.length;if(!o)return-1;var a=o-1;return r!==void 0&&(a=_T(r),a=r<0?wA(o+a,0):kA(a,o-1)),eD(e,yA(t),a,!0)}function wl(e){for(var t=-1,r=e==null?0:e.length,o={};++t<r;){var a=e[t];o[a[0]]=a[1]}return o}function oa(e,t){return jc(e,t)}function Bn(e){return e==null}function G3(e){return e===void 0}function K3(e,t,r,o){if(!Un(e))return e;t=Oc(t,e);for(var a=-1,i=t.length,l=i-1,s=e;s!=null&&++a<i;){var u=Jl(t[a]),c=r;if(u==="__proto__"||u==="constructor"||u==="prototype")return e;if(a!=l){var d=s[u];c=o?o(d,u,s):void 0,c===void 0&&(c=Un(d)?d:_0(t[a+1])?[]:{})}N0(s,u,c),s=s[u]}return e}function xA(e,t,r){for(var o=-1,a=t.length,i={};++o<a;){var l=t[o],s=S0(e,l);r(s,l)&&K3(i,Oc(l,e),s)}return i}function EA(e,t){return xA(e,t,function(r,o){return W3(e,o)})}var TA=PS(function(e,t){return e==null?{}:EA(e,t)});const Z3=TA;function DA(e,t,r){return e==null?e:K3(e,t,r)}var SA="Expected a function";function Cd(e,t,r){var o=!0,a=!0;if(typeof e!="function")throw new TypeError(SA);return Un(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),Nl(e,t,{leading:o,maxWait:t,trailing:a})}const Wt=e=>e===void 0,Gt=e=>typeof e=="boolean",Ae=e=>typeof e=="number",J3=e=>!e&&e!==0||we(e)&&e.length===0||kt(e)&&!Object.keys(e).length,ko=e=>typeof Element>"u"?!1:e instanceof Element,kl=e=>Bn(e),IA=e=>Je(e)?!Number.isNaN(Number(e)):!1,AA=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),ho=e=>qE(e),yu=e=>Object.keys(e),zA=e=>Object.entries(e),xd=(e,t,r)=>({get value(){return qr(e,t,r)},set value(o){DA(e,t,o)}});class X3 extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Jn(e,t){throw new X3(`[${e}] ${t}`)}function Ye(e,t){if(process.env.NODE_ENV!=="production"){const r=Je(e)?new X3(`[${e}] ${t}`):e;console.warn(r)}}const OA="utils/dom/style",ey=(e="")=>e.split(" ").filter(t=>!!t.trim()),Io=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Qf=(e,t)=>{!e||!t.trim()||e.classList.add(...ey(t))},Cl=(e,t)=>{!e||!t.trim()||e.classList.remove(...ey(t))},go=(e,t)=>{var r;if(!We||!e||!t)return"";let o=HE(t);o==="float"&&(o="cssFloat");try{const a=e.style[o];if(a)return a;const i=(r=document.defaultView)==null?void 0:r.getComputedStyle(e,"");return i?i[o]:""}catch{return e.style[o]}};function fr(e,t="px"){if(!e)return"";if(Ae(e)||IA(e))return`${e}${t}`;if(Je(e))return e;Ye(OA,"binding value must be a string or number")}const jA=(e,t)=>{if(!We)return!1;const r={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],o=go(e,r);return["scroll","auto","overlay"].some(a=>o.includes(a))},LA=(e,t)=>{if(!We)return;let r=e;for(;r;){if([window,document,document.documentElement].includes(r))return window;if(jA(r,t))return r;r=r.parentNode}return r};let ys;const BA=e=>{var t;if(!We)return 0;if(ys!==void 0)return ys;const r=document.createElement("div");r.className=`${e}-scrollbar__wrap`,r.style.visibility="hidden",r.style.width="100px",r.style.position="absolute",r.style.top="-9999px",document.body.appendChild(r);const o=r.offsetWidth;r.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",r.appendChild(a);const i=a.offsetWidth;return(t=r.parentNode)==null||t.removeChild(r),ys=o-i,ys};function VA(e,t){if(!We)return;if(!t){e.scrollTop=0;return}const r=[];let o=t.offsetParent;for(;o!==null&&e!==o&&e.contains(o);)r.push(o),o=o.offsetParent;const a=t.offsetTop+r.reduce((u,c)=>u+c.offsetTop,0),i=a+t.offsetHeight,l=e.scrollTop,s=l+e.clientHeight;a<l?e.scrollTop=a:i>s&&(e.scrollTop=i-e.clientHeight)}/*! Element Plus Icons Vue v2.3.1 */var $A=n.defineComponent({name:"AddLocation",__name:"add-location",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),n.createElementVNode("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),PA=$A,RA=n.defineComponent({name:"Aim",__name:"aim",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),FA=RA,UA=n.defineComponent({name:"AlarmClock",__name:"alarm-clock",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),n.createElementVNode("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),HA=UA,YA=n.defineComponent({name:"Apple",__name:"apple",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M599.872 203.776a189.44 189.44 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a426.624 426.624 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664zm-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688 63.552 0 81.28 34.688 136.96 33.536 56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152z"})]))}}),QA=YA,qA=n.defineComponent({name:"ArrowDownBold",__name:"arrow-down-bold",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z"})]))}}),WA=qA,GA=n.defineComponent({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),Xl=GA,KA=n.defineComponent({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"})]))}}),ZA=KA,JA=n.defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),ii=JA,XA=n.defineComponent({name:"ArrowRightBold",__name:"arrow-right-bold",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z"})]))}}),ez=XA,tz=n.defineComponent({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),Co=tz,nz=n.defineComponent({name:"ArrowUpBold",__name:"arrow-up-bold",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"})]))}}),rz=nz,oz=n.defineComponent({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),O0=oz,az=n.defineComponent({name:"Avatar",__name:"avatar",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),iz=az,lz=n.defineComponent({name:"Back",__name:"back",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),n.createElementVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),sz=lz,uz=n.defineComponent({name:"Baseball",__name:"baseball",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6zm45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),n.createElementVNode("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896zM108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1736.64 1736.64 0 0 1-11.392-65.728z"})]))}}),cz=uz,dz=n.defineComponent({name:"Basketball",__name:"basketball",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M778.752 788.224a382.464 382.464 0 0 0 116.032-245.632 256.512 256.512 0 0 0-241.728-13.952 762.88 762.88 0 0 1 125.696 259.584zm-55.04 44.224a699.648 699.648 0 0 0-125.056-269.632 256.128 256.128 0 0 0-56.064 331.968 382.72 382.72 0 0 0 181.12-62.336m-254.08 61.248A320.128 320.128 0 0 1 557.76 513.6a715.84 715.84 0 0 0-48.192-48.128 320.128 320.128 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.128 256.128 0 0 0 331.072-56.448 699.648 699.648 0 0 0-268.8-124.352 382.656 382.656 0 0 0-62.272 180.8m106.56-235.84a762.88 762.88 0 0 1 258.688 125.056 256.512 256.512 0 0 0-13.44-241.088A382.464 382.464 0 0 0 235.84 245.248zm318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a779.84 779.84 0 0 1 66.176 66.112 320.832 320.832 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),fz=dz,pz=n.defineComponent({name:"BellFilled",__name:"bell-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.128 320.128 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),mz=pz,hz=n.defineComponent({name:"Bell",__name:"bell",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),n.createElementVNode("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),n.createElementVNode("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),gz=hz,vz=n.defineComponent({name:"Bicycle",__name:"bicycle",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),n.createElementVNode("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),n.createElementVNode("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),n.createElementVNode("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),yz=vz,Mz=n.defineComponent({name:"BottomLeft",__name:"bottom-left",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),n.createElementVNode("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z"})]))}}),_z=Mz,bz=n.defineComponent({name:"BottomRight",__name:"bottom-right",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),n.createElementVNode("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),Nz=bz,wz=n.defineComponent({name:"Bottom",__name:"bottom",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),kz=wz,Cz=n.defineComponent({name:"Bowl",__name:"bowl",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M714.432 704a351.744 351.744 0 0 0 148.16-256H161.408a351.744 351.744 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),xz=Cz,Ez=n.defineComponent({name:"Box",__name:"box",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64z"}),n.createElementVNode("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),n.createElementVNode("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),Tz=Ez,Dz=n.defineComponent({name:"Briefcase",__name:"briefcase",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),Sz=Dz,Iz=n.defineComponent({name:"BrushFilled",__name:"brush-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),Az=Iz,zz=n.defineComponent({name:"Brush",__name:"brush",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a663.872 663.872 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384h61.248zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168z"})]))}}),Oz=zz,jz=n.defineComponent({name:"Burger",__name:"burger",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),Lz=jz,Bz=n.defineComponent({name:"Calendar",__name:"calendar",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),ty=Bz,Vz=n.defineComponent({name:"CameraFilled",__name:"camera-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),$z=Vz,Pz=n.defineComponent({name:"Camera",__name:"camera",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),Rz=Pz,Fz=n.defineComponent({name:"CaretBottom",__name:"caret-bottom",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),Uz=Fz,Hz=n.defineComponent({name:"CaretLeft",__name:"caret-left",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),Yz=Hz,Qz=n.defineComponent({name:"CaretRight",__name:"caret-right",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),qz=Qz,Wz=n.defineComponent({name:"CaretTop",__name:"caret-top",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),Gz=Wz,Kz=n.defineComponent({name:"Cellphone",__name:"cellphone",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),Zz=Kz,Jz=n.defineComponent({name:"ChatDotRound",__name:"chat-dot-round",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),Xz=Jz,eO=n.defineComponent({name:"ChatDotSquare",__name:"chat-dot-square",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4z"})]))}}),tO=eO,nO=n.defineComponent({name:"ChatLineRound",__name:"chat-line-round",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),n.createElementVNode("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),rO=nO,oO=n.defineComponent({name:"ChatLineSquare",__name:"chat-line-square",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),n.createElementVNode("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),aO=oO,iO=n.defineComponent({name:"ChatRound",__name:"chat-round",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),lO=iO,sO=n.defineComponent({name:"ChatSquare",__name:"chat-square",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),uO=sO,cO=n.defineComponent({name:"Check",__name:"check",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),j0=cO,dO=n.defineComponent({name:"Checked",__name:"checked",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),fO=dO,pO=n.defineComponent({name:"Cherry",__name:"cherry",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6zM288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),mO=pO,hO=n.defineComponent({name:"Chicken",__name:"chicken",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.688 106.688 0 0 1-26.176-19.072 106.688 106.688 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112zm57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52-3.52 56.32z"})]))}}),gO=hO,vO=n.defineComponent({name:"ChromeFilled",__name:"chrome-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z"}),n.createElementVNode("path",{fill:"currentColor",d:"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91"}),n.createElementVNode("path",{fill:"currentColor",d:"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z"})]))}}),yO=vO,MO=n.defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),_O=MO,bO=n.defineComponent({name:"CircleCheck",__name:"circle-check",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),n.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),Lc=bO,NO=n.defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),L0=NO,wO=n.defineComponent({name:"CircleClose",__name:"circle-close",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),ka=wO,kO=n.defineComponent({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0v147.2z"})]))}}),CO=kO,xO=n.defineComponent({name:"CirclePlus",__name:"circle-plus",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),n.createElementVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),EO=xO,TO=n.defineComponent({name:"Clock",__name:"clock",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),n.createElementVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),B0=TO,DO=n.defineComponent({name:"CloseBold",__name:"close-bold",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z"})]))}}),SO=DO,IO=n.defineComponent({name:"Close",__name:"close",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Jr=IO,AO=n.defineComponent({name:"Cloudy",__name:"cloudy",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),zO=AO,OO=n.defineComponent({name:"CoffeeCup",__name:"coffee-cup",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.128 256.128 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),jO=OO,LO=n.defineComponent({name:"Coffee",__name:"coffee",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64h493.184m-548.16 128H820.48l-10.688-64H214.208l-10.688 64h6.784m68.736 64 36.544 512H708.16l36.544-512z"})]))}}),BO=LO,VO=n.defineComponent({name:"Coin",__name:"coin",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264z"}),n.createElementVNode("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264z"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),$O=VO,PO=n.defineComponent({name:"ColdDrink",__name:"cold-drink",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.064 192.064 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),RO=PO,FO=n.defineComponent({name:"CollectionTag",__name:"collection-tag",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),UO=FO,HO=n.defineComponent({name:"Collection",__name:"collection",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),n.createElementVNode("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),YO=HO,QO=n.defineComponent({name:"Comment",__name:"comment",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),qO=QO,WO=n.defineComponent({name:"Compass",__name:"compass",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),n.createElementVNode("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),GO=WO,KO=n.defineComponent({name:"Connection",__name:"connection",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),n.createElementVNode("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),ZO=KO,JO=n.defineComponent({name:"Coordinate",__name:"coordinate",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),n.createElementVNode("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),XO=JO,ej=n.defineComponent({name:"CopyDocument",__name:"copy-document",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),n.createElementVNode("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),tj=ej,nj=n.defineComponent({name:"Cpu",__name:"cpu",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),rj=nj,oj=n.defineComponent({name:"CreditCard",__name:"credit-card",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.352 52.352 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.352 52.352 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.352 52.352 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.352 52.352 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448-20.864 11.136-41.6 17.088-98.56 17.088H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.288 116.288 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448 20.864-11.136 41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384 11.136 20.864 17.088 41.6 17.088 98.56z"}),n.createElementVNode("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),aj=oj,ij=n.defineComponent({name:"Crop",__name:"crop",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),n.createElementVNode("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),lj=ij,sj=n.defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),Ao=sj,uj=n.defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),zo=uj,cj=n.defineComponent({name:"DCaret",__name:"d-caret",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),dj=cj,fj=n.defineComponent({name:"DataAnalysis",__name:"data-analysis",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),pj=fj,mj=n.defineComponent({name:"DataBoard",__name:"data-board",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),n.createElementVNode("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),n.createElementVNode("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),hj=mj,gj=n.defineComponent({name:"DataLine",__name:"data-line",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),vj=gj,yj=n.defineComponent({name:"DeleteFilled",__name:"delete-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),Mj=yj,_j=n.defineComponent({name:"DeleteLocation",__name:"delete-location",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),n.createElementVNode("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),bj=_j,Nj=n.defineComponent({name:"Delete",__name:"delete",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),ny=Nj,wj=n.defineComponent({name:"Dessert",__name:"dessert",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.808 143.808 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.808 143.808 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0h140.48m339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),kj=wj,Cj=n.defineComponent({name:"Discount",__name:"discount",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),xj=Cj,Ej=n.defineComponent({name:"DishDot",__name:"dish-dot",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.192 448.192 0 0 1 955.392 768H68.544A448.192 448.192 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),Tj=Ej,Dj=n.defineComponent({name:"Dish",__name:"dish",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),Sj=Dj,Ij=n.defineComponent({name:"DocumentAdd",__name:"document-add",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),Aj=Ij,zj=n.defineComponent({name:"DocumentChecked",__name:"document-checked",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),Oj=zj,jj=n.defineComponent({name:"DocumentCopy",__name:"document-copy",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),Lj=jj,Bj=n.defineComponent({name:"DocumentDelete",__name:"document-delete",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248 90.496-90.496z"})]))}}),Vj=Bj,$j=n.defineComponent({name:"DocumentRemove",__name:"document-remove",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),Pj=$j,Rj=n.defineComponent({name:"Document",__name:"document",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),ry=Rj,Fj=n.defineComponent({name:"Download",__name:"download",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),Uj=Fj,Hj=n.defineComponent({name:"Drizzling",__name:"drizzling",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),Yj=Hj,Qj=n.defineComponent({name:"EditPen",__name:"edit-pen",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112-56.64 98.112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64h-448z"})]))}}),qj=Qj,Wj=n.defineComponent({name:"Edit",__name:"edit",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),n.createElementVNode("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),Gj=Wj,Kj=n.defineComponent({name:"ElemeFilled",__name:"eleme-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.688 330.688 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.552 47.552 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.304 234.304 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.552 47.552 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),Zj=Kj,Jj=n.defineComponent({name:"Eleme",__name:"eleme",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z"})]))}}),Xj=Jj,eL=n.defineComponent({name:"ElementPlus",__name:"element-plus",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z"})]))}}),tL=eL,nL=n.defineComponent({name:"Expand",__name:"expand",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),rL=nL,oL=n.defineComponent({name:"Failed",__name:"failed",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),aL=oL,iL=n.defineComponent({name:"Female",__name:"female",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),lL=iL,sL=n.defineComponent({name:"Files",__name:"files",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),uL=sL,cL=n.defineComponent({name:"Film",__name:"film",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),dL=cL,fL=n.defineComponent({name:"Filter",__name:"filter",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),pL=fL,mL=n.defineComponent({name:"Finished",__name:"finished",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2l203.968 152.96zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),hL=mL,gL=n.defineComponent({name:"FirstAidKit",__name:"first-aid-kit",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),n.createElementVNode("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),vL=gL,yL=n.defineComponent({name:"Flag",__name:"flag",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),ML=yL,_L=n.defineComponent({name:"Fold",__name:"fold",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),bL=_L,NL=n.defineComponent({name:"FolderAdd",__name:"folder-add",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),wL=NL,kL=n.defineComponent({name:"FolderChecked",__name:"folder-checked",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),CL=kL,xL=n.defineComponent({name:"FolderDelete",__name:"folder-delete",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),EL=xL,TL=n.defineComponent({name:"FolderOpened",__name:"folder-opened",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),DL=TL,SL=n.defineComponent({name:"FolderRemove",__name:"folder-remove",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),IL=SL,AL=n.defineComponent({name:"Folder",__name:"folder",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),zL=AL,OL=n.defineComponent({name:"Food",__name:"food",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),jL=OL,LL=n.defineComponent({name:"Football",__name:"football",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),n.createElementVNode("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a385.984 385.984 0 0 1-80.448-91.648zm653.696-5.312a385.92 385.92 0 0 1-83.776 96.96l-32.512-56.384a322.923 322.923 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184zM465.984 445.248l11.136-63.104a323.584 323.584 0 0 0 69.76 0l11.136 63.104a387.968 387.968 0 0 1-92.032 0m-62.72-12.8A381.824 381.824 0 0 1 320 396.544l32-55.424a319.885 319.885 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.824 381.824 0 0 1-83.328 35.84l-11.2-63.552A319.885 319.885 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.92 385.92 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072zm657.536.128a1442.759 1442.759 0 0 1-49.024 43.072 321.408 321.408 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408zM465.92 578.752a387.968 387.968 0 0 1 92.032 0l-11.136 63.104a323.584 323.584 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a319.885 319.885 0 0 0-62.464 27.712L320 627.392a381.824 381.824 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.272 318.272 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),BL=LL,VL=n.defineComponent({name:"ForkSpoon",__name:"fork-spoon",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56zM672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),$L=VL,PL=n.defineComponent({name:"Fries",__name:"fries",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.744 95.744 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128.128 128.128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132.405 132.405 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),RL=PL,FL=n.defineComponent({name:"FullScreen",__name:"full-screen",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),oy=FL,UL=n.defineComponent({name:"GobletFull",__name:"goblet-full",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0zM544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),HL=UL,YL=n.defineComponent({name:"GobletSquareFull",__name:"goblet-square-full",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256v142.912zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952.32 952.32 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),QL=YL,qL=n.defineComponent({name:"GobletSquare",__name:"goblet-square",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),WL=qL,GL=n.defineComponent({name:"Goblet",__name:"goblet",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),KL=GL,ZL=n.defineComponent({name:"GoldMedal",__name:"gold-medal",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16zM640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128h.01zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a359.844 359.844 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98z"}),n.createElementVNode("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),JL=ZL,XL=n.defineComponent({name:"GoodsFilled",__name:"goods-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),eB=XL,tB=n.defineComponent({name:"Goods",__name:"goods",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),nB=tB,rB=n.defineComponent({name:"Grape",__name:"grape",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),oB=rB,aB=n.defineComponent({name:"Grid",__name:"grid",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),iB=aB,lB=n.defineComponent({name:"Guide",__name:"guide",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),n.createElementVNode("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256H220.8zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2l71.168 80zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),sB=lB,uB=n.defineComponent({name:"Handbag",__name:"handbag",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),cB=uB,dB=n.defineComponent({name:"Headset",__name:"headset",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),fB=dB,pB=n.defineComponent({name:"HelpFilled",__name:"help-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z"})]))}}),mB=pB,hB=n.defineComponent({name:"Help",__name:"help",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.912 254.912 0 0 1 512 768a254.912 254.912 0 0 1-156.992-53.76l-90.944 91.008A382.464 382.464 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.464 382.464 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512c0 59.136-20.096 113.6-53.76 156.992l91.008 90.944zm-45.312-541.184A382.464 382.464 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.912 254.912 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76l90.944-91.008zm-541.184 45.312A382.464 382.464 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.912 254.912 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.56 194.56 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.232 191.232 0 0 0-67.968-146.56A191.296 191.296 0 0 0 512 320a191.232 191.232 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.232 191.232 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),gB=hB,vB=n.defineComponent({name:"Hide",__name:"hide",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),n.createElementVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),ay=vB,yB=n.defineComponent({name:"Histogram",__name:"histogram",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),MB=yB,_B=n.defineComponent({name:"HomeFilled",__name:"home-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),bB=_B,NB=n.defineComponent({name:"HotWater",__name:"hot-water",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2H273.067zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134zM512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133zM375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267z"})]))}}),wB=NB,kB=n.defineComponent({name:"House",__name:"house",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),CB=kB,xB=n.defineComponent({name:"IceCreamRound",__name:"ice-cream-round",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0z"})]))}}),EB=xB,TB=n.defineComponent({name:"IceCreamSquare",__name:"ice-cream-square",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),DB=TB,SB=n.defineComponent({name:"IceCream",__name:"ice-cream",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.128 208.128 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0zm351.36 0h286.272a144 144 0 0 0-286.272 0zm-294.848 64 271.808 396.608L778.24 512H249.408zM511.68 352.64a207.872 207.872 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),IB=SB,AB=n.defineComponent({name:"IceDrink",__name:"ice-drink",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.128 256.128 0 0 0 512 192.64m-64 8.064A256.448 256.448 0 0 0 264.256 384H448zm64-72.064A320.128 320.128 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.384 320.384 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),zB=AB,OB=n.defineComponent({name:"IceTea",__name:"ice-tea",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),jB=OB,LB=n.defineComponent({name:"InfoFilled",__name:"info-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),V0=LB,BB=n.defineComponent({name:"Iphone",__name:"iphone",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),VB=BB,$B=n.defineComponent({name:"Key",__name:"key",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),PB=$B,RB=n.defineComponent({name:"KnifeFork",__name:"knife-fork",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256 21.312 81.152 32 177.152 32 288z"})]))}}),FB=RB,UB=n.defineComponent({name:"Lightning",__name:"lightning",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M288 671.36v64.128A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),n.createElementVNode("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),HB=UB,YB=n.defineComponent({name:"Link",__name:"link",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),QB=YB,qB=n.defineComponent({name:"List",__name:"list",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),WB=qB,GB=n.defineComponent({name:"Loading",__name:"loading",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),Bc=GB,KB=n.defineComponent({name:"LocationFilled",__name:"location-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),ZB=KB,JB=n.defineComponent({name:"LocationInformation",__name:"location-information",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),XB=JB,e7=n.defineComponent({name:"Location",__name:"location",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),t7=e7,n7=n.defineComponent({name:"Lock",__name:"lock",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),r7=n7,o7=n.defineComponent({name:"Lollipop",__name:"lollipop",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744zm-54.464-36.032a321.92 321.92 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),a7=o7,i7=n.defineComponent({name:"MagicStick",__name:"magic-stick",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),l7=i7,s7=n.defineComponent({name:"Magnet",__name:"magnet",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),u7=s7,c7=n.defineComponent({name:"Male",__name:"male",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),n.createElementVNode("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),n.createElementVNode("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),d7=c7,f7=n.defineComponent({name:"Management",__name:"management",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),p7=f7,m7=n.defineComponent({name:"MapLocation",__name:"map-location",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),h7=m7,g7=n.defineComponent({name:"Medal",__name:"medal",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),n.createElementVNode("path",{fill:"currentColor",d:"M576 128H448v200a286.72 286.72 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92V128zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96-56.896 0-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),v7=g7,y7=n.defineComponent({name:"Memo",__name:"memo",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),n.createElementVNode("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),n.createElementVNode("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),M7=y7,_7=n.defineComponent({name:"Menu",__name:"menu",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),b7=_7,N7=n.defineComponent({name:"MessageBox",__name:"message-box",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128z"})]))}}),w7=N7,k7=n.defineComponent({name:"Message",__name:"message",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),n.createElementVNode("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056"})]))}}),C7=k7,x7=n.defineComponent({name:"Mic",__name:"mic",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),E7=x7,T7=n.defineComponent({name:"Microphone",__name:"microphone",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),D7=T7,S7=n.defineComponent({name:"MilkTea",__name:"milk-tea",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),I7=S7,A7=n.defineComponent({name:"Minus",__name:"minus",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),iy=A7,z7=n.defineComponent({name:"Money",__name:"money",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),n.createElementVNode("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.056 29.056 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),n.createElementVNode("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),O7=z7,j7=n.defineComponent({name:"Monitor",__name:"monitor",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),L7=j7,B7=n.defineComponent({name:"MoonNight",__name:"moon-night",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.256 448.256 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),n.createElementVNode("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),V7=B7,$7=n.defineComponent({name:"Moon",__name:"moon",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),P7=$7,R7=n.defineComponent({name:"MoreFilled",__name:"more-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),F7=R7,U7=n.defineComponent({name:"More",__name:"more",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),H7=U7,Y7=n.defineComponent({name:"MostlyCloudy",__name:"mostly-cloudy",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.808 207.808 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.808 271.808 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),Q7=Y7,q7=n.defineComponent({name:"Mouse",__name:"mouse",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112-20.096 10.752-35.52 26.176-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76 10.752 20.096 26.176 35.52 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112 20.096-10.752 35.52-26.176 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.464 110.464 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.464 174.464 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.464 174.464 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.464 174.464 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),W7=q7,G7=n.defineComponent({name:"Mug",__name:"mug",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),K7=G7,Z7=n.defineComponent({name:"MuteNotification",__name:"mute-notification",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.128 320.128 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.552 319.552 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),n.createElementVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),J7=Z7,X7=n.defineComponent({name:"Mute",__name:"mute",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.232 191.232 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A222.976 222.976 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.976 286.976 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),n.createElementVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),eV=X7,tV=n.defineComponent({name:"NoSmoking",__name:"no-smoking",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),nV=tV,rV=n.defineComponent({name:"Notebook",__name:"notebook",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),oV=rV,aV=n.defineComponent({name:"Notification",__name:"notification",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),n.createElementVNode("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),iV=aV,lV=n.defineComponent({name:"Odometer",__name:"odometer",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),n.createElementVNode("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),n.createElementVNode("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),sV=lV,uV=n.defineComponent({name:"OfficeBuilding",__name:"office-building",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),n.createElementVNode("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),cV=uV,dV=n.defineComponent({name:"Open",__name:"open",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),n.createElementVNode("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),fV=dV,pV=n.defineComponent({name:"Operation",__name:"operation",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),mV=pV,hV=n.defineComponent({name:"Opportunity",__name:"opportunity",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.656 350.656 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.552 351.552 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),gV=hV,vV=n.defineComponent({name:"Orange",__name:"orange",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M544 894.72a382.336 382.336 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.336 382.336 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024l182.976 182.912zM894.656 480a382.336 382.336 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024h258.688zm-134.72-261.248A382.336 382.336 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.336 382.336 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.336 382.336 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.336 382.336 0 0 0 89.408 215.936l182.976-182.912A127.232 127.232 0 0 1 388.032 544zm134.72 261.248A382.336 382.336 0 0 0 480 894.656V635.968a127.232 127.232 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),yV=vV,MV=n.defineComponent({name:"Paperclip",__name:"paperclip",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744l294.144-294.208z"})]))}}),_V=MV,bV=n.defineComponent({name:"PartlyCloudy",__name:"partly-cloudy",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),n.createElementVNode("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6003.84 6003.84 0 0 0-49.28 41.408z"})]))}}),NV=bV,wV=n.defineComponent({name:"Pear",__name:"pear",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M542.336 258.816a443.255 443.255 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.688 162.688 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.688 162.688 0 0 0-130.112-133.12zm-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a316.608 316.608 0 0 0-9.792 15.104 226.688 226.688 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),kV=wV,CV=n.defineComponent({name:"PhoneFilled",__name:"phone-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048z"})]))}}),xV=CV,EV=n.defineComponent({name:"Phone",__name:"phone",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472L139.84 402.304zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),TV=EV,DV=n.defineComponent({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),SV=DV,IV=n.defineComponent({name:"PictureRounded",__name:"picture-rounded",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),n.createElementVNode("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64q-64 0-64-64t64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),AV=IV,zV=n.defineComponent({name:"Picture",__name:"picture",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),OV=zV,jV=n.defineComponent({name:"PieChart",__name:"pie-chart",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.128 384.128 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.128 448.128 0 0 1 448 68.48z"}),n.createElementVNode("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28zM512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),LV=jV,BV=n.defineComponent({name:"Place",__name:"place",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),VV=BV,$V=n.defineComponent({name:"Platform",__name:"platform",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),PV=$V,RV=n.defineComponent({name:"Plus",__name:"plus",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),$0=RV,FV=n.defineComponent({name:"Pointer",__name:"pointer",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.272 94.272 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.272 158.272 0 0 1 185.984 8.32z"})]))}}),UV=FV,HV=n.defineComponent({name:"Position",__name:"position",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"})]))}}),YV=HV,QV=n.defineComponent({name:"Postcard",__name:"postcard",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),n.createElementVNode("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),qV=QV,WV=n.defineComponent({name:"Pouring",__name:"pouring",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),GV=WV,KV=n.defineComponent({name:"Present",__name:"present",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),n.createElementVNode("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),n.createElementVNode("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),ZV=KV,JV=n.defineComponent({name:"PriceTag",__name:"price-tag",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0z"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),XV=JV,e$=n.defineComponent({name:"Printer",__name:"printer",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.296 23.296 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.296 23.296 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),t$=e$,n$=n.defineComponent({name:"Promotion",__name:"promotion",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),r$=n$,o$=n.defineComponent({name:"QuartzWatch",__name:"quartz-watch",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51-8.67.32-16.17 3.66-22.5 10.02-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5c3.01-11.65.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01-.32-8.67-3.66-16.16-10.02-22.5-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01 3.35 11.99 10.85 19.49 22.5 22.5zm242.94 0c11.67-3.03 19.01-10.37 22.02-22.02 3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5c-6.36 6.34-9.7 13.84-10.02 22.5-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),n.createElementVNode("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01 0 9.35 3 17.02 8.99 23.01 6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01 0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),a$=o$,i$=n.defineComponent({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),l$=i$,s$=n.defineComponent({name:"Rank",__name:"rank",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z"})]))}}),u$=s$,c$=n.defineComponent({name:"ReadingLamp",__name:"reading-lamp",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),n.createElementVNode("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),d$=c$,f$=n.defineComponent({name:"Reading",__name:"reading",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36z"}),n.createElementVNode("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),p$=f$,m$=n.defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),ly=m$,h$=n.defineComponent({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),sy=h$,g$=n.defineComponent({name:"Refresh",__name:"refresh",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),v$=g$,y$=n.defineComponent({name:"Refrigerator",__name:"refrigerator",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),M$=y$,_$=n.defineComponent({name:"RemoveFilled",__name:"remove-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),b$=_$,N$=n.defineComponent({name:"Remove",__name:"remove",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),w$=N$,k$=n.defineComponent({name:"Right",__name:"right",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),C$=k$,x$=n.defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),uy=x$,E$=n.defineComponent({name:"School",__name:"school",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),n.createElementVNode("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),T$=E$,D$=n.defineComponent({name:"Scissor",__name:"scissor",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),S$=D$,I$=n.defineComponent({name:"Search",__name:"search",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),A$=I$,z$=n.defineComponent({name:"Select",__name:"select",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496z"})]))}}),O$=z$,j$=n.defineComponent({name:"Sell",__name:"sell",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248z"})]))}}),L$=j$,B$=n.defineComponent({name:"SemiSelect",__name:"semi-select",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),V$=B$,$$=n.defineComponent({name:"Service",__name:"service",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.064 192.064 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193.235 193.235 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),P$=$$,R$=n.defineComponent({name:"SetUp",__name:"set-up",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),n.createElementVNode("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),n.createElementVNode("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),n.createElementVNode("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),F$=R$,U$=n.defineComponent({name:"Setting",__name:"setting",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),H$=U$,Y$=n.defineComponent({name:"Share",__name:"share",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),Q$=Y$,q$=n.defineComponent({name:"Ship",__name:"ship",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2H185.408"})]))}}),W$=q$,G$=n.defineComponent({name:"Shop",__name:"shop",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),K$=G$,Z$=n.defineComponent({name:"ShoppingBag",__name:"shopping-bag",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),n.createElementVNode("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),J$=Z$,X$=n.defineComponent({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"}),n.createElementVNode("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256h183.296zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648l179.2-215.04"})]))}}),eP=X$,tP=n.defineComponent({name:"ShoppingCart",__name:"shopping-cart",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"})]))}}),nP=tP,rP=n.defineComponent({name:"ShoppingTrolley",__name:"shopping-trolley",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),oP=rP,aP=n.defineComponent({name:"Smoking",__name:"smoking",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),iP=aP,lP=n.defineComponent({name:"Soccer",__name:"soccer",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.056 573.056 0 0 0 224.832-137.216 573.12 573.12 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.68 567.68 0 0 0 170.432 532.48l320.384 320.384zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944-199.936 199.936-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248l45.248 45.248z"})]))}}),sP=lP,uP=n.defineComponent({name:"SoldOut",__name:"sold-out",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),cP=uP,dP=n.defineComponent({name:"SortDown",__name:"sort-down",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),fP=dP,pP=n.defineComponent({name:"SortUp",__name:"sort-up",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),mP=pP,hP=n.defineComponent({name:"Sort",__name:"sort",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0V141.248z"})]))}}),gP=hP,vP=n.defineComponent({name:"Stamp",__name:"stamp",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),yP=vP,MP=n.defineComponent({name:"StarFilled",__name:"star-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),Gi=MP,_P=n.defineComponent({name:"Star",__name:"star",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),cy=_P,bP=n.defineComponent({name:"Stopwatch",__name:"stopwatch",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),n.createElementVNode("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),NP=bP,wP=n.defineComponent({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),P0=wP,kP=n.defineComponent({name:"Sugar",__name:"sugar",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16l-109.248 19.2zm-548.8 198.72h447.168v2.24l60.8-60.8a63.808 63.808 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64.064 64.064 0 0 0-10.24 13.248zm0 64c2.752 4.736 6.144 9.152 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632l-137.6 24.256zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),CP=kP,xP=n.defineComponent({name:"SuitcaseLine",__name:"suitcase-line",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5C77.16 253.82 64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),EP=xP,TP=n.defineComponent({name:"Suitcase",__name:"suitcase",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),n.createElementVNode("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),DP=TP,SP=n.defineComponent({name:"Sunny",__name:"sunny",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),IP=SP,AP=n.defineComponent({name:"Sunrise",__name:"sunrise",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0h-64.32zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0zm-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),zP=AP,OP=n.defineComponent({name:"Sunset",__name:"sunset",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),jP=OP,LP=n.defineComponent({name:"SwitchButton",__name:"switch-button",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128z"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),BP=LP,VP=n.defineComponent({name:"SwitchFilled",__name:"switch-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36z"}),n.createElementVNode("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.655 196.655 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.67 196.67 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42zm-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.695 131.695 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.655 196.655 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.69 196.69 0 0 0 139.08-57.61A196.655 196.655 0 0 0 896 699.31V325.29a196.69 196.69 0 0 0-57.61-139.08zm-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82z"})]))}}),$P=VP,PP=n.defineComponent({name:"Switch",__name:"switch",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344zM64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),RP=PP,FP=n.defineComponent({name:"TakeawayBox",__name:"takeaway-box",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),UP=FP,HP=n.defineComponent({name:"Ticket",__name:"ticket",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),YP=HP,QP=n.defineComponent({name:"Tickets",__name:"tickets",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),qP=QP,WP=n.defineComponent({name:"Timer",__name:"timer",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),GP=WP,KP=n.defineComponent({name:"ToiletPaper",__name:"toilet-paper",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),n.createElementVNode("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),ZP=KP,JP=n.defineComponent({name:"Tools",__name:"tools",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),XP=JP,eR=n.defineComponent({name:"TopLeft",__name:"top-left",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),n.createElementVNode("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312l-544-544z"})]))}}),tR=eR,nR=n.defineComponent({name:"TopRight",__name:"top-right",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),n.createElementVNode("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"})]))}}),rR=nR,oR=n.defineComponent({name:"Top",__name:"top",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),aR=oR,iR=n.defineComponent({name:"TrendCharts",__name:"trend-charts",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),lR=iR,sR=n.defineComponent({name:"TrophyBase",__name:"trophy-base",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4C752 67.2 745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6C259.2 80 256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 16-9.6 22.4 3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4zM256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6C342.4 480 320 438.4 320 384V128h384v256c0 54.4-19.2 99.2-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2zM768 896H256c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6"})]))}}),uR=sR,cR=n.defineComponent({name:"Trophy",__name:"trophy",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M480 896V702.08A256.256 256.256 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.256 256.256 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),dR=cR,fR=n.defineComponent({name:"TurnOff",__name:"turn-off",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),n.createElementVNode("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),pR=fR,mR=n.defineComponent({name:"Umbrella",__name:"umbrella",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),hR=mR,gR=n.defineComponent({name:"Unlock",__name:"unlock",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),n.createElementVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),vR=gR,yR=n.defineComponent({name:"UploadFilled",__name:"upload-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),MR=yR,_R=n.defineComponent({name:"Upload",__name:"upload",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),bR=_R,NR=n.defineComponent({name:"UserFilled",__name:"user-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),wR=NR,kR=n.defineComponent({name:"User",__name:"user",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),CR=kR,xR=n.defineComponent({name:"Van",__name:"van",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96h151.872M688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),ER=xR,TR=n.defineComponent({name:"VideoCameraFilled",__name:"video-camera-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),DR=TR,SR=n.defineComponent({name:"VideoCamera",__name:"video-camera",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),IR=SR,AR=n.defineComponent({name:"VideoPause",__name:"video-pause",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),zR=AR,OR=n.defineComponent({name:"VideoPlay",__name:"video-play",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),jR=OR,LR=n.defineComponent({name:"View",__name:"view",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),dy=LR,BR=n.defineComponent({name:"WalletFilled",__name:"wallet-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),VR=BR,$R=n.defineComponent({name:"Wallet",__name:"wallet",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),n.createElementVNode("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),PR=$R,RR=n.defineComponent({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49 12.91-20.12 12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),FR=RR,UR=n.defineComponent({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),Vc=UR,HR=n.defineComponent({name:"Warning",__name:"warning",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),YR=HR,QR=n.defineComponent({name:"Watch",__name:"watch",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),n.createElementVNode("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),n.createElementVNode("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),qR=QR,WR=n.defineComponent({name:"Watermelon",__name:"watermelon",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632l632 632"})]))}}),GR=WR,KR=n.defineComponent({name:"WindPower",__name:"wind-power",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),ZR=KR,JR=n.defineComponent({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),R0=JR,XR=n.defineComponent({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,r)=>(n.openBlock(),n.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[n.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),fy=XR;const py=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:PA,Aim:FA,AlarmClock:HA,Apple:QA,ArrowDown:Xl,ArrowDownBold:WA,ArrowLeft:ii,ArrowLeftBold:ZA,ArrowRight:Co,ArrowRightBold:ez,ArrowUp:O0,ArrowUpBold:rz,Avatar:iz,Back:sz,Baseball:cz,Basketball:fz,Bell:gz,BellFilled:mz,Bicycle:yz,Bottom:kz,BottomLeft:_z,BottomRight:Nz,Bowl:xz,Box:Tz,Briefcase:Sz,Brush:Oz,BrushFilled:Az,Burger:Lz,Calendar:ty,Camera:Rz,CameraFilled:$z,CaretBottom:Uz,CaretLeft:Yz,CaretRight:qz,CaretTop:Gz,Cellphone:Zz,ChatDotRound:Xz,ChatDotSquare:tO,ChatLineRound:rO,ChatLineSquare:aO,ChatRound:lO,ChatSquare:uO,Check:j0,Checked:fO,Cherry:mO,Chicken:gO,ChromeFilled:yO,CircleCheck:Lc,CircleCheckFilled:_O,CircleClose:ka,CircleCloseFilled:L0,CirclePlus:EO,CirclePlusFilled:CO,Clock:B0,Close:Jr,CloseBold:SO,Cloudy:zO,Coffee:BO,CoffeeCup:jO,Coin:$O,ColdDrink:RO,Collection:YO,CollectionTag:UO,Comment:qO,Compass:GO,Connection:ZO,Coordinate:XO,CopyDocument:tj,Cpu:rj,CreditCard:aj,Crop:lj,DArrowLeft:Ao,DArrowRight:zo,DCaret:dj,DataAnalysis:pj,DataBoard:hj,DataLine:vj,Delete:ny,DeleteFilled:Mj,DeleteLocation:bj,Dessert:kj,Discount:xj,Dish:Sj,DishDot:Tj,Document:ry,DocumentAdd:Aj,DocumentChecked:Oj,DocumentCopy:Lj,DocumentDelete:Vj,DocumentRemove:Pj,Download:Uj,Drizzling:Yj,Edit:Gj,EditPen:qj,Eleme:Xj,ElemeFilled:Zj,ElementPlus:tL,Expand:rL,Failed:aL,Female:lL,Files:uL,Film:dL,Filter:pL,Finished:hL,FirstAidKit:vL,Flag:ML,Fold:bL,Folder:zL,FolderAdd:wL,FolderChecked:CL,FolderDelete:EL,FolderOpened:DL,FolderRemove:IL,Food:jL,Football:BL,ForkSpoon:$L,Fries:RL,FullScreen:oy,Goblet:KL,GobletFull:HL,GobletSquare:WL,GobletSquareFull:QL,GoldMedal:JL,Goods:nB,GoodsFilled:eB,Grape:oB,Grid:iB,Guide:sB,Handbag:cB,Headset:fB,Help:gB,HelpFilled:mB,Hide:ay,Histogram:MB,HomeFilled:bB,HotWater:wB,House:CB,IceCream:IB,IceCreamRound:EB,IceCreamSquare:DB,IceDrink:zB,IceTea:jB,InfoFilled:V0,Iphone:VB,Key:PB,KnifeFork:FB,Lightning:HB,Link:QB,List:WB,Loading:Bc,Location:t7,LocationFilled:ZB,LocationInformation:XB,Lock:r7,Lollipop:a7,MagicStick:l7,Magnet:u7,Male:d7,Management:p7,MapLocation:h7,Medal:v7,Memo:M7,Menu:b7,Message:C7,MessageBox:w7,Mic:E7,Microphone:D7,MilkTea:I7,Minus:iy,Money:O7,Monitor:L7,Moon:P7,MoonNight:V7,More:H7,MoreFilled:F7,MostlyCloudy:Q7,Mouse:W7,Mug:K7,Mute:eV,MuteNotification:J7,NoSmoking:nV,Notebook:oV,Notification:iV,Odometer:sV,OfficeBuilding:cV,Open:fV,Operation:mV,Opportunity:gV,Orange:yV,Paperclip:_V,PartlyCloudy:NV,Pear:kV,Phone:TV,PhoneFilled:xV,Picture:OV,PictureFilled:SV,PictureRounded:AV,PieChart:LV,Place:VV,Platform:PV,Plus:$0,Pointer:UV,Position:YV,Postcard:qV,Pouring:GV,Present:ZV,PriceTag:XV,Printer:t$,Promotion:r$,QuartzWatch:a$,QuestionFilled:l$,Rank:u$,Reading:p$,ReadingLamp:d$,Refresh:v$,RefreshLeft:ly,RefreshRight:sy,Refrigerator:M$,Remove:w$,RemoveFilled:b$,Right:C$,ScaleToOriginal:uy,School:T$,Scissor:S$,Search:A$,Select:O$,Sell:L$,SemiSelect:V$,Service:P$,SetUp:F$,Setting:H$,Share:Q$,Ship:W$,Shop:K$,ShoppingBag:J$,ShoppingCart:nP,ShoppingCartFull:eP,ShoppingTrolley:oP,Smoking:iP,Soccer:sP,SoldOut:cP,Sort:gP,SortDown:fP,SortUp:mP,Stamp:yP,Star:cy,StarFilled:Gi,Stopwatch:NP,SuccessFilled:P0,Sugar:CP,Suitcase:DP,SuitcaseLine:EP,Sunny:IP,Sunrise:zP,Sunset:jP,Switch:RP,SwitchButton:BP,SwitchFilled:$P,TakeawayBox:UP,Ticket:YP,Tickets:qP,Timer:GP,ToiletPaper:ZP,Tools:XP,Top:aR,TopLeft:tR,TopRight:rR,TrendCharts:lR,Trophy:dR,TrophyBase:uR,TurnOff:pR,Umbrella:hR,Unlock:vR,Upload:bR,UploadFilled:MR,User:CR,UserFilled:wR,Van:ER,VideoCamera:IR,VideoCameraFilled:DR,VideoPause:zR,VideoPlay:jR,View:dy,Wallet:PR,WalletFilled:VR,WarnTriangleFilled:FR,Warning:YR,WarningFilled:Vc,Watch:qR,Watermelon:GR,WindPower:ZR,ZoomIn:R0,ZoomOut:fy},Symbol.toStringTag,{value:"Module"})),my="__epPropKey",K=e=>e,eF=e=>kt(e)&&!!e[my],$c=(e,t)=>{if(!kt(e)||eF(e))return e;const{values:r,required:o,default:a,type:i,validator:l}=e,u={type:i,required:!!o,validator:r||l?c=>{let d=!1,f=[];if(r&&(f=Array.from(r),Zh(e,"default")&&f.push(a),d||(d=f.includes(c))),l&&(d||(d=l(c))),!d&&f.length>0){const p=[...new Set(f)].map(h=>JSON.stringify(h)).join(", ");n.warn(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${p}], got value ${JSON.stringify(c)}.`)}return d}:void 0,[my]:!0};return Zh(e,"default")&&(u.default=a),u},le=e=>wl(Object.entries(e).map(([t,r])=>[t,$c(r,t)])),Ut=K([String,Object,Function]),tF={Close:Jr},nF={Close:Jr,SuccessFilled:P0,InfoFilled:V0,WarningFilled:Vc,CircleCloseFilled:L0},hy={success:P0,warning:Vc,error:L0,info:V0},gy={validating:Bc,success:Lc,error:ka},Xe=(e,t)=>{if(e.install=r=>{for(const o of[e,...Object.values(t??{})])r.component(o.name,o)},t)for(const[r,o]of Object.entries(t))e[r]=o;return e},rF=(e,t)=>(e.install=r=>{r.directive(t,e)},e),Cn=e=>(e.install=lt,e),F0=(...e)=>t=>{e.forEach(r=>{rt(r)?r(t):r.value=t})},be={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},oF=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],je="update:modelValue",Nn="change",Ar="input",es=["","default","small","large"],aF=e=>["",...es].includes(e);var qs=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(qs||{});const Ws=e=>{const t=we(e)?e:[e],r=[];return t.forEach(o=>{var a;we(o)?r.push(...Ws(o)):n.isVNode(o)&&we(o.children)?r.push(...Ws(o.children)):(r.push(o),n.isVNode(o)&&((a=o.component)!=null&&a.subTree)&&r.push(...Ws(o.component.subTree)))}),r},yn=e=>!e&&e!==0?[]:we(e)?e:[e],iF=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),pr=e=>e,lF=["class","style"],sF=/^on[A-Z]/,U0=(e={})=>{const{excludeListeners:t=!1,excludeKeys:r}=e,o=n.computed(()=>((r==null?void 0:r.value)||[]).concat(lF)),a=n.getCurrentInstance();return a?n.computed(()=>{var i;return wl(Object.entries((i=a.proxy)==null?void 0:i.$attrs).filter(([l])=>!o.value.includes(l)&&!(t&&sF.test(l))))}):(Ye("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),n.computed(()=>({})))},Ka=({from:e,replacement:t,scope:r,version:o,ref:a,type:i="API"},l)=>{n.watch(()=>n.unref(l),s=>{s&&Ye(r,`[${i}] ${e} is about to be deprecated in version ${o}, please use ${t} instead.
6
+ For more detail, please visit: ${a}
7
+ `)},{immediate:!0})},uF=(e,t,r,o)=>{let a={offsetX:0,offsetY:0};const i=c=>{const d=c.clientX,f=c.clientY,{offsetX:p,offsetY:h}=a,m=e.value.getBoundingClientRect(),g=m.left,y=m.top,v=m.width,_=m.height,b=document.documentElement.clientWidth,M=document.documentElement.clientHeight,N=-g+p,w=-y+h,x=b-g-v+p,T=M-y-_+h,O=P=>{let R=p+P.clientX-d,$=h+P.clientY-f;o!=null&&o.value||(R=Math.min(Math.max(R,N),x),$=Math.min(Math.max($,w),T)),a={offsetX:R,offsetY:$},e.value&&(e.value.style.transform=`translate(${fr(R)}, ${fr($)})`)},j=()=>{document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",j)};document.addEventListener("mousemove",O),document.addEventListener("mouseup",j)},l=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",i)},s=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",i)},u=()=>{a={offsetX:0,offsetY:0},e.value&&(e.value.style.transform="none")};return n.onMounted(()=>{n.watchEffect(()=>{r.value?l():s()})}),n.onBeforeUnmount(()=>{s()}),{resetPosition:u}};var vy={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const cF=Object.freeze(Object.defineProperty({__proto__:null,default:vy},Symbol.toStringTag,{value:"Module"})),dF=e=>(t,r)=>fF(t,r,n.unref(e)),fF=(e,t,r)=>qr(r,e,e).replace(/\{(\w+)\}/g,(o,a)=>{var i;return`${(i=t==null?void 0:t[a])!=null?i:`{${a}}`}`}),pF=e=>{const t=n.computed(()=>n.unref(e).name),r=n.isRef(e)?e:n.ref(e);return{lang:t,locale:r,t:dF(e)}},yy=Symbol("localeContextKey"),ht=e=>{const t=e||n.inject(yy,n.ref());return pF(n.computed(()=>t.value||vy))},nl="el",mF="is-",Yo=(e,t,r,o,a)=>{let i=`${e}-${t}`;return r&&(i+=`-${r}`),o&&(i+=`__${o}`),a&&(i+=`--${a}`),i},My=Symbol("namespaceContextKey"),H0=e=>{const t=e||(n.getCurrentInstance()?n.inject(My,n.ref(nl)):n.ref(nl));return n.computed(()=>n.unref(t)||nl)},ie=(e,t)=>{const r=H0(t);return{namespace:r,b:(g="")=>Yo(r.value,e,g,"",""),e:g=>g?Yo(r.value,e,"",g,""):"",m:g=>g?Yo(r.value,e,"","",g):"",be:(g,y)=>g&&y?Yo(r.value,e,g,y,""):"",em:(g,y)=>g&&y?Yo(r.value,e,"",g,y):"",bm:(g,y)=>g&&y?Yo(r.value,e,g,"",y):"",bem:(g,y,v)=>g&&y&&v?Yo(r.value,e,g,y,v):"",is:(g,...y)=>{const v=y.length>=1?y[0]:!0;return g&&v?`${mF}${g}`:""},cssVar:g=>{const y={};for(const v in g)g[v]&&(y[`--${r.value}-${v}`]=g[v]);return y},cssVarName:g=>`--${r.value}-${g}`,cssVarBlock:g=>{const y={};for(const v in g)g[v]&&(y[`--${r.value}-${e}-${v}`]=g[v]);return y},cssVarBlockName:g=>`--${r.value}-${e}-${g}`}},hF=(e,t={})=>{n.isRef(e)||Jn("[useLockscreen]","You need to pass a ref param to this function");const r=t.ns||ie("popup"),o=n.computed(()=>r.bm("parent","hidden"));if(!We||Io(document.body,o.value))return;let a=0,i=!1,l="0";const s=()=>{setTimeout(()=>{typeof document>"u"||(Cl(document==null?void 0:document.body,o.value),i&&document&&(document.body.style.width=l))},200)};n.watch(e,u=>{if(!u){s();return}i=!Io(document.body,o.value),i&&(l=document.body.style.width),a=BA(r.namespace.value);const c=document.documentElement.clientHeight<document.body.scrollHeight,d=go(document.body,"overflowY");a>0&&(c||d==="scroll")&&i&&(document.body.style.width=`calc(100% - ${a}px)`),Qf(document.body,o.value)}),n.onScopeDispose(()=>s())},gF=$c({type:K(Boolean),default:null}),vF=$c({type:K(Function)}),_y=e=>{const t=`update:${e}`,r=`onUpdate:${e}`,o=[t],a={[e]:gF,[r]:vF};return{useModelToggle:({indicator:l,toggleReason:s,shouldHideWhenRouteChanges:u,shouldProceed:c,onShow:d,onHide:f})=>{const p=n.getCurrentInstance(),{emit:h}=p,m=p.props,g=n.computed(()=>rt(m[r])),y=n.computed(()=>m[e]===null),v=x=>{l.value!==!0&&(l.value=!0,s&&(s.value=x),rt(d)&&d(x))},_=x=>{l.value!==!1&&(l.value=!1,s&&(s.value=x),rt(f)&&f(x))},b=x=>{if(m.disabled===!0||rt(c)&&!c())return;const T=g.value&&We;T&&h(t,!0),(y.value||!T)&&v(x)},M=x=>{if(m.disabled===!0||!We)return;const T=g.value&&We;T&&h(t,!1),(y.value||!T)&&_(x)},N=x=>{Gt(x)&&(m.disabled&&x?g.value&&h(t,!1):l.value!==x&&(x?v():_()))},w=()=>{l.value?M():b()};return n.watch(()=>m[e],N),u&&p.appContext.config.globalProperties.$route!==void 0&&n.watch(()=>({...p.proxy.$route}),()=>{u.value&&l.value&&M()}),n.onMounted(()=>{N(m[e])}),{hide:M,show:b,toggle:w,hasUpdateHandler:g}},useModelToggleProps:a,useModelToggleEmits:o}};_y("modelValue");const by=e=>{const t=n.getCurrentInstance();return n.computed(()=>{var r,o;return(o=(r=t==null?void 0:t.proxy)==null?void 0:r.$props)==null?void 0:o[e]})};var un="top",Hn="bottom",Yn="right",cn="left",Y0="auto",ts=[un,Hn,Yn,cn],li="start",xl="end",yF="clippingParents",Ny="viewport",Ui="popper",MF="reference",z2=ts.reduce(function(e,t){return e.concat([t+"-"+li,t+"-"+xl])},[]),Ca=[].concat(ts,[Y0]).reduce(function(e,t){return e.concat([t,t+"-"+li,t+"-"+xl])},[]),_F="beforeRead",bF="read",NF="afterRead",wF="beforeMain",kF="main",CF="afterMain",xF="beforeWrite",EF="write",TF="afterWrite",DF=[_F,bF,NF,wF,kF,CF,xF,EF,TF];function jr(e){return e?(e.nodeName||"").toLowerCase():null}function Mr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function si(e){var t=Mr(e).Element;return e instanceof t||e instanceof Element}function Vn(e){var t=Mr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Q0(e){if(typeof ShadowRoot>"u")return!1;var t=Mr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function SF(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},a=t.attributes[r]||{},i=t.elements[r];!Vn(i)||!jr(i)||(Object.assign(i.style,o),Object.keys(a).forEach(function(l){var s=a[l];s===!1?i.removeAttribute(l):i.setAttribute(l,s===!0?"":s)}))})}function IF(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var a=t.elements[o],i=t.attributes[o]||{},l=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),s=l.reduce(function(u,c){return u[c]="",u},{});!Vn(a)||!jr(a)||(Object.assign(a.style,s),Object.keys(i).forEach(function(u){a.removeAttribute(u)}))})}}var wy={name:"applyStyles",enabled:!0,phase:"write",fn:SF,effect:IF,requires:["computeStyles"]};function zr(e){return e.split("-")[0]}var aa=Math.max,Mu=Math.min,ui=Math.round;function ci(e,t){t===void 0&&(t=!1);var r=e.getBoundingClientRect(),o=1,a=1;if(Vn(e)&&t){var i=e.offsetHeight,l=e.offsetWidth;l>0&&(o=ui(r.width)/l||1),i>0&&(a=ui(r.height)/i||1)}return{width:r.width/o,height:r.height/a,top:r.top/a,right:r.right/o,bottom:r.bottom/a,left:r.left/o,x:r.left/o,y:r.top/a}}function q0(e){var t=ci(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function ky(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Q0(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Xr(e){return Mr(e).getComputedStyle(e)}function AF(e){return["table","td","th"].indexOf(jr(e))>=0}function Bo(e){return((si(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pc(e){return jr(e)==="html"?e:e.assignedSlot||e.parentNode||(Q0(e)?e.host:null)||Bo(e)}function O2(e){return!Vn(e)||Xr(e).position==="fixed"?null:e.offsetParent}function zF(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&Vn(e)){var o=Xr(e);if(o.position==="fixed")return null}var a=Pc(e);for(Q0(a)&&(a=a.host);Vn(a)&&["html","body"].indexOf(jr(a))<0;){var i=Xr(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function ns(e){for(var t=Mr(e),r=O2(e);r&&AF(r)&&Xr(r).position==="static";)r=O2(r);return r&&(jr(r)==="html"||jr(r)==="body"&&Xr(r).position==="static")?t:r||zF(e)||t}function W0(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function rl(e,t,r){return aa(e,Mu(t,r))}function OF(e,t,r){var o=rl(e,t,r);return o>r?r:o}function Cy(){return{top:0,right:0,bottom:0,left:0}}function xy(e){return Object.assign({},Cy(),e)}function Ey(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var jF=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,xy(typeof e!="number"?e:Ey(e,ts))};function LF(e){var t,r=e.state,o=e.name,a=e.options,i=r.elements.arrow,l=r.modifiersData.popperOffsets,s=zr(r.placement),u=W0(s),c=[cn,Yn].indexOf(s)>=0,d=c?"height":"width";if(!(!i||!l)){var f=jF(a.padding,r),p=q0(i),h=u==="y"?un:cn,m=u==="y"?Hn:Yn,g=r.rects.reference[d]+r.rects.reference[u]-l[u]-r.rects.popper[d],y=l[u]-r.rects.reference[u],v=ns(i),_=v?u==="y"?v.clientHeight||0:v.clientWidth||0:0,b=g/2-y/2,M=f[h],N=_-p[d]-f[m],w=_/2-p[d]/2+b,x=rl(M,w,N),T=u;r.modifiersData[o]=(t={},t[T]=x,t.centerOffset=x-w,t)}}function BF(e){var t=e.state,r=e.options,o=r.element,a=o===void 0?"[data-popper-arrow]":o;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||!ky(t.elements.popper,a)||(t.elements.arrow=a))}var VF={name:"arrow",enabled:!0,phase:"main",fn:LF,effect:BF,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function di(e){return e.split("-")[1]}var $F={top:"auto",right:"auto",bottom:"auto",left:"auto"};function PF(e){var t=e.x,r=e.y,o=window,a=o.devicePixelRatio||1;return{x:ui(t*a)/a||0,y:ui(r*a)/a||0}}function j2(e){var t,r=e.popper,o=e.popperRect,a=e.placement,i=e.variation,l=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=l.x,h=p===void 0?0:p,m=l.y,g=m===void 0?0:m,y=typeof d=="function"?d({x:h,y:g}):{x:h,y:g};h=y.x,g=y.y;var v=l.hasOwnProperty("x"),_=l.hasOwnProperty("y"),b=cn,M=un,N=window;if(c){var w=ns(r),x="clientHeight",T="clientWidth";if(w===Mr(r)&&(w=Bo(r),Xr(w).position!=="static"&&s==="absolute"&&(x="scrollHeight",T="scrollWidth")),w=w,a===un||(a===cn||a===Yn)&&i===xl){M=Hn;var O=f&&w===N&&N.visualViewport?N.visualViewport.height:w[x];g-=O-o.height,g*=u?1:-1}if(a===cn||(a===un||a===Hn)&&i===xl){b=Yn;var j=f&&w===N&&N.visualViewport?N.visualViewport.width:w[T];h-=j-o.width,h*=u?1:-1}}var P=Object.assign({position:s},c&&$F),R=d===!0?PF({x:h,y:g}):{x:h,y:g};if(h=R.x,g=R.y,u){var $;return Object.assign({},P,($={},$[M]=_?"0":"",$[b]=v?"0":"",$.transform=(N.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",$))}return Object.assign({},P,(t={},t[M]=_?g+"px":"",t[b]=v?h+"px":"",t.transform="",t))}function RF(e){var t=e.state,r=e.options,o=r.gpuAcceleration,a=o===void 0?!0:o,i=r.adaptive,l=i===void 0?!0:i,s=r.roundOffsets,u=s===void 0?!0:s,c={placement:zr(t.placement),variation:di(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,j2(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,j2(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Ty={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:RF,data:{}},Ms={passive:!0};function FF(e){var t=e.state,r=e.instance,o=e.options,a=o.scroll,i=a===void 0?!0:a,l=o.resize,s=l===void 0?!0:l,u=Mr(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(d){d.addEventListener("scroll",r.update,Ms)}),s&&u.addEventListener("resize",r.update,Ms),function(){i&&c.forEach(function(d){d.removeEventListener("scroll",r.update,Ms)}),s&&u.removeEventListener("resize",r.update,Ms)}}var Dy={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:FF,data:{}},UF={left:"right",right:"left",bottom:"top",top:"bottom"};function Gs(e){return e.replace(/left|right|bottom|top/g,function(t){return UF[t]})}var HF={start:"end",end:"start"};function L2(e){return e.replace(/start|end/g,function(t){return HF[t]})}function G0(e){var t=Mr(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function K0(e){return ci(Bo(e)).left+G0(e).scrollLeft}function YF(e){var t=Mr(e),r=Bo(e),o=t.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;return o&&(a=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=o.offsetLeft,s=o.offsetTop)),{width:a,height:i,x:l+K0(e),y:s}}function QF(e){var t,r=Bo(e),o=G0(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=aa(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),l=aa(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-o.scrollLeft+K0(e),u=-o.scrollTop;return Xr(a||r).direction==="rtl"&&(s+=aa(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:l,x:s,y:u}}function Z0(e){var t=Xr(e),r=t.overflow,o=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+o)}function Sy(e){return["html","body","#document"].indexOf(jr(e))>=0?e.ownerDocument.body:Vn(e)&&Z0(e)?e:Sy(Pc(e))}function ol(e,t){var r;t===void 0&&(t=[]);var o=Sy(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=Mr(o),l=a?[i].concat(i.visualViewport||[],Z0(o)?o:[]):o,s=t.concat(l);return a?s:s.concat(ol(Pc(l)))}function qf(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qF(e){var t=ci(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function B2(e,t){return t===Ny?qf(YF(e)):si(t)?qF(t):qf(QF(Bo(e)))}function WF(e){var t=ol(Pc(e)),r=["absolute","fixed"].indexOf(Xr(e).position)>=0,o=r&&Vn(e)?ns(e):e;return si(o)?t.filter(function(a){return si(a)&&ky(a,o)&&jr(a)!=="body"}):[]}function GF(e,t,r){var o=t==="clippingParents"?WF(e):[].concat(t),a=[].concat(o,[r]),i=a[0],l=a.reduce(function(s,u){var c=B2(e,u);return s.top=aa(c.top,s.top),s.right=Mu(c.right,s.right),s.bottom=Mu(c.bottom,s.bottom),s.left=aa(c.left,s.left),s},B2(e,i));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Iy(e){var t=e.reference,r=e.element,o=e.placement,a=o?zr(o):null,i=o?di(o):null,l=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(a){case un:u={x:l,y:t.y-r.height};break;case Hn:u={x:l,y:t.y+t.height};break;case Yn:u={x:t.x+t.width,y:s};break;case cn:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var c=a?W0(a):null;if(c!=null){var d=c==="y"?"height":"width";switch(i){case li:u[c]=u[c]-(t[d]/2-r[d]/2);break;case xl:u[c]=u[c]+(t[d]/2-r[d]/2);break}}return u}function El(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=o===void 0?e.placement:o,i=r.boundary,l=i===void 0?yF:i,s=r.rootBoundary,u=s===void 0?Ny:s,c=r.elementContext,d=c===void 0?Ui:c,f=r.altBoundary,p=f===void 0?!1:f,h=r.padding,m=h===void 0?0:h,g=xy(typeof m!="number"?m:Ey(m,ts)),y=d===Ui?MF:Ui,v=e.rects.popper,_=e.elements[p?y:d],b=GF(si(_)?_:_.contextElement||Bo(e.elements.popper),l,u),M=ci(e.elements.reference),N=Iy({reference:M,element:v,strategy:"absolute",placement:a}),w=qf(Object.assign({},v,N)),x=d===Ui?w:M,T={top:b.top-x.top+g.top,bottom:x.bottom-b.bottom+g.bottom,left:b.left-x.left+g.left,right:x.right-b.right+g.right},O=e.modifiersData.offset;if(d===Ui&&O){var j=O[a];Object.keys(T).forEach(function(P){var R=[Yn,Hn].indexOf(P)>=0?1:-1,$=[un,Hn].indexOf(P)>=0?"y":"x";T[P]+=j[$]*R})}return T}function KF(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=r.boundary,i=r.rootBoundary,l=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?Ca:u,d=di(o),f=d?s?z2:z2.filter(function(m){return di(m)===d}):ts,p=f.filter(function(m){return c.indexOf(m)>=0});p.length===0&&(p=f);var h=p.reduce(function(m,g){return m[g]=El(e,{placement:g,boundary:a,rootBoundary:i,padding:l})[zr(g)],m},{});return Object.keys(h).sort(function(m,g){return h[m]-h[g]})}function ZF(e){if(zr(e)===Y0)return[];var t=Gs(e);return[L2(e),t,L2(t)]}function JF(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,l=r.altAxis,s=l===void 0?!0:l,u=r.fallbackPlacements,c=r.padding,d=r.boundary,f=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,m=h===void 0?!0:h,g=r.allowedAutoPlacements,y=t.options.placement,v=zr(y),_=v===y,b=u||(_||!m?[Gs(y)]:ZF(y)),M=[y].concat(b).reduce(function(q,Y){return q.concat(zr(Y)===Y0?KF(t,{placement:Y,boundary:d,rootBoundary:f,padding:c,flipVariations:m,allowedAutoPlacements:g}):Y)},[]),N=t.rects.reference,w=t.rects.popper,x=new Map,T=!0,O=M[0],j=0;j<M.length;j++){var P=M[j],R=zr(P),$=di(P)===li,Q=[un,Hn].indexOf(R)>=0,z=Q?"width":"height",C=El(t,{placement:P,boundary:d,rootBoundary:f,altBoundary:p,padding:c}),S=Q?$?Yn:cn:$?Hn:un;N[z]>w[z]&&(S=Gs(S));var I=Gs(S),k=[];if(i&&k.push(C[R]<=0),s&&k.push(C[S]<=0,C[I]<=0),k.every(function(q){return q})){O=P,T=!1;break}x.set(P,k)}if(T)for(var E=m?3:1,B=function(q){var Y=M.find(function(ee){var J=x.get(ee);if(J)return J.slice(0,q).every(function(te){return te})});if(Y)return O=Y,"break"},V=E;V>0;V--){var F=B(V);if(F==="break")break}t.placement!==O&&(t.modifiersData[o]._skip=!0,t.placement=O,t.reset=!0)}}var XF={name:"flip",enabled:!0,phase:"main",fn:JF,requiresIfExists:["offset"],data:{_skip:!1}};function V2(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function $2(e){return[un,Yn,Hn,cn].some(function(t){return e[t]>=0})}function eU(e){var t=e.state,r=e.name,o=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,l=El(t,{elementContext:"reference"}),s=El(t,{altBoundary:!0}),u=V2(l,o),c=V2(s,a,i),d=$2(u),f=$2(c);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}var tU={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:eU};function nU(e,t,r){var o=zr(e),a=[cn,un].indexOf(o)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=i[0],s=i[1];return l=l||0,s=(s||0)*a,[cn,Yn].indexOf(o)>=0?{x:s,y:l}:{x:l,y:s}}function rU(e){var t=e.state,r=e.options,o=e.name,a=r.offset,i=a===void 0?[0,0]:a,l=Ca.reduce(function(d,f){return d[f]=nU(f,t.rects,i),d},{}),s=l[t.placement],u=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=l}var oU={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:rU};function aU(e){var t=e.state,r=e.name;t.modifiersData[r]=Iy({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Ay={name:"popperOffsets",enabled:!0,phase:"read",fn:aU,data:{}};function iU(e){return e==="x"?"y":"x"}function lU(e){var t=e.state,r=e.options,o=e.name,a=r.mainAxis,i=a===void 0?!0:a,l=r.altAxis,s=l===void 0?!1:l,u=r.boundary,c=r.rootBoundary,d=r.altBoundary,f=r.padding,p=r.tether,h=p===void 0?!0:p,m=r.tetherOffset,g=m===void 0?0:m,y=El(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:d}),v=zr(t.placement),_=di(t.placement),b=!_,M=W0(v),N=iU(M),w=t.modifiersData.popperOffsets,x=t.rects.reference,T=t.rects.popper,O=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,j=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(w){if(i){var $,Q=M==="y"?un:cn,z=M==="y"?Hn:Yn,C=M==="y"?"height":"width",S=w[M],I=S+y[Q],k=S-y[z],E=h?-T[C]/2:0,B=_===li?x[C]:T[C],V=_===li?-T[C]:-x[C],F=t.elements.arrow,q=h&&F?q0(F):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Cy(),ee=Y[Q],J=Y[z],te=rl(0,x[C],q[C]),se=b?x[C]/2-E-te-ee-j.mainAxis:B-te-ee-j.mainAxis,ce=b?-x[C]/2+E+te+J+j.mainAxis:V+te+J+j.mainAxis,he=t.elements.arrow&&ns(t.elements.arrow),Ee=he?M==="y"?he.clientTop||0:he.clientLeft||0:0,Ce=($=P==null?void 0:P[M])!=null?$:0,Be=S+se-Ce-Ee,Qe=S+ce-Ce,Ke=rl(h?Mu(I,Be):I,S,h?aa(k,Qe):k);w[M]=Ke,R[M]=Ke-S}if(s){var Ie,Ze=M==="x"?un:cn,Ne=M==="x"?Hn:Yn,Se=w[N],$e=N==="y"?"height":"width",dt=Se+y[Ze],xe=Se-y[Ne],D=[un,cn].indexOf(v)!==-1,U=(Ie=P==null?void 0:P[N])!=null?Ie:0,ke=D?dt:Se-x[$e]-T[$e]-U+j.altAxis,tt=D?Se+x[$e]+T[$e]-U-j.altAxis:xe,qe=h&&D?OF(ke,Se,tt):rl(h?ke:dt,Se,h?tt:xe);w[N]=qe,R[N]=qe-Se}t.modifiersData[o]=R}}var sU={name:"preventOverflow",enabled:!0,phase:"main",fn:lU,requiresIfExists:["offset"]};function uU(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function cU(e){return e===Mr(e)||!Vn(e)?G0(e):uU(e)}function dU(e){var t=e.getBoundingClientRect(),r=ui(t.width)/e.offsetWidth||1,o=ui(t.height)/e.offsetHeight||1;return r!==1||o!==1}function fU(e,t,r){r===void 0&&(r=!1);var o=Vn(t),a=Vn(t)&&dU(t),i=Bo(t),l=ci(e,a),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!r)&&((jr(t)!=="body"||Z0(i))&&(s=cU(t)),Vn(t)?(u=ci(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=K0(i))),{x:l.left+s.scrollLeft-u.x,y:l.top+s.scrollTop-u.y,width:l.width,height:l.height}}function pU(e){var t=new Map,r=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function a(i){r.add(i.name);var l=[].concat(i.requires||[],i.requiresIfExists||[]);l.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&a(u)}}),o.push(i)}return e.forEach(function(i){r.has(i.name)||a(i)}),o}function mU(e){var t=pU(e);return DF.reduce(function(r,o){return r.concat(t.filter(function(a){return a.phase===o}))},[])}function hU(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function gU(e){var t=e.reduce(function(r,o){var a=r[o.name];return r[o.name]=a?Object.assign({},a,o,{options:Object.assign({},a.options,o.options),data:Object.assign({},a.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var P2={placement:"bottom",modifiers:[],strategy:"absolute"};function R2(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function J0(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?P2:a;return function(l,s,u){u===void 0&&(u=i);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},P2,i),modifiersData:{},elements:{reference:l,popper:s},attributes:{},styles:{}},d=[],f=!1,p={state:c,setOptions:function(g){var y=typeof g=="function"?g(c.options):g;m(),c.options=Object.assign({},i,c.options,y),c.scrollParents={reference:si(l)?ol(l):l.contextElement?ol(l.contextElement):[],popper:ol(s)};var v=mU(gU([].concat(o,c.options.modifiers)));return c.orderedModifiers=v.filter(function(_){return _.enabled}),h(),p.update()},forceUpdate:function(){if(!f){var g=c.elements,y=g.reference,v=g.popper;if(R2(y,v)){c.rects={reference:fU(y,ns(v),c.options.strategy==="fixed"),popper:q0(v)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(T){return c.modifiersData[T.name]=Object.assign({},T.data)});for(var _=0;_<c.orderedModifiers.length;_++){if(c.reset===!0){c.reset=!1,_=-1;continue}var b=c.orderedModifiers[_],M=b.fn,N=b.options,w=N===void 0?{}:N,x=b.name;typeof M=="function"&&(c=M({state:c,options:w,name:x,instance:p})||c)}}}},update:hU(function(){return new Promise(function(g){p.forceUpdate(),g(c)})}),destroy:function(){m(),f=!0}};if(!R2(l,s))return p;p.setOptions(u).then(function(g){!f&&u.onFirstUpdate&&u.onFirstUpdate(g)});function h(){c.orderedModifiers.forEach(function(g){var y=g.name,v=g.options,_=v===void 0?{}:v,b=g.effect;if(typeof b=="function"){var M=b({state:c,name:y,instance:p,options:_}),N=function(){};d.push(M||N)}})}function m(){d.forEach(function(g){return g()}),d=[]}return p}}J0();var vU=[Dy,Ay,Ty,wy];J0({defaultModifiers:vU});var yU=[Dy,Ay,Ty,wy,oU,XF,sU,VF,tU],MU=J0({defaultModifiers:yU});const _U=(e,t,r={})=>{const o={name:"updateState",enabled:!0,phase:"write",fn:({state:u})=>{const c=bU(u);Object.assign(l.value,c)},requires:["computeStyles"]},a=n.computed(()=>{const{onFirstUpdate:u,placement:c,strategy:d,modifiers:f}=n.unref(r);return{onFirstUpdate:u,placement:c||"bottom",strategy:d||"absolute",modifiers:[...f||[],o,{name:"applyStyles",enabled:!1}]}}),i=n.shallowRef(),l=n.ref({styles:{popper:{position:n.unref(a).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return n.watch(a,u=>{const c=n.unref(i);c&&c.setOptions(u)},{deep:!0}),n.watch([e,t],([u,c])=>{s(),!(!u||!c)&&(i.value=MU(u,c,n.unref(a)))}),n.onBeforeUnmount(()=>{s()}),{state:n.computed(()=>{var u;return{...((u=n.unref(i))==null?void 0:u.state)||{}}}),styles:n.computed(()=>n.unref(l).styles),attributes:n.computed(()=>n.unref(l).attributes),update:()=>{var u;return(u=n.unref(i))==null?void 0:u.update()},forceUpdate:()=>{var u;return(u=n.unref(i))==null?void 0:u.forceUpdate()},instanceRef:n.computed(()=>n.unref(i))}};function bU(e){const t=Object.keys(e.elements),r=wl(t.map(a=>[a,e.styles[a]||{}])),o=wl(t.map(a=>[a,e.attributes[a]]));return{styles:r,attributes:o}}const zy=e=>{if(!e)return{onClick:lt,onMousedown:lt,onMouseup:lt};let t=!1,r=!1;return{onClick:l=>{t&&r&&e(l),t=r=!1},onMousedown:l=>{t=l.target===l.currentTarget},onMouseup:l=>{r=l.target===l.currentTarget}}};function F2(){let e;const t=(o,a)=>{r(),e=window.setTimeout(o,a)},r=()=>window.clearTimeout(e);return Kl(()=>r()),{registerTimeout:t,cancelTimeout:r}}const Wf={prefix:Math.floor(Math.random()*1e4),current:0},NU=Symbol("elIdInjection"),X0=()=>n.getCurrentInstance()?n.inject(NU,Wf):Wf,Lr=e=>{const t=X0();!We&&t===Wf&&Ye("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
8
+ usage: app.provide(ID_INJECTION_KEY, {
9
+ prefix: number,
10
+ current: number,
11
+ })`);const r=H0();return Vf(()=>n.unref(e)||`${r.value}-id-${t.prefix}-${t.current++}`)};let Pa=[];const U2=e=>{const t=e;t.key===be.esc&&Pa.forEach(r=>r(t))},wU=e=>{n.onMounted(()=>{Pa.length===0&&document.addEventListener("keydown",U2),We&&Pa.push(e)}),n.onBeforeUnmount(()=>{Pa=Pa.filter(t=>t!==e),Pa.length===0&&We&&document.removeEventListener("keydown",U2)})},Oy=()=>{const e=H0(),t=X0(),r=n.computed(()=>`${e.value}-popper-container-${t.prefix}`),o=n.computed(()=>`#${r.value}`);return{id:r,selector:o}},kU=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},CU=()=>{const{id:e,selector:t}=Oy();return n.onBeforeMount(()=>{We&&(process.env.NODE_ENV==="test"||!document.body.querySelector(t.value))&&kU(e.value)}),{id:e,selector:t}},xU=le({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),EU=({showAfter:e,hideAfter:t,autoClose:r,open:o,close:a})=>{const{registerTimeout:i}=F2(),{registerTimeout:l,cancelTimeout:s}=F2();return{onOpen:d=>{i(()=>{o(d);const f=n.unref(r);Ae(f)&&f>0&&l(()=>{a(d)},f)},n.unref(e))},onClose:d=>{s(),i(()=>{a(d)},n.unref(t))}}},jy=Symbol("elForwardRef"),TU=e=>{const t=r=>{e.value=r};n.provide(jy,{setForwardRef:t})},DU=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),H2={current:0},Y2=n.ref(0),Ly=2e3,Q2=Symbol("elZIndexContextKey"),By=Symbol("zIndexContextKey"),Rc=e=>{const t=n.getCurrentInstance()?n.inject(Q2,H2):H2,r=e||(n.getCurrentInstance()?n.inject(By,void 0):void 0),o=n.computed(()=>{const l=n.unref(r);return Ae(l)?l:Ly}),a=n.computed(()=>o.value+Y2.value),i=()=>(t.current++,Y2.value=t.current,a.value);return!We&&!n.inject(Q2)&&Ye("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
12
+ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:o,currentZIndex:a,nextZIndex:i}};function SU(e){let t;function r(){if(e.value==null)return;const{selectionStart:a,selectionEnd:i,value:l}=e.value;if(a==null||i==null)return;const s=l.slice(0,Math.max(0,a)),u=l.slice(Math.max(0,i));t={selectionStart:a,selectionEnd:i,value:l,beforeTxt:s,afterTxt:u}}function o(){if(e.value==null||t==null)return;const{value:a}=e.value,{beforeTxt:i,afterTxt:l,selectionStart:s}=t;if(i==null||l==null||s==null)return;let u=a.length;if(a.endsWith(l))u=a.length-l.length;else if(a.startsWith(i))u=i.length;else{const c=i[s-1],d=a.indexOf(c,s-1);d!==-1&&(u=d+1)}e.value.setSelectionRange(u,u)}return[r,o]}const IU=(e,t,r)=>Ws(e.subTree).filter(i=>{var l;return n.isVNode(i)&&((l=i.type)==null?void 0:l.name)===t&&!!i.component}).map(i=>i.component.uid).map(i=>r[i]).filter(i=>!!i),AU=(e,t)=>{const r={},o=n.shallowRef([]);return{children:o,addChild:l=>{r[l.uid]=l,o.value=IU(e,t,r)},removeChild:l=>{delete r[l],o.value=o.value.filter(s=>s.uid!==l)}}},wn=$c({type:String,values:es,required:!1}),Vy=Symbol("size"),zU=()=>{const e=n.inject(Vy,{});return n.computed(()=>n.unref(e.size)||"")};function Fc(e,{beforeFocus:t,afterFocus:r,beforeBlur:o,afterBlur:a}={}){const i=n.getCurrentInstance(),{emit:l}=i,s=n.shallowRef(),u=n.ref(!1),c=p=>{rt(t)&&t(p)||u.value||(u.value=!0,l("focus",p),r==null||r())},d=p=>{var h;rt(o)&&o(p)||p.relatedTarget&&((h=s.value)!=null&&h.contains(p.relatedTarget))||(u.value=!1,l("blur",p),a==null||a())},f=()=>{var p,h;(p=s.value)!=null&&p.contains(document.activeElement)&&s.value!==document.activeElement||(h=e.value)==null||h.focus()};return n.watch(s,p=>{p&&p.setAttribute("tabindex","-1")}),ct(s,"focus",c,!0),ct(s,"blur",d,!0),ct(s,"click",f,!0),process.env.NODE_ENV==="test"&&n.onMounted(()=>{const p=ko(e.value)?e.value:document.querySelector("input,textarea");p&&(ct(p,"focus",c,!0),ct(p,"blur",d,!0))}),{isFocused:u,wrapperRef:s,handleFocus:c,handleBlur:d}}function $y({afterComposition:e,emit:t}){const r=n.ref(!1),o=s=>{t==null||t("compositionstart",s),r.value=!0},a=s=>{var u;t==null||t("compositionupdate",s);const c=(u=s.target)==null?void 0:u.value,d=c[c.length-1]||"";r.value=!iF(d)},i=s=>{t==null||t("compositionend",s),r.value&&(r.value=!1,n.nextTick(()=>e(s)))};return{isComposing:r,handleComposition:s=>{s.type==="compositionend"?i(s):a(s)},handleCompositionStart:o,handleCompositionUpdate:a,handleCompositionEnd:i}}const Py=Symbol("emptyValuesContextKey"),OU="use-empty-values",jU=["",void 0,null],LU=void 0,em=le({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>rt(e)?!e():!e}}),Ry=(e,t)=>{const r=n.getCurrentInstance()?n.inject(Py,n.ref({})):n.ref({}),o=n.computed(()=>e.emptyValues||r.value.emptyValues||jU),a=n.computed(()=>rt(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:rt(r.value.valueOnClear)?r.value.valueOnClear():r.value.valueOnClear!==void 0?r.value.valueOnClear:t!==void 0?t:LU),i=l=>o.value.includes(l);return o.value.includes(a.value)||Ye(OU,"value-on-clear should be a value of empty-values"),{emptyValues:o,valueOnClear:a,isEmptyValue:i}},BU=le({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),xn=e=>Z3(BU,e),Fy=Symbol(),_u=n.ref();function Uc(e,t=void 0){const r=n.getCurrentInstance()?n.inject(Fy,_u):_u;return e?n.computed(()=>{var o,a;return(a=(o=r.value)==null?void 0:o[e])!=null?a:t}):r}function VU(e,t){const r=Uc(),o=ie(e,n.computed(()=>{var s;return((s=r.value)==null?void 0:s.namespace)||nl})),a=ht(n.computed(()=>{var s;return(s=r.value)==null?void 0:s.locale})),i=Rc(n.computed(()=>{var s;return((s=r.value)==null?void 0:s.zIndex)||Ly})),l=n.computed(()=>{var s;return n.unref(t)||((s=r.value)==null?void 0:s.size)||""});return $U(n.computed(()=>n.unref(r)||{})),{ns:o,locale:a,zIndex:i,size:l}}const $U=(e,t,r=!1)=>{var o;const a=!!n.getCurrentInstance(),i=a?Uc():void 0,l=(o=t==null?void 0:t.provide)!=null?o:a?n.provide:void 0;if(!l){Ye("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const s=n.computed(()=>{const u=n.unref(e);return i!=null&&i.value?PU(i.value,u):u});return l(Fy,s),l(yy,n.computed(()=>s.value.locale)),l(My,n.computed(()=>s.value.namespace)),l(By,n.computed(()=>s.value.zIndex)),l(Vy,{size:n.computed(()=>s.value.size||"")}),l(Py,n.computed(()=>({emptyValues:s.value.emptyValues,valueOnClear:s.value.valueOnClear}))),(r||!_u.value)&&(_u.value=s.value),s},PU=(e,t)=>{const r=[...new Set([...yu(e),...yu(t)])],o={};for(const a of r)o[a]=t[a]!==void 0?t[a]:e[a];return o};var me=(e,t)=>{const r=e.__vccOpts||e;for(const[o,a]of t)r[o]=a;return r};const RU=le({size:{type:K([Number,String])},color:{type:String}}),FU=n.defineComponent({name:"ElIcon",inheritAttrs:!1}),UU=n.defineComponent({...FU,props:RU,setup(e){const t=e,r=ie("icon"),o=n.computed(()=>{const{size:a,color:i}=t;return!a&&!i?{}:{fontSize:Wt(a)?void 0:fr(a),"--color":i}});return(a,i)=>(n.openBlock(),n.createElementBlock("i",n.mergeProps({class:n.unref(r).b(),style:n.unref(o)},a.$attrs),[n.renderSlot(a.$slots,"default")],16))}});var HU=me(UU,[["__file","icon.vue"]]);const de=Xe(HU),YU=["light","dark"],QU=le({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:yu(hy),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:YU,default:"light"}}),qU={close:e=>e instanceof MouseEvent},WU=n.defineComponent({name:"ElAlert"}),GU=n.defineComponent({...WU,props:QU,emits:qU,setup(e,{emit:t}){const r=e,{Close:o}=nF,a=n.useSlots(),i=ie("alert"),l=n.ref(!0),s=n.computed(()=>hy[r.type]),u=n.computed(()=>[i.e("icon"),{[i.is("big")]:!!r.description||!!a.default}]),c=n.computed(()=>({"with-description":r.description||a.default})),d=f=>{l.value=!1,t("close",f)};return(f,p)=>(n.openBlock(),n.createBlock(n.Transition,{name:n.unref(i).b("fade"),persisted:""},{default:n.withCtx(()=>[n.withDirectives(n.createElementVNode("div",{class:n.normalizeClass([n.unref(i).b(),n.unref(i).m(f.type),n.unref(i).is("center",f.center),n.unref(i).is(f.effect)]),role:"alert"},[f.showIcon&&n.unref(s)?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(n.unref(u))},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(s))))]),_:1},8,["class"])):n.createCommentVNode("v-if",!0),n.createElementVNode("div",{class:n.normalizeClass(n.unref(i).e("content"))},[f.title||f.$slots.title?(n.openBlock(),n.createElementBlock("span",{key:0,class:n.normalizeClass([n.unref(i).e("title"),n.unref(c)])},[n.renderSlot(f.$slots,"title",{},()=>[n.createTextVNode(n.toDisplayString(f.title),1)])],2)):n.createCommentVNode("v-if",!0),f.$slots.default||f.description?(n.openBlock(),n.createElementBlock("p",{key:1,class:n.normalizeClass(n.unref(i).e("description"))},[n.renderSlot(f.$slots,"default",{},()=>[n.createTextVNode(n.toDisplayString(f.description),1)])],2)):n.createCommentVNode("v-if",!0),f.closable?(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[f.closeText?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass([n.unref(i).e("close-btn"),n.unref(i).is("customed")]),onClick:d},n.toDisplayString(f.closeText),3)):(n.openBlock(),n.createBlock(n.unref(de),{key:1,class:n.normalizeClass(n.unref(i).e("close-btn")),onClick:d},{default:n.withCtx(()=>[n.createVNode(n.unref(o))]),_:1},8,["class"]))],64)):n.createCommentVNode("v-if",!0)],2)],2),[[n.vShow,l.value]])]),_:3},8,["name"]))}});var KU=me(GU,[["__file","alert.vue"]]);const ZU=Xe(KU),xa=Symbol("formContextKey"),Oo=Symbol("formItemContextKey"),Kt=(e,t={})=>{const r=n.ref(void 0),o=t.prop?r:by("size"),a=t.global?r:zU(),i=t.form?{size:void 0}:n.inject(xa,void 0),l=t.formItem?{size:void 0}:n.inject(Oo,void 0);return n.computed(()=>o.value||n.unref(e)||(l==null?void 0:l.size)||(i==null?void 0:i.size)||a.value||"")},Xn=e=>{const t=by("disabled"),r=n.inject(xa,void 0);return n.computed(()=>t.value||n.unref(e)||(r==null?void 0:r.disabled)||!1)},_r=()=>{const e=n.inject(xa,void 0),t=n.inject(Oo,void 0);return{form:e,formItem:t}},Vo=(e,{formItemContext:t,disableIdGeneration:r,disableIdManagement:o})=>{r||(r=n.ref(!1)),o||(o=n.ref(!1));const a=n.ref();let i;const l=n.computed(()=>{var s;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((s=t.inputIds)==null?void 0:s.length)<=1)});return n.onMounted(()=>{i=n.watch([n.toRef(e,"id"),r],([s,u])=>{const c=s??(u?void 0:Lr().value);c!==a.value&&(t!=null&&t.removeInputId&&(a.value&&t.removeInputId(a.value),!(o!=null&&o.value)&&!u&&c&&t.addInputId(c)),a.value=c)},{immediate:!0})}),n.onUnmounted(()=>{i&&i(),t!=null&&t.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:l,inputId:a}},JU=le({size:{type:String,values:es},disabled:Boolean}),XU=le({...JU,model:Object,rules:{type:K(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),eH={validate:(e,t,r)=>(we(e)||Je(e))&&Gt(t)&&Je(r)},tH="ElForm";function nH(){const e=n.ref([]),t=n.computed(()=>{if(!e.value.length)return"0";const i=Math.max(...e.value);return i?`${i}px`:""});function r(i){const l=e.value.indexOf(i);return l===-1&&t.value==="0"&&Ye(tH,`unexpected width ${i}`),l}function o(i,l){if(i&&l){const s=r(l);e.value.splice(s,1,i)}else i&&e.value.push(i)}function a(i){const l=r(i);l>-1&&e.value.splice(l,1)}return{autoLabelWidth:t,registerLabelWidth:o,deregisterLabelWidth:a}}const _s=(e,t)=>{const r=sn(t);return r.length>0?e.filter(o=>o.prop&&r.includes(o.prop)):e},Ks="ElForm",rH=n.defineComponent({name:Ks}),oH=n.defineComponent({...rH,props:XU,emits:eH,setup(e,{expose:t,emit:r}){const o=e,a=[],i=Kt(),l=ie("form"),s=n.computed(()=>{const{labelPosition:b,inline:M}=o;return[l.b(),l.m(i.value||"default"),{[l.m(`label-${b}`)]:b,[l.m("inline")]:M}]}),u=b=>a.find(M=>M.prop===b),c=b=>{a.push(b)},d=b=>{b.prop&&a.splice(a.indexOf(b),1)},f=(b=[])=>{if(!o.model){Ye(Ks,"model is required for resetFields to work.");return}_s(a,b).forEach(M=>M.resetField())},p=(b=[])=>{_s(a,b).forEach(M=>M.clearValidate())},h=n.computed(()=>{const b=!!o.model;return b||Ye(Ks,"model is required for validate to work."),b}),m=b=>{if(a.length===0)return[];const M=_s(a,b);return M.length?M:(Ye(Ks,"please pass correct props!"),[])},g=async b=>v(void 0,b),y=async(b=[])=>{if(!h.value)return!1;const M=m(b);if(M.length===0)return!0;let N={};for(const w of M)try{await w.validate("")}catch(x){N={...N,...x}}return Object.keys(N).length===0?!0:Promise.reject(N)},v=async(b=[],M)=>{const N=!rt(M);try{const w=await y(b);return w===!0&&await(M==null?void 0:M(w)),w}catch(w){if(w instanceof Error)throw w;const x=w;return o.scrollToError&&_(Object.keys(x)[0]),await(M==null?void 0:M(!1,x)),N&&Promise.reject(x)}},_=b=>{var M;const N=_s(a,b)[0];N&&((M=N.$el)==null||M.scrollIntoView(o.scrollIntoViewOptions))};return n.watch(()=>o.rules,()=>{o.validateOnRuleChange&&g().catch(b=>Ye(b))},{deep:!0}),n.provide(xa,n.reactive({...n.toRefs(o),emit:r,resetFields:f,clearValidate:p,validateField:v,getField:u,addField:c,removeField:d,...nH()})),t({validate:g,validateField:v,resetFields:f,clearValidate:p,scrollToField:_,fields:a}),(b,M)=>(n.openBlock(),n.createElementBlock("form",{class:n.normalizeClass(n.unref(s))},[n.renderSlot(b.$slots,"default")],2))}});var aH=me(oH,[["__file","form.vue"]]);function Xo(){return Xo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Xo.apply(this,arguments)}function iH(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Tl(e,t)}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function Tl(e,t){return Tl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,a){return o.__proto__=a,o},Tl(e,t)}function lH(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zs(e,t,r){return lH()?Zs=Reflect.construct.bind():Zs=function(a,i,l){var s=[null];s.push.apply(s,i);var u=Function.bind.apply(a,s),c=new u;return l&&Tl(c,l.prototype),c},Zs.apply(null,arguments)}function sH(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Kf(e){var t=typeof Map=="function"?new Map:void 0;return Kf=function(o){if(o===null||!sH(o))return o;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(o))return t.get(o);t.set(o,a)}function a(){return Zs(o,arguments,Gf(this).constructor)}return a.prototype=Object.create(o.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Tl(a,o)},Kf(e)}var uH=/%[sdj%]/g,Uy=function(){};typeof process<"u"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof document<"u"&&(Uy=function(t,r){typeof console<"u"&&console.warn&&typeof ASYNC_VALIDATOR_NO_WARNING>"u"&&r.every(function(o){return typeof o=="string"})&&console.warn(t,r)});function Zf(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var o=r.field;t[o]=t[o]||[],t[o].push(r)}),t}function bn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];var a=0,i=r.length;if(typeof e=="function")return e.apply(null,r);if(typeof e=="string"){var l=e.replace(uH,function(s){if(s==="%%")return"%";if(a>=i)return s;switch(s){case"%s":return String(r[a++]);case"%d":return Number(r[a++]);case"%j":try{return JSON.stringify(r[a++])}catch{return"[Circular]"}break;default:return s}});return l}return e}function cH(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Ct(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||cH(t)&&typeof e=="string"&&!e)}function dH(e,t,r){var o=[],a=0,i=e.length;function l(s){o.push.apply(o,s||[]),a++,a===i&&r(o)}e.forEach(function(s){t(s,l)})}function q2(e,t,r){var o=0,a=e.length;function i(l){if(l&&l.length){r(l);return}var s=o;o=o+1,s<a?t(e[s],i):r([])}i([])}function fH(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r]||[])}),t}var W2=function(e){iH(t,e);function t(r,o){var a;return a=e.call(this,"Async Validation Error")||this,a.errors=r,a.fields=o,a}return t}(Kf(Error));function pH(e,t,r,o,a){if(t.first){var i=new Promise(function(p,h){var m=function(v){return o(v),v.length?h(new W2(v,Zf(v))):p(a)},g=fH(e);q2(g,r,m)});return i.catch(function(p){return p}),i}var l=t.firstFields===!0?Object.keys(e):t.firstFields||[],s=Object.keys(e),u=s.length,c=0,d=[],f=new Promise(function(p,h){var m=function(y){if(d.push.apply(d,y),c++,c===u)return o(d),d.length?h(new W2(d,Zf(d))):p(a)};s.length||(o(d),p(a)),s.forEach(function(g){var y=e[g];l.indexOf(g)!==-1?q2(y,r,m):dH(y,r,m)})});return f.catch(function(p){return p}),f}function mH(e){return!!(e&&e.message!==void 0)}function hH(e,t){for(var r=e,o=0;o<t.length;o++){if(r==null)return r;r=r[t[o]]}return r}function G2(e,t){return function(r){var o;return e.fullFields?o=hH(t,e.fullFields):o=t[r.field||e.fullField],mH(r)?(r.field=r.field||e.fullField,r.fieldValue=o,r):{message:typeof r=="function"?r():r,fieldValue:o,field:r.field||e.fullField}}}function K2(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];typeof o=="object"&&typeof e[r]=="object"?e[r]=Xo({},e[r],o):e[r]=o}}return e}var Hy=function(t,r,o,a,i,l){t.required&&(!o.hasOwnProperty(t.field)||Ct(r,l||t.type))&&a.push(bn(i.messages.required,t.fullField))},gH=function(t,r,o,a,i){(/^\s+$/.test(r)||r==="")&&a.push(bn(i.messages.whitespace,t.fullField))},bs,vH=function(){if(bs)return bs;var e="[a-fA-F\\d:]",t=function(M){return M&&M.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},r="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",o="[a-fA-F\\d]{1,4}",a=(`
13
+ (?:
14
+ (?:`+o+":){7}(?:"+o+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
15
+ (?:`+o+":){6}(?:"+r+"|:"+o+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
16
+ (?:`+o+":){5}(?::"+r+"|(?::"+o+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
17
+ (?:`+o+":){4}(?:(?::"+o+"){0,1}:"+r+"|(?::"+o+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
18
+ (?:`+o+":){3}(?:(?::"+o+"){0,2}:"+r+"|(?::"+o+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
19
+ (?:`+o+":){2}(?:(?::"+o+"){0,3}:"+r+"|(?::"+o+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
20
+ (?:`+o+":){1}(?:(?::"+o+"){0,4}:"+r+"|(?::"+o+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
21
+ (?::(?:(?::`+o+"){0,5}:"+r+"|(?::"+o+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
22
+ )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
23
+ `).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+r+"$)|(?:^"+a+"$)"),l=new RegExp("^"+r+"$"),s=new RegExp("^"+a+"$"),u=function(M){return M&&M.exact?i:new RegExp("(?:"+t(M)+r+t(M)+")|(?:"+t(M)+a+t(M)+")","g")};u.v4=function(b){return b&&b.exact?l:new RegExp(""+t(b)+r+t(b),"g")},u.v6=function(b){return b&&b.exact?s:new RegExp(""+t(b)+a+t(b),"g")};var c="(?:(?:[a-z]+:)?//)",d="(?:\\S+(?::\\S*)?@)?",f=u.v4().source,p=u.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",m="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",g="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",v='(?:[/?#][^\\s"]*)?',_="(?:"+c+"|www\\.)"+d+"(?:localhost|"+f+"|"+p+"|"+h+m+g+")"+y+v;return bs=new RegExp("(?:^"+_+"$)","i"),bs},Z2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Ki={integer:function(t){return Ki.number(t)&&parseInt(t,10)===t},float:function(t){return Ki.number(t)&&!Ki.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!Ki.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(Z2.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(vH())},hex:function(t){return typeof t=="string"&&!!t.match(Z2.hex)}},yH=function(t,r,o,a,i){if(t.required&&r===void 0){Hy(t,r,o,a,i);return}var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;l.indexOf(s)>-1?Ki[s](r)||a.push(bn(i.messages.types[s],t.fullField,t.type)):s&&typeof r!==t.type&&a.push(bn(i.messages.types[s],t.fullField,t.type))},MH=function(t,r,o,a,i){var l=typeof t.len=="number",s=typeof t.min=="number",u=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=r,f=null,p=typeof r=="number",h=typeof r=="string",m=Array.isArray(r);if(p?f="number":h?f="string":m&&(f="array"),!f)return!1;m&&(d=r.length),h&&(d=r.replace(c,"_").length),l?d!==t.len&&a.push(bn(i.messages[f].len,t.fullField,t.len)):s&&!u&&d<t.min?a.push(bn(i.messages[f].min,t.fullField,t.min)):u&&!s&&d>t.max?a.push(bn(i.messages[f].max,t.fullField,t.max)):s&&u&&(d<t.min||d>t.max)&&a.push(bn(i.messages[f].range,t.fullField,t.min,t.max))},Aa="enum",_H=function(t,r,o,a,i){t[Aa]=Array.isArray(t[Aa])?t[Aa]:[],t[Aa].indexOf(r)===-1&&a.push(bn(i.messages[Aa],t.fullField,t[Aa].join(", ")))},bH=function(t,r,o,a,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(r)||a.push(bn(i.messages.pattern.mismatch,t.fullField,r,t.pattern));else if(typeof t.pattern=="string"){var l=new RegExp(t.pattern);l.test(r)||a.push(bn(i.messages.pattern.mismatch,t.fullField,r,t.pattern))}}},Ue={required:Hy,whitespace:gH,type:yH,range:MH,enum:_H,pattern:bH},NH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Ct(r,"string")&&!t.required)return o();Ue.required(t,r,a,l,i,"string"),Ct(r,"string")||(Ue.type(t,r,a,l,i),Ue.range(t,r,a,l,i),Ue.pattern(t,r,a,l,i),t.whitespace===!0&&Ue.whitespace(t,r,a,l,i))}o(l)},wH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Ct(r)&&!t.required)return o();Ue.required(t,r,a,l,i),r!==void 0&&Ue.type(t,r,a,l,i)}o(l)},kH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(r===""&&(r=void 0),Ct(r)&&!t.required)return o();Ue.required(t,r,a,l,i),r!==void 0&&(Ue.type(t,r,a,l,i),Ue.range(t,r,a,l,i))}o(l)},CH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Ct(r)&&!t.required)return o();Ue.required(t,r,a,l,i),r!==void 0&&Ue.type(t,r,a,l,i)}o(l)},xH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Ct(r)&&!t.required)return o();Ue.required(t,r,a,l,i),Ct(r)||Ue.type(t,r,a,l,i)}o(l)},EH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Ct(r)&&!t.required)return o();Ue.required(t,r,a,l,i),r!==void 0&&(Ue.type(t,r,a,l,i),Ue.range(t,r,a,l,i))}o(l)},TH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Ct(r)&&!t.required)return o();Ue.required(t,r,a,l,i),r!==void 0&&(Ue.type(t,r,a,l,i),Ue.range(t,r,a,l,i))}o(l)},DH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(r==null&&!t.required)return o();Ue.required(t,r,a,l,i,"array"),r!=null&&(Ue.type(t,r,a,l,i),Ue.range(t,r,a,l,i))}o(l)},SH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Ct(r)&&!t.required)return o();Ue.required(t,r,a,l,i),r!==void 0&&Ue.type(t,r,a,l,i)}o(l)},IH="enum",AH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Ct(r)&&!t.required)return o();Ue.required(t,r,a,l,i),r!==void 0&&Ue[IH](t,r,a,l,i)}o(l)},zH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Ct(r,"string")&&!t.required)return o();Ue.required(t,r,a,l,i),Ct(r,"string")||Ue.pattern(t,r,a,l,i)}o(l)},OH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Ct(r,"date")&&!t.required)return o();if(Ue.required(t,r,a,l,i),!Ct(r,"date")){var u;r instanceof Date?u=r:u=new Date(r),Ue.type(t,u,a,l,i),u&&Ue.range(t,u.getTime(),a,l,i)}}o(l)},jH=function(t,r,o,a,i){var l=[],s=Array.isArray(r)?"array":typeof r;Ue.required(t,r,a,l,i,s),o(l)},Ed=function(t,r,o,a,i){var l=t.type,s=[],u=t.required||!t.required&&a.hasOwnProperty(t.field);if(u){if(Ct(r,l)&&!t.required)return o();Ue.required(t,r,a,s,i,l),Ct(r,l)||Ue.type(t,r,a,s,i)}o(s)},LH=function(t,r,o,a,i){var l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Ct(r)&&!t.required)return o();Ue.required(t,r,a,l,i)}o(l)},al={string:NH,method:wH,number:kH,boolean:CH,regexp:xH,integer:EH,float:TH,array:DH,object:SH,enum:AH,pattern:zH,date:OH,url:Ed,hex:Ed,email:Ed,required:jH,any:LH};function Jf(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Xf=Jf(),rs=function(){function e(r){this.rules=null,this._messages=Xf,this.define(r)}var t=e.prototype;return t.define=function(o){var a=this;if(!o)throw new Error("Cannot configure a schema with no rules");if(typeof o!="object"||Array.isArray(o))throw new Error("Rules must be an object");this.rules={},Object.keys(o).forEach(function(i){var l=o[i];a.rules[i]=Array.isArray(l)?l:[l]})},t.messages=function(o){return o&&(this._messages=K2(Jf(),o)),this._messages},t.validate=function(o,a,i){var l=this;a===void 0&&(a={}),i===void 0&&(i=function(){});var s=o,u=a,c=i;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,s),Promise.resolve(s);function d(g){var y=[],v={};function _(M){if(Array.isArray(M)){var N;y=(N=y).concat.apply(N,M)}else y.push(M)}for(var b=0;b<g.length;b++)_(g[b]);y.length?(v=Zf(y),c(y,v)):c(null,s)}if(u.messages){var f=this.messages();f===Xf&&(f=Jf()),K2(f,u.messages),u.messages=f}else u.messages=this.messages();var p={},h=u.keys||Object.keys(this.rules);h.forEach(function(g){var y=l.rules[g],v=s[g];y.forEach(function(_){var b=_;typeof b.transform=="function"&&(s===o&&(s=Xo({},s)),v=s[g]=b.transform(v)),typeof b=="function"?b={validator:b}:b=Xo({},b),b.validator=l.getValidationMethod(b),b.validator&&(b.field=g,b.fullField=b.fullField||g,b.type=l.getType(b),p[g]=p[g]||[],p[g].push({rule:b,value:v,source:s,field:g}))})});var m={};return pH(p,u,function(g,y){var v=g.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&g.value),v.field=g.field;function b(w,x){return Xo({},x,{fullField:v.fullField+"."+w,fullFields:v.fullFields?[].concat(v.fullFields,[w]):[w]})}function M(w){w===void 0&&(w=[]);var x=Array.isArray(w)?w:[w];!u.suppressWarning&&x.length&&e.warning("async-validator:",x),x.length&&v.message!==void 0&&(x=[].concat(v.message));var T=x.map(G2(v,s));if(u.first&&T.length)return m[v.field]=1,y(T);if(!_)y(T);else{if(v.required&&!g.value)return v.message!==void 0?T=[].concat(v.message).map(G2(v,s)):u.error&&(T=[u.error(v,bn(u.messages.required,v.field))]),y(T);var O={};v.defaultField&&Object.keys(g.value).map(function(R){O[R]=v.defaultField}),O=Xo({},O,g.rule.fields);var j={};Object.keys(O).forEach(function(R){var $=O[R],Q=Array.isArray($)?$:[$];j[R]=Q.map(b.bind(null,R))});var P=new e(j);P.messages(u.messages),g.rule.options&&(g.rule.options.messages=u.messages,g.rule.options.error=u.error),P.validate(g.value,g.rule.options||u,function(R){var $=[];T&&T.length&&$.push.apply($,T),R&&R.length&&$.push.apply($,R),y($.length?$:null)})}}var N;if(v.asyncValidator)N=v.asyncValidator(v,g.value,M,g.source,u);else if(v.validator){try{N=v.validator(v,g.value,M,g.source,u)}catch(w){console.error==null||console.error(w),u.suppressValidatorError||setTimeout(function(){throw w},0),M(w.message)}N===!0?M():N===!1?M(typeof v.message=="function"?v.message(v.fullField||v.field):v.message||(v.fullField||v.field)+" fails"):N instanceof Array?M(N):N instanceof Error&&M(N.message)}N&&N.then&&N.then(function(){return M()},function(w){return M(w)})},function(g){d(g)},s)},t.getType=function(o){if(o.type===void 0&&o.pattern instanceof RegExp&&(o.type="pattern"),typeof o.validator!="function"&&o.type&&!al.hasOwnProperty(o.type))throw new Error(bn("Unknown rule type %s",o.type));return o.type||"string"},t.getValidationMethod=function(o){if(typeof o.validator=="function")return o.validator;var a=Object.keys(o),i=a.indexOf("message");return i!==-1&&a.splice(i,1),a.length===1&&a[0]==="required"?al.required:al[this.getType(o)]||void 0},e}();rs.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");al[t]=r};rs.warning=Uy;rs.messages=Xf;rs.validators=al;const BH=["","error","validating","success"],VH=le({label:String,labelWidth:{type:[String,Number],default:""},labelPosition:{type:String,values:["left","right","top",""],default:""},prop:{type:K([String,Array])},required:{type:Boolean,default:void 0},rules:{type:K([Object,Array])},error:String,validateStatus:{type:String,values:BH},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:es}}),J2="ElLabelWrap";var $H=n.defineComponent({name:J2,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const r=n.inject(xa,void 0),o=n.inject(Oo);o||Jn(J2,"usage: <el-form-item><label-wrap /></el-form-item>");const a=ie("form"),i=n.ref(),l=n.ref(0),s=()=>{var d;if((d=i.value)!=null&&d.firstElementChild){const f=window.getComputedStyle(i.value.firstElementChild).width;return Math.ceil(Number.parseFloat(f))}else return 0},u=(d="update")=>{n.nextTick(()=>{t.default&&e.isAutoWidth&&(d==="update"?l.value=s():d==="remove"&&(r==null||r.deregisterLabelWidth(l.value)))})},c=()=>u("update");return n.onMounted(()=>{c()}),n.onBeforeUnmount(()=>{u("remove")}),n.onUpdated(()=>c()),n.watch(l,(d,f)=>{e.updateAll&&(r==null||r.registerLabelWidth(d,f))}),vn(n.computed(()=>{var d,f;return(f=(d=i.value)==null?void 0:d.firstElementChild)!=null?f:null}),c),()=>{var d,f;if(!t)return null;const{isAutoWidth:p}=e;if(p){const h=r==null?void 0:r.autoLabelWidth,m=o==null?void 0:o.hasLabel,g={};if(m&&h&&h!=="auto"){const y=Math.max(0,Number.parseInt(h,10)-l.value),_=(o.labelPosition||r.labelPosition)==="left"?"marginRight":"marginLeft";y&&(g[_]=`${y}px`)}return n.createVNode("div",{ref:i,class:[a.be("item","label-wrap")],style:g},[(d=t.default)==null?void 0:d.call(t)])}else return n.createVNode(n.Fragment,{ref:i},[(f=t.default)==null?void 0:f.call(t)])}}});const PH=n.defineComponent({name:"ElFormItem"}),RH=n.defineComponent({...PH,props:VH,setup(e,{expose:t}){const r=e,o=n.useSlots(),a=n.inject(xa,void 0),i=n.inject(Oo,void 0),l=Kt(void 0,{formItem:!1}),s=ie("form-item"),u=Lr().value,c=n.ref([]),d=n.ref(""),f=ME(d,100),p=n.ref(""),h=n.ref();let m,g=!1;const y=n.computed(()=>r.labelPosition||(a==null?void 0:a.labelPosition)),v=n.computed(()=>{if(y.value==="top")return{};const te=fr(r.labelWidth||(a==null?void 0:a.labelWidth)||"");return te?{width:te}:{}}),_=n.computed(()=>{if(y.value==="top"||a!=null&&a.inline)return{};if(!r.label&&!r.labelWidth&&j)return{};const te=fr(r.labelWidth||(a==null?void 0:a.labelWidth)||"");return!r.label&&!o.label?{marginLeft:te}:{}}),b=n.computed(()=>[s.b(),s.m(l.value),s.is("error",d.value==="error"),s.is("validating",d.value==="validating"),s.is("success",d.value==="success"),s.is("required",z.value||r.required),s.is("no-asterisk",a==null?void 0:a.hideRequiredAsterisk),(a==null?void 0:a.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[s.m("feedback")]:a==null?void 0:a.statusIcon,[s.m(`label-${y.value}`)]:y.value}]),M=n.computed(()=>Gt(r.inlineMessage)?r.inlineMessage:(a==null?void 0:a.inlineMessage)||!1),N=n.computed(()=>[s.e("error"),{[s.em("error","inline")]:M.value}]),w=n.computed(()=>r.prop?Je(r.prop)?r.prop:r.prop.join("."):""),x=n.computed(()=>!!(r.label||o.label)),T=n.computed(()=>r.for||(c.value.length===1?c.value[0]:void 0)),O=n.computed(()=>!T.value&&x.value),j=!!i,P=n.computed(()=>{const te=a==null?void 0:a.model;if(!(!te||!r.prop))return xd(te,r.prop).value}),R=n.computed(()=>{const{required:te}=r,se=[];r.rules&&se.push(...sn(r.rules));const ce=a==null?void 0:a.rules;if(ce&&r.prop){const he=xd(ce,r.prop).value;he&&se.push(...sn(he))}if(te!==void 0){const he=se.map((Ee,Ce)=>[Ee,Ce]).filter(([Ee])=>Object.keys(Ee).includes("required"));if(he.length>0)for(const[Ee,Ce]of he)Ee.required!==te&&(se[Ce]={...Ee,required:te});else se.push({required:te})}return se}),$=n.computed(()=>R.value.length>0),Q=te=>R.value.filter(ce=>!ce.trigger||!te?!0:we(ce.trigger)?ce.trigger.includes(te):ce.trigger===te).map(({trigger:ce,...he})=>he),z=n.computed(()=>R.value.some(te=>te.required)),C=n.computed(()=>{var te;return f.value==="error"&&r.showMessage&&((te=a==null?void 0:a.showMessage)!=null?te:!0)}),S=n.computed(()=>`${r.label||""}${(a==null?void 0:a.labelSuffix)||""}`),I=te=>{d.value=te},k=te=>{var se,ce;const{errors:he,fields:Ee}=te;(!he||!Ee)&&console.error(te),I("error"),p.value=he?(ce=(se=he==null?void 0:he[0])==null?void 0:se.message)!=null?ce:`${r.prop} is required`:"",a==null||a.emit("validate",r.prop,!1,p.value)},E=()=>{I("success"),a==null||a.emit("validate",r.prop,!0,"")},B=async te=>{const se=w.value;return new rs({[se]:te}).validate({[se]:P.value},{firstFields:!0}).then(()=>(E(),!0)).catch(he=>(k(he),Promise.reject(he)))},V=async(te,se)=>{if(g||!r.prop)return!1;const ce=rt(se);if(!$.value)return se==null||se(!1),!1;const he=Q(te);return he.length===0?(se==null||se(!0),!0):(I("validating"),B(he).then(()=>(se==null||se(!0),!0)).catch(Ee=>{const{fields:Ce}=Ee;return se==null||se(!1,Ce),ce?!1:Promise.reject(Ce)}))},F=()=>{I(""),p.value="",g=!1},q=async()=>{const te=a==null?void 0:a.model;if(!te||!r.prop)return;const se=xd(te,r.prop);g=!0,se.value=E2(m),await n.nextTick(),F(),g=!1},Y=te=>{c.value.includes(te)||c.value.push(te)},ee=te=>{c.value=c.value.filter(se=>se!==te)};n.watch(()=>r.error,te=>{p.value=te||"",I(te?"error":"")},{immediate:!0}),n.watch(()=>r.validateStatus,te=>I(te||""));const J=n.reactive({...n.toRefs(r),$el:h,size:l,validateState:d,labelId:u,inputIds:c,isGroup:O,hasLabel:x,fieldValue:P,addInputId:Y,removeInputId:ee,resetField:q,clearValidate:F,validate:V});return n.provide(Oo,J),n.onMounted(()=>{r.prop&&(a==null||a.addField(J),m=E2(P.value))}),n.onBeforeUnmount(()=>{a==null||a.removeField(J)}),t({size:l,validateMessage:p,validateState:d,validate:V,clearValidate:F,resetField:q}),(te,se)=>{var ce;return n.openBlock(),n.createElementBlock("div",{ref_key:"formItemRef",ref:h,class:n.normalizeClass(n.unref(b)),role:n.unref(O)?"group":void 0,"aria-labelledby":n.unref(O)?n.unref(u):void 0},[n.createVNode(n.unref($H),{"is-auto-width":n.unref(v).width==="auto","update-all":((ce=n.unref(a))==null?void 0:ce.labelWidth)==="auto"},{default:n.withCtx(()=>[n.unref(x)?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(T)?"label":"div"),{key:0,id:n.unref(u),for:n.unref(T),class:n.normalizeClass(n.unref(s).e("label")),style:n.normalizeStyle(n.unref(v))},{default:n.withCtx(()=>[n.renderSlot(te.$slots,"label",{label:n.unref(S)},()=>[n.createTextVNode(n.toDisplayString(n.unref(S)),1)])]),_:3},8,["id","for","class","style"])):n.createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),n.createElementVNode("div",{class:n.normalizeClass(n.unref(s).e("content")),style:n.normalizeStyle(n.unref(_))},[n.renderSlot(te.$slots,"default"),n.createVNode(n.TransitionGroup,{name:`${n.unref(s).namespace.value}-zoom-in-top`},{default:n.withCtx(()=>[n.unref(C)?n.renderSlot(te.$slots,"error",{key:0,error:p.value},()=>[n.createElementVNode("div",{class:n.normalizeClass(n.unref(N))},n.toDisplayString(p.value),3)]):n.createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}});var Yy=me(RH,[["__file","form-item.vue"]]);const FH=Xe(aH,{FormItem:Yy}),UH=Cn(Yy);let tr;const HH=`
24
+ height:0 !important;
25
+ visibility:hidden !important;
26
+ ${$E()?"":"overflow:hidden !important;"}
27
+ position:absolute !important;
28
+ z-index:-1000 !important;
29
+ top:0 !important;
30
+ right:0 !important;
31
+ `,YH=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function QH(e){const t=window.getComputedStyle(e),r=t.getPropertyValue("box-sizing"),o=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),a=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:YH.map(l=>`${l}:${t.getPropertyValue(l)}`).join(";"),paddingSize:o,borderSize:a,boxSizing:r}}function X2(e,t=1,r){var o;tr||(tr=document.createElement("textarea"),document.body.appendChild(tr));const{paddingSize:a,borderSize:i,boxSizing:l,contextStyle:s}=QH(e);tr.setAttribute("style",`${s};${HH}`),tr.value=e.value||e.placeholder||"";let u=tr.scrollHeight;const c={};l==="border-box"?u=u+i:l==="content-box"&&(u=u-a),tr.value="";const d=tr.scrollHeight-a;if(Ae(t)){let f=d*t;l==="border-box"&&(f=f+a+i),u=Math.max(f,u),c.minHeight=`${f}px`}if(Ae(r)){let f=d*r;l==="border-box"&&(f=f+a+i),u=Math.min(f,u)}return c.height=`${u}px`,(o=tr.parentNode)==null||o.removeChild(tr),tr=void 0,c}const qH=le({id:{type:String,default:void 0},size:wn,disabled:Boolean,modelValue:{type:K([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:K([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:Ut},prefixIcon:{type:Ut},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:K([Object,Array,String]),default:()=>pr({})},autofocus:Boolean,rows:{type:Number,default:2},...xn(["ariaLabel"])}),WH={[je]:e=>Je(e),input:e=>Je(e),change:e=>Je(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},GH=n.defineComponent({name:"ElInput",inheritAttrs:!1}),KH=n.defineComponent({...GH,props:qH,emits:WH,setup(e,{expose:t,emit:r}){const o=e,a=n.useAttrs(),i=U0(),l=n.useSlots(),s=n.computed(()=>[o.type==="textarea"?g.b():m.b(),m.m(p.value),m.is("disabled",h.value),m.is("exceed",V.value),{[m.b("group")]:l.prepend||l.append,[m.m("prefix")]:l.prefix||o.prefixIcon,[m.m("suffix")]:l.suffix||o.suffixIcon||o.clearable||o.showPassword,[m.bm("suffix","password-clear")]:I.value&&k.value,[m.b("hidden")]:o.type==="hidden"},a.class]),u=n.computed(()=>[m.e("wrapper"),m.is("focus",T.value)]),{form:c,formItem:d}=_r(),{inputId:f}=Vo(o,{formItemContext:d}),p=Kt(),h=Xn(),m=ie("input"),g=ie("textarea"),y=n.shallowRef(),v=n.shallowRef(),_=n.ref(!1),b=n.ref(!1),M=n.ref(),N=n.shallowRef(o.inputStyle),w=n.computed(()=>y.value||v.value),{wrapperRef:x,isFocused:T,handleFocus:O,handleBlur:j}=Fc(w,{beforeFocus(){return h.value},afterBlur(){var D;o.validateEvent&&((D=d==null?void 0:d.validate)==null||D.call(d,"blur").catch(U=>Ye(U)))}}),P=n.computed(()=>{var D;return(D=c==null?void 0:c.statusIcon)!=null?D:!1}),R=n.computed(()=>(d==null?void 0:d.validateState)||""),$=n.computed(()=>R.value&&gy[R.value]),Q=n.computed(()=>b.value?dy:ay),z=n.computed(()=>[a.style]),C=n.computed(()=>[o.inputStyle,N.value,{resize:o.resize}]),S=n.computed(()=>Bn(o.modelValue)?"":String(o.modelValue)),I=n.computed(()=>o.clearable&&!h.value&&!o.readonly&&!!S.value&&(T.value||_.value)),k=n.computed(()=>o.showPassword&&!h.value&&!!S.value&&(!!S.value||T.value)),E=n.computed(()=>o.showWordLimit&&!!o.maxlength&&(o.type==="text"||o.type==="textarea")&&!h.value&&!o.readonly&&!o.showPassword),B=n.computed(()=>S.value.length),V=n.computed(()=>!!E.value&&B.value>Number(o.maxlength)),F=n.computed(()=>!!l.suffix||!!o.suffixIcon||I.value||o.showPassword||E.value||!!R.value&&P.value),[q,Y]=SU(y);vn(v,D=>{if(te(),!E.value||o.resize!=="both")return;const U=D[0],{width:ke}=U.contentRect;M.value={right:`calc(100% - ${ke+15+6}px)`}});const ee=()=>{const{type:D,autosize:U}=o;if(!(!We||D!=="textarea"||!v.value))if(U){const ke=kt(U)?U.minRows:void 0,tt=kt(U)?U.maxRows:void 0,qe=X2(v.value,ke,tt);N.value={overflowY:"hidden",...qe},n.nextTick(()=>{v.value.offsetHeight,N.value=qe})}else N.value={minHeight:X2(v.value).minHeight}},te=(D=>{let U=!1;return()=>{var ke;if(U||!o.autosize)return;((ke=v.value)==null?void 0:ke.offsetParent)===null||(D(),U=!0)}})(ee),se=()=>{const D=w.value,U=o.formatter?o.formatter(S.value):S.value;!D||D.value===U||(D.value=U)},ce=async D=>{q();let{value:U}=D.target;if(o.formatter&&(U=o.parser?o.parser(U):U),!Ee.value){if(U===S.value){se();return}r(je,U),r("input",U),await n.nextTick(),se(),Y()}},he=D=>{r("change",D.target.value)},{isComposing:Ee,handleCompositionStart:Ce,handleCompositionUpdate:Be,handleCompositionEnd:Qe}=$y({emit:r,afterComposition:ce}),Ke=()=>{b.value=!b.value,Ie()},Ie=async()=>{var D;await n.nextTick(),(D=w.value)==null||D.focus()},Ze=()=>{var D;return(D=w.value)==null?void 0:D.blur()},Ne=D=>{_.value=!1,r("mouseleave",D)},Se=D=>{_.value=!0,r("mouseenter",D)},$e=D=>{r("keydown",D)},dt=()=>{var D;(D=w.value)==null||D.select()},xe=()=>{r(je,""),r("change",""),r("clear"),r("input","")};return n.watch(()=>o.modelValue,()=>{var D;n.nextTick(()=>ee()),o.validateEvent&&((D=d==null?void 0:d.validate)==null||D.call(d,"change").catch(U=>Ye(U)))}),n.watch(S,()=>se()),n.watch(()=>o.type,async()=>{await n.nextTick(),se(),ee()}),n.onMounted(()=>{!o.formatter&&o.parser&&Ye("ElInput","If you set the parser, you also need to set the formatter."),se(),n.nextTick(ee)}),t({input:y,textarea:v,ref:w,textareaStyle:C,autosize:n.toRef(o,"autosize"),isComposing:Ee,focus:Ie,blur:Ze,select:dt,clear:xe,resizeTextarea:ee}),(D,U)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([n.unref(s),{[n.unref(m).bm("group","append")]:D.$slots.append,[n.unref(m).bm("group","prepend")]:D.$slots.prepend}]),style:n.normalizeStyle(n.unref(z)),onMouseenter:Se,onMouseleave:Ne},[n.createCommentVNode(" input "),D.type!=="textarea"?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createCommentVNode(" prepend slot "),D.$slots.prepend?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(m).be("group","prepend"))},[n.renderSlot(D.$slots,"prepend")],2)):n.createCommentVNode("v-if",!0),n.createElementVNode("div",{ref_key:"wrapperRef",ref:x,class:n.normalizeClass(n.unref(u))},[n.createCommentVNode(" prefix slot "),D.$slots.prefix||D.prefixIcon?(n.openBlock(),n.createElementBlock("span",{key:0,class:n.normalizeClass(n.unref(m).e("prefix"))},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(m).e("prefix-inner"))},[n.renderSlot(D.$slots,"prefix"),D.prefixIcon?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(n.unref(m).e("icon"))},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(D.prefixIcon)))]),_:1},8,["class"])):n.createCommentVNode("v-if",!0)],2)],2)):n.createCommentVNode("v-if",!0),n.createElementVNode("input",n.mergeProps({id:n.unref(f),ref_key:"input",ref:y,class:n.unref(m).e("inner")},n.unref(i),{minlength:D.minlength,maxlength:D.maxlength,type:D.showPassword?b.value?"text":"password":D.type,disabled:n.unref(h),readonly:D.readonly,autocomplete:D.autocomplete,tabindex:D.tabindex,"aria-label":D.ariaLabel,placeholder:D.placeholder,style:D.inputStyle,form:D.form,autofocus:D.autofocus,role:D.containerRole,onCompositionstart:n.unref(Ce),onCompositionupdate:n.unref(Be),onCompositionend:n.unref(Qe),onInput:ce,onChange:he,onKeydown:$e}),null,16,["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","onCompositionstart","onCompositionupdate","onCompositionend"]),n.createCommentVNode(" suffix slot "),n.unref(F)?(n.openBlock(),n.createElementBlock("span",{key:1,class:n.normalizeClass(n.unref(m).e("suffix"))},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(m).e("suffix-inner"))},[!n.unref(I)||!n.unref(k)||!n.unref(E)?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.renderSlot(D.$slots,"suffix"),D.suffixIcon?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(n.unref(m).e("icon"))},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(D.suffixIcon)))]),_:1},8,["class"])):n.createCommentVNode("v-if",!0)],64)):n.createCommentVNode("v-if",!0),n.unref(I)?(n.openBlock(),n.createBlock(n.unref(de),{key:1,class:n.normalizeClass([n.unref(m).e("icon"),n.unref(m).e("clear")]),onMousedown:n.withModifiers(n.unref(lt),["prevent"]),onClick:xe},{default:n.withCtx(()=>[n.createVNode(n.unref(ka))]),_:1},8,["class","onMousedown"])):n.createCommentVNode("v-if",!0),n.unref(k)?(n.openBlock(),n.createBlock(n.unref(de),{key:2,class:n.normalizeClass([n.unref(m).e("icon"),n.unref(m).e("password")]),onClick:Ke},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(Q))))]),_:1},8,["class"])):n.createCommentVNode("v-if",!0),n.unref(E)?(n.openBlock(),n.createElementBlock("span",{key:3,class:n.normalizeClass(n.unref(m).e("count"))},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(m).e("count-inner"))},n.toDisplayString(n.unref(B))+" / "+n.toDisplayString(D.maxlength),3)],2)):n.createCommentVNode("v-if",!0),n.unref(R)&&n.unref($)&&n.unref(P)?(n.openBlock(),n.createBlock(n.unref(de),{key:4,class:n.normalizeClass([n.unref(m).e("icon"),n.unref(m).e("validateIcon"),n.unref(m).is("loading",n.unref(R)==="validating")])},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref($))))]),_:1},8,["class"])):n.createCommentVNode("v-if",!0)],2)],2)):n.createCommentVNode("v-if",!0)],2),n.createCommentVNode(" append slot "),D.$slots.append?(n.openBlock(),n.createElementBlock("div",{key:1,class:n.normalizeClass(n.unref(m).be("group","append"))},[n.renderSlot(D.$slots,"append")],2)):n.createCommentVNode("v-if",!0)],64)):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createCommentVNode(" textarea "),n.createElementVNode("textarea",n.mergeProps({id:n.unref(f),ref_key:"textarea",ref:v,class:[n.unref(g).e("inner"),n.unref(m).is("focus",n.unref(T))]},n.unref(i),{minlength:D.minlength,maxlength:D.maxlength,tabindex:D.tabindex,disabled:n.unref(h),readonly:D.readonly,autocomplete:D.autocomplete,style:n.unref(C),"aria-label":D.ariaLabel,placeholder:D.placeholder,form:D.form,autofocus:D.autofocus,rows:D.rows,role:D.containerRole,onCompositionstart:n.unref(Ce),onCompositionupdate:n.unref(Be),onCompositionend:n.unref(Qe),onInput:ce,onFocus:n.unref(O),onBlur:n.unref(j),onChange:he,onKeydown:$e}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),n.unref(E)?(n.openBlock(),n.createElementBlock("span",{key:0,style:n.normalizeStyle(M.value),class:n.normalizeClass(n.unref(m).e("count"))},n.toDisplayString(n.unref(B))+" / "+n.toDisplayString(D.maxlength),7)):n.createCommentVNode("v-if",!0)],64))],38))}});var ZH=me(KH,[["__file","input.vue"]]);const Dr=Xe(ZH),za=4,JH={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},XH=({move:e,size:t,bar:r})=>({[r.size]:t,transform:`translate${r.axis}(${e}%)`}),tm=Symbol("scrollbarContextKey"),eY=le({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),tY="Thumb",nY=n.defineComponent({__name:"thumb",props:eY,setup(e){const t=e,r=n.inject(tm),o=ie("scrollbar");r||Jn(tY,"can not inject scrollbar context");const a=n.ref(),i=n.ref(),l=n.ref({}),s=n.ref(!1);let u=!1,c=!1,d=We?document.onselectstart:null;const f=n.computed(()=>JH[t.vertical?"vertical":"horizontal"]),p=n.computed(()=>XH({size:t.size,move:t.move,bar:f.value})),h=n.computed(()=>a.value[f.value.offset]**2/r.wrapElement[f.value.scrollSize]/t.ratio/i.value[f.value.offset]),m=w=>{var x;if(w.stopPropagation(),w.ctrlKey||[1,2].includes(w.button))return;(x=window.getSelection())==null||x.removeAllRanges(),y(w);const T=w.currentTarget;T&&(l.value[f.value.axis]=T[f.value.offset]-(w[f.value.client]-T.getBoundingClientRect()[f.value.direction]))},g=w=>{if(!i.value||!a.value||!r.wrapElement)return;const x=Math.abs(w.target.getBoundingClientRect()[f.value.direction]-w[f.value.client]),T=i.value[f.value.offset]/2,O=(x-T)*100*h.value/a.value[f.value.offset];r.wrapElement[f.value.scroll]=O*r.wrapElement[f.value.scrollSize]/100},y=w=>{w.stopImmediatePropagation(),u=!0,document.addEventListener("mousemove",v),document.addEventListener("mouseup",_),d=document.onselectstart,document.onselectstart=()=>!1},v=w=>{if(!a.value||!i.value||u===!1)return;const x=l.value[f.value.axis];if(!x)return;const T=(a.value.getBoundingClientRect()[f.value.direction]-w[f.value.client])*-1,O=i.value[f.value.offset]-x,j=(T-O)*100*h.value/a.value[f.value.offset];r.wrapElement[f.value.scroll]=j*r.wrapElement[f.value.scrollSize]/100},_=()=>{u=!1,l.value[f.value.axis]=0,document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",_),N(),c&&(s.value=!1)},b=()=>{c=!1,s.value=!!t.size},M=()=>{c=!0,s.value=u};n.onBeforeUnmount(()=>{N(),document.removeEventListener("mouseup",_)});const N=()=>{document.onselectstart!==d&&(document.onselectstart=d)};return ct(n.toRef(r,"scrollbarElement"),"mousemove",b),ct(n.toRef(r,"scrollbarElement"),"mouseleave",M),(w,x)=>(n.openBlock(),n.createBlock(n.Transition,{name:n.unref(o).b("fade"),persisted:""},{default:n.withCtx(()=>[n.withDirectives(n.createElementVNode("div",{ref_key:"instance",ref:a,class:n.normalizeClass([n.unref(o).e("bar"),n.unref(o).is(n.unref(f).key)]),onMousedown:g},[n.createElementVNode("div",{ref_key:"thumb",ref:i,class:n.normalizeClass(n.unref(o).e("thumb")),style:n.normalizeStyle(n.unref(p)),onMousedown:m},null,38)],34),[[n.vShow,w.always||s.value]])]),_:1},8,["name"]))}});var e1=me(nY,[["__file","thumb.vue"]]);const rY=le({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),oY=n.defineComponent({__name:"bar",props:rY,setup(e,{expose:t}){const r=e,o=n.inject(tm),a=n.ref(0),i=n.ref(0),l=n.ref(""),s=n.ref(""),u=n.ref(1),c=n.ref(1);return t({handleScroll:p=>{if(p){const h=p.offsetHeight-za,m=p.offsetWidth-za;i.value=p.scrollTop*100/h*u.value,a.value=p.scrollLeft*100/m*c.value}},update:()=>{const p=o==null?void 0:o.wrapElement;if(!p)return;const h=p.offsetHeight-za,m=p.offsetWidth-za,g=h**2/p.scrollHeight,y=m**2/p.scrollWidth,v=Math.max(g,r.minSize),_=Math.max(y,r.minSize);u.value=g/(h-g)/(v/(h-v)),c.value=y/(m-y)/(_/(m-_)),s.value=v+za<h?`${v}px`:"",l.value=_+za<m?`${_}px`:""}}),(p,h)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode(e1,{move:a.value,ratio:c.value,size:l.value,always:p.always},null,8,["move","ratio","size","always"]),n.createVNode(e1,{move:i.value,ratio:u.value,size:s.value,vertical:"",always:p.always},null,8,["move","ratio","size","always"])],64))}});var aY=me(oY,[["__file","bar.vue"]]);const iY=le({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:K([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...xn(["ariaLabel","ariaOrientation"])}),lY={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Ae)},ep="ElScrollbar",sY=n.defineComponent({name:ep}),uY=n.defineComponent({...sY,props:iY,emits:lY,setup(e,{expose:t,emit:r}){const o=e,a=ie("scrollbar");let i,l,s=0,u=0;const c=n.ref(),d=n.ref(),f=n.ref(),p=n.ref(),h=n.computed(()=>{const N={};return o.height&&(N.height=fr(o.height)),o.maxHeight&&(N.maxHeight=fr(o.maxHeight)),[o.wrapStyle,N]}),m=n.computed(()=>[o.wrapClass,a.e("wrap"),{[a.em("wrap","hidden-default")]:!o.native}]),g=n.computed(()=>[a.e("view"),o.viewClass]),y=()=>{var N;d.value&&((N=p.value)==null||N.handleScroll(d.value),s=d.value.scrollTop,u=d.value.scrollLeft,r("scroll",{scrollTop:d.value.scrollTop,scrollLeft:d.value.scrollLeft}))};function v(N,w){kt(N)?d.value.scrollTo(N):Ae(N)&&Ae(w)&&d.value.scrollTo(N,w)}const _=N=>{if(!Ae(N)){Ye(ep,"value must be a number");return}d.value.scrollTop=N},b=N=>{if(!Ae(N)){Ye(ep,"value must be a number");return}d.value.scrollLeft=N},M=()=>{var N;(N=p.value)==null||N.update()};return n.watch(()=>o.noresize,N=>{N?(i==null||i(),l==null||l()):({stop:i}=vn(f,M),l=ct("resize",M))},{immediate:!0}),n.watch(()=>[o.maxHeight,o.height],()=>{o.native||n.nextTick(()=>{var N;M(),d.value&&((N=p.value)==null||N.handleScroll(d.value))})}),n.provide(tm,n.reactive({scrollbarElement:c,wrapElement:d})),n.onActivated(()=>{d.value&&(d.value.scrollTop=s,d.value.scrollLeft=u)}),n.onMounted(()=>{o.native||n.nextTick(()=>{M()})}),n.onUpdated(()=>M()),t({wrapRef:d,update:M,scrollTo:v,setScrollTop:_,setScrollLeft:b,handleScroll:y}),(N,w)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"scrollbarRef",ref:c,class:n.normalizeClass(n.unref(a).b())},[n.createElementVNode("div",{ref_key:"wrapRef",ref:d,class:n.normalizeClass(n.unref(m)),style:n.normalizeStyle(n.unref(h)),tabindex:N.tabindex,onScroll:y},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(N.tag),{id:N.id,ref_key:"resizeRef",ref:f,class:n.normalizeClass(n.unref(g)),style:n.normalizeStyle(N.viewStyle),role:N.role,"aria-label":N.ariaLabel,"aria-orientation":N.ariaOrientation},{default:n.withCtx(()=>[n.renderSlot(N.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),N.native?n.createCommentVNode("v-if",!0):(n.openBlock(),n.createBlock(aY,{key:0,ref_key:"barRef",ref:p,always:N.always,"min-size":N.minSize},null,8,["always","min-size"]))],2))}});var cY=me(uY,[["__file","scrollbar.vue"]]);const nm=Xe(cY),rm=Symbol("popper"),Qy=Symbol("popperContent"),dY=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],qy=le({role:{type:String,values:dY,default:"tooltip"}}),fY=n.defineComponent({name:"ElPopper",inheritAttrs:!1}),pY=n.defineComponent({...fY,props:qy,setup(e,{expose:t}){const r=e,o=n.ref(),a=n.ref(),i=n.ref(),l=n.ref(),s=n.computed(()=>r.role),u={triggerRef:o,popperInstanceRef:a,contentRef:i,referenceRef:l,role:s};return t(u),n.provide(rm,u),(c,d)=>n.renderSlot(c.$slots,"default")}});var mY=me(pY,[["__file","popper.vue"]]);const Wy=le({arrowOffset:{type:Number,default:5}}),hY=n.defineComponent({name:"ElPopperArrow",inheritAttrs:!1}),gY=n.defineComponent({...hY,props:Wy,setup(e,{expose:t}){const r=e,o=ie("popper"),{arrowOffset:a,arrowRef:i,arrowStyle:l}=n.inject(Qy,void 0);return n.watch(()=>r.arrowOffset,s=>{a.value=s}),n.onBeforeUnmount(()=>{i.value=void 0}),t({arrowRef:i}),(s,u)=>(n.openBlock(),n.createElementBlock("span",{ref_key:"arrowRef",ref:i,class:n.normalizeClass(n.unref(o).e("arrow")),style:n.normalizeStyle(n.unref(l)),"data-popper-arrow":""},null,6))}});var vY=me(gY,[["__file","arrow.vue"]]);const Td="ElOnlyChild",Gy=n.defineComponent({name:Td,setup(e,{slots:t,attrs:r}){var o;const a=n.inject(jy),i=DU((o=a==null?void 0:a.setForwardRef)!=null?o:lt);return()=>{var l;const s=(l=t.default)==null?void 0:l.call(t,r);if(!s)return null;if(s.length>1)return Ye(Td,"requires exact only one valid child."),null;const u=Ky(s);return u?n.withDirectives(n.cloneVNode(u,r),[[i]]):(Ye(Td,"no valid child node found"),null)}}});function Ky(e){if(!e)return null;const t=e;for(const r of t){if(kt(r))switch(r.type){case n.Comment:continue;case n.Text:case"svg":return t1(r);case n.Fragment:return Ky(r.children);default:return r}return t1(r)}return null}function t1(e){const t=ie("only-child");return n.createVNode("span",{class:t.e("content")},[e])}const Zy=le({virtualRef:{type:K(Object)},virtualTriggering:Boolean,onMouseenter:{type:K(Function)},onMouseleave:{type:K(Function)},onClick:{type:K(Function)},onKeydown:{type:K(Function)},onFocus:{type:K(Function)},onBlur:{type:K(Function)},onContextmenu:{type:K(Function)},id:String,open:Boolean}),yY=n.defineComponent({name:"ElPopperTrigger",inheritAttrs:!1}),MY=n.defineComponent({...yY,props:Zy,setup(e,{expose:t}){const r=e,{role:o,triggerRef:a}=n.inject(rm,void 0);TU(a);const i=n.computed(()=>s.value?r.id:void 0),l=n.computed(()=>{if(o&&o.value==="tooltip")return r.open&&r.id?r.id:void 0}),s=n.computed(()=>{if(o&&o.value!=="tooltip")return o.value}),u=n.computed(()=>s.value?`${r.open}`:void 0);let c;const d=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return n.onMounted(()=>{n.watch(()=>r.virtualRef,f=>{f&&(a.value=Tr(f))},{immediate:!0}),n.watch(a,(f,p)=>{c==null||c(),c=void 0,ko(f)&&(d.forEach(h=>{var m;const g=r[h];g&&(f.addEventListener(h.slice(2).toLowerCase(),g),(m=p==null?void 0:p.removeEventListener)==null||m.call(p,h.slice(2).toLowerCase(),g))}),Bh(f)&&(c=n.watch([i,l,s,u],h=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((m,g)=>{Bn(h[g])?f.removeAttribute(m):f.setAttribute(m,h[g])})},{immediate:!0}))),ko(p)&&Bh(p)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(h=>p.removeAttribute(h))},{immediate:!0})}),n.onBeforeUnmount(()=>{if(c==null||c(),c=void 0,a.value&&ko(a.value)){const f=a.value;d.forEach(p=>{const h=r[p];h&&f.removeEventListener(p.slice(2).toLowerCase(),h)}),a.value=void 0}}),t({triggerRef:a}),(f,p)=>f.virtualTriggering?n.createCommentVNode("v-if",!0):(n.openBlock(),n.createBlock(n.unref(Gy),n.mergeProps({key:0},f.$attrs,{"aria-controls":n.unref(i),"aria-describedby":n.unref(l),"aria-expanded":n.unref(u),"aria-haspopup":n.unref(s)}),{default:n.withCtx(()=>[n.renderSlot(f.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var _Y=me(MY,[["__file","trigger.vue"]]);const Dd="focus-trap.focus-after-trapped",Sd="focus-trap.focus-after-released",bY="focus-trap.focusout-prevented",n1={cancelable:!0,bubbles:!1},NY={cancelable:!0,bubbles:!1},r1="focusAfterTrapped",o1="focusAfterReleased",om=Symbol("elFocusTrap"),am=n.ref(),Hc=n.ref(0),im=n.ref(0);let Ns=0;const Jy=e=>{const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const a=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||a?NodeFilter.FILTER_SKIP:o.tabIndex>=0||o===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t},a1=(e,t)=>{for(const r of e)if(!wY(r,t))return r},wY=(e,t)=>{if(process.env.NODE_ENV==="test")return!1;if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},kY=e=>{const t=Jy(e),r=a1(t,e),o=a1(t.reverse(),e);return[r,o]},CY=e=>e instanceof HTMLInputElement&&"select"in e,lo=(e,t)=>{if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),im.value=window.performance.now(),e!==r&&CY(e)&&t&&e.select()}};function i1(e,t){const r=[...e],o=e.indexOf(t);return o!==-1&&r.splice(o,1),r}const xY=()=>{let e=[];return{push:o=>{const a=e[0];a&&o!==a&&a.pause(),e=i1(e,o),e.unshift(o)},remove:o=>{var a,i;e=i1(e,o),(i=(a=e[0])==null?void 0:a.resume)==null||i.call(a)}}},EY=(e,t=!1)=>{const r=document.activeElement;for(const o of e)if(lo(o,t),document.activeElement!==r)return},l1=xY(),TY=()=>Hc.value>im.value,ws=()=>{am.value="pointer",Hc.value=window.performance.now()},s1=()=>{am.value="keyboard",Hc.value=window.performance.now()},DY=()=>(n.onMounted(()=>{Ns===0&&(document.addEventListener("mousedown",ws),document.addEventListener("touchstart",ws),document.addEventListener("keydown",s1)),Ns++}),n.onBeforeUnmount(()=>{Ns--,Ns<=0&&(document.removeEventListener("mousedown",ws),document.removeEventListener("touchstart",ws),document.removeEventListener("keydown",s1))}),{focusReason:am,lastUserFocusTimestamp:Hc,lastAutomatedFocusTimestamp:im}),ks=e=>new CustomEvent(bY,{...NY,detail:e}),SY=n.defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[r1,o1,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const r=n.ref();let o,a;const{focusReason:i}=DY();wU(m=>{e.trapped&&!l.paused&&t("release-requested",m)});const l={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=m=>{if(!e.loop&&!e.trapped||l.paused)return;const{key:g,altKey:y,ctrlKey:v,metaKey:_,currentTarget:b,shiftKey:M}=m,{loop:N}=e,w=g===be.tab&&!y&&!v&&!_,x=document.activeElement;if(w&&x){const T=b,[O,j]=kY(T);if(O&&j){if(!M&&x===j){const R=ks({focusReason:i.value});t("focusout-prevented",R),R.defaultPrevented||(m.preventDefault(),N&&lo(O,!0))}else if(M&&[O,T].includes(x)){const R=ks({focusReason:i.value});t("focusout-prevented",R),R.defaultPrevented||(m.preventDefault(),N&&lo(j,!0))}}else if(x===T){const R=ks({focusReason:i.value});t("focusout-prevented",R),R.defaultPrevented||m.preventDefault()}}};n.provide(om,{focusTrapRef:r,onKeydown:s}),n.watch(()=>e.focusTrapEl,m=>{m&&(r.value=m)},{immediate:!0}),n.watch([r],([m],[g])=>{m&&(m.addEventListener("keydown",s),m.addEventListener("focusin",d),m.addEventListener("focusout",f)),g&&(g.removeEventListener("keydown",s),g.removeEventListener("focusin",d),g.removeEventListener("focusout",f))});const u=m=>{t(r1,m)},c=m=>t(o1,m),d=m=>{const g=n.unref(r);if(!g)return;const y=m.target,v=m.relatedTarget,_=y&&g.contains(y);e.trapped||v&&g.contains(v)||(o=v),_&&t("focusin",m),!l.paused&&e.trapped&&(_?a=y:lo(a,!0))},f=m=>{const g=n.unref(r);if(!(l.paused||!g))if(e.trapped){const y=m.relatedTarget;!Bn(y)&&!g.contains(y)&&setTimeout(()=>{if(!l.paused&&e.trapped){const v=ks({focusReason:i.value});t("focusout-prevented",v),v.defaultPrevented||lo(a,!0)}},0)}else{const y=m.target;y&&g.contains(y)||t("focusout",m)}};async function p(){await n.nextTick();const m=n.unref(r);if(m){l1.push(l);const g=m.contains(document.activeElement)?o:document.activeElement;if(o=g,!m.contains(g)){const v=new Event(Dd,n1);m.addEventListener(Dd,u),m.dispatchEvent(v),v.defaultPrevented||n.nextTick(()=>{let _=e.focusStartEl;Je(_)||(lo(_),document.activeElement!==_&&(_="first")),_==="first"&&EY(Jy(m),!0),(document.activeElement===g||_==="container")&&lo(m)})}}}function h(){const m=n.unref(r);if(m){m.removeEventListener(Dd,u);const g=new CustomEvent(Sd,{...n1,detail:{focusReason:i.value}});m.addEventListener(Sd,c),m.dispatchEvent(g),!g.defaultPrevented&&(i.value=="keyboard"||!TY()||m.contains(document.activeElement))&&lo(o??document.body),m.removeEventListener(Sd,c),l1.remove(l)}}return n.onMounted(()=>{e.trapped&&p(),n.watch(()=>e.trapped,m=>{m?p():h()})}),n.onBeforeUnmount(()=>{e.trapped&&h(),r.value&&(r.value.removeEventListener("keydown",s),r.value.removeEventListener("focusin",d),r.value.removeEventListener("focusout",f),r.value=void 0)}),{onKeydown:s}}});function IY(e,t,r,o,a,i){return n.renderSlot(e.$slots,"default",{handleKeydown:e.onKeydown})}var Xy=me(SY,[["render",IY],["__file","focus-trap.vue"]]);const AY=["fixed","absolute"],zY=le({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:K(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Ca,default:"bottom"},popperOptions:{type:K(Object),default:()=>({})},strategy:{type:String,values:AY,default:"absolute"}}),eM=le({...zY,id:String,style:{type:K([String,Array,Object])},className:{type:K([String,Array,Object])},effect:{type:K(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:K([String,Array,Object])},popperStyle:{type:K([String,Array,Object])},referenceEl:{type:K(Object)},triggerTargetEl:{type:K(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...xn(["ariaLabel"])}),OY={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},jY=(e,t=[])=>{const{placement:r,strategy:o,popperOptions:a}=e,i={placement:r,strategy:o,...a,modifiers:[...BY(e),...t]};return VY(i,a==null?void 0:a.modifiers),i},LY=e=>{if(We)return Tr(e)};function BY(e){const{offset:t,gpuAcceleration:r,fallbackPlacements:o}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:o}},{name:"computeStyles",options:{gpuAcceleration:r}}]}function VY(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const $Y=0,PY=e=>{const{popperInstanceRef:t,contentRef:r,triggerRef:o,role:a}=n.inject(rm,void 0),i=n.ref(),l=n.ref(),s=n.computed(()=>({name:"eventListeners",enabled:!!e.visible})),u=n.computed(()=>{var v;const _=n.unref(i),b=(v=n.unref(l))!=null?v:$Y;return{name:"arrow",enabled:!G3(_),options:{element:_,padding:b}}}),c=n.computed(()=>({onFirstUpdate:()=>{m()},...jY(e,[n.unref(u),n.unref(s)])})),d=n.computed(()=>LY(e.referenceEl)||n.unref(o)),{attributes:f,state:p,styles:h,update:m,forceUpdate:g,instanceRef:y}=_U(d,r,c);return n.watch(y,v=>t.value=v),n.onMounted(()=>{n.watch(()=>{var v;return(v=n.unref(d))==null?void 0:v.getBoundingClientRect()},()=>{m()})}),{attributes:f,arrowRef:i,contentRef:r,instanceRef:y,state:p,styles:h,role:a,forceUpdate:g,update:m}},RY=(e,{attributes:t,styles:r,role:o})=>{const{nextZIndex:a}=Rc(),i=ie("popper"),l=n.computed(()=>n.unref(t).popper),s=n.ref(Ae(e.zIndex)?e.zIndex:a()),u=n.computed(()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass]),c=n.computed(()=>[{zIndex:n.unref(s)},n.unref(r).popper,e.popperStyle||{}]),d=n.computed(()=>o.value==="dialog"?"false":void 0),f=n.computed(()=>n.unref(r).arrow||{});return{ariaModal:d,arrowStyle:f,contentAttrs:l,contentClass:u,contentStyle:c,contentZIndex:s,updateZIndex:()=>{s.value=Ae(e.zIndex)?e.zIndex:a()}}},FY=(e,t)=>{const r=n.ref(!1),o=n.ref();return{focusStartRef:o,trapped:r,onFocusAfterReleased:c=>{var d;((d=c.detail)==null?void 0:d.focusReason)!=="pointer"&&(o.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:c=>{e.visible&&!r.value&&(c.target&&(o.value=c.target),r.value=!0)},onFocusoutPrevented:c=>{e.trapping||(c.detail.focusReason==="pointer"&&c.preventDefault(),r.value=!1)},onReleaseRequested:()=>{r.value=!1,t("close")}}},UY=n.defineComponent({name:"ElPopperContent"}),HY=n.defineComponent({...UY,props:eM,emits:OY,setup(e,{expose:t,emit:r}){const o=e,{focusStartRef:a,trapped:i,onFocusAfterReleased:l,onFocusAfterTrapped:s,onFocusInTrap:u,onFocusoutPrevented:c,onReleaseRequested:d}=FY(o,r),{attributes:f,arrowRef:p,contentRef:h,styles:m,instanceRef:g,role:y,update:v}=PY(o),{ariaModal:_,arrowStyle:b,contentAttrs:M,contentClass:N,contentStyle:w,updateZIndex:x}=RY(o,{styles:m,attributes:f,role:y}),T=n.inject(Oo,void 0),O=n.ref();n.provide(Qy,{arrowStyle:b,arrowRef:p,arrowOffset:O}),T&&n.provide(Oo,{...T,addInputId:lt,removeInputId:lt});let j;const P=($=!0)=>{v(),$&&x()},R=()=>{P(!1),o.visible&&o.focusOnShow?i.value=!0:o.visible===!1&&(i.value=!1)};return n.onMounted(()=>{n.watch(()=>o.triggerTargetEl,($,Q)=>{j==null||j(),j=void 0;const z=n.unref($||h.value),C=n.unref(Q||h.value);ko(z)&&(j=n.watch([y,()=>o.ariaLabel,_,()=>o.id],S=>{["role","aria-label","aria-modal","id"].forEach((I,k)=>{Bn(S[k])?z.removeAttribute(I):z.setAttribute(I,S[k])})},{immediate:!0})),C!==z&&ko(C)&&["role","aria-label","aria-modal","id"].forEach(S=>{C.removeAttribute(S)})},{immediate:!0}),n.watch(()=>o.visible,R,{immediate:!0})}),n.onBeforeUnmount(()=>{j==null||j(),j=void 0}),t({popperContentRef:h,popperInstanceRef:g,updatePopper:P,contentStyle:w}),($,Q)=>(n.openBlock(),n.createElementBlock("div",n.mergeProps({ref_key:"contentRef",ref:h},n.unref(M),{style:n.unref(w),class:n.unref(N),tabindex:"-1",onMouseenter:z=>$.$emit("mouseenter",z),onMouseleave:z=>$.$emit("mouseleave",z)}),[n.createVNode(n.unref(Xy),{trapped:n.unref(i),"trap-on-focus-in":!0,"focus-trap-el":n.unref(h),"focus-start-el":n.unref(a),onFocusAfterTrapped:n.unref(s),onFocusAfterReleased:n.unref(l),onFocusin:n.unref(u),onFocusoutPrevented:n.unref(c),onReleaseRequested:n.unref(d)},{default:n.withCtx(()=>[n.renderSlot($.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}});var YY=me(HY,[["__file","content.vue"]]);const QY=Xe(mY),Yc=Symbol("elTooltip"),gn=le({...xU,...eM,appendTo:{type:K([String,Object])},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:K(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...xn(["ariaLabel"])}),Dl=le({...Zy,disabled:Boolean,trigger:{type:K([String,Array]),default:"hover"},triggerKeys:{type:K(Array),default:()=>[be.enter,be.space]}}),{useModelToggleProps:qY,useModelToggleEmits:WY,useModelToggle:GY}=_y("visible"),KY=le({...qy,...qY,...gn,...Dl,...Wy,showArrow:{type:Boolean,default:!0}}),ZY=[...WY,"before-show","before-hide","show","hide","open","close"],JY=(e,t)=>we(e)?e.includes(t):e===t,Oa=(e,t,r)=>o=>{JY(n.unref(e),t)&&r(o)},XY=n.defineComponent({name:"ElTooltipTrigger"}),eQ=n.defineComponent({...XY,props:Dl,setup(e,{expose:t}){const r=e,o=ie("tooltip"),{controlled:a,id:i,open:l,onOpen:s,onClose:u,onToggle:c}=n.inject(Yc,void 0),d=n.ref(null),f=()=>{if(n.unref(a)||r.disabled)return!0},p=n.toRef(r,"trigger"),h=_t(f,Oa(p,"hover",s)),m=_t(f,Oa(p,"hover",u)),g=_t(f,Oa(p,"click",M=>{M.button===0&&c(M)})),y=_t(f,Oa(p,"focus",s)),v=_t(f,Oa(p,"focus",u)),_=_t(f,Oa(p,"contextmenu",M=>{M.preventDefault(),c(M)})),b=_t(f,M=>{const{code:N}=M;r.triggerKeys.includes(N)&&(M.preventDefault(),c(M))});return t({triggerRef:d}),(M,N)=>(n.openBlock(),n.createBlock(n.unref(_Y),{id:n.unref(i),"virtual-ref":M.virtualRef,open:n.unref(l),"virtual-triggering":M.virtualTriggering,class:n.normalizeClass(n.unref(o).e("trigger")),onBlur:n.unref(v),onClick:n.unref(g),onContextmenu:n.unref(_),onFocus:n.unref(y),onMouseenter:n.unref(h),onMouseleave:n.unref(m),onKeydown:n.unref(b)},{default:n.withCtx(()=>[n.renderSlot(M.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var tQ=me(eQ,[["__file","trigger.vue"]]);const nQ=le({to:{type:K([String,Object]),required:!0},disabled:Boolean}),rQ=n.defineComponent({__name:"teleport",props:nQ,setup(e){return(t,r)=>t.disabled?n.renderSlot(t.$slots,"default",{key:0}):(n.openBlock(),n.createBlock(n.Teleport,{key:1,to:t.to},[n.renderSlot(t.$slots,"default")],8,["to"]))}});var oQ=me(rQ,[["__file","teleport.vue"]]);const lm=Xe(oQ),aQ=n.defineComponent({name:"ElTooltipContent",inheritAttrs:!1}),iQ=n.defineComponent({...aQ,props:gn,setup(e,{expose:t}){const r=e,{selector:o}=Oy(),a=ie("tooltip"),i=n.ref(null);let l;const{controlled:s,id:u,open:c,trigger:d,onClose:f,onOpen:p,onShow:h,onHide:m,onBeforeShow:g,onBeforeHide:y}=n.inject(Yc,void 0),v=n.computed(()=>r.transition||`${a.namespace.value}-fade-in-linear`),_=n.computed(()=>process.env.NODE_ENV==="test"?!0:r.persistent);n.onBeforeUnmount(()=>{l==null||l()});const b=n.computed(()=>n.unref(_)?!0:n.unref(c)),M=n.computed(()=>r.disabled?!1:n.unref(c)),N=n.computed(()=>r.appendTo||o.value),w=n.computed(()=>{var C;return(C=r.style)!=null?C:{}}),x=n.ref(!0),T=()=>{m(),x.value=!0},O=()=>{if(n.unref(s))return!0},j=_t(O,()=>{r.enterable&&n.unref(d)==="hover"&&p()}),P=_t(O,()=>{n.unref(d)==="hover"&&f()}),R=()=>{var C,S;(S=(C=i.value)==null?void 0:C.updatePopper)==null||S.call(C),g==null||g()},$=()=>{y==null||y()},Q=()=>{h(),l=_3(n.computed(()=>{var C;return(C=i.value)==null?void 0:C.popperContentRef}),()=>{if(n.unref(s))return;n.unref(d)!=="hover"&&f()})},z=()=>{r.virtualTriggering||f()};return n.watch(()=>n.unref(c),C=>{C?x.value=!1:l==null||l()},{flush:"post"}),n.watch(()=>r.content,()=>{var C,S;(S=(C=i.value)==null?void 0:C.updatePopper)==null||S.call(C)}),t({contentRef:i}),(C,S)=>(n.openBlock(),n.createBlock(n.unref(lm),{disabled:!C.teleported,to:n.unref(N)},{default:n.withCtx(()=>[n.createVNode(n.Transition,{name:n.unref(v),onAfterLeave:T,onBeforeEnter:R,onAfterEnter:Q,onBeforeLeave:$},{default:n.withCtx(()=>[n.unref(b)?n.withDirectives((n.openBlock(),n.createBlock(n.unref(YY),n.mergeProps({key:0,id:n.unref(u),ref_key:"contentRef",ref:i},C.$attrs,{"aria-label":C.ariaLabel,"aria-hidden":x.value,"boundaries-padding":C.boundariesPadding,"fallback-placements":C.fallbackPlacements,"gpu-acceleration":C.gpuAcceleration,offset:C.offset,placement:C.placement,"popper-options":C.popperOptions,strategy:C.strategy,effect:C.effect,enterable:C.enterable,pure:C.pure,"popper-class":C.popperClass,"popper-style":[C.popperStyle,n.unref(w)],"reference-el":C.referenceEl,"trigger-target-el":C.triggerTargetEl,visible:n.unref(M),"z-index":C.zIndex,onMouseenter:n.unref(j),onMouseleave:n.unref(P),onBlur:z,onClose:n.unref(f)}),{default:n.withCtx(()=>[n.renderSlot(C.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[n.vShow,n.unref(M)]]):n.createCommentVNode("v-if",!0)]),_:3},8,["name"])]),_:3},8,["disabled","to"]))}});var lQ=me(iQ,[["__file","content.vue"]]);const sQ=n.defineComponent({name:"ElTooltip"}),uQ=n.defineComponent({...sQ,props:KY,emits:ZY,setup(e,{expose:t,emit:r}){const o=e;CU();const a=Lr(),i=n.ref(),l=n.ref(),s=()=>{var v;const _=n.unref(i);_&&((v=_.popperInstanceRef)==null||v.update())},u=n.ref(!1),c=n.ref(),{show:d,hide:f,hasUpdateHandler:p}=GY({indicator:u,toggleReason:c}),{onOpen:h,onClose:m}=EU({showAfter:n.toRef(o,"showAfter"),hideAfter:n.toRef(o,"hideAfter"),autoClose:n.toRef(o,"autoClose"),open:d,close:f}),g=n.computed(()=>Gt(o.visible)&&!p.value);n.provide(Yc,{controlled:g,id:a,open:n.readonly(u),trigger:n.toRef(o,"trigger"),onOpen:v=>{h(v)},onClose:v=>{m(v)},onToggle:v=>{n.unref(u)?m(v):h(v)},onShow:()=>{r("show",c.value)},onHide:()=>{r("hide",c.value)},onBeforeShow:()=>{r("before-show",c.value)},onBeforeHide:()=>{r("before-hide",c.value)},updatePopper:s}),n.watch(()=>o.disabled,v=>{v&&u.value&&(u.value=!1)});const y=v=>{var _,b;const M=(b=(_=l.value)==null?void 0:_.contentRef)==null?void 0:b.popperContentRef,N=(v==null?void 0:v.relatedTarget)||document.activeElement;return M&&M.contains(N)};return n.onDeactivated(()=>u.value&&f()),t({popperRef:i,contentRef:l,isFocusInsideContent:y,updatePopper:s,onOpen:h,onClose:m,hide:f}),(v,_)=>(n.openBlock(),n.createBlock(n.unref(QY),{ref_key:"popperRef",ref:i,role:v.role},{default:n.withCtx(()=>[n.createVNode(tQ,{disabled:v.disabled,trigger:v.trigger,"trigger-keys":v.triggerKeys,"virtual-ref":v.virtualRef,"virtual-triggering":v.virtualTriggering},{default:n.withCtx(()=>[v.$slots.default?n.renderSlot(v.$slots,"default",{key:0}):n.createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),n.createVNode(lQ,{ref_key:"contentRef",ref:l,"aria-label":v.ariaLabel,"boundaries-padding":v.boundariesPadding,content:v.content,disabled:v.disabled,effect:v.effect,enterable:v.enterable,"fallback-placements":v.fallbackPlacements,"hide-after":v.hideAfter,"gpu-acceleration":v.gpuAcceleration,offset:v.offset,persistent:v.persistent,"popper-class":v.popperClass,"popper-style":v.popperStyle,placement:v.placement,"popper-options":v.popperOptions,pure:v.pure,"raw-content":v.rawContent,"reference-el":v.referenceEl,"trigger-target-el":v.triggerTargetEl,"show-after":v.showAfter,strategy:v.strategy,teleported:v.teleported,transition:v.transition,"virtual-triggering":v.virtualTriggering,"z-index":v.zIndex,"append-to":v.appendTo},{default:n.withCtx(()=>[n.renderSlot(v.$slots,"content",{},()=>[v.rawContent?(n.openBlock(),n.createElementBlock("span",{key:0,innerHTML:v.content},null,8,["innerHTML"])):(n.openBlock(),n.createElementBlock("span",{key:1},n.toDisplayString(v.content),1))]),v.showArrow?(n.openBlock(),n.createBlock(n.unref(vY),{key:0,"arrow-offset":v.arrowOffset},null,8,["arrow-offset"])):n.createCommentVNode("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var cQ=me(uQ,[["__file","tooltip.vue"]]);const Ai=Xe(cQ),tM=Symbol("breadcrumbKey"),dQ=le({separator:{type:String,default:"/"},separatorIcon:{type:Ut}}),fQ=n.defineComponent({name:"ElBreadcrumb"}),pQ=n.defineComponent({...fQ,props:dQ,setup(e){const t=e,{t:r}=ht(),o=ie("breadcrumb"),a=n.ref();return n.provide(tM,t),n.onMounted(()=>{const i=a.value.querySelectorAll(`.${o.e("item")}`);i.length&&i[i.length-1].setAttribute("aria-current","page")}),(i,l)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"breadcrumb",ref:a,class:n.normalizeClass(n.unref(o).b()),"aria-label":n.unref(r)("el.breadcrumb.label"),role:"navigation"},[n.renderSlot(i.$slots,"default")],10,["aria-label"]))}});var mQ=me(pQ,[["__file","breadcrumb.vue"]]);const hQ=le({to:{type:K([String,Object]),default:""},replace:Boolean}),gQ=n.defineComponent({name:"ElBreadcrumbItem"}),vQ=n.defineComponent({...gQ,props:hQ,setup(e){const t=e,r=n.getCurrentInstance(),o=n.inject(tM,void 0),a=ie("breadcrumb"),i=r.appContext.config.globalProperties.$router,l=n.ref(),s=()=>{!t.to||!i||(t.replace?i.replace(t.to):i.push(t.to))};return(u,c)=>{var d,f;return n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass(n.unref(a).e("item"))},[n.createElementVNode("span",{ref_key:"link",ref:l,class:n.normalizeClass([n.unref(a).e("inner"),n.unref(a).is("link",!!u.to)]),role:"link",onClick:s},[n.renderSlot(u.$slots,"default")],2),(d=n.unref(o))!=null&&d.separatorIcon?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(n.unref(a).e("separator"))},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(o).separatorIcon)))]),_:1},8,["class"])):(n.openBlock(),n.createElementBlock("span",{key:1,class:n.normalizeClass(n.unref(a).e("separator")),role:"presentation"},n.toDisplayString((f=n.unref(o))==null?void 0:f.separator),3))],2)}}});var nM=me(vQ,[["__file","breadcrumb-item.vue"]]);const yQ=Xe(mQ,{BreadcrumbItem:nM}),MQ=Cn(nM),rM=Symbol("buttonGroupContextKey"),_Q=(e,t)=>{Ka({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},n.computed(()=>e.type==="text"));const r=n.inject(rM,void 0),o=Uc("button"),{form:a}=_r(),i=Kt(n.computed(()=>r==null?void 0:r.size)),l=Xn(),s=n.ref(),u=n.useSlots(),c=n.computed(()=>e.type||(r==null?void 0:r.type)||""),d=n.computed(()=>{var m,g,y;return(y=(g=e.autoInsertSpace)!=null?g:(m=o.value)==null?void 0:m.autoInsertSpace)!=null?y:!1}),f=n.computed(()=>e.tag==="button"?{ariaDisabled:l.value||e.loading,disabled:l.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),p=n.computed(()=>{var m;const g=(m=u.default)==null?void 0:m.call(u);if(d.value&&(g==null?void 0:g.length)===1){const y=g[0];if((y==null?void 0:y.type)===n.Text){const v=y.children;return/^\p{Unified_Ideograph}{2}$/u.test(v.trim())}}return!1});return{_disabled:l,_size:i,_type:c,_ref:s,_props:f,shouldAddSpace:p,handleClick:m=>{if(l.value||e.loading){m.stopPropagation();return}e.nativeType==="reset"&&(a==null||a.resetFields()),t("click",m)}}},bQ=["default","primary","success","warning","info","danger","text",""],NQ=["button","submit","reset"],tp=le({size:wn,disabled:Boolean,type:{type:String,values:bQ,default:""},icon:{type:Ut},nativeType:{type:String,values:NQ,default:"button"},loading:Boolean,loadingIcon:{type:Ut,default:()=>Bc},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:K([String,Object]),default:"button"}}),wQ={click:e=>e instanceof MouseEvent};function Vt(e,t){kQ(e)&&(e="100%");var r=CQ(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Cs(e){return Math.min(1,Math.max(0,e))}function kQ(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function CQ(e){return typeof e=="string"&&e.indexOf("%")!==-1}function oM(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function xs(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ea(e){return e.length===1?"0"+e:String(e)}function xQ(e,t,r){return{r:Vt(e,255)*255,g:Vt(t,255)*255,b:Vt(r,255)*255}}function u1(e,t,r){e=Vt(e,255),t=Vt(t,255),r=Vt(r,255);var o=Math.max(e,t,r),a=Math.min(e,t,r),i=0,l=0,s=(o+a)/2;if(o===a)l=0,i=0;else{var u=o-a;switch(l=s>.5?u/(2-o-a):u/(o+a),o){case e:i=(t-r)/u+(t<r?6:0);break;case t:i=(r-e)/u+2;break;case r:i=(e-t)/u+4;break}i/=6}return{h:i,s:l,l:s}}function Id(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function EQ(e,t,r){var o,a,i;if(e=Vt(e,360),t=Vt(t,100),r=Vt(r,100),t===0)a=r,i=r,o=r;else{var l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;o=Id(s,l,e+1/3),a=Id(s,l,e),i=Id(s,l,e-1/3)}return{r:o*255,g:a*255,b:i*255}}function c1(e,t,r){e=Vt(e,255),t=Vt(t,255),r=Vt(r,255);var o=Math.max(e,t,r),a=Math.min(e,t,r),i=0,l=o,s=o-a,u=o===0?0:s/o;if(o===a)i=0;else{switch(o){case e:i=(t-r)/s+(t<r?6:0);break;case t:i=(r-e)/s+2;break;case r:i=(e-t)/s+4;break}i/=6}return{h:i,s:u,v:l}}function TQ(e,t,r){e=Vt(e,360)*6,t=Vt(t,100),r=Vt(r,100);var o=Math.floor(e),a=e-o,i=r*(1-t),l=r*(1-a*t),s=r*(1-(1-a)*t),u=o%6,c=[r,l,i,i,s,r][u],d=[s,r,r,l,i,i][u],f=[i,i,s,r,r,l][u];return{r:c*255,g:d*255,b:f*255}}function d1(e,t,r,o){var a=[ea(Math.round(e).toString(16)),ea(Math.round(t).toString(16)),ea(Math.round(r).toString(16))];return o&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function DQ(e,t,r,o,a){var i=[ea(Math.round(e).toString(16)),ea(Math.round(t).toString(16)),ea(Math.round(r).toString(16)),ea(SQ(o))];return a&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function SQ(e){return Math.round(parseFloat(e)*255).toString(16)}function f1(e){return hn(e)/255}function hn(e){return parseInt(e,16)}function IQ(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var np={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function AQ(e){var t={r:0,g:0,b:0},r=1,o=null,a=null,i=null,l=!1,s=!1;return typeof e=="string"&&(e=jQ(e)),typeof e=="object"&&(Rr(e.r)&&Rr(e.g)&&Rr(e.b)?(t=xQ(e.r,e.g,e.b),l=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Rr(e.h)&&Rr(e.s)&&Rr(e.v)?(o=xs(e.s),a=xs(e.v),t=TQ(e.h,o,a),l=!0,s="hsv"):Rr(e.h)&&Rr(e.s)&&Rr(e.l)&&(o=xs(e.s),i=xs(e.l),t=EQ(e.h,o,i),l=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=oM(r),{ok:l,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var zQ="[-\\+]?\\d+%?",OQ="[-\\+]?\\d*\\.\\d+%?",_o="(?:".concat(OQ,")|(?:").concat(zQ,")"),Ad="[\\s|\\(]+(".concat(_o,")[,|\\s]+(").concat(_o,")[,|\\s]+(").concat(_o,")\\s*\\)?"),zd="[\\s|\\(]+(".concat(_o,")[,|\\s]+(").concat(_o,")[,|\\s]+(").concat(_o,")[,|\\s]+(").concat(_o,")\\s*\\)?"),or={CSS_UNIT:new RegExp(_o),rgb:new RegExp("rgb"+Ad),rgba:new RegExp("rgba"+zd),hsl:new RegExp("hsl"+Ad),hsla:new RegExp("hsla"+zd),hsv:new RegExp("hsv"+Ad),hsva:new RegExp("hsva"+zd),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function jQ(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(np[e])e=np[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=or.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=or.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=or.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=or.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=or.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=or.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=or.hex8.exec(e),r?{r:hn(r[1]),g:hn(r[2]),b:hn(r[3]),a:f1(r[4]),format:t?"name":"hex8"}:(r=or.hex6.exec(e),r?{r:hn(r[1]),g:hn(r[2]),b:hn(r[3]),format:t?"name":"hex"}:(r=or.hex4.exec(e),r?{r:hn(r[1]+r[1]),g:hn(r[2]+r[2]),b:hn(r[3]+r[3]),a:f1(r[4]+r[4]),format:t?"name":"hex8"}:(r=or.hex3.exec(e),r?{r:hn(r[1]+r[1]),g:hn(r[2]+r[2]),b:hn(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Rr(e){return!!or.CSS_UNIT.exec(String(e))}var LQ=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var o;if(t instanceof e)return t;typeof t=="number"&&(t=IQ(t)),this.originalInput=t;var a=AQ(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=r.format)!==null&&o!==void 0?o:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,o,a,i=t.r/255,l=t.g/255,s=t.b/255;return i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),l<=.03928?o=l/12.92:o=Math.pow((l+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),.2126*r+.7152*o+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=oM(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=c1(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=c1(this.r,this.g,this.b),r=Math.round(t.h*360),o=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(o,"%, ").concat(a,"%)"):"hsva(".concat(r,", ").concat(o,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=u1(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=u1(this.r,this.g,this.b),r=Math.round(t.h*360),o=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(o,"%, ").concat(a,"%)"):"hsla(".concat(r,", ").concat(o,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),d1(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),DQ(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(o,")"):"rgba(".concat(t,", ").concat(r,", ").concat(o,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(Vt(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(Vt(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+d1(this.r,this.g,this.b,!1),r=0,o=Object.entries(np);r<o.length;r++){var a=o[r],i=a[0],l=a[1];if(t===l)return i}return!1},e.prototype.toString=function(t){var r=!!t;t=t??this.format;var o=!1,a=this.a<1&&this.a>=0,i=!r&&a&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(o=this.toRgbString()),t==="prgb"&&(o=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(o=this.toHexString()),t==="hex3"&&(o=this.toHexString(!0)),t==="hex4"&&(o=this.toHex8String(!0)),t==="hex8"&&(o=this.toHex8String()),t==="name"&&(o=this.toName()),t==="hsl"&&(o=this.toHslString()),t==="hsv"&&(o=this.toHsvString()),o||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=Cs(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=Cs(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=Cs(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=Cs(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),o=(r.h+t)%360;return r.h=o<0?360+o:o,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var o=this.toRgb(),a=new e(t).toRgb(),i=r/100,l={r:(a.r-o.r)*i+o.r,g:(a.g-o.g)*i+o.g,b:(a.b-o.b)*i+o.b,a:(a.a-o.a)*i+o.a};return new e(l)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var o=this.toHsl(),a=360/r,i=[this];for(o.h=(o.h-(a*t>>1)+720)%360;--t;)o.h=(o.h+a)%360,i.push(new e(o));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),o=r.h,a=r.s,i=r.v,l=[],s=1/t;t--;)l.push(new e({h:o,s:a,v:i})),i=(i+s)%1;return l},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),o=new e(t).toRgb(),a=r.a+o.a*(1-r.a);return new e({r:(r.r*r.a+o.r*o.a*(1-r.a))/a,g:(r.g*r.a+o.g*o.a*(1-r.a))/a,b:(r.b*r.a+o.b*o.a*(1-r.a))/a,a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),o=r.h,a=[this],i=360/t,l=1;l<t;l++)a.push(new e({h:(o+l*i)%360,s:r.s,l:r.l}));return a},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function ao(e,t=20){return e.mix("#141414",t).toString()}function BQ(e){const t=Xn(),r=ie("button");return n.computed(()=>{let o={},a=e.color;if(a){const i=a.match(/var\((.*?)\)/);i&&(a=window.getComputedStyle(window.document.documentElement).getPropertyValue(i[1]));const l=new LQ(a),s=e.dark?l.tint(20).toString():ao(l,20);if(e.plain)o=r.cssVarBlock({"bg-color":e.dark?ao(l,90):l.tint(90).toString(),"text-color":a,"border-color":e.dark?ao(l,50):l.tint(50).toString(),"hover-text-color":`var(${r.cssVarName("color-white")})`,"hover-bg-color":a,"hover-border-color":a,"active-bg-color":s,"active-text-color":`var(${r.cssVarName("color-white")})`,"active-border-color":s}),t.value&&(o[r.cssVarBlockName("disabled-bg-color")]=e.dark?ao(l,90):l.tint(90).toString(),o[r.cssVarBlockName("disabled-text-color")]=e.dark?ao(l,50):l.tint(50).toString(),o[r.cssVarBlockName("disabled-border-color")]=e.dark?ao(l,80):l.tint(80).toString());else{const u=e.dark?ao(l,30):l.tint(30).toString(),c=l.isDark()?`var(${r.cssVarName("color-white")})`:`var(${r.cssVarName("color-black")})`;if(o=r.cssVarBlock({"bg-color":a,"text-color":c,"border-color":a,"hover-bg-color":u,"hover-text-color":c,"hover-border-color":u,"active-bg-color":s,"active-border-color":s}),t.value){const d=e.dark?ao(l,50):l.tint(50).toString();o[r.cssVarBlockName("disabled-bg-color")]=d,o[r.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${r.cssVarName("color-white")})`,o[r.cssVarBlockName("disabled-border-color")]=d}}}return o})}const VQ=n.defineComponent({name:"ElButton"}),$Q=n.defineComponent({...VQ,props:tp,emits:wQ,setup(e,{expose:t,emit:r}){const o=e,a=BQ(o),i=ie("button"),{_ref:l,_size:s,_type:u,_disabled:c,_props:d,shouldAddSpace:f,handleClick:p}=_Q(o,r),h=n.computed(()=>[i.b(),i.m(u.value),i.m(s.value),i.is("disabled",c.value),i.is("loading",o.loading),i.is("plain",o.plain),i.is("round",o.round),i.is("circle",o.circle),i.is("text",o.text),i.is("link",o.link),i.is("has-bg",o.bg)]);return t({ref:l,size:s,type:u,disabled:c,shouldAddSpace:f}),(m,g)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(m.tag),n.mergeProps({ref_key:"_ref",ref:l},n.unref(d),{class:n.unref(h),style:n.unref(a),onClick:n.unref(p)}),{default:n.withCtx(()=>[m.loading?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[m.$slots.loading?n.renderSlot(m.$slots,"loading",{key:0}):(n.openBlock(),n.createBlock(n.unref(de),{key:1,class:n.normalizeClass(n.unref(i).is("loading"))},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(m.loadingIcon)))]),_:1},8,["class"]))],64)):m.icon||m.$slots.icon?(n.openBlock(),n.createBlock(n.unref(de),{key:1},{default:n.withCtx(()=>[m.icon?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(m.icon),{key:0})):n.renderSlot(m.$slots,"icon",{key:1})]),_:3})):n.createCommentVNode("v-if",!0),m.$slots.default?(n.openBlock(),n.createElementBlock("span",{key:2,class:n.normalizeClass({[n.unref(i).em("text","expand")]:n.unref(f)})},[n.renderSlot(m.$slots,"default")],2)):n.createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var PQ=me($Q,[["__file","button.vue"]]);const RQ={size:tp.size,type:tp.type},FQ=n.defineComponent({name:"ElButtonGroup"}),UQ=n.defineComponent({...FQ,props:RQ,setup(e){const t=e;n.provide(rM,n.reactive({size:n.toRef(t,"size"),type:n.toRef(t,"type")}));const r=ie("button");return(o,a)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(r).b("group"))},[n.renderSlot(o.$slots,"default")],2))}});var aM=me(UQ,[["__file","button-group.vue"]]);const fi=Xe(PQ,{ButtonGroup:aM}),HQ=Cn(aM);var iM={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(wt,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},o=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,l=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,u={},c=function(y){return(y=+y)+(y>68?1900:2e3)},d=function(y){return function(v){this[y]=+v}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(v){if(!v||v==="Z")return 0;var _=v.match(/([+-]|\d\d)/g),b=60*_[1]+(+_[2]||0);return b===0?0:_[0]==="+"?-b:b}(y)}],p=function(y){var v=u[y];return v&&(v.indexOf?v:v.s.concat(v.f))},h=function(y,v){var _,b=u.meridiem;if(b){for(var M=1;M<=24;M+=1)if(y.indexOf(b(M,0,v))>-1){_=M>12;break}}else _=y===(v?"pm":"PM");return _},m={A:[s,function(y){this.afternoon=h(y,!1)}],a:[s,function(y){this.afternoon=h(y,!0)}],Q:[a,function(y){this.month=3*(y-1)+1}],S:[a,function(y){this.milliseconds=100*+y}],SS:[i,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[l,d("seconds")],ss:[l,d("seconds")],m:[l,d("minutes")],mm:[l,d("minutes")],H:[l,d("hours")],h:[l,d("hours")],HH:[l,d("hours")],hh:[l,d("hours")],D:[l,d("day")],DD:[i,d("day")],Do:[s,function(y){var v=u.ordinal,_=y.match(/\d+/);if(this.day=_[0],v)for(var b=1;b<=31;b+=1)v(b).replace(/\[|\]/g,"")===y&&(this.day=b)}],w:[l,d("week")],ww:[i,d("week")],M:[l,d("month")],MM:[i,d("month")],MMM:[s,function(y){var v=p("months"),_=(p("monthsShort")||v.map(function(b){return b.slice(0,3)})).indexOf(y)+1;if(_<1)throw new Error;this.month=_%12||_}],MMMM:[s,function(y){var v=p("months").indexOf(y)+1;if(v<1)throw new Error;this.month=v%12||v}],Y:[/[+-]?\d+/,d("year")],YY:[i,function(y){this.year=c(y)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function g(y){var v,_;v=y,_=u&&u.formats;for(var b=(y=v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(j,P,R){var $=R&&R.toUpperCase();return P||_[R]||r[R]||_[$].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Q,z,C){return z||C.slice(1)})})).match(o),M=b.length,N=0;N<M;N+=1){var w=b[N],x=m[w],T=x&&x[0],O=x&&x[1];b[N]=O?{regex:T,parser:O}:w.replace(/^\[|\]$/g,"")}return function(j){for(var P={},R=0,$=0;R<M;R+=1){var Q=b[R];if(typeof Q=="string")$+=Q.length;else{var z=Q.regex,C=Q.parser,S=j.slice($),I=z.exec(S)[0];C.call(P,I),j=j.replace(I,"")}}return function(k){var E=k.afternoon;if(E!==void 0){var B=k.hours;E?B<12&&(k.hours+=12):B===12&&(k.hours=0),delete k.afternoon}}(P),P}}return function(y,v,_){_.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(c=y.parseTwoDigitYear);var b=v.prototype,M=b.parse;b.parse=function(N){var w=N.date,x=N.utc,T=N.args;this.$u=x;var O=T[1];if(typeof O=="string"){var j=T[2]===!0,P=T[3]===!0,R=j||P,$=T[2];P&&($=T[2]),u=this.$locale(),!j&&$&&(u=_.Ls[$]),this.$d=function(S,I,k,E){try{if(["x","X"].indexOf(I)>-1)return new Date((I==="X"?1e3:1)*S);var B=g(I)(S),V=B.year,F=B.month,q=B.day,Y=B.hours,ee=B.minutes,J=B.seconds,te=B.milliseconds,se=B.zone,ce=B.week,he=new Date,Ee=q||(V||F?1:he.getDate()),Ce=V||he.getFullYear(),Be=0;V&&!F||(Be=F>0?F-1:he.getMonth());var Qe,Ke=Y||0,Ie=ee||0,Ze=J||0,Ne=te||0;return se?new Date(Date.UTC(Ce,Be,Ee,Ke,Ie,Ze,Ne+60*se.offset*1e3)):k?new Date(Date.UTC(Ce,Be,Ee,Ke,Ie,Ze,Ne)):(Qe=new Date(Ce,Be,Ee,Ke,Ie,Ze,Ne),ce&&(Qe=E(Qe).week(ce).toDate()),Qe)}catch{return new Date("")}}(w,O,x,_),this.init(),$&&$!==!0&&(this.$L=this.locale($).$L),R&&w!=this.format(O)&&(this.$d=new Date("")),u={}}else if(O instanceof Array)for(var Q=O.length,z=1;z<=Q;z+=1){T[1]=O[z-1];var C=_.apply(this,T);if(C.isValid()){this.$d=C.$d,this.$L=C.$L,this.init();break}z===Q&&(this.$d=new Date(""))}else M.call(this,N)}}})})(iM);var YQ=iM.exports;const lM=yt(YQ),p1=["hours","minutes","seconds"],m1="HH:mm:ss",Ra="YYYY-MM-DD",QQ={date:Ra,dates:Ra,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${Ra} ${m1}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:Ra,datetimerange:`${Ra} ${m1}`},Od=(e,t)=>[e>0?e-1:void 0,e,e<t?e+1:void 0],sM=e=>Array.from(Array.from({length:e}).keys()),uM=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),cM=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),h1=function(e,t){const r=Jh(e),o=Jh(t);return r&&o?e.getTime()===t.getTime():!r&&!o?e===t:!1},g1=function(e,t){const r=we(e),o=we(t);return r&&o?e.length!==t.length?!1:e.every((a,i)=>h1(a,t[i])):!r&&!o?h1(e,t):!1},v1=function(e,t,r){const o=J3(t)||t==="x"?pe(e).locale(r):pe(e,t).locale(r);return o.isValid()?o:void 0},y1=function(e,t,r){return J3(t)?e:t==="x"?+e:pe(e).locale(r).format(t)},jd=(e,t)=>{var r;const o=[],a=t==null?void 0:t();for(let i=0;i<e;i++)o.push((r=a==null?void 0:a.includes(i))!=null?r:!1);return o},dM=le({disabledHours:{type:K(Function)},disabledMinutes:{type:K(Function)},disabledSeconds:{type:K(Function)}}),qQ=le({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),fM=le({id:{type:K([Array,String])},name:{type:K([Array,String])},popperClass:{type:String,default:""},format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:K([String,Object]),default:ka},editable:{type:Boolean,default:!0},prefixIcon:{type:K([String,Object]),default:""},size:wn,readonly:Boolean,disabled:Boolean,placeholder:{type:String,default:""},popperOptions:{type:K(Object),default:()=>({})},modelValue:{type:K([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:K([Date,Array])},defaultTime:{type:K([Date,Array])},isRange:Boolean,...dM,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:K([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:K(String),values:Ca,default:"bottom"},fallbackPlacements:{type:K(Array),default:["bottom","top","right","left"]},...em,...xn(["ariaLabel"]),showNow:{type:Boolean,default:!0}}),WQ=le({id:{type:K(Array)},name:{type:K(Array)},modelValue:{type:K([Array,String])},startPlaceholder:String,endPlaceholder:String}),GQ=n.defineComponent({name:"PickerRangeTrigger",inheritAttrs:!1}),KQ=n.defineComponent({...GQ,props:WQ,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:r}){const o=U0(),a=ie("date"),i=ie("range"),l=n.ref(),s=n.ref(),{wrapperRef:u,isFocused:c}=Fc(l),d=M=>{r("click",M)},f=M=>{r("mouseenter",M)},p=M=>{r("mouseleave",M)},h=M=>{r("mouseenter",M)},m=M=>{r("startInput",M)},g=M=>{r("endInput",M)},y=M=>{r("startChange",M)},v=M=>{r("endChange",M)};return t({focus:()=>{var M;(M=l.value)==null||M.focus()},blur:()=>{var M,N;(M=l.value)==null||M.blur(),(N=s.value)==null||N.blur()}}),(M,N)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"wrapperRef",ref:u,class:n.normalizeClass([n.unref(a).is("active",n.unref(c)),M.$attrs.class]),style:n.normalizeStyle(M.$attrs.style),onClick:d,onMouseenter:f,onMouseleave:p,onTouchstart:h},[n.renderSlot(M.$slots,"prefix"),n.createElementVNode("input",n.mergeProps(n.unref(o),{id:M.id&&M.id[0],ref_key:"inputRef",ref:l,name:M.name&&M.name[0],placeholder:M.startPlaceholder,value:M.modelValue&&M.modelValue[0],class:n.unref(i).b("input"),onInput:m,onChange:y}),null,16,["id","name","placeholder","value"]),n.renderSlot(M.$slots,"range-separator"),n.createElementVNode("input",n.mergeProps(n.unref(o),{id:M.id&&M.id[1],ref_key:"endInputRef",ref:s,name:M.name&&M.name[1],placeholder:M.endPlaceholder,value:M.modelValue&&M.modelValue[1],class:n.unref(i).b("input"),onInput:g,onChange:v}),null,16,["id","name","placeholder","value"]),n.renderSlot(M.$slots,"suffix")],38))}});var ZQ=me(KQ,[["__file","picker-range-trigger.vue"]]);const JQ=n.defineComponent({name:"Picker"}),XQ=n.defineComponent({...JQ,props:fM,emits:["update:modelValue","change","focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:r}){const o=e,a=n.useAttrs(),{lang:i}=ht(),l=ie("date"),s=ie("input"),u=ie("range"),{form:c,formItem:d}=_r(),f=n.inject("ElPopperOptions",{}),{valueOnClear:p}=Ry(o,null),h=n.ref(),m=n.ref(),g=n.ref(!1),y=n.ref(!1),v=n.ref(null);let _=!1;const{isFocused:b,handleFocus:M,handleBlur:N}=Fc(m,{beforeFocus(){return!o.editable||o.readonly||k.value},afterFocus(){g.value=!0},beforeBlur(A){var X;return!_&&((X=h.value)==null?void 0:X.isFocusInsideContent(A))},afterBlur(){Se(),g.value=!1,_=!1,o.validateEvent&&(d==null||d.validate("blur").catch(A=>Ye(A)))}}),w=n.computed(()=>[l.b("editor"),l.bm("editor",o.type),s.e("wrapper"),l.is("disabled",k.value),l.is("active",g.value),u.b("editor"),Ke?u.bm("editor",Ke.value):"",a.class]),x=n.computed(()=>[s.e("icon"),u.e("close-icon"),te.value?"":u.e("close-icon--hidden")]);n.watch(g,A=>{A?n.nextTick(()=>{A&&(v.value=o.modelValue)}):(Ne.value=null,n.nextTick(()=>{T(o.modelValue)}))});const T=(A,X)=>{(X||!g1(A,v.value))&&(r("change",A),o.validateEvent&&(d==null||d.validate("change").catch(ue=>Ye(ue))))},O=A=>{if(!g1(o.modelValue,A)){let X;we(A)?X=A.map(ue=>y1(ue,o.valueFormat,i.value)):A&&(X=y1(A,o.valueFormat,i.value)),r("update:modelValue",A&&X,i.value)}},j=A=>{r("keydown",A)},P=n.computed(()=>m.value?Array.from(m.value.$el.querySelectorAll("input")):[]),R=(A,X,ue)=>{const De=P.value;De.length&&(!ue||ue==="min"?(De[0].setSelectionRange(A,X),De[0].focus()):ue==="max"&&(De[1].setSelectionRange(A,X),De[1].focus()))},$=(A="",X=!1)=>{g.value=X;let ue;we(A)?ue=A.map(De=>De.toDate()):ue=A&&A.toDate(),Ne.value=null,O(ue)},Q=()=>{y.value=!0},z=()=>{r("visible-change",!0)},C=()=>{y.value=!1,g.value=!1,r("visible-change",!1)},S=()=>{g.value=!0},I=()=>{g.value=!1},k=n.computed(()=>o.disabled||(c==null?void 0:c.disabled)),E=n.computed(()=>{let A;if(ce.value?Pe.value.getDefaultValue&&(A=Pe.value.getDefaultValue()):we(o.modelValue)?A=o.modelValue.map(X=>v1(X,o.valueFormat,i.value)):A=v1(o.modelValue,o.valueFormat,i.value),Pe.value.getRangeAvailableTime){const X=Pe.value.getRangeAvailableTime(A);oa(X,A)||(A=X,ce.value||O(we(A)?A.map(ue=>ue.toDate()):A.toDate()))}return we(A)&&A.some(X=>!X)&&(A=[]),A}),B=n.computed(()=>{if(!Pe.value.panelReady)return"";const A=dt(E.value);return we(Ne.value)?[Ne.value[0]||A&&A[0]||"",Ne.value[1]||A&&A[1]||""]:Ne.value!==null?Ne.value:!F.value&&ce.value||!g.value&&ce.value?"":A?q.value||Y.value||ee.value?A.join(", "):A:""}),V=n.computed(()=>o.type.includes("time")),F=n.computed(()=>o.type.startsWith("time")),q=n.computed(()=>o.type==="dates"),Y=n.computed(()=>o.type==="months"),ee=n.computed(()=>o.type==="years"),J=n.computed(()=>o.prefixIcon||(V.value?B0:ty)),te=n.ref(!1),se=A=>{o.readonly||k.value||(te.value&&(A.stopPropagation(),Pe.value.handleClear?Pe.value.handleClear():O(p.value),T(p.value,!0),te.value=!1,C()),r("clear"))},ce=n.computed(()=>{const{modelValue:A}=o;return!A||we(A)&&!A.filter(Boolean).length}),he=async A=>{var X;o.readonly||k.value||(((X=A.target)==null?void 0:X.tagName)!=="INPUT"||b.value)&&(g.value=!0)},Ee=()=>{o.readonly||k.value||!ce.value&&o.clearable&&(te.value=!0)},Ce=()=>{te.value=!1},Be=A=>{var X;o.readonly||k.value||(((X=A.touches[0].target)==null?void 0:X.tagName)!=="INPUT"||b.value)&&(g.value=!0)},Qe=n.computed(()=>o.type.includes("range")),Ke=Kt(),Ie=n.computed(()=>{var A,X;return(X=(A=n.unref(h))==null?void 0:A.popperRef)==null?void 0:X.contentRef}),Ze=_3(m,A=>{const X=n.unref(Ie),ue=Tr(m);X&&(A.target===X||A.composedPath().includes(X))||A.target===ue||ue&&A.composedPath().includes(ue)||(g.value=!1)});n.onBeforeUnmount(()=>{Ze==null||Ze()});const Ne=n.ref(null),Se=()=>{if(Ne.value){const A=$e(B.value);A&&xe(A)&&(O(we(A)?A.map(X=>X.toDate()):A.toDate()),Ne.value=null)}Ne.value===""&&(O(p.value),T(p.value),Ne.value=null)},$e=A=>A?Pe.value.parseUserInput(A):null,dt=A=>A?Pe.value.formatToString(A):null,xe=A=>Pe.value.isValidValue(A),D=async A=>{if(o.readonly||k.value)return;const{code:X}=A;if(j(A),X===be.esc){g.value===!0&&(g.value=!1,A.preventDefault(),A.stopPropagation());return}if(X===be.down&&(Pe.value.handleFocusPicker&&(A.preventDefault(),A.stopPropagation()),g.value===!1&&(g.value=!0,await n.nextTick()),Pe.value.handleFocusPicker)){Pe.value.handleFocusPicker();return}if(X===be.tab){_=!0;return}if(X===be.enter||X===be.numpadEnter){(Ne.value===null||Ne.value===""||xe($e(B.value)))&&(Se(),g.value=!1),A.stopPropagation();return}if(Ne.value){A.stopPropagation();return}Pe.value.handleKeydownInput&&Pe.value.handleKeydownInput(A)},U=A=>{Ne.value=A,g.value||(g.value=!0)},ke=A=>{const X=A.target;Ne.value?Ne.value=[X.value,Ne.value[1]]:Ne.value=[X.value,null]},tt=A=>{const X=A.target;Ne.value?Ne.value=[Ne.value[0],X.value]:Ne.value=[null,X.value]},qe=()=>{var A;const X=Ne.value,ue=$e(X&&X[0]),De=n.unref(E);if(ue&&ue.isValid()){Ne.value=[dt(ue),((A=B.value)==null?void 0:A[1])||null];const ft=[ue,De&&(De[1]||null)];xe(ft)&&(O(ft),Ne.value=null)}},At=()=>{var A;const X=n.unref(Ne),ue=$e(X&&X[1]),De=n.unref(E);if(ue&&ue.isValid()){Ne.value=[((A=n.unref(B))==null?void 0:A[0])||null,dt(ue)];const ft=[De&&De[0],ue];xe(ft)&&(O(ft),Ne.value=null)}},Pe=n.ref({}),Qt=A=>{Pe.value[A[0]]=A[1],Pe.value.panelReady=!0},G=A=>{r("calendar-change",A)},ve=(A,X,ue)=>{r("panel-change",A,X,ue)},L=()=>{var A;(A=m.value)==null||A.focus()},Z=()=>{var A;(A=m.value)==null||A.blur()};return n.provide("EP_PICKER_BASE",{props:o}),t({focus:L,blur:Z,handleOpen:S,handleClose:I,onPick:$}),(A,X)=>(n.openBlock(),n.createBlock(n.unref(Ai),n.mergeProps({ref_key:"refPopper",ref:h,visible:g.value,effect:"light",pure:"",trigger:"click"},A.$attrs,{role:"dialog",teleported:"",transition:`${n.unref(l).namespace.value}-zoom-in-top`,"popper-class":[`${n.unref(l).namespace.value}-picker__popper`,A.popperClass],"popper-options":n.unref(f),"fallback-placements":A.fallbackPlacements,"gpu-acceleration":!1,placement:A.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:Q,onShow:z,onHide:C}),{default:n.withCtx(()=>[n.unref(Qe)?(n.openBlock(),n.createBlock(ZQ,{key:1,id:A.id,ref_key:"inputRef",ref:m,"model-value":n.unref(B),name:A.name,disabled:n.unref(k),readonly:!A.editable||A.readonly,"start-placeholder":A.startPlaceholder,"end-placeholder":A.endPlaceholder,class:n.normalizeClass(n.unref(w)),style:n.normalizeStyle(A.$attrs.style),"aria-label":A.ariaLabel,tabindex:A.tabindex,autocomplete:"off",role:"combobox",onClick:he,onFocus:n.unref(M),onBlur:n.unref(N),onStartInput:ke,onStartChange:qe,onEndInput:tt,onEndChange:At,onMousedown:he,onMouseenter:Ee,onMouseleave:Ce,onTouchstartPassive:Be,onKeydown:D},{prefix:n.withCtx(()=>[n.unref(J)?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass([n.unref(s).e("icon"),n.unref(u).e("icon")])},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(J))))]),_:1},8,["class"])):n.createCommentVNode("v-if",!0)]),"range-separator":n.withCtx(()=>[n.renderSlot(A.$slots,"range-separator",{},()=>[n.createElementVNode("span",{class:n.normalizeClass(n.unref(u).b("separator"))},n.toDisplayString(A.rangeSeparator),3)])]),suffix:n.withCtx(()=>[A.clearIcon?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(n.unref(x)),onMousedown:n.withModifiers(n.unref(lt),["prevent"]),onClick:se},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(A.clearIcon)))]),_:1},8,["class","onMousedown"])):n.createCommentVNode("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(n.openBlock(),n.createBlock(n.unref(Dr),{key:0,id:A.id,ref_key:"inputRef",ref:m,"container-role":"combobox","model-value":n.unref(B),name:A.name,size:n.unref(Ke),disabled:n.unref(k),placeholder:A.placeholder,class:n.normalizeClass([n.unref(l).b("editor"),n.unref(l).bm("editor",A.type),A.$attrs.class]),style:n.normalizeStyle(A.$attrs.style),readonly:!A.editable||A.readonly||n.unref(q)||n.unref(Y)||n.unref(ee)||A.type==="week","aria-label":A.ariaLabel,tabindex:A.tabindex,"validate-event":!1,onInput:U,onFocus:n.unref(M),onBlur:n.unref(N),onKeydown:D,onChange:Se,onMousedown:he,onMouseenter:Ee,onMouseleave:Ce,onTouchstartPassive:Be,onClick:n.withModifiers(()=>{},["stop"])},{prefix:n.withCtx(()=>[n.unref(J)?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(n.unref(s).e("icon")),onMousedown:n.withModifiers(he,["prevent"]),onTouchstartPassive:Be},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(J))))]),_:1},8,["class","onMousedown"])):n.createCommentVNode("v-if",!0)]),suffix:n.withCtx(()=>[te.value&&A.clearIcon?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(`${n.unref(s).e("icon")} clear-icon`),onMousedown:n.withModifiers(n.unref(lt),["prevent"]),onClick:se},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(A.clearIcon)))]),_:1},8,["class","onMousedown"])):n.createCommentVNode("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur","onClick"]))]),content:n.withCtx(()=>[n.renderSlot(A.$slots,"default",{visible:g.value,actualVisible:y.value,parsedValue:n.unref(E),format:A.format,dateFormat:A.dateFormat,timeFormat:A.timeFormat,unlinkPanels:A.unlinkPanels,type:A.type,defaultValue:A.defaultValue,showNow:A.showNow,onPick:$,onSelectRange:R,onSetPickerOption:Qt,onCalendarChange:G,onPanelChange:ve,onMousedown:n.withModifiers(()=>{},["stop"])})]),_:3},16,["visible","transition","popper-class","popper-options","fallback-placements","placement"]))}});var eq=me(XQ,[["__file","picker.vue"]]);const tq=le({...qQ,datetimeRole:String,parsedValue:{type:K(Object)}}),nq=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:r})=>{const o=(l,s,u,c)=>{const d={hour:e,minute:t,second:r};let f=l;return["hour","minute","second"].forEach(p=>{if(d[p]){let h;const m=d[p];switch(p){case"minute":{h=m(f.hour(),s,c);break}case"second":{h=m(f.hour(),f.minute(),s,c);break}default:{h=m(s,c);break}}if(h!=null&&h.length&&!h.includes(f[p]())){const g=u?0:h.length-1;f=f[p](h[g])}}}),f},a={};return{timePickerOptions:a,getAvailableTime:o,onSetOption:([l,s])=>{a[l]=s}}},Ld=e=>{const t=(o,a)=>o||a,r=o=>o!==!0;return e.map(t).filter(r)},pM=(e,t,r)=>({getHoursList:(l,s)=>jd(24,e&&(()=>e==null?void 0:e(l,s))),getMinutesList:(l,s,u)=>jd(60,t&&(()=>t==null?void 0:t(l,s,u))),getSecondsList:(l,s,u,c)=>jd(60,r&&(()=>r==null?void 0:r(l,s,u,c)))}),rq=(e,t,r)=>{const{getHoursList:o,getMinutesList:a,getSecondsList:i}=pM(e,t,r);return{getAvailableHours:(c,d)=>Ld(o(c,d)),getAvailableMinutes:(c,d,f)=>Ld(a(c,d,f)),getAvailableSeconds:(c,d,f,p)=>Ld(i(c,d,f,p))}},oq=e=>{const t=n.ref(e.parsedValue);return n.watch(()=>e.visible,r=>{r||(t.value=e.parsedValue)}),t},so=new Map;if(We){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const r of so.values())for(const{documentHandler:o}of r)o(t,e);e=void 0}})}function M1(e,t){let r=[];return we(t.arg)?r=t.arg:ko(t.arg)&&r.push(t.arg),function(o,a){const i=t.instance.popperRef,l=o.target,s=a==null?void 0:a.target,u=!t||!t.instance,c=!l||!s,d=e.contains(l)||e.contains(s),f=e===l,p=r.length&&r.some(m=>m==null?void 0:m.contains(l))||r.length&&r.includes(s),h=i&&(i.contains(l)||i.contains(s));u||c||d||f||p||h||t.value(o,a)}}const bu={beforeMount(e,t){so.has(e)||so.set(e,[]),so.get(e).push({documentHandler:M1(e,t),bindingFn:t.value})},updated(e,t){so.has(e)||so.set(e,[]);const r=so.get(e),o=r.findIndex(i=>i.bindingFn===t.oldValue),a={documentHandler:M1(e,t),bindingFn:t.value};o>=0?r.splice(o,1,a):r.push(a)},unmounted(e){so.delete(e)}},aq=100,iq=600,Nu={beforeMount(e,t){const r=t.value,{interval:o=aq,delay:a=iq}=rt(r)?{}:r;let i,l;const s=()=>rt(r)?r():r.handler(),u=()=>{l&&(clearTimeout(l),l=void 0),i&&(clearInterval(i),i=void 0)};e.addEventListener("mousedown",c=>{c.button===0&&(u(),s(),document.addEventListener("mouseup",()=>u(),{once:!0}),l=setTimeout(()=>{i=setInterval(()=>{s()},o)},a))})}},lq=le({role:{type:String,required:!0},spinnerDate:{type:K(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:K(String),default:""},...dM}),sq=n.defineComponent({__name:"basic-time-spinner",props:lq,emits:["change","select-range","set-option"],setup(e,{emit:t}){const r=e,o=ie("time"),{getHoursList:a,getMinutesList:i,getSecondsList:l}=pM(r.disabledHours,r.disabledMinutes,r.disabledSeconds);let s=!1;const u=n.ref(),c=n.ref(),d=n.ref(),f=n.ref(),p={hours:c,minutes:d,seconds:f},h=n.computed(()=>r.showSeconds?p1:p1.slice(0,2)),m=n.computed(()=>{const{spinnerDate:k}=r,E=k.hour(),B=k.minute(),V=k.second();return{hours:E,minutes:B,seconds:V}}),g=n.computed(()=>{const{hours:k,minutes:E}=n.unref(m);return{hours:a(r.role),minutes:i(k,r.role),seconds:l(k,E,r.role)}}),y=n.computed(()=>{const{hours:k,minutes:E,seconds:B}=n.unref(m);return{hours:Od(k,23),minutes:Od(E,59),seconds:Od(B,59)}}),v=Nl(k=>{s=!1,M(k)},200),_=k=>{if(!!!r.amPmMode)return"";const B=r.amPmMode==="A";let V=k<12?" am":" pm";return B&&(V=V.toUpperCase()),V},b=k=>{let E;switch(k){case"hours":E=[0,2];break;case"minutes":E=[3,5];break;case"seconds":E=[6,8];break}const[B,V]=E;t("select-range",B,V),u.value=k},M=k=>{x(k,n.unref(m)[k])},N=()=>{M("hours"),M("minutes"),M("seconds")},w=k=>k.querySelector(`.${o.namespace.value}-scrollbar__wrap`),x=(k,E)=>{if(r.arrowControl)return;const B=n.unref(p[k]);B&&B.$el&&(w(B.$el).scrollTop=Math.max(0,E*T(k)))},T=k=>{const E=n.unref(p[k]),B=E==null?void 0:E.$el.querySelector("li");return B&&Number.parseFloat(go(B,"height"))||0},O=()=>{P(1)},j=()=>{P(-1)},P=k=>{u.value||b("hours");const E=u.value,B=n.unref(m)[E],V=u.value==="hours"?24:60,F=R(E,B,k,V);$(E,F),x(E,F),n.nextTick(()=>b(E))},R=(k,E,B,V)=>{let F=(E+B+V)%V;const q=n.unref(g)[k];for(;q[F]&&F!==E;)F=(F+B+V)%V;return F},$=(k,E)=>{if(n.unref(g)[k][E])return;const{hours:F,minutes:q,seconds:Y}=n.unref(m);let ee;switch(k){case"hours":ee=r.spinnerDate.hour(E).minute(q).second(Y);break;case"minutes":ee=r.spinnerDate.hour(F).minute(E).second(Y);break;case"seconds":ee=r.spinnerDate.hour(F).minute(q).second(E);break}t("change",ee)},Q=(k,{value:E,disabled:B})=>{B||($(k,E),b(k),x(k,E))},z=k=>{const E=n.unref(p[k]);if(!E)return;s=!0,v(k);const B=Math.min(Math.round((w(E.$el).scrollTop-(C(k)*.5-10)/T(k)+3)/T(k)),k==="hours"?23:59);$(k,B)},C=k=>n.unref(p[k]).$el.offsetHeight,S=()=>{const k=E=>{const B=n.unref(p[E]);B&&B.$el&&(w(B.$el).onscroll=()=>{z(E)})};k("hours"),k("minutes"),k("seconds")};n.onMounted(()=>{n.nextTick(()=>{!r.arrowControl&&S(),N(),r.role==="start"&&b("hours")})});const I=(k,E)=>{p[E].value=k??void 0};return t("set-option",[`${r.role}_scrollDown`,P]),t("set-option",[`${r.role}_emitSelectRange`,b]),n.watch(()=>r.spinnerDate,()=>{s||N()}),(k,E)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([n.unref(o).b("spinner"),{"has-seconds":k.showSeconds}])},[k.arrowControl?n.createCommentVNode("v-if",!0):(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:0},n.renderList(n.unref(h),B=>(n.openBlock(),n.createBlock(n.unref(nm),{key:B,ref_for:!0,ref:V=>I(V,B),class:n.normalizeClass(n.unref(o).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":n.unref(o).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:V=>b(B),onMousemove:V=>M(B)},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(g)[B],(V,F)=>(n.openBlock(),n.createElementBlock("li",{key:F,class:n.normalizeClass([n.unref(o).be("spinner","item"),n.unref(o).is("active",F===n.unref(m)[B]),n.unref(o).is("disabled",V)]),onClick:q=>Q(B,{value:F,disabled:V})},[B==="hours"?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(("0"+(k.amPmMode?F%12||12:F)).slice(-2))+n.toDisplayString(_(F)),1)],64)):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createTextVNode(n.toDisplayString(("0"+F).slice(-2)),1)],64))],10,["onClick"]))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),k.arrowControl?(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:1},n.renderList(n.unref(h),B=>(n.openBlock(),n.createElementBlock("div",{key:B,class:n.normalizeClass([n.unref(o).be("spinner","wrapper"),n.unref(o).is("arrow")]),onMouseenter:V=>b(B)},[n.withDirectives((n.openBlock(),n.createBlock(n.unref(de),{class:n.normalizeClass(["arrow-up",n.unref(o).be("spinner","arrow")])},{default:n.withCtx(()=>[n.createVNode(n.unref(O0))]),_:1},8,["class"])),[[n.unref(Nu),j]]),n.withDirectives((n.openBlock(),n.createBlock(n.unref(de),{class:n.normalizeClass(["arrow-down",n.unref(o).be("spinner","arrow")])},{default:n.withCtx(()=>[n.createVNode(n.unref(Xl))]),_:1},8,["class"])),[[n.unref(Nu),O]]),n.createElementVNode("ul",{class:n.normalizeClass(n.unref(o).be("spinner","list"))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(y)[B],(V,F)=>(n.openBlock(),n.createElementBlock("li",{key:F,class:n.normalizeClass([n.unref(o).be("spinner","item"),n.unref(o).is("active",V===n.unref(m)[B]),n.unref(o).is("disabled",n.unref(g)[B][V])])},[n.unref(Ae)(V)?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[B==="hours"?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(("0"+(k.amPmMode?V%12||12:V)).slice(-2))+n.toDisplayString(_(V)),1)],64)):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createTextVNode(n.toDisplayString(("0"+V).slice(-2)),1)],64))],64)):n.createCommentVNode("v-if",!0)],2))),128))],2)],42,["onMouseenter"]))),128)):n.createCommentVNode("v-if",!0)],2))}});var uq=me(sq,[["__file","basic-time-spinner.vue"]]);const cq=n.defineComponent({__name:"panel-time-pick",props:tq,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const r=e,o=n.inject("EP_PICKER_BASE"),{arrowControl:a,disabledHours:i,disabledMinutes:l,disabledSeconds:s,defaultValue:u}=o.props,{getAvailableHours:c,getAvailableMinutes:d,getAvailableSeconds:f}=rq(i,l,s),p=ie("time"),{t:h,lang:m}=ht(),g=n.ref([0,2]),y=oq(r),v=n.computed(()=>Wt(r.actualVisible)?`${p.namespace.value}-zoom-in-top`:""),_=n.computed(()=>r.format.includes("ss")),b=n.computed(()=>r.format.includes("A")?"A":r.format.includes("a")?"a":""),M=I=>{const k=pe(I).locale(m.value),E=Q(k);return k.isSame(E)},N=()=>{t("pick",y.value,!1)},w=(I=!1,k=!1)=>{k||t("pick",r.parsedValue,I)},x=I=>{if(!r.visible)return;const k=Q(I).millisecond(0);t("pick",k,!0)},T=(I,k)=>{t("select-range",I,k),g.value=[I,k]},O=I=>{const k=[0,3].concat(_.value?[6]:[]),E=["hours","minutes"].concat(_.value?["seconds"]:[]),V=(k.indexOf(g.value[0])+I+k.length)%k.length;P.start_emitSelectRange(E[V])},j=I=>{const k=I.code,{left:E,right:B,up:V,down:F}=be;if([E,B].includes(k)){O(k===E?-1:1),I.preventDefault();return}if([V,F].includes(k)){const q=k===V?-1:1;P.start_scrollDown(q),I.preventDefault();return}},{timePickerOptions:P,onSetOption:R,getAvailableTime:$}=nq({getAvailableHours:c,getAvailableMinutes:d,getAvailableSeconds:f}),Q=I=>$(I,r.datetimeRole||"",!0),z=I=>I?pe(I,r.format).locale(m.value):null,C=I=>I?I.format(r.format):null,S=()=>pe(u).locale(m.value);return t("set-picker-option",["isValidValue",M]),t("set-picker-option",["formatToString",C]),t("set-picker-option",["parseUserInput",z]),t("set-picker-option",["handleKeydownInput",j]),t("set-picker-option",["getRangeAvailableTime",Q]),t("set-picker-option",["getDefaultValue",S]),(I,k)=>(n.openBlock(),n.createBlock(n.Transition,{name:n.unref(v)},{default:n.withCtx(()=>[I.actualVisible||I.visible?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(p).b("panel"))},[n.createElementVNode("div",{class:n.normalizeClass([n.unref(p).be("panel","content"),{"has-seconds":n.unref(_)}])},[n.createVNode(uq,{ref:"spinner",role:I.datetimeRole||"start","arrow-control":n.unref(a),"show-seconds":n.unref(_),"am-pm-mode":n.unref(b),"spinner-date":I.parsedValue,"disabled-hours":n.unref(i),"disabled-minutes":n.unref(l),"disabled-seconds":n.unref(s),onChange:x,onSetOption:n.unref(R),onSelectRange:T},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),n.createElementVNode("div",{class:n.normalizeClass(n.unref(p).be("panel","footer"))},[n.createElementVNode("button",{type:"button",class:n.normalizeClass([n.unref(p).be("panel","btn"),"cancel"]),onClick:N},n.toDisplayString(n.unref(h)("el.datepicker.cancel")),3),n.createElementVNode("button",{type:"button",class:n.normalizeClass([n.unref(p).be("panel","btn"),"confirm"]),onClick:E=>w()},n.toDisplayString(n.unref(h)("el.datepicker.confirm")),11,["onClick"])],2)],2)):n.createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var rp=me(cq,[["__file","panel-time-pick.vue"]]),mM={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(wt,function(){return function(r,o,a){var i=o.prototype,l=function(f){return f&&(f.indexOf?f:f.s)},s=function(f,p,h,m,g){var y=f.name?f:f.$locale(),v=l(y[p]),_=l(y[h]),b=v||_.map(function(N){return N.slice(0,m)});if(!g)return b;var M=y.weekStart;return b.map(function(N,w){return b[(w+(M||0))%7]})},u=function(){return a.Ls[a.locale()]},c=function(f,p){return f.formats[p]||function(h){return h.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(m,g,y){return g||y.slice(1)})}(f.formats[p.toUpperCase()])},d=function(){var f=this;return{months:function(p){return p?p.format("MMMM"):s(f,"months")},monthsShort:function(p){return p?p.format("MMM"):s(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(p){return p?p.format("dddd"):s(f,"weekdays")},weekdaysMin:function(p){return p?p.format("dd"):s(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(p){return p?p.format("ddd"):s(f,"weekdaysShort","weekdays",3)},longDateFormat:function(p){return c(f.$locale(),p)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return d.bind(this)()},a.localeData=function(){var f=u();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(p){return c(f,p)},meridiem:f.meridiem,ordinal:f.ordinal}},a.months=function(){return s(u(),"months")},a.monthsShort=function(){return s(u(),"monthsShort","months",3)},a.weekdays=function(f){return s(u(),"weekdays",null,null,f)},a.weekdaysShort=function(f){return s(u(),"weekdaysShort","weekdays",3,f)},a.weekdaysMin=function(f){return s(u(),"weekdaysMin","weekdays",2,f)}}})})(mM);var dq=mM.exports;const fq=yt(dq),hM={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:wn,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...xn(["ariaControls"])},gM={[je]:e=>Je(e)||Ae(e)||Gt(e),change:e=>Je(e)||Ae(e)||Gt(e)},zi=Symbol("checkboxGroupContextKey"),pq=({model:e,isChecked:t})=>{const r=n.inject(zi,void 0),o=n.computed(()=>{var i,l;const s=(i=r==null?void 0:r.max)==null?void 0:i.value,u=(l=r==null?void 0:r.min)==null?void 0:l.value;return!Wt(s)&&e.value.length>=s&&!t.value||!Wt(u)&&e.value.length<=u&&t.value});return{isDisabled:Xn(n.computed(()=>(r==null?void 0:r.disabled.value)||o.value)),isLimitDisabled:o}},mq=(e,{model:t,isLimitExceeded:r,hasOwnLabel:o,isDisabled:a,isLabeledByFormItem:i})=>{const l=n.inject(zi,void 0),{formItem:s}=_r(),{emit:u}=n.getCurrentInstance();function c(m){var g,y,v,_;return[!0,e.trueValue,e.trueLabel].includes(m)?(y=(g=e.trueValue)!=null?g:e.trueLabel)!=null?y:!0:(_=(v=e.falseValue)!=null?v:e.falseLabel)!=null?_:!1}function d(m,g){u("change",c(m),g)}function f(m){if(r.value)return;const g=m.target;u("change",c(g.checked),m)}async function p(m){r.value||!o.value&&!a.value&&i.value&&(m.composedPath().some(v=>v.tagName==="LABEL")||(t.value=c([!1,e.falseValue,e.falseLabel].includes(t.value)),await n.nextTick(),d(t.value,m)))}const h=n.computed(()=>(l==null?void 0:l.validateEvent)||e.validateEvent);return n.watch(()=>e.modelValue,()=>{h.value&&(s==null||s.validate("change").catch(m=>Ye(m)))}),{handleChange:f,onClickRoot:p}},hq=e=>{const t=n.ref(!1),{emit:r}=n.getCurrentInstance(),o=n.inject(zi,void 0),a=n.computed(()=>Wt(o)===!1),i=n.ref(!1),l=n.computed({get(){var s,u;return a.value?(s=o==null?void 0:o.modelValue)==null?void 0:s.value:(u=e.modelValue)!=null?u:t.value},set(s){var u,c;a.value&&we(s)?(i.value=((u=o==null?void 0:o.max)==null?void 0:u.value)!==void 0&&s.length>(o==null?void 0:o.max.value)&&s.length>l.value.length,i.value===!1&&((c=o==null?void 0:o.changeEvent)==null||c.call(o,s))):(r(je,s),t.value=s)}});return{model:l,isGroup:a,isLimitExceeded:i}},gq=(e,t,{model:r})=>{const o=n.inject(zi,void 0),a=n.ref(!1),i=n.computed(()=>kl(e.value)?e.label:e.value),l=n.computed(()=>{const d=r.value;return Gt(d)?d:we(d)?kt(i.value)?d.map(n.toRaw).some(f=>oa(f,i.value)):d.map(n.toRaw).includes(i.value):d!=null?d===e.trueValue||d===e.trueLabel:!!d}),s=Kt(n.computed(()=>{var d;return(d=o==null?void 0:o.size)==null?void 0:d.value}),{prop:!0}),u=Kt(n.computed(()=>{var d;return(d=o==null?void 0:o.size)==null?void 0:d.value})),c=n.computed(()=>!!t.default||!kl(i.value));return{checkboxButtonSize:s,isChecked:l,isFocused:a,checkboxSize:u,hasOwnLabel:c,actualValue:i}},vM=(e,t)=>{const{formItem:r}=_r(),{model:o,isGroup:a,isLimitExceeded:i}=hq(e),{isFocused:l,isChecked:s,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,actualValue:f}=gq(e,t,{model:o}),{isDisabled:p}=pq({model:o,isChecked:s}),{inputId:h,isLabeledByFormItem:m}=Vo(e,{formItemContext:r,disableIdGeneration:d,disableIdManagement:a}),{handleChange:g,onClickRoot:y}=mq(e,{model:o,isLimitExceeded:i,hasOwnLabel:d,isDisabled:p,isLabeledByFormItem:m});return(()=>{function _(){var b,M;we(o.value)&&!o.value.includes(f.value)?o.value.push(f.value):o.value=(M=(b=e.trueValue)!=null?b:e.trueLabel)!=null?M:!0}e.checked&&_()})(),Ka({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},n.computed(()=>a.value&&kl(e.value))),Ka({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},n.computed(()=>!!e.trueLabel)),Ka({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},n.computed(()=>!!e.falseLabel)),{inputId:h,isLabeledByFormItem:m,isChecked:s,isDisabled:p,isFocused:l,checkboxButtonSize:u,checkboxSize:c,hasOwnLabel:d,model:o,actualValue:f,handleChange:g,onClickRoot:y}},vq=n.defineComponent({name:"ElCheckbox"}),yq=n.defineComponent({...vq,props:hM,emits:gM,setup(e){const t=e,r=n.useSlots(),{inputId:o,isLabeledByFormItem:a,isChecked:i,isDisabled:l,isFocused:s,checkboxSize:u,hasOwnLabel:c,model:d,actualValue:f,handleChange:p,onClickRoot:h}=vM(t,r),m=ie("checkbox"),g=n.computed(()=>[m.b(),m.m(u.value),m.is("disabled",l.value),m.is("bordered",t.border),m.is("checked",i.value)]),y=n.computed(()=>[m.e("input"),m.is("disabled",l.value),m.is("checked",i.value),m.is("indeterminate",t.indeterminate),m.is("focus",s.value)]);return(v,_)=>(n.openBlock(),n.createBlock(n.resolveDynamicComponent(!n.unref(c)&&n.unref(a)?"span":"label"),{class:n.normalizeClass(n.unref(g)),"aria-controls":v.indeterminate?v.ariaControls:null,onClick:n.unref(h)},{default:n.withCtx(()=>{var b,M,N,w;return[n.createElementVNode("span",{class:n.normalizeClass(n.unref(y))},[v.trueValue||v.falseValue||v.trueLabel||v.falseLabel?n.withDirectives((n.openBlock(),n.createElementBlock("input",{key:0,id:n.unref(o),"onUpdate:modelValue":x=>n.isRef(d)?d.value=x:null,class:n.normalizeClass(n.unref(m).e("original")),type:"checkbox",indeterminate:v.indeterminate,name:v.name,tabindex:v.tabindex,disabled:n.unref(l),"true-value":(M=(b=v.trueValue)!=null?b:v.trueLabel)!=null?M:!0,"false-value":(w=(N=v.falseValue)!=null?N:v.falseLabel)!=null?w:!1,onChange:n.unref(p),onFocus:x=>s.value=!0,onBlur:x=>s.value=!1,onClick:n.withModifiers(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[n.vModelCheckbox,n.unref(d)]]):n.withDirectives((n.openBlock(),n.createElementBlock("input",{key:1,id:n.unref(o),"onUpdate:modelValue":x=>n.isRef(d)?d.value=x:null,class:n.normalizeClass(n.unref(m).e("original")),type:"checkbox",indeterminate:v.indeterminate,disabled:n.unref(l),value:n.unref(f),name:v.name,tabindex:v.tabindex,onChange:n.unref(p),onFocus:x=>s.value=!0,onBlur:x=>s.value=!1,onClick:n.withModifiers(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[n.vModelCheckbox,n.unref(d)]]),n.createElementVNode("span",{class:n.normalizeClass(n.unref(m).e("inner"))},null,2)],2),n.unref(c)?(n.openBlock(),n.createElementBlock("span",{key:0,class:n.normalizeClass(n.unref(m).e("label"))},[n.renderSlot(v.$slots,"default"),v.$slots.default?n.createCommentVNode("v-if",!0):(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createTextVNode(n.toDisplayString(v.label),1)],64))],2)):n.createCommentVNode("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var Mq=me(yq,[["__file","checkbox.vue"]]);const _q=n.defineComponent({name:"ElCheckboxButton"}),bq=n.defineComponent({..._q,props:hM,emits:gM,setup(e){const t=e,r=n.useSlots(),{isFocused:o,isChecked:a,isDisabled:i,checkboxButtonSize:l,model:s,actualValue:u,handleChange:c}=vM(t,r),d=n.inject(zi,void 0),f=ie("checkbox"),p=n.computed(()=>{var m,g,y,v;const _=(g=(m=d==null?void 0:d.fill)==null?void 0:m.value)!=null?g:"";return{backgroundColor:_,borderColor:_,color:(v=(y=d==null?void 0:d.textColor)==null?void 0:y.value)!=null?v:"",boxShadow:_?`-1px 0 0 0 ${_}`:void 0}}),h=n.computed(()=>[f.b("button"),f.bm("button",l.value),f.is("disabled",i.value),f.is("checked",a.value),f.is("focus",o.value)]);return(m,g)=>{var y,v,_,b;return n.openBlock(),n.createElementBlock("label",{class:n.normalizeClass(n.unref(h))},[m.trueValue||m.falseValue||m.trueLabel||m.falseLabel?n.withDirectives((n.openBlock(),n.createElementBlock("input",{key:0,"onUpdate:modelValue":M=>n.isRef(s)?s.value=M:null,class:n.normalizeClass(n.unref(f).be("button","original")),type:"checkbox",name:m.name,tabindex:m.tabindex,disabled:n.unref(i),"true-value":(v=(y=m.trueValue)!=null?y:m.trueLabel)!=null?v:!0,"false-value":(b=(_=m.falseValue)!=null?_:m.falseLabel)!=null?b:!1,onChange:n.unref(c),onFocus:M=>o.value=!0,onBlur:M=>o.value=!1,onClick:n.withModifiers(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[n.vModelCheckbox,n.unref(s)]]):n.withDirectives((n.openBlock(),n.createElementBlock("input",{key:1,"onUpdate:modelValue":M=>n.isRef(s)?s.value=M:null,class:n.normalizeClass(n.unref(f).be("button","original")),type:"checkbox",name:m.name,tabindex:m.tabindex,disabled:n.unref(i),value:n.unref(u),onChange:n.unref(c),onFocus:M=>o.value=!0,onBlur:M=>o.value=!1,onClick:n.withModifiers(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[n.vModelCheckbox,n.unref(s)]]),m.$slots.default||m.label?(n.openBlock(),n.createElementBlock("span",{key:2,class:n.normalizeClass(n.unref(f).be("button","inner")),style:n.normalizeStyle(n.unref(a)?n.unref(p):void 0)},[n.renderSlot(m.$slots,"default",{},()=>[n.createTextVNode(n.toDisplayString(m.label),1)])],6)):n.createCommentVNode("v-if",!0)],2)}}});var yM=me(bq,[["__file","checkbox-button.vue"]]);const Nq=le({modelValue:{type:K(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:wn,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...xn(["ariaLabel"])}),wq={[je]:e=>we(e),change:e=>we(e)},kq=n.defineComponent({name:"ElCheckboxGroup"}),Cq=n.defineComponent({...kq,props:Nq,emits:wq,setup(e,{emit:t}){const r=e,o=ie("checkbox"),{formItem:a}=_r(),{inputId:i,isLabeledByFormItem:l}=Vo(r,{formItemContext:a}),s=async c=>{t(je,c),await n.nextTick(),t("change",c)},u=n.computed({get(){return r.modelValue},set(c){s(c)}});return n.provide(zi,{...Z3(n.toRefs(r),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:u,changeEvent:s}),n.watch(()=>r.modelValue,()=>{r.validateEvent&&(a==null||a.validate("change").catch(c=>Ye(c)))}),(c,d)=>{var f;return n.openBlock(),n.createBlock(n.resolveDynamicComponent(c.tag),{id:n.unref(i),class:n.normalizeClass(n.unref(o).b("group")),role:"group","aria-label":n.unref(l)?void 0:c.ariaLabel||"checkbox-group","aria-labelledby":n.unref(l)?(f=n.unref(a))==null?void 0:f.labelId:void 0},{default:n.withCtx(()=>[n.renderSlot(c.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var MM=me(Cq,[["__file","checkbox-group.vue"]]);const xq=Xe(Mq,{CheckboxButton:yM,CheckboxGroup:MM}),Eq=Cn(yM),Tq=Cn(MM),_M=le({modelValue:{type:[String,Number,Boolean],default:void 0},size:wn,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),Dq=le({..._M,border:Boolean}),bM={[je]:e=>Je(e)||Ae(e)||Gt(e),[Nn]:e=>Je(e)||Ae(e)||Gt(e)},NM=Symbol("radioGroupKey"),wM=(e,t)=>{const r=n.ref(),o=n.inject(NM,void 0),a=n.computed(()=>!!o),i=n.computed(()=>kl(e.value)?e.label:e.value),l=n.computed({get(){return a.value?o.modelValue:e.modelValue},set(f){a.value?o.changeEvent(f):t&&t(je,f),r.value.checked=e.modelValue===i.value}}),s=Kt(n.computed(()=>o==null?void 0:o.size)),u=Xn(n.computed(()=>o==null?void 0:o.disabled)),c=n.ref(!1),d=n.computed(()=>u.value||a.value&&l.value!==i.value?-1:0);return Ka({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},n.computed(()=>a.value&&kl(e.value))),{radioRef:r,isGroup:a,radioGroup:o,focus:c,size:s,disabled:u,tabIndex:d,modelValue:l,actualValue:i}},Sq=n.defineComponent({name:"ElRadio"}),Iq=n.defineComponent({...Sq,props:Dq,emits:bM,setup(e,{emit:t}){const r=e,o=ie("radio"),{radioRef:a,radioGroup:i,focus:l,size:s,disabled:u,modelValue:c,actualValue:d}=wM(r,t);function f(){n.nextTick(()=>t("change",c.value))}return(p,h)=>{var m;return n.openBlock(),n.createElementBlock("label",{class:n.normalizeClass([n.unref(o).b(),n.unref(o).is("disabled",n.unref(u)),n.unref(o).is("focus",n.unref(l)),n.unref(o).is("bordered",p.border),n.unref(o).is("checked",n.unref(c)===n.unref(d)),n.unref(o).m(n.unref(s))])},[n.createElementVNode("span",{class:n.normalizeClass([n.unref(o).e("input"),n.unref(o).is("disabled",n.unref(u)),n.unref(o).is("checked",n.unref(c)===n.unref(d))])},[n.withDirectives(n.createElementVNode("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":g=>n.isRef(c)?c.value=g:null,class:n.normalizeClass(n.unref(o).e("original")),value:n.unref(d),name:p.name||((m=n.unref(i))==null?void 0:m.name),disabled:n.unref(u),checked:n.unref(c)===n.unref(d),type:"radio",onFocus:g=>l.value=!0,onBlur:g=>l.value=!1,onChange:f,onClick:n.withModifiers(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[n.vModelRadio,n.unref(c)]]),n.createElementVNode("span",{class:n.normalizeClass(n.unref(o).e("inner"))},null,2)],2),n.createElementVNode("span",{class:n.normalizeClass(n.unref(o).e("label")),onKeydown:n.withModifiers(()=>{},["stop"])},[n.renderSlot(p.$slots,"default",{},()=>[n.createTextVNode(n.toDisplayString(p.label),1)])],42,["onKeydown"])],2)}}});var Aq=me(Iq,[["__file","radio.vue"]]);const zq=le({..._M}),Oq=n.defineComponent({name:"ElRadioButton"}),jq=n.defineComponent({...Oq,props:zq,setup(e){const t=e,r=ie("radio"),{radioRef:o,focus:a,size:i,disabled:l,modelValue:s,radioGroup:u,actualValue:c}=wM(t),d=n.computed(()=>({backgroundColor:(u==null?void 0:u.fill)||"",borderColor:(u==null?void 0:u.fill)||"",boxShadow:u!=null&&u.fill?`-1px 0 0 0 ${u.fill}`:"",color:(u==null?void 0:u.textColor)||""}));return(f,p)=>{var h;return n.openBlock(),n.createElementBlock("label",{class:n.normalizeClass([n.unref(r).b("button"),n.unref(r).is("active",n.unref(s)===n.unref(c)),n.unref(r).is("disabled",n.unref(l)),n.unref(r).is("focus",n.unref(a)),n.unref(r).bm("button",n.unref(i))])},[n.withDirectives(n.createElementVNode("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":m=>n.isRef(s)?s.value=m:null,class:n.normalizeClass(n.unref(r).be("button","original-radio")),value:n.unref(c),type:"radio",name:f.name||((h=n.unref(u))==null?void 0:h.name),disabled:n.unref(l),onFocus:m=>a.value=!0,onBlur:m=>a.value=!1,onClick:n.withModifiers(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[n.vModelRadio,n.unref(s)]]),n.createElementVNode("span",{class:n.normalizeClass(n.unref(r).be("button","inner")),style:n.normalizeStyle(n.unref(s)===n.unref(c)?n.unref(d):{}),onKeydown:n.withModifiers(()=>{},["stop"])},[n.renderSlot(f.$slots,"default",{},()=>[n.createTextVNode(n.toDisplayString(f.label),1)])],46,["onKeydown"])],2)}}});var kM=me(jq,[["__file","radio-button.vue"]]);const Lq=le({id:{type:String,default:void 0},size:wn,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...xn(["ariaLabel"])}),Bq=bM,Vq=n.defineComponent({name:"ElRadioGroup"}),$q=n.defineComponent({...Vq,props:Lq,emits:Bq,setup(e,{emit:t}){const r=e,o=ie("radio"),a=Lr(),i=n.ref(),{formItem:l}=_r(),{inputId:s,isLabeledByFormItem:u}=Vo(r,{formItemContext:l}),c=f=>{t(je,f),n.nextTick(()=>t("change",f))};n.onMounted(()=>{const f=i.value.querySelectorAll("[type=radio]"),p=f[0];!Array.from(f).some(h=>h.checked)&&p&&(p.tabIndex=0)});const d=n.computed(()=>r.name||a.value);return n.provide(NM,n.reactive({...n.toRefs(r),changeEvent:c,name:d})),n.watch(()=>r.modelValue,()=>{r.validateEvent&&(l==null||l.validate("change").catch(f=>Ye(f)))}),(f,p)=>(n.openBlock(),n.createElementBlock("div",{id:n.unref(s),ref_key:"radioGroupRef",ref:i,class:n.normalizeClass(n.unref(o).b("group")),role:"radiogroup","aria-label":n.unref(u)?void 0:f.ariaLabel||"radio-group","aria-labelledby":n.unref(u)?n.unref(l).labelId:void 0},[n.renderSlot(f.$slots,"default")],10,["id","aria-label","aria-labelledby"]))}});var CM=me($q,[["__file","radio-group.vue"]]);const Pq=Xe(Aq,{RadioButton:kM,RadioGroup:CM}),Rq=Cn(CM),Fq=Cn(kM),op=le({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:es},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),Uq={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},Hq=n.defineComponent({name:"ElTag"}),Yq=n.defineComponent({...Hq,props:op,emits:Uq,setup(e,{emit:t}){const r=e,o=Kt(),a=ie("tag"),i=n.computed(()=>{const{type:c,hit:d,effect:f,closable:p,round:h}=r;return[a.b(),a.is("closable",p),a.m(c||"primary"),a.m(o.value),a.m(f),a.is("hit",d),a.is("round",h)]}),l=c=>{t("close",c)},s=c=>{t("click",c)},u=c=>{c.component.subTree.component.bum=null};return(c,d)=>c.disableTransitions?(n.openBlock(),n.createElementBlock("span",{key:0,class:n.normalizeClass(n.unref(i)),style:n.normalizeStyle({backgroundColor:c.color}),onClick:s},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(a).e("content"))},[n.renderSlot(c.$slots,"default")],2),c.closable?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(n.unref(a).e("close")),onClick:n.withModifiers(l,["stop"])},{default:n.withCtx(()=>[n.createVNode(n.unref(Jr))]),_:1},8,["class","onClick"])):n.createCommentVNode("v-if",!0)],6)):(n.openBlock(),n.createBlock(n.Transition,{key:1,name:`${n.unref(a).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:u},{default:n.withCtx(()=>[n.createElementVNode("span",{class:n.normalizeClass(n.unref(i)),style:n.normalizeStyle({backgroundColor:c.color}),onClick:s},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(a).e("content"))},[n.renderSlot(c.$slots,"default")],2),c.closable?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(n.unref(a).e("close")),onClick:n.withModifiers(l,["stop"])},{default:n.withCtx(()=>[n.createVNode(n.unref(Jr))]),_:1},8,["class","onClick"])):n.createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Qq=me(Yq,[["__file","tag.vue"]]);const qq=Xe(Qq),_1=e=>Ae(e)||Je(e)||we(e),Wq=le({accordion:Boolean,modelValue:{type:K([Array,String,Number]),default:()=>pr([])}}),Gq={[je]:_1,[Nn]:_1},xM=Symbol("collapseContextKey"),Kq=(e,t)=>{const r=n.ref(sn(e.modelValue)),o=i=>{r.value=i;const l=e.accordion?r.value[0]:r.value;t(je,l),t(Nn,l)},a=i=>{if(e.accordion)o([r.value[0]===i?"":i]);else{const l=[...r.value],s=l.indexOf(i);s>-1?l.splice(s,1):l.push(i),o(l)}};return n.watch(()=>e.modelValue,()=>r.value=sn(e.modelValue),{deep:!0}),n.provide(xM,{activeNames:r,handleItemClick:a}),{activeNames:r,setActiveNames:o}},Zq=()=>{const e=ie("collapse");return{rootKls:n.computed(()=>e.b())}},Jq=n.defineComponent({name:"ElCollapse"}),Xq=n.defineComponent({...Jq,props:Wq,emits:Gq,setup(e,{expose:t,emit:r}){const o=e,{activeNames:a,setActiveNames:i}=Kq(o,r),{rootKls:l}=Zq();return t({activeNames:a,setActiveNames:i}),(s,u)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(l))},[n.renderSlot(s.$slots,"default")],2))}});var eW=me(Xq,[["__file","collapse.vue"]]);const tW=n.defineComponent({name:"ElCollapseTransition"}),nW=n.defineComponent({...tW,setup(e){const t=ie("collapse-transition"),r=a=>{a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom},o={beforeEnter(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.style.height&&(a.dataset.elExistsHeight=a.style.height),a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0},enter(a){requestAnimationFrame(()=>{a.dataset.oldOverflow=a.style.overflow,a.dataset.elExistsHeight?a.style.maxHeight=a.dataset.elExistsHeight:a.scrollHeight!==0?a.style.maxHeight=`${a.scrollHeight}px`:a.style.maxHeight=0,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom,a.style.overflow="hidden"})},afterEnter(a){a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow},enterCancelled(a){r(a)},beforeLeave(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.dataset.oldOverflow=a.style.overflow,a.style.maxHeight=`${a.scrollHeight}px`,a.style.overflow="hidden"},leave(a){a.scrollHeight!==0&&(a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0)},afterLeave(a){r(a)},leaveCancelled(a){r(a)}};return(a,i)=>(n.openBlock(),n.createBlock(n.Transition,n.mergeProps({name:n.unref(t).b()},n.toHandlers(o)),{default:n.withCtx(()=>[n.renderSlot(a.$slots,"default")]),_:3},16,["name"]))}});var rW=me(nW,[["__file","collapse-transition.vue"]]);const oW=Xe(rW),aW=le({title:{type:String,default:""},name:{type:K([String,Number]),default:void 0},icon:{type:Ut,default:Co},disabled:Boolean}),iW=e=>{const t=n.inject(xM),{namespace:r}=ie("collapse"),o=n.ref(!1),a=n.ref(!1),i=X0(),l=n.computed(()=>i.current++),s=n.computed(()=>{var p;return(p=e.name)!=null?p:`${r.value}-id-${i.prefix}-${n.unref(l)}`}),u=n.computed(()=>t==null?void 0:t.activeNames.value.includes(n.unref(s)));return{focusing:o,id:l,isActive:u,handleFocus:()=>{setTimeout(()=>{a.value?a.value=!1:o.value=!0},50)},handleHeaderClick:()=>{e.disabled||(t==null||t.handleItemClick(n.unref(s)),o.value=!1,a.value=!0)},handleEnterClick:()=>{t==null||t.handleItemClick(n.unref(s))}}},lW=(e,{focusing:t,isActive:r,id:o})=>{const a=ie("collapse"),i=n.computed(()=>[a.b("item"),a.is("active",n.unref(r)),a.is("disabled",e.disabled)]),l=n.computed(()=>[a.be("item","header"),a.is("active",n.unref(r)),{focusing:n.unref(t)&&!e.disabled}]),s=n.computed(()=>[a.be("item","arrow"),a.is("active",n.unref(r))]),u=n.computed(()=>a.be("item","wrap")),c=n.computed(()=>a.be("item","content")),d=n.computed(()=>a.b(`content-${n.unref(o)}`)),f=n.computed(()=>a.b(`head-${n.unref(o)}`));return{arrowKls:s,headKls:l,rootKls:i,itemWrapperKls:u,itemContentKls:c,scopedContentId:d,scopedHeadId:f}},sW=n.defineComponent({name:"ElCollapseItem"}),uW=n.defineComponent({...sW,props:aW,setup(e,{expose:t}){const r=e,{focusing:o,id:a,isActive:i,handleFocus:l,handleHeaderClick:s,handleEnterClick:u}=iW(r),{arrowKls:c,headKls:d,rootKls:f,itemWrapperKls:p,itemContentKls:h,scopedContentId:m,scopedHeadId:g}=lW(r,{focusing:o,isActive:i,id:a});return t({isActive:i}),(y,v)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(f))},[n.createElementVNode("button",{id:n.unref(g),class:n.normalizeClass(n.unref(d)),"aria-expanded":n.unref(i),"aria-controls":n.unref(m),"aria-describedby":n.unref(m),tabindex:y.disabled?-1:0,type:"button",onClick:n.unref(s),onKeydown:n.withKeys(n.withModifiers(n.unref(u),["stop","prevent"]),["space","enter"]),onFocus:n.unref(l),onBlur:_=>o.value=!1},[n.renderSlot(y.$slots,"title",{},()=>[n.createTextVNode(n.toDisplayString(y.title),1)]),n.renderSlot(y.$slots,"icon",{isActive:n.unref(i)},()=>[n.createVNode(n.unref(de),{class:n.normalizeClass(n.unref(c))},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(y.icon)))]),_:1},8,["class"])])],42,["id","aria-expanded","aria-controls","aria-describedby","tabindex","onClick","onKeydown","onFocus","onBlur"]),n.createVNode(n.unref(oW),null,{default:n.withCtx(()=>[n.withDirectives(n.createElementVNode("div",{id:n.unref(m),role:"region",class:n.normalizeClass(n.unref(p)),"aria-hidden":!n.unref(i),"aria-labelledby":n.unref(g)},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(h))},[n.renderSlot(y.$slots,"default")],2)],10,["id","aria-hidden","aria-labelledby"]),[[n.vShow,n.unref(i)]])]),_:3})],2))}});var EM=me(uW,[["__file","collapse-item.vue"]]);const cW=Xe(eW,{CollapseItem:EM}),dW=Cn(EM);var TM={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(wt,function(){return function(r,o){var a=o.prototype,i=a.format;a.format=function(l){var s=this,u=this.$locale();if(!this.isValid())return i.bind(this)(l);var c=this.$utils(),d=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return u.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return u.ordinal(s.week(),"W");case"w":case"ww":return c.s(s.week(),f==="w"?1:2,"0");case"W":case"WW":return c.s(s.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return c.s(String(s.$H===0?24:s.$H),f==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return f}});return i.bind(this)(d)}}})})(TM);var fW=TM.exports;const pW=yt(fW);var DM={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(wt,function(){var r="week",o="year";return function(a,i,l){var s=i.prototype;s.week=function(u){if(u===void 0&&(u=null),u!==null)return this.add(7*(u-this.week()),"day");var c=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=l(this).startOf(o).add(1,o).date(c),f=l(this).endOf(r);if(d.isBefore(f))return 1}var p=l(this).startOf(o).date(c).startOf(r).subtract(1,"millisecond"),h=this.diff(p,r,!0);return h<0?l(this).startOf("week").week():Math.ceil(h)},s.weeks=function(u){return u===void 0&&(u=null),this.week(u)}}})})(DM);var mW=DM.exports;const hW=yt(mW);var SM={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(wt,function(){return function(r,o){o.prototype.weekYear=function(){var a=this.month(),i=this.week(),l=this.year();return i===1&&a===11?l+1:a===0&&i>=52?l-1:l}}})})(SM);var gW=SM.exports;const vW=yt(gW);var IM={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(wt,function(){return function(r,o,a){o.prototype.dayOfYear=function(i){var l=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return i==null?l:this.add(i-l,"day")}}})})(IM);var yW=IM.exports;const MW=yt(yW);var AM={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(wt,function(){return function(r,o){o.prototype.isSameOrAfter=function(a,i){return this.isSame(a,i)||this.isAfter(a,i)}}})})(AM);var _W=AM.exports;const bW=yt(_W);var zM={exports:{}};(function(e,t){(function(r,o){e.exports=o()})(wt,function(){return function(r,o){o.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})})(zM);var NW=zM.exports;const wW=yt(NW),Qc=Symbol(),kW=le({...fM,type:{type:K(String),default:"date"}}),CW=["date","dates","year","years","month","months","week","range"],sm=le({disabledDate:{type:K(Function)},date:{type:K(Object),required:!0},minDate:{type:K(Object)},maxDate:{type:K(Object)},parsedValue:{type:K([Object,Array])},rangeState:{type:K(Object),default:()=>({endDate:null,selecting:!1})}}),OM=le({type:{type:K(String),required:!0,values:oF},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0}}),um=le({unlinkPanels:Boolean,parsedValue:{type:K(Array)}}),cm=e=>({type:String,values:CW,default:e}),xW=le({...OM,parsedValue:{type:K([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),pi=e=>{if(!we(e))return!1;const[t,r]=e;return pe.isDayjs(t)&&pe.isDayjs(r)&&t.isSameOrBefore(r)},dm=(e,{lang:t,unit:r,unlinkPanels:o})=>{let a;if(we(e)){let[i,l]=e.map(s=>pe(s).locale(t));return o||(l=i.add(1,r)),[i,l]}else e?a=pe(e):a=pe();return a=a.locale(t),[a,a.add(1,r)]},EW=(e,t,{columnIndexOffset:r,startDate:o,nextEndDate:a,now:i,unit:l,relativeDateGetter:s,setCellMetadata:u,setRowMetadata:c})=>{for(let d=0;d<e.row;d++){const f=t[d];for(let p=0;p<e.column;p++){let h=f[p+r];h||(h={row:d,column:p,type:"normal",inRange:!1,start:!1,end:!1});const m=d*e.column+p,g=s(m);h.dayjs=g,h.date=g.toDate(),h.timestamp=g.valueOf(),h.type="normal",h.inRange=!!(o&&g.isSameOrAfter(o,l)&&a&&g.isSameOrBefore(a,l))||!!(o&&g.isSameOrBefore(o,l)&&a&&g.isSameOrAfter(a,l)),o!=null&&o.isSameOrAfter(a)?(h.start=!!a&&g.isSame(a,l),h.end=o&&g.isSame(o,l)):(h.start=!!o&&g.isSame(o,l),h.end=!!a&&g.isSame(a,l)),g.isSame(i,l)&&(h.type="today"),u==null||u(h,{rowIndex:d,columnIndex:p}),f[p+r]=h}c==null||c(f)}},wu=(e,t,r)=>{const o=pe().locale(r).startOf("month").month(t).year(e),a=o.daysInMonth();return sM(a).map(i=>o.add(i,"day").toDate())},Sl=(e,t,r,o)=>{const a=pe().year(e).month(t).startOf("month"),i=wu(e,t,r).find(l=>!(o!=null&&o(l)));return i?pe(i).locale(r):a.locale(r)},ap=(e,t,r)=>{const o=e.year();if(!(r!=null&&r(e.toDate())))return e.locale(t);const a=e.month();if(!wu(o,a,t).every(r))return Sl(o,a,t,r);for(let i=0;i<12;i++)if(!wu(o,i,t).every(r))return Sl(o,i,t,r);return e},TW=le({...sm,cellClassName:{type:K(Function)},showWeekNumber:Boolean,selectionMode:cm("date")}),DW=["changerange","pick","select"],ip=(e="")=>["normal","today"].includes(e),SW=(e,t)=>{const{lang:r}=ht(),o=n.ref(),a=n.ref(),i=n.ref(),l=n.ref(),s=n.ref([[],[],[],[],[],[]]);let u=!1;const c=e.date.$locale().weekStart||7,d=e.date.locale("en").localeData().weekdaysShort().map(k=>k.toLowerCase()),f=n.computed(()=>c>3?7-c:-c),p=n.computed(()=>{const k=e.date.startOf("month");return k.subtract(k.day()||7,"day")}),h=n.computed(()=>d.concat(d).slice(c,c+7)),m=n.computed(()=>L3(n.unref(M)).some(k=>k.isCurrent)),g=n.computed(()=>{const k=e.date.startOf("month"),E=k.day()||7,B=k.daysInMonth(),V=k.subtract(1,"month").daysInMonth();return{startOfMonthDay:E,dateCountOfMonth:B,dateCountOfLastMonth:V}}),y=n.computed(()=>e.selectionMode==="dates"?yn(e.parsedValue):[]),v=(k,{count:E,rowIndex:B,columnIndex:V})=>{const{startOfMonthDay:F,dateCountOfMonth:q,dateCountOfLastMonth:Y}=n.unref(g),ee=n.unref(f);if(B>=0&&B<=1){const J=F+ee<0?7+F+ee:F+ee;if(V+B*7>=J)return k.text=E,!0;k.text=Y-(J-V%7)+1+B*7,k.type="prev-month"}else return E<=q?k.text=E:(k.text=E-q,k.type="next-month"),!0;return!1},_=(k,{columnIndex:E,rowIndex:B},V)=>{const{disabledDate:F,cellClassName:q}=e,Y=n.unref(y),ee=v(k,{count:V,rowIndex:B,columnIndex:E}),J=k.dayjs.toDate();return k.selected=Y.find(te=>te.isSame(k.dayjs,"day")),k.isSelected=!!k.selected,k.isCurrent=w(k),k.disabled=F==null?void 0:F(J),k.customClass=q==null?void 0:q(J),ee},b=k=>{if(e.selectionMode==="week"){const[E,B]=e.showWeekNumber?[1,7]:[0,6],V=I(k[E+1]);k[E].inRange=V,k[E].start=V,k[B].inRange=V,k[B].end=V}},M=n.computed(()=>{const{minDate:k,maxDate:E,rangeState:B,showWeekNumber:V}=e,F=n.unref(f),q=n.unref(s),Y="day";let ee=1;if(V)for(let J=0;J<6;J++)q[J][0]||(q[J][0]={type:"week",text:n.unref(p).add(J*7+1,Y).week()});return EW({row:6,column:7},q,{startDate:k,columnIndexOffset:V?1:0,nextEndDate:B.endDate||E||B.selecting&&k||null,now:pe().locale(n.unref(r)).startOf(Y),unit:Y,relativeDateGetter:J=>n.unref(p).add(J-F,Y),setCellMetadata:(...J)=>{_(...J,ee)&&(ee+=1)},setRowMetadata:b}),q});n.watch(()=>e.date,async()=>{var k;(k=n.unref(o))!=null&&k.contains(document.activeElement)&&(await n.nextTick(),await N())});const N=async()=>{var k;return(k=n.unref(a))==null?void 0:k.focus()},w=k=>e.selectionMode==="date"&&ip(k.type)&&x(k,e.parsedValue),x=(k,E)=>E?pe(E).locale(n.unref(r)).isSame(e.date.date(Number(k.text)),"day"):!1,T=(k,E)=>{const B=k*7+(E-(e.showWeekNumber?1:0))-n.unref(f);return n.unref(p).add(B,"day")},O=k=>{var E;if(!e.rangeState.selecting)return;let B=k.target;if(B.tagName==="SPAN"&&(B=(E=B.parentNode)==null?void 0:E.parentNode),B.tagName==="DIV"&&(B=B.parentNode),B.tagName!=="TD")return;const V=B.parentNode.rowIndex-1,F=B.cellIndex;n.unref(M)[V][F].disabled||(V!==n.unref(i)||F!==n.unref(l))&&(i.value=V,l.value=F,t("changerange",{selecting:!0,endDate:T(V,F)}))},j=k=>!n.unref(m)&&(k==null?void 0:k.text)===1&&k.type==="normal"||k.isCurrent,P=k=>{u||n.unref(m)||e.selectionMode!=="date"||S(k,!0)},R=k=>{k.target.closest("td")&&(u=!0)},$=k=>{k.target.closest("td")&&(u=!1)},Q=k=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:k,maxDate:null}),t("select",!0)):(k>=e.minDate?t("pick",{minDate:e.minDate,maxDate:k}):t("pick",{minDate:k,maxDate:e.minDate}),t("select",!1))},z=k=>{const E=k.week(),B=`${k.year()}w${E}`;t("pick",{year:k.year(),week:E,value:B,date:k.startOf("week")})},C=(k,E)=>{const B=E?yn(e.parsedValue).filter(V=>(V==null?void 0:V.valueOf())!==k.valueOf()):yn(e.parsedValue).concat([k]);t("pick",B)},S=(k,E=!1)=>{const B=k.target.closest("td");if(!B)return;const V=B.parentNode.rowIndex-1,F=B.cellIndex,q=n.unref(M)[V][F];if(q.disabled||q.type==="week")return;const Y=T(V,F);switch(e.selectionMode){case"range":{Q(Y);break}case"date":{t("pick",Y,E);break}case"week":{z(Y);break}case"dates":{C(Y,!!q.selected);break}}},I=k=>{if(e.selectionMode!=="week")return!1;let E=e.date.startOf("day");if(k.type==="prev-month"&&(E=E.subtract(1,"month")),k.type==="next-month"&&(E=E.add(1,"month")),E=E.date(Number.parseInt(k.text,10)),e.parsedValue&&!we(e.parsedValue)){const B=(e.parsedValue.day()-c+7)%7-1;return e.parsedValue.subtract(B,"day").isSame(E,"day")}return!1};return{WEEKS:h,rows:M,tbodyRef:o,currentCellRef:a,focus:N,isCurrent:w,isWeekActive:I,isSelectedCell:j,handlePickDate:S,handleMouseUp:$,handleMouseDown:R,handleMouseMove:O,handleFocus:P}},IW=(e,{isCurrent:t,isWeekActive:r})=>{const o=ie("date-table"),{t:a}=ht(),i=n.computed(()=>[o.b(),{"is-week-mode":e.selectionMode==="week"}]),l=n.computed(()=>a("el.datepicker.dateTablePrompt")),s=n.computed(()=>a("el.datepicker.week"));return{tableKls:i,tableLabel:l,weekLabel:s,getCellClasses:d=>{const f=[];return ip(d.type)&&!d.disabled?(f.push("available"),d.type==="today"&&f.push("today")):f.push(d.type),t(d)&&f.push("current"),d.inRange&&(ip(d.type)||e.selectionMode==="week")&&(f.push("in-range"),d.start&&f.push("start-date"),d.end&&f.push("end-date")),d.disabled&&f.push("disabled"),d.selected&&f.push("selected"),d.customClass&&f.push(d.customClass),f.join(" ")},getRowKls:d=>[o.e("row"),{current:r(d)}],t:a}},AW=le({cell:{type:K(Object)}});var fm=n.defineComponent({name:"ElDatePickerCell",props:AW,setup(e){const t=ie("date-table-cell"),{slots:r}=n.inject(Qc);return()=>{const{cell:o}=e;return n.renderSlot(r,"default",{...o},()=>{var a;return[n.createVNode("div",{class:t.b()},[n.createVNode("span",{class:t.e("text")},[(a=o==null?void 0:o.renderText)!=null?a:o==null?void 0:o.text])])]})}}});const zW=n.defineComponent({__name:"basic-date-table",props:TW,emits:DW,setup(e,{expose:t,emit:r}){const o=e,{WEEKS:a,rows:i,tbodyRef:l,currentCellRef:s,focus:u,isCurrent:c,isWeekActive:d,isSelectedCell:f,handlePickDate:p,handleMouseUp:h,handleMouseDown:m,handleMouseMove:g,handleFocus:y}=SW(o,r),{tableLabel:v,tableKls:_,weekLabel:b,getCellClasses:M,getRowKls:N,t:w}=IW(o,{isCurrent:c,isWeekActive:d});return t({focus:u}),(x,T)=>(n.openBlock(),n.createElementBlock("table",{"aria-label":n.unref(v),class:n.normalizeClass(n.unref(_)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:n.unref(p),onMousemove:n.unref(g),onMousedown:n.withModifiers(n.unref(m),["prevent"]),onMouseup:n.unref(h)},[n.createElementVNode("tbody",{ref_key:"tbodyRef",ref:l},[n.createElementVNode("tr",null,[x.showWeekNumber?(n.openBlock(),n.createElementBlock("th",{key:0,scope:"col"},n.toDisplayString(n.unref(b)),1)):n.createCommentVNode("v-if",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(a),(O,j)=>(n.openBlock(),n.createElementBlock("th",{key:j,"aria-label":n.unref(w)("el.datepicker.weeksFull."+O),scope:"col"},n.toDisplayString(n.unref(w)("el.datepicker.weeks."+O)),9,["aria-label"]))),128))]),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(i),(O,j)=>(n.openBlock(),n.createElementBlock("tr",{key:j,class:n.normalizeClass(n.unref(N)(O[1]))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(O,(P,R)=>(n.openBlock(),n.createElementBlock("td",{key:`${j}.${R}`,ref_for:!0,ref:$=>n.unref(f)(P)&&(s.value=$),class:n.normalizeClass(n.unref(M)(P)),"aria-current":P.isCurrent?"date":void 0,"aria-selected":P.isCurrent,tabindex:n.unref(f)(P)?0:-1,onFocus:n.unref(y)},[n.createVNode(n.unref(fm),{cell:P},null,8,["cell"])],42,["aria-current","aria-selected","tabindex","onFocus"]))),128))],2))),128))],512)],42,["aria-label","onClick","onMousemove","onMousedown","onMouseup"]))}});var lp=me(zW,[["__file","basic-date-table.vue"]]);const OW=le({...sm,selectionMode:cm("month")}),jW=n.defineComponent({__name:"basic-month-table",props:OW,emits:["changerange","pick","select"],setup(e,{expose:t,emit:r}){const o=e,a=ie("month-table"),{t:i,lang:l}=ht(),s=n.ref(),u=n.ref(),c=n.ref(o.date.locale("en").localeData().monthsShort().map(b=>b.toLowerCase())),d=n.ref([[],[],[]]),f=n.ref(),p=n.ref(),h=n.computed(()=>{var b,M;const N=d.value,w=pe().locale(l.value).startOf("month");for(let x=0;x<3;x++){const T=N[x];for(let O=0;O<4;O++){const j=T[O]||(T[O]={row:x,column:O,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});j.type="normal";const P=x*4+O,R=o.date.startOf("year").month(P),$=o.rangeState.endDate||o.maxDate||o.rangeState.selecting&&o.minDate||null;j.inRange=!!(o.minDate&&R.isSameOrAfter(o.minDate,"month")&&$&&R.isSameOrBefore($,"month"))||!!(o.minDate&&R.isSameOrBefore(o.minDate,"month")&&$&&R.isSameOrAfter($,"month")),(b=o.minDate)!=null&&b.isSameOrAfter($)?(j.start=!!($&&R.isSame($,"month")),j.end=o.minDate&&R.isSame(o.minDate,"month")):(j.start=!!(o.minDate&&R.isSame(o.minDate,"month")),j.end=!!($&&R.isSame($,"month"))),w.isSame(R)&&(j.type="today"),j.text=P,j.disabled=((M=o.disabledDate)==null?void 0:M.call(o,R.toDate()))||!1}}return N}),m=()=>{var b;(b=u.value)==null||b.focus()},g=b=>{const M={},N=o.date.year(),w=new Date,x=b.text;return M.disabled=o.disabledDate?wu(N,x,l.value).every(o.disabledDate):!1,M.current=yn(o.parsedValue).findIndex(T=>pe.isDayjs(T)&&T.year()===N&&T.month()===x)>=0,M.today=w.getFullYear()===N&&w.getMonth()===x,b.inRange&&(M["in-range"]=!0,b.start&&(M["start-date"]=!0),b.end&&(M["end-date"]=!0)),M},y=b=>{const M=o.date.year(),N=b.text;return yn(o.date).findIndex(w=>w.year()===M&&w.month()===N)>=0},v=b=>{var M;if(!o.rangeState.selecting)return;let N=b.target;if(N.tagName==="SPAN"&&(N=(M=N.parentNode)==null?void 0:M.parentNode),N.tagName==="DIV"&&(N=N.parentNode),N.tagName!=="TD")return;const w=N.parentNode.rowIndex,x=N.cellIndex;h.value[w][x].disabled||(w!==f.value||x!==p.value)&&(f.value=w,p.value=x,r("changerange",{selecting:!0,endDate:o.date.startOf("year").month(w*4+x)}))},_=b=>{var M;const N=(M=b.target)==null?void 0:M.closest("td");if((N==null?void 0:N.tagName)!=="TD"||Io(N,"disabled"))return;const w=N.cellIndex,T=N.parentNode.rowIndex*4+w,O=o.date.startOf("year").month(T);if(o.selectionMode==="months"){if(b.type==="keydown"){r("pick",yn(o.parsedValue),!1);return}const j=Sl(o.date.year(),T,l.value,o.disabledDate),P=Io(N,"current")?yn(o.parsedValue).filter(R=>(R==null?void 0:R.month())!==j.month()):yn(o.parsedValue).concat([pe(j)]);r("pick",P)}else o.selectionMode==="range"?o.rangeState.selecting?(o.minDate&&O>=o.minDate?r("pick",{minDate:o.minDate,maxDate:O}):r("pick",{minDate:O,maxDate:o.minDate}),r("select",!1)):(r("pick",{minDate:O,maxDate:null}),r("select",!0)):r("pick",T)};return n.watch(()=>o.date,async()=>{var b,M;(b=s.value)!=null&&b.contains(document.activeElement)&&(await n.nextTick(),(M=u.value)==null||M.focus())}),t({focus:m}),(b,M)=>(n.openBlock(),n.createElementBlock("table",{role:"grid","aria-label":n.unref(i)("el.datepicker.monthTablePrompt"),class:n.normalizeClass(n.unref(a).b()),onClick:_,onMousemove:v},[n.createElementVNode("tbody",{ref_key:"tbodyRef",ref:s},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(h),(N,w)=>(n.openBlock(),n.createElementBlock("tr",{key:w},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(N,(x,T)=>(n.openBlock(),n.createElementBlock("td",{key:T,ref_for:!0,ref:O=>y(x)&&(u.value=O),class:n.normalizeClass(g(x)),"aria-selected":`${y(x)}`,"aria-label":n.unref(i)(`el.datepicker.month${+x.text+1}`),tabindex:y(x)?0:-1,onKeydown:[n.withKeys(n.withModifiers(_,["prevent","stop"]),["space"]),n.withKeys(n.withModifiers(_,["prevent","stop"]),["enter"])]},[n.createVNode(n.unref(fm),{cell:{...x,renderText:n.unref(i)("el.datepicker.months."+c.value[x.text])}},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"]))),128))]))),128))],512)],42,["aria-label"]))}});var sp=me(jW,[["__file","basic-month-table.vue"]]);const LW=le({...sm,selectionMode:cm("year")}),BW=n.defineComponent({__name:"basic-year-table",props:LW,emits:["changerange","pick","select"],setup(e,{expose:t,emit:r}){const o=e,a=(M,N)=>{const w=pe(String(M)).locale(N).startOf("year"),T=w.endOf("year").dayOfYear();return sM(T).map(O=>w.add(O,"day").toDate())},i=ie("year-table"),{t:l,lang:s}=ht(),u=n.ref(),c=n.ref(),d=n.computed(()=>Math.floor(o.date.year()/10)*10),f=n.ref([[],[],[]]),p=n.ref(),h=n.ref(),m=n.computed(()=>{var M;const N=f.value,w=pe().locale(s.value).startOf("year");for(let x=0;x<3;x++){const T=N[x];for(let O=0;O<4&&!(x*4+O>=10);O++){let j=T[O];j||(j={row:x,column:O,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1}),j.type="normal";const P=x*4+O+d.value,R=pe().year(P),$=o.rangeState.endDate||o.maxDate||o.rangeState.selecting&&o.minDate||null;j.inRange=!!(o.minDate&&R.isSameOrAfter(o.minDate,"year")&&$&&R.isSameOrBefore($,"year"))||!!(o.minDate&&R.isSameOrBefore(o.minDate,"year")&&$&&R.isSameOrAfter($,"year")),(M=o.minDate)!=null&&M.isSameOrAfter($)?(j.start=!!($&&R.isSame($,"year")),j.end=!!(o.minDate&&R.isSame(o.minDate,"year"))):(j.start=!!(o.minDate&&R.isSame(o.minDate,"year")),j.end=!!($&&R.isSame($,"year"))),w.isSame(R)&&(j.type="today"),j.text=P;const z=R.toDate();j.disabled=o.disabledDate&&o.disabledDate(z)||!1,T[O]=j}}return N}),g=()=>{var M;(M=c.value)==null||M.focus()},y=M=>{const N={},w=pe().locale(s.value),x=M.text;return N.disabled=o.disabledDate?a(x,s.value).every(o.disabledDate):!1,N.today=w.year()===x,N.current=yn(o.parsedValue).findIndex(T=>T.year()===x)>=0,M.inRange&&(N["in-range"]=!0,M.start&&(N["start-date"]=!0),M.end&&(N["end-date"]=!0)),N},v=M=>{const N=M.text;return yn(o.date).findIndex(w=>w.year()===N)>=0},_=M=>{var N;const w=(N=M.target)==null?void 0:N.closest("td");if(!w||!w.textContent||Io(w,"disabled"))return;const x=w.cellIndex,O=w.parentNode.rowIndex*4+x+d.value,j=pe().year(O);if(o.selectionMode==="range")o.rangeState.selecting?(o.minDate&&j>=o.minDate?r("pick",{minDate:o.minDate,maxDate:j}):r("pick",{minDate:j,maxDate:o.minDate}),r("select",!1)):(r("pick",{minDate:j,maxDate:null}),r("select",!0));else if(o.selectionMode==="years"){if(M.type==="keydown"){r("pick",yn(o.parsedValue),!1);return}const P=ap(j.startOf("year"),s.value,o.disabledDate),R=Io(w,"current")?yn(o.parsedValue).filter($=>($==null?void 0:$.year())!==O):yn(o.parsedValue).concat([P]);r("pick",R)}else r("pick",O)},b=M=>{var N;if(!o.rangeState.selecting)return;const w=(N=M.target)==null?void 0:N.closest("td");if(!w)return;const x=w.parentNode.rowIndex,T=w.cellIndex;m.value[x][T].disabled||(x!==p.value||T!==h.value)&&(p.value=x,h.value=T,r("changerange",{selecting:!0,endDate:pe().year(d.value).add(x*4+T,"year")}))};return n.watch(()=>o.date,async()=>{var M,N;(M=u.value)!=null&&M.contains(document.activeElement)&&(await n.nextTick(),(N=c.value)==null||N.focus())}),t({focus:g}),(M,N)=>(n.openBlock(),n.createElementBlock("table",{role:"grid","aria-label":n.unref(l)("el.datepicker.yearTablePrompt"),class:n.normalizeClass(n.unref(i).b()),onClick:_,onMousemove:b},[n.createElementVNode("tbody",{ref_key:"tbodyRef",ref:u},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(m),(w,x)=>(n.openBlock(),n.createElementBlock("tr",{key:x},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(w,(T,O)=>(n.openBlock(),n.createElementBlock("td",{key:`${x}_${O}`,ref_for:!0,ref:j=>v(T)&&(c.value=j),class:n.normalizeClass(["available",y(T)]),"aria-selected":v(T),"aria-label":String(T.text),tabindex:v(T)?0:-1,onKeydown:[n.withKeys(n.withModifiers(_,["prevent","stop"]),["space"]),n.withKeys(n.withModifiers(_,["prevent","stop"]),["enter"])]},[n.createVNode(n.unref(fm),{cell:T},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"]))),128))]))),128))],512)],42,["aria-label"]))}});var up=me(BW,[["__file","basic-year-table.vue"]]);const VW=n.defineComponent({__name:"panel-date-pick",props:xW,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const r=e,o=(G,ve,L)=>!0,a=ie("picker-panel"),i=ie("date-picker"),l=n.useAttrs(),s=n.useSlots(),{t:u,lang:c}=ht(),d=n.inject("EP_PICKER_BASE"),f=n.inject(Yc),{shortcuts:p,disabledDate:h,cellClassName:m,defaultTime:g}=d.props,y=n.toRef(d.props,"defaultValue"),v=n.ref(),_=n.ref(pe().locale(c.value)),b=n.ref(!1);let M=!1;const N=n.computed(()=>pe(g).locale(c.value)),w=n.computed(()=>_.value.month()),x=n.computed(()=>_.value.year()),T=n.ref([]),O=n.ref(null),j=n.ref(null),P=G=>T.value.length>0?o(G,T.value,r.format||"HH:mm:ss"):!0,R=G=>g&&!Qe.value&&!b.value&&!M?N.value.year(G.year()).month(G.month()).date(G.date()):J.value?G.millisecond(0):G.startOf("day"),$=(G,...ve)=>{if(!G)t("pick",G,...ve);else if(we(G)){const L=G.map(R);t("pick",L,...ve)}else t("pick",R(G),...ve);O.value=null,j.value=null,b.value=!1,M=!1},Q=async(G,ve)=>{if(E.value==="date"){G=G;let L=r.parsedValue?r.parsedValue.year(G.year()).month(G.month()).date(G.date()):G;P(L)||(L=T.value[0][0].year(G.year()).month(G.month()).date(G.date())),_.value=L,$(L,J.value||ve),r.type==="datetime"&&(await n.nextTick(),qe())}else E.value==="week"?$(G.date):E.value==="dates"&&$(G,!0)},z=G=>{const ve=G?"add":"subtract";_.value=_.value[ve](1,"month"),Qt("month")},C=G=>{const ve=_.value,L=G?"add":"subtract";_.value=S.value==="year"?ve[L](10,"year"):ve[L](1,"year"),Qt("year")},S=n.ref("date"),I=n.computed(()=>{const G=u("el.datepicker.year");if(S.value==="year"){const ve=Math.floor(x.value/10)*10;return G?`${ve} ${G} - ${ve+9} ${G}`:`${ve} - ${ve+9}`}return`${x.value} ${G}`}),k=G=>{const ve=rt(G.value)?G.value():G.value;if(ve){M=!0,$(pe(ve).locale(c.value));return}G.onClick&&G.onClick({attrs:l,slots:s,emit:t})},E=n.computed(()=>{const{type:G}=r;return["week","month","months","year","years","dates"].includes(G)?G:"date"}),B=n.computed(()=>E.value==="dates"||E.value==="months"||E.value==="years"),V=n.computed(()=>E.value==="date"?S.value:E.value),F=n.computed(()=>!!p.length),q=async(G,ve)=>{E.value==="month"?(_.value=Sl(_.value.year(),G,c.value,h),$(_.value,!1)):E.value==="months"?$(G,ve??!0):(_.value=Sl(_.value.year(),G,c.value,h),S.value="date",["month","year","date","week"].includes(E.value)&&($(_.value,!0),await n.nextTick(),qe())),Qt("month")},Y=async(G,ve)=>{if(E.value==="year"){const L=_.value.startOf("year").year(G);_.value=ap(L,c.value,h),$(_.value,!1)}else if(E.value==="years")$(G,ve??!0);else{const L=_.value.year(G);_.value=ap(L,c.value,h),S.value="month",["month","year","date","week"].includes(E.value)&&($(_.value,!0),await n.nextTick(),qe())}Qt("year")},ee=async G=>{S.value=G,await n.nextTick(),qe()},J=n.computed(()=>r.type==="datetime"||r.type==="datetimerange"),te=n.computed(()=>{const G=J.value||E.value==="dates",ve=E.value==="years",L=E.value==="months",Z=S.value==="date",A=S.value==="year",X=S.value==="month";return G&&Z||ve&&A||L&&X}),se=n.computed(()=>h?r.parsedValue?we(r.parsedValue)?h(r.parsedValue[0].toDate()):h(r.parsedValue.toDate()):!0:!1),ce=()=>{if(B.value)$(r.parsedValue);else{let G=r.parsedValue;if(!G){const ve=pe(g).locale(c.value),L=tt();G=ve.year(L.year()).month(L.month()).date(L.date())}_.value=G,$(G)}},he=n.computed(()=>h?h(pe().locale(c.value).toDate()):!1),Ee=()=>{const ve=pe().locale(c.value).toDate();b.value=!0,(!h||!h(ve))&&P(ve)&&(_.value=pe().locale(c.value),$(_.value))},Ce=n.computed(()=>r.timeFormat||cM(r.format)),Be=n.computed(()=>r.dateFormat||uM(r.format)),Qe=n.computed(()=>{if(j.value)return j.value;if(!(!r.parsedValue&&!y.value))return(r.parsedValue||_.value).format(Ce.value)}),Ke=n.computed(()=>{if(O.value)return O.value;if(!(!r.parsedValue&&!y.value))return(r.parsedValue||_.value).format(Be.value)}),Ie=n.ref(!1),Ze=()=>{Ie.value=!0},Ne=()=>{Ie.value=!1},Se=G=>({hour:G.hour(),minute:G.minute(),second:G.second(),year:G.year(),month:G.month(),date:G.date()}),$e=(G,ve,L)=>{const{hour:Z,minute:A,second:X}=Se(G),ue=r.parsedValue?r.parsedValue.hour(Z).minute(A).second(X):G;_.value=ue,$(_.value,!0),L||(Ie.value=ve)},dt=G=>{const ve=pe(G,Ce.value).locale(c.value);if(ve.isValid()&&P(ve)){const{year:L,month:Z,date:A}=Se(_.value);_.value=ve.year(L).month(Z).date(A),j.value=null,Ie.value=!1,$(_.value,!0)}},xe=G=>{const ve=pe(G,Be.value).locale(c.value);if(ve.isValid()){if(h&&h(ve.toDate()))return;const{hour:L,minute:Z,second:A}=Se(_.value);_.value=ve.hour(L).minute(Z).second(A),O.value=null,$(_.value,!0)}},D=G=>pe.isDayjs(G)&&G.isValid()&&(h?!h(G.toDate()):!0),U=G=>we(G)?G.map(ve=>ve.format(r.format)):G.format(r.format),ke=G=>pe(G,r.format).locale(c.value),tt=()=>{const G=pe(y.value).locale(c.value);if(!y.value){const ve=N.value;return pe().hour(ve.hour()).minute(ve.minute()).second(ve.second()).locale(c.value)}return G},qe=async()=>{var G;["week","month","year","date"].includes(E.value)&&((G=v.value)==null||G.focus(),E.value==="week"&&Pe(be.down))},At=G=>{const{code:ve}=G;[be.up,be.down,be.left,be.right,be.home,be.end,be.pageUp,be.pageDown].includes(ve)&&(Pe(ve),G.stopPropagation(),G.preventDefault()),[be.enter,be.space,be.numpadEnter].includes(ve)&&O.value===null&&j.value===null&&(G.preventDefault(),$(_.value,!1))},Pe=G=>{var ve;const{up:L,down:Z,left:A,right:X,home:ue,end:De,pageUp:ft,pageDown:En}=be,et={year:{[L]:-4,[Z]:4,[A]:-1,[X]:1,offset:(He,Mt)=>He.setFullYear(He.getFullYear()+Mt)},month:{[L]:-4,[Z]:4,[A]:-1,[X]:1,offset:(He,Mt)=>He.setMonth(He.getMonth()+Mt)},week:{[L]:-1,[Z]:1,[A]:-1,[X]:1,offset:(He,Mt)=>He.setDate(He.getDate()+Mt*7)},date:{[L]:-7,[Z]:7,[A]:-1,[X]:1,[ue]:He=>-He.getDay(),[De]:He=>-He.getDay()+6,[ft]:He=>-new Date(He.getFullYear(),He.getMonth(),0).getDate(),[En]:He=>new Date(He.getFullYear(),He.getMonth()+1,0).getDate(),offset:(He,Mt)=>He.setDate(He.getDate()+Mt)}},gt=_.value.toDate();for(;Math.abs(_.value.diff(gt,"year",!0))<1;){const He=et[V.value];if(!He)return;if(He.offset(gt,rt(He[G])?He[G](gt):(ve=He[G])!=null?ve:0),h&&h(gt))break;const Mt=pe(gt).locale(c.value);_.value=Mt,t("pick",Mt,!0);break}},Qt=G=>{t("panel-change",_.value.toDate(),G,S.value)};return n.watch(()=>E.value,G=>{if(["month","year"].includes(G)){S.value=G;return}else if(G==="years"){S.value="year";return}else if(G==="months"){S.value="month";return}S.value="date"},{immediate:!0}),n.watch(()=>S.value,()=>{f==null||f.updatePopper()}),n.watch(()=>y.value,G=>{G&&(_.value=tt())},{immediate:!0}),n.watch(()=>r.parsedValue,G=>{if(G){if(B.value||we(G))return;_.value=G}else _.value=tt()},{immediate:!0}),t("set-picker-option",["isValidValue",D]),t("set-picker-option",["formatToString",U]),t("set-picker-option",["parseUserInput",ke]),t("set-picker-option",["handleFocusPicker",qe]),(G,ve)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([n.unref(a).b(),n.unref(i).b(),{"has-sidebar":G.$slots.sidebar||n.unref(F),"has-time":n.unref(J)}])},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(a).e("body-wrapper"))},[n.renderSlot(G.$slots,"sidebar",{class:n.normalizeClass(n.unref(a).e("sidebar"))}),n.unref(F)?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(a).e("sidebar"))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(p),(L,Z)=>(n.openBlock(),n.createElementBlock("button",{key:Z,type:"button",class:n.normalizeClass(n.unref(a).e("shortcut")),onClick:A=>k(L)},n.toDisplayString(L.text),11,["onClick"]))),128))],2)):n.createCommentVNode("v-if",!0),n.createElementVNode("div",{class:n.normalizeClass(n.unref(a).e("body"))},[n.unref(J)?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(i).e("time-header"))},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(i).e("editor-wrap"))},[n.createVNode(n.unref(Dr),{placeholder:n.unref(u)("el.datepicker.selectDate"),"model-value":n.unref(Ke),size:"small","validate-event":!1,onInput:L=>O.value=L,onChange:xe},null,8,["placeholder","model-value","onInput"])],2),n.withDirectives((n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass(n.unref(i).e("editor-wrap"))},[n.createVNode(n.unref(Dr),{placeholder:n.unref(u)("el.datepicker.selectTime"),"model-value":n.unref(Qe),size:"small","validate-event":!1,onFocus:Ze,onInput:L=>j.value=L,onChange:dt},null,8,["placeholder","model-value","onInput"]),n.createVNode(n.unref(rp),{visible:Ie.value,format:n.unref(Ce),"parsed-value":_.value,onPick:$e},null,8,["visible","format","parsed-value"])],2)),[[n.unref(bu),Ne]])],2)):n.createCommentVNode("v-if",!0),n.withDirectives(n.createElementVNode("div",{class:n.normalizeClass([n.unref(i).e("header"),(S.value==="year"||S.value==="month")&&n.unref(i).e("header--bordered")])},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(i).e("prev-btn"))},[n.createElementVNode("button",{type:"button","aria-label":n.unref(u)("el.datepicker.prevYear"),class:n.normalizeClass(["d-arrow-left",n.unref(a).e("icon-btn")]),onClick:L=>C(!1)},[n.renderSlot(G.$slots,"prev-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Ao))]),_:1})])],10,["aria-label","onClick"]),n.withDirectives(n.createElementVNode("button",{type:"button","aria-label":n.unref(u)("el.datepicker.prevMonth"),class:n.normalizeClass([n.unref(a).e("icon-btn"),"arrow-left"]),onClick:L=>z(!1)},[n.renderSlot(G.$slots,"prev-month",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(ii))]),_:1})])],10,["aria-label","onClick"]),[[n.vShow,S.value==="date"]])],2),n.createElementVNode("span",{role:"button",class:n.normalizeClass(n.unref(i).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:n.withKeys(L=>ee("year"),["enter"]),onClick:L=>ee("year")},n.toDisplayString(n.unref(I)),43,["onKeydown","onClick"]),n.withDirectives(n.createElementVNode("span",{role:"button","aria-live":"polite",tabindex:"0",class:n.normalizeClass([n.unref(i).e("header-label"),{active:S.value==="month"}]),onKeydown:n.withKeys(L=>ee("month"),["enter"]),onClick:L=>ee("month")},n.toDisplayString(n.unref(u)(`el.datepicker.month${n.unref(w)+1}`)),43,["onKeydown","onClick"]),[[n.vShow,S.value==="date"]]),n.createElementVNode("span",{class:n.normalizeClass(n.unref(i).e("next-btn"))},[n.withDirectives(n.createElementVNode("button",{type:"button","aria-label":n.unref(u)("el.datepicker.nextMonth"),class:n.normalizeClass([n.unref(a).e("icon-btn"),"arrow-right"]),onClick:L=>z(!0)},[n.renderSlot(G.$slots,"next-month",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Co))]),_:1})])],10,["aria-label","onClick"]),[[n.vShow,S.value==="date"]]),n.createElementVNode("button",{type:"button","aria-label":n.unref(u)("el.datepicker.nextYear"),class:n.normalizeClass([n.unref(a).e("icon-btn"),"d-arrow-right"]),onClick:L=>C(!0)},[n.renderSlot(G.$slots,"next-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(zo))]),_:1})])],10,["aria-label","onClick"])],2)],2),[[n.vShow,S.value!=="time"]]),n.createElementVNode("div",{class:n.normalizeClass(n.unref(a).e("content")),onKeydown:At},[S.value==="date"?(n.openBlock(),n.createBlock(lp,{key:0,ref_key:"currentViewRef",ref:v,"selection-mode":n.unref(E),date:_.value,"parsed-value":G.parsedValue,"disabled-date":n.unref(h),"cell-class-name":n.unref(m),onPick:Q},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):n.createCommentVNode("v-if",!0),S.value==="year"?(n.openBlock(),n.createBlock(up,{key:1,ref_key:"currentViewRef",ref:v,"selection-mode":n.unref(E),date:_.value,"disabled-date":n.unref(h),"parsed-value":G.parsedValue,onPick:Y},null,8,["selection-mode","date","disabled-date","parsed-value"])):n.createCommentVNode("v-if",!0),S.value==="month"?(n.openBlock(),n.createBlock(sp,{key:2,ref_key:"currentViewRef",ref:v,"selection-mode":n.unref(E),date:_.value,"parsed-value":G.parsedValue,"disabled-date":n.unref(h),onPick:q},null,8,["selection-mode","date","parsed-value","disabled-date"])):n.createCommentVNode("v-if",!0)],34)],2)],2),n.withDirectives(n.createElementVNode("div",{class:n.normalizeClass(n.unref(a).e("footer"))},[n.withDirectives(n.createVNode(n.unref(fi),{text:"",size:"small",class:n.normalizeClass(n.unref(a).e("link-btn")),disabled:n.unref(he),onClick:Ee},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(u)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[n.vShow,!n.unref(B)&&G.showNow]]),n.createVNode(n.unref(fi),{plain:"",size:"small",class:n.normalizeClass(n.unref(a).e("link-btn")),disabled:n.unref(se),onClick:ce},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(u)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[n.vShow,n.unref(te)]])],2))}});var $W=me(VW,[["__file","panel-date-pick.vue"]]);const PW=le({...OM,...um,visible:Boolean}),jM=e=>{const{emit:t}=n.getCurrentInstance(),r=n.useAttrs(),o=n.useSlots();return i=>{const l=rt(i.value)?i.value():i.value;if(l){t("pick",[pe(l[0]).locale(e.value),pe(l[1]).locale(e.value)]);return}i.onClick&&i.onClick({attrs:r,slots:o,emit:t})}},LM=(e,{defaultValue:t,leftDate:r,rightDate:o,unit:a,onParsedValueChanged:i})=>{const{emit:l}=n.getCurrentInstance(),{pickerNs:s}=n.inject(Qc),u=ie("date-range-picker"),{t:c,lang:d}=ht(),f=jM(d),p=n.ref(),h=n.ref(),m=n.ref({endDate:null,selecting:!1}),g=M=>{m.value=M},y=(M=!1)=>{const N=n.unref(p),w=n.unref(h);pi([N,w])&&l("pick",[N,w],M)},v=M=>{m.value.selecting=M,M||(m.value.endDate=null)},_=M=>{if(we(M)&&M.length===2){const[N,w]=M;p.value=N,r.value=N,h.value=w,i(n.unref(p),n.unref(h))}else b()},b=()=>{const[M,N]=dm(n.unref(t),{lang:n.unref(d),unit:a,unlinkPanels:e.unlinkPanels});p.value=void 0,h.value=void 0,r.value=M,o.value=N};return n.watch(t,M=>{M&&b()},{immediate:!0}),n.watch(()=>e.parsedValue,_,{immediate:!0}),{minDate:p,maxDate:h,rangeState:m,lang:d,ppNs:s,drpNs:u,handleChangeRange:g,handleRangeConfirm:y,handleShortcutClick:f,onSelect:v,onReset:_,t:c}},Es="month",RW=n.defineComponent({__name:"panel-date-range",props:PW,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:t}){const r=e,o=n.inject("EP_PICKER_BASE"),{disabledDate:a,cellClassName:i,defaultTime:l,clearable:s}=o.props,u=n.toRef(o.props,"format"),c=n.toRef(o.props,"shortcuts"),d=n.toRef(o.props,"defaultValue"),{lang:f}=ht(),p=n.ref(pe().locale(f.value)),h=n.ref(pe().locale(f.value).add(1,Es)),{minDate:m,maxDate:g,rangeState:y,ppNs:v,drpNs:_,handleChangeRange:b,handleRangeConfirm:M,handleShortcutClick:N,onSelect:w,onReset:x,t:T}=LM(r,{defaultValue:d,leftDate:p,rightDate:h,unit:Es,onParsedValueChanged:ve});n.watch(()=>r.visible,L=>{!L&&y.value.selecting&&(x(r.parsedValue),w(!1))});const O=n.ref({min:null,max:null}),j=n.ref({min:null,max:null}),P=n.computed(()=>`${p.value.year()} ${T("el.datepicker.year")} ${T(`el.datepicker.month${p.value.month()+1}`)}`),R=n.computed(()=>`${h.value.year()} ${T("el.datepicker.year")} ${T(`el.datepicker.month${h.value.month()+1}`)}`),$=n.computed(()=>p.value.year()),Q=n.computed(()=>p.value.month()),z=n.computed(()=>h.value.year()),C=n.computed(()=>h.value.month()),S=n.computed(()=>!!c.value.length),I=n.computed(()=>O.value.min!==null?O.value.min:m.value?m.value.format(F.value):""),k=n.computed(()=>O.value.max!==null?O.value.max:g.value||m.value?(g.value||m.value).format(F.value):""),E=n.computed(()=>j.value.min!==null?j.value.min:m.value?m.value.format(V.value):""),B=n.computed(()=>j.value.max!==null?j.value.max:g.value||m.value?(g.value||m.value).format(V.value):""),V=n.computed(()=>r.timeFormat||cM(u.value)),F=n.computed(()=>r.dateFormat||uM(u.value)),q=L=>pi(L)&&(a?!a(L[0].toDate())&&!a(L[1].toDate()):!0),Y=()=>{p.value=p.value.subtract(1,"year"),r.unlinkPanels||(h.value=p.value.add(1,"month")),Ce("year")},ee=()=>{p.value=p.value.subtract(1,"month"),r.unlinkPanels||(h.value=p.value.add(1,"month")),Ce("month")},J=()=>{r.unlinkPanels?h.value=h.value.add(1,"year"):(p.value=p.value.add(1,"year"),h.value=p.value.add(1,"month")),Ce("year")},te=()=>{r.unlinkPanels?h.value=h.value.add(1,"month"):(p.value=p.value.add(1,"month"),h.value=p.value.add(1,"month")),Ce("month")},se=()=>{p.value=p.value.add(1,"year"),Ce("year")},ce=()=>{p.value=p.value.add(1,"month"),Ce("month")},he=()=>{h.value=h.value.subtract(1,"year"),Ce("year")},Ee=()=>{h.value=h.value.subtract(1,"month"),Ce("month")},Ce=L=>{t("panel-change",[p.value.toDate(),h.value.toDate()],L)},Be=n.computed(()=>{const L=(Q.value+1)%12,Z=Q.value+1>=12?1:0;return r.unlinkPanels&&new Date($.value+Z,L)<new Date(z.value,C.value)}),Qe=n.computed(()=>r.unlinkPanels&&z.value*12+C.value-($.value*12+Q.value+1)>=12),Ke=n.computed(()=>!(m.value&&g.value&&!y.value.selecting&&pi([m.value,g.value]))),Ie=n.computed(()=>r.type==="datetime"||r.type==="datetimerange"),Ze=(L,Z)=>{if(L)return l?pe(l[Z]||l).locale(f.value).year(L.year()).month(L.month()).date(L.date()):L},Ne=(L,Z=!0)=>{const A=L.minDate,X=L.maxDate,ue=Ze(A,0),De=Ze(X,1);g.value===De&&m.value===ue||(t("calendar-change",[A.toDate(),X&&X.toDate()]),g.value=De,m.value=ue,!(!Z||Ie.value)&&M())},Se=n.ref(!1),$e=n.ref(!1),dt=()=>{Se.value=!1},xe=()=>{$e.value=!1},D=(L,Z)=>{O.value[Z]=L;const A=pe(L,F.value).locale(f.value);if(A.isValid()){if(a&&a(A.toDate()))return;Z==="min"?(p.value=A,m.value=(m.value||p.value).year(A.year()).month(A.month()).date(A.date()),!r.unlinkPanels&&(!g.value||g.value.isBefore(m.value))&&(h.value=A.add(1,"month"),g.value=m.value.add(1,"month"))):(h.value=A,g.value=(g.value||h.value).year(A.year()).month(A.month()).date(A.date()),!r.unlinkPanels&&(!m.value||m.value.isAfter(g.value))&&(p.value=A.subtract(1,"month"),m.value=g.value.subtract(1,"month")))}},U=(L,Z)=>{O.value[Z]=null},ke=(L,Z)=>{j.value[Z]=L;const A=pe(L,V.value).locale(f.value);A.isValid()&&(Z==="min"?(Se.value=!0,m.value=(m.value||p.value).hour(A.hour()).minute(A.minute()).second(A.second())):($e.value=!0,g.value=(g.value||h.value).hour(A.hour()).minute(A.minute()).second(A.second()),h.value=g.value))},tt=(L,Z)=>{j.value[Z]=null,Z==="min"?(p.value=m.value,Se.value=!1,(!g.value||g.value.isBefore(m.value))&&(g.value=m.value)):(h.value=g.value,$e.value=!1,g.value&&g.value.isBefore(m.value)&&(m.value=g.value))},qe=(L,Z,A)=>{j.value.min||(L&&(p.value=L,m.value=(m.value||p.value).hour(L.hour()).minute(L.minute()).second(L.second())),A||(Se.value=Z),(!g.value||g.value.isBefore(m.value))&&(g.value=m.value,h.value=L))},At=(L,Z,A)=>{j.value.max||(L&&(h.value=L,g.value=(g.value||h.value).hour(L.hour()).minute(L.minute()).second(L.second())),A||($e.value=Z),g.value&&g.value.isBefore(m.value)&&(m.value=g.value))},Pe=()=>{p.value=dm(n.unref(d),{lang:n.unref(f),unit:"month",unlinkPanels:r.unlinkPanels})[0],h.value=p.value.add(1,"month"),g.value=void 0,m.value=void 0,t("pick",null)},Qt=L=>we(L)?L.map(Z=>Z.format(u.value)):L.format(u.value),G=L=>we(L)?L.map(Z=>pe(Z,u.value).locale(f.value)):pe(L,u.value).locale(f.value);function ve(L,Z){if(r.unlinkPanels&&Z){const A=(L==null?void 0:L.year())||0,X=(L==null?void 0:L.month())||0,ue=Z.year(),De=Z.month();h.value=A===ue&&X===De?Z.add(1,Es):Z}else h.value=p.value.add(1,Es),Z&&(h.value=h.value.hour(Z.hour()).minute(Z.minute()).second(Z.second()))}return t("set-picker-option",["isValidValue",q]),t("set-picker-option",["parseUserInput",G]),t("set-picker-option",["formatToString",Qt]),t("set-picker-option",["handleClear",Pe]),(L,Z)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([n.unref(v).b(),n.unref(_).b(),{"has-sidebar":L.$slots.sidebar||n.unref(S),"has-time":n.unref(Ie)}])},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(v).e("body-wrapper"))},[n.renderSlot(L.$slots,"sidebar",{class:n.normalizeClass(n.unref(v).e("sidebar"))}),n.unref(S)?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(v).e("sidebar"))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(c),(A,X)=>(n.openBlock(),n.createElementBlock("button",{key:X,type:"button",class:n.normalizeClass(n.unref(v).e("shortcut")),onClick:ue=>n.unref(N)(A)},n.toDisplayString(A.text),11,["onClick"]))),128))],2)):n.createCommentVNode("v-if",!0),n.createElementVNode("div",{class:n.normalizeClass(n.unref(v).e("body"))},[n.unref(Ie)?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(_).e("time-header"))},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(_).e("editors-wrap"))},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(_).e("time-picker-wrap"))},[n.createVNode(n.unref(Dr),{size:"small",disabled:n.unref(y).selecting,placeholder:n.unref(T)("el.datepicker.startDate"),class:n.normalizeClass(n.unref(_).e("editor")),"model-value":n.unref(I),"validate-event":!1,onInput:A=>D(A,"min"),onChange:A=>U(A,"min")},null,8,["disabled","placeholder","class","model-value","onInput","onChange"])],2),n.withDirectives((n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass(n.unref(_).e("time-picker-wrap"))},[n.createVNode(n.unref(Dr),{size:"small",class:n.normalizeClass(n.unref(_).e("editor")),disabled:n.unref(y).selecting,placeholder:n.unref(T)("el.datepicker.startTime"),"model-value":n.unref(E),"validate-event":!1,onFocus:A=>Se.value=!0,onInput:A=>ke(A,"min"),onChange:A=>tt(A,"min")},null,8,["class","disabled","placeholder","model-value","onFocus","onInput","onChange"]),n.createVNode(n.unref(rp),{visible:Se.value,format:n.unref(V),"datetime-role":"start","parsed-value":p.value,onPick:qe},null,8,["visible","format","parsed-value"])],2)),[[n.unref(bu),dt]])],2),n.createElementVNode("span",null,[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Co))]),_:1})]),n.createElementVNode("span",{class:n.normalizeClass([n.unref(_).e("editors-wrap"),"is-right"])},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(_).e("time-picker-wrap"))},[n.createVNode(n.unref(Dr),{size:"small",class:n.normalizeClass(n.unref(_).e("editor")),disabled:n.unref(y).selecting,placeholder:n.unref(T)("el.datepicker.endDate"),"model-value":n.unref(k),readonly:!n.unref(m),"validate-event":!1,onInput:A=>D(A,"max"),onChange:A=>U(A,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onInput","onChange"])],2),n.withDirectives((n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass(n.unref(_).e("time-picker-wrap"))},[n.createVNode(n.unref(Dr),{size:"small",class:n.normalizeClass(n.unref(_).e("editor")),disabled:n.unref(y).selecting,placeholder:n.unref(T)("el.datepicker.endTime"),"model-value":n.unref(B),readonly:!n.unref(m),"validate-event":!1,onFocus:A=>n.unref(m)&&($e.value=!0),onInput:A=>ke(A,"max"),onChange:A=>tt(A,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onFocus","onInput","onChange"]),n.createVNode(n.unref(rp),{"datetime-role":"end",visible:$e.value,format:n.unref(V),"parsed-value":h.value,onPick:At},null,8,["visible","format","parsed-value"])],2)),[[n.unref(bu),xe]])],2)],2)):n.createCommentVNode("v-if",!0),n.createElementVNode("div",{class:n.normalizeClass([[n.unref(v).e("content"),n.unref(_).e("content")],"is-left"])},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(_).e("header"))},[n.createElementVNode("button",{type:"button",class:n.normalizeClass([n.unref(v).e("icon-btn"),"d-arrow-left"]),"aria-label":n.unref(T)("el.datepicker.prevYear"),onClick:Y},[n.renderSlot(L.$slots,"prev-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Ao))]),_:1})])],10,["aria-label"]),n.createElementVNode("button",{type:"button",class:n.normalizeClass([n.unref(v).e("icon-btn"),"arrow-left"]),"aria-label":n.unref(T)("el.datepicker.prevMonth"),onClick:ee},[n.renderSlot(L.$slots,"prev-month",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(ii))]),_:1})])],10,["aria-label"]),L.unlinkPanels?(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",disabled:!n.unref(Qe),class:n.normalizeClass([[n.unref(v).e("icon-btn"),{"is-disabled":!n.unref(Qe)}],"d-arrow-right"]),"aria-label":n.unref(T)("el.datepicker.nextYear"),onClick:se},[n.renderSlot(L.$slots,"next-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(zo))]),_:1})])],10,["disabled","aria-label"])):n.createCommentVNode("v-if",!0),L.unlinkPanels?(n.openBlock(),n.createElementBlock("button",{key:1,type:"button",disabled:!n.unref(Be),class:n.normalizeClass([[n.unref(v).e("icon-btn"),{"is-disabled":!n.unref(Be)}],"arrow-right"]),"aria-label":n.unref(T)("el.datepicker.nextMonth"),onClick:ce},[n.renderSlot(L.$slots,"next-month",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Co))]),_:1})])],10,["disabled","aria-label"])):n.createCommentVNode("v-if",!0),n.createElementVNode("div",null,n.toDisplayString(n.unref(P)),1)],2),n.createVNode(lp,{"selection-mode":"range",date:p.value,"min-date":n.unref(m),"max-date":n.unref(g),"range-state":n.unref(y),"disabled-date":n.unref(a),"cell-class-name":n.unref(i),onChangerange:n.unref(b),onPick:Ne,onSelect:n.unref(w)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),n.createElementVNode("div",{class:n.normalizeClass([[n.unref(v).e("content"),n.unref(_).e("content")],"is-right"])},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(_).e("header"))},[L.unlinkPanels?(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",disabled:!n.unref(Qe),class:n.normalizeClass([[n.unref(v).e("icon-btn"),{"is-disabled":!n.unref(Qe)}],"d-arrow-left"]),"aria-label":n.unref(T)("el.datepicker.prevYear"),onClick:he},[n.renderSlot(L.$slots,"prev-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Ao))]),_:1})])],10,["disabled","aria-label"])):n.createCommentVNode("v-if",!0),L.unlinkPanels?(n.openBlock(),n.createElementBlock("button",{key:1,type:"button",disabled:!n.unref(Be),class:n.normalizeClass([[n.unref(v).e("icon-btn"),{"is-disabled":!n.unref(Be)}],"arrow-left"]),"aria-label":n.unref(T)("el.datepicker.prevMonth"),onClick:Ee},[n.renderSlot(L.$slots,"prev-month",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(ii))]),_:1})])],10,["disabled","aria-label"])):n.createCommentVNode("v-if",!0),n.createElementVNode("button",{type:"button","aria-label":n.unref(T)("el.datepicker.nextYear"),class:n.normalizeClass([n.unref(v).e("icon-btn"),"d-arrow-right"]),onClick:J},[n.renderSlot(L.$slots,"next-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(zo))]),_:1})])],10,["aria-label"]),n.createElementVNode("button",{type:"button",class:n.normalizeClass([n.unref(v).e("icon-btn"),"arrow-right"]),"aria-label":n.unref(T)("el.datepicker.nextMonth"),onClick:te},[n.renderSlot(L.$slots,"next-month",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Co))]),_:1})])],10,["aria-label"]),n.createElementVNode("div",null,n.toDisplayString(n.unref(R)),1)],2),n.createVNode(lp,{"selection-mode":"range",date:h.value,"min-date":n.unref(m),"max-date":n.unref(g),"range-state":n.unref(y),"disabled-date":n.unref(a),"cell-class-name":n.unref(i),onChangerange:n.unref(b),onPick:Ne,onSelect:n.unref(w)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),n.unref(Ie)?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(v).e("footer"))},[n.unref(s)?(n.openBlock(),n.createBlock(n.unref(fi),{key:0,text:"",size:"small",class:n.normalizeClass(n.unref(v).e("link-btn")),onClick:Pe},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(T)("el.datepicker.clear")),1)]),_:1},8,["class"])):n.createCommentVNode("v-if",!0),n.createVNode(n.unref(fi),{plain:"",size:"small",class:n.normalizeClass(n.unref(v).e("link-btn")),disabled:n.unref(Ke),onClick:A=>n.unref(M)(!1)},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(n.unref(T)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled","onClick"])],2)):n.createCommentVNode("v-if",!0)],2))}});var FW=me(RW,[["__file","panel-date-range.vue"]]);const UW=le({...um}),HW=["pick","set-picker-option","calendar-change"],YW=({unlinkPanels:e,leftDate:t,rightDate:r})=>{const{t:o}=ht(),a=()=>{t.value=t.value.subtract(1,"year"),e.value||(r.value=r.value.subtract(1,"year"))},i=()=>{e.value||(t.value=t.value.add(1,"year")),r.value=r.value.add(1,"year")},l=()=>{t.value=t.value.add(1,"year")},s=()=>{r.value=r.value.subtract(1,"year")},u=n.computed(()=>`${t.value.year()} ${o("el.datepicker.year")}`),c=n.computed(()=>`${r.value.year()} ${o("el.datepicker.year")}`),d=n.computed(()=>t.value.year()),f=n.computed(()=>r.value.year()===t.value.year()?t.value.year()+1:r.value.year());return{leftPrevYear:a,rightNextYear:i,leftNextYear:l,rightPrevYear:s,leftLabel:u,rightLabel:c,leftYear:d,rightYear:f}},Ts="year",QW=n.defineComponent({name:"DatePickerMonthRange"}),qW=n.defineComponent({...QW,props:UW,emits:HW,setup(e,{emit:t}){const r=e,{lang:o}=ht(),a=n.inject("EP_PICKER_BASE"),{shortcuts:i,disabledDate:l}=a.props,s=n.toRef(a.props,"format"),u=n.toRef(a.props,"defaultValue"),c=n.ref(pe().locale(o.value)),d=n.ref(pe().locale(o.value).add(1,Ts)),{minDate:f,maxDate:p,rangeState:h,ppNs:m,drpNs:g,handleChangeRange:y,handleRangeConfirm:v,handleShortcutClick:_,onSelect:b}=LM(r,{defaultValue:u,leftDate:c,rightDate:d,unit:Ts,onParsedValueChanged:I}),M=n.computed(()=>!!i.length),{leftPrevYear:N,rightNextYear:w,leftNextYear:x,rightPrevYear:T,leftLabel:O,rightLabel:j,leftYear:P,rightYear:R}=YW({unlinkPanels:n.toRef(r,"unlinkPanels"),leftDate:c,rightDate:d}),$=n.computed(()=>r.unlinkPanels&&R.value>P.value+1),Q=(k,E=!0)=>{const B=k.minDate,V=k.maxDate;p.value===V&&f.value===B||(t("calendar-change",[B.toDate(),V&&V.toDate()]),p.value=V,f.value=B,E&&v())},z=()=>{c.value=dm(n.unref(u),{lang:n.unref(o),unit:"year",unlinkPanels:r.unlinkPanels})[0],d.value=c.value.add(1,"year"),t("pick",null)},C=k=>we(k)?k.map(E=>E.format(s.value)):k.format(s.value),S=k=>we(k)?k.map(E=>pe(E,s.value).locale(o.value)):pe(k,s.value).locale(o.value);function I(k,E){if(r.unlinkPanels&&E){const B=(k==null?void 0:k.year())||0,V=E.year();d.value=B===V?E.add(1,Ts):E}else d.value=c.value.add(1,Ts)}return t("set-picker-option",["isValidValue",pi]),t("set-picker-option",["formatToString",C]),t("set-picker-option",["parseUserInput",S]),t("set-picker-option",["handleClear",z]),(k,E)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([n.unref(m).b(),n.unref(g).b(),{"has-sidebar":!!k.$slots.sidebar||n.unref(M)}])},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(m).e("body-wrapper"))},[n.renderSlot(k.$slots,"sidebar",{class:n.normalizeClass(n.unref(m).e("sidebar"))}),n.unref(M)?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(m).e("sidebar"))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(i),(B,V)=>(n.openBlock(),n.createElementBlock("button",{key:V,type:"button",class:n.normalizeClass(n.unref(m).e("shortcut")),onClick:F=>n.unref(_)(B)},n.toDisplayString(B.text),11,["onClick"]))),128))],2)):n.createCommentVNode("v-if",!0),n.createElementVNode("div",{class:n.normalizeClass(n.unref(m).e("body"))},[n.createElementVNode("div",{class:n.normalizeClass([[n.unref(m).e("content"),n.unref(g).e("content")],"is-left"])},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(g).e("header"))},[n.createElementVNode("button",{type:"button",class:n.normalizeClass([n.unref(m).e("icon-btn"),"d-arrow-left"]),onClick:n.unref(N)},[n.renderSlot(k.$slots,"prev-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Ao))]),_:1})])],10,["onClick"]),k.unlinkPanels?(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",disabled:!n.unref($),class:n.normalizeClass([[n.unref(m).e("icon-btn"),{[n.unref(m).is("disabled")]:!n.unref($)}],"d-arrow-right"]),onClick:n.unref(x)},[n.renderSlot(k.$slots,"next-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(zo))]),_:1})])],10,["disabled","onClick"])):n.createCommentVNode("v-if",!0),n.createElementVNode("div",null,n.toDisplayString(n.unref(O)),1)],2),n.createVNode(sp,{"selection-mode":"range",date:c.value,"min-date":n.unref(f),"max-date":n.unref(p),"range-state":n.unref(h),"disabled-date":n.unref(l),onChangerange:n.unref(y),onPick:Q,onSelect:n.unref(b)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),n.createElementVNode("div",{class:n.normalizeClass([[n.unref(m).e("content"),n.unref(g).e("content")],"is-right"])},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(g).e("header"))},[k.unlinkPanels?(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",disabled:!n.unref($),class:n.normalizeClass([[n.unref(m).e("icon-btn"),{"is-disabled":!n.unref($)}],"d-arrow-left"]),onClick:n.unref(T)},[n.renderSlot(k.$slots,"prev-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Ao))]),_:1})])],10,["disabled","onClick"])):n.createCommentVNode("v-if",!0),n.createElementVNode("button",{type:"button",class:n.normalizeClass([n.unref(m).e("icon-btn"),"d-arrow-right"]),onClick:n.unref(w)},[n.renderSlot(k.$slots,"next-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(zo))]),_:1})])],10,["onClick"]),n.createElementVNode("div",null,n.toDisplayString(n.unref(j)),1)],2),n.createVNode(sp,{"selection-mode":"range",date:d.value,"min-date":n.unref(f),"max-date":n.unref(p),"range-state":n.unref(h),"disabled-date":n.unref(l),onChangerange:n.unref(y),onPick:Q,onSelect:n.unref(b)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var WW=me(qW,[["__file","panel-month-range.vue"]]);const GW=le({...um}),KW=["pick","set-picker-option","calendar-change"],ZW=({unlinkPanels:e,leftDate:t,rightDate:r})=>{const o=()=>{t.value=t.value.subtract(10,"year"),e.value||(r.value=r.value.subtract(10,"year"))},a=()=>{e.value||(t.value=t.value.add(10,"year")),r.value=r.value.add(10,"year")},i=()=>{t.value=t.value.add(10,"year")},l=()=>{r.value=r.value.subtract(10,"year")},s=n.computed(()=>{const f=Math.floor(t.value.year()/10)*10;return`${f}-${f+9}`}),u=n.computed(()=>{const f=Math.floor(r.value.year()/10)*10;return`${f}-${f+9}`}),c=n.computed(()=>Math.floor(t.value.year()/10)*10+9),d=n.computed(()=>Math.floor(r.value.year()/10)*10);return{leftPrevYear:o,rightNextYear:a,leftNextYear:i,rightPrevYear:l,leftLabel:s,rightLabel:u,leftYear:c,rightYear:d}},b1="year",JW=n.defineComponent({name:"DatePickerYearRange"}),XW=n.defineComponent({...JW,props:GW,emits:KW,setup(e,{emit:t}){const r=e,{lang:o}=ht(),a=n.ref(pe().locale(o.value)),i=n.ref(a.value.add(10,"year")),{pickerNs:l}=n.inject(Qc),s=ie("date-range-picker"),u=n.computed(()=>!!Q.length),c=n.computed(()=>[l.b(),s.b(),{"has-sidebar":!!n.useSlots().sidebar||u.value}]),d=n.computed(()=>({content:[l.e("content"),s.e("content"),"is-left"],arrowLeftBtn:[l.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[l.e("icon-btn"),{[l.is("disabled")]:!N.value},"d-arrow-right"]})),f=n.computed(()=>({content:[l.e("content"),s.e("content"),"is-right"],arrowLeftBtn:[l.e("icon-btn"),{"is-disabled":!N.value},"d-arrow-left"],arrowRightBtn:[l.e("icon-btn"),"d-arrow-right"]})),p=jM(o),{leftPrevYear:h,rightNextYear:m,leftNextYear:g,rightPrevYear:y,leftLabel:v,rightLabel:_,leftYear:b,rightYear:M}=ZW({unlinkPanels:n.toRef(r,"unlinkPanels"),leftDate:a,rightDate:i}),N=n.computed(()=>r.unlinkPanels&&M.value>b.value+1),w=n.ref(),x=n.ref(),T=n.ref({endDate:null,selecting:!1}),O=F=>{T.value=F},j=(F,q=!0)=>{const Y=F.minDate,ee=F.maxDate;x.value===ee&&w.value===Y||(t("calendar-change",[Y.toDate(),ee&&ee.toDate()]),x.value=ee,w.value=Y,q&&P())},P=(F=!1)=>{pi([w.value,x.value])&&t("pick",[w.value,x.value],F)},R=F=>{T.value.selecting=F,F||(T.value.endDate=null)},$=n.inject("EP_PICKER_BASE"),{shortcuts:Q,disabledDate:z}=$.props,C=n.toRef($.props,"format"),S=n.toRef($.props,"defaultValue"),I=()=>{let F;if(we(S.value)){const q=pe(S.value[0]);let Y=pe(S.value[1]);return r.unlinkPanels||(Y=q.add(10,b1)),[q,Y]}else S.value?F=pe(S.value):F=pe();return F=F.locale(o.value),[F,F.add(10,b1)]};n.watch(()=>S.value,F=>{if(F){const q=I();a.value=q[0],i.value=q[1]}},{immediate:!0}),n.watch(()=>r.parsedValue,F=>{if(F&&F.length===2)if(w.value=F[0],x.value=F[1],a.value=w.value,r.unlinkPanels&&x.value){const q=w.value.year(),Y=x.value.year();i.value=q===Y?x.value.add(10,"year"):x.value}else i.value=a.value.add(10,"year");else{const q=I();w.value=void 0,x.value=void 0,a.value=q[0],i.value=q[1]}},{immediate:!0});const k=F=>we(F)?F.map(q=>pe(q,C.value).locale(o.value)):pe(F,C.value).locale(o.value),E=F=>we(F)?F.map(q=>q.format(C.value)):F.format(C.value),B=F=>pi(F)&&(z?!z(F[0].toDate())&&!z(F[1].toDate()):!0),V=()=>{const F=I();a.value=F[0],i.value=F[1],x.value=void 0,w.value=void 0,t("pick",null)};return t("set-picker-option",["isValidValue",B]),t("set-picker-option",["parseUserInput",k]),t("set-picker-option",["formatToString",E]),t("set-picker-option",["handleClear",V]),(F,q)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(c))},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(l).e("body-wrapper"))},[n.renderSlot(F.$slots,"sidebar",{class:n.normalizeClass(n.unref(l).e("sidebar"))}),n.unref(u)?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(l).e("sidebar"))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(Q),(Y,ee)=>(n.openBlock(),n.createElementBlock("button",{key:ee,type:"button",class:n.normalizeClass(n.unref(l).e("shortcut")),onClick:J=>n.unref(p)(Y)},n.toDisplayString(Y.text),11,["onClick"]))),128))],2)):n.createCommentVNode("v-if",!0),n.createElementVNode("div",{class:n.normalizeClass(n.unref(l).e("body"))},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(d).content)},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(s).e("header"))},[n.createElementVNode("button",{type:"button",class:n.normalizeClass(n.unref(d).arrowLeftBtn),onClick:n.unref(h)},[n.renderSlot(F.$slots,"prev-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Ao))]),_:1})])],10,["onClick"]),F.unlinkPanels?(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",disabled:!n.unref(N),class:n.normalizeClass(n.unref(d).arrowRightBtn),onClick:n.unref(g)},[n.renderSlot(F.$slots,"next-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(zo))]),_:1})])],10,["disabled","onClick"])):n.createCommentVNode("v-if",!0),n.createElementVNode("div",null,n.toDisplayString(n.unref(v)),1)],2),n.createVNode(up,{"selection-mode":"range",date:a.value,"min-date":w.value,"max-date":x.value,"range-state":T.value,"disabled-date":n.unref(z),onChangerange:O,onPick:j,onSelect:R},null,8,["date","min-date","max-date","range-state","disabled-date"])],2),n.createElementVNode("div",{class:n.normalizeClass(n.unref(f).content)},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(s).e("header"))},[F.unlinkPanels?(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",disabled:!n.unref(N),class:n.normalizeClass(n.unref(f).arrowLeftBtn),onClick:n.unref(y)},[n.renderSlot(F.$slots,"prev-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Ao))]),_:1})])],10,["disabled","onClick"])):n.createCommentVNode("v-if",!0),n.createElementVNode("button",{type:"button",class:n.normalizeClass(n.unref(f).arrowRightBtn),onClick:n.unref(m)},[n.renderSlot(F.$slots,"next-year",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(zo))]),_:1})])],10,["onClick"]),n.createElementVNode("div",null,n.toDisplayString(n.unref(_)),1)],2),n.createVNode(up,{"selection-mode":"range",date:i.value,"min-date":w.value,"max-date":x.value,"range-state":T.value,"disabled-date":n.unref(z),onChangerange:O,onPick:j,onSelect:R},null,8,["date","min-date","max-date","range-state","disabled-date"])],2)],2)],2)],2))}});var eG=me(XW,[["__file","panel-year-range.vue"]]);const tG=function(e){switch(e){case"daterange":case"datetimerange":return FW;case"monthrange":return WW;case"yearrange":return eG;default:return $W}};pe.extend(fq);pe.extend(pW);pe.extend(lM);pe.extend(hW);pe.extend(vW);pe.extend(MW);pe.extend(bW);pe.extend(wW);var nG=n.defineComponent({name:"ElDatePicker",install:null,props:kW,emits:["update:modelValue"],setup(e,{expose:t,emit:r,slots:o}){const a=ie("picker-panel");n.provide("ElPopperOptions",n.reactive(n.toRef(e,"popperOptions"))),n.provide(Qc,{slots:o,pickerNs:a});const i=n.ref();t({focus:()=>{var u;(u=i.value)==null||u.focus()},blur:()=>{var u;(u=i.value)==null||u.blur()},handleOpen:()=>{var u;(u=i.value)==null||u.handleOpen()},handleClose:()=>{var u;(u=i.value)==null||u.handleClose()}});const s=u=>{r("update:modelValue",u)};return()=>{var u;const c=(u=e.format)!=null?u:QQ[e.type]||Ra,d=tG(e.type);return n.createVNode(eq,n.mergeProps(e,{format:c,type:e.type,ref:i,"onUpdate:modelValue":s}),{default:f=>n.createVNode(d,f,{"prev-month":o["prev-month"],"next-month":o["next-month"],"prev-year":o["prev-year"],"next-year":o["next-year"]}),"range-separator":o["range-separator"]})}}});const rG=Xe(nG),oG=le({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:K([String,Array,Object])},zIndex:{type:K([String,Number])}}),aG={click:e=>e instanceof MouseEvent},iG="overlay";var lG=n.defineComponent({name:"ElOverlay",props:oG,emits:aG,setup(e,{slots:t,emit:r}){const o=ie(iG),a=u=>{r("click",u)},{onClick:i,onMousedown:l,onMouseup:s}=zy(e.customMaskEvent?void 0:a);return()=>e.mask?n.createVNode("div",{class:[o.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:i,onMousedown:l,onMouseup:s},[n.renderSlot(t,"default")],qs.STYLE|qs.CLASS|qs.PROPS,["onClick","onMouseup","onMousedown"]):n.h("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[n.renderSlot(t,"default")])}});const sG=lG,BM=Symbol("dialogInjectionKey"),VM=le({center:Boolean,alignCenter:Boolean,closeIcon:{type:Ut},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),uG={close:()=>!0},cG=n.defineComponent({name:"ElDialogContent"}),dG=n.defineComponent({...cG,props:VM,emits:uG,setup(e,{expose:t}){const r=e,{t:o}=ht(),{Close:a}=tF,{dialogRef:i,headerRef:l,bodyId:s,ns:u,style:c}=n.inject(BM),{focusTrapRef:d}=n.inject(om),f=n.computed(()=>[u.b(),u.is("fullscreen",r.fullscreen),u.is("draggable",r.draggable),u.is("align-center",r.alignCenter),{[u.m("center")]:r.center}]),p=F0(d,i),h=n.computed(()=>r.draggable),m=n.computed(()=>r.overflow),{resetPosition:g}=uF(i,l,h,m);return t({resetPosition:g}),(y,v)=>(n.openBlock(),n.createElementBlock("div",{ref:n.unref(p),class:n.normalizeClass(n.unref(f)),style:n.normalizeStyle(n.unref(c)),tabindex:"-1"},[n.createElementVNode("header",{ref_key:"headerRef",ref:l,class:n.normalizeClass([n.unref(u).e("header"),{"show-close":y.showClose}])},[n.renderSlot(y.$slots,"header",{},()=>[n.createElementVNode("span",{role:"heading","aria-level":y.ariaLevel,class:n.normalizeClass(n.unref(u).e("title"))},n.toDisplayString(y.title),11,["aria-level"])]),y.showClose?(n.openBlock(),n.createElementBlock("button",{key:0,"aria-label":n.unref(o)("el.dialog.close"),class:n.normalizeClass(n.unref(u).e("headerbtn")),type:"button",onClick:_=>y.$emit("close")},[n.createVNode(n.unref(de),{class:n.normalizeClass(n.unref(u).e("close"))},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(y.closeIcon||n.unref(a))))]),_:1},8,["class"])],10,["aria-label","onClick"])):n.createCommentVNode("v-if",!0)],2),n.createElementVNode("div",{id:n.unref(s),class:n.normalizeClass(n.unref(u).e("body"))},[n.renderSlot(y.$slots,"default")],10,["id"]),y.$slots.footer?(n.openBlock(),n.createElementBlock("footer",{key:0,class:n.normalizeClass(n.unref(u).e("footer"))},[n.renderSlot(y.$slots,"footer")],2)):n.createCommentVNode("v-if",!0)],6))}});var fG=me(dG,[["__file","dialog-content.vue"]]);const pG=le({...VM,appendToBody:Boolean,appendTo:{type:K([String,Object]),default:"body"},beforeClose:{type:K(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"}}),mG={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[je]:e=>Gt(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},hG=(e,t)=>{var r;const a=n.getCurrentInstance().emit,{nextZIndex:i}=Rc();let l="";const s=Lr(),u=Lr(),c=n.ref(!1),d=n.ref(!1),f=n.ref(!1),p=n.ref((r=e.zIndex)!=null?r:i());let h,m;const g=Uc("namespace",nl),y=n.computed(()=>{const z={},C=`--${g.value}-dialog`;return e.fullscreen||(e.top&&(z[`${C}-margin-top`]=e.top),e.width&&(z[`${C}-width`]=fr(e.width))),z}),v=n.computed(()=>e.alignCenter?{display:"flex"}:{});function _(){a("opened")}function b(){a("closed"),a(je,!1),e.destroyOnClose&&(f.value=!1)}function M(){a("close")}function N(){m==null||m(),h==null||h(),e.openDelay&&e.openDelay>0?{stop:h}=Fh(()=>O(),e.openDelay):O()}function w(){h==null||h(),m==null||m(),e.closeDelay&&e.closeDelay>0?{stop:m}=Fh(()=>j(),e.closeDelay):j()}function x(){function z(C){C||(d.value=!0,c.value=!1)}e.beforeClose?e.beforeClose(z):w()}function T(){e.closeOnClickModal&&x()}function O(){We&&(c.value=!0)}function j(){c.value=!1}function P(){a("openAutoFocus")}function R(){a("closeAutoFocus")}function $(z){var C;((C=z.detail)==null?void 0:C.focusReason)==="pointer"&&z.preventDefault()}e.lockScroll&&hF(c);function Q(){e.closeOnPressEscape&&x()}return n.watch(()=>e.modelValue,z=>{z?(d.value=!1,N(),f.value=!0,p.value=G3(e.zIndex)?i():p.value++,n.nextTick(()=>{a("open"),t.value&&(t.value.scrollTop=0)})):c.value&&w()}),n.watch(()=>e.fullscreen,z=>{t.value&&(z?(l=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=l)}),n.onMounted(()=>{e.modelValue&&(c.value=!0,f.value=!0,N())}),{afterEnter:_,afterLeave:b,beforeLeave:M,handleClose:x,onModalClick:T,close:w,doClose:j,onOpenAutoFocus:P,onCloseAutoFocus:R,onCloseRequested:Q,onFocusoutPrevented:$,titleId:s,bodyId:u,closed:d,style:y,overlayDialogStyle:v,rendered:f,visible:c,zIndex:p}},gG=n.defineComponent({name:"ElDialog",inheritAttrs:!1}),vG=n.defineComponent({...gG,props:pG,emits:mG,setup(e,{expose:t}){const r=e,o=n.useSlots();Ka({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},n.computed(()=>!!o.title));const a=ie("dialog"),i=n.ref(),l=n.ref(),s=n.ref(),{visible:u,titleId:c,bodyId:d,style:f,overlayDialogStyle:p,rendered:h,zIndex:m,afterEnter:g,afterLeave:y,beforeLeave:v,handleClose:_,onModalClick:b,onOpenAutoFocus:M,onCloseAutoFocus:N,onCloseRequested:w,onFocusoutPrevented:x}=hG(r,i);n.provide(BM,{dialogRef:i,headerRef:l,bodyId:d,ns:a,rendered:h,style:f});const T=zy(b),O=n.computed(()=>r.draggable&&!r.fullscreen);return t({visible:u,dialogContentRef:s,resetPosition:()=>{var P;(P=s.value)==null||P.resetPosition()}}),(P,R)=>(n.openBlock(),n.createBlock(n.unref(lm),{to:P.appendTo,disabled:P.appendTo!=="body"?!1:!P.appendToBody},{default:n.withCtx(()=>[n.createVNode(n.Transition,{name:"dialog-fade",onAfterEnter:n.unref(g),onAfterLeave:n.unref(y),onBeforeLeave:n.unref(v),persisted:""},{default:n.withCtx(()=>[n.withDirectives(n.createVNode(n.unref(sG),{"custom-mask-event":"",mask:P.modal,"overlay-class":P.modalClass,"z-index":n.unref(m)},{default:n.withCtx(()=>[n.createElementVNode("div",{role:"dialog","aria-modal":"true","aria-label":P.title||void 0,"aria-labelledby":P.title?void 0:n.unref(c),"aria-describedby":n.unref(d),class:n.normalizeClass(`${n.unref(a).namespace.value}-overlay-dialog`),style:n.normalizeStyle(n.unref(p)),onClick:n.unref(T).onClick,onMousedown:n.unref(T).onMousedown,onMouseup:n.unref(T).onMouseup},[n.createVNode(n.unref(Xy),{loop:"",trapped:n.unref(u),"focus-start-el":"container",onFocusAfterTrapped:n.unref(M),onFocusAfterReleased:n.unref(N),onFocusoutPrevented:n.unref(x),onReleaseRequested:n.unref(w)},{default:n.withCtx(()=>[n.unref(h)?(n.openBlock(),n.createBlock(fG,n.mergeProps({key:0,ref_key:"dialogContentRef",ref:s},P.$attrs,{center:P.center,"align-center":P.alignCenter,"close-icon":P.closeIcon,draggable:n.unref(O),overflow:P.overflow,fullscreen:P.fullscreen,"show-close":P.showClose,title:P.title,"aria-level":P.headerAriaLevel,onClose:n.unref(_)}),n.createSlots({header:n.withCtx(()=>[P.$slots.title?n.renderSlot(P.$slots,"title",{key:1}):n.renderSlot(P.$slots,"header",{key:0,close:n.unref(_),titleId:n.unref(c),titleClass:n.unref(a).e("title")})]),default:n.withCtx(()=>[n.renderSlot(P.$slots,"default")]),_:2},[P.$slots.footer?{name:"footer",fn:n.withCtx(()=>[n.renderSlot(P.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):n.createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,["aria-label","aria-labelledby","aria-describedby","onClick","onMousedown","onMouseup"])]),_:3},8,["mask","overlay-class","z-index"]),[[n.vShow,n.unref(u)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});var yG=me(vG,[["__file","dialog.vue"]]);const MG=Xe(yG),_G=n.defineComponent({inheritAttrs:!1});function bG(e,t,r,o,a,i){return n.renderSlot(e.$slots,"default")}var NG=me(_G,[["render",bG],["__file","collection.vue"]]);const wG=n.defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function kG(e,t,r,o,a,i){return n.renderSlot(e.$slots,"default")}var CG=me(wG,[["render",kG],["__file","collection-item.vue"]]);const $M="data-el-collection-item",PM=e=>{const t=`El${e}Collection`,r=`${t}Item`,o=Symbol(t),a=Symbol(r),i={...NG,name:t,setup(){const s=n.ref(null),u=new Map,c=()=>{const d=n.unref(s);if(!d)return[];const f=Array.from(d.querySelectorAll(`[${$M}]`));return[...u.values()].sort((h,m)=>f.indexOf(h.ref)-f.indexOf(m.ref))};n.provide(o,{itemMap:u,getItems:c,collectionRef:s})}},l={...CG,name:r,setup(s,{attrs:u}){const c=n.ref(null),d=n.inject(o,void 0);n.provide(a,{collectionItemRef:c}),n.onMounted(()=>{const f=n.unref(c);f&&d.itemMap.set(f,{ref:f,...u})}),n.onBeforeUnmount(()=>{const f=n.unref(c);d.itemMap.delete(f)})}};return{COLLECTION_INJECTION_KEY:o,COLLECTION_ITEM_INJECTION_KEY:a,ElCollection:i,ElCollectionItem:l}},xG=le({style:{type:K([String,Array,Object])},currentTabId:{type:K(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:K(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:EG,ElCollectionItem:TG,COLLECTION_INJECTION_KEY:pm,COLLECTION_ITEM_INJECTION_KEY:DG}=PM("RovingFocusGroup"),mm=Symbol("elRovingFocusGroup"),RM=Symbol("elRovingFocusGroupItem"),SG={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},IG=(e,t)=>{if(t!=="rtl")return e;switch(e){case be.right:return be.left;case be.left:return be.right;default:return e}},AG=(e,t,r)=>{const o=IG(e.key,r);if(!(t==="vertical"&&[be.left,be.right].includes(o))&&!(t==="horizontal"&&[be.up,be.down].includes(o)))return SG[o]},zG=(e,t)=>e.map((r,o)=>e[(o+t)%e.length]),hm=e=>{const{activeElement:t}=document;for(const r of e)if(r===t||(r.focus(),t!==document.activeElement))return},N1="currentTabIdChange",w1="rovingFocusGroup.entryFocus",OG={bubbles:!1,cancelable:!0},jG=n.defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:xG,emits:[N1,"entryFocus"],setup(e,{emit:t}){var r;const o=n.ref((r=e.currentTabId||e.defaultCurrentTabId)!=null?r:null),a=n.ref(!1),i=n.ref(!1),l=n.ref(null),{getItems:s}=n.inject(pm,void 0),u=n.computed(()=>[{outline:"none"},e.style]),c=g=>{t(N1,g)},d=()=>{a.value=!0},f=_t(g=>{var y;(y=e.onMousedown)==null||y.call(e,g)},()=>{i.value=!0}),p=_t(g=>{var y;(y=e.onFocus)==null||y.call(e,g)},g=>{const y=!n.unref(i),{target:v,currentTarget:_}=g;if(v===_&&y&&!n.unref(a)){const b=new Event(w1,OG);if(_==null||_.dispatchEvent(b),!b.defaultPrevented){const M=s().filter(O=>O.focusable),N=M.find(O=>O.active),w=M.find(O=>O.id===n.unref(o)),T=[N,w,...M].filter(Boolean).map(O=>O.ref);hm(T)}}i.value=!1}),h=_t(g=>{var y;(y=e.onBlur)==null||y.call(e,g)},()=>{a.value=!1}),m=(...g)=>{t("entryFocus",...g)};n.provide(mm,{currentTabbedId:n.readonly(o),loop:n.toRef(e,"loop"),tabIndex:n.computed(()=>n.unref(a)?-1:0),rovingFocusGroupRef:l,rovingFocusGroupRootStyle:u,orientation:n.toRef(e,"orientation"),dir:n.toRef(e,"dir"),onItemFocus:c,onItemShiftTab:d,onBlur:h,onFocus:p,onMousedown:f}),n.watch(()=>e.currentTabId,g=>{o.value=g??null}),ct(l,w1,m)}});function LG(e,t,r,o,a,i){return n.renderSlot(e.$slots,"default")}var BG=me(jG,[["render",LG],["__file","roving-focus-group-impl.vue"]]);const VG=n.defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:EG,ElRovingFocusGroupImpl:BG}});function $G(e,t,r,o,a,i){const l=n.resolveComponent("el-roving-focus-group-impl"),s=n.resolveComponent("el-focus-group-collection");return n.openBlock(),n.createBlock(s,null,{default:n.withCtx(()=>[n.createVNode(l,n.normalizeProps(n.guardReactiveProps(e.$attrs)),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default")]),_:3},16)]),_:3})}var PG=me(VG,[["render",$G],["__file","roving-focus-group.vue"]]);const RG=n.defineComponent({components:{ElRovingFocusCollectionItem:TG},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:r,loop:o,onItemFocus:a,onItemShiftTab:i}=n.inject(mm,void 0),{getItems:l}=n.inject(pm,void 0),s=Lr(),u=n.ref(null),c=_t(h=>{t("mousedown",h)},h=>{e.focusable?a(n.unref(s)):h.preventDefault()}),d=_t(h=>{t("focus",h)},()=>{a(n.unref(s))}),f=_t(h=>{t("keydown",h)},h=>{const{key:m,shiftKey:g,target:y,currentTarget:v}=h;if(m===be.tab&&g){i();return}if(y!==v)return;const _=AG(h);if(_){h.preventDefault();let M=l().filter(N=>N.focusable).map(N=>N.ref);switch(_){case"last":{M.reverse();break}case"prev":case"next":{_==="prev"&&M.reverse();const N=M.indexOf(v);M=o.value?zG(M,N+1):M.slice(N+1);break}}n.nextTick(()=>{hm(M)})}}),p=n.computed(()=>r.value===n.unref(s));return n.provide(RM,{rovingFocusGroupItemRef:u,tabIndex:n.computed(()=>n.unref(p)?0:-1),handleMousedown:c,handleFocus:d,handleKeydown:f}),{id:s,handleKeydown:f,handleFocus:d,handleMousedown:c}}});function FG(e,t,r,o,a,i){const l=n.resolveComponent("el-roving-focus-collection-item");return n.openBlock(),n.createBlock(l,{id:e.id,focusable:e.focusable,active:e.active},{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var UG=me(RG,[["render",FG],["__file","roving-focus-item.vue"]]);const Js=le({trigger:Dl.trigger,effect:{...gn.effect,default:"light"},type:{type:K(String)},placement:{type:K(String),default:"bottom"},popperOptions:{type:K(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:K([Number,String]),default:0},maxHeight:{type:K([Number,String]),default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,default:"menu"},buttonProps:{type:K(Object)},teleported:gn.teleported}),FM=le({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:Ut}}),HG=le({onKeydown:{type:K(Function)}}),YG=[be.down,be.pageDown,be.home],UM=[be.up,be.pageUp,be.end],QG=[...YG,...UM],{ElCollection:qG,ElCollectionItem:WG,COLLECTION_INJECTION_KEY:GG,COLLECTION_ITEM_INJECTION_KEY:KG}=PM("Dropdown"),qc=Symbol("elDropdown"),{ButtonGroup:ZG}=fi,JG=n.defineComponent({name:"ElDropdown",components:{ElButton:fi,ElButtonGroup:ZG,ElScrollbar:nm,ElDropdownCollection:qG,ElTooltip:Ai,ElRovingFocusGroup:PG,ElOnlyChild:Gy,ElIcon:de,ArrowDown:Xl},props:Js,emits:["visible-change","click","command"],setup(e,{emit:t}){const r=n.getCurrentInstance(),o=ie("dropdown"),{t:a}=ht(),i=n.ref(),l=n.ref(),s=n.ref(null),u=n.ref(null),c=n.ref(null),d=n.ref(null),f=n.ref(!1),p=[be.enter,be.space,be.down],h=n.computed(()=>({maxHeight:fr(e.maxHeight)})),m=n.computed(()=>[o.m(N.value)]),g=n.computed(()=>sn(e.trigger)),y=Lr().value,v=n.computed(()=>e.id||y);n.watch([i,g],([S,I],[k])=>{var E,B,V;(E=k==null?void 0:k.$el)!=null&&E.removeEventListener&&k.$el.removeEventListener("pointerenter",x),(B=S==null?void 0:S.$el)!=null&&B.removeEventListener&&S.$el.removeEventListener("pointerenter",x),(V=S==null?void 0:S.$el)!=null&&V.addEventListener&&I.includes("hover")&&S.$el.addEventListener("pointerenter",x)},{immediate:!0}),n.onBeforeUnmount(()=>{var S,I;(I=(S=i.value)==null?void 0:S.$el)!=null&&I.removeEventListener&&i.value.$el.removeEventListener("pointerenter",x)});function _(){b()}function b(){var S;(S=s.value)==null||S.onClose()}function M(){var S;(S=s.value)==null||S.onOpen()}const N=Kt();function w(...S){t("command",...S)}function x(){var S,I;(I=(S=i.value)==null?void 0:S.$el)==null||I.focus()}function T(){}function O(){const S=n.unref(u);g.value.includes("hover")&&(S==null||S.focus()),d.value=null}function j(S){d.value=S}function P(S){f.value||(S.preventDefault(),S.stopImmediatePropagation())}function R(){t("visible-change",!0)}function $(S){(S==null?void 0:S.type)==="keydown"&&u.value.focus()}function Q(){t("visible-change",!1)}return n.provide(qc,{contentRef:u,role:n.computed(()=>e.role),triggerId:v,isUsingKeyboard:f,onItemEnter:T,onItemLeave:O}),n.provide("elDropdown",{instance:r,dropdownSize:N,handleClick:_,commandHandler:w,trigger:n.toRef(e,"trigger"),hideOnClick:n.toRef(e,"hideOnClick")}),{t:a,ns:o,scrollbar:c,wrapStyle:h,dropdownTriggerKls:m,dropdownSize:N,triggerId:v,triggerKeys:p,currentTabId:d,handleCurrentTabIdChange:j,handlerMainButtonClick:S=>{t("click",S)},handleEntryFocus:P,handleClose:b,handleOpen:M,handleBeforeShowTooltip:R,handleShowTooltip:$,handleBeforeHideTooltip:Q,onFocusAfterTrapped:S=>{var I,k;S.preventDefault(),(k=(I=u.value)==null?void 0:I.focus)==null||k.call(I,{preventScroll:!0})},popperRef:s,contentRef:u,triggeringElementRef:i,referenceElementRef:l}}});function XG(e,t,r,o,a,i){var l;const s=n.resolveComponent("el-dropdown-collection"),u=n.resolveComponent("el-roving-focus-group"),c=n.resolveComponent("el-scrollbar"),d=n.resolveComponent("el-only-child"),f=n.resolveComponent("el-tooltip"),p=n.resolveComponent("el-button"),h=n.resolveComponent("arrow-down"),m=n.resolveComponent("el-icon"),g=n.resolveComponent("el-button-group");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([e.ns.b(),e.ns.is("disabled",e.disabled)])},[n.createVNode(f,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":(l=e.referenceElementRef)==null?void 0:l.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":e.trigger==="hover"?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"",persistent:"",onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},n.createSlots({content:n.withCtx(()=>[n.createVNode(c,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:n.withCtx(()=>[n.createVNode(u,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:n.withCtx(()=>[n.createVNode(s,null,{default:n.withCtx(()=>[n.renderSlot(e.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:n.withCtx(()=>[n.createVNode(d,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(n.openBlock(),n.createBlock(g,{key:0},{default:n.withCtx(()=>[n.createVNode(p,n.mergeProps({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),n.createVNode(p,n.mergeProps({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:n.withCtx(()=>[n.createVNode(m,{class:n.normalizeClass(e.ns.e("icon"))},{default:n.withCtx(()=>[n.createVNode(h)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):n.createCommentVNode("v-if",!0)],2)}var eK=me(JG,[["render",XG],["__file","dropdown.vue"]]);const tK=n.defineComponent({name:"DropdownItemImpl",components:{ElIcon:de},props:FM,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const r=ie("dropdown"),{role:o}=n.inject(qc,void 0),{collectionItemRef:a}=n.inject(KG,void 0),{collectionItemRef:i}=n.inject(DG,void 0),{rovingFocusGroupItemRef:l,tabIndex:s,handleFocus:u,handleKeydown:c,handleMousedown:d}=n.inject(RM,void 0),f=F0(a,i,l),p=n.computed(()=>o.value==="menu"?"menuitem":o.value==="navigation"?"link":"button"),h=_t(m=>{const{code:g}=m;if(g===be.enter||g===be.space)return m.preventDefault(),m.stopImmediatePropagation(),t("clickimpl",m),!0},c);return{ns:r,itemRef:f,dataset:{[$M]:""},role:p,tabIndex:s,handleFocus:u,handleKeydown:h,handleMousedown:d}}});function nK(e,t,r,o,a,i){const l=n.resolveComponent("el-icon");return n.openBlock(),n.createElementBlock(n.Fragment,null,[e.divided?(n.openBlock(),n.createElementBlock("li",{key:0,role:"separator",class:n.normalizeClass(e.ns.bem("menu","item","divided"))},null,2)):n.createCommentVNode("v-if",!0),n.createElementVNode("li",n.mergeProps({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:s=>e.$emit("clickimpl",s),onFocus:e.handleFocus,onKeydown:n.withModifiers(e.handleKeydown,["self"]),onMousedown:e.handleMousedown,onPointermove:s=>e.$emit("pointermove",s),onPointerleave:s=>e.$emit("pointerleave",s)}),[e.icon?(n.openBlock(),n.createBlock(l,{key:0},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.icon)))]),_:1})):n.createCommentVNode("v-if",!0),n.renderSlot(e.$slots,"default")],16,["aria-disabled","tabindex","role","onClick","onFocus","onKeydown","onMousedown","onPointermove","onPointerleave"])],64)}var rK=me(tK,[["render",nK],["__file","dropdown-item-impl.vue"]]);const HM=()=>{const e=n.inject("elDropdown",{}),t=n.computed(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},oK=n.defineComponent({name:"ElDropdownItem",components:{ElDropdownCollectionItem:WG,ElRovingFocusItem:UG,ElDropdownItemImpl:rK},inheritAttrs:!1,props:FM,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:r}){const{elDropdown:o}=HM(),a=n.getCurrentInstance(),i=n.ref(null),l=n.computed(()=>{var h,m;return(m=(h=n.unref(i))==null?void 0:h.textContent)!=null?m:""}),{onItemEnter:s,onItemLeave:u}=n.inject(qc,void 0),c=_t(h=>(t("pointermove",h),h.defaultPrevented),Vh(h=>{if(e.disabled){u(h);return}const m=h.currentTarget;m===document.activeElement||m.contains(document.activeElement)||(s(h),h.defaultPrevented||m==null||m.focus())})),d=_t(h=>(t("pointerleave",h),h.defaultPrevented),Vh(u)),f=_t(h=>{if(!e.disabled)return t("click",h),h.type!=="keydown"&&h.defaultPrevented},h=>{var m,g,y;if(e.disabled){h.stopImmediatePropagation();return}(m=o==null?void 0:o.hideOnClick)!=null&&m.value&&((g=o.handleClick)==null||g.call(o)),(y=o.commandHandler)==null||y.call(o,e.command,a,h)}),p=n.computed(()=>({...e,...r}));return{handleClick:f,handlePointerMove:c,handlePointerLeave:d,textContent:l,propsAndAttrs:p}}});function aK(e,t,r,o,a,i){var l;const s=n.resolveComponent("el-dropdown-item-impl"),u=n.resolveComponent("el-roving-focus-item"),c=n.resolveComponent("el-dropdown-collection-item");return n.openBlock(),n.createBlock(c,{disabled:e.disabled,"text-value":(l=e.textValue)!=null?l:e.textContent},{default:n.withCtx(()=>[n.createVNode(u,{focusable:!e.disabled},{default:n.withCtx(()=>[n.createVNode(s,n.mergeProps(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var YM=me(oK,[["render",aK],["__file","dropdown-item.vue"]]);const iK=n.defineComponent({name:"ElDropdownMenu",props:HG,setup(e){const t=ie("dropdown"),{_elDropdownSize:r}=HM(),o=r.value,{focusTrapRef:a,onKeydown:i}=n.inject(om,void 0),{contentRef:l,role:s,triggerId:u}=n.inject(qc,void 0),{collectionRef:c,getItems:d}=n.inject(GG,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:p,tabIndex:h,onBlur:m,onFocus:g,onMousedown:y}=n.inject(mm,void 0),{collectionRef:v}=n.inject(pm,void 0),_=n.computed(()=>[t.b("menu"),t.bm("menu",o==null?void 0:o.value)]),b=F0(l,c,a,f,v),M=_t(w=>{var x;(x=e.onKeydown)==null||x.call(e,w)},w=>{const{currentTarget:x,code:T,target:O}=w;if(x.contains(O),be.tab===T&&w.stopImmediatePropagation(),w.preventDefault(),O!==n.unref(l)||!QG.includes(T))return;const P=d().filter(R=>!R.disabled).map(R=>R.ref);UM.includes(T)&&P.reverse(),hm(P)});return{size:o,rovingFocusGroupRootStyle:p,tabIndex:h,dropdownKls:_,role:s,triggerId:u,dropdownListWrapperRef:b,handleKeydown:w=>{M(w),i(w)},onBlur:m,onFocus:g,onMousedown:y}}});function lK(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("ul",{ref:e.dropdownListWrapperRef,class:n.normalizeClass(e.dropdownKls),style:n.normalizeStyle(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:e.onBlur,onFocus:e.onFocus,onKeydown:n.withModifiers(e.handleKeydown,["self"]),onMousedown:n.withModifiers(e.onMousedown,["self"])},[n.renderSlot(e.$slots,"default")],46,["role","aria-labelledby","onBlur","onFocus","onKeydown","onMousedown"])}var QM=me(iK,[["render",lK],["__file","dropdown-menu.vue"]]);const sK=Xe(eK,{DropdownItem:YM,DropdownMenu:QM}),uK=Cn(YM),cK=Cn(QM),dK=le({urlList:{type:K(Array),default:()=>pr([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:K(String)}}),fK={close:()=>!0,switch:e=>Ae(e),rotate:e=>Ae(e)},pK=n.defineComponent({name:"ElImageViewer"}),mK=n.defineComponent({...pK,props:dK,emits:fK,setup(e,{expose:t,emit:r}){var o;const a=e,i={CONTAIN:{name:"contain",icon:n.markRaw(oy)},ORIGINAL:{name:"original",icon:n.markRaw(uy)}},{t:l}=ht(),s=ie("image-viewer"),{nextZIndex:u}=Rc(),c=n.ref(),d=n.ref([]),f=n.effectScope(),p=n.ref(!0),h=n.ref(a.initialIndex),m=n.shallowRef(i.CONTAIN),g=n.ref({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),y=n.ref((o=a.zIndex)!=null?o:u()),v=n.computed(()=>{const{urlList:E}=a;return E.length<=1}),_=n.computed(()=>h.value===0),b=n.computed(()=>h.value===a.urlList.length-1),M=n.computed(()=>a.urlList[h.value]),N=n.computed(()=>[s.e("btn"),s.e("prev"),s.is("disabled",!a.infinite&&_.value)]),w=n.computed(()=>[s.e("btn"),s.e("next"),s.is("disabled",!a.infinite&&b.value)]),x=n.computed(()=>{const{scale:E,deg:B,offsetX:V,offsetY:F,enableTransition:q}=g.value;let Y=V/E,ee=F/E;const J=B*Math.PI/180,te=Math.cos(J),se=Math.sin(J);Y=Y*te+ee*se,ee=ee*te-V/E*se;const ce={transform:`scale(${E}) rotate(${B}deg) translate(${Y}px, ${ee}px)`,transition:q?"transform .3s":""};return m.value.name===i.CONTAIN.name&&(ce.maxWidth=ce.maxHeight="100%"),ce});function T(){j(),r("close")}function O(){const E=Cd(V=>{switch(V.code){case be.esc:a.closeOnPressEscape&&T();break;case be.space:z();break;case be.left:S();break;case be.up:k("zoomIn");break;case be.right:I();break;case be.down:k("zoomOut");break}}),B=Cd(V=>{const F=V.deltaY||V.deltaX;k(F<0?"zoomIn":"zoomOut",{zoomRate:a.zoomRate,enableTransition:!1})});f.run(()=>{ct(document,"keydown",E),ct(document,"wheel",B)})}function j(){f.stop()}function P(){p.value=!1}function R(E){p.value=!1,E.target.alt=l("el.image.error")}function $(E){if(p.value||E.button!==0||!c.value)return;g.value.enableTransition=!1;const{offsetX:B,offsetY:V}=g.value,F=E.pageX,q=E.pageY,Y=Cd(J=>{g.value={...g.value,offsetX:B+J.pageX-F,offsetY:V+J.pageY-q}}),ee=ct(document,"mousemove",Y);ct(document,"mouseup",()=>{ee()}),E.preventDefault()}function Q(){g.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function z(){if(p.value)return;const E=yu(i),B=Object.values(i),V=m.value.name,q=(B.findIndex(Y=>Y.name===V)+1)%E.length;m.value=i[E[q]],Q()}function C(E){const B=a.urlList.length;h.value=(E+B)%B}function S(){_.value&&!a.infinite||C(h.value-1)}function I(){b.value&&!a.infinite||C(h.value+1)}function k(E,B={}){if(p.value)return;const{minScale:V,maxScale:F}=a,{zoomRate:q,rotateDeg:Y,enableTransition:ee}={zoomRate:a.zoomRate,rotateDeg:90,enableTransition:!0,...B};switch(E){case"zoomOut":g.value.scale>V&&(g.value.scale=Number.parseFloat((g.value.scale/q).toFixed(3)));break;case"zoomIn":g.value.scale<F&&(g.value.scale=Number.parseFloat((g.value.scale*q).toFixed(3)));break;case"clockwise":g.value.deg+=Y,r("rotate",g.value.deg);break;case"anticlockwise":g.value.deg-=Y,r("rotate",g.value.deg);break}g.value.enableTransition=ee}return n.watch(M,()=>{n.nextTick(()=>{const E=d.value[0];E!=null&&E.complete||(p.value=!0)})}),n.watch(h,E=>{Q(),r("switch",E)}),n.onMounted(()=>{var E,B;O(),(B=(E=c.value)==null?void 0:E.focus)==null||B.call(E)}),t({setActiveItem:C}),(E,B)=>(n.openBlock(),n.createBlock(n.unref(lm),{to:"body",disabled:!E.teleported},{default:n.withCtx(()=>[n.createVNode(n.Transition,{name:"viewer-fade",appear:""},{default:n.withCtx(()=>[n.createElementVNode("div",{ref_key:"wrapper",ref:c,tabindex:-1,class:n.normalizeClass(n.unref(s).e("wrapper")),style:n.normalizeStyle({zIndex:y.value})},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(s).e("mask")),onClick:n.withModifiers(V=>E.hideOnClickModal&&T(),["self"])},null,10,["onClick"]),n.createCommentVNode(" CLOSE "),n.createElementVNode("span",{class:n.normalizeClass([n.unref(s).e("btn"),n.unref(s).e("close")]),onClick:T},[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Jr))]),_:1})],2),n.createCommentVNode(" ARROW "),n.unref(v)?n.createCommentVNode("v-if",!0):(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(N)),onClick:S},[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(ii))]),_:1})],2),n.createElementVNode("span",{class:n.normalizeClass(n.unref(w)),onClick:I},[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Co))]),_:1})],2)],64)),n.createCommentVNode(" ACTIONS "),n.createElementVNode("div",{class:n.normalizeClass([n.unref(s).e("btn"),n.unref(s).e("actions")])},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(s).e("actions__inner"))},[n.createVNode(n.unref(de),{onClick:V=>k("zoomOut")},{default:n.withCtx(()=>[n.createVNode(n.unref(fy))]),_:1},8,["onClick"]),n.createVNode(n.unref(de),{onClick:V=>k("zoomIn")},{default:n.withCtx(()=>[n.createVNode(n.unref(R0))]),_:1},8,["onClick"]),n.createElementVNode("i",{class:n.normalizeClass(n.unref(s).e("actions__divider"))},null,2),n.createVNode(n.unref(de),{onClick:z},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(m).icon)))]),_:1}),n.createElementVNode("i",{class:n.normalizeClass(n.unref(s).e("actions__divider"))},null,2),n.createVNode(n.unref(de),{onClick:V=>k("anticlockwise")},{default:n.withCtx(()=>[n.createVNode(n.unref(ly))]),_:1},8,["onClick"]),n.createVNode(n.unref(de),{onClick:V=>k("clockwise")},{default:n.withCtx(()=>[n.createVNode(n.unref(sy))]),_:1},8,["onClick"])],2)],2),n.createCommentVNode(" CANVAS "),n.createElementVNode("div",{class:n.normalizeClass(n.unref(s).e("canvas"))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(E.urlList,(V,F)=>n.withDirectives((n.openBlock(),n.createElementBlock("img",{ref_for:!0,ref:q=>d.value[F]=q,key:V,src:V,style:n.normalizeStyle(n.unref(x)),class:n.normalizeClass(n.unref(s).e("img")),crossorigin:E.crossorigin,onLoad:P,onError:R,onMousedown:$},null,46,["src","crossorigin"])),[[n.vShow,F===h.value]])),128))],2),n.renderSlot(E.$slots,"default")],6)]),_:3})]),_:3},8,["disabled"]))}});var hK=me(mK,[["__file","image-viewer.vue"]]);const gK=Xe(hK),vK=le({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:K([String,Object])},previewSrcList:{type:K(Array),default:()=>pr([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:K(String)}}),yK={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>Ae(e),close:()=>!0,show:()=>!0},MK=n.defineComponent({name:"ElImage",inheritAttrs:!1}),_K=n.defineComponent({...MK,props:vK,emits:yK,setup(e,{emit:t}){const r=e;let o="";const{t:a}=ht(),i=ie("image"),l=n.useAttrs(),s=n.computed(()=>wl(Object.entries(l).filter(([I])=>/^(data-|on[A-Z])/i.test(I)||["id","style"].includes(I)))),u=U0({excludeListeners:!0,excludeKeys:n.computed(()=>Object.keys(s.value))}),c=n.ref(),d=n.ref(!1),f=n.ref(!0),p=n.ref(!1),h=n.ref(),m=n.ref(),g=We&&"loading"in HTMLImageElement.prototype;let y,v;const _=n.computed(()=>[i.e("inner"),M.value&&i.e("preview"),f.value&&i.is("loading")]),b=n.computed(()=>{const{fit:I}=r;return We&&I?{objectFit:I}:{}}),M=n.computed(()=>{const{previewSrcList:I}=r;return we(I)&&I.length>0}),N=n.computed(()=>{const{previewSrcList:I,initialIndex:k}=r;let E=k;return k>I.length-1&&(E=0),E}),w=n.computed(()=>r.loading==="eager"?!1:!g&&r.loading==="lazy"||r.lazy),x=()=>{We&&(f.value=!0,d.value=!1,c.value=r.src)};function T(I){f.value=!1,d.value=!1,t("load",I)}function O(I){f.value=!1,d.value=!0,t("error",I)}function j(){PE(h.value,m.value)&&(x(),$())}const P=_E(j,200,!0);async function R(){var I;if(!We)return;await n.nextTick();const{scrollContainer:k}=r;ko(k)?m.value=k:Je(k)&&k!==""?m.value=(I=document.querySelector(k))!=null?I:void 0:h.value&&(m.value=LA(h.value)),m.value&&(y=ct(m,"scroll",P),setTimeout(()=>j(),100))}function $(){!We||!m.value||!P||(y==null||y(),m.value=void 0)}function Q(I){if(I.ctrlKey){if(I.deltaY<0)return I.preventDefault(),!1;if(I.deltaY>0)return I.preventDefault(),!1}}function z(){M.value&&(v=ct("wheel",Q,{passive:!1}),o=document.body.style.overflow,document.body.style.overflow="hidden",p.value=!0,t("show"))}function C(){v==null||v(),document.body.style.overflow=o,p.value=!1,t("close")}function S(I){t("switch",I)}return n.watch(()=>r.src,()=>{w.value?(f.value=!0,d.value=!1,$(),R()):x()}),n.onMounted(()=>{w.value?R():x()}),(I,k)=>(n.openBlock(),n.createElementBlock("div",n.mergeProps({ref_key:"container",ref:h},n.unref(s),{class:[n.unref(i).b(),I.$attrs.class]}),[d.value?n.renderSlot(I.$slots,"error",{key:0},()=>[n.createElementVNode("div",{class:n.normalizeClass(n.unref(i).e("error"))},n.toDisplayString(n.unref(a)("el.image.error")),3)]):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[c.value!==void 0?(n.openBlock(),n.createElementBlock("img",n.mergeProps({key:0},n.unref(u),{src:c.value,loading:I.loading,style:n.unref(b),class:n.unref(_),crossorigin:I.crossorigin,onClick:z,onLoad:T,onError:O}),null,16,["src","loading","crossorigin"])):n.createCommentVNode("v-if",!0),f.value?(n.openBlock(),n.createElementBlock("div",{key:1,class:n.normalizeClass(n.unref(i).e("wrapper"))},[n.renderSlot(I.$slots,"placeholder",{},()=>[n.createElementVNode("div",{class:n.normalizeClass(n.unref(i).e("placeholder"))},null,2)])],2)):n.createCommentVNode("v-if",!0)],64)),n.unref(M)?(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[p.value?(n.openBlock(),n.createBlock(n.unref(gK),{key:0,"z-index":I.zIndex,"initial-index":n.unref(N),infinite:I.infinite,"zoom-rate":I.zoomRate,"min-scale":I.minScale,"max-scale":I.maxScale,"url-list":I.previewSrcList,crossorigin:I.crossorigin,"hide-on-click-modal":I.hideOnClickModal,teleported:I.previewTeleported,"close-on-press-escape":I.closeOnPressEscape,onClose:C,onSwitch:S},{default:n.withCtx(()=>[I.$slots.viewer?(n.openBlock(),n.createElementBlock("div",{key:0},[n.renderSlot(I.$slots,"viewer")])):n.createCommentVNode("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):n.createCommentVNode("v-if",!0)],64)):n.createCommentVNode("v-if",!0)],16))}});var bK=me(_K,[["__file","image.vue"]]);const NK=Xe(bK),wK=le({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:wn,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>e===null||Ae(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...xn(["ariaLabel"])}),kK={[Nn]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[Ar]:e=>Ae(e)||Bn(e),[je]:e=>Ae(e)||Bn(e)},CK=n.defineComponent({name:"ElInputNumber"}),xK=n.defineComponent({...CK,props:wK,emits:kK,setup(e,{expose:t,emit:r}){const o=e,{t:a}=ht(),i=ie("input-number"),l=n.ref(),s=n.reactive({currentValue:o.modelValue,userInput:null}),{formItem:u}=_r(),c=n.computed(()=>Ae(o.modelValue)&&o.modelValue<=o.min),d=n.computed(()=>Ae(o.modelValue)&&o.modelValue>=o.max),f=n.computed(()=>{const z=v(o.step);return Wt(o.precision)?Math.max(v(o.modelValue),z):(z>o.precision&&Ye("InputNumber","precision should not be less than the decimal places of step"),o.precision)}),p=n.computed(()=>o.controls&&o.controlsPosition==="right"),h=Kt(),m=Xn(),g=n.computed(()=>{if(s.userInput!==null)return s.userInput;let z=s.currentValue;if(Bn(z))return"";if(Ae(z)){if(Number.isNaN(z))return"";Wt(o.precision)||(z=z.toFixed(o.precision))}return z}),y=(z,C)=>{if(Wt(C)&&(C=f.value),C===0)return Math.round(z);let S=String(z);const I=S.indexOf(".");if(I===-1||!S.replace(".","").split("")[I+C])return z;const B=S.length;return S.charAt(B-1)==="5"&&(S=`${S.slice(0,Math.max(0,B-1))}6`),Number.parseFloat(Number(S).toFixed(C))},v=z=>{if(Bn(z))return 0;const C=z.toString(),S=C.indexOf(".");let I=0;return S!==-1&&(I=C.length-S-1),I},_=(z,C=1)=>Ae(z)?y(z+o.step*C):s.currentValue,b=()=>{if(o.readonly||m.value||d.value)return;const z=Number(g.value)||0,C=_(z);w(C),r(Ar,s.currentValue),$()},M=()=>{if(o.readonly||m.value||c.value)return;const z=Number(g.value)||0,C=_(z,-1);w(C),r(Ar,s.currentValue),$()},N=(z,C)=>{const{max:S,min:I,step:k,precision:E,stepStrictly:B,valueOnClear:V}=o;S<I&&Jn("InputNumber","min should not be greater than max.");let F=Number(z);if(Bn(z)||Number.isNaN(F))return null;if(z===""){if(V===null)return null;F=Je(V)?{min:I,max:S}[V]:V}return B&&(F=y(Math.round(F/k)*k,E),F!==z&&C&&r(je,F)),Wt(E)||(F=y(F,E)),(F>S||F<I)&&(F=F>S?S:I,C&&r(je,F)),F},w=(z,C=!0)=>{var S;const I=s.currentValue,k=N(z);if(!C){r(je,k);return}I===k&&z||(s.userInput=null,r(je,k),I!==k&&r(Nn,k,I),o.validateEvent&&((S=u==null?void 0:u.validate)==null||S.call(u,"change").catch(E=>Ye(E))),s.currentValue=k)},x=z=>{s.userInput=z;const C=z===""?null:Number(z);r(Ar,C),w(C,!1)},T=z=>{const C=z!==""?Number(z):"";(Ae(C)&&!Number.isNaN(C)||z==="")&&w(C),$(),s.userInput=null},O=()=>{var z,C;(C=(z=l.value)==null?void 0:z.focus)==null||C.call(z)},j=()=>{var z,C;(C=(z=l.value)==null?void 0:z.blur)==null||C.call(z)},P=z=>{r("focus",z)},R=z=>{var C;s.userInput=null,r("blur",z),o.validateEvent&&((C=u==null?void 0:u.validate)==null||C.call(u,"blur").catch(S=>Ye(S)))},$=()=>{s.currentValue!==o.modelValue&&(s.currentValue=o.modelValue)},Q=z=>{document.activeElement===z.target&&z.preventDefault()};return n.watch(()=>o.modelValue,(z,C)=>{const S=N(z,!0);s.userInput===null&&S!==C&&(s.currentValue=S)},{immediate:!0}),n.onMounted(()=>{var z;const{min:C,max:S,modelValue:I}=o,k=(z=l.value)==null?void 0:z.input;if(k.setAttribute("role","spinbutton"),Number.isFinite(S)?k.setAttribute("aria-valuemax",String(S)):k.removeAttribute("aria-valuemax"),Number.isFinite(C)?k.setAttribute("aria-valuemin",String(C)):k.removeAttribute("aria-valuemin"),k.setAttribute("aria-valuenow",s.currentValue||s.currentValue===0?String(s.currentValue):""),k.setAttribute("aria-disabled",String(m.value)),!Ae(I)&&I!=null){let E=Number(I);Number.isNaN(E)&&(E=null),r(je,E)}k.addEventListener("wheel",Q,{passive:!1})}),n.onUpdated(()=>{var z,C;const S=(z=l.value)==null?void 0:z.input;S==null||S.setAttribute("aria-valuenow",`${(C=s.currentValue)!=null?C:""}`)}),t({focus:O,blur:j}),(z,C)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([n.unref(i).b(),n.unref(i).m(n.unref(h)),n.unref(i).is("disabled",n.unref(m)),n.unref(i).is("without-controls",!z.controls),n.unref(i).is("controls-right",n.unref(p))]),onDragstart:n.withModifiers(()=>{},["prevent"])},[z.controls?n.withDirectives((n.openBlock(),n.createElementBlock("span",{key:0,role:"button","aria-label":n.unref(a)("el.inputNumber.decrease"),class:n.normalizeClass([n.unref(i).e("decrease"),n.unref(i).is("disabled",n.unref(c))]),onKeydown:n.withKeys(M,["enter"])},[n.renderSlot(z.$slots,"decrease-icon",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.unref(p)?(n.openBlock(),n.createBlock(n.unref(Xl),{key:0})):(n.openBlock(),n.createBlock(n.unref(iy),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[n.unref(Nu),M]]):n.createCommentVNode("v-if",!0),z.controls?n.withDirectives((n.openBlock(),n.createElementBlock("span",{key:1,role:"button","aria-label":n.unref(a)("el.inputNumber.increase"),class:n.normalizeClass([n.unref(i).e("increase"),n.unref(i).is("disabled",n.unref(d))]),onKeydown:n.withKeys(b,["enter"])},[n.renderSlot(z.$slots,"increase-icon",{},()=>[n.createVNode(n.unref(de),null,{default:n.withCtx(()=>[n.unref(p)?(n.openBlock(),n.createBlock(n.unref(O0),{key:0})):(n.openBlock(),n.createBlock(n.unref($0),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[n.unref(Nu),b]]):n.createCommentVNode("v-if",!0),n.createVNode(n.unref(Dr),{id:z.id,ref_key:"input",ref:l,type:"number",step:z.step,"model-value":n.unref(g),placeholder:z.placeholder,readonly:z.readonly,disabled:n.unref(m),size:n.unref(h),max:z.max,min:z.min,name:z.name,"aria-label":z.ariaLabel,"validate-event":!1,onKeydown:[n.withKeys(n.withModifiers(b,["prevent"]),["up"]),n.withKeys(n.withModifiers(M,["prevent"]),["down"])],onBlur:R,onFocus:P,onInput:x,onChange:T},n.createSlots({_:2},[z.$slots.prefix?{name:"prefix",fn:n.withCtx(()=>[n.renderSlot(z.$slots,"prefix")])}:void 0,z.$slots.suffix?{name:"suffix",fn:n.withCtx(()=>[n.renderSlot(z.$slots,"suffix")])}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],42,["onDragstart"]))}});var EK=me(xK,[["__file","input-number.vue"]]);const TK=Xe(EK),qM=Symbol("ElSelectGroup"),Wc=Symbol("ElSelect");function DK(e,t){const r=n.inject(Wc),o=n.inject(qM,{disabled:!1}),a=n.computed(()=>d(sn(r.props.modelValue),e.value)),i=n.computed(()=>{var h;if(r.props.multiple){const m=sn((h=r.props.modelValue)!=null?h:[]);return!a.value&&m.length>=r.props.multipleLimit&&r.props.multipleLimit>0}else return!1}),l=n.computed(()=>e.label||(kt(e.value)?"":e.value)),s=n.computed(()=>e.value||e.label||""),u=n.computed(()=>e.disabled||t.groupDisabled||i.value),c=n.getCurrentInstance(),d=(h=[],m)=>{if(kt(e.value)){const g=r.props.valueKey;return h&&h.some(y=>n.toRaw(qr(y,g))===qr(m,g))}else return h&&h.includes(m)},f=()=>{!e.disabled&&!o.disabled&&(r.states.hoveringIndex=r.optionsArray.indexOf(c.proxy))},p=h=>{const m=new RegExp(AA(h),"i");t.visible=m.test(l.value)||e.created};return n.watch(()=>l.value,()=>{!e.created&&!r.props.remote&&r.setSelected()}),n.watch(()=>e.value,(h,m)=>{const{remote:g,valueKey:y}=r.props;if(h!==m&&(r.onOptionDestroy(m,c.proxy),r.onOptionCreate(c.proxy)),!e.created&&!g){if(y&&kt(h)&&kt(m)&&h[y]===m[y])return;r.setSelected()}}),n.watch(()=>o.disabled,()=>{t.groupDisabled=o.disabled},{immediate:!0}),{select:r,currentLabel:l,currentValue:s,itemSelected:a,isDisabled:u,hoverItem:f,updateOption:p}}const SK=n.defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(e){const t=ie("select"),r=Lr(),o=n.computed(()=>[t.be("dropdown","item"),t.is("disabled",n.unref(s)),t.is("selected",n.unref(l)),t.is("hovering",n.unref(p))]),a=n.reactive({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:i,itemSelected:l,isDisabled:s,select:u,hoverItem:c,updateOption:d}=DK(e,a),{visible:f,hover:p}=n.toRefs(a),h=n.getCurrentInstance().proxy;u.onOptionCreate(h),n.onBeforeUnmount(()=>{const g=h.value,{selected:y}=u.states,_=(u.props.multiple?y:[y]).some(b=>b.value===h.value);n.nextTick(()=>{u.states.cachedOptions.get(g)===h&&!_&&u.states.cachedOptions.delete(g)}),u.onOptionDestroy(g,h)});function m(){s.value||u.handleOptionSelect(h)}return{ns:t,id:r,containerKls:o,currentLabel:i,itemSelected:l,isDisabled:s,select:u,hoverItem:c,updateOption:d,visible:f,hover:p,selectOptionClick:m,states:a}}});function IK(e,t,r,o,a,i){return n.withDirectives((n.openBlock(),n.createElementBlock("li",{id:e.id,class:n.normalizeClass(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMouseenter:e.hoverItem,onClick:n.withModifiers(e.selectOptionClick,["stop"])},[n.renderSlot(e.$slots,"default",{},()=>[n.createElementVNode("span",null,n.toDisplayString(e.currentLabel),1)])],42,["id","aria-disabled","aria-selected","onMouseenter","onClick"])),[[n.vShow,e.visible]])}var gm=me(SK,[["render",IK],["__file","option.vue"]]);const AK=n.defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=n.inject(Wc),t=ie("select"),r=n.computed(()=>e.props.popperClass),o=n.computed(()=>e.props.multiple),a=n.computed(()=>e.props.fitInputWidth),i=n.ref("");function l(){var s;i.value=`${(s=e.selectRef)==null?void 0:s.offsetWidth}px`}return n.onMounted(()=>{l(),vn(e.selectRef,l)}),{ns:t,minWidth:i,popperClass:r,isMultiple:o,isFitInputWidth:a}}});function zK(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:n.normalizeStyle({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(e.ns.be("dropdown","header"))},[n.renderSlot(e.$slots,"header")],2)):n.createCommentVNode("v-if",!0),n.renderSlot(e.$slots,"default"),e.$slots.footer?(n.openBlock(),n.createElementBlock("div",{key:1,class:n.normalizeClass(e.ns.be("dropdown","footer"))},[n.renderSlot(e.$slots,"footer")],2)):n.createCommentVNode("v-if",!0)],6)}var OK=me(AK,[["render",zK],["__file","select-dropdown.vue"]]);const jK=11,LK=(e,t)=>{const{t:r}=ht(),o=Lr(),a=ie("select"),i=ie("input"),l=n.reactive({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:[],selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),s=n.ref(null),u=n.ref(null),c=n.ref(null),d=n.ref(null),f=n.ref(null),p=n.ref(null),h=n.ref(null),m=n.ref(null),g=n.ref(null),y=n.ref(null),v=n.ref(null),_=n.ref(null),{isComposing:b,handleCompositionStart:M,handleCompositionUpdate:N,handleCompositionEnd:w}=$y({afterComposition:W=>qe(W)}),{wrapperRef:x,isFocused:T,handleBlur:O}=Fc(f,{beforeFocus(){return S.value},afterFocus(){e.automaticDropdown&&!j.value&&(j.value=!0,l.menuVisibleOnFocus=!0)},beforeBlur(W){var oe,Le;return((oe=c.value)==null?void 0:oe.isFocusInsideContent(W))||((Le=d.value)==null?void 0:Le.isFocusInsideContent(W))},afterBlur(){j.value=!1,l.menuVisibleOnFocus=!1}}),j=n.ref(!1),P=n.ref(),{form:R,formItem:$}=_r(),{inputId:Q}=Vo(e,{formItemContext:$}),{valueOnClear:z,isEmptyValue:C}=Ry(e),S=n.computed(()=>e.disabled||(R==null?void 0:R.disabled)),I=n.computed(()=>we(e.modelValue)?e.modelValue.length>0:!C(e.modelValue)),k=n.computed(()=>e.clearable&&!S.value&&l.inputHovering&&I.value),E=n.computed(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),B=n.computed(()=>a.is("reverse",E.value&&j.value)),V=n.computed(()=>($==null?void 0:$.validateState)||""),F=n.computed(()=>gy[V.value]),q=n.computed(()=>e.remote?300:0),Y=n.computed(()=>e.loading?e.loadingText||r("el.select.loading"):e.remote&&!l.inputValue&&l.options.size===0?!1:e.filterable&&l.inputValue&&l.options.size>0&&ee.value===0?e.noMatchText||r("el.select.noMatch"):l.options.size===0?e.noDataText||r("el.select.noData"):null),ee=n.computed(()=>J.value.filter(W=>W.visible).length),J=n.computed(()=>{const W=Array.from(l.options.values()),oe=[];return l.optionValues.forEach(Le=>{const vt=W.findIndex(zt=>zt.value===Le);vt>-1&&oe.push(W[vt])}),oe.length>=W.length?oe:W}),te=n.computed(()=>Array.from(l.cachedOptions.values())),se=n.computed(()=>{const W=J.value.filter(oe=>!oe.created).some(oe=>oe.currentLabel===l.inputValue);return e.filterable&&e.allowCreate&&l.inputValue!==""&&!W}),ce=()=>{e.filterable&&rt(e.filterMethod)||e.filterable&&e.remote&&rt(e.remoteMethod)||J.value.forEach(W=>{var oe;(oe=W.updateOption)==null||oe.call(W,l.inputValue)})},he=Kt(),Ee=n.computed(()=>["small"].includes(he.value)?"small":"default"),Ce=n.computed({get(){return j.value&&Y.value!==!1},set(W){j.value=W}}),Be=n.computed(()=>{if(e.multiple&&!Wt(e.modelValue))return sn(e.modelValue).length===0&&!l.inputValue;const W=we(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||Wt(W)?!l.inputValue:!0}),Qe=n.computed(()=>{var W;const oe=(W=e.placeholder)!=null?W:r("el.select.placeholder");return e.multiple||!I.value?oe:l.selectedLabel}),Ke=n.computed(()=>$f?null:"mouseenter");n.watch(()=>e.modelValue,(W,oe)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(l.inputValue="",Ie("")),Ne(),!oa(W,oe)&&e.validateEvent&&($==null||$.validate("change").catch(Le=>Ye(Le)))},{flush:"post",deep:!0}),n.watch(()=>j.value,W=>{W?Ie(l.inputValue):(l.inputValue="",l.previousQuery=null,l.isBeforeHide=!0),t("visible-change",W)}),n.watch(()=>l.options.entries(),()=>{var W;if(!We)return;const oe=((W=s.value)==null?void 0:W.querySelectorAll("input"))||[];(!e.filterable&&!e.defaultFirstOption&&!Wt(e.modelValue)||!Array.from(oe).includes(document.activeElement))&&Ne(),e.defaultFirstOption&&(e.filterable||e.remote)&&ee.value&&Ze()},{flush:"post"}),n.watch(()=>l.hoveringIndex,W=>{Ae(W)&&W>-1?P.value=J.value[W]||{}:P.value={},J.value.forEach(oe=>{oe.hover=P.value===oe})}),n.watchEffect(()=>{l.isBeforeHide||ce()});const Ie=W=>{l.previousQuery===W||b.value||(l.previousQuery=W,e.filterable&&rt(e.filterMethod)?e.filterMethod(W):e.filterable&&e.remote&&rt(e.remoteMethod)&&e.remoteMethod(W),e.defaultFirstOption&&(e.filterable||e.remote)&&ee.value?n.nextTick(Ze):n.nextTick($e))},Ze=()=>{const W=J.value.filter(zt=>zt.visible&&!zt.disabled&&!zt.states.groupDisabled),oe=W.find(zt=>zt.created),Le=W[0],vt=J.value.map(zt=>zt.value);l.hoveringIndex=A(vt,oe||Le)},Ne=()=>{if(e.multiple)l.selectedLabel="";else{const oe=we(e.modelValue)?e.modelValue[0]:e.modelValue,Le=Se(oe);l.selectedLabel=Le.currentLabel,l.selected=[Le];return}const W=[];Wt(e.modelValue)||sn(e.modelValue).forEach(oe=>{W.push(Se(oe))}),l.selected=W},Se=W=>{let oe;const Le=_d(W).toLowerCase()==="object",vt=_d(W).toLowerCase()==="null",zt=_d(W).toLowerCase()==="undefined";for(let Me=l.cachedOptions.size-1;Me>=0;Me--){const H=te.value[Me];if(Le?qr(H.value,e.valueKey)===qr(W,e.valueKey):H.value===W){oe={value:W,currentLabel:H.currentLabel,get isDisabled(){return H.isDisabled}};break}}if(oe)return oe;const Ho=Le?W.label:!vt&&!zt?W:"";return{value:W,currentLabel:Ho}},$e=()=>{l.hoveringIndex=J.value.findIndex(W=>l.selected.some(oe=>er(oe)===er(W)))},dt=()=>{l.selectionWidth=u.value.getBoundingClientRect().width},xe=()=>{l.calculatorWidth=p.value.getBoundingClientRect().width},D=()=>{l.collapseItemWidth=v.value.getBoundingClientRect().width},U=()=>{var W,oe;(oe=(W=c.value)==null?void 0:W.updatePopper)==null||oe.call(W)},ke=()=>{var W,oe;(oe=(W=d.value)==null?void 0:W.updatePopper)==null||oe.call(W)},tt=()=>{l.inputValue.length>0&&!j.value&&(j.value=!0),Ie(l.inputValue)},qe=W=>{if(l.inputValue=W.target.value,e.remote)At();else return tt()},At=Nl(()=>{tt()},q.value),Pe=W=>{oa(e.modelValue,W)||t(Nn,W)},Qt=W=>CA(W,oe=>!l.disabledOptions.has(oe)),G=W=>{if(e.multiple&&W.code!==be.delete&&W.target.value.length<=0){const oe=sn(e.modelValue).slice(),Le=Qt(oe);if(Le<0)return;const vt=oe[Le];oe.splice(Le,1),t(je,oe),Pe(oe),t("remove-tag",vt)}},ve=(W,oe)=>{const Le=l.selected.indexOf(oe);if(Le>-1&&!S.value){const vt=sn(e.modelValue).slice();vt.splice(Le,1),t(je,vt),Pe(vt),t("remove-tag",oe.value)}W.stopPropagation(),et()},L=W=>{W.stopPropagation();const oe=e.multiple?[]:z.value;if(e.multiple)for(const Le of l.selected)Le.isDisabled&&oe.push(Le.value);t(je,oe),Pe(oe),l.hoveringIndex=-1,j.value=!1,t("clear"),et()},Z=W=>{var oe;if(e.multiple){const Le=sn((oe=e.modelValue)!=null?oe:[]).slice(),vt=A(Le,W);vt>-1?Le.splice(vt,1):(e.multipleLimit<=0||Le.length<e.multipleLimit)&&Le.push(W.value),t(je,Le),Pe(Le),W.created&&Ie(""),e.filterable&&!e.reserveKeyword&&(l.inputValue="")}else t(je,W.value),Pe(W.value),j.value=!1;et(),!j.value&&n.nextTick(()=>{X(W)})},A=(W=[],oe)=>kt(oe==null?void 0:oe.value)?W.findIndex(Le=>oa(qr(Le,e.valueKey),er(oe))):W.indexOf(oe.value),X=W=>{var oe,Le,vt,zt,Ho;const Ia=we(W)?W[0]:W;let Me=null;if(Ia!=null&&Ia.value){const H=J.value.filter(ne=>ne.value===Ia.value);H.length>0&&(Me=H[0].$el)}if(c.value&&Me){const H=(zt=(vt=(Le=(oe=c.value)==null?void 0:oe.popperRef)==null?void 0:Le.contentRef)==null?void 0:vt.querySelector)==null?void 0:zt.call(vt,`.${a.be("dropdown","wrap")}`);H&&VA(H,Me)}(Ho=_.value)==null||Ho.handleScroll()},ue=W=>{l.options.set(W.value,W),l.cachedOptions.set(W.value,W),W.disabled&&l.disabledOptions.set(W.value,W)},De=(W,oe)=>{l.options.get(W)===oe&&l.options.delete(W)},ft=n.computed(()=>{var W,oe;return(oe=(W=c.value)==null?void 0:W.popperRef)==null?void 0:oe.contentRef}),En=()=>{l.isBeforeHide=!1,n.nextTick(()=>X(l.selected))},et=()=>{var W;(W=f.value)==null||W.focus()},gt=()=>{var W;if(j.value){j.value=!1,n.nextTick(()=>{var oe;return(oe=f.value)==null?void 0:oe.blur()});return}(W=f.value)==null||W.blur()},He=W=>{L(W)},Mt=W=>{if(j.value=!1,T.value){const oe=new FocusEvent("focus",W);n.nextTick(()=>O(oe))}},Tn=()=>{l.inputValue.length>0?l.inputValue="":j.value=!1},Uo=()=>{S.value||($f&&(l.inputHovering=!0),l.menuVisibleOnFocus?l.menuVisibleOnFocus=!1:j.value=!j.value)},oo=()=>{j.value?J.value[l.hoveringIndex]&&Z(J.value[l.hoveringIndex]):Uo()},er=W=>kt(W.value)?qr(W.value,e.valueKey):W.value,Sa=n.computed(()=>J.value.filter(W=>W.visible).every(W=>W.disabled)),$i=n.computed(()=>e.multiple?e.collapseTags?l.selected.slice(0,e.maxCollapseTags):l.selected:[]),gd=n.computed(()=>e.multiple?e.collapseTags?l.selected.slice(e.maxCollapseTags):[]:[]),Dn=W=>{if(!j.value){j.value=!0;return}if(!(l.options.size===0||l.filteredOptionsCount===0||b.value)&&!Sa.value){W==="next"?(l.hoveringIndex++,l.hoveringIndex===l.options.size&&(l.hoveringIndex=0)):W==="prev"&&(l.hoveringIndex--,l.hoveringIndex<0&&(l.hoveringIndex=l.options.size-1));const oe=J.value[l.hoveringIndex];(oe.disabled===!0||oe.states.groupDisabled===!0||!oe.visible)&&Dn(W),n.nextTick(()=>X(P.value))}},Pi=()=>{if(!u.value)return 0;const W=window.getComputedStyle(u.value);return Number.parseFloat(W.gap||"6px")},ms=n.computed(()=>{const W=Pi();return{maxWidth:`${v.value&&e.maxCollapseTags===1?l.selectionWidth-l.collapseItemWidth-W:l.selectionWidth}px`}}),hs=n.computed(()=>({maxWidth:`${l.selectionWidth}px`})),vd=n.computed(()=>({width:`${Math.max(l.calculatorWidth,jK)}px`}));return vn(u,dt),vn(p,xe),vn(g,U),vn(x,U),vn(y,ke),vn(v,D),n.onMounted(()=>{Ne()}),{inputId:Q,contentId:o,nsSelect:a,nsInput:i,states:l,isFocused:T,expanded:j,optionsArray:J,hoverOption:P,selectSize:he,filteredOptionsCount:ee,resetCalculatorWidth:xe,updateTooltip:U,updateTagTooltip:ke,debouncedOnInputChange:At,onInput:qe,deletePrevTag:G,deleteTag:ve,deleteSelected:L,handleOptionSelect:Z,scrollToOption:X,hasModelValue:I,shouldShowPlaceholder:Be,currentPlaceholder:Qe,mouseEnterEventName:Ke,showClose:k,iconComponent:E,iconReverse:B,validateState:V,validateIcon:F,showNewOption:se,updateOptions:ce,collapseTagSize:Ee,setSelected:Ne,selectDisabled:S,emptyText:Y,handleCompositionStart:M,handleCompositionUpdate:N,handleCompositionEnd:w,onOptionCreate:ue,onOptionDestroy:De,handleMenuEnter:En,focus:et,blur:gt,handleClearClick:He,handleClickOutside:Mt,handleEsc:Tn,toggleMenu:Uo,selectOption:oo,getValueKey:er,navigateOptions:Dn,dropdownMenuVisible:Ce,showTagList:$i,collapseTagList:gd,tagStyle:ms,collapseTagStyle:hs,inputStyle:vd,popperRef:ft,inputRef:f,tooltipRef:c,tagTooltipRef:d,calculatorRef:p,prefixRef:h,suffixRef:m,selectRef:s,wrapperRef:x,selectionRef:u,scrollbarRef:_,menuRef:g,tagMenuRef:y,collapseItemRef:v}};var BK=n.defineComponent({name:"ElOptions",setup(e,{slots:t}){const r=n.inject(Wc);let o=[];return()=>{var a,i;const l=(a=t.default)==null?void 0:a.call(t),s=[];function u(c){we(c)&&c.forEach(d=>{var f,p,h,m;const g=(f=(d==null?void 0:d.type)||{})==null?void 0:f.name;g==="ElOptionGroup"?u(!Je(d.children)&&!we(d.children)&&rt((p=d.children)==null?void 0:p.default)?(h=d.children)==null?void 0:h.default():d.children):g==="ElOption"?s.push((m=d.props)==null?void 0:m.value):we(d.children)&&u(d.children)})}return l.length&&u((i=l[0])==null?void 0:i.children),oa(s,o)||(o=s,r&&(r.states.optionValues=s)),l}}});const VK=le({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:wn,effect:{type:K(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:K(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:gn.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:Ut,default:ka},fitInputWidth:Boolean,suffixIcon:{type:Ut,default:Xl},tagType:{...op.type,default:"info"},tagEffect:{...op.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:K(String),values:Ca,default:"bottom-start"},fallbackPlacements:{type:K(Array),default:["bottom-start","top-start","right","left"]},appendTo:String,...em,...xn(["ariaLabel"])}),k1="ElSelect",$K=n.defineComponent({name:k1,componentName:k1,components:{ElSelectMenu:OK,ElOption:gm,ElOptions:BK,ElTag:qq,ElScrollbar:nm,ElTooltip:Ai,ElIcon:de},directives:{ClickOutside:bu},props:VK,emits:[je,Nn,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const r=n.computed(()=>{const{modelValue:l,multiple:s}=e,u=s?[]:void 0;return we(l)?s?l:u:s?u:l}),o=n.reactive({...n.toRefs(e),modelValue:r}),a=LK(o,t);n.provide(Wc,n.reactive({props:o,states:a.states,optionsArray:a.optionsArray,handleOptionSelect:a.handleOptionSelect,onOptionCreate:a.onOptionCreate,onOptionDestroy:a.onOptionDestroy,selectRef:a.selectRef,setSelected:a.setSelected}));const i=n.computed(()=>e.multiple?a.states.selected.map(l=>l.currentLabel):a.states.selectedLabel);return{...a,modelValue:r,selectedLabel:i}}});function PK(e,t,r,o,a,i){const l=n.resolveComponent("el-tag"),s=n.resolveComponent("el-tooltip"),u=n.resolveComponent("el-icon"),c=n.resolveComponent("el-option"),d=n.resolveComponent("el-options"),f=n.resolveComponent("el-scrollbar"),p=n.resolveComponent("el-select-menu"),h=n.resolveDirective("click-outside");return n.withDirectives((n.openBlock(),n.createElementBlock("div",{ref:"selectRef",class:n.normalizeClass([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),[n.toHandlerKey(e.mouseEnterEventName)]:m=>e.states.inputHovering=!0,onMouseleave:m=>e.states.inputHovering=!1},[n.createVNode(s,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,onBeforeShow:e.handleMenuEnter,onHide:m=>e.states.isBeforeHide=!1},{default:n.withCtx(()=>{var m;return[n.createElementVNode("div",{ref:"wrapperRef",class:n.normalizeClass([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:n.withModifiers(e.toggleMenu,["prevent"])},[e.$slots.prefix?(n.openBlock(),n.createElementBlock("div",{key:0,ref:"prefixRef",class:n.normalizeClass(e.nsSelect.e("prefix"))},[n.renderSlot(e.$slots,"prefix")],2)):n.createCommentVNode("v-if",!0),n.createElementVNode("div",{ref:"selectionRef",class:n.normalizeClass([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?n.renderSlot(e.$slots,"tag",{key:0},()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.showTagList,g=>(n.openBlock(),n.createElementBlock("div",{key:e.getValueKey(g),class:n.normalizeClass(e.nsSelect.e("selected-item"))},[n.createVNode(l,{closable:!e.selectDisabled&&!g.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:n.normalizeStyle(e.tagStyle),onClose:y=>e.deleteTag(y,g)},{default:n.withCtx(()=>[n.createElementVNode("span",{class:n.normalizeClass(e.nsSelect.e("tags-text"))},[n.renderSlot(e.$slots,"label",{label:g.currentLabel,value:g.value},()=>[n.createTextVNode(n.toDisplayString(g.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(n.openBlock(),n.createBlock(s,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:n.withCtx(()=>[n.createElementVNode("div",{ref:"collapseItemRef",class:n.normalizeClass(e.nsSelect.e("selected-item"))},[n.createVNode(l,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:n.normalizeStyle(e.collapseTagStyle)},{default:n.withCtx(()=>[n.createElementVNode("span",{class:n.normalizeClass(e.nsSelect.e("tags-text"))}," + "+n.toDisplayString(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:n.withCtx(()=>[n.createElementVNode("div",{ref:"tagMenuRef",class:n.normalizeClass(e.nsSelect.e("selection"))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.collapseTagList,g=>(n.openBlock(),n.createElementBlock("div",{key:e.getValueKey(g),class:n.normalizeClass(e.nsSelect.e("selected-item"))},[n.createVNode(l,{class:"in-tooltip",closable:!e.selectDisabled&&!g.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:y=>e.deleteTag(y,g)},{default:n.withCtx(()=>[n.createElementVNode("span",{class:n.normalizeClass(e.nsSelect.e("tags-text"))},[n.renderSlot(e.$slots,"label",{label:g.currentLabel,value:g.value},()=>[n.createTextVNode(n.toDisplayString(g.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):n.createCommentVNode("v-if",!0)]):n.createCommentVNode("v-if",!0),e.selectDisabled?n.createCommentVNode("v-if",!0):(n.openBlock(),n.createElementBlock("div",{key:1,class:n.normalizeClass([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[n.withDirectives(n.createElementVNode("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":g=>e.states.inputValue=g,type:"text",name:e.name,class:n.normalizeClass([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:n.normalizeStyle(e.inputStyle),role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((m=e.hoverOption)==null?void 0:m.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:[n.withKeys(n.withModifiers(g=>e.navigateOptions("next"),["stop","prevent"]),["down"]),n.withKeys(n.withModifiers(g=>e.navigateOptions("prev"),["stop","prevent"]),["up"]),n.withKeys(n.withModifiers(e.handleEsc,["stop","prevent"]),["esc"]),n.withKeys(n.withModifiers(e.selectOption,["stop","prevent"]),["enter"]),n.withKeys(n.withModifiers(e.deletePrevTag,["stop"]),["delete"])],onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onInput:e.onInput,onClick:n.withModifiers(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[n.vModelText,e.states.inputValue]]),e.filterable?(n.openBlock(),n.createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:n.normalizeClass(e.nsSelect.e("input-calculator")),textContent:n.toDisplayString(e.states.inputValue)},null,10,["textContent"])):n.createCommentVNode("v-if",!0)],2)),e.shouldShowPlaceholder?(n.openBlock(),n.createElementBlock("div",{key:2,class:n.normalizeClass([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?n.renderSlot(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},()=>[n.createElementVNode("span",null,n.toDisplayString(e.currentPlaceholder),1)]):(n.openBlock(),n.createElementBlock("span",{key:1},n.toDisplayString(e.currentPlaceholder),1))],2)):n.createCommentVNode("v-if",!0)],2),n.createElementVNode("div",{ref:"suffixRef",class:n.normalizeClass(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClose?(n.openBlock(),n.createBlock(u,{key:0,class:n.normalizeClass([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.iconComponent)))]),_:1},8,["class"])):n.createCommentVNode("v-if",!0),e.showClose&&e.clearIcon?(n.openBlock(),n.createBlock(u,{key:1,class:n.normalizeClass([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.clearIcon)))]),_:1},8,["class","onClick"])):n.createCommentVNode("v-if",!0),e.validateState&&e.validateIcon?(n.openBlock(),n.createBlock(u,{key:2,class:n.normalizeClass([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.validateIcon)))]),_:1},8,["class"])):n.createCommentVNode("v-if",!0)],2)],10,["onClick"])]}),content:n.withCtx(()=>[n.createVNode(p,{ref:"menuRef"},{default:n.withCtx(()=>[e.$slots.header?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(e.nsSelect.be("dropdown","header")),onClick:n.withModifiers(()=>{},["stop"])},[n.renderSlot(e.$slots,"header")],10,["onClick"])):n.createCommentVNode("v-if",!0),n.withDirectives(n.createVNode(f,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:n.normalizeClass([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:n.withCtx(()=>[e.showNewOption?(n.openBlock(),n.createBlock(c,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):n.createCommentVNode("v-if",!0),n.createVNode(d,null,{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default")]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[n.vShow,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(n.openBlock(),n.createElementBlock("div",{key:1,class:n.normalizeClass(e.nsSelect.be("dropdown","loading"))},[n.renderSlot(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(n.openBlock(),n.createElementBlock("div",{key:2,class:n.normalizeClass(e.nsSelect.be("dropdown","empty"))},[n.renderSlot(e.$slots,"empty",{},()=>[n.createElementVNode("span",null,n.toDisplayString(e.emptyText),1)])],2)):n.createCommentVNode("v-if",!0),e.$slots.footer?(n.openBlock(),n.createElementBlock("div",{key:3,class:n.normalizeClass(e.nsSelect.be("dropdown","footer")),onClick:n.withModifiers(()=>{},["stop"])},[n.renderSlot(e.$slots,"footer")],10,["onClick"])):n.createCommentVNode("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","append-to","onBeforeShow","onHide"])],16,["onMouseleave"])),[[h,e.handleClickOutside,e.popperRef]])}var RK=me($K,[["render",PK],["__file","select.vue"]]);const FK=n.defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=ie("select"),r=n.ref(null),o=n.getCurrentInstance(),a=n.ref([]);n.provide(qM,n.reactive({...n.toRefs(e)}));const i=n.computed(()=>a.value.some(c=>c.visible===!0)),l=c=>{var d,f;return((d=c.type)==null?void 0:d.name)==="ElOption"&&!!((f=c.component)!=null&&f.proxy)},s=c=>{const d=sn(c),f=[];return d.forEach(p=>{var h,m;l(p)?f.push(p.component.proxy):(h=p.children)!=null&&h.length?f.push(...s(p.children)):(m=p.component)!=null&&m.subTree&&f.push(...s(p.component.subTree))}),f},u=()=>{a.value=s(o.subTree)};return n.onMounted(()=>{u()}),IE(r,u,{attributes:!0,subtree:!0,childList:!0}),{groupRef:r,visible:i,ns:t}}});function UK(e,t,r,o,a,i){return n.withDirectives((n.openBlock(),n.createElementBlock("ul",{ref:"groupRef",class:n.normalizeClass(e.ns.be("group","wrap"))},[n.createElementVNode("li",{class:n.normalizeClass(e.ns.be("group","title"))},n.toDisplayString(e.label),3),n.createElementVNode("li",null,[n.createElementVNode("ul",{class:n.normalizeClass(e.ns.b("group"))},[n.renderSlot(e.$slots,"default")],2)])],2)),[[n.vShow,e.visible]])}var WM=me(FK,[["render",UK],["__file","option-group.vue"]]);const cp=Xe(RK,{Option:gm,OptionGroup:WM}),HK=Cn(gm),YK=Cn(WM),QK=le({trigger:Dl.trigger,placement:Js.placement,disabled:Dl.disabled,visible:gn.visible,transition:gn.transition,popperOptions:Js.popperOptions,tabindex:Js.tabindex,content:gn.content,popperStyle:gn.popperStyle,popperClass:gn.popperClass,enterable:{...gn.enterable,default:!0},effect:{...gn.effect,default:"light"},teleported:gn.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),qK={"update:visible":e=>Gt(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},WK="onUpdate:visible",GK=n.defineComponent({name:"ElPopover"}),KK=n.defineComponent({...GK,props:QK,emits:qK,setup(e,{expose:t,emit:r}){const o=e,a=n.computed(()=>o[WK]),i=ie("popover"),l=n.ref(),s=n.computed(()=>{var y;return(y=n.unref(l))==null?void 0:y.popperRef}),u=n.computed(()=>[{width:fr(o.width)},o.popperStyle]),c=n.computed(()=>[i.b(),o.popperClass,{[i.m("plain")]:!!o.content}]),d=n.computed(()=>o.transition===`${i.namespace.value}-fade-in-linear`),f=()=>{var y;(y=l.value)==null||y.hide()},p=()=>{r("before-enter")},h=()=>{r("before-leave")},m=()=>{r("after-enter")},g=()=>{r("update:visible",!1),r("after-leave")};return t({popperRef:s,hide:f}),(y,v)=>(n.openBlock(),n.createBlock(n.unref(Ai),n.mergeProps({ref_key:"tooltipRef",ref:l},y.$attrs,{trigger:y.trigger,placement:y.placement,disabled:y.disabled,visible:y.visible,transition:y.transition,"popper-options":y.popperOptions,tabindex:y.tabindex,content:y.content,offset:y.offset,"show-after":y.showAfter,"hide-after":y.hideAfter,"auto-close":y.autoClose,"show-arrow":y.showArrow,"aria-label":y.title,effect:y.effect,enterable:y.enterable,"popper-class":n.unref(c),"popper-style":n.unref(u),teleported:y.teleported,persistent:y.persistent,"gpu-acceleration":n.unref(d),"onUpdate:visible":n.unref(a),onBeforeShow:p,onBeforeHide:h,onShow:m,onHide:g}),{content:n.withCtx(()=>[y.title?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(i).e("title")),role:"title"},n.toDisplayString(y.title),3)):n.createCommentVNode("v-if",!0),n.renderSlot(y.$slots,"default",{},()=>[n.createTextVNode(n.toDisplayString(y.content),1)])]),default:n.withCtx(()=>[y.$slots.reference?n.renderSlot(y.$slots,"reference",{key:0}):n.createCommentVNode("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var ZK=me(KK,[["__file","popover.vue"]]);const C1=(e,t)=>{const r=t.arg||t.value,o=r==null?void 0:r.popperRef;o&&(o.triggerRef=e)};var JK={mounted(e,t){C1(e,t)},updated(e,t){C1(e,t)}};const XK="popover",eZ=rF(JK,XK),tZ=Xe(ZK,{directive:eZ}),nZ=le({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:K(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:K([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:K(Function),default:e=>`${e}%`}}),rZ=n.defineComponent({name:"ElProgress"}),oZ=n.defineComponent({...rZ,props:nZ,setup(e){const t=e,r={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},o=ie("progress"),a=n.computed(()=>{const b={width:`${t.percentage}%`,animationDuration:`${t.duration}s`},M=_(t.percentage);return M.includes("gradient")?b.background=M:b.backgroundColor=M,b}),i=n.computed(()=>(t.strokeWidth/t.width*100).toFixed(1)),l=n.computed(()=>["circle","dashboard"].includes(t.type)?Number.parseInt(`${50-Number.parseFloat(i.value)/2}`,10):0),s=n.computed(()=>{const b=l.value,M=t.type==="dashboard";return`
32
+ M 50 50
33
+ m 0 ${M?"":"-"}${b}
34
+ a ${b} ${b} 0 1 1 0 ${M?"-":""}${b*2}
35
+ a ${b} ${b} 0 1 1 0 ${M?"":"-"}${b*2}
36
+ `}),u=n.computed(()=>2*Math.PI*l.value),c=n.computed(()=>t.type==="dashboard"?.75:1),d=n.computed(()=>`${-1*u.value*(1-c.value)/2}px`),f=n.computed(()=>({strokeDasharray:`${u.value*c.value}px, ${u.value}px`,strokeDashoffset:d.value})),p=n.computed(()=>({strokeDasharray:`${u.value*c.value*(t.percentage/100)}px, ${u.value}px`,strokeDashoffset:d.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),h=n.computed(()=>{let b;return t.color?b=_(t.percentage):b=r[t.status]||r.default,b}),m=n.computed(()=>t.status==="warning"?Vc:t.type==="line"?t.status==="success"?Lc:ka:t.status==="success"?j0:Jr),g=n.computed(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),y=n.computed(()=>t.format(t.percentage));function v(b){const M=100/b.length;return b.map((w,x)=>Je(w)?{color:w,percentage:(x+1)*M}:w).sort((w,x)=>w.percentage-x.percentage)}const _=b=>{var M;const{color:N}=t;if(rt(N))return N(b);if(Je(N))return N;{const w=v(N);for(const x of w)if(x.percentage>b)return x.color;return(M=w[w.length-1])==null?void 0:M.color}};return(b,M)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([n.unref(o).b(),n.unref(o).m(b.type),n.unref(o).is(b.status),{[n.unref(o).m("without-text")]:!b.showText,[n.unref(o).m("text-inside")]:b.textInside}]),role:"progressbar","aria-valuenow":b.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[b.type==="line"?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(o).b("bar"))},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(o).be("bar","outer")),style:n.normalizeStyle({height:`${b.strokeWidth}px`})},[n.createElementVNode("div",{class:n.normalizeClass([n.unref(o).be("bar","inner"),{[n.unref(o).bem("bar","inner","indeterminate")]:b.indeterminate},{[n.unref(o).bem("bar","inner","striped")]:b.striped},{[n.unref(o).bem("bar","inner","striped-flow")]:b.stripedFlow}]),style:n.normalizeStyle(n.unref(a))},[(b.showText||b.$slots.default)&&b.textInside?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(o).be("bar","innerText"))},[n.renderSlot(b.$slots,"default",{percentage:b.percentage},()=>[n.createElementVNode("span",null,n.toDisplayString(n.unref(y)),1)])],2)):n.createCommentVNode("v-if",!0)],6)],6)],2)):(n.openBlock(),n.createElementBlock("div",{key:1,class:n.normalizeClass(n.unref(o).b("circle")),style:n.normalizeStyle({height:`${b.width}px`,width:`${b.width}px`})},[(n.openBlock(),n.createElementBlock("svg",{viewBox:"0 0 100 100"},[n.createElementVNode("path",{class:n.normalizeClass(n.unref(o).be("circle","track")),d:n.unref(s),stroke:`var(${n.unref(o).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":b.strokeLinecap,"stroke-width":n.unref(i),fill:"none",style:n.normalizeStyle(n.unref(f))},null,14,["d","stroke","stroke-linecap","stroke-width"]),n.createElementVNode("path",{class:n.normalizeClass(n.unref(o).be("circle","path")),d:n.unref(s),stroke:n.unref(h),fill:"none",opacity:b.percentage?1:0,"stroke-linecap":b.strokeLinecap,"stroke-width":n.unref(i),style:n.normalizeStyle(n.unref(p))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(b.showText||b.$slots.default)&&!b.textInside?(n.openBlock(),n.createElementBlock("div",{key:2,class:n.normalizeClass(n.unref(o).e("text")),style:n.normalizeStyle({fontSize:`${n.unref(g)}px`})},[n.renderSlot(b.$slots,"default",{percentage:b.percentage},()=>[b.status?(n.openBlock(),n.createBlock(n.unref(de),{key:1},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(m))))]),_:1})):(n.openBlock(),n.createElementBlock("span",{key:0},n.toDisplayString(n.unref(y)),1))])],6)):n.createCommentVNode("v-if",!0)],10,["aria-valuenow"]))}});var aZ=me(oZ,[["__file","progress.vue"]]);const GM=Xe(aZ),iZ=le({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:K([Array,Object]),default:()=>pr(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:K([Array,Object]),default:()=>[Gi,Gi,Gi]},voidIcon:{type:Ut,default:()=>cy},disabledVoidIcon:{type:Ut,default:()=>Gi},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:K(Array),default:()=>pr(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:wn,clearable:Boolean,...xn(["ariaLabel"])}),lZ={[Nn]:e=>Ae(e),[je]:e=>Ae(e)},sZ=n.defineComponent({name:"ElRate"}),uZ=n.defineComponent({...sZ,props:iZ,emits:lZ,setup(e,{expose:t,emit:r}){const o=e;function a(C,S){const I=B=>kt(B),k=Object.keys(S).map(B=>+B).filter(B=>{const V=S[B];return(I(V)?V.excluded:!1)?C<B:C<=B}).sort((B,V)=>B-V),E=S[k[0]];return I(E)&&E.value||E}const i=n.inject(xa,void 0),l=n.inject(Oo,void 0),s=Kt(),u=ie("rate"),{inputId:c,isLabeledByFormItem:d}=Vo(o,{formItemContext:l}),f=n.ref(o.modelValue),p=n.ref(-1),h=n.ref(!0),m=n.computed(()=>[u.b(),u.m(s.value)]),g=n.computed(()=>o.disabled||(i==null?void 0:i.disabled)),y=n.computed(()=>u.cssVarBlock({"void-color":o.voidColor,"disabled-void-color":o.disabledVoidColor,"fill-color":M.value})),v=n.computed(()=>{let C="";return o.showScore?C=o.scoreTemplate.replace(/\{\s*value\s*\}/,g.value?`${o.modelValue}`:`${f.value}`):o.showText&&(C=o.texts[Math.ceil(f.value)-1]),C}),_=n.computed(()=>o.modelValue*100-Math.floor(o.modelValue)*100),b=n.computed(()=>we(o.colors)?{[o.lowThreshold]:o.colors[0],[o.highThreshold]:{value:o.colors[1],excluded:!0},[o.max]:o.colors[2]}:o.colors),M=n.computed(()=>{const C=a(f.value,b.value);return kt(C)?"":C}),N=n.computed(()=>{let C="";return g.value?C=`${_.value}%`:o.allowHalf&&(C="50%"),{color:M.value,width:C}}),w=n.computed(()=>{let C=we(o.icons)?[...o.icons]:{...o.icons};return C=n.markRaw(C),we(C)?{[o.lowThreshold]:C[0],[o.highThreshold]:{value:C[1],excluded:!0},[o.max]:C[2]}:C}),x=n.computed(()=>a(o.modelValue,w.value)),T=n.computed(()=>g.value?Je(o.disabledVoidIcon)?o.disabledVoidIcon:n.markRaw(o.disabledVoidIcon):Je(o.voidIcon)?o.voidIcon:n.markRaw(o.voidIcon)),O=n.computed(()=>a(f.value,w.value));function j(C){const S=g.value&&_.value>0&&C-1<o.modelValue&&C>o.modelValue,I=o.allowHalf&&h.value&&C-.5<=f.value&&C>f.value;return S||I}function P(C){o.clearable&&C===o.modelValue&&(C=0),r(je,C),o.modelValue!==C&&r("change",C)}function R(C){g.value||(o.allowHalf&&h.value?P(f.value):P(C))}function $(C){if(g.value)return;let S=f.value;const I=C.code;return I===be.up||I===be.right?(o.allowHalf?S+=.5:S+=1,C.stopPropagation(),C.preventDefault()):(I===be.left||I===be.down)&&(o.allowHalf?S-=.5:S-=1,C.stopPropagation(),C.preventDefault()),S=S<0?0:S,S=S>o.max?o.max:S,r(je,S),r("change",S),S}function Q(C,S){if(!g.value){if(o.allowHalf&&S){let I=S.target;Io(I,u.e("item"))&&(I=I.querySelector(`.${u.e("icon")}`)),(I.clientWidth===0||Io(I,u.e("decimal")))&&(I=I.parentNode),h.value=S.offsetX*2<=I.clientWidth,f.value=h.value?C-.5:C}else f.value=C;p.value=C}}function z(){g.value||(o.allowHalf&&(h.value=o.modelValue!==Math.floor(o.modelValue)),f.value=o.modelValue,p.value=-1)}return n.watch(()=>o.modelValue,C=>{f.value=C,h.value=o.modelValue!==Math.floor(o.modelValue)}),o.modelValue||r(je,0),t({setCurrentValue:Q,resetCurrentValue:z}),(C,S)=>{var I;return n.openBlock(),n.createElementBlock("div",{id:n.unref(c),class:n.normalizeClass([n.unref(m),n.unref(u).is("disabled",n.unref(g))]),role:"slider","aria-label":n.unref(d)?void 0:C.ariaLabel||"rating","aria-labelledby":n.unref(d)?(I=n.unref(l))==null?void 0:I.labelId:void 0,"aria-valuenow":f.value,"aria-valuetext":n.unref(v)||void 0,"aria-valuemin":"0","aria-valuemax":C.max,tabindex:"0",style:n.normalizeStyle(n.unref(y)),onKeydown:$},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(C.max,(k,E)=>(n.openBlock(),n.createElementBlock("span",{key:E,class:n.normalizeClass(n.unref(u).e("item")),onMousemove:B=>Q(k,B),onMouseleave:z,onClick:B=>R(k)},[n.createVNode(n.unref(de),{class:n.normalizeClass([n.unref(u).e("icon"),{hover:p.value===k},n.unref(u).is("active",k<=f.value)])},{default:n.withCtx(()=>[j(k)?n.createCommentVNode("v-if",!0):(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.withDirectives((n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(O)),null,null,512)),[[n.vShow,k<=f.value]]),n.withDirectives((n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(T)),null,null,512)),[[n.vShow,!(k<=f.value)]])],64)),j(k)?(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(T)),{class:n.normalizeClass([n.unref(u).em("decimal","box")])},null,8,["class"])),n.createVNode(n.unref(de),{style:n.normalizeStyle(n.unref(N)),class:n.normalizeClass([n.unref(u).e("icon"),n.unref(u).e("decimal")])},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(x))))]),_:1},8,["style","class"])],64)):n.createCommentVNode("v-if",!0)]),_:2},1032,["class"])],42,["onMousemove","onClick"]))),128)),C.showText||C.showScore?(n.openBlock(),n.createElementBlock("span",{key:0,class:n.normalizeClass(n.unref(u).e("text")),style:n.normalizeStyle({color:C.textColor})},n.toDisplayString(n.unref(v)),7)):n.createCommentVNode("v-if",!0)],46,["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"])}}});var cZ=me(uZ,[["__file","rate.vue"]]);const dZ=Xe(cZ),KM=Symbol("sliderContextKey"),fZ=le({modelValue:{type:K([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:wn,inputSize:wn,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:K(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:K(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ca,default:"top"},marks:{type:K(Object)},validateEvent:{type:Boolean,default:!0},...xn(["ariaLabel"])}),Bd=e=>Ae(e)||we(e)&&e.every(Ae),pZ={[je]:Bd,[Ar]:Bd,[Nn]:Bd},mZ=(e,t,r)=>{const o=n.ref();return n.onMounted(async()=>{e.range?(we(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!Ae(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),ct(window,"resize",r),await n.nextTick(),r()}),{sliderWrapper:o}},hZ=e=>n.computed(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((r,o)=>r-o).filter(r=>r<=e.max&&r>=e.min).map(r=>({point:r,position:(r-e.min)*100/(e.max-e.min),mark:e.marks[r]})):[]),gZ=(e,t,r)=>{const{form:o,formItem:a}=_r(),i=n.shallowRef(),l=n.ref(),s=n.ref(),u={firstButton:l,secondButton:s},c=n.computed(()=>e.disabled||(o==null?void 0:o.disabled)||!1),d=n.computed(()=>Math.min(t.firstValue,t.secondValue)),f=n.computed(()=>Math.max(t.firstValue,t.secondValue)),p=n.computed(()=>e.range?`${100*(f.value-d.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),h=n.computed(()=>e.range?`${100*(d.value-e.min)/(e.max-e.min)}%`:"0%"),m=n.computed(()=>e.vertical?{height:e.height}:{}),g=n.computed(()=>e.vertical?{height:p.value,bottom:h.value}:{width:p.value,left:h.value}),y=()=>{i.value&&(t.sliderSize=i.value[`client${e.vertical?"Height":"Width"}`])},v=R=>{const $=e.min+R*(e.max-e.min)/100;if(!e.range)return l;let Q;return Math.abs(d.value-$)<Math.abs(f.value-$)?Q=t.firstValue<t.secondValue?"firstButton":"secondButton":Q=t.firstValue>t.secondValue?"firstButton":"secondButton",u[Q]},_=R=>{const $=v(R);return $.value.setPosition(R),$},b=R=>{t.firstValue=R??e.min,N(e.range?[d.value,f.value]:R??e.min)},M=R=>{t.secondValue=R,e.range&&N([d.value,f.value])},N=R=>{r(je,R),r(Ar,R)},w=async()=>{await n.nextTick(),r(Nn,e.range?[d.value,f.value]:e.modelValue)},x=R=>{var $,Q,z,C,S,I;if(c.value||t.dragging)return;y();let k=0;if(e.vertical){const E=(z=(Q=($=R.touches)==null?void 0:$.item(0))==null?void 0:Q.clientY)!=null?z:R.clientY;k=(i.value.getBoundingClientRect().bottom-E)/t.sliderSize*100}else{const E=(I=(S=(C=R.touches)==null?void 0:C.item(0))==null?void 0:S.clientX)!=null?I:R.clientX,B=i.value.getBoundingClientRect().left;k=(E-B)/t.sliderSize*100}if(!(k<0||k>100))return _(k)};return{elFormItem:a,slider:i,firstButton:l,secondButton:s,sliderDisabled:c,minValue:d,maxValue:f,runwayStyle:m,barStyle:g,resetSize:y,setPosition:_,emitChange:w,onSliderWrapperPrevent:R=>{var $,Q;(($=u.firstButton.value)!=null&&$.dragging||(Q=u.secondButton.value)!=null&&Q.dragging)&&R.preventDefault()},onSliderClick:R=>{x(R)&&w()},onSliderDown:async R=>{const $=x(R);$&&(await n.nextTick(),$.value.onButtonDown(R))},onSliderMarkerDown:R=>{c.value||t.dragging||_(R)},setFirstValue:b,setSecondValue:M}},{left:vZ,down:yZ,right:MZ,up:_Z,home:bZ,end:NZ,pageUp:wZ,pageDown:kZ}=be,CZ=(e,t,r)=>{const o=n.ref(),a=n.ref(!1),i=n.computed(()=>t.value instanceof Function),l=n.computed(()=>i.value&&t.value(e.modelValue)||e.modelValue),s=Nl(()=>{r.value&&(a.value=!0)},50),u=Nl(()=>{r.value&&(a.value=!1)},50);return{tooltip:o,tooltipVisible:a,formatValue:l,displayTooltip:s,hideTooltip:u}},xZ=(e,t,r)=>{const{disabled:o,min:a,max:i,step:l,showTooltip:s,precision:u,sliderSize:c,formatTooltip:d,emitChange:f,resetSize:p,updateDragging:h}=n.inject(KM),{tooltip:m,tooltipVisible:g,formatValue:y,displayTooltip:v,hideTooltip:_}=CZ(e,d,s),b=n.ref(),M=n.computed(()=>`${(e.modelValue-a.value)/(i.value-a.value)*100}%`),N=n.computed(()=>e.vertical?{bottom:M.value}:{left:M.value}),w=()=>{t.hovering=!0,v()},x=()=>{t.hovering=!1,t.dragging||_()},T=V=>{o.value||(V.preventDefault(),I(V),window.addEventListener("mousemove",k),window.addEventListener("touchmove",k),window.addEventListener("mouseup",E),window.addEventListener("touchend",E),window.addEventListener("contextmenu",E),b.value.focus())},O=V=>{o.value||(t.newPosition=Number.parseFloat(M.value)+V/(i.value-a.value)*100,B(t.newPosition),f())},j=()=>{O(-l.value)},P=()=>{O(l.value)},R=()=>{O(-l.value*4)},$=()=>{O(l.value*4)},Q=()=>{o.value||(B(0),f())},z=()=>{o.value||(B(100),f())},C=V=>{let F=!0;[vZ,yZ].includes(V.key)?j():[MZ,_Z].includes(V.key)?P():V.key===bZ?Q():V.key===NZ?z():V.key===kZ?R():V.key===wZ?$():F=!1,F&&V.preventDefault()},S=V=>{let F,q;return V.type.startsWith("touch")?(q=V.touches[0].clientY,F=V.touches[0].clientX):(q=V.clientY,F=V.clientX),{clientX:F,clientY:q}},I=V=>{t.dragging=!0,t.isClick=!0;const{clientX:F,clientY:q}=S(V);e.vertical?t.startY=q:t.startX=F,t.startPosition=Number.parseFloat(M.value),t.newPosition=t.startPosition},k=V=>{if(t.dragging){t.isClick=!1,v(),p();let F;const{clientX:q,clientY:Y}=S(V);e.vertical?(t.currentY=Y,F=(t.startY-t.currentY)/c.value*100):(t.currentX=q,F=(t.currentX-t.startX)/c.value*100),t.newPosition=t.startPosition+F,B(t.newPosition)}},E=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||_(),t.isClick||B(t.newPosition),f()},0),window.removeEventListener("mousemove",k),window.removeEventListener("touchmove",k),window.removeEventListener("mouseup",E),window.removeEventListener("touchend",E),window.removeEventListener("contextmenu",E))},B=async V=>{if(V===null||Number.isNaN(+V))return;V<0?V=0:V>100&&(V=100);const F=100/((i.value-a.value)/l.value);let Y=Math.round(V/F)*F*(i.value-a.value)*.01+a.value;Y=Number.parseFloat(Y.toFixed(u.value)),Y!==e.modelValue&&r(je,Y),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await n.nextTick(),t.dragging&&v(),m.value.updatePopper()};return n.watch(()=>t.dragging,V=>{h(V)}),ct(b,"touchstart",T,{passive:!1}),{disabled:o,button:b,tooltip:m,tooltipVisible:g,showTooltip:s,wrapperStyle:N,formatValue:y,handleMouseEnter:w,handleMouseLeave:x,onButtonDown:T,onKeyDown:C,setPosition:B}},EZ=(e,t,r,o)=>({stops:n.computed(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return Ye("ElSlider","step should not be 0."),[];const l=(e.max-e.min)/e.step,s=100*e.step/(e.max-e.min),u=Array.from({length:l-1}).map((c,d)=>(d+1)*s);return e.range?u.filter(c=>c<100*(r.value-e.min)/(e.max-e.min)||c>100*(o.value-e.min)/(e.max-e.min)):u.filter(c=>c>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:l=>e.vertical?{bottom:`${l}%`}:{left:`${l}%`}}),TZ=(e,t,r,o,a,i)=>{const l=c=>{a(je,c),a(Ar,c)},s=()=>e.range?![r.value,o.value].every((c,d)=>c===t.oldValue[d]):e.modelValue!==t.oldValue,u=()=>{var c,d;e.min>e.max&&Jn("Slider","min should not be greater than max.");const f=e.modelValue;e.range&&we(f)?f[1]<e.min?l([e.min,e.min]):f[0]>e.max?l([e.max,e.max]):f[0]<e.min?l([e.min,f[1]]):f[1]>e.max?l([f[0],e.max]):(t.firstValue=f[0],t.secondValue=f[1],s()&&(e.validateEvent&&((c=i==null?void 0:i.validate)==null||c.call(i,"change").catch(p=>Ye(p))),t.oldValue=f.slice())):!e.range&&Ae(f)&&!Number.isNaN(f)&&(f<e.min?l(e.min):f>e.max?l(e.max):(t.firstValue=f,s()&&(e.validateEvent&&((d=i==null?void 0:i.validate)==null||d.call(i,"change").catch(p=>Ye(p))),t.oldValue=f)))};u(),n.watch(()=>t.dragging,c=>{c||u()}),n.watch(()=>e.modelValue,(c,d)=>{t.dragging||we(c)&&we(d)&&c.every((f,p)=>f===d[p])&&t.firstValue===c[0]&&t.secondValue===c[1]||u()},{deep:!0}),n.watch(()=>[e.min,e.max],()=>{u()})},DZ=le({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ca,default:"top"}}),SZ={[je]:e=>Ae(e)},IZ=n.defineComponent({name:"ElSliderButton"}),AZ=n.defineComponent({...IZ,props:DZ,emits:SZ,setup(e,{expose:t,emit:r}){const o=e,a=ie("slider"),i=n.reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:o.modelValue}),{disabled:l,button:s,tooltip:u,showTooltip:c,tooltipVisible:d,wrapperStyle:f,formatValue:p,handleMouseEnter:h,handleMouseLeave:m,onButtonDown:g,onKeyDown:y,setPosition:v}=xZ(o,i,r),{hovering:_,dragging:b}=n.toRefs(i);return t({onButtonDown:g,onKeyDown:y,setPosition:v,hovering:_,dragging:b}),(M,N)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"button",ref:s,class:n.normalizeClass([n.unref(a).e("button-wrapper"),{hover:n.unref(_),dragging:n.unref(b)}]),style:n.normalizeStyle(n.unref(f)),tabindex:n.unref(l)?-1:0,onMouseenter:n.unref(h),onMouseleave:n.unref(m),onMousedown:n.unref(g),onFocus:n.unref(h),onBlur:n.unref(m),onKeydown:n.unref(y)},[n.createVNode(n.unref(Ai),{ref_key:"tooltip",ref:u,visible:n.unref(d),placement:M.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":M.tooltipClass,disabled:!n.unref(c),persistent:n.unref(c)},{content:n.withCtx(()=>[n.createElementVNode("span",null,n.toDisplayString(n.unref(p)),1)]),default:n.withCtx(()=>[n.createElementVNode("div",{class:n.normalizeClass([n.unref(a).e("button"),{hover:n.unref(_),dragging:n.unref(b)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}});var x1=me(AZ,[["__file","button.vue"]]);const zZ=le({mark:{type:K([String,Object]),default:void 0}});var OZ=n.defineComponent({name:"ElSliderMarker",props:zZ,setup(e){const t=ie("slider"),r=n.computed(()=>Je(e.mark)?e.mark:e.mark.label),o=n.computed(()=>Je(e.mark)?void 0:e.mark.style);return()=>n.h("div",{class:t.e("marks-text"),style:o.value},r.value)}});const jZ=n.defineComponent({name:"ElSlider"}),LZ=n.defineComponent({...jZ,props:fZ,emits:pZ,setup(e,{expose:t,emit:r}){const o=e,a=ie("slider"),{t:i}=ht(),l=n.reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:s,slider:u,firstButton:c,secondButton:d,sliderDisabled:f,minValue:p,maxValue:h,runwayStyle:m,barStyle:g,resetSize:y,emitChange:v,onSliderWrapperPrevent:_,onSliderClick:b,onSliderDown:M,onSliderMarkerDown:N,setFirstValue:w,setSecondValue:x}=gZ(o,l,r),{stops:T,getStopStyle:O}=EZ(o,l,p,h),{inputId:j,isLabeledByFormItem:P}=Vo(o,{formItemContext:s}),R=Kt(),$=n.computed(()=>o.inputSize||R.value),Q=n.computed(()=>o.ariaLabel||i("el.slider.defaultLabel",{min:o.min,max:o.max})),z=n.computed(()=>o.range?o.rangeStartLabel||i("el.slider.defaultRangeStartLabel"):Q.value),C=n.computed(()=>o.formatValueText?o.formatValueText(F.value):`${F.value}`),S=n.computed(()=>o.rangeEndLabel||i("el.slider.defaultRangeEndLabel")),I=n.computed(()=>o.formatValueText?o.formatValueText(q.value):`${q.value}`),k=n.computed(()=>[a.b(),a.m(R.value),a.is("vertical",o.vertical),{[a.m("with-input")]:o.showInput}]),E=hZ(o);TZ(o,l,p,h,r,s);const B=n.computed(()=>{const J=[o.min,o.max,o.step].map(te=>{const se=`${te}`.split(".")[1];return se?se.length:0});return Math.max.apply(null,J)}),{sliderWrapper:V}=mZ(o,l,y),{firstValue:F,secondValue:q,sliderSize:Y}=n.toRefs(l),ee=J=>{l.dragging=J};return ct(V,"touchstart",_,{passive:!1}),ct(V,"touchmove",_,{passive:!1}),n.provide(KM,{...n.toRefs(o),sliderSize:Y,disabled:f,precision:B,emitChange:v,resetSize:y,updateDragging:ee}),t({onSliderClick:b}),(J,te)=>{var se,ce;return n.openBlock(),n.createElementBlock("div",{id:J.range?n.unref(j):void 0,ref_key:"sliderWrapper",ref:V,class:n.normalizeClass(n.unref(k)),role:J.range?"group":void 0,"aria-label":J.range&&!n.unref(P)?n.unref(Q):void 0,"aria-labelledby":J.range&&n.unref(P)?(se=n.unref(s))==null?void 0:se.labelId:void 0},[n.createElementVNode("div",{ref_key:"slider",ref:u,class:n.normalizeClass([n.unref(a).e("runway"),{"show-input":J.showInput&&!J.range},n.unref(a).is("disabled",n.unref(f))]),style:n.normalizeStyle(n.unref(m)),onMousedown:n.unref(M),onTouchstartPassive:n.unref(M)},[n.createElementVNode("div",{class:n.normalizeClass(n.unref(a).e("bar")),style:n.normalizeStyle(n.unref(g))},null,6),n.createVNode(x1,{id:J.range?void 0:n.unref(j),ref_key:"firstButton",ref:c,"model-value":n.unref(F),vertical:J.vertical,"tooltip-class":J.tooltipClass,placement:J.placement,role:"slider","aria-label":J.range||!n.unref(P)?n.unref(z):void 0,"aria-labelledby":!J.range&&n.unref(P)?(ce=n.unref(s))==null?void 0:ce.labelId:void 0,"aria-valuemin":J.min,"aria-valuemax":J.range?n.unref(q):J.max,"aria-valuenow":n.unref(F),"aria-valuetext":n.unref(C),"aria-orientation":J.vertical?"vertical":"horizontal","aria-disabled":n.unref(f),"onUpdate:modelValue":n.unref(w)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),J.range?(n.openBlock(),n.createBlock(x1,{key:0,ref_key:"secondButton",ref:d,"model-value":n.unref(q),vertical:J.vertical,"tooltip-class":J.tooltipClass,placement:J.placement,role:"slider","aria-label":n.unref(S),"aria-valuemin":n.unref(F),"aria-valuemax":J.max,"aria-valuenow":n.unref(q),"aria-valuetext":n.unref(I),"aria-orientation":J.vertical?"vertical":"horizontal","aria-disabled":n.unref(f),"onUpdate:modelValue":n.unref(x)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):n.createCommentVNode("v-if",!0),J.showStops?(n.openBlock(),n.createElementBlock("div",{key:1},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(T),(he,Ee)=>(n.openBlock(),n.createElementBlock("div",{key:Ee,class:n.normalizeClass(n.unref(a).e("stop")),style:n.normalizeStyle(n.unref(O)(he))},null,6))),128))])):n.createCommentVNode("v-if",!0),n.unref(E).length>0?(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createElementVNode("div",null,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(E),(he,Ee)=>(n.openBlock(),n.createElementBlock("div",{key:Ee,style:n.normalizeStyle(n.unref(O)(he.position)),class:n.normalizeClass([n.unref(a).e("stop"),n.unref(a).e("marks-stop")])},null,6))),128))]),n.createElementVNode("div",{class:n.normalizeClass(n.unref(a).e("marks"))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(E),(he,Ee)=>(n.openBlock(),n.createBlock(n.unref(OZ),{key:Ee,mark:he.mark,style:n.normalizeStyle(n.unref(O)(he.position)),onMousedown:n.withModifiers(Ce=>n.unref(N)(he.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):n.createCommentVNode("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),J.showInput&&!J.range?(n.openBlock(),n.createBlock(n.unref(TK),{key:0,ref:"input","model-value":n.unref(F),class:n.normalizeClass(n.unref(a).e("input")),step:J.step,disabled:n.unref(f),controls:J.showInputControls,min:J.min,max:J.max,precision:n.unref(B),debounce:J.debounce,size:n.unref($),"onUpdate:modelValue":n.unref(w),onChange:n.unref(v)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):n.createCommentVNode("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}});var BZ=me(LZ,[["__file","slider.vue"]]);const VZ=Xe(BZ),$Z=le({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:aF},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:Ut},activeActionIcon:{type:Ut},activeIcon:{type:Ut},inactiveIcon:{type:Ut},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:K(Function)},id:String,tabindex:{type:[String,Number]},...xn(["ariaLabel"])}),PZ={[je]:e=>Gt(e)||Je(e)||Ae(e),[Nn]:e=>Gt(e)||Je(e)||Ae(e),[Ar]:e=>Gt(e)||Je(e)||Ae(e)},dp="ElSwitch",RZ=n.defineComponent({name:dp}),FZ=n.defineComponent({...RZ,props:$Z,emits:PZ,setup(e,{expose:t,emit:r}){const o=e,{formItem:a}=_r(),i=Kt(),l=ie("switch"),{inputId:s}=Vo(o,{formItemContext:a}),u=Xn(n.computed(()=>o.loading)),c=n.ref(o.modelValue!==!1),d=n.ref(),f=n.ref(),p=n.computed(()=>[l.b(),l.m(i.value),l.is("disabled",u.value),l.is("checked",v.value)]),h=n.computed(()=>[l.e("label"),l.em("label","left"),l.is("active",!v.value)]),m=n.computed(()=>[l.e("label"),l.em("label","right"),l.is("active",v.value)]),g=n.computed(()=>({width:fr(o.width)}));n.watch(()=>o.modelValue,()=>{c.value=!0});const y=n.computed(()=>c.value?o.modelValue:!1),v=n.computed(()=>y.value===o.activeValue);[o.activeValue,o.inactiveValue].includes(y.value)||(r(je,o.inactiveValue),r(Nn,o.inactiveValue),r(Ar,o.inactiveValue)),n.watch(v,N=>{var w;d.value.checked=N,o.validateEvent&&((w=a==null?void 0:a.validate)==null||w.call(a,"change").catch(x=>Ye(x)))});const _=()=>{const N=v.value?o.inactiveValue:o.activeValue;r(je,N),r(Nn,N),r(Ar,N),n.nextTick(()=>{d.value.checked=v.value})},b=()=>{if(u.value)return;const{beforeChange:N}=o;if(!N){_();return}const w=N();[Xh(w),Gt(w)].includes(!0)||Jn(dp,"beforeChange must return type `Promise<boolean>` or `boolean`"),Xh(w)?w.then(T=>{T&&_()}).catch(T=>{Ye(dp,`some error occurred: ${T}`)}):w&&_()},M=()=>{var N,w;(w=(N=d.value)==null?void 0:N.focus)==null||w.call(N)};return n.onMounted(()=>{d.value.checked=v.value}),t({focus:M,checked:v}),(N,w)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(p)),onClick:n.withModifiers(b,["prevent"])},[n.createElementVNode("input",{id:n.unref(s),ref_key:"input",ref:d,class:n.normalizeClass(n.unref(l).e("input")),type:"checkbox",role:"switch","aria-checked":n.unref(v),"aria-disabled":n.unref(u),"aria-label":N.ariaLabel,name:N.name,"true-value":N.activeValue,"false-value":N.inactiveValue,disabled:n.unref(u),tabindex:N.tabindex,onChange:_,onKeydown:n.withKeys(b,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!N.inlinePrompt&&(N.inactiveIcon||N.inactiveText)?(n.openBlock(),n.createElementBlock("span",{key:0,class:n.normalizeClass(n.unref(h))},[N.inactiveIcon?(n.openBlock(),n.createBlock(n.unref(de),{key:0},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(N.inactiveIcon)))]),_:1})):n.createCommentVNode("v-if",!0),!N.inactiveIcon&&N.inactiveText?(n.openBlock(),n.createElementBlock("span",{key:1,"aria-hidden":n.unref(v)},n.toDisplayString(N.inactiveText),9,["aria-hidden"])):n.createCommentVNode("v-if",!0)],2)):n.createCommentVNode("v-if",!0),n.createElementVNode("span",{ref_key:"core",ref:f,class:n.normalizeClass(n.unref(l).e("core")),style:n.normalizeStyle(n.unref(g))},[N.inlinePrompt?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(l).e("inner"))},[N.activeIcon||N.inactiveIcon?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(n.unref(l).is("icon"))},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(n.unref(v)?N.activeIcon:N.inactiveIcon)))]),_:1},8,["class"])):N.activeText||N.inactiveText?(n.openBlock(),n.createElementBlock("span",{key:1,class:n.normalizeClass(n.unref(l).is("text")),"aria-hidden":!n.unref(v)},n.toDisplayString(n.unref(v)?N.activeText:N.inactiveText),11,["aria-hidden"])):n.createCommentVNode("v-if",!0)],2)):n.createCommentVNode("v-if",!0),n.createElementVNode("div",{class:n.normalizeClass(n.unref(l).e("action"))},[N.loading?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(n.unref(l).is("loading"))},{default:n.withCtx(()=>[n.createVNode(n.unref(Bc))]),_:1},8,["class"])):n.unref(v)?n.renderSlot(N.$slots,"active-action",{key:1},()=>[N.activeActionIcon?(n.openBlock(),n.createBlock(n.unref(de),{key:0},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(N.activeActionIcon)))]),_:1})):n.createCommentVNode("v-if",!0)]):n.unref(v)?n.createCommentVNode("v-if",!0):n.renderSlot(N.$slots,"inactive-action",{key:2},()=>[N.inactiveActionIcon?(n.openBlock(),n.createBlock(n.unref(de),{key:0},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(N.inactiveActionIcon)))]),_:1})):n.createCommentVNode("v-if",!0)])],2)],6),!N.inlinePrompt&&(N.activeIcon||N.activeText)?(n.openBlock(),n.createElementBlock("span",{key:1,class:n.normalizeClass(n.unref(m))},[N.activeIcon?(n.openBlock(),n.createBlock(n.unref(de),{key:0},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(N.activeIcon)))]),_:1})):n.createCommentVNode("v-if",!0),!N.activeIcon&&N.activeText?(n.openBlock(),n.createElementBlock("span",{key:1,"aria-hidden":!n.unref(v)},n.toDisplayString(N.activeText),9,["aria-hidden"])):n.createCommentVNode("v-if",!0)],2)):n.createCommentVNode("v-if",!0)],10,["onClick"]))}});var UZ=me(FZ,[["__file","switch.vue"]]);const HZ=Xe(UZ),Gc=Symbol("tabsRootContextKey"),YZ=le({tabs:{type:K(Array),default:()=>pr([])}}),ZM="ElTabBar",QZ=n.defineComponent({name:ZM}),qZ=n.defineComponent({...QZ,props:YZ,setup(e,{expose:t}){const r=e,o=n.getCurrentInstance(),a=n.inject(Gc);a||Jn(ZM,"<el-tabs><el-tab-bar /></el-tabs>");const i=ie("tabs"),l=n.ref(),s=n.ref(),u=()=>{let h=0,m=0;const g=["top","bottom"].includes(a.props.tabPosition)?"width":"height",y=g==="width"?"x":"y",v=y==="x"?"left":"top";return r.tabs.every(_=>{var b,M;const N=(M=(b=o.parent)==null?void 0:b.refs)==null?void 0:M[`tab-${_.uid}`];if(!N)return!1;if(!_.active)return!0;h=N[`offset${ho(v)}`],m=N[`client${ho(g)}`];const w=window.getComputedStyle(N);return g==="width"&&(m-=Number.parseFloat(w.paddingLeft)+Number.parseFloat(w.paddingRight),h+=Number.parseFloat(w.paddingLeft)),!1}),{[g]:`${m}px`,transform:`translate${ho(y)}(${h}px)`}},c=()=>s.value=u(),d=[],f=()=>{var h;d.forEach(g=>g.stop()),d.length=0;const m=(h=o.parent)==null?void 0:h.refs;if(m){for(const g in m)if(g.startsWith("tab-")){const y=m[g];y&&d.push(vn(y,c))}}};n.watch(()=>r.tabs,async()=>{await n.nextTick(),c(),f()},{immediate:!0});const p=vn(l,()=>c());return n.onBeforeUnmount(()=>{d.forEach(h=>h.stop()),d.length=0,p.stop()}),t({ref:l,update:c}),(h,m)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"barRef",ref:l,class:n.normalizeClass([n.unref(i).e("active-bar"),n.unref(i).is(n.unref(a).props.tabPosition)]),style:n.normalizeStyle(s.value)},null,6))}});var WZ=me(qZ,[["__file","tab-bar.vue"]]);const GZ=le({panes:{type:K(Array),default:()=>pr([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),KZ={tabClick:(e,t,r)=>r instanceof Event,tabRemove:(e,t)=>t instanceof Event},E1="ElTabNav",ZZ=n.defineComponent({name:E1,props:GZ,emits:KZ,setup(e,{expose:t,emit:r}){const o=n.inject(Gc);o||Jn(E1,"<el-tabs><tab-nav /></el-tabs>");const a=ie("tabs"),i=kE(),l=VE(),s=n.ref(),u=n.ref(),c=n.ref(),d=n.ref(),f=n.ref(!1),p=n.ref(0),h=n.ref(!1),m=n.ref(!0),g=n.computed(()=>["top","bottom"].includes(o.props.tabPosition)?"width":"height"),y=n.computed(()=>({transform:`translate${g.value==="width"?"X":"Y"}(-${p.value}px)`})),v=()=>{if(!s.value)return;const T=s.value[`offset${ho(g.value)}`],O=p.value;if(!O)return;const j=O>T?O-T:0;p.value=j},_=()=>{if(!s.value||!u.value)return;const T=u.value[`offset${ho(g.value)}`],O=s.value[`offset${ho(g.value)}`],j=p.value;if(T-j<=O)return;const P=T-j>O*2?j+O:T-O;p.value=P},b=async()=>{const T=u.value;if(!f.value||!c.value||!s.value||!T)return;await n.nextTick();const O=c.value.querySelector(".is-active");if(!O)return;const j=s.value,P=["top","bottom"].includes(o.props.tabPosition),R=O.getBoundingClientRect(),$=j.getBoundingClientRect(),Q=P?T.offsetWidth-$.width:T.offsetHeight-$.height,z=p.value;let C=z;P?(R.left<$.left&&(C=z-($.left-R.left)),R.right>$.right&&(C=z+R.right-$.right)):(R.top<$.top&&(C=z-($.top-R.top)),R.bottom>$.bottom&&(C=z+(R.bottom-$.bottom))),C=Math.max(C,0),p.value=Math.min(C,Q)},M=()=>{var T;if(!u.value||!s.value)return;e.stretch&&((T=d.value)==null||T.update());const O=u.value[`offset${ho(g.value)}`],j=s.value[`offset${ho(g.value)}`],P=p.value;j<O?(f.value=f.value||{},f.value.prev=P,f.value.next=P+j<O,O-P<j&&(p.value=O-j)):(f.value=!1,P>0&&(p.value=0))},N=T=>{const O=T.code,{up:j,down:P,left:R,right:$}=be;if(![j,P,R,$].includes(O))return;const Q=Array.from(T.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),z=Q.indexOf(T.target);let C;O===R||O===j?z===0?C=Q.length-1:C=z-1:z<Q.length-1?C=z+1:C=0,Q[C].focus({preventScroll:!0}),Q[C].click(),w()},w=()=>{m.value&&(h.value=!0)},x=()=>h.value=!1;return n.watch(i,T=>{T==="hidden"?m.value=!1:T==="visible"&&setTimeout(()=>m.value=!0,50)}),n.watch(l,T=>{T?setTimeout(()=>m.value=!0,50):m.value=!1}),vn(c,M),n.onMounted(()=>setTimeout(()=>b(),0)),n.onUpdated(()=>M()),t({scrollToActiveTab:b,removeFocus:x}),()=>{const T=f.value?[n.createVNode("span",{class:[a.e("nav-prev"),a.is("disabled",!f.value.prev)],onClick:v},[n.createVNode(de,null,{default:()=>[n.createVNode(ii,null,null)]})]),n.createVNode("span",{class:[a.e("nav-next"),a.is("disabled",!f.value.next)],onClick:_},[n.createVNode(de,null,{default:()=>[n.createVNode(Co,null,null)]})])]:null,O=e.panes.map((j,P)=>{var R,$,Q,z;const C=j.uid,S=j.props.disabled,I=($=(R=j.props.name)!=null?R:j.index)!=null?$:`${P}`,k=!S&&(j.isClosable||e.editable);j.index=`${P}`;const E=k?n.createVNode(de,{class:"is-icon-close",onClick:F=>r("tabRemove",j,F)},{default:()=>[n.createVNode(Jr,null,null)]}):null,B=((z=(Q=j.slots).label)==null?void 0:z.call(Q))||j.props.label,V=!S&&j.active?0:-1;return n.createVNode("div",{ref:`tab-${C}`,class:[a.e("item"),a.is(o.props.tabPosition),a.is("active",j.active),a.is("disabled",S),a.is("closable",k),a.is("focus",h.value)],id:`tab-${I}`,key:`tab-${C}`,"aria-controls":`pane-${I}`,role:"tab","aria-selected":j.active,tabindex:V,onFocus:()=>w(),onBlur:()=>x(),onClick:F=>{x(),r("tabClick",j,I,F)},onKeydown:F=>{k&&(F.code===be.delete||F.code===be.backspace)&&r("tabRemove",j,F)}},[B,E])});return n.createVNode("div",{ref:c,class:[a.e("nav-wrap"),a.is("scrollable",!!f.value),a.is(o.props.tabPosition)]},[T,n.createVNode("div",{class:a.e("nav-scroll"),ref:s},[n.createVNode("div",{class:[a.e("nav"),a.is(o.props.tabPosition),a.is("stretch",e.stretch&&["top","bottom"].includes(o.props.tabPosition))],ref:u,style:y.value,role:"tablist",onKeydown:N},[e.type?null:n.createVNode(WZ,{ref:d,tabs:[...e.panes]},null),O])])])}}}),JZ=le({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:K(Function),default:()=>!0},stretch:Boolean}),Vd=e=>Je(e)||Ae(e),XZ={[je]:e=>Vd(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>Vd(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>Vd(e),tabAdd:()=>!0},eJ=n.defineComponent({name:"ElTabs",props:JZ,emits:XZ,setup(e,{emit:t,slots:r,expose:o}){var a;const i=ie("tabs"),l=n.computed(()=>["left","right"].includes(e.tabPosition)),{children:s,addChild:u,removeChild:c}=AU(n.getCurrentInstance(),"ElTabPane"),d=n.ref(),f=n.ref((a=e.modelValue)!=null?a:"0"),p=async(v,_=!1)=>{var b,M,N;if(!(f.value===v||Wt(v)))try{await((b=e.beforeLeave)==null?void 0:b.call(e,v,f.value))!==!1&&(f.value=v,_&&(t(je,v),t("tabChange",v)),(N=(M=d.value)==null?void 0:M.removeFocus)==null||N.call(M))}catch{}},h=(v,_,b)=>{v.props.disabled||(p(_,!0),t("tabClick",v,b))},m=(v,_)=>{v.props.disabled||Wt(v.props.name)||(_.stopPropagation(),t("edit",v.props.name,"remove"),t("tabRemove",v.props.name))},g=()=>{t("edit",void 0,"add"),t("tabAdd")};n.watch(()=>e.modelValue,v=>p(v)),n.watch(f,async()=>{var v;await n.nextTick(),(v=d.value)==null||v.scrollToActiveTab()}),n.provide(Gc,{props:e,currentName:f,registerPane:v=>{s.value.push(v)},sortPane:u,unregisterPane:c}),o({currentName:f});const y=({render:v})=>v();return()=>{const v=r["add-icon"],_=e.editable||e.addable?n.createVNode("div",{class:[i.e("new-tab"),l.value&&i.e("new-tab-vertical")],tabindex:"0",onClick:g,onKeydown:N=>{N.code===be.enter&&g()}},[v?n.renderSlot(r,"add-icon"):n.createVNode(de,{class:i.is("icon-plus")},{default:()=>[n.createVNode($0,null,null)]})]):null,b=n.createVNode("div",{class:[i.e("header"),l.value&&i.e("header-vertical"),i.is(e.tabPosition)]},[n.createVNode(y,{render:()=>{const N=s.value.some(w=>w.slots.label);return n.createVNode(ZZ,{ref:d,currentName:f.value,editable:e.editable,type:e.type,panes:s.value,stretch:e.stretch,onTabClick:h,onTabRemove:m},{$stable:!N})}},null),_]),M=n.createVNode("div",{class:i.e("content")},[n.renderSlot(r,"default")]);return n.createVNode("div",{class:[i.b(),i.m(e.tabPosition),{[i.m("card")]:e.type==="card",[i.m("border-card")]:e.type==="border-card"}]},[M,b])}}}),tJ=le({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),JM="ElTabPane",nJ=n.defineComponent({name:JM}),rJ=n.defineComponent({...nJ,props:tJ,setup(e){const t=e,r=n.getCurrentInstance(),o=n.useSlots(),a=n.inject(Gc);a||Jn(JM,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const i=ie("tab-pane"),l=n.ref(),s=n.computed(()=>t.closable||a.props.closable),u=Vf(()=>{var h;return a.currentName.value===((h=t.name)!=null?h:l.value)}),c=n.ref(u.value),d=n.computed(()=>{var h;return(h=t.name)!=null?h:l.value}),f=Vf(()=>!t.lazy||c.value||u.value);n.watch(u,h=>{h&&(c.value=!0)});const p=n.reactive({uid:r.uid,slots:o,props:t,paneName:d,active:u,index:l,isClosable:s});return a.registerPane(p),n.onMounted(()=>{a.sortPane(p)}),n.onUnmounted(()=>{a.unregisterPane(p.uid)}),(h,m)=>n.unref(f)?n.withDirectives((n.openBlock(),n.createElementBlock("div",{key:0,id:`pane-${n.unref(d)}`,class:n.normalizeClass(n.unref(i).b()),role:"tabpanel","aria-hidden":!n.unref(u),"aria-labelledby":`tab-${n.unref(d)}`},[n.renderSlot(h.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[n.vShow,n.unref(u)]]):n.createCommentVNode("v-if",!0)}});var XM=me(rJ,[["__file","tab-pane.vue"]]);const oJ=Xe(eJ,{TabPane:XM}),aJ=Cn(XM),iJ=le({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:K(String),default:"light"},clearable:{type:Boolean,default:!0},size:wn,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,name:String,prefixIcon:{type:K([String,Object]),default:()=>B0},clearIcon:{type:K([String,Object]),default:()=>ka},...em}),Qr=e=>{const t=(e||"").split(":");if(t.length>=2){let r=Number.parseInt(t[0],10);const o=Number.parseInt(t[1],10),a=e.toUpperCase();return a.includes("AM")&&r===12?r=0:a.includes("PM")&&r!==12&&(r+=12),{hours:r,minutes:o}}return null},$d=(e,t)=>{const r=Qr(e);if(!r)return-1;const o=Qr(t);if(!o)return-1;const a=r.minutes+r.hours*60,i=o.minutes+o.hours*60;return a===i?0:a>i?1:-1},T1=e=>`${e}`.padStart(2,"0"),Fa=e=>`${T1(e.hours)}:${T1(e.minutes)}`,lJ=(e,t)=>{const r=Qr(e);if(!r)return"";const o=Qr(t);if(!o)return"";const a={hours:r.hours,minutes:r.minutes};return a.minutes+=o.minutes,a.hours+=o.hours,a.hours+=Math.floor(a.minutes/60),a.minutes=a.minutes%60,Fa(a)},sJ=n.defineComponent({name:"ElTimeSelect"}),uJ=n.defineComponent({...sJ,props:iJ,emits:["change","blur","focus","clear","update:modelValue"],setup(e,{expose:t}){const r=e;pe.extend(lM);const{Option:o}=cp,a=ie("input"),i=n.ref(),l=Xn(),{lang:s}=ht(),u=n.computed(()=>r.modelValue),c=n.computed(()=>{const v=Qr(r.start);return v?Fa(v):null}),d=n.computed(()=>{const v=Qr(r.end);return v?Fa(v):null}),f=n.computed(()=>{const v=Qr(r.step);return v?Fa(v):null}),p=n.computed(()=>{const v=Qr(r.minTime||"");return v?Fa(v):null}),h=n.computed(()=>{const v=Qr(r.maxTime||"");return v?Fa(v):null}),m=n.computed(()=>{const v=[];if(r.start&&r.end&&r.step){let _=c.value,b;for(;_&&d.value&&$d(_,d.value)<=0;)b=pe(_,"HH:mm").locale(s.value).format(r.format),v.push({value:b,disabled:$d(_,p.value||"-1:-1")<=0||$d(_,h.value||"100:100")>=0}),_=lJ(_,f.value)}return v});return t({blur:()=>{var v,_;(_=(v=i.value)==null?void 0:v.blur)==null||_.call(v)},focus:()=>{var v,_;(_=(v=i.value)==null?void 0:v.focus)==null||_.call(v)}}),(v,_)=>(n.openBlock(),n.createBlock(n.unref(cp),{ref_key:"select",ref:i,"model-value":n.unref(u),disabled:n.unref(l),clearable:v.clearable,"clear-icon":v.clearIcon,size:v.size,effect:v.effect,placeholder:v.placeholder,"default-first-option":"",filterable:v.editable,"empty-values":v.emptyValues,"value-on-clear":v.valueOnClear,"onUpdate:modelValue":b=>v.$emit("update:modelValue",b),onChange:b=>v.$emit("change",b),onBlur:b=>v.$emit("blur",b),onFocus:b=>v.$emit("focus",b),onClear:()=>v.$emit("clear")},{prefix:n.withCtx(()=>[v.prefixIcon?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass(n.unref(a).e("prefix-icon"))},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(v.prefixIcon)))]),_:1},8,["class"])):n.createCommentVNode("v-if",!0)]),default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(m),b=>(n.openBlock(),n.createBlock(n.unref(o),{key:b.value,label:b.value,value:b.value,disabled:b.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","onUpdate:modelValue","onChange","onBlur","onFocus","onClear"]))}});var cJ=me(uJ,[["__file","time-select.vue"]]);const dJ=Xe(cJ),e6=Symbol("uploadContextKey"),fJ="ElUpload";class pJ extends Error{constructor(t,r,o,a){super(t),this.name="UploadAjaxError",this.status=r,this.method=o,this.url=a}}function D1(e,t,r){let o;return r.response?o=`${r.response.error||r.response}`:r.responseText?o=`${r.responseText}`:o=`fail to ${t.method} ${e} ${r.status}`,new pJ(o,r.status,t.method,e)}function mJ(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const hJ=e=>{typeof XMLHttpRequest>"u"&&Jn(fJ,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,r=e.action;t.upload&&t.upload.addEventListener("progress",i=>{const l=i;l.percent=i.total>0?i.loaded/i.total*100:0,e.onProgress(l)});const o=new FormData;if(e.data)for(const[i,l]of Object.entries(e.data))we(l)&&l.length?o.append(i,...l):o.append(i,l);o.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(D1(r,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(D1(r,e,t));e.onSuccess(mJ(t))}),t.open(e.method,r,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const a=e.headers||{};if(a instanceof Headers)a.forEach((i,l)=>t.setRequestHeader(l,i));else for(const[i,l]of Object.entries(a))Bn(l)||t.setRequestHeader(i,String(l));return t.send(o),t},t6=["text","picture","picture-card"];let gJ=1;const fp=()=>Date.now()+gJ++,n6=le({action:{type:String,default:"#"},headers:{type:K(Object)},method:{type:String,default:"post"},data:{type:K([Object,Function,Promise]),default:()=>pr({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:K(Array),default:()=>pr([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:t6,default:"text"},httpRequest:{type:K(Function),default:hJ},disabled:Boolean,limit:Number}),vJ=le({...n6,beforeUpload:{type:K(Function),default:lt},beforeRemove:{type:K(Function)},onRemove:{type:K(Function),default:lt},onChange:{type:K(Function),default:lt},onPreview:{type:K(Function),default:lt},onSuccess:{type:K(Function),default:lt},onProgress:{type:K(Function),default:lt},onError:{type:K(Function),default:lt},onExceed:{type:K(Function),default:lt},crossorigin:{type:K(String)}}),yJ=le({files:{type:K(Array),default:()=>pr([])},disabled:{type:Boolean,default:!1},handlePreview:{type:K(Function),default:lt},listType:{type:String,values:t6,default:"text"},crossorigin:{type:K(String)}}),MJ={remove:e=>!!e},_J=n.defineComponent({name:"ElUploadList"}),bJ=n.defineComponent({..._J,props:yJ,emits:MJ,setup(e,{emit:t}){const r=e,{t:o}=ht(),a=ie("upload"),i=ie("icon"),l=ie("list"),s=Xn(),u=n.ref(!1),c=n.computed(()=>[a.b("list"),a.bm("list",r.listType),a.is("disabled",r.disabled)]),d=f=>{t("remove",f)};return(f,p)=>(n.openBlock(),n.createBlock(n.TransitionGroup,{tag:"ul",class:n.normalizeClass(n.unref(c)),name:n.unref(l).b()},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(f.files,(h,m)=>(n.openBlock(),n.createElementBlock("li",{key:h.uid||h.name,class:n.normalizeClass([n.unref(a).be("list","item"),n.unref(a).is(h.status),{focusing:u.value}]),tabindex:"0",onKeydown:n.withKeys(g=>!n.unref(s)&&d(h),["delete"]),onFocus:g=>u.value=!0,onBlur:g=>u.value=!1,onClick:g=>u.value=!1},[n.renderSlot(f.$slots,"default",{file:h,index:m},()=>[f.listType==="picture"||h.status!=="uploading"&&f.listType==="picture-card"?(n.openBlock(),n.createElementBlock("img",{key:0,class:n.normalizeClass(n.unref(a).be("list","item-thumbnail")),src:h.url,crossorigin:f.crossorigin,alt:""},null,10,["src","crossorigin"])):n.createCommentVNode("v-if",!0),h.status==="uploading"||f.listType!=="picture-card"?(n.openBlock(),n.createElementBlock("div",{key:1,class:n.normalizeClass(n.unref(a).be("list","item-info"))},[n.createElementVNode("a",{class:n.normalizeClass(n.unref(a).be("list","item-name")),onClick:n.withModifiers(g=>f.handlePreview(h),["prevent"])},[n.createVNode(n.unref(de),{class:n.normalizeClass(n.unref(i).m("document"))},{default:n.withCtx(()=>[n.createVNode(n.unref(ry))]),_:1},8,["class"]),n.createElementVNode("span",{class:n.normalizeClass(n.unref(a).be("list","item-file-name")),title:h.name},n.toDisplayString(h.name),11,["title"])],10,["onClick"]),h.status==="uploading"?(n.openBlock(),n.createBlock(n.unref(GM),{key:0,type:f.listType==="picture-card"?"circle":"line","stroke-width":f.listType==="picture-card"?6:2,percentage:Number(h.percentage),style:n.normalizeStyle(f.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):n.createCommentVNode("v-if",!0)],2)):n.createCommentVNode("v-if",!0),n.createElementVNode("label",{class:n.normalizeClass(n.unref(a).be("list","item-status-label"))},[f.listType==="text"?(n.openBlock(),n.createBlock(n.unref(de),{key:0,class:n.normalizeClass([n.unref(i).m("upload-success"),n.unref(i).m("circle-check")])},{default:n.withCtx(()=>[n.createVNode(n.unref(Lc))]),_:1},8,["class"])):["picture-card","picture"].includes(f.listType)?(n.openBlock(),n.createBlock(n.unref(de),{key:1,class:n.normalizeClass([n.unref(i).m("upload-success"),n.unref(i).m("check")])},{default:n.withCtx(()=>[n.createVNode(n.unref(j0))]),_:1},8,["class"])):n.createCommentVNode("v-if",!0)],2),n.unref(s)?n.createCommentVNode("v-if",!0):(n.openBlock(),n.createBlock(n.unref(de),{key:2,class:n.normalizeClass(n.unref(i).m("close")),onClick:g=>d(h)},{default:n.withCtx(()=>[n.createVNode(n.unref(Jr))]),_:2},1032,["class","onClick"])),n.createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),n.createCommentVNode(" This is a bug which needs to be fixed "),n.createCommentVNode(" TODO: Fix the incorrect navigation interaction "),n.unref(s)?n.createCommentVNode("v-if",!0):(n.openBlock(),n.createElementBlock("i",{key:3,class:n.normalizeClass(n.unref(i).m("close-tip"))},n.toDisplayString(n.unref(o)("el.upload.deleteTip")),3)),f.listType==="picture-card"?(n.openBlock(),n.createElementBlock("span",{key:4,class:n.normalizeClass(n.unref(a).be("list","item-actions"))},[n.createElementVNode("span",{class:n.normalizeClass(n.unref(a).be("list","item-preview")),onClick:g=>f.handlePreview(h)},[n.createVNode(n.unref(de),{class:n.normalizeClass(n.unref(i).m("zoom-in"))},{default:n.withCtx(()=>[n.createVNode(n.unref(R0))]),_:1},8,["class"])],10,["onClick"]),n.unref(s)?n.createCommentVNode("v-if",!0):(n.openBlock(),n.createElementBlock("span",{key:0,class:n.normalizeClass(n.unref(a).be("list","item-delete")),onClick:g=>d(h)},[n.createVNode(n.unref(de),{class:n.normalizeClass(n.unref(i).m("delete"))},{default:n.withCtx(()=>[n.createVNode(n.unref(ny))]),_:1},8,["class"])],10,["onClick"]))],2)):n.createCommentVNode("v-if",!0)])],42,["onKeydown","onFocus","onBlur","onClick"]))),128)),n.renderSlot(f.$slots,"append")]),_:3},8,["class","name"]))}});var S1=me(bJ,[["__file","upload-list.vue"]]);const NJ=le({disabled:{type:Boolean,default:!1}}),wJ={file:e=>we(e)},r6="ElUploadDrag",kJ=n.defineComponent({name:r6}),CJ=n.defineComponent({...kJ,props:NJ,emits:wJ,setup(e,{emit:t}){n.inject(e6)||Jn(r6,"usage: <el-upload><el-upload-dragger /></el-upload>");const o=ie("upload"),a=n.ref(!1),i=Xn(),l=u=>{if(i.value)return;a.value=!1,u.stopPropagation();const c=Array.from(u.dataTransfer.files);t("file",c)},s=()=>{i.value||(a.value=!0)};return(u,c)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([n.unref(o).b("dragger"),n.unref(o).is("dragover",a.value)]),onDrop:n.withModifiers(l,["prevent"]),onDragover:n.withModifiers(s,["prevent"]),onDragleave:n.withModifiers(d=>a.value=!1,["prevent"])},[n.renderSlot(u.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}});var xJ=me(CJ,[["__file","upload-dragger.vue"]]);const EJ=le({...n6,beforeUpload:{type:K(Function),default:lt},onRemove:{type:K(Function),default:lt},onStart:{type:K(Function),default:lt},onSuccess:{type:K(Function),default:lt},onProgress:{type:K(Function),default:lt},onError:{type:K(Function),default:lt},onExceed:{type:K(Function),default:lt}}),TJ=n.defineComponent({name:"ElUploadContent",inheritAttrs:!1}),DJ=n.defineComponent({...TJ,props:EJ,setup(e,{expose:t}){const r=e,o=ie("upload"),a=Xn(),i=n.shallowRef({}),l=n.shallowRef(),s=g=>{if(g.length===0)return;const{autoUpload:y,limit:v,fileList:_,multiple:b,onStart:M,onExceed:N}=r;if(v&&_.length+g.length>v){N(g,_);return}b||(g=g.slice(0,1));for(const w of g){const x=w;x.uid=fp(),M(x),y&&u(x)}},u=async g=>{if(l.value.value="",!r.beforeUpload)return d(g);let y,v={};try{const b=r.data,M=r.beforeUpload(g);v=e2(r.data)?T2(r.data):r.data,y=await M,e2(r.data)&&oa(b,v)&&(v=T2(r.data))}catch{y=!1}if(y===!1){r.onRemove(g);return}let _=g;y instanceof Blob&&(y instanceof File?_=y:_=new File([y],g.name,{type:g.type})),d(Object.assign(_,{uid:g.uid}),v)},c=async(g,y)=>rt(g)?g(y):g,d=async(g,y)=>{const{headers:v,data:_,method:b,withCredentials:M,name:N,action:w,onProgress:x,onSuccess:T,onError:O,httpRequest:j}=r;try{y=await c(y??_,g)}catch{r.onRemove(g);return}const{uid:P}=g,R={headers:v||{},withCredentials:M,file:g,data:y,method:b,filename:N,action:w,onProgress:Q=>{x(Q,g)},onSuccess:Q=>{T(Q,g),delete i.value[P]},onError:Q=>{O(Q,g),delete i.value[P]}},$=j(R);i.value[P]=$,$ instanceof Promise&&$.then(R.onSuccess,R.onError)},f=g=>{const y=g.target.files;y&&s(Array.from(y))},p=()=>{a.value||(l.value.value="",l.value.click())},h=()=>{p()};return t({abort:g=>{zA(i.value).filter(g?([v])=>String(g.uid)===v:()=>!0).forEach(([v,_])=>{_ instanceof XMLHttpRequest&&_.abort(),delete i.value[v]})},upload:u}),(g,y)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([n.unref(o).b(),n.unref(o).m(g.listType),n.unref(o).is("drag",g.drag),n.unref(o).is("disabled",n.unref(a))]),tabindex:n.unref(a)?"-1":"0",onClick:p,onKeydown:n.withKeys(n.withModifiers(h,["self"]),["enter","space"])},[g.drag?(n.openBlock(),n.createBlock(xJ,{key:0,disabled:n.unref(a),onFile:s},{default:n.withCtx(()=>[n.renderSlot(g.$slots,"default")]),_:3},8,["disabled"])):n.renderSlot(g.$slots,"default",{key:1}),n.createElementVNode("input",{ref_key:"inputRef",ref:l,class:n.normalizeClass(n.unref(o).e("input")),name:g.name,disabled:n.unref(a),multiple:g.multiple,accept:g.accept,type:"file",onChange:f,onClick:n.withModifiers(()=>{},["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}});var I1=me(DJ,[["__file","upload-content.vue"]]);const A1="ElUpload",z1=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},SJ=(e,t)=>{const r=BE(e,"fileList",void 0,{passive:!0}),o=h=>r.value.find(m=>m.uid===h.uid);function a(h){var m;(m=t.value)==null||m.abort(h)}function i(h=["ready","uploading","success","fail"]){r.value=r.value.filter(m=>!h.includes(m.status))}function l(h){r.value=r.value.filter(m=>m!==h)}const s=(h,m)=>{const g=o(m);g&&(console.error(h),g.status="fail",l(g),e.onError(h,g,r.value),e.onChange(g,r.value))},u=(h,m)=>{const g=o(m);g&&(e.onProgress(h,g,r.value),g.status="uploading",g.percentage=Math.round(h.percent))},c=(h,m)=>{const g=o(m);g&&(g.status="success",g.response=h,e.onSuccess(h,g,r.value),e.onChange(g,r.value))},d=h=>{Bn(h.uid)&&(h.uid=fp());const m={name:h.name,percentage:0,status:"ready",size:h.size,raw:h,uid:h.uid};if(e.listType==="picture-card"||e.listType==="picture")try{m.url=URL.createObjectURL(h)}catch(g){Ye(A1,g.message),e.onError(g,m,r.value)}r.value=[...r.value,m],e.onChange(m,r.value)},f=async h=>{const m=h instanceof File?o(h):h;m||Jn(A1,"file to be removed not found");const g=y=>{a(y),l(y),e.onRemove(y,r.value),z1(y)};e.beforeRemove?await e.beforeRemove(m,r.value)!==!1&&g(m):g(m)};function p(){r.value.filter(({status:h})=>h==="ready").forEach(({raw:h})=>{var m;return h&&((m=t.value)==null?void 0:m.upload(h))})}return n.watch(()=>e.listType,h=>{h!=="picture-card"&&h!=="picture"||(r.value=r.value.map(m=>{const{raw:g,url:y}=m;if(!y&&g)try{m.url=URL.createObjectURL(g)}catch(v){e.onError(v,m,r.value)}return m}))}),n.watch(r,h=>{for(const m of h)m.uid||(m.uid=fp()),m.status||(m.status="success")},{immediate:!0,deep:!0}),{uploadFiles:r,abort:a,clearFiles:i,handleError:s,handleProgress:u,handleStart:d,handleSuccess:c,handleRemove:f,submit:p,revokeFileObjectURL:z1}},IJ=n.defineComponent({name:"ElUpload"}),AJ=n.defineComponent({...IJ,props:vJ,setup(e,{expose:t}){const r=e,o=Xn(),a=n.shallowRef(),{abort:i,submit:l,clearFiles:s,uploadFiles:u,handleStart:c,handleError:d,handleRemove:f,handleSuccess:p,handleProgress:h,revokeFileObjectURL:m}=SJ(r,a),g=n.computed(()=>r.listType==="picture-card"),y=n.computed(()=>({...r,fileList:u.value,onStart:c,onProgress:h,onSuccess:p,onError:d,onRemove:f}));return n.onBeforeUnmount(()=>{u.value.forEach(m)}),n.provide(e6,{accept:n.toRef(r,"accept")}),t({abort:i,submit:l,clearFiles:s,handleStart:c,handleRemove:f}),(v,_)=>(n.openBlock(),n.createElementBlock("div",null,[n.unref(g)&&v.showFileList?(n.openBlock(),n.createBlock(S1,{key:0,disabled:n.unref(o),"list-type":v.listType,files:n.unref(u),crossorigin:v.crossorigin,"handle-preview":v.onPreview,onRemove:n.unref(f)},n.createSlots({append:n.withCtx(()=>[n.createVNode(I1,n.mergeProps({ref_key:"uploadRef",ref:a},n.unref(y)),{default:n.withCtx(()=>[v.$slots.trigger?n.renderSlot(v.$slots,"trigger",{key:0}):n.createCommentVNode("v-if",!0),!v.$slots.trigger&&v.$slots.default?n.renderSlot(v.$slots,"default",{key:1}):n.createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[v.$slots.file?{name:"default",fn:n.withCtx(({file:b,index:M})=>[n.renderSlot(v.$slots,"file",{file:b,index:M})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):n.createCommentVNode("v-if",!0),!n.unref(g)||n.unref(g)&&!v.showFileList?(n.openBlock(),n.createBlock(I1,n.mergeProps({key:1,ref_key:"uploadRef",ref:a},n.unref(y)),{default:n.withCtx(()=>[v.$slots.trigger?n.renderSlot(v.$slots,"trigger",{key:0}):n.createCommentVNode("v-if",!0),!v.$slots.trigger&&v.$slots.default?n.renderSlot(v.$slots,"default",{key:1}):n.createCommentVNode("v-if",!0)]),_:3},16)):n.createCommentVNode("v-if",!0),v.$slots.trigger?n.renderSlot(v.$slots,"default",{key:2}):n.createCommentVNode("v-if",!0),n.renderSlot(v.$slots,"tip"),!n.unref(g)&&v.showFileList?(n.openBlock(),n.createBlock(S1,{key:3,disabled:n.unref(o),"list-type":v.listType,files:n.unref(u),crossorigin:v.crossorigin,"handle-preview":v.onPreview,onRemove:n.unref(f)},n.createSlots({_:2},[v.$slots.file?{name:"default",fn:n.withCtx(({file:b,index:M})=>[n.renderSlot(v.$slots,"file",{file:b,index:M})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):n.createCommentVNode("v-if",!0)]))}});var zJ=me(AJ,[["__file","upload.vue"]]);const OJ=Xe(zJ);function jJ(e){let t;const r=n.ref(!1),o=n.reactive({...e,originalPosition:"",originalOverflow:"",visible:!1});function a(p){o.text=p}function i(){const p=o.parent,h=f.ns;if(!p.vLoadingAddClassList){let m=p.getAttribute("loading-number");m=Number.parseInt(m)-1,m?p.setAttribute("loading-number",m.toString()):(Cl(p,h.bm("parent","relative")),p.removeAttribute("loading-number")),Cl(p,h.bm("parent","hidden"))}l(),d.unmount()}function l(){var p,h;(h=(p=f.$el)==null?void 0:p.parentNode)==null||h.removeChild(f.$el)}function s(){var p;e.beforeClose&&!e.beforeClose()||(r.value=!0,clearTimeout(t),t=setTimeout(u,400),o.visible=!1,(p=e.closed)==null||p.call(e))}function u(){if(!r.value)return;const p=o.parent;r.value=!1,p.vLoadingAddClassList=void 0,i()}const c=n.defineComponent({name:"ElLoading",setup(p,{expose:h}){const{ns:m,zIndex:g}=VU("loading");return h({ns:m,zIndex:g}),()=>{const y=o.spinner||o.svg,v=n.h("svg",{class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50",...y?{innerHTML:y}:{}},[n.h("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),_=o.text?n.h("p",{class:m.b("text")},[o.text]):void 0;return n.h(n.Transition,{name:m.b("fade"),onAfterLeave:u},{default:n.withCtx(()=>[n.withDirectives(n.createVNode("div",{style:{backgroundColor:o.background||""},class:[m.b("mask"),o.customClass,o.fullscreen?"is-fullscreen":""]},[n.h("div",{class:m.b("spinner")},[v,_])]),[[n.vShow,o.visible]])])})}}}),d=n.createApp(c),f=d.mount(document.createElement("div"));return{...n.toRefs(o),setText:a,removeElLoadingChild:l,close:s,handleAfterLeave:u,vm:f,get $el(){return f.$el}}}let Ds;const pp=function(e={}){if(!We)return;const t=LJ(e);if(t.fullscreen&&Ds)return Ds;const r=jJ({...t,closed:()=>{var a;(a=t.closed)==null||a.call(t),t.fullscreen&&(Ds=void 0)}});BJ(t,t.parent,r),O1(t,t.parent,r),t.parent.vLoadingAddClassList=()=>O1(t,t.parent,r);let o=t.parent.getAttribute("loading-number");return o?o=`${Number.parseInt(o)+1}`:o="1",t.parent.setAttribute("loading-number",o),t.parent.appendChild(r.$el),n.nextTick(()=>r.visible.value=t.visible),t.fullscreen&&(Ds=r),r},LJ=e=>{var t,r,o,a;let i;return Je(e.target)?i=(t=document.querySelector(e.target))!=null?t:document.body:i=e.target||document.body,{parent:i===document.body||e.body?document.body:i,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:i===document.body&&((r=e.fullscreen)!=null?r:!0),lock:(o=e.lock)!=null?o:!1,customClass:e.customClass||"",visible:(a=e.visible)!=null?a:!0,beforeClose:e.beforeClose,closed:e.closed,target:i}},BJ=async(e,t,r)=>{const{nextZIndex:o}=r.vm.zIndex||r.vm._.exposed.zIndex,a={};if(e.fullscreen)r.originalPosition.value=go(document.body,"position"),r.originalOverflow.value=go(document.body,"overflow"),a.zIndex=o();else if(e.parent===document.body){r.originalPosition.value=go(document.body,"position"),await n.nextTick();for(const i of["top","left"]){const l=i==="top"?"scrollTop":"scrollLeft";a[i]=`${e.target.getBoundingClientRect()[i]+document.body[l]+document.documentElement[l]-Number.parseInt(go(document.body,`margin-${i}`),10)}px`}for(const i of["height","width"])a[i]=`${e.target.getBoundingClientRect()[i]}px`}else r.originalPosition.value=go(t,"position");for(const[i,l]of Object.entries(a))r.$el.style[i]=l},O1=(e,t,r)=>{const o=r.vm.ns||r.vm._.exposed.ns;["absolute","fixed","sticky"].includes(r.originalPosition.value)?Cl(t,o.bm("parent","relative")):Qf(t,o.bm("parent","relative")),e.fullscreen&&e.lock?Qf(t,o.bm("parent","hidden")):Cl(t,o.bm("parent","hidden"))},Xs=Symbol("ElLoading"),j1=(e,t)=>{var r,o,a,i;const l=t.instance,s=p=>kt(t.value)?t.value[p]:void 0,u=p=>{const h=Je(p)&&(l==null?void 0:l[p])||p;return h&&n.ref(h)},c=p=>u(s(p)||e.getAttribute(`element-loading-${QE(p)}`)),d=(r=s("fullscreen"))!=null?r:t.modifiers.fullscreen,f={text:c("text"),svg:c("svg"),svgViewBox:c("svgViewBox"),spinner:c("spinner"),background:c("background"),customClass:c("customClass"),fullscreen:d,target:(o=s("target"))!=null?o:d?void 0:e,body:(a=s("body"))!=null?a:t.modifiers.body,lock:(i=s("lock"))!=null?i:t.modifiers.lock};e[Xs]={options:f,instance:pp(f)}},VJ=(e,t)=>{for(const r of Object.keys(t))n.isRef(t[r])&&(t[r].value=e[r])},L1={mounted(e,t){t.value&&j1(e,t)},updated(e,t){const r=e[Xs];t.oldValue!==t.value&&(t.value&&!t.oldValue?j1(e,t):t.value&&t.oldValue?kt(t.value)&&VJ(t.value,r.options):r==null||r.instance.close())},unmounted(e){var t;(t=e[Xs])==null||t.instance.close(),e[Xs]=null}},$J={install(e){e.directive("loading",L1),e.config.globalProperties.$loading=pp},directive:L1,service:pp};const PJ=e=>{let t=e;return e.startsWith("El")&&(t=e.substring(2)),`L${t}`},RJ=[Dr,cp,yQ,MQ,HQ,cW,sK,uK,cK,FH,UH,NK,HK,YK,GM,VZ,aJ,OJ],o6={};o6.install=function(e){for(const t of RJ)e.component(PJ(t.name),t);for(const[t,r]of Object.entries(py)){const o=`ElIcon${t}`;e.component(o,r)}};const FJ=n.defineComponent({name:"LAlert",components:{Alert:ZU},props:{type:{type:String,default:"info"},showIcon:{type:Boolean,default:!1}}});function UJ(e,t,r,o,a,i){const l=n.resolveComponent("Alert");return n.openBlock(),n.createBlock(l,n.mergeProps(e.$attrs,{type:e.type,"show-icon":e.showIcon,class:"l-alert"}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16,["type","show-icon"])}const HJ=ge(FJ,[["render",UJ],["__scopeId","data-v-17379a78"]]),YJ=Object.freeze(Object.defineProperty({__proto__:null,default:HJ},Symbol.toStringTag,{value:"Module"}));function QJ(e){if(!e)return"";var t=1e3;if(Math.abs(e)<t)return e+" B";var r=["kb","MB","GB","TB","PB","EB","ZB","YB"],o=-1;do e/=t,++o;while(Math.abs(e)>=t&&o<r.length-1);return e.toFixed(1)+" "+r[o]}const qJ={tagName:"l-attachment-chip",props:{name:String,mime:String,thumb:String,url:String,size:Number,closeable:{type:Boolean,default:!1}},computed:{prettySize(){return QJ(this.size)},prettyMime(){if(!this.mime)return{extension:"???",color:"gray-20"};if(this.mime.indexOf("image/")>-1){const e={extension:"IMG",color:"green"};return{"image/gif":{extension:"GIF",color:"primary"},"image/jpeg":{extension:"JPG",color:"primary"},"image/png":{extension:"PNG",color:"primary"},"image/svg+xml":{extension:"SVG",color:"danger"}}[this.mime]||e}if(this.mime.indexOf("text/")>-1){const e={extension:"TXT",color:"lead"};return{"text/css":{extension:"CSS",color:"lead"},"text/csv":{extension:"CSV",color:"lead"},"text/html":{extension:"HTML",color:"lead"}}[this.mime]||e}if(this.mime.indexOf("video/")>-1){const e={extension:"VID",color:"danger"};return{"video/quicktime":{extension:"MOV",color:"danger"},"video/mp4":{extension:"MP4",color:"danger"},"video/mpeg":{extension:"MP4",color:"danger"}}[this.mime]||e}if(this.mime.indexOf("audio/")>-1)return{extension:"AUD",color:"info"};if(this.mime.indexOf("application/")>-1){const e={extension:"FIL",color:"danger"};return{"application/zip":{extension:"ZIP",color:"danger"},"application/x-rar-compressed":{extension:"RAR",color:"danger"},"application/pdf":{extension:"PDF",color:"danger"},"application/xml":{extension:"XML",color:"danger"},"application/javascript":{extension:"JS",color:"success"},"application/json":{extension:"JSON",color:"success"},"application/msword":{extension:"DOC",color:"link"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:"DOC",color:"link"},"application/vnd.ms-powerpoint":{extension:"PPT",color:"salmon"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:"PPT",color:"info"},"application/vnd.ms-excel":{extension:"XLS",color:"success"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:"XLS",color:"success"}}[this.mime]||e}return{extension:"FIL",color:"gray-20"}}},methods:{handleClose(e){e.stopPropagation(),this.$emit("close",this)}}},WJ={class:"l-attachment-chip"},GJ={key:0,class:"l-attachment-chip-thumb"},KJ=["src"],ZJ={key:1,class:"l-attachment-chip-mime"},JJ={class:"l-attachment-chip-text"},XJ={key:0,class:"l-attachment-chip-name"},eX={key:1,class:"l-attachment-chip-size"};function tX(e,t,r,o,a,i){const l=n.resolveComponent("l-icon");return n.openBlock(),n.createElementBlock("span",WJ,[r.thumb?(n.openBlock(),n.createElementBlock("div",GJ,[n.createElementVNode("img",{alt:"Thumb",src:r.thumb,width:"32",height:"32"},null,8,KJ)])):r.mime&&i.prettyMime?(n.openBlock(),n.createElementBlock("div",ZJ,[n.createElementVNode("div",{class:"l-attachment-chip-extension",style:n.normalizeStyle({"background-color":"var(--color-"+i.prettyMime.color+")"})},n.toDisplayString(i.prettyMime.extension),5)])):n.createCommentVNode("",!0),n.createElementVNode("span",JJ,[r.name?(n.openBlock(),n.createElementBlock("span",XJ,n.toDisplayString(r.name),1)):n.createCommentVNode("",!0),i.prettySize&&!r.closeable?(n.openBlock(),n.createElementBlock("span",eX,"("+n.toDisplayString(i.prettySize)+")",1)):n.createCommentVNode("",!0)]),r.closeable?(n.openBlock(),n.createElementBlock("button",{key:2,class:"l-attachment-chip-clear",onClick:t[0]||(t[0]=(...s)=>i.handleClose&&i.handleClose(...s))},[n.createVNode(l,{color:"link"},{default:n.withCtx(()=>t[1]||(t[1]=[n.createTextVNode("uil-multiply")])),_:1})])):n.createCommentVNode("",!0)])}const nX=ge(qJ,[["render",tX]]),rX=Object.freeze(Object.defineProperty({__proto__:null,default:nX},Symbol.toStringTag,{value:"Module"}));const oX={tagName:"l-box"};function aX(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("div",null,[n.renderSlot(e.$slots,"default")])}const iX=ge(oX,[["render",aX]]),lX=Object.freeze(Object.defineProperty({__proto__:null,default:iX},Symbol.toStringTag,{value:"Module"}));const sX={tagName:"l-box-header",props:["icon"]};function uX(e,t,r,o,a,i){const l=n.resolveComponent("l-icon");return n.openBlock(),n.createElementBlock("div",null,[n.createElementVNode("h1",null,[r.icon?(n.openBlock(),n.createBlock(l,{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.icon),1)]),_:1})):n.createCommentVNode("",!0),n.renderSlot(e.$slots,"default")])])}const cX=ge(sX,[["render",uX]]),dX=Object.freeze(Object.defineProperty({__proto__:null,default:cX},Symbol.toStringTag,{value:"Module"}));const fX={tagName:"l-button",name:"LButton",components:{ElIcon:de,ElLoading:$J},inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,fab:Boolean,square:Boolean,fill:Boolean,textColor:String},computed:{isElementIcon(){return this.icon.startsWith("el-")||this.icon.startsWith("El")},iconPascalCase(){return this.icon.replace(/(^\w|-\w)/g,e=>e.replace(/-/,"").toUpperCase())},elementIconLoaded(){return this.isElementIcon&&py[this.iconPascalCase]},_elFormItemSize(){return(this.elFormItem||{}).elFormItemSize},buttonSize(){return this.size||this._elFormItemSize||(this.$el||{}).size},buttonDisabled(){return this.disabled||(this.elForm||{}).disabled},textColorStyle(){return ni(this.textColor)}}},pX=["disabled","autofocus","type"];function mX(e,t,r,o,a,i){const l=n.resolveComponent("el-icon-loading"),s=n.resolveComponent("el-icon");return n.openBlock(),n.createElementBlock("button",{class:n.normalizeClass(["l-button el-button",[r.type?"el-button--"+r.type:"",i.buttonSize?"el-button--"+i.buttonSize:"",{"is-disabled":i.buttonDisabled,"is-loading":r.loading,"is-plain":r.plain,"is-round":r.round,"is-circle":r.circle,"is-fab":r.fab,"is-square":r.square,"is-fill":r.fill}]]),disabled:i.buttonDisabled||r.loading,autofocus:r.autofocus,type:r.nativeType},[r.loading?(n.openBlock(),n.createBlock(s,{key:0},{default:n.withCtx(()=>[n.createVNode(l)]),_:1})):n.createCommentVNode("",!0),r.icon&&!r.loading?(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[i.isElementIcon?(n.openBlock(),n.createBlock(s,{key:0},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(r.icon)))]),_:1})):(n.openBlock(),n.createElementBlock("i",{key:1,class:n.normalizeClass(r.icon)},null,2))],64)):n.createCommentVNode("",!0),e.$slots.default?(n.openBlock(),n.createElementBlock("span",{key:2,style:n.normalizeStyle(r.type=="text"&&r.textColor?{color:i.textColorStyle}:"")},[n.renderSlot(e.$slots,"default")],4)):n.createCommentVNode("",!0)],10,pX)}const hX=ge(fX,[["render",mX]]),gX=Object.freeze(Object.defineProperty({__proto__:null,default:hX},Symbol.toStringTag,{value:"Module"}));const vX={tagName:"l-carousel",name:"Lcarousel",props:["images","height","width"],data:function(){return{selected:0}},methods:{previous(){this.selected--,this.$refs[`img:${this.selected}`][0].scrollIntoView({behavior:"smooth"})},next(){this.selected++,this.$refs[`img:${this.selected}`][0].scrollIntoView({behavior:"smooth"})}}},yX={class:"carousel"},MX={class:"slider-container"},_X={class:"img-container"},bX=["src","height","width"];function NX(e,t,r,o,a,i){const l=n.resolveComponent("l-button");return n.openBlock(),n.createElementBlock("div",yX,[e.selected>0?(n.openBlock(),n.createBlock(l,{key:0,class:"slider-control",circle:"",icon:"uil-angle-left",style:{left:"1em"},onClick:i.previous},null,8,["onClick"])):n.createCommentVNode("",!0),n.createElementVNode("div",MX,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.images,(s,u)=>(n.openBlock(),n.createElementBlock("div",{key:s.index,class:"slide",ref_for:!0,ref:`img:${u}`},[n.createElementVNode("div",_X,[n.createElementVNode("img",{alt:"Carousel image",src:s.src,height:r.height,width:r.width,style:{"border-radius":"10px"}},null,8,bX)])]))),128))]),e.selected<r.images.length-1?(n.openBlock(),n.createBlock(l,{key:1,class:"slider-control",circle:"",icon:"uil-angle-right",style:{right:"1em"},onClick:i.next},null,8,["onClick"])):n.createCommentVNode("",!0)])}const wX=ge(vX,[["render",NX],["__scopeId","data-v-4e5bb0e6"]]),kX=Object.freeze(Object.defineProperty({__proto__:null,default:wX},Symbol.toStringTag,{value:"Module"}));const CX={name:"LCheckbox",components:{ElCheckbox:xq}};function xX(e,t,r,o,a,i){const l=n.resolveComponent("ElCheckbox");return n.openBlock(),n.createBlock(l,n.normalizeProps(n.guardReactiveProps(e.$attrs)),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16)}const EX=ge(CX,[["render",xX],["__scopeId","data-v-bb9afd73"]]),TX=Object.freeze(Object.defineProperty({__proto__:null,default:EX},Symbol.toStringTag,{value:"Module"}));const DX={name:"LCheckboxButton",components:{CheckboxButton:Eq}};function SX(e,t,r,o,a,i){const l=n.resolveComponent("CheckboxButton");return n.openBlock(),n.createBlock(l,n.mergeProps({class:"l-checkbox-button"},e.$attrs),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16)}const IX=ge(DX,[["render",SX],["__scopeId","data-v-6640b3ce"]]),AX=Object.freeze(Object.defineProperty({__proto__:null,default:IX},Symbol.toStringTag,{value:"Module"}));const zX={name:"LCheckboxGroup",components:{CheckboxGroup:Tq},props:{separated:{type:Boolean,default:!1},color:{type:String,default:"aqua"}},computed:{customFill(){return Uv(this.color)}},mounted(){const e=this.$refs.checkboxGroup.$el;this.separated&&e.children&&e.children.length&&Array.from(e.children).forEach(t=>t.classList.add("l-checkbox-button-separated"))}};function OX(e,t,r,o,a,i){const l=n.resolveComponent("CheckboxGroup");return n.openBlock(),n.createBlock(l,n.mergeProps(e.$attrs,{class:[{"l-checkbox-group-separated":r.separated},"l-checkbox-group"],fill:i.customFill,"text-color":"white",ref:"checkboxGroup"}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16,["class","fill"])}const jX=ge(zX,[["render",OX],["__scopeId","data-v-2664a205"]]),LX=Object.freeze(Object.defineProperty({__proto__:null,default:jX},Symbol.toStringTag,{value:"Module"}));const BX={name:"LChip",props:{style:Object,icon:String,color:String,outline:{type:Boolean,default:!1},fill:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!0},hideIcon:{type:Boolean,default:!1},bold:{type:Boolean,default:!1}},computed:{chipStyle(){return{"--color":ni(this.color),"--b-color":Bf(this.color),...this.style}},chipClasses(){return{fill:this.fill,outline:this.outline,bold:this.bold}},getColor(){return ni(this.color)||this.color},getColorLight(){return Bf(this.color)||this.color}}},VX={key:1,class:"no-icon"},$X={class:"text"};function PX(e,t,r,o,a,i){const l=n.resolveComponent("l-icon");return n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass(["l-chip",i.chipClasses]),style:n.normalizeStyle(i.chipStyle)},[r.icon?(n.openBlock(),n.createBlock(l,{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.icon),1)]),_:1})):r.hideIcon?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("span",VX)),n.createElementVNode("span",$X,[n.renderSlot(e.$slots,"default",{},void 0,!0)])],6)}const RX=ge(BX,[["render",PX],["__scopeId","data-v-d09f7499"]]),FX=Object.freeze(Object.defineProperty({__proto__:null,default:RX},Symbol.toStringTag,{value:"Module"}));const UX={name:"LCircularLoader",props:{width:{type:Number,default:24},height:{type:Number,default:24},type:{type:String,default:"light"}}};function HX(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["loader-container",{dark:r.type==="dark"}]),style:n.normalizeStyle({width:`${r.width}px`,height:`${r.height}px`,"border-radius":`${r.width}px`})},[n.createElementVNode("div",{class:"loader",style:n.normalizeStyle({width:`${r.width*.66}px`})},t[0]||(t[0]=[n.createElementVNode("svg",{class:"circular",viewBox:"25 25 50 50"},[n.createElementVNode("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"5","stroke-miterlimit":"10"})],-1)]),4)],6)}const YX=ge(UX,[["render",HX],["__scopeId","data-v-11599f46"]]),QX=Object.freeze(Object.defineProperty({__proto__:null,default:YX},Symbol.toStringTag,{value:"Module"}));const qX={components:{ElCollapseItem:dW},name:"LCollapseItem"};function WX(e,t,r,o,a,i){const l=n.resolveComponent("el-collapse-item");return n.openBlock(),n.createBlock(l,n.mergeProps(e.$attrs,{class:"l-collapse-item"}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16)}const GX=ge(qX,[["render",WX],["__scopeId","data-v-0397a18d"]]),KX=Object.freeze(Object.defineProperty({__proto__:null,default:GX},Symbol.toStringTag,{value:"Module"}));const ZX={name:"LDatePicker",components:{ElDatePicker:rG},props:{prefixIcon:{type:String,default:()=>"uil-calender"},format:{type:String,default:()=>"DD/MM/YYYY"},startPlaceholder:{type:String,default:()=>"Do dia"},endPlaceholder:{type:String,default:()=>"Ao dia"},placeholder:{type:String,default:()=>"Selecione uma data"},rangeSeparator:{type:String,default:()=>" "},popperClass:{type:String,default:()=>"l-date-picker-popper"},hideIcon:{type:Boolean,default:()=>!1}}};function JX(e,t,r,o,a,i){const l=n.resolveComponent("el-date-picker");return n.openBlock(),n.createBlock(l,n.mergeProps(e.$attrs,{"prefix-icon":r.prefixIcon,format:r.format,"start-placeholder":r.startPlaceholder,"end-placeholder":r.endPlaceholder,placeholder:r.placeholder,"range-separator":r.rangeSeparator,"popper-class":r.popperClass,ref:"date-picker",class:[{"hide-icon":r.hideIcon},"l-date-picker"]}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default")]),_:3},16,["prefix-icon","format","start-placeholder","end-placeholder","placeholder","range-separator","popper-class","class"])}const XX=ge(ZX,[["render",JX]]),eee=Object.freeze(Object.defineProperty({__proto__:null,default:XX},Symbol.toStringTag,{value:"Module"}));const tee={name:"LDialog",components:{ElDialog:MG}};function nee(e,t,r,o,a,i){const l=n.resolveComponent("el-dialog");return n.openBlock(),n.createBlock(l,n.mergeProps(e.$attrs,{class:"l-dialog"}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16)}const ree=ge(tee,[["render",nee],["__scopeId","data-v-450b5a10"]]),oee=Object.freeze(Object.defineProperty({__proto__:null,default:ree},Symbol.toStringTag,{value:"Module"})),aee="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDI4MCAyMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNzYuNjggNTMuNTQ2M0MxOTYuMjggNTQuNTY1NSAyMjAuMTY0IDU3LjIzMTEgMjIyLjc0NiA4NS4wNzk5QzIyNC44NCAxMDcuNjY1IDIwMi41ODYgMTI0LjIzNSAxODUuMjcxIDEyOS4zOTNDMTY1LjM0IDEzNS4zMjkgMTQ5LjI5NiAxMjAuNTI4IDEyOS4zMzIgMTE4LjUzNEMxMDguOTk5IDExNi41MDcgOTguNDU5NiAxNDMuMTEzIDc4Ljg3NjQgMTM5LjgxNEM1OS44MzY0IDEzNi42MTcgNDguNzI2IDEwNy4zMzQgNDguMjUgODkuNDE0M0M0Ny42OSA2Ny40NDU1IDYwLjU3IDQ5LjU3NTkgNzQuMDEgMzYuMjQ3OUM4OC4yOTU2IDIyLjA1MTkgMTA3LjAxNiAxMS4zMTY3IDEyOC4zOTIgMjEuMzIzOUMxNDguMTg4IDMwLjU3NTEgMTUzLjQ2OCA1Mi4zMzY3IDE3Ni42OCA1My41NDYzWiIgZmlsbD0iIzU0NTFENiIvPgo8cGF0aCBvcGFjaXR5PSIwLjkiIGQ9Ik0xNzYuNjggNTMuNTQ2M0MxOTYuMjggNTQuNTY1NSAyMjAuMTY0IDU3LjIzMTEgMjIyLjc0NiA4NS4wNzk5QzIyNC44NCAxMDcuNjY1IDIwMi41ODYgMTI0LjIzNSAxODUuMjcxIDEyOS4zOTNDMTY1LjM0IDEzNS4zMjkgMTQ5LjI5NiAxMjAuNTI4IDEyOS4zMzIgMTE4LjUzNEMxMDguOTk5IDExNi41MDcgOTguNDU5NiAxNDMuMTEzIDc4Ljg3NjQgMTM5LjgxNEM1OS44MzY0IDEzNi42MTcgNDguNzI2IDEwNy4zMzQgNDguMjUgODkuNDE0M0M0Ny42OSA2Ny40NDU1IDYwLjU3IDQ5LjU3NTkgNzQuMDEgMzYuMjQ3OUM4OC4yOTU2IDIyLjA1MTkgMTA3LjAxNiAxMS4zMTY3IDEyOC4zOTIgMjEuMzIzOUMxNDguMTg4IDMwLjU3NTEgMTUzLjQ2OCA1Mi4zMzY3IDE3Ni42OCA1My41NDYzWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE0MCAxOTkuNjMzQzE5OS45NjYgMTk5LjYzMyAyNDguNTc5IDE5Ni43OTUgMjQ4LjU3OSAxOTMuMjk0QzI0OC41NzkgMTg5Ljc5MyAxOTkuOTY2IDE4Ni45NTUgMTQwIDE4Ni45NTVDODAuMDM0MSAxODYuOTU1IDMxLjQyMTkgMTg5Ljc5MyAzMS40MjE5IDE5My4yOTRDMzEuNDIxOSAxOTYuNzk1IDgwLjAzNDEgMTk5LjYzMyAxNDAgMTk5LjYzM1oiIGZpbGw9IiNGNUY1RjUiLz4KPHBhdGggZD0iTTExMi45OTcgMTg4LjEzMkwxMDguNDk0IDE4Ni42NTNMMTEwLjcxNyAxNzUuODM0TDExNS4yMiAxNzcuMzEyTDExMi45OTcgMTg4LjEzMloiIGZpbGw9IiNGRkI1NzMiLz4KPHBhdGggZD0iTTE1Mi4xNTcgMTg4LjE4N0gxNDcuNDE0TDE0Ni4yMzggMTc3LjIxN0gxNTAuOTc2TDE1Mi4xNTcgMTg4LjE4N1oiIGZpbGw9IiNGRkI1NzMiLz4KPHBhdGggZD0iTTE0Ny4wMjggMTg3LjYzOUgxNTIuODAxQzE1Mi44OTYgMTg3LjYzOSAxNTIuOTg4IDE4Ny42NzEgMTUzLjA2MiAxODcuNzNDMTUzLjEzNiAxODcuNzg5IDE1My4xODkgMTg3Ljg3MSAxNTMuMjEgMTg3Ljk2M0wxNTQuMTQ1IDE5Mi4xNzVDMTU0LjE2NyAxOTIuMjc3IDE1NC4xNjYgMTkyLjM4NCAxNTQuMTQxIDE5Mi40ODZDMTU0LjExNiAxOTIuNTg4IDE1NC4wNjggMTkyLjY4MyAxNTQuMDAyIDE5Mi43NjVDMTUzLjkzNSAxOTIuODQ2IDE1My44NTEgMTkyLjkxMSAxNTMuNzU1IDE5Mi45NTVDMTUzLjY2IDE5MyAxNTMuNTU2IDE5My4wMjIgMTUzLjQ1MSAxOTMuMDJDMTUxLjU5MiAxOTIuOTg3IDE1MC4yMzYgMTkyLjg4IDE0Ny44OTYgMTkyLjg4QzE0Ni40NTEgMTkyLjg4IDE0Mi4xMTEgMTkzLjAyNiAxNDAuMTIzIDE5My4wMjZDMTM4LjEzNSAxOTMuMDI2IDEzNy44ODMgMTkxLjA2IDEzOC42ODQgMTkwLjg4MUMxNDIuMzM1IDE5MC4wODYgMTQ1LjA5IDE4OC45ODMgMTQ2LjI1NSAxODcuOTNDMTQ2LjQ2OSAxODcuNzQzIDE0Ni43NDMgMTg3LjY0IDE0Ny4wMjggMTg3LjYzOVoiIGZpbGw9IiMyNjMyMzgiLz4KPHBhdGggZD0iTTEwOC41NzMgMTg1Ljk0MUwxMTMuNTYyIDE4Ny4zMTNDMTEzLjY1MiAxODcuMzQgMTEzLjczMSAxODcuMzk1IDExMy43ODYgMTg3LjQ3MUMxMTMuODQxIDE4Ny41NDcgMTEzLjg2OCAxODcuNjQgMTEzLjg2NSAxODcuNzMzTDExMy42NDYgMTkyLjA0NUMxMTMuNjQyIDE5Mi4xNSAxMTMuNjE0IDE5Mi4yNTIgMTEzLjU2NCAxOTIuMzQzQzExMy41MTUgMTkyLjQzNSAxMTMuNDQ1IDE5Mi41MTUgMTEzLjM2IDE5Mi41NzZDMTEzLjI3NiAxOTIuNjM2IDExMy4xNzggMTkyLjY3NyAxMTMuMDc2IDE5Mi42OTVDMTEyLjk3MyAxOTIuNzEzIDExMi44NjcgMTkyLjcwNyAxMTIuNzY3IDE5Mi42NzhDMTEwLjk3NSAxOTIuMTUyIDEwOC40MDUgMTkxLjMyOSAxMDYuMTQyIDE5MC43MDFDMTAzLjQ5OSAxODkuOTczIDEwMy4wMDYgMTg5LjcyMSA5OS45MDM4IDE4OC44N0M5OC4wMjc4IDE4OC4zNDkgOTguMDI3OCAxODYuMzExIDk4Ljg2MjIgMTg2LjM1NkMxMDIuNjUzIDE4Ni41NTcgMTAzLjc2MiAxODcuMDQ1IDEwNy4zNzQgMTg1Ljk5MkMxMDcuNzYxIDE4NS44NjQgMTA4LjE3NiAxODUuODQ2IDEwOC41NzMgMTg1Ljk0MVoiIGZpbGw9IiMyNjMyMzgiLz4KPHBhdGggZD0iTTEzMS45MTMgNDQuMTk5OUMxMzEuNjExIDQ0LjU5MTkgMTMxLjM4MSA0NC44ODMxIDEzMS4xMTMgNDUuMjEzNUMxMzAuODQ0IDQ1LjU0MzkgMTMwLjU4NiA0NS44MzUxIDEzMC4zMTcgNDYuMTQzMUMxMjkuNzU3IDQ2Ljc1MzUgMTI5LjE5NyA0Ny4zNDcxIDEyOC42MzcgNDcuOTI5NUMxMjcuNTA3IDQ5LjExNjYgMTI2LjMxMSA1MC4yMzg0IDEyNS4wNTMgNTEuMjg5NUMxMjIuNDU0IDUzLjUzODEgMTE5LjQ3OCA1NS4zMDg5IDExNi4yNjEgNTYuNTE5OUMxMTUuMzc1IDU2LjgzMjYgMTE0LjQ2MiA1Ny4wNjY4IDExMy41MzQgNTcuMjE5OUMxMTMuMjk5IDU3LjI1MzUgMTEzLjA1OCA1Ny4yOTgzIDExMi44MTcgNTcuMzI2M0wxMTIuMDg0IDU3LjM5MzVDMTExLjc3NCA1Ny40MTIyIDExMS40NjQgNTcuNDEyMiAxMTEuMTU0IDU3LjM5MzVDMTEwLjg0OCA1Ny4zNzU5IDExMC41NDQgNTcuMzQyMyAxMTAuMjQxIDU3LjI5MjdDMTA5LjI1NiA1Ny4xMTQ1IDEwOC4yOTYgNTYuODEzNSAxMDcuMzg1IDU2LjM5NjdDMTA2LjU5NCA1Ni4wNTEyIDEwNS44MjcgNTUuNjUyNiAxMDUuMDg5IDU1LjIwMzlDMTAzLjY5OCA1NC4zNjU1IDEwMi4zNjcgNTMuNDI5OSAxMDEuMTA4IDUyLjQwMzlDOTkuODYzIDUxLjQxNjUgOTguNjgyNyA1MC4zNTAzIDk3LjU3NDIgNDkuMjExOUw5OS43MTkgNDYuMzc4M0MxMDIuMzUxIDQ3LjY4MzEgMTA1LjA0NSA0OS4wNjA3IDEwNy42MjEgNTAuMDUxOUMxMDguMjY1IDUwLjI5MjcgMTA4Ljg5NyA1MC41MTExIDEwOS40OTEgNTAuNjc5MUMxMDkuOTkyIDUwLjgyODUgMTEwLjUwOSA1MC45MTY5IDExMS4wMzEgNTAuOTQyM0MxMTEuMTA0IDUwLjk0NiAxMTEuMTc3IDUwLjk0NiAxMTEuMjQ5IDUwLjk0MjNDMTExLjI4OSA1MC45NDIzIDExMS4yODMgNTAuOTQyMyAxMTEuNDU3IDUwLjg5NzVMMTExLjg0OSA1MC44MzAzTDExMi4yNTIgNTAuNzM1MUMxMTIuNTE1IDUwLjY3OTEgMTEyLjgxMiA1MC41NjcxIDExMy4wNjQgNTAuNDk0M0MxMTMuMzE2IDUwLjQyMTUgMTEzLjYyNCA1MC4yOTgzIDExMy44OTMgNTAuMTY5NUMxMTUuMDY0IDQ5LjY2OTUgMTE2LjE3NyA0OS4wNDQzIDExNy4yMTMgNDguMzA0N0MxMTguMzM3IDQ3LjUzNiAxMTkuNDA5IDQ2LjY5NDIgMTIwLjQyMiA0NS43ODQ3QzEyMS40NjkgNDQuODc3NSAxMjIuNDcyIDQzLjg4NjMgMTIzLjQ1NyA0Mi44NzgzQzEyMy45NSA0Mi4zNzQzIDEyNC40MzIgNDEuODUzNSAxMjQuODk3IDQxLjMyNzFMMTI1LjU5MSA0MC41Mzc1TDEyNi4yMjkgMzkuNzg3MUwxMzEuOTEzIDQ0LjE5OTlaIiBmaWxsPSIjRkZCNTczIi8+CjxwYXRoIGQ9Ik0xMzQuNTE3IDQxLjg3MTFDMTM0Ljg2NCA0Ni4zODQ3IDEyNC42OTUgNTUuNjAyMyAxMjQuNjk1IDU1LjYwMjNMMTE1LjcwMSA0Ny44MDcxQzExNS43MDEgNDcuODA3MSAxMTkuNDg3IDQzLjc5NzUgMTIzLjc0MyAzOS43NTk5QzEyNi42NjYgMzYuOTg3OSAxMzQuMTM2IDM2Ljk4MjMgMTM0LjUxNyA0MS44NzExWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggb3BhY2l0eT0iMC40IiBkPSJNMTM0LjUxNyA0MS44NzExQzEzNC44NjQgNDYuMzg0NyAxMjQuNjk1IDU1LjYwMjMgMTI0LjY5NSA1NS42MDIzTDExNS43MDEgNDcuODA3MUMxMTUuNzAxIDQ3LjgwNzEgMTE5LjQ4NyA0My43OTc1IDEyMy43NDMgMzkuNzU5OUMxMjYuNjY2IDM2Ljk4NzkgMTM0LjEzNiAzNi45ODIzIDEzNC41MTcgNDEuODcxMVoiIGZpbGw9IiM1NDUxRDYiLz4KPHBhdGggb3BhY2l0eT0iMC4yIiBkPSJNMTI5LjkyIDQ0LjE5OThDMTI1Ljc0MiA0NC41ODA2IDEyMy4wNzEgNDcuOTQwNiAxMjEuOTAxIDUxLjY1MzRDMTIxLjc3MiA1Mi4wNjc4IDEyMS42NiA1Mi40OTM0IDEyMS41NyA1Mi45MTM0TDEyNC42ODQgNTUuNjEyNkMxMjQuNjg0IDU1LjYxMjYgMTI5LjMxNSA1MS40MTgyIDEzMi4yMTYgNDcuMzAyMkMxMzIuMzczIDQ1LjM0NzggMTMxLjgxOCA0NC4wMjA2IDEyOS45MiA0NC4xOTk4WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTEwMC44IDQ4LjQyMjlMOTkuMjU5NiA0NC41MDI5TDk0LjAwNjggNDYuMTE1N0M5NS4xNDk4IDQ3LjMyOTUgOTYuNDEwNCA0OC40MjY5IDk3Ljc3IDQ5LjM5MTdMMTAwLjggNDguNDIyOVoiIGZpbGw9IiNGRkI1NzMiLz4KPHBhdGggZD0iTTk2LjYyNzQgNDEuNDYxOUw5Mi4yOTMgNDMuMTk3OUw5NC4wMjM0IDQ2LjEyNjdMOTkuMjc2MiA0NC41MTM5TDk2LjYyNzQgNDEuNDYxOVoiIGZpbGw9IiNGRkI1NzMiLz4KPHBhdGggb3BhY2l0eT0iMC4yIiBkPSJNMTEwLjcxNyAxNzUuODRMMTA5LjM3OSAxODIuMzM2TDExMy45NDggMTgzLjUwMUwxMTUuMjIgMTc3LjMxOEwxMTAuNzE3IDE3NS44NFoiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIG9wYWNpdHk9IjAuMiIgZD0iTTE1MC45NzYgMTc3LjIxN0gxNDYuMjM4TDE0Ni44NDkgMTgyLjg3M0gxNTEuNTg2TDE1MC45NzYgMTc3LjIxN1oiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik0xNTMuNzc2IDM5LjY4MDdDMTUyLjM4NSA0NC43OTUzIDE1MS4zNzggNTAuMDA2NiAxNTAuNzYzIDU1LjI3MTFDMTUwLjMxNSA1OC45MzkxIDE1MC4wNDYgNjIuNDQ0NyAxNDkuODc4IDY1LjYyNTVDMTQ5LjQ4NiA3My4wNzM1IDE0OS42NDkgNzguNzUxOSAxNDkuNDI1IDgwLjY3MjdMMTI0LjE0MSA3OC45MTk5QzEyMC43MDIgNTEuOTYxNSAxMjcuMjc3IDM4LjA3MzUgMTI3LjI3NyAzOC4wNzM1QzEyOS4yNzYgMzcuNzAyMSAxMzEuMjk1IDM3LjQ1MzQgMTMzLjMyNSAzNy4zMjg3QzEzMy43NTQgMzcuMjk4OSAxMzQuMTkxIDM3LjI4MjEgMTM0LjYzNSAzNy4yNzgzQzEzOC4yMjkgMzcuMzI2NiAxNDEuODE3IDM3LjU4MDkgMTQ1LjM4MiAzOC4wMzk5QzE0Ni4wNTkgMzguMTIzOSAxNDYuNzQyIDM4LjIxOTEgMTQ3LjQwOSAzOC4zMjU1QzE1MC43OTcgMzguODU3NSAxNTMuNzc2IDM5LjY4MDcgMTUzLjc3NiAzOS42ODA3WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggb3BhY2l0eT0iMC40IiBkPSJNMTUzLjc3NiAzOS42ODA3QzE1Mi4zODUgNDQuNzk1MyAxNTEuMzc4IDUwLjAwNjYgMTUwLjc2MyA1NS4yNzExQzE1MC4zMTUgNTguOTM5MSAxNTAuMDQ2IDYyLjQ0NDcgMTQ5Ljg3OCA2NS42MjU1QzE0OS40ODYgNzMuMDczNSAxNDkuNjQ5IDc4Ljc1MTkgMTQ5LjQyNSA4MC42NzI3TDEyNC4xNDEgNzguOTE5OUMxMjAuNzAyIDUxLjk2MTUgMTI3LjI3NyAzOC4wNzM1IDEyNy4yNzcgMzguMDczNUMxMjkuMjc2IDM3LjcwMjEgMTMxLjI5NSAzNy40NTM0IDEzMy4zMjUgMzcuMzI4N0MxMzMuNzU0IDM3LjI5ODkgMTM0LjE5MSAzNy4yODIxIDEzNC42MzUgMzcuMjc4M0MxMzguMjI5IDM3LjMyNjYgMTQxLjgxNyAzNy41ODA5IDE0NS4zODIgMzguMDM5OUMxNDYuMDU5IDM4LjEyMzkgMTQ2Ljc0MiAzOC4yMTkxIDE0Ny40MDkgMzguMzI1NUMxNTAuNzk3IDM4Ljg1NzUgMTUzLjc3NiAzOS42ODA3IDE1My43NzYgMzkuNjgwN1oiIGZpbGw9IiM1NDUxRDYiLz4KPHBhdGggb3BhY2l0eT0iMC4yIiBkPSJNMTQ3LjM4NiA0Ni41MDJDMTQ3LjM0NCA1MC4zNzk2IDE0OC40MzIgNTQuMTg1NiAxNTAuNTE2IDU3LjQ1NTZDMTUwLjU4OSA1Ni43Mzg4IDE1MC42NzMgNTYuMDA1MiAxNTAuNzYzIDU1LjI3MTZDMTUxLjA5OSA1Mi41MTA4IDE1MS41MzYgNDkuNjcxNiAxNTIuMTEyIDQ2Ljc3MDhMMTQ3LjM4NiA0Ni41MDJaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMTQ1LjE2MyAyNS44NDM4QzE0NC4yMzkgMjkuMjU0MiAxNDMuMTI0IDM1LjU0MyAxNDUuMzgxIDM4LjAxODJDMTQ0LjIzOSAzOS4wNTQ1IDE0Mi44ODcgMzkuODMzNyAxNDEuNDE4IDQwLjMwMzJDMTM5Ljk0OCA0MC43NzI3IDEzOC4zOTUgNDAuOTIxNiAxMzYuODY0IDQwLjczOThDMTMzLjg5NiA0MC40NjU0IDEzMy44OSAzOC4zNzY1IDEzNC42MjQgMzcuMjY3N0MxMzguNTQ0IDM2LjYxODEgMTM4LjY0NCAzMy43NTA5IDEzOC4xNTcgMzEuMDE4MUwxNDUuMTYzIDI1Ljg0MzhaIiBmaWxsPSIjRkZCNTczIi8+CjxwYXRoIG9wYWNpdHk9IjAuMiIgZD0iTTE0Mi4zMTIgMjcuOTZMMTM4LjE3NCAzMS4wMTc2QzEzOC4yOTYgMzEuNjU0NSAxMzguMzYyIDMyLjMwMSAxMzguMzcgMzIuOTQ5NkMxMzkuODU5IDMyLjgzNzYgMTQxLjk5MyAzMS4zNjQ4IDE0Mi4yNjIgMjkuODMwNEMxNDIuMzkxIDI5LjIxNSAxNDIuNDA4IDI4LjU4MTQgMTQyLjMxMiAyNy45NloiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik0xMzcuNjQ3IDIwLjc0MTZDMTM2LjUyNyAyMi4zMjY0IDEzMy41ODcgMTkuNDA4OCAxMzMuNjk5IDE2LjgyMTZDMTM3Ljk1NSAxNi4yNjE2IDEzNS45MzkgMTMuMTQyNCAxMzkuODAzIDEzLjk0MzJDMTQzLjAxOCAxNC41NzYgMTM4Ljg3OSAxOSAxMzcuNjQ3IDIwLjc0MTZaIiBmaWxsPSIjMjYzMjM4Ii8+CjxwYXRoIGQ9Ik0xNDguMjU0IDIxLjc2NjRDMTQ2LjgzMiAyNi4yNDY0IDE0Ni4yMjcgMjguOTQ1NiAxNDMuMzM3IDMwLjcyNjRDMTM4Ljk5MiAzMy4zNjk2IDEzMy45MDEgMjkuODY5NiAxMzMuOTU3IDI1LjA1MzZDMTM0LjAwOCAyMC43MTkyIDEzNi4zMzIgMTQuMTE2OCAxNDEuMjM3IDEzLjQyOEMxNDIuMzE3IDEzLjI3MSAxNDMuNDE5IDEzLjM5MjMgMTQ0LjQzOSAxMy43ODAyQzE0NS40NTkgMTQuMTY4MSAxNDYuMzYzIDE0LjgwOTkgMTQ3LjA2NiAxNS42NDQ5QzE0Ny43NjkgMTYuNDc5OCAxNDguMjQ2IDE3LjQ4MDIgMTQ4LjQ1NCAxOC41NTE1QzE0OC42NjIgMTkuNjIyNyAxNDguNTkzIDIwLjcyOTMgMTQ4LjI1NCAyMS43NjY0WiIgZmlsbD0iI0ZGQjU3MyIvPgo8cGF0aCBkPSJNMTQ1LjU2NiAyNS44NDM0QzE0NS4zNDggMjQuNzM3NSAxNDUuMjg1IDIzLjYwNjUgMTQ1LjM4MSAyMi40ODM0QzE0NS41NDIgMjEuNjA1IDE0NS44MTkgMjAuNzUyIDE0Ni4yMDQgMTkuOTQ2NkMxNDYuMjA0IDE5Ljk0NjYgMTQzLjUyMiAxOC4zNjE4IDE0My40NiAxNi40NTIyQzE0My40NiAxNi40NTIyIDEzOC42NjYgMTcuODYzNCAxMzYuMTA3IDE1LjcwNzRDMTMzLjU0OCAxMy41NTE0IDEzNS44MzMgMTEuMDU5NCAxMzQuNTIyIDEwLjEwNzRDMTM3LjY1OCA5LjgwNDk3IDEzOC42MSAxMS43MDkgMTQwLjU5MyAxMS4yOTQ2QzE0Mi41NzUgMTAuODgwMiAxNDAuODIyIDkuNDg1NzcgMTQxLjA4NiA3LjkzNDU3QzE0Ny4wNjEgMTMuMDgxIDE0OS42NTkgMTAuNjY3NCAxNTIuNTYgMTMuNjEzQzE1NC40MTQgMTUuNDk0NiAxNTIuNDY1IDE5LjAyMjYgMTUyLjQ2NSAxOS4wMjI2QzE1Mi40NjUgMTkuMDIyNiAxNTUuNDIyIDI0LjA0MDIgMTQ1LjU2NiAyNS44NDM0WiIgZmlsbD0iIzI2MzIzOCIvPgo8cGF0aCBkPSJNMTUxLjUxNCAxOC45MTU5QzE1MS41MTQgMTguOTE1OSAxNTQuNDQ4IDE5LjUyMDcgMTU0LjUyNiAxNi40NDYzQzE1Ni4wMzggMTkuNTU5OSAxNTQuMTQ2IDIwLjA0NzEgMTUxLjUxNCAxOC45MTU5WiIgZmlsbD0iIzI2MzIzOCIvPgo8cGF0aCBkPSJNMTM4LjI3NSAyNi4wMzk0QzEzOC44MDggMjYuMTg2OSAxMzkuMzY5IDI2LjIwMzggMTM5LjkxIDI2LjA4ODhDMTQwLjQ1MSAyNS45NzM4IDE0MC45NTYgMjUuNzMwMiAxNDEuMzgzIDI1LjM3ODZDMTQxLjQwNiAyNS4zNTU1IDE0MS40MTkgMjUuMzI0MyAxNDEuNDE5IDI1LjI5MThDMTQxLjQxOSAyNS4yNTkyIDE0MS40MDYgMjUuMjI4IDE0MS4zODMgMjUuMjA1QzE0MS4zNiAyNS4xODM3IDE0MS4zMyAyNS4xNzE5IDE0MS4yOTkgMjUuMTcxOUMxNDEuMjY4IDI1LjE3MTkgMTQxLjIzOCAyNS4xODM3IDE0MS4yMTUgMjUuMjA1QzE0MC44MTUgMjUuNTI1MiAxNDAuMzQ2IDI1Ljc0NjggMTM5Ljg0NSAyNS44NTE5QzEzOS4zNDQgMjUuOTU3IDEzOC44MjUgMjUuOTQyNSAxMzguMzMxIDI1LjgwOThDMTM4LjI5OSAyNS44MDQgMTM4LjI2NiAyNS44MSAxMzguMjM5IDI1LjgyNjRDMTM4LjIxMSAyNS44NDI5IDEzOC4xOSAyNS44Njg4IDEzOC4xOCAyNS44OTk0QzEzOC4xNzYgMjUuOTMwMyAxMzguMTgzIDI1Ljk2MTUgMTM4LjIwMSAyNS45ODcyQzEzOC4yMTkgMjYuMDEyOSAxMzguMjQ1IDI2LjAzMTUgMTM4LjI3NSAyNi4wMzk0WiIgZmlsbD0iIzI2MzIzOCIvPgo8cGF0aCBkPSJNMTQ5LjA0OSAyNi43MTY4QzE0OC42MjYgMjcuMTIxNCAxNDguMTI3IDI3LjQzODUgMTQ3LjU4MiAyNy42NDk5QzE0Ny4wMzYgMjcuODYxNCAxNDYuNDUzIDI3Ljk2MjkgMTQ1Ljg2OCAyNy45NDg4QzE0NC4zIDI3LjkwNCAxNDMuOTgxIDI2LjM5MiAxNDQuODA0IDI1LjE0ODhDMTQ1LjU0OSAyNC4wMjg4IDE0Ny4yNTcgMjIuNzI0IDE0OC42NDYgMjMuMzczNkMxNTAuMDM1IDI0LjAyMzIgMTUwLjA3OSAyNS43MiAxNDkuMDQ5IDI2LjcxNjhaIiBmaWxsPSIjRkZCNTczIi8+CjxwYXRoIGQ9Ik0xMDguMTI0IDE4MEwxMTUuODU4IDE4Mi4xMjhDMTE1Ljg1OCAxODIuMTI4IDEyNS41NDYgMTUxLjU5MSAxMjcuOTI2IDEzNC44MTlDMTI4LjU1OCAxMzAuMzY3IDEyOS41MzMgMTI0LjExOCAxMzEuMDE3IDExNy40NTlDMTMyLjg5OCAxMDkuMDU5IDEzNS4yNSA5OS45ODE1IDEzNy4xNzcgOTIuODY5NUMxMzkuMjE1IDg1LjM3NjcgMTQwLjc2MSA4MC4wNzkxIDE0MC43NjEgODAuMDc5MUwxMjQuMTQgNzguOTE5OUMxMjQuMTQgNzguOTE5OSAxMTcuMzM2IDExNi4xNTQgMTE1Ljc0IDEzMC41M0MxMTQuMDk0IDE0NS40NyAxMDguMTI0IDE4MCAxMDguMTI0IDE4MFoiIGZpbGw9IiM1NDUxRDYiLz4KPHBhdGggb3BhY2l0eT0iMC4zIiBkPSJNMTA4LjEyNCAxODBMMTE1Ljg1OCAxODIuMTI4QzExNS44NTggMTgyLjEyOCAxMjUuNTQ2IDE1MS41OTEgMTI3LjkyNiAxMzQuODE5QzEyOC41NTggMTMwLjM2NyAxMjkuNTMzIDEyNC4xMTggMTMxLjAxNyAxMTcuNDU5QzEzMi44OTggMTA5LjA1OSAxMzUuMjUgOTkuOTgxNSAxMzcuMTc3IDkyLjg2OTVDMTM5LjIxNSA4NS4zNzY3IDE0MC43NjEgODAuMDc5MSAxNDAuNzYxIDgwLjA3OTFMMTI0LjE0IDc4LjkxOTlDMTI0LjE0IDc4LjkxOTkgMTE3LjMzNiAxMTYuMTU0IDExNS43NCAxMzAuNTNDMTE0LjA5NCAxNDUuNDcgMTA4LjEyNCAxODAgMTA4LjEyNCAxODBaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBvcGFjaXR5PSIwLjIiIGQ9Ik0xMzEuMDQgMTE3LjQ1NEMxMzIuOTIxIDEwOS4wNTQgMTM1LjI3MyA5OS45NzU5IDEzNy4yIDkyLjg2MzlMMTM1LjQ3NSA4OS4xNDU1QzEzMS4zMzEgOTQuMDM5OSAxMzAuMjIyIDEwOS4yMSAxMzEuMDQgMTE3LjQ1NFoiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik0xMzMuMTA2IDc5LjU0MkMxMzMuMTA2IDc5LjU0MiAxMzQuOTA0IDEyMC4xMDggMTM2LjkwMyAxMzMuODYyQzEzOS4wOTMgMTQ4LjkwOSAxNDQuNjU5IDE4MS43OTIgMTQ0LjY1OSAxODEuNzkySDE1My4zMzRDMTUzLjMzNCAxODEuNzkyIDE1MC40NjYgMTQ3LjE5IDE0OS4xOTUgMTMyLjQxN0MxNDcuNzUgMTE1LjYxNyAxNDkuNDI1IDgwLjY5IDE0OS40MjUgODAuNjlMMTMzLjEwNiA3OS41NDJaIiBmaWxsPSIjNTQ1MUQ2Ii8+CjxwYXRoIG9wYWNpdHk9IjAuMyIgZD0iTTEzMy4xMDYgNzkuNTQyQzEzMy4xMDYgNzkuNTQyIDEzNC45MDQgMTIwLjEwOCAxMzYuOTAzIDEzMy44NjJDMTM5LjA5MyAxNDguOTA5IDE0NC42NTkgMTgxLjc5MiAxNDQuNjU5IDE4MS43OTJIMTUzLjMzNEMxNTMuMzM0IDE4MS43OTIgMTUwLjQ2NiAxNDcuMTkgMTQ5LjE5NSAxMzIuNDE3QzE0Ny43NSAxMTUuNjE3IDE0OS40MjUgODAuNjkgMTQ5LjQyNSA4MC42OUwxMzMuMTA2IDc5LjU0MloiIGZpbGw9ImJsYWNrIi8+CjxwYXRoIGQ9Ik0xNDMuNjE3IDE4MS45NjZIMTUzLjgzN1YxNzguOTE0TDE0Mi40MTMgMTc4LjcxOEwxNDMuNjE3IDE4MS45NjZaIiBmaWxsPSIjNTQ1MUQ2Ii8+CjxwYXRoIGQ9Ik0xMDcuNTg3IDE4MC4wNDVMMTE2LjMyMyAxODIuNDUzTDExNy41NzcgMTc5LjQ0NUwxMDcuNjI2IDE3Ni42ODVMMTA3LjU4NyAxODAuMDQ1WiIgZmlsbD0iIzU0NTFENiIvPgo8cGF0aCBkPSJNMTQxLjAzIDIxLjMwMTNDMTQwLjk0IDIxLjY3MDkgMTQwLjY2NiAyMS45MjI5IDE0MC40MjUgMjEuODYxM0MxNDAuMTg0IDIxLjc5OTcgMTQwLjA2MSAyMS40NTI1IDE0MC4xNTYgMjEuMDgyOUMxNDAuMjUxIDIwLjcxMzMgMTQwLjUyIDIwLjQ2MTMgMTQwLjc2MSAyMC41MjI5QzE0MS4wMDIgMjAuNTg0NSAxNDEuMTE5IDIwLjkzMTcgMTQxLjAzIDIxLjMwMTNaIiBmaWxsPSIjMjYzMjM4Ii8+CjxwYXRoIGQ9Ik0xMzYuODQxIDIwLjI0ODVDMTM2Ljc0NiAyMC42MTgxIDEzNi40NzcgMjAuODcwMSAxMzYuMjM2IDIwLjgwODVDMTM1Ljk5NSAyMC43NDY5IDEzNS44NzIgMjAuMzk5NyAxMzUuOTYyIDIwLjAyNDVDMTM2LjA1MSAxOS42NDkzIDEzNi4zMzEgMTkuNDAyOSAxMzYuNTcyIDE5LjQ2NDVDMTM2LjgxMyAxOS41MjYxIDEzNi45MzYgMTkuODc4OSAxMzYuODQxIDIwLjI0ODVaIiBmaWxsPSIjMjYzMjM4Ii8+CjxwYXRoIGQ9Ik0xMzguMTI5IDIwLjc2OTVDMTM3LjQwMSAyMS43OTA1IDEzNi41MzYgMjIuNzA2MyAxMzUuNTU5IDIzLjQ5MTFDMTM2LjA2MyAyNC4yNjk1IDEzNy4zMTcgMjQuMTkxMSAxMzcuMzE3IDI0LjE5MTFMMTM4LjEyOSAyMC43Njk1WiIgZmlsbD0iI0VEODkzRSIvPgo8cGF0aCBkPSJNMTQyLjY3MSAyMC4yNzdDMTQyLjYyOSAyMC4yNzM3IDE0Mi41ODkgMjAuMjU4OSAxNDIuNTU2IDIwLjIzNDFDMTQyLjUyMiAyMC4yMDk0IDE0Mi40OTYgMjAuMTc1NyAxNDIuNDggMjAuMTM3QzE0Mi4zNzcgMTkuODc1NCAxNDIuMjE0IDE5LjY0MTggMTQyLjAwNCAxOS40NTUxQzE0MS43OTQgMTkuMjY4MyAxNDEuNTQzIDE5LjEzMzYgMTQxLjI3MSAxOS4wNjE4QzE0MS4yMTIgMTkuMDUwOSAxNDEuMTU5IDE5LjAxNzIgMTQxLjEyNSAxOC45Njc5QzE0MS4wOSAxOC45MTg3IDE0MS4wNzYgMTguODU3OSAxNDEuMDg2IDE4Ljc5ODZDMTQxLjA5MSAxOC43Njk1IDE0MS4xMDMgMTguNzQxNyAxNDEuMTE5IDE4LjcxNjlDMTQxLjEzNSAxOC42OTIxIDE0MS4xNTYgMTguNjcwNyAxNDEuMTggMTguNjU0MUMxNDEuMjA1IDE4LjYzNzQgMTQxLjIzMiAxOC42MjU4IDE0MS4yNjEgMTguNjE5OEMxNDEuMjkgMTguNjEzOSAxNDEuMzIgMTguNjEzNyAxNDEuMzQ5IDE4LjYxOTRDMTQxLjY5NSAxOC43MDQ0IDE0Mi4wMTYgMTguODcwNiAxNDIuMjg1IDE5LjEwNDRDMTQyLjU1MyAxOS4zMzgxIDE0Mi43NjMgMTkuNjMyNiAxNDIuODk1IDE5Ljk2MzRDMTQyLjkxOCAyMC4wMTg0IDE0Mi45MTggMjAuMDgwMiAxNDIuODk2IDIwLjEzNTZDMTQyLjg3NCAyMC4xOTA5IDE0Mi44MzIgMjAuMjM1NiAxNDIuNzc3IDIwLjI2MDJDMTQyLjc0MyAyMC4yNzEyIDE0Mi43MDcgMjAuMjc2OSAxNDIuNjcxIDIwLjI3N1oiIGZpbGw9IiMyNjMyMzgiLz4KPHBhdGggZD0iTTEzNS40MDggMTguMzU2MkMxMzUuMzYgMTguMzUwNyAxMzUuMzE1IDE4LjMzMTIgMTM1LjI3OSAxOC4zMDAyQzEzNS4yMzggMTguMjU4MyAxMzUuMjE1IDE4LjIwMiAxMzUuMjE1IDE4LjE0MzRDMTM1LjIxNSAxOC4wODQ3IDEzNS4yMzggMTguMDI4NCAxMzUuMjc5IDE3Ljk4NjZDMTM1LjUwMiAxNy43MDggMTM1Ljc4OSAxNy40ODY5IDEzNi4xMTYgMTcuMzQxOEMxMzYuNDQyIDE3LjE5NjYgMTM2Ljc5OCAxNy4xMzE2IDEzNy4xNTUgMTcuMTUyMkMxMzcuMjE0IDE3LjE2MDUgMTM3LjI2NyAxNy4xOTE1IDEzNy4zMDQgMTcuMjM4NUMxMzcuMzQgMTcuMjg1NSAxMzcuMzU3IDE3LjM0NDkgMTM3LjM1MSAxNy40MDQyQzEzNy4zNDEgMTcuNDYyNSAxMzcuMzEgMTcuNTE1MSAxMzcuMjYzIDE3LjU1MTVDMTM3LjIxNyAxNy41ODc4IDEzNy4xNTggMTcuNjA1MiAxMzcuMDk5IDE3LjYwMDJDMTM2LjgxOCAxNy41ODY5IDEzNi41MzcgMTcuNjQxIDEzNi4yODEgMTcuNzU3OUMxMzYuMDI1IDE3Ljg3NDcgMTM1LjggMTguMDUxIDEzNS42MjYgMTguMjcyMkMxMzUuNTk5IDE4LjMwMjggMTM1LjU2NSAxOC4zMjY0IDEzNS41MjcgMTguMzQxQzEzNS40ODkgMTguMzU1NyAxMzUuNDQ4IDE4LjM2MDkgMTM1LjQwOCAxOC4zNTYyWiIgZmlsbD0iIzI2MzIzOCIvPgo8cGF0aCBkPSJNMTQ1LjQ2IDE4OC40NjdDMTQ1LjEzNyAxODguNDkyIDE0NC44MTYgMTg4LjQwNyAxNDQuNTQ3IDE4OC4yMjdDMTQ0LjQ2MyAxODguMTU0IDE0NC4zOTggMTg4LjA2MiAxNDQuMzU4IDE4Ny45NTlDMTQ0LjMxOCAxODcuODU1IDE0NC4zMDQgMTg3Ljc0MyAxNDQuMzE4IDE4Ny42MzNDMTQ0LjMxNyAxODcuNTY3IDE0NC4zMzUgMTg3LjUwMyAxNDQuMzY4IDE4Ny40NDdDMTQ0LjQwMiAxODcuMzkgMTQ0LjQ1IDE4Ny4zNDQgMTQ0LjUwOCAxODcuMzE0QzE0NS4wMzQgMTg3LjA0NSAxNDYuNTYzIDE4Ny45ODYgMTQ2Ljc0OCAxODguMDkyQzE0Ni43NjcgMTg4LjEwNCAxNDYuNzgzIDE4OC4xMjIgMTQ2Ljc5MiAxODguMTQzQzE0Ni44MDEgMTg4LjE2NCAxNDYuODAzIDE4OC4xODcgMTQ2Ljc5OCAxODguMjFDMTQ2Ljc5NSAxODguMjMyIDE0Ni43ODYgMTg4LjI1MiAxNDYuNzcxIDE4OC4yNjhDMTQ2Ljc1NiAxODguMjg0IDE0Ni43MzYgMTg4LjI5NSAxNDYuNzE0IDE4OC4yOTlDMTQ2LjMwNCAxODguNDAzIDE0NS44ODMgMTg4LjQ1OSAxNDUuNDYgMTg4LjQ2N1pNMTQ0Ljc1NCAxODcuNDg3QzE0NC43MDUgMTg3LjQ4NyAxNDQuNjU1IDE4Ny40OTYgMTQ0LjYwOSAxODcuNTE1QzE0NC41ODEgMTg3LjUxNSAxNDQuNTQ3IDE4Ny41NiAxNDQuNTQyIDE4Ny42NUMxNDQuNTMxIDE4Ny43MjQgMTQ0LjU0IDE4Ny44IDE0NC41NjYgMTg3Ljg3QzE0NC41OTMgMTg3Ljk0MSAxNDQuNjM2IDE4OC4wMDQgMTQ0LjY5MyAxODguMDUzQzE0NC45NSAxODguMjcxIDE0NS41NzIgMTg4LjMwNSAxNDYuMzczIDE4OC4xNDNDMTQ1Ljg4MiAxODcuODE5IDE0NS4zMzIgMTg3LjU5NyAxNDQuNzU0IDE4Ny40ODdaIiBmaWxsPSIjNTQ1MUQ2Ii8+CjxwYXRoIGQ9Ik0xNDYuNjc1IDE4OC4yOTlDMTQ2LjY1NyAxODguMzA1IDE0Ni42MzcgMTg4LjMwNSAxNDYuNjE5IDE4OC4yOTlDMTQ2LjEzMiAxODguMDMgMTQ1LjE4IDE4Ni45OTQgMTQ1LjI4MSAxODYuNDY4QzE0NS4yOTggMTg2LjM4NSAxNDUuMzQyIDE4Ni4zMSAxNDUuNDA3IDE4Ni4yNTZDMTQ1LjQ3MyAxODYuMjAyIDE0NS41NTUgMTg2LjE3MiAxNDUuNjM5IDE4Ni4xNzFDMTQ1LjcyNCAxODYuMTYgMTQ1LjgxMSAxODYuMTY3IDE0NS44OTMgMTg2LjE5MkMxNDUuOTc1IDE4Ni4yMTcgMTQ2LjA1MSAxODYuMjYgMTQ2LjExNSAxODYuMzE3QzE0Ni42NzUgMTg2Ljc2NSAxNDYuNzgyIDE4OC4xMzEgMTQ2Ljc4NyAxODguMTkzQzE0Ni43ODggMTg4LjIxMiAxNDYuNzg0IDE4OC4yMzIgMTQ2Ljc3NSAxODguMjVDMTQ2Ljc2NiAxODguMjY3IDE0Ni43NTMgMTg4LjI4MiAxNDYuNzM3IDE4OC4yOTRDMTQ2LjcxNyAxODguMyAxNDYuNjk2IDE4OC4zMDIgMTQ2LjY3NSAxODguMjk5Wk0xNDUuNzE4IDE4Ni4zNzhIMTQ1LjY2N0MxNDUuNTIyIDE4Ni4zNzggMTQ1LjUxIDE4Ni40NjIgMTQ1LjUwNSAxODYuNDlDMTQ1LjQ0MyAxODYuODA0IDE0Ni4wNjUgMTg3LjYxIDE0Ni41MzUgMTg3Ljk1OEMxNDYuNTAxIDE4Ny40MTggMTQ2LjMwNiAxODYuOTAxIDE0NS45NzUgMTg2LjQ3NEMxNDUuOTA0IDE4Ni40MTIgMTQ1LjgxMiAxODYuMzc4IDE0NS43MTggMTg2LjM3OFoiIGZpbGw9IiM1NDUxRDYiLz4KPHBhdGggZD0iTTEwNy45NTEgMTg2LjQ0QzEwNy4xNzIgMTg2LjM3OSAxMDUuODEyIDE4Ni4xOTkgMTA1LjQzNiAxODUuNjE3QzEwNS4zODQgMTg1LjUzNCAxMDUuMzUyIDE4NS40NDEgMTA1LjM0MiAxODUuMzQ0QzEwNS4zMzIgMTg1LjI0NiAxMDUuMzQ1IDE4NS4xNDggMTA1LjM4IDE4NS4wNTdDMTA1LjM5OSAxODQuOTk5IDEwNS40MzMgMTg0Ljk0NyAxMDUuNDc4IDE4NC45MDVDMTA1LjUyMyAxODQuODY0IDEwNS41NzggMTg0LjgzNSAxMDUuNjM4IDE4NC44MjJDMTA2LjI3MSAxODQuNjcxIDEwNy44NzggMTg2LjA5OSAxMDguMDM1IDE4Ni4yNjdDMTA4LjA1MSAxODYuMjgyIDEwOC4wNjIgMTg2LjMwMiAxMDguMDY3IDE4Ni4zMjRDMTA4LjA3MiAxODYuMzQ2IDEwOC4wNyAxODYuMzY5IDEwOC4wNjMgMTg2LjM5QzEwOC4wNTIgMTg2LjQwOSAxMDguMDM1IDE4Ni40MjQgMTA4LjAxNSAxODYuNDMzQzEwNy45OTUgMTg2LjQ0MiAxMDcuOTcyIDE4Ni40NDQgMTA3Ljk1MSAxODYuNDRaTTEwNS43MTEgMTg1LjAxOEgxMDUuNjc3QzEwNS42NTMgMTg1LjAyMyAxMDUuNjMxIDE4NS4wMzUgMTA1LjYxMyAxODUuMDUxQzEwNS41OTYgMTg1LjA2OCAxMDUuNTgzIDE4NS4wODkgMTA1LjU3NiAxODUuMTEzQzEwNS41NTEgMTg1LjE3NCAxMDUuNTQxIDE4NS4yNDEgMTA1LjU0NyAxODUuMzA3QzEwNS41NTIgMTg1LjM3NCAxMDUuNTc0IDE4NS40MzggMTA1LjYxIDE4NS40OTRDMTA1LjgyMyAxODUuODI0IDEwNi41NjIgMTg2LjA1NCAxMDcuNjIgMTg2LjE4M0MxMDYuOTYgMTg1LjY0NSAxMDYuMDc1IDE4NC45ODQgMTA1LjcwNSAxODUuMDIzTDEwNS43MTEgMTg1LjAxOFoiIGZpbGw9IiM1NDUxRDYiLz4KPHBhdGggZD0iTTEwNi45ODggMTgzLjk0OEMxMDYuNzQ3IDE4NC41OTggMTA3LjQ0MiAxODUuNzkxIDEwNy44NjcgMTg2LjQ0QzEwNy44NzcgMTg2LjQ2MyAxMDcuODk1IDE4Ni40ODIgMTA3LjkxNyAxODYuNDk0QzEwNy45NCAxODYuNTA1IDEwNy45NjYgMTg2LjUwOCAxMDcuOTkgMTg2LjUwMkMxMDguMDEyIDE4Ni40OTYgMTA4LjAzMiAxODYuNDg0IDEwOC4wNDcgMTg2LjQ2N0MxMDguMDYyIDE4Ni40NSAxMDguMDcyIDE4Ni40MjkgMTA4LjA3NCAxODYuNDA3QzEwOC4wOTcgMTg2LjE0OSAxMDguMjY1IDE4NC4wMjEgMTA3Ljc2MSAxODMuNjA3QzEwNy43MTMgMTgzLjU2OCAxMDcuNjU2IDE4My41NDIgMTA3LjU5NSAxODMuNTMxQzEwNy41MzQgMTgzLjUyIDEwNy40NzIgMTgzLjUyNSAxMDcuNDE0IDE4My41NDVDMTA3LjMxNSAxODMuNTcyIDEwNy4yMjUgMTgzLjYyNCAxMDcuMTUxIDE4My42OTRDMTA3LjA3NyAxODMuNzY0IDEwNy4wMjEgMTgzLjg1MSAxMDYuOTg4IDE4My45NDhaIiBmaWxsPSIjNTQ1MUQ2Ii8+CjxwYXRoIGQ9Ik0xNTQuNDc2IDQyLjQwODJDMTU1LjU2OCA0My45NDgyIDE1Ni40OTcgNDUuNDM3OCAxNTcuNDQ5IDQ2Ljk4OUMxNTguNDAxIDQ4LjU0MDIgMTU5LjI2OSA1MC4xMDgyIDE2MC4xMjEgNTEuNzE1NEMxNjEuODgzIDU0Ljk5MjkgMTYzLjMxNiA1OC40MzY5IDE2NC4zOTkgNjEuOTk3QzE2NC41MjggNjIuNDY3NCAxNjQuNjUxIDYyLjkzNzggMTY0Ljc2MyA2My40MjVDMTY0LjgxOSA2My42NjU4IDE2NC44NjkgNjMuOTEyMiAxNjQuOTIgNjQuMTY0MkwxNjQuOTkzIDY0LjUzMzhMMTY1LjAyNiA2NC43MjQyTDE2NS4wNzEgNjUuMDI2NkMxNjUuMjE0IDY2LjMwMDQgMTY1LjA5NyA2Ny41OSAxNjQuNzI5IDY4LjgxNzhDMTY0LjE3NSA3MC43MTUgMTYzLjM5MSA3Mi41MzczIDE2Mi4zOTQgNzQuMjQ0MkMxNjEuNDk0IDc1Ljg0MjkgMTYwLjUwMSA3Ny4zODc0IDE1OS40MjEgNzguODY5OEMxNTguMzY2IDgwLjM0MzkgMTU3LjIzMSA4MS43NTkxIDE1Ni4wMjEgODMuMTA5TDE1My4xMDkgODEuMDY1QzE1NC42MjcgNzguMDI0MiAxNTYuMTczIDc0LjkwNSAxNTcuMzYgNzEuODQ3NEMxNTcuNjU3IDcxLjA4NTggMTU3LjkyIDcwLjMyNDIgMTU4LjE0OSA2OS41Nzk0QzE1OC4zNzcgNjguODg0OSAxNTguNTUgNjguMTczMyAxNTguNjY1IDY3LjQ1MTRDMTU4Ljc2IDY2Ljk4NTkgMTU4Ljc2IDY2LjUwNTcgMTU4LjY2NSA2Ni4wNDAyTDE1OC42MjUgNjUuOTExNEwxNTguNTUzIDY1LjY0ODJDMTU4LjUwOCA2NS40NjkgMTU4LjQ1NyA2NS4yODk4IDE1OC4zOTYgNjUuMDg4MkMxNTguMjg5IDY0LjcyOTggMTU4LjE2NiA2NC4zNjAyIDE1OC4wMzcgNjMuOTk2MkMxNTYuODczIDYwLjkyOTggMTU1LjQ2MSA1Ny45NjMyIDE1My44MTUgNTUuMTI1OEMxNTIuOTk3IDUzLjY1MyAxNTIuMTM1IDUyLjIwODIgMTUxLjI1IDUwLjc1MjJDMTUwLjM2NSA0OS4yOTYyIDE0OS40MzYgNDcuODUxNCAxNDguNTU3IDQ2LjUwMThMMTU0LjQ3NiA0Mi40MDgyWiIgZmlsbD0iI0ZGQjU3MyIvPgo8cGF0aCBkPSJNMTUzLjc3NSAzOS42ODA5QzE1OC4yMTYgNDAuNTc2OSAxNjIuMTA4IDUxLjQ0MDkgMTYyLjEwOCA1MS40NDA5TDE1Mi44NCA1OC45ODk3QzE1Mi44NCA1OC45ODk3IDE0OS44MDUgNTMuNDY4MSAxNDcuMzc1IDQ4LjE0MjVDMTQ0LjcyNiA0Mi4zNDA5IDE0OC4zOTkgMzguNjAwMSAxNTMuNzc1IDM5LjY4MDlaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBvcGFjaXR5PSIwLjQiIGQ9Ik0xNTMuNzc1IDM5LjY4MDlDMTU4LjIxNiA0MC41NzY5IDE2Mi4xMDggNTEuNDQwOSAxNjIuMTA4IDUxLjQ0MDlMMTUyLjg0IDU4Ljk4OTdDMTUyLjg0IDU4Ljk4OTcgMTQ5LjgwNSA1My40NjgxIDE0Ny4zNzUgNDguMTQyNUMxNDQuNzI2IDQyLjM0MDkgMTQ4LjM5OSAzOC42MDAxIDE1My43NzUgMzkuNjgwOVoiIGZpbGw9IiM1NDUxRDYiLz4KPHBhdGggZD0iTTkxLjc4MzcgNTUuMDY4N0w4OS41NDQ5IDYzLjE0MTZMOTAuMDc5MiA2My4yODk4TDkyLjMxOCA1NS4yMTY4TDkxLjc4MzcgNTUuMDY4N1oiIGZpbGw9IiM1NDUxRDYiLz4KPHBhdGggZD0iTTg4LjcyMTIgNjYuMTE2TDg3Ljc1MjkgNjkuNjA3NEw4OC4yODcyIDY5Ljc1NTZMODkuMjU1NCA2Ni4yNjQyTDg4LjcyMTIgNjYuMTE2WiIgZmlsbD0iIzU0NTFENiIvPgo8cGF0aCBkPSJNMTUxLjA1NyA1MS40NTE1TDEwNC42ODQgMzguNDA5QzEwMS4xNiAzNy40MTc4IDk3LjQ5OTIgMzkuNDcxMyA5Ni41MDggNDIuOTk1Nkw4My40NjU1IDg5LjM2OUM4Mi40NzQzIDkyLjg5MzMgODQuNTI3NyA5Ni41NTM4IDg4LjA1MiA5Ny41NDVMMTM0LjQyNSAxMTAuNTg4QzEzNy45NSAxMTEuNTc5IDE0MS42MSAxMDkuNTI1IDE0Mi42MDEgMTA2LjAwMUwxNTUuNjQ0IDU5LjYyNzZDMTU2LjYzNSA1Ni4xMDMzIDE1NC41ODIgNTIuNDQyNyAxNTEuMDU3IDUxLjQ1MTVaIiBmaWxsPSIjNTQ1MUQ2Ii8+CjxwYXRoIGQ9Ik0xMjQuMDY4IDYzLjkxNzdDMTIzLjgxOCA2My45MTk3IDEyMy41NjkgNjMuODg1NyAxMjMuMzI4IDYzLjgxNjlDMTIyLjYyNSA2My42MTQzIDEyMi4wMyA2My4xNDQ2IDEyMS42NjggNjIuNTA4MkMxMjEuMzA3IDYxLjg3MTkgMTIxLjIxIDYxLjExOTUgMTIxLjM5NiA2MC40MTIxTDEyMy42MzYgNTIuMzQyNUMxMjMuODQyIDUxLjY0NTMgMTI0LjMxNCA1MS4wNTY5IDEyNC45NDkgNTAuNzA0QzEyNS41ODUgNTAuMzUxMSAxMjYuMzM0IDUwLjI2MiAxMjcuMDM0IDUwLjQ1NTlDMTI3LjczNSA1MC42NDk4IDEyOC4zMzEgNTEuMTExMSAxMjguNjk1IDUxLjc0MDVDMTI5LjA1OSA1Mi4zNjk5IDEyOS4xNjEgNTMuMTE3IDEyOC45NzkgNTMuODIwOUwxMjYuNzM5IDYxLjg5MDVDMTI2LjU3MiA2Mi40NzE0IDEyNi4yMjIgNjIuOTgyOCAxMjUuNzQgNjMuMzQ4MkMxMjUuMjU5IDYzLjcxMzYgMTI0LjY3MiA2My45MTM0IDEyNC4wNjggNjMuOTE3N1oiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMTQuNDE5IDk3LjY2ODhDMTE0LjI2NyA5Ny42NzA0IDExNC4xMTYgOTcuNjQ5NiAxMTMuOTcxIDk3LjYwNzJDMTEzLjU0OSA5Ny40ODU3IDExMy4xOTEgOTcuMjAzNyAxMTIuOTc1IDk2LjgyMTZDMTEyLjc1OCA5Ni40Mzk1IDExMi42OTkgOTUuOTg3OCAxMTIuODEyIDk1LjU2MzJMMTE1LjA1MiA4Ny40OTkyQzExNS4wODEgODcuMjU5NCAxMTUuMTYyIDg3LjAyODcgMTE1LjI4OCA4Ni44MjI5QzExNS40MTUgODYuNjE3IDExNS41ODQgODYuNDQwOSAxMTUuNzg1IDg2LjMwNjVDMTE1Ljk4NSA4Ni4xNzIxIDExNi4yMTMgODYuMDgyNSAxMTYuNDUxIDg2LjA0NEMxMTYuNjkgODYuMDA1NCAxMTYuOTM0IDg2LjAxODggMTE3LjE2NyA4Ni4wODMxQzExNy40IDg2LjE0NzQgMTE3LjYxNiA4Ni4yNjEyIDExNy44MDEgODYuNDE2N0MxMTcuOTg2IDg2LjU3MjIgMTE4LjEzNSA4Ni43NjU4IDExOC4yMzggODYuOTg0MkMxMTguMzQxIDg3LjIwMjYgMTE4LjM5NiA4Ny40NDA3IDExOC4zOTkgODcuNjgyM0MxMTguNDAyIDg3LjkyMzggMTE4LjM1MyA4OC4xNjMyIDExOC4yNTUgODguMzg0TDExNi4wMTUgOTYuNDQ4QzExNS45MTYgOTYuNzk2MyAxMTUuNzA3IDk3LjEwMzMgMTE1LjQyIDk3LjMyMzNDMTE1LjEzMiA5Ny41NDMzIDExNC43ODEgOTcuNjY0NSAxMTQuNDE5IDk3LjY2ODhaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMTMyLjQ1NiA2OC41MjY5QzEzMi4yNzIgNjguNTI4NyAxMzIuMDkzIDY4LjQ2OTMgMTMxLjk0NiA2OC4zNTc5QzEzMS44IDY4LjI0NjYgMTMxLjY5NSA2OC4wODk3IDEzMS42NDcgNjcuOTEyQzEzMS42IDY3LjczNDMgMTMxLjYxMyA2Ny41NDU4IDEzMS42ODQgNjcuMzc2M0MxMzEuNzU2IDY3LjIwNjggMTMxLjg4MSA2Ny4wNjU4IDEzMi4wNDIgNjYuOTc1N0wxMzkuMzIyIDYyLjg0ODVDMTM5LjUxMyA2Mi43NDQ3IDEzOS43MzYgNjIuNzE5NCAxMzkuOTQ1IDYyLjc3OEMxNDAuMTU1IDYyLjgzNjUgMTQwLjMzMyA2Mi45NzQzIDE0MC40NDIgNjMuMTYyMUMxNDAuNTQ4IDYzLjM1MjIgMTQwLjU3NSA2My41NzcgMTQwLjUxNyA2My43ODY5QzE0MC40NTggNjMuOTk2OSAxNDAuMzE4IDY0LjE3NSAxNDAuMTI4IDY0LjI4MjFMMTMyLjg0OCA2OC40MDkzQzEzMi43MjkgNjguNDc5NiAxMzIuNTk0IDY4LjUxOTkgMTMyLjQ1NiA2OC41MjY5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTEwMC45ODUgODcuNDYwNkMxMDAuNTU1IDg3LjQ2MzIgMTAwLjEzNiA4Ny4zMjI5IDk5Ljc5NTEgODcuMDYxNkM5OS40NTM4IDg2LjgwMDQgOTkuMjA5IDg2LjQzMyA5OS4wOTkzIDg2LjAxNzRDOTguOTg5NiA4NS42MDE4IDk5LjAyMTMgODUuMTYxNCA5OS4xODkzIDg0Ljc2NThDOTkuMzU3MiA4NC4zNzAxIDk5LjY1MiA4NC4wNDE1IDEwMC4wMjcgODMuODMxOEwxMDcuMzA3IDc5LjcwNDZDMTA3Ljc0OCA3OS41MDgyIDEwOC4yNDUgNzkuNDgyNiAxMDguNzA0IDc5LjYzMjdDMTA5LjE2MiA3OS43ODI5IDEwOS41NDggODAuMDk4MSAxMDkuNzg3IDgwLjUxNzFDMTEwLjAyNiA4MC45MzYgMTEwLjEgODEuNDI4OCAxMDkuOTk2IDgxLjg5OTZDMTA5Ljg5MSA4Mi4zNzA0IDEwOS42MTYgODIuNzg1NyAxMDkuMjIyIDgzLjA2NDZMMTAxLjk0MiA4Ny4xOTE4QzEwMS42NTEgODcuMzYxNyAxMDEuMzIyIDg3LjQ1NDMgMTAwLjk4NSA4Ny40NjA2WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTE0MS44MiA4MS41OTY4QzE0MS43MiA4MS41OTcgMTQxLjYyIDgxLjU4MzkgMTQxLjUyMyA4MS41NTc2TDEzMy40NTkgNzkuMzE3NkMxMzMuMjExIDc5LjIxMDYgMTMzLjAxIDc5LjAxNzYgMTMyLjg5MyA3OC43NzRDMTMyLjc3NiA3OC41MzA0IDEzMi43NTEgNzguMjUyNyAxMzIuODIyIDc3Ljk5MjFDMTMyLjg5NCA3Ny43MzE1IDEzMy4wNTcgNzcuNTA1NiAxMzMuMjgyIDc3LjM1NjFDMTMzLjUwOCA3Ny4yMDY1IDEzMy43NzkgNzcuMTQzNCAxMzQuMDQ3IDc3LjE3ODRMMTQyLjExNyA3OS40MTg0QzE0Mi4zNjMgNzkuNTAyMSAxNDIuNTcyIDc5LjY2ODcgMTQyLjcwOCA3OS44ODk3QzE0Mi44NDUgODAuMTEwNyAxNDIuOTAxIDgwLjM3MjQgMTQyLjg2NSA4MC42Mjk4QzE0Mi44MyA4MC44ODcyIDE0Mi43MDcgODEuMTI0NSAxNDIuNTE2IDgxLjMwMDlDMTQyLjMyNSA4MS40NzczIDE0Mi4wNzkgODEuNTgxOSAxNDEuODIgODEuNTk2OFoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMDYuOTU5IDczLjA1MTFDMTA2Ljc1OSA3My4wNTIzIDEwNi41NTkgNzMuMDI1OSAxMDYuMzY2IDcyLjk3MjdMOTguMzAxNyA3MC43MzI3Qzk3LjgwOTIgNzAuNTE2IDk3LjQxMTEgNzAuMTI5MiA5Ny4xODAzIDY5LjY0MzFDOTYuOTQ5NSA2OS4xNTY5IDk2LjkwMTUgNjguNjA0IDk3LjA0NDkgNjguMDg1M0M5Ny4xODgzIDY3LjU2NjcgOTcuNTEzNyA2Ny4xMTcgOTcuOTYxNCA2Ni44MTg1Qzk4LjQwOTIgNjYuNTIwMSA5OC45NDk0IDY2LjM5MjggOTkuNDgzMyA2Ni40NTk5TDEwNy41NDcgNjguNjk5OUMxMDguMDM2IDY4Ljg2OTUgMTA4LjQ1IDY5LjIwMjYgMTA4LjcyMSA2OS42NDNDMTA4Ljk5MSA3MC4wODMzIDEwOS4xMDEgNzAuNjAzNyAxMDkuMDMyIDcxLjExNTlDMTA4Ljk2MyA3MS42MjgxIDEwOC43MTkgNzIuMTAwNiAxMDguMzQxIDcyLjQ1MzNDMTA3Ljk2MyA3Mi44MDYgMTA3LjQ3NSA3My4wMTcyIDEwNi45NTkgNzMuMDUxMVoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMzEuMzMxIDk1LjMwNTNDMTMxLjA4NiA5NS4zMDUgMTMwLjg0NiA5NS4yNDAxIDEzMC42MzUgOTUuMTE3MkMxMzAuNDIzIDk0Ljk5NDIgMTMwLjI0OCA5NC44MTc3IDEzMC4xMjcgOTQuNjA1M0wxMjYgODcuMzE5N0MxMjUuOTA2IDg3LjE2MTQgMTI1Ljg0NSA4Ni45ODYxIDEyNS44MiA4Ni44MDM5QzEyNS43OTUgODYuNjIxOCAxMjUuODA3IDg2LjQzNjUgMTI1Ljg1NSA4Ni4yNTg5QzEyNS45MDIgODYuMDgxMyAxMjUuOTg1IDg1LjkxNSAxMjYuMDk3IDg1Ljc2OTZDMTI2LjIxIDg1LjYyNDMgMTI2LjM1IDg1LjUwMjggMTI2LjUxIDg1LjQxMjRDMTI2LjY3IDg1LjMyMTkgMTI2Ljg0NyA4NS4yNjQzIDEyNy4wMjkgODUuMjQyOEMxMjcuMjEyIDg1LjIyMTQgMTI3LjM5NyA4NS4yMzY2IDEyNy41NzQgODUuMjg3NEMxMjcuNzUgODUuMzM4MyAxMjcuOTE1IDg1LjQyMzkgMTI4LjA1OCA4NS41MzkyQzEyOC4yMDEgODUuNjU0NSAxMjguMzIgODUuNzk3MiAxMjguNDA4IDg1Ljk1ODlMMTMyLjUyOSA5My4yMzg5QzEzMi42MiA5My4zOTY4IDEzMi42NzggOTMuNTcxMSAxMzIuNzAxIDkzLjc1MTdDMTMyLjcyNCA5My45MzIzIDEzMi43MTEgOTQuMTE1NyAxMzIuNjYyIDk0LjI5MTFDMTMyLjYxNCA5NC40NjY2IDEzMi41MzEgOTQuNjMwOCAxMzIuNDE5IDk0Ljc3NDFDMTMyLjMwNyA5NC45MTc0IDEzMi4xNjcgOTUuMDM3MSAxMzIuMDA4IDk1LjEyNjFDMTMxLjgwMiA5NS4yNDQzIDEzMS41NjkgOTUuMzA2IDEzMS4zMzEgOTUuMzA1M1oiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMTMuNTEyIDY0LjkyMDFDMTEzLjA3IDY0LjkyMDcgMTEyLjYzNiA2NC44MDM5IDExMi4yNTQgNjQuNTgxNUMxMTEuODcyIDY0LjM1OTEgMTExLjU1NyA2NC4wMzkyIDExMS4zMzkgNjMuNjU0NUwxMDcuMjE4IDU2LjM3NDVDMTA3LjA1NiA1Ni4wODk2IDEwNi45NTIgNTUuNzc1NiAxMDYuOTEyIDU1LjQ1MDVDMTA2Ljg3MiA1NS4xMjU1IDEwNi44OTcgNTQuNzk1NyAxMDYuOTg0IDU0LjQ4MDFDMTA3LjA3MSA1NC4xNjQ0IDEwNy4yMiA1My44NjkxIDEwNy40MjEgNTMuNjEwOUMxMDcuNjIzIDUzLjM1MjcgMTA3Ljg3MyA1My4xMzY3IDEwOC4xNTggNTIuOTc1M0MxMDguNDQzIDUyLjgxMzkgMTA4Ljc1NyA1Mi43MTAyIDEwOS4wODIgNTIuNjcwMUMxMDkuNDA3IDUyLjYzIDEwOS43MzcgNTIuNjU0NCAxMTAuMDUzIDUyLjc0MTdDMTEwLjM2OCA1Mi44MjkxIDExMC42NjQgNTIuOTc3OCAxMTAuOTIyIDUzLjE3OTNDMTExLjE4IDUzLjM4MDggMTExLjM5NiA1My42MzEyIDExMS41NTggNTMuOTE2MUwxMTUuNjc5IDYxLjE5NjFDMTE1Ljg0MSA2MS40ODA2IDExNS45NDQgNjEuNzk0MiAxMTUuOTg1IDYyLjExODhDMTE2LjAyNSA2Mi40NDM1IDExNiA2Mi43NzI5IDExNS45MTMgNjMuMDg4MkMxMTUuODI2IDYzLjQwMzUgMTE1LjY3NyA2My42OTg0IDExNS40NzUgNjMuOTU2QzExNS4yNzQgNjQuMjEzNyAxMTUuMDIzIDY0LjQyOSAxMTQuNzM4IDY0LjU4OTdDMTE0LjM2NiA2NC44MDYxIDExMy45NDMgNjQuOTIwMSAxMTMuNTEyIDY0LjkyMDFaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMTU0Ljc4OSA3OS45NzgzTDE0OS45ODQgNzkuODA0N0wxNTIuMzA4IDg1LjQwNDdDMTUyLjMwOCA4NS40MDQ3IDE1Ni40MzYgODQuNjQzMSAxNTYuMjc5IDgyLjQxNDNMMTU0Ljc4OSA3OS45NzgzWiIgZmlsbD0iI0ZGQjU3MyIvPgo8cGF0aCBkPSJNMTQ2Ljc2NSA4Mi4xMTE5TDE0Ny45MjQgODYuMzg0N0wxNTIuMzE0IDg1LjM5MzVMMTQ5Ljk4NSA3OS44MDQ3TDE0Ni43NjUgODIuMTExOVoiIGZpbGw9IiNGRkI1NzMiLz4KPC9zdmc+Cg==";const iee={name:"LFailedToLoad",props:{title:{type:String,default:"Algo deu errado :("},actionFunction:{type:Function},actionLabel:{type:String,default:"Tentar novamente"},loading:{type:Boolean,default:!1}}},lee={class:"failed-to-load"},see={class:"lead--text title mt-3"};function uee(e,t,r,o,a,i){const l=n.resolveComponent("l-button");return n.openBlock(),n.createElementBlock("div",lee,[t[0]||(t[0]=n.createElementVNode("div",{style:{display:"flex"}},[n.createElementVNode("img",{alt:"Failed to load",src:aee,height:"280",class:"mt-5",style:{display:"flex"}})],-1)),n.createElementVNode("h1",see,n.toDisplayString(r.title),1),n.createVNode(l,{onClick:r.actionFunction,height:"40",width:"220",block:"",class:"mt-3 bold f-19",loading:r.loading},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.actionLabel),1)]),_:1},8,["onClick","loading"])])}const cee=ge(iee,[["render",uee],["__scopeId","data-v-407d980d"]]),dee=Object.freeze(Object.defineProperty({__proto__:null,default:cee},Symbol.toStringTag,{value:"Module"}));const fee={name:"LHelperBox",props:{icon:{type:String,required:!0},title:{type:String,required:!0},description:{type:String,required:!0},actionButtonText:{type:String},href:{type:String},width:{type:[Number,String]}},computed:{computedWidth(){return`${this.width||200}px`}},methods:{actionButtonClick(){this.$emit("actionButtonClick"),this.href&&window.open(this.href,"_blank")}}},pee=["alt","src"],mee={class:"mt-2 lead--text"},hee={class:"mt-2 box-value lead-light--text mb-1"};function gee(e,t,r,o,a,i){const l=n.resolveComponent("l-button");return n.openBlock(),n.createElementBlock("div",{class:"box p-4",style:n.normalizeStyle({width:i.computedWidth})},[n.createElementVNode("img",{alt:r.title,src:r.icon,class:"box-image"},null,8,pee),n.createElementVNode("h4",mee,n.toDisplayString(r.title),1),n.createElementVNode("div",hee,n.toDisplayString(r.description),1),r.actionButtonText?(n.openBlock(),n.createBlock(l,{key:0,class:"mt-2",onClick:t[0]||(t[0]=s=>i.actionButtonClick())},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.actionButtonText),1)]),_:1})):n.createCommentVNode("",!0)],4)}const vee=ge(fee,[["render",gee]]),yee=Object.freeze(Object.defineProperty({__proto__:null,default:vee},Symbol.toStringTag,{value:"Module"}));let Pd=null;const Mee={tagName:"l-image-viewer",name:"LImageViewer",props:["images","index"],data:function(){return{selected:0,cards:[],scale:0,showCommands:!0,latestTap:0,lastMouseUp:0,lastMouseDown:0,zoomed:!1}},mounted(){Pd=document.querySelectorAll("[observer-targets]"),this.intersectionObserver=new IntersectionObserver(t=>this.onChangeVisibility(t[0]),{threshold:[.9,1]}),Pd.forEach(t=>{this.intersectionObserver.observe(t)});const e=parseInt(this.index)||0;this.cards=this.images.map((t,r)=>(t.scale=r,t)),this.scale=2-this.index,this.slideAndScale(),this.select(e)},beforeUnmount(){this.intersectionObserver.disconnect()},methods:{onChangeVisibility(e){e.isIntersecting&&(this.selected=Number(e.target.id))},toggleCommands(){let t=new Date().getTime()-this.latestTap,r=this.lastMouseUp-this.lastMouseDown;(t>700||t<0)&&r<100?this.showCommands=!this.showCommands:r>1500&&this.download(),this.latestTap=new Date().getTime()},updateMouseUp(){this.lastMouseUp=new Date().getTime()},updateMouseDown(){this.lastMouseDown=new Date().getTime()},back(){this.$emit("close",null)},download:async function(){const e=this.images[this.selected],t=window.LayersPortal;t?await t("download",{url:e.src,name:e.name}):window.open(e.src)},previous(){this.selected<=0||(document.getElementById("gallery-container").scrollTo({left:Math.abs(window.innerWidth-window.innerWidth*this.selected),behavior:"smooth"}),this.cards[0].scale<2&&this.scale++,this.lastMouseDown=0,this.slideAndScale())},next(){this.selected>=Pd.length-1||(document.getElementById("gallery-container").scrollTo({left:window.innerWidth*(this.selected+1),behavior:"smooth"}),this.cards[this.cards.length-1].scale!=2&&this.scale--,this.lastMouseDown=0,this.slideAndScale())},select(e){e>this.selected&&document.getElementById("gallery-container").scrollTo({left:window.innerWidth*e,behavior:"smooth"}),e<this.selected&&document.getElementById("gallery-container").scrollTo({left:Math.abs(window.innerWidth-window.innerWidth*(e+1)),behavior:"smooth"});const t=this.cards[e].scale;t!==2&&(this.scale-=t-2,this.slideAndScale())},slideAndScale:function(){this.cards.map((e,t)=>{e.scale=t+this.scale})}},watch:{selected:function(e,t){this.$refs.zoomer[t].reset()}}},_ee={class:"image-viewer",style:{position:"relative"}},bee={key:0},Nee=["id"],wee=["src"],kee={key:0,class:"web-image-selector"},Cee={class:"carousel-container"},xee=["onClick","data-scale"],Eee=["alt","src"];function Tee(e,t,r,o,a,i){const l=n.resolveComponent("l-button"),s=n.resolveComponent("v-zoomer");return n.openBlock(),n.createElementBlock("div",_ee,[n.createElementVNode("div",{class:n.normalizeClass(["header",{colapsed:!e.showCommands}])},[n.createVNode(l,{circle:"",onClick:i.back,class:"header-button",icon:"uil-arrow-left"},null,8,["onClick"]),r.images.length!==1?(n.openBlock(),n.createElementBlock("div",bee,n.toDisplayString(parseInt(e.selected)+1)+"/"+n.toDisplayString(r.images.length),1)):n.createCommentVNode("",!0),n.createVNode(l,{circle:"",onClick:i.download,class:"header-button",icon:"el-icon-download"},null,8,["onClick"])],2),n.createVNode(n.Transition,{name:"el-notification-fade"},{default:n.withCtx(()=>[e.selected>0&&e.showCommands?(n.openBlock(),n.createBlock(l,{key:0,onClick:i.previous,onTouchstart:i.previous,circle:"",icon:"uil-angle-left",class:"nav-button left"},null,8,["onClick","onTouchstart"])):n.createCommentVNode("",!0)]),_:1}),n.createVNode(n.Transition,{name:"el-notification-fade"},{default:n.withCtx(()=>[e.selected<r.images.length-1&&e.showCommands?(n.openBlock(),n.createBlock(l,{key:0,onClick:i.next,circle:"",icon:"uil-angle-right",class:"nav-button right"},null,8,["onClick"])):n.createCommentVNode("",!0)]),_:1}),n.createElementVNode("div",{class:"row scroll-container",id:"gallery-container",style:n.normalizeStyle({overflow:e.zoomed?"hidden":"auto"})},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.images,(u,c)=>(n.openBlock(),n.createElementBlock("div",{"observer-targets":"",class:"image-container",onClick:t[1]||(t[1]=(...d)=>i.toggleCommands&&i.toggleCommands(...d)),onMousedown:t[2]||(t[2]=(...d)=>i.updateMouseDown&&i.updateMouseDown(...d)),onMouseup:t[3]||(t[3]=(...d)=>i.updateMouseUp&&i.updateMouseUp(...d)),ref_for:!0,ref:`${u.id}-${c}`,id:c,key:c},[n.createVNode(s,{zoomed:e.zoomed,"onUpdate:zoomed":t[0]||(t[0]=d=>e.zoomed=d),class:"image",ref_for:!0,ref:"zoomer"},{default:n.withCtx(()=>[n.createElementVNode("img",{alt:"Box image",class:"image",src:u.src},null,8,wee)]),_:2},1032,["zoomed"])],40,Nee))),128))],4),r.images.length?(n.openBlock(),n.createElementBlock("div",kee,[n.createElementVNode("div",Cee,[t[4]||(t[4]=n.createElementVNode("div",{class:"fade-box left"},null,-1)),n.createElementVNode("div",{class:"carousel-inner",style:n.normalizeStyle({transform:`translateX(${this.scale*8.5}em)`})},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.cards,(u,c)=>(n.openBlock(),n.createElementBlock("div",{key:u.id,onClick:d=>i.select(c),class:n.normalizeClass(["card",{selected:c==e.selected}]),"data-scale":u.scale},[n.createElementVNode("img",{alt:u.id,src:u.src,style:{width:"100%",height:"100%","object-fit":"cover"}},null,8,Eee)],10,xee))),128))],4),t[5]||(t[5]=n.createElementVNode("div",{class:"fade-box right"},null,-1))])])):n.createCommentVNode("",!0)])}const Dee=ge(Mee,[["render",Tee],["__scopeId","data-v-334ba796"]]),See=Object.freeze(Object.defineProperty({__proto__:null,default:Dee},Symbol.toStringTag,{value:"Module"}));const Iee={tagName:"l-input",name:"LInput",components:{ElInput:Dr},props:{error:{type:Boolean,default:!1},errorMessage:{type:String,default:""},noBorder:{type:Boolean,default:!1}}},Aee={class:"l-input-wrapper"},zee={key:0,class:"l-input-error-message"};function Oee(e,t,r,o,a,i){const l=n.resolveComponent("el-input");return n.openBlock(),n.createElementBlock("div",Aee,[n.createVNode(l,n.mergeProps(e.$attrs,{class:["l-input",{"l-input-error":r.error}],"input-style":{border:r.noBorder?"none":"",boxShadow:r.noBorder?"none":""}}),n.createSlots({default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:2},[e.$slots.prefix?{name:"prefix",fn:n.withCtx(()=>[n.renderSlot(e.$slots,"prefix",{},void 0,!0)]),key:"0"}:void 0,e.$slots.suffix?{name:"suffix",fn:n.withCtx(()=>[n.renderSlot(e.$slots,"suffix",{},void 0,!0)]),key:"1"}:void 0,e.$slots.prepend?{name:"prepend",fn:n.withCtx(()=>[n.renderSlot(e.$slots,"prepend",{},void 0,!0)]),key:"2"}:void 0,e.$slots.append?{name:"append",fn:n.withCtx(()=>[n.renderSlot(e.$slots,"append",{},void 0,!0)]),key:"3"}:void 0]),1040,["class","input-style"]),r.errorMessage?(n.openBlock(),n.createElementBlock("div",zee,n.toDisplayString(r.errorMessage),1)):n.createCommentVNode("",!0)])}const jee=ge(Iee,[["render",Oee],["__scopeId","data-v-a81968b4"]]),Lee=Object.freeze(Object.defineProperty({__proto__:null,default:jee},Symbol.toStringTag,{value:"Module"}));const Bee={name:"LLinearProgress",props:{color:{type:String,default:"rainbow"},background:{type:String,default:"transparent"},height:{type:Number,default:4}},methods:{getColor:ni}};function Vee(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("div",{class:"l-linear-progress",style:n.normalizeStyle({height:r.height+"px"})},[n.createElementVNode("div",{class:"l-linear-progress-background",style:n.normalizeStyle({"--color":i.getColor(r.background)})},null,4),n.createElementVNode("div",{class:n.normalizeClass(["l-linear-progress-indeterminate",[r.color]]),style:n.normalizeStyle({"--color":i.getColor(r.color)})},null,6)],4)}const $ee=ge(Bee,[["render",Vee],["__scopeId","data-v-7fdc26e5"]]),Pee=Object.freeze(Object.defineProperty({__proto__:null,default:$ee},Symbol.toStringTag,{value:"Module"}));const Ree={name:"LNotice",props:{type:{type:String},outline:{type:Boolean,default:()=>!1},fill:{type:Boolean,default:()=>!0},showIcon:{type:Boolean,default:()=>!0},color:{type:String},icon:{type:String}},computed:{computedColor(){return this.color||this.type},computedIcon(){if(this.icon)return this.icon;if(!this.type)return null;switch(this.type){case"danger":return"uil-exclamation-circle";case"warning":return"uil-clock";case"success":return"uil-check-circle";default:throw new Error(`Unknown type ${this.type}`)}}}},Fee={key:1,class:"no-icon"},Uee={class:"text"};function Hee(e,t,r,o,a,i){const l=n.resolveComponent("l-icon");return n.openBlock(),n.createElementBlock("div",{style:n.normalizeStyle({"--color":i.computedColor}),class:n.normalizeClass({outline:r.outline,fill:r.fill})},[r.showIcon?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[i.computedIcon?(n.openBlock(),n.createBlock(l,{key:0},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(i.computedIcon),1)]),_:1})):(n.openBlock(),n.createElementBlock("span",Fee))],64)):n.createCommentVNode("",!0),n.createElementVNode("span",Uee,[n.renderSlot(e.$slots,"default")])],6)}const Yee=ge(Ree,[["render",Hee]]),Qee=Object.freeze(Object.defineProperty({__proto__:null,default:Yee},Symbol.toStringTag,{value:"Module"}));const qee=n.defineComponent({name:"LPresentation",data:()=>({dialogVisible:!1}),props:{image:{type:String,required:!0},color:{type:String,default:"#FFF"},placement:{type:String,default:"bottom"},value:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},mode:{type:String,default:"contain",required:!1},tooltipClass:{type:String,required:!1}},emits:["update:value","close"],onMounted(){this.dialogVisible=this.value},watch:{dialogVisible(e){this.$emit("update:value",e),e||this.$emit("close")},value(e){this.dialogVisible=e,this.isTooltip&&e&&n.nextTick(this.updateTooltipArrow)}},setup(e,{emit:t}){return{updateTooltipArrow:()=>{const a=this.$refs.tooltip.popperElm;a&&a.style.setProperty("--popper-arrow",e.color)},close:()=>{t("update:value",!1),t("close")}}}}),Wee={class:"tooltip-content"},Gee=["src"],Kee={key:1},Zee=["src"],Jee={class:"tooltip-content"};function Xee(e,t,r,o,a,i){const l=n.resolveComponent("l-button"),s=n.resolveComponent("l-tooltip"),u=n.resolveComponent("l-dialog");return e.isTooltip?(n.openBlock(),n.createBlock(s,{key:0,ref:"tooltip",placement:e.placement,effect:"light",modelValue:e.dialogVisible,"onUpdate:modelValue":t[0]||(t[0]=c=>e.dialogVisible=c),manual:"",tooltipClass:`l-presentation-popper ${e.tooltipClass?e.tooltipClass:""}`},{content:n.withCtx(()=>[n.createElementVNode("div",Wee,[n.createElementVNode("div",{class:"image-container",style:n.normalizeStyle({"background-color":e.color})},[n.createElementVNode("img",{src:e.image,class:n.normalizeClass(["l-presentation-image",e.mode]),draggable:"false",alt:"Presentation"},null,10,Gee),n.createVNode(l,{onClick:e.close,class:"close-button",fab:"",icon:"uil-times",size:"mini",type:"info"},null,8,["onClick"])],4),n.createElementVNode("p",null,[n.renderSlot(e.$slots,"content",{},void 0,!0)])]),n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},8,["placement","modelValue","tooltipClass"])):(n.openBlock(),n.createElementBlock("div",Kee,[n.createVNode(u,{modelValue:e.dialogVisible,"onUpdate:modelValue":t[1]||(t[1]=c=>e.dialogVisible=c),"before-close":e.close},{header:n.withCtx(()=>[n.createElementVNode("div",{class:"image-container",style:n.normalizeStyle({"background-color":e.color})},[n.createElementVNode("img",{src:e.image,class:n.normalizeClass(["l-presentation-image",e.mode]),width:"280",height:"160",draggable:"false",alt:"Presentation"},null,10,Zee)],4)]),default:n.withCtx(()=>[n.createElementVNode("div",Jee,[n.createElementVNode("p",null,[n.renderSlot(e.$slots,"content",{},void 0,!0)])])]),_:3},8,["modelValue","before-close"]),n.renderSlot(e.$slots,"default",{},void 0,!0)]))}const ete=ge(qee,[["render",Xee],["__scopeId","data-v-3e34dd20"]]),tte=Object.freeze(Object.defineProperty({__proto__:null,default:ete},Symbol.toStringTag,{value:"Module"}));const nte=n.defineComponent({name:"LPromptDialog",props:{title:{type:String,required:!0},content:{type:String,default:""},buttonCloseLabel:{type:String,default:"Cancelar"},buttonConfirmLabel:{type:String,default:"Continuar"}},methods:{close(){this.$emit("close")},selectModel(){this.$emit("answer",!0)}}}),rte={class:"prompt-dialog"},ote={key:0,style:{display:"block"},class:"mt-4"},ate={class:"l-d-flex mt-4 prompt-buttons"};function ite(e,t,r,o,a,i){const l=n.resolveComponent("l-button");return n.openBlock(),n.createElementBlock("div",rte,[n.createElementVNode("h3",null,n.toDisplayString(e.title),1),e.content?(n.openBlock(),n.createElementBlock("p",ote,n.toDisplayString(e.content),1)):n.createCommentVNode("",!0),n.createElementVNode("div",ate,[n.createVNode(l,{onClick:e.close,type:"primary",plain:"",class:"bold my-0 ml-0 mr-2 dialog-button decline-button-dialog"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.buttonCloseLabel),1)]),_:1},8,["onClick"]),n.createVNode(l,{onClick:e.selectModel,type:"primary",class:"bold m-0 dialog-button confirm-button-dialog"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.buttonConfirmLabel),1)]),_:1},8,["onClick"])])])}const vm=ge(nte,[["render",ite],["__scopeId","data-v-75693735"]]),lte=Object.freeze(Object.defineProperty({__proto__:null,default:vm},Symbol.toStringTag,{value:"Module"}));const ste=n.defineComponent({name:"LRadio",components:{ElRadio:Pq}});function ute(e,t,r,o,a,i){const l=n.resolveComponent("ElRadio");return n.openBlock(),n.createBlock(l,n.mergeProps(e.$attrs,{class:"l-radio"}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16)}const cte=ge(ste,[["render",ute],["__scopeId","data-v-7560e4a6"]]),dte=Object.freeze(Object.defineProperty({__proto__:null,default:cte},Symbol.toStringTag,{value:"Module"}));const fte=n.defineComponent({name:"LRadiobutton",components:{ElRadioButton:Fq}});function pte(e,t,r,o,a,i){const l=n.resolveComponent("ElRadioButton");return n.openBlock(),n.createBlock(l,n.mergeProps(e.$attrs,{class:"l-radio-button"}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16)}const mte=ge(fte,[["render",pte],["__scopeId","data-v-85dba2ee"]]),hte=Object.freeze(Object.defineProperty({__proto__:null,default:mte},Symbol.toStringTag,{value:"Module"}));const gte=n.defineComponent({name:"LRadioGroup",components:{RadioGroup:Rq},props:{separated:{type:Boolean,default:!1},color:{type:String,default:"primary"}},computed:{fill(){return Uv(this.color)}},onMounted(){if(this.separated){const e=this.$refs.radioGroup.$el;e.classList.add("l-radio-group-separated"),e.children&&e.children.length&&Array.from(e.children).forEach(t=>t.classList.add("l-radio-button-separated"))}}});function vte(e,t,r,o,a,i){const l=n.resolveComponent("RadioGroup");return n.openBlock(),n.createBlock(l,n.mergeProps(e.$attrs,{class:[{"l-radio-group-separated":e.separated},"l-radio-group"],ref:"radioGroup",fill:e.fill}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16,["class","fill"])}const yte=ge(gte,[["render",vte],["__scopeId","data-v-9ec95acb"]]),Mte=Object.freeze(Object.defineProperty({__proto__:null,default:yte},Symbol.toStringTag,{value:"Module"}));const _te={name:"l-rating",components:{ElRate:dZ},props:{colors:{type:Array,default:()=>["#99A9BF","#F7BA2A","#FF9900"]},allowHalf:{type:Boolean,default:!1}}};function bte(e,t,r,o,a,i){const l=n.resolveComponent("el-rate");return n.openBlock(),n.createBlock(l,n.mergeProps(e.$attrs,{colors:r.colors,"allow-half":r.allowHalf}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default")]),_:3},16,["colors","allow-half"])}const Nte=ge(_te,[["render",bte]]),wte=Object.freeze(Object.defineProperty({__proto__:null,default:Nte},Symbol.toStringTag,{value:"Module"}));var kte=xi,Cte=to,xte="[object Symbol]";function Ete(e){return typeof e=="symbol"||Cte(e)&&kte(e)==xte}var Kc=Ete,Tte=Zn,Dte=Kc,Ste=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ite=/^\w*$/;function Ate(e,t){if(Tte(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Dte(e)?!0:Ite.test(e)||!Ste.test(e)||t!=null&&e in Object(t)}var ym=Ate,a6=s0,zte="Expected a function";function Mm(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(zte);var r=function(){var o=arguments,a=t?t.apply(this,o):o[0],i=r.cache;if(i.has(a))return i.get(a);var l=e.apply(this,o);return r.cache=i.set(a,l)||i,l};return r.cache=new(Mm.Cache||a6),r}Mm.Cache=a6;var Ote=Mm,jte=Ote,Lte=500;function Bte(e){var t=jte(e,function(o){return r.size===Lte&&r.clear(),o}),r=t.cache;return t}var Vte=Bte,$te=Vte,Pte=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rte=/\\(\\)?/g,Fte=$te(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Pte,function(r,o,a,i){t.push(a?i.replace(Rte,"$1"):o||r)}),t}),Ute=Fte;function Hte(e,t){for(var r=-1,o=e==null?0:e.length,a=Array(o);++r<o;)a[r]=t(e[r],r,e);return a}var i6=Hte,B1=Ci,Yte=i6,Qte=Zn,qte=Kc,Wte=1/0,V1=B1?B1.prototype:void 0,$1=V1?V1.toString:void 0;function l6(e){if(typeof e=="string")return e;if(Qte(e))return Yte(e,l6)+"";if(qte(e))return $1?$1.call(e):"";var t=e+"";return t=="0"&&1/e==-Wte?"-0":t}var Gte=l6,Kte=Gte;function Zte(e){return e==null?"":Kte(e)}var Jte=Zte,Xte=Zn,ene=ym,tne=Ute,nne=Jte;function rne(e,t){return Xte(e)?e:ene(e,t)?[e]:tne(nne(e))}var s6=rne,one=Kc,ane=1/0;function ine(e){if(typeof e=="string"||one(e))return e;var t=e+"";return t=="0"&&1/e==-ane?"-0":t}var Zc=ine,lne=s6,sne=Zc;function une(e,t){t=lne(t,e);for(var r=0,o=t.length;e!=null&&r<o;)e=e[sne(t[r++])];return r&&r==o?e:void 0}var u6=une,cne=u6;function dne(e,t,r){var o=e==null?void 0:cne(e,t);return o===void 0?r:o}var c6=dne;const mt=yt(c6);function fne(e,t){for(var r=-1,o=e==null?0:e.length;++r<o&&t(e[r],r,e)!==!1;);return e}var pne=fne,mne=l3,hne=mne(Object.keys,Object),gne=hne,vne=f0,yne=gne,Mne=Object.prototype,_ne=Mne.hasOwnProperty;function bne(e){if(!vne(e))return yne(e);var t=[];for(var r in Object(e))_ne.call(e,r)&&r!="constructor"&&t.push(r);return t}var Nne=bne,wne=m3,kne=Nne,Cne=Si;function xne(e){return Cne(e)?wne(e):kne(e)}var Ea=xne;const Ene=yt(Ea);var Tne=Wl,Dne=Ea;function Sne(e,t){return e&&Tne(t,Dne(t),e)}var Ine=Sne,Ane=Wl,zne=Gl;function One(e,t){return e&&Ane(t,zne(t),e)}var jne=One;function Lne(e,t){for(var r=-1,o=e==null?0:e.length,a=0,i=[];++r<o;){var l=e[r];t(l,r,e)&&(i[a++]=l)}return i}var d6=Lne;function Bne(){return[]}var f6=Bne,Vne=d6,$ne=f6,Pne=Object.prototype,Rne=Pne.propertyIsEnumerable,P1=Object.getOwnPropertySymbols,Fne=P1?function(e){return e==null?[]:(e=Object(e),Vne(P1(e),function(t){return Rne.call(e,t)}))}:$ne,_m=Fne,Une=Wl,Hne=_m;function Yne(e,t){return Une(e,Hne(e),t)}var Qne=Yne;function qne(e,t){for(var r=-1,o=t.length,a=e.length;++r<o;)e[a+r]=t[r];return e}var bm=qne,Wne=bm,Gne=d0,Kne=_m,Zne=f6,Jne=Object.getOwnPropertySymbols,Xne=Jne?function(e){for(var t=[];e;)Wne(t,Kne(e)),e=Gne(e);return t}:Zne,p6=Xne,ere=Wl,tre=p6;function nre(e,t){return ere(e,tre(e),t)}var rre=nre,ore=bm,are=Zn;function ire(e,t,r){var o=t(e);return are(e)?o:ore(o,r(e))}var m6=ire,lre=m6,sre=_m,ure=Ea;function cre(e){return lre(e,ure,sre)}var h6=cre,dre=m6,fre=p6,pre=Gl;function mre(e){return dre(e,pre,fre)}var hre=mre,gre=ba,vre=gr,yre=gre(vre,"DataView"),Mre=yre,_re=ba,bre=gr,Nre=_re(bre,"Promise"),wre=Nre,kre=ba,Cre=gr,xre=kre(Cre,"Set"),g6=xre,Ere=ba,Tre=gr,Dre=Ere(Tre,"WeakMap"),Sre=Dre,mp=Mre,hp=l0,gp=wre,vp=g6,yp=Sre,v6=xi,Oi=Xv,R1="[object Map]",Ire="[object Object]",F1="[object Promise]",U1="[object Set]",H1="[object WeakMap]",Y1="[object DataView]",Are=Oi(mp),zre=Oi(hp),Ore=Oi(gp),jre=Oi(vp),Lre=Oi(yp),Go=v6;(mp&&Go(new mp(new ArrayBuffer(1)))!=Y1||hp&&Go(new hp)!=R1||gp&&Go(gp.resolve())!=F1||vp&&Go(new vp)!=U1||yp&&Go(new yp)!=H1)&&(Go=function(e){var t=v6(e),r=t==Ire?e.constructor:void 0,o=r?Oi(r):"";if(o)switch(o){case Are:return Y1;case zre:return R1;case Ore:return F1;case jre:return U1;case Lre:return H1}return t});var Jc=Go,Bre=Object.prototype,Vre=Bre.hasOwnProperty;function $re(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&Vre.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var Pre=$re,Rre=c0;function Fre(e,t){var r=t?Rre(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var Ure=Fre,Hre=/\w*$/;function Yre(e){var t=new e.constructor(e.source,Hre.exec(e));return t.lastIndex=e.lastIndex,t}var Qre=Yre,Q1=Ci,q1=Q1?Q1.prototype:void 0,W1=q1?q1.valueOf:void 0;function qre(e){return W1?Object(W1.call(e)):{}}var Wre=qre,Gre=c0,Kre=Ure,Zre=Qre,Jre=Wre,Xre=a3,eoe="[object Boolean]",toe="[object Date]",noe="[object Map]",roe="[object Number]",ooe="[object RegExp]",aoe="[object Set]",ioe="[object String]",loe="[object Symbol]",soe="[object ArrayBuffer]",uoe="[object DataView]",coe="[object Float32Array]",doe="[object Float64Array]",foe="[object Int8Array]",poe="[object Int16Array]",moe="[object Int32Array]",hoe="[object Uint8Array]",goe="[object Uint8ClampedArray]",voe="[object Uint16Array]",yoe="[object Uint32Array]";function Moe(e,t,r){var o=e.constructor;switch(t){case soe:return Gre(e);case eoe:case toe:return new o(+e);case uoe:return Kre(e,r);case coe:case doe:case foe:case poe:case moe:case hoe:case goe:case voe:case yoe:return Xre(e,r);case noe:return new o;case roe:case ioe:return new o(e);case ooe:return Zre(e);case aoe:return new o;case loe:return Jre(e)}}var _oe=Moe,boe=Jc,Noe=to,woe="[object Map]";function koe(e){return Noe(e)&&boe(e)==woe}var Coe=koe,xoe=Coe,Eoe=Tc,G1=m0,K1=G1&&G1.isMap,Toe=K1?Eoe(K1):xoe,Doe=Toe,Soe=Jc,Ioe=to,Aoe="[object Set]";function zoe(e){return Ioe(e)&&Soe(e)==Aoe}var Ooe=zoe,joe=Ooe,Loe=Tc,Z1=m0,J1=Z1&&Z1.isSet,Boe=J1?Loe(J1):joe,Voe=Boe,$oe=Cc,Poe=pne,Roe=p3,Foe=Ine,Uoe=jne,Hoe=r3,Yoe=i3,Qoe=Qne,qoe=rre,Woe=h6,Goe=hre,Koe=Jc,Zoe=Pre,Joe=_oe,Xoe=s3,eae=Zn,tae=Ec,nae=Doe,rae=vr,oae=Voe,aae=Ea,iae=Gl,lae=1,sae=2,uae=4,y6="[object Arguments]",cae="[object Array]",dae="[object Boolean]",fae="[object Date]",pae="[object Error]",M6="[object Function]",mae="[object GeneratorFunction]",hae="[object Map]",gae="[object Number]",_6="[object Object]",vae="[object RegExp]",yae="[object Set]",Mae="[object String]",_ae="[object Symbol]",bae="[object WeakMap]",Nae="[object ArrayBuffer]",wae="[object DataView]",kae="[object Float32Array]",Cae="[object Float64Array]",xae="[object Int8Array]",Eae="[object Int16Array]",Tae="[object Int32Array]",Dae="[object Uint8Array]",Sae="[object Uint8ClampedArray]",Iae="[object Uint16Array]",Aae="[object Uint32Array]",it={};it[y6]=it[cae]=it[Nae]=it[wae]=it[dae]=it[fae]=it[kae]=it[Cae]=it[xae]=it[Eae]=it[Tae]=it[hae]=it[gae]=it[_6]=it[vae]=it[yae]=it[Mae]=it[_ae]=it[Dae]=it[Sae]=it[Iae]=it[Aae]=!0;it[pae]=it[M6]=it[bae]=!1;function eu(e,t,r,o,a,i){var l,s=t&lae,u=t&sae,c=t&uae;if(r&&(l=a?r(e,o,a,i):r(e)),l!==void 0)return l;if(!rae(e))return e;var d=eae(e);if(d){if(l=Zoe(e),!s)return Yoe(e,l)}else{var f=Koe(e),p=f==M6||f==mae;if(tae(e))return Hoe(e,s);if(f==_6||f==y6||p&&!a){if(l=u||p?{}:Xoe(e),!s)return u?qoe(e,Uoe(l,e)):Qoe(e,Foe(l,e))}else{if(!it[f])return a?e:{};l=Joe(e,f,s)}}i||(i=new $oe);var h=i.get(e);if(h)return h;i.set(e,l),oae(e)?e.forEach(function(y){l.add(eu(y,t,r,y,e,i))}):nae(e)&&e.forEach(function(y,v){l.set(v,eu(y,t,r,v,e,i))});var m=c?u?Goe:Woe:u?iae:aae,g=d?void 0:m(e);return Poe(g||e,function(y,v){g&&(v=y,y=e[v]),Roe(l,v,eu(y,t,r,v,e,i))}),l}var zae=eu,Oae=zae,jae=1,Lae=4;function Bae(e){return Oae(e,jae|Lae)}var Vae=Bae;const zn=yt(Vae);var $ae="__lodash_hash_undefined__";function Pae(e){return this.__data__.set(e,$ae),this}var Rae=Pae;function Fae(e){return this.__data__.has(e)}var Uae=Fae,Hae=s0,Yae=Rae,Qae=Uae;function ku(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Hae;++t<r;)this.add(e[t])}ku.prototype.add=ku.prototype.push=Yae;ku.prototype.has=Qae;var Nm=ku;function qae(e,t){for(var r=-1,o=e==null?0:e.length;++r<o;)if(t(e[r],r,e))return!0;return!1}var Wae=qae;function Gae(e,t){return e.has(t)}var wm=Gae,Kae=Nm,Zae=Wae,Jae=wm,Xae=1,eie=2;function tie(e,t,r,o,a,i){var l=r&Xae,s=e.length,u=t.length;if(s!=u&&!(l&&u>s))return!1;var c=i.get(e),d=i.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,h=r&eie?new Kae:void 0;for(i.set(e,t),i.set(t,e);++f<s;){var m=e[f],g=t[f];if(o)var y=l?o(g,m,f,t,e,i):o(m,g,f,e,t,i);if(y!==void 0){if(y)continue;p=!1;break}if(h){if(!Zae(t,function(v,_){if(!Jae(h,_)&&(m===v||a(m,v,r,o,i)))return h.push(_)})){p=!1;break}}else if(!(m===g||a(m,g,r,o,i))){p=!1;break}}return i.delete(e),i.delete(t),p}var b6=tie;function nie(e){var t=-1,r=Array(e.size);return e.forEach(function(o,a){r[++t]=[a,o]}),r}var rie=nie;function oie(e){var t=-1,r=Array(e.size);return e.forEach(function(o){r[++t]=o}),r}var km=oie,X1=Ci,eg=o3,aie=ql,iie=b6,lie=rie,sie=km,uie=1,cie=2,die="[object Boolean]",fie="[object Date]",pie="[object Error]",mie="[object Map]",hie="[object Number]",gie="[object RegExp]",vie="[object Set]",yie="[object String]",Mie="[object Symbol]",_ie="[object ArrayBuffer]",bie="[object DataView]",tg=X1?X1.prototype:void 0,Rd=tg?tg.valueOf:void 0;function Nie(e,t,r,o,a,i,l){switch(r){case bie:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _ie:return!(e.byteLength!=t.byteLength||!i(new eg(e),new eg(t)));case die:case fie:case hie:return aie(+e,+t);case pie:return e.name==t.name&&e.message==t.message;case gie:case yie:return e==t+"";case mie:var s=lie;case vie:var u=o&uie;if(s||(s=sie),e.size!=t.size&&!u)return!1;var c=l.get(e);if(c)return c==t;o|=cie,l.set(e,t);var d=iie(s(e),s(t),o,a,i,l);return l.delete(e),d;case Mie:if(Rd)return Rd.call(e)==Rd.call(t)}return!1}var wie=Nie,ng=h6,kie=1,Cie=Object.prototype,xie=Cie.hasOwnProperty;function Eie(e,t,r,o,a,i){var l=r&kie,s=ng(e),u=s.length,c=ng(t),d=c.length;if(u!=d&&!l)return!1;for(var f=u;f--;){var p=s[f];if(!(l?p in t:xie.call(t,p)))return!1}var h=i.get(e),m=i.get(t);if(h&&m)return h==t&&m==e;var g=!0;i.set(e,t),i.set(t,e);for(var y=l;++f<u;){p=s[f];var v=e[p],_=t[p];if(o)var b=l?o(_,v,p,t,e,i):o(v,_,p,e,t,i);if(!(b===void 0?v===_||a(v,_,r,o,i):b)){g=!1;break}y||(y=p=="constructor")}if(g&&!y){var M=e.constructor,N=t.constructor;M!=N&&"constructor"in e&&"constructor"in t&&!(typeof M=="function"&&M instanceof M&&typeof N=="function"&&N instanceof N)&&(g=!1)}return i.delete(e),i.delete(t),g}var Tie=Eie,Fd=Cc,Die=b6,Sie=wie,Iie=Tie,rg=Jc,og=Zn,ag=Ec,Aie=h0,zie=1,ig="[object Arguments]",lg="[object Array]",Ss="[object Object]",Oie=Object.prototype,sg=Oie.hasOwnProperty;function jie(e,t,r,o,a,i){var l=og(e),s=og(t),u=l?lg:rg(e),c=s?lg:rg(t);u=u==ig?Ss:u,c=c==ig?Ss:c;var d=u==Ss,f=c==Ss,p=u==c;if(p&&ag(e)){if(!ag(t))return!1;l=!0,d=!1}if(p&&!d)return i||(i=new Fd),l||Aie(e)?Die(e,t,r,o,a,i):Sie(e,t,u,r,o,a,i);if(!(r&zie)){var h=d&&sg.call(e,"__wrapped__"),m=f&&sg.call(t,"__wrapped__");if(h||m){var g=h?e.value():e,y=m?t.value():t;return i||(i=new Fd),a(g,y,r,o,i)}}return p?(i||(i=new Fd),Iie(e,t,r,o,a,i)):!1}var Lie=jie,Bie=Lie,ug=to;function N6(e,t,r,o,a){return e===t?!0:e==null||t==null||!ug(e)&&!ug(t)?e!==e&&t!==t:Bie(e,t,r,o,N6,a)}var Cm=N6,Vie=Cm;function $ie(e,t){return Vie(e,t)}var Pie=$ie;const Rie=yt(Pie);function Fie(e,t,r,o){for(var a=e.length,i=r+(o?1:-1);o?i--:++i<a;)if(t(e[i],i,e))return i;return-1}var w6=Fie,Uie=Cc,Hie=Cm,Yie=1,Qie=2;function qie(e,t,r,o){var a=r.length,i=a,l=!o;if(e==null)return!i;for(e=Object(e);a--;){var s=r[a];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<i;){s=r[a];var u=s[0],c=e[u],d=s[1];if(l&&s[2]){if(c===void 0&&!(u in e))return!1}else{var f=new Uie;if(o)var p=o(c,d,u,e,t,f);if(!(p===void 0?Hie(d,c,Yie|Qie,o,f):p))return!1}}return!0}var Wie=qie,Gie=vr;function Kie(e){return e===e&&!Gie(e)}var k6=Kie,Zie=k6,Jie=Ea;function Xie(e){for(var t=Jie(e),r=t.length;r--;){var o=t[r],a=e[o];t[r]=[o,a,Zie(a)]}return t}var ele=Xie;function tle(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}var C6=tle,nle=Wie,rle=ele,ole=C6;function ale(e){var t=rle(e);return t.length==1&&t[0][2]?ole(t[0][0],t[0][1]):function(r){return r===e||nle(r,e,t)}}var ile=ale;function lle(e,t){return e!=null&&t in Object(e)}var sle=lle,ule=s6,cle=xc,dle=Zn,fle=g0,ple=p0,mle=Zc;function hle(e,t,r){t=ule(t,e);for(var o=-1,a=t.length,i=!1;++o<a;){var l=mle(t[o]);if(!(i=e!=null&&r(e,l)))break;e=e[l]}return i||++o!=a?i:(a=e==null?0:e.length,!!a&&ple(a)&&fle(l,a)&&(dle(e)||cle(e)))}var gle=hle,vle=sle,yle=gle;function Mle(e,t){return e!=null&&yle(e,t,vle)}var _le=Mle,ble=Cm,Nle=c6,wle=_le,kle=ym,Cle=k6,xle=C6,Ele=Zc,Tle=1,Dle=2;function Sle(e,t){return kle(e)&&Cle(t)?xle(Ele(e),t):function(r){var o=Nle(r,e);return o===void 0&&o===t?wle(r,e):ble(t,o,Tle|Dle)}}var Ile=Sle;function Ale(e){return function(t){return t==null?void 0:t[e]}}var zle=Ale,Ole=u6;function jle(e){return function(t){return Ole(t,e)}}var Lle=jle,Ble=zle,Vle=Lle,$le=ym,Ple=Zc;function Rle(e){return $le(e)?Ble(Ple(e)):Vle(e)}var Fle=Rle,Ule=ile,Hle=Ile,Yle=v0,Qle=Zn,qle=Fle;function Wle(e){return typeof e=="function"?e:e==null?Yle:typeof e=="object"?Qle(e)?Hle(e[0],e[1]):Ule(e):qle(e)}var xm=Wle,Gle=/\s/;function Kle(e){for(var t=e.length;t--&&Gle.test(e.charAt(t)););return t}var Zle=Kle,Jle=Zle,Xle=/^\s+/;function ese(e){return e&&e.slice(0,Jle(e)+1).replace(Xle,"")}var tse=ese,nse=tse,cg=vr,rse=Kc,dg=0/0,ose=/^[-+]0x[0-9a-f]+$/i,ase=/^0b[01]+$/i,ise=/^0o[0-7]+$/i,lse=parseInt;function sse(e){if(typeof e=="number")return e;if(rse(e))return dg;if(cg(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=cg(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=nse(e);var r=ase.test(e);return r||ise.test(e)?lse(e.slice(2),r?2:8):ose.test(e)?dg:+e}var x6=sse,use=x6,fg=1/0,cse=17976931348623157e292;function dse(e){if(!e)return e===0?e:0;if(e=use(e),e===fg||e===-fg){var t=e<0?-1:1;return t*cse}return e===e?e:0}var fse=dse,pse=fse;function mse(e){var t=pse(e),r=t%1;return t===t?r?t-r:t:0}var hse=mse,gse=w6,vse=xm,yse=hse,Mse=Math.max;function _se(e,t,r){var o=e==null?0:e.length;if(!o)return-1;var a=r==null?0:yse(r);return a<0&&(a=Mse(o+a,0)),gse(e,vse(t),a)}var E6=_se;const pg=yt(E6);var bse=xm,Nse=Si,wse=Ea;function kse(e){return function(t,r,o){var a=Object(t);if(!Nse(t)){var i=bse(r);t=wse(t),r=function(s){return i(a[s],s,a)}}var l=e(t,r,o);return l>-1?a[i?t[l]:l]:void 0}}var Cse=kse,xse=Cse,Ese=E6,Tse=xse(Ese),Dse=Tse;const Sse=yt(Dse);var Ise=n3,Ase=Ea;function zse(e,t){return e&&Ise(e,t,Ase)}var Ose=zse,jse=Si;function Lse(e,t){return function(r,o){if(r==null)return r;if(!jse(r))return e(r,o);for(var a=r.length,i=t?a:-1,l=Object(r);(t?i--:++i<a)&&o(l[i],i,l)!==!1;);return r}}var Bse=Lse,Vse=Ose,$se=Bse,Pse=$se(Vse),Rse=Pse,Fse=Rse;function Use(e,t){var r=[];return Fse(e,function(o,a,i){t(o,a,i)&&r.push(o)}),r}var Hse=Use,Yse=d6,Qse=Hse,qse=xm,Wse=Zn;function Gse(e,t){var r=Wse(e)?Yse:Qse;return r(e,qse(t))}var Kse=Gse;const T6=yt(Kse);const Zse={name:"AddFilterButton",props:{schema:Object,filters:Array},methods:{addFilter(e){const t={path:e.path,value:null,comparison:null,valid:!1};this.$emit("addFilter",t)},hasFilterFor(e){return Sse(this.filters,{path:e})}},computed:{availableOptions(){var e,t;return(t=(e=this.schema)==null?void 0:e.fields)!=null&&t.length?T6(this.schema.fields,r=>r.filterable&&!this.hasFilterFor(r.path)):[]}}};function Jse(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("l-button"),u=n.resolveComponent("l-dropdown-item"),c=n.resolveComponent("l-tooltip"),d=n.resolveComponent("l-dropdown-menu"),f=n.resolveComponent("l-dropdown");return n.openBlock(),n.createBlock(f,{trigger:"click",placement:"bottom-start",onCommand:i.addFilter},{default:n.withCtx(()=>[n.withDirectives(n.createVNode(s,{class:"add-filter-button",round:"",plain:"",size:"small"},{default:n.withCtx(()=>[n.createVNode(l,{style:{"margin-right":"4px"}},{default:n.withCtx(()=>t[0]||(t[0]=[n.createTextVNode("uil-plus")])),_:1}),t[1]||(t[1]=n.createTextVNode("Adicionar filtro "))]),_:1},512),[[n.vShow,i.availableOptions.length>0]])]),dropdown:n.withCtx(()=>[n.createVNode(d,null,{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.availableOptions,p=>(n.openBlock(),n.createBlock(c,{key:p.title,disabled:!p.description,content:p.description,effect:"light","open-delay":600,placement:"right-start"},{default:n.withCtx(()=>[n.createVNode(u,{command:p,disabled:i.hasFilterFor(p.path)},{default:n.withCtx(()=>[n.createVNode(l,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.$L.Icons.get(p)),1)]),_:2},1024),n.createTextVNode(" "+n.toDisplayString(p.title),1)]),_:2},1032,["command","disabled"])]),_:2},1032,["disabled","content"]))),128))]),_:1})]),_:1},8,["onCommand"])}const Xse=ge(Zse,[["render",Jse]]);const eue={props:{filter:Object,schema:Object},emits:["update:filter","change","cancel"],data(){return mt(this.schema,"options.enum")?{form:{value:this.filter.value||[],comparison:this.filter.comparison||"in"}}:{form:{value:this.filter.value,comparison:this.filter.comparison||"contains"}}},watch:{"form.comparison":{handler(){this.$nextTick(()=>this.focus())}}},methods:{focus(){this.$refs.valueInput&&this.$refs.valueInput[0].$el.focus()},validate(e){return this.$refs.form.validate(e)},save(){this.$refs.form.validate(e=>{if(e){const t={...this.filter,valid:e,value:this.form.value,comparison:this.form.comparison};console.log("newFilter",t),this.$emit("update:filter",t),this.$emit("change",t)}})},cancel(){this.form.value=this.filter.value,this.form.comparison=this.filter.comparison,this.$emit("cancel")}},computed:{valuesEnum(){return mt(this.schema,"options.enum")},inlineComponent(){try{return this.$L.FieldTypeComponents.get(this.schema,"default")}catch{return null}},comparisons(){return[{label:"Contém",value:"contains"},{label:"Começa com",value:"starts_with"},{label:"Termina com",value:"ends_with"},{label:"É exatamente",value:"eq"},{label:"Não é",value:"neq"}]},rules(){return{value:[{required:!0,message:`Escolha para filtrar ${this.schema.title}`,trigger:"change"}],comparison:[{required:!0,message:`Escolha um modo para filtrar ${this.schema.title}`,trigger:"change"}]}}}},tue=["textContent"],nue={style:{"text-align":"right"}};function rue(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("l-checkbox"),u=n.resolveComponent("l-checkbox-group"),c=n.resolveComponent("l-form-item"),d=n.resolveComponent("l-radio"),f=n.resolveComponent("l-input"),p=n.resolveComponent("l-button"),h=n.resolveComponent("l-form");return n.openBlock(),n.createBlock(h,{model:a.form,rules:i.rules,ref:"form",onSubmit:t[3]||(t[3]=n.withModifiers(()=>{},["prevent"])),class:"item-wrapper"},{default:n.withCtx(()=>[n.createElementVNode("div",null,[n.createVNode(l,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.$L.Icons.get(r.schema)),1)]),_:1}),n.createTextVNode("  "+n.toDisplayString(r.schema.title),1)]),t[6]||(t[6]=n.createElementVNode("br",null,null,-1)),i.valuesEnum?(n.openBlock(),n.createBlock(c,{key:0,prop:"value"},{default:n.withCtx(()=>[n.createVNode(u,{modelValue:a.form.value,"onUpdate:modelValue":t[0]||(t[0]=m=>a.form.value=m),style:{display:"flex","flex-direction":"column"}},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.valuesEnum,m=>(n.openBlock(),n.createBlock(s,{label:m,value:m,key:m},{default:n.withCtx(()=>[i.inlineComponent?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.inlineComponent),{key:0,value:m,schema:r.schema},null,8,["value","schema"])):(n.openBlock(),n.createElementBlock("span",{key:1,textContent:n.toDisplayString(m)},null,8,tue))]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):(n.openBlock(),n.createBlock(c,{key:1,prop:"comparison"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.comparisons,m=>(n.openBlock(),n.createElementBlock("div",{key:m.value},[n.createVNode(d,{modelValue:a.form.comparison,"onUpdate:modelValue":t[1]||(t[1]=g=>a.form.comparison=g),label:m.value},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(m.label),1)]),_:2},1032,["modelValue","label"]),a.form.comparison===m.value?(n.openBlock(),n.createBlock(c,{key:0,prop:"value",style:{"margin-left":"24px","margin-bottom":"8px"}},{default:n.withCtx(()=>[n.createVNode(f,{ref_for:!0,ref:"valueInput",modelValue:a.form.value,"onUpdate:modelValue":t[2]||(t[2]=g=>a.form.value=g)},null,8,["modelValue"])]),_:1})):n.createCommentVNode("",!0)]))),128))]),_:1})),n.createElementVNode("div",nue,[n.createVNode(p,{plain:"",size:"small",onClick:i.cancel},{default:n.withCtx(()=>t[4]||(t[4]=[n.createTextVNode("Cancelar")])),_:1},8,["onClick"]),n.createVNode(p,{type:"primary",size:"small",onClick:i.save},{default:n.withCtx(()=>t[5]||(t[5]=[n.createTextVNode("Buscar")])),_:1},8,["onClick"])])]),_:1},8,["model","rules"])}const oue=ge(eue,[["render",rue],["__scopeId","data-v-33c403c4"]]);/*!
37
+ * currency.js - v1.2.2
38
+ * http://scurker.github.io/currency.js
39
+ *
40
+ * Copyright (c) 2019 Jason Wilson
41
+ * Released under MIT license
42
+ */var aue={symbol:"$",separator:",",decimal:".",formatWithSymbol:!1,errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#"},D6=function(t){return Math.round(t)},Em=function(t){return Math.pow(10,t)},iue=function(t,r){return D6(t/r)*r},lue=/(\d)(?=(\d{3})+\b)/g,sue=/(\d)(?=(\d\d)+\d\b)/g;function xr(e,t){var r=this;if(!(r instanceof xr))return new xr(e,t);var o=Object.assign({},aue,t),a=Em(o.precision),i=tu(e,o);r.intValue=i,r.value=i/a,o.increment=o.increment||1/a,o.useVedic?o.groups=sue:o.groups=lue,this.s=o,this.p=a}function tu(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,o=0,a=t.decimal,i=t.errorOnInvalid,l=t.precision,s=Em(l),u=typeof e=="number";if(u||e instanceof xr)o=(u?e:e.value)*s;else if(typeof e=="string"){var c=new RegExp("[^-\\d"+a+"]","g"),d=new RegExp("\\"+a,"g");o=e.replace(/\((.*)\)/,"-$1").replace(c,"").replace(d,".")*s,o=o||0}else{if(i)throw Error("Invalid Input");o=0}return o=o.toFixed(4),r?D6(o):o}xr.prototype={add:function(t){var r=this.intValue,o=this.s,a=this.p;return xr((r+=tu(t,o))/a,o)},subtract:function(t){var r=this.intValue,o=this.s,a=this.p;return xr((r-=tu(t,o))/a,o)},multiply:function(t){var r=this.intValue,o=this.s;return xr((r*=t)/Em(o.precision),o)},divide:function(t){var r=this.intValue,o=this.s;return xr(r/=tu(t,o,!1),o)},distribute:function(t){for(var r=this.intValue,o=this.p,a=this.s,i=[],l=Math[r>=0?"floor":"ceil"](r/t),s=Math.abs(r-l*t);t!==0;t--){var u=xr(l/o,a);s-- >0&&(u=r>=0?u.add(1/o):u.subtract(1/o)),i.push(u)}return i},dollars:function(){return~~this.value},cents:function(){var t=this.intValue,r=this.p;return~~(t%r)},format:function(t){var r=this.s,o=r.pattern,a=r.negativePattern,i=r.formatWithSymbol,l=r.symbol,s=r.separator,u=r.decimal,c=r.groups,d=(this+"").replace(/^-/,"").split("."),f=d[0],p=d[1];return typeof t>"u"&&(t=i),(this.value>=0?o:a).replace("!",t?l:"").replace("#","".concat(f.replace(c,"$1"+s)).concat(p?u+p:""))},toString:function(){var t=this.intValue,r=this.p,o=this.s;return iue(t/r,o.increment).toFixed(o.precision)},toJSON:function(){return this.value}};const uue={props:["filter","schema"],emits:["update:filter","change","cancel"],data(){return{form:{value:this.filter.value,comparison:this.filter.comparison||"gt"},inputValue:this.formatValue(this.filter.value)}},methods:{focus(){this.$refs.valueInput.focus()},formatValue(e){return e?(e/100).toFixed(2).replace(".",","):"0,00"},getAmount(e){return e?xr(e,{decimal:","}).intValue:0},changeInput(){this.form.value=this.getAmount(this.inputValue),this.inputValue=this.formatValue(this.form.value)},validate(e){return this.$refs.form.validate(e)},save(){this.$refs.form.validate(e=>{if(e){const t={...this.filter,valid:e,value:this.form.value,comparison:this.form.comparison};this.$emit("update:filter",t),this.$emit("change",t)}})},cancel(){this.form.value=this.filter.value,this.form.comparison=this.filter.comparison,this.$emit("cancel")}},computed:{rules(){return{value:[{required:!0,message:`Digite para filtrar ${this.schema.title}`,trigger:"change"}],comparison:[{required:!0,message:`Escolha um modo para filtrar ${this.schema.title}`,trigger:"change"}]}}}},cue={style:{"text-align":"right"}};function due(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("el-input"),u=n.resolveComponent("l-form-item"),c=n.resolveComponent("l-radio"),d=n.resolveComponent("l-button"),f=n.resolveComponent("l-form");return n.openBlock(),n.createBlock(f,{model:a.form,rules:i.rules,ref:"form",onSubmit:t[6]||(t[6]=n.withModifiers(()=>{},["prevent"])),class:"form-wrapper"},{default:n.withCtx(()=>[n.createElementVNode("div",null,[n.createVNode(l,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.$L.Icons.get(r.schema)),1)]),_:1}),n.createTextVNode(" "+n.toDisplayString(r.schema.title),1)]),t[15]||(t[15]=n.createElementVNode("br",null,null,-1)),n.createVNode(u,{prop:"value"},{default:n.withCtx(()=>[n.createVNode(s,{ref:"valueInput",modelValue:a.inputValue,"onUpdate:modelValue":t[0]||(t[0]=p=>a.inputValue=p),size:"small",onChange:i.changeInput},{default:n.withCtx(()=>t[7]||(t[7]=[n.createElementVNode("template",{slot:"prepend"},[n.createTextVNode("R$")],-1)])),_:1},8,["modelValue","onChange"])]),_:1}),n.createVNode(u,{prop:"comparison"},{default:n.withCtx(()=>[n.createVNode(c,{modelValue:a.form.comparison,"onUpdate:modelValue":t[1]||(t[1]=p=>a.form.comparison=p),label:"gt"},{default:n.withCtx(()=>t[8]||(t[8]=[n.createTextVNode("Maior que")])),_:1},8,["modelValue"]),n.createVNode(c,{modelValue:a.form.comparison,"onUpdate:modelValue":t[2]||(t[2]=p=>a.form.comparison=p),label:"gte"},{default:n.withCtx(()=>t[9]||(t[9]=[n.createTextVNode("Maior que ou igual a")])),_:1},8,["modelValue"]),n.createVNode(c,{modelValue:a.form.comparison,"onUpdate:modelValue":t[3]||(t[3]=p=>a.form.comparison=p),label:"eq"},{default:n.withCtx(()=>t[10]||(t[10]=[n.createTextVNode("Igual a")])),_:1},8,["modelValue"]),n.createVNode(c,{modelValue:a.form.comparison,"onUpdate:modelValue":t[4]||(t[4]=p=>a.form.comparison=p),label:"lt"},{default:n.withCtx(()=>t[11]||(t[11]=[n.createTextVNode("Menor que")])),_:1},8,["modelValue"]),n.createVNode(c,{modelValue:a.form.comparison,"onUpdate:modelValue":t[5]||(t[5]=p=>a.form.comparison=p),label:"lte"},{default:n.withCtx(()=>t[12]||(t[12]=[n.createTextVNode("Menor que ou igual a")])),_:1},8,["modelValue"])]),_:1}),n.createElementVNode("div",cue,[n.createVNode(d,{plain:"",size:"small",onClick:i.cancel},{default:n.withCtx(()=>t[13]||(t[13]=[n.createTextVNode("Cancelar")])),_:1},8,["onClick"]),n.createVNode(d,{type:"primary",size:"small",onClick:i.save},{default:n.withCtx(()=>t[14]||(t[14]=[n.createTextVNode("Buscar")])),_:1},8,["onClick"])])]),_:1},8,["model","rules"])}const fue=ge(uue,[["render",due],["__scopeId","data-v-45b986bf"]]);const pue={props:["filter","schema"],emits:["update:filter","change","cancel"],data(){return mt(this.schema,"options.enum")?{form:{value:this.filter.value||[],comparison:this.filter.comparison||"in"}}:{form:{value:this.filter.value,comparison:this.filter.comparison||"gte"}}},watch:{"form.comparison":{handler(){this.$nextTick(()=>this.focus())}}},methods:{focus(){this.$refs.valueInput&&this.$refs.valueInput[0].$el.focus()},validate(e){return this.$refs.form.validate(e)},save(){this.$refs.form.validate(e=>{if(e){const t={...this.filter,valid:e,value:this.form.value,comparison:this.form.comparison};this.$emit("update:filter",t),this.$emit("change",t)}})},cancel(){this.form.value=this.filter.value,this.form.comparison=this.filter.comparison,this.$emit("cancel")}},computed:{valuesEnum(){return mt(this.schema,"options.enum")},inlineComponent(){try{return this.$L.FieldTypeComponents.get(this.schema,"default")}catch{return null}},comparisons(){return[{label:"Menor que",value:"lt"},{label:"Menor ou igual a",value:"lte"},{label:"Maior que",value:"gt"},{label:"Maior ou igual a",value:"gte"},{label:"Igual a",value:"eq"},{label:"Diferente de",value:"neq"}]},rules(){return{value:[{required:!0,message:`Escolha para filtrar ${this.schema.title}`,trigger:"change"}],comparison:[{required:!0,message:`Escolha um modo para filtrar ${this.schema.title}`,trigger:"change"}]}}}},mue=["textContent"],hue={style:{"text-align":"right"}};function gue(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("l-checkbox"),u=n.resolveComponent("l-checkbox-group"),c=n.resolveComponent("l-form-item"),d=n.resolveComponent("l-radio"),f=n.resolveComponent("l-input"),p=n.resolveComponent("l-button"),h=n.resolveComponent("l-form");return n.openBlock(),n.createBlock(h,{model:a.form,rules:i.rules,ref:"form",onSubmit:t[3]||(t[3]=n.withModifiers(()=>{},["prevent"])),class:"editor-wrapper"},{default:n.withCtx(()=>[n.createElementVNode("div",null,[n.createVNode(l,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.$L.Icons.get(r.schema)),1)]),_:1}),n.createTextVNode("  "+n.toDisplayString(r.schema.title),1)]),t[6]||(t[6]=n.createElementVNode("br",null,null,-1)),i.valuesEnum?(n.openBlock(),n.createBlock(c,{key:0,prop:"value"},{default:n.withCtx(()=>[n.createVNode(u,{modelValue:a.form.value,"onUpdate:modelValue":t[0]||(t[0]=m=>a.form.value=m),style:{display:"flex","flex-direction":"column"}},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.valuesEnum,m=>(n.openBlock(),n.createElementBlock("div",{key:m},[n.createVNode(s,{label:m},{default:n.withCtx(()=>[i.inlineComponent?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.inlineComponent),{key:0,value:m,schema:r.schema},null,8,["value","schema"])):(n.openBlock(),n.createElementBlock("span",{key:1,textContent:n.toDisplayString(m)},null,8,mue))]),_:2},1032,["label"])]))),128))]),_:1},8,["modelValue"])]),_:1})):(n.openBlock(),n.createBlock(c,{key:1,prop:"comparison"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.comparisons,m=>(n.openBlock(),n.createElementBlock("div",{key:m.value},[n.createVNode(d,{modelValue:a.form.comparison,"onUpdate:modelValue":t[1]||(t[1]=g=>a.form.comparison=g),label:m.value},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(m.label),1)]),_:2},1032,["modelValue","label"]),a.form.comparison==m.value?(n.openBlock(),n.createBlock(c,{key:0,prop:"value",style:{"margin-left":"24px","margin-bottom":"8px"}},{default:n.withCtx(()=>[n.createVNode(f,{ref_for:!0,ref:"valueInput",type:"number",modelValue:a.form.value,"onUpdate:modelValue":t[2]||(t[2]=g=>a.form.value=g),modelModifiers:{number:!0}},null,8,["modelValue"])]),_:1})):n.createCommentVNode("",!0)]))),128))]),_:1})),n.createElementVNode("div",hue,[n.createVNode(p,{plain:"",size:"small",onClick:i.cancel},{default:n.withCtx(()=>t[4]||(t[4]=[n.createTextVNode("Cancelar")])),_:1},8,["onClick"]),n.createVNode(p,{type:"primary",size:"small",onClick:i.save},{default:n.withCtx(()=>t[5]||(t[5]=[n.createTextVNode("Buscar")])),_:1},8,["onClick"])])]),_:1},8,["model","rules"])}const vue=ge(pue,[["render",gue],["__scopeId","data-v-1bd0c612"]]);const yue={props:["filter","schema"],emits:["update:filter","change","cancel"],data(){return{form:{value:this.filter.value,comparison:this.filter.comparison||"relative_past_gte"}}},watch:{"form.comparison":{handler(e,t){t.indexOf("relative_")===0&&e.indexOf("absolute_")===0?this.form.value=new Date:t.indexOf("absolute_")===0&&e.indexOf("relative_")===0&&(this.form.value=1),this.$nextTick(()=>this.focus())}}},methods:{focus(){this.$refs.valueInput&&this.$refs.valueInput.length>0&&this.$refs.valueInput[0].$el.focus()},validate(e){return this.$refs.form.validate(e)},save(){this.$refs.form.validate(e=>{if(e){const t={...this.filter,valid:e,value:this.form.value,comparison:this.form.comparison};this.$emit("update:filter",t),this.$emit("change",t)}})},cancel(){this.form.value=this.filter.value,this.form.comparison=this.filter.comparison,this.$emit("cancel")}},computed:{relativePastComparisons(){return[{label:"Há menos de",value:"relative_past_gte"},{label:"Há mais de",value:"relative_past_lt"},{label:"Há exatamente",value:"relative_past_eq"}]},relativeFutureComparisons(){return[{label:"Daqui a mais de",value:"relative_future_gte"},{label:"Daqui a menos de",value:"relative_future_lt"},{label:"Daqui a exatamente",value:"relative_future_eq"}]},absoluteComparisons(){return[{label:"Em",value:"absolute_eq"},{label:"A partir de",value:"absolute_gte"},{label:"Até",value:"absolute_lt"}]},rules(){return{value:[{required:!0,message:`Digite para filtrar ${this.schema.title}`,trigger:"change"}],comparison:[{required:!0,message:`Escolha um modo para filtrar ${this.schema.title}`,trigger:"change"}]}}}},Mue={class:"row"},_ue={style:{"margin-left":"8px","white-space":"nowrap"}},bue={class:"row"},Nue={style:{"margin-left":"8px","white-space":"nowrap"}},wue={class:"row"},kue={style:{"text-align":"right"}};function Cue(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("l-radio"),u=n.resolveComponent("l-input"),c=n.resolveComponent("l-form-item"),d=n.resolveComponent("l-date-picker"),f=n.resolveComponent("l-button"),p=n.resolveComponent("l-form");return n.openBlock(),n.createBlock(p,{model:a.form,rules:i.rules,ref:"form",onSubmit:t[6]||(t[6]=n.withModifiers(()=>{},["prevent"]))},{default:n.withCtx(()=>[n.createElementVNode("div",null,[n.createVNode(l,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.$L.Icons.get(r.schema)),1)]),_:1}),n.createTextVNode("  "+n.toDisplayString(r.schema.title),1)]),t[12]||(t[12]=n.createElementVNode("br",null,null,-1)),n.createVNode(c,{prop:"comparison",class:"item-wrapper"},{default:n.withCtx(()=>[t[7]||(t[7]=n.createElementVNode("strong",null,"Relativo - Passado",-1)),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.relativePastComparisons,h=>(n.openBlock(),n.createElementBlock("div",{key:h.value},[n.createVNode(s,{modelValue:a.form.comparison,"onUpdate:modelValue":t[0]||(t[0]=m=>a.form.comparison=m),label:h.value},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(h.label),1)]),_:2},1032,["modelValue","label"]),a.form.comparison==h.value?(n.openBlock(),n.createBlock(c,{key:0,prop:"value",style:{"margin-left":"24px","margin-bottom":"8px"}},{default:n.withCtx(()=>[n.createElementVNode("div",Mue,[n.createVNode(u,{type:"number",min:"1",ref_for:!0,ref:"valueInput",modelValue:a.form.value,"onUpdate:modelValue":t[1]||(t[1]=m=>a.form.value=m),modelModifiers:{number:!0},size:"small"},null,8,["modelValue"]),n.createElementVNode("div",_ue,n.toDisplayString(a.form.value>1?"dias":"dia"),1)])]),_:1})):n.createCommentVNode("",!0)]))),128)),t[8]||(t[8]=n.createElementVNode("strong",null,"Relativo - Futuro",-1)),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.relativeFutureComparisons,h=>(n.openBlock(),n.createElementBlock("div",{key:h.value},[n.createVNode(s,{modelValue:a.form.comparison,"onUpdate:modelValue":t[2]||(t[2]=m=>a.form.comparison=m),label:h.value},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(h.label),1)]),_:2},1032,["modelValue","label"]),a.form.comparison==h.value?(n.openBlock(),n.createBlock(c,{key:0,prop:"value",style:{"margin-left":"24px","margin-bottom":"8px"}},{default:n.withCtx(()=>[n.createElementVNode("div",bue,[n.createVNode(u,{type:"number",min:"1",ref_for:!0,ref:"valueInput",modelValue:a.form.value,"onUpdate:modelValue":t[3]||(t[3]=m=>a.form.value=m),modelModifiers:{number:!0},size:"small"},null,8,["modelValue"]),n.createElementVNode("div",Nue,n.toDisplayString(a.form.value>1?"dias":"dia"),1)])]),_:1})):n.createCommentVNode("",!0)]))),128)),t[9]||(t[9]=n.createElementVNode("strong",null,"Absoluto",-1)),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.absoluteComparisons,h=>(n.openBlock(),n.createElementBlock("div",{key:h.value},[n.createVNode(s,{modelValue:a.form.comparison,"onUpdate:modelValue":t[4]||(t[4]=m=>a.form.comparison=m),label:h.value},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(h.label),1)]),_:2},1032,["modelValue","label"]),a.form.comparison==h.value?(n.openBlock(),n.createBlock(c,{key:0,prop:"value"},{default:n.withCtx(()=>[n.createElementVNode("div",wue,[n.createVNode(d,{modelValue:a.form.value,"onUpdate:modelValue":t[5]||(t[5]=m=>a.form.value=m)},null,8,["modelValue"])])]),_:1})):n.createCommentVNode("",!0)]))),128))]),_:1}),n.createElementVNode("div",kue,[n.createVNode(f,{plain:"",size:"small",onClick:i.cancel},{default:n.withCtx(()=>t[10]||(t[10]=[n.createTextVNode("Cancelar")])),_:1},8,["onClick"]),n.createVNode(f,{type:"primary",size:"small",onClick:i.save},{default:n.withCtx(()=>t[11]||(t[11]=[n.createTextVNode("Buscar")])),_:1},8,["onClick"])])]),_:1},8,["model","rules"])}const xue=ge(yue,[["render",Cue],["__scopeId","data-v-36dac8e0"]]),S6={};S6.register=function(){ln.register({type:"String"},"filterChipEditor",oue),ln.register({type:"Number"},"filterChipEditor",vue),ln.register({type:"Date"},"filterChipEditor",xue),ln.register({format:"Amount"},"filterChipEditor",fue)};const Eue={name:"FilterDisplay",props:{filter:{type:Object,required:!0},schema:{type:Object,required:!0}},computed:{inlineComponent(){try{return this.$L.FieldTypeComponents.get(this.schema,"textOnly")}catch{return null}},comparisonLabel(){return console.log("filter",this.filter),{in:"é",eq:"é",neq:"não é",starts_with:"começa com",ends_with:"termina com",contains:"contém"}[this.filter.comparison]||""}}},Tue={key:1},Due={key:0},Sue={key:1};function Iue(e,t,r,o,a,i){const l=n.resolveComponent("l-icon");return n.openBlock(),n.createElementBlock("span",null,[n.createVNode(l,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.$L.Icons.get(r.schema)),1)]),_:1}),t[0]||(t[0]=n.createTextVNode("  ")),n.createElementVNode("strong",null,n.toDisplayString(r.schema.title),1),n.createTextVNode(" "+n.toDisplayString(i.comparisonLabel)+" ",1),r.filter.comparison==="in"?(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:0},n.renderList(r.filter.value,(s,u)=>(n.openBlock(),n.createElementBlock("span",{key:u},[i.inlineComponent?(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.inlineComponent),{key:0,value:s,schema:r.schema},null,8,["value","schema"])):(n.openBlock(),n.createElementBlock("span",Tue,n.toDisplayString(s),1)),u<r.filter.value.length-1?(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[u<r.filter.value.length-2?(n.openBlock(),n.createElementBlock("span",Due,", ")):(n.openBlock(),n.createElementBlock("span",Sue," ou "))],64)):n.createCommentVNode("",!0)]))),128)):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createTextVNode('"'+n.toDisplayString(r.filter.value)+'"',1)],64))])}const Aue=ge(Eue,[["render",Iue]]),zue={name:"FilterDisplay",props:{filter:{type:Object,required:!0},schema:{type:Object,required:!0}},computed:{formattedValue(){return new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(this.filter.value/100)}}},Oue={key:0},jue={key:1},Lue={key:2},Bue={key:3},Vue={key:4};function $ue(e,t,r,o,a,i){const l=n.resolveComponent("l-icon");return n.openBlock(),n.createElementBlock("span",null,[n.createVNode(l,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.$L.Icons.get(r.schema)),1)]),_:1}),t[0]||(t[0]=n.createTextVNode("  ")),n.createElementVNode("strong",null,n.toDisplayString(r.schema.title),1),t[1]||(t[1]=n.createTextVNode("  ")),r.filter.comparison==="eq"?(n.openBlock(),n.createElementBlock("span",Oue,"=")):r.filter.comparison==="lt"?(n.openBlock(),n.createElementBlock("span",jue,"<")):r.filter.comparison==="lte"?(n.openBlock(),n.createElementBlock("span",Lue,"<=")):r.filter.comparison==="gt"?(n.openBlock(),n.createElementBlock("span",Bue,">")):r.filter.comparison==="gte"?(n.openBlock(),n.createElementBlock("span",Vue,">=")):n.createCommentVNode("",!0),n.createTextVNode("   "+n.toDisplayString(i.formattedValue),1)])}const Pue=ge(zue,[["render",$ue]]),Rue={name:"FilterDisplay",props:{filter:{type:Object,required:!0},schema:{type:Object,required:!0}}},Fue={key:0},Uue={key:1},Hue={key:2},Yue={key:3},Que={key:4},que={key:5};function Wue(e,t,r,o,a,i){const l=n.resolveComponent("l-icon");return n.openBlock(),n.createElementBlock("span",null,[n.createVNode(l,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.$L.Icons.get(r.schema)),1)]),_:1}),t[0]||(t[0]=n.createTextVNode("  ")),n.createElementVNode("strong",null,n.toDisplayString(r.schema.title),1),t[1]||(t[1]=n.createTextVNode("  ")),r.filter.comparison==="eq"?(n.openBlock(),n.createElementBlock("span",Fue,"=")):r.filter.comparison==="neq"?(n.openBlock(),n.createElementBlock("span",Uue,"≠")):r.filter.comparison==="lt"?(n.openBlock(),n.createElementBlock("span",Hue,"<")):r.filter.comparison==="lte"?(n.openBlock(),n.createElementBlock("span",Yue,"≤")):r.filter.comparison==="gt"?(n.openBlock(),n.createElementBlock("span",Que,">")):r.filter.comparison==="gte"?(n.openBlock(),n.createElementBlock("span",que,"≥")):n.createCommentVNode("",!0),n.createTextVNode("   "+n.toDisplayString(r.filter.value),1)])}const Gue=ge(Rue,[["render",Wue]]),Kue={name:"FilterDisplay",props:{filter:{type:Object,required:!0},schema:{type:Object,required:!0}},computed:{comparisonLabel(){const e={relative_past_gte:"há menos de",relative_past_lt:"há mais de",relative_past_eq:"há exatamente",relative_future_gte:"daqui a mais de",relative_future_lt:"daqui a menos de",relative_future_eq:"daqui a exatamente",absolute_eq:"em",absolute_gte:"a partir de",absolute_lt:"até"};return console.log("filter",this.filter),e[this.filter.comparison]||""},formattedValue(){if(!this.filter.value)return"-";if(this.filter.comparison.startsWith("relative_"))return`${this.filter.value} ${this.filter.value>1?"dias":"dia"}`;const e=mt(this.schema,"options.format","LL");return pe(this.filter.value).format(e)}}};function Zue(e,t,r,o,a,i){const l=n.resolveComponent("l-icon");return n.openBlock(),n.createElementBlock("span",null,[n.createVNode(l,null,{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.$L.Icons.get(r.schema)),1)]),_:1}),t[0]||(t[0]=n.createTextVNode("  ")),n.createElementVNode("strong",null,n.toDisplayString(r.schema.title),1),n.createTextVNode(" "+n.toDisplayString(i.comparisonLabel)+" "+n.toDisplayString(i.formattedValue),1)])}const Jue=ge(Kue,[["render",Zue]]),I6={};I6.register=function(){ln.register({type:"String"},"filterChipView",Aue),ln.register({type:"Number"},"filterChipView",Gue),ln.register({type:"Date"},"filterChipView",Jue),ln.register({format:"Amount"},"filterChipView",Pue)};S6.register();I6.register();const Xue={name:"FilterChip",props:{filter:Object,schema:Object},components:{ElPopover:tZ},data(){return{editing:!1,localFilter:{...this.filter}}},watch:{filter(e){this.localFilter={...e}}},mounted(){(!this.$refs.editor||!this.$refs.view)&&this.remove(),this.$refs.editor&&this.$refs.editor.validate&&this.$refs.editor.validate(e=>{e||(this.editing=!0)})},methods:{toggleEditing(){this.editing=!this.editing},afterEnterPopover(){this.$refs.editor&&this.$refs.editor.focus&&this.$refs.editor.focus()},cancel(){this.editing=!1,this.$refs.editor&&this.$refs.editor.validate&&this.$refs.editor.validate(e=>{e||this.remove()})},change(){this.editing=!1},remove(){this.$emit("onRemove")},updateFilter(e){this.localFilter=e,this.$emit("update:filter",e)}},computed:{editorComponent(){return this.$L.FieldTypeComponents.get(this.schema,"filterChipEditor")},viewComponent(){return this.$L.FieldTypeComponents.get(this.schema,"filterChipView")}}};function ece(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("l-button"),u=n.resolveComponent("el-popover");return n.openBlock(),n.createBlock(u,{"popper-class":"filter-chip-popper",class:"filter-chip",placement:"bottom-start",width:"288",trigger:"manual",visible:a.editing,"onUpdate:visible":t[0]||(t[0]=c=>a.editing=c),onAfterEnter:i.afterEnterPopover},{reference:n.withCtx(()=>[n.createVNode(s,{type:"primary",round:"",size:"small",onClick:i.toggleEditing},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.viewComponent),{ref:"view",schema:r.schema,filter:a.localFilter},null,8,["schema","filter"])),n.createVNode(l,{onClick:n.withModifiers(i.remove,["stop"]),class:"close-button"},{default:n.withCtx(()=>t[1]||(t[1]=[n.createTextVNode(" uil-times-circle ")])),_:1},8,["onClick"])]),_:1},8,["onClick"])]),default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.editorComponent),{ref:"editor",filter:a.localFilter,"onUpdate:filter":i.updateFilter,schema:r.schema,onCancel:i.cancel,onChange:i.change},null,40,["filter","onUpdate:filter","schema","onCancel","onChange"]))]),_:1},8,["visible","onAfterEnter"])}const tce=ge(Xue,[["render",ece]]);const nce={tagName:"l-search-bar",emits:["update:modelValue","change"],props:{availableModes:{type:Array,default:()=>["simple"]},modelValue:{type:Object,default(e){return{mode:e.availableModes[0],queryText:"",filters:[]}}},schema:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1}},data(){return{mode:mt(this.value,"mode",this.availableModes[0]),queryText:mt(this.value,"queryText",""),filters:zn(mt(this.value,"filters",[]))}},watch:{modelValue(e){this.mode=mt(e,"mode",this.availableModes[0]),this.queryText=mt(e,"queryText","");const t=mt(e,"filters",[]);Rie(this.filters,t)||(this.filters=zn(t))},queryValue:{deep:!0,handler(e){this.isValid&&(this.$emit("change",zn(e)),this.$emit("update:modelValue",zn(e)))}}},methods:{getFilterSchema(e){const{path:t}=e;return this.schema.fields.find(r=>r.path===t)},updateFilter(e){const t=pg(this.filters,e);this.filters.splice(t,1,e)},addFilter(e){this.filters.push(Object.assign({},e))},removeFilter(e){const t=pg(this.filters,e);this.filters.splice(t,1)},clear(){switch(this.mode){case"simple":this.queryText="";return;case"advanced":this.filters.splice(0,this.filters.length);return;default:throw new Error(`Unknown mode ${this.mode}`)}}},computed:{queryValue(){return{mode:this.mode,queryText:this.queryText,filters:this.filters}},isValid(){return this.filters.filter(e=>!e.valid).length===0},availableModesOptions(){return[{icon:"uil-search",value:"simple",title:"Filtro simples"},{icon:"uil-filter",value:"advanced",title:"Filtro avançado"}].filter(e=>this.availableModes.includes(e.value))},showClearButton(){switch(this.mode){case"simple":return this.queryText.length>0;case"advanced":return this.filters.length>0;default:throw new Error(`Unknown mode ${this.mode}`)}}},components:{AddFilterButton:Xse,FilterChip:tce}},rce={key:1,class:"filters"},oce={class:"clear-button"};function ace(e,t,r,o,a,i){const l=n.resolveComponent("l-toggle-button-group"),s=n.resolveComponent("l-input"),u=n.resolveComponent("filter-chip"),c=n.resolveComponent("add-filter-button"),d=n.resolveComponent("l-icon"),f=n.resolveComponent("l-button");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass([{disabled:r.disabled},"l-search-bar"])},[n.createVNode(l,{disabled:r.disabled,modelValue:a.mode,"onUpdate:modelValue":t[0]||(t[0]=p=>a.mode=p),options:i.availableModesOptions},null,8,["disabled","modelValue","options"]),a.mode==="simple"?(n.openBlock(),n.createBlock(s,{key:0,disabled:r.disabled,size:"large",modelValue:a.queryText,"onUpdate:modelValue":t[1]||(t[1]=p=>a.queryText=p),style:{flex:"1 1 auto"},placeholder:r.disabled?"":"Digite algo para buscar","input-style":"border: 0"},null,8,["disabled","modelValue","placeholder"])):(n.openBlock(),n.createElementBlock("div",rce,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(a.filters,p=>(n.openBlock(),n.createBlock(u,{key:p.path,filter:p,schema:i.getFilterSchema(p),"onUpdate:filter":i.updateFilter,onOnRemove:h=>i.removeFilter(p)},null,8,["filter","schema","onUpdate:filter","onOnRemove"]))),128)),n.createVNode(c,{schema:r.schema,filters:a.filters,onAddFilter:i.addFilter},null,8,["schema","filters","onAddFilter"])])),n.createElementVNode("div",oce,[n.withDirectives(n.createVNode(f,{type:"text",onClick:i.clear},{default:n.withCtx(()=>[n.createVNode(d,null,{default:n.withCtx(()=>t[2]||(t[2]=[n.createTextVNode("uil-times")])),_:1})]),_:1},8,["onClick"]),[[n.vShow,i.showClearButton]])])],2)}const ice=ge(nce,[["render",ace]]),lce=Object.freeze(Object.defineProperty({__proto__:null,default:ice},Symbol.toStringTag,{value:"Module"}));var sce=gr,uce=function(){return sce.Date.now()},cce=uce,dce=vr,Ud=cce,mg=x6,fce="Expected a function",pce=Math.max,mce=Math.min;function hce(e,t,r){var o,a,i,l,s,u,c=0,d=!1,f=!1,p=!0;if(typeof e!="function")throw new TypeError(fce);t=mg(t)||0,dce(r)&&(d=!!r.leading,f="maxWait"in r,i=f?pce(mg(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p);function h(w){var x=o,T=a;return o=a=void 0,c=w,l=e.apply(T,x),l}function m(w){return c=w,s=setTimeout(v,t),d?h(w):l}function g(w){var x=w-u,T=w-c,O=t-x;return f?mce(O,i-T):O}function y(w){var x=w-u,T=w-c;return u===void 0||x>=t||x<0||f&&T>=i}function v(){var w=Ud();if(y(w))return _(w);s=setTimeout(v,g(w))}function _(w){return s=void 0,p&&o?h(w):(o=a=void 0,l)}function b(){s!==void 0&&clearTimeout(s),c=0,o=u=a=s=void 0}function M(){return s===void 0?l:_(Ud())}function N(){var w=Ud(),x=y(w);if(o=arguments,a=this,u=w,x){if(s===void 0)return m(u);if(f)return clearTimeout(s),s=setTimeout(v,t),h(u)}return s===void 0&&(s=setTimeout(v,t)),l}return N.cancel=b,N.flush=M,N}var gce=hce;const vce=yt(gce);function yce(e){return e!==e}var Mce=yce;function _ce(e,t,r){for(var o=r-1,a=e.length;++o<a;)if(e[o]===t)return o;return-1}var bce=_ce,Nce=w6,wce=Mce,kce=bce;function Cce(e,t,r){return t===t?kce(e,t,r):Nce(e,wce,r)}var xce=Cce,Ece=xce;function Tce(e,t){var r=e==null?0:e.length;return!!r&&Ece(e,t,0)>-1}var A6=Tce;function Dce(e,t,r){for(var o=-1,a=e==null?0:e.length;++o<a;)if(r(t,e[o]))return!0;return!1}var z6=Dce,Sce=Nm,Ice=A6,Ace=z6,zce=i6,Oce=Tc,jce=wm,Lce=200;function Bce(e,t,r,o){var a=-1,i=Ice,l=!0,s=e.length,u=[],c=t.length;if(!s)return u;r&&(t=zce(t,Oce(r))),o?(i=Ace,l=!1):t.length>=Lce&&(i=jce,l=!1,t=new Sce(t));e:for(;++a<s;){var d=e[a],f=r==null?d:r(d);if(d=o||d!==0?d:0,l&&f===f){for(var p=c;p--;)if(t[p]===f)continue e;u.push(d)}else i(t,f,o)||u.push(d)}return u}var Vce=Bce,hg=Ci,$ce=xc,Pce=Zn,gg=hg?hg.isConcatSpreadable:void 0;function Rce(e){return Pce(e)||$ce(e)||!!(gg&&e&&e[gg])}var Fce=Rce,Uce=bm,Hce=Fce;function O6(e,t,r,o,a){var i=-1,l=e.length;for(r||(r=Hce),a||(a=[]);++i<l;){var s=e[i];t>0&&r(s)?t>1?O6(s,t-1,r,o,a):Uce(a,s):o||(a[a.length]=s)}return a}var j6=O6,Yce=Vce,Qce=j6,qce=g3,vg=c3,Wce=qce(function(e,t){return vg(e)?Yce(e,Qce(t,1,vg,!0)):[]}),Gce=Wce;const Kce=yt(Gce),ga=e=>e!=null,Mp=e=>typeof e=="function",Tm=e=>e!==null&&typeof e=="object",Zce=e=>Tm(e)&&Mp(e.then)&&Mp(e.catch),L6=e=>typeof e=="number"||/^\d+(\.\d+)?$/.test(e),Jce=()=>ede?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function Xce(){}const as=Object.assign,ede=typeof window<"u";function yg(e,t){const r=t.split(".");let o=e;return r.forEach(a=>{var i;o=Tm(o)&&(i=o[a])!=null?i:""}),o}function tde(e,t,r){return t.reduce((o,a)=>((!r||e[a]!==void 0)&&(o[a]=e[a]),o),{})}const B6=null,Br=[Number,String],cr={type:Boolean,default:!0},nde=()=>({type:Array,default:()=>[]}),Kr=e=>({type:String,default:e});var Dm=typeof window<"u";function V6(e){let t;n.onMounted(()=>{e(),n.nextTick(()=>{t=!0})}),n.onActivated(()=>{t&&e()})}function $6(e,t,r={}){if(!Dm)return;const{target:o=window,passive:a=!1,capture:i=!1}=r;let l=!1,s;const u=f=>{if(l)return;const p=n.unref(f);p&&!s&&(p.addEventListener(e,t,{capture:i,passive:a}),s=!0)},c=f=>{if(l)return;const p=n.unref(f);p&&s&&(p.removeEventListener(e,t,i),s=!1)};n.onUnmounted(()=>c(o)),n.onDeactivated(()=>c(o)),V6(()=>u(o));let d;return n.isRef(o)&&(d=n.watch(o,(f,p)=>{c(p),u(f)})),()=>{d==null||d(),c(o),l=!0}}var Is,Hd;function rde(){if(!Is&&(Is=n.ref(0),Hd=n.ref(0),Dm)){const e=()=>{Is.value=window.innerWidth,Hd.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:Is,height:Hd}}var ode=/scroll|auto|overlay/i,ade=Dm?window:void 0;function ide(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function lde(e,t=ade){let r=e;for(;r&&r!==t&&ide(r);){const{overflowY:o}=window.getComputedStyle(r);if(ode.test(o))return r;r=r.parentNode}return t}Jce();const sde=e=>e.stopPropagation();function P6(e,t){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),t&&sde(e)}rde();function Wr(e){if(ga(e))return L6(e)?`${e}px`:String(e)}function ude(e){if(ga(e)){if(Array.isArray(e))return{width:Wr(e[0]),height:Wr(e[1])};const t=Wr(e);return{width:t,height:t}}}function cde(e){const t={};return e!==void 0&&(t.zIndex=+e),t}const dde=/-(\w)/g,R6=e=>e.replace(dde,(t,r)=>r.toUpperCase()),fde=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,""),{hasOwnProperty:pde}=Object.prototype;function mde(e,t,r){const o=t[r];ga(o)&&(!pde.call(e,r)||!Tm(o)?e[r]=o:e[r]=F6(Object(e[r]),o))}function F6(e,t){return Object.keys(t).forEach(r=>{mde(e,t,r)}),e}var hde={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,t)=>`${e}年${t}月`,rangePrompt:e=>`最多选择 ${e} 天`},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>`${e}折`,condition:e=>`满${e}元可用`},vanCouponCell:{title:"优惠券",count:e=>`${e}张可用`},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码不正确",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}};const Mg=n.ref("zh-CN"),_g=n.reactive({"zh-CN":hde}),gde={messages(){return _g[Mg.value]},use(e,t){Mg.value=e,this.add({[e]:t})},add(e={}){F6(_g,e)}};var vde=gde;function yde(e){const t=R6(e)+".";return(r,...o)=>{const a=vde.messages(),i=yg(a,t+r)||yg(a,r);return Mp(i)?i(...o):i}}function _p(e,t){return t?typeof t=="string"?` ${e}--${t}`:Array.isArray(t)?t.reduce((r,o)=>r+_p(e,o),""):Object.keys(t).reduce((r,o)=>r+(t[o]?_p(e,o):""),""):""}function Mde(e){return(t,r)=>(t&&typeof t!="string"&&(r=t,t=""),t=t?`${e}__${t}`:e,`${t}${_p(t,r)}`)}function Ta(e){const t=`van-${e}`;return[t,Mde(t),yde(t)]}const U6="van-haptics-feedback";function _de(e,{args:t=[],done:r,canceled:o}){if(e){const a=e.apply(null,t);Zce(a)?a.then(i=>{i?r():o&&o()}).catch(Xce):a?r():o&&o()}else r()}function ji(e){return e.install=t=>{const{name:r}=e;r&&(t.component(r,e),t.component(R6(`-${r}`),e))},e}const bde=Symbol();function Nde(e){const t=n.getCurrentInstance();t&&as(t.proxy,e)}const[wde,bg]=Ta("badge"),kde={dot:Boolean,max:Br,tag:Kr("div"),color:String,offset:Array,content:Br,showZero:cr,position:Kr("top-right")};var Cde=n.defineComponent({name:wde,props:kde,setup(e,{slots:t}){const r=()=>{if(t.content)return!0;const{content:l,showZero:s}=e;return ga(l)&&l!==""&&(s||l!==0&&l!=="0")},o=()=>{const{dot:l,max:s,content:u}=e;if(!l&&r())return t.content?t.content():ga(s)&&L6(u)&&+u>s?`${s}+`:u},a=n.computed(()=>{const l={background:e.color};if(e.offset){const[s,u]=e.offset;t.default?(l.top=Wr(u),typeof s=="number"?l.right=Wr(-s):l.right=s.startsWith("-")?s.replace("-",""):`-${s}`):(l.marginTop=Wr(u),l.marginLeft=Wr(s))}return l}),i=()=>{if(r()||e.dot)return n.createVNode("div",{class:bg([e.position,{dot:e.dot,fixed:!!t.default}]),style:a.value},[o()])};return()=>{if(t.default){const{tag:l}=e;return n.createVNode(l,{class:bg("wrapper")},{default:()=>[t.default(),i()]})}return i()}}});const xde=ji(Cde);let H6=2e3;const Ede=()=>++H6,Tde=e=>{H6=e},[Y6,Dde]=Ta("config-provider"),Q6=Symbol(Y6),Sde={tag:Kr("div"),zIndex:Number,themeVars:Object,iconPrefix:String};function Ide(e){const t={};return Object.keys(e).forEach(r=>{t[`--van-${fde(r)}`]=e[r]}),t}n.defineComponent({name:Y6,props:Sde,setup(e,{slots:t}){const r=n.computed(()=>{if(e.themeVars)return Ide(e.themeVars)});return n.provide(Q6,e),n.watchEffect(()=>{e.zIndex!==void 0&&Tde(e.zIndex)}),()=>n.createVNode(e.tag,{class:Dde(),style:r.value},{default:()=>{var o;return[(o=t.default)==null?void 0:o.call(t)]}})}});const[Ade,Ng]=Ta("icon"),zde=e=>e==null?void 0:e.includes("/"),Ode={dot:Boolean,tag:Kr("i"),name:String,size:Br,badge:Br,color:String,badgeProps:Object,classPrefix:String};var jde=n.defineComponent({name:Ade,props:Ode,setup(e,{slots:t}){const r=n.inject(Q6,null),o=n.computed(()=>e.classPrefix||(r==null?void 0:r.iconPrefix)||Ng());return()=>{const{tag:a,dot:i,name:l,size:s,badge:u,color:c}=e,d=zde(l);return n.createVNode(xde,n.mergeProps({dot:i,tag:a,class:[o.value,d?"":`${o.value}-${l}`],style:{color:c,fontSize:Wr(s)},content:u},e.badgeProps),{default:()=>{var f;return[(f=t.default)==null?void 0:f.call(t),d&&n.createVNode("img",{class:Ng("image"),src:l},null)]}})}}});const q6=ji(jde),[Lde,il]=Ta("loading"),Bde=Array(12).fill(null).map((e,t)=>n.createVNode("i",{class:il("line",String(t+1))},null)),Vde=n.createVNode("svg",{class:il("circular"),viewBox:"25 25 50 50"},[n.createVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),$de={size:Br,type:Kr("circular"),color:String,vertical:Boolean,textSize:Br,textColor:String};var Pde=n.defineComponent({name:Lde,props:$de,setup(e,{slots:t}){const r=n.computed(()=>as({color:e.color},ude(e.size))),o=()=>{var a;if(t.default)return n.createVNode("span",{class:il("text"),style:{fontSize:Wr(e.textSize),color:(a=e.textColor)!=null?a:e.color}},[t.default()])};return()=>{const{type:a,vertical:i}=e;return n.createVNode("div",{class:il([a,{vertical:i}]),"aria-live":"polite","aria-busy":!0},[n.createVNode("span",{class:il("spinner",a),style:r.value},[a==="spinner"?Bde:Vde]),o()])}}});const Rde=ji(Pde),Sm={show:Boolean,zIndex:Br,overlay:cr,duration:Br,teleport:[String,Object],lockScroll:cr,lazyRender:cr,beforeClose:Function,overlayStyle:Object,overlayClass:B6,transitionAppear:Boolean,closeOnClickOverlay:cr},Fde=Object.keys(Sm);function Ude(e,t){return e>t?"horizontal":t>e?"vertical":""}function Hde(){const e=n.ref(0),t=n.ref(0),r=n.ref(0),o=n.ref(0),a=n.ref(0),i=n.ref(0),l=n.ref(""),s=()=>l.value==="vertical",u=()=>l.value==="horizontal",c=()=>{r.value=0,o.value=0,a.value=0,i.value=0,l.value=""};return{move:p=>{const h=p.touches[0];r.value=(h.clientX<0?0:h.clientX)-e.value,o.value=h.clientY-t.value,a.value=Math.abs(r.value),i.value=Math.abs(o.value);const m=10;(!l.value||a.value<m&&i.value<m)&&(l.value=Ude(a.value,i.value))},start:p=>{c(),e.value=p.touches[0].clientX,t.value=p.touches[0].clientY},reset:c,startX:e,startY:t,deltaX:r,deltaY:o,offsetX:a,offsetY:i,direction:l,isVertical:s,isHorizontal:u}}let Hi=0;const wg="van-overflow-hidden";function Yde(e,t){const r=Hde(),o="01",a="10",i=d=>{r.move(d);const f=r.deltaY.value>0?a:o,p=lde(d.target,e.value),{scrollHeight:h,offsetHeight:m,scrollTop:g}=p;let y="11";g===0?y=m>=h?"00":"01":g+m>=h&&(y="10"),y!=="11"&&r.isVertical()&&!(parseInt(y,2)&parseInt(f,2))&&P6(d,!0)},l=()=>{document.addEventListener("touchstart",r.start),document.addEventListener("touchmove",i,{passive:!1}),Hi||document.body.classList.add(wg),Hi++},s=()=>{Hi&&(document.removeEventListener("touchstart",r.start),document.removeEventListener("touchmove",i),Hi--,Hi||document.body.classList.remove(wg))},u=()=>t()&&l(),c=()=>t()&&s();V6(u),n.onDeactivated(c),n.onBeforeUnmount(c),n.watch(t,d=>{d?l():s()})}function W6(e){const t=n.ref(!1);return n.watch(e,r=>{r&&(t.value=r)},{immediate:!0}),r=>()=>t.value?r():null}const[Qde,qde]=Ta("overlay"),Wde={show:Boolean,zIndex:Br,duration:Br,className:B6,lockScroll:cr,lazyRender:cr,customStyle:Object};var Gde=n.defineComponent({name:Qde,props:Wde,setup(e,{slots:t}){const r=n.ref(),o=W6(()=>e.show||!e.lazyRender),a=l=>{e.lockScroll&&P6(l,!0)},i=o(()=>{var l;const s=as(cde(e.zIndex),e.customStyle);return ga(e.duration)&&(s.animationDuration=`${e.duration}s`),n.withDirectives(n.createVNode("div",{ref:r,style:s,class:[qde(),e.className]},[(l=t.default)==null?void 0:l.call(t)]),[[n.vShow,e.show]])});return $6("touchmove",a,{target:r}),()=>n.createVNode(n.Transition,{name:"van-fade",appear:!0},{default:i})}});const Kde=ji(Gde),Zde=as({},Sm,{round:Boolean,position:Kr("center"),closeIcon:Kr("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:Kr("top-right"),safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[Jde,kg]=Ta("popup");var Xde=n.defineComponent({name:Jde,inheritAttrs:!1,props:Zde,emits:["open","close","opened","closed","keydown","update:show","click-overlay","click-close-icon"],setup(e,{emit:t,attrs:r,slots:o}){let a,i;const l=n.ref(),s=n.ref(),u=W6(()=>e.show||!e.lazyRender),c=n.computed(()=>{const N={zIndex:l.value};if(ga(e.duration)){const w=e.position==="center"?"animationDuration":"transitionDuration";N[w]=`${e.duration}s`}return N}),d=()=>{a||(a=!0,l.value=e.zIndex!==void 0?+e.zIndex:Ede(),t("open"))},f=()=>{a&&_de(e.beforeClose,{done(){a=!1,t("close"),t("update:show",!1)}})},p=N=>{t("click-overlay",N),e.closeOnClickOverlay&&f()},h=()=>{if(e.overlay)return n.createVNode(Kde,{show:e.show,class:e.overlayClass,zIndex:l.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0,onClick:p},{default:o["overlay-content"]})},m=N=>{t("click-close-icon",N),f()},g=()=>{if(e.closeable)return n.createVNode(q6,{role:"button",tabindex:0,name:e.closeIcon,class:[kg("close-icon",e.closeIconPosition),U6],classPrefix:e.iconPrefix,onClick:m},null)},y=()=>t("opened"),v=()=>t("closed"),_=N=>t("keydown",N),b=u(()=>{var N;const{round:w,position:x,safeAreaInsetTop:T,safeAreaInsetBottom:O}=e;return n.withDirectives(n.createVNode("div",n.mergeProps({ref:s,style:c.value,role:"dialog",tabindex:0,class:[kg({round:w,[x]:x}),{"van-safe-area-top":T,"van-safe-area-bottom":O}],onKeydown:_},r),[(N=o.default)==null?void 0:N.call(o),g()]),[[n.vShow,e.show]])}),M=()=>{const{position:N,transition:w,transitionAppear:x}=e,T=N==="center"?"van-fade":`van-popup-slide-${N}`;return n.createVNode(n.Transition,{name:w||T,appear:x,onAfterEnter:y,onAfterLeave:v},{default:b})};return n.watch(()=>e.show,N=>{N&&!a&&(d(),r.tabindex===0&&n.nextTick(()=>{var w;(w=s.value)==null||w.focus()})),!N&&a&&(a=!1,t("close"))}),Nde({popupRef:s}),Yde(s,()=>e.show&&e.lockScroll),$6("popstate",()=>{e.closeOnPopstate&&(f(),i=!1)}),n.onMounted(()=>{e.show&&d()}),n.onActivated(()=>{i&&(t("update:show",!0),i=!1)}),n.onDeactivated(()=>{e.show&&e.teleport&&(f(),i=!0)}),n.provide(bde,()=>e.show),()=>e.teleport?n.createVNode(n.Teleport,{to:e.teleport},{default:()=>[h(),M()]}):n.createVNode(n.Fragment,null,[h(),M()])}});const efe=ji(Xde),[tfe,nr]=Ta("action-sheet"),nfe=as({},Sm,{title:String,round:cr,actions:nde(),closeIcon:Kr("cross"),closeable:cr,cancelText:String,description:String,closeOnPopstate:cr,closeOnClickAction:Boolean,safeAreaInsetBottom:cr}),rfe=[...Fde,"round","closeOnPopstate","safeAreaInsetBottom"];var ofe=n.defineComponent({name:tfe,props:nfe,emits:["select","cancel","update:show"],setup(e,{slots:t,emit:r}){const o=d=>r("update:show",d),a=()=>{o(!1),r("cancel")},i=()=>{if(e.title)return n.createVNode("div",{class:nr("header")},[e.title,e.closeable&&n.createVNode(q6,{name:e.closeIcon,class:[nr("close"),U6],onClick:a},null)])},l=()=>{if(t.cancel||e.cancelText)return[n.createVNode("div",{class:nr("gap")},null),n.createVNode("button",{type:"button",class:nr("cancel"),onClick:a},[t.cancel?t.cancel():e.cancelText])]},s=(d,f)=>d.loading?n.createVNode(Rde,{class:nr("loading-icon")},null):t.action?t.action({action:d,index:f}):[n.createVNode("span",{class:nr("name")},[d.name]),d.subname&&n.createVNode("div",{class:nr("subname")},[d.subname])],u=(d,f)=>{const{color:p,loading:h,callback:m,disabled:g,className:y}=d,v=()=>{g||h||(m&&m(d),e.closeOnClickAction&&o(!1),n.nextTick(()=>r("select",d,f)))};return n.createVNode("button",{type:"button",style:{color:p},class:[nr("item",{loading:h,disabled:g}),y],onClick:v},[s(d,f)])},c=()=>{if(e.description||t.description){const d=t.description?t.description():e.description;return n.createVNode("div",{class:nr("description")},[d])}};return()=>n.createVNode(efe,n.mergeProps({class:nr(),position:"bottom","onUpdate:show":o},tde(e,rfe)),{default:()=>{var d;return[i(),c(),n.createVNode("div",{class:nr("content")},[e.actions.map(u),(d=t.default)==null?void 0:d.call(t)]),l()]}})}});const bp=ji(ofe);var Cu={},Xc={};Object.defineProperty(Xc,"__esModule",{value:!0});Xc.errorHandler=void 0;function afe(e){if(!e)return;const t={message:"Um problema aconteceu e foi enviado para análise",type:"error",retryable:!0};return!window.navigator.onLine||e.message==="Network Error"?(t.message="Parece que você está offline.",t.type="info",t):typeof e=="string"?(t.message=e,t.retryable=!1,t):e.response&&e.response.status&&e.response.status>=400&&e.response.status<500?(t.message="Algumas informações não foram atualizadas.",t.retryable=!1,t):(e.response&&e.response.status>=500&&(t.message="Ops, encontramos um erro. Tente novamente mais tarde."),t)}Xc.errorHandler=afe;(function(e){var t=wt&&wt.__createBinding||(Object.create?function(o,a,i,l){l===void 0&&(l=i),Object.defineProperty(o,l,{enumerable:!0,get:function(){return a[i]}})}:function(o,a,i,l){l===void 0&&(l=i),o[l]=a[i]}),r=wt&&wt.__exportStar||function(o,a){for(var i in o)i!=="default"&&!a.hasOwnProperty(i)&&t(a,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),r(Xc,e)})(Cu);const ife={name:"TopicItem",props:{multipleTargets:{type:Boolean},depth:{type:Number,default:0},propagate:{type:Function},propagateIncludes:{type:Function},parentsTopic:{type:Array,default:()=>[]},isCheckedFunction:{type:Function},populateTopic:{type:Function},hasChildChecked:{type:Function},parentIncludes:{type:Array,default:()=>[]},includesMap:{type:Object},parentChecked:{type:Boolean},topic:{type:Object},disabled:{type:Boolean},checked:{type:Boolean},selectedTopicKind:{type:String}},data:function(){return{showIncludes:!1,fetchingIncludes:!1,initialFetching:!0,fetched:!1,error:!1,includes:[],includesMapData:{},generator:null,buffer:[],hasMore:!1,limit:30}},created(){this.generator=this.combinedGenerator(),this.includesMapData=this.includesMap},watch:{async showIncludes(e){e===!0&&this.fetched===!1&&(this.fetched=!0,await this.fetch(),this.initialFetching=!1)}},computed:{includesNoData(){return{group:"Esta turma ainda não tem alunos",tag:"Esta tag ainda não tem turmas"}[this.topic.kind]},isSelectedEntityKind(){return this.topic.kind===this.selectedTopicKind},chanShowCheckbox(){return this.multipleTargets||this.isSelectedEntityKind&&!this.multipleTargets}},methods:{async*fetchToGenerator(e,t=null){const r={id:this.topic.id,kind:e,limit:this.limit+1,page:0};t&&(r.groupContext=t);let{hits:o,total:a}=await this.populateTopic(r);for(;a>0;){if(o.length>0){yield o.shift(),a--;continue}r.page+=1,o=(await this.populateTopic(r)).hits}},async*combinedGenerator(){this.topic.kind==="group"?(yield*this.fetchToGenerator("group","member"),yield*this.fetchToGenerator("group","user")):this.topic.kind==="member"?yield*this.fetchToGenerator("member","user"):yield*this.fetchToGenerator("tag")},async fetchPage(){const e=this.limit;for(;this.buffer.length<e+1;){let t=await this.generator.next();if(t.value){this.buffer.push(t.value);continue}break}return{results:this.buffer.splice(0,e),hasMore:this.buffer.length>0}},async fetch(){const e=zn(this.includes);this.fetchingIncludes=!0;try{const{results:t,hasMore:r}=await this.fetchPage();this.includes=[...e,...t],this.includesMapData={...this.includesMapData,[this.topic.id]:this.includes},this.$emit("includes",{topic:this.topic,includes:this.includes}),this.hasMore=r}catch(t){this.error=t,this.$notify({...Cu.errorHandler("Erro ao carregar mais."),duration:1e4,position:"bottom",showClose:!0})}finally{this.fetchingIncludes=!1}},color(e){return this.disabled?"gray-50":{member:"purple",group:"aqua",user:"link",tag:"warning"}[e]||"lead"},icon(e){return{member:"uil-graduation-cap",group:"uil-users-alt",user:"uil-user",tag:"uil-tag-alt"}[e]},isChildChecked(e){return this.isCheckedFunction(e)||this.isCheckedFunction(this.topic)},expandableKind(){return["group","tag","member"].includes(this.topic.kind)},toggleShowIncludes(){this.expandableKind&&(this.showIncludes=!this.showIncludes)},updateSelectedTopics(e,t){this.$emit("input",{topic:e,value:t})},topicIncludedChanged(e,t){this.parentsTopic.some(this.isCheckedFunction)&&!t&&this.parentsTopic.filter(this.isCheckedFunction).forEach(o=>{var a;this.updateSelectedTopics(o,!1),(a=this.includesMap[o.id])==null||a.forEach(i=>{this.hasChildChecked(i)||this.updateSelectedTopics(i,!0)})}),this.updateSelectedTopics(e,t)}}},lfe={class:"topic-item-group"},sfe={key:0,class:"topic-chevron mr-2"},ufe={class:"topic-icon"},cfe={key:0},dfe={class:"l-d-flex l-align-items-center my-2",style:{"justify-content":"center",width:"100%",height:"40px"}},ffe={key:1},pfe={class:"no-data-includes l-text-regular gray-60--text"},mfe={key:1},hfe={key:0,class:"mx-3 my-3"};function gfe(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("l-checkbox"),u=n.resolveComponent("LCircularLoader"),c=n.resolveComponent("TopicItem",!0),d=n.resolveComponent("l-button"),f=n.resolveComponent("l-transition-expand");return n.openBlock(),n.createElementBlock("div",lfe,[n.createElementVNode("div",{class:n.normalizeClass("topic-item-group-header depth-"+r.depth+" l-d-flex l-align-items-center pl-3"+(i.isSelectedEntityKind&&r.depth>0?" user-topic-item-group-header":""))},[n.createElementVNode("div",{class:"l-flex l-d-flex l-align-items-center",onClick:t[0]||(t[0]=n.withModifiers(p=>i.isSelectedEntityKind?null:i.toggleShowIncludes(),["stop"]))},[i.isSelectedEntityKind?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",sfe,[n.createVNode(l,{class:"gray-60--text",size:"24"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.showIncludes?"uil-angle-down":"uil-angle-right"),1)]),_:1})])),n.createElementVNode("div",ufe,[n.createElementVNode("div",{class:n.normalizeClass(["bg-icon",i.color(r.topic.kind)])},null,2),n.createVNode(l,{class:n.normalizeClass(i.color(r.topic.kind)+"--text")},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(i.icon(r.topic.kind)),1)]),_:1},8,["class"])]),n.createElementVNode("div",{class:n.normalizeClass(["l-flex ml-2 mr-3 l-text-regular ellipsis-2",r.disabled?"gray-70--text":"lead-light--text"])},n.toDisplayString(r.topic.name),3)]),(n.openBlock(),n.createBlock(s,{disabled:r.disabled,checked:r.isCheckedFunction(r.topic),indeterminate:r.hasChildChecked(r.topic)&&!r.isCheckedFunction(r.topic),key:r.isCheckedFunction(r.topic),onChange:t[1]||(t[1]=p=>r.parentsTopic.length?i.topicIncludedChanged(r.topic,p):i.updateSelectedTopics(r.topic,p)),class:n.normalizeClass(["p-3",{"circular-checkbox":!r.multipleTargets}]),style:n.normalizeStyle({display:i.chanShowCheckbox?"block":"none"})},null,8,["disabled","checked","indeterminate","class","style"]))],2),t[8]||(t[8]=n.createElementVNode("hr",null,null,-1)),n.createVNode(f,null,{default:n.withCtx(()=>[e.showIncludes?(n.openBlock(),n.createElementBlock("div",cfe,[e.initialFetching?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createElementVNode("div",dfe,[n.createVNode(u,{width:40,height:40})]),t[5]||(t[5]=n.createElementVNode("hr",null,null,-1))],64)):(n.openBlock(),n.createElementBlock("div",ffe,[!e.includes.length&&!e.hasMore||e.error?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createElementVNode("div",pfe,n.toDisplayString(i.includesNoData),1),t[6]||(t[6]=n.createElementVNode("hr",null,null,-1))],64)):(n.openBlock(),n.createElementBlock("div",mfe,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.includes,p=>(n.openBlock(),n.createBlock(c,{key:p.id,onInput:t[2]||(t[2]=h=>r.propagate(h)),onIncludes:t[3]||(t[3]=h=>r.propagateIncludes(h)),propagateIncludes:r.propagateIncludes,hasChildChecked:r.hasChildChecked,isCheckedFunction:i.isChildChecked,checked:i.isChildChecked(p),depth:r.depth+1,topic:p,selectedTopicKind:r.selectedTopicKind,parentsTopic:[...r.parentsTopic,r.topic],parentIncludes:e.includes,includesMap:e.includesMapData,parentChecked:r.checked,populateTopic:r.populateTopic,propagate:r.propagate,disabled:r.disabled,multipleTargets:r.multipleTargets},null,8,["propagateIncludes","hasChildChecked","isCheckedFunction","checked","depth","topic","selectedTopicKind","parentsTopic","parentIncludes","includesMap","parentChecked","populateTopic","propagate","disabled","multipleTargets"]))),128)),e.hasMore?(n.openBlock(),n.createElementBlock("div",hfe,[n.createVNode(d,{loading:e.fetchingIncludes,onClick:t[4]||(t[4]=p=>i.fetch()),plain:"",fill:""},{default:n.withCtx(()=>t[7]||(t[7]=[n.createTextVNode(" Carregar mais ")])),_:1},8,["loading"])])):n.createCommentVNode("",!0)]))]))])):n.createCommentVNode("",!0)]),_:1})])}const vfe=ge(ife,[["render",gfe],["__scopeId","data-v-871ec2bc"]]);const yfe={props:{term:{type:String}}},Mfe={class:"l-d-flex l-align-items-center lead--text recent-topic"},_fe={class:"l-flex l-text-regular mx-2"};function bfe(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("l-button");return n.openBlock(),n.createElementBlock("div",Mfe,[n.createVNode(l,{size:"16"},{default:n.withCtx(()=>t[1]||(t[1]=[n.createTextVNode("uil-history")])),_:1}),n.createElementVNode("div",_fe,n.toDisplayString(r.term),1),n.createVNode(s,{onClick:t[0]||(t[0]=n.withModifiers(u=>e.$emit("remove"),["stop"])),circle:"",icon:"uil-multiply",class:"border-none lead--text f-18 p-1"})])}const Nfe=ge(yfe,[["render",bfe],["__scopeId","data-v-a8c57ab5"]]);const wfe={props:{query:{type:Object},typing:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},hasAnySelectedTopic:{type:Boolean,default:!1},kinds:{type:Array}},data:e=>{const t=zn(e.query);return{localQuery:t,queryKind:t.kind}},computed:{filteredKinds(){return this.kinds.filter(e=>this.localQuery.q||!(e.value==="member"||e.value==="user"))}},watch:{queryKind:{handler(e){this.localQuery={...this.localQuery,kind:e}},immediate:!0,deep:!0},localQuery:{handler(e){this.$emit("update:query",e)},deep:!0,immediate:!0}},methods:{clearInput(){this.updateQuery({target:{value:null}})},isSelected(e){return mt(this.localQuery,"kind",null)===e},updateQuery(e){this.localQuery={...this.localQuery,q:mt(e,"target.value",null)}},setInputClass(e){return"search-input-wrapper ml-2 l-flex"+" "+e},back(){this.$emit("close")},save(){this.$emit("save")}}},kfe={class:"app-navigation"},Cfe={class:"search-topics-header l-d-flex l-align-items-center pl-2 pr-3"},xfe={key:0,class:"filter-kind l-d-flex px-3 pb-2"};function Efe(e,t,r,o,a,i){const l=n.resolveComponent("l-button"),s=n.resolveComponent("l-icon"),u=n.resolveComponent("l-radio-button"),c=n.resolveComponent("l-radio-group"),d=n.resolveComponent("l-linear-progress");return n.openBlock(),n.createElementBlock("div",kfe,[n.createElementVNode("div",Cfe,[n.createVNode(l,{onClick:i.back,circle:"",icon:"uil-arrow-left",class:"border-none gray-70--text f-24 p-1"},null,8,["onClick"]),n.createElementVNode("div",{class:n.normalizeClass(i.setInputClass("blurred"))},[n.withDirectives(n.createElementVNode("input",{style:{width:"100%"},autocomplete:"off",placeholder:"Pesquisar","onUpdate:modelValue":t[0]||(t[0]=f=>e.localQuery.q=f),onFocus:t[1]||(t[1]=f=>i.setInputClass("focused")),onBlur:t[2]||(t[2]=f=>i.setInputClass("blurred")),onKeypress:t[3]||(t[3]=n.withKeys(f=>f.target.blur(),["enter"])),onInput:t[4]||(t[4]=(...f)=>i.updateQuery&&i.updateQuery(...f))},null,544),[[n.vModelText,e.localQuery.q]]),e.localQuery.q?(n.openBlock(),n.createBlock(s,{key:0,class:"lead-light--text cursor-pointer",onClick:i.clearInput,size:"16"},{default:n.withCtx(()=>t[6]||(t[6]=[n.createTextVNode(" uil-times ")])),_:1},8,["onClick"])):n.createCommentVNode("",!0)],2),n.createVNode(l,{disabled:!r.hasAnySelectedTopic,onClick:i.save,loading:r.loading||r.typing,type:"primary",class:"save-button bold l-d-flex l-align-items-center f-14 ml-2"},{default:n.withCtx(()=>t[7]||(t[7]=[n.createTextVNode(" Salvar ")])),_:1},8,["disabled","onClick","loading"])]),e.localQuery.q||r.query.kind!=="*"?(n.openBlock(),n.createElementBlock("div",xfe,[n.createVNode(c,{modelValue:e.queryKind,"onUpdate:modelValue":t[5]||(t[5]=f=>e.queryKind=f),class:"l-flex-nowrap",size:"small",separated:"",color:"lead-light"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.filteredKinds,f=>(n.openBlock(),n.createBlock(u,{key:f.value,label:f.value},{default:n.withCtx(()=>[f.icon?(n.openBlock(),n.createBlock(s,{key:0,color:i.isSelected(f.value)?"white":"lead-light",size:"13"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(f.icon),1)]),_:2},1032,["color"])):n.createCommentVNode("",!0),n.createTextVNode(" "+n.toDisplayString(f.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])])):n.createCommentVNode("",!0),r.loading||r.typing?(n.openBlock(),n.createBlock(d,{key:1})):n.createCommentVNode("",!0)])}const Tfe=ge(wfe,[["render",Efe],["__scopeId","data-v-6b3965ee"]]),Cg=Symbol.for("GlobalStack"),G6=class{static createStackInstance(t){if(console.warn(`[VueModals] No ModalStack was found for name "${t}". Using Modals without a stack instance causes one to be created as default at the end of the document body.`),this.globalStackInstances.get(t))return console.warn(`[VueModals] A ModalStack instance with the name "${t}" already exists. Returning stack.`),this.globalStackInstances.get(t);const r=document.createElement("aside");document.body.insertAdjacentElement("beforeend",r);const o=n.createApp(Np,{name:t});return o.mount(r),this.globalStackInstances.set(t,o),o}static stack(t="default"){if(t==="default"&&!this.globalStackInstances.has("default"))return this.createStackInstance("default");if(this.globalStackInstances.has(t))return this.globalStackInstances.get(t);throw new Error(`[VueModals] No stack instance found for name "${t??"default"}". Create a ModalStack instance with this name to use it.`)}static open(t){return this.stack(t.stack).push(t)}static registerStack(t,r){console.warn("register",t,r),this.globalStackInstances.has(t)?console.warn(`[VueModals] Multiple instances of ModalStack must have unique names. Duplicate name found for ModalStack "${t}".`):this.globalStackInstances.set(t,r)}static unregisterStack(t,r){console.warn("unregister",t,r),this.globalStackInstances.get(t)===r?this.globalStackInstances.delete(t):console.warn(`[VueModals] Could not unregister ModalStack because a duplicate name was found "${t}".`)}};G6.globalStackInstances=window[Cg]||(window[Cg]=new Map);let qa=G6;const Dfe=n.defineComponent({props:{stack:{type:Array},index:{type:Number},modal:{type:Object},position:{type:String,default:"right"}},computed:{ensuredPosition(){return this.position==="left"?"left":"right"},depth(){const e=this.stack.filter(r=>{const o=r.options.position??"right";return r.options.layout==="drawer"&&o===this.ensuredPosition}),t=e.findIndex(r=>r===this.modal);return e.length-t-1}}}),Im=(e,t)=>{const r=e.__vccOpts||e;for(const[o,a]of t)r[o]=a;return r},Sfe=["position"];function Ife(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("section",{layout:"drawer",position:e.ensuredPosition,style:n.normalizeStyle({"--depth":e.depth})},[n.renderSlot(e.$slots,"default")],12,Sfe)}const Afe=Im(Dfe,[["render",Ife]]),zfe=n.defineComponent({computed:{classes(){return{center:!0}}},props:{stack:{type:Array},index:{type:Number},modal:{type:Object},showClose:{type:Object}}}),Ofe={key:0,class:"header"},jfe={class:"content"};function Lfe(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("section",{layout:"dialog",class:n.normalizeClass(e.classes)},[e.showClose?(n.openBlock(),n.createElementBlock("div",Ofe,[n.createElementVNode("button",{class:"close-button",onClick:t[0]||(t[0]=l=>e.$emit("close"))},"×")])):n.createCommentVNode("",!0),n.createElementVNode("div",jfe,[n.renderSlot(e.$slots,"default")]),t[1]||(t[1]=n.createElementVNode("div",{class:"footer"},null,-1))],2)}const Bfe=Im(zfe,[["render",Lfe]]);var Vfe=1;const xg=Symbol("Reject"),Eg=Symbol("Resolve"),Yi=Symbol("Fulfilled"),$fe={drawer:Afe,dialog:Bfe},Pfe=n.defineComponent({name:"vue-modals-stack",data(){return{stack:[]}},created(){qa.registerStack(this.name,this)},beforeUnmount(){qa.unregisterStack(this.name,this)},methods:{getLayoutComponentFromModalLayout(e){return typeof e=="string"?$fe[e]??e:e},removeFromStack(e){const t=this.stack.findIndex(r=>r===e);t<0||this.stack.splice(t,1)},addToStack(e){this.stack.push(e)},push(e){const t=this.buildModal(e);return this.addToStack(t),t},close(e,t){return this.canClose(e)?(this.destroy(e,t),!0):!1},layoutForModal(e){const t=e.layout??e.options.layout??this.layout??"section",r=ed.app;if(typeof t=="string"){const o=r.component(t);if(o)return o}return t},canClose(e){var t;const r=new Event("beforeClose",{cancelable:!0});if(e.options.beforeClose&&(e.options.beforeClose(r),r.defaultPrevented))return!1;const o=(t=this.$refs[e.id])==null?void 0:t[0];return!(o&&typeof o.beforeClose=="function"&&(o.beforeClose(r),r.defaultPrevented)||!this.stack.filter(a=>a.options.parent===o).every(a=>this.canClose(a)))},destroy(e,t){e[Yi]||(e[Yi]=!0,e[xg](t??new Error("Modal closed"))),this.removeFromStack(e)},answer(e,t){e[Yi]||(e[Yi]=!0,e[Eg](t)),this.removeFromStack(e)},pop(){if(this.stack.length){const e=this.stack[this.stack.length-1];if(this.close(e))return e}return null},popUntil(e){if(!(this.stack.findIndex(t=>e===t)<0))for(;this.stack.length>0;){const t=this.pop();if(t===e||t===null)return}},clear(){for(;this.stack.length;)this.destroy(this.stack[this.stack.length-1])},buildModal(e){var t;let r,o;const a=new Promise((i,l)=>{r=i,o=s=>"default"in e?i(e.default):l(s)});return!e.layout&&(t=e.component)!=null&&t.layout&&(e.layout=e.component.layout),e.parent&&n.onBeforeUnmount(()=>{this.destroy(a,new Error("Component was destroyed"))}),a.id=Vfe++,a.stack=this,a.options=e,a.layout=this.layoutForModal(a),a.position=e.position,a[xg]=o,a[Eg]=r,a[Yi]=!1,a.close=i=>this.close(a,i),a.destroy=i=>this.destroy(a,i),a},onNameChanged(e,t){t&&qa.unregisterStack(t,this),e&&qa.registerStack(e,this)}},props:{name:{type:String,default:"default"},layout:{type:String,default:"drawer"}},watch:{name:[{handler:"onNameChanged"}]}}),Rfe=["onClick"];function Ffe(e,t,r,o,a,i){return n.openBlock(),n.createBlock(n.TransitionGroup,{tag:"div",stack:e.name,name:"modal"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.stack,(l,s)=>(n.openBlock(),n.createElementBlock(n.Fragment,{key:l.id},[l.options.hideOverlay?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",{key:0,style:n.normalizeStyle(`z-index: ${1e3+s}`),class:n.normalizeClass(["vue-modals-overlay",{below:s<e.stack.length-1,far:s<e.stack.length-4}]),onClick:u=>l.options.clickToClose!==!1&&e.close(l)},null,14,Rfe)),(n.openBlock(),n.createBlock(n.resolveDynamicComponent(e.getLayoutComponentFromModalLayout(l.layout)),{"modal-id":l.id,modal:l,showClose:l.options.showClose,class:"vue-modals-layout",style:n.normalizeStyle(`z-index: ${1001+s}`),stack:e.stack,index:s,position:l.position,onClose:u=>e.close(l,u),onDestroy:u=>e.destroy(l,u),onAnswer:u=>e.answer(l,u)},{default:n.withCtx(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(l.options.component),n.mergeProps({ref_for:!0,ref:l.id},l.options.props,{onClose:u=>e.close(l,u),onDestroy:u=>e.destroy(l,u),onAnswer:u=>e.answer(l,u)}),null,16,["onClose","onDestroy","onAnswer"]))]),_:2},1064,["modal-id","modal","showClose","style","stack","index","position","onClose","onDestroy","onAnswer"]))],64))),128))]),_:1},8,["stack"])}const Np=Im(Pfe,[["render",Ffe]]),ed={app:void 0,install(e){e.component("vue-modals-stack",Np),e.config.globalProperties.$modals=qa,ed.app=e},Modals:qa,ModalStack:Np};async function Ufe(e){const t=window.LayersPortal?window.LayersPortal.platform:"shell";if(t==="shell"||t==="iframe"){const o=ed.Modals.stack().push({layout:"dialog",showClose:!1,component:vm,props:{title:e.title,content:e.content,buttonCloseLabel:e.buttonCloseLabel,buttonConfirmLabel:e.buttonConfirmLabel}});try{return await o}catch{return!1}}return window.confirm(e.content||e.title)}async function Hfe(){const e=ed.Modals.stack();window.history.go(1);const t=e.push({layout:"dialog",showClose:!1,component:vm,props:{buttonCloseLabel:"Permanecer aqui",buttonConfirmLabel:"Descartar alterações",title:"Alterações não salvas",content:"Você quer mesmo sair? Existem alterações que não foram salvas. Se você sair, suas alterações serão perdidas."}});try{const r=await t;if(r)return r}catch{}}const Yfe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIwIiBoZWlnaHQ9IjE4MyIgdmlld0JveD0iMCAwIDIyMCAxODMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNODMuMjk5NCAxNjQuMjk4TDgzLjI5OSAxNjQuMjk4Qzc5LjA5NiAxNjYuMjIgNzUuMTk0NiAxNjguMDA1IDcxLjMxNDcgMTY5LjIxQzUxLjk2MDMgMTc1LjIyMyAzMS4wNjI2IDE3NS45MjIgMTAuMjk0OCAxNDguMjIxQy0xMC40NzI5IDEyMC41MTkgLTAuMzE2MjIyIDg0Ljk0NTQgNDUuMjkwOSA3MC4xOTEyQzU3LjIwOTMgNjYuMzM5IDYyLjgwOTQgNTcuNzI3NSA2OS41NjAzIDQ3LjM0NjFDNzYuNjg1MSAzNi4zODk5IDg1LjA5MTcgMjMuNDYyNSAxMDMuNTYgMTIuMDc4MkMxNTIuNTU1IC0xOC4xMTMzIDE5Ny4wODggMTAuNzYzNSAyMTUuODU4IDcxLjI3MTRDMjM0LjYyNyAxMzEuNzc5IDE4Ni43IDE1OS4xNDQgMTMwLjY3MiAxNTQuNDk4QzEwOC43MSAxNTIuNjc1IDk0Ljg2MzQgMTU5LjAwOSA4My4yOTk0IDE2NC4yOThaIiBmaWxsPSIjNTQ1MUQ2Ii8+CjxwYXRoIG9wYWNpdHk9IjAuOSIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04My4yOTk0IDE2NC4yOThMODMuMjk5IDE2NC4yOThDNzkuMDk2IDE2Ni4yMiA3NS4xOTQ2IDE2OC4wMDUgNzEuMzE0NyAxNjkuMjFDNTEuOTYwMyAxNzUuMjIzIDMxLjA2MjYgMTc1LjkyMiAxMC4yOTQ4IDE0OC4yMjFDLTEwLjQ3MjkgMTIwLjUxOSAtMC4zMTYyMjIgODQuOTQ1NCA0NS4yOTA5IDcwLjE5MTJDNTcuMjA5MyA2Ni4zMzkgNjIuODA5NCA1Ny43Mjc1IDY5LjU2MDMgNDcuMzQ2MUM3Ni42ODUxIDM2LjM4OTkgODUuMDkxNyAyMy40NjI1IDEwMy41NiAxMi4wNzgyQzE1Mi41NTUgLTE4LjExMzMgMTk3LjA4OCAxMC43NjM1IDIxNS44NTggNzEuMjcxNEMyMzQuNjI3IDEzMS43NzkgMTg2LjcgMTU5LjE0NCAxMzAuNjcyIDE1NC40OThDMTA4LjcxIDE1Mi42NzUgOTQuODYzNCAxNTkuMDA5IDgzLjI5OTQgMTY0LjI5OFoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMTUuMjgxIDE3NS43NDRDMTY5LjM1NiAxNzUuNzQ0IDIxMy4xOTIgMTczLjE2NiAyMTMuMTkyIDE2OS45ODVDMjEzLjE5MiAxNjYuODA0IDE2OS4zNTYgMTY0LjIyNiAxMTUuMjgxIDE2NC4yMjZDNjEuMjA2MyAxNjQuMjI2IDE3LjM3MDEgMTY2LjgwNCAxNy4zNzAxIDE2OS45ODVDMTcuMzcwMSAxNzMuMTY2IDYxLjIwNjMgMTc1Ljc0NCAxMTUuMjgxIDE3NS43NDRaIiBmaWxsPSIjRjVGNUY1Ii8+CjxwYXRoIGQ9Ik0xMjkuODY4IDEwOS42MjlDMTI0LjU0NiAxMjEuMTM1IDExNy41MzMgMTIyLjM2MyAxMTcuNTMzIDEyMi4zNjNMMTA5LjE0OSAxMTIuNDcxQzEwOS4xNDkgMTEyLjQ3MSAxMTUuMTYxIDEwOC44MjEgMTE2LjU2MyAxMDQuMzk2QzExNy45NjYgOTkuOTcxMiAxMTUuMzYxIDcxLjA4NzQgMTIyLjgzMSA2NS4wMzkzQzEyMi44MzEgNjUuMDM5MyAxMjMuNjg5IDY3LjMzMjYgMTI0Ljg1MSA3MC45MTc4QzEyNy4xMjcgNzcuOTI2OCAxMzAuNTczIDg5Ljg2MTUgMTMxLjExOCA5OS4zMjUyQzEzMS4zNjcgMTAzLjQxOSAxMzEuMDk0IDEwNy4wNzcgMTI5Ljg2OCAxMDkuNjI5WiIgZmlsbD0iIzQ2NDRCNSIvPgo8cGF0aCBvcGFjaXR5PSIwLjEiIGQ9Ik0xMzEuMDk0IDk5LjMxNjhDMTIzLjc2OCA4Ni4xNTQ4IDEyMy4wMDcgNzYuNjQyNiAxMjQuODI2IDcwLjkwOTRDMTI3LjEyNyA3Ny45MTg0IDEzMC41NzMgODkuODUzMSAxMzEuMDk0IDk5LjMxNjhaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMTMwLjc2NiAxMjguNDExQzEzMC43NjYgMTI4LjQxMSA3Ny4wNjU2IDExMy4zMTkgNzAuMzQxMSAxMzIuMjk1QzYzLjYxNjYgMTUxLjI3MSAxMTIuMzMxIDE2Ni40MDMgMTM5LjI3IDE2Ny4zMzJDMTY2LjIwOCAxNjguMjYgMTc3LjI0NCAxNDkuMjAzIDE2OS4yOTMgMTMxLjA5MkwxMzAuNzY2IDEyOC40MTFaIiBmaWxsPSIjMjYzMjM4Ii8+CjxwYXRoIG9wYWNpdHk9IjAuMiIgZD0iTTEzMC43NjYgMTI4LjQxMUMxMzAuNzY2IDEyOC40MTEgNzcuMDY1NiAxMTMuMzE5IDcwLjM0MTEgMTMyLjI5NUM2My42MTY2IDE1MS4yNzEgMTEyLjMzMSAxNjYuNDAzIDEzOS4yNyAxNjcuMzMyQzE2Ni4yMDggMTY4LjI2IDE3Ny4yNDQgMTQ5LjIwMyAxNjkuMjkzIDEzMS4wOTJMMTMwLjc2NiAxMjguNDExWiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTE3NC4zNzUgMTQyLjA0OUwxMjQuNDkgMTMzLjQ1QzEzMy4yMjYgMTE2LjQ5MiAxMzAuNDUzIDkwLjcwMTMgMTIyLjg4NyA2NS4wMjMyQzEyOC4xNjkgNjAuNTc0IDE0OS4yOCA1Ny41NzAxIDE2NS4zNjYgNjIuMjg1OEMxNjUuMzY2IDYyLjI4NTggMTY2LjMyIDY1Ljg1NDkgMTY3LjYxMSA3MS45NzU3QzE2OS4xNTcgNzkuMzIzOCAxNzEuMTg1IDkwLjM1NDEgMTcyLjYyOCAxMDMuMzcxQzE3NC4xMDUgMTE2LjIwNyAxNzQuNjg4IDEyOS4xMzEgMTc0LjM3NSAxNDIuMDQ5WiIgZmlsbD0iIzQ2NDRCNSIvPgo8cGF0aCBvcGFjaXR5PSIwLjYiIGQ9Ik0xNzQuMzc1IDE0Mi4wNDlMMTI0LjQ5IDEzMy40NDlDMTMxLjkwNCAxMTkuMDYgMTMxLjAzIDk4LjMxNTcgMTI1Ljk0OCA3Ni42NzVDMTMwLjE0OCA2OC41MTk0IDEzNS41ODIgNjcuNTEgMTM1LjU4MiA2Ny41MUMxNDEuMDczIDc1LjI4NjEgMTUyLjQxNCA2Ny41MSAxNTIuNDE0IDY3LjUxQzE2Mi45MjEgNzMuOTA1MyAxNjkuMTczIDg3LjIyMDggMTcxLjE3NyA5Mi4wODE4QzE3My42NjcgMTA4LjYxNCAxNzQuNzM3IDEyNS4zMzIgMTc0LjM3NSAxNDIuMDQ5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggb3BhY2l0eT0iMC4xIiBkPSJNMTcyLjYwMyAxMDMuMzk0QzE2OC41MTMgMTAwLjE3NyAxNjUuNDQ4IDk1LjgyMzIgMTYzLjc4NyA5MC44NzAyQzE1OS43MzEgNzcuOTEwMSAxNjYuMDQ3IDcyLjk3NjMgMTY3LjU3OCA3MS45OTkzQzE2OS4xMzMgNzkuMzQ3NCAxNzEuMTY5IDkwLjM3NzcgMTcyLjYwMyAxMDMuMzk0WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTc2LjUwNDQgMTU4LjAyMUM3Ni4wOTk4IDE1Ny43MTIgNzUuODAyNCAxNTcuMjgzIDc1LjY1NDkgMTU2Ljc5NEM3NS42MjY5IDE1Ni42MzIgNzUuNjQxNyAxNTYuNDY1IDc1LjY5OCAxNTYuMzFDNzUuNzU0MyAxNTYuMTU2IDc1Ljg1IDE1Ni4wMTkgNzUuOTc1NSAxNTUuOTE0Qzc2LjA0MzkgMTU1Ljg0MyA3Ni4xMjk1IDE1NS43OTIgNzYuMjIzNyAxNTUuNzY1Qzc2LjMxNzkgMTU1LjczOCA3Ni40MTc0IDE1NS43MzYgNzYuNTEyNCAxNTUuNzZDNzcuNDE4MSAxNTYuMDM1IDc4LjMxNTcgMTU4LjY0MyA3OC40MDM4IDE1OC45NUM3OC40MTQ4IDE1OC45NzggNzguNDE2IDE1OS4wMDkgNzguNDA3MyAxNTkuMDM5Qzc4LjM5ODYgMTU5LjA2OCA3OC4zODA0IDE1OS4wOTMgNzguMzU1NyAxNTkuMTExQzc4LjMyNjggMTU5LjEzMyA3OC4yOTE2IDE1OS4xNDQgNzguMjU1NiAxNTkuMTQ0Qzc4LjIxOTUgMTU5LjE0NCA3OC4xODQ0IDE1OS4xMzMgNzguMTU1NCAxNTkuMTExQzc3LjU3MTkgMTU4LjgwMSA3Ny4wMTkxIDE1OC40MzYgNzYuNTA0NCAxNTguMDIxWk03Ni42NDg3IDE1Ni4yMkM3Ni41OTAzIDE1Ni4xNjMgNzYuNTE4NyAxNTYuMTIyIDc2LjQ0MDMgMTU2LjA5OUM3Ni40MDMyIDE1Ni4wODggNzYuMzYzNCAxNTYuMDg3IDc2LjMyNjIgMTU2LjA5OUM3Ni4yODkgMTU2LjExMSA3Ni4yNTYxIDE1Ni4xMzMgNzYuMjMxOSAxNTYuMTY0Qzc2LjE0IDE1Ni4yMyA3Ni4wNjkyIDE1Ni4zMjIgNzYuMDI3OSAxNTYuNDI4Qzc1Ljk4NjcgMTU2LjUzNCA3NS45NzY4IDE1Ni42NSA3NS45OTk1IDE1Ni43NjFDNzYuNDAwMyAxNTcuNTk0IDc3LjA4MjIgMTU4LjI1NSA3Ny45MjMgMTU4LjYyN0M3Ny42NDg5IDE1Ny43NTIgNzcuMjE2OSAxNTYuOTM3IDc2LjY0ODcgMTU2LjIyWiIgZmlsbD0iIzQ2NDRCNSIvPgo8cGF0aCBkPSJNNzguMTE1NyAxNTkuMTI3VjE1OS4wNDZDNzcuNzk1MSAxNTguMjM5IDc3LjcyMyAxNTYuMTI0IDc4LjM3MjIgMTU1LjY2M0M3OC40ODIxIDE1NS41OTEgNzguNjEzMSAxNTUuNTU4IDc4Ljc0MzkgMTU1LjU3Qzc4Ljg3NDggMTU1LjU4MSA3OC45OTc5IDE1NS42MzcgNzkuMDkzNSAxNTUuNzI4Qzc5LjIwMzkgMTU1LjgwMyA3OS4yOTgzIDE1NS45IDc5LjM3MTIgMTU2LjAxMkM3OS40NDQyIDE1Ni4xMjQgNzkuNDk0MSAxNTYuMjUgNzkuNTE4MiAxNTYuMzgyQzc5LjcyNjYgMTU3LjQ1NiA3OC40NzY0IDE1OS4wMzggNzguMzk2MiAxNTkuMTExQzc4LjM3NjUgMTU5LjEzNiA3OC4zNDk4IDE1OS4xNTMgNzguMzE5NyAxNTkuMTYyQzc4LjI4OTUgMTU5LjE3MSA3OC4yNTc1IDE1OS4xNyA3OC4yMjc5IDE1OS4xNkM3OC4xODc5IDE1OS4xNjMgNzguMTQ4MSAxNTkuMTUxIDc4LjExNTcgMTU5LjEyN1pNNzguOTE3MSAxNTYuMDU5TDc4Ljg2MTEgMTU2LjAwMkM3OC42NjA3IDE1NS44NzMgNzguNTg4NiAxNTUuOTMgNzguNTQ4NSAxNTUuOTU0Qzc4LjE2MzggMTU2LjIyIDc4LjA5OTcgMTU3LjcwNiA3OC4zMDAxIDE1OC42MUM3OC42MzY3IDE1OC4xMjYgNzkuMjYxOCAxNTcuMTA5IDc5LjEwMTUgMTU2LjQzOEM3OS4wNzY3IDE1Ni4yOSA3OC45OTk5IDE1Ni4xNTUgNzguODg1MSAxNTYuMDU5SDc4LjkxNzFaIiBmaWxsPSIjNDY0NEI1Ii8+CjxwYXRoIGQ9Ik0xMzMuMjQyIDE3MC42OThDMTMzLjMwNyAxNzEuMjAzIDEzMy4yMDggMTcxLjcxNiAxMzIuOTYxIDE3Mi4xNkMxMzIuODY3IDE3Mi4yOTQgMTMyLjc0IDE3Mi40IDEzMi41OTIgMTcyLjQ2OEMxMzIuNDQ0IDE3Mi41MzYgMTMyLjI4MSAxNzIuNTYzIDEzMi4xMiAxNzIuNTQ3QzEzMi4wMjEgMTcyLjU0OSAxMzEuOTIzIDE3Mi41MjMgMTMxLjgzNyAxNzIuNDc0QzEzMS43NTEgMTcyLjQyNCAxMzEuNjggMTcyLjM1MiAxMzEuNjMxIDE3Mi4yNjVDMTMxLjE5IDE3MS40NTcgMTMyLjQzMiAxNjguOTU0IDEzMi41NjggMTY4LjY4QzEzMi41ODEgMTY4LjY1MSAxMzIuNjAzIDE2OC42MjcgMTMyLjYzIDE2OC42MTJDMTMyLjY1OCAxNjguNTk4IDEzMi42OSAxNjguNTkzIDEzMi43MjEgMTY4LjU5OUMxMzIuNzU2IDE2OC42MDQgMTMyLjc4OSAxNjguNjE5IDEzMi44MTUgMTY4LjY0NEMxMzIuODQxIDE2OC42NjkgMTMyLjg1OCAxNjguNzAxIDEzMi44NjUgMTY4LjczNkMxMzMuMDU5IDE2OS4zNzUgMTMzLjE4NSAxNzAuMDMzIDEzMy4yNDIgMTcwLjY5OFpNMTMxLjg5NSAxNzEuODQ1QzEzMS44OTggMTcxLjkyOSAxMzEuOTE3IDE3Mi4wMTEgMTMxLjk1MSAxNzIuMDg3QzEzMS45NjkgMTcyLjEyMiAxMzEuOTk3IDE3Mi4xNTEgMTMyLjAzMSAxNzIuMTdDMTMyLjA2NiAxNzIuMTg5IDEzMi4xMDUgMTcyLjE5NiAxMzIuMTQ0IDE3Mi4xOTJDMTMyLjI1NSAxNzIuMjExIDEzMi4zNjkgMTcyLjE5NyAxMzIuNDcyIDE3Mi4xNTNDMTMyLjU3NiAxNzIuMTA4IDEzMi42NjUgMTcyLjAzNSAxMzIuNzI5IDE3MS45NDJDMTMzLjA0OSAxNzEuMDc1IDEzMy4wNDkgMTcwLjEyIDEzMi43MjkgMTY5LjI1M0MxMzIuMjk3IDE3MC4wNTkgMTMyLjAxNCAxNzAuOTM3IDEzMS44OTUgMTcxLjg0NVoiIGZpbGw9IiM0NjQ0QjUiLz4KPHBhdGggZD0iTTExOS44NjUgMTUwLjQ2NEwxMjkuMzYzIDE1Ny40ODFMMTMzLjkyNCAxNjAuODQ4TDEzMC45NDIgMTY2LjA4OUwxMjYuMzE3IDE2My41MzdMMTE1LjAwOCAxNTcuMzAzTDExOS44NjUgMTUwLjQ2NFoiIGZpbGw9IiNFODYxNjEiLz4KPHBhdGggZD0iTTEyOS40OTEgMTY1LjkzNEwxMzIuMzUzIDE1OS41NjNDMTMyLjM5MSAxNTkuNDc5IDEzMi40NDYgMTU5LjQwNCAxMzIuNTE0IDE1OS4zNDFDMTMyLjU4MiAxNTkuMjc5IDEzMi42NjEgMTU5LjIzIDEzMi43NDcgMTU5LjE5OUMxMzIuODM0IDE1OS4xNjcgMTMyLjkyNiAxNTkuMTUzIDEzMy4wMTcgMTU5LjE1OEMxMzMuMTA5IDE1OS4xNjIgMTMzLjE5OSAxNTkuMTg1IDEzMy4yODIgMTU5LjIyNEwxMzYuMzc2IDE2MC43NUMxMzYuMzc2IDE2MC43NSAxNDAuNjcyIDE2Mi41MDMgMTQxLjE4NSAxNjMuOTA4QzE0Mi43ODggMTY4LjAyNiAxMzYuNzg1IDE4Mi4yODYgMTM0LjkxNyAxODIuMjg2QzEzNC4yMzYgMTgyLjI4NiAxMzMuODI3IDE4MS4yMiAxMzMuNzMxIDE4MC41NDJDMTMzLjQyNyAxNzguMzc4IDEzMy4zNzggMTcyLjk1MSAxMzMuMTA2IDE3MS4xNTFDMTMyLjc4NSAxNjkuMDUxIDEzMC43MDEgMTY3LjQzNiAxMjkuNyAxNjYuNzlDMTI5LjU3MSAxNjYuNjk1IDEyOS40NzkgMTY2LjU1NyAxMjkuNDQxIDE2Ni40QzEyOS40MDMgMTY2LjI0NCAxMjkuNDIxIDE2Ni4wNzkgMTI5LjQ5MSAxNjUuOTM0WiIgZmlsbD0iIzI2MzIzOCIvPgo8cGF0aCBkPSJNMTMyLjg5NyAxNjguNzYyTDEzMi44NTcgMTY4LjgzNEMxMzIuNTEzIDE2OS42NDIgMTMxLjA2MiAxNzEuMTY4IDEzMC4yNzcgMTcxLjAyMkMxMzAuMTUgMTcwLjk5MyAxMzAuMDM2IDE3MC45MjEgMTI5Ljk1NCAxNzAuODE5QzEyOS44NzMgMTcwLjcxNiAxMjkuODI4IDE3MC41ODkgMTI5LjgyOCAxNzAuNDU3QzEyOS44MDEgMTcwLjMyNSAxMjkuODAyIDE3MC4xODkgMTI5LjgyOSAxNzAuMDU3QzEyOS44NTcgMTY5LjkyNSAxMjkuOTExIDE2OS44IDEyOS45ODggMTY5LjY5QzEzMC42MDUgMTY4Ljc5NCAxMzIuNTkzIDE2OC41NzYgMTMyLjcwNSAxNjguNTkyQzEzMi43MzYgMTY4LjU4NyAxMzIuNzY3IDE2OC41OTMgMTMyLjc5NCAxNjguNjA3QzEzMi44MjIgMTY4LjYyMiAxMzIuODQ0IDE2OC42NDUgMTMyLjg1NyAxNjguNjczQzEzMi44NzkgMTY4LjY5OCAxMzIuODkzIDE2OC43MjkgMTMyLjg5NyAxNjguNzYyWk0xMzAuMTY1IDE3MC4zMzZWMTcwLjQxN0MxMzAuMTY1IDE3MC42NTEgMTMwLjMwMSAxNzAuNjY3IDEzMC4zNDkgMTcwLjY3NUMxMzAuODA2IDE3MC43NjQgMTMxLjkwNCAxNjkuNzcxIDEzMi40MDEgMTY4Ljk5NkMxMzEuODE1IDE2OS4wOTMgMTMwLjY2MSAxNjkuMzUxIDEzMC4yNzcgMTY5LjkxNkMxMzAuMTkgMTcwLjAzOCAxMzAuMTQ4IDE3MC4xODYgMTMwLjE1NiAxNzAuMzM2SDEzMC4xNjVaIiBmaWxsPSIjNDY0NEI1Ii8+CjxwYXRoIG9wYWNpdHk9IjAuMiIgZD0iTTExOS44NjUgMTUwLjQ2NEwxMjkuMzYzIDE1Ny40ODFMMTI2LjMxNyAxNjMuNTM3TDExNS4wMDggMTU3LjMwM0wxMTkuODY1IDE1MC40NjRaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMTI0LjE0NSAxNjMuOTMxTDEyMS4wMjcgMTYzLjIyOUwxMjYuMjEzIDE1My4yNDlMMTI5LjEwNiAxNTYuMjI4TDEyNC4xNDUgMTYzLjkzMVoiIGZpbGw9IiM0NjQ0QjUiLz4KPHBhdGggb3BhY2l0eT0iMC42IiBkPSJNMTI0LjE0NSAxNjMuOTMxTDEyMS4wMjcgMTYzLjIyOUwxMjYuMjEzIDE1My4yNDlMMTI5LjEwNiAxNTYuMjI4TDEyNC4xNDUgMTYzLjkzMVoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMDAuMjEzIDE2Mi41NTFMODguNTkwOSAxNjQuNDcyTDgzLjAwNDUgMTY1LjQwMUw4MS4zNzc0IDE1OS41OTVMODYuNDI2OSAxNTguMDQ1TDk4Ljc1MzggMTU0LjI2NkwxMDAuMjEzIDE2Mi41NTFaIiBmaWxsPSIjRTg2MTYxIi8+CjxwYXRoIGQ9Ik04Mi41MTUzIDE1OC42NDNMODUuMDMyIDE2NS4xNTlDODUuMDY1IDE2NS4yNDYgODUuMDgwNCAxNjUuMzM5IDg1LjA3NzMgMTY1LjQzMkM4NS4wNzQxIDE2NS41MjUgODUuMDUyNCAxNjUuNjE2IDg1LjAxMzYgMTY1LjdDODQuOTc0NyAxNjUuNzg1IDg0LjkxOTQgMTY1Ljg2IDg0Ljg1MSAxNjUuOTIzQzg0Ljc4MjUgMTY1Ljk4NSA4NC43MDI0IDE2Ni4wMzMgODQuNjE1MiAxNjYuMDY0TDgxLjQwOTIgMTY3LjIxOEM4MS40MDkyIDE2Ny4yMTggNzcuMTUzMyAxNjkuMDkyIDc1Ljc5ODggMTY4LjQ5NEM3MS43OTEzIDE2Ni43NSA2NS44NTIyIDE1Mi40NzQgNjcuMTU4NyAxNTEuMTI1QzY3LjYzMTUgMTUwLjYzMyA2OC42NzM1IDE1MS4wODUgNjkuMjI2NSAxNTEuNDk3QzcwLjk2NTggMTUyLjc4OSA3NC44MzcgMTU2LjU1MiA3Ni4zMTk3IDE1Ny42MDlDNzguMDM0OSAxNTguODUzIDgwLjY1NTggMTU4LjQ2NSA4MS43OTM5IDE1OC4yMTVDODEuOTQ0MyAxNTguMTk1IDgyLjA5NjkgMTU4LjIyNyA4Mi4yMjc2IDE1OC4zMDRDODIuMzU4MiAxNTguMzgyIDgyLjQ1OTUgMTU4LjUwMSA4Mi41MTUzIDE1OC42NDNaIiBmaWxsPSIjMjYzMjM4Ii8+CjxwYXRoIG9wYWNpdHk9IjAuMiIgZD0iTTEwMC4yMTIgMTYyLjU1MUw4OC41OTA4IDE2NC40NzNMODYuNDI2OCAxNTguMDQ1TDk4Ljc1MzcgMTU0LjI2NkwxMDAuMjEyIDE2Mi41NTFaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNODguNDMwNyAxNTYuODM0Qzg4LjQzMDcgMTU2LjgzNCAxMzYuNzQ1IDEyOC4xMiAxNTMuMDg3IDEyOC44ODdDMTY5LjQzIDEyOS42NTQgMTcwLjg3MiAxNDYuMDQ2IDE2NC4xMjQgMTU1LjEzOUMxNTcuMzc1IDE2NC4yMzEgMTQ0Ljg4OCAxNjYuNDQzIDE0NC44ODggMTY2LjQ0M0MxNDQuODg4IDE2Ni40NDMgMTUzLjM2OCAxNTQuMzcxIDE1Mi4xNDkgMTUwLjk3MkMxNTAuOTMxIDE0Ny41NzIgMTQ2LjI0MiAxNTguOTk4IDE0Ni4yNDIgMTU4Ljk5OEMxNDYuMjQyIDE1OC45OTggMTE2LjMxNSAxNjIuOTU1IDkwLjIzNCAxNjUuMTc2TDg4LjQzMDcgMTU2LjgzNFoiIGZpbGw9IiMyNjMyMzgiLz4KPHBhdGggZD0iTTg3LjY2MTEgMTU2LjA5TDkwLjM0NiAxNTQuMjgyTDkzLjc5MjIgMTY0Ljk0SDg5LjY0ODdMODcuNjYxMSAxNTYuMDlaIiBmaWxsPSIjNDY0NEI1Ii8+CjxwYXRoIG9wYWNpdHk9IjAuNiIgZD0iTTg3LjY2MTEgMTU2LjA5TDkwLjM0NiAxNTQuMjgyTDkzLjc5MjIgMTY0Ljk0SDg5LjY0ODdMODcuNjYxMSAxNTYuMDlaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMTQzLjAyOCA2OS4xODkzQzE1MC4wNTcgNjkuMTg5MyAxNTQuNjM0IDYxLjc2MDQgMTU0LjYzNCA2MS43NjA0QzE0NS40MTcgNTguNTMwNSAxNDUuMzg1IDQ4LjcwMzQgMTQ1LjM4NSA0OC43MDM0TDE0MS44MzQgNTIuMTY3NUwxMzYuNzc2IDU3LjE1NzhDMTQwLjk4NCA2MC4xNjE2IDEzOC45OTcgNjIuNzYxNyAxMzcuNjU4IDYzLjkxNjRDMTM3LjM4NCA2NC4xNjMyIDEzNy4wODkgNjQuMzg0OCAxMzYuNzc2IDY0LjU3ODZDMTM2Ljc3NiA2NC41Nzg2IDEzNS45OTkgNjkuMTg5MyAxNDMuMDI4IDY5LjE4OTNaIiBmaWxsPSIjRjk3Nzc3Ii8+CjxwYXRoIG9wYWNpdHk9IjAuMiIgZD0iTTEzNy42NTkgNjMuOTQ5MUMxNDYuMjgzIDY0LjkyNjIgMTQ1LjY3NCA1MS45MTc2IDE0NS42NzQgNTEuOTE3NkMxNDQuMzggNTEuODk2OSAxNDMuMDg3IDUxLjk5MTUgMTQxLjgxIDUyLjIwMDJMMTM2Ljc1MyA1Ny4xOTA1QzE0MC45ODUgNjAuMTk0MyAxMzguOTk3IDYyLjc5NDQgMTM3LjY1OSA2My45NDkxWiIgZmlsbD0iYmxhY2siLz4KPHBhdGggb3BhY2l0eT0iMC4yIiBkPSJNMTYyLjEzNiAxMTguNTExTDE0NS41MTMgMTM3LjA4M0MxNDUuNTEzIDEzNy4wODMgMTI3LjE0MyAxMzYuNjcxIDEwNC44MjkgMTQ3LjY1M0MxMDQuODI5IDE0Ny42NTMgODAuODg4NCAxMzcuNjg5IDc4LjY4NDMgMTI5LjQxMkM3Ni40ODAxIDEyMS4xMzUgMTI4Ljk0NiAxMjYuOTg5IDEyOC45NDYgMTI2Ljk4OUwxNjIuMTM2IDExOC41MTFaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMTU3LjQzOSAxMTMuMDZMMTMwLjc4OSAxMjEuODQ2QzEzMC43ODkgMTIxLjg0NiAxMjEuMjY4IDExOS43MjIgMTE5LjU2OSAxMTkuNzIyQzExNy44NjkgMTE5LjcyMiAxMTEuMjg5IDEyNS4xMDggMTE1LjAwOCAxMjYuOTg5QzExOC43MjcgMTI4Ljg3MSAxMjguODgyIDEyOS4xMTMgMTI5Ljk4OCAxMjguNTA3QzEzMS4wOTQgMTI3LjkwMiAxNjAuNjQ1IDEyMC45MzMgMTYwLjY0NSAxMjAuOTMzTDE1Ny40MzkgMTEzLjA2WiIgZmlsbD0iI0U4NjE2MSIvPgo8cGF0aCBkPSJNMTY1LjM0MiA2Mi4yODU0QzE1OS4zMDcgNjEuMTA2NCAxNjkuNzc0IDk4LjEyMTYgMTY3LjIwOSAxMDMuNTcyQzE2NC42NDQgMTA5LjAyMyAxNTQuNjM0IDExMi40NTUgMTU0LjYzNCAxMTIuNDU1TDE1OS4yNDIgMTIyLjcwMkMxNTkuMjQyIDEyMi43MDIgMTcyLjg2OCAxMjAuMTEgMTgwLjI4MiAxMTAuNTg5QzE4Ny42OTUgMTAxLjA2OSAxNzUuMTc2IDY0LjIxNTMgMTY1LjM0MiA2Mi4yODU0WiIgZmlsbD0iIzQ2NDRCNSIvPgo8cGF0aCBkPSJNMTU0LjYzNCAxMTEuNjQ3TDE2MC4yNDQgMTIyLjcxOEwxNTUuNDM1IDEyMy43NkwxNTEuMDI3IDExMy41NjlMMTU0LjYzNCAxMTEuNjQ3WiIgZmlsbD0iIzQ2NDRCNSIvPgo8cGF0aCBvcGFjaXR5PSIwLjIiIGQ9Ik0xNTQuNjM0IDExMS42NDdMMTYwLjI0NCAxMjIuNzE4TDE1NS40MzUgMTIzLjc2TDE1MS4wMjcgMTEzLjU2OUwxNTQuNjM0IDExMS42NDdaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMTQzLjYxMyAxMjYuOTlWMTI4Ljc1QzE0My42MSAxMjkuMzM4IDE0My4zODMgMTI5LjkwMiAxNDIuOTc5IDEzMC4zMjVDMTQyLjU3NCAxMzAuNzQ5IDE0Mi4wMjQgMTMxIDE0MS40NDEgMTMxLjAyN0g3Ny4wMDk0Qzc2LjQwOTkgMTMxLjAwOCA3NS44MzkgMTMwLjc2NCA3NS40MDkgMTMwLjM0M0M3NC45NzkgMTI5LjkyMSA3NC43MjA4IDEyOS4zNTMgNzQuNjg1MSAxMjguNzVWMTI2Ljk5SDE0My42MTNaIiBmaWxsPSIjMjYzMjM4Ii8+CjxwYXRoIG9wYWNpdHk9IjAuMiIgZD0iTTE0My42MTMgMTI2Ljk5VjEyOC43NUMxNDMuNjEgMTI5LjMzOCAxNDMuMzgzIDEyOS45MDIgMTQyLjk3OSAxMzAuMzI1QzE0Mi41NzQgMTMwLjc0OSAxNDIuMDI0IDEzMSAxNDEuNDQxIDEzMS4wMjdINzcuMDA5NEM3Ni40MDk5IDEzMS4wMDggNzUuODM5IDEzMC43NjQgNzUuNDA5IDEzMC4zNDNDNzQuOTc5IDEyOS45MjEgNzQuNzIwOCAxMjkuMzUzIDc0LjY4NTEgMTI4Ljc1VjEyNi45OUgxNDMuNjEzWiIgZmlsbD0id2hpdGUiLz4KPHBhdGggb3BhY2l0eT0iMC4yIiBkPSJNMTE5LjU2OSAxMjYuOTlWMTI4Ljc1QzExOS41NjMgMTI5LjMzOCAxMTkuMzM0IDEyOS45MDIgMTE4LjkyOSAxMzAuMzI2QzExOC41MjMgMTMwLjc0OSAxMTcuOTcyIDEzMSAxMTcuMzg5IDEzMS4wMjdINzcuMDA5NEM3Ni40MDk5IDEzMS4wMDggNzUuODM5IDEzMC43NjQgNzUuNDA5IDEzMC4zNDNDNzQuOTc5IDEyOS45MjEgNzQuNzIwOCAxMjkuMzUzIDc0LjY4NTEgMTI4Ljc1VjEyNi45OUgxMTkuNTY5WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTExNy4zODkgMTI5LjQxMkg3NC44MjE0Qzc0LjEzNzkgMTI5LjM3OCA3My40Nzk2IDEyOS4xNDIgNzIuOTI5MiAxMjguNzMyQzcyLjM3ODcgMTI4LjMyMyA3MS45NjA3IDEyNy43NTkgNzEuNzI3NiAxMjcuMTFMNjEuOTY1NCA5Ni4yNjQ0QzYxLjg1NDEgOTYuMDAwOSA2MS44MTAxIDk1LjcxMzYgNjEuODM3NSA5NS40Mjg2QzYxLjg2NDkgOTUuMTQzNiA2MS45NjI5IDk0Ljg3MDEgNjIuMTIyMyA5NC42MzMxQzYyLjI4MTggOTQuMzk2MSA2Mi40OTc4IDk0LjIwMzIgNjIuNzUwNCA5NC4wNzJDNjMuMDAzIDkzLjk0MDggNjMuMjg0MyA5My44NzU2IDYzLjU2ODQgOTMuODgyM0gxMDYuMTY4QzEwNi44NTggOTMuOTMyNiAxMDcuNTE4IDk0LjE4NDggMTA4LjA2OCA5NC42MDhDMTA4LjYxNyA5NS4wMzEyIDEwOS4wMzIgOTUuNjA2OSAxMDkuMjYyIDk2LjI2NDRMMTE5LjAyNCAxMjcuMDdDMTE5LjEzNyAxMjcuMzM0IDExOS4xODEgMTI3LjYyMiAxMTkuMTUxIDEyNy45MDhDMTE5LjEyMiAxMjguMTk0IDExOS4wMjEgMTI4LjQ2NyAxMTguODU3IDEyOC43MDJDMTE4LjY5MyAxMjguOTM3IDExOC40NzIgMTI5LjEyNSAxMTguMjE1IDEyOS4yNUMxMTcuOTU4IDEyOS4zNzQgMTE3LjY3MyAxMjkuNDMgMTE3LjM4OSAxMjkuNDEyWiIgZmlsbD0iIzI2MzIzOCIvPgo8cGF0aCBvcGFjaXR5PSIwLjIiIGQ9Ik0xMTcuMzg5IDEyOS40MTJINzQuODIxNEM3NC4xMzc5IDEyOS4zNzggNzMuNDc5NiAxMjkuMTQyIDcyLjkyOTIgMTI4LjczMkM3Mi4zNzg3IDEyOC4zMjMgNzEuOTYwNyAxMjcuNzU5IDcxLjcyNzYgMTI3LjExTDYxLjk2NTQgOTYuMjY0NEM2MS44NTQxIDk2LjAwMDkgNjEuODEwMSA5NS43MTM2IDYxLjgzNzUgOTUuNDI4NkM2MS44NjQ5IDk1LjE0MzYgNjEuOTYyOSA5NC44NzAxIDYyLjEyMjMgOTQuNjMzMUM2Mi4yODE4IDk0LjM5NjEgNjIuNDk3OCA5NC4yMDMyIDYyLjc1MDQgOTQuMDcyQzYzLjAwMyA5My45NDA4IDYzLjI4NDMgOTMuODc1NiA2My41Njg0IDkzLjg4MjNIMTA2LjE2OEMxMDYuODU4IDkzLjkzMjYgMTA3LjUxOCA5NC4xODQ4IDEwOC4wNjggOTQuNjA4QzEwOC42MTcgOTUuMDMxMiAxMDkuMDMyIDk1LjYwNjkgMTA5LjI2MiA5Ni4yNjQ0TDExOS4wMjQgMTI3LjA3QzExOS4xMzcgMTI3LjMzNCAxMTkuMTgxIDEyNy42MjIgMTE5LjE1MSAxMjcuOTA4QzExOS4xMjIgMTI4LjE5NCAxMTkuMDIxIDEyOC40NjcgMTE4Ljg1NyAxMjguNzAyQzExOC42OTMgMTI4LjkzNyAxMTguNDcyIDEyOS4xMjUgMTE4LjIxNSAxMjkuMjVDMTE3Ljk1OCAxMjkuMzc0IDExNy42NzMgMTI5LjQzIDExNy4zODkgMTI5LjQxMloiIGZpbGw9IndoaXRlIi8+CjxwYXRoIG9wYWNpdHk9IjAuMiIgZD0iTTExNS43ODYgMTI5LjQxMkg3NC44MjE0Qzc0LjEzNzkgMTI5LjM3OCA3My40Nzk2IDEyOS4xNDIgNzIuOTI5MiAxMjguNzMyQzcyLjM3ODcgMTI4LjMyMyA3MS45NjA3IDEyNy43NTkgNzEuNzI3NiAxMjcuMTFMNjEuOTY1NCA5Ni4yNjQ0QzYxLjg1NDEgOTYuMDAwOSA2MS44MTAxIDk1LjcxMzYgNjEuODM3NSA5NS40Mjg2QzYxLjg2NDkgOTUuMTQzNiA2MS45NjI5IDk0Ljg3MDEgNjIuMTIyMyA5NC42MzMxQzYyLjI4MTggOTQuMzk2MSA2Mi40OTc4IDk0LjIwMzIgNjIuNzUwNCA5NC4wNzJDNjMuMDAzIDkzLjk0MDggNjMuMjg0MyA5My44NzU2IDYzLjU2ODQgOTMuODgyM0gxMDQuNTY1QzEwNS4yNTUgOTMuOTMyNiAxMDUuOTE1IDk0LjE4NDggMTA2LjQ2NSA5NC42MDhDMTA3LjAxNCA5NS4wMzEyIDEwNy40MjkgOTUuNjA2OSAxMDcuNjU5IDk2LjI2NDRMMTE3LjQyMSAxMjcuMDdDMTE3LjUzNCAxMjcuMzM0IDExNy41NzggMTI3LjYyMiAxMTcuNTQ4IDEyNy45MDhDMTE3LjUxOSAxMjguMTk0IDExNy40MTggMTI4LjQ2NyAxMTcuMjU0IDEyOC43MDJDMTE3LjA5IDEyOC45MzcgMTE2Ljg2OSAxMjkuMTI1IDExNi42MTIgMTI5LjI1QzExNi4zNTUgMTI5LjM3NCAxMTYuMDcgMTI5LjQzIDExNS43ODYgMTI5LjQxMloiIGZpbGw9IndoaXRlIi8+CjxwYXRoIG9wYWNpdHk9IjAuMiIgZD0iTTkwLjg4MjYgMTEzLjA2QzkxLjQwMzUgMTE1LjExOSA5MC4zOTM3IDExNi43ODIgODguNjE0NSAxMTYuNzgyQzg2LjgzNTMgMTE2Ljc4MiA4NC45NjggMTE1LjExOSA4NC40NDcgMTEzLjA2QzgzLjkyNjEgMTExLjAwMSA4NC45MzU5IDEwOS4zMzggODYuNzE1MSAxMDkuMzM4Qzg4LjQ5NDMgMTA5LjMzOCA5MC4zNTM2IDExMS4wMDkgOTAuODgyNiAxMTMuMDZaIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBvcGFjaXR5PSIwLjIiIGQ9Ik0xMjkuNDkxIDE2NS45MzRMMTMyLjM1MyAxNTkuNTYzQzEzMi4zOTEgMTU5LjQ3OSAxMzIuNDQ2IDE1OS40MDQgMTMyLjUxNCAxNTkuMzQxQzEzMi41ODIgMTU5LjI3OSAxMzIuNjYxIDE1OS4yMyAxMzIuNzQ3IDE1OS4xOTlDMTMyLjgzNCAxNTkuMTY3IDEzMi45MjYgMTU5LjE1MyAxMzMuMDE3IDE1OS4xNThDMTMzLjEwOSAxNTkuMTYyIDEzMy4xOTkgMTU5LjE4NSAxMzMuMjgyIDE1OS4yMjRMMTM2LjM3NiAxNjAuNzVDMTM2LjM3NiAxNjAuNzUgMTQwLjY3MiAxNjIuNTAzIDE0MS4xODUgMTYzLjkwOEMxNDIuNzg4IDE2OC4wMjYgMTM2Ljc4NSAxODIuMjg2IDEzNC45MTcgMTgyLjI4NkMxMzQuMjM2IDE4Mi4yODYgMTMzLjgyNyAxODEuMjIgMTMzLjczMSAxODAuNTQyQzEzMy40MjcgMTc4LjM3OCAxMzMuMzc4IDE3Mi45NTEgMTMzLjEwNiAxNzEuMTUxQzEzMi43ODUgMTY5LjA1MSAxMzAuNzAxIDE2Ny40MzYgMTI5LjcgMTY2Ljc5QzEyOS41NzEgMTY2LjY5NSAxMjkuNDc5IDE2Ni41NTcgMTI5LjQ0MSAxNjYuNEMxMjkuNDAzIDE2Ni4yNDQgMTI5LjQyMSAxNjYuMDc5IDEyOS40OTEgMTY1LjkzNFoiIGZpbGw9IndoaXRlIi8+CjxwYXRoIG9wYWNpdHk9IjAuMiIgZD0iTTgyLjUxNTMgMTU4LjY0M0w4NS4wMzIgMTY1LjE1OUM4NS4wNjUgMTY1LjI0NiA4NS4wODA0IDE2NS4zMzkgODUuMDc3MyAxNjUuNDMyQzg1LjA3NDEgMTY1LjUyNSA4NS4wNTI0IDE2NS42MTYgODUuMDEzNiAxNjUuN0M4NC45NzQ3IDE2NS43ODUgODQuOTE5NCAxNjUuODYgODQuODUxIDE2NS45MjNDODQuNzgyNSAxNjUuOTg1IDg0LjcwMjQgMTY2LjAzMyA4NC42MTUyIDE2Ni4wNjRMODEuNDA5MiAxNjcuMjE4QzgxLjQwOTIgMTY3LjIxOCA3Ny4xNTMzIDE2OS4wOTIgNzUuNzk4OCAxNjguNDk0QzcxLjc5MTMgMTY2Ljc1IDY1Ljg1MjIgMTUyLjQ3NCA2Ny4xNTg3IDE1MS4xMjVDNjcuNjMxNSAxNTAuNjMzIDY4LjY3MzUgMTUxLjA4NSA2OS4yMjY1IDE1MS40OTdDNzAuOTY1OCAxNTIuNzg5IDc0LjgzNyAxNTYuNTUyIDc2LjMxOTcgMTU3LjYwOUM3OC4wMzQ5IDE1OC44NTMgODAuNjU1OCAxNTguNDY1IDgxLjc5MzkgMTU4LjIxNUM4MS45NDQzIDE1OC4xOTUgODIuMDk2OSAxNTguMjI3IDgyLjIyNzYgMTU4LjMwNEM4Mi4zNTgyIDE1OC4zODIgODIuNDU5NSAxNTguNTAxIDgyLjUxNTMgMTU4LjY0M1oiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik05NS45MTY3IDY1Ljk4MTlIODAuNDIxMUM3OC4wMTY2IDY1Ljk4MTkgNzYuMTQ2NSA2Ny44NjYxIDc2LjE0NjUgNzAuMjg4NVY4Mi41MzU0Qzc2LjE0NjUgODQuODIzMyA3OC4wMTY2IDg2Ljg0MiA4MC40MjExIDg2Ljg0Mkg4Ni4xNjUyTDg4LjE2ODkgOTEuNjg2OUw5MC4xNzI2IDg2LjcwNzRIOTUuOTE2N0M5OC4xODc2IDg2LjcwNzQgMTAwLjE5MSA4NC44MjMzIDEwMC4xOTEgODIuNDAwOFY3MC4yODg1QzEwMC4wNTggNjcuODY2MSA5OC4xODc2IDY1Ljk4MTkgOTUuOTE2NyA2NS45ODE5WiIgZmlsbD0iIzQ2NDRCNSIvPgo8cGF0aCBkPSJNOTQuMTQ0IDcyLjQ1MDVDOTQuMDYxMiA3Mi4zNjY0IDkzLjk2MjcgNzIuMjk5NiA5My44NTQyIDcyLjI1NDFDOTMuNzQ1NyA3Mi4yMDg1IDkzLjYyOTMgNzIuMTg1MSA5My41MTE3IDcyLjE4NTFDOTMuMzk0MSA3Mi4xODUxIDkzLjI3NzcgNzIuMjA4NSA5My4xNjkyIDcyLjI1NDFDOTMuMDYwNyA3Mi4yOTk2IDkyLjk2MjIgNzIuMzY2NCA5Mi44Nzk0IDcyLjQ1MDVMODYuMjQ0OCA3OS4xNDM2TDgzLjQ1NzQgNzYuMzI2NEM4My4zNzE0IDc2LjI0MjcgODMuMjcgNzYuMTc3IDgzLjE1ODggNzYuMTMyOEM4My4wNDc2IDc2LjA4ODcgODIuOTI4OSA3Ni4wNjcgODIuODA5NCA3Ni4wNjkxQzgyLjY4OTkgNzYuMDcxMiA4Mi41NzIgNzYuMDk3IDgyLjQ2MjMgNzYuMTQ1QzgyLjM1MjcgNzYuMTkyOSA4Mi4yNTM2IDc2LjI2MjIgODIuMTcwNiA3Ni4zNDg4QzgyLjA4NzUgNzYuNDM1NCA4Mi4wMjIyIDc2LjUzNzcgODEuOTc4NCA3Ni42NDk3QzgxLjkzNDYgNzYuNzYxNyA4MS45MTMxIDc2Ljg4MTMgODEuOTE1MiA3Ny4wMDE3QzgxLjkxNzIgNzcuMTIyMSA4MS45NDI4IDc3LjI0MDkgODEuOTkwNSA3Ny4zNTEzQzgyLjAzODEgNzcuNDYxNyA4Mi4xMDY5IDc3LjU2MTYgODIuMTkyOCA3Ny42NDUzTDg1LjYxMjUgODEuMDkwNkM4NS42OTUzIDgxLjE3NDcgODUuNzkzOCA4MS4yNDE0IDg1LjkwMjMgODEuMjg3Qzg2LjAxMDkgODEuMzMyNSA4Ni4xMjczIDgxLjM1NiA4Ni4yNDQ4IDgxLjM1NkM4Ni4zNjI0IDgxLjM1NiA4Ni40Nzg4IDgxLjMzMjUgODYuNTg3MyA4MS4yODdDODYuNjk1OCA4MS4yNDE0IDg2Ljc5NDMgODEuMTc0NyA4Ni44NzcxIDgxLjA5MDZMOTQuMTQ0IDczLjc2OTNDOTQuMjM0NCA3My42ODUzIDk0LjMwNjUgNzMuNTgzNCA5NC4zNTU5IDczLjQ2OTlDOTQuNDA1MiA3My4zNTY0IDk0LjQzMDcgNzMuMjMzOCA5NC40MzA3IDczLjEwOTlDOTQuNDMwNyA3Mi45ODYgOTQuNDA1MiA3Mi44NjM0IDk0LjM1NTkgNzIuNzQ5OUM5NC4zMDY1IDcyLjYzNjQgOTQuMjM0NCA3Mi41MzQ1IDk0LjE0NCA3Mi40NTA1WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTEzMS4yNTUgMzkuMjE0MUMxMzQuNTI3IDQwLjU4MDcgMTMzLjg4OCA0NC4xMTc2IDEyOC40NjMgNTAuNjI4N0MxMjUuMTEyIDQ3LjczNDkgMTIzLjM1NiA0MS4yMjM3IDEyNS4xMTIgMzkuMDUzNEMxMjYuNzg3IDM3LjA0MzggMTI4LjM4MyAzOC4wODg4IDEzMS4yNTUgMzkuMjE0MVoiIGZpbGw9IiMyNjMyMzgiLz4KPHBhdGggZD0iTTEyNi4zODcgNTMuNzYzMkMxMjYuNzA2IDU0LjcyNzggMTI3LjAyNSA1NS41MzE2IDEyNy40MjQgNTYuMzM1NUMxMzAuNjE1IDYyLjkyNyAxMzkuODcxIDY0LjIxMzEgMTQzLjk0IDU3LjcwMkMxNDMuOTQgNTcuNzAyIDE0My45NCA1Ny43MDIgMTQ0LjAyIDU3LjYyMTZDMTQ2LjczMyA1My4yMDA1IDE0NS42OTUgNDkuMTgxMyAxNDQuNTc4IDQyLjAyNzFDMTQ0LjMzOSA0MC40OTk4IDE0My43OCAzOS4xMzMyIDE0Mi45MDMgMzcuODQ3MUMxMzkuNzkxIDMzLjQyNiAxMzMuODA3IDMyLjM4MSAxMjkuMzM5IDM1LjQzNTZDMTI0LjA3MyAzOS4yMTM2IDEyNC4zOTIgNDcuNjU0IDEyNi4zODcgNTMuNzYzMloiIGZpbGw9IiNGOTc3NzciLz4KPHBhdGggZD0iTTEzNC44NTQgNDcuNzkyNkMxMzUuMDE0IDQ4LjM1NTMgMTM0Ljc3NSA0OC45MTc5IDEzNC4zNzYgNDguOTk4M0MxMzMuOTc3IDQ5LjA3ODcgMTMzLjU3OCA0OC42NzY4IDEzMy40OTggNDguMTE0MUMxMzMuMzM4IDQ3LjU1MTUgMTMzLjU3OCA0Ni45ODg4IDEzMy44OTcgNDYuOTA4NEMxMzQuMjk2IDQ2LjgyODEgMTM0LjY5NSA0Ny4yMyAxMzQuODU0IDQ3Ljc5MjZaIiBmaWxsPSIjMjYzMjM4Ii8+CjxwYXRoIGQ9Ik0xMjguMzkzIDQ5LjIzOTRDMTI4LjU1MiA0OS44MDIgMTI4LjMxMyA1MC4zNjQ3IDEyNy45MTQgNTAuNDQ1MUMxMjcuNTE1IDUwLjUyNTQgMTI3LjExNiA1MC4xMjM1IDEyNy4wMzYgNDkuNTYwOUMxMjYuODc3IDQ4Ljk5ODIgMTI3LjExNiA0OC40MzU2IDEyNy41MTUgNDguMzU1MkMxMjcuOTE0IDQ4LjI3NDggMTI4LjMxMyA0OC42NzY3IDEyOC4zOTMgNDkuMjM5NFoiIGZpbGw9IiMyNjMyMzgiLz4KPHBhdGggZD0iTTEzMS42MjQgNDguOTQxN0MxMzEuMzA1IDUwLjg3MDcgMTMwLjgyNiA1Mi42MzkxIDEzMC4wMjggNTQuNDA3NEMxMzEuMjI1IDU1LjEzMDggMTMyLjgyMSA1NC4zMjcgMTMyLjgyMSA1NC4zMjdMMTMxLjYyNCA0OC45NDE3WiIgZmlsbD0iI0RFNTc1MyIvPgo8cGF0aCBkPSJNMTM2LjEyNCA0NS4yNzc2QzEzNi4yMDQgNDUuMjc3NiAxMzYuMjgzIDQ1LjE5NzMgMTM2LjM2MyA0NS4xOTczQzEzNi41MjMgNDUuMDM2NSAxMzYuNDQzIDQ0Ljg3NTcgMTM2LjM2MyA0NC43MTVDMTM1LjU2NSA0My45OTE2IDEzNC40NDggNDMuNjcwMSAxMzMuMzMxIDQzLjkxMTJDMTMzLjE3MiA0My45OTE2IDEzMy4wMTIgNDQuMTUyMyAxMzMuMDkyIDQ0LjMxMzFDMTMzLjE3MiA0NC40NzM5IDEzMy4zMzEgNDQuNTU0MiAxMzMuNDkxIDQ0LjU1NDJDMTM0LjM2OSA0NC4zOTM1IDEzNS4yNDYgNDQuNjM0NiAxMzUuODg0IDQ1LjE5NzNDMTM1Ljg4NCA0NS4yNzc2IDEzNi4wNDQgNDUuMjc3NiAxMzYuMTI0IDQ1LjI3NzZaIiBmaWxsPSIjMjYzMjM4Ii8+CjxwYXRoIGQ9Ik0xMjUuMzc4IDQ3LjY2NzVDMTI1LjUzNyA0Ny42Njc1IDEyNS42MTcgNDcuNTA2NyAxMjUuNjE3IDQ3LjQyNjRDMTI1Ljc3NyA0Ni41NDIyIDEyNi4zMzUgNDUuODE4OCAxMjcuMTMzIDQ1LjQ5NzNDMTI3LjI5MiA0NS40MTY5IDEyNy4zNzIgNDUuMjU2MSAxMjcuMzcyIDQ1LjA5NTRDMTI3LjI5MiA0NC45MzQ2IDEyNy4xMzMgNDQuODU0MiAxMjYuOTczIDQ0Ljg1NDJDMTI1LjkzNiA0NS4yNTYxIDEyNS4yMTggNDYuMjIwNyAxMjQuOTc5IDQ3LjI2NTZDMTI0Ljg5OSA0Ny40MjY0IDEyNS4wNTkgNDcuNjY3NSAxMjUuMjE4IDQ3LjY2NzVDMTI1LjI5OCA0Ny43NDc5IDEyNS4zNzggNDcuNzQ3OSAxMjUuMzc4IDQ3LjY2NzVaIiBmaWxsPSIjMjYzMjM4Ii8+CjxwYXRoIGQ9Ik0xNDAuNDMgMzYuNDgwOUMxMzcuMzk4IDM4LjMyOTggMTM4LjU5NCA0MS43ODYzIDE0NC45NzcgNDcuMzMyOEMxNDcuNzcgNDMuOTU2NiAxNDguNTY4IDM3LjIwNDQgMTQ2LjQ5MyAzNS40MzU5QzE0NC40MTkgMzMuNTg3MSAxNDMuMDYzIDM0Ljg3MzIgMTQwLjQzIDM2LjQ4MDlaIiBmaWxsPSIjMjYzMjM4Ii8+CjxwYXRoIGQ9Ik0xNDkuMTI2IDQ2Ljg1MUMxNDkuMDQ2IDQ4LjYxOTMgMTQ4LjE2OCA1MC4zMDczIDE0Ni44OTIgNTEuNTEzQzE0NS4xMzcgNTMuMTIwNSAxNDMuMjIyIDUxLjc1NDEgMTQyLjgyMyA0OS41MDM1QzE0Mi41MDQgNDcuNDk0IDE0My4wNjIgNDQuMjc4OSAxNDUuMjE2IDQzLjU1NTRDMTQ3LjQ1IDQyLjkxMjQgMTQ5LjI4NSA0NC42ODA4IDE0OS4xMjYgNDYuODUxWiIgZmlsbD0iI0Y5Nzc3NyIvPgo8cGF0aCBkPSJNMTM3LjIyIDU0LjA1MDNDMTM3LjIyIDU0LjA1MDMgMTM2LjUwMiA1Ni42MjI0IDEzMy4wNzEgNTcuMTg1MSIgc3Ryb2tlPSIjMjYzMjM4IiBzdHJva2Utd2lkdGg9IjAuOTI1Mzg4IiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMTI3LjI2NCAzNy41MjYxQzEyNy4yNjQgMzcuNTI2MSAxMjkuOTc3IDM2LjU2MTYgMTMzLjY0NyAzNi45NjM1QzEzMy42NDcgMzYuOTYzNSAxMzUuNDgyIDMzLjc0ODMgMTMwLjkzNCAzMy41ODc1QzEyNy43NDMgMzMuNDI2OCAxMjcuMTA1IDM1LjE5NTEgMTI3LjI2NCAzNy41MjYxWiIgZmlsbD0iIzI2MzIzOCIvPgo8cGF0aCBkPSJNMTI2LjgzMyA0NC4wMDQ0TDEyNC4xMzggNDQuMTc1NUMxMjQuMTM4IDQ0LjE3NTUgMTI0LjgzMyA0MC44NzM3IDEyMy44NTggMzguNzIzNEMxMjIuOTQyIDM2LjU1MTUgMTIxLjkyMyAzNS4wMjY5IDEyNi4xODUgMzMuNjA2MUMxMzAuNDQ4IDMyLjE4NTMgMTM0LjM1NCAzNS41Njg1IDEyNi44MzMgNDQuMDA0NFoiIGZpbGw9IiMyNjMyMzgiLz4KPHBhdGggZD0iTTE0MC41MzYgMzcuOTg2NUMxMzUuNjQyIDM4Ljk2MDQgMTI2LjY2NSAzOS4wNTM4IDEyNS42NTEgMzMuMDU2NEMxMjUuMDA3IDI5LjAyMzcgMTMxLjIwMyAyOC4xMTY1IDEzMy4xMTkgMjkuNTE3QzEzNS4wNTYgMzAuOTc3NCAxMzkuMTIxIDMyLjc0NDkgMTQyLjQ5NiAzMy4zNDE4QzE0NS44NzEgMzMuOTM4NiAxNDcuODE4IDM2LjU0NzIgMTQwLjUzNiAzNy45ODY1WiIgZmlsbD0iIzI2MzIzOCIvPgo8cGF0aCBkPSJNMTQxLjI5OCA0Ny4zOTVMMTM4LjYxNSA0Ny4yMjM0QzEzOC42MTUgNDcuMjIzNCAxMzkuNjkzIDQ0LjA1MjUgMTM5LjAxNSA0MS43OTM4QzEzOC4zMzcgMzkuNTM1MSAxMzcuNTM0IDM3Ljg2MzggMTQxLjkzMSAzNy4wMDM2QzE0Ni4zNjYgMzYuMDYxOCAxNDkuNzg1IDM5Ljk2MTMgMTQxLjI5OCA0Ny4zOTVaIiBmaWxsPSIjMjYzMjM4Ii8+Cjwvc3ZnPgo=";const Qfe={tagName:"l-search-topics",name:"LSearchTopics",components:{TopicItemGroup:vfe,RecentTermSearched:Nfe,SearchTopicsHeader:Tfe,[bp.name]:bp},props:{multipleTargets:{type:Boolean,default:!0},canSendForAll:{type:Boolean,default:!1},searchTopics:{type:Function},populateTopic:{type:Function},alreadySelectedTopics:{type:Array},recentTopicsSearched:{type:Object},selectedTopicKind:{type:String,default:"user"}},data:function(){return{forAllTagChecked:!1,showSelected:!1,selectedTopics:[],includesMap:{},querySearchTopics:{q:null,kind:"*",page:0},searchedTopics:{tag:{hits:[],total:0},group:{hits:[],total:0},member:{hits:[],total:0},user:{hits:[],total:0}},total:0,kinds:["*","tag","group","member","user"],kindsIcons:{tag:"uil-tag-alt",group:"uil-users-alt",member:"uil-graduation-cap",user:"uil-user","*":""},typing:!1,loading:!1,loadingMore:!1}},watch:{selectedTopics(e){(!e||e.length===0)&&(this.showSelected=!1)},querySearchTopics(){!this.typing&&!this.loadingMore&&(this.typing=!0),this.searchDebounced()}},computed:{canShowSendForAll(){return this.canSendForAll&&!this.hasQuery&&this.multipleTargets},searchingSpan(){var e;return this.querySearchTopics.q?this.querySearchTopics.q:this.querySearchTopics.kind==="*"?"":(e=this.getKindNamePlural(this.querySearchTopics.kind))==null?void 0:e.toLowerCase()},hasQuery(){return this.querySearchTopics.q||this.querySearchTopics.kind!=="*"},showRecentSearchedTopics(){return this.recentTopicsSearched.data?this.recentTopicsSearched.data.length>0&&!this.hasQuery:!1},filteredSearchedTopics(){return{...this.searchedTopics,tag:{hits:this.searchedTopics.tag.hits.filter(e=>e.id!=="*"),total:this.searchedTopics.tag.total}}},forAllTag:{get(){return this.forAllTagChecked},set(e){const t=this.searchedTopics.tag.hits;if(this.selectedTopics&&this.selectedTopics.length&&this.selectedTopics.find(r=>r.id!=="*")&&e!=="confirm"){this.showForAllTagAlert().then(r=>{if(!r){this.forAllTagChecked=!1;return}const o=t.find(a=>a.id==="*");this.setSelectedTopics([o]),this.forAllTagChecked=!0});return}if(e=!!e,e&&this.searchedTopics&&t){const r=t.find(o=>o.id==="*");this.setSelectedTopics([r])}else this.setSelectedTopics([]);this.forAllTagChecked=e}},recentTopicsFiltered(){return zn(this.recentTopicsSearched.data).reverse().slice(0,3)},topicsSummary(){if(!this.selectedTopics||!this.selectedTopics.length)return"";if(this.forAllTagChecked)return"Enviando para todos";const e=[];return this.kinds.filter(t=>t!=="*").forEach(t=>{var o,a;const r=T6(this.selectedTopics,{kind:t}).length;r===1?e.push(`1 ${(o=this.getKindName(t))==null?void 0:o.toLowerCase()}`):r>1&&e.push(`${r} ${(a=this.getKindNamePlural(t))==null?void 0:a.toLowerCase()}`)}),e.length?e.join(", "):null},hasAnySearchedTopic(){return this.total?this.total>0:null},headerKinds(){return this.kinds.filter(e=>e!=="tag"||this.canSendForAll).map(e=>({value:e,name:this.getKindNamePlural(e),icon:this.kindsIcons[e]}))},resultKinds(){return this.kinds.filter(t=>t!=="*").filter(t=>this.filteredSearchedTopics[t].total&&this.filteredSearchedTopics[t].hits.length)},totalLabel(){return this.total===1?"1 resultado encontrado":this.total+" resultados encontrados"},isAllEntities(){return this.querySearchTopics.kind==="*"}},async created(){this.loading=!0;try{const e=await this.searchTopics(this.querySearchTopics);this.searchedTopics=e.result,this.total=e.total}catch{this.$notify({...Cu.errorHandler("Erro ao carregar o público alvo."),duration:1e4,position:"bottom",showClose:!0})}finally{this.loading=!1}this.selectedTopics=this.alreadySelectedTopics,this.selectedTopics&&this.selectedTopics.length&&this.selectedTopics.find(e=>e.id==="*"&&e.kind==="tag")&&this.multipleTargets&&(this.forAllTag=!0)},unmounted(){this.setSelectedTopics([])},methods:{searchDebounced:vce(async function(){console.log(this.querySearchTopics),mt(this.querySearchTopics,"q.length",null)>3&&this.recentTopicsSearched.push(this.querySearchTopics.q),await this.getSearchedTopics(this.querySearchTopics),this.typing=!1},500,{leading:!1,trailing:!0}),useRecentTermSearched(e){this.setQuerySearchTopics({q:e,kind:"*"})},updateIncludesMap({topic:e,includes:t}){this.includesMap[e.id]=t},hasChildChecked(e){const t=this.includesMap[e.id];return t?t.some(this.isChecked)||t.some(this.hasChildChecked):!1},getKindName(e,t="pt-br"){return{"pt-br":{"*":"Procurar em tudo",tag:"Marcador",group:"Turma",member:"Aluno",user:"Usuário"},"en-us":{"*":"Search all",tag:"Tag",group:"Group",member:"Member",user:"User"}}[t][e]},getKindNamePlural(e,t="pt-br"){return{"pt-br":{"*":"Procurar em tudo",tag:"Marcadores",group:"Turmas",member:"Alunos",user:"Usuários"},"en-us":{"*":"Search all",tag:"Tags",group:"Groups",member:"Members",user:"Users"}}[t][e]},async getSearchedTopics(e){this.loadingMore||(this.loading=!0);try{const t=await this.searchTopics(e);if(e.page>0){const r=zn(this.searchedTopics);await Promise.all(Ene(t.result).map(o=>{r[o]||(r[o]={hits:[],total:null}),r[o].hits=[...r[o].hits,...t.result[o].hits]})),this.searchedTopics=r}else this.searchedTopics=t.result,this.total=t.total}catch{this.$notify({...Cu.errorHandler("Erro ao buscar o público desejado."),duration:1e4,position:"bottom",showClose:!0})}finally{this.loading=!1,this.loadingMore=!1}},loadMore(){this.loadingMore=!0;const e=mt(this.querySearchTopics,"page",0)+1,t=mt(this.querySearchTopics,"q",null),r=mt(this.querySearchTopics,"kind",null);this.setQuerySearchTopics({q:t,kind:r,page:e})},getTopicHits(e){return mt(this.filteredSearchedTopics,`${e}.hits`,[])},getTopicTotal(e){return mt(this.filteredSearchedTopics,`${e}.total`,[])},needShowMore(e){return this.getTopicTotal(e)>this.getTopicHits(e).length},isChecked(e){return this.forAllTagChecked?!0:this.selectedTopics.filter(t=>t.kind===e.kind&&t.id===e.id).length!==0},filterForKind(e){this.setQuerySearchTopics({q:this.querySearchTopics.q,kind:e,page:0})},setSelectedTopics(e){this.selectedTopics=e},removeFromRecentTopicsSearched(e){this.recentTopicsSearched.remove(e)},setQuerySearchTopics(e){this.querySearchTopics=e},async showForAllTagAlert(){const e=await Ufe({title:"Você já selecionou alguns destinatários e eles serão substituídos pela tag todos.",buttonCloseLabel:"Cancelar",buttonConfirmLabel:"Continuar"});if(e)return e},addTopic(e){if(this.selectedTopics.filter(r=>r.id===e.id&&r.kind===e.kind).length===0){const r=zn(this.selectedTopics);r.push(e),this.setSelectedTopics(r)}},removeTopic(e){const t=this.selectedTopics.findIndex(o=>o.id===e.id&&o.kind===e.kind);if(t==-1)return;const r=zn(this.selectedTopics);r.splice(t,1),this.setSelectedTopics(r)},updateSelectedTopics({topic:e,value:t}){if(!this.multipleTargets)return t?this.setSelectedTopics([e]):this.setSelectedTopics([]);if(!t){this.removeTopic(e);return}this.addTopic(e)},onSave(){const e=this.selectedTopics.map(t=>({hash:t.hash,name:t.name,kind:t.kind,id:t.id}));this.$emit("answer",e)},async onClose(){const e=zn(this.alreadySelectedTopics).map(a=>a.kind+a.id),t=zn(this.selectedTopics).map(a=>a.kind+a.id);if(Kce(t,e).length===0){this.$emit("close");return}await Hfe()&&this.$emit("close")},onInput(e){this.querySearchTopics=e}}},qfe={class:"search-topics-page l-col l-d-flex column"},Wfe={class:"px-0 py-2 l-container scroll-y l-flex-grow-1"},Gfe={key:0,class:"gray-70--text searching-label mx-3"},Kfe={key:1,class:"mb-5"},Zfe={key:0,class:"recent-search mb-3 mx-3"},Jfe={key:1,class:"topic-item-tag-for-all mx-3"},Xfe={key:2,class:"results-total mb-2 px-3"},epe={key:0,class:"topic-kind-title gray-70--text mb-2 px-3"},tpe={key:1,class:"m-3"},npe={key:2,class:"m-3"},rpe={key:2,style:{display:"flex","flex-direction":"column",height:"100%","align-items":"stretch"}},ope={key:0,class:"topic-item-tag-for-all empty-tags-groups-for-all mx-3"},ape={key:1,class:"empty-tags-groups-placeholder"},ipe={key:2,class:"not-found-result mx-3"},lpe={key:0,class:"selected-topics"},spe={class:"ml-2 topics-selected-summary l-flex link--text"},upe={class:"l-d-flex m-3 l-align-items-center"},cpe={class:"mx-3 mb-3"};function dpe(e,t,r,o,a,i){const l=n.resolveComponent("SearchTopicsHeader"),s=n.resolveComponent("RecentTermSearched"),u=n.resolveComponent("l-checkbox"),c=n.resolveComponent("TopicItemGroup"),d=n.resolveComponent("l-button"),f=n.resolveComponent("l-target-chip"),p=n.resolveComponent("van-action-sheet");return n.openBlock(),n.createElementBlock("div",qfe,[n.createVNode(l,{class:"drawer-search-topics-header",kinds:i.headerKinds,query:e.querySearchTopics,typing:e.typing,loading:e.loading,hasAnySelectedTopic:e.selectedTopics.length>0,onSave:i.onSave,onClose:i.onClose,"onUpdate:query":i.onInput},null,8,["kinds","query","typing","loading","hasAnySelectedTopic","onSave","onClose","onUpdate:query"]),n.createElementVNode("div",Wfe,[e.loading||e.typing?(n.openBlock(),n.createElementBlock("div",Gfe," Procurando "+n.toDisplayString(i.searchingSpan)+"... ",1)):i.hasAnySearchedTopic?(n.openBlock(),n.createElementBlock("div",Kfe,[i.showRecentSearchedTopics?(n.openBlock(),n.createElementBlock("div",Zfe,[t[7]||(t[7]=n.createElementVNode("div",{class:"recent-search-title gray-70--text mb-2 l-text-regular"}," Buscas recentes ",-1)),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.recentTopicsFiltered,(h,m)=>(n.openBlock(),n.createBlock(s,{onClick:g=>i.useRecentTermSearched(h),term:h,key:m,class:"mb-2 cursor-pointer",onRemove:g=>i.removeFromRecentTopicsSearched(h)},null,8,["onClick","term","onRemove"]))),128))])):n.createCommentVNode("",!0),i.canShowSendForAll?(n.openBlock(),n.createElementBlock("div",Jfe,[t[8]||(t[8]=n.createElementVNode("div",{class:"l-flex lead-light--text l-text-regular"}," Enviar para todos ",-1)),n.createVNode(u,{modelValue:i.forAllTag,"onUpdate:modelValue":t[0]||(t[0]=h=>i.forAllTag=h)},null,8,["modelValue"])])):n.createCommentVNode("",!0),e.total>=1&&i.hasQuery?(n.openBlock(),n.createElementBlock("div",Xfe,n.toDisplayString(i.totalLabel),1)):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.resultKinds,h=>(n.openBlock(),n.createElementBlock("div",{class:"topics-searched mb-3",key:h},[i.isAllEntities?(n.openBlock(),n.createElementBlock("h6",epe,n.toDisplayString(i.getKindNamePlural(h))+" ("+n.toDisplayString(i.getTopicTotal(h))+") ",1)):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.getTopicHits(h),m=>(n.openBlock(),n.createBlock(c,{onInput:t[1]||(t[1]=g=>i.updateSelectedTopics(g)),onIncludes:i.updateIncludesMap,propagateIncludes:i.updateIncludesMap,propagate:i.updateSelectedTopics,hasChildChecked:i.hasChildChecked,topic:m,selectedTopicKind:r.selectedTopicKind,parentTopic:m,populateTopic:r.populateTopic,disabled:e.forAllTagChecked,checked:i.isChecked(m),isCheckedFunction:i.isChecked,multipleTargets:r.multipleTargets,key:m.id},null,8,["onIncludes","propagateIncludes","propagate","hasChildChecked","topic","selectedTopicKind","parentTopic","populateTopic","disabled","checked","isCheckedFunction","multipleTargets"]))),128)),i.isAllEntities&&i.needShowMore(h)?(n.openBlock(),n.createElementBlock("div",tpe,[n.createVNode(d,{loading:e.loading,onClick:m=>i.filterForKind(h),plain:"",fill:""},{default:n.withCtx(()=>{var m;return[n.createTextVNode(" Mostrar mais "+n.toDisplayString((m=i.getKindNamePlural(h))==null?void 0:m.toLowerCase()),1)]}),_:2},1032,["loading","onClick"])])):n.createCommentVNode("",!0),!i.isAllEntities&&i.needShowMore(h)?(n.openBlock(),n.createElementBlock("div",npe,[n.createVNode(d,{class:"ma-3",loading:e.loadingMore,onClick:t[2]||(t[2]=m=>i.loadMore()),plain:"",fill:""},{default:n.withCtx(()=>t[9]||(t[9]=[n.createTextVNode(" Carregar mais ")])),_:1},8,["loading"])])):n.createCommentVNode("",!0)]))),128))])):(n.openBlock(),n.createElementBlock("div",rpe,[r.canSendForAll&&!this.hasQuery?(n.openBlock(),n.createElementBlock("div",ope,[t[10]||(t[10]=n.createElementVNode("div",{class:"l-flex lead-light--text l-text-regular"}," Enviar para todos ",-1)),n.createVNode(u,{modelValue:i.forAllTag,"onUpdate:modelValue":t[3]||(t[3]=h=>i.forAllTag=h)},null,8,["modelValue"])])):n.createCommentVNode("",!0),e.querySearchTopics.q?!e.typing&&!e.loading?(n.openBlock(),n.createElementBlock("div",ipe,t[12]||(t[12]=[n.createElementVNode("h4",{class:"bold lead--text m-0"},"Não encontramos resultados",-1),n.createElementVNode("p",{class:"lead-light--text l-text-regular mt-3 mb-0"}," Tenha certeza que você está digitando uma palavra-chave correta ",-1)]))):n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",ape,t[11]||(t[11]=[n.createElementVNode("img",{alt:"Search Topics",src:Yfe},null,-1),n.createElementVNode("div",{class:"empty-tags-groups-placeholder-text mt-2"},[n.createElementVNode("h3",null,"Busque por marcadores, turmas, alunos e usuários"),n.createElementVNode("span",{class:"text-small lead-light--text"}," Quando você tiver marcadores e turmas, eles aparecerão aqui. ")],-1)])))]))]),e.selectedTopics&&e.selectedTopics.length?(n.openBlock(),n.createElementBlock("div",lpe,[n.createElementVNode("button",{class:"selected-topics-button l-d-flex l-align-items-center",style:{padding:"0"},onClick:t[4]||(t[4]=h=>e.forAllTagChecked?i.forAllTag=!1:e.showSelected=!0)},[t[13]||(t[13]=n.createElementVNode("div",{class:"selected-topics-button-bg"},null,-1)),n.createElementVNode("div",spe,n.toDisplayString(i.topicsSummary),1),n.createVNode(d,{class:"mr-2 bold link--text",type:"text"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(e.forAllTagChecked?"Limpar":"ver tudo"),1)]),_:1})]),n.createVNode(p,{show:e.showSelected,"onUpdate:show":t[6]||(t[6]=h=>e.showSelected=h),"lock-scroll":"",style:{"max-height":"500px","min-height":"180px"}},{default:n.withCtx(()=>[n.createElementVNode("div",upe,[t[14]||(t[14]=n.createElementVNode("div",{class:"l-flex lead-light--text l-text-regular"}," Destinatários selecionados ",-1)),n.createVNode(d,{onClick:t[5]||(t[5]=h=>e.showSelected=!1),circle:"",icon:"uil-multiply",class:"border-none gray-70--text f-24 p-1"})]),n.createElementVNode("div",cpe,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.selectedTopics,h=>(n.openBlock(),n.createBlock(f,{onRemove:m=>i.removeTopic(h),key:h.id,kind:h.kind,name:h.name,closeable:!0,class:"mr-2 mb-2"},null,8,["onRemove","kind","name"]))),128))])]),_:1},8,["show"])])):n.createCommentVNode("",!0)])}const fpe=ge(Qfe,[["render",dpe],["__scopeId","data-v-27e3684d"]]),ppe=Object.freeze(Object.defineProperty({__proto__:null,default:fpe},Symbol.toStringTag,{value:"Module"}));const mpe={name:"LSwitch",components:{ElSwitch:HZ},props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],methods:{onUpdateModelValue(e){this.$emit("update:modelValue",e)}}};function hpe(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("el-switch");return n.openBlock(),n.createBlock(s,n.mergeProps(e.$attrs,{"model-value":r.modelValue,"onUpdate:modelValue":i.onUpdateModelValue,class:"l-switch"}),{"active-action":n.withCtx(()=>[n.createVNode(l,null,{default:n.withCtx(()=>t[0]||(t[0]=[n.createTextVNode("uil-check")])),_:1})]),"inactive-action":n.withCtx(()=>[n.createVNode(l,null,{default:n.withCtx(()=>t[1]||(t[1]=[n.createTextVNode("uil-times")])),_:1})]),default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16,["model-value","onUpdate:modelValue"])}const gpe=ge(mpe,[["render",hpe],["__scopeId","data-v-e8ddf878"]]),vpe=Object.freeze(Object.defineProperty({__proto__:null,default:gpe},Symbol.toStringTag,{value:"Module"}));/*!
43
+ * mustache.js - Logic-less {{mustache}} templates with JavaScript
44
+ * http://github.com/janl/mustache.js
45
+ */var ype=Object.prototype.toString,Li=Array.isArray||function(t){return ype.call(t)==="[object Array]"};function Am(e){return typeof e=="function"}function Mpe(e){return Li(e)?"array":typeof e}function Yd(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function Tg(e,t){return e!=null&&typeof e=="object"&&t in e}function _pe(e,t){return e!=null&&typeof e!="object"&&e.hasOwnProperty&&e.hasOwnProperty(t)}var bpe=RegExp.prototype.test;function Npe(e,t){return bpe.call(e,t)}var wpe=/\S/;function kpe(e){return!Npe(wpe,e)}var Cpe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function xpe(e){return String(e).replace(/[&<>"'`=\/]/g,function(r){return Cpe[r]})}var Epe=/\s*/,Tpe=/\s+/,Dg=/\s*=/,Dpe=/\s*\}/,Spe=/#|\^|\/|>|\{|&|=|!/;function Ipe(e,t){if(!e)return[];var r=!1,o=[],a=[],i=[],l=!1,s=!1,u="",c=0;function d(){if(l&&!s)for(;i.length;)delete a[i.pop()];else i=[];l=!1,s=!1}var f,p,h;function m(T){if(typeof T=="string"&&(T=T.split(Tpe,2)),!Li(T)||T.length!==2)throw new Error("Invalid tags: "+T);f=new RegExp(Yd(T[0])+"\\s*"),p=new RegExp("\\s*"+Yd(T[1])),h=new RegExp("\\s*"+Yd("}"+T[1]))}m(t||Qn.tags);for(var g=new is(e),y,v,_,b,M,N;!g.eos();){if(y=g.pos,_=g.scanUntil(f),_)for(var w=0,x=_.length;w<x;++w)b=_.charAt(w),kpe(b)?(i.push(a.length),u+=b):(s=!0,r=!0,u+=" "),a.push(["text",b,y,y+1]),y+=1,b===`
46
+ `&&(d(),u="",c=0,r=!1);if(!g.scan(f))break;if(l=!0,v=g.scan(Spe)||"name",g.scan(Epe),v==="="?(_=g.scanUntil(Dg),g.scan(Dg),g.scanUntil(p)):v==="{"?(_=g.scanUntil(h),g.scan(Dpe),g.scanUntil(p),v="&"):_=g.scanUntil(p),!g.scan(p))throw new Error("Unclosed tag at "+g.pos);if(v==">"?M=[v,_,y,g.pos,u,c,r]:M=[v,_,y,g.pos],c++,a.push(M),v==="#"||v==="^")o.push(M);else if(v==="/"){if(N=o.pop(),!N)throw new Error('Unopened section "'+_+'" at '+y);if(N[1]!==_)throw new Error('Unclosed section "'+N[1]+'" at '+y)}else v==="name"||v==="{"||v==="&"?s=!0:v==="="&&m(_)}if(d(),N=o.pop(),N)throw new Error('Unclosed section "'+N[1]+'" at '+g.pos);return zpe(Ape(a))}function Ape(e){for(var t=[],r,o,a=0,i=e.length;a<i;++a)r=e[a],r&&(r[0]==="text"&&o&&o[0]==="text"?(o[1]+=r[1],o[3]=r[3]):(t.push(r),o=r));return t}function zpe(e){for(var t=[],r=t,o=[],a,i,l=0,s=e.length;l<s;++l)switch(a=e[l],a[0]){case"#":case"^":r.push(a),o.push(a),r=a[4]=[];break;case"/":i=o.pop(),i[5]=a[2],r=o.length>0?o[o.length-1][4]:t;break;default:r.push(a)}return t}function is(e){this.string=e,this.tail=e,this.pos=0}is.prototype.eos=function(){return this.tail===""};is.prototype.scan=function(t){var r=this.tail.match(t);if(!r||r.index!==0)return"";var o=r[0];return this.tail=this.tail.substring(o.length),this.pos+=o.length,o};is.prototype.scanUntil=function(t){var r=this.tail.search(t),o;switch(r){case-1:o=this.tail,this.tail="";break;case 0:o="";break;default:o=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=o.length,o};function mi(e,t){this.view=e,this.cache={".":this.view},this.parent=t}mi.prototype.push=function(t){return new mi(t,this)};mi.prototype.lookup=function(t){var r=this.cache,o;if(r.hasOwnProperty(t))o=r[t];else{for(var a=this,i,l,s,u=!1;a;){if(t.indexOf(".")>0)for(i=a.view,l=t.split("."),s=0;i!=null&&s<l.length;)s===l.length-1&&(u=Tg(i,l[s])||_pe(i,l[s])),i=i[l[s++]];else i=a.view[t],u=Tg(a.view,t);if(u){o=i;break}a=a.parent}r[t]=o}return Am(o)&&(o=o.call(this.view)),o};function nn(){this.templateCache={_cache:{},set:function(t,r){this._cache[t]=r},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}nn.prototype.clearCache=function(){typeof this.templateCache<"u"&&this.templateCache.clear()};nn.prototype.parse=function(t,r){var o=this.templateCache,a=t+":"+(r||Qn.tags).join(":"),i=typeof o<"u",l=i?o.get(a):void 0;return l==null&&(l=Ipe(t,r),i&&o.set(a,l)),l};nn.prototype.render=function(t,r,o,a){var i=this.getConfigTags(a),l=this.parse(t,i),s=r instanceof mi?r:new mi(r,void 0);return this.renderTokens(l,s,o,t,a)};nn.prototype.renderTokens=function(t,r,o,a,i){for(var l="",s,u,c,d=0,f=t.length;d<f;++d)c=void 0,s=t[d],u=s[0],u==="#"?c=this.renderSection(s,r,o,a,i):u==="^"?c=this.renderInverted(s,r,o,a,i):u===">"?c=this.renderPartial(s,r,o,i):u==="&"?c=this.unescapedValue(s,r):u==="name"?c=this.escapedValue(s,r,i):u==="text"&&(c=this.rawValue(s)),c!==void 0&&(l+=c);return l};nn.prototype.renderSection=function(t,r,o,a,i){var l=this,s="",u=r.lookup(t[1]);function c(p){return l.render(p,r,o,i)}if(u){if(Li(u))for(var d=0,f=u.length;d<f;++d)s+=this.renderTokens(t[4],r.push(u[d]),o,a,i);else if(typeof u=="object"||typeof u=="string"||typeof u=="number")s+=this.renderTokens(t[4],r.push(u),o,a,i);else if(Am(u)){if(typeof a!="string")throw new Error("Cannot use higher-order sections without the original template");u=u.call(r.view,a.slice(t[3],t[5]),c),u!=null&&(s+=u)}else s+=this.renderTokens(t[4],r,o,a,i);return s}};nn.prototype.renderInverted=function(t,r,o,a,i){var l=r.lookup(t[1]);if(!l||Li(l)&&l.length===0)return this.renderTokens(t[4],r,o,a,i)};nn.prototype.indentPartial=function(t,r,o){for(var a=r.replace(/[^ \t]/g,""),i=t.split(`
47
+ `),l=0;l<i.length;l++)i[l].length&&(l>0||!o)&&(i[l]=a+i[l]);return i.join(`
48
+ `)};nn.prototype.renderPartial=function(t,r,o,a){if(o){var i=this.getConfigTags(a),l=Am(o)?o(t[1]):o[t[1]];if(l!=null){var s=t[6],u=t[5],c=t[4],d=l;u==0&&c&&(d=this.indentPartial(l,c,s));var f=this.parse(d,i);return this.renderTokens(f,r,o,d,a)}}};nn.prototype.unescapedValue=function(t,r){var o=r.lookup(t[1]);if(o!=null)return o};nn.prototype.escapedValue=function(t,r,o){var a=this.getConfigEscape(o)||Qn.escape,i=r.lookup(t[1]);if(i!=null)return typeof i=="number"&&a===Qn.escape?String(i):a(i)};nn.prototype.rawValue=function(t){return t[1]};nn.prototype.getConfigTags=function(t){return Li(t)?t:t&&typeof t=="object"?t.tags:void 0};nn.prototype.getConfigEscape=function(t){if(t&&typeof t=="object"&&!Li(t))return t.escape};var Qn={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){Il.templateCache=e},get templateCache(){return Il.templateCache}},Il=new nn;Qn.clearCache=function(){return Il.clearCache()};Qn.parse=function(t,r){return Il.parse(t,r)};Qn.render=function(t,r,o,a){if(typeof t!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+Mpe(t)+'" was given as the first argument for mustache#render(template, view, partials)');return Il.render(t,r,o,a)};Qn.escape=xpe;Qn.Scanner=is;Qn.Context=mi;Qn.Writer=nn;const Ope={props:["value","schema","entity"],methods:{hasRouterLink(){return mt(this.schema,"options.routerLink")},getRouterLink(){const e=mt(this.schema,"options.routerLink");return Qn.render(e,this.entity)}}},jpe={key:1};function Lpe(e,t,r,o,a,i){const l=n.resolveComponent("router-link");return e.$options.methods.hasRouterLink(e.props)?(n.openBlock(),n.createBlock(l,{key:0,to:e.$options.methods.getRouterLink(e.props)},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(r.value),1)]),_:1},8,["to"])):(n.openBlock(),n.createElementBlock("span",jpe,n.toDisplayString(r.value),1))}const Bpe=ge(Ope,[["render",Lpe]]),Vpe={props:["value","schema"],methods:{formatValue(e){return e}}};function $pe(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("span",null,n.toDisplayString(e.$options.methods.formatValue(r.value)),1)}const Ppe=ge(Vpe,[["render",$pe]]),Rpe={props:["value","schema"],methods:{formatValue(e){return isNaN(e)||e===null||e===void 0?"-":Number(e/100).toLocaleString("pt-BR",{style:"currency",currency:"BRL"})}}};function Fpe(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("span",null,n.toDisplayString(e.$options.methods.formatValue(r.value)),1)}const Upe=ge(Rpe,[["render",Fpe]]),Hpe={props:["value","schema"]},Ype=["href"];function Qpe(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("a",{target:"_blank",href:`mailto:${r.value}`},n.toDisplayString(r.value),9,Ype)}const qpe=ge(Hpe,[["render",Qpe]]),Wpe={props:["value","schema"],methods:{formatValue(e,t){if(!e)return"-";const r=mt(t,"options.format","dd/MM/yyyy hh:mm:ss");return pe(e).format(r)}}};function Gpe(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("span",null,n.toDisplayString(e.$options.methods.formatValue(r.value,r.schema)),1)}const Kpe=ge(Wpe,[["render",Gpe]]),K6={};K6.register=function(){ln.register({type:"String"},"default",Bpe),ln.register({type:"Date"},"default",Kpe),ln.register({type:"Number"},"default",Ppe),ln.register({format:"Amount"},"default",Upe),ln.register({format:"Email"},"default",qpe)};const Zpe={props:{perPage:Number,pagesCount:Number,totalCount:Number,columnSpecs:{type:Array},includedIds:{type:Array},excludedIds:{type:Array},selectable:Boolean,clickable:Boolean,multiselect:Boolean,page:Object},data(e){return{checked:this.computeChecked(e)}},emits:["selected","click-item"],computed:{includedAll(){return this.includedIds.toString()==="*"},estimatedRows(){return this.page&&this.pagesCount>1&&this.page.index>=this.pagesCount-1?this.totalCount%this.perPage:this.perPage}},methods:{getColumnComponent(e){return e.component},getColumnValue(e,t){return mt(e,t.path)},computeChecked(e){const t=e||this;if(!t.page||!t.page.data)return[];let r=t.includedIds,o=t.excludedIds,a=t.includedAll;return t.page.data.map(i=>a&&!o.includes(i.id)||r.includes(i.id))}},watch:{includedAll(){this.checked=this.computeChecked(this)},includedIds(){this.checked=this.computeChecked(this)},excludedIds(){this.checked=this.computeChecked(this)}}},Jpe={class:"l-table-tbody"},Xpe={key:"selector",class:"l-table-cell l-table-column-selector"},e0e=["onClick"],t0e={key:"selector",class:"l-table-cell l-table-column-selector"},n0e={key:"selector",class:"l-table-cell l-table-column-selector"};function r0e(e,t,r,o,a,i){const l=n.resolveComponent("l-checkbox");return n.openBlock(),n.createElementBlock("tbody",Jpe,[r.page&&r.page.loaded?(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:0},n.renderList(r.page.data,(s,u)=>(n.openBlock(),n.createElementBlock("tr",{key:u,class:n.normalizeClass({"l-table-selected":a.checked[u]})},[r.selectable?(n.openBlock(),n.createElementBlock("td",Xpe,[n.createVNode(l,{modelValue:a.checked[u],"onUpdate:modelValue":c=>a.checked[u]=c,class:"l-table-selector",type:r.multiselect?"checkbox":"radio",onChange:()=>e.$emit("selected",{key:s.id,selected:a.checked[u]})},null,8,["modelValue","onUpdate:modelValue","type","onChange"])])):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.columnSpecs,(c,d)=>(n.openBlock(),n.createElementBlock("td",{key:d,class:n.normalizeClass(["l-table-cell",`align-${c.align}${r.clickable?" cursor-pointer":""}`]),onClick:f=>e.$emit("click-item",s)},[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(i.getColumnComponent(c)),{value:i.getColumnValue(s,c),schema:c,entity:s},null,8,["value","schema","entity"]))],10,e0e))),128))],2))),128)):r.page&&r.page.loading?(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:1},n.renderList(i.estimatedRows,(s,u)=>(n.openBlock(),n.createElementBlock("tr",{key:u},[r.selectable?(n.openBlock(),n.createElementBlock("td",t0e,[n.createVNode(l,{disabled:"",class:"l-table-selector",type:r.multiselect?"checkbox":"radio",value:i.includedAll},null,8,["type","value"])])):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.columnSpecs,(c,d)=>(n.openBlock(),n.createElementBlock("td",{key:d,class:n.normalizeClass(["l-table-cell",`align-${c.align}`])},t[0]||(t[0]=[n.createElementVNode("span",{class:"l-table-skeleton"},null,-1)]),2))),128))]))),128)):(n.openBlock(!0),n.createElementBlock(n.Fragment,{key:2},n.renderList(i.estimatedRows,(s,u)=>(n.openBlock(),n.createElementBlock("tr",{key:u},[r.selectable?(n.openBlock(),n.createElementBlock("td",n0e,[n.createVNode(l,{disabled:"",class:"l-table-selector",type:r.multiselect?"checkbox":"radio",checked:i.includedAll},null,8,["type","checked"])])):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.columnSpecs,(c,d)=>(n.openBlock(),n.createElementBlock("td",{key:d,class:n.normalizeClass(["l-table-cell",`align-${c.align}`])},t[1]||(t[1]=[n.createElementVNode("span",{class:"l-table-skeleton error"},null,-1)]),2))),128))]))),128))])}const o0e=ge(Zpe,[["render",r0e]]);const a0e={props:{title:String,maxWidth:{type:Number,default:null},minWidth:{type:Number,default:50}},data(){return{dragging:!1,deltaX:0}},computed:{handleStyle(){return this.dragging?{transform:`translateX(${this.deltaX}px)`}:null}},methods:{currentWidth(){return this.$el.parentElement.getBoundingClientRect().width},limitDeltaX(e){let t=this.currentWidth();return this.limitWidth(t+e)-t},limitWidth(e){return e?this.maxWidth&&this.maxWidth<e?this.maxWidth:this.minWidth&&this.minWidth>e?this.minWidth:e:null},resize(e){this.$emit("resize",this.limitWidth(e))},drag(e){this.dragging||this.unregisterDocumentHandlers();let t=e.clientX-this.dragStartClientX;this.deltaX=this.limitDeltaX(t),console.log("drag",this.deltaX)},dragStart(e){this.registerDocumentHandlers(),this.deltaX=0,this.dragging=!0,this.dragStartClientX=e.clientX,console.log("dragStart",e)},dragEnd(e){if(this.deltaX){let t=this.currentWidth()+this.deltaX;this.resize(t)}this.unregisterDocumentHandlers(),this.deltaX=0,this.dragging=!1,this.dragStartClientX=0,console.log("dragEnd",e)},registerDocumentHandlers(){this.unregisterDocumentHandlers(),this._documentMouseMove=e=>this.drag(e),this._documentMouseUp=e=>this.dragEnd(e),document.body.style.cursor="col-resize",document.addEventListener("mousemove",this._documentMouseMove),document.addEventListener("mouseup",this._documentMouseUp),document.onselectstart=()=>!1,document.ondragstart=()=>!1},unregisterDocumentHandlers(){document.removeEventListener("mousemove",this._documentMouseMove),document.removeEventListener("mouseup",this._documentMouseUp),document.body.style.cursor="",document.onselectstart=null,document.ondragstart=null}}};function i0e(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["mt-handle",a.dragging?"dragging":""]),style:n.normalizeStyle(i.handleStyle),onDblclick:t[0]||(t[0]=l=>i.resize(null)),onMousedown:t[1]||(t[1]=(...l)=>i.dragStart&&i.dragStart(...l))},null,38)}const l0e=ge(a0e,[["render",i0e]]);const s0e={components:{LTableHeaderResizer:l0e},props:{spec:{type:Object}},emits:["spec:update"],data:e=>({localSpec:e.spec}),computed:{resizable(){return this.localSpec.field&&this.localSpec.field.resizable},reordable(){return!0},icon(){return this.$L.Icons.get(this.localSpec.field)}},methods:{resizeColumn(e,t){e.width=t},toggleSorting(e){let t=this.localSpec.column.sortDirection,r="asc";t?t.toLowerCase()==="asc"&&(r="desc"):r="asc",this.$emit("sort",{direction:r,cumulative:e})}},watch:{localSpec:{handler(e){this.$emit("spec:update",e)},deep:!0}}},u0e={key:1,class:"l-table-header-cell-content"};function c0e(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("l-tooltip"),u=n.resolveComponent("LTableHeaderResizer");return n.openBlock(),n.createElementBlock("th",{class:"l-table-header-cell l-table-cell",style:n.normalizeStyle({"--l-table-col-width":r.spec.column.width?`${r.spec.column.width}px`:"auto"})},[r.spec.sortable?(n.openBlock(),n.createElementBlock("a",{key:0,href:"#",class:n.normalizeClass(["l-table-header-cell-content",[r.spec.column.sortDirection?"active":null,`l-table-header-align-${r.spec.align}`]]),onClick:t[0]||(t[0]=n.withModifiers(c=>i.toggleSorting(),["prevent"]))},[n.createVNode(s,{key:"tooltip",disabled:!r.spec.description,content:r.spec.description,placement:"top","open-delay":600,offset:0},{default:n.withCtx(()=>[n.createElementVNode("span",null,[i.icon?(n.openBlock(),n.createBlock(l,{key:0,class:"l-table-header-icon"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(i.icon),1)]),_:1})):n.createCommentVNode("",!0),n.createTextVNode("   "+n.toDisplayString(r.spec.title),1)])]),_:1},8,["disabled","content"]),n.createElementVNode("i",{class:n.normalizeClass(["l-table-sorter-icon uil uil-arrow-down",`l-table-sorter-${r.spec.column.sortDirection||"default"}`])},null,2)],2)):(n.openBlock(),n.createElementBlock("span",u0e,[n.createVNode(s,{disabled:!r.spec.description,content:r.spec.description,placement:"top","open-delay":600,offset:0},{default:n.withCtx(()=>[n.createElementVNode("span",null,[i.icon?(n.openBlock(),n.createBlock(l,{key:0,class:"l-table-header-icon"},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(i.icon),1)]),_:1})):n.createCommentVNode("",!0),n.createTextVNode("   "+n.toDisplayString(r.spec.title),1)])]),_:1},8,["disabled","content"])])),t[2]||(t[2]=n.createElementVNode("span",{style:{width:"12px"}},null,-1)),i.resizable?(n.openBlock(),n.createBlock(u,{key:2,onResize:t[1]||(t[1]=c=>i.resizeColumn(r.spec.column,c))})):n.createCommentVNode("",!0)],4)}const d0e=ge(s0e,[["render",c0e]]);const f0e={props:["loading"]};function p0e(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["l-table-header-loader",{loading:r.loading}])},null,2)}const m0e=ge(f0e,[["render",p0e]]);const h0e={components:{LTableHeaderCell:d0e,LTableHeaderLoader:m0e},props:{columnSpecs:{type:Array},loading:{type:Boolean,default:!1},includedIds:{type:Array},excludedIds:{type:Array},total:{type:Number},selectable:{type:Boolean},multiselect:{type:Boolean}},data:e=>({localColumnSpecs:e.columnSpecs}),emits:["columnSpecs:update","selected"],computed:{selectedEverything(){let e=this.includedIds.length===this.total&&this.total>0,t=this.includedIds.toString()==="*"&&this.excludedIds.length==0;return e||t},selectedNothing(){return this.includedIds.length===0},selectedSomethings(){return!this.selectedNothing&&!this.selectedEverything}},methods:{changeSpecSort(e,{direction:t,cumulative:r}){if(console.log("changeSpecSort",e,t,r),r){let a=this.localColumnSpecs.reduce((i,l)=>Math.max(i,l.column.sortOrder),0)+1;e.column.sortOrder=a,e.column.sortDirection=t}else{for(let o of this.localColumnSpecs)o.column.sortOrder=null,o.column.sortDirection=null;e.column.sortOrder=1,e.column.sortDirection=t}},syncSpec(e){let t=this.localColumnSpecs.findIndex(r=>r.field===e.field);this.localColumnSpecs.splice(t,1,e)},changeSelection(e){this.$emit("selected",{key:"*",selected:e})}},watch:{localColumnSpecs:{handler(e){console.log("localColumnSpecs",e),this.$emit("columnSpecs:update",e)},deep:!0}}},g0e={class:"l-table-header"},v0e={key:0,scope:"col",class:"l-table-header-cell l-table-cell l-table-column-selector"},y0e={class:"l-table-header-extras"},M0e={colspan:"999"};function _0e(e,t,r,o,a,i){const l=n.resolveComponent("l-checkbox"),s=n.resolveComponent("LTableHeaderCell"),u=n.resolveComponent("LTableHeaderLoader");return n.openBlock(),n.createElementBlock("thead",g0e,[n.createElementVNode("tr",null,[r.selectable?(n.openBlock(),n.createElementBlock("th",v0e,[r.multiselect?(n.openBlock(),n.createBlock(l,{key:0,class:"l-table-selector",type:"checkbox",value:i.selectedEverything,indeterminate:i.selectedSomethings,onChange:t[0]||(t[0]=c=>i.changeSelection(c))},null,8,["value","indeterminate"])):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(e.localColumnSpecs,(c,d)=>(n.openBlock(),n.createBlock(s,{key:d,spec:c,"onSpec:update":i.syncSpec,onSort:f=>i.changeSpecSort(c,f),ref_for:!0,ref:"headers"},null,8,["spec","onSpec:update","onSort"]))),128))]),n.createElementVNode("tr",y0e,[n.createElementVNode("td",M0e,[n.createVNode(u,{loading:r.loading},null,8,["loading"]),t[1]||(t[1]=n.createElementVNode("div",{class:"l-table-header-shadow-top"},null,-1))])])])}const b0e=ge(h0e,[["render",_0e]]);const N0e={},w0e={class:"l-table-endspace"};function k0e(e,t){return n.openBlock(),n.createElementBlock("div",w0e)}const C0e=ge(N0e,[["render",k0e]]);const x0e={props:{loading:Boolean,automatic:Boolean},mounted(){this.intersectionObserver=new IntersectionObserver(([e])=>{e&&e.isIntersecting&&this.automatic&&this.$emit("appeared")}),this.intersectionObserver.observe(this.$el)},unmounted(){this.intersectionObserver&&this.intersectionObserver.disconnect()}};function E0e(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["l-table-loadmore",{loading:r.loading}]),onClick:t[0]||(t[0]=l=>e.$emit("click"))},t[1]||(t[1]=[n.createElementVNode("a",{href:"#",class:"l-table-loadmore-link"},"Carregar mais",-1)]),2)}const T0e=ge(x0e,[["render",E0e]]);const D0e=2e3,S0e={name:"LTableReloader",data(){return{canReload:!0}},methods:{reload(){this.canReload=!1,this.$emit("reload"),setTimeout(()=>this.canReload=!0,D0e)}}},I0e={class:"l-table-reloader"},A0e={class:"l-table-reloader-content"};function z0e(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("l-button");return n.openBlock(),n.createElementBlock("div",I0e,[n.createElementVNode("div",A0e,[n.createVNode(l,{size:"22"},{default:n.withCtx(()=>t[1]||(t[1]=[n.createTextVNode("uil-cloud-exclamation")])),_:1}),t[3]||(t[3]=n.createElementVNode("span",{style:{"margin-left":"8px",flex:"1 1"}},"Algumas informações não puderam ser carregadas.",-1)),n.createVNode(s,{size:"mini",onClick:t[0]||(t[0]=u=>i.reload())},{default:n.withCtx(()=>t[2]||(t[2]=[n.createTextVNode("Recarregar")])),_:1})])])}const O0e=ge(S0e,[["render",z0e]]);const j0e={props:{height:{type:Number}}},L0e={class:"l-table-spacer"};function B0e(e,t,r,o,a,i){return n.openBlock(),n.createElementBlock("tbody",L0e,[n.createElementVNode("tr",{style:n.normalizeStyle({height:`${r.height}px`})},t[0]||(t[0]=[n.createElementVNode("td",{class:"l-table-spacer-bg",colspan:"999"},null,-1)]),4)])}const V0e=ge(j0e,[["render",B0e]]);var $0e=j6;function P0e(e){var t=e==null?0:e.length;return t?$0e(e,1):[]}var R0e=P0e;const F0e=yt(R0e);function U0e(){}var H0e=U0e,Qd=g6,Y0e=H0e,Q0e=km,q0e=1/0,W0e=Qd&&1/Q0e(new Qd([,-0]))[1]==q0e?function(e){return new Qd(e)}:Y0e,G0e=W0e,K0e=Nm,Z0e=A6,J0e=z6,X0e=wm,eme=G0e,tme=km,nme=200;function rme(e,t,r){var o=-1,a=Z0e,i=e.length,l=!0,s=[],u=s;if(r)l=!1,a=J0e;else if(i>=nme){var c=t?null:eme(e);if(c)return tme(c);l=!1,a=X0e,u=new K0e}else u=t?[]:s;e:for(;++o<i;){var d=e[o],f=t?t(d):d;if(d=r||d!==0?d:0,l&&f===f){for(var p=u.length;p--;)if(u[p]===f)continue e;t&&u.push(f),s.push(d)}else a(u,f,r)||(u!==s&&u.push(f),s.push(d))}return s}var ome=rme,ame=ome;function ime(e){return e&&e.length?ame(e):[]}var lme=ime;const sme=yt(lme);function ume({key:e,selected:t},r){let{loadedPages:o,allowInvertedSelection:a,includedIds:i,excludedIds:l,multiselect:s,itemToId:u=h=>h}=r;if(!e===void 0||e===null)return{includedIds:i,excludedIds:l};if(e==="*"){if(i.splice(0,i.length),l.splice(0,l.length),t&&s&&a&&i.push("*"),t&&s&&!a){let h=F0e(o.filter(g=>g.data).map(g=>g.data));i=sme(h.map(g=>u(g)))}return{includedIds:i,excludedIds:l}}let d=i.includes("*"),f=i.includes(e),p=l.includes(e);if(s||(i.splice(0,i.length),l.splice(0,l.length)),d&&s){if(t&&p){let h=l.indexOf(e);l.splice(h,1)}!t&&!p&&s&&l.push(e)}else if(t&&!f&&(s?i.push(e):i=[e]),!t&&f){let h=i.indexOf(e);i.splice(h,1)}return{includedIds:i,excludedIds:l}}function cme({pagesCount:e,currentPage:t,endingAdjacents:r=1,adjacents:o=2,next:a=!0,previous:i=!0,last:l=!1,first:s=!1,fixedWidth:u=!0}){const c=[];if(!e)return c;const d=u?r*2+o*2+3:r*2+1;if(e<=d)for(let f=0;f<e;f++)c.push(f);else{let f=0;for(let g=0;g<Math.min(r,e);g++)c.push(f=g);let p=r+o*2,h=o,m=o;u&&t<p&&(m+=p-t),u&&e-t-1<p&&(h+=p-(e-t-1));for(let g=Math.max(f+1,t-h);g<Math.min(t+m+1,e);g++)f+2===g&&c.push(f=f+1),f+1!==g&&c.push("...1"),c.push(f=g);for(let g=Math.max(f+1,e-r);g<e;g++)f+2===g&&c.push(f=f+1),f+1!==g&&c.push("...2"),c.push(f=g)}return i&&c.unshift("<"),a&&c.push(">"),s&&c.unshift("<<"),l&&c.push(">>"),c}const dme={name:"LTablePagination",props:{pagesCount:Number,totalCount:Number,currentPage:{type:Number,default:2}},computed:{visiblePages(){return this.totalCount?cme({pagesCount:this.pagesCount,currentPage:this.currentPage,adjacents:1,endingAdjacents:1,fixedWidth:!0}):["...1"]}},methods:{clicked(e){typeof e=="number"?this.goto(parseInt(e)):e==="<"?this.goto(this.currentPage-1):e===">"?this.goto(this.currentPage+1):e==="<<"?this.goto(0):e===">>"&&this.goto(this.pagesCount-1)},goto(e){this.currentPage!=e&&(e=Math.max(0,Math.min(e,this.pagesCount-1)),this.$emit("goto",e))}}},fme={class:"l-table-pagination"},pme=["onClick"];function mme(e,t,r,o,a,i){const l=n.resolveComponent("l-icon");return n.openBlock(),n.createElementBlock("div",fme,[n.createVNode(n.TransitionGroup,{tag:"div",class:"l-table-pagination-pages",name:"l-table-pagination-transition"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.visiblePages,s=>(n.openBlock(),n.createElementBlock("span",{class:n.normalizeClass(["l-table-pagination-page-item",{active:s==r.currentPage}]),key:s,onClick:u=>i.clicked(s)},[s==="<"?(n.openBlock(),n.createBlock(l,{key:0,size:"20"},{default:n.withCtx(()=>t[0]||(t[0]=[n.createTextVNode("uil-angle-left")])),_:1})):s===">"?(n.openBlock(),n.createBlock(l,{key:1,size:"20"},{default:n.withCtx(()=>t[1]||(t[1]=[n.createTextVNode("uil-angle-right")])),_:1})):s==="...1"||s==="...2"?(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[n.createTextVNode(" ... ")],64)):(n.openBlock(),n.createElementBlock(n.Fragment,{key:3},[n.createTextVNode(n.toDisplayString(s+1),1)],64))],10,pme))),128))]),_:1})])}const hme=ge(dme,[["render",mme]]);K6.register();const gme=100,vme=3e4,yme=3,Mme="scrollBehavior"in document.documentElement.style,_me={name:"LTable",tagName:"l-table",components:{LTableHeader:b0e,LTableBody:o0e,LTableReloader:O0e,LTableLoadMore:T0e,LTableEndspace:C0e,LTableBodySpacer:V0e,LTablePagination:hme},props:{rows:{type:Array},primaryKey:{type:String,default:"id"},fetch:{type:Function},columns:{type:Array},pagination:{type:Boolean,default:!1},display:{type:String,enum:["all","more","paged"],default:"all"},autoLoadMore:{type:Boolean,default:!1},schema:{type:Object,required:!0},selectable:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1},multiselect:{type:Boolean,default:!0},allowInvertedSelection:{type:Boolean,default:!0},rowHeight:{type:Number,default:32},borderTick:{type:Number,default:1},snapToPageOnMore:{type:Boolean,default:!0},stickyColumnLeft:{type:Boolean,default:!1},recycle:{type:Boolean,default:!0},limitPerPage:{type:Number,default:50}},emits:["loading","changeSelection","click-item"],mounted(){this.computeVisibleRows()},data(e){let t=[];return e.columns.length&&(t=e.columns.map(r=>this.buildColumnSpec(r))),{fetching:0,headerHeight:56,nonce:0,id:0,extraRows:15,lastComputedOffsetY:0,includedIds:[],excludedIds:[],scrollAtTop:!0,scrollAtLeft:!0,totalCount:0,firstPage:null,currentPage:null,lastPage:null,loadedPages:[],columnSpecs:t}},watch:{totalCount(e){this.$emit("changeSelection",{includedIds:this.includedIds,excludedIds:this.excludedIds,selectionCount:this.selectionCount,totalCount:e})},somePageIsLoading(e){this.$emit("loading",e)}},computed:{perPage(){return Number(this.limitPerPage)},pagesCount(){return Math.floor(this.totalCount/this.perPage)+1},selectionCount(){return this.includedIds.toString()==="*"?this.totalCount-this.excludedIds.length:this.includedIds.length},lastLoadedPage(){return this.loadedPages.length},isLoadMoreVisible(){return this.display==="more"&&this.lastLoadedPage<this.pagesCount},isPaginationVisible(){return(this.display==="page"||!!this.pagination)&&this.display!=="more"&&this.pagesCount!==null},isLeftColumnSticky(){return this.stickyColumnLeft||this.columns&&this.columns[0]&&this.columns[0].sticky},usingRecycledLayout(){return this.display!=="paged"&&this.recycle},hasVisibleFailedPages(){for(let e=this.firstPageRendered;e<=this.lastPageRendered;e++)if(this.loadedPages[e]&&this.loadedPages[e].failed)return!0;return!1},firstPageRendered(){return!this.usingRecycledLayout&&this.display!=="paged"?0:this.firstPage},lastPageRendered(){return this.display==="paged"?this.firstPage:this.usingRecycledLayout?this.lastPage:Math.max(0,this.lastLoadedPage-1)},visiblePages(){let e=[];for(let t=this.firstPageRendered;t<=this.lastPageRendered;t++){let r=this.loadedPages[t]||{index:t};e.push(r)}return e},contentStyle(){return{"--l-table-primary-color":"#2F8AF5","--l-table-warning-color":"#fd3a57","--l-table-bg-color":"white","--l-table-header-height":`${this.headerHeight}px`,"--l-table-header-text-color":"#232B34","--l-table-header-border-color":"#E8E8E8","--l-table-skeleton-height":`${Math.min(this.rowHeight-8,8)}px`,"--l-table-loader-height":"3px","--l-table-loader-color":"var(--l-table-primary-color)","--l-table-row-height":`${this.rowHeight}px`,"--l-table-cell-padding":"0 8px","--l-table-row-hover-color":"#fafbfd","--l-table-row-selected-color":"#eef5fa","--l-table-row-selected-hover-color":"#e6f0f8","--l-table-border-color":"#D3DAE6","--l-table-border-tick":`${this.borderTick}px`,"--l-table-selector-width":`${this.selectable?Math.min(this.headerHeight,this.rowHeight):0}px`,"--l-table-loadmore-height":"46px","--l-table-pagination-height":"48px","--l-table-pagination-color":"var(--l-table-primary-color)","--l-table-pagination-bg-color":"white","--l-table-reloader-margin":"16px","--l-table-endspace-bg-color":"#f5f5f5","--l-table-link-color":"var(--l-table-primary-color)"}},contentClasses(){return{"l-table-at-top":this.scrollAtTop,"l-table-at-left":this.scrollAtLeft,"l-table-sticky-column-left":this.isLeftColumnSticky}},spacing(){let e=0,t=0,r=this.display,o=this.totalCount;return r==="more"&&(o=this.loadedPages.length*this.perPage),(r==="all"||r==="more")&&(e=this.firstPageRendered*this.perPage*this.rowHeight,t=Math.max(0,(o-(this.lastPageRendered+1)*this.perPage)*this.rowHeight)),{top:Math.max(0,e),bottom:Math.max(0,t)}},rect(){return this.$refs.container.getBoundingClientRect()},somePageIsLoading(){return this.loadedPages.map(e=>e.loading).some(e=>e)}},methods:{itemToId(e){return e?this.primaryKey?e[this.primaryKey]:e:null},scrollTo(e=0,t){let r="auto";if(t){let o=this.$refs.container.scrollTop,a=this.perPage*this.rowHeight+1;r=Math.abs(o-e)<a?"smooth":"auto"}this.$refs.container.scrollTo({top:e,behavior:r})},gotoPage(e,t){if(e=Math.max(0,Math.min(this.pagesCount,e)),this.display==="paged"){this.setViewablePages(e,e,e),this.scrollTo(0,!0);return}this.display==="more"?this.setViewablePages(e-1,e,e):this.setViewablePages(e,e,e);let r=e*this.rowHeight*this.perPage;this.scrollTo(r,t)},async loadMore(e){let t=this.loadedPages[this.loadedPages.length-1];if(!t||t.loading)return!1;let r=this.loadedPages.length;this.setViewablePages(this.firstPage,r),e&&this.snapToPageOnMore&&Mme&&setTimeout(()=>this.gotoPage(r,!0),100)},reload(){this.id++,this.fetching=0,this.firstPage=null,this.lastPage=null,this.totalCount=null,this.loadedPages=[],this.includedIds=[],this.excludedIds=[],this.gotoPage(0),this.computeVisibleRows()},reloadFailedPages(){let e=0;for(let t=this.firstPageRendered;t<=this.lastPageRendered&&!(!(!this.loadedPages[t]||!this.loadedPages[t].failed)&&(this.loadedPages[t]=null,this.fetchPage(t),++e>=yme));t++);},onScroll(){if(!(this.getScrollSpeed()>vme)&&!this._scrollDebounce)return this.computeVisibleRows();clearTimeout(this._scrollDebounce),this._scrollDebounce=setTimeout(()=>{this.computeVisibleRows(),this._scrollDebounce=null},gme)},getScrollSpeed(){let e=this._lastOffsetY||0,t=this._lastOffsetYTime||0,r=this._lastOffsetY=this.$refs.container.scrollTop,o=this._lastOffsetYTime=Date.now();return Math.abs(1e3*(e-r)/(o-t))},computeVisibleRows(){let e=this.$refs.container.scrollTop,t=this.$refs.container.scrollLeft,r=this.lastComputedOffsetY;this.scrollAtTop=e===0,this.scrollAtLeft=t===0;let o=Math.abs(r-e);if(e>2&&r>2&&o<150||(this.lastComputedOffsetY=e,this.display==="paged"))return;let i=this.rect.height-this.headerHeight,l=Math.max(0,Math.floor(e/this.rowHeight)),s=Math.ceil(i/this.rowHeight),u=l+s,c=this.extraRows,d=this.perPage,f=Math.floor((l-c)/this.perPage),p=Math.floor((u+c)/d),h=p>=this.pagesCount-1?s:s/2,m=Math.floor((l+h)/this.perPage);if(this.display==="more"){for(f=Math.min(f,this.lastLoadedPage);!this.loadedPages[f]&&f>0;)f--;for(p=Math.max(p,f);!this.loadedPages[p]&&p>f&&p>0;)p--}this.setViewablePages(f,p,m)},setViewablePages(e=0,t=0,r=0){this.display==="paged"&&(t=e),e=Math.min(Math.max(e,0),this.pagesCount-1),t=Math.min(Math.max(t,e),this.pagesCount-1),r=Math.min(t,Math.max(e,r||0));let o=e!==this.firstPage||t!==this.lastPage;this.firstPage=e,this.lastPage=t,this.currentPage=r,o&&this.scheduleFeching()},buildColumnSpec(e){if(!this.schema.fields)throw new Error("Missing schema.fields!");const t=this.schema.fields.find(o=>o.path===e.path);if(!t)throw new Error(`Missing field schema for path ${e.path}`);const r=this.$L.FieldTypeComponents.get(t,"default");return Object.assign({},t,{width:e.width||null,sortable:t?t.sortable:!1,sticky:t&&t.sticky||e.sticky||!1,align:t&&t.align||"left",column:e,field:t,component:r})},handleColumnSpecsUpdate(e){this.columnSpecs=e,this.reload()},changeSelection({key:e,selected:t}){const{includedIds:r,excludedIds:o}=ume({key:e,selected:t},this);this.includedIds=r,this.excludedIds=o,this.$nextTick(()=>{this.$emit("changeSelection",{includedIds:this.includedIds,excludedIds:this.excludedIds,selectionCount:this.selectionCount,totalCount:this.totalCount})})},scheduleFeching(){for(let e=this.firstPage;e<=this.lastPage;e++)this.fetchPage(e)},async fetchPage(e){let t=this.loadedPages[e];if(t)return t;t=this.loadedPages[e]={id:this.id,index:e,startedAt:Date.now(),duration:null,loading:!0,loaded:!1,failed:!1,error:null,data:null};try{this.fetching++;const{hits:r,total:o}=await this.resolvePageData(e);Object.assign(t,{duration:Date.now()-t.startedAt,loading:!1,loaded:!0,data:r});let a=this.loadedPages.indexOf(t)>=0;o!==void 0&&a&&(this.totalCount=o)}catch(r){console.error("LTable","Failed to call `fetch` callback",r),Object.assign(t,{loading:!1,failed:!0,error:r.toString()})}finally{this.id===t.id&&this.fetching--}return t},async resolvePageData(e){if(this.rows){let t=this.perPage,r=e*t;return{data:this.rows.slice(r,r+t),total:this.rows.length}}else{if(this.fetch)return await this.fetch({page:e,offset:e*this.perPage,limit:this.perPage,schema:this.schema,columns:this.columns,perPage:this.perPage,primaryKey:this.primaryKey});throw new Error("Cannot discover data. Either `rows` or `fetch` property must be assigned to table")}}}},bme={class:"l-table-table",border:"0"};function Nme(e,t,r,o,a,i){const l=n.resolveComponent("LTableHeader"),s=n.resolveComponent("LTableBodySpacer"),u=n.resolveComponent("LTableBody"),c=n.resolveComponent("LTableLoadMore"),d=n.resolveComponent("LTableEndspace"),f=n.resolveComponent("LTableReloader"),p=n.resolveComponent("LTablePagination");return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(["l-table-container",i.contentClasses]),ref:"container",style:n.normalizeStyle(i.contentStyle),onScroll:t[7]||(t[7]=(...h)=>i.onScroll&&i.onScroll(...h))},[n.createElementVNode("table",bme,[t[8]||(t[8]=n.createElementVNode("caption",{style:{display:"none"}}," Table Header ",-1)),n.createVNode(l,{height:a.headerHeight,selectable:r.selectable,columnSpecs:a.columnSpecs,loading:!!a.fetching,total:a.totalCount,includedIds:a.includedIds,excludedIds:a.excludedIds,multiselect:r.multiselect,onSelected:t[0]||(t[0]=h=>i.changeSelection(h)),"onColumnSpecs:update":i.handleColumnSpecsUpdate},null,8,["height","selectable","columnSpecs","loading","total","includedIds","excludedIds","multiselect","onColumnSpecs:update"]),n.createVNode(s,{height:i.spacing.top},null,8,["height"]),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.visiblePages,h=>(n.openBlock(),n.createBlock(u,{key:`${h.index}-${h.loading}-${h.loaded}`,page:h,perPage:i.perPage,pagesCount:i.pagesCount,totalCount:a.totalCount,selectable:r.selectable,clickable:r.clickable,columnSpecs:a.columnSpecs,includedIds:a.includedIds,excludedIds:a.excludedIds,multiselect:r.multiselect,onClickItem:t[1]||(t[1]=m=>e.$emit("click-item",m)),onSelected:t[2]||(t[2]=m=>i.changeSelection(m))},null,8,["page","perPage","pagesCount","totalCount","selectable","clickable","columnSpecs","includedIds","excludedIds","multiselect"]))),128)),n.createVNode(s,{height:i.spacing.bottom},null,8,["height"])]),i.isLoadMoreVisible?(n.openBlock(),n.createBlock(c,{key:0,onClick:t[3]||(t[3]=h=>i.loadMore(!0)),onAppeared:t[4]||(t[4]=h=>i.loadMore()),automatic:r.autoLoadMore},null,8,["automatic"])):n.createCommentVNode("",!0),n.createVNode(d),n.createVNode(n.Transition,{name:"scale-up"},{default:n.withCtx(()=>[i.hasVisibleFailedPages?(n.openBlock(),n.createBlock(f,{key:0,onReload:t[5]||(t[5]=h=>i.reloadFailedPages())})):n.createCommentVNode("",!0)]),_:1}),i.isPaginationVisible?(n.openBlock(),n.createBlock(p,{key:1,currentPage:a.currentPage,pagesCount:i.pagesCount,totalCount:a.totalCount,onGoto:t[6]||(t[6]=h=>i.gotoPage(h))},null,8,["currentPage","pagesCount","totalCount"])):n.createCommentVNode("",!0)],38)}const wme=ge(_me,[["render",Nme]]),kme=Object.freeze(Object.defineProperty({__proto__:null,default:wme},Symbol.toStringTag,{value:"Module"}));const Cme={name:"LTabs",components:{ElTabs:oJ},methods:{calcPaneInstances(e=!1){if(this.$slots.default){const r=this.$slots.default.filter(a=>a.tag&&a.componentOptions&&a.componentOptions.Ctor.options.tagName==="l-tab-pane").map(({componentInstance:a})=>a),o=!(r.length===this.panes.length&&r.every((a,i)=>a===this.panes[i]));(e||o)&&(this.panes=r)}else this.panes.length!==0&&(this.panes=[])}},data(){return{panes:[]}}};function xme(e,t,r,o,a,i){const l=n.resolveComponent("el-tabs");return n.openBlock(),n.createBlock(l,n.normalizeProps(n.guardReactiveProps(e.$attrs)),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16)}const Eme=ge(Cme,[["render",xme],["__scopeId","data-v-66db6dd7"]]),Tme=Object.freeze(Object.defineProperty({__proto__:null,default:Eme},Symbol.toStringTag,{value:"Module"})),Dme={tagName:"l-target-chip",name:"LTargetChip",props:{kind:{type:String,required:!0},closeable:{type:Boolean,default:!1},name:{type:String,required:!0},count:{type:Number}},computed:{color:function(){return{member:"purple",group:"aqua",user:"link",tag:"warning",community:"danger",role:"lead-light"}[this.kind]||"lead"},icon:function(){return{member:"uil-graduation-cap",group:"uil-users-alt",user:"uil-user",tag:"uil-tag-alt",role:"uil-user",community:"uil-channel"}[this.kind]}}},Sme={class:"l-d-flex l-align-items"};function Ime(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("l-chip");return n.openBlock(),n.createBlock(s,{style:{height:"24px"},bold:"",fill:"",color:i.color,icon:i.icon},{default:n.withCtx(()=>[n.createElementVNode("div",Sme,[n.createTextVNode(n.toDisplayString(r.count)+" "+n.toDisplayString(r.name)+" ",1),r.closeable?(n.openBlock(),n.createBlock(l,{key:0,onClick:t[0]||(t[0]=u=>e.$emit("remove")),class:"l-d-flex l-align-items-center ml-1 mr-0",style:{cursor:"pointer"},size:"15"},{default:n.withCtx(()=>t[1]||(t[1]=[n.createTextVNode(" uis-times-circle ")])),_:1})):n.createCommentVNode("",!0)])]),_:1},8,["color","icon"])}const Ame=ge(Dme,[["render",Ime]]),zme=Object.freeze(Object.defineProperty({__proto__:null,default:Ame},Symbol.toStringTag,{value:"Module"}));const Ome={tagName:"l-target-input",name:"LTargetInput",props:{topics:{type:Array,required:!0},limit:{type:Number,default:3},editable:{type:Boolean,default:!1}},computed:{topicsToShow(){return this.topics.slice(0,this.limit)},moreTopicsText(){const e=this.topics.length-this.limit>1;return`+ ${this.topics.length-this.limit} destinatário`+(e?"s":"")}}};function jme(e,t,r,o,a,i){const l=n.resolveComponent("l-target-chip"),s=n.resolveComponent("l-chip");return r.topics&&r.topics.length?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass("l-target-input"+(r.editable?" editable":""))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.topicsToShow,u=>(n.openBlock(),n.createBlock(l,{kind:u.kind,name:u.name,key:u.id,class:"mr-2 mb-2"},null,8,["kind","name"]))),128)),r.topics.length>this.limit?(n.openBlock(),n.createBlock(s,{key:0,color:"purple",class:"mb-2",fill:"","hide-icon":""},{default:n.withCtx(()=>[n.createTextVNode(n.toDisplayString(i.moreTopicsText),1)]),_:1})):n.createCommentVNode("",!0)],2)):n.createCommentVNode("",!0)}const Lme=ge(Ome,[["render",jme],["__scopeId","data-v-1da7433b"]]),Bme=Object.freeze(Object.defineProperty({__proto__:null,default:Lme},Symbol.toStringTag,{value:"Module"}));function jt(e){this.content=e}jt.prototype={constructor:jt,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return t==-1?void 0:this.content[t+1]},update:function(e,t,r){var o=r&&r!=e?this.remove(r):this,a=o.find(e),i=o.content.slice();return a==-1?i.push(r||e,t):(i[a+1]=t,r&&(i[a]=r)),new jt(i)},remove:function(e){var t=this.find(e);if(t==-1)return this;var r=this.content.slice();return r.splice(t,2),new jt(r)},addToStart:function(e,t){return new jt([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var r=this.remove(e).content.slice();return r.push(e,t),new jt(r)},addBefore:function(e,t,r){var o=this.remove(t),a=o.content.slice(),i=o.find(e);return a.splice(i==-1?a.length:i,0,t,r),new jt(a)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return e=jt.from(e),e.size?new jt(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=jt.from(e),e.size?new jt(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=jt.from(e);for(var r=0;r<e.content.length;r+=2)t=t.remove(e.content[r]);return t},toObject:function(){var e={};return this.forEach(function(t,r){e[t]=r}),e},get size(){return this.content.length>>1}};jt.from=function(e){if(e instanceof jt)return e;var t=[];if(e)for(var r in e)t.push(r,e[r]);return new jt(t)};function Z6(e,t,r){for(let o=0;;o++){if(o==e.childCount||o==t.childCount)return e.childCount==t.childCount?null:r;let a=e.child(o),i=t.child(o);if(a==i){r+=a.nodeSize;continue}if(!a.sameMarkup(i))return r;if(a.isText&&a.text!=i.text){for(let l=0;a.text[l]==i.text[l];l++)r++;return r}if(a.content.size||i.content.size){let l=Z6(a.content,i.content,r+1);if(l!=null)return l}r+=a.nodeSize}}function J6(e,t,r,o){for(let a=e.childCount,i=t.childCount;;){if(a==0||i==0)return a==i?null:{a:r,b:o};let l=e.child(--a),s=t.child(--i),u=l.nodeSize;if(l==s){r-=u,o-=u;continue}if(!l.sameMarkup(s))return{a:r,b:o};if(l.isText&&l.text!=s.text){let c=0,d=Math.min(l.text.length,s.text.length);for(;c<d&&l.text[l.text.length-c-1]==s.text[s.text.length-c-1];)c++,r--,o--;return{a:r,b:o}}if(l.content.size||s.content.size){let c=J6(l.content,s.content,r-1,o-1);if(c)return c}r-=u,o-=u}}class re{constructor(t,r){if(this.content=t,this.size=r||0,r==null)for(let o=0;o<t.length;o++)this.size+=t[o].nodeSize}nodesBetween(t,r,o,a=0,i){for(let l=0,s=0;s<r;l++){let u=this.content[l],c=s+u.nodeSize;if(c>t&&o(u,a+s,i||null,l)!==!1&&u.content.size){let d=s+1;u.nodesBetween(Math.max(0,t-d),Math.min(u.content.size,r-d),o,a+d)}s=c}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,r,o,a){let i="",l=!0;return this.nodesBetween(t,r,(s,u)=>{let c=s.isText?s.text.slice(Math.max(t,u)-u,r-u):s.isLeaf?a?typeof a=="function"?a(s):a:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&c||s.isTextblock)&&o&&(l?l=!1:i+=o),i+=c},0),i}append(t){if(!t.size)return this;if(!this.size)return t;let r=this.lastChild,o=t.firstChild,a=this.content.slice(),i=0;for(r.isText&&r.sameMarkup(o)&&(a[a.length-1]=r.withText(r.text+o.text),i=1);i<t.content.length;i++)a.push(t.content[i]);return new re(a,this.size+t.size)}cut(t,r=this.size){if(t==0&&r==this.size)return this;let o=[],a=0;if(r>t)for(let i=0,l=0;l<r;i++){let s=this.content[i],u=l+s.nodeSize;u>t&&((l<t||u>r)&&(s.isText?s=s.cut(Math.max(0,t-l),Math.min(s.text.length,r-l)):s=s.cut(Math.max(0,t-l-1),Math.min(s.content.size,r-l-1))),o.push(s),a+=s.nodeSize),l=u}return new re(o,a)}cutByIndex(t,r){return t==r?re.empty:t==0&&r==this.content.length?this:new re(this.content.slice(t,r))}replaceChild(t,r){let o=this.content[t];if(o==r)return this;let a=this.content.slice(),i=this.size+r.nodeSize-o.nodeSize;return a[t]=r,new re(a,i)}addToStart(t){return new re([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new re(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let r=0;r<this.content.length;r++)if(!this.content[r].eq(t.content[r]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(t){let r=this.content[t];if(!r)throw new RangeError("Index "+t+" out of range for "+this);return r}maybeChild(t){return this.content[t]||null}forEach(t){for(let r=0,o=0;r<this.content.length;r++){let a=this.content[r];t(a,o,r),o+=a.nodeSize}}findDiffStart(t,r=0){return Z6(this,t,r)}findDiffEnd(t,r=this.size,o=t.size){return J6(this,t,r,o)}findIndex(t,r=-1){if(t==0)return As(0,t);if(t==this.size)return As(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let o=0,a=0;;o++){let i=this.child(o),l=a+i.nodeSize;if(l>=t)return l==t||r>0?As(o+1,l):As(o,a);a=l}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,r){if(!r)return re.empty;if(!Array.isArray(r))throw new RangeError("Invalid input for Fragment.fromJSON");return new re(r.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return re.empty;let r,o=0;for(let a=0;a<t.length;a++){let i=t[a];o+=i.nodeSize,a&&i.isText&&t[a-1].sameMarkup(i)?(r||(r=t.slice(0,a)),r[r.length-1]=i.withText(r[r.length-1].text+i.text)):r&&r.push(i)}return new re(r||t,o)}static from(t){if(!t)return re.empty;if(t instanceof re)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new re([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}re.empty=new re([],0);const qd={index:0,offset:0};function As(e,t){return qd.index=e,qd.offset=t,qd}function xu(e,t){if(e===t)return!0;if(!(e&&typeof e=="object")||!(t&&typeof t=="object"))return!1;let r=Array.isArray(e);if(Array.isArray(t)!=r)return!1;if(r){if(e.length!=t.length)return!1;for(let o=0;o<e.length;o++)if(!xu(e[o],t[o]))return!1}else{for(let o in e)if(!(o in t)||!xu(e[o],t[o]))return!1;for(let o in t)if(!(o in e))return!1}return!0}let nt=class wp{constructor(t,r){this.type=t,this.attrs=r}addToSet(t){let r,o=!1;for(let a=0;a<t.length;a++){let i=t[a];if(this.eq(i))return t;if(this.type.excludes(i.type))r||(r=t.slice(0,a));else{if(i.type.excludes(this.type))return t;!o&&i.type.rank>this.type.rank&&(r||(r=t.slice(0,a)),r.push(this),o=!0),r&&r.push(i)}}return r||(r=t.slice()),o||r.push(this),r}removeFromSet(t){for(let r=0;r<t.length;r++)if(this.eq(t[r]))return t.slice(0,r).concat(t.slice(r+1));return t}isInSet(t){for(let r=0;r<t.length;r++)if(this.eq(t[r]))return!0;return!1}eq(t){return this==t||this.type==t.type&&xu(this.attrs,t.attrs)}toJSON(){let t={type:this.type.name};for(let r in this.attrs){t.attrs=this.attrs;break}return t}static fromJSON(t,r){if(!r)throw new RangeError("Invalid input for Mark.fromJSON");let o=t.marks[r.type];if(!o)throw new RangeError(`There is no mark type ${r.type} in this schema`);let a=o.create(r.attrs);return o.checkAttrs(a.attrs),a}static sameSet(t,r){if(t==r)return!0;if(t.length!=r.length)return!1;for(let o=0;o<t.length;o++)if(!t[o].eq(r[o]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return wp.none;if(t instanceof wp)return[t];let r=t.slice();return r.sort((o,a)=>o.type.rank-a.type.rank),r}};nt.none=[];class Eu extends Error{}class ye{constructor(t,r,o){this.content=t,this.openStart=r,this.openEnd=o}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,r){let o=e_(this.content,t+this.openStart,r);return o&&new ye(o,this.openStart,this.openEnd)}removeBetween(t,r){return new ye(X6(this.content,t+this.openStart,r+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,r){if(!r)return ye.empty;let o=r.openStart||0,a=r.openEnd||0;if(typeof o!="number"||typeof a!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new ye(re.fromJSON(t,r.content),o,a)}static maxOpen(t,r=!0){let o=0,a=0;for(let i=t.firstChild;i&&!i.isLeaf&&(r||!i.type.spec.isolating);i=i.firstChild)o++;for(let i=t.lastChild;i&&!i.isLeaf&&(r||!i.type.spec.isolating);i=i.lastChild)a++;return new ye(t,o,a)}}ye.empty=new ye(re.empty,0,0);function X6(e,t,r){let{index:o,offset:a}=e.findIndex(t),i=e.maybeChild(o),{index:l,offset:s}=e.findIndex(r);if(a==t||i.isText){if(s!=r&&!e.child(l).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(r))}if(o!=l)throw new RangeError("Removing non-flat range");return e.replaceChild(o,i.copy(X6(i.content,t-a-1,r-a-1)))}function e_(e,t,r,o){let{index:a,offset:i}=e.findIndex(t),l=e.maybeChild(a);if(i==t||l.isText)return o&&!o.canReplace(a,a,r)?null:e.cut(0,t).append(r).append(e.cut(t));let s=e_(l.content,t-i-1,r);return s&&e.replaceChild(a,l.copy(s))}function Vme(e,t,r){if(r.openStart>e.depth)throw new Eu("Inserted content deeper than insertion position");if(e.depth-r.openStart!=t.depth-r.openEnd)throw new Eu("Inconsistent open depths");return t_(e,t,r,0)}function t_(e,t,r,o){let a=e.index(o),i=e.node(o);if(a==t.index(o)&&o<e.depth-r.openStart){let l=t_(e,t,r,o+1);return i.copy(i.content.replaceChild(a,l))}else if(r.content.size)if(!r.openStart&&!r.openEnd&&e.depth==o&&t.depth==o){let l=e.parent,s=l.content;return la(l,s.cut(0,e.parentOffset).append(r.content).append(s.cut(t.parentOffset)))}else{let{start:l,end:s}=$me(r,e);return la(i,r_(e,l,s,t,o))}else return la(i,Tu(e,t,o))}function n_(e,t){if(!t.type.compatibleContent(e.type))throw new Eu("Cannot join "+t.type.name+" onto "+e.type.name)}function kp(e,t,r){let o=e.node(r);return n_(o,t.node(r)),o}function ia(e,t){let r=t.length-1;r>=0&&e.isText&&e.sameMarkup(t[r])?t[r]=e.withText(t[r].text+e.text):t.push(e)}function ll(e,t,r,o){let a=(t||e).node(r),i=0,l=t?t.index(r):a.childCount;e&&(i=e.index(r),e.depth>r?i++:e.textOffset&&(ia(e.nodeAfter,o),i++));for(let s=i;s<l;s++)ia(a.child(s),o);t&&t.depth==r&&t.textOffset&&ia(t.nodeBefore,o)}function la(e,t){return e.type.checkContent(t),e.copy(t)}function r_(e,t,r,o,a){let i=e.depth>a&&kp(e,t,a+1),l=o.depth>a&&kp(r,o,a+1),s=[];return ll(null,e,a,s),i&&l&&t.index(a)==r.index(a)?(n_(i,l),ia(la(i,r_(e,t,r,o,a+1)),s)):(i&&ia(la(i,Tu(e,t,a+1)),s),ll(t,r,a,s),l&&ia(la(l,Tu(r,o,a+1)),s)),ll(o,null,a,s),new re(s)}function Tu(e,t,r){let o=[];if(ll(null,e,r,o),e.depth>r){let a=kp(e,t,r+1);ia(la(a,Tu(e,t,r+1)),o)}return ll(t,null,r,o),new re(o)}function $me(e,t){let r=t.depth-e.openStart,a=t.node(r).copy(e.content);for(let i=r-1;i>=0;i--)a=t.node(i).copy(re.from(a));return{start:a.resolveNoCache(e.openStart+r),end:a.resolveNoCache(a.content.size-e.openEnd-r)}}class Al{constructor(t,r,o){this.pos=t,this.path=r,this.parentOffset=o,this.depth=r.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,r=this.index(this.depth);if(r==t.childCount)return null;let o=this.pos-this.path[this.path.length-1],a=t.child(r);return o?t.child(r).cut(o):a}get nodeBefore(){let t=this.index(this.depth),r=this.pos-this.path[this.path.length-1];return r?this.parent.child(t).cut(0,r):t==0?null:this.parent.child(t-1)}posAtIndex(t,r){r=this.resolveDepth(r);let o=this.path[r*3],a=r==0?0:this.path[r*3-1]+1;for(let i=0;i<t;i++)a+=o.child(i).nodeSize;return a}marks(){let t=this.parent,r=this.index();if(t.content.size==0)return nt.none;if(this.textOffset)return t.child(r).marks;let o=t.maybeChild(r-1),a=t.maybeChild(r);if(!o){let s=o;o=a,a=s}let i=o.marks;for(var l=0;l<i.length;l++)i[l].type.spec.inclusive===!1&&(!a||!i[l].isInSet(a.marks))&&(i=i[l--].removeFromSet(i));return i}marksAcross(t){let r=this.parent.maybeChild(this.index());if(!r||!r.isInline)return null;let o=r.marks,a=t.parent.maybeChild(t.index());for(var i=0;i<o.length;i++)o[i].type.spec.inclusive===!1&&(!a||!o[i].isInSet(a.marks))&&(o=o[i--].removeFromSet(o));return o}sharedDepth(t){for(let r=this.depth;r>0;r--)if(this.start(r)<=t&&this.end(r)>=t)return r;return 0}blockRange(t=this,r){if(t.pos<this.pos)return t.blockRange(this);for(let o=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);o>=0;o--)if(t.pos<=this.end(o)&&(!r||r(this.node(o))))return new Du(this,t,o);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos<this.pos?t:this}toString(){let t="";for(let r=1;r<=this.depth;r++)t+=(t?"/":"")+this.node(r).type.name+"_"+this.index(r-1);return t+":"+this.parentOffset}static resolve(t,r){if(!(r>=0&&r<=t.content.size))throw new RangeError("Position "+r+" out of range");let o=[],a=0,i=r;for(let l=t;;){let{index:s,offset:u}=l.content.findIndex(i),c=i-u;if(o.push(l,s,a+u),!c||(l=l.child(s),l.isText))break;i=c-1,a+=u+1}return new Al(r,o,i)}static resolveCached(t,r){let o=Sg.get(t);if(o)for(let i=0;i<o.elts.length;i++){let l=o.elts[i];if(l.pos==r)return l}else Sg.set(t,o=new Pme);let a=o.elts[o.i]=Al.resolve(t,r);return o.i=(o.i+1)%Rme,a}}class Pme{constructor(){this.elts=[],this.i=0}}const Rme=12,Sg=new WeakMap;class Du{constructor(t,r,o){this.$from=t,this.$to=r,this.depth=o}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const Fme=Object.create(null);let sa=class Cp{constructor(t,r,o,a=nt.none){this.type=t,this.attrs=r,this.marks=a,this.content=o||re.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,r,o,a=0){this.content.nodesBetween(t,r,o,a,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,r,o,a){return this.content.textBetween(t,r,o,a)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,r,o){return this.type==t&&xu(this.attrs,r||t.defaultAttrs||Fme)&&nt.sameSet(this.marks,o||nt.none)}copy(t=null){return t==this.content?this:new Cp(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new Cp(this.type,this.attrs,this.content,t)}cut(t,r=this.content.size){return t==0&&r==this.content.size?this:this.copy(this.content.cut(t,r))}slice(t,r=this.content.size,o=!1){if(t==r)return ye.empty;let a=this.resolve(t),i=this.resolve(r),l=o?0:a.sharedDepth(r),s=a.start(l),c=a.node(l).content.cut(a.pos-s,i.pos-s);return new ye(c,a.depth-l,i.depth-l)}replace(t,r,o){return Vme(this.resolve(t),this.resolve(r),o)}nodeAt(t){for(let r=this;;){let{index:o,offset:a}=r.content.findIndex(t);if(r=r.maybeChild(o),!r)return null;if(a==t||r.isText)return r;t-=a+1}}childAfter(t){let{index:r,offset:o}=this.content.findIndex(t);return{node:this.content.maybeChild(r),index:r,offset:o}}childBefore(t){if(t==0)return{node:null,index:0,offset:0};let{index:r,offset:o}=this.content.findIndex(t);if(o<t)return{node:this.content.child(r),index:r,offset:o};let a=this.content.child(r-1);return{node:a,index:r-1,offset:o-a.nodeSize}}resolve(t){return Al.resolveCached(this,t)}resolveNoCache(t){return Al.resolve(this,t)}rangeHasMark(t,r,o){let a=!1;return r>t&&this.nodesBetween(t,r,i=>(o.isInSet(i.marks)&&(a=!0),!a)),a}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),o_(this.marks,t)}contentMatchAt(t){let r=this.type.contentMatch.matchFragment(this.content,0,t);if(!r)throw new Error("Called contentMatchAt on a node with invalid content");return r}canReplace(t,r,o=re.empty,a=0,i=o.childCount){let l=this.contentMatchAt(t).matchFragment(o,a,i),s=l&&l.matchFragment(this.content,r);if(!s||!s.validEnd)return!1;for(let u=a;u<i;u++)if(!this.type.allowsMarks(o.child(u).marks))return!1;return!0}canReplaceWith(t,r,o,a){if(a&&!this.type.allowsMarks(a))return!1;let i=this.contentMatchAt(t).matchType(o),l=i&&i.matchFragment(this.content,r);return l?l.validEnd:!1}canAppend(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let t=nt.none;for(let r=0;r<this.marks.length;r++){let o=this.marks[r];o.type.checkAttrs(o.attrs),t=o.addToSet(t)}if(!nt.sameSet(t,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(r=>r.type.name)}`);this.content.forEach(r=>r.check())}toJSON(){let t={type:this.type.name};for(let r in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(r=>r.toJSON())),t}static fromJSON(t,r){if(!r)throw new RangeError("Invalid input for Node.fromJSON");let o;if(r.marks){if(!Array.isArray(r.marks))throw new RangeError("Invalid mark data for Node.fromJSON");o=r.marks.map(t.markFromJSON)}if(r.type=="text"){if(typeof r.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(r.text,o)}let a=re.fromJSON(t,r.content),i=t.nodeType(r.type).create(r.attrs,a,o);return i.type.checkAttrs(i.attrs),i}};sa.prototype.text=void 0;class Su extends sa{constructor(t,r,o,a){if(super(t,r,null,a),!o)throw new RangeError("Empty text nodes are not allowed");this.text=o}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):o_(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,r){return this.text.slice(t,r)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new Su(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new Su(this.type,this.attrs,t,this.marks)}cut(t=0,r=this.text.length){return t==0&&r==this.text.length?this:this.withText(this.text.slice(t,r))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function o_(e,t){for(let r=e.length-1;r>=0;r--)t=e[r].type.name+"("+t+")";return t}class va{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,r){let o=new Ume(t,r);if(o.next==null)return va.empty;let a=a_(o);o.next&&o.err("Unexpected trailing text");let i=Kme(Gme(a));return Zme(i,o),i}matchType(t){for(let r=0;r<this.next.length;r++)if(this.next[r].type==t)return this.next[r].next;return null}matchFragment(t,r=0,o=t.childCount){let a=this;for(let i=r;a&&i<o;i++)a=a.matchType(t.child(i).type);return a}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let t=0;t<this.next.length;t++){let{type:r}=this.next[t];if(!(r.isText||r.hasRequiredAttrs()))return r}return null}compatible(t){for(let r=0;r<this.next.length;r++)for(let o=0;o<t.next.length;o++)if(this.next[r].type==t.next[o].type)return!0;return!1}fillBefore(t,r=!1,o=0){let a=[this];function i(l,s){let u=l.matchFragment(t,o);if(u&&(!r||u.validEnd))return re.from(s.map(c=>c.createAndFill()));for(let c=0;c<l.next.length;c++){let{type:d,next:f}=l.next[c];if(!(d.isText||d.hasRequiredAttrs())&&a.indexOf(f)==-1){a.push(f);let p=i(f,s.concat(d));if(p)return p}}return null}return i(this,[])}findWrapping(t){for(let o=0;o<this.wrapCache.length;o+=2)if(this.wrapCache[o]==t)return this.wrapCache[o+1];let r=this.computeWrapping(t);return this.wrapCache.push(t,r),r}computeWrapping(t){let r=Object.create(null),o=[{match:this,type:null,via:null}];for(;o.length;){let a=o.shift(),i=a.match;if(i.matchType(t)){let l=[];for(let s=a;s.type;s=s.via)l.push(s.type);return l.reverse()}for(let l=0;l<i.next.length;l++){let{type:s,next:u}=i.next[l];!s.isLeaf&&!s.hasRequiredAttrs()&&!(s.name in r)&&(!a.type||u.validEnd)&&(o.push({match:s.contentMatch,type:s,via:a}),r[s.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(t){if(t>=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function r(o){t.push(o);for(let a=0;a<o.next.length;a++)t.indexOf(o.next[a].next)==-1&&r(o.next[a].next)}return r(this),t.map((o,a)=>{let i=a+(o.validEnd?"*":" ")+" ";for(let l=0;l<o.next.length;l++)i+=(l?", ":"")+o.next[l].type.name+"->"+t.indexOf(o.next[l].next);return i}).join(`
49
+ `)}}va.empty=new va(!0);class Ume{constructor(t,r){this.string=t,this.nodeTypes=r,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function a_(e){let t=[];do t.push(Hme(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function Hme(e){let t=[];do t.push(Yme(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function Yme(e){let t=Wme(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else if(e.eat("{"))t=Qme(e,t);else break;return t}function Ig(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function Qme(e,t){let r=Ig(e),o=r;return e.eat(",")&&(e.next!="}"?o=Ig(e):o=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:r,max:o,expr:t}}function qme(e,t){let r=e.nodeTypes,o=r[t];if(o)return[o];let a=[];for(let i in r){let l=r[i];l.isInGroup(t)&&a.push(l)}return a.length==0&&e.err("No node type or group '"+t+"' found"),a}function Wme(e){if(e.eat("(")){let t=a_(e);return e.eat(")")||e.err("Missing closing paren"),t}else if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{let t=qme(e,e.next).map(r=>(e.inline==null?e.inline=r.isInline:e.inline!=r.isInline&&e.err("Mixing inline and block content"),{type:"name",value:r}));return e.pos++,t.length==1?t[0]:{type:"choice",exprs:t}}}function Gme(e){let t=[[]];return a(i(e,0),r()),t;function r(){return t.push([])-1}function o(l,s,u){let c={term:u,to:s};return t[l].push(c),c}function a(l,s){l.forEach(u=>u.to=s)}function i(l,s){if(l.type=="choice")return l.exprs.reduce((u,c)=>u.concat(i(c,s)),[]);if(l.type=="seq")for(let u=0;;u++){let c=i(l.exprs[u],s);if(u==l.exprs.length-1)return c;a(c,s=r())}else if(l.type=="star"){let u=r();return o(s,u),a(i(l.expr,u),u),[o(u)]}else if(l.type=="plus"){let u=r();return a(i(l.expr,s),u),a(i(l.expr,u),u),[o(u)]}else{if(l.type=="opt")return[o(s)].concat(i(l.expr,s));if(l.type=="range"){let u=s;for(let c=0;c<l.min;c++){let d=r();a(i(l.expr,u),d),u=d}if(l.max==-1)a(i(l.expr,u),u);else for(let c=l.min;c<l.max;c++){let d=r();o(u,d),a(i(l.expr,u),d),u=d}return[o(u)]}else{if(l.type=="name")return[o(s,void 0,l.value)];throw new Error("Unknown expr type")}}}}function i_(e,t){return t-e}function Ag(e,t){let r=[];return o(t),r.sort(i_);function o(a){let i=e[a];if(i.length==1&&!i[0].term)return o(i[0].to);r.push(a);for(let l=0;l<i.length;l++){let{term:s,to:u}=i[l];!s&&r.indexOf(u)==-1&&o(u)}}}function Kme(e){let t=Object.create(null);return r(Ag(e,0));function r(o){let a=[];o.forEach(l=>{e[l].forEach(({term:s,to:u})=>{if(!s)return;let c;for(let d=0;d<a.length;d++)a[d][0]==s&&(c=a[d][1]);Ag(e,u).forEach(d=>{c||a.push([s,c=[]]),c.indexOf(d)==-1&&c.push(d)})})});let i=t[o.join(",")]=new va(o.indexOf(e.length-1)>-1);for(let l=0;l<a.length;l++){let s=a[l][1].sort(i_);i.next.push({type:a[l][0],next:t[s.join(",")]||r(s)})}return i}}function Zme(e,t){for(let r=0,o=[e];r<o.length;r++){let a=o[r],i=!a.validEnd,l=[];for(let s=0;s<a.next.length;s++){let{type:u,next:c}=a.next[s];l.push(u.name),i&&!(u.isText||u.hasRequiredAttrs())&&(i=!1),o.indexOf(c)==-1&&o.push(c)}i&&t.err("Only non-generatable nodes ("+l.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function l_(e){let t=Object.create(null);for(let r in e){let o=e[r];if(!o.hasDefault)return null;t[r]=o.default}return t}function s_(e,t){let r=Object.create(null);for(let o in e){let a=t&&t[o];if(a===void 0){let i=e[o];if(i.hasDefault)a=i.default;else throw new RangeError("No value supplied for attribute "+o)}r[o]=a}return r}function u_(e,t,r,o){for(let a in t)if(!(a in e))throw new RangeError(`Unsupported attribute ${a} for ${r} of type ${a}`);for(let a in e){let i=e[a];i.validate&&i.validate(t[a])}}function c_(e,t){let r=Object.create(null);if(t)for(let o in t)r[o]=new Xme(e,o,t[o]);return r}let zg=class d_{constructor(t,r,o){this.name=t,this.schema=r,this.spec=o,this.markSet=null,this.groups=o.group?o.group.split(" "):[],this.attrs=c_(t,o.attrs),this.defaultAttrs=l_(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(o.inline||t=="text"),this.isText=t=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==va.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(t){return this.groups.indexOf(t)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let t in this.attrs)if(this.attrs[t].isRequired)return!0;return!1}compatibleContent(t){return this==t||this.contentMatch.compatible(t.contentMatch)}computeAttrs(t){return!t&&this.defaultAttrs?this.defaultAttrs:s_(this.attrs,t)}create(t=null,r,o){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new sa(this,this.computeAttrs(t),re.from(r),nt.setFrom(o))}createChecked(t=null,r,o){return r=re.from(r),this.checkContent(r),new sa(this,this.computeAttrs(t),r,nt.setFrom(o))}createAndFill(t=null,r,o){if(t=this.computeAttrs(t),r=re.from(r),r.size){let l=this.contentMatch.fillBefore(r);if(!l)return null;r=l.append(r)}let a=this.contentMatch.matchFragment(r),i=a&&a.fillBefore(re.empty,!0);return i?new sa(this,t,r.append(i),nt.setFrom(o)):null}validContent(t){let r=this.contentMatch.matchFragment(t);if(!r||!r.validEnd)return!1;for(let o=0;o<t.childCount;o++)if(!this.allowsMarks(t.child(o).marks))return!1;return!0}checkContent(t){if(!this.validContent(t))throw new RangeError(`Invalid content for node ${this.name}: ${t.toString().slice(0,50)}`)}checkAttrs(t){u_(this.attrs,t,"node",this.name)}allowsMarkType(t){return this.markSet==null||this.markSet.indexOf(t)>-1}allowsMarks(t){if(this.markSet==null)return!0;for(let r=0;r<t.length;r++)if(!this.allowsMarkType(t[r].type))return!1;return!0}allowedMarks(t){if(this.markSet==null)return t;let r;for(let o=0;o<t.length;o++)this.allowsMarkType(t[o].type)?r&&r.push(t[o]):r||(r=t.slice(0,o));return r?r.length?r:nt.none:t}static compile(t,r){let o=Object.create(null);t.forEach((i,l)=>o[i]=new d_(i,r,l));let a=r.spec.topNode||"doc";if(!o[a])throw new RangeError("Schema is missing its top node type ('"+a+"')");if(!o.text)throw new RangeError("Every schema needs a 'text' type");for(let i in o.text.attrs)throw new RangeError("The text node type should not have attributes");return o}};function Jme(e,t,r){let o=r.split("|");return a=>{let i=a===null?"null":typeof a;if(o.indexOf(i)<0)throw new RangeError(`Expected value of type ${o} for attribute ${t} on type ${e}, got ${i}`)}}class Xme{constructor(t,r,o){this.hasDefault=Object.prototype.hasOwnProperty.call(o,"default"),this.default=o.default,this.validate=typeof o.validate=="string"?Jme(t,r,o.validate):o.validate}get isRequired(){return!this.hasDefault}}class td{constructor(t,r,o,a){this.name=t,this.rank=r,this.schema=o,this.spec=a,this.attrs=c_(t,a.attrs),this.excluded=null;let i=l_(this.attrs);this.instance=i?new nt(this,i):null}create(t=null){return!t&&this.instance?this.instance:new nt(this,s_(this.attrs,t))}static compile(t,r){let o=Object.create(null),a=0;return t.forEach((i,l)=>o[i]=new td(i,a++,r,l)),o}removeFromSet(t){for(var r=0;r<t.length;r++)t[r].type==this&&(t=t.slice(0,r).concat(t.slice(r+1)),r--);return t}isInSet(t){for(let r=0;r<t.length;r++)if(t[r].type==this)return t[r]}checkAttrs(t){u_(this.attrs,t,"mark",this.name)}excludes(t){return this.excluded.indexOf(t)>-1}}class f_{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let r=this.spec={};for(let a in t)r[a]=t[a];r.nodes=jt.from(t.nodes),r.marks=jt.from(t.marks||{}),this.nodes=zg.compile(this.spec.nodes,this),this.marks=td.compile(this.spec.marks,this);let o=Object.create(null);for(let a in this.nodes){if(a in this.marks)throw new RangeError(a+" can not be both a node and a mark");let i=this.nodes[a],l=i.spec.content||"",s=i.spec.marks;if(i.contentMatch=o[l]||(o[l]=va.parse(l,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!i.isInline||!i.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=i}i.markSet=s=="_"?null:s?Og(this,s.split(" ")):s==""||!i.inlineContent?[]:null}for(let a in this.marks){let i=this.marks[a],l=i.spec.excludes;i.excluded=l==null?[i]:l==""?[]:Og(this,l.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,r=null,o,a){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof zg){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(r,o,a)}text(t,r){let o=this.nodes.text;return new Su(o,o.defaultAttrs,t,nt.setFrom(r))}mark(t,r){return typeof t=="string"&&(t=this.marks[t]),t.create(r)}nodeFromJSON(t){return sa.fromJSON(this,t)}markFromJSON(t){return nt.fromJSON(this,t)}nodeType(t){let r=this.nodes[t];if(!r)throw new RangeError("Unknown node type: "+t);return r}}function Og(e,t){let r=[];for(let o=0;o<t.length;o++){let a=t[o],i=e.marks[a],l=i;if(i)r.push(i);else for(let s in e.marks){let u=e.marks[s];(a=="_"||u.spec.group&&u.spec.group.split(" ").indexOf(a)>-1)&&r.push(l=u)}if(!l)throw new SyntaxError("Unknown mark type: '"+t[o]+"'")}return r}function ehe(e){return e.tag!=null}function the(e){return e.style!=null}class xo{constructor(t,r){this.schema=t,this.rules=r,this.tags=[],this.styles=[];let o=this.matchedStyles=[];r.forEach(a=>{if(ehe(a))this.tags.push(a);else if(the(a)){let i=/[^=]*/.exec(a.style)[0];o.indexOf(i)<0&&o.push(i),this.styles.push(a)}}),this.normalizeLists=!this.tags.some(a=>{if(!/^(ul|ol)\b/.test(a.tag)||!a.node)return!1;let i=t.nodes[a.node];return i.contentMatch.matchType(i)})}parse(t,r={}){let o=new Lg(this,r,!1);return o.addAll(t,nt.none,r.from,r.to),o.finish()}parseSlice(t,r={}){let o=new Lg(this,r,!0);return o.addAll(t,nt.none,r.from,r.to),ye.maxOpen(o.finish())}matchTag(t,r,o){for(let a=o?this.tags.indexOf(o)+1:0;a<this.tags.length;a++){let i=this.tags[a];if(ohe(t,i.tag)&&(i.namespace===void 0||t.namespaceURI==i.namespace)&&(!i.context||r.matchesContext(i.context))){if(i.getAttrs){let l=i.getAttrs(t);if(l===!1)continue;i.attrs=l||void 0}return i}}}matchStyle(t,r,o,a){for(let i=a?this.styles.indexOf(a)+1:0;i<this.styles.length;i++){let l=this.styles[i],s=l.style;if(!(s.indexOf(t)!=0||l.context&&!o.matchesContext(l.context)||s.length>t.length&&(s.charCodeAt(t.length)!=61||s.slice(t.length+1)!=r))){if(l.getAttrs){let u=l.getAttrs(r);if(u===!1)continue;l.attrs=u||void 0}return l}}}static schemaRules(t){let r=[];function o(a){let i=a.priority==null?50:a.priority,l=0;for(;l<r.length;l++){let s=r[l];if((s.priority==null?50:s.priority)<i)break}r.splice(l,0,a)}for(let a in t.marks){let i=t.marks[a].spec.parseDOM;i&&i.forEach(l=>{o(l=Bg(l)),l.mark||l.ignore||l.clearMark||(l.mark=a)})}for(let a in t.nodes){let i=t.nodes[a].spec.parseDOM;i&&i.forEach(l=>{o(l=Bg(l)),l.node||l.ignore||l.mark||(l.node=a)})}return r}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new xo(t,xo.schemaRules(t)))}}const p_={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},nhe={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},m_={ol:!0,ul:!0},Iu=1,Au=2,sl=4;function jg(e,t,r){return t!=null?(t?Iu:0)|(t==="full"?Au:0):e&&e.whitespace=="pre"?Iu|Au:r&~sl}class zs{constructor(t,r,o,a,i,l){this.type=t,this.attrs=r,this.marks=o,this.solid=a,this.options=l,this.content=[],this.activeMarks=nt.none,this.match=i||(l&sl?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let r=this.type.contentMatch.fillBefore(re.from(t));if(r)this.match=this.type.contentMatch.matchFragment(r);else{let o=this.type.contentMatch,a;return(a=o.findWrapping(t.type))?(this.match=o,a):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&Iu)){let o=this.content[this.content.length-1],a;if(o&&o.isText&&(a=/[ \t\r\n\u000c]+$/.exec(o.text))){let i=o;o.text.length==a[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-a[0].length))}}let r=re.from(this.content);return!t&&this.match&&(r=r.append(this.match.fillBefore(re.empty,!0))),this.type?this.type.create(this.attrs,r,this.marks):r}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!p_.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}}class Lg{constructor(t,r,o){this.parser=t,this.options=r,this.isOpen=o,this.open=0;let a=r.topNode,i,l=jg(null,r.preserveWhitespace,0)|(o?sl:0);a?i=new zs(a.type,a.attrs,nt.none,!0,r.topMatch||a.type.contentMatch,l):o?i=new zs(null,null,nt.none,!0,null,l):i=new zs(t.schema.topNodeType,null,nt.none,!0,null,l),this.nodes=[i],this.find=r.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t,r){t.nodeType==3?this.addTextNode(t,r):t.nodeType==1&&this.addElement(t,r)}addTextNode(t,r){let o=t.nodeValue,a=this.top;if(a.options&Au||a.inlineContext(t)||/[^ \t\r\n\u000c]/.test(o)){if(a.options&Iu)a.options&Au?o=o.replace(/\r\n?/g,`
50
+ `):o=o.replace(/\r?\n|\r/g," ");else if(o=o.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(o)&&this.open==this.nodes.length-1){let i=a.content[a.content.length-1],l=t.previousSibling;(!i||l&&l.nodeName=="BR"||i.isText&&/[ \t\r\n\u000c]$/.test(i.text))&&(o=o.slice(1))}o&&this.insertNode(this.parser.schema.text(o),r),this.findInText(t)}else this.findInside(t)}addElement(t,r,o){let a=t.nodeName.toLowerCase(),i;m_.hasOwnProperty(a)&&this.parser.normalizeLists&&rhe(t);let l=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(i=this.parser.matchTag(t,this,o));if(l?l.ignore:nhe.hasOwnProperty(a))this.findInside(t),this.ignoreFallback(t,r);else if(!l||l.skip||l.closeParent){l&&l.closeParent?this.open=Math.max(0,this.open-1):l&&l.skip.nodeType&&(t=l.skip);let s,u=this.top,c=this.needsBlock;if(p_.hasOwnProperty(a))u.content.length&&u.content[0].isInline&&this.open&&(this.open--,u=this.top),s=!0,u.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t,r);return}let d=l&&l.skip?r:this.readStyles(t,r);d&&this.addAll(t,d),s&&this.sync(u),this.needsBlock=c}else{let s=this.readStyles(t,r);s&&this.addElementByRule(t,l,s,l.consuming===!1?i:void 0)}}leafFallback(t,r){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(`
51
+ `),r)}ignoreFallback(t,r){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),r)}readStyles(t,r){let o=t.style;if(o&&o.length)for(let a=0;a<this.parser.matchedStyles.length;a++){let i=this.parser.matchedStyles[a],l=o.getPropertyValue(i);if(l)for(let s=void 0;;){let u=this.parser.matchStyle(i,l,this,s);if(!u)break;if(u.ignore)return null;if(u.clearMark?r=r.filter(c=>!u.clearMark(c)):r=r.concat(this.parser.schema.marks[u.mark].create(u.attrs)),u.consuming===!1)s=u;else break}}return r}addElementByRule(t,r,o,a){let i,l;if(r.node)if(l=this.parser.schema.nodes[r.node],l.isLeaf)this.insertNode(l.create(r.attrs),o)||this.leafFallback(t,o);else{let u=this.enter(l,r.attrs||null,o,r.preserveWhitespace);u&&(i=!0,o=u)}else{let u=this.parser.schema.marks[r.mark];o=o.concat(u.create(r.attrs))}let s=this.top;if(l&&l.isLeaf)this.findInside(t);else if(a)this.addElement(t,o,a);else if(r.getContent)this.findInside(t),r.getContent(t,this.parser.schema).forEach(u=>this.insertNode(u,o));else{let u=t;typeof r.contentElement=="string"?u=t.querySelector(r.contentElement):typeof r.contentElement=="function"?u=r.contentElement(t):r.contentElement&&(u=r.contentElement),this.findAround(t,u,!0),this.addAll(u,o),this.findAround(t,u,!1)}i&&this.sync(s)&&this.open--}addAll(t,r,o,a){let i=o||0;for(let l=o?t.childNodes[o]:t.firstChild,s=a==null?null:t.childNodes[a];l!=s;l=l.nextSibling,++i)this.findAtPoint(t,i),this.addDOM(l,r);this.findAtPoint(t,i)}findPlace(t,r){let o,a;for(let i=this.open;i>=0;i--){let l=this.nodes[i],s=l.findWrapping(t);if(s&&(!o||o.length>s.length)&&(o=s,a=l,!s.length)||l.solid)break}if(!o)return null;this.sync(a);for(let i=0;i<o.length;i++)r=this.enterInner(o[i],null,r,!1);return r}insertNode(t,r){if(t.isInline&&this.needsBlock&&!this.top.type){let a=this.textblockFromContext();a&&(r=this.enterInner(a,null,r))}let o=this.findPlace(t,r);if(o){this.closeExtra();let a=this.top;a.match&&(a.match=a.match.matchType(t.type));let i=nt.none;for(let l of o.concat(t.marks))(a.type?a.type.allowsMarkType(l.type):Vg(l.type,t.type))&&(i=l.addToSet(i));return a.content.push(t.mark(i)),!0}return!1}enter(t,r,o,a){let i=this.findPlace(t.create(r),o);return i&&(i=this.enterInner(t,r,o,!0,a)),i}enterInner(t,r,o,a=!1,i){this.closeExtra();let l=this.top;l.match=l.match&&l.match.matchType(t);let s=jg(t,i,l.options);l.options&sl&&l.content.length==0&&(s|=sl);let u=nt.none;return o=o.filter(c=>(l.type?l.type.allowsMarkType(c.type):Vg(c.type,t))?(u=c.addToSet(u),!1):!0),this.nodes.push(new zs(t,r,u,a,null,s)),this.open++,o}closeExtra(t=!1){let r=this.nodes.length-1;if(r>this.open){for(;r>this.open;r--)this.nodes[r-1].content.push(this.nodes[r].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let r=this.open;r>=0;r--)if(this.nodes[r]==t)return this.open=r,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let r=this.open;r>=0;r--){let o=this.nodes[r].content;for(let a=o.length-1;a>=0;a--)t+=o[a].nodeSize;r&&t++}return t}findAtPoint(t,r){if(this.find)for(let o=0;o<this.find.length;o++)this.find[o].node==t&&this.find[o].offset==r&&(this.find[o].pos=this.currentPos)}findInside(t){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].pos==null&&t.nodeType==1&&t.contains(this.find[r].node)&&(this.find[r].pos=this.currentPos)}findAround(t,r,o){if(t!=r&&this.find)for(let a=0;a<this.find.length;a++)this.find[a].pos==null&&t.nodeType==1&&t.contains(this.find[a].node)&&r.compareDocumentPosition(this.find[a].node)&(o?2:4)&&(this.find[a].pos=this.currentPos)}findInText(t){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==t&&(this.find[r].pos=this.currentPos-(t.nodeValue.length-this.find[r].offset))}matchesContext(t){if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let r=t.split("/"),o=this.options.context,a=!this.isOpen&&(!o||o.parent.type==this.nodes[0].type),i=-(o?o.depth+1:0)+(a?0:1),l=(s,u)=>{for(;s>=0;s--){let c=r[s];if(c==""){if(s==r.length-1||s==0)continue;for(;u>=i;u--)if(l(s-1,u))return!0;return!1}else{let d=u>0||u==0&&a?this.nodes[u].type:o&&u>=i?o.node(u-i).type:null;if(!d||d.name!=c&&!d.isInGroup(c))return!1;u--}}return!0};return l(r.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let r=t.depth;r>=0;r--){let o=t.node(r).contentMatchAt(t.indexAfter(r)).defaultType;if(o&&o.isTextblock&&o.defaultAttrs)return o}for(let r in this.parser.schema.nodes){let o=this.parser.schema.nodes[r];if(o.isTextblock&&o.defaultAttrs)return o}}}function rhe(e){for(let t=e.firstChild,r=null;t;t=t.nextSibling){let o=t.nodeType==1?t.nodeName.toLowerCase():null;o&&m_.hasOwnProperty(o)&&r?(r.appendChild(t),t=r):o=="li"?r=t:o&&(r=null)}}function ohe(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Bg(e){let t={};for(let r in e)t[r]=e[r];return t}function Vg(e,t){let r=t.schema.nodes;for(let o in r){let a=r[o];if(!a.allowsMarkType(e))continue;let i=[],l=s=>{i.push(s);for(let u=0;u<s.edgeCount;u++){let{type:c,next:d}=s.edge(u);if(c==t||i.indexOf(d)<0&&l(d))return!0}};if(l(a.contentMatch))return!0}}class Da{constructor(t,r){this.nodes=t,this.marks=r}serializeFragment(t,r={},o){o||(o=Wd(r).createDocumentFragment());let a=o,i=[];return t.forEach(l=>{if(i.length||l.marks.length){let s=0,u=0;for(;s<i.length&&u<l.marks.length;){let c=l.marks[u];if(!this.marks[c.type.name]){u++;continue}if(!c.eq(i[s][0])||c.type.spec.spanning===!1)break;s++,u++}for(;s<i.length;)a=i.pop()[1];for(;u<l.marks.length;){let c=l.marks[u++],d=this.serializeMark(c,l.isInline,r);d&&(i.push([c,a]),a.appendChild(d.dom),a=d.contentDOM||d.dom)}}a.appendChild(this.serializeNodeInner(l,r))}),o}serializeNodeInner(t,r){let{dom:o,contentDOM:a}=nu(Wd(r),this.nodes[t.type.name](t),null,t.attrs);if(a){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,r,a)}return o}serializeNode(t,r={}){let o=this.serializeNodeInner(t,r);for(let a=t.marks.length-1;a>=0;a--){let i=this.serializeMark(t.marks[a],t.isInline,r);i&&((i.contentDOM||i.dom).appendChild(o),o=i.dom)}return o}serializeMark(t,r,o={}){let a=this.marks[t.type.name];return a&&nu(Wd(o),a(t,r),null,t.attrs)}static renderSpec(t,r,o=null,a){return nu(t,r,o,a)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new Da(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let r=$g(t.nodes);return r.text||(r.text=o=>o.text),r}static marksFromSchema(t){return $g(t.marks)}}function $g(e){let t={};for(let r in e){let o=e[r].spec.toDOM;o&&(t[r]=o)}return t}function Wd(e){return e.document||window.document}const Pg=new WeakMap;function ahe(e){let t=Pg.get(e);return t===void 0&&Pg.set(e,t=ihe(e)),t}function ihe(e){let t=null;function r(o){if(o&&typeof o=="object")if(Array.isArray(o))if(typeof o[0]=="string")t||(t=[]),t.push(o);else for(let a=0;a<o.length;a++)r(o[a]);else for(let a in o)r(o[a])}return r(e),t}function nu(e,t,r,o){if(typeof t=="string")return{dom:e.createTextNode(t)};if(t.nodeType!=null)return{dom:t};if(t.dom&&t.dom.nodeType!=null)return t;let a=t[0],i;if(typeof a!="string")throw new RangeError("Invalid array passed to renderSpec");if(o&&(i=ahe(o))&&i.indexOf(t)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let l=a.indexOf(" ");l>0&&(r=a.slice(0,l),a=a.slice(l+1));let s,u=r?e.createElementNS(r,a):e.createElement(a),c=t[1],d=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){d=2;for(let f in c)if(c[f]!=null){let p=f.indexOf(" ");p>0?u.setAttributeNS(f.slice(0,p),f.slice(p+1),c[f]):u.setAttribute(f,c[f])}}for(let f=d;f<t.length;f++){let p=t[f];if(p===0){if(f<t.length-1||f>d)throw new RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}else{let{dom:h,contentDOM:m}=nu(e,p,r,o);if(u.appendChild(h),m){if(s)throw new RangeError("Multiple content holes");s=m}}}return{dom:u,contentDOM:s}}const h_=65535,g_=Math.pow(2,16);function lhe(e,t){return e+t*g_}function Rg(e){return e&h_}function she(e){return(e-(e&h_))/g_}const v_=1,y_=2,ru=4,M_=8;class xp{constructor(t,r,o){this.pos=t,this.delInfo=r,this.recover=o}get deleted(){return(this.delInfo&M_)>0}get deletedBefore(){return(this.delInfo&(v_|ru))>0}get deletedAfter(){return(this.delInfo&(y_|ru))>0}get deletedAcross(){return(this.delInfo&ru)>0}}class Mn{constructor(t,r=!1){if(this.ranges=t,this.inverted=r,!t.length&&Mn.empty)return Mn.empty}recover(t){let r=0,o=Rg(t);if(!this.inverted)for(let a=0;a<o;a++)r+=this.ranges[a*3+2]-this.ranges[a*3+1];return this.ranges[o*3]+r+she(t)}mapResult(t,r=1){return this._map(t,r,!1)}map(t,r=1){return this._map(t,r,!0)}_map(t,r,o){let a=0,i=this.inverted?2:1,l=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let u=this.ranges[s]-(this.inverted?a:0);if(u>t)break;let c=this.ranges[s+i],d=this.ranges[s+l],f=u+c;if(t<=f){let p=c?t==u?-1:t==f?1:r:r,h=u+a+(p<0?0:d);if(o)return h;let m=t==(r<0?u:f)?null:lhe(s/3,t-u),g=t==u?y_:t==f?v_:ru;return(r<0?t!=u:t!=f)&&(g|=M_),new xp(h,g,m)}a+=d-c}return o?t+a:new xp(t+a,0,null)}touches(t,r){let o=0,a=Rg(r),i=this.inverted?2:1,l=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let u=this.ranges[s]-(this.inverted?o:0);if(u>t)break;let c=this.ranges[s+i],d=u+c;if(t<=d&&s==a*3)return!0;o+=this.ranges[s+l]-c}return!1}forEach(t){let r=this.inverted?2:1,o=this.inverted?1:2;for(let a=0,i=0;a<this.ranges.length;a+=3){let l=this.ranges[a],s=l-(this.inverted?i:0),u=l+(this.inverted?0:i),c=this.ranges[a+r],d=this.ranges[a+o];t(s,s+c,u,u+d),i+=d-c}}invert(){return new Mn(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(t){return t==0?Mn.empty:new Mn(t<0?[0,-t,0]:[0,0,t])}}Mn.empty=new Mn([]);class Za{constructor(t=[],r,o=0,a=t.length){this.maps=t,this.mirror=r,this.from=o,this.to=a}slice(t=0,r=this.maps.length){return new Za(this.maps,this.mirror,t,r)}copy(){return new Za(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(t,r){this.to=this.maps.push(t),r!=null&&this.setMirror(this.maps.length-1,r)}appendMapping(t){for(let r=0,o=this.maps.length;r<t.maps.length;r++){let a=t.getMirror(r);this.appendMap(t.maps[r],a!=null&&a<r?o+a:void 0)}}getMirror(t){if(this.mirror){for(let r=0;r<this.mirror.length;r++)if(this.mirror[r]==t)return this.mirror[r+(r%2?-1:1)]}}setMirror(t,r){this.mirror||(this.mirror=[]),this.mirror.push(t,r)}appendMappingInverted(t){for(let r=t.maps.length-1,o=this.maps.length+t.maps.length;r>=0;r--){let a=t.getMirror(r);this.appendMap(t.maps[r].invert(),a!=null&&a>r?o-a-1:void 0)}}invert(){let t=new Za;return t.appendMappingInverted(this),t}map(t,r=1){if(this.mirror)return this._map(t,r,!0);for(let o=this.from;o<this.to;o++)t=this.maps[o].map(t,r);return t}mapResult(t,r=1){return this._map(t,r,!1)}_map(t,r,o){let a=0;for(let i=this.from;i<this.to;i++){let l=this.maps[i],s=l.mapResult(t,r);if(s.recover!=null){let u=this.getMirror(i);if(u!=null&&u>i&&u<this.to){i=u,t=this.maps[u].recover(s.recover);continue}}a|=s.delInfo,t=s.pos}return o?t:new xp(t,a,null)}}const Gd=Object.create(null);class Yt{getMap(){return Mn.empty}merge(t){return null}static fromJSON(t,r){if(!r||!r.stepType)throw new RangeError("Invalid input for Step.fromJSON");let o=Gd[r.stepType];if(!o)throw new RangeError(`No step type ${r.stepType} defined`);return o.fromJSON(t,r)}static jsonID(t,r){if(t in Gd)throw new RangeError("Duplicate use of step JSON ID "+t);return Gd[t]=r,r.prototype.jsonID=t,r}}class bt{constructor(t,r){this.doc=t,this.failed=r}static ok(t){return new bt(t,null)}static fail(t){return new bt(null,t)}static fromReplace(t,r,o,a){try{return bt.ok(t.replace(r,o,a))}catch(i){if(i instanceof Eu)return bt.fail(i.message);throw i}}}function zm(e,t,r){let o=[];for(let a=0;a<e.childCount;a++){let i=e.child(a);i.content.size&&(i=i.copy(zm(i.content,t,i))),i.isInline&&(i=t(i,r,a)),o.push(i)}return re.fromArray(o)}class bo extends Yt{constructor(t,r,o){super(),this.from=t,this.to=r,this.mark=o}apply(t){let r=t.slice(this.from,this.to),o=t.resolve(this.from),a=o.node(o.sharedDepth(this.to)),i=new ye(zm(r.content,(l,s)=>!l.isAtom||!s.type.allowsMarkType(this.mark.type)?l:l.mark(this.mark.addToSet(l.marks)),a),r.openStart,r.openEnd);return bt.fromReplace(t,this.from,this.to,i)}invert(){return new Sr(this.from,this.to,this.mark)}map(t){let r=t.mapResult(this.from,1),o=t.mapResult(this.to,-1);return r.deleted&&o.deleted||r.pos>=o.pos?null:new bo(r.pos,o.pos,this.mark)}merge(t){return t instanceof bo&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new bo(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,r){if(typeof r.from!="number"||typeof r.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new bo(r.from,r.to,t.markFromJSON(r.mark))}}Yt.jsonID("addMark",bo);class Sr extends Yt{constructor(t,r,o){super(),this.from=t,this.to=r,this.mark=o}apply(t){let r=t.slice(this.from,this.to),o=new ye(zm(r.content,a=>a.mark(this.mark.removeFromSet(a.marks)),t),r.openStart,r.openEnd);return bt.fromReplace(t,this.from,this.to,o)}invert(){return new bo(this.from,this.to,this.mark)}map(t){let r=t.mapResult(this.from,1),o=t.mapResult(this.to,-1);return r.deleted&&o.deleted||r.pos>=o.pos?null:new Sr(r.pos,o.pos,this.mark)}merge(t){return t instanceof Sr&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Sr(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,r){if(typeof r.from!="number"||typeof r.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Sr(r.from,r.to,t.markFromJSON(r.mark))}}Yt.jsonID("removeMark",Sr);class No extends Yt{constructor(t,r){super(),this.pos=t,this.mark=r}apply(t){let r=t.nodeAt(this.pos);if(!r)return bt.fail("No node at mark step's position");let o=r.type.create(r.attrs,null,this.mark.addToSet(r.marks));return bt.fromReplace(t,this.pos,this.pos+1,new ye(re.from(o),0,r.isLeaf?0:1))}invert(t){let r=t.nodeAt(this.pos);if(r){let o=this.mark.addToSet(r.marks);if(o.length==r.marks.length){for(let a=0;a<r.marks.length;a++)if(!r.marks[a].isInSet(o))return new No(this.pos,r.marks[a]);return new No(this.pos,this.mark)}}return new hi(this.pos,this.mark)}map(t){let r=t.mapResult(this.pos,1);return r.deletedAfter?null:new No(r.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,r){if(typeof r.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new No(r.pos,t.markFromJSON(r.mark))}}Yt.jsonID("addNodeMark",No);class hi extends Yt{constructor(t,r){super(),this.pos=t,this.mark=r}apply(t){let r=t.nodeAt(this.pos);if(!r)return bt.fail("No node at mark step's position");let o=r.type.create(r.attrs,null,this.mark.removeFromSet(r.marks));return bt.fromReplace(t,this.pos,this.pos+1,new ye(re.from(o),0,r.isLeaf?0:1))}invert(t){let r=t.nodeAt(this.pos);return!r||!this.mark.isInSet(r.marks)?this:new No(this.pos,this.mark)}map(t){let r=t.mapResult(this.pos,1);return r.deletedAfter?null:new hi(r.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,r){if(typeof r.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new hi(r.pos,t.markFromJSON(r.mark))}}Yt.jsonID("removeNodeMark",hi);class Tt extends Yt{constructor(t,r,o,a=!1){super(),this.from=t,this.to=r,this.slice=o,this.structure=a}apply(t){return this.structure&&Ep(t,this.from,this.to)?bt.fail("Structure replace would overwrite content"):bt.fromReplace(t,this.from,this.to,this.slice)}getMap(){return new Mn([this.from,this.to-this.from,this.slice.size])}invert(t){return new Tt(this.from,this.from+this.slice.size,t.slice(this.from,this.to))}map(t){let r=t.mapResult(this.from,1),o=t.mapResult(this.to,-1);return r.deletedAcross&&o.deletedAcross?null:new Tt(r.pos,Math.max(r.pos,o.pos),this.slice)}merge(t){if(!(t instanceof Tt)||t.structure||this.structure)return null;if(this.from+this.slice.size==t.from&&!this.slice.openEnd&&!t.slice.openStart){let r=this.slice.size+t.slice.size==0?ye.empty:new ye(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new Tt(this.from,this.to+(t.to-t.from),r,this.structure)}else if(t.to==this.from&&!this.slice.openStart&&!t.slice.openEnd){let r=this.slice.size+t.slice.size==0?ye.empty:new ye(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new Tt(t.from,this.to,r,this.structure)}else return null}toJSON(){let t={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,r){if(typeof r.from!="number"||typeof r.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new Tt(r.from,r.to,ye.fromJSON(t,r.slice),!!r.structure)}}Yt.jsonID("replace",Tt);class Dt extends Yt{constructor(t,r,o,a,i,l,s=!1){super(),this.from=t,this.to=r,this.gapFrom=o,this.gapTo=a,this.slice=i,this.insert=l,this.structure=s}apply(t){if(this.structure&&(Ep(t,this.from,this.gapFrom)||Ep(t,this.gapTo,this.to)))return bt.fail("Structure gap-replace would overwrite content");let r=t.slice(this.gapFrom,this.gapTo);if(r.openStart||r.openEnd)return bt.fail("Gap is not a flat range");let o=this.slice.insertAt(this.insert,r.content);return o?bt.fromReplace(t,this.from,this.to,o):bt.fail("Content does not fit in gap")}getMap(){return new Mn([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(t){let r=this.gapTo-this.gapFrom;return new Dt(this.from,this.from+this.slice.size+r,this.from+this.insert,this.from+this.insert+r,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(t){let r=t.mapResult(this.from,1),o=t.mapResult(this.to,-1),a=this.from==this.gapFrom?r.pos:t.map(this.gapFrom,-1),i=this.to==this.gapTo?o.pos:t.map(this.gapTo,1);return r.deletedAcross&&o.deletedAcross||a<r.pos||i>o.pos?null:new Dt(r.pos,o.pos,a,i,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,r){if(typeof r.from!="number"||typeof r.to!="number"||typeof r.gapFrom!="number"||typeof r.gapTo!="number"||typeof r.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Dt(r.from,r.to,r.gapFrom,r.gapTo,ye.fromJSON(t,r.slice),r.insert,!!r.structure)}}Yt.jsonID("replaceAround",Dt);function Ep(e,t,r){let o=e.resolve(t),a=r-t,i=o.depth;for(;a>0&&i>0&&o.indexAfter(i)==o.node(i).childCount;)i--,a--;if(a>0){let l=o.node(i).maybeChild(o.indexAfter(i));for(;a>0;){if(!l||l.isLeaf)return!0;l=l.firstChild,a--}}return!1}function uhe(e,t,r,o){let a=[],i=[],l,s;e.doc.nodesBetween(t,r,(u,c,d)=>{if(!u.isInline)return;let f=u.marks;if(!o.isInSet(f)&&d.type.allowsMarkType(o.type)){let p=Math.max(c,t),h=Math.min(c+u.nodeSize,r),m=o.addToSet(f);for(let g=0;g<f.length;g++)f[g].isInSet(m)||(l&&l.to==p&&l.mark.eq(f[g])?l.to=h:a.push(l=new Sr(p,h,f[g])));s&&s.to==p?s.to=h:i.push(s=new bo(p,h,o))}}),a.forEach(u=>e.step(u)),i.forEach(u=>e.step(u))}function che(e,t,r,o){let a=[],i=0;e.doc.nodesBetween(t,r,(l,s)=>{if(!l.isInline)return;i++;let u=null;if(o instanceof td){let c=l.marks,d;for(;d=o.isInSet(c);)(u||(u=[])).push(d),c=d.removeFromSet(c)}else o?o.isInSet(l.marks)&&(u=[o]):u=l.marks;if(u&&u.length){let c=Math.min(s+l.nodeSize,r);for(let d=0;d<u.length;d++){let f=u[d],p;for(let h=0;h<a.length;h++){let m=a[h];m.step==i-1&&f.eq(a[h].style)&&(p=m)}p?(p.to=c,p.step=i):a.push({style:f,from:Math.max(s,t),to:c,step:i})}}}),a.forEach(l=>e.step(new Sr(l.from,l.to,l.style)))}function Om(e,t,r,o=r.contentMatch,a=!0){let i=e.doc.nodeAt(t),l=[],s=t+1;for(let u=0;u<i.childCount;u++){let c=i.child(u),d=s+c.nodeSize,f=o.matchType(c.type);if(!f)l.push(new Tt(s,d,ye.empty));else{o=f;for(let p=0;p<c.marks.length;p++)r.allowsMarkType(c.marks[p].type)||e.step(new Sr(s,d,c.marks[p]));if(a&&c.isText&&r.whitespace!="pre"){let p,h=/\r?\n|\r/g,m;for(;p=h.exec(c.text);)m||(m=new ye(re.from(r.schema.text(" ",r.allowedMarks(c.marks))),0,0)),l.push(new Tt(s+p.index,s+p.index+p[0].length,m))}}s=d}if(!o.validEnd){let u=o.fillBefore(re.empty,!0);e.replace(s,s,new ye(u,0,0))}for(let u=l.length-1;u>=0;u--)e.step(l[u])}function dhe(e,t,r){return(t==0||e.canReplace(t,e.childCount))&&(r==e.childCount||e.canReplace(0,r))}function Bi(e){let r=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let o=e.depth;;--o){let a=e.$from.node(o),i=e.$from.index(o),l=e.$to.indexAfter(o);if(o<e.depth&&a.canReplace(i,l,r))return o;if(o==0||a.type.spec.isolating||!dhe(a,i,l))break}return null}function fhe(e,t,r){let{$from:o,$to:a,depth:i}=t,l=o.before(i+1),s=a.after(i+1),u=l,c=s,d=re.empty,f=0;for(let m=i,g=!1;m>r;m--)g||o.index(m)>0?(g=!0,d=re.from(o.node(m).copy(d)),f++):u--;let p=re.empty,h=0;for(let m=i,g=!1;m>r;m--)g||a.after(m+1)<a.end(m)?(g=!0,p=re.from(a.node(m).copy(p)),h++):c++;e.step(new Dt(u,c,l,s,new ye(d.append(p),f,h),d.size-f,!0))}function jm(e,t,r=null,o=e){let a=phe(e,t),i=a&&mhe(o,t);return i?a.map(Fg).concat({type:t,attrs:r}).concat(i.map(Fg)):null}function Fg(e){return{type:e,attrs:null}}function phe(e,t){let{parent:r,startIndex:o,endIndex:a}=e,i=r.contentMatchAt(o).findWrapping(t);if(!i)return null;let l=i.length?i[0]:t;return r.canReplaceWith(o,a,l)?i:null}function mhe(e,t){let{parent:r,startIndex:o,endIndex:a}=e,i=r.child(o),l=t.contentMatch.findWrapping(i.type);if(!l)return null;let u=(l.length?l[l.length-1]:t).contentMatch;for(let c=o;u&&c<a;c++)u=u.matchType(r.child(c).type);return!u||!u.validEnd?null:l}function hhe(e,t,r){let o=re.empty;for(let l=r.length-1;l>=0;l--){if(o.size){let s=r[l].type.contentMatch.matchFragment(o);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}o=re.from(r[l].type.create(r[l].attrs,o))}let a=t.start,i=t.end;e.step(new Dt(a,i,a,i,new ye(o,0,0),r.length,!0))}function ghe(e,t,r,o,a){if(!o.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=e.steps.length;e.doc.nodesBetween(t,r,(l,s)=>{let u=typeof a=="function"?a(l):a;if(l.isTextblock&&!l.hasMarkup(o,u)&&vhe(e.doc,e.mapping.slice(i).map(s),o)){let c=null;if(o.schema.linebreakReplacement){let h=o.whitespace=="pre",m=!!o.contentMatch.matchType(o.schema.linebreakReplacement);h&&!m?c=!1:!h&&m&&(c=!0)}c===!1&&b_(e,l,s,i),Om(e,e.mapping.slice(i).map(s,1),o,void 0,c===null);let d=e.mapping.slice(i),f=d.map(s,1),p=d.map(s+l.nodeSize,1);return e.step(new Dt(f,p,f+1,p-1,new ye(re.from(o.create(u,null,l.marks)),0,0),1,!0)),c===!0&&__(e,l,s,i),!1}})}function __(e,t,r,o){t.forEach((a,i)=>{if(a.isText){let l,s=/\r?\n|\r/g;for(;l=s.exec(a.text);){let u=e.mapping.slice(o).map(r+1+i+l.index);e.replaceWith(u,u+1,t.type.schema.linebreakReplacement.create())}}})}function b_(e,t,r,o){t.forEach((a,i)=>{if(a.type==a.type.schema.linebreakReplacement){let l=e.mapping.slice(o).map(r+1+i);e.replaceWith(l,l+1,t.type.schema.text(`
52
+ `))}})}function vhe(e,t,r){let o=e.resolve(t),a=o.index();return o.parent.canReplaceWith(a,a+1,r)}function yhe(e,t,r,o,a){let i=e.doc.nodeAt(t);if(!i)throw new RangeError("No node at given position");r||(r=i.type);let l=r.create(o,null,a||i.marks);if(i.isLeaf)return e.replaceWith(t,t+i.nodeSize,l);if(!r.validContent(i.content))throw new RangeError("Invalid content for node type "+r.name);e.step(new Dt(t,t+i.nodeSize,t+1,t+i.nodeSize-1,new ye(re.from(l),0,0),1,!0))}function Ja(e,t,r=1,o){let a=e.resolve(t),i=a.depth-r,l=o&&o[o.length-1]||a.parent;if(i<0||a.parent.type.spec.isolating||!a.parent.canReplace(a.index(),a.parent.childCount)||!l.type.validContent(a.parent.content.cutByIndex(a.index(),a.parent.childCount)))return!1;for(let c=a.depth-1,d=r-2;c>i;c--,d--){let f=a.node(c),p=a.index(c);if(f.type.spec.isolating)return!1;let h=f.content.cutByIndex(p,f.childCount),m=o&&o[d+1];m&&(h=h.replaceChild(0,m.type.create(m.attrs)));let g=o&&o[d]||f;if(!f.canReplace(p+1,f.childCount)||!g.type.validContent(h))return!1}let s=a.indexAfter(i),u=o&&o[0];return a.node(i).canReplaceWith(s,s,u?u.type:a.node(i+1).type)}function Mhe(e,t,r=1,o){let a=e.doc.resolve(t),i=re.empty,l=re.empty;for(let s=a.depth,u=a.depth-r,c=r-1;s>u;s--,c--){i=re.from(a.node(s).copy(i));let d=o&&o[c];l=re.from(d?d.type.create(d.attrs,l):a.node(s).copy(l))}e.step(new Tt(t,t,new ye(i.append(l),r,r),!0))}function $o(e,t){let r=e.resolve(t),o=r.index();return N_(r.nodeBefore,r.nodeAfter)&&r.parent.canReplace(o,o+1)}function _he(e,t){t.content.size||e.type.compatibleContent(t.type);let r=e.contentMatchAt(e.childCount),{linebreakReplacement:o}=e.type.schema;for(let a=0;a<t.childCount;a++){let i=t.child(a),l=i.type==o?e.type.schema.nodes.text:i.type;if(r=r.matchType(l),!r||!e.type.allowsMarks(i.marks))return!1}return r.validEnd}function N_(e,t){return!!(e&&t&&!e.isLeaf&&_he(e,t))}function nd(e,t,r=-1){let o=e.resolve(t);for(let a=o.depth;;a--){let i,l,s=o.index(a);if(a==o.depth?(i=o.nodeBefore,l=o.nodeAfter):r>0?(i=o.node(a+1),s++,l=o.node(a).maybeChild(s)):(i=o.node(a).maybeChild(s-1),l=o.node(a+1)),i&&!i.isTextblock&&N_(i,l)&&o.node(a).canReplace(s,s+1))return t;if(a==0)break;t=r<0?o.before(a):o.after(a)}}function bhe(e,t,r){let o=null,{linebreakReplacement:a}=e.doc.type.schema,i=e.doc.resolve(t-r),l=i.node().type;if(a&&l.inlineContent){let d=l.whitespace=="pre",f=!!l.contentMatch.matchType(a);d&&!f?o=!1:!d&&f&&(o=!0)}let s=e.steps.length;if(o===!1){let d=e.doc.resolve(t+r);b_(e,d.node(),d.before(),s)}l.inlineContent&&Om(e,t+r-1,l,i.node().contentMatchAt(i.index()),o==null);let u=e.mapping.slice(s),c=u.map(t-r);if(e.step(new Tt(c,u.map(t+r,-1),ye.empty,!0)),o===!0){let d=e.doc.resolve(c);__(e,d.node(),d.before(),e.steps.length)}return e}function Nhe(e,t,r){let o=e.resolve(t);if(o.parent.canReplaceWith(o.index(),o.index(),r))return t;if(o.parentOffset==0)for(let a=o.depth-1;a>=0;a--){let i=o.index(a);if(o.node(a).canReplaceWith(i,i,r))return o.before(a+1);if(i>0)return null}if(o.parentOffset==o.parent.content.size)for(let a=o.depth-1;a>=0;a--){let i=o.indexAfter(a);if(o.node(a).canReplaceWith(i,i,r))return o.after(a+1);if(i<o.node(a).childCount)return null}return null}function whe(e,t,r){let o=e.resolve(t);if(!r.content.size)return t;let a=r.content;for(let i=0;i<r.openStart;i++)a=a.firstChild.content;for(let i=1;i<=(r.openStart==0&&r.size?2:1);i++)for(let l=o.depth;l>=0;l--){let s=l==o.depth?0:o.pos<=(o.start(l+1)+o.end(l+1))/2?-1:1,u=o.index(l)+(s>0?1:0),c=o.node(l),d=!1;if(i==1)d=c.canReplace(u,u,a);else{let f=c.contentMatchAt(u).findWrapping(a.firstChild.type);d=f&&c.canReplaceWith(u,u,f[0])}if(d)return s==0?o.pos:s<0?o.before(l+1):o.after(l+1)}return null}function rd(e,t,r=t,o=ye.empty){if(t==r&&!o.size)return null;let a=e.resolve(t),i=e.resolve(r);return w_(a,i,o)?new Tt(t,r,o):new khe(a,i,o).fit()}function w_(e,t,r){return!r.openStart&&!r.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),r.content)}class khe{constructor(t,r,o){this.$from=t,this.$to=r,this.unplaced=o,this.frontier=[],this.placed=re.empty;for(let a=0;a<=t.depth;a++){let i=t.node(a);this.frontier.push({type:i.type,match:i.contentMatchAt(t.indexAfter(a))})}for(let a=t.depth;a>0;a--)this.placed=re.from(t.node(a).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),r=this.placed.size-this.depth-this.$from.depth,o=this.$from,a=this.close(t<0?this.$to:o.doc.resolve(t));if(!a)return null;let i=this.placed,l=o.depth,s=a.depth;for(;l&&s&&i.childCount==1;)i=i.firstChild.content,l--,s--;let u=new ye(i,l,s);return t>-1?new Dt(o.pos,t,this.$to.pos,this.$to.end(),u,r):u.size||o.pos!=this.$to.pos?new Tt(o.pos,a.pos,u):null}findFittable(){let t=this.unplaced.openStart;for(let r=this.unplaced.content,o=0,a=this.unplaced.openEnd;o<t;o++){let i=r.firstChild;if(r.childCount>1&&(a=0),i.type.spec.isolating&&a<=o){t=o;break}r=i.content}for(let r=1;r<=2;r++)for(let o=r==1?t:this.unplaced.openStart;o>=0;o--){let a,i=null;o?(i=Kd(this.unplaced.content,o-1).firstChild,a=i.content):a=this.unplaced.content;let l=a.firstChild;for(let s=this.depth;s>=0;s--){let{type:u,match:c}=this.frontier[s],d,f=null;if(r==1&&(l?c.matchType(l.type)||(f=c.fillBefore(re.from(l),!1)):i&&u.compatibleContent(i.type)))return{sliceDepth:o,frontierDepth:s,parent:i,inject:f};if(r==2&&l&&(d=c.findWrapping(l.type)))return{sliceDepth:o,frontierDepth:s,parent:i,wrap:d};if(i&&c.matchType(i.type))break}}}openMore(){let{content:t,openStart:r,openEnd:o}=this.unplaced,a=Kd(t,r);return!a.childCount||a.firstChild.isLeaf?!1:(this.unplaced=new ye(t,r+1,Math.max(o,a.size+r>=t.size-o?r+1:0)),!0)}dropNode(){let{content:t,openStart:r,openEnd:o}=this.unplaced,a=Kd(t,r);if(a.childCount<=1&&r>0){let i=t.size-r<=r+a.size;this.unplaced=new ye(Zi(t,r-1,1),r-1,i?r-1:o)}else this.unplaced=new ye(Zi(t,r,1),r,o)}placeNodes({sliceDepth:t,frontierDepth:r,parent:o,inject:a,wrap:i}){for(;this.depth>r;)this.closeFrontierNode();if(i)for(let g=0;g<i.length;g++)this.openFrontierNode(i[g]);let l=this.unplaced,s=o?o.content:l.content,u=l.openStart-t,c=0,d=[],{match:f,type:p}=this.frontier[r];if(a){for(let g=0;g<a.childCount;g++)d.push(a.child(g));f=f.matchFragment(a)}let h=s.size+t-(l.content.size-l.openEnd);for(;c<s.childCount;){let g=s.child(c),y=f.matchType(g.type);if(!y)break;c++,(c>1||u==0||g.content.size)&&(f=y,d.push(k_(g.mark(p.allowedMarks(g.marks)),c==1?u:0,c==s.childCount?h:-1)))}let m=c==s.childCount;m||(h=-1),this.placed=Ji(this.placed,r,re.from(d)),this.frontier[r].match=f,m&&h<0&&o&&o.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let g=0,y=s;g<h;g++){let v=y.lastChild;this.frontier.push({type:v.type,match:v.contentMatchAt(v.childCount)}),y=v.content}this.unplaced=m?t==0?ye.empty:new ye(Zi(l.content,t-1,1),t-1,h<0?l.openEnd:t-1):new ye(Zi(l.content,t,c),l.openStart,l.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let t=this.frontier[this.depth],r;if(!t.type.isTextblock||!Zd(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(r=this.findCloseLevel(this.$to))&&r.depth==this.depth)return-1;let{depth:o}=this.$to,a=this.$to.after(o);for(;o>1&&a==this.$to.end(--o);)++a;return a}findCloseLevel(t){e:for(let r=Math.min(this.depth,t.depth);r>=0;r--){let{match:o,type:a}=this.frontier[r],i=r<t.depth&&t.end(r+1)==t.pos+(t.depth-(r+1)),l=Zd(t,r,a,o,i);if(l){for(let s=r-1;s>=0;s--){let{match:u,type:c}=this.frontier[s],d=Zd(t,s,c,u,!0);if(!d||d.childCount)continue e}return{depth:r,fit:l,move:i?t.doc.resolve(t.after(r+1)):t}}}}close(t){let r=this.findCloseLevel(t);if(!r)return null;for(;this.depth>r.depth;)this.closeFrontierNode();r.fit.childCount&&(this.placed=Ji(this.placed,r.depth,r.fit)),t=r.move;for(let o=r.depth+1;o<=t.depth;o++){let a=t.node(o),i=a.type.contentMatch.fillBefore(a.content,!0,t.index(o));this.openFrontierNode(a.type,a.attrs,i)}return t}openFrontierNode(t,r=null,o){let a=this.frontier[this.depth];a.match=a.match.matchType(t),this.placed=Ji(this.placed,this.depth,re.from(t.create(r,o))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let r=this.frontier.pop().match.fillBefore(re.empty,!0);r.childCount&&(this.placed=Ji(this.placed,this.frontier.length,r))}}function Zi(e,t,r){return t==0?e.cutByIndex(r,e.childCount):e.replaceChild(0,e.firstChild.copy(Zi(e.firstChild.content,t-1,r)))}function Ji(e,t,r){return t==0?e.append(r):e.replaceChild(e.childCount-1,e.lastChild.copy(Ji(e.lastChild.content,t-1,r)))}function Kd(e,t){for(let r=0;r<t;r++)e=e.firstChild.content;return e}function k_(e,t,r){if(t<=0)return e;let o=e.content;return t>1&&(o=o.replaceChild(0,k_(o.firstChild,t-1,o.childCount==1?r-1:0))),t>0&&(o=e.type.contentMatch.fillBefore(o).append(o),r<=0&&(o=o.append(e.type.contentMatch.matchFragment(o).fillBefore(re.empty,!0)))),e.copy(o)}function Zd(e,t,r,o,a){let i=e.node(t),l=a?e.indexAfter(t):e.index(t);if(l==i.childCount&&!r.compatibleContent(i.type))return null;let s=o.fillBefore(i.content,!0,l);return s&&!Che(r,i.content,l)?s:null}function Che(e,t,r){for(let o=r;o<t.childCount;o++)if(!e.allowsMarks(t.child(o).marks))return!0;return!1}function xhe(e){return e.spec.defining||e.spec.definingForContent}function Ehe(e,t,r,o){if(!o.size)return e.deleteRange(t,r);let a=e.doc.resolve(t),i=e.doc.resolve(r);if(w_(a,i,o))return e.step(new Tt(t,r,o));let l=x_(a,e.doc.resolve(r));l[l.length-1]==0&&l.pop();let s=-(a.depth+1);l.unshift(s);for(let p=a.depth,h=a.pos-1;p>0;p--,h--){let m=a.node(p).type.spec;if(m.defining||m.definingAsContext||m.isolating)break;l.indexOf(p)>-1?s=p:a.before(p)==h&&l.splice(1,0,-p)}let u=l.indexOf(s),c=[],d=o.openStart;for(let p=o.content,h=0;;h++){let m=p.firstChild;if(c.push(m),h==o.openStart)break;p=m.content}for(let p=d-1;p>=0;p--){let h=c[p],m=xhe(h.type);if(m&&!h.sameMarkup(a.node(Math.abs(s)-1)))d=p;else if(m||!h.type.isTextblock)break}for(let p=o.openStart;p>=0;p--){let h=(p+d+1)%(o.openStart+1),m=c[h];if(m)for(let g=0;g<l.length;g++){let y=l[(g+u)%l.length],v=!0;y<0&&(v=!1,y=-y);let _=a.node(y-1),b=a.index(y-1);if(_.canReplaceWith(b,b,m.type,m.marks))return e.replace(a.before(y),v?i.after(y):r,new ye(C_(o.content,0,o.openStart,h),h,o.openEnd))}}let f=e.steps.length;for(let p=l.length-1;p>=0&&(e.replace(t,r,o),!(e.steps.length>f));p--){let h=l[p];h<0||(t=a.before(h),r=i.after(h))}}function C_(e,t,r,o,a){if(t<r){let i=e.firstChild;e=e.replaceChild(0,i.copy(C_(i.content,t+1,r,o,i)))}if(t>o){let i=a.contentMatchAt(0),l=i.fillBefore(e).append(e);e=l.append(i.matchFragment(l).fillBefore(re.empty,!0))}return e}function The(e,t,r,o){if(!o.isInline&&t==r&&e.doc.resolve(t).parent.content.size){let a=Nhe(e.doc,t,o.type);a!=null&&(t=r=a)}e.replaceRange(t,r,new ye(re.from(o),0,0))}function Dhe(e,t,r){let o=e.doc.resolve(t),a=e.doc.resolve(r),i=x_(o,a);for(let l=0;l<i.length;l++){let s=i[l],u=l==i.length-1;if(u&&s==0||o.node(s).type.contentMatch.validEnd)return e.delete(o.start(s),a.end(s));if(s>0&&(u||o.node(s-1).canReplace(o.index(s-1),a.indexAfter(s-1))))return e.delete(o.before(s),a.after(s))}for(let l=1;l<=o.depth&&l<=a.depth;l++)if(t-o.start(l)==o.depth-l&&r>o.end(l)&&a.end(l)-r!=a.depth-l&&o.start(l-1)==a.start(l-1)&&o.node(l-1).canReplace(o.index(l-1),a.index(l-1)))return e.delete(o.before(l),r);e.delete(t,r)}function x_(e,t){let r=[],o=Math.min(e.depth,t.depth);for(let a=o;a>=0;a--){let i=e.start(a);if(i<e.pos-(e.depth-a)||t.end(a)>t.pos+(t.depth-a)||e.node(a).type.spec.isolating||t.node(a).type.spec.isolating)break;(i==t.start(a)||a==e.depth&&a==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&a&&t.start(a-1)==i-1)&&r.push(a)}return r}class Xa extends Yt{constructor(t,r,o){super(),this.pos=t,this.attr=r,this.value=o}apply(t){let r=t.nodeAt(this.pos);if(!r)return bt.fail("No node at attribute step's position");let o=Object.create(null);for(let i in r.attrs)o[i]=r.attrs[i];o[this.attr]=this.value;let a=r.type.create(o,null,r.marks);return bt.fromReplace(t,this.pos,this.pos+1,new ye(re.from(a),0,r.isLeaf?0:1))}getMap(){return Mn.empty}invert(t){return new Xa(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let r=t.mapResult(this.pos,1);return r.deletedAfter?null:new Xa(r.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,r){if(typeof r.pos!="number"||typeof r.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Xa(r.pos,r.attr,r.value)}}Yt.jsonID("attr",Xa);class zl extends Yt{constructor(t,r){super(),this.attr=t,this.value=r}apply(t){let r=Object.create(null);for(let a in t.attrs)r[a]=t.attrs[a];r[this.attr]=this.value;let o=t.type.create(r,t.content,t.marks);return bt.ok(o)}getMap(){return Mn.empty}invert(t){return new zl(this.attr,t.attrs[this.attr])}map(t){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(t,r){if(typeof r.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new zl(r.attr,r.value)}}Yt.jsonID("docAttr",zl);let gi=class extends Error{};gi=function e(t){let r=Error.call(this,t);return r.__proto__=e.prototype,r};gi.prototype=Object.create(Error.prototype);gi.prototype.constructor=gi;gi.prototype.name="TransformError";class E_{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new Za}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let r=this.maybeStep(t);if(r.failed)throw new gi(r.failed);return this}maybeStep(t){let r=t.apply(this.doc);return r.failed||this.addStep(t,r.doc),r}get docChanged(){return this.steps.length>0}addStep(t,r){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=r}replace(t,r=t,o=ye.empty){let a=rd(this.doc,t,r,o);return a&&this.step(a),this}replaceWith(t,r,o){return this.replace(t,r,new ye(re.from(o),0,0))}delete(t,r){return this.replace(t,r,ye.empty)}insert(t,r){return this.replaceWith(t,t,r)}replaceRange(t,r,o){return Ehe(this,t,r,o),this}replaceRangeWith(t,r,o){return The(this,t,r,o),this}deleteRange(t,r){return Dhe(this,t,r),this}lift(t,r){return fhe(this,t,r),this}join(t,r=1){return bhe(this,t,r),this}wrap(t,r){return hhe(this,t,r),this}setBlockType(t,r=t,o,a=null){return ghe(this,t,r,o,a),this}setNodeMarkup(t,r,o=null,a){return yhe(this,t,r,o,a),this}setNodeAttribute(t,r,o){return this.step(new Xa(t,r,o)),this}setDocAttribute(t,r){return this.step(new zl(t,r)),this}addNodeMark(t,r){return this.step(new No(t,r)),this}removeNodeMark(t,r){if(!(r instanceof nt)){let o=this.doc.nodeAt(t);if(!o)throw new RangeError("No node at position "+t);if(r=r.isInSet(o.marks),!r)return this}return this.step(new hi(t,r)),this}split(t,r=1,o){return Mhe(this,t,r,o),this}addMark(t,r,o){return uhe(this,t,r,o),this}removeMark(t,r,o){return che(this,t,r,o),this}clearIncompatible(t,r,o){return Om(this,t,r,o),this}}const Jd=Object.create(null);class Fe{constructor(t,r,o){this.$anchor=t,this.$head=r,this.ranges=o||[new She(t.min(r),t.max(r))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let r=0;r<t.length;r++)if(t[r].$from.pos!=t[r].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(t,r=ye.empty){let o=r.content.lastChild,a=null;for(let s=0;s<r.openEnd;s++)a=o,o=o.lastChild;let i=t.steps.length,l=this.ranges;for(let s=0;s<l.length;s++){let{$from:u,$to:c}=l[s],d=t.mapping.slice(i);t.replaceRange(d.map(u.pos),d.map(c.pos),s?ye.empty:r),s==0&&Yg(t,i,(o?o.isInline:a&&a.isTextblock)?-1:1)}}replaceWith(t,r){let o=t.steps.length,a=this.ranges;for(let i=0;i<a.length;i++){let{$from:l,$to:s}=a[i],u=t.mapping.slice(o),c=u.map(l.pos),d=u.map(s.pos);i?t.deleteRange(c,d):(t.replaceRangeWith(c,d,r),Yg(t,o,r.isInline?-1:1))}}static findFrom(t,r,o=!1){let a=t.parent.inlineContent?new Ve(t):Ua(t.node(0),t.parent,t.pos,t.index(),r,o);if(a)return a;for(let i=t.depth-1;i>=0;i--){let l=r<0?Ua(t.node(0),t.node(i),t.before(i+1),t.index(i),r,o):Ua(t.node(0),t.node(i),t.after(i+1),t.index(i)+1,r,o);if(l)return l}return null}static near(t,r=1){return this.findFrom(t,r)||this.findFrom(t,-r)||new dr(t.node(0))}static atStart(t){return Ua(t,t,0,0,1)||new dr(t)}static atEnd(t){return Ua(t,t,t.content.size,t.childCount,-1)||new dr(t)}static fromJSON(t,r){if(!r||!r.type)throw new RangeError("Invalid input for Selection.fromJSON");let o=Jd[r.type];if(!o)throw new RangeError(`No selection type ${r.type} defined`);return o.fromJSON(t,r)}static jsonID(t,r){if(t in Jd)throw new RangeError("Duplicate use of selection JSON ID "+t);return Jd[t]=r,r.prototype.jsonID=t,r}getBookmark(){return Ve.between(this.$anchor,this.$head).getBookmark()}}Fe.prototype.visible=!0;class She{constructor(t,r){this.$from=t,this.$to=r}}let Ug=!1;function Hg(e){!Ug&&!e.parent.inlineContent&&(Ug=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class Ve extends Fe{constructor(t,r=t){Hg(t),Hg(r),super(t,r)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,r){let o=t.resolve(r.map(this.head));if(!o.parent.inlineContent)return Fe.near(o);let a=t.resolve(r.map(this.anchor));return new Ve(a.parent.inlineContent?a:o,o)}replace(t,r=ye.empty){if(super.replace(t,r),r==ye.empty){let o=this.$from.marksAcross(this.$to);o&&t.ensureMarks(o)}}eq(t){return t instanceof Ve&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new od(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,r){if(typeof r.anchor!="number"||typeof r.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Ve(t.resolve(r.anchor),t.resolve(r.head))}static create(t,r,o=r){let a=t.resolve(r);return new this(a,o==r?a:t.resolve(o))}static between(t,r,o){let a=t.pos-r.pos;if((!o||a)&&(o=a>=0?1:-1),!r.parent.inlineContent){let i=Fe.findFrom(r,o,!0)||Fe.findFrom(r,-o,!0);if(i)r=i.$head;else return Fe.near(r,o)}return t.parent.inlineContent||(a==0?t=r:(t=(Fe.findFrom(t,-o,!0)||Fe.findFrom(t,o,!0)).$anchor,t.pos<r.pos!=a<0&&(t=r))),new Ve(t,r)}}Fe.jsonID("text",Ve);class od{constructor(t,r){this.anchor=t,this.head=r}map(t){return new od(t.map(this.anchor),t.map(this.head))}resolve(t){return Ve.between(t.resolve(this.anchor),t.resolve(this.head))}}class Te extends Fe{constructor(t){let r=t.nodeAfter,o=t.node(0).resolve(t.pos+r.nodeSize);super(t,o),this.node=r}map(t,r){let{deleted:o,pos:a}=r.mapResult(this.anchor),i=t.resolve(a);return o?Fe.near(i):new Te(i)}content(){return new ye(re.from(this.node),0,0)}eq(t){return t instanceof Te&&t.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Lm(this.anchor)}static fromJSON(t,r){if(typeof r.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Te(t.resolve(r.anchor))}static create(t,r){return new Te(t.resolve(r))}static isSelectable(t){return!t.isText&&t.type.spec.selectable!==!1}}Te.prototype.visible=!1;Fe.jsonID("node",Te);class Lm{constructor(t){this.anchor=t}map(t){let{deleted:r,pos:o}=t.mapResult(this.anchor);return r?new od(o,o):new Lm(o)}resolve(t){let r=t.resolve(this.anchor),o=r.nodeAfter;return o&&Te.isSelectable(o)?new Te(r):Fe.near(r)}}class dr extends Fe{constructor(t){super(t.resolve(0),t.resolve(t.content.size))}replace(t,r=ye.empty){if(r==ye.empty){t.delete(0,t.doc.content.size);let o=Fe.atStart(t.doc);o.eq(t.selection)||t.setSelection(o)}else super.replace(t,r)}toJSON(){return{type:"all"}}static fromJSON(t){return new dr(t)}map(t){return new dr(t)}eq(t){return t instanceof dr}getBookmark(){return Ihe}}Fe.jsonID("all",dr);const Ihe={map(){return this},resolve(e){return new dr(e)}};function Ua(e,t,r,o,a,i=!1){if(t.inlineContent)return Ve.create(e,r);for(let l=o-(a>0?0:1);a>0?l<t.childCount:l>=0;l+=a){let s=t.child(l);if(s.isAtom){if(!i&&Te.isSelectable(s))return Te.create(e,r-(a<0?s.nodeSize:0))}else{let u=Ua(e,s,r+a,a<0?s.childCount:0,a,i);if(u)return u}r+=s.nodeSize*a}return null}function Yg(e,t,r){let o=e.steps.length-1;if(o<t)return;let a=e.steps[o];if(!(a instanceof Tt||a instanceof Dt))return;let i=e.mapping.maps[o],l;i.forEach((s,u,c,d)=>{l==null&&(l=d)}),e.setSelection(Fe.near(e.doc.resolve(l),r))}const Qg=1,Os=2,qg=4;class Ahe extends E_{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(t){if(t.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=t,this.curSelectionFor=this.steps.length,this.updated=(this.updated|Qg)&~Os,this.storedMarks=null,this}get selectionSet(){return(this.updated&Qg)>0}setStoredMarks(t){return this.storedMarks=t,this.updated|=Os,this}ensureMarks(t){return nt.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Os)>0}addStep(t,r){super.addStep(t,r),this.updated=this.updated&~Os,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,r=!0){let o=this.selection;return r&&(t=t.mark(this.storedMarks||(o.empty?o.$from.marks():o.$from.marksAcross(o.$to)||nt.none))),o.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,r,o){let a=this.doc.type.schema;if(r==null)return t?this.replaceSelectionWith(a.text(t),!0):this.deleteSelection();{if(o==null&&(o=r),o=o??r,!t)return this.deleteRange(r,o);let i=this.storedMarks;if(!i){let l=this.doc.resolve(r);i=o==r?l.marks():l.marksAcross(this.doc.resolve(o))}return this.replaceRangeWith(r,o,a.text(t,i)),this.selection.empty||this.setSelection(Fe.near(this.selection.$to)),this}}setMeta(t,r){return this.meta[typeof t=="string"?t:t.key]=r,this}getMeta(t){return this.meta[typeof t=="string"?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=qg,this}get scrolledIntoView(){return(this.updated&qg)>0}}function Wg(e,t){return!t||!e?e:e.bind(t)}class Xi{constructor(t,r,o){this.name=t,this.init=Wg(r.init,o),this.apply=Wg(r.apply,o)}}const zhe=[new Xi("doc",{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new Xi("selection",{init(e,t){return e.selection||Fe.atStart(t.doc)},apply(e){return e.selection}}),new Xi("storedMarks",{init(e){return e.storedMarks||null},apply(e,t,r,o){return o.selection.$cursor?e.storedMarks:null}}),new Xi("scrollToSelection",{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})];class Xd{constructor(t,r){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=zhe.slice(),r&&r.forEach(o=>{if(this.pluginsByKey[o.key])throw new RangeError("Adding different instances of a keyed plugin ("+o.key+")");this.plugins.push(o),this.pluginsByKey[o.key]=o,o.spec.state&&this.fields.push(new Xi(o.key,o.spec.state,o))})}}class Wa{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,r=-1){for(let o=0;o<this.config.plugins.length;o++)if(o!=r){let a=this.config.plugins[o];if(a.spec.filterTransaction&&!a.spec.filterTransaction.call(a,t,this))return!1}return!0}applyTransaction(t){if(!this.filterTransaction(t))return{state:this,transactions:[]};let r=[t],o=this.applyInner(t),a=null;for(;;){let i=!1;for(let l=0;l<this.config.plugins.length;l++){let s=this.config.plugins[l];if(s.spec.appendTransaction){let u=a?a[l].n:0,c=a?a[l].state:this,d=u<r.length&&s.spec.appendTransaction.call(s,u?r.slice(u):r,c,o);if(d&&o.filterTransaction(d,l)){if(d.setMeta("appendedTransaction",t),!a){a=[];for(let f=0;f<this.config.plugins.length;f++)a.push(f<l?{state:o,n:r.length}:{state:this,n:0})}r.push(d),o=o.applyInner(d),i=!0}a&&(a[l]={state:o,n:r.length})}}if(!i)return{state:o,transactions:r}}}applyInner(t){if(!t.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let r=new Wa(this.config),o=this.config.fields;for(let a=0;a<o.length;a++){let i=o[a];r[i.name]=i.apply(t,this[i.name],this,r)}return r}get tr(){return new Ahe(this)}static create(t){let r=new Xd(t.doc?t.doc.type.schema:t.schema,t.plugins),o=new Wa(r);for(let a=0;a<r.fields.length;a++)o[r.fields[a].name]=r.fields[a].init(t,o);return o}reconfigure(t){let r=new Xd(this.schema,t.plugins),o=r.fields,a=new Wa(r);for(let i=0;i<o.length;i++){let l=o[i].name;a[l]=this.hasOwnProperty(l)?this[l]:o[i].init(t,a)}return a}toJSON(t){let r={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(r.storedMarks=this.storedMarks.map(o=>o.toJSON())),t&&typeof t=="object")for(let o in t){if(o=="doc"||o=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let a=t[o],i=a.spec.state;i&&i.toJSON&&(r[o]=i.toJSON.call(a,this[a.key]))}return r}static fromJSON(t,r,o){if(!r)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let a=new Xd(t.schema,t.plugins),i=new Wa(a);return a.fields.forEach(l=>{if(l.name=="doc")i.doc=sa.fromJSON(t.schema,r.doc);else if(l.name=="selection")i.selection=Fe.fromJSON(i.doc,r.selection);else if(l.name=="storedMarks")r.storedMarks&&(i.storedMarks=r.storedMarks.map(t.schema.markFromJSON));else{if(o)for(let s in o){let u=o[s],c=u.spec.state;if(u.key==l.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(r,s)){i[l.name]=c.fromJSON.call(u,t,r[s],i);return}}i[l.name]=l.init(t,i)}}),i}}function T_(e,t,r){for(let o in e){let a=e[o];a instanceof Function?a=a.bind(t):o=="handleDOMEvents"&&(a=T_(a,t,{})),r[o]=a}return r}let $t=class{constructor(t){this.spec=t,this.props={},t.props&&T_(t.props,this,this.props),this.key=t.key?t.key.key:D_("plugin")}getState(t){return t[this.key]}};const ef=Object.create(null);function D_(e){return e in ef?e+"$"+ ++ef[e]:(ef[e]=0,e+"$")}class rn{constructor(t="key"){this.key=D_(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}const Lt=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},Ol=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t};let Tp=null;const Hr=function(e,t,r){let o=Tp||(Tp=document.createRange());return o.setEnd(e,r??e.nodeValue.length),o.setStart(e,t||0),o},Ohe=function(){Tp=null},ya=function(e,t,r,o){return r&&(Gg(e,t,r,o,-1)||Gg(e,t,r,o,1))},jhe=/^(img|br|input|textarea|hr)$/i;function Gg(e,t,r,o,a){for(;;){if(e==r&&t==o)return!0;if(t==(a<0?0:On(e))){let i=e.parentNode;if(!i||i.nodeType!=1||ls(e)||jhe.test(e.nodeName)||e.contentEditable=="false")return!1;t=Lt(e)+(a<0?0:1),e=i}else if(e.nodeType==1){if(e=e.childNodes[t+(a<0?-1:0)],e.contentEditable=="false")return!1;t=a<0?On(e):0}else return!1}}function On(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function Lhe(e,t){for(;;){if(e.nodeType==3&&t)return e;if(e.nodeType==1&&t>0){if(e.contentEditable=="false")return null;e=e.childNodes[t-1],t=On(e)}else if(e.parentNode&&!ls(e))t=Lt(e),e=e.parentNode;else return null}}function Bhe(e,t){for(;;){if(e.nodeType==3&&t<e.nodeValue.length)return e;if(e.nodeType==1&&t<e.childNodes.length){if(e.contentEditable=="false")return null;e=e.childNodes[t],t=0}else if(e.parentNode&&!ls(e))t=Lt(e)+1,e=e.parentNode;else return null}}function Vhe(e,t,r){for(let o=t==0,a=t==On(e);o||a;){if(e==r)return!0;let i=Lt(e);if(e=e.parentNode,!e)return!1;o=o&&i==0,a=a&&i==On(e)}}function ls(e){let t;for(let r=e;r&&!(t=r.pmViewDesc);r=r.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const ad=function(e){return e.focusNode&&ya(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function Zo(e,t){let r=document.createEvent("Event");return r.initEvent("keydown",!0,!0),r.keyCode=e,r.key=r.code=t,r}function $he(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function Phe(e,t,r){if(e.caretPositionFromPoint)try{let o=e.caretPositionFromPoint(t,r);if(o)return{node:o.offsetNode,offset:Math.min(On(o.offsetNode),o.offset)}}catch{}if(e.caretRangeFromPoint){let o=e.caretRangeFromPoint(t,r);if(o)return{node:o.startContainer,offset:Math.min(On(o.startContainer),o.startOffset)}}}const Vr=typeof navigator<"u"?navigator:null,Kg=typeof document<"u"?document:null,Po=Vr&&Vr.userAgent||"",Dp=/Edge\/(\d+)/.exec(Po),S_=/MSIE \d/.exec(Po),Sp=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Po),dn=!!(S_||Sp||Dp),Eo=S_?document.documentMode:Sp?+Sp[1]:Dp?+Dp[1]:0,mr=!dn&&/gecko\/(\d+)/i.test(Po);mr&&+(/Firefox\/(\d+)/.exec(Po)||[0,0])[1];const Ip=!dn&&/Chrome\/(\d+)/.exec(Po),Ht=!!Ip,I_=Ip?+Ip[1]:0,Zt=!dn&&!!Vr&&/Apple Computer/.test(Vr.vendor),vi=Zt&&(/Mobile\/\w+/.test(Po)||!!Vr&&Vr.maxTouchPoints>2),An=vi||(Vr?/Mac/.test(Vr.platform):!1),Rhe=Vr?/Win/.test(Vr.platform):!1,sr=/Android \d/.test(Po),ss=!!Kg&&"webkitFontSmoothing"in Kg.documentElement.style,Fhe=ss?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function Uhe(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Fr(e,t){return typeof e=="number"?e:e[t]}function Hhe(e){let t=e.getBoundingClientRect(),r=t.width/e.offsetWidth||1,o=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*r,top:t.top,bottom:t.top+e.clientHeight*o}}function Zg(e,t,r){let o=e.someProp("scrollThreshold")||0,a=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument;for(let l=r||e.dom;l;l=Ol(l)){if(l.nodeType!=1)continue;let s=l,u=s==i.body,c=u?Uhe(i):Hhe(s),d=0,f=0;if(t.top<c.top+Fr(o,"top")?f=-(c.top-t.top+Fr(a,"top")):t.bottom>c.bottom-Fr(o,"bottom")&&(f=t.bottom-t.top>c.bottom-c.top?t.top+Fr(a,"top")-c.top:t.bottom-c.bottom+Fr(a,"bottom")),t.left<c.left+Fr(o,"left")?d=-(c.left-t.left+Fr(a,"left")):t.right>c.right-Fr(o,"right")&&(d=t.right-c.right+Fr(a,"right")),d||f)if(u)i.defaultView.scrollBy(d,f);else{let p=s.scrollLeft,h=s.scrollTop;f&&(s.scrollTop+=f),d&&(s.scrollLeft+=d);let m=s.scrollLeft-p,g=s.scrollTop-h;t={left:t.left-m,top:t.top-g,right:t.right-m,bottom:t.bottom-g}}if(u||/^(fixed|sticky)$/.test(getComputedStyle(l).position))break}}function Yhe(e){let t=e.dom.getBoundingClientRect(),r=Math.max(0,t.top),o,a;for(let i=(t.left+t.right)/2,l=r+1;l<Math.min(innerHeight,t.bottom);l+=5){let s=e.root.elementFromPoint(i,l);if(!s||s==e.dom||!e.dom.contains(s))continue;let u=s.getBoundingClientRect();if(u.top>=r-20){o=s,a=u.top;break}}return{refDOM:o,refTop:a,stack:A_(e.dom)}}function A_(e){let t=[],r=e.ownerDocument;for(let o=e;o&&(t.push({dom:o,top:o.scrollTop,left:o.scrollLeft}),e!=r);o=Ol(o));return t}function Qhe({refDOM:e,refTop:t,stack:r}){let o=e?e.getBoundingClientRect().top:0;z_(r,o==0?0:o-t)}function z_(e,t){for(let r=0;r<e.length;r++){let{dom:o,top:a,left:i}=e[r];o.scrollTop!=a+t&&(o.scrollTop=a+t),o.scrollLeft!=i&&(o.scrollLeft=i)}}let ja=null;function qhe(e){if(e.setActive)return e.setActive();if(ja)return e.focus(ja);let t=A_(e);e.focus(ja==null?{get preventScroll(){return ja={preventScroll:!0},!0}}:void 0),ja||(ja=!1,z_(t,0))}function O_(e,t){let r,o=2e8,a,i=0,l=t.top,s=t.top,u,c;for(let d=e.firstChild,f=0;d;d=d.nextSibling,f++){let p;if(d.nodeType==1)p=d.getClientRects();else if(d.nodeType==3)p=Hr(d).getClientRects();else continue;for(let h=0;h<p.length;h++){let m=p[h];if(m.top<=l&&m.bottom>=s){l=Math.max(m.bottom,l),s=Math.min(m.top,s);let g=m.left>t.left?m.left-t.left:m.right<t.left?t.left-m.right:0;if(g<o){r=d,o=g,a=g&&r.nodeType==3?{left:m.right<t.left?m.right:m.left,top:t.top}:t,d.nodeType==1&&g&&(i=f+(t.left>=(m.left+m.right)/2?1:0));continue}}else m.top>t.top&&!u&&m.left<=t.left&&m.right>=t.left&&(u=d,c={left:Math.max(m.left,Math.min(m.right,t.left)),top:m.top});!r&&(t.left>=m.right&&t.top>=m.top||t.left>=m.left&&t.top>=m.bottom)&&(i=f+1)}}return!r&&u&&(r=u,a=c,o=0),r&&r.nodeType==3?Whe(r,a):!r||o&&r.nodeType==1?{node:e,offset:i}:O_(r,a)}function Whe(e,t){let r=e.nodeValue.length,o=document.createRange();for(let a=0;a<r;a++){o.setEnd(e,a+1),o.setStart(e,a);let i=uo(o,1);if(i.top!=i.bottom&&Bm(t,i))return{node:e,offset:a+(t.left>=(i.left+i.right)/2?1:0)}}return{node:e,offset:0}}function Bm(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function Ghe(e,t){let r=e.parentNode;return r&&/^li$/i.test(r.nodeName)&&t.left<e.getBoundingClientRect().left?r:e}function Khe(e,t,r){let{node:o,offset:a}=O_(t,r),i=-1;if(o.nodeType==1&&!o.firstChild){let l=o.getBoundingClientRect();i=l.left!=l.right&&r.left>(l.left+l.right)/2?1:-1}return e.docView.posFromDOM(o,a,i)}function Zhe(e,t,r,o){let a=-1;for(let i=t,l=!1;i!=e.dom;){let s=e.docView.nearestDesc(i,!0);if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent||!s.contentDOM)){let u=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&(!l&&u.left>o.left||u.top>o.top?a=s.posBefore:(!l&&u.right<o.left||u.bottom<o.top)&&(a=s.posAfter),l=!0),!s.contentDOM&&a<0&&!s.node.isText)return(s.node.isBlock?o.top<(u.top+u.bottom)/2:o.left<(u.left+u.right)/2)?s.posBefore:s.posAfter}i=s.dom.parentNode}return a>-1?a:e.docView.posFromDOM(t,r,-1)}function j_(e,t,r){let o=e.childNodes.length;if(o&&r.top<r.bottom)for(let a=Math.max(0,Math.min(o-1,Math.floor(o*(t.top-r.top)/(r.bottom-r.top))-2)),i=a;;){let l=e.childNodes[i];if(l.nodeType==1){let s=l.getClientRects();for(let u=0;u<s.length;u++){let c=s[u];if(Bm(t,c))return j_(l,t,c)}}if((i=(i+1)%o)==a)break}return e}function Jhe(e,t){let r=e.dom.ownerDocument,o,a=0,i=Phe(r,t.left,t.top);i&&({node:o,offset:a}=i);let l=(e.root.elementFromPoint?e.root:r).elementFromPoint(t.left,t.top),s;if(!l||!e.dom.contains(l.nodeType!=1?l.parentNode:l)){let c=e.dom.getBoundingClientRect();if(!Bm(t,c)||(l=j_(e.dom,t,c),!l))return null}if(Zt)for(let c=l;o&&c;c=Ol(c))c.draggable&&(o=void 0);if(l=Ghe(l,t),o){if(mr&&o.nodeType==1&&(a=Math.min(a,o.childNodes.length),a<o.childNodes.length)){let d=o.childNodes[a],f;d.nodeName=="IMG"&&(f=d.getBoundingClientRect()).right<=t.left&&f.bottom>t.top&&a++}let c;ss&&a&&o.nodeType==1&&(c=o.childNodes[a-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=t.top&&a--,o==e.dom&&a==o.childNodes.length-1&&o.lastChild.nodeType==1&&t.top>o.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:(a==0||o.nodeType!=1||o.childNodes[a-1].nodeName!="BR")&&(s=Zhe(e,o,a,t))}s==null&&(s=Khe(e,l,t));let u=e.docView.nearestDesc(l,!0);return{pos:s,inside:u?u.posAtStart-u.border:-1}}function Jg(e){return e.top<e.bottom||e.left<e.right}function uo(e,t){let r=e.getClientRects();if(r.length){let o=r[t<0?0:r.length-1];if(Jg(o))return o}return Array.prototype.find.call(r,Jg)||e.getBoundingClientRect()}const Xhe=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function L_(e,t,r){let{node:o,offset:a,atom:i}=e.docView.domFromPos(t,r<0?-1:1),l=ss||mr;if(o.nodeType==3)if(l&&(Xhe.test(o.nodeValue)||(r<0?!a:a==o.nodeValue.length))){let u=uo(Hr(o,a,a),r);if(mr&&a&&/\s/.test(o.nodeValue[a-1])&&a<o.nodeValue.length){let c=uo(Hr(o,a-1,a-1),-1);if(c.top==u.top){let d=uo(Hr(o,a,a+1),-1);if(d.top!=u.top)return Qi(d,d.left<c.left)}}return u}else{let u=a,c=a,d=r<0?1:-1;return r<0&&!a?(c++,d=-1):r>=0&&a==o.nodeValue.length?(u--,d=1):r<0?u--:c++,Qi(uo(Hr(o,u,c),d),d<0)}if(!e.state.doc.resolve(t-(i||0)).parent.inlineContent){if(i==null&&a&&(r<0||a==On(o))){let u=o.childNodes[a-1];if(u.nodeType==1)return tf(u.getBoundingClientRect(),!1)}if(i==null&&a<On(o)){let u=o.childNodes[a];if(u.nodeType==1)return tf(u.getBoundingClientRect(),!0)}return tf(o.getBoundingClientRect(),r>=0)}if(i==null&&a&&(r<0||a==On(o))){let u=o.childNodes[a-1],c=u.nodeType==3?Hr(u,On(u)-(l?0:1)):u.nodeType==1&&(u.nodeName!="BR"||!u.nextSibling)?u:null;if(c)return Qi(uo(c,1),!1)}if(i==null&&a<On(o)){let u=o.childNodes[a];for(;u.pmViewDesc&&u.pmViewDesc.ignoreForCoords;)u=u.nextSibling;let c=u?u.nodeType==3?Hr(u,0,l?0:1):u.nodeType==1?u:null:null;if(c)return Qi(uo(c,-1),!0)}return Qi(uo(o.nodeType==3?Hr(o):o,-r),r>=0)}function Qi(e,t){if(e.width==0)return e;let r=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:r,right:r}}function tf(e,t){if(e.height==0)return e;let r=t?e.top:e.bottom;return{top:r,bottom:r,left:e.left,right:e.right}}function B_(e,t,r){let o=e.state,a=e.root.activeElement;o!=t&&e.updateState(t),a!=e.dom&&e.focus();try{return r()}finally{o!=t&&e.updateState(o),a!=e.dom&&a&&a.focus()}}function e2e(e,t,r){let o=t.selection,a=r=="up"?o.$from:o.$to;return B_(e,t,()=>{let{node:i}=e.docView.domFromPos(a.pos,r=="up"?-1:1);for(;;){let s=e.docView.nearestDesc(i,!0);if(!s)break;if(s.node.isBlock){i=s.contentDOM||s.dom;break}i=s.dom.parentNode}let l=L_(e,a.pos,1);for(let s=i.firstChild;s;s=s.nextSibling){let u;if(s.nodeType==1)u=s.getClientRects();else if(s.nodeType==3)u=Hr(s,0,s.nodeValue.length).getClientRects();else continue;for(let c=0;c<u.length;c++){let d=u[c];if(d.bottom>d.top+1&&(r=="up"?l.top-d.top>(d.bottom-l.top)*2:d.bottom-l.bottom>(l.bottom-d.top)*2))return!1}}return!0})}const t2e=/[\u0590-\u08ac]/;function n2e(e,t,r){let{$head:o}=t.selection;if(!o.parent.isTextblock)return!1;let a=o.parentOffset,i=!a,l=a==o.parent.content.size,s=e.domSelection();return s?!t2e.test(o.parent.textContent)||!s.modify?r=="left"||r=="backward"?i:l:B_(e,t,()=>{let{focusNode:u,focusOffset:c,anchorNode:d,anchorOffset:f}=e.domSelectionRange(),p=s.caretBidiLevel;s.modify("move",r,"character");let h=o.depth?e.docView.domAfterPos(o.before()):e.dom,{focusNode:m,focusOffset:g}=e.domSelectionRange(),y=m&&!h.contains(m.nodeType==1?m:m.parentNode)||u==m&&c==g;try{s.collapse(d,f),u&&(u!=d||c!=f)&&s.extend&&s.extend(u,c)}catch{}return p!=null&&(s.caretBidiLevel=p),y}):o.pos==o.start()||o.pos==o.end()}let Xg=null,e4=null,t4=!1;function r2e(e,t,r){return Xg==t&&e4==r?t4:(Xg=t,e4=r,t4=r=="up"||r=="down"?e2e(e,t,r):n2e(e,t,r))}const $n=0,n4=1,ta=2,$r=3;class us{constructor(t,r,o,a){this.parent=t,this.children=r,this.dom=o,this.contentDOM=a,this.dirty=$n,o.pmViewDesc=this}matchesWidget(t){return!1}matchesMark(t){return!1}matchesNode(t,r,o){return!1}matchesHack(t){return!1}parseRule(){return null}stopEvent(t){return!1}get size(){let t=0;for(let r=0;r<this.children.length;r++)t+=this.children[r].size;return t}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let t=0;t<this.children.length;t++)this.children[t].destroy()}posBeforeChild(t){for(let r=0,o=this.posAtStart;;r++){let a=this.children[r];if(a==t)return o;o+=a.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(t,r,o){if(this.contentDOM&&this.contentDOM.contains(t.nodeType==1?t:t.parentNode))if(o<0){let i,l;if(t==this.contentDOM)i=t.childNodes[r-1];else{for(;t.parentNode!=this.contentDOM;)t=t.parentNode;i=t.previousSibling}for(;i&&!((l=i.pmViewDesc)&&l.parent==this);)i=i.previousSibling;return i?this.posBeforeChild(l)+l.size:this.posAtStart}else{let i,l;if(t==this.contentDOM)i=t.childNodes[r];else{for(;t.parentNode!=this.contentDOM;)t=t.parentNode;i=t.nextSibling}for(;i&&!((l=i.pmViewDesc)&&l.parent==this);)i=i.nextSibling;return i?this.posBeforeChild(l):this.posAtEnd}let a;if(t==this.dom&&this.contentDOM)a=r>Lt(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))a=t.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(r==0)for(let i=t;;i=i.parentNode){if(i==this.dom){a=!1;break}if(i.previousSibling)break}if(a==null&&r==t.childNodes.length)for(let i=t;;i=i.parentNode){if(i==this.dom){a=!0;break}if(i.nextSibling)break}}return a??o>0?this.posAtEnd:this.posAtStart}nearestDesc(t,r=!1){for(let o=!0,a=t;a;a=a.parentNode){let i=this.getDesc(a),l;if(i&&(!r||i.node))if(o&&(l=i.nodeDOM)&&!(l.nodeType==1?l.contains(t.nodeType==1?t:t.parentNode):l==t))o=!1;else return i}}getDesc(t){let r=t.pmViewDesc;for(let o=r;o;o=o.parent)if(o==this)return r}posFromDOM(t,r,o){for(let a=t;a;a=a.parentNode){let i=this.getDesc(a);if(i)return i.localPosFromDOM(t,r,o)}return-1}descAt(t){for(let r=0,o=0;r<this.children.length;r++){let a=this.children[r],i=o+a.size;if(o==t&&i!=o){for(;!a.border&&a.children.length;)a=a.children[0];return a}if(t<i)return a.descAt(t-o-a.border);o=i}}domFromPos(t,r){if(!this.contentDOM)return{node:this.dom,offset:0,atom:t+1};let o=0,a=0;for(let i=0;o<this.children.length;o++){let l=this.children[o],s=i+l.size;if(s>t||l instanceof $_){a=t-i;break}i=s}if(a)return this.children[o].domFromPos(a-this.children[o].border,r);for(let i;o&&!(i=this.children[o-1]).size&&i instanceof V_&&i.side>=0;o--);if(r<=0){let i,l=!0;for(;i=o?this.children[o-1]:null,!(!i||i.dom.parentNode==this.contentDOM);o--,l=!1);return i&&r&&l&&!i.border&&!i.domAtom?i.domFromPos(i.size,r):{node:this.contentDOM,offset:i?Lt(i.dom)+1:0}}else{let i,l=!0;for(;i=o<this.children.length?this.children[o]:null,!(!i||i.dom.parentNode==this.contentDOM);o++,l=!1);return i&&l&&!i.border&&!i.domAtom?i.domFromPos(0,r):{node:this.contentDOM,offset:i?Lt(i.dom):this.contentDOM.childNodes.length}}}parseRange(t,r,o=0){if(this.children.length==0)return{node:this.contentDOM,from:t,to:r,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let a=-1,i=-1;for(let l=o,s=0;;s++){let u=this.children[s],c=l+u.size;if(a==-1&&t<=c){let d=l+u.border;if(t>=d&&r<=c-u.border&&u.node&&u.contentDOM&&this.contentDOM.contains(u.contentDOM))return u.parseRange(t,r,d);t=l;for(let f=s;f>0;f--){let p=this.children[f-1];if(p.size&&p.dom.parentNode==this.contentDOM&&!p.emptyChildAt(1)){a=Lt(p.dom)+1;break}t-=p.size}a==-1&&(a=0)}if(a>-1&&(c>r||s==this.children.length-1)){r=c;for(let d=s+1;d<this.children.length;d++){let f=this.children[d];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){i=Lt(f.dom);break}r+=f.size}i==-1&&(i=this.contentDOM.childNodes.length);break}l=c}return{node:this.contentDOM,from:t,to:r,fromOffset:a,toOffset:i}}emptyChildAt(t){if(this.border||!this.contentDOM||!this.children.length)return!1;let r=this.children[t<0?0:this.children.length-1];return r.size==0||r.emptyChildAt(t)}domAfterPos(t){let{node:r,offset:o}=this.domFromPos(t,0);if(r.nodeType!=1||o==r.childNodes.length)throw new RangeError("No node after pos "+t);return r.childNodes[o]}setSelection(t,r,o,a=!1){let i=Math.min(t,r),l=Math.max(t,r);for(let p=0,h=0;p<this.children.length;p++){let m=this.children[p],g=h+m.size;if(i>h&&l<g)return m.setSelection(t-h-m.border,r-h-m.border,o,a);h=g}let s=this.domFromPos(t,t?-1:1),u=r==t?s:this.domFromPos(r,r?-1:1),c=o.getSelection(),d=!1;if((mr||Zt)&&t==r){let{node:p,offset:h}=s;if(p.nodeType==3){if(d=!!(h&&p.nodeValue[h-1]==`
53
+ `),d&&h==p.nodeValue.length)for(let m=p,g;m;m=m.parentNode){if(g=m.nextSibling){g.nodeName=="BR"&&(s=u={node:g.parentNode,offset:Lt(g)+1});break}let y=m.pmViewDesc;if(y&&y.node&&y.node.isBlock)break}}else{let m=p.childNodes[h-1];d=m&&(m.nodeName=="BR"||m.contentEditable=="false")}}if(mr&&c.focusNode&&c.focusNode!=u.node&&c.focusNode.nodeType==1){let p=c.focusNode.childNodes[c.focusOffset];p&&p.contentEditable=="false"&&(a=!0)}if(!(a||d&&Zt)&&ya(s.node,s.offset,c.anchorNode,c.anchorOffset)&&ya(u.node,u.offset,c.focusNode,c.focusOffset))return;let f=!1;if((c.extend||t==r)&&!d){c.collapse(s.node,s.offset);try{t!=r&&c.extend(u.node,u.offset),f=!0}catch{}}if(!f){if(t>r){let h=s;s=u,u=h}let p=document.createRange();p.setEnd(u.node,u.offset),p.setStart(s.node,s.offset),c.removeAllRanges(),c.addRange(p)}}ignoreMutation(t){return!this.contentDOM&&t.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(t,r){for(let o=0,a=0;a<this.children.length;a++){let i=this.children[a],l=o+i.size;if(o==l?t<=l&&r>=o:t<l&&r>o){let s=o+i.border,u=l-i.border;if(t>=s&&r<=u){this.dirty=t==o||r==l?ta:n4,t==s&&r==u&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=$r:i.markDirty(t-s,r-s);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?ta:$r}o=l}this.dirty=ta}markParentsDirty(){let t=1;for(let r=this.parent;r;r=r.parent,t++){let o=t==1?ta:n4;r.dirty<o&&(r.dirty=o)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(t){return!1}}class V_ extends us{constructor(t,r,o,a){let i,l=r.type.toDOM;if(typeof l=="function"&&(l=l(o,()=>{if(!i)return a;if(i.parent)return i.parent.posBeforeChild(i)})),!r.type.spec.raw){if(l.nodeType!=1){let s=document.createElement("span");s.appendChild(l),l=s}l.contentEditable="false",l.classList.add("ProseMirror-widget")}super(t,[],l,null),this.widget=r,this.widget=r,i=this}matchesWidget(t){return this.dirty==$n&&t.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(t){let r=this.widget.spec.stopEvent;return r?r(t):!1}ignoreMutation(t){return t.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class o2e extends us{constructor(t,r,o,a){super(t,[],r,null),this.textDOM=o,this.text=a}get size(){return this.text.length}localPosFromDOM(t,r){return t!=this.textDOM?this.posAtStart+(r?this.size:0):this.posAtStart+r}domFromPos(t){return{node:this.textDOM,offset:t}}ignoreMutation(t){return t.type==="characterData"&&t.target.nodeValue==t.oldValue}}class Ma extends us{constructor(t,r,o,a,i){super(t,[],o,a),this.mark=r,this.spec=i}static create(t,r,o,a){let i=a.nodeViews[r.type.name],l=i&&i(r,a,o);return(!l||!l.dom)&&(l=Da.renderSpec(document,r.type.spec.toDOM(r,o),null,r.attrs)),new Ma(t,r,l.dom,l.contentDOM||l.dom,l)}parseRule(){return this.dirty&$r||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(t){return this.dirty!=$r&&this.mark.eq(t)}markDirty(t,r){if(super.markDirty(t,r),this.dirty!=$n){let o=this.parent;for(;!o.node;)o=o.parent;o.dirty<this.dirty&&(o.dirty=this.dirty),this.dirty=$n}}slice(t,r,o){let a=Ma.create(this.parent,this.mark,!0,o),i=this.children,l=this.size;r<l&&(i=zp(i,r,l,o)),t>0&&(i=zp(i,0,t,o));for(let s=0;s<i.length;s++)i[s].parent=a;return a.children=i,a}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class To extends us{constructor(t,r,o,a,i,l,s,u,c){super(t,[],i,l),this.node=r,this.outerDeco=o,this.innerDeco=a,this.nodeDOM=s}static create(t,r,o,a,i,l){let s=i.nodeViews[r.type.name],u,c=s&&s(r,i,()=>{if(!u)return l;if(u.parent)return u.parent.posBeforeChild(u)},o,a),d=c&&c.dom,f=c&&c.contentDOM;if(r.isText){if(!d)d=document.createTextNode(r.text);else if(d.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else d||({dom:d,contentDOM:f}=Da.renderSpec(document,r.type.spec.toDOM(r),null,r.attrs));!f&&!r.isText&&d.nodeName!="BR"&&(d.hasAttribute("contenteditable")||(d.contentEditable="false"),r.type.spec.draggable&&(d.draggable=!0));let p=d;return d=F_(d,o,r),c?u=new a2e(t,r,o,a,d,f||null,p,c,i,l+1):r.isText?new id(t,r,o,a,d,p,i):new To(t,r,o,a,d,f||null,p,i,l+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(t.preserveWhitespace="full"),!this.contentDOM)t.getContent=()=>this.node.content;else if(!this.contentLost)t.contentElement=this.contentDOM;else{for(let r=this.children.length-1;r>=0;r--){let o=this.children[r];if(this.dom.contains(o.dom.parentNode)){t.contentElement=o.dom.parentNode;break}}t.contentElement||(t.getContent=()=>re.empty)}return t}matchesNode(t,r,o){return this.dirty==$n&&t.eq(this.node)&&zu(r,this.outerDeco)&&o.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(t,r){let o=this.node.inlineContent,a=r,i=t.composing?this.localCompositionInfo(t,r):null,l=i&&i.pos>-1?i:null,s=i&&i.pos<0,u=new l2e(this,l&&l.node,t);c2e(this.node,this.innerDeco,(c,d,f)=>{c.spec.marks?u.syncToMarks(c.spec.marks,o,t):c.type.side>=0&&!f&&u.syncToMarks(d==this.node.childCount?nt.none:this.node.child(d).marks,o,t),u.placeWidget(c,t,a)},(c,d,f,p)=>{u.syncToMarks(c.marks,o,t);let h;u.findNodeMatch(c,d,f,p)||s&&t.state.selection.from>a&&t.state.selection.to<a+c.nodeSize&&(h=u.findIndexWithChild(i.node))>-1&&u.updateNodeAt(c,d,f,h,t)||u.updateNextNode(c,d,f,t,p,a)||u.addNode(c,d,f,t,a),a+=c.nodeSize}),u.syncToMarks([],o,t),this.node.isTextblock&&u.addTextblockHacks(),u.destroyRest(),(u.changed||this.dirty==ta)&&(l&&this.protectLocalComposition(t,l),P_(this.contentDOM,this.children,t),vi&&d2e(this.dom))}localCompositionInfo(t,r){let{from:o,to:a}=t.state.selection;if(!(t.state.selection instanceof Ve)||o<r||a>r+this.node.content.size)return null;let i=t.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let l=i.nodeValue,s=f2e(this.node.content,l,o-r,a-r);return s<0?null:{node:i,pos:s,text:l}}else return{node:i,pos:-1,text:""}}protectLocalComposition(t,{node:r,pos:o,text:a}){if(this.getDesc(r))return;let i=r;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let l=new o2e(this,i,r,a);t.input.compositionNodes.push(l),this.children=zp(this.children,o,o+a.length,t,l)}update(t,r,o,a){return this.dirty==$r||!t.sameMarkup(this.node)?!1:(this.updateInner(t,r,o,a),!0)}updateInner(t,r,o,a){this.updateOuterDeco(r),this.node=t,this.innerDeco=o,this.contentDOM&&this.updateChildren(a,this.posAtStart),this.dirty=$n}updateOuterDeco(t){if(zu(t,this.outerDeco))return;let r=this.nodeDOM.nodeType!=1,o=this.dom;this.dom=R_(this.dom,this.nodeDOM,Ap(this.outerDeco,this.node,r),Ap(t,this.node,r)),this.dom!=o&&(o.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function r4(e,t,r,o,a){F_(o,t,e);let i=new To(void 0,e,t,r,o,o,o,a,0);return i.contentDOM&&i.updateChildren(a,0),i}class id extends To{constructor(t,r,o,a,i,l,s){super(t,r,o,a,i,null,l,s,0)}parseRule(){let t=this.nodeDOM.parentNode;for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode;return{skip:t||!0}}update(t,r,o,a){return this.dirty==$r||this.dirty!=$n&&!this.inParent()||!t.sameMarkup(this.node)?!1:(this.updateOuterDeco(r),(this.dirty!=$n||t.text!=this.node.text)&&t.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=t.text,a.trackWrites==this.nodeDOM&&(a.trackWrites=null)),this.node=t,this.dirty=$n,!0)}inParent(){let t=this.parent.contentDOM;for(let r=this.nodeDOM;r;r=r.parentNode)if(r==t)return!0;return!1}domFromPos(t){return{node:this.nodeDOM,offset:t}}localPosFromDOM(t,r,o){return t==this.nodeDOM?this.posAtStart+Math.min(r,this.node.text.length):super.localPosFromDOM(t,r,o)}ignoreMutation(t){return t.type!="characterData"&&t.type!="selection"}slice(t,r,o){let a=this.node.cut(t,r),i=document.createTextNode(a.text);return new id(this.parent,a,this.outerDeco,this.innerDeco,i,i,o)}markDirty(t,r){super.markDirty(t,r),this.dom!=this.nodeDOM&&(t==0||r==this.nodeDOM.nodeValue.length)&&(this.dirty=$r)}get domAtom(){return!1}isText(t){return this.node.text==t}}class $_ extends us{parseRule(){return{ignore:!0}}matchesHack(t){return this.dirty==$n&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class a2e extends To{constructor(t,r,o,a,i,l,s,u,c,d){super(t,r,o,a,i,l,s,c,d),this.spec=u}update(t,r,o,a){if(this.dirty==$r)return!1;if(this.spec.update&&(this.node.type==t.type||this.spec.multiType)){let i=this.spec.update(t,r,o);return i&&this.updateInner(t,r,o,a),i}else return!this.contentDOM&&!t.isLeaf?!1:super.update(t,r,o,a)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,r,o,a){this.spec.setSelection?this.spec.setSelection(t,r,o):super.setSelection(t,r,o,a)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(t){return this.spec.stopEvent?this.spec.stopEvent(t):!1}ignoreMutation(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):super.ignoreMutation(t)}}function P_(e,t,r){let o=e.firstChild,a=!1;for(let i=0;i<t.length;i++){let l=t[i],s=l.dom;if(s.parentNode==e){for(;s!=o;)o=o4(o),a=!0;o=o.nextSibling}else a=!0,e.insertBefore(s,o);if(l instanceof Ma){let u=o?o.previousSibling:e.lastChild;P_(l.contentDOM,l.children,r),o=u?u.nextSibling:e.firstChild}}for(;o;)o=o4(o),a=!0;a&&r.trackWrites==e&&(r.trackWrites=null)}const ul=function(e){e&&(this.nodeName=e)};ul.prototype=Object.create(null);const na=[new ul];function Ap(e,t,r){if(e.length==0)return na;let o=r?na[0]:new ul,a=[o];for(let i=0;i<e.length;i++){let l=e[i].type.attrs;if(l){l.nodeName&&a.push(o=new ul(l.nodeName));for(let s in l){let u=l[s];u!=null&&(r&&a.length==1&&a.push(o=new ul(t.isInline?"span":"div")),s=="class"?o.class=(o.class?o.class+" ":"")+u:s=="style"?o.style=(o.style?o.style+";":"")+u:s!="nodeName"&&(o[s]=u))}}}return a}function R_(e,t,r,o){if(r==na&&o==na)return t;let a=t;for(let i=0;i<o.length;i++){let l=o[i],s=r[i];if(i){let u;s&&s.nodeName==l.nodeName&&a!=e&&(u=a.parentNode)&&u.nodeName.toLowerCase()==l.nodeName||(u=document.createElement(l.nodeName),u.pmIsDeco=!0,u.appendChild(a),s=na[0]),a=u}i2e(a,s||na[0],l)}return a}function i2e(e,t,r){for(let o in t)o!="class"&&o!="style"&&o!="nodeName"&&!(o in r)&&e.removeAttribute(o);for(let o in r)o!="class"&&o!="style"&&o!="nodeName"&&r[o]!=t[o]&&e.setAttribute(o,r[o]);if(t.class!=r.class){let o=t.class?t.class.split(" ").filter(Boolean):[],a=r.class?r.class.split(" ").filter(Boolean):[];for(let i=0;i<o.length;i++)a.indexOf(o[i])==-1&&e.classList.remove(o[i]);for(let i=0;i<a.length;i++)o.indexOf(a[i])==-1&&e.classList.add(a[i]);e.classList.length==0&&e.removeAttribute("class")}if(t.style!=r.style){if(t.style){let o=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,a;for(;a=o.exec(t.style);)e.style.removeProperty(a[1])}r.style&&(e.style.cssText+=r.style)}}function F_(e,t,r){return R_(e,e,na,Ap(t,r,e.nodeType!=1))}function zu(e,t){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].type.eq(t[r].type))return!1;return!0}function o4(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}class l2e{constructor(t,r,o){this.lock=r,this.view=o,this.index=0,this.stack=[],this.changed=!1,this.top=t,this.preMatch=s2e(t.node.content,t)}destroyBetween(t,r){if(t!=r){for(let o=t;o<r;o++)this.top.children[o].destroy();this.top.children.splice(t,r-t),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(t,r,o){let a=0,i=this.stack.length>>1,l=Math.min(i,t.length);for(;a<l&&(a==i-1?this.top:this.stack[a+1<<1]).matchesMark(t[a])&&t[a].type.spec.spanning!==!1;)a++;for(;a<i;)this.destroyRest(),this.top.dirty=$n,this.index=this.stack.pop(),this.top=this.stack.pop(),i--;for(;i<t.length;){this.stack.push(this.top,this.index+1);let s=-1;for(let u=this.index;u<Math.min(this.index+3,this.top.children.length);u++){let c=this.top.children[u];if(c.matchesMark(t[i])&&!this.isLocked(c.dom)){s=u;break}}if(s>-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let u=Ma.create(this.top,t[i],r,o);this.top.children.splice(this.index,0,u),this.top=u,this.changed=!0}this.index=0,i++}}findNodeMatch(t,r,o,a){let i=-1,l;if(a>=this.preMatch.index&&(l=this.preMatch.matches[a-this.preMatch.index]).parent==this.top&&l.matchesNode(t,r,o))i=this.top.children.indexOf(l,this.index);else for(let s=this.index,u=Math.min(this.top.children.length,s+5);s<u;s++){let c=this.top.children[s];if(c.matchesNode(t,r,o)&&!this.preMatch.matched.has(c)){i=s;break}}return i<0?!1:(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(t,r,o,a,i){let l=this.top.children[a];return l.dirty==$r&&l.dom==l.contentDOM&&(l.dirty=ta),l.update(t,r,o,i)?(this.destroyBetween(this.index,a),this.index++,!0):!1}findIndexWithChild(t){for(;;){let r=t.parentNode;if(!r)return-1;if(r==this.top.contentDOM){let o=t.pmViewDesc;if(o){for(let a=this.index;a<this.top.children.length;a++)if(this.top.children[a]==o)return a}return-1}t=r}}updateNextNode(t,r,o,a,i,l){for(let s=this.index;s<this.top.children.length;s++){let u=this.top.children[s];if(u instanceof To){let c=this.preMatch.matched.get(u);if(c!=null&&c!=i)return!1;let d=u.dom,f,p=this.isLocked(d)&&!(t.isText&&u.node&&u.node.isText&&u.nodeDOM.nodeValue==t.text&&u.dirty!=$r&&zu(r,u.outerDeco));if(!p&&u.update(t,r,o,a))return this.destroyBetween(this.index,s),u.dom!=d&&(this.changed=!0),this.index++,!0;if(!p&&(f=this.recreateWrapper(u,t,r,o,a,l)))return this.destroyBetween(this.index,s),this.top.children[this.index]=f,f.contentDOM&&(f.dirty=ta,f.updateChildren(a,l+1),f.dirty=$n),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(t,r,o,a,i,l){if(t.dirty||r.isAtom||!t.children.length||!t.node.content.eq(r.content)||!zu(o,t.outerDeco)||!a.eq(t.innerDeco))return null;let s=To.create(this.top,r,o,a,i,l);if(s.contentDOM){s.children=t.children,t.children=[];for(let u of s.children)u.parent=s}return t.destroy(),s}addNode(t,r,o,a,i){let l=To.create(this.top,t,r,o,a,i);l.contentDOM&&l.updateChildren(a,i+1),this.top.children.splice(this.index++,0,l),this.changed=!0}placeWidget(t,r,o){let a=this.index<this.top.children.length?this.top.children[this.index]:null;if(a&&a.matchesWidget(t)&&(t==a.widget||!a.widget.type.toDOM.parentNode))this.index++;else{let i=new V_(this.top,t,r,o);this.top.children.splice(this.index++,0,i),this.changed=!0}}addTextblockHacks(){let t=this.top.children[this.index-1],r=this.top;for(;t instanceof Ma;)r=t,t=r.children[r.children.length-1];(!t||!(t instanceof id)||/\n$/.test(t.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(t.node.text))&&((Zt||Ht)&&t&&t.dom.contentEditable=="false"&&this.addHackNode("IMG",r),this.addHackNode("BR",this.top))}addHackNode(t,r){if(r==this.top&&this.index<r.children.length&&r.children[this.index].matchesHack(t))this.index++;else{let o=document.createElement(t);t=="IMG"&&(o.className="ProseMirror-separator",o.alt=""),t=="BR"&&(o.className="ProseMirror-trailingBreak");let a=new $_(this.top,[],o,null);r!=this.top?r.children.push(a):r.children.splice(this.index++,0,a),this.changed=!0}}isLocked(t){return this.lock&&(t==this.lock||t.nodeType==1&&t.contains(this.lock.parentNode))}}function s2e(e,t){let r=t,o=r.children.length,a=e.childCount,i=new Map,l=[];e:for(;a>0;){let s;for(;;)if(o){let c=r.children[o-1];if(c instanceof Ma)r=c,o=c.children.length;else{s=c,o--;break}}else{if(r==t)break e;o=r.parent.children.indexOf(r),r=r.parent}let u=s.node;if(u){if(u!=e.child(a-1))break;--a,i.set(s,a),l.push(s)}}return{index:a,matched:i,matches:l.reverse()}}function u2e(e,t){return e.type.side-t.type.side}function c2e(e,t,r,o){let a=t.locals(e),i=0;if(a.length==0){for(let c=0;c<e.childCount;c++){let d=e.child(c);o(d,a,t.forChild(i,d),c),i+=d.nodeSize}return}let l=0,s=[],u=null;for(let c=0;;){let d,f;for(;l<a.length&&a[l].to==i;){let y=a[l++];y.widget&&(d?(f||(f=[d])).push(y):d=y)}if(d)if(f){f.sort(u2e);for(let y=0;y<f.length;y++)r(f[y],c,!!u)}else r(d,c,!!u);let p,h;if(u)h=-1,p=u,u=null;else if(c<e.childCount)h=c,p=e.child(c++);else break;for(let y=0;y<s.length;y++)s[y].to<=i&&s.splice(y--,1);for(;l<a.length&&a[l].from<=i&&a[l].to>i;)s.push(a[l++]);let m=i+p.nodeSize;if(p.isText){let y=m;l<a.length&&a[l].from<y&&(y=a[l].from);for(let v=0;v<s.length;v++)s[v].to<y&&(y=s[v].to);y<m&&(u=p.cut(y-i),p=p.cut(0,y-i),m=y,h=-1)}else for(;l<a.length&&a[l].to<m;)l++;let g=p.isInline&&!p.isLeaf?s.filter(y=>!y.inline):s.slice();o(p,g,t.forChild(i,p),h),i=m}}function d2e(e){if(e.nodeName=="UL"||e.nodeName=="OL"){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}function f2e(e,t,r,o){for(let a=0,i=0;a<e.childCount&&i<=o;){let l=e.child(a++),s=i;if(i+=l.nodeSize,!l.isText)continue;let u=l.text;for(;a<e.childCount;){let c=e.child(a++);if(i+=c.nodeSize,!c.isText)break;u+=c.text}if(i>=r){if(i>=o&&u.slice(o-t.length-s,o-s)==t)return o-t.length;let c=s<o?u.lastIndexOf(t,o-s-1):-1;if(c>=0&&c+t.length+s>=r)return s+c;if(r==o&&u.length>=o+t.length-s&&u.slice(o-s,o-s+t.length)==t)return o}}return-1}function zp(e,t,r,o,a){let i=[];for(let l=0,s=0;l<e.length;l++){let u=e[l],c=s,d=s+=u.size;c>=r||d<=t?i.push(u):(c<t&&i.push(u.slice(0,t-c,o)),a&&(i.push(a),a=void 0),d>r&&i.push(u.slice(r-c,u.size,o)))}return i}function Vm(e,t=null){let r=e.domSelectionRange(),o=e.state.doc;if(!r.focusNode)return null;let a=e.docView.nearestDesc(r.focusNode),i=a&&a.size==0,l=e.docView.posFromDOM(r.focusNode,r.focusOffset,1);if(l<0)return null;let s=o.resolve(l),u,c;if(ad(r)){for(u=l;a&&!a.node;)a=a.parent;let f=a.node;if(a&&f.isAtom&&Te.isSelectable(f)&&a.parent&&!(f.isInline&&Vhe(r.focusNode,r.focusOffset,a.dom))){let p=a.posBefore;c=new Te(l==p?s:o.resolve(p))}}else{if(r instanceof e.dom.ownerDocument.defaultView.Selection&&r.rangeCount>1){let f=l,p=l;for(let h=0;h<r.rangeCount;h++){let m=r.getRangeAt(h);f=Math.min(f,e.docView.posFromDOM(m.startContainer,m.startOffset,1)),p=Math.max(p,e.docView.posFromDOM(m.endContainer,m.endOffset,-1))}if(f<0)return null;[u,l]=p==e.state.selection.anchor?[p,f]:[f,p],s=o.resolve(l)}else u=e.docView.posFromDOM(r.anchorNode,r.anchorOffset,1);if(u<0)return null}let d=o.resolve(u);if(!c){let f=t=="pointer"||e.state.selection.head<s.pos&&!i?1:-1;c=$m(e,d,s,f)}return c}function U_(e){return e.editable?e.hasFocus():Y_(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function Zr(e,t=!1){let r=e.state.selection;if(H_(e,r),!!U_(e)){if(!t&&e.input.mouseDown&&e.input.mouseDown.allowDefault&&Ht){let o=e.domSelectionRange(),a=e.domObserver.currentSelection;if(o.anchorNode&&a.anchorNode&&ya(o.anchorNode,o.anchorOffset,a.anchorNode,a.anchorOffset)){e.input.mouseDown.delayedSelectionSync=!0,e.domObserver.setCurSelection();return}}if(e.domObserver.disconnectSelection(),e.cursorWrapper)m2e(e);else{let{anchor:o,head:a}=r,i,l;a4&&!(r instanceof Ve)&&(r.$from.parent.inlineContent||(i=i4(e,r.from)),!r.empty&&!r.$from.parent.inlineContent&&(l=i4(e,r.to))),e.docView.setSelection(o,a,e.root,t),a4&&(i&&l4(i),l&&l4(l)),r.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&p2e(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}const a4=Zt||Ht&&I_<63;function i4(e,t){let{node:r,offset:o}=e.docView.domFromPos(t,0),a=o<r.childNodes.length?r.childNodes[o]:null,i=o?r.childNodes[o-1]:null;if(Zt&&a&&a.contentEditable=="false")return nf(a);if((!a||a.contentEditable=="false")&&(!i||i.contentEditable=="false")){if(a)return nf(a);if(i)return nf(i)}}function nf(e){return e.contentEditable="true",Zt&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function l4(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function p2e(e){let t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.input.hideSelectionGuard);let r=e.domSelectionRange(),o=r.anchorNode,a=r.anchorOffset;t.addEventListener("selectionchange",e.input.hideSelectionGuard=()=>{(r.anchorNode!=o||r.anchorOffset!=a)&&(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout(()=>{(!U_(e)||e.state.selection.visible)&&e.dom.classList.remove("ProseMirror-hideselection")},20))})}function m2e(e){let t=e.domSelection(),r=document.createRange();if(!t)return;let o=e.cursorWrapper.dom,a=o.nodeName=="IMG";a?r.setStart(o.parentNode,Lt(o)+1):r.setStart(o,0),r.collapse(!0),t.removeAllRanges(),t.addRange(r),!a&&!e.state.selection.visible&&dn&&Eo<=11&&(o.disabled=!0,o.disabled=!1)}function H_(e,t){if(t instanceof Te){let r=e.docView.descAt(t.from);r!=e.lastSelectedViewDesc&&(s4(e),r&&r.selectNode(),e.lastSelectedViewDesc=r)}else s4(e)}function s4(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function $m(e,t,r,o){return e.someProp("createSelectionBetween",a=>a(e,t,r))||Ve.between(t,r,o)}function u4(e){return e.editable&&!e.hasFocus()?!1:Y_(e)}function Y_(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(t.anchorNode.nodeType==3?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(t.focusNode.nodeType==3?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function h2e(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),r=e.domSelectionRange();return ya(t.node,t.offset,r.anchorNode,r.anchorOffset)}function Op(e,t){let{$anchor:r,$head:o}=e.selection,a=t>0?r.max(o):r.min(o),i=a.parent.inlineContent?a.depth?e.doc.resolve(t>0?a.after():a.before()):null:a;return i&&Fe.findFrom(i,t)}function fo(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function c4(e,t,r){let o=e.state.selection;if(o instanceof Ve)if(r.indexOf("s")>-1){let{$head:a}=o,i=a.textOffset?null:t<0?a.nodeBefore:a.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let l=e.state.doc.resolve(a.pos+i.nodeSize*(t<0?-1:1));return fo(e,new Ve(o.$anchor,l))}else if(o.empty){if(e.endOfTextblock(t>0?"forward":"backward")){let a=Op(e.state,t);return a&&a instanceof Te?fo(e,a):!1}else if(!(An&&r.indexOf("m")>-1)){let a=o.$head,i=a.textOffset?null:t<0?a.nodeBefore:a.nodeAfter,l;if(!i||i.isText)return!1;let s=t<0?a.pos-i.nodeSize:a.pos;return i.isAtom||(l=e.docView.descAt(s))&&!l.contentDOM?Te.isSelectable(i)?fo(e,new Te(t<0?e.state.doc.resolve(a.pos-i.nodeSize):a)):ss?fo(e,new Ve(e.state.doc.resolve(t<0?s:s+i.nodeSize))):!1:!1}}else return!1;else{if(o instanceof Te&&o.node.isInline)return fo(e,new Ve(t>0?o.$to:o.$from));{let a=Op(e.state,t);return a?fo(e,a):!1}}}function Ou(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function cl(e,t){let r=e.pmViewDesc;return r&&r.size==0&&(t<0||e.nextSibling||e.nodeName!="BR")}function La(e,t){return t<0?g2e(e):v2e(e)}function g2e(e){let t=e.domSelectionRange(),r=t.focusNode,o=t.focusOffset;if(!r)return;let a,i,l=!1;for(mr&&r.nodeType==1&&o<Ou(r)&&cl(r.childNodes[o],-1)&&(l=!0);;)if(o>0){if(r.nodeType!=1)break;{let s=r.childNodes[o-1];if(cl(s,-1))a=r,i=--o;else if(s.nodeType==3)r=s,o=r.nodeValue.length;else break}}else{if(Q_(r))break;{let s=r.previousSibling;for(;s&&cl(s,-1);)a=r.parentNode,i=Lt(s),s=s.previousSibling;if(s)r=s,o=Ou(r);else{if(r=r.parentNode,r==e.dom)break;o=0}}}l?jp(e,r,o):a&&jp(e,a,i)}function v2e(e){let t=e.domSelectionRange(),r=t.focusNode,o=t.focusOffset;if(!r)return;let a=Ou(r),i,l;for(;;)if(o<a){if(r.nodeType!=1)break;let s=r.childNodes[o];if(cl(s,1))i=r,l=++o;else break}else{if(Q_(r))break;{let s=r.nextSibling;for(;s&&cl(s,1);)i=s.parentNode,l=Lt(s)+1,s=s.nextSibling;if(s)r=s,o=0,a=Ou(r);else{if(r=r.parentNode,r==e.dom)break;o=a=0}}}i&&jp(e,i,l)}function Q_(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function y2e(e,t){for(;e&&t==e.childNodes.length&&!ls(e);)t=Lt(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let r=e.childNodes[t];if(r.nodeType==3)return r;if(r.nodeType==1&&r.contentEditable=="false")break;e=r,t=0}}function M2e(e,t){for(;e&&!t&&!ls(e);)t=Lt(e),e=e.parentNode;for(;e&&t;){let r=e.childNodes[t-1];if(r.nodeType==3)return r;if(r.nodeType==1&&r.contentEditable=="false")break;e=r,t=e.childNodes.length}}function jp(e,t,r){if(t.nodeType!=3){let i,l;(l=y2e(t,r))?(t=l,r=0):(i=M2e(t,r))&&(t=i,r=i.nodeValue.length)}let o=e.domSelection();if(!o)return;if(ad(o)){let i=document.createRange();i.setEnd(t,r),i.setStart(t,r),o.removeAllRanges(),o.addRange(i)}else o.extend&&o.extend(t,r);e.domObserver.setCurSelection();let{state:a}=e;setTimeout(()=>{e.state==a&&Zr(e)},50)}function d4(e,t){let r=e.state.doc.resolve(t);if(!(Ht||Rhe)&&r.parent.inlineContent){let a=e.coordsAtPos(t);if(t>r.start()){let i=e.coordsAtPos(t-1),l=(i.top+i.bottom)/2;if(l>a.top&&l<a.bottom&&Math.abs(i.left-a.left)>1)return i.left<a.left?"ltr":"rtl"}if(t<r.end()){let i=e.coordsAtPos(t+1),l=(i.top+i.bottom)/2;if(l>a.top&&l<a.bottom&&Math.abs(i.left-a.left)>1)return i.left>a.left?"ltr":"rtl"}}return getComputedStyle(e.dom).direction=="rtl"?"rtl":"ltr"}function f4(e,t,r){let o=e.state.selection;if(o instanceof Ve&&!o.empty||r.indexOf("s")>-1||An&&r.indexOf("m")>-1)return!1;let{$from:a,$to:i}=o;if(!a.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let l=Op(e.state,t);if(l&&l instanceof Te)return fo(e,l)}if(!a.parent.inlineContent){let l=t<0?a:i,s=o instanceof dr?Fe.near(l,t):Fe.findFrom(l,t);return s?fo(e,s):!1}return!1}function p4(e,t){if(!(e.state.selection instanceof Ve))return!0;let{$head:r,$anchor:o,empty:a}=e.state.selection;if(!r.sameParent(o))return!0;if(!a)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let i=!r.textOffset&&(t<0?r.nodeBefore:r.nodeAfter);if(i&&!i.isText){let l=e.state.tr;return t<0?l.delete(r.pos-i.nodeSize,r.pos):l.delete(r.pos,r.pos+i.nodeSize),e.dispatch(l),!0}return!1}function m4(e,t,r){e.domObserver.stop(),t.contentEditable=r,e.domObserver.start()}function _2e(e){if(!Zt||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:r}=e.domSelectionRange();if(t&&t.nodeType==1&&r==0&&t.firstChild&&t.firstChild.contentEditable=="false"){let o=t.firstChild;m4(e,o,"true"),setTimeout(()=>m4(e,o,"false"),20)}return!1}function b2e(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}function N2e(e,t){let r=t.keyCode,o=b2e(t);if(r==8||An&&r==72&&o=="c")return p4(e,-1)||La(e,-1);if(r==46&&!t.shiftKey||An&&r==68&&o=="c")return p4(e,1)||La(e,1);if(r==13||r==27)return!0;if(r==37||An&&r==66&&o=="c"){let a=r==37?d4(e,e.state.selection.from)=="ltr"?-1:1:-1;return c4(e,a,o)||La(e,a)}else if(r==39||An&&r==70&&o=="c"){let a=r==39?d4(e,e.state.selection.from)=="ltr"?1:-1:1;return c4(e,a,o)||La(e,a)}else{if(r==38||An&&r==80&&o=="c")return f4(e,-1,o)||La(e,-1);if(r==40||An&&r==78&&o=="c")return _2e(e)||f4(e,1,o)||La(e,1);if(o==(An?"m":"c")&&(r==66||r==73||r==89||r==90))return!0}return!1}function q_(e,t){e.someProp("transformCopied",h=>{t=h(t,e)});let r=[],{content:o,openStart:a,openEnd:i}=t;for(;a>1&&i>1&&o.childCount==1&&o.firstChild.childCount==1;){a--,i--;let h=o.firstChild;r.push(h.type.name,h.attrs!=h.type.defaultAttrs?h.attrs:null),o=h.content}let l=e.someProp("clipboardSerializer")||Da.fromSchema(e.state.schema),s=X_(),u=s.createElement("div");u.appendChild(l.serializeFragment(o,{document:s}));let c=u.firstChild,d,f=0;for(;c&&c.nodeType==1&&(d=J_[c.nodeName.toLowerCase()]);){for(let h=d.length-1;h>=0;h--){let m=s.createElement(d[h]);for(;u.firstChild;)m.appendChild(u.firstChild);u.appendChild(m),f++}c=u.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${a} ${i}${f?` -${f}`:""} ${JSON.stringify(r)}`);let p=e.someProp("clipboardTextSerializer",h=>h(t,e))||t.content.textBetween(0,t.content.size,`
54
+
55
+ `);return{dom:u,text:p,slice:t}}function W_(e,t,r,o,a){let i=a.parent.type.spec.code,l,s;if(!r&&!t)return null;let u=t&&(o||i||!r);if(u){if(e.someProp("transformPastedText",p=>{t=p(t,i||o,e)}),i)return t?new ye(re.from(e.state.schema.text(t.replace(/\r\n?/g,`
56
+ `))),0,0):ye.empty;let f=e.someProp("clipboardTextParser",p=>p(t,a,o,e));if(f)s=f;else{let p=a.marks(),{schema:h}=e.state,m=Da.fromSchema(h);l=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(g=>{let y=l.appendChild(document.createElement("p"));g&&y.appendChild(m.serializeNode(h.text(g,p)))})}}else e.someProp("transformPastedHTML",f=>{r=f(r,e)}),l=x2e(r),ss&&E2e(l);let c=l&&l.querySelector("[data-pm-slice]"),d=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(d&&d[3])for(let f=+d[3];f>0;f--){let p=l.firstChild;for(;p&&p.nodeType!=1;)p=p.nextSibling;if(!p)break;l=p}if(s||(s=(e.someProp("clipboardParser")||e.someProp("domParser")||xo.fromSchema(e.state.schema)).parseSlice(l,{preserveWhitespace:!!(u||d),context:a,ruleFromNode(p){return p.nodeName=="BR"&&!p.nextSibling&&p.parentNode&&!w2e.test(p.parentNode.nodeName)?{ignore:!0}:null}})),d)s=T2e(h4(s,+d[1],+d[2]),d[4]);else if(s=ye.maxOpen(k2e(s.content,a),!0),s.openStart||s.openEnd){let f=0,p=0;for(let h=s.content.firstChild;f<s.openStart&&!h.type.spec.isolating;f++,h=h.firstChild);for(let h=s.content.lastChild;p<s.openEnd&&!h.type.spec.isolating;p++,h=h.lastChild);s=h4(s,f,p)}return e.someProp("transformPasted",f=>{s=f(s,e)}),s}const w2e=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function k2e(e,t){if(e.childCount<2)return e;for(let r=t.depth;r>=0;r--){let a=t.node(r).contentMatchAt(t.index(r)),i,l=[];if(e.forEach(s=>{if(!l)return;let u=a.findWrapping(s.type),c;if(!u)return l=null;if(c=l.length&&i.length&&K_(u,i,s,l[l.length-1],0))l[l.length-1]=c;else{l.length&&(l[l.length-1]=Z_(l[l.length-1],i.length));let d=G_(s,u);l.push(d),a=a.matchType(d.type),i=u}}),l)return re.from(l)}return e}function G_(e,t,r=0){for(let o=t.length-1;o>=r;o--)e=t[o].create(null,re.from(e));return e}function K_(e,t,r,o,a){if(a<e.length&&a<t.length&&e[a]==t[a]){let i=K_(e,t,r,o.lastChild,a+1);if(i)return o.copy(o.content.replaceChild(o.childCount-1,i));if(o.contentMatchAt(o.childCount).matchType(a==e.length-1?r.type:e[a+1]))return o.copy(o.content.append(re.from(G_(r,e,a+1))))}}function Z_(e,t){if(t==0)return e;let r=e.content.replaceChild(e.childCount-1,Z_(e.lastChild,t-1)),o=e.contentMatchAt(e.childCount).fillBefore(re.empty,!0);return e.copy(r.append(o))}function Lp(e,t,r,o,a,i){let l=t<0?e.firstChild:e.lastChild,s=l.content;return e.childCount>1&&(i=0),a<o-1&&(s=Lp(s,t,r,o,a+1,i)),a>=r&&(s=t<0?l.contentMatchAt(0).fillBefore(s,i<=a).append(s):s.append(l.contentMatchAt(l.childCount).fillBefore(re.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,l.copy(s))}function h4(e,t,r){return t<e.openStart&&(e=new ye(Lp(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),r<e.openEnd&&(e=new ye(Lp(e.content,1,r,e.openEnd,0,0),e.openStart,r)),e}const J_={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let g4=null;function X_(){return g4||(g4=document.implementation.createHTMLDocument("title"))}let rf=null;function C2e(e){let t=window.trustedTypes;return t?(rf||(rf=t.createPolicy("ProseMirrorClipboard",{createHTML:r=>r})),rf.createHTML(e)):e}function x2e(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let r=X_().createElement("div"),o=/<([a-z][^>\s]+)/i.exec(e),a;if((a=o&&J_[o[1].toLowerCase()])&&(e=a.map(i=>"<"+i+">").join("")+e+a.map(i=>"</"+i+">").reverse().join("")),r.innerHTML=C2e(e),a)for(let i=0;i<a.length;i++)r=r.querySelector(a[i])||r;return r}function E2e(e){let t=e.querySelectorAll(Ht?"span:not([class]):not([style])":"span.Apple-converted-space");for(let r=0;r<t.length;r++){let o=t[r];o.childNodes.length==1&&o.textContent==" "&&o.parentNode&&o.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),o)}}function T2e(e,t){if(!e.size)return e;let r=e.content.firstChild.type.schema,o;try{o=JSON.parse(t)}catch{return e}let{content:a,openStart:i,openEnd:l}=e;for(let s=o.length-2;s>=0;s-=2){let u=r.nodes[o[s]];if(!u||u.hasRequiredAttrs())break;a=re.from(u.create(o[s+1],a)),i++,l++}return new ye(a,i,l)}const Jt={},Xt={},D2e={touchstart:!0,touchmove:!0};class S2e{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function I2e(e){for(let t in Jt){let r=Jt[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=o=>{z2e(e,o)&&!Pm(e,o)&&(e.editable||!(o.type in Xt))&&r(e,o)},D2e[t]?{passive:!0}:void 0)}Zt&&e.dom.addEventListener("input",()=>null),Bp(e)}function wo(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function A2e(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}function Bp(e){e.someProp("handleDOMEvents",t=>{for(let r in t)e.input.eventHandlers[r]||e.dom.addEventListener(r,e.input.eventHandlers[r]=o=>Pm(e,o))})}function Pm(e,t){return e.someProp("handleDOMEvents",r=>{let o=r[t.type];return o?o(e,t)||t.defaultPrevented:!1})}function z2e(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let r=t.target;r!=e.dom;r=r.parentNode)if(!r||r.nodeType==11||r.pmViewDesc&&r.pmViewDesc.stopEvent(t))return!1;return!0}function O2e(e,t){!Pm(e,t)&&Jt[t.type]&&(e.editable||!(t.type in Xt))&&Jt[t.type](e,t)}Xt.keydown=(e,t)=>{let r=t;if(e.input.shiftKey=r.keyCode==16||r.shiftKey,!t8(e,r)&&(e.input.lastKeyCode=r.keyCode,e.input.lastKeyCodeTime=Date.now(),!(sr&&Ht&&r.keyCode==13)))if(r.keyCode!=229&&e.domObserver.forceFlush(),vi&&r.keyCode==13&&!r.ctrlKey&&!r.altKey&&!r.metaKey){let o=Date.now();e.input.lastIOSEnter=o,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==o&&(e.someProp("handleKeyDown",a=>a(e,Zo(13,"Enter"))),e.input.lastIOSEnter=0)},200)}else e.someProp("handleKeyDown",o=>o(e,r))||N2e(e,r)?r.preventDefault():wo(e,"key")};Xt.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)};Xt.keypress=(e,t)=>{let r=t;if(t8(e,r)||!r.charCode||r.ctrlKey&&!r.altKey||An&&r.metaKey)return;if(e.someProp("handleKeyPress",a=>a(e,r))){r.preventDefault();return}let o=e.state.selection;if(!(o instanceof Ve)||!o.$from.sameParent(o.$to)){let a=String.fromCharCode(r.charCode);!/[\r\n]/.test(a)&&!e.someProp("handleTextInput",i=>i(e,o.$from.pos,o.$to.pos,a))&&e.dispatch(e.state.tr.insertText(a).scrollIntoView()),r.preventDefault()}};function ld(e){return{left:e.clientX,top:e.clientY}}function j2e(e,t){let r=t.x-e.clientX,o=t.y-e.clientY;return r*r+o*o<100}function Rm(e,t,r,o,a){if(o==-1)return!1;let i=e.state.doc.resolve(o);for(let l=i.depth+1;l>0;l--)if(e.someProp(t,s=>l>i.depth?s(e,r,i.nodeAfter,i.before(l),a,!0):s(e,r,i.node(l),i.before(l),a,!1)))return!0;return!1}function ei(e,t,r){if(e.focused||e.focus(),e.state.selection.eq(t))return;let o=e.state.tr.setSelection(t);r=="pointer"&&o.setMeta("pointer",!0),e.dispatch(o)}function L2e(e,t){if(t==-1)return!1;let r=e.state.doc.resolve(t),o=r.nodeAfter;return o&&o.isAtom&&Te.isSelectable(o)?(ei(e,new Te(r),"pointer"),!0):!1}function B2e(e,t){if(t==-1)return!1;let r=e.state.selection,o,a;r instanceof Te&&(o=r.node);let i=e.state.doc.resolve(t);for(let l=i.depth+1;l>0;l--){let s=l>i.depth?i.nodeAfter:i.node(l);if(Te.isSelectable(s)){o&&r.$from.depth>0&&l>=r.$from.depth&&i.before(r.$from.depth+1)==r.$from.pos?a=i.before(r.$from.depth):a=i.before(l);break}}return a!=null?(ei(e,Te.create(e.state.doc,a),"pointer"),!0):!1}function V2e(e,t,r,o,a){return Rm(e,"handleClickOn",t,r,o)||e.someProp("handleClick",i=>i(e,t,o))||(a?B2e(e,r):L2e(e,r))}function $2e(e,t,r,o){return Rm(e,"handleDoubleClickOn",t,r,o)||e.someProp("handleDoubleClick",a=>a(e,t,o))}function P2e(e,t,r,o){return Rm(e,"handleTripleClickOn",t,r,o)||e.someProp("handleTripleClick",a=>a(e,t,o))||R2e(e,r,o)}function R2e(e,t,r){if(r.button!=0)return!1;let o=e.state.doc;if(t==-1)return o.inlineContent?(ei(e,Ve.create(o,0,o.content.size),"pointer"),!0):!1;let a=o.resolve(t);for(let i=a.depth+1;i>0;i--){let l=i>a.depth?a.nodeAfter:a.node(i),s=a.before(i);if(l.inlineContent)ei(e,Ve.create(o,s+1,s+1+l.content.size),"pointer");else if(Te.isSelectable(l))ei(e,Te.create(o,s),"pointer");else continue;return!0}}function Fm(e){return ju(e)}const e8=An?"metaKey":"ctrlKey";Jt.mousedown=(e,t)=>{let r=t;e.input.shiftKey=r.shiftKey;let o=Fm(e),a=Date.now(),i="singleClick";a-e.input.lastClick.time<500&&j2e(r,e.input.lastClick)&&!r[e8]&&(e.input.lastClick.type=="singleClick"?i="doubleClick":e.input.lastClick.type=="doubleClick"&&(i="tripleClick")),e.input.lastClick={time:a,x:r.clientX,y:r.clientY,type:i};let l=e.posAtCoords(ld(r));l&&(i=="singleClick"?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new F2e(e,l,r,!!o)):(i=="doubleClick"?$2e:P2e)(e,l.pos,l.inside,r)?r.preventDefault():wo(e,"pointer"))};class F2e{constructor(t,r,o,a){this.view=t,this.pos=r,this.event=o,this.flushed=a,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!o[e8],this.allowDefault=o.shiftKey;let i,l;if(r.inside>-1)i=t.state.doc.nodeAt(r.inside),l=r.inside;else{let d=t.state.doc.resolve(r.pos);i=d.parent,l=d.depth?d.before():0}const s=a?null:o.target,u=s?t.docView.nearestDesc(s,!0):null;this.target=u&&u.dom.nodeType==1?u.dom:null;let{selection:c}=t.state;(o.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||c instanceof Te&&c.from<=l&&c.to>l)&&(this.mightDrag={node:i,pos:l,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&mr&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),wo(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Zr(this.view)),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return;let r=this.pos;this.view.state.doc!=this.startDoc&&(r=this.view.posAtCoords(ld(t))),this.updateAllowDefault(t),this.allowDefault||!r?wo(this.view,"pointer"):V2e(this.view,r.pos,r.inside,t,this.selectNode)?t.preventDefault():t.button==0&&(this.flushed||Zt&&this.mightDrag&&!this.mightDrag.node.isAtom||Ht&&!this.view.state.selection.visible&&Math.min(Math.abs(r.pos-this.view.state.selection.from),Math.abs(r.pos-this.view.state.selection.to))<=2)?(ei(this.view,Fe.near(this.view.state.doc.resolve(r.pos)),"pointer"),t.preventDefault()):wo(this.view,"pointer")}move(t){this.updateAllowDefault(t),wo(this.view,"pointer"),t.buttons==0&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}Jt.touchstart=e=>{e.input.lastTouch=Date.now(),Fm(e),wo(e,"pointer")};Jt.touchmove=e=>{e.input.lastTouch=Date.now(),wo(e,"pointer")};Jt.contextmenu=e=>Fm(e);function t8(e,t){return e.composing?!0:Zt&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}const U2e=sr?5e3:-1;Xt.compositionstart=Xt.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,r=t.selection.$to;if(t.selection instanceof Ve&&(t.storedMarks||!r.textOffset&&r.parentOffset&&r.nodeBefore.marks.some(o=>o.type.spec.inclusive===!1)))e.markCursor=e.state.storedMarks||r.marks(),ju(e,!0),e.markCursor=null;else if(ju(e,!t.selection.empty),mr&&t.selection.empty&&r.parentOffset&&!r.textOffset&&r.nodeBefore.marks.length){let o=e.domSelectionRange();for(let a=o.focusNode,i=o.focusOffset;a&&a.nodeType==1&&i!=0;){let l=i<0?a.lastChild:a.childNodes[i-1];if(!l)break;if(l.nodeType==3){let s=e.domSelection();s&&s.collapse(l,l.nodeValue.length);break}else a=l,i=-1}}e.input.composing=!0}n8(e,U2e)};Xt.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,n8(e,20))};function n8(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>ju(e),t))}function r8(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Y2e());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function H2e(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let r=Lhe(t.focusNode,t.focusOffset),o=Bhe(t.focusNode,t.focusOffset);if(r&&o&&r!=o){let a=o.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(r==i||o==i)return i;if(!a||!a.isText(o.nodeValue))return o;if(e.input.compositionNode==o){let l=r.pmViewDesc;if(!(!l||!l.isText(r.nodeValue)))return o}}return r||o}function Y2e(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}function ju(e,t=!1){if(!(sr&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),r8(e),t||e.docView&&e.docView.dirty){let r=Vm(e);return r&&!r.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(r)):(e.markCursor||t)&&!e.state.selection.empty?e.dispatch(e.state.tr.deleteSelection()):e.updateState(e.state),!0}return!1}}function Q2e(e,t){if(!e.dom.parentNode)return;let r=e.dom.parentNode.appendChild(document.createElement("div"));r.appendChild(t),r.style.cssText="position: fixed; left: -10000px; top: 10px";let o=getSelection(),a=document.createRange();a.selectNodeContents(t),e.dom.blur(),o.removeAllRanges(),o.addRange(a),setTimeout(()=>{r.parentNode&&r.parentNode.removeChild(r),e.focus()},50)}const jl=dn&&Eo<15||vi&&Fhe<604;Jt.copy=Xt.cut=(e,t)=>{let r=t,o=e.state.selection,a=r.type=="cut";if(o.empty)return;let i=jl?null:r.clipboardData,l=o.content(),{dom:s,text:u}=q_(e,l);i?(r.preventDefault(),i.clearData(),i.setData("text/html",s.innerHTML),i.setData("text/plain",u)):Q2e(e,s),a&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function q2e(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function W2e(e,t){if(!e.dom.parentNode)return;let r=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,o=e.dom.parentNode.appendChild(document.createElement(r?"textarea":"div"));r||(o.contentEditable="true"),o.style.cssText="position: fixed; left: -10000px; top: 10px",o.focus();let a=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),o.parentNode&&o.parentNode.removeChild(o),r?Ll(e,o.value,null,a,t):Ll(e,o.textContent,o.innerHTML,a,t)},50)}function Ll(e,t,r,o,a){let i=W_(e,t,r,o,e.state.selection.$from);if(e.someProp("handlePaste",u=>u(e,a,i||ye.empty)))return!0;if(!i)return!1;let l=q2e(i),s=l?e.state.tr.replaceSelectionWith(l,o):e.state.tr.replaceSelection(i);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function o8(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let r=e.getData("text/uri-list");return r?r.replace(/\r?\n/g," "):""}Xt.paste=(e,t)=>{let r=t;if(e.composing&&!sr)return;let o=jl?null:r.clipboardData,a=e.input.shiftKey&&e.input.lastKeyCode!=45;o&&Ll(e,o8(o),o.getData("text/html"),a,r)?r.preventDefault():W2e(e,r)};class a8{constructor(t,r,o){this.slice=t,this.move=r,this.node=o}}const i8=An?"altKey":"ctrlKey";Jt.dragstart=(e,t)=>{let r=t,o=e.input.mouseDown;if(o&&o.done(),!r.dataTransfer)return;let a=e.state.selection,i=a.empty?null:e.posAtCoords(ld(r)),l;if(!(i&&i.pos>=a.from&&i.pos<=(a instanceof Te?a.to-1:a.to))){if(o&&o.mightDrag)l=Te.create(e.state.doc,o.mightDrag.pos);else if(r.target&&r.target.nodeType==1){let f=e.docView.nearestDesc(r.target,!0);f&&f.node.type.spec.draggable&&f!=e.docView&&(l=Te.create(e.state.doc,f.posBefore))}}let s=(l||e.state.selection).content(),{dom:u,text:c,slice:d}=q_(e,s);(!r.dataTransfer.files.length||!Ht||I_>120)&&r.dataTransfer.clearData(),r.dataTransfer.setData(jl?"Text":"text/html",u.innerHTML),r.dataTransfer.effectAllowed="copyMove",jl||r.dataTransfer.setData("text/plain",c),e.dragging=new a8(d,!r[i8],l)};Jt.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)};Xt.dragover=Xt.dragenter=(e,t)=>t.preventDefault();Xt.drop=(e,t)=>{let r=t,o=e.dragging;if(e.dragging=null,!r.dataTransfer)return;let a=e.posAtCoords(ld(r));if(!a)return;let i=e.state.doc.resolve(a.pos),l=o&&o.slice;l?e.someProp("transformPasted",m=>{l=m(l,e)}):l=W_(e,o8(r.dataTransfer),jl?null:r.dataTransfer.getData("text/html"),!1,i);let s=!!(o&&!r[i8]);if(e.someProp("handleDrop",m=>m(e,r,l||ye.empty,s))){r.preventDefault();return}if(!l)return;r.preventDefault();let u=l?whe(e.state.doc,i.pos,l):i.pos;u==null&&(u=i.pos);let c=e.state.tr;if(s){let{node:m}=o;m?m.replace(c):c.deleteSelection()}let d=c.mapping.map(u),f=l.openStart==0&&l.openEnd==0&&l.content.childCount==1,p=c.doc;if(f?c.replaceRangeWith(d,d,l.content.firstChild):c.replaceRange(d,d,l),c.doc.eq(p))return;let h=c.doc.resolve(d);if(f&&Te.isSelectable(l.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(l.content.firstChild))c.setSelection(new Te(h));else{let m=c.mapping.map(u);c.mapping.maps[c.mapping.maps.length-1].forEach((g,y,v,_)=>m=_),c.setSelection($m(e,h,c.doc.resolve(m)))}e.focus(),e.dispatch(c.setMeta("uiEvent","drop"))};Jt.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&Zr(e)},20))};Jt.blur=(e,t)=>{let r=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),r.relatedTarget&&e.dom.contains(r.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)};Jt.beforeinput=(e,t)=>{if(Ht&&sr&&t.inputType=="deleteContentBackward"){e.domObserver.flushSoon();let{domChangeCount:o}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=o||(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",i=>i(e,Zo(8,"Backspace")))))return;let{$cursor:a}=e.state.selection;a&&a.pos>0&&e.dispatch(e.state.tr.delete(a.pos-1,a.pos).scrollIntoView())},50)}};for(let e in Xt)Jt[e]=Xt[e];function Bl(e,t){if(e==t)return!0;for(let r in e)if(e[r]!==t[r])return!1;for(let r in t)if(!(r in e))return!1;return!0}class Lu{constructor(t,r){this.toDOM=t,this.spec=r||ua,this.side=this.spec.side||0}map(t,r,o,a){let{pos:i,deleted:l}=t.mapResult(r.from+a,this.side<0?-1:1);return l?null:new Ln(i-o,i-o,this)}valid(){return!0}eq(t){return this==t||t instanceof Lu&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&Bl(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class Do{constructor(t,r){this.attrs=t,this.spec=r||ua}map(t,r,o,a){let i=t.map(r.from+a,this.spec.inclusiveStart?-1:1)-o,l=t.map(r.to+a,this.spec.inclusiveEnd?1:-1)-o;return i>=l?null:new Ln(i,l,this)}valid(t,r){return r.from<r.to}eq(t){return this==t||t instanceof Do&&Bl(this.attrs,t.attrs)&&Bl(this.spec,t.spec)}static is(t){return t.type instanceof Do}destroy(){}}class Um{constructor(t,r){this.attrs=t,this.spec=r||ua}map(t,r,o,a){let i=t.mapResult(r.from+a,1);if(i.deleted)return null;let l=t.mapResult(r.to+a,-1);return l.deleted||l.pos<=i.pos?null:new Ln(i.pos-o,l.pos-o,this)}valid(t,r){let{index:o,offset:a}=t.content.findIndex(r.from),i;return a==r.from&&!(i=t.child(o)).isText&&a+i.nodeSize==r.to}eq(t){return this==t||t instanceof Um&&Bl(this.attrs,t.attrs)&&Bl(this.spec,t.spec)}destroy(){}}class Ln{constructor(t,r,o){this.from=t,this.to=r,this.type=o}copy(t,r){return new Ln(t,r,this.type)}eq(t,r=0){return this.type.eq(t.type)&&this.from+r==t.from&&this.to+r==t.to}map(t,r,o){return this.type.map(t,this,r,o)}static widget(t,r,o){return new Ln(t,t,new Lu(r,o))}static inline(t,r,o,a){return new Ln(t,r,new Do(o,a))}static node(t,r,o,a){return new Ln(t,r,new Um(o,a))}get spec(){return this.type.spec}get inline(){return this.type instanceof Do}get widget(){return this.type instanceof Lu}}const Ha=[],ua={};class Nt{constructor(t,r){this.local=t.length?t:Ha,this.children=r.length?r:Ha}static create(t,r){return r.length?Bu(r,t,0,ua):Ft}find(t,r,o){let a=[];return this.findInner(t??0,r??1e9,a,0,o),a}findInner(t,r,o,a,i){for(let l=0;l<this.local.length;l++){let s=this.local[l];s.from<=r&&s.to>=t&&(!i||i(s.spec))&&o.push(s.copy(s.from+a,s.to+a))}for(let l=0;l<this.children.length;l+=3)if(this.children[l]<r&&this.children[l+1]>t){let s=this.children[l]+1;this.children[l+2].findInner(t-s,r-s,o,a+s,i)}}map(t,r,o){return this==Ft||t.maps.length==0?this:this.mapInner(t,r,0,0,o||ua)}mapInner(t,r,o,a,i){let l;for(let s=0;s<this.local.length;s++){let u=this.local[s].map(t,o,a);u&&u.type.valid(r,u)?(l||(l=[])).push(u):i.onRemove&&i.onRemove(this.local[s].spec)}return this.children.length?G2e(this.children,l||[],t,r,o,a,i):l?new Nt(l.sort(ca),Ha):Ft}add(t,r){return r.length?this==Ft?Nt.create(t,r):this.addInner(t,r,0):this}addInner(t,r,o){let a,i=0;t.forEach((s,u)=>{let c=u+o,d;if(d=s8(r,s,c)){for(a||(a=this.children.slice());i<a.length&&a[i]<u;)i+=3;a[i]==u?a[i+2]=a[i+2].addInner(s,d,c+1):a.splice(i,0,u,u+s.nodeSize,Bu(d,s,c+1,ua)),i+=3}});let l=l8(i?u8(r):r,-o);for(let s=0;s<l.length;s++)l[s].type.valid(t,l[s])||l.splice(s--,1);return new Nt(l.length?this.local.concat(l).sort(ca):this.local,a||this.children)}remove(t){return t.length==0||this==Ft?this:this.removeInner(t,0)}removeInner(t,r){let o=this.children,a=this.local;for(let i=0;i<o.length;i+=3){let l,s=o[i]+r,u=o[i+1]+r;for(let d=0,f;d<t.length;d++)(f=t[d])&&f.from>s&&f.to<u&&(t[d]=null,(l||(l=[])).push(f));if(!l)continue;o==this.children&&(o=this.children.slice());let c=o[i+2].removeInner(l,s+1);c!=Ft?o[i+2]=c:(o.splice(i,3),i-=3)}if(a.length){for(let i=0,l;i<t.length;i++)if(l=t[i])for(let s=0;s<a.length;s++)a[s].eq(l,r)&&(a==this.local&&(a=this.local.slice()),a.splice(s--,1))}return o==this.children&&a==this.local?this:a.length||o.length?new Nt(a,o):Ft}forChild(t,r){if(this==Ft)return this;if(r.isLeaf)return Nt.empty;let o,a;for(let s=0;s<this.children.length;s+=3)if(this.children[s]>=t){this.children[s]==t&&(o=this.children[s+2]);break}let i=t+1,l=i+r.content.size;for(let s=0;s<this.local.length;s++){let u=this.local[s];if(u.from<l&&u.to>i&&u.type instanceof Do){let c=Math.max(i,u.from)-i,d=Math.min(l,u.to)-i;c<d&&(a||(a=[])).push(u.copy(c,d))}}if(a){let s=new Nt(a.sort(ca),Ha);return o?new vo([s,o]):s}return o||Ft}eq(t){if(this==t)return!0;if(!(t instanceof Nt)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1;for(let r=0;r<this.local.length;r++)if(!this.local[r].eq(t.local[r]))return!1;for(let r=0;r<this.children.length;r+=3)if(this.children[r]!=t.children[r]||this.children[r+1]!=t.children[r+1]||!this.children[r+2].eq(t.children[r+2]))return!1;return!0}locals(t){return Hm(this.localsInner(t))}localsInner(t){if(this==Ft)return Ha;if(t.inlineContent||!this.local.some(Do.is))return this.local;let r=[];for(let o=0;o<this.local.length;o++)this.local[o].type instanceof Do||r.push(this.local[o]);return r}forEachSet(t){t(this)}}Nt.empty=new Nt([],[]);Nt.removeOverlap=Hm;const Ft=Nt.empty;class vo{constructor(t){this.members=t}map(t,r){const o=this.members.map(a=>a.map(t,r,ua));return vo.from(o)}forChild(t,r){if(r.isLeaf)return Nt.empty;let o=[];for(let a=0;a<this.members.length;a++){let i=this.members[a].forChild(t,r);i!=Ft&&(i instanceof vo?o=o.concat(i.members):o.push(i))}return vo.from(o)}eq(t){if(!(t instanceof vo)||t.members.length!=this.members.length)return!1;for(let r=0;r<this.members.length;r++)if(!this.members[r].eq(t.members[r]))return!1;return!0}locals(t){let r,o=!0;for(let a=0;a<this.members.length;a++){let i=this.members[a].localsInner(t);if(i.length)if(!r)r=i;else{o&&(r=r.slice(),o=!1);for(let l=0;l<i.length;l++)r.push(i[l])}}return r?Hm(o?r:r.sort(ca)):Ha}static from(t){switch(t.length){case 0:return Ft;case 1:return t[0];default:return new vo(t.every(r=>r instanceof Nt)?t:t.reduce((r,o)=>r.concat(o instanceof Nt?o:o.members),[]))}}forEachSet(t){for(let r=0;r<this.members.length;r++)this.members[r].forEachSet(t)}}function G2e(e,t,r,o,a,i,l){let s=e.slice();for(let c=0,d=i;c<r.maps.length;c++){let f=0;r.maps[c].forEach((p,h,m,g)=>{let y=g-m-(h-p);for(let v=0;v<s.length;v+=3){let _=s[v+1];if(_<0||p>_+d-f)continue;let b=s[v]+d-f;h>=b?s[v+1]=p<=b?-2:-1:p>=d&&y&&(s[v]+=y,s[v+1]+=y)}f+=y}),d=r.maps[c].map(d,-1)}let u=!1;for(let c=0;c<s.length;c+=3)if(s[c+1]<0){if(s[c+1]==-2){u=!0,s[c+1]=-1;continue}let d=r.map(e[c]+i),f=d-a;if(f<0||f>=o.content.size){u=!0;continue}let p=r.map(e[c+1]+i,-1),h=p-a,{index:m,offset:g}=o.content.findIndex(f),y=o.maybeChild(m);if(y&&g==f&&g+y.nodeSize==h){let v=s[c+2].mapInner(r,y,d+1,e[c]+i+1,l);v!=Ft?(s[c]=f,s[c+1]=h,s[c+2]=v):(s[c+1]=-2,u=!0)}else u=!0}if(u){let c=K2e(s,e,t,r,a,i,l),d=Bu(c,o,0,l);t=d.local;for(let f=0;f<s.length;f+=3)s[f+1]<0&&(s.splice(f,3),f-=3);for(let f=0,p=0;f<d.children.length;f+=3){let h=d.children[f];for(;p<s.length&&s[p]<h;)p+=3;s.splice(p,0,d.children[f],d.children[f+1],d.children[f+2])}}return new Nt(t.sort(ca),s)}function l8(e,t){if(!t||!e.length)return e;let r=[];for(let o=0;o<e.length;o++){let a=e[o];r.push(new Ln(a.from+t,a.to+t,a.type))}return r}function K2e(e,t,r,o,a,i,l){function s(u,c){for(let d=0;d<u.local.length;d++){let f=u.local[d].map(o,a,c);f?r.push(f):l.onRemove&&l.onRemove(u.local[d].spec)}for(let d=0;d<u.children.length;d+=3)s(u.children[d+2],u.children[d]+c+1)}for(let u=0;u<e.length;u+=3)e[u+1]==-1&&s(e[u+2],t[u]+i+1);return r}function s8(e,t,r){if(t.isLeaf)return null;let o=r+t.nodeSize,a=null;for(let i=0,l;i<e.length;i++)(l=e[i])&&l.from>r&&l.to<o&&((a||(a=[])).push(l),e[i]=null);return a}function u8(e){let t=[];for(let r=0;r<e.length;r++)e[r]!=null&&t.push(e[r]);return t}function Bu(e,t,r,o){let a=[],i=!1;t.forEach((s,u)=>{let c=s8(e,s,u+r);if(c){i=!0;let d=Bu(c,s,r+u+1,o);d!=Ft&&a.push(u,u+s.nodeSize,d)}});let l=l8(i?u8(e):e,-r).sort(ca);for(let s=0;s<l.length;s++)l[s].type.valid(t,l[s])||(o.onRemove&&o.onRemove(l[s].spec),l.splice(s--,1));return l.length||a.length?new Nt(l,a):Ft}function ca(e,t){return e.from-t.from||e.to-t.to}function Hm(e){let t=e;for(let r=0;r<t.length-1;r++){let o=t[r];if(o.from!=o.to)for(let a=r+1;a<t.length;a++){let i=t[a];if(i.from==o.from){i.to!=o.to&&(t==e&&(t=e.slice()),t[a]=i.copy(i.from,o.to),v4(t,a+1,i.copy(o.to,i.to)));continue}else{i.from<o.to&&(t==e&&(t=e.slice()),t[r]=o.copy(o.from,i.from),v4(t,a,o.copy(i.from,o.to)));break}}}return t}function v4(e,t,r){for(;t<e.length&&ca(r,e[t])>0;)t++;e.splice(t,0,r)}function of(e){let t=[];return e.someProp("decorations",r=>{let o=r(e.state);o&&o!=Ft&&t.push(o)}),e.cursorWrapper&&t.push(Nt.create(e.state.doc,[e.cursorWrapper.deco])),vo.from(t)}const Z2e={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},J2e=dn&&Eo<=11;class X2e{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class e1e{constructor(t,r){this.view=t,this.handleDOMChange=r,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new X2e,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(o=>{for(let a=0;a<o.length;a++)this.queue.push(o[a]);dn&&Eo<=11&&o.some(a=>a.type=="childList"&&a.removedNodes.length||a.type=="characterData"&&a.oldValue.length>a.target.nodeValue.length)?this.flushSoon():this.flush()}),J2e&&(this.onCharData=o=>{this.queue.push({target:o.target,type:"characterData",oldValue:o.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,Z2e)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords();if(t.length){for(let r=0;r<t.length;r++)this.queue.push(t[r]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(u4(this.view)){if(this.suppressingSelectionUpdates)return Zr(this.view);if(dn&&Eo<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&ya(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(t){if(!t.focusNode)return!0;let r=new Set,o;for(let i=t.focusNode;i;i=Ol(i))r.add(i);for(let i=t.anchorNode;i;i=Ol(i))if(r.has(i)){o=i;break}let a=o&&this.view.docView.nearestDesc(o);if(a&&a.ignoreMutation({type:"selection",target:o.nodeType==3?o.parentNode:o}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}flush(){let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let r=this.pendingRecords();r.length&&(this.queue=[]);let o=t.domSelectionRange(),a=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(o)&&u4(t)&&!this.ignoreSelectionChange(o),i=-1,l=-1,s=!1,u=[];if(t.editable)for(let d=0;d<r.length;d++){let f=this.registerMutation(r[d],u);f&&(i=i<0?f.from:Math.min(f.from,i),l=l<0?f.to:Math.max(f.to,l),f.typeOver&&(s=!0))}if(mr&&u.length){let d=u.filter(f=>f.nodeName=="BR");if(d.length==2){let[f,p]=d;f.parentNode&&f.parentNode.parentNode==p.parentNode?p.remove():f.remove()}else{let{focusNode:f}=this.currentSelection;for(let p of d){let h=p.parentNode;h&&h.nodeName=="LI"&&(!f||r1e(t,f)!=h)&&p.remove()}}}let c=null;i<0&&a&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)<Date.now()-300&&ad(o)&&(c=Vm(t))&&c.eq(Fe.near(t.state.doc.resolve(0),1))?(t.input.lastFocus=0,Zr(t),this.currentSelection.set(o),t.scrollToSelection()):(i>-1||a)&&(i>-1&&(t.docView.markDirty(i,l),t1e(t)),this.handleDOMChange(i,l,s,u),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(o)||Zr(t),this.currentSelection.set(o))}registerMutation(t,r){if(r.indexOf(t.target)>-1)return null;let o=this.view.docView.nearestDesc(t.target);if(t.type=="attributes"&&(o==this.view.docView||t.attributeName=="contenteditable"||t.attributeName=="style"&&!t.oldValue&&!t.target.getAttribute("style"))||!o||o.ignoreMutation(t))return null;if(t.type=="childList"){for(let d=0;d<t.addedNodes.length;d++){let f=t.addedNodes[d];r.push(f),f.nodeType==3&&(this.lastChangedTextNode=f)}if(o.contentDOM&&o.contentDOM!=o.dom&&!o.contentDOM.contains(t.target))return{from:o.posBefore,to:o.posAfter};let a=t.previousSibling,i=t.nextSibling;if(dn&&Eo<=11&&t.addedNodes.length)for(let d=0;d<t.addedNodes.length;d++){let{previousSibling:f,nextSibling:p}=t.addedNodes[d];(!f||Array.prototype.indexOf.call(t.addedNodes,f)<0)&&(a=f),(!p||Array.prototype.indexOf.call(t.addedNodes,p)<0)&&(i=p)}let l=a&&a.parentNode==t.target?Lt(a)+1:0,s=o.localPosFromDOM(t.target,l,-1),u=i&&i.parentNode==t.target?Lt(i):t.target.childNodes.length,c=o.localPosFromDOM(t.target,u,1);return{from:s,to:c}}else return t.type=="attributes"?{from:o.posAtStart-o.border,to:o.posAtEnd+o.border}:(this.lastChangedTextNode=t.target,{from:o.posAtStart,to:o.posAtEnd,typeOver:t.target.nodeValue==t.oldValue})}}let y4=new WeakMap,M4=!1;function t1e(e){if(!y4.has(e)&&(y4.set(e,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)!==-1)){if(e.requiresGeckoHackNode=mr,M4)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),M4=!0}}function _4(e,t){let r=t.startContainer,o=t.startOffset,a=t.endContainer,i=t.endOffset,l=e.domAtPos(e.state.selection.anchor);return ya(l.node,l.offset,a,i)&&([r,o,a,i]=[a,i,r,o]),{anchorNode:r,anchorOffset:o,focusNode:a,focusOffset:i}}function n1e(e,t){if(t.getComposedRanges){let a=t.getComposedRanges(e.root)[0];if(a)return _4(e,a)}let r;function o(a){a.preventDefault(),a.stopImmediatePropagation(),r=a.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",o,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",o,!0),r?_4(e,r):null}function r1e(e,t){for(let r=t.parentNode;r&&r!=e.dom;r=r.parentNode){let o=e.docView.nearestDesc(r,!0);if(o&&o.node.isBlock)return r}return null}function o1e(e,t,r){let{node:o,fromOffset:a,toOffset:i,from:l,to:s}=e.docView.parseRange(t,r),u=e.domSelectionRange(),c,d=u.anchorNode;if(d&&e.dom.contains(d.nodeType==1?d:d.parentNode)&&(c=[{node:d,offset:u.anchorOffset}],ad(u)||c.push({node:u.focusNode,offset:u.focusOffset})),Ht&&e.input.lastKeyCode===8)for(let y=i;y>a;y--){let v=o.childNodes[y-1],_=v.pmViewDesc;if(v.nodeName=="BR"&&!_){i=y;break}if(!_||_.size)break}let f=e.state.doc,p=e.someProp("domParser")||xo.fromSchema(e.state.schema),h=f.resolve(l),m=null,g=p.parse(o,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:a,to:i,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:a1e,context:h});if(c&&c[0].pos!=null){let y=c[0].pos,v=c[1]&&c[1].pos;v==null&&(v=y),m={anchor:y+l,head:v+l}}return{doc:g,sel:m,from:l,to:s}}function a1e(e){let t=e.pmViewDesc;if(t)return t.parseRule();if(e.nodeName=="BR"&&e.parentNode){if(Zt&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let r=document.createElement("div");return r.appendChild(document.createElement("li")),{skip:r}}else if(e.parentNode.lastChild==e||Zt&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if(e.nodeName=="IMG"&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const i1e=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function l1e(e,t,r,o,a){let i=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let O=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,j=Vm(e,O);if(j&&!e.state.selection.eq(j)){if(Ht&&sr&&e.input.lastKeyCode===13&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp("handleKeyDown",R=>R(e,Zo(13,"Enter"))))return;let P=e.state.tr.setSelection(j);O=="pointer"?P.setMeta("pointer",!0):O=="key"&&P.scrollIntoView(),i&&P.setMeta("composition",i),e.dispatch(P)}return}let l=e.state.doc.resolve(t),s=l.sharedDepth(r);t=l.before(s+1),r=e.state.doc.resolve(r).after(s+1);let u=e.state.selection,c=o1e(e,t,r),d=e.state.doc,f=d.slice(c.from,c.to),p,h;e.input.lastKeyCode===8&&Date.now()-100<e.input.lastKeyCodeTime?(p=e.state.selection.to,h="end"):(p=e.state.selection.from,h="start"),e.input.lastKeyCode=null;let m=c1e(f.content,c.doc.content,c.from,p,h);if(m&&e.input.domChangeCount++,(vi&&e.input.lastIOSEnter>Date.now()-225||sr)&&a.some(O=>O.nodeType==1&&!i1e.test(O.nodeName))&&(!m||m.endA>=m.endB)&&e.someProp("handleKeyDown",O=>O(e,Zo(13,"Enter")))){e.input.lastIOSEnter=0;return}if(!m)if(o&&u instanceof Ve&&!u.empty&&u.$head.sameParent(u.$anchor)&&!e.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))m={start:u.from,endA:u.to,endB:u.to};else{if(c.sel){let O=b4(e,e.state.doc,c.sel);if(O&&!O.eq(e.state.selection)){let j=e.state.tr.setSelection(O);i&&j.setMeta("composition",i),e.dispatch(j)}}return}e.state.selection.from<e.state.selection.to&&m.start==m.endB&&e.state.selection instanceof Ve&&(m.start>e.state.selection.from&&m.start<=e.state.selection.from+2&&e.state.selection.from>=c.from?m.start=e.state.selection.from:m.endA<e.state.selection.to&&m.endA>=e.state.selection.to-2&&e.state.selection.to<=c.to&&(m.endB+=e.state.selection.to-m.endA,m.endA=e.state.selection.to)),dn&&Eo<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>c.from&&c.doc.textBetween(m.start-c.from-1,m.start-c.from+1)=="  "&&(m.start--,m.endA--,m.endB--);let g=c.doc.resolveNoCache(m.start-c.from),y=c.doc.resolveNoCache(m.endB-c.from),v=d.resolve(m.start),_=g.sameParent(y)&&g.parent.inlineContent&&v.end()>=m.endA,b;if((vi&&e.input.lastIOSEnter>Date.now()-225&&(!_||a.some(O=>O.nodeName=="DIV"||O.nodeName=="P"))||!_&&g.pos<c.doc.content.size&&!g.sameParent(y)&&(b=Fe.findFrom(c.doc.resolve(g.pos+1),1,!0))&&b.head==y.pos)&&e.someProp("handleKeyDown",O=>O(e,Zo(13,"Enter")))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>m.start&&u1e(d,m.start,m.endA,g,y)&&e.someProp("handleKeyDown",O=>O(e,Zo(8,"Backspace")))){sr&&Ht&&e.domObserver.suppressSelectionUpdates();return}Ht&&sr&&m.endB==m.start&&(e.input.lastAndroidDelete=Date.now()),sr&&!_&&g.start()!=y.start()&&y.parentOffset==0&&g.depth==y.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==m.endA&&(m.endB-=2,y=c.doc.resolveNoCache(m.endB-c.from),setTimeout(()=>{e.someProp("handleKeyDown",function(O){return O(e,Zo(13,"Enter"))})},20));let M=m.start,N=m.endA,w,x,T;if(_){if(g.pos==y.pos)dn&&Eo<=11&&g.parentOffset==0&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>Zr(e),20)),w=e.state.tr.delete(M,N),x=d.resolve(m.start).marksAcross(d.resolve(m.endA));else if(m.endA==m.endB&&(T=s1e(g.parent.content.cut(g.parentOffset,y.parentOffset),v.parent.content.cut(v.parentOffset,m.endA-v.start()))))w=e.state.tr,T.type=="add"?w.addMark(M,N,T.mark):w.removeMark(M,N,T.mark);else if(g.parent.child(g.index()).isText&&g.index()==y.index()-(y.textOffset?0:1)){let O=g.parent.textBetween(g.parentOffset,y.parentOffset);if(e.someProp("handleTextInput",j=>j(e,M,N,O)))return;w=e.state.tr.insertText(O,M,N)}}if(w||(w=e.state.tr.replace(M,N,c.doc.slice(m.start-c.from,m.endB-c.from))),c.sel){let O=b4(e,w.doc,c.sel);O&&!(Ht&&sr&&e.composing&&O.empty&&(m.start!=m.endB||e.input.lastAndroidDelete<Date.now()-100)&&(O.head==M||O.head==w.mapping.map(N)-1)||dn&&O.empty&&O.head==M)&&w.setSelection(O)}x&&w.ensureMarks(x),i&&w.setMeta("composition",i),e.dispatch(w.scrollIntoView())}function b4(e,t,r){return Math.max(r.anchor,r.head)>t.content.size?null:$m(e,t.resolve(r.anchor),t.resolve(r.head))}function s1e(e,t){let r=e.firstChild.marks,o=t.firstChild.marks,a=r,i=o,l,s,u;for(let d=0;d<o.length;d++)a=o[d].removeFromSet(a);for(let d=0;d<r.length;d++)i=r[d].removeFromSet(i);if(a.length==1&&i.length==0)s=a[0],l="add",u=d=>d.mark(s.addToSet(d.marks));else if(a.length==0&&i.length==1)s=i[0],l="remove",u=d=>d.mark(s.removeFromSet(d.marks));else return null;let c=[];for(let d=0;d<t.childCount;d++)c.push(u(t.child(d)));if(re.from(c).eq(e))return{mark:s,type:l}}function u1e(e,t,r,o,a){if(r-t<=a.pos-o.pos||af(o,!0,!1)<a.pos)return!1;let i=e.resolve(t);if(!o.parent.isTextblock){let s=i.nodeAfter;return s!=null&&r==t+s.nodeSize}if(i.parentOffset<i.parent.content.size||!i.parent.isTextblock)return!1;let l=e.resolve(af(i,!0,!0));return!l.parent.isTextblock||l.pos>r||af(l,!0,!1)<r?!1:o.parent.content.cut(o.parentOffset).eq(l.parent.content)}function af(e,t,r){let o=e.depth,a=t?e.end():e.pos;for(;o>0&&(t||e.indexAfter(o)==e.node(o).childCount);)o--,a++,t=!1;if(r){let i=e.node(o).maybeChild(e.indexAfter(o));for(;i&&!i.isLeaf;)i=i.firstChild,a++}return a}function c1e(e,t,r,o,a){let i=e.findDiffStart(t,r);if(i==null)return null;let{a:l,b:s}=e.findDiffEnd(t,r+e.size,r+t.size);if(a=="end"){let u=Math.max(0,i-Math.min(l,s));o-=l+u-i}if(l<i&&e.size<t.size){let u=o<=i&&o>=l?i-o:0;i-=u,i&&i<t.size&&N4(t.textBetween(i-1,i+1))&&(i+=u?1:-1),s=i+(s-l),l=i}else if(s<i){let u=o<=i&&o>=s?i-o:0;i-=u,i&&i<e.size&&N4(e.textBetween(i-1,i+1))&&(i+=u?1:-1),l=i+(l-s),s=i}return{start:i,endA:l,endB:s}}function N4(e){if(e.length!=2)return!1;let t=e.charCodeAt(0),r=e.charCodeAt(1);return t>=56320&&t<=57343&&r>=55296&&r<=56319}class d1e{constructor(t,r){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new S2e,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=r,this.state=r.state,this.directPlugins=r.plugins||[],this.directPlugins.forEach(E4),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):typeof t=="function"?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=C4(this),k4(this),this.nodeViews=x4(this),this.docView=r4(this.state.doc,w4(this),of(this),this.dom,this),this.domObserver=new e1e(this,(o,a,i,l)=>l1e(this,o,a,i,l)),this.domObserver.start(),I2e(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props;this._props={};for(let r in t)this._props[r]=t[r];this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&Bp(this);let r=this._props;this._props=t,t.plugins&&(t.plugins.forEach(E4),this.directPlugins=t.plugins),this.updateStateInner(t.state,r)}setProps(t){let r={};for(let o in this._props)r[o]=this._props[o];r.state=this.state;for(let o in t)r[o]=t[o];this.update(r)}updateState(t){this.updateStateInner(t,this._props)}updateStateInner(t,r){var o;let a=this.state,i=!1,l=!1;t.storedMarks&&this.composing&&(r8(this),l=!0),this.state=t;let s=a.plugins!=t.plugins||this._props.plugins!=r.plugins;if(s||this._props.plugins!=r.plugins||this._props.nodeViews!=r.nodeViews){let h=x4(this);p1e(h,this.nodeViews)&&(this.nodeViews=h,i=!0)}(s||r.handleDOMEvents!=this._props.handleDOMEvents)&&Bp(this),this.editable=C4(this),k4(this);let u=of(this),c=w4(this),d=a.plugins!=t.plugins&&!a.doc.eq(t.doc)?"reset":t.scrollToSelection>a.scrollToSelection?"to selection":"preserve",f=i||!this.docView.matchesNode(t.doc,c,u);(f||!t.selection.eq(a.selection))&&(l=!0);let p=d=="preserve"&&l&&this.dom.style.overflowAnchor==null&&Yhe(this);if(l){this.domObserver.stop();let h=f&&(dn||Ht)&&!this.composing&&!a.selection.empty&&!t.selection.empty&&f1e(a.selection,t.selection);if(f){let m=Ht?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=H2e(this)),(i||!this.docView.update(t.doc,c,u,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=r4(t.doc,c,u,this.dom,this)),m&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&h2e(this))?Zr(this,h):(H_(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(a),!((o=this.dragging)===null||o===void 0)&&o.node&&!a.doc.eq(t.doc)&&this.updateDraggedNode(this.dragging,a),d=="reset"?this.dom.scrollTop=0:d=="to selection"?this.scrollToSelection():p&&Qhe(p)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",r=>r(this)))if(this.state.selection instanceof Te){let r=this.docView.domAfterPos(this.state.selection.from);r.nodeType==1&&Zg(this,r.getBoundingClientRect(),t)}else Zg(this,this.coordsAtPos(this.state.selection.head,1),t)}destroyPluginViews(){let t;for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(!t||t.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let r=0;r<this.directPlugins.length;r++){let o=this.directPlugins[r];o.spec.view&&this.pluginViews.push(o.spec.view(this))}for(let r=0;r<this.state.plugins.length;r++){let o=this.state.plugins[r];o.spec.view&&this.pluginViews.push(o.spec.view(this))}}else for(let r=0;r<this.pluginViews.length;r++){let o=this.pluginViews[r];o.update&&o.update(this,t)}}updateDraggedNode(t,r){let o=t.node,a=-1;if(this.state.doc.nodeAt(o.from)==o.node)a=o.from;else{let i=o.from+(this.state.doc.content.size-r.doc.content.size);(i>0&&this.state.doc.nodeAt(i))==o.node&&(a=i)}this.dragging=new a8(t.slice,t.move,a<0?void 0:Te.create(this.state.doc,a))}someProp(t,r){let o=this._props&&this._props[t],a;if(o!=null&&(a=r?r(o):o))return a;for(let l=0;l<this.directPlugins.length;l++){let s=this.directPlugins[l].props[t];if(s!=null&&(a=r?r(s):s))return a}let i=this.state.plugins;if(i)for(let l=0;l<i.length;l++){let s=i[l].props[t];if(s!=null&&(a=r?r(s):s))return a}}hasFocus(){if(dn){let t=this.root.activeElement;if(t==this.dom)return!0;if(!t||!this.dom.contains(t))return!1;for(;t&&this.dom!=t&&this.dom.contains(t);){if(t.contentEditable=="false")return!1;t=t.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&qhe(this.dom),Zr(this),this.domObserver.start()}get root(){let t=this._root;if(t==null){for(let r=this.dom.parentNode;r;r=r.parentNode)if(r.nodeType==9||r.nodeType==11&&r.host)return r.getSelection||(Object.getPrototypeOf(r).getSelection=()=>r.ownerDocument.getSelection()),this._root=r}return t||document}updateRoot(){this._root=null}posAtCoords(t){return Jhe(this,t)}coordsAtPos(t,r=1){return L_(this,t,r)}domAtPos(t,r=0){return this.docView.domFromPos(t,r)}nodeDOM(t){let r=this.docView.descAt(t);return r?r.nodeDOM:null}posAtDOM(t,r,o=-1){let a=this.docView.posFromDOM(t,r,o);if(a==null)throw new RangeError("DOM position not inside the editor");return a}endOfTextblock(t,r){return r2e(this,r||this.state,t)}pasteHTML(t,r){return Ll(this,"",t,!1,r||new ClipboardEvent("paste"))}pasteText(t,r){return Ll(this,t,null,!0,r||new ClipboardEvent("paste"))}destroy(){this.docView&&(A2e(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],of(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,Ohe())}get isDestroyed(){return this.docView==null}dispatchEvent(t){return O2e(this,t)}dispatch(t){let r=this._props.dispatchTransaction;r?r.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){let t=this.domSelection();return t?Zt&&this.root.nodeType===11&&$he(this.dom.ownerDocument)==this.dom&&n1e(this,t)||t:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function w4(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",r=>{if(typeof r=="function"&&(r=r(e.state)),r)for(let o in r)o=="class"?t.class+=" "+r[o]:o=="style"?t.style=(t.style?t.style+";":"")+r[o]:!t[o]&&o!="contenteditable"&&o!="nodeName"&&(t[o]=String(r[o]))}),t.translate||(t.translate="no"),[Ln.node(0,e.state.doc.content.size,t)]}function k4(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:Ln.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function C4(e){return!e.someProp("editable",t=>t(e.state)===!1)}function f1e(e,t){let r=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(r)!=t.$anchor.start(r)}function x4(e){let t=Object.create(null);function r(o){for(let a in o)Object.prototype.hasOwnProperty.call(t,a)||(t[a]=o[a])}return e.someProp("nodeViews",r),e.someProp("markViews",r),t}function p1e(e,t){let r=0,o=0;for(let a in e){if(e[a]!=t[a])return!0;r++}for(let a in t)o++;return r!=o}function E4(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var jo={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Vu={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},m1e=typeof navigator<"u"&&/Mac/.test(navigator.platform),h1e=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Bt=0;Bt<10;Bt++)jo[48+Bt]=jo[96+Bt]=String(Bt);for(var Bt=1;Bt<=24;Bt++)jo[Bt+111]="F"+Bt;for(var Bt=65;Bt<=90;Bt++)jo[Bt]=String.fromCharCode(Bt+32),Vu[Bt]=String.fromCharCode(Bt);for(var lf in jo)Vu.hasOwnProperty(lf)||(Vu[lf]=jo[lf]);function g1e(e){var t=m1e&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||h1e&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",r=!t&&e.key||(e.shiftKey?Vu:jo)[e.keyCode]||e.key||"Unidentified";return r=="Esc"&&(r="Escape"),r=="Del"&&(r="Delete"),r=="Left"&&(r="ArrowLeft"),r=="Up"&&(r="ArrowUp"),r=="Right"&&(r="ArrowRight"),r=="Down"&&(r="ArrowDown"),r}const v1e=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function y1e(e){let t=e.split(/-(?!$)/),r=t[t.length-1];r=="Space"&&(r=" ");let o,a,i,l;for(let s=0;s<t.length-1;s++){let u=t[s];if(/^(cmd|meta|m)$/i.test(u))l=!0;else if(/^a(lt)?$/i.test(u))o=!0;else if(/^(c|ctrl|control)$/i.test(u))a=!0;else if(/^s(hift)?$/i.test(u))i=!0;else if(/^mod$/i.test(u))v1e?l=!0:a=!0;else throw new Error("Unrecognized modifier name: "+u)}return o&&(r="Alt-"+r),a&&(r="Ctrl-"+r),l&&(r="Meta-"+r),i&&(r="Shift-"+r),r}function M1e(e){let t=Object.create(null);for(let r in e)t[y1e(r)]=e[r];return t}function sf(e,t,r=!0){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),r&&t.shiftKey&&(e="Shift-"+e),e}function _1e(e){return new $t({props:{handleKeyDown:b1e(e)}})}function b1e(e){let t=M1e(e);return function(r,o){let a=g1e(o),i,l=t[sf(a,o)];if(l&&l(r.state,r.dispatch,r))return!0;if(a.length==1&&a!=" "){if(o.shiftKey){let s=t[sf(a,o,!1)];if(s&&s(r.state,r.dispatch,r))return!0}if((o.shiftKey||o.altKey||o.metaKey||a.charCodeAt(0)>127)&&(i=jo[o.keyCode])&&i!=a){let s=t[sf(i,o)];if(s&&s(r.state,r.dispatch,r))return!0}}return!1}}const N1e=(e,t)=>e.selection.empty?!1:(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function c8(e,t){let{$cursor:r}=e.selection;return!r||(t?!t.endOfTextblock("backward",e):r.parentOffset>0)?null:r}const w1e=(e,t,r)=>{let o=c8(e,r);if(!o)return!1;let a=Ym(o);if(!a){let l=o.blockRange(),s=l&&Bi(l);return s==null?!1:(t&&t(e.tr.lift(l,s).scrollIntoView()),!0)}let i=a.nodeBefore;if(m8(e,a,t,-1))return!0;if(o.parent.content.size==0&&(yi(i,"end")||Te.isSelectable(i)))for(let l=o.depth;;l--){let s=rd(e.doc,o.before(l),o.after(l),ye.empty);if(s&&s.slice.size<s.to-s.from){if(t){let u=e.tr.step(s);u.setSelection(yi(i,"end")?Fe.findFrom(u.doc.resolve(u.mapping.map(a.pos,-1)),-1):Te.create(u.doc,a.pos-i.nodeSize)),t(u.scrollIntoView())}return!0}if(l==1||o.node(l-1).childCount>1)break}return i.isAtom&&a.depth==o.depth-1?(t&&t(e.tr.delete(a.pos-i.nodeSize,a.pos).scrollIntoView()),!0):!1},k1e=(e,t,r)=>{let o=c8(e,r);if(!o)return!1;let a=Ym(o);return a?d8(e,a,t):!1},C1e=(e,t,r)=>{let o=f8(e,r);if(!o)return!1;let a=Qm(o);return a?d8(e,a,t):!1};function d8(e,t,r){let o=t.nodeBefore,a=o,i=t.pos-1;for(;!a.isTextblock;i--){if(a.type.spec.isolating)return!1;let d=a.lastChild;if(!d)return!1;a=d}let l=t.nodeAfter,s=l,u=t.pos+1;for(;!s.isTextblock;u++){if(s.type.spec.isolating)return!1;let d=s.firstChild;if(!d)return!1;s=d}let c=rd(e.doc,i,u,ye.empty);if(!c||c.from!=i||c instanceof Tt&&c.slice.size>=u-i)return!1;if(r){let d=e.tr.step(c);d.setSelection(Ve.create(d.doc,i)),r(d.scrollIntoView())}return!0}function yi(e,t,r=!1){for(let o=e;o;o=t=="start"?o.firstChild:o.lastChild){if(o.isTextblock)return!0;if(r&&o.childCount!=1)return!1}return!1}const x1e=(e,t,r)=>{let{$head:o,empty:a}=e.selection,i=o;if(!a)return!1;if(o.parent.isTextblock){if(r?!r.endOfTextblock("backward",e):o.parentOffset>0)return!1;i=Ym(o)}let l=i&&i.nodeBefore;return!l||!Te.isSelectable(l)?!1:(t&&t(e.tr.setSelection(Te.create(e.doc,i.pos-l.nodeSize)).scrollIntoView()),!0)};function Ym(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function f8(e,t){let{$cursor:r}=e.selection;return!r||(t?!t.endOfTextblock("forward",e):r.parentOffset<r.parent.content.size)?null:r}const E1e=(e,t,r)=>{let o=f8(e,r);if(!o)return!1;let a=Qm(o);if(!a)return!1;let i=a.nodeAfter;if(m8(e,a,t,1))return!0;if(o.parent.content.size==0&&(yi(i,"start")||Te.isSelectable(i))){let l=rd(e.doc,o.before(),o.after(),ye.empty);if(l&&l.slice.size<l.to-l.from){if(t){let s=e.tr.step(l);s.setSelection(yi(i,"start")?Fe.findFrom(s.doc.resolve(s.mapping.map(a.pos)),1):Te.create(s.doc,s.mapping.map(a.pos))),t(s.scrollIntoView())}return!0}}return i.isAtom&&a.depth==o.depth-1?(t&&t(e.tr.delete(a.pos,a.pos+i.nodeSize).scrollIntoView()),!0):!1},T1e=(e,t,r)=>{let{$head:o,empty:a}=e.selection,i=o;if(!a)return!1;if(o.parent.isTextblock){if(r?!r.endOfTextblock("forward",e):o.parentOffset<o.parent.content.size)return!1;i=Qm(o)}let l=i&&i.nodeAfter;return!l||!Te.isSelectable(l)?!1:(t&&t(e.tr.setSelection(Te.create(e.doc,i.pos)).scrollIntoView()),!0)};function Qm(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let r=e.node(t);if(e.index(t)+1<r.childCount)return e.doc.resolve(e.after(t+1));if(r.type.spec.isolating)break}return null}const D1e=(e,t)=>{let r=e.selection,o=r instanceof Te,a;if(o){if(r.node.isTextblock||!$o(e.doc,r.from))return!1;a=r.from}else if(a=nd(e.doc,r.from,-1),a==null)return!1;if(t){let i=e.tr.join(a);o&&i.setSelection(Te.create(i.doc,a-e.doc.resolve(a).nodeBefore.nodeSize)),t(i.scrollIntoView())}return!0},S1e=(e,t)=>{let r=e.selection,o;if(r instanceof Te){if(r.node.isTextblock||!$o(e.doc,r.to))return!1;o=r.to}else if(o=nd(e.doc,r.to,1),o==null)return!1;return t&&t(e.tr.join(o).scrollIntoView()),!0},I1e=(e,t)=>{let{$from:r,$to:o}=e.selection,a=r.blockRange(o),i=a&&Bi(a);return i==null?!1:(t&&t(e.tr.lift(a,i).scrollIntoView()),!0)},A1e=(e,t)=>{let{$head:r,$anchor:o}=e.selection;return!r.parent.type.spec.code||!r.sameParent(o)?!1:(t&&t(e.tr.insertText(`
57
+ `).scrollIntoView()),!0)};function p8(e){for(let t=0;t<e.edgeCount;t++){let{type:r}=e.edge(t);if(r.isTextblock&&!r.hasRequiredAttrs())return r}return null}const z1e=(e,t)=>{let{$head:r,$anchor:o}=e.selection;if(!r.parent.type.spec.code||!r.sameParent(o))return!1;let a=r.node(-1),i=r.indexAfter(-1),l=p8(a.contentMatchAt(i));if(!l||!a.canReplaceWith(i,i,l))return!1;if(t){let s=r.after(),u=e.tr.replaceWith(s,s,l.createAndFill());u.setSelection(Fe.near(u.doc.resolve(s),1)),t(u.scrollIntoView())}return!0},O1e=(e,t)=>{let r=e.selection,{$from:o,$to:a}=r;if(r instanceof dr||o.parent.inlineContent||a.parent.inlineContent)return!1;let i=p8(a.parent.contentMatchAt(a.indexAfter()));if(!i||!i.isTextblock)return!1;if(t){let l=(!o.parentOffset&&a.index()<a.parent.childCount?o:a).pos,s=e.tr.insert(l,i.createAndFill());s.setSelection(Ve.create(s.doc,l+1)),t(s.scrollIntoView())}return!0},j1e=(e,t)=>{let{$cursor:r}=e.selection;if(!r||r.parent.content.size)return!1;if(r.depth>1&&r.after()!=r.end(-1)){let i=r.before();if(Ja(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let o=r.blockRange(),a=o&&Bi(o);return a==null?!1:(t&&t(e.tr.lift(o,a).scrollIntoView()),!0)},L1e=(e,t)=>{let{$from:r,to:o}=e.selection,a,i=r.sharedDepth(o);return i==0?!1:(a=r.before(i),t&&t(e.tr.setSelection(Te.create(e.doc,a))),!0)};function B1e(e,t,r){let o=t.nodeBefore,a=t.nodeAfter,i=t.index();return!o||!a||!o.type.compatibleContent(a.type)?!1:!o.content.size&&t.parent.canReplace(i-1,i)?(r&&r(e.tr.delete(t.pos-o.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(i,i+1)||!(a.isTextblock||$o(e.doc,t.pos))?!1:(r&&r(e.tr.join(t.pos).scrollIntoView()),!0)}function m8(e,t,r,o){let a=t.nodeBefore,i=t.nodeAfter,l,s,u=a.type.spec.isolating||i.type.spec.isolating;if(!u&&B1e(e,t,r))return!0;let c=!u&&t.parent.canReplace(t.index(),t.index()+1);if(c&&(l=(s=a.contentMatchAt(a.childCount)).findWrapping(i.type))&&s.matchType(l[0]||i.type).validEnd){if(r){let h=t.pos+i.nodeSize,m=re.empty;for(let v=l.length-1;v>=0;v--)m=re.from(l[v].create(null,m));m=re.from(a.copy(m));let g=e.tr.step(new Dt(t.pos-1,h,t.pos,h,new ye(m,1,0),l.length,!0)),y=g.doc.resolve(h+2*l.length);y.nodeAfter&&y.nodeAfter.type==a.type&&$o(g.doc,y.pos)&&g.join(y.pos),r(g.scrollIntoView())}return!0}let d=i.type.spec.isolating||o>0&&u?null:Fe.findFrom(t,1),f=d&&d.$from.blockRange(d.$to),p=f&&Bi(f);if(p!=null&&p>=t.depth)return r&&r(e.tr.lift(f,p).scrollIntoView()),!0;if(c&&yi(i,"start",!0)&&yi(a,"end")){let h=a,m=[];for(;m.push(h),!h.isTextblock;)h=h.lastChild;let g=i,y=1;for(;!g.isTextblock;g=g.firstChild)y++;if(h.canReplace(h.childCount,h.childCount,g.content)){if(r){let v=re.empty;for(let b=m.length-1;b>=0;b--)v=re.from(m[b].copy(v));let _=e.tr.step(new Dt(t.pos-m.length,t.pos+i.nodeSize,t.pos+y,t.pos+i.nodeSize-y,new ye(v,m.length,0),0,!0));r(_.scrollIntoView())}return!0}}return!1}function h8(e){return function(t,r){let o=t.selection,a=e<0?o.$from:o.$to,i=a.depth;for(;a.node(i).isInline;){if(!i)return!1;i--}return a.node(i).isTextblock?(r&&r(t.tr.setSelection(Ve.create(t.doc,e<0?a.start(i):a.end(i)))),!0):!1}}const V1e=h8(-1),$1e=h8(1);function P1e(e,t=null){return function(r,o){let{$from:a,$to:i}=r.selection,l=a.blockRange(i),s=l&&jm(l,e,t);return s?(o&&o(r.tr.wrap(l,s).scrollIntoView()),!0):!1}}function T4(e,t=null){return function(r,o){let a=!1;for(let i=0;i<r.selection.ranges.length&&!a;i++){let{$from:{pos:l},$to:{pos:s}}=r.selection.ranges[i];r.doc.nodesBetween(l,s,(u,c)=>{if(a)return!1;if(!(!u.isTextblock||u.hasMarkup(e,t)))if(u.type==e)a=!0;else{let d=r.doc.resolve(c),f=d.index();a=d.parent.canReplaceWith(f,f+1,e)}})}if(!a)return!1;if(o){let i=r.tr;for(let l=0;l<r.selection.ranges.length;l++){let{$from:{pos:s},$to:{pos:u}}=r.selection.ranges[l];i.setBlockType(s,u,e,t)}o(i.scrollIntoView())}return!0}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function R1e(e,t=null){return function(r,o){let{$from:a,$to:i}=r.selection,l=a.blockRange(i),s=!1,u=l;if(!l)return!1;if(l.depth>=2&&a.node(l.depth-1).type.compatibleContent(e)&&l.startIndex==0){if(a.index(l.depth-1)==0)return!1;let d=r.doc.resolve(l.start-2);u=new Du(d,d,l.depth),l.endIndex<l.parent.childCount&&(l=new Du(a,r.doc.resolve(i.end(l.depth)),l.depth)),s=!0}let c=jm(u,e,t,l);return c?(o&&o(F1e(r.tr,l,c,s,e).scrollIntoView()),!0):!1}}function F1e(e,t,r,o,a){let i=re.empty;for(let d=r.length-1;d>=0;d--)i=re.from(r[d].type.create(r[d].attrs,i));e.step(new Dt(t.start-(o?2:0),t.end,t.start,t.end,new ye(i,0,0),r.length,!0));let l=0;for(let d=0;d<r.length;d++)r[d].type==a&&(l=d+1);let s=r.length-l,u=t.start+r.length-(o?2:0),c=t.parent;for(let d=t.startIndex,f=t.endIndex,p=!0;d<f;d++,p=!1)!p&&Ja(e.doc,u,s)&&(e.split(u,s),u+=2*s),u+=c.child(d).nodeSize;return e}function U1e(e){return function(t,r){let{$from:o,$to:a}=t.selection,i=o.blockRange(a,l=>l.childCount>0&&l.firstChild.type==e);return i?r?o.node(i.depth-1).type==e?H1e(t,r,e,i):Y1e(t,r,i):!0:!1}}function H1e(e,t,r,o){let a=e.tr,i=o.end,l=o.$to.end(o.depth);i<l&&(a.step(new Dt(i-1,l,i,l,new ye(re.from(r.create(null,o.parent.copy())),1,0),1,!0)),o=new Du(a.doc.resolve(o.$from.pos),a.doc.resolve(l),o.depth));const s=Bi(o);if(s==null)return!1;a.lift(o,s);let u=a.mapping.map(i,-1)-1;return $o(a.doc,u)&&a.join(u),t(a.scrollIntoView()),!0}function Y1e(e,t,r){let o=e.tr,a=r.parent;for(let h=r.end,m=r.endIndex-1,g=r.startIndex;m>g;m--)h-=a.child(m).nodeSize,o.delete(h-1,h+1);let i=o.doc.resolve(r.start),l=i.nodeAfter;if(o.mapping.map(r.end)!=r.start+i.nodeAfter.nodeSize)return!1;let s=r.startIndex==0,u=r.endIndex==a.childCount,c=i.node(-1),d=i.index(-1);if(!c.canReplace(d+(s?0:1),d+1,l.content.append(u?re.empty:re.from(a))))return!1;let f=i.pos,p=f+l.nodeSize;return o.step(new Dt(f-(s?1:0),p+(u?1:0),f+1,p-1,new ye((s?re.empty:re.from(a.copy(re.empty))).append(u?re.empty:re.from(a.copy(re.empty))),s?0:1,u?0:1),s?0:1)),t(o.scrollIntoView()),!0}function Q1e(e){return function(t,r){let{$from:o,$to:a}=t.selection,i=o.blockRange(a,c=>c.childCount>0&&c.firstChild.type==e);if(!i)return!1;let l=i.startIndex;if(l==0)return!1;let s=i.parent,u=s.child(l-1);if(u.type!=e)return!1;if(r){let c=u.lastChild&&u.lastChild.type==s.type,d=re.from(c?e.create():null),f=new ye(re.from(e.create(null,re.from(s.type.create(null,d)))),c?3:1,0),p=i.start,h=i.end;r(t.tr.step(new Dt(p-(c?3:1),h,p,h,f,1,!0)).scrollIntoView())}return!0}}function sd(e){const{state:t,transaction:r}=e;let{selection:o}=r,{doc:a}=r,{storedMarks:i}=r;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return i},get selection(){return o},get doc(){return a},get tr(){return o=r.selection,a=r.doc,i=r.storedMarks,r}}}class ud{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:r,state:o}=this,{view:a}=r,{tr:i}=o,l=this.buildProps(i);return Object.fromEntries(Object.entries(t).map(([s,u])=>[s,(...d)=>{const f=u(...d)(l);return!i.getMeta("preventDispatch")&&!this.hasCustomState&&a.dispatch(i),f}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,r=!0){const{rawCommands:o,editor:a,state:i}=this,{view:l}=a,s=[],u=!!t,c=t||i.tr,d=()=>(!u&&r&&!c.getMeta("preventDispatch")&&!this.hasCustomState&&l.dispatch(c),s.every(p=>p===!0)),f={...Object.fromEntries(Object.entries(o).map(([p,h])=>[p,(...g)=>{const y=this.buildProps(c,r),v=h(...g)(y);return s.push(v),f}])),run:d};return f}createCan(t){const{rawCommands:r,state:o}=this,a=!1,i=t||o.tr,l=this.buildProps(i,a);return{...Object.fromEntries(Object.entries(r).map(([u,c])=>[u,(...d)=>c(...d)({...l,dispatch:void 0})])),chain:()=>this.createChain(i,a)}}buildProps(t,r=!0){const{rawCommands:o,editor:a,state:i}=this,{view:l}=a,s={tr:t,editor:a,view:l,state:sd({state:i,transaction:t}),dispatch:r?()=>{}:void 0,chain:()=>this.createChain(t,r),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(o).map(([u,c])=>[u,(...d)=>c(...d)(s)]))}};return s}}class q1e{constructor(){this.callbacks={}}on(t,r){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(r),this}emit(t,...r){const o=this.callbacks[t];return o&&o.forEach(a=>a.apply(this,r)),this}off(t,r){const o=this.callbacks[t];return o&&(r?this.callbacks[t]=o.filter(a=>a!==r):delete this.callbacks[t]),this}removeAllListeners(){this.callbacks={}}}function _e(e,t,r){return e.config[t]===void 0&&e.parent?_e(e.parent,t,r):typeof e.config[t]=="function"?e.config[t].bind({...r,parent:e.parent?_e(e.parent,t,r):null}):e.config[t]}function cd(e){const t=e.filter(a=>a.type==="extension"),r=e.filter(a=>a.type==="node"),o=e.filter(a=>a.type==="mark");return{baseExtensions:t,nodeExtensions:r,markExtensions:o}}function g8(e){const t=[],{nodeExtensions:r,markExtensions:o}=cd(e),a=[...r,...o],i={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach(l=>{const s={name:l.name,options:l.options,storage:l.storage,extensions:a},u=_e(l,"addGlobalAttributes",s);if(!u)return;u().forEach(d=>{d.types.forEach(f=>{Object.entries(d.attributes).forEach(([p,h])=>{t.push({type:f,name:p,attribute:{...i,...h}})})})})}),a.forEach(l=>{const s={name:l.name,options:l.options,storage:l.storage},u=_e(l,"addAttributes",s);if(!u)return;const c=u();Object.entries(c).forEach(([d,f])=>{const p={...i,...f};typeof(p==null?void 0:p.default)=="function"&&(p.default=p.default()),p!=null&&p.isRequired&&(p==null?void 0:p.default)===void 0&&delete p.default,t.push({type:l.name,name:d,attribute:p})})}),t}function It(e,t){if(typeof e=="string"){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}function mn(...e){return e.filter(t=>!!t).reduce((t,r)=>{const o={...t};return Object.entries(r).forEach(([a,i])=>{if(!o[a]){o[a]=i;return}if(a==="class"){const s=i?i.split(" "):[],u=o[a]?o[a].split(" "):[],c=s.filter(d=>!u.includes(d));o[a]=[...u,...c].join(" ")}else if(a==="style"){const s=i?i.split(";").map(d=>d.trim()).filter(Boolean):[],u=o[a]?o[a].split(";").map(d=>d.trim()).filter(Boolean):[],c=new Map;u.forEach(d=>{const[f,p]=d.split(":").map(h=>h.trim());c.set(f,p)}),s.forEach(d=>{const[f,p]=d.split(":").map(h=>h.trim());c.set(f,p)}),o[a]=Array.from(c.entries()).map(([d,f])=>`${d}: ${f}`).join("; ")}else o[a]=i}),o},{})}function Vp(e,t){return t.filter(r=>r.type===e.type.name).filter(r=>r.attribute.rendered).map(r=>r.attribute.renderHTML?r.attribute.renderHTML(e.attrs)||{}:{[r.name]:e.attrs[r.name]}).reduce((r,o)=>mn(r,o),{})}function v8(e){return typeof e=="function"}function Re(e,t=void 0,...r){return v8(e)?t?e.bind(t)(...r):e(...r):e}function W1e(e={}){return Object.keys(e).length===0&&e.constructor===Object}function G1e(e){return typeof e!="string"?e:e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):e==="true"?!0:e==="false"?!1:e}function D4(e,t){return"style"in e?e:{...e,getAttrs:r=>{const o=e.getAttrs?e.getAttrs(r):e.attrs;if(o===!1)return!1;const a=t.reduce((i,l)=>{const s=l.attribute.parseHTML?l.attribute.parseHTML(r):G1e(r.getAttribute(l.name));return s==null?i:{...i,[l.name]:s}},{});return{...o,...a}}}}function S4(e){return Object.fromEntries(Object.entries(e).filter(([t,r])=>t==="attrs"&&W1e(r)?!1:r!=null))}function K1e(e,t){var r;const o=g8(e),{nodeExtensions:a,markExtensions:i}=cd(e),l=(r=a.find(c=>_e(c,"topNode")))===null||r===void 0?void 0:r.name,s=Object.fromEntries(a.map(c=>{const d=o.filter(v=>v.type===c.name),f={name:c.name,options:c.options,storage:c.storage,editor:t},p=e.reduce((v,_)=>{const b=_e(_,"extendNodeSchema",f);return{...v,...b?b(c):{}}},{}),h=S4({...p,content:Re(_e(c,"content",f)),marks:Re(_e(c,"marks",f)),group:Re(_e(c,"group",f)),inline:Re(_e(c,"inline",f)),atom:Re(_e(c,"atom",f)),selectable:Re(_e(c,"selectable",f)),draggable:Re(_e(c,"draggable",f)),code:Re(_e(c,"code",f)),whitespace:Re(_e(c,"whitespace",f)),defining:Re(_e(c,"defining",f)),isolating:Re(_e(c,"isolating",f)),attrs:Object.fromEntries(d.map(v=>{var _;return[v.name,{default:(_=v==null?void 0:v.attribute)===null||_===void 0?void 0:_.default}]}))}),m=Re(_e(c,"parseHTML",f));m&&(h.parseDOM=m.map(v=>D4(v,d)));const g=_e(c,"renderHTML",f);g&&(h.toDOM=v=>g({node:v,HTMLAttributes:Vp(v,d)}));const y=_e(c,"renderText",f);return y&&(h.toText=y),[c.name,h]})),u=Object.fromEntries(i.map(c=>{const d=o.filter(y=>y.type===c.name),f={name:c.name,options:c.options,storage:c.storage,editor:t},p=e.reduce((y,v)=>{const _=_e(v,"extendMarkSchema",f);return{...y,..._?_(c):{}}},{}),h=S4({...p,inclusive:Re(_e(c,"inclusive",f)),excludes:Re(_e(c,"excludes",f)),group:Re(_e(c,"group",f)),spanning:Re(_e(c,"spanning",f)),code:Re(_e(c,"code",f)),attrs:Object.fromEntries(d.map(y=>{var v;return[y.name,{default:(v=y==null?void 0:y.attribute)===null||v===void 0?void 0:v.default}]}))}),m=Re(_e(c,"parseHTML",f));m&&(h.parseDOM=m.map(y=>D4(y,d)));const g=_e(c,"renderHTML",f);return g&&(h.toDOM=y=>g({mark:y,HTMLAttributes:Vp(y,d)})),[c.name,h]}));return new f_({topNode:l,nodes:s,marks:u})}function uf(e,t){return t.nodes[e]||t.marks[e]||null}function I4(e,t){return Array.isArray(t)?t.some(r=>(typeof r=="string"?r:r.name)===e.name):t}const Z1e=(e,t=500)=>{let r="";const o=e.parentOffset;return e.parent.nodesBetween(Math.max(0,o-t),o,(a,i,l,s)=>{var u,c;const d=((c=(u=a.type.spec).toText)===null||c===void 0?void 0:c.call(u,{node:a,pos:i,parent:l,index:s}))||a.textContent||"%leaf%";r+=a.isAtom&&!a.isText?d:d.slice(0,Math.max(0,o-i))}),r};function qm(e){return Object.prototype.toString.call(e)==="[object RegExp]"}class Wm{constructor(t){this.find=t.find,this.handler=t.handler}}const J1e=(e,t)=>{if(qm(t))return t.exec(e);const r=t(e);if(!r)return null;const o=[r.text];return o.index=r.index,o.input=e,o.data=r.data,r.replaceWith&&(r.text.includes(r.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),o.push(r.replaceWith)),o};function js(e){var t;const{editor:r,from:o,to:a,text:i,rules:l,plugin:s}=e,{view:u}=r;if(u.composing)return!1;const c=u.state.doc.resolve(o);if(c.parent.type.spec.code||!((t=c.nodeBefore||c.nodeAfter)===null||t===void 0)&&t.marks.find(p=>p.type.spec.code))return!1;let d=!1;const f=Z1e(c)+i;return l.forEach(p=>{if(d)return;const h=J1e(f,p.find);if(!h)return;const m=u.state.tr,g=sd({state:u.state,transaction:m}),y={from:o-(h[0].length-i.length),to:a},{commands:v,chain:_,can:b}=new ud({editor:r,state:g});p.handler({state:g,range:y,match:h,commands:v,chain:_,can:b})===null||!m.steps.length||(m.setMeta(s,{transform:m,from:o,to:a,text:i}),u.dispatch(m),d=!0)}),d}function X1e(e){const{editor:t,rules:r}=e,o=new $t({state:{init(){return null},apply(a,i){const l=a.getMeta(o);if(l)return l;const s=a.getMeta("applyInputRules");return!!s&&setTimeout(()=>{const{from:c,text:d}=s,f=c+d.length;js({editor:t,from:c,to:f,text:d,rules:r,plugin:o})}),a.selectionSet||a.docChanged?null:i}},props:{handleTextInput(a,i,l,s){return js({editor:t,from:i,to:l,text:s,rules:r,plugin:o})},handleDOMEvents:{compositionend:a=>(setTimeout(()=>{const{$cursor:i}=a.state.selection;i&&js({editor:t,from:i.pos,to:i.pos,text:"",rules:r,plugin:o})}),!1)},handleKeyDown(a,i){if(i.key!=="Enter")return!1;const{$cursor:l}=a.state.selection;return l?js({editor:t,from:l.pos,to:l.pos,text:`
58
+ `,rules:r,plugin:o}):!1}},isInputRules:!0});return o}function ege(e){return Object.prototype.toString.call(e).slice(8,-1)}function Ls(e){return ege(e)!=="Object"?!1:e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function dd(e,t){const r={...e};return Ls(e)&&Ls(t)&&Object.keys(t).forEach(o=>{Ls(t[o])&&Ls(e[o])?r[o]=dd(e[o],t[o]):r[o]=t[o]}),r}class Lo{constructor(t={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=Re(_e(this,"addOptions",{name:this.name}))),this.storage=Re(_e(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new Lo(t)}configure(t={}){const r=this.extend({...this.config,addOptions:()=>dd(this.options,t)});return r.name=this.name,r.parent=this.parent,r}extend(t={}){const r=new Lo(t);return r.parent=this,this.child=r,r.name=t.name?t.name:r.parent.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${r.name}".`),r.options=Re(_e(r,"addOptions",{name:r.name})),r.storage=Re(_e(r,"addStorage",{name:r.name,options:r.options})),r}static handleExit({editor:t,mark:r}){const{tr:o}=t.state,a=t.state.selection.$from;if(a.pos===a.end()){const l=a.marks();if(!!!l.find(c=>(c==null?void 0:c.type.name)===r.name))return!1;const u=l.find(c=>(c==null?void 0:c.type.name)===r.name);return u&&o.removeStoredMark(u),o.insertText(" ",a.pos),t.view.dispatch(o),!0}return!1}}function tge(e){return typeof e=="number"}class nge{constructor(t){this.find=t.find,this.handler=t.handler}}const rge=(e,t,r)=>{if(qm(t))return[...e.matchAll(t)];const o=t(e,r);return o?o.map(a=>{const i=[a.text];return i.index=a.index,i.input=e,i.data=a.data,a.replaceWith&&(a.text.includes(a.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),i.push(a.replaceWith)),i}):[]};function oge(e){const{editor:t,state:r,from:o,to:a,rule:i,pasteEvent:l,dropEvent:s}=e,{commands:u,chain:c,can:d}=new ud({editor:t,state:r}),f=[];return r.doc.nodesBetween(o,a,(h,m)=>{if(!h.isTextblock||h.type.spec.code)return;const g=Math.max(o,m),y=Math.min(a,m+h.content.size),v=h.textBetween(g-m,y-m,void 0,"");rge(v,i.find,l).forEach(b=>{if(b.index===void 0)return;const M=g+b.index+1,N=M+b[0].length,w={from:r.tr.mapping.map(M),to:r.tr.mapping.map(N)},x=i.handler({state:r,range:w,match:b,commands:u,chain:c,can:d,pasteEvent:l,dropEvent:s});f.push(x)})}),f.every(h=>h!==null)}const age=e=>{var t;const r=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(t=r.clipboardData)===null||t===void 0||t.setData("text/html",e),r};function ige(e){const{editor:t,rules:r}=e;let o=null,a=!1,i=!1,l=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,s=typeof DragEvent<"u"?new DragEvent("drop"):null;const u=({state:d,from:f,to:p,rule:h,pasteEvt:m})=>{const g=d.tr,y=sd({state:d,transaction:g});if(!(!oge({editor:t,state:y,from:Math.max(f-1,0),to:p.b-1,rule:h,pasteEvent:m,dropEvent:s})||!g.steps.length))return s=typeof DragEvent<"u"?new DragEvent("drop"):null,l=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,g};return r.map(d=>new $t({view(f){const p=h=>{var m;o=!((m=f.dom.parentElement)===null||m===void 0)&&m.contains(h.target)?f.dom.parentElement:null};return window.addEventListener("dragstart",p),{destroy(){window.removeEventListener("dragstart",p)}}},props:{handleDOMEvents:{drop:(f,p)=>(i=o===f.dom.parentElement,s=p,!1),paste:(f,p)=>{var h;const m=(h=p.clipboardData)===null||h===void 0?void 0:h.getData("text/html");return l=p,a=!!(m!=null&&m.includes("data-pm-slice")),!1}}},appendTransaction:(f,p,h)=>{const m=f[0],g=m.getMeta("uiEvent")==="paste"&&!a,y=m.getMeta("uiEvent")==="drop"&&!i,v=m.getMeta("applyPasteRules"),_=!!v;if(!g&&!y&&!_)return;if(_){const{from:N,text:w}=v,x=N+w.length,T=age(w);return u({rule:d,state:h,from:N,to:{b:x},pasteEvt:T})}const b=p.doc.content.findDiffStart(h.doc.content),M=p.doc.content.findDiffEnd(h.doc.content);if(!(!tge(b)||!M||b===M.b))return u({rule:d,state:h,from:b,to:M,pasteEvt:l})}}))}function lge(e){const t=e.filter((r,o)=>e.indexOf(r)!==o);return Array.from(new Set(t))}class Ga{constructor(t,r){this.splittableMarks=[],this.editor=r,this.extensions=Ga.resolve(t),this.schema=K1e(this.extensions,r),this.setupExtensions()}static resolve(t){const r=Ga.sort(Ga.flatten(t)),o=lge(r.map(a=>a.name));return o.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${o.map(a=>`'${a}'`).join(", ")}]. This can lead to issues.`),r}static flatten(t){return t.map(r=>{const o={name:r.name,options:r.options,storage:r.storage},a=_e(r,"addExtensions",o);return a?[r,...this.flatten(a())]:r}).flat(10)}static sort(t){return t.sort((o,a)=>{const i=_e(o,"priority")||100,l=_e(a,"priority")||100;return i>l?-1:i<l?1:0})}get commands(){return this.extensions.reduce((t,r)=>{const o={name:r.name,options:r.options,storage:r.storage,editor:this.editor,type:uf(r.name,this.schema)},a=_e(r,"addCommands",o);return a?{...t,...a()}:t},{})}get plugins(){const{editor:t}=this,r=Ga.sort([...this.extensions].reverse()),o=[],a=[],i=r.map(l=>{const s={name:l.name,options:l.options,storage:l.storage,editor:t,type:uf(l.name,this.schema)},u=[],c=_e(l,"addKeyboardShortcuts",s);let d={};if(l.type==="mark"&&_e(l,"exitable",s)&&(d.ArrowRight=()=>Lo.handleExit({editor:t,mark:l})),c){const g=Object.fromEntries(Object.entries(c()).map(([y,v])=>[y,()=>v({editor:t})]));d={...d,...g}}const f=_1e(d);u.push(f);const p=_e(l,"addInputRules",s);I4(l,t.options.enableInputRules)&&p&&o.push(...p());const h=_e(l,"addPasteRules",s);I4(l,t.options.enablePasteRules)&&h&&a.push(...h());const m=_e(l,"addProseMirrorPlugins",s);if(m){const g=m();u.push(...g)}return u}).flat();return[X1e({editor:t,rules:o}),...ige({editor:t,rules:a}),...i]}get attributes(){return g8(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:r}=cd(this.extensions);return Object.fromEntries(r.filter(o=>!!_e(o,"addNodeView")).map(o=>{const a=this.attributes.filter(u=>u.type===o.name),i={name:o.name,options:o.options,storage:o.storage,editor:t,type:It(o.name,this.schema)},l=_e(o,"addNodeView",i);if(!l)return[];const s=(u,c,d,f,p)=>{const h=Vp(u,a);return l()({node:u,view:c,getPos:d,decorations:f,innerDecorations:p,editor:t,extension:o,HTMLAttributes:h})};return[o.name,s]}))}setupExtensions(){this.extensions.forEach(t=>{var r;this.editor.extensionStorage[t.name]=t.storage;const o={name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:uf(t.name,this.schema)};t.type==="mark"&&(!((r=Re(_e(t,"keepOnSplit",o)))!==null&&r!==void 0)||r)&&this.splittableMarks.push(t.name);const a=_e(t,"onBeforeCreate",o),i=_e(t,"onCreate",o),l=_e(t,"onUpdate",o),s=_e(t,"onSelectionUpdate",o),u=_e(t,"onTransaction",o),c=_e(t,"onFocus",o),d=_e(t,"onBlur",o),f=_e(t,"onDestroy",o);a&&this.editor.on("beforeCreate",a),i&&this.editor.on("create",i),l&&this.editor.on("update",l),s&&this.editor.on("selectionUpdate",s),u&&this.editor.on("transaction",u),c&&this.editor.on("focus",c),d&&this.editor.on("blur",d),f&&this.editor.on("destroy",f)})}}class en{constructor(t={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=Re(_e(this,"addOptions",{name:this.name}))),this.storage=Re(_e(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new en(t)}configure(t={}){const r=this.extend({...this.config,addOptions:()=>dd(this.options,t)});return r.name=this.name,r.parent=this.parent,r}extend(t={}){const r=new en({...this.config,...t});return r.parent=this,this.child=r,r.name=t.name?t.name:r.parent.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${r.name}".`),r.options=Re(_e(r,"addOptions",{name:r.name})),r.storage=Re(_e(r,"addStorage",{name:r.name,options:r.options})),r}}function y8(e,t,r){const{from:o,to:a}=t,{blockSeparator:i=`
59
+
60
+ `,textSerializers:l={}}=r||{};let s="";return e.nodesBetween(o,a,(u,c,d,f)=>{var p;u.isBlock&&c>o&&(s+=i);const h=l==null?void 0:l[u.type.name];if(h)return d&&(s+=h({node:u,pos:c,parent:d,index:f,range:t})),!1;u.isText&&(s+=(p=u==null?void 0:u.text)===null||p===void 0?void 0:p.slice(Math.max(o,c)-c,a-c))}),s}function M8(e){return Object.fromEntries(Object.entries(e.nodes).filter(([,t])=>t.spec.toText).map(([t,r])=>[t,r.spec.toText]))}const sge=en.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new $t({key:new rn("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:e}=this,{state:t,schema:r}=e,{doc:o,selection:a}=t,{ranges:i}=a,l=Math.min(...i.map(d=>d.$from.pos)),s=Math.max(...i.map(d=>d.$to.pos)),u=M8(r);return y8(o,{from:l,to:s},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:u})}}})]}}),uge=()=>({editor:e,view:t})=>(requestAnimationFrame(()=>{var r;e.isDestroyed||(t.dom.blur(),(r=window==null?void 0:window.getSelection())===null||r===void 0||r.removeAllRanges())}),!0),cge=(e=!1)=>({commands:t})=>t.setContent("",e),dge=()=>({state:e,tr:t,dispatch:r})=>{const{selection:o}=t,{ranges:a}=o;return r&&a.forEach(({$from:i,$to:l})=>{e.doc.nodesBetween(i.pos,l.pos,(s,u)=>{if(s.type.isText)return;const{doc:c,mapping:d}=t,f=c.resolve(d.map(u)),p=c.resolve(d.map(u+s.nodeSize)),h=f.blockRange(p);if(!h)return;const m=Bi(h);if(s.type.isTextblock){const{defaultType:g}=f.parent.contentMatchAt(f.index());t.setNodeMarkup(h.start,g)}(m||m===0)&&t.lift(h,m)})}),!0},fge=e=>t=>e(t),pge=()=>({state:e,dispatch:t})=>O1e(e,t),mge=(e,t)=>({editor:r,tr:o})=>{const{state:a}=r,i=a.doc.slice(e.from,e.to);o.deleteRange(e.from,e.to);const l=o.mapping.map(t);return o.insert(l,i.content),o.setSelection(new Ve(o.doc.resolve(l-1))),!0},hge=()=>({tr:e,dispatch:t})=>{const{selection:r}=e,o=r.$anchor.node();if(o.content.size>0)return!1;const a=e.selection.$anchor;for(let i=a.depth;i>0;i-=1)if(a.node(i).type===o.type){if(t){const s=a.before(i),u=a.after(i);e.delete(s,u).scrollIntoView()}return!0}return!1},gge=e=>({tr:t,state:r,dispatch:o})=>{const a=It(e,r.schema),i=t.selection.$anchor;for(let l=i.depth;l>0;l-=1)if(i.node(l).type===a){if(o){const u=i.before(l),c=i.after(l);t.delete(u,c).scrollIntoView()}return!0}return!1},vge=e=>({tr:t,dispatch:r})=>{const{from:o,to:a}=e;return r&&t.delete(o,a),!0},yge=()=>({state:e,dispatch:t})=>N1e(e,t),Mge=()=>({commands:e})=>e.keyboardShortcut("Enter"),_ge=()=>({state:e,dispatch:t})=>z1e(e,t);function $u(e,t,r={strict:!0}){const o=Object.keys(t);return o.length?o.every(a=>r.strict?t[a]===e[a]:qm(t[a])?t[a].test(e[a]):t[a]===e[a]):!0}function $p(e,t,r={}){return e.find(o=>o.type===t&&$u(o.attrs,r))}function bge(e,t,r={}){return!!$p(e,t,r)}function Gm(e,t,r={}){if(!e||!t)return;let o=e.parent.childAfter(e.parentOffset);if((!o.node||!o.node.marks.some(c=>c.type===t))&&(o=e.parent.childBefore(e.parentOffset)),!o.node||!o.node.marks.some(c=>c.type===t))return;const a=$p([...o.node.marks],t,r);if(!a)return;let i=o.index,l=e.start()+o.offset,s=i+1,u=l+o.node.nodeSize;for($p([...o.node.marks],t,r);i>0&&a.isInSet(e.parent.child(i-1).marks);)i-=1,l-=e.parent.child(i).nodeSize;for(;s<e.parent.childCount&&bge([...e.parent.child(s).marks],t,r);)u+=e.parent.child(s).nodeSize,s+=1;return{from:l,to:u}}function Ro(e,t){if(typeof e=="string"){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}const Nge=(e,t={})=>({tr:r,state:o,dispatch:a})=>{const i=Ro(e,o.schema),{doc:l,selection:s}=r,{$from:u,from:c,to:d}=s;if(a){const f=Gm(u,i,t);if(f&&f.from<=c&&f.to>=d){const p=Ve.create(l,f.from,f.to);r.setSelection(p)}}return!0},wge=e=>t=>{const r=typeof e=="function"?e(t):e;for(let o=0;o<r.length;o+=1)if(r[o](t))return!0;return!1};function Km(e){return e instanceof Ve}function Gr(e=0,t=0,r=0){return Math.min(Math.max(e,t),r)}function _8(e,t=null){if(!t)return null;const r=Fe.atStart(e),o=Fe.atEnd(e);if(t==="start"||t===!0)return r;if(t==="end")return o;const a=r.from,i=o.to;return t==="all"?Ve.create(e,Gr(0,a,i),Gr(e.content.size,a,i)):Ve.create(e,Gr(t,a,i),Gr(t,a,i))}function Zm(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const kge=(e=null,t={})=>({editor:r,view:o,tr:a,dispatch:i})=>{t={scrollIntoView:!0,...t};const l=()=>{Zm()&&o.dom.focus(),requestAnimationFrame(()=>{r.isDestroyed||(o.focus(),t!=null&&t.scrollIntoView&&r.commands.scrollIntoView())})};if(o.hasFocus()&&e===null||e===!1)return!0;if(i&&e===null&&!Km(r.state.selection))return l(),!0;const s=_8(a.doc,e)||r.state.selection,u=r.state.selection.eq(s);return i&&(u||a.setSelection(s),u&&a.storedMarks&&a.setStoredMarks(a.storedMarks),l()),!0},Cge=(e,t)=>r=>e.every((o,a)=>t(o,{...r,index:a})),xge=(e,t)=>({tr:r,commands:o})=>o.insertContentAt({from:r.selection.from,to:r.selection.to},e,t),b8=e=>{const t=e.childNodes;for(let r=t.length-1;r>=0;r-=1){const o=t[r];o.nodeType===3&&o.nodeValue&&/^(\n\s\s|\n)$/.test(o.nodeValue)?e.removeChild(o):o.nodeType===1&&b8(o)}return e};function Bs(e){const t=`<body>${e}</body>`,r=new window.DOMParser().parseFromString(t,"text/html").body;return b8(r)}function Pu(e,t,r){r={slice:!0,parseOptions:{},...r};const o=typeof e=="object"&&e!==null,a=typeof e=="string";if(o)try{if(Array.isArray(e)&&e.length>0)return re.fromArray(e.map(s=>t.nodeFromJSON(s)));const l=t.nodeFromJSON(e);return r.errorOnInvalidContent&&l.check(),l}catch(i){if(r.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:i});return console.warn("[tiptap warn]: Invalid content.","Passed value:",e,"Error:",i),Pu("",t,r)}if(a){if(r.errorOnInvalidContent){let l=!1,s="";const u=new f_({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:c=>(l=!0,s=typeof c=="string"?c:c.outerHTML,null)}]}})});if(r.slice?xo.fromSchema(u).parseSlice(Bs(e),r.parseOptions):xo.fromSchema(u).parse(Bs(e),r.parseOptions),r.errorOnInvalidContent&&l)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${s}`)})}const i=xo.fromSchema(t);return r.slice?i.parseSlice(Bs(e),r.parseOptions).content:i.parse(Bs(e),r.parseOptions)}return Pu("",t,r)}function Ege(e,t,r){const o=e.steps.length-1;if(o<t)return;const a=e.steps[o];if(!(a instanceof Tt||a instanceof Dt))return;const i=e.mapping.maps[o];let l=0;i.forEach((s,u,c,d)=>{l===0&&(l=d)}),e.setSelection(Fe.near(e.doc.resolve(l),r))}const Tge=e=>!("type"in e),Dge=(e,t,r)=>({tr:o,dispatch:a,editor:i})=>{var l;if(a){r={parseOptions:i.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...r};let s;try{s=Pu(t,i.schema,{parseOptions:{preserveWhitespace:"full",...r.parseOptions},errorOnInvalidContent:(l=r.errorOnInvalidContent)!==null&&l!==void 0?l:i.options.enableContentCheck})}catch(m){return i.emit("contentError",{editor:i,error:m,disableCollaboration:()=>{i.storage.collaboration&&(i.storage.collaboration.isDisabled=!0)}}),!1}let{from:u,to:c}=typeof e=="number"?{from:e,to:e}:{from:e.from,to:e.to},d=!0,f=!0;if((Tge(s)?s:[s]).forEach(m=>{m.check(),d=d?m.isText&&m.marks.length===0:!1,f=f?m.isBlock:!1}),u===c&&f){const{parent:m}=o.doc.resolve(u);m.isTextblock&&!m.type.spec.code&&!m.childCount&&(u-=1,c+=1)}let h;d?(Array.isArray(t)?h=t.map(m=>m.text||"").join(""):typeof t=="object"&&t&&t.text?h=t.text:h=t,o.insertText(h,u,c)):(h=s,o.replaceWith(u,c,h)),r.updateSelection&&Ege(o,o.steps.length-1,-1),r.applyInputRules&&o.setMeta("applyInputRules",{from:u,text:h}),r.applyPasteRules&&o.setMeta("applyPasteRules",{from:u,text:h})}return!0},Sge=()=>({state:e,dispatch:t})=>D1e(e,t),Ige=()=>({state:e,dispatch:t})=>S1e(e,t),Age=()=>({state:e,dispatch:t})=>w1e(e,t),zge=()=>({state:e,dispatch:t})=>E1e(e,t),Oge=()=>({state:e,dispatch:t,tr:r})=>{try{const o=nd(e.doc,e.selection.$from.pos,-1);return o==null?!1:(r.join(o,2),t&&t(r),!0)}catch{return!1}},jge=()=>({state:e,dispatch:t,tr:r})=>{try{const o=nd(e.doc,e.selection.$from.pos,1);return o==null?!1:(r.join(o,2),t&&t(r),!0)}catch{return!1}},Lge=()=>({state:e,dispatch:t})=>k1e(e,t),Bge=()=>({state:e,dispatch:t})=>C1e(e,t);function N8(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function Vge(e){const t=e.split(/-(?!$)/);let r=t[t.length-1];r==="Space"&&(r=" ");let o,a,i,l;for(let s=0;s<t.length-1;s+=1){const u=t[s];if(/^(cmd|meta|m)$/i.test(u))l=!0;else if(/^a(lt)?$/i.test(u))o=!0;else if(/^(c|ctrl|control)$/i.test(u))a=!0;else if(/^s(hift)?$/i.test(u))i=!0;else if(/^mod$/i.test(u))Zm()||N8()?l=!0:a=!0;else throw new Error(`Unrecognized modifier name: ${u}`)}return o&&(r=`Alt-${r}`),a&&(r=`Ctrl-${r}`),l&&(r=`Meta-${r}`),i&&(r=`Shift-${r}`),r}const $ge=e=>({editor:t,view:r,tr:o,dispatch:a})=>{const i=Vge(e).split(/-(?!$)/),l=i.find(c=>!["Alt","Ctrl","Meta","Shift"].includes(c)),s=new KeyboardEvent("keydown",{key:l==="Space"?" ":l,altKey:i.includes("Alt"),ctrlKey:i.includes("Ctrl"),metaKey:i.includes("Meta"),shiftKey:i.includes("Shift"),bubbles:!0,cancelable:!0}),u=t.captureTransaction(()=>{r.someProp("handleKeyDown",c=>c(r,s))});return u==null||u.steps.forEach(c=>{const d=c.map(o.mapping);d&&a&&o.maybeStep(d)}),!0};function Vl(e,t,r={}){const{from:o,to:a,empty:i}=e.selection,l=t?It(t,e.schema):null,s=[];e.doc.nodesBetween(o,a,(f,p)=>{if(f.isText)return;const h=Math.max(o,p),m=Math.min(a,p+f.nodeSize);s.push({node:f,from:h,to:m})});const u=a-o,c=s.filter(f=>l?l.name===f.node.type.name:!0).filter(f=>$u(f.node.attrs,r,{strict:!1}));return i?!!c.length:c.reduce((f,p)=>f+p.to-p.from,0)>=u}const Pge=(e,t={})=>({state:r,dispatch:o})=>{const a=It(e,r.schema);return Vl(r,a,t)?I1e(r,o):!1},Rge=()=>({state:e,dispatch:t})=>j1e(e,t),Fge=e=>({state:t,dispatch:r})=>{const o=It(e,t.schema);return U1e(o)(t,r)},Uge=()=>({state:e,dispatch:t})=>A1e(e,t);function fd(e,t){return t.nodes[e]?"node":t.marks[e]?"mark":null}function A4(e,t){const r=typeof t=="string"?[t]:t;return Object.keys(e).reduce((o,a)=>(r.includes(a)||(o[a]=e[a]),o),{})}const Hge=(e,t)=>({tr:r,state:o,dispatch:a})=>{let i=null,l=null;const s=fd(typeof e=="string"?e:e.name,o.schema);return s?(s==="node"&&(i=It(e,o.schema)),s==="mark"&&(l=Ro(e,o.schema)),a&&r.selection.ranges.forEach(u=>{o.doc.nodesBetween(u.$from.pos,u.$to.pos,(c,d)=>{i&&i===c.type&&r.setNodeMarkup(d,void 0,A4(c.attrs,t)),l&&c.marks.length&&c.marks.forEach(f=>{l===f.type&&r.addMark(d,d+c.nodeSize,l.create(A4(f.attrs,t)))})})}),!0):!1},Yge=()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),Qge=()=>({tr:e,commands:t})=>t.setTextSelection({from:0,to:e.doc.content.size}),qge=()=>({state:e,dispatch:t})=>x1e(e,t),Wge=()=>({state:e,dispatch:t})=>T1e(e,t),Gge=()=>({state:e,dispatch:t})=>L1e(e,t),Kge=()=>({state:e,dispatch:t})=>$1e(e,t),Zge=()=>({state:e,dispatch:t})=>V1e(e,t);function Pp(e,t,r={},o={}){return Pu(e,t,{slice:!1,parseOptions:r,errorOnInvalidContent:o.errorOnInvalidContent})}const Jge=(e,t=!1,r={},o={})=>({editor:a,tr:i,dispatch:l,commands:s})=>{var u,c;const{doc:d}=i;if(r.preserveWhitespace!=="full"){const f=Pp(e,a.schema,r,{errorOnInvalidContent:(u=o.errorOnInvalidContent)!==null&&u!==void 0?u:a.options.enableContentCheck});return l&&i.replaceWith(0,d.content.size,f).setMeta("preventUpdate",!t),!0}return l&&i.setMeta("preventUpdate",!t),s.insertContentAt({from:0,to:d.content.size},e,{parseOptions:r,errorOnInvalidContent:(c=o.errorOnInvalidContent)!==null&&c!==void 0?c:a.options.enableContentCheck})};function w8(e,t){const r=Ro(t,e.schema),{from:o,to:a,empty:i}=e.selection,l=[];i?(e.storedMarks&&l.push(...e.storedMarks),l.push(...e.selection.$head.marks())):e.doc.nodesBetween(o,a,u=>{l.push(...u.marks)});const s=l.find(u=>u.type.name===r.name);return s?{...s.attrs}:{}}function Xge(e,t){const r=new E_(e);return t.forEach(o=>{o.steps.forEach(a=>{r.step(a)})}),r}function e4e(e){for(let t=0;t<e.edgeCount;t+=1){const{type:r}=e.edge(t);if(r.isTextblock&&!r.hasRequiredAttrs())return r}return null}function t4e(e,t,r){const o=[];return e.nodesBetween(t.from,t.to,(a,i)=>{r(a)&&o.push({node:a,pos:i})}),o}function n4e(e,t){for(let r=e.depth;r>0;r-=1){const o=e.node(r);if(t(o))return{pos:r>0?e.before(r):0,start:e.start(r),depth:r,node:o}}}function Jm(e){return t=>n4e(t.$from,e)}function r4e(e,t){const r=Da.fromSchema(t).serializeFragment(e),a=document.implementation.createHTMLDocument().createElement("div");return a.appendChild(r),a.innerHTML}function o4e(e,t){const r={from:0,to:e.content.size};return y8(e,r,t)}function a4e(e,t){const r=It(t,e.schema),{from:o,to:a}=e.selection,i=[];e.doc.nodesBetween(o,a,s=>{i.push(s)});const l=i.reverse().find(s=>s.type.name===r.name);return l?{...l.attrs}:{}}function k8(e,t){const r=fd(typeof t=="string"?t:t.name,e.schema);return r==="node"?a4e(e,t):r==="mark"?w8(e,t):{}}function i4e(e,t=JSON.stringify){const r={};return e.filter(o=>{const a=t(o);return Object.prototype.hasOwnProperty.call(r,a)?!1:r[a]=!0})}function l4e(e){const t=i4e(e);return t.length===1?t:t.filter((r,o)=>!t.filter((i,l)=>l!==o).some(i=>r.oldRange.from>=i.oldRange.from&&r.oldRange.to<=i.oldRange.to&&r.newRange.from>=i.newRange.from&&r.newRange.to<=i.newRange.to))}function s4e(e){const{mapping:t,steps:r}=e,o=[];return t.maps.forEach((a,i)=>{const l=[];if(a.ranges.length)a.forEach((s,u)=>{l.push({from:s,to:u})});else{const{from:s,to:u}=r[i];if(s===void 0||u===void 0)return;l.push({from:s,to:u})}l.forEach(({from:s,to:u})=>{const c=t.slice(i).map(s,-1),d=t.slice(i).map(u),f=t.invert().map(c,-1),p=t.invert().map(d);o.push({oldRange:{from:f,to:p},newRange:{from:c,to:d}})})}),l4e(o)}function Xm(e,t,r){const o=[];return e===t?r.resolve(e).marks().forEach(a=>{const i=r.resolve(e),l=Gm(i,a.type);l&&o.push({mark:a,...l})}):r.nodesBetween(e,t,(a,i)=>{!a||(a==null?void 0:a.nodeSize)===void 0||o.push(...a.marks.map(l=>({from:i,to:i+a.nodeSize,mark:l})))}),o}function ou(e,t,r){return Object.fromEntries(Object.entries(r).filter(([o])=>{const a=e.find(i=>i.type===t&&i.name===o);return a?a.attribute.keepOnSplit:!1}))}function Rp(e,t,r={}){const{empty:o,ranges:a}=e.selection,i=t?Ro(t,e.schema):null;if(o)return!!(e.storedMarks||e.selection.$from.marks()).filter(f=>i?i.name===f.type.name:!0).find(f=>$u(f.attrs,r,{strict:!1}));let l=0;const s=[];if(a.forEach(({$from:f,$to:p})=>{const h=f.pos,m=p.pos;e.doc.nodesBetween(h,m,(g,y)=>{if(!g.isText&&!g.marks.length)return;const v=Math.max(h,y),_=Math.min(m,y+g.nodeSize),b=_-v;l+=b,s.push(...g.marks.map(M=>({mark:M,from:v,to:_})))})}),l===0)return!1;const u=s.filter(f=>i?i.name===f.mark.type.name:!0).filter(f=>$u(f.mark.attrs,r,{strict:!1})).reduce((f,p)=>f+p.to-p.from,0),c=s.filter(f=>i?f.mark.type!==i&&f.mark.type.excludes(i):!0).reduce((f,p)=>f+p.to-p.from,0);return(u>0?u+c:u)>=l}function u4e(e,t,r={}){if(!t)return Vl(e,null,r)||Rp(e,null,r);const o=fd(t,e.schema);return o==="node"?Vl(e,t,r):o==="mark"?Rp(e,t,r):!1}function z4(e,t){const{nodeExtensions:r}=cd(t),o=r.find(l=>l.name===e);if(!o)return!1;const a={name:o.name,options:o.options,storage:o.storage},i=Re(_e(o,"group",a));return typeof i!="string"?!1:i.split(" ").includes("list")}function pd(e,{checkChildren:t=!0,ignoreWhitespace:r=!1}={}){var o;if(r){if(e.type.name==="hardBreak")return!0;if(e.isText)return/^\s*$/m.test((o=e.text)!==null&&o!==void 0?o:"")}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(e.content.childCount===0)return!0;if(t){let a=!0;return e.content.forEach(i=>{a!==!1&&(pd(i,{ignoreWhitespace:r,checkChildren:t})||(a=!1))}),a}return!1}function c4e(e){return e instanceof Te}function C8(e,t,r){const a=e.state.doc.content.size,i=Gr(t,0,a),l=Gr(r,0,a),s=e.coordsAtPos(i),u=e.coordsAtPos(l,-1),c=Math.min(s.top,u.top),d=Math.max(s.bottom,u.bottom),f=Math.min(s.left,u.left),p=Math.max(s.right,u.right),h=p-f,m=d-c,v={top:c,bottom:d,left:f,right:p,width:h,height:m,x:f,y:c};return{...v,toJSON:()=>v}}function d4e(e,t,r){var o;const{selection:a}=t;let i=null;if(Km(a)&&(i=a.$cursor),i){const s=(o=e.storedMarks)!==null&&o!==void 0?o:i.marks();return!!r.isInSet(s)||!s.some(u=>u.type.excludes(r))}const{ranges:l}=a;return l.some(({$from:s,$to:u})=>{let c=s.depth===0?e.doc.inlineContent&&e.doc.type.allowsMarkType(r):!1;return e.doc.nodesBetween(s.pos,u.pos,(d,f,p)=>{if(c)return!1;if(d.isInline){const h=!p||p.type.allowsMarkType(r),m=!!r.isInSet(d.marks)||!d.marks.some(g=>g.type.excludes(r));c=h&&m}return!c}),c})}const f4e=(e,t={})=>({tr:r,state:o,dispatch:a})=>{const{selection:i}=r,{empty:l,ranges:s}=i,u=Ro(e,o.schema);if(a)if(l){const c=w8(o,u);r.addStoredMark(u.create({...c,...t}))}else s.forEach(c=>{const d=c.$from.pos,f=c.$to.pos;o.doc.nodesBetween(d,f,(p,h)=>{const m=Math.max(h,d),g=Math.min(h+p.nodeSize,f);p.marks.find(v=>v.type===u)?p.marks.forEach(v=>{u===v.type&&r.addMark(m,g,u.create({...v.attrs,...t}))}):r.addMark(m,g,u.create(t))})});return d4e(o,r,u)},p4e=(e,t)=>({tr:r})=>(r.setMeta(e,t),!0),m4e=(e,t={})=>({state:r,dispatch:o,chain:a})=>{const i=It(e,r.schema);return i.isTextblock?a().command(({commands:l})=>T4(i,t)(r)?!0:l.clearNodes()).command(({state:l})=>T4(i,t)(l,o)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},h4e=e=>({tr:t,dispatch:r})=>{if(r){const{doc:o}=t,a=Gr(e,0,o.content.size),i=Te.create(o,a);t.setSelection(i)}return!0},g4e=e=>({tr:t,dispatch:r})=>{if(r){const{doc:o}=t,{from:a,to:i}=typeof e=="number"?{from:e,to:e}:e,l=Ve.atStart(o).from,s=Ve.atEnd(o).to,u=Gr(a,l,s),c=Gr(i,l,s),d=Ve.create(o,u,c);t.setSelection(d)}return!0},v4e=e=>({state:t,dispatch:r})=>{const o=It(e,t.schema);return Q1e(o)(t,r)};function O4(e,t){const r=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(r){const o=r.filter(a=>t==null?void 0:t.includes(a.type.name));e.tr.ensureMarks(o)}}const y4e=({keepMarks:e=!0}={})=>({tr:t,state:r,dispatch:o,editor:a})=>{const{selection:i,doc:l}=t,{$from:s,$to:u}=i,c=a.extensionManager.attributes,d=ou(c,s.node().type.name,s.node().attrs);if(i instanceof Te&&i.node.isBlock)return!s.parentOffset||!Ja(l,s.pos)?!1:(o&&(e&&O4(r,a.extensionManager.splittableMarks),t.split(s.pos).scrollIntoView()),!0);if(!s.parent.isBlock)return!1;const f=u.parentOffset===u.parent.content.size,p=s.depth===0?void 0:e4e(s.node(-1).contentMatchAt(s.indexAfter(-1)));let h=f&&p?[{type:p,attrs:d}]:void 0,m=Ja(t.doc,t.mapping.map(s.pos),1,h);if(!h&&!m&&Ja(t.doc,t.mapping.map(s.pos),1,p?[{type:p}]:void 0)&&(m=!0,h=p?[{type:p,attrs:d}]:void 0),o){if(m&&(i instanceof Ve&&t.deleteSelection(),t.split(t.mapping.map(s.pos),1,h),p&&!f&&!s.parentOffset&&s.parent.type!==p)){const g=t.mapping.map(s.before()),y=t.doc.resolve(g);s.node(-1).canReplaceWith(y.index(),y.index()+1,p)&&t.setNodeMarkup(t.mapping.map(s.before()),p)}e&&O4(r,a.extensionManager.splittableMarks),t.scrollIntoView()}return m},M4e=(e,t={})=>({tr:r,state:o,dispatch:a,editor:i})=>{var l;const s=It(e,o.schema),{$from:u,$to:c}=o.selection,d=o.selection.node;if(d&&d.isBlock||u.depth<2||!u.sameParent(c))return!1;const f=u.node(-1);if(f.type!==s)return!1;const p=i.extensionManager.attributes;if(u.parent.content.size===0&&u.node(-1).childCount===u.indexAfter(-1)){if(u.depth===2||u.node(-3).type!==s||u.index(-2)!==u.node(-2).childCount-1)return!1;if(a){let v=re.empty;const _=u.index(-1)?1:u.index(-2)?2:3;for(let T=u.depth-_;T>=u.depth-3;T-=1)v=re.from(u.node(T).copy(v));const b=u.indexAfter(-1)<u.node(-2).childCount?1:u.indexAfter(-2)<u.node(-3).childCount?2:3,M={...ou(p,u.node().type.name,u.node().attrs),...t},N=((l=s.contentMatch.defaultType)===null||l===void 0?void 0:l.createAndFill(M))||void 0;v=v.append(re.from(s.createAndFill(null,N)||void 0));const w=u.before(u.depth-(_-1));r.replace(w,u.after(-b),new ye(v,4-_,0));let x=-1;r.doc.nodesBetween(w,r.doc.content.size,(T,O)=>{if(x>-1)return!1;T.isTextblock&&T.content.size===0&&(x=O+1)}),x>-1&&r.setSelection(Ve.near(r.doc.resolve(x))),r.scrollIntoView()}return!0}const h=c.pos===u.end()?f.contentMatchAt(0).defaultType:null,m={...ou(p,f.type.name,f.attrs),...t},g={...ou(p,u.node().type.name,u.node().attrs),...t};r.delete(u.pos,c.pos);const y=h?[{type:s,attrs:m},{type:h,attrs:g}]:[{type:s,attrs:m}];if(!Ja(r.doc,u.pos,2))return!1;if(a){const{selection:v,storedMarks:_}=o,{splittableMarks:b}=i.extensionManager,M=_||v.$to.parentOffset&&v.$from.marks();if(r.split(u.pos,2,y).scrollIntoView(),!M||!a)return!0;const N=M.filter(w=>b.includes(w.type.name));r.ensureMarks(N)}return!0},cf=(e,t)=>{const r=Jm(l=>l.type===t)(e.selection);if(!r)return!0;const o=e.doc.resolve(Math.max(0,r.pos-1)).before(r.depth);if(o===void 0)return!0;const a=e.doc.nodeAt(o);return r.node.type===(a==null?void 0:a.type)&&$o(e.doc,r.pos)&&e.join(r.pos),!0},df=(e,t)=>{const r=Jm(l=>l.type===t)(e.selection);if(!r)return!0;const o=e.doc.resolve(r.start).after(r.depth);if(o===void 0)return!0;const a=e.doc.nodeAt(o);return r.node.type===(a==null?void 0:a.type)&&$o(e.doc,o)&&e.join(o),!0},_4e=(e,t,r,o={})=>({editor:a,tr:i,state:l,dispatch:s,chain:u,commands:c,can:d})=>{const{extensions:f,splittableMarks:p}=a.extensionManager,h=It(e,l.schema),m=It(t,l.schema),{selection:g,storedMarks:y}=l,{$from:v,$to:_}=g,b=v.blockRange(_),M=y||g.$to.parentOffset&&g.$from.marks();if(!b)return!1;const N=Jm(w=>z4(w.type.name,f))(g);if(b.depth>=1&&N&&b.depth-N.depth<=1){if(N.node.type===h)return c.liftListItem(m);if(z4(N.node.type.name,f)&&h.validContent(N.node.content)&&s)return u().command(()=>(i.setNodeMarkup(N.pos,h),!0)).command(()=>cf(i,h)).command(()=>df(i,h)).run()}return!r||!M||!s?u().command(()=>d().wrapInList(h,o)?!0:c.clearNodes()).wrapInList(h,o).command(()=>cf(i,h)).command(()=>df(i,h)).run():u().command(()=>{const w=d().wrapInList(h,o),x=M.filter(T=>p.includes(T.type.name));return i.ensureMarks(x),w?!0:c.clearNodes()}).wrapInList(h,o).command(()=>cf(i,h)).command(()=>df(i,h)).run()},b4e=(e,t={},r={})=>({state:o,commands:a})=>{const{extendEmptyMarkRange:i=!1}=r,l=Ro(e,o.schema);return Rp(o,l,t)?a.unsetMark(l,{extendEmptyMarkRange:i}):a.setMark(l,t)},N4e=(e,t,r={})=>({state:o,commands:a})=>{const i=It(e,o.schema),l=It(t,o.schema),s=Vl(o,i,r);let u;return o.selection.$anchor.sameParent(o.selection.$head)&&(u=o.selection.$anchor.parent.attrs),s?a.setNode(l,u):a.setNode(i,{...u,...r})},w4e=(e,t={})=>({state:r,commands:o})=>{const a=It(e,r.schema);return Vl(r,a,t)?o.lift(a):o.wrapIn(a,t)},k4e=()=>({state:e,dispatch:t})=>{const r=e.plugins;for(let o=0;o<r.length;o+=1){const a=r[o];let i;if(a.spec.isInputRules&&(i=a.getState(e))){if(t){const l=e.tr,s=i.transform;for(let u=s.steps.length-1;u>=0;u-=1)l.step(s.steps[u].invert(s.docs[u]));if(i.text){const u=l.doc.resolve(i.from).marks();l.replaceWith(i.from,i.to,e.schema.text(i.text,u))}else l.delete(i.from,i.to)}return!0}}return!1},C4e=()=>({tr:e,dispatch:t})=>{const{selection:r}=e,{empty:o,ranges:a}=r;return o||t&&a.forEach(i=>{e.removeMark(i.$from.pos,i.$to.pos)}),!0},x4e=(e,t={})=>({tr:r,state:o,dispatch:a})=>{var i;const{extendEmptyMarkRange:l=!1}=t,{selection:s}=r,u=Ro(e,o.schema),{$from:c,empty:d,ranges:f}=s;if(!a)return!0;if(d&&l){let{from:p,to:h}=s;const m=(i=c.marks().find(y=>y.type===u))===null||i===void 0?void 0:i.attrs,g=Gm(c,u,m);g&&(p=g.from,h=g.to),r.removeMark(p,h,u)}else f.forEach(p=>{r.removeMark(p.$from.pos,p.$to.pos,u)});return r.removeStoredMark(u),!0},E4e=(e,t={})=>({tr:r,state:o,dispatch:a})=>{let i=null,l=null;const s=fd(typeof e=="string"?e:e.name,o.schema);return s?(s==="node"&&(i=It(e,o.schema)),s==="mark"&&(l=Ro(e,o.schema)),a&&r.selection.ranges.forEach(u=>{const c=u.$from.pos,d=u.$to.pos;o.doc.nodesBetween(c,d,(f,p)=>{i&&i===f.type&&r.setNodeMarkup(p,void 0,{...f.attrs,...t}),l&&f.marks.length&&f.marks.forEach(h=>{if(l===h.type){const m=Math.max(p,c),g=Math.min(p+f.nodeSize,d);r.addMark(m,g,l.create({...h.attrs,...t}))}})})}),!0):!1},T4e=(e,t={})=>({state:r,dispatch:o})=>{const a=It(e,r.schema);return P1e(a,t)(r,o)},D4e=(e,t={})=>({state:r,dispatch:o})=>{const a=It(e,r.schema);return R1e(a,t)(r,o)};var S4e=Object.freeze({__proto__:null,blur:uge,clearContent:cge,clearNodes:dge,command:fge,createParagraphNear:pge,cut:mge,deleteCurrentNode:hge,deleteNode:gge,deleteRange:vge,deleteSelection:yge,enter:Mge,exitCode:_ge,extendMarkRange:Nge,first:wge,focus:kge,forEach:Cge,insertContent:xge,insertContentAt:Dge,joinBackward:Age,joinDown:Ige,joinForward:zge,joinItemBackward:Oge,joinItemForward:jge,joinTextblockBackward:Lge,joinTextblockForward:Bge,joinUp:Sge,keyboardShortcut:$ge,lift:Pge,liftEmptyBlock:Rge,liftListItem:Fge,newlineInCode:Uge,resetAttributes:Hge,scrollIntoView:Yge,selectAll:Qge,selectNodeBackward:qge,selectNodeForward:Wge,selectParentNode:Gge,selectTextblockEnd:Kge,selectTextblockStart:Zge,setContent:Jge,setMark:f4e,setMeta:p4e,setNode:m4e,setNodeSelection:h4e,setTextSelection:g4e,sinkListItem:v4e,splitBlock:y4e,splitListItem:M4e,toggleList:_4e,toggleMark:b4e,toggleNode:N4e,toggleWrap:w4e,undoInputRule:k4e,unsetAllMarks:C4e,unsetMark:x4e,updateAttributes:E4e,wrapIn:T4e,wrapInList:D4e});const I4e=en.create({name:"commands",addCommands(){return{...S4e}}}),A4e=en.create({name:"drop",addProseMirrorPlugins(){return[new $t({key:new rn("tiptapDrop"),props:{handleDrop:(e,t,r,o)=>{this.editor.emit("drop",{editor:this.editor,event:t,slice:r,moved:o})}}})]}}),z4e=en.create({name:"editable",addProseMirrorPlugins(){return[new $t({key:new rn("editable"),props:{editable:()=>this.editor.options.editable}})]}}),O4e=en.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:e}=this;return[new $t({key:new rn("focusEvents"),props:{handleDOMEvents:{focus:(t,r)=>{e.isFocused=!0;const o=e.state.tr.setMeta("focus",{event:r}).setMeta("addToHistory",!1);return t.dispatch(o),!1},blur:(t,r)=>{e.isFocused=!1;const o=e.state.tr.setMeta("blur",{event:r}).setMeta("addToHistory",!1);return t.dispatch(o),!1}}}})]}}),j4e=en.create({name:"keymap",addKeyboardShortcuts(){const e=()=>this.editor.commands.first(({commands:l})=>[()=>l.undoInputRule(),()=>l.command(({tr:s})=>{const{selection:u,doc:c}=s,{empty:d,$anchor:f}=u,{pos:p,parent:h}=f,m=f.parent.isTextblock&&p>0?s.doc.resolve(p-1):f,g=m.parent.type.spec.isolating,y=f.pos-f.parentOffset,v=g&&m.parent.childCount===1?y===f.pos:Fe.atStart(c).from===p;return!d||!h.type.isTextblock||h.textContent.length||!v||v&&f.parent.type.name==="paragraph"?!1:l.clearNodes()}),()=>l.deleteSelection(),()=>l.joinBackward(),()=>l.selectNodeBackward()]),t=()=>this.editor.commands.first(({commands:l})=>[()=>l.deleteSelection(),()=>l.deleteCurrentNode(),()=>l.joinForward(),()=>l.selectNodeForward()]),o={Enter:()=>this.editor.commands.first(({commands:l})=>[()=>l.newlineInCode(),()=>l.createParagraphNear(),()=>l.liftEmptyBlock(),()=>l.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},a={...o},i={...o,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Zm()||N8()?i:a},addProseMirrorPlugins(){return[new $t({key:new rn("clearDocument"),appendTransaction:(e,t,r)=>{const o=e.some(g=>g.docChanged)&&!t.doc.eq(r.doc),a=e.some(g=>g.getMeta("preventClearDocument"));if(!o||a)return;const{empty:i,from:l,to:s}=t.selection,u=Fe.atStart(t.doc).from,c=Fe.atEnd(t.doc).to;if(i||!(l===u&&s===c)||!pd(r.doc))return;const p=r.tr,h=sd({state:r,transaction:p}),{commands:m}=new ud({editor:this.editor,state:h});if(m.clearNodes(),!!p.steps.length)return p}})]}}),L4e=en.create({name:"paste",addProseMirrorPlugins(){return[new $t({key:new rn("tiptapPaste"),props:{handlePaste:(e,t,r)=>{this.editor.emit("paste",{editor:this.editor,event:t,slice:r})}}})]}}),B4e=en.create({name:"tabindex",addProseMirrorPlugins(){return[new $t({key:new rn("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}});class Jo{get name(){return this.node.type.name}constructor(t,r,o=!1,a=null){this.currentNode=null,this.actualDepth=null,this.isBlock=o,this.resolvedPos=t,this.editor=r,this.currentNode=a}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var t;return(t=this.actualDepth)!==null&&t!==void 0?t:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(t){let r=this.from,o=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}r=this.from+1,o=this.to-1}this.editor.commands.insertContentAt({from:r,to:o},t)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const t=this.resolvedPos.start(this.resolvedPos.depth-1),r=this.resolvedPos.doc.resolve(t);return new Jo(r,this.editor)}get before(){let t=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.from-3)),new Jo(t,this.editor)}get after(){let t=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.to+3)),new Jo(t,this.editor)}get children(){const t=[];return this.node.content.forEach((r,o)=>{const a=r.isBlock&&!r.isTextblock,i=r.isAtom&&!r.isText,l=this.pos+o+(i?0:1),s=this.resolvedPos.doc.resolve(l);if(!a&&s.depth<=this.depth)return;const u=new Jo(s,this.editor,a,a?r:null);a&&(u.actualDepth=this.depth+1),t.push(new Jo(s,this.editor,a,a?r:null))}),t}get firstChild(){return this.children[0]||null}get lastChild(){const t=this.children;return t[t.length-1]||null}closest(t,r={}){let o=null,a=this.parent;for(;a&&!o;){if(a.node.type.name===t)if(Object.keys(r).length>0){const i=a.node.attrs,l=Object.keys(r);for(let s=0;s<l.length;s+=1){const u=l[s];if(i[u]!==r[u])break}}else o=a;a=a.parent}return o}querySelector(t,r={}){return this.querySelectorAll(t,r,!0)[0]||null}querySelectorAll(t,r={},o=!1){let a=[];if(!this.children||this.children.length===0)return a;const i=Object.keys(r);return this.children.forEach(l=>{o&&a.length>0||(l.node.type.name===t&&i.every(u=>r[u]===l.node.attrs[u])&&a.push(l),!(o&&a.length>0)&&(a=a.concat(l.querySelectorAll(t,r,o))))}),a}setAttribute(t){const{tr:r}=this.editor.state;r.setNodeMarkup(this.from,void 0,{...this.node.attrs,...t}),this.editor.view.dispatch(r)}}const V4e=`.ProseMirror {
61
+ position: relative;
62
+ }
63
+
64
+ .ProseMirror {
65
+ word-wrap: break-word;
66
+ white-space: pre-wrap;
67
+ white-space: break-spaces;
68
+ -webkit-font-variant-ligatures: none;
69
+ font-variant-ligatures: none;
70
+ font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
71
+ }
72
+
73
+ .ProseMirror [contenteditable="false"] {
74
+ white-space: normal;
75
+ }
76
+
77
+ .ProseMirror [contenteditable="false"] [contenteditable="true"] {
78
+ white-space: pre-wrap;
79
+ }
80
+
81
+ .ProseMirror pre {
82
+ white-space: pre-wrap;
83
+ }
84
+
85
+ img.ProseMirror-separator {
86
+ display: inline !important;
87
+ border: none !important;
88
+ margin: 0 !important;
89
+ width: 0 !important;
90
+ height: 0 !important;
91
+ }
92
+
93
+ .ProseMirror-gapcursor {
94
+ display: none;
95
+ pointer-events: none;
96
+ position: absolute;
97
+ margin: 0;
98
+ }
99
+
100
+ .ProseMirror-gapcursor:after {
101
+ content: "";
102
+ display: block;
103
+ position: absolute;
104
+ top: -2px;
105
+ width: 20px;
106
+ border-top: 1px solid black;
107
+ animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
108
+ }
109
+
110
+ @keyframes ProseMirror-cursor-blink {
111
+ to {
112
+ visibility: hidden;
113
+ }
114
+ }
115
+
116
+ .ProseMirror-hideselection *::selection {
117
+ background: transparent;
118
+ }
119
+
120
+ .ProseMirror-hideselection *::-moz-selection {
121
+ background: transparent;
122
+ }
123
+
124
+ .ProseMirror-hideselection * {
125
+ caret-color: transparent;
126
+ }
127
+
128
+ .ProseMirror-focused .ProseMirror-gapcursor {
129
+ display: block;
130
+ }
131
+
132
+ .tippy-box[data-animation=fade][data-state=hidden] {
133
+ opacity: 0
134
+ }`;function $4e(e,t,r){const o=document.querySelector(`style[data-tiptap-style${r?`-${r}`:""}]`);if(o!==null)return o;const a=document.createElement("style");return t&&a.setAttribute("nonce",t),a.setAttribute(`data-tiptap-style${r?`-${r}`:""}`,""),a.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(a),a}let P4e=class extends q1e{constructor(t={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:r})=>{throw r},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:r,slice:o,moved:a})=>this.options.onDrop(r,o,a)),this.on("paste",({event:r,slice:o})=>this.options.onPaste(r,o)),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=$4e(V4e,this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},!(!this.view||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,r=!0){this.setOptions({editable:t}),r&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(t,r){const o=v8(r)?r(t,[...this.state.plugins]):[...this.state.plugins,t],a=this.state.reconfigure({plugins:o});return this.view.updateState(a),a}unregisterPlugin(t){if(this.isDestroyed)return;const r=this.state.plugins;let o=r;if([].concat(t).forEach(i=>{const l=typeof i=="string"?`${i}$`:i.key;o=r.filter(s=>!s.key.startsWith(l))}),r.length===o.length)return;const a=this.state.reconfigure({plugins:o});return this.view.updateState(a),a}createExtensionManager(){var t,r;const a=[...this.options.enableCoreExtensions?[z4e,sge.configure({blockSeparator:(r=(t=this.options.coreExtensionOptions)===null||t===void 0?void 0:t.clipboardTextSerializer)===null||r===void 0?void 0:r.blockSeparator}),I4e,O4e,j4e,B4e,A4e,L4e].filter(i=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[i.name]!==!1:!0):[],...this.options.extensions].filter(i=>["extension","node","mark"].includes(i==null?void 0:i.type));this.extensionManager=new Ga(a,this)}createCommandManager(){this.commandManager=new ud({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){let t;try{t=Pp(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(i){if(!(i instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(i.message))throw i;this.emit("contentError",{editor:this,error:i,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(l=>l.name!=="collaboration"),this.createExtensionManager()}}),t=Pp(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const r=_8(t,this.options.autofocus);this.view=new d1e(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:Wa.create({doc:t,selection:r||void 0})}),this.view.dom.setAttribute("role","textbox"),this.view.dom.getAttribute("aria-label")||this.view.dom.setAttribute("aria-label","Rich-Text Editor");const o=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(o),this.createNodeViews(),this.prependClass();const a=this.view.dom;a.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isCapturingTransaction=!1;const r=this.capturedTransaction;return this.capturedTransaction=null,r}dispatchTransaction(t){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=t;return}t.steps.forEach(l=>{var s;return(s=this.capturedTransaction)===null||s===void 0?void 0:s.step(l)});return}const r=this.state.apply(t),o=!this.state.selection.eq(r.selection);this.emit("beforeTransaction",{editor:this,transaction:t,nextState:r}),this.view.updateState(r),this.emit("transaction",{editor:this,transaction:t}),o&&this.emit("selectionUpdate",{editor:this,transaction:t});const a=t.getMeta("focus"),i=t.getMeta("blur");a&&this.emit("focus",{editor:this,event:a.event,transaction:t}),i&&this.emit("blur",{editor:this,event:i.event,transaction:t}),!(!t.docChanged||t.getMeta("preventUpdate"))&&this.emit("update",{editor:this,transaction:t})}getAttributes(t){return k8(this.state,t)}isActive(t,r){const o=typeof t=="string"?t:null,a=typeof t=="string"?r:t;return u4e(this.state,o,a)}getJSON(){return this.state.doc.toJSON()}getHTML(){return r4e(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:r=`
135
+
136
+ `,textSerializers:o={}}=t||{};return o4e(this.state.doc,{blockSeparator:r,textSerializers:{...M8(this.schema),...o}})}get isEmpty(){return pd(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const t=this.view.dom;t&&t.editor&&delete t.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var t;return!(!((t=this.view)===null||t===void 0)&&t.docView)}$node(t,r){var o;return((o=this.$doc)===null||o===void 0?void 0:o.querySelector(t,r))||null}$nodes(t,r){var o;return((o=this.$doc)===null||o===void 0?void 0:o.querySelectorAll(t,r))||null}$pos(t){const r=this.state.doc.resolve(t);return new Jo(r,this)}get $doc(){return this.$pos(0)}};function Ru(e){return new Wm({find:e.find,handler:({state:t,range:r,match:o})=>{const a=Re(e.getAttributes,void 0,o);if(a===!1||a===null)return null;const{tr:i}=t,l=o[o.length-1],s=o[0];if(l){const u=s.search(/\S/),c=r.from+s.indexOf(l),d=c+l.length;if(Xm(r.from,r.to,t.doc).filter(h=>h.mark.type.excluded.find(g=>g===e.type&&g!==h.mark.type)).filter(h=>h.to>c).length)return null;d<r.to&&i.delete(d,r.to),c>r.from&&i.delete(r.from+u,c);const p=r.from+u+l.length;i.addMark(r.from+u,p,e.type.create(a||{})),i.removeStoredMark(e.type)}}})}function R4e(e){return new Wm({find:e.find,handler:({state:t,range:r,match:o})=>{const a=t.doc.resolve(r.from),i=Re(e.getAttributes,void 0,o)||{};if(!a.node(-1).canReplaceWith(a.index(-1),a.indexAfter(-1),e.type))return null;t.tr.delete(r.from,r.to).setBlockType(r.from,r.from,e.type,i)}})}function $l(e){return new Wm({find:e.find,handler:({state:t,range:r,match:o,chain:a})=>{const i=Re(e.getAttributes,void 0,o)||{},l=t.tr.delete(r.from,r.to),u=l.doc.resolve(r.from).blockRange(),c=u&&jm(u,e.type,i);if(!c)return null;if(l.wrap(u,c),e.keepMarks&&e.editor){const{selection:f,storedMarks:p}=t,{splittableMarks:h}=e.editor.extensionManager,m=p||f.$to.parentOffset&&f.$from.marks();if(m){const g=m.filter(y=>h.includes(y.type.name));l.ensureMarks(g)}}if(e.keepAttributes){const f=e.type.name==="bulletList"||e.type.name==="orderedList"?"listItem":"taskList";a().updateAttributes(f,i).run()}const d=l.doc.resolve(r.from-1).nodeBefore;d&&d.type===e.type&&$o(l.doc,r.from-1)&&(!e.joinPredicate||e.joinPredicate(o,d))&&l.join(r.from-1)}})}class qn{constructor(t={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=Re(_e(this,"addOptions",{name:this.name}))),this.storage=Re(_e(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new qn(t)}configure(t={}){const r=this.extend({...this.config,addOptions:()=>dd(this.options,t)});return r.name=this.name,r.parent=this.parent,r}extend(t={}){const r=new qn(t);return r.parent=this,this.child=r,r.name=t.name?t.name:r.parent.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${r.name}".`),r.options=Re(_e(r,"addOptions",{name:r.name})),r.storage=Re(_e(r,"addStorage",{name:r.name,options:r.options})),r}}function Pl(e){return new nge({find:e.find,handler:({state:t,range:r,match:o,pasteEvent:a})=>{const i=Re(e.getAttributes,void 0,o,a);if(i===!1||i===null)return null;const{tr:l}=t,s=o[o.length-1],u=o[0];let c=r.to;if(s){const d=u.search(/\S/),f=r.from+u.indexOf(s),p=f+s.length;if(Xm(r.from,r.to,t.doc).filter(m=>m.mark.type.excluded.find(y=>y===e.type&&y!==m.mark.type)).filter(m=>m.to>f).length)return null;p<r.to&&l.delete(p,r.to),f>r.from&&l.delete(r.from+d,f),c=r.from+d+s.length,l.addMark(r.from+d,c,e.type.create(i||{})),l.removeStoredMark(e.type)}}})}var fn="top",Wn="bottom",Gn="right",pn="left",eh="auto",cs=[fn,Wn,Gn,pn],Mi="start",Rl="end",F4e="clippingParents",x8="viewport",qi="popper",U4e="reference",j4=cs.reduce(function(e,t){return e.concat([t+"-"+Mi,t+"-"+Rl])},[]),E8=[].concat(cs,[eh]).reduce(function(e,t){return e.concat([t,t+"-"+Mi,t+"-"+Rl])},[]),H4e="beforeRead",Y4e="read",Q4e="afterRead",q4e="beforeMain",W4e="main",G4e="afterMain",K4e="beforeWrite",Z4e="write",J4e="afterWrite",X4e=[H4e,Y4e,Q4e,q4e,W4e,G4e,K4e,Z4e,J4e];function Pr(e){return e?(e.nodeName||"").toLowerCase():null}function kn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _a(e){var t=kn(e).Element;return e instanceof t||e instanceof Element}function Pn(e){var t=kn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function th(e){if(typeof ShadowRoot>"u")return!1;var t=kn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function eve(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},a=t.attributes[r]||{},i=t.elements[r];!Pn(i)||!Pr(i)||(Object.assign(i.style,o),Object.keys(a).forEach(function(l){var s=a[l];s===!1?i.removeAttribute(l):i.setAttribute(l,s===!0?"":s)}))})}function tve(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var a=t.elements[o],i=t.attributes[o]||{},l=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),s=l.reduce(function(u,c){return u[c]="",u},{});!Pn(a)||!Pr(a)||(Object.assign(a.style,s),Object.keys(i).forEach(function(u){a.removeAttribute(u)}))})}}const T8={name:"applyStyles",enabled:!0,phase:"write",fn:eve,effect:tve,requires:["computeStyles"]};function Or(e){return e.split("-")[0]}var da=Math.max,Fu=Math.min,_i=Math.round;function Fp(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function D8(){return!/^((?!chrome|android).)*safari/i.test(Fp())}function bi(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),a=1,i=1;t&&Pn(e)&&(a=e.offsetWidth>0&&_i(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&_i(o.height)/e.offsetHeight||1);var l=_a(e)?kn(e):window,s=l.visualViewport,u=!D8()&&r,c=(o.left+(u&&s?s.offsetLeft:0))/a,d=(o.top+(u&&s?s.offsetTop:0))/i,f=o.width/a,p=o.height/i;return{width:f,height:p,top:d,right:c+f,bottom:d+p,left:c,x:c,y:d}}function nh(e){var t=bi(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function S8(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&th(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function eo(e){return kn(e).getComputedStyle(e)}function nve(e){return["table","td","th"].indexOf(Pr(e))>=0}function Fo(e){return((_a(e)?e.ownerDocument:e.document)||window.document).documentElement}function md(e){return Pr(e)==="html"?e:e.assignedSlot||e.parentNode||(th(e)?e.host:null)||Fo(e)}function L4(e){return!Pn(e)||eo(e).position==="fixed"?null:e.offsetParent}function rve(e){var t=/firefox/i.test(Fp()),r=/Trident/i.test(Fp());if(r&&Pn(e)){var o=eo(e);if(o.position==="fixed")return null}var a=md(e);for(th(a)&&(a=a.host);Pn(a)&&["html","body"].indexOf(Pr(a))<0;){var i=eo(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function ds(e){for(var t=kn(e),r=L4(e);r&&nve(r)&&eo(r).position==="static";)r=L4(r);return r&&(Pr(r)==="html"||Pr(r)==="body"&&eo(r).position==="static")?t:r||rve(e)||t}function rh(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function dl(e,t,r){return da(e,Fu(t,r))}function ove(e,t,r){var o=dl(e,t,r);return o>r?r:o}function I8(){return{top:0,right:0,bottom:0,left:0}}function A8(e){return Object.assign({},I8(),e)}function z8(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var ave=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,A8(typeof t!="number"?t:z8(t,cs))};function ive(e){var t,r=e.state,o=e.name,a=e.options,i=r.elements.arrow,l=r.modifiersData.popperOffsets,s=Or(r.placement),u=rh(s),c=[pn,Gn].indexOf(s)>=0,d=c?"height":"width";if(!(!i||!l)){var f=ave(a.padding,r),p=nh(i),h=u==="y"?fn:pn,m=u==="y"?Wn:Gn,g=r.rects.reference[d]+r.rects.reference[u]-l[u]-r.rects.popper[d],y=l[u]-r.rects.reference[u],v=ds(i),_=v?u==="y"?v.clientHeight||0:v.clientWidth||0:0,b=g/2-y/2,M=f[h],N=_-p[d]-f[m],w=_/2-p[d]/2+b,x=dl(M,w,N),T=u;r.modifiersData[o]=(t={},t[T]=x,t.centerOffset=x-w,t)}}function lve(e){var t=e.state,r=e.options,o=r.element,a=o===void 0?"[data-popper-arrow]":o;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||S8(t.elements.popper,a)&&(t.elements.arrow=a))}const sve={name:"arrow",enabled:!0,phase:"main",fn:ive,effect:lve,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ni(e){return e.split("-")[1]}var uve={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cve(e,t){var r=e.x,o=e.y,a=t.devicePixelRatio||1;return{x:_i(r*a)/a||0,y:_i(o*a)/a||0}}function B4(e){var t,r=e.popper,o=e.popperRect,a=e.placement,i=e.variation,l=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=l.x,h=p===void 0?0:p,m=l.y,g=m===void 0?0:m,y=typeof d=="function"?d({x:h,y:g}):{x:h,y:g};h=y.x,g=y.y;var v=l.hasOwnProperty("x"),_=l.hasOwnProperty("y"),b=pn,M=fn,N=window;if(c){var w=ds(r),x="clientHeight",T="clientWidth";if(w===kn(r)&&(w=Fo(r),eo(w).position!=="static"&&s==="absolute"&&(x="scrollHeight",T="scrollWidth")),w=w,a===fn||(a===pn||a===Gn)&&i===Rl){M=Wn;var O=f&&w===N&&N.visualViewport?N.visualViewport.height:w[x];g-=O-o.height,g*=u?1:-1}if(a===pn||(a===fn||a===Wn)&&i===Rl){b=Gn;var j=f&&w===N&&N.visualViewport?N.visualViewport.width:w[T];h-=j-o.width,h*=u?1:-1}}var P=Object.assign({position:s},c&&uve),R=d===!0?cve({x:h,y:g},kn(r)):{x:h,y:g};if(h=R.x,g=R.y,u){var $;return Object.assign({},P,($={},$[M]=_?"0":"",$[b]=v?"0":"",$.transform=(N.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",$))}return Object.assign({},P,(t={},t[M]=_?g+"px":"",t[b]=v?h+"px":"",t.transform="",t))}function dve(e){var t=e.state,r=e.options,o=r.gpuAcceleration,a=o===void 0?!0:o,i=r.adaptive,l=i===void 0?!0:i,s=r.roundOffsets,u=s===void 0?!0:s,c={placement:Or(t.placement),variation:Ni(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,B4(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,B4(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const fve={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:dve,data:{}};var Vs={passive:!0};function pve(e){var t=e.state,r=e.instance,o=e.options,a=o.scroll,i=a===void 0?!0:a,l=o.resize,s=l===void 0?!0:l,u=kn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(d){d.addEventListener("scroll",r.update,Vs)}),s&&u.addEventListener("resize",r.update,Vs),function(){i&&c.forEach(function(d){d.removeEventListener("scroll",r.update,Vs)}),s&&u.removeEventListener("resize",r.update,Vs)}}const mve={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:pve,data:{}};var hve={left:"right",right:"left",bottom:"top",top:"bottom"};function au(e){return e.replace(/left|right|bottom|top/g,function(t){return hve[t]})}var gve={start:"end",end:"start"};function V4(e){return e.replace(/start|end/g,function(t){return gve[t]})}function oh(e){var t=kn(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function ah(e){return bi(Fo(e)).left+oh(e).scrollLeft}function vve(e,t){var r=kn(e),o=Fo(e),a=r.visualViewport,i=o.clientWidth,l=o.clientHeight,s=0,u=0;if(a){i=a.width,l=a.height;var c=D8();(c||!c&&t==="fixed")&&(s=a.offsetLeft,u=a.offsetTop)}return{width:i,height:l,x:s+ah(e),y:u}}function yve(e){var t,r=Fo(e),o=oh(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=da(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),l=da(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-o.scrollLeft+ah(e),u=-o.scrollTop;return eo(a||r).direction==="rtl"&&(s+=da(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:l,x:s,y:u}}function ih(e){var t=eo(e),r=t.overflow,o=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+o)}function O8(e){return["html","body","#document"].indexOf(Pr(e))>=0?e.ownerDocument.body:Pn(e)&&ih(e)?e:O8(md(e))}function fl(e,t){var r;t===void 0&&(t=[]);var o=O8(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=kn(o),l=a?[i].concat(i.visualViewport||[],ih(o)?o:[]):o,s=t.concat(l);return a?s:s.concat(fl(md(l)))}function Up(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Mve(e,t){var r=bi(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function $4(e,t,r){return t===x8?Up(vve(e,r)):_a(t)?Mve(t,r):Up(yve(Fo(e)))}function _ve(e){var t=fl(md(e)),r=["absolute","fixed"].indexOf(eo(e).position)>=0,o=r&&Pn(e)?ds(e):e;return _a(o)?t.filter(function(a){return _a(a)&&S8(a,o)&&Pr(a)!=="body"}):[]}function bve(e,t,r,o){var a=t==="clippingParents"?_ve(e):[].concat(t),i=[].concat(a,[r]),l=i[0],s=i.reduce(function(u,c){var d=$4(e,c,o);return u.top=da(d.top,u.top),u.right=Fu(d.right,u.right),u.bottom=Fu(d.bottom,u.bottom),u.left=da(d.left,u.left),u},$4(e,l,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function j8(e){var t=e.reference,r=e.element,o=e.placement,a=o?Or(o):null,i=o?Ni(o):null,l=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(a){case fn:u={x:l,y:t.y-r.height};break;case Wn:u={x:l,y:t.y+t.height};break;case Gn:u={x:t.x+t.width,y:s};break;case pn:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var c=a?rh(a):null;if(c!=null){var d=c==="y"?"height":"width";switch(i){case Mi:u[c]=u[c]-(t[d]/2-r[d]/2);break;case Rl:u[c]=u[c]+(t[d]/2-r[d]/2);break}}return u}function Fl(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=o===void 0?e.placement:o,i=r.strategy,l=i===void 0?e.strategy:i,s=r.boundary,u=s===void 0?F4e:s,c=r.rootBoundary,d=c===void 0?x8:c,f=r.elementContext,p=f===void 0?qi:f,h=r.altBoundary,m=h===void 0?!1:h,g=r.padding,y=g===void 0?0:g,v=A8(typeof y!="number"?y:z8(y,cs)),_=p===qi?U4e:qi,b=e.rects.popper,M=e.elements[m?_:p],N=bve(_a(M)?M:M.contextElement||Fo(e.elements.popper),u,d,l),w=bi(e.elements.reference),x=j8({reference:w,element:b,strategy:"absolute",placement:a}),T=Up(Object.assign({},b,x)),O=p===qi?T:w,j={top:N.top-O.top+v.top,bottom:O.bottom-N.bottom+v.bottom,left:N.left-O.left+v.left,right:O.right-N.right+v.right},P=e.modifiersData.offset;if(p===qi&&P){var R=P[a];Object.keys(j).forEach(function($){var Q=[Gn,Wn].indexOf($)>=0?1:-1,z=[fn,Wn].indexOf($)>=0?"y":"x";j[$]+=R[z]*Q})}return j}function Nve(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=r.boundary,i=r.rootBoundary,l=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?E8:u,d=Ni(o),f=d?s?j4:j4.filter(function(m){return Ni(m)===d}):cs,p=f.filter(function(m){return c.indexOf(m)>=0});p.length===0&&(p=f);var h=p.reduce(function(m,g){return m[g]=Fl(e,{placement:g,boundary:a,rootBoundary:i,padding:l})[Or(g)],m},{});return Object.keys(h).sort(function(m,g){return h[m]-h[g]})}function wve(e){if(Or(e)===eh)return[];var t=au(e);return[V4(e),t,V4(t)]}function kve(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,l=r.altAxis,s=l===void 0?!0:l,u=r.fallbackPlacements,c=r.padding,d=r.boundary,f=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,m=h===void 0?!0:h,g=r.allowedAutoPlacements,y=t.options.placement,v=Or(y),_=v===y,b=u||(_||!m?[au(y)]:wve(y)),M=[y].concat(b).reduce(function(q,Y){return q.concat(Or(Y)===eh?Nve(t,{placement:Y,boundary:d,rootBoundary:f,padding:c,flipVariations:m,allowedAutoPlacements:g}):Y)},[]),N=t.rects.reference,w=t.rects.popper,x=new Map,T=!0,O=M[0],j=0;j<M.length;j++){var P=M[j],R=Or(P),$=Ni(P)===Mi,Q=[fn,Wn].indexOf(R)>=0,z=Q?"width":"height",C=Fl(t,{placement:P,boundary:d,rootBoundary:f,altBoundary:p,padding:c}),S=Q?$?Gn:pn:$?Wn:fn;N[z]>w[z]&&(S=au(S));var I=au(S),k=[];if(i&&k.push(C[R]<=0),s&&k.push(C[S]<=0,C[I]<=0),k.every(function(q){return q})){O=P,T=!1;break}x.set(P,k)}if(T)for(var E=m?3:1,B=function(Y){var ee=M.find(function(J){var te=x.get(J);if(te)return te.slice(0,Y).every(function(se){return se})});if(ee)return O=ee,"break"},V=E;V>0;V--){var F=B(V);if(F==="break")break}t.placement!==O&&(t.modifiersData[o]._skip=!0,t.placement=O,t.reset=!0)}}const Cve={name:"flip",enabled:!0,phase:"main",fn:kve,requiresIfExists:["offset"],data:{_skip:!1}};function P4(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function R4(e){return[fn,Gn,Wn,pn].some(function(t){return e[t]>=0})}function xve(e){var t=e.state,r=e.name,o=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,l=Fl(t,{elementContext:"reference"}),s=Fl(t,{altBoundary:!0}),u=P4(l,o),c=P4(s,a,i),d=R4(u),f=R4(c);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const Eve={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:xve};function Tve(e,t,r){var o=Or(e),a=[pn,fn].indexOf(o)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=i[0],s=i[1];return l=l||0,s=(s||0)*a,[pn,Gn].indexOf(o)>=0?{x:s,y:l}:{x:l,y:s}}function Dve(e){var t=e.state,r=e.options,o=e.name,a=r.offset,i=a===void 0?[0,0]:a,l=E8.reduce(function(d,f){return d[f]=Tve(f,t.rects,i),d},{}),s=l[t.placement],u=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=l}const Sve={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Dve};function Ive(e){var t=e.state,r=e.name;t.modifiersData[r]=j8({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Ave={name:"popperOffsets",enabled:!0,phase:"read",fn:Ive,data:{}};function zve(e){return e==="x"?"y":"x"}function Ove(e){var t=e.state,r=e.options,o=e.name,a=r.mainAxis,i=a===void 0?!0:a,l=r.altAxis,s=l===void 0?!1:l,u=r.boundary,c=r.rootBoundary,d=r.altBoundary,f=r.padding,p=r.tether,h=p===void 0?!0:p,m=r.tetherOffset,g=m===void 0?0:m,y=Fl(t,{boundary:u,rootBoundary:c,padding:f,altBoundary:d}),v=Or(t.placement),_=Ni(t.placement),b=!_,M=rh(v),N=zve(M),w=t.modifiersData.popperOffsets,x=t.rects.reference,T=t.rects.popper,O=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,j=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(w){if(i){var $,Q=M==="y"?fn:pn,z=M==="y"?Wn:Gn,C=M==="y"?"height":"width",S=w[M],I=S+y[Q],k=S-y[z],E=h?-T[C]/2:0,B=_===Mi?x[C]:T[C],V=_===Mi?-T[C]:-x[C],F=t.elements.arrow,q=h&&F?nh(F):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:I8(),ee=Y[Q],J=Y[z],te=dl(0,x[C],q[C]),se=b?x[C]/2-E-te-ee-j.mainAxis:B-te-ee-j.mainAxis,ce=b?-x[C]/2+E+te+J+j.mainAxis:V+te+J+j.mainAxis,he=t.elements.arrow&&ds(t.elements.arrow),Ee=he?M==="y"?he.clientTop||0:he.clientLeft||0:0,Ce=($=P==null?void 0:P[M])!=null?$:0,Be=S+se-Ce-Ee,Qe=S+ce-Ce,Ke=dl(h?Fu(I,Be):I,S,h?da(k,Qe):k);w[M]=Ke,R[M]=Ke-S}if(s){var Ie,Ze=M==="x"?fn:pn,Ne=M==="x"?Wn:Gn,Se=w[N],$e=N==="y"?"height":"width",dt=Se+y[Ze],xe=Se-y[Ne],D=[fn,pn].indexOf(v)!==-1,U=(Ie=P==null?void 0:P[N])!=null?Ie:0,ke=D?dt:Se-x[$e]-T[$e]-U+j.altAxis,tt=D?Se+x[$e]+T[$e]-U-j.altAxis:xe,qe=h&&D?ove(ke,Se,tt):dl(h?ke:dt,Se,h?tt:xe);w[N]=qe,R[N]=qe-Se}t.modifiersData[o]=R}}const jve={name:"preventOverflow",enabled:!0,phase:"main",fn:Ove,requiresIfExists:["offset"]};function Lve(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Bve(e){return e===kn(e)||!Pn(e)?oh(e):Lve(e)}function Vve(e){var t=e.getBoundingClientRect(),r=_i(t.width)/e.offsetWidth||1,o=_i(t.height)/e.offsetHeight||1;return r!==1||o!==1}function $ve(e,t,r){r===void 0&&(r=!1);var o=Pn(t),a=Pn(t)&&Vve(t),i=Fo(t),l=bi(e,a,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!r)&&((Pr(t)!=="body"||ih(i))&&(s=Bve(t)),Pn(t)?(u=bi(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=ah(i))),{x:l.left+s.scrollLeft-u.x,y:l.top+s.scrollTop-u.y,width:l.width,height:l.height}}function Pve(e){var t=new Map,r=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function a(i){r.add(i.name);var l=[].concat(i.requires||[],i.requiresIfExists||[]);l.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&a(u)}}),o.push(i)}return e.forEach(function(i){r.has(i.name)||a(i)}),o}function Rve(e){var t=Pve(e);return X4e.reduce(function(r,o){return r.concat(t.filter(function(a){return a.phase===o}))},[])}function Fve(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Uve(e){var t=e.reduce(function(r,o){var a=r[o.name];return r[o.name]=a?Object.assign({},a,o,{options:Object.assign({},a.options,o.options),data:Object.assign({},a.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var F4={placement:"bottom",modifiers:[],strategy:"absolute"};function U4(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Hve(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?F4:a;return function(s,u,c){c===void 0&&(c=i);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},F4,i),modifiersData:{},elements:{reference:s,popper:u},attributes:{},styles:{}},f=[],p=!1,h={state:d,setOptions:function(v){var _=typeof v=="function"?v(d.options):v;g(),d.options=Object.assign({},i,d.options,_),d.scrollParents={reference:_a(s)?fl(s):s.contextElement?fl(s.contextElement):[],popper:fl(u)};var b=Rve(Uve([].concat(o,d.options.modifiers)));return d.orderedModifiers=b.filter(function(M){return M.enabled}),m(),h.update()},forceUpdate:function(){if(!p){var v=d.elements,_=v.reference,b=v.popper;if(U4(_,b)){d.rects={reference:$ve(_,ds(b),d.options.strategy==="fixed"),popper:nh(b)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(j){return d.modifiersData[j.name]=Object.assign({},j.data)});for(var M=0;M<d.orderedModifiers.length;M++){if(d.reset===!0){d.reset=!1,M=-1;continue}var N=d.orderedModifiers[M],w=N.fn,x=N.options,T=x===void 0?{}:x,O=N.name;typeof w=="function"&&(d=w({state:d,options:T,name:O,instance:h})||d)}}}},update:Fve(function(){return new Promise(function(y){h.forceUpdate(),y(d)})}),destroy:function(){g(),p=!0}};if(!U4(s,u))return h;h.setOptions(c).then(function(y){!p&&c.onFirstUpdate&&c.onFirstUpdate(y)});function m(){d.orderedModifiers.forEach(function(y){var v=y.name,_=y.options,b=_===void 0?{}:_,M=y.effect;if(typeof M=="function"){var N=M({state:d,name:v,instance:h,options:b}),w=function(){};f.push(N||w)}})}function g(){f.forEach(function(y){return y()}),f=[]}return h}}var Yve=[mve,Ave,fve,T8,Sve,Cve,jve,sve,Eve],Qve=Hve({defaultModifiers:Yve}),qve="tippy-box",L8="tippy-content",Wve="tippy-backdrop",B8="tippy-arrow",V8="tippy-svg-arrow",Ko={passive:!0,capture:!0},$8=function(){return document.body};function Gve(e,t){return{}.hasOwnProperty.call(e,t)}function ff(e,t,r){if(Array.isArray(e)){var o=e[t];return o??(Array.isArray(r)?r[t]:r)}return e}function lh(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function P8(e,t){return typeof e=="function"?e.apply(void 0,t):e}function H4(e,t){if(t===0)return e;var r;return function(o){clearTimeout(r),r=setTimeout(function(){e(o)},t)}}function Kve(e,t){var r=Object.assign({},e);return t.forEach(function(o){delete r[o]}),r}function Zve(e){return e.split(/\s+/).filter(Boolean)}function Ya(e){return[].concat(e)}function Y4(e,t){e.indexOf(t)===-1&&e.push(t)}function Jve(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function Xve(e){return e.split("-")[0]}function Uu(e){return[].slice.call(e)}function Q4(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function pl(){return document.createElement("div")}function Ul(e){return["Element","Fragment"].some(function(t){return lh(e,t)})}function e3e(e){return lh(e,"NodeList")}function t3e(e){return lh(e,"MouseEvent")}function n3e(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function r3e(e){return Ul(e)?[e]:e3e(e)?Uu(e):Array.isArray(e)?e:Uu(document.querySelectorAll(e))}function pf(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function q4(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function o3e(e){var t,r=Ya(e),o=r[0];return o!=null&&(t=o.ownerDocument)!=null&&t.body?o.ownerDocument:document}function a3e(e,t){var r=t.clientX,o=t.clientY;return e.every(function(a){var i=a.popperRect,l=a.popperState,s=a.props,u=s.interactiveBorder,c=Xve(l.placement),d=l.modifiersData.offset;if(!d)return!0;var f=c==="bottom"?d.top.y:0,p=c==="top"?d.bottom.y:0,h=c==="right"?d.left.x:0,m=c==="left"?d.right.x:0,g=i.top-o+f>u,y=o-i.bottom-p>u,v=i.left-r+h>u,_=r-i.right-m>u;return g||y||v||_})}function mf(e,t,r){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[o](a,r)})}function W4(e,t){for(var r=t;r;){var o;if(e.contains(r))return!0;r=r.getRootNode==null||(o=r.getRootNode())==null?void 0:o.host}return!1}var Er={isTouch:!1},G4=0;function i3e(){Er.isTouch||(Er.isTouch=!0,window.performance&&document.addEventListener("mousemove",R8))}function R8(){var e=performance.now();e-G4<20&&(Er.isTouch=!1,document.removeEventListener("mousemove",R8)),G4=e}function l3e(){var e=document.activeElement;if(n3e(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function s3e(){document.addEventListener("touchstart",i3e,Ko),window.addEventListener("blur",l3e)}var u3e=typeof window<"u"&&typeof document<"u",c3e=u3e?!!window.msCrypto:!1;function Ba(e){var t=e==="destroy"?"n already-":" ";return[e+"() was called on a"+t+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function K4(e){var t=/[ \t]{2,}/g,r=/^[ \t]*/gm;return e.replace(t," ").replace(r,"").trim()}function d3e(e){return K4(`
137
+ %ctippy.js
138
+
139
+ %c`+K4(e)+`
140
+
141
+ %c👷‍ This is a development-only message. It will be removed in production.
142
+ `)}function F8(e){return[d3e(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var Hl;process.env.NODE_ENV!=="production"&&f3e();function f3e(){Hl=new Set}function Yr(e,t){if(e&&!Hl.has(t)){var r;Hl.add(t),(r=console).warn.apply(r,F8(t))}}function Hp(e,t){if(e&&!Hl.has(t)){var r;Hl.add(t),(r=console).error.apply(r,F8(t))}}function p3e(e){var t=!e,r=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;Hp(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Hp(r,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var U8={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},m3e={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},_n=Object.assign({appendTo:$8,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},U8,m3e),h3e=Object.keys(_n),g3e=function(t){process.env.NODE_ENV!=="production"&&Y8(t,[]);var r=Object.keys(t);r.forEach(function(o){_n[o]=t[o]})};function H8(e){var t=e.plugins||[],r=t.reduce(function(o,a){var i=a.name,l=a.defaultValue;if(i){var s;o[i]=e[i]!==void 0?e[i]:(s=_n[i])!=null?s:l}return o},{});return Object.assign({},e,r)}function v3e(e,t){var r=t?Object.keys(H8(Object.assign({},_n,{plugins:t}))):h3e,o=r.reduce(function(a,i){var l=(e.getAttribute("data-tippy-"+i)||"").trim();if(!l)return a;if(i==="content")a[i]=l;else try{a[i]=JSON.parse(l)}catch{a[i]=l}return a},{});return o}function Z4(e,t){var r=Object.assign({},t,{content:P8(t.content,[e])},t.ignoreAttributes?{}:v3e(e,t.plugins));return r.aria=Object.assign({},_n.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}function Y8(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var r=Object.keys(e);r.forEach(function(o){var a=Kve(_n,Object.keys(U8)),i=!Gve(a,o);i&&(i=t.filter(function(l){return l.name===o}).length===0),Yr(i,["`"+o+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",`
143
+
144
+ `,`All props: https://atomiks.github.io/tippyjs/v6/all-props/
145
+ `,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var y3e=function(){return"innerHTML"};function Yp(e,t){e[y3e()]=t}function J4(e){var t=pl();return e===!0?t.className=B8:(t.className=V8,Ul(e)?t.appendChild(e):Yp(t,e)),t}function X4(e,t){Ul(t.content)?(Yp(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Yp(e,t.content):e.textContent=t.content)}function Qp(e){var t=e.firstElementChild,r=Uu(t.children);return{box:t,content:r.find(function(o){return o.classList.contains(L8)}),arrow:r.find(function(o){return o.classList.contains(B8)||o.classList.contains(V8)}),backdrop:r.find(function(o){return o.classList.contains(Wve)})}}function Q8(e){var t=pl(),r=pl();r.className=qve,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var o=pl();o.className=L8,o.setAttribute("data-state","hidden"),X4(o,e.props),t.appendChild(r),r.appendChild(o),a(e.props,e.props);function a(i,l){var s=Qp(t),u=s.box,c=s.content,d=s.arrow;l.theme?u.setAttribute("data-theme",l.theme):u.removeAttribute("data-theme"),typeof l.animation=="string"?u.setAttribute("data-animation",l.animation):u.removeAttribute("data-animation"),l.inertia?u.setAttribute("data-inertia",""):u.removeAttribute("data-inertia"),u.style.maxWidth=typeof l.maxWidth=="number"?l.maxWidth+"px":l.maxWidth,l.role?u.setAttribute("role",l.role):u.removeAttribute("role"),(i.content!==l.content||i.allowHTML!==l.allowHTML)&&X4(c,e.props),l.arrow?d?i.arrow!==l.arrow&&(u.removeChild(d),u.appendChild(J4(l.arrow))):u.appendChild(J4(l.arrow)):d&&u.removeChild(d)}return{popper:t,onUpdate:a}}Q8.$$tippy=!0;var M3e=1,$s=[],hf=[];function _3e(e,t){var r=Z4(e,Object.assign({},_n,H8(Q4(t)))),o,a,i,l=!1,s=!1,u=!1,c=!1,d,f,p,h=[],m=H4(Be,r.interactiveDebounce),g,y=M3e++,v=null,_=Jve(r.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},M={id:y,reference:e,popper:pl(),popperInstance:v,props:r,state:b,plugins:_,clearDelayTimeouts:ke,setProps:tt,setContent:qe,show:At,hide:Pe,hideWithInteractivity:Qt,enable:D,disable:U,unmount:G,destroy:ve};if(!r.render)return process.env.NODE_ENV!=="production"&&Hp(!0,"render() function has not been supplied."),M;var N=r.render(M),w=N.popper,x=N.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+M.id,M.popper=w,e._tippy=M,w._tippy=M;var T=_.map(function(L){return L.fn(M)}),O=e.hasAttribute("aria-expanded");return he(),E(),S(),I("onCreate",[M]),r.showOnCreate&&dt(),w.addEventListener("mouseenter",function(){M.props.interactive&&M.state.isVisible&&M.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){M.props.interactive&&M.props.trigger.indexOf("mouseenter")>=0&&Q().addEventListener("mousemove",m)}),M;function j(){var L=M.props.touch;return Array.isArray(L)?L:[L,0]}function P(){return j()[0]==="hold"}function R(){var L;return!!((L=M.props.render)!=null&&L.$$tippy)}function $(){return g||e}function Q(){var L=$().parentNode;return L?o3e(L):document}function z(){return Qp(w)}function C(L){return M.state.isMounted&&!M.state.isVisible||Er.isTouch||d&&d.type==="focus"?0:ff(M.props.delay,L?0:1,_n.delay)}function S(L){L===void 0&&(L=!1),w.style.pointerEvents=M.props.interactive&&!L?"":"none",w.style.zIndex=""+M.props.zIndex}function I(L,Z,A){if(A===void 0&&(A=!0),T.forEach(function(ue){ue[L]&&ue[L].apply(ue,Z)}),A){var X;(X=M.props)[L].apply(X,Z)}}function k(){var L=M.props.aria;if(L.content){var Z="aria-"+L.content,A=w.id,X=Ya(M.props.triggerTarget||e);X.forEach(function(ue){var De=ue.getAttribute(Z);if(M.state.isVisible)ue.setAttribute(Z,De?De+" "+A:A);else{var ft=De&&De.replace(A,"").trim();ft?ue.setAttribute(Z,ft):ue.removeAttribute(Z)}})}}function E(){if(!(O||!M.props.aria.expanded)){var L=Ya(M.props.triggerTarget||e);L.forEach(function(Z){M.props.interactive?Z.setAttribute("aria-expanded",M.state.isVisible&&Z===$()?"true":"false"):Z.removeAttribute("aria-expanded")})}}function B(){Q().removeEventListener("mousemove",m),$s=$s.filter(function(L){return L!==m})}function V(L){if(!(Er.isTouch&&(u||L.type==="mousedown"))){var Z=L.composedPath&&L.composedPath()[0]||L.target;if(!(M.props.interactive&&W4(w,Z))){if(Ya(M.props.triggerTarget||e).some(function(A){return W4(A,Z)})){if(Er.isTouch||M.state.isVisible&&M.props.trigger.indexOf("click")>=0)return}else I("onClickOutside",[M,L]);M.props.hideOnClick===!0&&(M.clearDelayTimeouts(),M.hide(),s=!0,setTimeout(function(){s=!1}),M.state.isMounted||ee())}}}function F(){u=!0}function q(){u=!1}function Y(){var L=Q();L.addEventListener("mousedown",V,!0),L.addEventListener("touchend",V,Ko),L.addEventListener("touchstart",q,Ko),L.addEventListener("touchmove",F,Ko)}function ee(){var L=Q();L.removeEventListener("mousedown",V,!0),L.removeEventListener("touchend",V,Ko),L.removeEventListener("touchstart",q,Ko),L.removeEventListener("touchmove",F,Ko)}function J(L,Z){se(L,function(){!M.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&Z()})}function te(L,Z){se(L,Z)}function se(L,Z){var A=z().box;function X(ue){ue.target===A&&(mf(A,"remove",X),Z())}if(L===0)return Z();mf(A,"remove",f),mf(A,"add",X),f=X}function ce(L,Z,A){A===void 0&&(A=!1);var X=Ya(M.props.triggerTarget||e);X.forEach(function(ue){ue.addEventListener(L,Z,A),h.push({node:ue,eventType:L,handler:Z,options:A})})}function he(){P()&&(ce("touchstart",Ce,{passive:!0}),ce("touchend",Qe,{passive:!0})),Zve(M.props.trigger).forEach(function(L){if(L!=="manual")switch(ce(L,Ce),L){case"mouseenter":ce("mouseleave",Qe);break;case"focus":ce(c3e?"focusout":"blur",Ke);break;case"focusin":ce("focusout",Ke);break}})}function Ee(){h.forEach(function(L){var Z=L.node,A=L.eventType,X=L.handler,ue=L.options;Z.removeEventListener(A,X,ue)}),h=[]}function Ce(L){var Z,A=!1;if(!(!M.state.isEnabled||Ie(L)||s)){var X=((Z=d)==null?void 0:Z.type)==="focus";d=L,g=L.currentTarget,E(),!M.state.isVisible&&t3e(L)&&$s.forEach(function(ue){return ue(L)}),L.type==="click"&&(M.props.trigger.indexOf("mouseenter")<0||l)&&M.props.hideOnClick!==!1&&M.state.isVisible?A=!0:dt(L),L.type==="click"&&(l=!A),A&&!X&&xe(L)}}function Be(L){var Z=L.target,A=$().contains(Z)||w.contains(Z);if(!(L.type==="mousemove"&&A)){var X=$e().concat(w).map(function(ue){var De,ft=ue._tippy,En=(De=ft.popperInstance)==null?void 0:De.state;return En?{popperRect:ue.getBoundingClientRect(),popperState:En,props:r}:null}).filter(Boolean);a3e(X,L)&&(B(),xe(L))}}function Qe(L){var Z=Ie(L)||M.props.trigger.indexOf("click")>=0&&l;if(!Z){if(M.props.interactive){M.hideWithInteractivity(L);return}xe(L)}}function Ke(L){M.props.trigger.indexOf("focusin")<0&&L.target!==$()||M.props.interactive&&L.relatedTarget&&w.contains(L.relatedTarget)||xe(L)}function Ie(L){return Er.isTouch?P()!==L.type.indexOf("touch")>=0:!1}function Ze(){Ne();var L=M.props,Z=L.popperOptions,A=L.placement,X=L.offset,ue=L.getReferenceClientRect,De=L.moveTransition,ft=R()?Qp(w).arrow:null,En=ue?{getBoundingClientRect:ue,contextElement:ue.contextElement||$()}:e,et={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Mt){var Tn=Mt.state;if(R()){var Uo=z(),oo=Uo.box;["placement","reference-hidden","escaped"].forEach(function(er){er==="placement"?oo.setAttribute("data-placement",Tn.placement):Tn.attributes.popper["data-popper-"+er]?oo.setAttribute("data-"+er,""):oo.removeAttribute("data-"+er)}),Tn.attributes.popper={}}}},gt=[{name:"offset",options:{offset:X}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!De}},et];R()&&ft&&gt.push({name:"arrow",options:{element:ft,padding:3}}),gt.push.apply(gt,(Z==null?void 0:Z.modifiers)||[]),M.popperInstance=Qve(En,w,Object.assign({},Z,{placement:A,onFirstUpdate:p,modifiers:gt}))}function Ne(){M.popperInstance&&(M.popperInstance.destroy(),M.popperInstance=null)}function Se(){var L=M.props.appendTo,Z,A=$();M.props.interactive&&L===$8||L==="parent"?Z=A.parentNode:Z=P8(L,[A]),Z.contains(w)||Z.appendChild(w),M.state.isMounted=!0,Ze(),process.env.NODE_ENV!=="production"&&Yr(M.props.interactive&&L===_n.appendTo&&A.nextElementSibling!==w,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",`
146
+
147
+ `,"Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.",`
148
+
149
+ `,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",`
150
+
151
+ `,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function $e(){return Uu(w.querySelectorAll("[data-tippy-root]"))}function dt(L){M.clearDelayTimeouts(),L&&I("onTrigger",[M,L]),Y();var Z=C(!0),A=j(),X=A[0],ue=A[1];Er.isTouch&&X==="hold"&&ue&&(Z=ue),Z?o=setTimeout(function(){M.show()},Z):M.show()}function xe(L){if(M.clearDelayTimeouts(),I("onUntrigger",[M,L]),!M.state.isVisible){ee();return}if(!(M.props.trigger.indexOf("mouseenter")>=0&&M.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(L.type)>=0&&l)){var Z=C(!1);Z?a=setTimeout(function(){M.state.isVisible&&M.hide()},Z):i=requestAnimationFrame(function(){M.hide()})}}function D(){M.state.isEnabled=!0}function U(){M.hide(),M.state.isEnabled=!1}function ke(){clearTimeout(o),clearTimeout(a),cancelAnimationFrame(i)}function tt(L){if(process.env.NODE_ENV!=="production"&&Yr(M.state.isDestroyed,Ba("setProps")),!M.state.isDestroyed){I("onBeforeUpdate",[M,L]),Ee();var Z=M.props,A=Z4(e,Object.assign({},Z,Q4(L),{ignoreAttributes:!0}));M.props=A,he(),Z.interactiveDebounce!==A.interactiveDebounce&&(B(),m=H4(Be,A.interactiveDebounce)),Z.triggerTarget&&!A.triggerTarget?Ya(Z.triggerTarget).forEach(function(X){X.removeAttribute("aria-expanded")}):A.triggerTarget&&e.removeAttribute("aria-expanded"),E(),S(),x&&x(Z,A),M.popperInstance&&(Ze(),$e().forEach(function(X){requestAnimationFrame(X._tippy.popperInstance.forceUpdate)})),I("onAfterUpdate",[M,L])}}function qe(L){M.setProps({content:L})}function At(){process.env.NODE_ENV!=="production"&&Yr(M.state.isDestroyed,Ba("show"));var L=M.state.isVisible,Z=M.state.isDestroyed,A=!M.state.isEnabled,X=Er.isTouch&&!M.props.touch,ue=ff(M.props.duration,0,_n.duration);if(!(L||Z||A||X)&&!$().hasAttribute("disabled")&&(I("onShow",[M],!1),M.props.onShow(M)!==!1)){if(M.state.isVisible=!0,R()&&(w.style.visibility="visible"),S(),Y(),M.state.isMounted||(w.style.transition="none"),R()){var De=z(),ft=De.box,En=De.content;pf([ft,En],0)}p=function(){var gt;if(!(!M.state.isVisible||c)){if(c=!0,w.offsetHeight,w.style.transition=M.props.moveTransition,R()&&M.props.animation){var He=z(),Mt=He.box,Tn=He.content;pf([Mt,Tn],ue),q4([Mt,Tn],"visible")}k(),E(),Y4(hf,M),(gt=M.popperInstance)==null||gt.forceUpdate(),I("onMount",[M]),M.props.animation&&R()&&te(ue,function(){M.state.isShown=!0,I("onShown",[M])})}},Se()}}function Pe(){process.env.NODE_ENV!=="production"&&Yr(M.state.isDestroyed,Ba("hide"));var L=!M.state.isVisible,Z=M.state.isDestroyed,A=!M.state.isEnabled,X=ff(M.props.duration,1,_n.duration);if(!(L||Z||A)&&(I("onHide",[M],!1),M.props.onHide(M)!==!1)){if(M.state.isVisible=!1,M.state.isShown=!1,c=!1,l=!1,R()&&(w.style.visibility="hidden"),B(),ee(),S(!0),R()){var ue=z(),De=ue.box,ft=ue.content;M.props.animation&&(pf([De,ft],X),q4([De,ft],"hidden"))}k(),E(),M.props.animation?R()&&J(X,M.unmount):M.unmount()}}function Qt(L){process.env.NODE_ENV!=="production"&&Yr(M.state.isDestroyed,Ba("hideWithInteractivity")),Q().addEventListener("mousemove",m),Y4($s,m),m(L)}function G(){process.env.NODE_ENV!=="production"&&Yr(M.state.isDestroyed,Ba("unmount")),M.state.isVisible&&M.hide(),M.state.isMounted&&(Ne(),$e().forEach(function(L){L._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w),hf=hf.filter(function(L){return L!==M}),M.state.isMounted=!1,I("onHidden",[M]))}function ve(){process.env.NODE_ENV!=="production"&&Yr(M.state.isDestroyed,Ba("destroy")),!M.state.isDestroyed&&(M.clearDelayTimeouts(),M.unmount(),Ee(),delete e._tippy,M.state.isDestroyed=!0,I("onDestroy",[M]))}}function Vi(e,t){t===void 0&&(t={});var r=_n.plugins.concat(t.plugins||[]);process.env.NODE_ENV!=="production"&&(p3e(e),Y8(t,r)),s3e();var o=Object.assign({},t,{plugins:r}),a=r3e(e);if(process.env.NODE_ENV!=="production"){var i=Ul(o.content),l=a.length>1;Yr(i&&l,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",`
152
+
153
+ `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",`
154
+
155
+ `,`1) content: element.innerHTML
156
+ `,"2) content: () => element.cloneNode(true)"].join(" "))}var s=a.reduce(function(u,c){var d=c&&_3e(c,o);return d&&u.push(d),u},[]);return Ul(e)?s[0]:s}Vi.defaultProps=_n;Vi.setDefaultProps=g3e;Vi.currentInput=Er;Object.assign({},T8,{effect:function(t){var r=t.state,o={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,o.popper),r.styles=o,r.elements.arrow&&Object.assign(r.elements.arrow.style,o.arrow)}});Vi.setDefaultProps({render:Q8});class b3e{constructor({editor:t,element:r,view:o,tippyOptions:a={},updateDelay:i=250,shouldShow:l}){this.preventHide=!1,this.shouldShow=({view:s,state:u,from:c,to:d})=>{const{doc:f,selection:p}=u,{empty:h}=p,m=!f.textBetween(c,d).length&&Km(u.selection),g=this.element.contains(document.activeElement);return!(!(s.hasFocus()||g)||h||m||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:s})=>{var u;if(this.preventHide){this.preventHide=!1;return}s!=null&&s.relatedTarget&&(!((u=this.element.parentNode)===null||u===void 0)&&u.contains(s.relatedTarget))||this.hide()},this.tippyBlurHandler=s=>{this.blurHandler({event:s})},this.handleDebouncedUpdate=(s,u)=>{const c=!(u!=null&&u.selection.eq(s.state.selection)),d=!(u!=null&&u.doc.eq(s.state.doc));!c&&!d||(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(s,c,d,u)},this.updateDelay))},this.updateHandler=(s,u,c,d)=>{var f,p,h;const{state:m,composing:g}=s,{selection:y}=m;if(g||!u&&!c)return;this.createTooltip();const{ranges:_}=y,b=Math.min(..._.map(w=>w.$from.pos)),M=Math.max(..._.map(w=>w.$to.pos));if(!((f=this.shouldShow)===null||f===void 0?void 0:f.call(this,{editor:this.editor,view:s,state:m,oldState:d,from:b,to:M}))){this.hide();return}(p=this.tippy)===null||p===void 0||p.setProps({getReferenceClientRect:((h=this.tippyOptions)===null||h===void 0?void 0:h.getReferenceClientRect)||(()=>{if(c4e(m.selection)){let w=s.nodeDOM(b);const x=w.dataset.nodeViewWrapper?w:w.querySelector("[data-node-view-wrapper]");if(x&&(w=x.firstChild),w)return w.getBoundingClientRect()}return C8(s,b,M)})}),this.show()},this.editor=t,this.element=r,this.view=o,this.updateDelay=i,l&&(this.shouldShow=l),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener("dragstart",this.dragstartHandler),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=a,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:t}=this.editor.options,r=!!t.parentElement;this.tippy||!r||(this.tippy=Vi(t,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"top",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(t,r){const{state:o}=t,a=o.selection.from!==o.selection.to;if(this.updateDelay>0&&a){this.handleDebouncedUpdate(t,r);return}const i=!(r!=null&&r.selection.eq(t.state.selection)),l=!(r!=null&&r.doc.eq(t.state.doc));this.updateHandler(t,i,l,r)}show(){var t;(t=this.tippy)===null||t===void 0||t.show()}hide(){var t;(t=this.tippy)===null||t===void 0||t.hide()}destroy(){var t,r;!((t=this.tippy)===null||t===void 0)&&t.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(r=this.tippy)===null||r===void 0||r.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener("dragstart",this.dragstartHandler),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const q8=e=>new $t({key:typeof e.pluginKey=="string"?new rn(e.pluginKey):e.pluginKey,view:t=>new b3e({view:t,...e})});en.create({name:"bubbleMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"bubbleMenu",updateDelay:void 0,shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[q8({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});class N3e{constructor({editor:t,element:r,view:o,tippyOptions:a={},shouldShow:i}){this.preventHide=!1,this.shouldShow=({view:l,state:s})=>{const{selection:u}=s,{$anchor:c,empty:d}=u,f=c.depth===1,p=c.parent.isTextblock&&!c.parent.type.spec.code&&!c.parent.textContent;return!(!l.hasFocus()||!d||!f||!p||!this.editor.isEditable)},this.mousedownHandler=()=>{this.preventHide=!0},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:l})=>{var s;if(this.preventHide){this.preventHide=!1;return}l!=null&&l.relatedTarget&&(!((s=this.element.parentNode)===null||s===void 0)&&s.contains(l.relatedTarget))||this.hide()},this.tippyBlurHandler=l=>{this.blurHandler({event:l})},this.editor=t,this.element=r,this.view=o,i&&(this.shouldShow=i),this.element.addEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.on("focus",this.focusHandler),this.editor.on("blur",this.blurHandler),this.tippyOptions=a,this.element.remove(),this.element.style.visibility="visible"}createTooltip(){const{element:t}=this.editor.options,r=!!t.parentElement;this.tippy||!r||(this.tippy=Vi(t,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:"manual",placement:"right",hideOnClick:"toggle",...this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener("blur",this.tippyBlurHandler))}update(t,r){var o,a,i;const{state:l}=t,{doc:s,selection:u}=l,{from:c,to:d}=u;if(r&&r.doc.eq(s)&&r.selection.eq(u))return;if(this.createTooltip(),!((o=this.shouldShow)===null||o===void 0?void 0:o.call(this,{editor:this.editor,view:t,state:l,oldState:r}))){this.hide();return}(a=this.tippy)===null||a===void 0||a.setProps({getReferenceClientRect:((i=this.tippyOptions)===null||i===void 0?void 0:i.getReferenceClientRect)||(()=>C8(t,c,d))}),this.show()}show(){var t;(t=this.tippy)===null||t===void 0||t.show()}hide(){var t;(t=this.tippy)===null||t===void 0||t.hide()}destroy(){var t,r;!((t=this.tippy)===null||t===void 0)&&t.popper.firstChild&&this.tippy.popper.firstChild.removeEventListener("blur",this.tippyBlurHandler),(r=this.tippy)===null||r===void 0||r.destroy(),this.element.removeEventListener("mousedown",this.mousedownHandler,{capture:!0}),this.editor.off("focus",this.focusHandler),this.editor.off("blur",this.blurHandler)}}const W8=e=>new $t({key:typeof e.pluginKey=="string"?new rn(e.pluginKey):e.pluginKey,view:t=>new N3e({view:t,...e})});en.create({name:"floatingMenu",addOptions(){return{element:null,tippyOptions:{},pluginKey:"floatingMenu",shouldShow:null}},addProseMirrorPlugins(){return this.options.element?[W8({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,shouldShow:this.options.shouldShow})]:[]}});const w3e=n.defineComponent({name:"BubbleMenu",props:{pluginKey:{type:[String,Object],default:"bubbleMenu"},editor:{type:Object,required:!0},updateDelay:{type:Number,default:void 0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(e,{slots:t}){const r=n.ref(null);return n.onMounted(()=>{const{updateDelay:o,editor:a,pluginKey:i,shouldShow:l,tippyOptions:s}=e;a.registerPlugin(q8({updateDelay:o,editor:a,element:r.value,pluginKey:i,shouldShow:l,tippyOptions:s}))}),n.onBeforeUnmount(()=>{const{pluginKey:o,editor:a}=e;a.unregisterPlugin(o)}),()=>{var o;return n.h("div",{ref:r},(o=t.default)===null||o===void 0?void 0:o.call(t))}}});function ev(e){return n.customRef((t,r)=>({get(){return t(),e},set(o){e=o,requestAnimationFrame(()=>{requestAnimationFrame(()=>{r()})})}}))}class k3e extends P4e{constructor(t={}){return super(t),this.contentComponent=null,this.appContext=null,this.reactiveState=ev(this.view.state),this.reactiveExtensionStorage=ev(this.extensionStorage),this.on("beforeTransaction",({nextState:r})=>{this.reactiveState.value=r,this.reactiveExtensionStorage.value=this.extensionStorage}),n.markRaw(this)}get state(){return this.reactiveState?this.reactiveState.value:this.view.state}get storage(){return this.reactiveExtensionStorage?this.reactiveExtensionStorage.value:super.storage}registerPlugin(t,r){const o=super.registerPlugin(t,r);return this.reactiveState&&(this.reactiveState.value=o),o}unregisterPlugin(t){const r=super.unregisterPlugin(t);return this.reactiveState&&r&&(this.reactiveState.value=r),r}}const C3e=n.defineComponent({name:"EditorContent",props:{editor:{default:null,type:Object}},setup(e){const t=n.ref(),r=n.getCurrentInstance();return n.watchEffect(()=>{const o=e.editor;o&&o.options.element&&t.value&&n.nextTick(()=>{if(!t.value||!o.options.element.firstChild)return;const a=n.unref(t.value);t.value.append(...o.options.element.childNodes),o.contentComponent=r.ctx._,r&&(o.appContext={...r.appContext,provides:r.provides}),o.setOptions({element:a}),o.createNodeViews()})}),n.onBeforeUnmount(()=>{const o=e.editor;o&&(o.contentComponent=null,o.appContext=null)}),{rootEl:t}},render(){return n.h("div",{ref:e=>{this.rootEl=e}})}});n.defineComponent({name:"FloatingMenu",props:{pluginKey:{type:null,default:"floatingMenu"},editor:{type:Object,required:!0},tippyOptions:{type:Object,default:()=>({})},shouldShow:{type:Function,default:null}},setup(e,{slots:t}){const r=n.ref(null);return n.onMounted(()=>{const{pluginKey:o,editor:a,tippyOptions:i,shouldShow:l}=e;a.registerPlugin(W8({pluginKey:o,editor:a,element:r.value,tippyOptions:i,shouldShow:l}))}),n.onBeforeUnmount(()=>{const{pluginKey:o,editor:a}=e;a.unregisterPlugin(o)}),()=>{var o;return n.h("div",{ref:r},(o=t.default)===null||o===void 0?void 0:o.call(t))}}});n.defineComponent({name:"NodeViewContent",props:{as:{type:String,default:"div"}},render(){return n.h(this.as,{style:{whiteSpace:"pre-wrap"},"data-node-view-content":""})}});n.defineComponent({name:"NodeViewWrapper",props:{as:{type:String,default:"div"}},inject:["onDragStart","decorationClasses"],render(){var e,t;return n.h(this.as,{class:this.decorationClasses,style:{whiteSpace:"normal"},"data-node-view-wrapper":"",onDragstart:this.onDragStart},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});const x3e=qn.create({name:"doc",topNode:!0,content:"block+"}),E3e=qn.create({name:"text",group:"inline"}),T3e=qn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:e}){return["li",mn(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),D3e=qn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:e}){return["p",mn(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),tv="min-height: 1.4em; overflow-wrap: break-word;",S3e="l-text-regular l-text-left color-lead-light my-3",I3e=D3e.extend({addAttributes(){return{class:{default:S3e,parseHTML:e=>{e.classList.forEach(t=>{t.includes("color-")&&t!=="color-lead-light"&&e.classList.remove(t)})}},style:{default:tv,parseHTML:e=>e.style=tv}}},addCommands(){return{setMarkUp:e=>({commands:t,chain:r})=>{switch(e){case"bold":return t.toggleBold();case"italic":return t.toggleItalic();case"underline":return t.toggleUnderline();case"heading":return t.toggleHeading({level:1});case"bulletList":return t.toggleBulletList();case"orderedList":return t.toggleOrderedList();case"blockquote":return t.toggleBlockquote();case"removeFormatting":return r().unsetAllMarks().clearNodes()}}}}}),A3e=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,z3e=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,O3e=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,j3e=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,L3e=Lo.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:e=>e.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:e=>e.type.name===this.name},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}]},renderHTML({HTMLAttributes:e}){return["strong",mn(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Ru({find:A3e,type:this.type}),Ru({find:O3e,type:this.type})]},addPasteRules(){return[Pl({find:z3e,type:this.type}),Pl({find:j3e,type:this.type})]}}),B3e=L3e.extend({addAttributes(){return{class:{default:"l-bold"}}}}),V3e=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,$3e=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,P3e=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,R3e=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,F3e=Lo.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:e=>e.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:e=>e.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:e}){return["em",mn(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Ru({find:V3e,type:this.type}),Ru({find:P3e,type:this.type})]},addPasteRules(){return[Pl({find:$3e,type:this.type}),Pl({find:R3e,type:this.type})]}}),U3e=F3e.extend({addAttributes(){return{class:{default:""}}}}),H3e=Lo.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["u",mn(this.options.HTMLAttributes,e),0]},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),nv="",Y3e=H3e.extend({addAttributes(){return{class:{default:nv,parseHTML:e=>e.style=nv}}},parseHTML(){return[{tag:"u"},{style:"border-bottom",getAttrs:e=>e!==void 0||e!==0}]}}),rv=qn.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(e=>({tag:`h${e}`,attrs:{level:e}}))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,mn(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.setNode(this.name,e):!1,toggleHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.toggleNode(this.name,"paragraph",e):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}),{})},addInputRules(){return this.options.levels.map(e=>R4e({find:new RegExp(`^(#{1,${e}})\\s$`),type:this.type,getAttributes:{level:e}}))}}),Q3e=rv.extend({defaultOptions:{...rv.options,levels:[1],HTMLAttributes:{class:"l-h3 color-lead-light"}}}),q3e="listItem",ov="textStyle",av=/^\s*([-+*])\s$/,W3e=qn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:e}){return["ul",mn(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(q3e,this.editor.getAttributes(ov)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=$l({find:av,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=$l({find:av,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(ov),editor:this.editor})),[e]}}),G3e=W3e.extend({addAttributes(){return{class:{default:"color-lead-light pl-4"},style:{default:"list-style-type: disc;"}}}}),K3e="listItem",iv="textStyle",lv=/^(\d+)\.\s$/,Z3e=qn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:void 0,parseHTML:e=>e.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:e}){const{start:t,...r}=e;return t===1?["ol",mn(this.options.HTMLAttributes,r),0]:["ol",mn(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(K3e,this.editor.getAttributes(iv)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=$l({find:lv,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,r)=>r.childCount+r.attrs.start===+t[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=$l({find:lv,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:t=>({start:+t[1],...this.editor.getAttributes(iv)}),joinPredicate:(t,r)=>r.childCount+r.attrs.start===+t[1],editor:this.editor})),[e]}}),J3e=Z3e.extend({addAttributes(){return{class:{default:"color-lead-light pl-4"},style:{default:"list-style-type: decimal"}}}}),X3e=/^\s*>\s$/,eye=qn.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:e}){return["blockquote",mn(this.options.HTMLAttributes,e),0]},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[$l({find:X3e,type:this.type})]}}),tye=eye.extend({addAttributes(){return{class:{default:"px-3 mx-0 my-2"},style:{default:"border-left: 3px solid var(--color-gray-50)"}}}}),nye="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",rye="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",wi=(e,t)=>{for(const r in t)e[r]=t[r];return e},qp="numeric",Wp="ascii",Gp="alpha",iu="asciinumeric",Ps="alphanumeric",Kp="domain",G8="emoji",oye="scheme",aye="slashscheme",sv="whitespace";function iye(e,t){return e in t||(t[e]=[]),t[e]}function ra(e,t,r){t[qp]&&(t[iu]=!0,t[Ps]=!0),t[Wp]&&(t[iu]=!0,t[Gp]=!0),t[iu]&&(t[Ps]=!0),t[Gp]&&(t[Ps]=!0),t[Ps]&&(t[Kp]=!0),t[G8]&&(t[Kp]=!0);for(const o in t){const a=iye(o,r);a.indexOf(e)<0&&a.push(e)}}function lye(e,t){const r={};for(const o in t)t[o].indexOf(e)>=0&&(r[o]=!0);return r}function an(e){e===void 0&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}an.groups={};an.prototype={accepts(){return!!this.t},go(e){const t=this,r=t.j[e];if(r)return r;for(let o=0;o<t.jr.length;o++){const a=t.jr[o][0],i=t.jr[o][1];if(i&&a.test(e))return i}return t.jd},has(e,t){return t===void 0&&(t=!1),t?e in this.j:!!this.go(e)},ta(e,t,r,o){for(let a=0;a<e.length;a++)this.tt(e[a],t,r,o)},tr(e,t,r,o){o=o||an.groups;let a;return t&&t.j?a=t:(a=new an(t),r&&o&&ra(t,r,o)),this.jr.push([e,a]),a},ts(e,t,r,o){let a=this;const i=e.length;if(!i)return a;for(let l=0;l<i-1;l++)a=a.tt(e[l]);return a.tt(e[i-1],t,r,o)},tt(e,t,r,o){o=o||an.groups;const a=this;if(t&&t.j)return a.j[e]=t,t;const i=t;let l,s=a.go(e);if(s?(l=new an,wi(l.j,s.j),l.jr.push.apply(l.jr,s.jr),l.jd=s.jd,l.t=s.t):l=new an,i){if(o)if(l.t&&typeof l.t=="string"){const u=wi(lye(l.t,o),r);ra(i,u,o)}else r&&ra(i,r,o);l.t=i}return a.j[e]=l,l}};const ze=(e,t,r,o,a)=>e.ta(t,r,o,a),Sn=(e,t,r,o,a)=>e.tr(t,r,o,a),uv=(e,t,r,o,a)=>e.ts(t,r,o,a),ae=(e,t,r,o,a)=>e.tt(t,r,o,a),Ur="WORD",Zp="UWORD",Yl="LOCALHOST",Jp="TLD",Xp="UTLD",lu="SCHEME",Qa="SLASH_SCHEME",sh="NUM",K8="WS",uh="NL",ml="OPENBRACE",hl="CLOSEBRACE",Hu="OPENBRACKET",Yu="CLOSEBRACKET",Qu="OPENPAREN",qu="CLOSEPAREN",Wu="OPENANGLEBRACKET",Gu="CLOSEANGLEBRACKET",Ku="FULLWIDTHLEFTPAREN",Zu="FULLWIDTHRIGHTPAREN",Ju="LEFTCORNERBRACKET",Xu="RIGHTCORNERBRACKET",ec="LEFTWHITECORNERBRACKET",tc="RIGHTWHITECORNERBRACKET",nc="FULLWIDTHLESSTHAN",rc="FULLWIDTHGREATERTHAN",oc="AMPERSAND",ac="APOSTROPHE",ic="ASTERISK",po="AT",lc="BACKSLASH",sc="BACKTICK",uc="CARET",yo="COLON",ch="COMMA",cc="DOLLAR",Nr="DOT",dc="EQUALS",dh="EXCLAMATION",wr="HYPHEN",fc="PERCENT",pc="PIPE",mc="PLUS",hc="POUND",gc="QUERY",fh="QUOTE",ph="SEMI",kr="SLASH",gl="TILDE",vc="UNDERSCORE",Z8="EMOJI",yc="SYM";var J8=Object.freeze({__proto__:null,WORD:Ur,UWORD:Zp,LOCALHOST:Yl,TLD:Jp,UTLD:Xp,SCHEME:lu,SLASH_SCHEME:Qa,NUM:sh,WS:K8,NL:uh,OPENBRACE:ml,CLOSEBRACE:hl,OPENBRACKET:Hu,CLOSEBRACKET:Yu,OPENPAREN:Qu,CLOSEPAREN:qu,OPENANGLEBRACKET:Wu,CLOSEANGLEBRACKET:Gu,FULLWIDTHLEFTPAREN:Ku,FULLWIDTHRIGHTPAREN:Zu,LEFTCORNERBRACKET:Ju,RIGHTCORNERBRACKET:Xu,LEFTWHITECORNERBRACKET:ec,RIGHTWHITECORNERBRACKET:tc,FULLWIDTHLESSTHAN:nc,FULLWIDTHGREATERTHAN:rc,AMPERSAND:oc,APOSTROPHE:ac,ASTERISK:ic,AT:po,BACKSLASH:lc,BACKTICK:sc,CARET:uc,COLON:yo,COMMA:ch,DOLLAR:cc,DOT:Nr,EQUALS:dc,EXCLAMATION:dh,HYPHEN:wr,PERCENT:fc,PIPE:pc,PLUS:mc,POUND:hc,QUERY:gc,QUOTE:fh,SEMI:ph,SLASH:kr,TILDE:gl,UNDERSCORE:vc,EMOJI:Z8,SYM:yc});const Va=/[a-z]/,gf=/\p{L}/u,vf=/\p{Emoji}/u,yf=/\d/,cv=/\s/,dv=`
157
+ `,sye="️",uye="‍";let Rs=null,Fs=null;function cye(e){e===void 0&&(e=[]);const t={};an.groups=t;const r=new an;Rs==null&&(Rs=fv(nye)),Fs==null&&(Fs=fv(rye)),ae(r,"'",ac),ae(r,"{",ml),ae(r,"}",hl),ae(r,"[",Hu),ae(r,"]",Yu),ae(r,"(",Qu),ae(r,")",qu),ae(r,"<",Wu),ae(r,">",Gu),ae(r,"(",Ku),ae(r,")",Zu),ae(r,"「",Ju),ae(r,"」",Xu),ae(r,"『",ec),ae(r,"』",tc),ae(r,"<",nc),ae(r,">",rc),ae(r,"&",oc),ae(r,"*",ic),ae(r,"@",po),ae(r,"`",sc),ae(r,"^",uc),ae(r,":",yo),ae(r,",",ch),ae(r,"$",cc),ae(r,".",Nr),ae(r,"=",dc),ae(r,"!",dh),ae(r,"-",wr),ae(r,"%",fc),ae(r,"|",pc),ae(r,"+",mc),ae(r,"#",hc),ae(r,"?",gc),ae(r,'"',fh),ae(r,"/",kr),ae(r,";",ph),ae(r,"~",gl),ae(r,"_",vc),ae(r,"\\",lc);const o=Sn(r,yf,sh,{[qp]:!0});Sn(o,yf,o);const a=Sn(r,Va,Ur,{[Wp]:!0});Sn(a,Va,a);const i=Sn(r,gf,Zp,{[Gp]:!0});Sn(i,Va),Sn(i,gf,i);const l=Sn(r,cv,K8,{[sv]:!0});ae(r,dv,uh,{[sv]:!0}),ae(l,dv),Sn(l,cv,l);const s=Sn(r,vf,Z8,{[G8]:!0});Sn(s,vf,s),ae(s,sye,s);const u=ae(s,uye);Sn(u,vf,s);const c=[[Va,a]],d=[[Va,null],[gf,i]];for(let f=0;f<Rs.length;f++)io(r,Rs[f],Jp,Ur,c);for(let f=0;f<Fs.length;f++)io(r,Fs[f],Xp,Zp,d);ra(Jp,{tld:!0,ascii:!0},t),ra(Xp,{utld:!0,alpha:!0},t),io(r,"file",lu,Ur,c),io(r,"mailto",lu,Ur,c),io(r,"http",Qa,Ur,c),io(r,"https",Qa,Ur,c),io(r,"ftp",Qa,Ur,c),io(r,"ftps",Qa,Ur,c),ra(lu,{scheme:!0,ascii:!0},t),ra(Qa,{slashscheme:!0,ascii:!0},t),e=e.sort((f,p)=>f[0]>p[0]?1:-1);for(let f=0;f<e.length;f++){const p=e[f][0],m=e[f][1]?{[oye]:!0}:{[aye]:!0};p.indexOf("-")>=0?m[Kp]=!0:Va.test(p)?yf.test(p)?m[iu]=!0:m[Wp]=!0:m[qp]=!0,uv(r,p,p,m)}return uv(r,"localhost",Yl,{ascii:!0}),r.jd=new an(yc),{start:r,tokens:wi({groups:t},J8)}}function dye(e,t){const r=fye(t.replace(/[A-Z]/g,s=>s.toLowerCase())),o=r.length,a=[];let i=0,l=0;for(;l<o;){let s=e,u=null,c=0,d=null,f=-1,p=-1;for(;l<o&&(u=s.go(r[l]));)s=u,s.accepts()?(f=0,p=0,d=s):f>=0&&(f+=r[l].length,p++),c+=r[l].length,i+=r[l].length,l++;i-=f,l-=p,c-=f,a.push({t:d.t,v:t.slice(i-c,i),s:i-c,e:i})}return a}function fye(e){const t=[],r=e.length;let o=0;for(;o<r;){let a=e.charCodeAt(o),i,l=a<55296||a>56319||o+1===r||(i=e.charCodeAt(o+1))<56320||i>57343?e[o]:e.slice(o,o+2);t.push(l),o+=l.length}return t}function io(e,t,r,o,a){let i;const l=t.length;for(let s=0;s<l-1;s++){const u=t[s];e.j[u]?i=e.j[u]:(i=new an(o),i.jr=a.slice(),e.j[u]=i),e=i}return i=new an(r),i.jr=a.slice(),e.j[t[l-1]]=i,i}function fv(e){const t=[],r=[];let o=0,a="0123456789";for(;o<e.length;){let i=0;for(;a.indexOf(e[o+i])>=0;)i++;if(i>0){t.push(r.join(""));for(let l=parseInt(e.substring(o,o+i),10);l>0;l--)r.pop();o+=i}else r.push(e[o]),o++}return t}const Ql={defaultProtocol:"http",events:null,format:pv,formatHref:pv,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function mh(e,t){t===void 0&&(t=null);let r=wi({},Ql);e&&(r=wi(r,e instanceof mh?e.o:e));const o=r.ignoreTags,a=[];for(let i=0;i<o.length;i++)a.push(o[i].toUpperCase());this.o=r,t&&(this.defaultRender=t),this.ignoreTags=a}mh.prototype={o:Ql,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,t,r){const o=t!=null;let a=this.o[e];return a&&(typeof a=="object"?(a=r.t in a?a[r.t]:Ql[e],typeof a=="function"&&o&&(a=a(t,r))):typeof a=="function"&&o&&(a=a(t,r.t,r)),a)},getObj(e,t,r){let o=this.o[e];return typeof o=="function"&&t!=null&&(o=o(t,r.t,r)),o},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function pv(e){return e}function X8(e,t){this.t="token",this.v=e,this.tk=t}X8.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),r=e.get("truncate",t,this),o=e.get("format",t,this);return r&&o.length>r?o.substring(0,r)+"…":o},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return e===void 0&&(e=Ql.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,r=this.toHref(e.get("defaultProtocol")),o=e.get("formatHref",r,this),a=e.get("tagName",r,t),i=this.toFormattedString(e),l={},s=e.get("className",r,t),u=e.get("target",r,t),c=e.get("rel",r,t),d=e.getObj("attributes",r,t),f=e.getObj("events",r,t);return l.href=o,s&&(l.class=s),u&&(l.target=u),c&&(l.rel=c),d&&wi(l,d),{tagName:a,attributes:l,content:i,eventListeners:f}}};function hd(e,t){class r extends X8{constructor(a,i){super(a,i),this.t=e}}for(const o in t)r.prototype[o]=t[o];return r.t=e,r}const mv=hd("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),hv=hd("text"),pye=hd("nl"),Us=hd("url",{isLink:!0,toHref(e){return e===void 0&&(e=Ql.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==Yl&&e[1].t===yo}}),In=e=>new an(e);function mye(e){let{groups:t}=e;const r=t.domain.concat([oc,ic,po,lc,sc,uc,cc,dc,wr,sh,fc,pc,mc,hc,kr,yc,gl,vc]),o=[ac,yo,ch,Nr,dh,gc,fh,ph,Wu,Gu,ml,hl,Yu,Hu,Qu,qu,Ku,Zu,Ju,Xu,ec,tc,nc,rc],a=[oc,ac,ic,lc,sc,uc,cc,dc,wr,ml,hl,fc,pc,mc,hc,gc,kr,yc,gl,vc],i=In(),l=ae(i,gl);ze(l,a,l),ze(l,t.domain,l);const s=In(),u=In(),c=In();ze(i,t.domain,s),ze(i,t.scheme,u),ze(i,t.slashscheme,c),ze(s,a,l),ze(s,t.domain,s);const d=ae(s,po);ae(l,po,d),ae(u,po,d),ae(c,po,d);const f=ae(l,Nr);ze(f,a,l),ze(f,t.domain,l);const p=In();ze(d,t.domain,p),ze(p,t.domain,p);const h=ae(p,Nr);ze(h,t.domain,p);const m=In(mv);ze(h,t.tld,m),ze(h,t.utld,m),ae(d,Yl,m);const g=ae(p,wr);ze(g,t.domain,p),ze(m,t.domain,p),ae(m,Nr,h),ae(m,wr,g);const y=ae(m,yo);ze(y,t.numeric,mv);const v=ae(s,wr),_=ae(s,Nr);ze(v,t.domain,s),ze(_,a,l),ze(_,t.domain,s);const b=In(Us);ze(_,t.tld,b),ze(_,t.utld,b),ze(b,t.domain,s),ze(b,a,l),ae(b,Nr,_),ae(b,wr,v),ae(b,po,d);const M=ae(b,yo),N=In(Us);ze(M,t.numeric,N);const w=In(Us),x=In();ze(w,r,w),ze(w,o,x),ze(x,r,w),ze(x,o,x),ae(b,kr,w),ae(N,kr,w);const T=ae(u,yo),O=ae(c,yo),j=ae(O,kr),P=ae(j,kr);ze(u,t.domain,s),ae(u,Nr,_),ae(u,wr,v),ze(c,t.domain,s),ae(c,Nr,_),ae(c,wr,v),ze(T,t.domain,w),ae(T,kr,w),ze(P,t.domain,w),ze(P,r,w),ae(P,kr,w);const R=[[ml,hl],[Hu,Yu],[Qu,qu],[Wu,Gu],[Ku,Zu],[Ju,Xu],[ec,tc],[nc,rc]];for(let $=0;$<R.length;$++){const[Q,z]=R[$],C=ae(w,Q);ae(x,Q,C),ae(C,z,w);const S=In(Us);ze(C,r,S);const I=In();ze(C,o),ze(S,r,S),ze(S,o,I),ze(I,r,S),ze(I,o,I),ae(S,z,w),ae(I,z,w)}return ae(i,Yl,b),ae(i,uh,pye),{start:i,tokens:J8}}function hye(e,t,r){let o=r.length,a=0,i=[],l=[];for(;a<o;){let s=e,u=null,c=null,d=0,f=null,p=-1;for(;a<o&&!(u=s.go(r[a].t));)l.push(r[a++]);for(;a<o&&(c=u||s.go(r[a].t));)u=null,s=c,s.accepts()?(p=0,f=s):p>=0&&p++,a++,d++;if(p<0)a-=d,a<o&&(l.push(r[a]),a++);else{l.length>0&&(i.push(Mf(hv,t,l)),l=[]),a-=p,d-=p;const h=f.t,m=r.slice(a-d,a);i.push(Mf(h,t,m))}}return l.length>0&&i.push(Mf(hv,t,l)),i}function Mf(e,t,r){const o=r[0].s,a=r[r.length-1].e,i=t.slice(o,a);return new e(i,r)}const gye=typeof console<"u"&&console&&console.warn||(()=>{}),vye="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",pt={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function yye(){an.groups={},pt.scanner=null,pt.parser=null,pt.tokenQueue=[],pt.pluginQueue=[],pt.customSchemes=[],pt.initialized=!1}function gv(e,t){if(t===void 0&&(t=!1),pt.initialized&&gye(`linkifyjs: already initialized - will not register custom scheme "${e}" ${vye}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error(`linkifyjs: incorrect scheme format.
158
+ 1. Must only contain digits, lowercase ASCII letters or "-"
159
+ 2. Cannot start or end with "-"
160
+ 3. "-" cannot repeat`);pt.customSchemes.push([e,t])}function Mye(){pt.scanner=cye(pt.customSchemes);for(let e=0;e<pt.tokenQueue.length;e++)pt.tokenQueue[e][1]({scanner:pt.scanner});pt.parser=mye(pt.scanner.tokens);for(let e=0;e<pt.pluginQueue.length;e++)pt.pluginQueue[e][1]({scanner:pt.scanner,parser:pt.parser});pt.initialized=!0}function eb(e){return pt.initialized||Mye(),hye(pt.parser.start,e,dye(pt.scanner.start,e))}function tb(e,t,r){if(t===void 0&&(t=null),r===void 0&&(r=null),t&&typeof t=="object"){if(r)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);r=t,t=null}const o=new mh(r),a=eb(e),i=[];for(let l=0;l<a.length;l++){const s=a[l];s.isLink&&(!t||s.t===t)&&o.check(s)&&i.push(s.toFormattedObject(o))}return i}function _ye(e){return e.length===1?e[0].isLink:e.length===3&&e[1].isLink?["()","[]"].includes(e[0].value+e[2].value):!1}function bye(e){return new $t({key:new rn("autolink"),appendTransaction:(t,r,o)=>{const a=t.some(c=>c.docChanged)&&!r.doc.eq(o.doc),i=t.some(c=>c.getMeta("preventAutolink"));if(!a||i)return;const{tr:l}=o,s=Xge(r.doc,[...t]);if(s4e(s).forEach(({newRange:c})=>{const d=t4e(o.doc,c,h=>h.isTextblock);let f,p;if(d.length>1?(f=d[0],p=o.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):d.length&&o.doc.textBetween(c.from,c.to," "," ").endsWith(" ")&&(f=d[0],p=o.doc.textBetween(f.pos,c.to,void 0," ")),f&&p){const h=p.split(" ").filter(v=>v!=="");if(h.length<=0)return!1;const m=h[h.length-1],g=f.pos+p.lastIndexOf(m);if(!m)return!1;const y=eb(m).map(v=>v.toObject(e.defaultProtocol));if(!_ye(y))return!1;y.filter(v=>v.isLink).map(v=>({...v,from:g+v.start+1,to:g+v.end+1})).filter(v=>o.schema.marks.code?!o.doc.rangeHasMark(v.from,v.to,o.schema.marks.code):!0).filter(v=>e.validate(v.value)).forEach(v=>{Xm(v.from,v.to,o.doc).some(_=>_.mark.type===e.type)||l.addMark(v.from,v.to,e.type.create({href:v.href}))})}}),!!l.steps.length)return l}})}function Nye(e){return new $t({key:new rn("handleClickLink"),props:{handleClick:(t,r,o)=>{var a,i;if(o.button!==0||!t.editable)return!1;let l=o.target;const s=[];for(;l.nodeName!=="DIV";)s.push(l),l=l.parentNode;if(!s.find(p=>p.nodeName==="A"))return!1;const u=k8(t.state,e.type.name),c=o.target,d=(a=c==null?void 0:c.href)!==null&&a!==void 0?a:u.href,f=(i=c==null?void 0:c.target)!==null&&i!==void 0?i:u.target;return c&&d?(window.open(d,f),!0):!1}}})}function wye(e){return new $t({key:new rn("handlePasteLink"),props:{handlePaste:(t,r,o)=>{const{state:a}=t,{selection:i}=a,{empty:l}=i;if(l)return!1;let s="";o.content.forEach(c=>{s+=c.textContent});const u=tb(s,{defaultProtocol:e.defaultProtocol}).find(c=>c.isLink&&c.value===s);return!s||!u?!1:(e.editor.commands.setMark(e.type,{href:u.href}),!0)}}})}const kye=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function vv(e,t){const r=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return t&&t.forEach(o=>{const a=typeof o=="string"?o:o.scheme;a&&r.push(a)}),!e||e.replace(kye,"").match(new RegExp(`^(?:(?:${r.join("|")}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"))}const yv=Lo.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.protocols.forEach(e=>{if(typeof e=="string"){gv(e);return}gv(e.scheme,e.optionalSlashes)})},onDestroy(){yye()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:e=>!!e}},addAttributes(){return{href:{default:null,parseHTML(e){return e.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href");return!t||!vv(t,this.options.protocols)?!1:null}}]},renderHTML({HTMLAttributes:e}){return vv(e.href,this.options.protocols)?["a",mn(this.options.HTMLAttributes,e),0]:["a",mn(this.options.HTMLAttributes,{...e,href:""}),0]},addCommands(){return{setLink:e=>({chain:t})=>t().setMark(this.name,e).setMeta("preventAutolink",!0).run(),toggleLink:e=>({chain:t})=>t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Pl({find:e=>{const t=[];if(e){const{validate:r}=this.options,o=tb(e).filter(a=>a.isLink&&r(a.value));o.length&&o.forEach(a=>t.push({text:a.value,data:{href:a.href},index:a.start}))}return t},type:this.type,getAttributes:e=>{var t;return{href:(t=e.data)===null||t===void 0?void 0:t.href}}})]},addProseMirrorPlugins(){const e=[];return this.options.autolink&&e.push(bye({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:this.options.validate})),this.options.openOnClick===!0&&e.push(Nye({type:this.type})),this.options.linkOnPaste&&e.push(wye({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),e}}),Mv="color-link",_v="text-decoration: underline",Cye=yv.extend({defaultOptions:{...yv.options,openOnClick:!1},priority:1,addAttributes(){return{class:{default:Mv,parseHTML:e=>e.class=Mv},style:{default:_v,parseHTML:e=>e.style=_v},href:{default:""}}}}),bv=en.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new $t({key:new rn("placeholder"),props:{decorations:({doc:e,selection:t})=>{const r=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:o}=t,a=[];if(!r)return null;const i=this.editor.isEmpty;return e.descendants((l,s)=>{const u=o>=s&&o<=s+l.nodeSize,c=!l.isLeaf&&pd(l);if((u||!this.options.showOnlyCurrent)&&c){const d=[this.options.emptyNodeClass];i&&d.push(this.options.emptyEditorClass);const f=Ln.node(s,s+l.nodeSize,{class:d.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:l,pos:s,hasAnchor:u}):this.options.placeholder});a.push(f)}return this.options.includeChildren}),Nt.create(e,a)}}})]}}),xye=bv.extend({defaultOptions:{...bv.options,emptyEditorClass:"is-editor-empty color-gray-60",placeholder:"Escreva a descrição aqui"}}),Nv=qn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:e}){return["br",mn(this.options.HTMLAttributes,e)]},renderText(){return`
161
+ `},addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:r,editor:o})=>e.first([()=>e.exitCode(),()=>e.command(()=>{const{selection:a,storedMarks:i}=r;if(a.$from.parent.type.spec.isolating)return!1;const{keepMarks:l}=this.options,{splittableMarks:s}=o.extensionManager,u=i||a.$to.parentOffset&&a.$from.marks();return t().insertContent({type:this.name}).command(({tr:c,dispatch:d})=>{if(d&&u&&l){const f=u.filter(p=>s.includes(p.type.name));c.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Eye=Nv.extend({defaultOptions:{...Nv.options,keepMarks:!1},addKeyboardShortcuts(){return{"Shift-Enter":()=>this.editor.commands.setHardBreak()}}});var Mc=200,St=function(){};St.prototype.append=function(t){return t.length?(t=St.from(t),!this.length&&t||t.length<Mc&&this.leafAppend(t)||this.length<Mc&&t.leafPrepend(this)||this.appendInner(t)):this};St.prototype.prepend=function(t){return t.length?St.from(t).append(this):this};St.prototype.appendInner=function(t){return new Tye(this,t)};St.prototype.slice=function(t,r){return t===void 0&&(t=0),r===void 0&&(r=this.length),t>=r?St.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,r))};St.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)};St.prototype.forEach=function(t,r,o){r===void 0&&(r=0),o===void 0&&(o=this.length),r<=o?this.forEachInner(t,r,o,0):this.forEachInvertedInner(t,r,o,0)};St.prototype.map=function(t,r,o){r===void 0&&(r=0),o===void 0&&(o=this.length);var a=[];return this.forEach(function(i,l){return a.push(t(i,l))},r,o),a};St.from=function(t){return t instanceof St?t:t&&t.length?new nb(t):St.empty};var nb=function(e){function t(o){e.call(this),this.values=o}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(a,i){return a==0&&i==this.length?this:new t(this.values.slice(a,i))},t.prototype.getInner=function(a){return this.values[a]},t.prototype.forEachInner=function(a,i,l,s){for(var u=i;u<l;u++)if(a(this.values[u],s+u)===!1)return!1},t.prototype.forEachInvertedInner=function(a,i,l,s){for(var u=i-1;u>=l;u--)if(a(this.values[u],s+u)===!1)return!1},t.prototype.leafAppend=function(a){if(this.length+a.length<=Mc)return new t(this.values.concat(a.flatten()))},t.prototype.leafPrepend=function(a){if(this.length+a.length<=Mc)return new t(a.flatten().concat(this.values))},r.length.get=function(){return this.values.length},r.depth.get=function(){return 0},Object.defineProperties(t.prototype,r),t}(St);St.empty=new nb([]);var Tye=function(e){function t(r,o){e.call(this),this.left=r,this.right=o,this.length=r.length+o.length,this.depth=Math.max(r.depth,o.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(o){return o<this.left.length?this.left.get(o):this.right.get(o-this.left.length)},t.prototype.forEachInner=function(o,a,i,l){var s=this.left.length;if(a<s&&this.left.forEachInner(o,a,Math.min(i,s),l)===!1||i>s&&this.right.forEachInner(o,Math.max(a-s,0),Math.min(this.length,i)-s,l+s)===!1)return!1},t.prototype.forEachInvertedInner=function(o,a,i,l){var s=this.left.length;if(a>s&&this.right.forEachInvertedInner(o,a-s,Math.max(i,s)-s,l+s)===!1||i<s&&this.left.forEachInvertedInner(o,Math.min(a,s),i,l)===!1)return!1},t.prototype.sliceInner=function(o,a){if(o==0&&a==this.length)return this;var i=this.left.length;return a<=i?this.left.slice(o,a):o>=i?this.right.slice(o-i,a-i):this.left.slice(o,i).append(this.right.slice(0,a-i))},t.prototype.leafAppend=function(o){var a=this.right.leafAppend(o);if(a)return new t(this.left,a)},t.prototype.leafPrepend=function(o){var a=this.left.leafPrepend(o);if(a)return new t(a,this.right)},t.prototype.appendInner=function(o){return this.left.depth>=Math.max(this.right.depth,o.depth)+1?new t(this.left,new t(this.right,o)):new t(this,o)},t}(St);const Dye=500;class ur{constructor(t,r){this.items=t,this.eventCount=r}popEvent(t,r){if(this.eventCount==0)return null;let o=this.items.length;for(;;o--)if(this.items.get(o-1).selection){--o;break}let a,i;r&&(a=this.remapping(o,this.items.length),i=a.maps.length);let l=t.tr,s,u,c=[],d=[];return this.items.forEach((f,p)=>{if(!f.step){a||(a=this.remapping(o,p+1),i=a.maps.length),i--,d.push(f);return}if(a){d.push(new Cr(f.map));let h=f.step.map(a.slice(i)),m;h&&l.maybeStep(h).doc&&(m=l.mapping.maps[l.mapping.maps.length-1],c.push(new Cr(m,void 0,void 0,c.length+d.length))),i--,m&&a.appendMap(m,i)}else l.maybeStep(f.step);if(f.selection)return s=a?f.selection.map(a.slice(i)):f.selection,u=new ur(this.items.slice(0,o).append(d.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:u,transform:l,selection:s}}addTransform(t,r,o,a){let i=[],l=this.eventCount,s=this.items,u=!a&&s.length?s.get(s.length-1):null;for(let d=0;d<t.steps.length;d++){let f=t.steps[d].invert(t.docs[d]),p=new Cr(t.mapping.maps[d],f,r),h;(h=u&&u.merge(p))&&(p=h,d?i.pop():s=s.slice(0,s.length-1)),i.push(p),r&&(l++,r=void 0),a||(u=p)}let c=l-o.depth;return c>Iye&&(s=Sye(s,c),l-=c),new ur(s.append(i),l)}remapping(t,r){let o=new Za;return this.items.forEach((a,i)=>{let l=a.mirrorOffset!=null&&i-a.mirrorOffset>=t?o.maps.length-a.mirrorOffset:void 0;o.appendMap(a.map,l)},t,r),o}addMaps(t){return this.eventCount==0?this:new ur(this.items.append(t.map(r=>new Cr(r))),this.eventCount)}rebased(t,r){if(!this.eventCount)return this;let o=[],a=Math.max(0,this.items.length-r),i=t.mapping,l=t.steps.length,s=this.eventCount;this.items.forEach(p=>{p.selection&&s--},a);let u=r;this.items.forEach(p=>{let h=i.getMirror(--u);if(h==null)return;l=Math.min(l,h);let m=i.maps[h];if(p.step){let g=t.steps[h].invert(t.docs[h]),y=p.selection&&p.selection.map(i.slice(u+1,h));y&&s++,o.push(new Cr(m,g,y))}else o.push(new Cr(m))},a);let c=[];for(let p=r;p<l;p++)c.push(new Cr(i.maps[p]));let d=this.items.slice(0,a).append(c).append(o),f=new ur(d,s);return f.emptyItemCount()>Dye&&(f=f.compress(this.items.length-o.length)),f}emptyItemCount(){let t=0;return this.items.forEach(r=>{r.step||t++}),t}compress(t=this.items.length){let r=this.remapping(0,t),o=r.maps.length,a=[],i=0;return this.items.forEach((l,s)=>{if(s>=t)a.push(l),l.selection&&i++;else if(l.step){let u=l.step.map(r.slice(o)),c=u&&u.getMap();if(o--,c&&r.appendMap(c,o),u){let d=l.selection&&l.selection.map(r.slice(o));d&&i++;let f=new Cr(c.invert(),u,d),p,h=a.length-1;(p=a.length&&a[h].merge(f))?a[h]=p:a.push(f)}}else l.map&&o--},this.items.length,0),new ur(St.from(a.reverse()),i)}}ur.empty=new ur(St.empty,0);function Sye(e,t){let r;return e.forEach((o,a)=>{if(o.selection&&t--==0)return r=a,!1}),e.slice(r)}class Cr{constructor(t,r,o,a){this.map=t,this.step=r,this.selection=o,this.mirrorOffset=a}merge(t){if(this.step&&t.step&&!t.selection){let r=t.step.merge(this.step);if(r)return new Cr(r.getMap().invert(),r,this.selection)}}}class mo{constructor(t,r,o,a,i){this.done=t,this.undone=r,this.prevRanges=o,this.prevTime=a,this.prevComposition=i}}const Iye=20;function Aye(e,t,r,o){let a=r.getMeta(fa),i;if(a)return a.historyState;r.getMeta(jye)&&(e=new mo(e.done,e.undone,null,0,-1));let l=r.getMeta("appendedTransaction");if(r.steps.length==0)return e;if(l&&l.getMeta(fa))return l.getMeta(fa).redo?new mo(e.done.addTransform(r,void 0,o,su(t)),e.undone,wv(r.mapping.maps),e.prevTime,e.prevComposition):new mo(e.done,e.undone.addTransform(r,void 0,o,su(t)),null,e.prevTime,e.prevComposition);if(r.getMeta("addToHistory")!==!1&&!(l&&l.getMeta("addToHistory")===!1)){let s=r.getMeta("composition"),u=e.prevTime==0||!l&&e.prevComposition!=s&&(e.prevTime<(r.time||0)-o.newGroupDelay||!zye(r,e.prevRanges)),c=l?_f(e.prevRanges,r.mapping):wv(r.mapping.maps);return new mo(e.done.addTransform(r,u?t.selection.getBookmark():void 0,o,su(t)),ur.empty,c,r.time,s??e.prevComposition)}else return(i=r.getMeta("rebased"))?new mo(e.done.rebased(r,i),e.undone.rebased(r,i),_f(e.prevRanges,r.mapping),e.prevTime,e.prevComposition):new mo(e.done.addMaps(r.mapping.maps),e.undone.addMaps(r.mapping.maps),_f(e.prevRanges,r.mapping),e.prevTime,e.prevComposition)}function zye(e,t){if(!t)return!1;if(!e.docChanged)return!0;let r=!1;return e.mapping.maps[0].forEach((o,a)=>{for(let i=0;i<t.length;i+=2)o<=t[i+1]&&a>=t[i]&&(r=!0)}),r}function wv(e){let t=[];for(let r=e.length-1;r>=0&&t.length==0;r--)e[r].forEach((o,a,i,l)=>t.push(i,l));return t}function _f(e,t){if(!e)return null;let r=[];for(let o=0;o<e.length;o+=2){let a=t.map(e[o],1),i=t.map(e[o+1],-1);a<=i&&r.push(a,i)}return r}function Oye(e,t,r){let o=su(t),a=fa.get(t).spec.config,i=(r?e.undone:e.done).popEvent(t,o);if(!i)return null;let l=i.selection.resolve(i.transform.doc),s=(r?e.done:e.undone).addTransform(i.transform,t.selection.getBookmark(),a,o),u=new mo(r?s:i.remaining,r?i.remaining:s,null,0,-1);return i.transform.setSelection(l).setMeta(fa,{redo:r,historyState:u})}let bf=!1,kv=null;function su(e){let t=e.plugins;if(kv!=t){bf=!1,kv=t;for(let r=0;r<t.length;r++)if(t[r].spec.historyPreserveItems){bf=!0;break}}return bf}const fa=new rn("history"),jye=new rn("closeHistory");function Lye(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new $t({key:fa,state:{init(){return new mo(ur.empty,ur.empty,null,0,-1)},apply(t,r,o){return Aye(r,o,t,e)}},config:e,props:{handleDOMEvents:{beforeinput(t,r){let o=r.inputType,a=o=="historyUndo"?ob:o=="historyRedo"?ab:null;return a?(r.preventDefault(),a(t.state,t.dispatch)):!1}}}})}function rb(e,t){return(r,o)=>{let a=fa.getState(r);if(!a||(e?a.undone:a.done).eventCount==0)return!1;if(o){let i=Oye(a,r,e);i&&o(t?i.scrollIntoView():i)}return!0}}const ob=rb(!1,!0),ab=rb(!0,!0),Cv=en.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:e,dispatch:t})=>ob(e,t),redo:()=>({state:e,dispatch:t})=>ab(e,t)}},addProseMirrorPlugins(){return[Lye(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),Bye=Cv.extend({defaultOptions:{...Cv.options,newGroupDelay:150}});var Vye="4.0.0";function $ye(e){return e===void 0}function jn(e){return typeof e=="boolean"}function Pye(e,t){for(var r in t)t.hasOwnProperty(r)&&$ye(e[r])&&(e[r]=t[r]);return e}function Rye(e,t,r){var o;return e.length>t&&(r==null?(r="&hellip;",o=3):o=r.length,e=e.substring(0,t-o)+r),e}function ot(e,t){for(var r=e.length-1;r>=0;r--)e[r]===t&&e.splice(r,1)}function Qo(e,t){for(var r=e.length-1;r>=0;r--)t(e[r])===!0&&e.splice(r,1)}function vl(e){throw new Error("Unhandled case for value: '".concat(e,"'"))}var ti=/[A-Za-z]/,Rt=/[\d]/,lr=/\s/,Nf=/['"]/,Fye=/[\x00-\x1F\x7F]/,Uye=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,Hye=/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source,Yye=/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,Qye=Uye+Hye+Yye,qye=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,ib=Qye+qye,pa=new RegExp("[".concat(ib,"]")),lb=function(){function e(t){t===void 0&&(t={}),this.tagName="",this.attrs={},this.innerHTML="",this.tagName=t.tagName||"",this.attrs=t.attrs||{},this.innerHTML=t.innerHtml||t.innerHTML||""}return e.prototype.setTagName=function(t){return this.tagName=t,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(t,r){var o=this.getAttrs();return o[t]=r,this},e.prototype.getAttr=function(t){return this.getAttrs()[t]},e.prototype.setAttrs=function(t){return Object.assign(this.getAttrs(),t),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(t){return this.setAttr("class",t)},e.prototype.addClass=function(t){for(var r=this.getClass(),o=r?r.split(lr):[],a=t.split(lr),i;i=a.shift();)o.indexOf(i)===-1&&o.push(i);return this.getAttrs().class=o.join(" "),this},e.prototype.removeClass=function(t){for(var r=this.getClass(),o=r?r.split(lr):[],a=t.split(lr),i;o.length&&(i=a.shift());){var l=o.indexOf(i);l!==-1&&o.splice(l,1)}return this.getAttrs().class=o.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(t){return(" "+this.getClass()+" ").indexOf(" "+t+" ")!==-1},e.prototype.setInnerHTML=function(t){return this.innerHTML=t,this},e.prototype.setInnerHtml=function(t){return this.setInnerHTML(t)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var t=this.getTagName(),r=this.buildAttrsStr();return r=r?" "+r:"",["<",t,r,">",this.getInnerHtml(),"</",t,">"].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var t=this.getAttrs(),r=[];for(var o in t)t.hasOwnProperty(o)&&r.push(o+'="'+t[o]+'"');return r.join(" ")},e}();function Wye(e,t,r){var o,a;r==null?(r="&hellip;",a=3,o=8):(a=r.length,o=r.length);var i=function(_){var b={},M=_,N=M.match(/^([a-z]+):\/\//i);return N&&(b.scheme=N[1],M=M.substr(N[0].length)),N=M.match(/^(.*?)(?=(\?|#|\/|$))/i),N&&(b.host=N[1],M=M.substr(N[0].length)),N=M.match(/^\/(.*?)(?=(\?|#|$))/i),N&&(b.path=N[1],M=M.substr(N[0].length)),N=M.match(/^\?(.*?)(?=(#|$))/i),N&&(b.query=N[1],M=M.substr(N[0].length)),N=M.match(/^#(.*?)$/i),N&&(b.fragment=N[1]),b},l=function(_){var b="";return _.scheme&&_.host&&(b+=_.scheme+"://"),_.host&&(b+=_.host),_.path&&(b+="/"+_.path),_.query&&(b+="?"+_.query),_.fragment&&(b+="#"+_.fragment),b},s=function(_,b){var M=b/2,N=Math.ceil(M),w=-1*Math.floor(M),x="";return w<0&&(x=_.substr(w)),_.substr(0,N)+r+x};if(e.length<=t)return e;var u=t-a,c=i(e);if(c.query){var d=c.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);d&&(c.query=c.query.substr(0,d[1].length),e=l(c))}if(e.length<=t||(c.host&&(c.host=c.host.replace(/^www\./,""),e=l(c)),e.length<=t))return e;var f="";if(c.host&&(f+=c.host),f.length>=u)return c.host.length==t?(c.host.substr(0,t-a)+r).substr(0,u+o):s(f,u).substr(0,u+o);var p="";if(c.path&&(p+="/"+c.path),c.query&&(p+="?"+c.query),p)if((f+p).length>=u){if((f+p).length==t)return(f+p).substr(0,t);var h=u-f.length;return(f+s(p,h)).substr(0,u+o)}else f+=p;if(c.fragment){var m="#"+c.fragment;if((f+m).length>=u){if((f+m).length==t)return(f+m).substr(0,t);var g=u-f.length;return(f+s(m,g)).substr(0,u+o)}else f+=m}if(c.scheme&&c.host){var y=c.scheme+"://";if((f+y).length<u)return(y+f).substr(0,t)}if(f.length<=t)return f;var v="";return u>0&&(v=f.substr(-1*Math.floor(u/2))),(f.substr(0,Math.ceil(u/2))+r+v).substr(0,u+o)}function Gye(e,t,r){if(e.length<=t)return e;var o,a;r==null?(r="&hellip;",o=8,a=3):(o=r.length,a=r.length);var i=t-a,l="";return i>0&&(l=e.substr(-1*Math.floor(i/2))),(e.substr(0,Math.ceil(i/2))+r+l).substr(0,i+o)}function Kye(e,t,r){return Rye(e,t,r)}var Zye=function(){function e(t){t===void 0&&(t={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=t.newWindow||!1,this.truncate=t.truncate||{},this.className=t.className||""}return e.prototype.build=function(t){return new lb({tagName:"a",attrs:this.createAttrs(t),innerHtml:this.processAnchorText(t.getAnchorText())})},e.prototype.createAttrs=function(t){var r={href:t.getAnchorHref()},o=this.createCssClass(t);return o&&(r.class=o),this.newWindow&&(r.target="_blank",r.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<t.getAnchorText().length&&(r.title=t.getAnchorHref()),r},e.prototype.createCssClass=function(t){var r=this.className;if(r){for(var o=[r],a=t.getCssClassSuffixes(),i=0,l=a.length;i<l;i++)o.push(r+"-"+a[i]);return o.join(" ")}else return""},e.prototype.processAnchorText=function(t){return t=this.doTruncate(t),t},e.prototype.doTruncate=function(t){var r=this.truncate;if(!r||!r.length)return t;var o=r.length,a=r.location;return a==="smart"?Wye(t,o):a==="middle"?Gye(t,o):Kye(t,o)},e}(),e0=function(e,t){return e0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(r[a]=o[a])},e0(e,t)};function fs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e0(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Et=function(){return Et=Object.assign||function(t){for(var r,o=1,a=arguments.length;o<a;o++){r=arguments[o];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},Et.apply(this,arguments)};var ps=function(){function e(t){this._=null,this.matchedText="",this.offset=0,this.tagBuilder=t.tagBuilder,this.matchedText=t.matchedText,this.offset=t.offset}return e.prototype.getMatchedText=function(){return this.matchedText},e.prototype.setOffset=function(t){this.offset=t},e.prototype.getOffset=function(){return this.offset},e.prototype.getCssClassSuffixes=function(){return[this.type]},e.prototype.buildTag=function(){return this.tagBuilder.build(this)},e}(),Jye="(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|vermögensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|موريتانيا|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|католик|اتصالات|البحرين|الجزائر|العليان|پاکستان|كاثوليك|இந்தியா|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|ישראל|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|アマゾン|グーグル|クラウド|ポイント|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ລາວ|ストア|セール|みんな|中文网|亚马逊|天主教|我爱你|新加坡|淡马锡|诺基亚|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)",Xye=new RegExp("^"+Jye+"$"),eMe=/[\/?#]/,tMe=/[-+&@#/%=~_()|'$*\[\]{}\u2713]/,sb=/[?!:,.;^]/,ub=/https?:\/\//i,nMe=new RegExp("^"+ub.source,"i"),rMe=new RegExp(sb.source+"$"),oMe=/^(javascript|vbscript):/i,aMe=/^[A-Za-z][-.+A-Za-z0-9]*:(\/\/)?([^:/]*)/,iMe=/^(?:\/\/)?([^/#?:]+)/;function wf(e){return ti.test(e)}function xv(e){return ti.test(e)||Rt.test(e)||e==="+"||e==="-"||e==="."}function co(e){return pa.test(e)}function kf(e){return e==="_"||co(e)}function Ev(e){return pa.test(e)||tMe.test(e)||sb.test(e)}function Cf(e){return eMe.test(e)}function cb(e){return Xye.test(e.toLowerCase())}function lMe(e){if(oMe.test(e))return!1;var t=e.match(aMe);if(!t)return!1;var r=!!t[1],o=t[2];return r?!0:!(o.indexOf(".")===-1||!ti.test(o))}function sMe(e){var t=e.match(iMe);if(!t)return!1;var r=t[0],o=r.split(".");if(o.length<2)return!1;var a=o[o.length-1];return!!cb(a)}var uMe=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,cMe=/[:/?#]/;function dMe(e){var t=e.split(cMe,1)[0];return uMe.test(t)}var fMe=/^(https?:\/\/)?(www\.)?/i,pMe=/^\/\//,mMe=function(e){fs(t,e);function t(r){var o=e.call(this,r)||this;return o.type="url",o.url="",o.urlMatchType="scheme",o.protocolRelativeMatch=!1,o.stripPrefix={scheme:!0,www:!0},o.stripTrailingSlash=!0,o.decodePercentEncoding=!0,o.protocolPrepended=!1,o.urlMatchType=r.urlMatchType,o.url=r.url,o.protocolRelativeMatch=r.protocolRelativeMatch,o.stripPrefix=r.stripPrefix,o.stripTrailingSlash=r.stripTrailingSlash,o.decodePercentEncoding=r.decodePercentEncoding,o}return t.prototype.getType=function(){return"url"},t.prototype.getUrlMatchType=function(){return this.urlMatchType},t.prototype.getUrl=function(){var r=this.url;return!this.protocolRelativeMatch&&this.urlMatchType!=="scheme"&&!this.protocolPrepended&&(r=this.url="http://"+r,this.protocolPrepended=!0),r},t.prototype.getAnchorHref=function(){var r=this.getUrl();return r.replace(/&amp;/g,"&")},t.prototype.getAnchorText=function(){var r=this.getMatchedText();return this.protocolRelativeMatch&&(r=vMe(r)),this.stripPrefix.scheme&&(r=hMe(r)),this.stripPrefix.www&&(r=gMe(r)),this.stripTrailingSlash&&(r=yMe(r)),this.decodePercentEncoding&&(r=MMe(r)),r},t}(ps);function hMe(e){return e.replace(nMe,"")}function gMe(e){return e.replace(fMe,"$1")}function vMe(e){return e.replace(pMe,"")}function yMe(e){return e.charAt(e.length-1)==="/"&&(e=e.slice(0,-1)),e}function MMe(e){var t=e.replace(/%22/gi,"&quot;").replace(/%26/gi,"&amp;").replace(/%27/gi,"&#39;").replace(/%3C/gi,"&lt;").replace(/%3E/gi,"&gt;");try{return decodeURIComponent(t)}catch{return t}}var _Me=/^mailto:/i,bMe=new RegExp("[".concat(ib,"!#$%&'*+/=?^_`{|}~-]"));function NMe(e){return pa.test(e)}function xf(e){return bMe.test(e)}function wMe(e){var t=e.split(".").pop()||"";return cb(t)}var kMe=function(e){fs(t,e);function t(r){var o=e.call(this,r)||this;return o.type="email",o.email="",o.email=r.email,o}return t.prototype.getType=function(){return"email"},t.prototype.getEmail=function(){return this.email},t.prototype.getAnchorHref=function(){return"mailto:"+this.email},t.prototype.getAnchorText=function(){return this.email},t}(ps);function Tv(e){return e==="_"||pa.test(e)}function CMe(e){return e.length<=140}var xMe=["twitter","facebook","instagram","tiktok"],EMe=function(e){fs(t,e);function t(r){var o=e.call(this,r)||this;return o.type="hashtag",o.serviceName="twitter",o.hashtag="",o.serviceName=r.serviceName,o.hashtag=r.hashtag,o}return t.prototype.getType=function(){return"hashtag"},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getHashtag=function(){return this.hashtag},t.prototype.getAnchorHref=function(){var r=this.serviceName,o=this.hashtag;switch(r){case"twitter":return"https://twitter.com/hashtag/"+o;case"facebook":return"https://www.facebook.com/hashtag/"+o;case"instagram":return"https://instagram.com/explore/tags/"+o;case"tiktok":return"https://www.tiktok.com/tag/"+o;default:throw vl(r),new Error("Invalid hashtag service: ".concat(r))}},t.prototype.getAnchorText=function(){return"#"+this.hashtag},t.prototype.getCssClassSuffixes=function(){var r=e.prototype.getCssClassSuffixes.call(this),o=this.getServiceName();return o&&r.push(o),r},t}(ps),TMe={twitter:/^@\w{1,15}$/,instagram:/^@[_\w]{1,30}$/,soundcloud:/^@[-a-z0-9_]{3,25}$/,tiktok:/^@[.\w]{1,23}[\w]$/},DMe=/[-\w.]/;function Dv(e){return DMe.test(e)}function SMe(e,t){var r=TMe[t];return r.test(e)}var IMe=["twitter","instagram","soundcloud","tiktok"],AMe=function(e){fs(t,e);function t(r){var o=e.call(this,r)||this;return o.type="mention",o.serviceName="twitter",o.mention="",o.mention=r.mention,o.serviceName=r.serviceName,o}return t.prototype.getType=function(){return"mention"},t.prototype.getMention=function(){return this.mention},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},t.prototype.getAnchorText=function(){return"@"+this.mention},t.prototype.getCssClassSuffixes=function(){var r=e.prototype.getCssClassSuffixes.call(this),o=this.getServiceName();return o&&r.push(o),r},t}(ps),zMe=/[-. ]/,OMe=/[-. ()]/,jMe=/[,;]/,LMe=/(?:(?:(?:(\+)?\d{1,3}[-. ]?)?\(?\d{3}\)?[-. ]?\d{3}[-. ]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-. ]?(?:\d[-. ]?){6,12}\d+))([,;]+[0-9]+#?)*/,BMe=/(0([1-9]-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/,VMe=new RegExp("^".concat(LMe.source,"|").concat(BMe.source,"$"));function Sv(e){return zMe.test(e)}function Ef(e){return jMe.test(e)}function $Me(e){var t=e.charAt(0)==="+"||OMe.test(e);return t&&VMe.test(e)}var PMe=function(e){fs(t,e);function t(r){var o=e.call(this,r)||this;return o.type="phone",o.number="",o.plusSign=!1,o.number=r.number,o.plusSign=r.plusSign,o}return t.prototype.getType=function(){return"phone"},t.prototype.getPhoneNumber=function(){return this.number},t.prototype.getNumber=function(){return this.getPhoneNumber()},t.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},t.prototype.getAnchorText=function(){return this.matchedText},t}(ps);function RMe(e,t){for(var r=t.tagBuilder,o=t.stripPrefix,a=t.stripTrailingSlash,i=t.decodePercentEncoding,l=t.hashtagServiceName,s=t.mentionServiceName,u=[],c=e.length,d=[],f=0;f<c;f++){var p=e.charAt(f);if(d.length===0)y(p);else for(var h=d.length-1;h>=0;h--){var m=d[h];switch(m.state){case 11:w(m,p);break;case 12:x(m,p);break;case 0:v(m,p);break;case 1:_(m,p);break;case 2:b(m,p);break;case 3:M(m,p);break;case 4:N(m,p);break;case 5:T(m,p);break;case 6:O(m,p);break;case 7:j(m,p);break;case 13:P(m,p);break;case 14:R(m,p);break;case 8:$(m,p);break;case 9:Q(m,p);break;case 10:z(m,p);break;case 15:C(m,p);break;case 16:S(m,p);break;case 17:I(m,p);break;case 18:k(m,p);break;case 19:E(m,p);break;case 20:B(m,p);break;case 21:V(m,p);break;case 22:F(m,p);break;case 23:q(m,p);break;case 24:Y(m,p);break;case 25:ee(m,p);break;case 26:J(m,p);break;case 27:te(m,p);break;case 28:se(m,p);break;case 29:ce(m,p);break;case 30:he(m,p);break;case 31:Ee(m,p);break;case 32:Be(m,p);break;case 33:Qe(m,p);break;case 34:Ke(m,p);break;case 35:Ie(m,p);break;case 36:Ze(m,p);break;case 37:Ce(m,p);break;case 38:Ne(m,p);break;case 39:Se(m,p);break;case 40:$e(m,p);break;case 41:dt(m,p);break;default:vl(m.state)}}}for(var g=d.length-1;g>=0;g--)d.forEach(function(D){return xe(D)});return u;function y(D){if(D==="#")d.push(QMe(f,28));else if(D==="@")d.push(qMe(f,30));else if(D==="/")d.push(Df(f,11));else if(D==="+")d.push(Sf(f,37));else if(D==="(")d.push(Sf(f,32));else{if(Rt.test(D)&&(d.push(Sf(f,38)),d.push(HMe(f,13))),NMe(D)){var U=D.toLowerCase()==="m"?15:22;d.push(YMe(f,U))}wf(D)&&d.push(Tf(f,0)),pa.test(D)&&d.push(Df(f,5))}}function v(D,U){U===":"?D.state=2:U==="-"?D.state=1:xv(U)||ot(d,D)}function _(D,U){U==="-"||(U==="/"?(ot(d,D),d.push(Df(f,11))):xv(U)?D.state=0:ot(d,D))}function b(D,U){U==="/"?D.state=3:U==="."?ot(d,D):co(U)?(D.state=5,wf(U)&&d.push(Tf(f,0))):ot(d,D)}function M(D,U){U==="/"?D.state=4:Ev(U)?(D.state=10,D.acceptStateReached=!0):xe(D)}function N(D,U){U==="/"?D.state=10:co(U)?(D.state=5,D.acceptStateReached=!0):ot(d,D)}function w(D,U){U==="/"?D.state=12:ot(d,D)}function x(D,U){co(U)?D.state=5:ot(d,D)}function T(D,U){U==="."?D.state=7:U==="-"?D.state=6:U===":"?D.state=8:Cf(U)?D.state=10:kf(U)||xe(D)}function O(D,U){U==="-"||(U==="."?xe(D):co(U)?D.state=5:xe(D))}function j(D,U){U==="."?xe(D):co(U)?(D.state=5,D.acceptStateReached=!0):xe(D)}function P(D,U){U==="."?D.state=14:U===":"?D.state=8:Rt.test(U)||(Cf(U)?D.state=10:pa.test(U)?ot(d,D):xe(D))}function R(D,U){Rt.test(U)?(D.octetsEncountered++,D.octetsEncountered===4&&(D.acceptStateReached=!0),D.state=13):xe(D)}function $(D,U){Rt.test(U)?D.state=9:xe(D)}function Q(D,U){Rt.test(U)||(Cf(U)?D.state=10:xe(D))}function z(D,U){Ev(U)||xe(D)}function C(D,U){U.toLowerCase()==="a"?D.state=16:F(D,U)}function S(D,U){U.toLowerCase()==="i"?D.state=17:F(D,U)}function I(D,U){U.toLowerCase()==="l"?D.state=18:F(D,U)}function k(D,U){U.toLowerCase()==="t"?D.state=19:F(D,U)}function E(D,U){U.toLowerCase()==="o"?D.state=20:F(D,U)}function B(D,U){U.toLowerCase()===":"?D.state=21:F(D,U)}function V(D,U){xf(U)?D.state=22:ot(d,D)}function F(D,U){U==="."?D.state=23:U==="@"?D.state=24:xf(U)?D.state=22:ot(d,D)}function q(D,U){U==="."||U==="@"?ot(d,D):xf(U)?D.state=22:ot(d,D)}function Y(D,U){co(U)?D.state=25:ot(d,D)}function ee(D,U){U==="."?D.state=27:U==="-"?D.state=26:kf(U)||xe(D)}function J(D,U){U==="-"||U==="."?xe(D):kf(U)?D.state=25:xe(D)}function te(D,U){U==="."||U==="-"?xe(D):co(U)?(D.state=25,D.acceptStateReached=!0):xe(D)}function se(D,U){Tv(U)?(D.state=29,D.acceptStateReached=!0):ot(d,D)}function ce(D,U){Tv(U)||xe(D)}function he(D,U){Dv(U)?(D.state=31,D.acceptStateReached=!0):ot(d,D)}function Ee(D,U){Dv(U)||(pa.test(U)?ot(d,D):xe(D))}function Ce(D,U){Rt.test(U)?D.state=38:(ot(d,D),y(U))}function Be(D,U){Rt.test(U)?D.state=33:ot(d,D),y(U)}function Qe(D,U){Rt.test(U)?D.state=34:ot(d,D)}function Ke(D,U){Rt.test(U)?D.state=35:ot(d,D)}function Ie(D,U){U===")"?D.state=36:ot(d,D)}function Ze(D,U){Rt.test(U)?D.state=38:Sv(U)?D.state=39:ot(d,D)}function Ne(D,U){D.acceptStateReached=!0,Ef(U)?D.state=40:U==="#"?D.state=41:Rt.test(U)||(U==="("?D.state=32:Sv(U)?D.state=39:(xe(D),wf(U)&&d.push(Tf(f,0))))}function Se(D,U){Rt.test(U)?D.state=38:U==="("?D.state=32:(xe(D),y(U))}function $e(D,U){Ef(U)||(U==="#"?D.state=41:Rt.test(U)?D.state=38:xe(D))}function dt(D,U){Ef(U)?D.state=40:Rt.test(U)?ot(d,D):xe(D)}function xe(D){if(ot(d,D),!!D.acceptStateReached){var U=D.startIdx,ke=e.slice(D.startIdx,f);if(ke=UMe(ke),D.type==="url"){var tt=e.charAt(D.startIdx-1);if(tt==="@")return;var qe=D.matchType;if(qe==="scheme"){var At=ub.exec(ke);if(At&&(U=U+At.index,ke=ke.slice(At.index)),!lMe(ke))return}else if(qe==="tld"){if(!sMe(ke))return}else if(qe==="ipV4"){if(!dMe(ke))return}else vl(qe);u.push(new mMe({tagBuilder:r,matchedText:ke,offset:U,urlMatchType:qe,url:ke,protocolRelativeMatch:ke.slice(0,2)==="//",stripPrefix:o,stripTrailingSlash:a,decodePercentEncoding:i}))}else if(D.type==="email")wMe(ke)&&u.push(new kMe({tagBuilder:r,matchedText:ke,offset:U,email:ke.replace(_Me,"")}));else if(D.type==="hashtag")CMe(ke)&&u.push(new EMe({tagBuilder:r,matchedText:ke,offset:U,serviceName:l,hashtag:ke.slice(1)}));else if(D.type==="mention")SMe(ke,s)&&u.push(new AMe({tagBuilder:r,matchedText:ke,offset:U,serviceName:s,mention:ke.slice(1)}));else if(D.type==="phone"){if(ke=ke.replace(/ +$/g,""),$Me(ke)){var Pe=ke.replace(/[^0-9,;#]/g,"");u.push(new PMe({tagBuilder:r,matchedText:ke,offset:U,number:Pe,plusSign:ke.charAt(0)==="+"}))}}else vl(D)}}}var FMe=/[\(\{\[]/,Iv=/[\)\}\]]/,Av={")":"(","}":"{","]":"["};function UMe(e){for(var t={"(":0,"{":0,"[":0},r=0;r<e.length;r++){var o=e.charAt(r);FMe.test(o)?t[o]++:Iv.test(o)&&t[Av[o]]--}for(var a=e.length-1,i;a>=0;)if(i=e.charAt(a),Iv.test(i)){var l=Av[i];if(t[l]<0)t[l]++,a--;else break}else if(rMe.test(i))a--;else break;return e.slice(0,a+1)}function Tf(e,t){return{type:"url",startIdx:e,state:t,acceptStateReached:!1,matchType:"scheme"}}function Df(e,t){return{type:"url",startIdx:e,state:t,acceptStateReached:!1,matchType:"tld"}}function HMe(e,t){return{type:"url",startIdx:e,state:t,acceptStateReached:!1,matchType:"ipV4",octetsEncountered:1}}function YMe(e,t){return{type:"email",startIdx:e,state:t,acceptStateReached:!1}}function QMe(e,t){return{type:"hashtag",startIdx:e,state:t,acceptStateReached:!1}}function qMe(e,t){return{type:"mention",startIdx:e,state:t,acceptStateReached:!1}}function Sf(e,t){return{type:"phone",startIdx:e,state:t,acceptStateReached:!1}}function WMe(e,t){for(var r=t.onOpenTag,o=t.onCloseTag,a=t.onText,i=t.onComment,l=t.onDoctype,s=new br,u=0,c=e.length,d=0,f=0,p=s;u<c;){var h=e.charAt(u);switch(d){case 0:m(h);break;case 1:g(h);break;case 2:v(h);break;case 3:y(h);break;case 4:_(h);break;case 5:b(h);break;case 6:M(h);break;case 7:N(h);break;case 8:w(h);break;case 9:x(h);break;case 10:T(h);break;case 11:O(h);break;case 12:j(h);break;case 13:P();break;case 14:R(h);break;case 15:$(h);break;case 16:Q(h);break;case 17:z(h);break;case 18:C(h);break;case 19:S(h);break;case 20:I(h);break;default:vl(d)}u++}f<u&&V();function m(Y){Y==="<"&&E()}function g(Y){Y==="!"?d=13:Y==="/"?(d=2,p=new br(Et(Et({},p),{isClosing:!0}))):Y==="<"?E():ti.test(Y)?(d=3,p=new br(Et(Et({},p),{isOpening:!0}))):(d=0,p=s)}function y(Y){lr.test(Y)?(p=new br(Et(Et({},p),{name:F()})),d=4):Y==="<"?E():Y==="/"?(p=new br(Et(Et({},p),{name:F()})),d=12):Y===">"?(p=new br(Et(Et({},p),{name:F()})),B()):!ti.test(Y)&&!Rt.test(Y)&&Y!==":"&&k()}function v(Y){Y===">"?k():ti.test(Y)?d=3:k()}function _(Y){lr.test(Y)||(Y==="/"?d=12:Y===">"?B():Y==="<"?E():Y==="="||Nf.test(Y)||Fye.test(Y)?k():d=5)}function b(Y){lr.test(Y)?d=6:Y==="/"?d=12:Y==="="?d=7:Y===">"?B():Y==="<"?E():Nf.test(Y)&&k()}function M(Y){lr.test(Y)||(Y==="/"?d=12:Y==="="?d=7:Y===">"?B():Y==="<"?E():Nf.test(Y)?k():d=5)}function N(Y){lr.test(Y)||(Y==='"'?d=8:Y==="'"?d=9:/[>=`]/.test(Y)?k():Y==="<"?E():d=10)}function w(Y){Y==='"'&&(d=11)}function x(Y){Y==="'"&&(d=11)}function T(Y){lr.test(Y)?d=4:Y===">"?B():Y==="<"&&E()}function O(Y){lr.test(Y)?d=4:Y==="/"?d=12:Y===">"?B():Y==="<"?E():(d=4,q())}function j(Y){Y===">"?(p=new br(Et(Et({},p),{isClosing:!0})),B()):d=4}function P(Y){e.substr(u,2)==="--"?(u+=2,p=new br(Et(Et({},p),{type:"comment"})),d=14):e.substr(u,7).toUpperCase()==="DOCTYPE"?(u+=7,p=new br(Et(Et({},p),{type:"doctype"})),d=20):k()}function R(Y){Y==="-"?d=15:Y===">"?k():d=16}function $(Y){Y==="-"?d=18:Y===">"?k():d=16}function Q(Y){Y==="-"&&(d=17)}function z(Y){Y==="-"?d=18:d=16}function C(Y){Y===">"?B():Y==="!"?d=19:Y==="-"||(d=16)}function S(Y){Y==="-"?d=17:Y===">"?B():d=16}function I(Y){Y===">"?B():Y==="<"&&E()}function k(){d=0,p=s}function E(){d=1,p=new br({idx:u})}function B(){var Y=e.slice(f,p.idx);Y&&a(Y,f),p.type==="comment"?i(p.idx):p.type==="doctype"?l(p.idx):(p.isOpening&&r(p.name,p.idx),p.isClosing&&o(p.name,p.idx)),k(),f=u+1}function V(){var Y=e.slice(f,u);a(Y,f),f=u+1}function F(){var Y=p.idx+(p.isClosing?2:1);return e.slice(Y,u).toLowerCase()}function q(){u--}}var br=function(){function e(t){t===void 0&&(t={}),this.idx=t.idx!==void 0?t.idx:-1,this.type=t.type||"tag",this.name=t.name||"",this.isOpening=!!t.isOpening,this.isClosing=!!t.isClosing}return e}(),t0=function(){function e(t){t===void 0&&(t={}),this.version=e.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.tagBuilder=null,this.urls=GMe(t.urls),this.email=jn(t.email)?t.email:this.email,this.phone=jn(t.phone)?t.phone:this.phone,this.hashtag=t.hashtag||this.hashtag,this.mention=t.mention||this.mention,this.newWindow=jn(t.newWindow)?t.newWindow:this.newWindow,this.stripPrefix=KMe(t.stripPrefix),this.stripTrailingSlash=jn(t.stripTrailingSlash)?t.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding=jn(t.decodePercentEncoding)?t.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=t.sanitizeHtml||!1;var r=this.mention;if(r!==!1&&IMe.indexOf(r)===-1)throw new Error("invalid `mention` cfg '".concat(r,"' - see docs"));var o=this.hashtag;if(o!==!1&&xMe.indexOf(o)===-1)throw new Error("invalid `hashtag` cfg '".concat(o,"' - see docs"));this.truncate=ZMe(t.truncate),this.className=t.className||this.className,this.replaceFn=t.replaceFn||this.replaceFn,this.context=t.context||this}return e.link=function(t,r){var o=new e(r);return o.link(t)},e.parse=function(t,r){var o=new e(r);return o.parse(t)},e.prototype.parse=function(t){var r=this,o=["a","style","script"],a=0,i=[];return WMe(t,{onOpenTag:function(l){o.indexOf(l)>=0&&a++},onText:function(l,s){if(a===0){var u=/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi,c=l.split(u),d=s;c.forEach(function(f,p){if(p%2===0){var h=r.parseText(f,d);i.push.apply(i,h)}d+=f.length})}},onCloseTag:function(l){o.indexOf(l)>=0&&(a=Math.max(a-1,0))},onComment:function(l){},onDoctype:function(l){}}),i=this.compactMatches(i),i=this.removeUnwantedMatches(i),i},e.prototype.compactMatches=function(t){t.sort(function(u,c){return u.getOffset()-c.getOffset()});for(var r=0;r<t.length-1;){var o=t[r],a=o.getOffset(),i=o.getMatchedText().length,l=a+i;if(r+1<t.length){if(t[r+1].getOffset()===a){var s=t[r+1].getMatchedText().length>i?r:r+1;t.splice(s,1);continue}if(t[r+1].getOffset()<l){t.splice(r+1,1);continue}}r++}return t},e.prototype.removeUnwantedMatches=function(t){return this.hashtag||Qo(t,function(r){return r.getType()==="hashtag"}),this.email||Qo(t,function(r){return r.getType()==="email"}),this.phone||Qo(t,function(r){return r.getType()==="phone"}),this.mention||Qo(t,function(r){return r.getType()==="mention"}),this.urls.schemeMatches||Qo(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="scheme"}),this.urls.tldMatches||Qo(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="tld"}),this.urls.ipV4Matches||Qo(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="ipV4"}),t},e.prototype.parseText=function(t,r){r===void 0&&(r=0),r=r||0;for(var o=RMe(t,{tagBuilder:this.getTagBuilder(),stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding,hashtagServiceName:this.hashtag,mentionServiceName:this.mention||"twitter"}),a=0,i=o.length;a<i;a++)o[a].setOffset(r+o[a].getOffset());return o},e.prototype.link=function(t){if(!t)return"";this.sanitizeHtml&&(t=t.replace(/</g,"&lt;").replace(/>/g,"&gt;"));for(var r=this.parse(t),o=[],a=0,i=0,l=r.length;i<l;i++){var s=r[i];o.push(t.substring(a,s.getOffset())),o.push(this.createMatchReturnVal(s)),a=s.getOffset()+s.getMatchedText().length}return o.push(t.substring(a)),o.join("")},e.prototype.createMatchReturnVal=function(t){var r;if(this.replaceFn&&(r=this.replaceFn.call(this.context,t)),typeof r=="string")return r;if(r===!1)return t.getMatchedText();if(r instanceof lb)return r.toAnchorString();var o=t.buildTag();return o.toAnchorString()},e.prototype.getTagBuilder=function(){var t=this.tagBuilder;return t||(t=this.tagBuilder=new Zye({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),t},e.version=Vye,e}();function GMe(e){return e==null&&(e=!0),jn(e)?{schemeMatches:e,tldMatches:e,ipV4Matches:e}:{schemeMatches:jn(e.schemeMatches)?e.schemeMatches:!0,tldMatches:jn(e.tldMatches)?e.tldMatches:!0,ipV4Matches:jn(e.ipV4Matches)?e.ipV4Matches:!0}}function KMe(e){return e==null&&(e=!0),jn(e)?{scheme:e,www:e}:{scheme:jn(e.scheme)?e.scheme:!0,www:jn(e.www)?e.www:!0}}function ZMe(e){return typeof e=="number"?{length:e,location:"end"}:Pye(e||{},{length:Number.POSITIVE_INFINITY,location:"end"})}function JMe(e){return e.startsWith("http://")||e.startsWith("https://")?e:"https://"+e}const XMe={props:{previousURL:String},data(){return{linkToAppend:this.previousURL,linkError:""}},methods:{insertLink(){this.isLinkValid(this.linkToAppend)?(this.linkError=!1,this.$emit("setLink",{url:JMe(this.linkToAppend),insertedText:this.linkToAppend}),this.$emit("close")):this.linkError=!0},isLinkValid(e){return t0.link(e,{email:!1}).includes("href")}},computed:{disableButton(){return this.linkToAppend===""||this.linkToAppend===void 0},hasError(){return!!this.linkError}}},e6e={class:"wrapper-input mb-3"},t6e={key:0,class:"l-input-error-message"},n6e={class:"wrapper-buttons row l-justify-content-end"};function r6e(e,t,r,o,a,i){const l=n.resolveComponent("l-input"),s=n.resolveComponent("l-button"),u=n.resolveComponent("l-box");return n.openBlock(),n.createBlock(u,{class:"link-box column"},{default:n.withCtx(()=>[n.createElementVNode("div",e6e,[n.createVNode(l,{modelValue:a.linkToAppend,"onUpdate:modelValue":t[0]||(t[0]=c=>a.linkToAppend=c),placeholder:"Insira um link",error:i.hasError,autofocus:"",style:{"box-sizing":"border-box"}},null,8,["modelValue","error"]),a.linkError?(n.openBlock(),n.createElementBlock("div",t6e," Insira um link válido ")):n.createCommentVNode("",!0)]),n.createElementVNode("div",n6e,[n.createVNode(s,{size:"small",onClick:t[1]||(t[1]=c=>e.$emit("close"))},{default:n.withCtx(()=>t[3]||(t[3]=[n.createTextVNode("Cancelar")])),_:1}),n.createVNode(s,{size:"small",type:"primary",onClick:t[2]||(t[2]=c=>i.insertLink()),disabled:i.disableButton},{default:n.withCtx(()=>t[4]||(t[4]=[n.createTextVNode("Inserir")])),_:1},8,["disabled"])])]),_:1})}const o6e=ge(XMe,[["render",r6e],["__scopeId","data-v-71069263"]]);const a6e={props:{dataLink:String},data(){return{boxButtons:[{tooltip:"Editar link",icon:"uil-edit",event:"edit"},{tooltip:"Remover link",icon:"uil-link-broken",event:"remove"}],tooltipDelay:125}},methods:{actionButtonBased(e){this.$emit(e)}},computed:{tooltipLink(){return this.dataLink.length>=60?this.dataLink.slice(0,60)+"...":this.dataLink}}},i6e={class:"wrapper-floating-link l-ra-1 px-2 py-2 row l-align-items-center l-align-content-center"},l6e=["href","open-delay"];function s6e(e,t,r,o,a,i){const l=n.resolveComponent("l-icon"),s=n.resolveComponent("l-tooltip");return n.openBlock(),n.createElementBlock("div",i6e,[n.createVNode(l,{size:"24",class:"color-lead-light mr-2",icon:"uil-globe"}),n.createVNode(s,{class:"item color-link",content:i.tooltipLink},{default:n.withCtx(()=>[n.createElementVNode("a",{class:"l-flex-grow-1 h6 color-link l-ellipsis",target:"_blank",rel:"nofollow noopener noreferrer",style:{display:"inline"},href:r.dataLink,"open-delay":a.tooltipDelay},n.toDisplayString(r.dataLink),9,l6e)]),_:1},8,["content"]),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(a.boxButtons,(u,c)=>(n.openBlock(),n.createBlock(s,{class:"item",key:c,content:u.tooltip,"open-delay":a.tooltipDelay},{default:n.withCtx(()=>[n.createVNode(l,{size:"20",class:"color-lead-light ml-2",icon:u.icon,onClick:d=>i.actionButtonBased(u.event)},null,8,["icon","onClick"])]),_:2},1032,["content","open-delay"]))),128))])}const u6e=ge(a6e,[["render",s6e],["__scopeId","data-v-264ac301"]]),c6e=/<(\w+).[^>]*>\s*<\/\1>/g;function d6e(e){return e.replace(c6e,"")}/*! @license DOMPurify 2.4.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.7/LICENSE */function Mo(e){"@babel/helpers - typeof";return Mo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mo(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(o,a){return o.__proto__=a,o},n0(e,t)}function f6e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function uu(e,t,r){return f6e()?uu=Reflect.construct:uu=function(a,i,l){var s=[null];s.push.apply(s,i);var u=Function.bind.apply(a,s),c=new u;return l&&n0(c,l.prototype),c},uu.apply(null,arguments)}function ar(e){return p6e(e)||m6e(e)||h6e(e)||g6e()}function p6e(e){if(Array.isArray(e))return r0(e)}function m6e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function h6e(e,t){if(e){if(typeof e=="string")return r0(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return r0(e,t)}}function r0(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function g6e(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
162
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v6e=Object.hasOwnProperty,zv=Object.setPrototypeOf,y6e=Object.isFrozen,M6e=Object.getPrototypeOf,_6e=Object.getOwnPropertyDescriptor,tn=Object.freeze,hr=Object.seal,b6e=Object.create,db=typeof Reflect<"u"&&Reflect,_c=db.apply,o0=db.construct;_c||(_c=function(t,r,o){return t.apply(r,o)});tn||(tn=function(t){return t});hr||(hr=function(t){return t});o0||(o0=function(t,r){return uu(t,ar(r))});var N6e=Kn(Array.prototype.forEach),Ov=Kn(Array.prototype.pop),Wi=Kn(Array.prototype.push),cu=Kn(String.prototype.toLowerCase),If=Kn(String.prototype.toString),w6e=Kn(String.prototype.match),rr=Kn(String.prototype.replace),k6e=Kn(String.prototype.indexOf),C6e=Kn(String.prototype.trim),qt=Kn(RegExp.prototype.test),Af=x6e(TypeError);function Kn(e){return function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return _c(e,t,o)}}function x6e(e){return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return o0(e,r)}}function Oe(e,t,r){var o;r=(o=r)!==null&&o!==void 0?o:cu,zv&&zv(e,null);for(var a=t.length;a--;){var i=t[a];if(typeof i=="string"){var l=r(i);l!==i&&(y6e(t)||(t[a]=l),i=l)}e[i]=!0}return e}function qo(e){var t=b6e(null),r;for(r in e)_c(v6e,e,[r])===!0&&(t[r]=e[r]);return t}function Hs(e,t){for(;e!==null;){var r=_6e(e,t);if(r){if(r.get)return Kn(r.get);if(typeof r.value=="function")return Kn(r.value)}e=M6e(e)}function o(a){return console.warn("fallback value for",a),null}return o}var jv=tn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),zf=tn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Of=tn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),E6e=tn(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),jf=tn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),T6e=tn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Lv=tn(["#text"]),Bv=tn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Lf=tn(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Vv=tn(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ys=tn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),D6e=hr(/\{\{[\w\W]*|[\w\W]*\}\}/gm),S6e=hr(/<%[\w\W]*|[\w\W]*%>/gm),I6e=hr(/\${[\w\W]*}/gm),A6e=hr(/^data-[\-\w.\u00B7-\uFFFF]/),z6e=hr(/^aria-[\-\w]+$/),O6e=hr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j6e=hr(/^(?:\w+script|data):/i),L6e=hr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),B6e=hr(/^html$/i),V6e=function(){return typeof window>"u"?null:window},$6e=function(t,r){if(Mo(t)!=="object"||typeof t.createPolicy!="function")return null;var o=null,a="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(a)&&(o=r.currentScript.getAttribute(a));var i="dompurify"+(o?"#"+o:"");try{return t.createPolicy(i,{createHTML:function(s){return s},createScriptURL:function(s){return s}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function fb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:V6e(),t=function(H){return fb(H)};if(t.version="2.4.7",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;var r=e.document,o=e.document,a=e.DocumentFragment,i=e.HTMLTemplateElement,l=e.Node,s=e.Element,u=e.NodeFilter,c=e.NamedNodeMap,d=c===void 0?e.NamedNodeMap||e.MozNamedAttrMap:c,f=e.HTMLFormElement,p=e.DOMParser,h=e.trustedTypes,m=s.prototype,g=Hs(m,"cloneNode"),y=Hs(m,"nextSibling"),v=Hs(m,"childNodes"),_=Hs(m,"parentNode");if(typeof i=="function"){var b=o.createElement("template");b.content&&b.content.ownerDocument&&(o=b.content.ownerDocument)}var M=$6e(h,r),N=M?M.createHTML(""):"",w=o,x=w.implementation,T=w.createNodeIterator,O=w.createDocumentFragment,j=w.getElementsByTagName,P=r.importNode,R={};try{R=qo(o).documentMode?o.documentMode:{}}catch{}var $={};t.isSupported=typeof _=="function"&&x&&x.createHTMLDocument!==void 0&&R!==9;var Q=D6e,z=S6e,C=I6e,S=A6e,I=z6e,k=j6e,E=L6e,B=O6e,V=null,F=Oe({},[].concat(ar(jv),ar(zf),ar(Of),ar(jf),ar(Lv))),q=null,Y=Oe({},[].concat(ar(Bv),ar(Lf),ar(Vv),ar(Ys))),ee=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),J=null,te=null,se=!0,ce=!0,he=!1,Ee=!0,Ce=!1,Be=!1,Qe=!1,Ke=!1,Ie=!1,Ze=!1,Ne=!1,Se=!0,$e=!1,dt="user-content-",xe=!0,D=!1,U={},ke=null,tt=Oe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),qe=null,At=Oe({},["audio","video","img","source","image","track"]),Pe=null,Qt=Oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),G="http://www.w3.org/1998/Math/MathML",ve="http://www.w3.org/2000/svg",L="http://www.w3.org/1999/xhtml",Z=L,A=!1,X=null,ue=Oe({},[G,ve,L],If),De,ft=["application/xhtml+xml","text/html"],En="text/html",et,gt=null,He=o.createElement("form"),Mt=function(H){return H instanceof RegExp||H instanceof Function},Tn=function(H){gt&&gt===H||((!H||Mo(H)!=="object")&&(H={}),H=qo(H),De=ft.indexOf(H.PARSER_MEDIA_TYPE)===-1?De=En:De=H.PARSER_MEDIA_TYPE,et=De==="application/xhtml+xml"?If:cu,V="ALLOWED_TAGS"in H?Oe({},H.ALLOWED_TAGS,et):F,q="ALLOWED_ATTR"in H?Oe({},H.ALLOWED_ATTR,et):Y,X="ALLOWED_NAMESPACES"in H?Oe({},H.ALLOWED_NAMESPACES,If):ue,Pe="ADD_URI_SAFE_ATTR"in H?Oe(qo(Qt),H.ADD_URI_SAFE_ATTR,et):Qt,qe="ADD_DATA_URI_TAGS"in H?Oe(qo(At),H.ADD_DATA_URI_TAGS,et):At,ke="FORBID_CONTENTS"in H?Oe({},H.FORBID_CONTENTS,et):tt,J="FORBID_TAGS"in H?Oe({},H.FORBID_TAGS,et):{},te="FORBID_ATTR"in H?Oe({},H.FORBID_ATTR,et):{},U="USE_PROFILES"in H?H.USE_PROFILES:!1,se=H.ALLOW_ARIA_ATTR!==!1,ce=H.ALLOW_DATA_ATTR!==!1,he=H.ALLOW_UNKNOWN_PROTOCOLS||!1,Ee=H.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ce=H.SAFE_FOR_TEMPLATES||!1,Be=H.WHOLE_DOCUMENT||!1,Ie=H.RETURN_DOM||!1,Ze=H.RETURN_DOM_FRAGMENT||!1,Ne=H.RETURN_TRUSTED_TYPE||!1,Ke=H.FORCE_BODY||!1,Se=H.SANITIZE_DOM!==!1,$e=H.SANITIZE_NAMED_PROPS||!1,xe=H.KEEP_CONTENT!==!1,D=H.IN_PLACE||!1,B=H.ALLOWED_URI_REGEXP||B,Z=H.NAMESPACE||L,ee=H.CUSTOM_ELEMENT_HANDLING||{},H.CUSTOM_ELEMENT_HANDLING&&Mt(H.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ee.tagNameCheck=H.CUSTOM_ELEMENT_HANDLING.tagNameCheck),H.CUSTOM_ELEMENT_HANDLING&&Mt(H.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ee.attributeNameCheck=H.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),H.CUSTOM_ELEMENT_HANDLING&&typeof H.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ee.allowCustomizedBuiltInElements=H.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ce&&(ce=!1),Ze&&(Ie=!0),U&&(V=Oe({},ar(Lv)),q=[],U.html===!0&&(Oe(V,jv),Oe(q,Bv)),U.svg===!0&&(Oe(V,zf),Oe(q,Lf),Oe(q,Ys)),U.svgFilters===!0&&(Oe(V,Of),Oe(q,Lf),Oe(q,Ys)),U.mathMl===!0&&(Oe(V,jf),Oe(q,Vv),Oe(q,Ys))),H.ADD_TAGS&&(V===F&&(V=qo(V)),Oe(V,H.ADD_TAGS,et)),H.ADD_ATTR&&(q===Y&&(q=qo(q)),Oe(q,H.ADD_ATTR,et)),H.ADD_URI_SAFE_ATTR&&Oe(Pe,H.ADD_URI_SAFE_ATTR,et),H.FORBID_CONTENTS&&(ke===tt&&(ke=qo(ke)),Oe(ke,H.FORBID_CONTENTS,et)),xe&&(V["#text"]=!0),Be&&Oe(V,["html","head","body"]),V.table&&(Oe(V,["tbody"]),delete J.tbody),tn&&tn(H),gt=H)},Uo=Oe({},["mi","mo","mn","ms","mtext"]),oo=Oe({},["foreignobject","desc","title","annotation-xml"]),er=Oe({},["title","style","font","a","script"]),Sa=Oe({},zf);Oe(Sa,Of),Oe(Sa,E6e);var $i=Oe({},jf);Oe($i,T6e);var gd=function(H){var ne=_(H);(!ne||!ne.tagName)&&(ne={namespaceURI:Z,tagName:"template"});var fe=cu(H.tagName),Ge=cu(ne.tagName);return X[H.namespaceURI]?H.namespaceURI===ve?ne.namespaceURI===L?fe==="svg":ne.namespaceURI===G?fe==="svg"&&(Ge==="annotation-xml"||Uo[Ge]):!!Sa[fe]:H.namespaceURI===G?ne.namespaceURI===L?fe==="math":ne.namespaceURI===ve?fe==="math"&&oo[Ge]:!!$i[fe]:H.namespaceURI===L?ne.namespaceURI===ve&&!oo[Ge]||ne.namespaceURI===G&&!Uo[Ge]?!1:!$i[fe]&&(er[fe]||!Sa[fe]):!!(De==="application/xhtml+xml"&&X[H.namespaceURI]):!1},Dn=function(H){Wi(t.removed,{element:H});try{H.parentNode.removeChild(H)}catch{try{H.outerHTML=N}catch{H.remove()}}},Pi=function(H,ne){try{Wi(t.removed,{attribute:ne.getAttributeNode(H),from:ne})}catch{Wi(t.removed,{attribute:null,from:ne})}if(ne.removeAttribute(H),H==="is"&&!q[H])if(Ie||Ze)try{Dn(ne)}catch{}else try{ne.setAttribute(H,"")}catch{}},ms=function(H){var ne,fe;if(Ke)H="<remove></remove>"+H;else{var Ge=w6e(H,/^[\r\n\t ]+/);fe=Ge&&Ge[0]}De==="application/xhtml+xml"&&Z===L&&(H='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+H+"</body></html>");var on=M?M.createHTML(H):H;if(Z===L)try{ne=new p().parseFromString(on,De)}catch{}if(!ne||!ne.documentElement){ne=x.createDocument(Z,"template",null);try{ne.documentElement.innerHTML=A?N:on}catch{}}var Pt=ne.body||ne.documentElement;return H&&fe&&Pt.insertBefore(o.createTextNode(fe),Pt.childNodes[0]||null),Z===L?j.call(ne,Be?"html":"body")[0]:Be?ne.documentElement:Pt},hs=function(H){return T.call(H.ownerDocument||H,H,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT,null,!1)},vd=function(H){return H instanceof f&&(typeof H.nodeName!="string"||typeof H.textContent!="string"||typeof H.removeChild!="function"||!(H.attributes instanceof d)||typeof H.removeAttribute!="function"||typeof H.setAttribute!="function"||typeof H.namespaceURI!="string"||typeof H.insertBefore!="function"||typeof H.hasChildNodes!="function")},W=function(H){return Mo(l)==="object"?H instanceof l:H&&Mo(H)==="object"&&typeof H.nodeType=="number"&&typeof H.nodeName=="string"},oe=function(H,ne,fe){$[H]&&N6e($[H],function(Ge){Ge.call(t,ne,fe,gt)})},Le=function(H){var ne;if(oe("beforeSanitizeElements",H,null),vd(H)||qt(/[\u0080-\uFFFF]/,H.nodeName))return Dn(H),!0;var fe=et(H.nodeName);if(oe("uponSanitizeElement",H,{tagName:fe,allowedTags:V}),H.hasChildNodes()&&!W(H.firstElementChild)&&(!W(H.content)||!W(H.content.firstElementChild))&&qt(/<[/\w]/g,H.innerHTML)&&qt(/<[/\w]/g,H.textContent)||fe==="select"&&qt(/<template/i,H.innerHTML))return Dn(H),!0;if(!V[fe]||J[fe]){if(!J[fe]&&zt(fe)&&(ee.tagNameCheck instanceof RegExp&&qt(ee.tagNameCheck,fe)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(fe)))return!1;if(xe&&!ke[fe]){var Ge=_(H)||H.parentNode,on=v(H)||H.childNodes;if(on&&Ge)for(var Pt=on.length,Ot=Pt-1;Ot>=0;--Ot)Ge.insertBefore(g(on[Ot],!0),y(H))}return Dn(H),!0}return H instanceof s&&!gd(H)||(fe==="noscript"||fe==="noembed"||fe==="noframes")&&qt(/<\/no(script|embed|frames)/i,H.innerHTML)?(Dn(H),!0):(Ce&&H.nodeType===3&&(ne=H.textContent,ne=rr(ne,Q," "),ne=rr(ne,z," "),ne=rr(ne,C," "),H.textContent!==ne&&(Wi(t.removed,{element:H.cloneNode()}),H.textContent=ne)),oe("afterSanitizeElements",H,null),!1)},vt=function(H,ne,fe){if(Se&&(ne==="id"||ne==="name")&&(fe in o||fe in He))return!1;if(!(ce&&!te[ne]&&qt(S,ne))){if(!(se&&qt(I,ne))){if(!q[ne]||te[ne]){if(!(zt(H)&&(ee.tagNameCheck instanceof RegExp&&qt(ee.tagNameCheck,H)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(H))&&(ee.attributeNameCheck instanceof RegExp&&qt(ee.attributeNameCheck,ne)||ee.attributeNameCheck instanceof Function&&ee.attributeNameCheck(ne))||ne==="is"&&ee.allowCustomizedBuiltInElements&&(ee.tagNameCheck instanceof RegExp&&qt(ee.tagNameCheck,fe)||ee.tagNameCheck instanceof Function&&ee.tagNameCheck(fe))))return!1}else if(!Pe[ne]){if(!qt(B,rr(fe,E,""))){if(!((ne==="src"||ne==="xlink:href"||ne==="href")&&H!=="script"&&k6e(fe,"data:")===0&&qe[H])){if(!(he&&!qt(k,rr(fe,E,"")))){if(fe)return!1}}}}}}return!0},zt=function(H){return H.indexOf("-")>0},Ho=function(H){var ne,fe,Ge,on;oe("beforeSanitizeAttributes",H,null);var Pt=H.attributes;if(Pt){var Ot={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:q};for(on=Pt.length;on--;){ne=Pt[on];var gs=ne,xt=gs.name,yd=gs.namespaceURI;if(fe=xt==="value"?ne.value:C6e(ne.value),Ge=et(xt),Ot.attrName=Ge,Ot.attrValue=fe,Ot.keepAttr=!0,Ot.forceKeepAttr=void 0,oe("uponSanitizeAttribute",H,Ot),fe=Ot.attrValue,!Ot.forceKeepAttr&&(Pi(xt,H),!!Ot.keepAttr)){if(!Ee&&qt(/\/>/i,fe)){Pi(xt,H);continue}Ce&&(fe=rr(fe,Q," "),fe=rr(fe,z," "),fe=rr(fe,C," "));var gh=et(H.nodeName);if(vt(gh,Ge,fe)){if($e&&(Ge==="id"||Ge==="name")&&(Pi(xt,H),fe=dt+fe),M&&Mo(h)==="object"&&typeof h.getAttributeType=="function"&&!yd)switch(h.getAttributeType(gh,Ge)){case"TrustedHTML":{fe=M.createHTML(fe);break}case"TrustedScriptURL":{fe=M.createScriptURL(fe);break}}try{yd?H.setAttributeNS(yd,xt,fe):H.setAttribute(xt,fe),Ov(t.removed)}catch{}}}}oe("afterSanitizeAttributes",H,null)}},Ia=function Me(H){var ne,fe=hs(H);for(oe("beforeSanitizeShadowDOM",H,null);ne=fe.nextNode();)oe("uponSanitizeShadowNode",ne,null),!Le(ne)&&(ne.content instanceof a&&Me(ne.content),Ho(ne));oe("afterSanitizeShadowDOM",H,null)};return t.sanitize=function(Me){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ne,fe,Ge,on,Pt;if(A=!Me,A&&(Me="<!-->"),typeof Me!="string"&&!W(Me))if(typeof Me.toString=="function"){if(Me=Me.toString(),typeof Me!="string")throw Af("dirty is not a string, aborting")}else throw Af("toString is not a function");if(!t.isSupported){if(Mo(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof Me=="string")return e.toStaticHTML(Me);if(W(Me))return e.toStaticHTML(Me.outerHTML)}return Me}if(Qe||Tn(H),t.removed=[],typeof Me=="string"&&(D=!1),D){if(Me.nodeName){var Ot=et(Me.nodeName);if(!V[Ot]||J[Ot])throw Af("root node is forbidden and cannot be sanitized in-place")}}else if(Me instanceof l)ne=ms("<!---->"),fe=ne.ownerDocument.importNode(Me,!0),fe.nodeType===1&&fe.nodeName==="BODY"||fe.nodeName==="HTML"?ne=fe:ne.appendChild(fe);else{if(!Ie&&!Ce&&!Be&&Me.indexOf("<")===-1)return M&&Ne?M.createHTML(Me):Me;if(ne=ms(Me),!ne)return Ie?null:Ne?N:""}ne&&Ke&&Dn(ne.firstChild);for(var gs=hs(D?Me:ne);Ge=gs.nextNode();)Ge.nodeType===3&&Ge===on||Le(Ge)||(Ge.content instanceof a&&Ia(Ge.content),Ho(Ge),on=Ge);if(on=null,D)return Me;if(Ie){if(Ze)for(Pt=O.call(ne.ownerDocument);ne.firstChild;)Pt.appendChild(ne.firstChild);else Pt=ne;return(q.shadowroot||q.shadowrootmod)&&(Pt=P.call(r,Pt,!0)),Pt}var xt=Be?ne.outerHTML:ne.innerHTML;return Be&&V["!doctype"]&&ne.ownerDocument&&ne.ownerDocument.doctype&&ne.ownerDocument.doctype.name&&qt(B6e,ne.ownerDocument.doctype.name)&&(xt="<!DOCTYPE "+ne.ownerDocument.doctype.name+`>
163
+ `+xt),Ce&&(xt=rr(xt,Q," "),xt=rr(xt,z," "),xt=rr(xt,C," ")),M&&Ne?M.createHTML(xt):xt},t.setConfig=function(Me){Tn(Me),Qe=!0},t.clearConfig=function(){gt=null,Qe=!1},t.isValidAttribute=function(Me,H,ne){gt||Tn({});var fe=et(Me),Ge=et(H);return vt(fe,Ge,ne)},t.addHook=function(Me,H){typeof H=="function"&&($[Me]=$[Me]||[],Wi($[Me],H))},t.removeHook=function(Me){if($[Me])return Ov($[Me])},t.removeHooks=function(Me){$[Me]&&($[Me]=[])},t.removeAllHooks=function(){$={}},t}var P6e=fb();const R6e="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNyAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuMjM3MjQgMC44MzMyNTJDNy41NjcyNiAwLjgzMzI1MiA3LjgyODg3IDAuOTM5OTQgOC4wMjIwNSAxLjE1MzMyQzguMjIzMjggMS4zNTgxNiA4LjMyMzkgMS42MzU1NSA4LjMyMzkgMS45ODU0OVY4LjgzNDg4QzguMzIzOSA5LjE4NDgyIDguMjIzMjggOS40NjY0OCA4LjAyMjA1IDkuNjc5ODVDNy44Mjg4NyA5Ljg5MzIzIDcuNTY3MjYgOS45OTk5MiA3LjIzNzI0IDkuOTk5OTJDNi45MDcyMiA5Ljk5OTkyIDYuNjQxNiA5Ljg5NzUgNi40NDAzNyA5LjY5MjY2QzYuMjQ3MTggOS40NzkyOCA2LjE1MDU5IDkuMTkzMzUgNi4xNTA1OSA4LjgzNDg4VjYuMjc0MzZIMi42NzMzVjguODM0ODhDMi42NzMzIDkuMTg0ODIgMi41NzI2OSA5LjQ2NjQ4IDIuMzcxNDYgOS42Nzk4NUMyLjE3ODI3IDkuODkzMjMgMS45MTY2NyA5Ljk5OTkyIDEuNTg2NjUgOS45OTk5MkMxLjI1NjYzIDkuOTk5OTIgMC45OTEwMDYgOS44OTc1IDAuNzg5Nzc0IDkuNjkyNjZDMC41OTY1OTEgOS40NzkyOCAwLjUgOS4xOTMzNSAwLjUgOC44MzQ4OFYxLjk4NTQ5QzAuNSAxLjYzNTU1IDAuNTk2NTkxIDEuMzU4MTYgMC43ODk3NzQgMS4xNTMzMkMwLjk5MTAwNiAwLjkzOTk0IDEuMjU2NjMgMC44MzMyNTIgMS41ODY2NSAwLjgzMzI1MkMxLjkxNjY3IDAuODMzMjUyIDIuMTc4MjcgMC45Mzk5NCAyLjM3MTQ2IDEuMTUzMzJDMi41NzI2OSAxLjM1ODE2IDIuNjczMyAxLjYzNTU1IDIuNjczMyAxLjk4NTQ5VjQuNDA1MThINi4xNTA1OVYxLjk4NTQ5QzYuMTUwNTkgMS42MzU1NSA2LjI0NzE4IDEuMzU4MTYgNi40NDAzNyAxLjE1MzMyQzYuNjQxNiAwLjkzOTk0IDYuOTA3MjIgMC44MzMyNTIgNy4yMzcyNCAwLjgzMzI1MloiIGZpbGw9IiM0MzRFNUIiLz4KPHBhdGggZD0iTTE1LjI4MjkgOC4wNTM5MkMxNS42NDUxIDguMDUzOTIgMTUuOTEwNyA4LjEzMDc0IDE2LjA3OTggOC4yODQzN0MxNi4yNDg4IDguNDM4IDE2LjMzMzMgOC42Njg0NSAxNi4zMzMzIDguOTc1NzFDMTYuMzMzMyA5LjYwNzMxIDE1Ljk4MzIgOS45MjMxIDE1LjI4MjkgOS45MjMxSDExLjA5MzNDMTAuMzkzIDkuOTIzMSAxMC4wNDI4IDkuNjA3MzEgMTAuMDQyOCA4Ljk3NTcxQzEwLjA0MjggOC42Njg0NSAxMC4xMjczIDguNDM4IDEwLjI5NjQgOC4yODQzN0MxMC40NjU0IDguMTMwNzQgMTAuNzMxIDguMDUzOTIgMTEuMDkzMyA4LjA1MzkySDEyLjA3MTJWMy40MzIxOEwxMS4xMDUzIDQuMDMzOUMxMC45Njg1IDQuMTE5MjUgMTAuODI3NiA0LjE2MTkzIDEwLjY4MjcgNC4xNjE5M0MxMC40NTc0IDQuMTYxOTMgMTAuMjY0MiA0LjA1OTUxIDEwLjEwMzIgMy44NTQ2N0M5Ljk0MjIxIDMuNjQxMjkgOS44NjE3MiAzLjQwNjU4IDkuODYxNzIgMy4xNTA1MkM5Ljg2MTcyIDIuODAwNTkgMTAuMDAyNiAyLjUzNiAxMC4yODQzIDIuMzU2NzZMMTIuMjE2MSAxLjE2NjEyQzEyLjU3MDMgMC45NTI3NDMgMTIuOTA0MyAwLjg0NjA1NCAxMy4yMTgzIDAuODQ2MDU0QzEzLjU0MDIgMC44NDYwNTQgMTMuNzk3OCAwLjk0ODQ3NSAxMy45OTEgMS4xNTMzMkMxNC4xOTIyIDEuMzU4MTYgMTQuMjkyOCAxLjYzNTU1IDE0LjI5MjggMS45ODU0OVY4LjA1MzkySDE1LjI4MjlaIiBmaWxsPSIjNDM0RTVCIi8+Cjwvc3ZnPgo=",F6e="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxOCAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTguNjU3MjkgNC4xNjIxNEM4LjY1NzI5IDEuOTYwMTMgNi44NjM5IDAuMTY2NzQ4IDQuNjYxOSAwLjE2Njc0OEMyLjQ1OTg5IDAuMTY2NzQ4IDAuNjY2NTA0IDEuOTYwMTMgMC42NjY1MDQgNC4xNjIxNEMwLjY2NjUwNCA2LjM2NDE0IDIuNDU5ODkgOC4xNTc1MyA0LjY2MTkgOC4xNTc1M0M1LjEzODYyIDguMTU3NTMgNS42MTUzNCA4LjA2NjczIDYuMDQ2NjYgNy45MDc4MkM1Ljk1NTg2IDguOTA2NjcgNS42NjA3NCA5LjkyODIyIDUuMTYxMzIgMTAuODgxN0M1LjExNTkyIDEwLjk0OTggNS4xMTU5MiAxMS4wNDA2IDUuMTM4NjIgMTEuMTA4N0M1LjE2MTMyIDExLjE1NDEgNS4yMDY3MiAxMS4xOTk1IDUuMjUyMTIgMTEuMTk5NUM1LjMyMDIzIDExLjIyMjIgNS4zODgzMyAxMS4xOTk1IDUuNDc5MTQgMTEuMTMxNEM2LjQzMjU4IDEwLjMxNDEgNy4yNDk4MiA5LjI0NzE4IDcuNzk0NjUgOC4wNjY3M0M4LjI5NDA3IDYuOTc3MDcgOC41ODkxOCA1LjgxOTMyIDguNjM0NTkgNC41OTM0NkM4LjY1NzI5IDQuNDU3MjUgOC42NTcyOSA0LjI5ODM1IDguNjU3MjkgNC4xNjIxNFoiIGZpbGw9IiM0MzRFNUIiLz4KPHBhdGggZD0iTTE3LjM1MTYgNC4xNjIxNEMxNy4zNTE2IDEuOTYwMTMgMTUuNTU4MiAwLjE2Njc0OCAxMy4zNTYyIDAuMTY2NzQ4QzExLjE1NDIgMC4xNjY3NDggOS4zNjA4NCAxLjk2MDEzIDkuMzYwODQgNC4xNjIxNEM5LjM2MDg0IDYuMzY0MTQgMTEuMTU0MiA4LjE1NzUzIDEzLjM1NjIgOC4xNTc1M0MxMy44MzMgOC4xNTc1MyAxNC4zMDk3IDguMDY2NzMgMTQuNzQxIDcuOTA3ODJDMTQuNjUwMiA4LjkwNjY3IDE0LjM1NTEgOS45MjgyMiAxMy44NTU3IDEwLjg4MTdDMTMuODEwMyAxMC45NDk4IDEzLjgxMDMgMTEuMDQwNiAxMy44MzMgMTEuMTA4N0MxMy44NTU3IDExLjE1NDEgMTMuOTAxMSAxMS4xOTk1IDEzLjk0NjUgMTEuMTk5NUMxNC4wMTQ2IDExLjIyMjIgMTQuMDgyNyAxMS4xOTk1IDE0LjE3MzUgMTEuMTMxNEMxNS4xMjY5IDEwLjMxNDEgMTUuOTQ0MiA5LjI0NzE4IDE2LjQ4OSA4LjA2NjczQzE2Ljk4ODQgNi45NzcwNyAxNy4yODM1IDUuODE5MzIgMTcuMzI4OSA0LjU5MzQ2QzE3LjM1MTYgNC40NTcyNSAxNy4zNTE2IDQuMjk4MzUgMTcuMzUxNiA0LjE2MjE0WiIgZmlsbD0iIzQzNEU1QiIvPgo8L3N2Zz4K",U6e="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCAxMyAxMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuMzkyMDkgNy40MjQ4VjExLjE5OUM1LjM5MjA5IDExLjQ4OTMgNS40ODg4NiAxMS42ODI5IDUuNjgyNDEgMTEuODc2NEM1Ljg3NTk2IDEyLjA3IDYuMDY5NTEgMTIuMTY2NyA2LjM1OTgzIDEyLjE2NjdDNi42NTAxNSAxMi4xNjY3IDYuODQzNyAxMi4wNyA3LjAzNzI1IDExLjg3NjRDNy4yMzA4IDExLjY4MjkgNy4zMjc1NyAxMS40ODkzIDcuMzI3NTcgMTEuMTk5VjkuNDU3MDZMNS4zOTIwOSA3LjQyNDhaIiBmaWxsPSIjNDM0RTVCIi8+CjxwYXRoIGQ9Ik00LjMyNzU3IDIuNDg5NDRINS4zOTIwOVYzLjY1MDczTDcuMzI3NTcgNS42ODI5OVYyLjQ4OTQ0SDExLjE5ODVDMTEuNDg4OSAyLjQ4OTQ0IDExLjY4MjQgMi4zOTI2NiAxMS44NzYgMi4xOTkxMkMxMi4wNjk1IDIuMDA1NTcgMTIuMTY2MyAxLjgxMjAyIDEyLjE2NjMgMS41MjE3QzEyLjE2NjMgMS4yMzEzNyAxMi4wNjk1IDEuMDM3ODMgMTEuODc2IDAuODQ0Mjc4QzExLjY4MjQgMC42NTA3MjkgMTEuNDg4OSAwLjU1Mzk1NSAxMS4xOTg1IDAuNTUzOTU1SDIuMzkyMDlMNC4zMjc1NyAyLjQ4OTQ0WiIgZmlsbD0iIzQzNEU1QiIvPgo8cGF0aCBkPSJNMTAuNjE4MSAxMS44NzY0QzEwLjMyNzggMTEuODc2NCAxMC4xMzQyIDExLjc3OTcgOS45NDA3IDExLjU4NjFMMC40NTY4MjcgMS44MTE5MUMwLjI2MzI3OCAxLjYxODM2IDAuMTY2NTA0IDEuMzI4MDQgMC4xNjY1MDQgMS4xMzQ0OUMwLjE2NjUwNCAwLjg0NDE2NyAwLjI2MzI3OCAwLjY1MDYxOSAwLjQ1NjgyNyAwLjQ1NzA3MUMwLjY1MDM3NSAwLjI2MzUyMiAwLjg0MzkyMyAwLjE2Njc0OCAxLjEzNDI1IDAuMTY2NzQ4QzEuNDI0NTcgMC4xNjY3NDggMS42MTgxMiAwLjI2MzUyMiAxLjgxMTY3IDAuNDU3MDcxTDExLjI5NTUgMTAuMjMxM0MxMS40ODkxIDEwLjQyNDggMTEuNTg1OSAxMC42MTg0IDExLjU4NTkgMTAuOTA4N0MxMS41ODU5IDExLjE5OSAxMS40ODkxIDExLjM5MjYgMTEuMjk1NSAxMS41ODYxQzExLjEwMiAxMS43Nzk3IDEwLjkwODQgMTEuODc2NCAxMC42MTgxIDExLjg3NjRaIiBmaWxsPSIjNDM0RTVCIi8+Cjwvc3ZnPgo=";const H6e={name:"LTextEditor",props:{modelValue:String},emits:["update:modelValue","useMarkUp","focus","input"],components:{EditorContent:C3e,LinkBox:o6e,BubbleMenu:w3e,FloatingLink:u6e},data(){return{editor:null,markUps:[{name:"bold",tooltip:"Negrito",icon:"uil-bold"},{name:"italic",tooltip:"Itálico",icon:"uil-italic"},{name:"underline",tooltip:"Sublinhado",icon:"uil-underline"},{name:"heading",tooltip:"Título",icon:R6e},{name:"bulletList",tooltip:"Lista com marcadores",icon:"uil-list-ul"},{name:"orderedList",tooltip:"Lista numerada",icon:"uil-list-ol-alt"},{name:"link",tooltip:"Inserir link",icon:"uil-link-alt"},{name:"blockquote",tooltip:"Citação",icon:F6e},{name:"removeFormatting",tooltip:"Remover formatação",icon:U6e}],showLinkBox:!1,isEditorFocused:null,tooltipDelay:125}},methods:{isUnicon(e){return e.startsWith("uil-")},markUpText(e){if(e==="link"){this.toggleLinkBox();return}this.editor.chain().focus().setMarkUp(e).run()},toggleLinkBox(){this.showLinkBox=!this.showLinkBox},closeLinkBox(){this.editor.commands.focus(),this.toggleLinkBox()},markUpLink(e){this.currentTextSelection||this.previousURL?this.editor.chain().focus().extendMarkRange("link").setLink({href:e.url,target:"_blank"}).run():this.editor.commands.insertContent(t0.link(e.insertedText))},markOffLink(){this.editor.chain().focus().extendMarkRange("link").unsetLink().run()},hasSomeMarkUpActive(){const e=this.editor.getJSON().content,t=this.markUps.map(i=>i.name),o=e.map(i=>i.type).some(i=>t.includes(i)),a=e.some(i=>{if(i.hasOwnProperty("content"))return i.content.some(l=>l.hasOwnProperty("marks"))});return o||a},addSpaceToFinalParagraphTag(e){return e.replace(/<\/p>/g," </p>")}},computed:{previousURL(){return this.editor.getAttributes("link").href},showFloatingLink(){return this.editor.isActive("link")},finalText(){const e=this.editor.getHTML(),t=this.addSpaceToFinalParagraphTag(e),r=t0.link(t);return P6e.sanitize(d6e(r),{ADD_ATTR:["target"]})},currentTextSelection(){const{view:e,state:t}=this.editor,{from:r,to:o}=e.state.selection;return t.doc.textBetween(r,o,"")},arrowXPosition(){const t=this.$refs.link[0].$el;return{left:`${t.offsetLeft+(t.offsetWidth-16.8)/2}px`}},linkBoxPosition(){const t=this.$refs.texteditor.$el.offsetWidth,r=this.$refs.link[0].$el;let o;return t>500?o=`${r.offsetLeft+r.offsetWidth/2-456/2}px`:o="1rem",{left:o}}},beforeMount(){this.editor=new k3e({extensions:[x3e,E3e,T3e,I3e,B3e,U3e,Y3e,Q3e,G3e,J3e,tye,Cye,xye,Eye,Bye],content:this.modelValue,autofocus:!1,onUpdate:()=>{this.$emit("input",this.finalText),this.$emit("useMarkUp",this.hasSomeMarkUpActive()),this.$emit("update:modelValue",this.finalText)},onFocus:()=>{this.isEditorFocused=!0,this.$emit("focus",!0)},onBlur:()=>{this.isEditorFocused=!1}})},beforeUnmount(){this.editor.destroy()}},Y6e={class:"wrapper-text-editor"},Q6e={class:"wrapper-editor-features"},q6e={class:"wrapper-scroll"},W6e={class:"wrapper-buttons py-2 pl-3 pr-4 l-d-flex row l-d-justify-content-start l-d-align-item-center"},G6e=["alt","src"];function K6e(e,t,r,o,a,i){const l=n.resolveComponent("FloatingLink"),s=n.resolveComponent("BubbleMenu"),u=n.resolveComponent("EditorContent"),c=n.resolveComponent("l-icon"),d=n.resolveComponent("l-button"),f=n.resolveComponent("l-tooltip"),p=n.resolveComponent("LinkBox");return n.openBlock(),n.createElementBlock("section",Y6e,[i.showFloatingLink?(n.openBlock(),n.createBlock(s,{key:0,editor:a.editor,tippyOptions:{zIndex:1e3},shouldShow:({editor:h})=>h.isActive("link")},{default:n.withCtx(()=>[n.createVNode(l,{"data-link":a.editor.getAttributes("link").href,onEdit:t[0]||(t[0]=h=>i.toggleLinkBox()),onRemove:t[1]||(t[1]=h=>i.markOffLink())},null,8,["data-link"])]),_:1},8,["editor","shouldShow"])):n.createCommentVNode("",!0),n.createVNode(u,{editor:a.editor,ref:"texteditor"},null,8,["editor"]),n.createElementVNode("div",Q6e,[n.createElementVNode("div",q6e,[n.createElementVNode("div",W6e,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(a.markUps,h=>(n.openBlock(),n.createBlock(f,{key:h.name,content:h.tooltip,class:"item","open-delay":a.tooltipDelay},{default:n.withCtx(()=>[n.createVNode(d,{onClick:m=>i.markUpText(h.name),class:n.normalizeClass(["button-text-editor",{"is-active":a.editor.isActive(h.name)}]),size:"small",square:"",ref_for:!0,ref:h.name},{default:n.withCtx(()=>[i.isUnicon(h.icon)?(n.openBlock(),n.createBlock(c,{key:0,size:"24",icon:h.icon},null,8,["icon"])):(n.openBlock(),n.createElementBlock("img",{key:1,alt:h.name,src:h.icon,class:n.normalizeClass({"icon-active":a.editor.isActive(h.name)})},null,10,G6e))]),_:2},1032,["onClick","class"])]),_:2},1032,["content","open-delay"]))),128))])]),a.showLinkBox?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[n.createElementVNode("span",{class:"link-box-arrow",style:n.normalizeStyle([i.arrowXPosition])},null,4),n.createVNode(p,{class:"link-box-position",onClose:t[2]||(t[2]=h=>i.closeLinkBox()),onSetLink:t[3]||(t[3]=h=>i.markUpLink(h)),previousURL:i.previousURL,style:n.normalizeStyle([i.linkBoxPosition])},null,8,["previousURL","style"])],64)):n.createCommentVNode("",!0)])])}const Z6e=ge(H6e,[["render",K6e],["__scopeId","data-v-73b63582"]]),J6e=Object.freeze(Object.defineProperty({__proto__:null,default:Z6e},Symbol.toStringTag,{value:"Module"}));const X6e={name:"LTimeSelect",components:{ElTimeSelect:dJ},props:{prefixIcon:{type:String,default:"el-icon-clock"},clearIcon:{type:String,default:"el-icon-multiply"},hideIcon:{type:Boolean,default:!1},placeholder:{type:String,default:"Horário"},clearable:{type:Boolean,default:!1}}};function e_e(e,t,r,o,a,i){const l=n.resolveComponent("el-time-select");return n.openBlock(),n.createBlock(l,n.mergeProps({"prefix-icon":r.prefixIcon,"clear-icon":r.clearIcon,placeholder:r.placeholder,clearable:r.clearable},e.$attrs,{ref:"timeSelect",class:["l-time-select",{"hide-icon":r.hideIcon}]}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},16,["prefix-icon","clear-icon","placeholder","clearable","class"])}const t_e=ge(X6e,[["render",e_e],["__scopeId","data-v-61335252"]]),n_e=Object.freeze(Object.defineProperty({__proto__:null,default:t_e},Symbol.toStringTag,{value:"Module"}));const r_e={name:"LToggleButtonGroup",props:{options:Array,modelValue:String,disabled:{type:Boolean,default:!1}},computed:{value:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{optionType(e){return this.disabled?"default":e.value===this.value?"primary":"default"},selectOption(e){this.value=e.value}}};function o_e(e,t,r,o,a,i){const l=n.resolveComponent("l-button"),s=n.resolveComponent("l-tooltip"),u=n.resolveComponent("l-button-group");return n.openBlock(),n.createBlock(u,{class:"l-toggle-button-group"},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.options,c=>(n.openBlock(),n.createBlock(s,{effect:"dark",content:c.title,placement:"bottom",key:c.value},{default:n.withCtx(()=>[n.createVNode(l,{disabled:r.disabled,type:i.optionType(c),icon:c.icon,size:"small",plain:"",onClick:d=>i.selectOption(c)},null,8,["disabled","type","icon","onClick"])]),_:2},1032,["content"]))),128))]),_:1})}const a_e=ge(r_e,[["render",o_e]]),i_e=Object.freeze(Object.defineProperty({__proto__:null,default:a_e},Symbol.toStringTag,{value:"Module"}));const l_e={components:{ElTooltip:Ai},props:{tooltipClass:{type:String,default:"l-tooltip-popper"}}};function s_e(e,t,r,o,a,i){const l=n.resolveComponent("ElTooltip");return n.openBlock(),n.createBlock(l,n.mergeProps(e.$attrs,{"popper-class":r.tooltipClass}),{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default")]),_:3},16,["popper-class"])}const u_e=ge(l_e,[["render",s_e]]),c_e=Object.freeze(Object.defineProperty({__proto__:null,default:u_e},Symbol.toStringTag,{value:"Module"}));const d_e={name:"LTransitionExpand",methods:{enter(e){const t=getComputedStyle(e).width;e.style.width=t,e.style.position="absolute",e.style.visibility="hidden",e.style.height="auto";const r=getComputedStyle(e).height;e.style.width=null,e.style.position=null,e.style.visibility=null,e.style.height=0,getComputedStyle(e).height,requestAnimationFrame(()=>{e.style.height=r})},afterEnter(e){e.style.height="auto"},leave(e){const t=getComputedStyle(e).height;e.style.height=t,getComputedStyle(e).height,requestAnimationFrame(()=>{e.style.height=0})}}};function f_e(e,t,r,o,a,i){return n.openBlock(),n.createBlock(n.Transition,{class:"l-transition-expand",name:"expand",onEnter:i.enter,onAfterEnter:i.afterEnter,onLeave:i.leave},{default:n.withCtx(()=>[n.renderSlot(e.$slots,"default",{},void 0,!0)]),_:3},8,["onEnter","onAfterEnter","onLeave"])}const p_e=ge(d_e,[["render",f_e],["__scopeId","data-v-00bad3ad"]]),m_e=Object.freeze(Object.defineProperty({__proto__:null,default:p_e},Symbol.toStringTag,{value:"Module"})),$v=Object.assign({"../components/LAlert/index.vue":YJ,"../components/LAttachmentChip/index.vue":rX,"../components/LBox/index.vue":lX,"../components/LBoxHeader/index.vue":dX,"../components/LButton/index.vue":gX,"../components/LCarousel/index.vue":kX,"../components/LCheckbox/index.vue":TX,"../components/LCheckboxButton/index.vue":AX,"../components/LCheckboxGroup/index.vue":LX,"../components/LChip/index.vue":FX,"../components/LCircularLoader/index.vue":QX,"../components/LCollapseItem/index.vue":KX,"../components/LDatePicker/index.vue":eee,"../components/LDialog/index.vue":oee,"../components/LFailedToLoad/index.vue":dee,"../components/LHelperBox/index.vue":yee,"../components/LIcon/index.vue":wb,"../components/LImageViewer/index.vue":See,"../components/LInput/index.vue":Lee,"../components/LLinearProgress/index.vue":Pee,"../components/LNotice/index.vue":Qee,"../components/LNotification/index.vue":Ib,"../components/LPresentation/index.vue":tte,"../components/LPromptDialog/index.vue":lte,"../components/LRadio/index.vue":dte,"../components/LRadioButton/index.vue":hte,"../components/LRadioGroup/index.vue":Mte,"../components/LRating/index.vue":wte,"../components/LSearchBar/index.vue":lce,"../components/LSearchTopics/index.vue":ppe,"../components/LSwitch/index.vue":vpe,"../components/LTable/index.vue":kme,"../components/LTabs/index.vue":Tme,"../components/LTargetChip/index.vue":zme,"../components/LTargetInput/index.vue":Bme,"../components/LTextEditor/index.vue":J6e,"../components/LTimeSelect/index.vue":n_e,"../components/LToggleButtonGroup/index.vue":i_e,"../components/LTooltip/index.vue":c_e,"../components/LTransitionExpand/index.vue":m_e}),h_e=(e,t="index")=>{const r=e.split("/"),o=r.pop().replace(".vue","");return o===t?r.pop():o},g_e={install(e){Object.keys($v).forEach(t=>{const r=h_e(t);e.component(r,$v[t].default)})}};exports.Language=void 0;const hh={};hh.install=function(e,t={enabledNotify:!1}){e.config.globalProperties.$L={},e.use(bp),e.use(Hv),e.use(Qv),e.use(Wv),e.use(y3),exports.Language=nE(),e.use(o6),e.use(g_e),pe.extend(mb),e.mixin({mounted(){this.__layers_addClassName()},updated(){this.__layers_addClassName()},methods:{__layers_addClassName(){var r;if(!this.__layers_addedClassName){const o=((r=this==null?void 0:this.$options)==null?void 0:r.tagName)||"";/^l-/.test(o)&&this.$el.classList&&this.$el.classList.add(o)}}}}),t.enabledNotify&&(e.config.globalProperties.$notify=function(r){const o=r.onClick&&r.onClick instanceof Function,a=[r.customClass,r.type,!r.customClass&&!r.type&&"default",o&&"cursor-pointer"];return ma({...r,customClass:a.filter(i=>i).join(" ")})})};exports.LayersDesignSystem=hh;exports.Notification=ma;exports.commonjsGlobal=wt;exports.dayjs_minExports=Rv;