@bagelink/vue 1.15.151 → 1.15.156

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.
package/dist/index.cjs CHANGED
@@ -6,7 +6,7 @@ ${r.event.url}`),`https://calendar.google.com/calendar/render?${g.toString()}`})
6
6
  `,B_="\u2028",D_="\u2029";function A_(e){const t=e;let r=0,o=1,a=1,l=0;const i=E=>t[E]===N_&&t[E+1]===Et,s=E=>t[E]===Et,c=E=>t[E]===D_,u=E=>t[E]===B_,d=E=>i(E)||s(E)||c(E)||u(E),f=()=>r,m=()=>o,p=()=>a,h=()=>l,y=E=>i(E)||c(E)||u(E)?Et:t[E],b=()=>y(r),g=()=>y(r+l);function v(){return l=0,d(r)&&(o++,a=0),i(r)&&r++,r++,a++,t[r]}function _(){return i(r+l)&&l++,l++,t[r+l]}function w(){r=0,o=1,a=1,l=0}function k(E=0){l=E}function S(){const E=r+l;for(;E!==r;)v();l=0}return{index:f,line:m,column:p,peekOffset:h,charAt:y,currentChar:b,currentPeek:g,next:v,peek:_,reset:w,resetPeek:k,skipToPeek:S}}var jn=void 0,M_=".",Xd="'",L_="tokenizer";function P_(e,t={}){const r=t.location!==!1,o=A_(e),a=()=>o.index(),l=()=>E_(o.line(),o.column(),o.index()),i=l(),s=a(),c={currentType:13,offset:s,startLoc:i,endLoc:i,lastType:13,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:d}=t;function f(F,W,ie,...he){const Be=u();W.column+=ie,W.offset+=ie,d&&d(Io(F,r?rc(Be.startLoc,W):null,{domain:L_,args:he}))}function m(F,W,ie){F.endLoc=l(),F.currentType=W;const he={type:W};return r&&(he.loc=rc(F.startLoc,F.endLoc)),ie!=null&&(he.value=ie),he}const p=F=>m(F,13);function h(F,W){return F.currentChar()===W?(F.next(),W):(f(Ne.EXPECTED_TOKEN,l(),0,W),"")}function y(F){let W="";for(;F.currentPeek()===Nn||F.currentPeek()===Et;)W+=F.currentPeek(),F.peek();return W}function b(F){const W=y(F);return F.skipToPeek(),W}function g(F){if(F===jn)return!1;const W=F.charCodeAt(0);return W>=97&&W<=122||W>=65&&W<=90||W===95}function v(F){if(F===jn)return!1;const W=F.charCodeAt(0);return W>=48&&W<=57}function _(F,W){const{currentType:ie}=W;if(ie!==2)return!1;y(F);const he=g(F.currentPeek());return F.resetPeek(),he}function w(F,W){const{currentType:ie}=W;if(ie!==2)return!1;y(F);const he=v(F.currentPeek()==="-"?F.peek():F.currentPeek());return F.resetPeek(),he}function k(F,W){const{currentType:ie}=W;if(ie!==2)return!1;y(F);const he=F.currentPeek()===Xd;return F.resetPeek(),he}function S(F,W){const{currentType:ie}=W;if(ie!==7)return!1;y(F);const he=F.currentPeek()===".";return F.resetPeek(),he}function E(F,W){const{currentType:ie}=W;if(ie!==8)return!1;y(F);const he=g(F.currentPeek());return F.resetPeek(),he}function C(F,W){const{currentType:ie}=W;if(!(ie===7||ie===11))return!1;y(F);const he=F.currentPeek()===":";return F.resetPeek(),he}function M(F,W){const{currentType:ie}=W;if(ie!==9)return!1;const he=()=>{const Xe=F.currentPeek();return Xe==="{"?g(F.peek()):Xe==="@"||Xe==="|"||Xe===":"||Xe==="."||Xe===Nn||!Xe?!1:Xe===Et?(F.peek(),he()):z(F,!1)},Be=he();return F.resetPeek(),Be}function A(F){y(F);const W=F.currentPeek()==="|";return F.resetPeek(),W}function z(F,W=!0){const ie=(Be=!1,Xe="")=>{const Pe=F.currentPeek();return Pe==="{"||Pe==="@"||!Pe?Be:Pe==="|"?!(Xe===Nn||Xe===Et):Pe===Nn?(F.peek(),ie(!0,Nn)):Pe===Et?(F.peek(),ie(!0,Et)):!0},he=ie();return W&&F.resetPeek(),he}function D(F,W){const ie=F.currentChar();return ie===jn?jn:W(ie)?(F.next(),ie):null}function R(F){const W=F.charCodeAt(0);return W>=97&&W<=122||W>=65&&W<=90||W>=48&&W<=57||W===95||W===36}function $(F){return D(F,R)}function V(F){const W=F.charCodeAt(0);return W>=97&&W<=122||W>=65&&W<=90||W>=48&&W<=57||W===95||W===36||W===45}function P(F){return D(F,V)}function B(F){const W=F.charCodeAt(0);return W>=48&&W<=57}function O(F){return D(F,B)}function K(F){const W=F.charCodeAt(0);return W>=48&&W<=57||W>=65&&W<=70||W>=97&&W<=102}function Y(F){return D(F,K)}function re(F){let W="",ie="";for(;W=O(F);)ie+=W;return ie}function G(F){let W="";for(;;){const ie=F.currentChar();if(ie==="\\"){const he=F.peek();he==="{"||he==="}"||he==="@"||he==="|"||he==="\\"?(W+=ie+he,F.next(),F.next()):(F.resetPeek(),W+=ie,F.next())}else{if(ie==="{"||ie==="}"||ie==="@"||ie==="|"||!ie)break;if(ie===Nn||ie===Et)if(z(F))W+=ie,F.next();else{if(A(F))break;W+=ie,F.next()}else W+=ie,F.next()}}return W}function N(F){b(F);let W="",ie="";for(;W=P(F);)ie+=W;const he=F.currentChar();if(he&&he!=="}"&&he!==jn&&he!==Nn&&he!==Et&&he!==" "){const Be=we(F);return f(Ne.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,ie+Be),ie+Be}return F.currentChar()===jn&&f(Ne.UNTERMINATED_CLOSING_BRACE,l(),0),ie}function H(F){b(F);let W="";return F.currentChar()==="-"?(F.next(),W+=`-${re(F)}`):W+=re(F),F.currentChar()===jn&&f(Ne.UNTERMINATED_CLOSING_BRACE,l(),0),W}function U(F){return F!==Xd&&F!==Et}function I(F){b(F),h(F,"'");let W="",ie="";for(;W=D(F,U);)W==="\\"?ie+=j(F):ie+=W;const he=F.currentChar();return he===Et||he===jn?(f(Ne.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,l(),0),he===Et&&(F.next(),h(F,"'")),ie):(h(F,"'"),ie)}function j(F){const W=F.currentChar();switch(W){case"\\":case"'":return F.next(),`\\${W}`;case"u":return te(F,W,4);case"U":return te(F,W,6);default:return f(Ne.UNKNOWN_ESCAPE_SEQUENCE,l(),0,W),""}}function te(F,W,ie){h(F,W);let he="";for(let Be=0;Be<ie;Be++){const Xe=Y(F);if(!Xe){f(Ne.INVALID_UNICODE_ESCAPE_SEQUENCE,l(),0,`\\${W}${he}${F.currentChar()}`);break}he+=Xe}return`\\${W}${he}`}function ae(F){return F!=="{"&&F!=="}"&&F!==Nn&&F!==Et}function we(F){b(F);let W="",ie="";for(;W=D(F,ae);)ie+=W;return ie}function J(F){let W="",ie="";for(;W=$(F);)ie+=W;return ie}function ue(F){const W=ie=>{const he=F.currentChar();return he==="{"||he==="@"||he==="|"||he==="("||he===")"||!he||he===Nn?ie:(ie+=he,F.next(),W(ie))};return W("")}function pe(F){b(F);const W=h(F,"|");return b(F),W}function ve(F,W){let ie=null;switch(F.currentChar()){case"{":return W.braceNest>=1&&f(Ne.NOT_ALLOW_NEST_PLACEHOLDER,l(),0),F.next(),ie=m(W,2,"{"),b(F),W.braceNest++,ie;case"}":return W.braceNest>0&&W.currentType===2&&f(Ne.EMPTY_PLACEHOLDER,l(),0),F.next(),ie=m(W,3,"}"),W.braceNest--,W.braceNest>0&&b(F),W.inLinked&&W.braceNest===0&&(W.inLinked=!1),ie;case"@":return W.braceNest>0&&f(Ne.UNTERMINATED_CLOSING_BRACE,l(),0),ie=ce(F,W)||p(W),W.braceNest=0,ie;default:{let he=!0,Be=!0,Xe=!0;if(A(F))return W.braceNest>0&&f(Ne.UNTERMINATED_CLOSING_BRACE,l(),0),ie=m(W,1,pe(F)),W.braceNest=0,W.inLinked=!1,ie;if(W.braceNest>0&&(W.currentType===4||W.currentType===5||W.currentType===6))return f(Ne.UNTERMINATED_CLOSING_BRACE,l(),0),W.braceNest=0,ne(F,W);if(he=_(F,W))return ie=m(W,4,N(F)),b(F),ie;if(Be=w(F,W))return ie=m(W,5,H(F)),b(F),ie;if(Xe=k(F,W))return ie=m(W,6,I(F)),b(F),ie;if(!he&&!Be&&!Xe)return ie=m(W,12,we(F)),f(Ne.INVALID_TOKEN_IN_PLACEHOLDER,l(),0,ie.value),b(F),ie;break}}return ie}function ce(F,W){const{currentType:ie}=W;let he=null;const Be=F.currentChar();switch((ie===7||ie===8||ie===11||ie===9)&&(Be===Et||Be===Nn)&&f(Ne.INVALID_LINKED_FORMAT,l(),0),Be){case"@":return F.next(),he=m(W,7,"@"),W.inLinked=!0,he;case".":return b(F),F.next(),m(W,8,".");case":":return b(F),F.next(),m(W,9,":");default:return A(F)?(he=m(W,1,pe(F)),W.braceNest=0,W.inLinked=!1,he):S(F,W)||C(F,W)?(b(F),ce(F,W)):E(F,W)?(b(F),m(W,11,J(F))):M(F,W)?(b(F),Be==="{"?ve(F,W)||he:m(W,10,ue(F))):(ie===7&&f(Ne.INVALID_LINKED_FORMAT,l(),0),W.braceNest=0,W.inLinked=!1,ne(F,W))}}function ne(F,W){let ie={type:13};if(W.braceNest>0)return ve(F,W)||p(W);if(W.inLinked)return ce(F,W)||p(W);switch(F.currentChar()){case"{":return ve(F,W)||p(W);case"}":return f(Ne.UNBALANCED_CLOSING_BRACE,l(),0),F.next(),m(W,3,"}");case"@":return ce(F,W)||p(W);default:if(A(F))return ie=m(W,1,pe(F)),W.braceNest=0,W.inLinked=!1,ie;if(z(F))return m(W,0,G(F));break}return ie}function fe(){const{currentType:F,offset:W,startLoc:ie,endLoc:he}=c;return c.lastType=F,c.lastOffset=W,c.lastStartLoc=ie,c.lastEndLoc=he,c.offset=a(),c.startLoc=l(),o.currentChar()===jn?m(c,13):ne(o,c)}return{nextToken:fe,currentOffset:a,currentPosition:l,context:u}}var I_="parser",V_=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,O_=/\\([\\@{}|])/g;function R_(e,t){return t}function F_(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||r,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function z_(e={}){const t=e.location!==!1,{onError:r}=e;function o(g,v,_,w,...k){const S=g.currentPosition();S.offset+=w,S.column+=w,r&&r(Io(v,t?rc(_,S):null,{domain:I_,args:k}))}function a(g,v,_){const w={type:g};return t&&(w.start=v,w.end=v,w.loc={start:_,end:_}),w}function l(g,v,_,w){t&&(g.end=v,g.loc&&(g.loc.end=_))}function i(g,v){const _=g.context(),w=a(3,_.offset,_.startLoc);return w.value=v.replace(O_,R_),l(w,g.currentOffset(),g.currentPosition()),w}function s(g,v){const{lastOffset:_,lastStartLoc:w}=g.context(),k=a(5,_,w);return k.index=parseInt(v,10),g.nextToken(),l(k,g.currentOffset(),g.currentPosition()),k}function c(g,v){const{lastOffset:_,lastStartLoc:w}=g.context(),k=a(4,_,w);return k.key=v,g.nextToken(),l(k,g.currentOffset(),g.currentPosition()),k}function u(g,v){const{lastOffset:_,lastStartLoc:w}=g.context(),k=a(9,_,w);return k.value=v.replace(V_,F_),g.nextToken(),l(k,g.currentOffset(),g.currentPosition()),k}function d(g){const v=g.nextToken(),_=g.context(),{lastOffset:w,lastStartLoc:k}=_,S=a(8,w,k);return v.type!==11?(o(g,Ne.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),S.value="",l(S,w,k),{nextConsumeToken:v,node:S}):(v.value==null&&o(g,Ne.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Bn(v)),S.value=v.value||"",l(S,g.currentOffset(),g.currentPosition()),{node:S})}function f(g,v){const _=g.context(),w=a(7,_.offset,_.startLoc);return w.value=v,l(w,g.currentOffset(),g.currentPosition()),w}function m(g){const v=g.context(),_=a(6,v.offset,v.startLoc);let w=g.nextToken();if(w.type===8){const k=d(g);_.modifier=k.node,w=k.nextConsumeToken||g.nextToken()}switch(w.type!==9&&o(g,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(w)),w=g.nextToken(),w.type===2&&(w=g.nextToken()),w.type){case 10:w.value==null&&o(g,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(w)),_.key=f(g,w.value||"");break;case 4:w.value==null&&o(g,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(w)),_.key=c(g,w.value||"");break;case 5:w.value==null&&o(g,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(w)),_.key=s(g,w.value||"");break;case 6:w.value==null&&o(g,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(w)),_.key=u(g,w.value||"");break;default:{o(g,Ne.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const k=g.context(),S=a(7,k.offset,k.startLoc);return S.value="",l(S,k.offset,k.startLoc),_.key=S,l(_,k.offset,k.startLoc),{nextConsumeToken:w,node:_}}}return l(_,g.currentOffset(),g.currentPosition()),{node:_}}function p(g){const v=g.context(),_=a(2,v.currentType===1?g.currentOffset():v.offset,v.currentType===1?v.endLoc:v.startLoc);_.items=[];let w=null;do{const k=w||g.nextToken();switch(w=null,k.type){case 0:k.value==null&&o(g,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(k)),_.items.push(i(g,k.value||""));break;case 5:k.value==null&&o(g,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(k)),_.items.push(s(g,k.value||""));break;case 4:k.value==null&&o(g,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(k)),_.items.push(c(g,k.value||""));break;case 6:k.value==null&&o(g,Ne.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(k)),_.items.push(u(g,k.value||""));break;case 7:{const S=m(g);_.items.push(S.node),w=S.nextConsumeToken||null;break}}}while(v.currentType!==13&&v.currentType!==1);return l(_,v.currentType===1?v.lastOffset:g.currentOffset(),v.currentType===1?v.lastEndLoc:g.currentPosition()),_}function h(g,v,_,w){const k=g.context();let S=w.items.length===0;const E=a(1,v,_);E.cases=[],E.cases.push(w);do{const C=p(g);S||(S=C.items.length===0),E.cases.push(C)}while(k.currentType!==13);return S&&o(g,Ne.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),l(E,g.currentOffset(),g.currentPosition()),E}function y(g){const v=g.context(),{offset:_,startLoc:w}=v,k=p(g);return v.currentType===13?k:h(g,_,w,k)}function b(g){const v=P_(g,pt({},e)),_=v.context(),w=a(0,_.offset,_.startLoc);return t&&w.loc&&(w.loc.source=g),w.body=y(v),e.onCacheKey&&(w.cacheKey=e.onCacheKey(g)),_.currentType!==13&&o(v,Ne.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,g[_.offset]||""),l(w,v.currentOffset(),v.currentPosition()),w}return{parse:b}}function Bn(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function U_(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:l=>(r.helpers.add(l),l)}}function Kd(e,t){for(let r=0;r<e.length;r++)bu(e[r],t)}function bu(e,t){switch(e.type){case 1:Kd(e.cases,t),t.helper("plural");break;case 2:Kd(e.items,t);break;case 6:bu(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function H_(e,t={}){const r=U_(e);r.helper("normalize"),e.body&&bu(e.body,r);const o=r.context();e.helpers=Array.from(o.helpers)}function W_(e){const t=e.body;return t.type===2?Jd(t):t.cases.forEach(r=>Jd(r)),e}function Jd(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;r<e.items.length;r++){const o=e.items[r];if(!(o.type===3||o.type===9)||o.value==null)break;t.push(o.value)}if(t.length===e.items.length){e.static=yu(t);for(let r=0;r<e.items.length;r++){const o=e.items[r];(o.type===3||o.type===9)&&delete o.value}}}}var j_="minifier";function so(e){switch(e.t=e.type,e.type){case 0:{const t=e;so(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,r=t.cases;for(let o=0;o<r.length;o++)so(r[o]);t.c=r,delete t.cases;break}case 2:{const t=e,r=t.items;for(let o=0;o<r.length;o++)so(r[o]);t.i=r,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;so(t.key),t.k=t.key,delete t.key,t.modifier&&(so(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw Io(Ne.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:j_,args:[e.type]})}delete e.type}var q_="parser";function G_(e,t){const{filename:r,breakLineCode:o,needIndent:a}=t,l=t.location!==!1,i={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:a,indentLevel:0};l&&e.loc&&(i.source=e.loc.source);const s=()=>i;function c(y,b){i.code+=y}function u(y,b=!0){const g=b?o:"";c(a?g+" ".repeat(y):g)}function d(y=!0){const b=++i.indentLevel;y&&u(b)}function f(y=!0){const b=--i.indentLevel;y&&u(b)}function m(){u(i.indentLevel)}return{context:s,push:c,indent:d,deindent:f,newline:m,helper:y=>`_${y}`,needIndent:()=>i.needIndent}}function Y_(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),So(e,t.key),t.modifier?(e.push(", "),So(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function X_(e,t){const{helper:r,needIndent:o}=e;e.push(`${r("normalize")}([`),e.indent(o());const a=t.items.length;for(let l=0;l<a&&(So(e,t.items[l]),l!==a-1);l++)e.push(", ");e.deindent(o()),e.push("])")}function K_(e,t){const{helper:r,needIndent:o}=e;if(t.cases.length>1){e.push(`${r("plural")}([`),e.indent(o());const a=t.cases.length;for(let l=0;l<a&&(So(e,t.cases[l]),l!==a-1);l++)e.push(", ");e.deindent(o()),e.push("])")}}function J_(e,t){t.body?So(e,t.body):e.push("null")}function So(e,t){const{helper:r}=e;switch(t.type){case 0:J_(e,t);break;case 1:K_(e,t);break;case 2:X_(e,t);break;case 6:Y_(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${r("interpolate")}(${r("list")}(${t.index}))`,t);break;case 4:e.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw Io(Ne.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:q_,args:[t.type]})}}var Z_=(e,t={})=>{const r=ke(t.mode)?t.mode:"normal",o=ke(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":`
7
7
  `,l=t.needIndent?t.needIndent:r!=="arrow",i=e.helpers||[],s=G_(e,{filename:o,breakLineCode:a,needIndent:l});s.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(l),i.length>0&&(s.push(`const { ${yu(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),So(s,e),s.deindent(l),s.push("}"),delete e.helpers;const{code:c,map:u}=s.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function Q_(e,t={}){const r=pt({},t),o=!!r.jit,a=!!r.minify,l=r.optimize==null?!0:r.optimize,i=z_(r).parse(e);return o?(l&&W_(i),a&&so(i),{ast:i,code:""}):(H_(i,r),Z_(i,r))}function e1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Lr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Lr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function un(e){return Ve(e)&&_u(e)===0&&(sn(e,"b")||sn(e,"body"))}var bh=["b","body"];function t1(e){return Cr(e,bh)}var _h=["c","cases"];function n1(e){return Cr(e,_h,[])}var wh=["s","static"];function r1(e){return Cr(e,wh)}var kh=["i","items"];function o1(e){return Cr(e,kh,[])}var $h=["t","type"];function _u(e){return Cr(e,$h)}var Eh=["v","value"];function al(e,t){const r=Cr(e,Eh);if(r!=null)return r;throw ba(t)}var Ch=["m","modifier"];function a1(e){return Cr(e,Ch)}var Sh=["k","key"];function l1(e){const t=Cr(e,Sh);if(t)return t;throw ba(6)}function Cr(e,t,r){for(let o=0;o<t.length;o++){const a=t[o];if(sn(e,a)&&e[a]!=null)return e[a]}return r}var xh=[...bh,..._h,...wh,...kh,...Sh,...Ch,...Eh,...$h];function ba(e){return new Error(`unhandled node type: ${e}`)}function as(e){return r=>i1(r,e)}function i1(e,t){const r=t1(t);if(r==null)throw ba(0);if(_u(r)===1){const o=n1(r);return e.plural(o.reduce((a,l)=>[...a,Zd(e,l)],[]))}else return Zd(e,r)}function Zd(e,t){const r=r1(t);if(r!=null)return e.type==="text"?r:e.normalize([r]);{const o=o1(t).reduce((a,l)=>[...a,oc(e,l)],[]);return e.normalize(o)}}function oc(e,t){const r=_u(t);switch(r){case 3:return al(t,r);case 9:return al(t,r);case 4:{const o=t;if(sn(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(sn(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw ba(r)}case 5:{const o=t;if(sn(o,"i")&&mt(o.i))return e.interpolate(e.list(o.i));if(sn(o,"index")&&mt(o.index))return e.interpolate(e.list(o.index));throw ba(r)}case 6:{const o=t,a=a1(o),l=l1(o);return e.linked(oc(e,l),a?oc(e,a):void 0,e.type)}case 7:return al(t,r);case 8:return al(t,r);default:throw new Error(`unhandled node on format message part: ${r}`)}}var s1="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function c1(e,t){t&&T_(e)&&(ki(s1,{source:e}),void 0)}var u1=e=>e,ll=Ye();function d1(e,t={}){let r=!1;const o=t.onError||S_;return t.onError=a=>{r=!0,o(a)},{...Q_(e,t),detectError:r}}function f1(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ke(e)){const r=Fe(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&c1(e,r);const o=(t.onCacheKey||u1)(e),a=ll[o];if(a)return a;const{ast:l,detectError:i}=d1(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),s=as(l);return i?s:ll[o]=s}else{if(process.env.NODE_ENV!=="production"&&!un(e))return`${t.key}`,(()=>e);const r=e.cacheKey;if(r){const o=ll[r];return o||(ll[r]=as(e))}else return as(e)}}var _a=null;function m1(e){_a=e}function p1(e,t,r){_a&&_a.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}var h1=g1("function:translate");function g1(e){return t=>_a&&_a.emit(e,t)}var Ct={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Kn(e){return Io(e,null,process.env.NODE_ENV!=="production"?{messages:v1}:void 0)}var v1={[Ct.INVALID_ARGUMENT]:"Invalid arguments",[Ct.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Ct.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Ct.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Ct.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Ct.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Ct.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function wu(e,t){return t.locale!=null?Qd(t.locale):Qd(e.locale)}var ls;function Qd(e){if(ke(e))return e;if(Qe(e)){if(e.resolvedOnce&&ls!=null)return ls;if(e.constructor.name==="Function"){const t=e();if(w_(t))throw Kn(Ct.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return ls=t}else throw Kn(Ct.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Kn(Ct.NOT_SUPPORT_LOCALE_TYPE)}function y1(e,t,r){return[...new Set([r,...rt(t)?t:Ve(t)?Object.keys(t):ke(t)?[t]:[r]])]}function ac(e,t,r){const o=ke(r)?r:wa,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let l=a.__localeChainCache.get(o);if(!l){l=[];let i=[r];for(;rt(i);)i=ef(l,i,t);const s=rt(t)||!Ie(t)?t:t.default?t.default:null;i=ke(s)?[s]:s,rt(i)&&ef(l,i,!1),a.__localeChainCache.set(o,l)}return l}function ef(e,t,r){let o=!0;for(let a=0;a<t.length&&Fe(o);a++){const l=t[a];ke(l)&&(o=b1(e,t[a],r))}return o}function b1(e,t,r){let o;const a=t.split("-");do o=_1(e,a.join("-"),r),a.splice(-1,1);while(a.length&&o===!0);return o}function _1(e,t,r){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(rt(r)||Ie(r))&&r[a]&&(o=r[a])}return o}var Sr=[];Sr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Sr[1]={w:[1],".":[2],"[":[4],o:[7]};Sr[2]={w:[2],i:[3,0],0:[3,0]};Sr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Sr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Sr[5]={"'":[4,0],o:8,l:[5,0]};Sr[6]={'"':[4,0],o:8,l:[6,0]};var w1=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function k1(e){return w1.test(e)}function $1(e){const t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function E1(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function C1(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:k1(t)?$1(t):"*"+t}function S1(e){const t=[];let r=-1,o=0,a=0,l,i,s,c,u,d,f;const m=[];m[0]=()=>{i===void 0?i=s:i+=s},m[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},m[2]=()=>{m[0](),a++},m[3]=()=>{if(a>0)a--,o=4,m[0]();else{if(a=0,i===void 0||(i=C1(i),i===!1))return!1;m[1]()}};function p(){const h=e[r+1];if(o===5&&h==="'"||o===6&&h==='"')return r++,s="\\"+h,m[0](),!0}for(;o!==null;)if(r++,l=e[r],!(l==="\\"&&p())){if(c=E1(l),f=Sr[o],u=f[c]||f.l||8,u===8||(o=u[0],u[1]!==void 0&&(d=m[u[1]],d&&(s=l,d()===!1))))return;if(o===7)return t}}var tf=new Map;function x1(e,t){return Ve(e)?e[t]:null}function T1(e,t){if(!Ve(e))return null;let r=tf.get(t);if(r||(r=S1(t),r&&tf.set(t,r)),!r)return null;const o=r.length;let a=e,l=0;for(;l<o;){const i=r[l];if(xh.includes(i)&&un(a)||!Ve(a)||!sn(a,i))return null;const s=a[i];if(s===void 0||Qe(a))return null;a=s,l++}return a}var yt={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,INVALID_NUMBER_ARGUMENT:8,INVALID_DATE_ARGUMENT:9};var N1={[yt.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[yt.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[yt.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[yt.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[yt.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[yt.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[yt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future.",[yt.INVALID_NUMBER_ARGUMENT]:"Invalid argument for number formatting: expected a number but received '{value}'.",[yt.INVALID_DATE_ARGUMENT]:"Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."};function tr(e,...t){return ki(N1[e],...t)}var B1="11.4.5";var wa="en-US";var nf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function D1(){return{upper:(e,t)=>t==="text"&&ke(e)?e.toUpperCase():t==="vnode"&&Ve(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ke(e)?e.toLowerCase():t==="vnode"&&Ve(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ke(e)?nf(e):t==="vnode"&&Ve(e)&&"__v_isVNode"in e?nf(e.children):e}}var Th;function A1(e){Th=e}var Nh;function M1(e){Nh=e}var Bh;function L1(e){Bh=e}var Dh=null,rf=e=>{Dh=e},P1=()=>Dh,Ah=null,of=e=>{Ah=e},I1=()=>Ah,af=0;function V1(e={}){const t=Qe(e.onWarn)?e.onWarn:u_,r=ke(e.version)?e.version:B1,o=ke(e.locale)||Qe(e.locale)?e.locale:wa,a=Qe(o)?wa:o,l=rt(e.fallbackLocale)||Ie(e.fallbackLocale)||ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=Ie(e.messages)?e.messages:is(a),s=Ie(e.datetimeFormats)?e.datetimeFormats:is(a),c=Ie(e.numberFormats)?e.numberFormats:is(a),u=pt(Ye(),e.modifiers,D1()),d=e.pluralRules||Ye(),f=Qe(e.missing)?e.missing:null,m=Fe(e.missingWarn)||Co(e.missingWarn)?e.missingWarn:!0,p=Fe(e.fallbackWarn)||Co(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,y=!!e.unresolving,b=Qe(e.postTranslation)?e.postTranslation:null,g=Ie(e.processor)?e.processor:null,v=Fe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter,w=Qe(e.messageCompiler)?e.messageCompiler:Th;process.env.NODE_ENV!=="production"&&Qe(e.messageCompiler)&&hu(tr(yt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const k=Qe(e.messageResolver)?e.messageResolver:Nh||x1,S=Qe(e.localeFallbacker)?e.localeFallbacker:Bh||y1,E=Ve(e.fallbackContext)?e.fallbackContext:void 0,C=e,M=Ve(C.__datetimeFormatters)?C.__datetimeFormatters:new Map,A=Ve(C.__numberFormatters)?C.__numberFormatters:new Map,z=Ve(C.__meta)?C.__meta:{};af++;const D={version:r,cid:af,locale:o,fallbackLocale:l,messages:i,modifiers:u,pluralRules:d,missing:f,missingWarn:m,fallbackWarn:p,fallbackFormat:h,unresolving:y,postTranslation:b,processor:g,warnHtmlMessage:v,escapeParameter:_,messageCompiler:w,messageResolver:k,localeFallbacker:S,fallbackContext:E,onWarn:t,__meta:z};return D.datetimeFormats=s,D.numberFormats=c,D.__datetimeFormatters=M,D.__numberFormatters=A,process.env.NODE_ENV!=="production"&&(D.__v_emitter=C.__v_emitter!=null?C.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&p1(D,r,z),D}var is=e=>({[e]:Ye()});function Ci(e,t){return e instanceof RegExp?e.test(t):e}function Mh(e,t){return e instanceof RegExp?e.test(t):e}function ku(e,t,r,o,a){const{missing:l,onWarn:i}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:r,key:t,type:a,groupId:`${a}:${t}`})}if(l!==null){const s=l(e,r,t,a);return ke(s)?s:t}else return process.env.NODE_ENV!=="production"&&Mh(o,t)&&i(tr(yt.NOT_FOUND_KEY,{key:t,locale:r})),t}function Wo(e,t,r){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function Lh(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function O1(e,t){const r=t.indexOf(e);if(r===-1)return!1;for(let o=r+1;o<t.length;o++)if(Lh(e,t[o]))return!0;return!1}var lf=typeof Intl<"u",Ph={dateTimeFormat:lf&&typeof Intl.DateTimeFormat<"u",numberFormat:lf&&typeof Intl.NumberFormat<"u"};function sf(e,...t){const{datetimeFormats:r,unresolving:o,fallbackLocale:a,onWarn:l,localeFallbacker:i}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!Ph.dateTimeFormat)return l(tr(yt.CANNOT_FORMAT_DATE)),"";if(!ke(t[0])&&!vh(t[0])&&!mt(t[0]))return process.env.NODE_ENV!=="production"&&l(tr(yt.INVALID_DATE_ARGUMENT,{value:String(t[0])})),"";const[c,u,d,f]=lc(...t),m=Fe(d.missingWarn)?d.missingWarn:e.missingWarn,p=Fe(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,h=!!d.part,y=wu(e,d),b=i(e,a,y);if(!ke(c)||c===""){const M=new Intl.DateTimeFormat(y.replace(/!/g,""),f);return h?M.formatToParts(u):M.format(u)}let g={},v,_=null,w=y,k=null;const S="datetime format";for(let M=0;M<b.length;M++){if(v=k=b[M],process.env.NODE_ENV!=="production"&&y!==v&&Ci(p,c)&&l(tr(yt.FALLBACK_TO_DATE_FORMAT,{key:c,target:v})),process.env.NODE_ENV!=="production"&&y!==v){const A=e.__v_emitter;A&&A.emit("fallback",{type:S,key:c,from:w,to:k,groupId:`${S}:${c}`})}if(g=r[v]||{},_=g[c],Ie(_))break;ku(e,c,v,m,S),w=k}if(!Ie(_)||!ke(v))return o?-1:c;let E=`${v}__${c}`;$i(f)||(E=`${E}__${JSON.stringify(f)}`);let C=s.get(E);return C||(C=new Intl.DateTimeFormat(v,pt({},_,f)),s.set(E,C)),h?C.formatToParts(u):C.format(u)}var Ih=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function lc(...e){const[t,r,o,a]=e,l=Ye();let i=Ye(),s;if(ke(t)){const c=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Kn(Ct.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();s=new Date(u);try{s.toISOString()}catch{throw Kn(Ct.INVALID_ISO_DATE_ARGUMENT)}}else if(vh(t)){if(isNaN(t.getTime()))throw Kn(Ct.INVALID_DATE_ARGUMENT);s=t}else if(mt(t))s=t;else throw Kn(Ct.INVALID_ARGUMENT);return ke(r)?l.key=r:Ie(r)&&Object.keys(r).forEach(c=>{Ih.includes(c)?i[c]=r[c]:l[c]=r[c]}),ke(o)?l.locale=o:Ie(o)&&(i=o),Ie(a)&&(i=a),[l.key||"",s,l,i]}function cf(e,t,r){const o=e;for(const a in r){const l=`${t}__${a}`;o.__datetimeFormatters.has(l)&&o.__datetimeFormatters.delete(l)}}function uf(e,...t){const{numberFormats:r,unresolving:o,fallbackLocale:a,onWarn:l,localeFallbacker:i}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!Ph.numberFormat)return l(tr(yt.CANNOT_FORMAT_NUMBER)),"";if(!mt(t[0]))return process.env.NODE_ENV!=="production"&&l(tr(yt.INVALID_NUMBER_ARGUMENT,{value:String(t[0])})),"";const[c,u,d,f]=ic(...t),m=Fe(d.missingWarn)?d.missingWarn:e.missingWarn,p=Fe(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,h=!!d.part,y=wu(e,d),b=i(e,a,y);if(!ke(c)||c===""){const M=new Intl.NumberFormat(y.replace(/!/g,""),f);return h?M.formatToParts(u):M.format(u)}let g={},v,_=null,w=y,k=null;const S="number format";for(let M=0;M<b.length;M++){if(v=k=b[M],process.env.NODE_ENV!=="production"&&y!==v&&Ci(p,c)&&l(tr(yt.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:v})),process.env.NODE_ENV!=="production"&&y!==v){const A=e.__v_emitter;A&&A.emit("fallback",{type:S,key:c,from:w,to:k,groupId:`${S}:${c}`})}if(g=r[v]||{},_=g[c],Ie(_))break;ku(e,c,v,m,S),w=k}if(!Ie(_)||!ke(v))return o?-1:c;let E=`${v}__${c}`;$i(f)||(E=`${E}__${JSON.stringify(f)}`);let C=s.get(E);return C||(C=new Intl.NumberFormat(v,pt({},_,f)),s.set(E,C)),h?C.formatToParts(u):C.format(u)}var Vh=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ic(...e){const[t,r,o,a]=e,l=Ye();let i=Ye();if(!mt(t))throw Kn(Ct.INVALID_ARGUMENT);const s=t;return ke(r)?l.key=r:Ie(r)&&Object.keys(r).forEach(c=>{Vh.includes(c)?i[c]=r[c]:l[c]=r[c]}),ke(o)?l.locale=o:Ie(o)&&(i=o),Ie(a)&&(i=a),[l.key||"",s,l,i]}function df(e,t,r){const o=e;for(const a in r){const l=`${t}__${a}`;o.__numberFormatters.has(l)&&o.__numberFormatters.delete(l)}}var R1=e=>e,F1=e=>"",z1="text",U1=e=>e.length===0?"":yu(e),H1=k_;function ss(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function W1(e){const t=mt(e.pluralIndex)?e.pluralIndex:-1;return mt(e.named?.count)?e.named.count:mt(e.named?.n)?e.named.n:t}function j1(e={}){const t=e.locale,r=W1(e),o=ke(t)&&Qe(e.pluralRules?.[t])?e.pluralRules[t]:ss,a=o===ss?void 0:ss,l=g=>g[o(r,g.length,a)],i=e.list||[],s=g=>i[g],c=e.named||Ye();mt(e.pluralIndex)&&(c.count||=e.pluralIndex,c.n||=e.pluralIndex);const u=g=>c[g];function d(g,v){const _=Qe(e.messages)?e.messages(g,!!v):Ve(e.messages)?e.messages[g]:!1;return _||(e.parent?e.parent.message(g):F1)}const f=g=>e.modifiers?e.modifiers[g]:R1,m=Qe(e.processor?.normalize)?e.processor.normalize:U1,p=Qe(e.processor?.interpolate)?e.processor.interpolate:H1,h=ke(e.processor?.type)?e.processor.type:z1,b={list:s,named:u,plural:l,linked:(g,...v)=>{const[_,w]=v;let k="text",S="";v.length===1?Ve(_)?(S=_.modifier||S,k=_.type||k):ke(_)&&(S=_||S):v.length===2&&(ke(_)&&(S=_||S),ke(w)&&(k=w||k));const E=d(g,!0)(b),C=E===""||E===void 0?g:E,M=k==="vnode"&&rt(C)&&S?C[0]:C;return S?f(S)(M,k):M},message:d,type:h,interpolate:p,normalize:m,values:pt(Ye(),i,c)};return b}var ff=()=>"",rn=e=>Qe(e);function mf(e,...t){const{fallbackFormat:r,postTranslation:o,unresolving:a,messageCompiler:l,fallbackLocale:i,messages:s}=e,[c,u]=sc(...t),d=Fe(u.missingWarn)?u.missingWarn:e.missingWarn,f=Fe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,m=Fe(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,h=ke(u.default)||Fe(u.default)?Fe(u.default)?l?c:()=>c:u.default:r?l?c:()=>c:null,y=r||h!=null&&(ke(h)||Qe(h)),b=wu(e,u);m&&q1(u);let[g,v,_]=p?[c,b,s[b]||Ye()]:Oh(e,c,b,i,f,d),w=g,k=c;if(!p&&!(ke(w)||un(w)||rn(w))&&y&&(w=h,k=w),!p&&(!(ke(w)||un(w)||rn(w))||!ke(v)))return a?-1:c;if(process.env.NODE_ENV!=="production"&&ke(w)&&e.messageCompiler==null)return`${c}`,c;let S=!1;const E=()=>{S=!0},C=rn(w)?w:Rh(e,c,v,w,k,E);if(S)return w;const M=G1(e,C,j1(K1(e,v,_,u)));let A=o?o(M,c):M;if(m&&ke(A)&&(A=b_(A)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const z={timestamp:Date.now(),key:ke(c)?c:rn(w)?w.key:"",locale:v||(rn(w)?w.locale:""),format:ke(w)?w:rn(w)?w.source:"",message:A};z.meta=pt({},e.__meta,P1()||{}),h1(z)}return A}function q1(e){rt(e.list)?e.list=e.list.map(t=>ke(t)?qd(t):t):Ve(e.named)&&Object.keys(e.named).forEach(t=>{ke(e.named[t])&&(e.named[t]=qd(e.named[t]))})}function Oh(e,t,r,o,a,l){const{messages:i,onWarn:s,messageResolver:c,localeFallbacker:u}=e,d=u(e,o,r);let f=Ye(),m,p=null,h=r,y=null;const b="translate";for(let g=0;g<d.length;g++){m=y=d[g],process.env.NODE_ENV!=="production"&&r!==m&&!Lh(r,m)&&Ci(a,t)&&s(tr(yt.FALLBACK_TO_TRANSLATE,{key:t,target:m}));const v=process.env.NODE_ENV!=="production"?e.__v_emitter:void 0;process.env.NODE_ENV!=="production"&&r!==m&&v&&v.emit("fallback",{type:b,key:t,from:h,to:y,groupId:`${b}:${t}`}),f=i[m]||Ye();let _=null,w,k;if(process.env.NODE_ENV!=="production"&&kn&&v&&(_=window.performance.now(),w="intlify-message-resolve-start",k="intlify-message-resolve-end",Qt&&Qt(w)),(p=c(f,t))===null&&(p=f[t]),process.env.NODE_ENV!=="production"&&kn&&v){const S=window.performance.now();v&&_&&p&&v.emit("message-resolve",{type:"message-resolve",key:t,message:p,time:S-_,groupId:`${b}:${t}`}),w&&k&&Qt&&zr&&(Qt(k),zr("intlify message resolve",w,k))}if(ke(p)||un(p)||rn(p))break;if(!O1(m,d)){const S=ku(e,t,m,l,b);S!==t&&(p=S)}h=y}return[p,m,f]}function Rh(e,t,r,o,a,l){const{messageCompiler:i,warnHtmlMessage:s}=e;if(rn(o)){const p=o;return p.locale=p.locale||r,p.key=p.key||t,p}if(i==null){const p=(()=>o);return p.locale=r,p.key=t,p}const c=process.env.NODE_ENV!=="production"?e.__v_emitter:void 0;let u=null,d,f;process.env.NODE_ENV!=="production"&&kn&&c&&(u=window.performance.now(),d="intlify-message-compilation-start",f="intlify-message-compilation-end",Qt&&Qt(d));const m=i(o,Y1(e,r,a,o,s,l));if(process.env.NODE_ENV!=="production"&&kn&&c){const p=window.performance.now();c&&u&&c.emit("message-compilation",{type:"message-compilation",message:o,time:p-u,groupId:`translate:${t}`}),d&&f&&Qt&&zr&&(Qt(f),zr("intlify message compilation",d,f))}return m.locale=r,m.key=t,m.source=o,m}function G1(e,t,r){const o=process.env.NODE_ENV!=="production"?e.__v_emitter:void 0;let a=null,l,i;process.env.NODE_ENV!=="production"&&kn&&o&&(a=window.performance.now(),l="intlify-message-evaluation-start",i="intlify-message-evaluation-end",Qt&&Qt(l));const s=t(r);if(process.env.NODE_ENV!=="production"&&kn&&o){const c=window.performance.now();o&&a&&o.emit("message-evaluation",{type:"message-evaluation",value:s,time:c-a,groupId:`translate:${t.key}`}),l&&i&&Qt&&zr&&(Qt(i),zr("intlify message evaluation",l,i))}return s}function sc(...e){const[t,r,o]=e,a=Ye();if(!ke(t)&&!mt(t)&&!rn(t)&&!un(t))throw Kn(Ct.INVALID_ARGUMENT);const l=mt(t)?String(t):(rn(t),t);return mt(r)?a.plural=r:ke(r)?a.default=r:Ie(r)&&!$i(r)?a.named=r:rt(r)&&(a.list=r),mt(o)?a.plural=o:ke(o)?a.default=o:Ie(o)&&pt(a,o),[l,a]}function Y1(e,t,r,o,a,l){return{locale:t,key:r,warnHtmlMessage:a,onError:i=>{if(l&&l(i),process.env.NODE_ENV!=="production"){const s=X1(o),c=i.location&&s&&$_(s,i.location.start.offset,i.location.end.offset),u=e.__v_emitter;u&&s&&u.emit("compile-error",{message:s,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${r}`});const d=`Message compilation error: ${i.message}`;throw new SyntaxError(c?`${d}
8
8
  ${c}`:d)}throw i},onCacheKey:i=>f_(t,r,i)}}function X1(e){if(ke(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function K1(e,t,r,o){const{modifiers:a,pluralRules:l,messageResolver:i,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:d}=e,m={locale:t,modifiers:a,pluralRules:l,messages:(p,h)=>{let y=i(r,p);if(y==null&&(d||h)){const[b,,g]=Oh(d||e,p,t,s,c,u);y=b??i(g,p)}if(ke(y)||un(y)){let b=!1;const v=Rh(e,p,t,y,p,()=>{b=!0});return b?ff:v}else return rn(y)?y:ff}};return e.processor&&(m.processor=e.processor),o.list&&(m.list=o.list),o.named&&(m.named=o.named),mt(o.plural)&&(m.pluralIndex=o.plural),m}e1();function J1(){return Fh().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Fh(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Z1=typeof Proxy=="function",Q1="devtools-plugin:setup",ew="plugin:settings:set";var Qr,cc;function tw(){var e;return Qr!==void 0||(typeof window<"u"&&window.performance?(Qr=!0,cc=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Qr=!0,cc=globalThis.perf_hooks.performance):Qr=!1),Qr}function nw(){return tw()?cc.now():Date.now()}var rw=class{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const r={};if(e.settings)for(const l in e.settings)r[l]=e.settings[l].defaultValue;const o=`__vue-devtools-plugin-settings__${e.id}`;let a=Object.assign({},r);try{const l=localStorage.getItem(o),i=JSON.parse(l);Object.assign(a,i)}catch{}this.fallbacks={getSettings(){return a},setSettings(l){try{localStorage.setItem(o,JSON.stringify(l))}catch{}a=l},now(){return nw()}},t&&t.on(ew,(l,i)=>{l===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(l,i)=>this.target?this.target.on[i]:(...s)=>{this.onQueue.push({method:i,args:s})}}),this.proxiedTarget=new Proxy({},{get:(l,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...s)=>(this.targetQueue.push({method:i,args:s,resolve:()=>{}}),this.fallbacks[i](...s)):(...s)=>new Promise(c=>{this.targetQueue.push({method:i,args:s,resolve:c})})})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}};function ow(e,t){const r=e,o=Fh(),a=J1(),l=Z1&&r.enableEarlyProxy;if(a&&(o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!l))a.emit(Q1,e,t);else{const i=l?new rw(r,a):null;(o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:r,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}var aw="11.4.5";function lw(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Lr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Lr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Lr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Lr().__INTLIFY_PROD_DEVTOOLS__=!1)}var Je={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Dt(e,...t){return Io(e,null,process.env.NODE_ENV!=="production"?{messages:iw,args:t}:void 0)}var iw={[Je.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Je.INVALID_ARGUMENT]:"Invalid argument",[Je.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Je.NOT_INSTALLED]:"Need to install with `app.use` function",[Je.UNEXPECTED_ERROR]:"Unexpected error",[Je.REQUIRED_VALUE]:"Required in value: {0}",[Je.INVALID_VALUE]:"Invalid value",[Je.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Je.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Je.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Je.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},uc=Sn("__translateVNode"),dc=Sn("__datetimeParts"),fc=Sn("__numberParts"),or=Sn("__enableEmitter"),Ur=Sn("__disableEmitter"),zh=Sn("__setPluralRules");Sn("__intlifyMeta");var Uh=Sn("__injectWithOption"),po=Sn("__dispose"),on={FALLBACK_TO_ROOT:10,NOT_FOUND_PARENT_SCOPE:11,IGNORE_OBJ_FLATTEN:12,DEPRECATE_LEGACY_MODE:13,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:14,DUPLICATE_USE_I18N_CALLING:15},sw={[on.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[on.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[on.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[on.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
9
- About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[on.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[on.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function xo(e,...t){return ki(sw[e],...t)}function ka(e){if(!Ve(e)||un(e))return e;for(const t in e)if(sn(e,t))if(!t.includes("."))Ve(e[t])&&ka(e[t]);else{const r=t.split("."),o=r.length-1;let a=e,l=!1;for(let i=0;i<o;i++){if(r[i]==="__proto__")throw new Error(`unsafe key: ${r[i]}`);if(r[i]in a||(a[r[i]]=Ye()),!Ve(a[r[i]])){process.env.NODE_ENV!=="production"&&(xo(on.IGNORE_OBJ_FLATTEN,{key:r[i]}),void 0),l=!0;break}a=a[r[i]]}if(l||(un(a)?xh.includes(r[o])||delete e[t]:(a[r[o]]=e[t],delete e[t])),!un(a)){const i=a[r[o]];Ve(i)&&ka(i)}}return e}function $u(e,t){const{messages:r,__i18n:o,messageResolver:a,flatJson:l}=t,i=Ie(r)?r:rt(o)?Ye():{[e]:Ye()};if(rt(o)&&o.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:u}=s;c?(i[c]=i[c]||Ye(),Cl(u,i[c])):Cl(u,i)}else ke(s)&&Cl(JSON.parse(s),i)}),a==null&&l)for(const s in i)sn(i,s)&&ka(i[s]);return i}function Hh(e){return e.type}function Wh(e,t,r){let o=Ve(t.messages)?t.messages:Ye();"__i18nGlobal"in r&&(o=$u(e.locale.value,{messages:o,__i18n:r.__i18nGlobal}));const a=Object.keys(o);if(a.length&&a.forEach(l=>{e.mergeLocaleMessage(l,o[l])}),Ve(t.datetimeFormats)){const l=Object.keys(t.datetimeFormats);l.length&&l.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(Ve(t.numberFormats)){const l=Object.keys(t.numberFormats);l.length&&l.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}function pf(e){return(0,n.createVNode)(n.Text,null,e,0)}function yo(){const e="currentInstance";return e in n?n[e]:n.getCurrentInstance()}var hf="__INTLIFY_META__",gf=()=>[],cw=()=>!1,vf=0;function yf(e){return((t,r,o,a)=>e(r,o,yo()||void 0,a))}var uw=()=>{const e=yo();let t=null;return e&&(t=Hh(e)[hf])?{[hf]:t}:null};function Ul(e={}){const{__root:t,__injectWithOption:r}=e,o=t===void 0,a=e.flatJson,l=kn?n.ref:n.shallowRef;let i=Fe(e.inheritLocale)?e.inheritLocale:!0;const s=l(t&&i?t.locale.value:ke(e.locale)?e.locale:wa),c=l(t&&i?t.fallbackLocale.value:ke(e.fallbackLocale)||rt(e.fallbackLocale)||Ie(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=l($u(s.value,e)),d=l(Ie(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),f=l(Ie(e.numberFormats)?e.numberFormats:{[s.value]:{}});let m=t?t.missingWarn:Fe(e.missingWarn)||Co(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:Fe(e.fallbackWarn)||Co(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:Fe(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,b=Qe(e.missing)?e.missing:null,g=Qe(e.missing)?yf(e.missing):null,v=Qe(e.postTranslation)?e.postTranslation:null,_=t?t.warnHtmlMessage:Fe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const k=t?t.modifiers:Ie(e.modifiers)?e.modifiers:{};let S=e.pluralRules||t&&t.pluralRules,E;E=(()=>{o&&of(null);const se={version:aw,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:k,pluralRules:S,missing:g===null?void 0:g,missingWarn:m,fallbackWarn:p,fallbackFormat:y,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:_,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};se.datetimeFormats=d.value,se.numberFormats=f.value,se.__datetimeFormatters=Ie(E)?E.__datetimeFormatters:void 0,se.__numberFormatters=Ie(E)?E.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(se.__v_emitter=Ie(E)?E.__v_emitter:void 0);const me=V1(se);return o&&of(me),me})(),Wo(E,s.value,c.value);function M(){return[s.value,c.value,u.value,d.value,f.value]}const A=(0,n.computed)({get:()=>s.value,set:se=>{E.locale=se,s.value=se}}),z=(0,n.computed)({get:()=>c.value,set:se=>{E.fallbackLocale=se,c.value=se,Wo(E,s.value,se)}}),D=(0,n.computed)(()=>u.value),R=(0,n.computed)(()=>d.value),$=(0,n.computed)(()=>f.value);function V(){return Qe(v)?v:null}function P(se){v=se,E.postTranslation=se}function B(){return b}function O(se){se!==null&&(g=yf(se)),b=se,E.missing=g}function K(se,me){return se!=="translate"||!me.resolvedMessage}const Y=(se,me,$e,Ae,ze,ut)=>{M();let tt;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&rf(uw()),o||(E.fallbackContext=t?I1():void 0),tt=se(E)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&rf(null),o||(E.fallbackContext=void 0)}if($e!=="translate exists"&&mt(tt)&&tt===-1||$e==="translate exists"&&!tt){const[It,xr]=me();if(process.env.NODE_ENV!=="production"&&t&&ke(It)&&K($e,xr)&&(h&&(Ci(p,It)||Mh(m,It))&&(xo(on.FALLBACK_TO_ROOT,{key:It,type:$e}),void 0),process.env.NODE_ENV!=="production")){const{__v_emitter:rl}=E;rl&&h&&rl.emit("fallback",{type:$e,key:It,to:"global",groupId:`${$e}:${It}`})}return t&&h?Ae(t):ze(It)}else{if(ut(tt))return tt;throw Dt(Je.UNEXPECTED_RETURN_TYPE)}};function re(...se){return Y(me=>Reflect.apply(mf,null,[me,...se]),()=>sc(...se),"translate",me=>Reflect.apply(me.t,me,[...se]),me=>me,me=>ke(me))}function G(...se){const[me,$e,Ae]=se;if(Ae&&!Ve(Ae))throw Dt(Je.INVALID_ARGUMENT);return re(me,$e,pt({resolvedMessage:!0},Ae||{}))}function N(...se){return Y(me=>Reflect.apply(sf,null,[me,...se]),()=>lc(...se),"datetime format",me=>Reflect.apply(me.d,me,[...se]),()=>"",me=>ke(me)||rt(me))}function H(...se){return Y(me=>Reflect.apply(uf,null,[me,...se]),()=>ic(...se),"number format",me=>Reflect.apply(me.n,me,[...se]),()=>"",me=>ke(me)||rt(me))}function U(se){return se.map(me=>ke(me)||mt(me)||Fe(me)?pf(String(me)):me)}const j={normalize:U,interpolate:se=>se,type:"vnode"};function te(...se){return Y(me=>{let $e;const Ae=me;try{Ae.processor=j,$e=Reflect.apply(mf,null,[Ae,...se])}finally{Ae.processor=null}return $e},()=>sc(...se),"translate",me=>me[uc](...se),me=>[pf(me)],me=>rt(me))}function ae(...se){return Y(me=>Reflect.apply(uf,null,[me,...se]),()=>ic(...se),"number format",me=>me[fc](...se),gf,me=>ke(me)||rt(me))}function we(...se){return Y(me=>Reflect.apply(sf,null,[me,...se]),()=>lc(...se),"datetime format",me=>me[dc](...se),gf,me=>ke(me)||rt(me))}function J(se){S=se,E.pluralRules=S}function ue(se,me){return Y(()=>{if(!se)return!1;const $e=ke(me)?me:s.value,Ae=ke(me)?[$e]:ac(E,c.value,$e);for(let ze=0;ze<Ae.length;ze++){const ut=ce(Ae[ze]);let tt=E.messageResolver(ut,se);if(tt===null&&(tt=ut[se]),un(tt)||rn(tt)||ke(tt))return!0}return!1},()=>[se],"translate exists",$e=>Reflect.apply($e.te,$e,[se,me]),cw,$e=>Fe($e))}function pe(se){let me=null;const $e=ac(E,c.value,s.value);for(let Ae=0;Ae<$e.length;Ae++){const ze=u.value[$e[Ae]]||{},ut=E.messageResolver(ze,se);if(ut!=null){me=ut;break}}return me}function ve(se){const me=pe(se);return me??(t?t.tm(se)||{}:{})}function ce(se){return u.value[se]||{}}function ne(se,me){if(a){const $e={[se]:me};for(const Ae in $e)sn($e,Ae)&&ka($e[Ae]);me=$e[se]}u.value[se]=me,E.messages=u.value}function fe(se,me){u.value[se]=u.value[se]||{};const $e={[se]:me};if(a)for(const Ae in $e)sn($e,Ae)&&ka($e[Ae]);me=$e[se],Cl(me,u.value[se]),E.messages=u.value}function F(se){return d.value[se]||{}}function W(se,me){d.value[se]=me,E.datetimeFormats=d.value,cf(E,se,me)}function ie(se,me){d.value[se]=pt(d.value[se]||{},me),E.datetimeFormats=d.value,cf(E,se,me)}function he(se){return f.value[se]||{}}function Be(se,me){f.value[se]=me,E.numberFormats=f.value,df(E,se,me)}function Xe(se,me){f.value[se]=pt(f.value[se]||{},me),E.numberFormats=f.value,df(E,se,me)}vf++,t&&kn&&((0,n.watch)(t.locale,se=>{i&&(s.value=se,E.locale=se,Wo(E,s.value,c.value))}),(0,n.watch)(t.fallbackLocale,se=>{i&&(c.value=se,E.fallbackLocale=se,Wo(E,s.value,c.value))}));const Pe={id:vf,locale:A,fallbackLocale:z,get inheritLocale(){return i},set inheritLocale(se){i=se,se&&t&&(s.value=t.locale.value,c.value=t.fallbackLocale.value,Wo(E,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:D,get modifiers(){return k},get pluralRules(){return S||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(se){m=se,E.missingWarn=m},get fallbackWarn(){return p},set fallbackWarn(se){p=se,E.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(se){h=se},get fallbackFormat(){return y},set fallbackFormat(se){y=se,E.fallbackFormat=y},get warnHtmlMessage(){return _},set warnHtmlMessage(se){_=se,E.warnHtmlMessage=se},get escapeParameter(){return w},set escapeParameter(se){w=se,E.escapeParameter=se},t:re,getLocaleMessage:ce,setLocaleMessage:ne,mergeLocaleMessage:fe,getPostTranslationHandler:V,setPostTranslationHandler:P,getMissingHandler:B,setMissingHandler:O,[zh]:J};return Pe.datetimeFormats=R,Pe.numberFormats=$,Pe.rt=G,Pe.te=ue,Pe.tm=ve,Pe.d=N,Pe.n=H,Pe.getDateTimeFormat=F,Pe.setDateTimeFormat=W,Pe.mergeDateTimeFormat=ie,Pe.getNumberFormat=he,Pe.setNumberFormat=Be,Pe.mergeNumberFormat=Xe,Pe[Uh]=r,Pe[uc]=te,Pe[dc]=we,Pe[fc]=ae,process.env.NODE_ENV!=="production"&&(Pe[or]=se=>{E.__v_emitter=se},Pe[Ur]=()=>{E.__v_emitter=void 0}),Pe}var jh="vue-i18n: composer properties",cs={"vue-devtools-plugin-vue-i18n":"Vue I18n DevTools","vue-i18n-resource-inspector":"Vue I18n DevTools","vue-i18n-timeline":"Vue I18n"},dw={"vue-i18n-resource-inspector":"Search for scopes ..."},fw={"vue-i18n-timeline":16764185},mc;async function mw(e,t){return new Promise((r,o)=>{try{ow({id:"vue-devtools-plugin-vue-i18n",label:cs["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[jh],app:e},a=>{mc=a,a.on.visitComponentTree(({componentInstance:i,treeNode:s})=>{pw(i,s,t)}),a.on.inspectComponent(({componentInstance:i,instanceData:s})=>{i.__VUE_I18N__&&s&&(t.mode==="legacy"?i.__VUE_I18N__!==t.global.__composer&&bf(s,i.__VUE_I18N__):bf(s,i.__VUE_I18N__))}),a.addInspector({id:"vue-i18n-resource-inspector",label:cs["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:dw["vue-i18n-resource-inspector"]}),a.on.getInspectorTree(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&bw(i,t)});const l=new Map;a.on.getInspectorState(async i=>{if(i.app===e&&i.inspectorId==="vue-i18n-resource-inspector")if(a.unhighlightElement(),ww(i,t),i.nodeId==="global"){if(!l.has(i.app)){const[s]=await a.getComponentInstances(i.app);l.set(i.app,s)}a.highlightElement(l.get(i.app))}else{const s=_w(i.nodeId,t);s&&a.highlightElement(s)}}),a.on.editInspectorState(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&$w(i,t)}),a.addTimelineLayer({id:"vue-i18n-timeline",label:cs["vue-i18n-timeline"],color:fw["vue-i18n-timeline"]}),r(!0)})}catch{o(!1)}})}function qh(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function pw(e,t,r){const o=r.mode==="composition"?r.global:r.global.__composer;if(e&&e.__VUE_I18N__&&e.__VUE_I18N__!==o){const a={label:`i18n (${qh(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(a)}}function bf(e,t){const r=jh;e.state.push({type:r,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:r,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:r,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:r,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:r,key:"messages",editable:!1,value:Eu(t.messages.value)}),e.state.push({type:r,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:r,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Eu(e){const t={};return Object.keys(e).forEach(r=>{const o=e[r];Qe(o)&&"source"in o?t[r]=yw(o):un(o)&&o.loc&&o.loc.source?t[r]=o.loc.source:Ve(o)?t[r]=Eu(o):t[r]=o}),t}var hw={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function gw(e){return e.replace(/[<>"&]/g,vw)}function vw(e){return hw[e]||e}function yw(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${gw(e.source)}")`:"(?)"}`}}}function bw(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const r=t.mode==="composition"?t.global:t.global.__composer;for(const[o,a]of t.__instances){const l=t.mode==="composition"?a:a.__composer;r!==l&&e.rootNodes.push({id:l.id.toString(),label:`${qh(o)} Scope`})}}function _w(e,t){let r=null;if(e!=="global"){for(const[o,a]of t.__instances.entries())if(a.id.toString()===e){r=o;break}}return r}function Gh(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const r=Array.from(t.__instances.values()).find(o=>o.id.toString()===e);return r?t.mode==="composition"?r:r.__composer:null}}function ww(e,t){const r=Gh(e.nodeId,t);return r&&(e.state=kw(r)),null}function kw(e){const t={},r="Locale related info";t[r]=[{type:r,key:"locale",editable:!0,value:e.locale.value},{type:r,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:r,key:"availableLocales",editable:!1,value:e.availableLocales},{type:r,key:"inheritLocale",editable:!0,value:e.inheritLocale}];const o="Locale messages info";t[o]=[{type:o,key:"messages",editable:!1,value:Eu(e.messages.value)}];{const a="Datetime formats info";t[a]=[{type:a,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];const l="Datetime formats info";t[l]=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}]}return t}function Hr(e,t){if(mc){let r;t&&"groupId"in t&&(r=t.groupId,delete t.groupId),mc.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:r,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function $w(e,t){const r=Gh(e.nodeId,t);if(r){const[o]=e.path;o==="locale"&&ke(e.state.value)?r.locale.value=e.state.value:o==="fallbackLocale"&&(ke(e.state.value)||rt(e.state.value)||Ve(e.state.value))?r.fallbackLocale.value=e.state.value:o==="inheritLocale"&&Fe(e.state.value)&&(r.inheritLocale=e.state.value)}}function Ew(e){const t=ke(e.locale)?e.locale:wa,r=ke(e.fallbackLocale)||rt(e.fallbackLocale)||Ie(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Qe(e.missing)?e.missing:void 0,a=Fe(e.silentTranslationWarn)||Co(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=Fe(e.silentFallbackWarn)||Co(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=Fe(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,c=Ie(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,d=Qe(e.postTranslation)?e.postTranslation:void 0,f=ke(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,p=Fe(e.sync)?e.sync:!0;let h=e.messages;if(Ie(e.sharedMessages)){const k=e.sharedMessages;h=Object.keys(k).reduce((S,E)=>(pt(S[E]||(S[E]={}),k[E]),S),h||{})}const{__i18n:y,__root:b,__injectWithOption:g}=e,v=e.datetimeFormats,_=e.numberFormats,w=e.flatJson;return{locale:t,fallbackLocale:r,messages:h,flatJson:w,datetimeFormats:v,numberFormats:_,missing:o,missingWarn:a,fallbackWarn:l,fallbackRoot:i,fallbackFormat:s,modifiers:c,pluralRules:u,postTranslation:d,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:p,__i18n:y,__root:b,__injectWithOption:g}}function pc(e={}){const t=Ul(Ew(e)),{__extender:r}=e,o={id:t.id,get locale(){return t.locale.value},set locale(a){t.locale.value=a},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(a){t.fallbackLocale.value=a},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(a){t.setMissingHandler(a)},get silentTranslationWarn(){return Fe(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(a){t.missingWarn=Fe(a)?!a:a},get silentFallbackWarn(){return Fe(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(a){t.fallbackWarn=Fe(a)?!a:a},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(a){t.fallbackFormat=a},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(a){t.setPostTranslationHandler(a)},get sync(){return t.inheritLocale},set sync(a){t.inheritLocale=a},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){t.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(a){t.escapeParameter=a},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...a){return Reflect.apply(t.t,t,[...a])},rt(...a){return Reflect.apply(t.rt,t,[...a])},te(a,l){return t.te(a,l)},tm(a){return t.tm(a)},getLocaleMessage(a){return t.getLocaleMessage(a)},setLocaleMessage(a,l){t.setLocaleMessage(a,l)},mergeLocaleMessage(a,l){t.mergeLocaleMessage(a,l)},d(...a){return Reflect.apply(t.d,t,[...a])},getDateTimeFormat(a){return t.getDateTimeFormat(a)},setDateTimeFormat(a,l){t.setDateTimeFormat(a,l)},mergeDateTimeFormat(a,l){t.mergeDateTimeFormat(a,l)},n(...a){return Reflect.apply(t.n,t,[...a])},getNumberFormat(a){return t.getNumberFormat(a)},setNumberFormat(a,l){t.setNumberFormat(a,l)},mergeNumberFormat(a,l){t.mergeNumberFormat(a,l)}};return o.__extender=r,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=a=>{const l=t;l[or]&&l[or](a)},o.__disableEmitter=()=>{const a=t;a[Ur]&&a[Ur]()}),o}function Cw(e,t,r){return{beforeCreate(){const o=yo();if(!o)throw Dt(Je.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const l=a.i18n;if(a.__i18n&&(l.__i18n=a.__i18n),l.__root=t,this===this.$root)this.$i18n=_f(e,l);else{l.__injectWithOption=!0,l.__extender=r.__vueI18nExtend,this.$i18n=pc(l);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=_f(e,a);else{this.$i18n=pc({__i18n:a.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Wh(t,a,a),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$te=(l,i)=>this.$i18n.te(l,i),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l),r.__setInstance(o,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$i18n){const o=yo();if(!o)return;const a=this.$i18n;o.__VUE_I18N__=a.__composer;const l=this.__v_emitter=Ei();a.__enableEmitter&&a.__enableEmitter(l),l.on("*",Hr)}},unmounted(){const o=yo();if(!o)throw Dt(Je.UNEXPECTED_ERROR);const a=this.$i18n;process.env.NODE_ENV!=="production"&&o.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Hr),delete this.__v_emitter),this.$i18n&&(a.__disableEmitter&&a.__disableEmitter(),delete o.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),r.__deleteInstance(o),delete this.$i18n}}}function _f(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[zh](t.pluralizationRules||e.pluralizationRules);const r=$u(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(o=>e.mergeLocaleMessage(o,r[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}var Cu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Sw({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===n.Fragment?o.children:[o]],[]):t.reduce((r,o)=>{const a=e[o];return a&&(r[o]=a()),r},Ye())}function Yh(){return n.Fragment}var wf=(0,n.defineComponent)({name:"i18n-t",props:pt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>mt(e)||!isNaN(e)}},Cu),setup(e,t){const{slots:r,attrs:o}=t,a=e.i18n||Su({useScope:e.scope,__useComponent:!0});return()=>{const l=()=>{const c=Object.keys(r).filter(f=>f[0]!=="_"),u=Ye();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=ke(e.plural)?+e.plural:e.plural);const d=Sw(t,c);return a[uc](e.keypath,d,u)},i=pt(Ye(),o),s=ke(e.tag)||Ve(e.tag)?e.tag:Yh();return Ve(s)?(0,n.h)(s,i,{default:l}):(0,n.h)(s,i,l())}}});function xw(e){return rt(e)&&!ke(e[0])}function Xh(e,t,r,o){const{slots:a,attrs:l}=t;return()=>{const i=()=>{const u={part:!0};let d=Ye();e.locale&&(u.locale=e.locale),ke(e.format)?u.key=e.format:Ve(e.format)&&(ke(e.format.key)&&(u.key=e.format.key),d=Object.keys(e.format).reduce((p,h)=>r.includes(h)?pt(Ye(),p,{[h]:e.format[h]}):p,Ye()));const f=o(e.value,u,d);let m=[u.key];return rt(f)?m=f.map((p,h)=>{const y=a[p.type],b=y?y({[p.type]:p.value,index:h,parts:f}):[p.value];return xw(b)&&(b[0].key=`${p.type}-${h}`),b}):ke(f)&&(m=[f]),m},s=pt(Ye(),l),c=ke(e.tag)||Ve(e.tag)?e.tag:Yh();return Ve(c)?(0,n.h)(c,s,{default:i}):(0,n.h)(c,s,i())}}var kf=(0,n.defineComponent)({name:"i18n-n",props:pt({value:{type:Number,required:!0},format:{type:[String,Object]}},Cu),setup(e,t){const r=e.i18n||Su({useScope:e.scope,__useComponent:!0});return Xh(e,t,Vh,(...o)=>r[fc](...o))}});function Tw(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const o=r.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function Nw(e){const t=i=>{process.env.NODE_ENV!=="production"&&hu(xo(on.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));const{instance:s,value:c}=i;if(!s||!s.$)throw Dt(Je.UNEXPECTED_ERROR);const u=Tw(e,s.$),d=$f(c);return[Reflect.apply(u.t,u,[...Ef(d)]),u]};return{created:(i,s)=>{const[c,u]=t(s);kn&&(i.__i18nWatcher=(0,n.watch)(u.locale,()=>{s.instance&&s.instance.$forceUpdate()})),i.__composer=u,i.textContent=c},unmounted:i=>{kn&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:s})=>{if(i.__composer){const c=i.__composer,u=$f(s);i.textContent=Reflect.apply(c.t,c,[...Ef(u)])}},getSSRProps:i=>{const[s]=t(i);return{textContent:s}}}}function $f(e){if(ke(e))return{path:e};if(Ie(e)){if(!("path"in e))throw Dt(Je.REQUIRED_VALUE,"path");return e}else throw Dt(Je.INVALID_VALUE)}function Ef(e){const{path:t,locale:r,args:o,choice:a,plural:l}=e,i={},s=o||{};return ke(r)&&(i.locale=r),mt(a)&&(i.plural=a),mt(l)&&(i.plural=l),[t,s,i]}function Bw(e,t,...r){const o=Ie(r[0])?r[0]:{};(!Fe(o.globalInstall)||o.globalInstall)&&([wf.name,"I18nT"].forEach(a=>e.component(a,wf)),[kf.name,"I18nN"].forEach(a=>e.component(a,kf)),[xf.name,"I18nD"].forEach(a=>e.component(a,xf))),e.directive("t",Nw(t))}var Dw=Sn("global-vue-i18n");function Aw(e={}){const t=__VUE_I18N_LEGACY_API__&&Fe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__;process.env.NODE_ENV!=="production"&&t&&hu(xo(on.DEPRECATE_LEGACY_MODE));const r=Fe(e.globalInjection)?e.globalInjection:!0,o=new Map,[a,l]=Mw(e,t),i=Sn(process.env.NODE_ENV!=="production"?"vue-i18n":"");function s(f){return o.get(f)||null}function c(f,m){o.set(f,m)}function u(f){o.delete(f)}const d={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...m){if(process.env.NODE_ENV!=="production"&&(f.__VUE_I18N__=d),f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,d),Ie(m[0])){const y=m[0];d.__composerExtend=y.__composerExtend,d.__vueI18nExtend=y.__vueI18nExtend}let p=null;!t&&r&&(p=Fw(f,d.global)),__VUE_I18N_FULL_INSTALL__&&Bw(f,d,...m),__VUE_I18N_LEGACY_API__&&t&&f.mixin(Cw(l,l.__composer,d));const h=f.unmount;if(f.unmount=()=>{p&&p(),d.dispose(),h()},process.env.NODE_ENV!=="production"){if(!await mw(f,d))throw Dt(Je.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const y=Ei();if(t){const b=l;b.__enableEmitter&&b.__enableEmitter(y)}else{const b=l;b[or]&&b[or](y)}y.on("*",Hr)}},get global(){return l},dispose(){a.stop()},__instances:o,__getInstance:s,__setInstance:c,__deleteInstance:u};return d}function Su(e={}){const t=yo();if(t==null)throw Dt(Je.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Dt(Je.NOT_INSTALLED);const r=Lw(t),o=Iw(r),a=Hh(t),l=Pw(e,a);if(l==="global")return Wh(o,e,a),o;if(l==="parent"){let c=Cf(r,t,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&(xo(on.NOT_FOUND_PARENT_SCOPE),void 0),c=o),c}if(l==="isolated"){if(r.mode!=="composition")throw Dt(Je.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const c=r,u=pt({},e);u.__root=Cf(r,t)||o;const d=Ul(u);c.__composerExtend&&(d[po]=c.__composerExtend(d));let f=null;if(process.env.NODE_ENV!=="production"){f=Ei();const m=d;m[or]&&m[or](f),f.on("*",Hr)}return(0,n.getCurrentScope)()&&(0,n.onScopeDispose)(()=>{if(process.env.NODE_ENV!=="production"){f&&f.off("*",Hr);const p=d;p[Ur]&&p[Ur]()}const m=d[po];m&&(m(),delete d[po])}),d}const i=r;let s=i.__getInstance(t);if(s==null){const c=pt({},e);"__i18n"in a&&(c.__i18n=a.__i18n),o&&(c.__root=o),s=Ul(c),i.__composerExtend&&(s[po]=i.__composerExtend(s)),Ow(i,t,s),i.__setInstance(t,s)}else process.env.NODE_ENV!=="production"&&l==="local"&&(xo(on.DUPLICATE_USE_I18N_CALLING),void 0);return s}function Mw(e,t){const r=(0,n.effectScope)(),o=__VUE_I18N_LEGACY_API__&&t?r.run(()=>pc(e)):r.run(()=>Ul(e));if(o==null)throw Dt(Je.UNEXPECTED_ERROR);return[r,o]}function Lw(e){const t=(0,n.inject)(e.isCE?Dw:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Dt(e.isCE?Je.NOT_INSTALLED_WITH_PROVIDE:Je.UNEXPECTED_ERROR);return t}function Pw(e,t){return $i(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Iw(e){return e.mode==="composition"?e.global:e.global.__composer}function Cf(e,t,r=!1){let o=null;const a=t.root;let l=Vw(t,r);for(;l!=null;){const i=e;if(e.mode==="composition")o=i.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(l);s!=null&&(o=s.__composer,r&&o&&!o[Uh]&&(o=null))}if(o!=null||a===l)break;l=l.parent}return o}function Vw(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ow(e,t,r){let o=null;(0,n.onMounted)(()=>{if(process.env.NODE_ENV!=="production"){t.__VUE_I18N__=r,o=Ei();const a=r;a[or]&&a[or](o),o.on("*",Hr)}},t),(0,n.onUnmounted)(()=>{const a=r;process.env.NODE_ENV!=="production"&&(o&&o.off("*",Hr),a[Ur]&&a[Ur](),delete t.__VUE_I18N__),e.__deleteInstance(t);const l=a[po];l&&(l(),delete a[po])},t)}var Rw=["locale","fallbackLocale","availableLocales"],Sf=["t","rt","d","n","tm","te"];function Fw(e,t){const r=Object.create(null);return Rw.forEach(a=>{const l=Object.getOwnPropertyDescriptor(t,a);if(!l)throw Dt(Je.UNEXPECTED_ERROR);const i=(0,n.isRef)(l.value)?{get(){return l.value.value},set(s){l.value.value=s}}:{get(){return l.get&&l.get()}};Object.defineProperty(r,a,i)}),e.config.globalProperties.$i18n=r,Sf.forEach(a=>{const l=Object.getOwnPropertyDescriptor(t,a);if(!l||!l.value)throw Dt(Je.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,l)}),()=>{delete e.config.globalProperties.$i18n,Sf.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}var xf=(0,n.defineComponent)({name:"i18n-d",props:pt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Cu),setup(e,t){const r=e.i18n||Su({useScope:e.scope,__useComponent:!0});return Xh(e,t,Ih,(...o)=>r[dc](...o))}});lw();A1(f1);M1(T1);L1(ac);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Lr();e.__INTLIFY__=!0,m1(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const zw={title:"Confirm",message:"Are you sure you want to continue?",confirm:"Confirm",cancel:"Cancel"},Uw={upload:"Upload",uploading:"Uploading {count} file{plural}...",noFile:"No file selected",dropPlaceholder:"Drag and Drop files here or click to upload",delete:"Delete",replace:"Replace",download:"Download"},Hw={of:"of",prev:"Previous",next:"Next",perPage:"Per page"},Ww={required:"This field is required",invalidEmail:"Please enter a valid email address",invalidUrl:"Please enter a valid URL",minLength:"Must be at least {min} characters",maxLength:"Must be no more than {max} characters",minValue:"Must be at least {min}",maxValue:"Must be no more than {max}",pattern:"Invalid format",passwordStrength:"Password strength"},jw={veryWeak:"Very Weak",weak:"Weak",fair:"Fair",good:"Good",strong:"Strong"},qw={placeholder:"Select",search:"Search",yes:"Yes",no:"No"},Gw={loadDefault:"Load Default {label}"},Yw={item:"Item"},Xw={loading:"Loading..."},Kw={success:"Success",error:"Error",warning:"Warning",info:"Information"},Jw={filter:"Filter",noActiveFilters:"No active filters",connectors:{and:"And",or:"Or"},operators:{eq:"Equals",ne:"Not equals",gt:"Greater than",ge:"Greater or equal",lt:"Less than",le:"Less or equal",co:"Contains",sw:"Starts with",ew:"Ends with",pr:"Present",in:"In list",nin:"Not in list"},placeholders:{selectField:"Select field",selectOption:"Select option",selectDate:"Select date",enterValue:"Value"},buttons:{addCondition:"Add condition",clearAll:"Clear all",save:"Save"}},Zw={previous:"Previous",next:"Next",complete:"Complete",step:"Step {current} of {total}"},Qw={placeholder:"Enter address"},e2={close:"Close",cancel:"Cancel",importData:"Import Data",changeFile:"Change File",selectSheet:"Select Sheet",hasHeaders:"Mark this if file has a header row",sourceKeyField:"Source Key Field (from this file)",relatedKeyField:"Related Key Field (from related file)",selectSourceValue:"Select source value",sourceValue:"Source value",selectTargetValue:"Select target value",targetValue:"Target value",selectColumn:"Select column..."},t2={year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",ago:"ago",in:"in",justNow:"Just now"},n2={save:"Save",cancel:"Cancel",delete:"Delete",validationError:"Please fix the validation errors before submitting",errorOccurred:"An error occurred"},r2={phoneNumber:"Phone Number",invalidPhone:"Please enter a valid phone number"},o2={invalidEmail:"Please enter a valid email address",invalidDomain:"This email domain appears to be invalid",disposableEmail:"Please use a non-disposable email address",didYouMean:"did you mean {suggestion}?",validating:"Validating email..."},a2={invalidFormat:"Invalid date format"},l2={wrapText:"Wrap Text",selectAll:"Select All",clearAll:"Clear All"},i2={openFile:"Open File"},s2={placeholder:"Enter color"},c2={deleteBlockConfirm:"Are you sure you want to delete this section?",saving:"Saving...",error:"Error",save:"Save",saved:"Saved",title:"Title",slug:"Slug",slugPlaceholder:"my-page",pageSettings:"Page Settings",deletePage:"Delete Page",deletePageConfirm:"Deleting this page cannot be undone.",newPage:"New Page",createPage:"Create Page",addNewBlock:"Add New Block",searchBlock:"Search block",page:"Page",pageStructure:"Page Structure",clickToEdit:"Click on section to edit",addNewBlockHere:"Click here to add a",newBlock:"new block",adding:"Adding",removeSection:"Remove Section",closeEditor:"Close Editor (ESC)",blockNotEditable:"This block's content comes from a data source",blockNotEditableDesc:"and cannot be edited here.",dataSourceHint:"Some content in this block may come from a data source. To change it, edit the data directly.",screenTooSmall:"The screen is too small for this editor. Try reducing zoom or using a larger screen.",cancel:"Cancel",publish:"Publish",unpublish:"Unpublish",discard:"Discard",selectItemPreview:"Select item for preview",language:"Language",defaultLanguage:"Default",setAsDefault:"Set as default",removeLanguage:"Remove language",languageCode:"he / en / fr",removeLanguageConfirm:'Remove language "{locale}"?',seoTitle:"SEO Title",seoDescription:"SEO Description",ogImageUrl:"OG Image URL",showGrid:"Show Grid",hideGrid:"Hide Grid",search:"Search...",lastSaved:"Last Saved",saveNow:"Save Now",publishDestination:"Choose publish destination",publishAll:"Publish all",lastPublished:"Last published",published:"Published",notPublished:"Not published yet",production:"Production",publishFailed:"Publish failed"},u2={loadError:"Loading failed",newItemTitle:"New item — {label}",createSubmit:"Create",editTitle:"Edit",saveSubmit:"Save",importTitle:"Import JSON — {label}",importSubmit:"Import",importJsonLabel:"JSON content",importJsonHint:"Array of objects [ {...}, {...} ] or a single object",importSummary:"{imported} imported · {failed} failed",deleteItemTitle:"Delete item",deleteItemMessage:"Delete this item?",deleteConfirm:"Delete",batchDeleteTitle:"Batch delete",batchDeleteMessage:"Delete {count} items?",batchDeleteSummary:"{deleted} deleted · {failed} failed",batchUpdateTitle:"Batch update — {count} items",updateAllSubmit:"Update all",batchUpdateSummary:"Updated · {failed} failed",selectedCount:"{count} selected",updateBtn:"Update",deleteBtn:"Delete",searchPlaceholder:"Search...",refreshTooltip:"Refresh",importTooltip:"Import JSON",newItemBtn:"New item",deleteTooltip:"Delete",reorderTooltip:"Reorder",reorderSaving:"Saving order..."},d2={selectCollection:"Select a collection from the list",fieldName:"Name",fieldStore:"Store",fieldStoreHint:"e.g.: default",fieldCollection:"Collection",fieldCollectionHint:"e.g.: my_collection",fieldDescription:"Description",createTitle:"Create new Datastore",createSubmit:"Create",editTitle:"Edit {name}",saveSubmit:"Save",addBtn:"Add Datastore",empty:"No Datastores yet",deleteConfirm:'Delete "{name}"?'},f2={content:"Content",blox:"Blox",whatsapp:"WhatsApp",newsletter:"Newsletter",agent:"Agents",users:"Users",tenants:"Organizations"},m2={title:"Users",notConfigured:"User management interface is not configured",notConfiguredHint:"Pass userApi to createAuthAdmin() to enable this screen.",team:"Team",filterByRole:"Filter by role",invite:"Invite",pendingInvitations:"Pending invitations",pending:"Pending",resend:"Resend",delete:"Delete",activeUsers:"Active users",active:"Active",edit:"Edit",remove:"Remove",noUsers:"No users yet",inviteFirst:"Invite the first one",inviteTitle:"Invite user",firstName:"First name",lastName:"Last name",email:"Email",role:"Role",message:"Message",inviteSent:"Invitation sent again",inviteError:"Error sending invitation",deleteInviteConfirm:"Delete the invitation?",deleteInviteError:"Error deleting invitation",removeUserConfirm:"Remove {email}?"},p2={title:"Forms",refresh:"Refresh",newForm:"New Form",createForm:"Create Form",noForms:"No forms yet",noFormsDesc:"Create your first form to get started",active:"Active",inactive:"Inactive",submissionsOnly:"Submissions only",noDefinition:"No form definition - view submissions",fieldCount:"{n} fields",createdAt:"Created {date}",editor:{newForm:"New Form",builder:"Builder",submissions:"Submissions",edit:"Edit",preview:"Preview",save:"Save",create:"Create",formName:"Form Name *",formNamePlaceholder:"Enter form name",description:"Description",descriptionPlaceholder:"Optional description",active:"Active",deleteForm:"Delete Form",deleteConfirm:"Are you sure you want to delete this form?",submit:"Submit"},submissions:{title:"Submissions",exportCsv:"Export CSV",statusPlaceholder:"Status",noSubmissions:"No submissions found",count:"No submissions | 1 submission | {n} submissions",date:"Date",status:"Status",statusAll:"All",statusSaved:"Saved",statusDraft:"Draft",statusProcessed:"Processed",statusAbandoned:"Abandoned",statusError:"Error",statusSpam:"Spam"},builder:{noFields:"No fields yet",noFieldsDesc:"Click + to add your first field",noFieldsDefined:"No fields defined",selectField:"Select a field to edit its settings",tooSmall:"Window too small",tooSmallDesc:"Expand the window to at least 1000px to edit the form"},fieldSettings:{headingText:"Heading Text",noDividerSettings:"No settings for divider",label:"Label",fieldKey:"Field Key",placeholder:"Placeholder",helpText:"Help Text",required:"Required",options:"Options",addOption:"Add Option",validation:"Validation",minLength:"Min Length",maxLength:"Max Length",pattern:"Pattern (RegEx)",min:"Min",max:"Max",step:"Step",removeField:"Remove Field",columnWidth:"Column Width",columnHeight:"Column Height",optionLabel:"Label",optionValue:"Value",sectionHeader:"Section Header",fieldPrefix:"Field",removeFieldTitle:"Remove field",removeTitle:"Remove",richTextVariant:"Toolbar",richTextVariantFull:"Full",richTextVariantBasic:"Basic",richTextVariantSimple:"Simple",textareaRows:"Rows",textareaAutoHeight:"Auto Height",numberLayout:"Spinner Layout",numberLayoutDefault:"Default",numberLayoutVertical:"Vertical",numberLayoutHorizontal:"Horizontal",numberSpinner:"Show Spinner",phoneOnlyCountries:"Allowed Countries",phoneOnlyCountriesPlaceholder:"e.g. IL, US, GB",phoneOnlyCountriesHelp:"Comma-separated ISO 3166-1 alpha-2 country codes. Leave empty to show all countries.",selectMultiselect:"Multiple Selection",dateEnableTime:"Enable Time",dateMin:"Min Date",dateMax:"Max Date",rangeMulti:"Range (Two Handles)",radioThin:"Compact Style",radioHideRadio:"Hide Radio Circle",radioAlign:"Item Alignment",radioAlignStart:"Start",radioAlignCenter:"Center",radioAlignEnd:"End",textIcon:"End Icon",textIconStart:"Start Icon",fileMultiple:"Allow Multiple Files",fileHeight:"Height",fileAccept:"Accepted File Types",fileAcceptPlaceholder:"e.g. image/*,.pdf",fileTheme:"Theme",fileThemeDropzone:"Dropzone",fileThemeBasic:"Basic",fileShowIcon:"Show Icon",fileIcon:"Icon Name"},iconPicker:{none:"None",search:"Search icons...",noResults:"No icons found"},schemaBuilder:{fieldId:"Field ID",fieldIdDesc:"Technical name for API/database",fieldLabel:"Field Label",fieldLabelPlaceholder:"Enter field label",description:"Description (optional)",descriptionPlaceholder:"Help text for this field",requiredField:"Required field",required:"Required",textValidations:"Text Validations",format:"Format",minimumLength:"Minimum Length",maximumLength:"Maximum Length",noMinimum:"No minimum",noMaximum:"No maximum",numberValidations:"Number Validations",minimumValue:"Minimum Value",maximumValue:"Maximum Value",stepMultipleOf:"Step / Multiple Of",anyValue:"Any value",addField:"Add Field",noFieldsClickAbove:"Click a button above to add your first field",patternPlaceholder:"e.g., ^[A-Z]+$",fieldTypes:{shortText:"Short Text",longText:"Long Text",number:"Number",integer:"Integer",yesNo:"Yes/No",dropdown:"Dropdown",email:"Email",phone:"Phone",date:"Date",unknown:"Unknown"},formats:{plainText:"Plain Text",email:"Email",url:"URL",date:"Date",dateTime:"Date & Time",time:"Time",phone:"Phone"}}},h2={today:"Today",views:{week:"Week",month:"Month",day:"Day",agenda:"Agenda"},agenda:{time:"Time",event:"Event",eventsCount:"{n} event | {n} events",noEvents:"No events"}},g2={addTo:"Add to {name}",addToCalendar:"Add to Calendar",google:"Google Calendar",apple:"Apple Calendar",outlook:"Outlook",office365:"Office 365",yahoo:"Yahoo Calendar",ics:"Calendar (ICS file)"},v2={total:"Total",share:"Share"};var y2={modalConfirm:zw,upload:Uw,pagination:Hw,form:Ww,password:jw,select:qw,fieldArray:Gw,arrayInput:Yw,btn:Xw,toast:Kw,filter:Jw,multiStep:Zw,addressSearch:Qw,importData:e2,timeAgo:t2,dialogForm:n2,tel:r2,email:o2,date:a2,spreadsheet:l2,lightbox:i2,color:s2,pageDesigner:c2,collection:u2,datastores:d2,admin:f2,userManagement:m2,forms:p2,calendar:h2,addToCalendar:g2,charts:v2};const b2={title:"Confirmar",message:"¿Estás seguro de que quieres continuar?",confirm:"Confirmar",cancel:"Cancelar"},_2={upload:"Subir",uploading:"Subiendo {count} archivo{plural}...",noFile:"Ningún archivo seleccionado",dropPlaceholder:"Arrastra y suelta archivos aquí o haz clic para subir",delete:"Eliminar",replace:"Reemplazar",download:"Descargar"},w2={of:"de",prev:"Anterior",next:"Siguiente"},k2={required:"Este campo es obligatorio",invalidEmail:"Introduce un correo electrónico válido",invalidUrl:"Introduce una URL válida",minLength:"Debe tener al menos {min} caracteres",maxLength:"Debe tener como máximo {max} caracteres",minValue:"Debe ser al menos {min}",maxValue:"Debe ser como máximo {max}",pattern:"Formato inválido",passwordStrength:"Fortaleza de la contraseña"},$2={veryWeak:"Muy débil",weak:"Débil",fair:"Regular",good:"Buena",strong:"Fuerte"},E2={placeholder:"Seleccionar",search:"Buscar",yes:"Sí",no:"No"},C2={loadDefault:"Cargar {label} predeterminado"},S2={item:"Elemento"},x2={loading:"Cargando..."},T2={success:"Éxito",error:"Error",warning:"Advertencia",info:"Información"},N2={filter:"Filtro",noActiveFilters:"Sin filtros activos",connectors:{and:"Y",or:"O"},operators:{eq:"Igual a",ne:"No igual a",gt:"Mayor que",ge:"Mayor o igual",lt:"Menor que",le:"Menor o igual",co:"Contiene",sw:"Empieza con",ew:"Termina con",pr:"Presente",in:"En lista",nin:"No en lista"},placeholders:{selectField:"Seleccionar campo",selectOption:"Seleccionar opción",selectDate:"Seleccionar fecha",enterValue:"Valor"},buttons:{addCondition:"Añadir condición",clearAll:"Limpiar todo",save:"Guardar"}},B2={previous:"Anterior",next:"Siguiente",complete:"Completar",step:"Paso {current} de {total}"},D2={placeholder:"Introduce una dirección"},A2={close:"Cerrar",cancel:"Cancelar",importData:"Importar datos",changeFile:"Cambiar archivo",selectSheet:"Seleccionar hoja",hasHeaders:"Marcar si el archivo tiene fila de encabezado",sourceKeyField:"Campo clave de origen (de este archivo)",relatedKeyField:"Campo clave relacionado (del archivo relacionado)",selectSourceValue:"Seleccionar valor de origen",sourceValue:"Valor de origen",selectTargetValue:"Seleccionar valor de destino",targetValue:"Valor de destino",selectColumn:"Seleccionar columna..."},M2={year:"año",month:"mes",week:"semana",day:"día",hour:"hora",minute:"minuto",second:"segundo",ago:"hace",in:"en",justNow:"Justo ahora"},L2={save:"Guardar",cancel:"Cancelar",delete:"Eliminar",validationError:"Por favor corrija los errores de validación antes de enviar",errorOccurred:"Ocurrió un error"},P2={phoneNumber:"Número de teléfono",invalidPhone:"Por favor introduce un número de teléfono válido"},I2={invalidEmail:"Introduce un correo electrónico válido",invalidDomain:"El dominio de este correo electrónico parece no ser válido",disposableEmail:"Por favor, utilice una dirección de correo electrónico que no sea desechable",didYouMean:"¿Quisiste decir {suggestion}?",validating:"Validando correo electrónico..."},V2={invalidFormat:"Formato de fecha inválido"},O2={wrapText:"Ajuste de texto",selectAll:"Seleccionar todo",clearAll:"Limpiar todo"},R2={openFile:"Abrir archivo"},F2={placeholder:"Introduce un color"},z2={deleteBlockConfirm:"¿Estás seguro de que quieres eliminar esta sección?",saving:"Guardando...",error:"Error",save:"Guardar",saved:"Guardado",title:"Título",slug:"Slug",slugPlaceholder:"mi-pagina",pageSettings:"Configuración de página",deletePage:"Eliminar página",deletePageConfirm:"Eliminar esta página no se puede deshacer.",newPage:"Nueva página",createPage:"Crear página",addNewBlock:"Añadir nuevo bloque",searchBlock:"Buscar bloque",page:"Página",pageStructure:"Estructura de página",clickToEdit:"Haz clic en la sección para editar",addNewBlockHere:"Haz clic aquí para añadir un",newBlock:"nuevo bloque",adding:"Añadiendo",removeSection:"Eliminar sección",closeEditor:"Cerrar editor (ESC)",blockNotEditable:"El contenido de este bloque proviene de una fuente de datos",blockNotEditableDesc:"y no se puede editar aquí.",dataSourceHint:"Parte del contenido de este bloque proviene de una fuente de datos. Para cambiarlo, edita los datos directamente.",screenTooSmall:"La pantalla es demasiado pequeña para este editor. Prueba reducir el zoom o usar una pantalla más grande.",cancel:"Cancelar",publish:"Publicar",unpublish:"Despublicar",discard:"Descartar",selectItemPreview:"Seleccionar elemento para vista previa",language:"Idioma",defaultLanguage:"Predeterminado",setAsDefault:"Establecer como predeterminado",removeLanguage:"Eliminar idioma",languageCode:"es / en / fr",removeLanguageConfirm:'¿Eliminar idioma "{locale}"?',seoTitle:"Título SEO",seoDescription:"Descripción SEO",ogImageUrl:"URL de imagen OG",showGrid:"Mostrar cuadrícula",hideGrid:"Ocultar cuadrícula",search:"Buscar...",lastSaved:"Último guardado",saveNow:"Guardar ahora",publishDestination:"Elegir destino de publicación",publishAll:"Publicar todo",lastPublished:"Última publicación",published:"Publicado",notPublished:"No publicado aún",production:"Producción",publishFailed:"Error al publicar"},U2={content:"Contenido",blox:"Blox",whatsapp:"WhatsApp",newsletter:"Boletín",agent:"Agentes",users:"Usuarios",tenants:"Organizaciones"},H2={title:"Usuarios",notConfigured:"La interfaz de gestión de usuarios no está configurada",notConfiguredHint:"Pasa userApi a createAuthAdmin() para habilitar esta pantalla.",team:"Equipo",filterByRole:"Filtrar por rol",invite:"Invitar",pendingInvitations:"Invitaciones pendientes",pending:"Pendiente",resend:"Reenviar",delete:"Eliminar",activeUsers:"Usuarios activos",active:"Activo",edit:"Editar",remove:"Eliminar",noUsers:"No hay usuarios aún",inviteFirst:"Invita al primero",inviteTitle:"Invitar usuario",firstName:"Nombre",lastName:"Apellido",email:"Correo electrónico",role:"Rol",message:"Mensaje",inviteSent:"Invitación reenviada",inviteError:"Error al enviar la invitación",deleteInviteConfirm:"¿Eliminar la invitación?",deleteInviteError:"Error al eliminar la invitación",removeUserConfirm:"¿Eliminar a {email}?"},W2={today:"Hoy",views:{week:"Semana",month:"Mes",day:"Día",agenda:"Agenda"},agenda:{time:"Hora",event:"Evento",eventsCount:"{n} evento | {n} eventos",noEvents:"Sin eventos"}},j2={addTo:"Agregar a {name}",addToCalendar:"Agregar al calendario"};var q2={modalConfirm:b2,upload:_2,pagination:w2,form:k2,password:$2,select:E2,fieldArray:C2,arrayInput:S2,btn:x2,toast:T2,filter:N2,multiStep:B2,addressSearch:D2,importData:A2,timeAgo:M2,dialogForm:L2,tel:P2,email:I2,date:V2,spreadsheet:O2,lightbox:R2,color:F2,pageDesigner:z2,admin:U2,userManagement:H2,calendar:W2,addToCalendar:j2};const G2={title:"Confirmer",message:"Êtes-vous sûr de vouloir continuer ?",confirm:"Confirmer",cancel:"Annuler"},Y2={upload:"Télécharger",uploading:"Téléchargement de {count} fichier{plural} en cours...",noFile:"Aucun fichier sélectionné",dropPlaceholder:"Glissez-déposez des fichiers ici ou cliquez pour télécharger",delete:"Supprimer",replace:"Remplacer",download:"Télécharger"},X2={of:"de",prev:"Précédent",next:"Suivant"},K2={required:"Ce champ est obligatoire",invalidEmail:"Veuillez entrer une adresse email valide",invalidUrl:"Veuillez entrer une URL valide",minLength:"Doit contenir au moins {min} caractères",maxLength:"Doit contenir au maximum {max} caractères",minValue:"Doit être au moins {min}",maxValue:"Doit être au maximum {max}",pattern:"Format invalide",passwordStrength:"Force du mot de passe"},J2={veryWeak:"Très faible",weak:"Faible",fair:"Passable",good:"Bonne",strong:"Forte"},Z2={placeholder:"Sélectionner",search:"Rechercher",yes:"Oui",no:"Non"},Q2={loadDefault:"Charger {label} par défaut"},ek={item:"Élément"},tk={loading:"Chargement..."},nk={success:"Succès",error:"Erreur",warning:"Avertissement",info:"Information"},rk={filter:"Filtre",noActiveFilters:"Aucun filtre actif",connectors:{and:"Et",or:"Ou"},operators:{eq:"Égal à",ne:"Différent de",gt:"Supérieur à",ge:"Supérieur ou égal",lt:"Inférieur à",le:"Inférieur ou égal",co:"Contient",sw:"Commence par",ew:"Se termine par",pr:"Présent",in:"Dans la liste",nin:"Pas dans la liste"},placeholders:{selectField:"Sélectionner un champ",selectOption:"Sélectionner une option",selectDate:"Sélectionner une date",enterValue:"Valeur"},buttons:{addCondition:"Ajouter une condition",clearAll:"Tout effacer",save:"Enregistrer"}},ok={previous:"Précédent",next:"Suivant",complete:"Terminer",step:"Étape {current} sur {total}"},ak={placeholder:"Entrez une adresse"},lk={close:"Fermer",cancel:"Annuler",importData:"Importer les données",changeFile:"Changer de fichier",selectSheet:"Sélectionner la feuille",hasHeaders:"Cochez si le fichier a une ligne d'en-tête",sourceKeyField:"Champ clé source (de ce fichier)",relatedKeyField:"Champ clé lié (du fichier lié)",selectSourceValue:"Sélectionner la valeur source",sourceValue:"Valeur source",selectTargetValue:"Sélectionner la valeur cible",targetValue:"Valeur cible",selectColumn:"Sélectionner une colonne..."},ik={year:"an",month:"mois",week:"semaine",day:"jour",hour:"heure",minute:"minute",second:"seconde",ago:"il y a",in:"dans",justNow:"À l'instant"},sk={save:"Enregistrer",cancel:"Annuler",delete:"Supprimer",validationError:"Veuillez corriger les erreurs de validation avant de soumettre",errorOccurred:"Une erreur est survenue"},ck={phoneNumber:"Numéro de téléphone",invalidPhone:"Veuillez entrer un numéro de téléphone valide"},uk={invalidEmail:"Veuillez entrer une adresse email valide",invalidDomain:"Le domaine de cet email semble invalide",disposableEmail:"Veuillez utiliser une adresse e-mail non jetable",didYouMean:"Vouliez-vous dire {suggestion} ?",validating:"Validation de l'e-mail..."},dk={invalidFormat:"Format de date invalide"},fk={wrapText:"Renvoyer à la ligne",selectAll:"Tout sélectionner",clearAll:"Tout effacer"},mk={openFile:"Ouvrir le fichier"},pk={placeholder:"Entrez une couleur"},hk={deleteBlockConfirm:"Êtes-vous sûr de vouloir supprimer cette section ?",saving:"Enregistrement...",error:"Erreur",save:"Enregistrer",saved:"Enregistré",title:"Titre",slug:"Slug",slugPlaceholder:"ma-page",pageSettings:"Paramètres de la page",deletePage:"Supprimer la page",deletePageConfirm:"La suppression de cette page ne peut pas être annulée.",newPage:"Nouvelle page",createPage:"Créer une page",addNewBlock:"Ajouter un nouveau bloc",searchBlock:"Rechercher un bloc",page:"Page",pageStructure:"Structure de la page",clickToEdit:"Cliquez sur la section pour éditer",addNewBlockHere:"Cliquez ici pour ajouter un",newBlock:"nouveau bloc",adding:"Ajout",removeSection:"Supprimer la section",closeEditor:"Fermer l'éditeur (ESC)",blockNotEditable:"Le contenu de ce bloc provient d'une source de données",blockNotEditableDesc:"et ne peut pas être édité ici.",dataSourceHint:"Une partie du contenu de ce bloc provient d'une source de données. Pour le modifier, éditez les données directement.",screenTooSmall:"L'écran est trop petit pour cet éditeur. Essayez de réduire le zoom ou d'utiliser un écran plus grand.",cancel:"Annuler",publish:"Publier",unpublish:"Dépublier",discard:"Ignorer",selectItemPreview:"Sélectionner un élément pour l'aperçu",language:"Langue",defaultLanguage:"Par défaut",setAsDefault:"Définir par défaut",removeLanguage:"Supprimer la langue",languageCode:"fr / en / es",removeLanguageConfirm:'Supprimer la langue "{locale}" ?',seoTitle:"Titre SEO",seoDescription:"Description SEO",ogImageUrl:"URL de l'image OG",showGrid:"Afficher la grille",hideGrid:"Masquer la grille",search:"Rechercher...",lastSaved:"Dernière sauvegarde",saveNow:"Enregistrer maintenant",publishDestination:"Choisir la destination",publishAll:"Tout publier",lastPublished:"Dernière publication",published:"Publié",notPublished:"Pas encore publié",production:"Production",publishFailed:"Échec de la publication"},gk={content:"Contenu",blox:"Blox",whatsapp:"WhatsApp",newsletter:"Newsletter",agent:"Agents",users:"Utilisateurs",tenants:"Organisations"},vk={title:"Utilisateurs",notConfigured:"L'interface de gestion des utilisateurs n'est pas configurée",notConfiguredHint:"Passez userApi à createAuthAdmin() pour activer cet écran.",team:"Équipe",filterByRole:"Filtrer par rôle",invite:"Inviter",pendingInvitations:"Invitations en attente",pending:"En attente",resend:"Renvoyer",delete:"Supprimer",activeUsers:"Utilisateurs actifs",active:"Actif",edit:"Modifier",remove:"Retirer",noUsers:"Aucun utilisateur pour l'instant",inviteFirst:"Invitez le premier",inviteTitle:"Inviter un utilisateur",firstName:"Prénom",lastName:"Nom",email:"E-mail",role:"Rôle",message:"Message",inviteSent:"Invitation renvoyée",inviteError:"Erreur lors de l'envoi de l'invitation",deleteInviteConfirm:"Supprimer l'invitation ?",deleteInviteError:"Erreur lors de la suppression de l'invitation",removeUserConfirm:"Retirer {email} ?"},yk={today:"Aujourd'hui",views:{week:"Semaine",month:"Mois",day:"Jour",agenda:"Agenda"},agenda:{time:"Heure",event:"Événement",eventsCount:"{n} événement | {n} événements",noEvents:"Aucun événement"}},bk={addTo:"Ajouter à {name}",addToCalendar:"Ajouter au calendrier"};var _k={modalConfirm:G2,upload:Y2,pagination:X2,form:K2,password:J2,select:Z2,fieldArray:Q2,arrayInput:ek,btn:tk,toast:nk,filter:rk,multiStep:ok,addressSearch:ak,importData:lk,timeAgo:ik,dialogForm:sk,tel:ck,email:uk,date:dk,spreadsheet:fk,lightbox:mk,color:pk,pageDesigner:hk,admin:gk,userManagement:vk,calendar:yk,addToCalendar:bk};const wk={title:"אישור",message:"האם אתה בטוח שברצונך להמשיך?",confirm:"אישור",cancel:"ביטול"},kk={upload:"העלה",uploading:"מעלה {count} קבצים...",noFile:"לא נבחר קובץ",dropPlaceholder:"גרור ושחרר קבצים כאן או לחץ להעלאה",delete:"מחק",replace:"החלף",download:"הורד"},$k={of:"מתוך",prev:"הקודם",next:"הבא",perPage:"פריטים לעמוד"},Ek={required:"שדה זה נדרש",invalidEmail:"הזן כתובת אימייל חוקית",invalidUrl:"הזן כתובת URL חוקית",minLength:"חייב להכיל לפחות {min} תווים",maxLength:"חייב להכיל לכל היותר {max} תווים",minValue:"חייב להיות לפחות {min}",maxValue:"חייב להיות לכל היותר {max}",pattern:"פורמט לא חוקי",passwordStrength:"חוזק סיסמה"},Ck={veryWeak:"חלשה מאוד",weak:"חלשה",fair:"סבירה",good:"טובה",strong:"חזקה"},Sk={placeholder:"בחר",search:"חיפוש",yes:"כן",no:"לא"},xk={loadDefault:"טען {label} ברירת מחדל"},Tk={item:"פריט"},Nk={loading:"טוען..."},Bk={success:"הצלחה",error:"שגיאה",warning:"אזהרה",info:"מידע"},Dk={filter:"פילטר",noActiveFilters:"אין פילטרים פעילים",connectors:{and:"וגם",or:"או"},operators:{eq:"שווה ל",ne:"לא שווה ל",gt:"גדול מ",ge:"גדול או שווה ל",lt:"קטן מ",le:"קטן או שווה ל",co:"מכיל",sw:"מתחיל ב",ew:"מסתיים ב",pr:"קיים",in:"ברשימה",nin:"לא ברשימה"},placeholders:{selectField:"בחר שדה",selectOption:"בחירה",selectDate:"בחירת תאריך",enterValue:"ערך"},buttons:{addCondition:"הוספת תנאי",clearAll:"נקה הכל",save:"שמירה"}},Ak={previous:"הקודם",next:"הבא",complete:"סיים",step:"שלב {current} מתוך {total}"},Mk={placeholder:"הזן כתובת"},Lk={close:"סגור",cancel:"ביטול",importData:"ייבא נתונים",changeFile:"החלף קובץ",selectSheet:"בחר גיליון",hasHeaders:"סמן אם לקובץ יש שורת כותרת",sourceKeyField:"שדה מפתח מקור (מהקובץ הזה)",relatedKeyField:"שדה מפתח קשור (מהקובץ הקשור)",selectSourceValue:"בחר ערך מקור",sourceValue:"ערך מקור",selectTargetValue:"בחר ערך יעד",targetValue:"ערך יעד",selectColumn:"בחר עמודה..."},Pk={year:{singular:"שנה",plural:"שנים"},month:{singular:"חודש",plural:"חודשים"},week:{singular:"שבוע",plural:"שבועות"},day:{singular:"יום",plural:"ימים"},hour:{singular:"שעה",plural:"שעות"},minute:{singular:"דקה",plural:"דקות"},second:{singular:"שנייה",plural:"שניות"},ago:"לפני",in:"בעוד",justNow:"זה עתה"},Ik={save:"שמור",cancel:"ביטול",delete:"מחק",validationError:"אנא תקן את שגיאות האימות לפני השליחה",errorOccurred:"אירעה שגיאה"},Vk={phoneNumber:"מספר טלפון",invalidPhone:"אנא הזן מספר טלפון תקין"},Ok={invalidEmail:"הזן כתובת אימייל חוקית",invalidDomain:"נראה שדומיין האימייל אינו חוקי",disposableEmail:"אנא השתמש בכתובת אימייל שאינה חד-פעמית",didYouMean:"האם התכוונת ל-{suggestion}?",validating:"מאמת כתובת אימייל..."},Rk={invalidFormat:"פורמט תאריך לא חוקי"},Fk={wrapText:"גלישת טקסט",selectAll:"בחר הכל",clearAll:"נקה הכל"},zk={openFile:"פתח קובץ"},Uk={placeholder:"הזן צבע"},Hk={deleteBlockConfirm:"האם אתם בטוחים שברצונכם למחוק את הסקשן הזה?",saving:"שומר...",error:"שגיאה",save:"שמירה",saved:"נשמר",title:"כותרת",slug:"נתיב (slug)",slugPlaceholder:"my-page",pageSettings:"הגדרות עמוד",deletePage:"מחיקת עמוד",deletePageConfirm:"מחיקת עמוד זה אינה ניתנת לביטול.",newPage:"עמוד חדש",createPage:"צור עמוד",addNewBlock:"הוספת בלוק חדש",searchBlock:"חיפוש בלוק",page:"עמוד",pageStructure:"מבנה העמוד",clickToEdit:"לחצו על מקטע כדי לערוך",addNewBlockHere:"לחצו כאן להוספת",newBlock:"בלוק חדש",adding:"מוסיף",removeSection:"הסרת מקטע",closeEditor:"סגור עורך (ESC)",blockNotEditable:"תוכן הבלוק הזה מגיע ממקור נתונים",blockNotEditableDesc:"ואינו ניתן לעריכה כאן.",dataSourceHint:"ייתכן שחלק מהתוכן בבלוק זה מגיע ממקור נתונים. כדי לשנות אותו, ערוך את הדאטה ישירות.",screenTooSmall:"המסך קטן מדי לעורך הזה. נסו להקטין זום או להשתמש במסך גדול יותר.",cancel:"ביטול",publish:"פרסום",unpublish:"ביטול פרסום",discard:"ביטול",selectItemPreview:"בחר פריט לתצוגה מקדימה",language:"שפה",defaultLanguage:"ברירת מחדל",setAsDefault:"קביעת ברירת מחדל",removeLanguage:"הסרת שפה",languageCode:"he / en / fr",removeLanguageConfirm:'הסר את שפה "{locale}"?',seoTitle:"SEO כותרת",seoDescription:"SEO תיאור",ogImageUrl:"OG Image URL",showGrid:"הצג רשת",hideGrid:"הסתר רשת",search:"חיפוש...",lastSaved:"נשמר לאחרונה",saveNow:"שמור עכשיו",publishDestination:"בחר יעד לפרסום",publishAll:"פרסם הכל",lastPublished:"פורסם לאחרונה",published:"פורסם",notPublished:"טרם פורסם",production:"פרודקשן",publishFailed:"פרסום נכשל"},Wk={loadError:"טעינה נכשלה",newItemTitle:"פריט חדש — {label}",createSubmit:"יצירה",editTitle:"עריכה",saveSubmit:"שמירה",importTitle:"ייבוא JSON — {label}",importSubmit:"ייבוא",importJsonLabel:"תוכן JSON",importJsonHint:"מערך של אובייקטים [ {...}, {...} ] או אובייקט בודד",importSummary:"{imported} יובאו · {failed} נכשלו",deleteItemTitle:"מחיקת פריט",deleteItemMessage:"האם למחוק פריט זה?",deleteConfirm:"מחיקה",batchDeleteTitle:"מחיקה קבוצתית",batchDeleteMessage:"האם למחוק {count} פריטים?",batchDeleteSummary:"{deleted} נמחקו · {failed} נכשלו",batchUpdateTitle:"עדכון קבוצתי — {count} פריטים",updateAllSubmit:"עדכן הכל",batchUpdateSummary:"עודכנו · {failed} נכשלו",selectedCount:"{count} נבחרו",updateBtn:"עדכון",deleteBtn:"מחיקה",searchPlaceholder:"חיפוש...",refreshTooltip:"ריענון",importTooltip:"ייבוא JSON",newItemBtn:"פריט חדש",deleteTooltip:"מחיקה",reorderTooltip:"שינוי סדר",reorderSaving:"שומר סדר..."},jk={selectCollection:"בחרו קולקציה מהרשימה",fieldName:"שם",fieldStore:"Store",fieldStoreHint:"לדוגמה: default",fieldCollection:"Collection",fieldCollectionHint:"לדוגמה: my_collection",fieldDescription:"תיאור",createTitle:"יצירת Datastore חדש",createSubmit:"יצירה",editTitle:"עריכת {name}",saveSubmit:"שמירה",addBtn:"הוספת Datastore",empty:"אין Datastores עדיין",deleteConfirm:'למחוק את "{name}"?'},qk={content:"תוכן",blox:"בלוקס",whatsapp:"וואטסאפ",newsletter:"ניוזלטר",agent:"סוכנים",users:"משתמשים",tenants:"ארגונים"},Gk={title:"משתמשים",notConfigured:"ממשק ניהול משתמשים לא מוגדר",notConfiguredHint:"העבר userApi ל-createAuthAdmin() כדי להפעיל מסך זה.",team:"צוות",filterByRole:"סנן לפי תפקיד",invite:"הזמנה",pendingInvitations:"הזמנות ממתינות",pending:"ממתין",resend:"שלח מחדש",delete:"מחיקה",activeUsers:"משתמשים פעילים",active:"פעיל",edit:"עריכה",remove:"הסרה",noUsers:"אין משתמשים עדיין",inviteFirst:"הזמן את הראשון",inviteTitle:"הזמנת משתמש",firstName:"שם פרטי",lastName:"שם משפחה",email:"אימייל",role:"תפקיד",message:"הודעה",inviteSent:"ההזמנה נשלחה מחדש",inviteError:"שגיאה בשליחת ההזמנה",deleteInviteConfirm:"למחוק את ההזמנה?",deleteInviteError:"שגיאה במחיקת ההזמנה",removeUserConfirm:"להסיר את {email}?"},Yk={title:"טפסים",refresh:"רענן",newForm:"טופס חדש",createForm:"יצירת טופס",noForms:"אין טפסים עדיין",noFormsDesc:"צור את הטופס הראשון שלך כדי להתחיל",active:"פעיל",inactive:"לא פעיל",submissionsOnly:"הגשות בלבד",noDefinition:"אין הגדרת טופס - הצג הגשות",fieldCount:"{n} שדות",createdAt:"נוצר {date}",editor:{newForm:"טופס חדש",builder:"בנאי",submissions:"הגשות",edit:"עריכה",preview:"תצוגה מקדימה",save:"שמור",create:"צור",formName:"שם הטופס *",formNamePlaceholder:"הכנס שם לטופס",description:"תיאור",descriptionPlaceholder:"תיאור אופציונלי",active:"פעיל",deleteForm:"מחק טופס",deleteConfirm:"האם אתה בטוח שברצונך למחוק טופס זה?",submit:"שלח"},submissions:{title:"הגשות",exportCsv:"יצוא CSV",statusPlaceholder:"סטטוס",noSubmissions:"לא נמצאו הגשות",count:"אין הגשות | הגשה אחת | {n} הגשות",date:"תאריך",status:"סטטוס",statusAll:"הכל",statusSaved:"נשמר",statusDraft:"טיוטה",statusProcessed:"טופל",statusAbandoned:"ננטש",statusError:"שגיאה",statusSpam:"ספאם"},builder:{noFields:"אין שדות עדיין",noFieldsDesc:"לחץ על + להוספת שדה ראשון",noFieldsDefined:"לא הוגדרו שדות",selectField:"בחר שדה לעריכת הגדרותיו",tooSmall:"החלון קטן מידי",tooSmallDesc:"הגדל את החלון לפחות ל-1000px לעריכת הטופס"},fieldSettings:{headingText:"טקסט כותרת",noDividerSettings:"אין הגדרות לקו מפריד",label:"תווית",fieldKey:"מפתח שדה",placeholder:"טקסט placeholder",helpText:"טקסט עזרה",required:"שדה חובה",options:"אפשרויות",addOption:"הוסף אפשרות",validation:"ולידציה",minLength:"אורך מינימלי",maxLength:"אורך מקסימלי",pattern:"תבנית (RegEx)",min:"מינימום",max:"מקסימום",step:"קפיצה",removeField:"הסר שדה",columnWidth:"רוחב עמודה",columnHeight:"גובה עמודה",optionLabel:"תווית",optionValue:"ערך",sectionHeader:"כותרת סעיף",fieldPrefix:"שדה",removeFieldTitle:"הסר שדה",removeTitle:"הסר",richTextVariant:"סרגלת כלים",richTextVariantFull:"מלאה",richTextVariantBasic:"בסיסי",richTextVariantSimple:"פשוטה",textareaRows:"שורות",textareaAutoHeight:"גובה אוטומטי",numberLayout:"סגנון ספינר",numberLayoutDefault:"רגיל",numberLayoutVertical:"אנכי",numberLayoutHorizontal:"אופקי",numberSpinner:"הצג ספינר",phoneOnlyCountries:"מדינות מותרות",phoneOnlyCountriesPlaceholder:"לדוגמא: IL, US, GB",phoneOnlyCountriesHelp:"קודי מדינה מופרדים בפסיק (ISO 3166-1 alpha-2). השאר ריק להצג כל המדינות.",selectMultiselect:"בחירה מרובית",dateEnableTime:"אפשר בחירת שעה",dateMin:"תאריך מינימלי",dateMax:"תאריך מקסימלי",rangeMulti:"טווח (שתי ידיות)",radioThin:"סגנון דחוס",radioHideRadio:"הסתר עיגול ה-radio",radioAlign:"יישור פריטים",radioAlignStart:"התחלה",radioAlignCenter:"מרכז",radioAlignEnd:"סוף",textIcon:"איקון סייום",textIconStart:"איקון התחלה",fileMultiple:"העלאת מספר קבצים",fileHeight:"גובה",fileAccept:"סוגי קבצים מותרים",fileAcceptPlaceholder:"לדוגמא: image/*,.pdf",fileTheme:"עיצוב",fileThemeDropzone:"Dropzone",fileThemeBasic:"פשוט",fileShowIcon:"הצג איקון",fileIcon:"שם איקון"},iconPicker:{none:"ללא",search:"חפש איקונים...",noResults:"לא נמצאו איקונים"},schemaBuilder:{fieldId:"מזהה שדה",fieldIdDesc:"שם טכני ל-API/מסד נתונים",fieldLabel:"תווית שדה",fieldLabelPlaceholder:"הכנס תווית לשדה",description:"תיאור (אופציונלי)",descriptionPlaceholder:"טקסט עזרה לשדה זה",requiredField:"שדה חובה",required:"חובה",textValidations:"ולידציות טקסט",format:"פורמט",minimumLength:"אורך מינימלי",maximumLength:"אורך מקסימלי",noMinimum:"ללא מינימום",noMaximum:"ללא מקסימום",numberValidations:"ולידציות מספר",minimumValue:"ערך מינימלי",maximumValue:"ערך מקסימלי",stepMultipleOf:"קפיצה / כפולה של",anyValue:"כל ערך",addField:"הוסף שדה",noFieldsClickAbove:"לחץ על כפתור למעלה להוספת השדה הראשון",patternPlaceholder:"לדוגמה: ^[A-Z]+$",fieldTypes:{shortText:"טקסט קצר",longText:"טקסט ארוך",number:"מספר",integer:"מספר שלם",yesNo:"כן/לא",dropdown:"רשימה נפתחת",email:"אימייל",phone:"טלפון",date:"תאריך",unknown:"לא ידוע"},formats:{plainText:"טקסט רגיל",email:"אימייל",url:"כתובת URL",date:"תאריך",dateTime:"תאריך ושעה",time:"שעה",phone:"טלפון"}}},Xk={today:"היום",views:{week:"שבוע",month:"חודש",day:"יום",agenda:"סדר יום"},agenda:{time:"שעה",event:"אירוע",eventsCount:"אירוע אחד | {n} אירועים",noEvents:"אין אירועים"}},Kk={addTo:"הוסף ל{name}",addToCalendar:"הוסף ליומן",google:"יומן Google",apple:"יומן Apple",outlook:"Outlook",office365:"Office 365",yahoo:"יומן Yahoo",ics:"יומן (קובץ ICS)"},Jk={total:"סה״כ",share:"חלק"};var Zk={modalConfirm:wk,upload:kk,pagination:$k,form:Ek,password:Ck,select:Sk,fieldArray:xk,arrayInput:Tk,btn:Nk,toast:Bk,filter:Dk,multiStep:Ak,addressSearch:Mk,importData:Lk,timeAgo:Pk,dialogForm:Ik,tel:Vk,email:Ok,date:Rk,spreadsheet:Fk,lightbox:zk,color:Uk,pageDesigner:Hk,collection:Wk,datastores:jk,admin:qk,userManagement:Gk,forms:Yk,calendar:Xk,addToCalendar:Kk,charts:Jk};const Qk={title:"Conferma",message:"Sei sicuro di voler continuare?",confirm:"Conferma",cancel:"Annulla"},e$={upload:"Carica",uploading:"Caricamento di {count} file{plural} in corso...",noFile:"Nessun file selezionato",dropPlaceholder:"Trascina e rilascia i file qui o clicca per caricare",delete:"Elimina",replace:"Sostituisci",download:"Scarica"},t$={of:"di",prev:"Precedente",next:"Successivo"},n$={required:"Questo campo è obbligatorio",invalidEmail:"Inserisci un indirizzo email valido",invalidUrl:"Inserisci un URL valido",minLength:"Deve contenere almeno {min} caratteri",maxLength:"Deve contenere al massimo {max} caratteri",minValue:"Deve essere almeno {min}",maxValue:"Deve essere al massimo {max}",pattern:"Formato non valido",passwordStrength:"Forza della password"},r$={veryWeak:"Molto debole",weak:"Debole",fair:"Discreta",good:"Buona",strong:"Forte"},o$={placeholder:"Seleziona",search:"Cerca",yes:"Sì",no:"No"},a$={loadDefault:"Carica {label} predefinito"},l$={item:"Elemento"},i$={loading:"Caricamento..."},s$={success:"Successo",error:"Errore",warning:"Avviso",info:"Informazione"},c$={filter:"Filtro",noActiveFilters:"Nessun filtro attivo",connectors:{and:"E",or:"O"},operators:{eq:"Uguale a",ne:"Diverso da",gt:"Maggiore di",ge:"Maggiore o uguale",lt:"Minore di",le:"Minore o uguale",co:"Contiene",sw:"Inizia con",ew:"Finisce con",pr:"Presente",in:"Nella lista",nin:"Non nella lista"},placeholders:{selectField:"Seleziona campo",selectOption:"Seleziona opzione",selectDate:"Seleziona data",enterValue:"Valore"},buttons:{addCondition:"Aggiungi condizione",clearAll:"Cancella tutto",save:"Salva"}},u$={previous:"Precedente",next:"Successivo",complete:"Completa",step:"Passo {current} di {total}"},d$={placeholder:"Inserisci un indirizzo"},f$={close:"Chiudi",cancel:"Annulla",importData:"Importa dati",changeFile:"Cambia file",selectSheet:"Seleziona foglio",hasHeaders:"Seleziona se il file ha una riga di intestazione",sourceKeyField:"Campo chiave sorgente (da questo file)",relatedKeyField:"Campo chiave correlato (dal file correlato)",selectSourceValue:"Seleziona valore sorgente",sourceValue:"Valore sorgente",selectTargetValue:"Seleziona valore di destinazione",targetValue:"Valore di destinazione",selectColumn:"Seleziona colonna..."},m$={year:"anno",month:"mese",week:"settimana",day:"giorno",hour:"ora",minute:"minuto",second:"secondo",ago:"fa",in:"tra",justNow:"Poco fa"},p$={save:"Salva",cancel:"Annulla",delete:"Elimina",validationError:"Correggi gli errori di validazione prima di inviare",errorOccurred:"Si è verificato un errore"},h$={phoneNumber:"Numero di telefono",invalidPhone:"Inserisci un numero di telefono valido"},g$={invalidEmail:"Inserisci un indirizzo email valido",invalidDomain:"Il dominio di questa email sembra non essere valido",disposableEmail:"Si prega di utilizzare un indirizzo email non temporaneo",didYouMean:"Intendevi {suggestion}?",validating:"Convalida dell'e-mail..."},v$={invalidFormat:"Formato data non valido"},y$={wrapText:"A capo automatico",selectAll:"Seleziona tutto",clearAll:"Cancella tutto"},b$={openFile:"Apri file"},_$={placeholder:"Inserisci un colore"},w$={deleteBlockConfirm:"Sei sicuro di voler eliminare questa sezione?",saving:"Salvataggio...",error:"Errore",save:"Salva",saved:"Salvato",title:"Titolo",slug:"Slug",slugPlaceholder:"la-mia-pagina",pageSettings:"Impostazioni pagina",deletePage:"Elimina pagina",deletePageConfirm:"L'eliminazione di questa pagina non può essere annullata.",newPage:"Nuova pagina",createPage:"Crea pagina",addNewBlock:"Aggiungi nuovo blocco",searchBlock:"Cerca blocco",page:"Pagina",pageStructure:"Struttura della pagina",clickToEdit:"Clicca sulla sezione per modificare",addNewBlockHere:"Clicca qui per aggiungere un",newBlock:"nuovo blocco",adding:"Aggiungendo",removeSection:"Rimuovi sezione",closeEditor:"Chiudi editor (ESC)",blockNotEditable:"Il contenuto di questo blocco proviene da una fonte di dati",blockNotEditableDesc:"e non può essere modificato qui.",dataSourceHint:"Parte del contenuto di questo blocco proviene da una fonte di dati. Per modificarlo, modifica i dati direttamente.",screenTooSmall:"Lo schermo è troppo piccolo per questo editor. Prova a ridurre lo zoom o utilizzare uno schermo più grande.",cancel:"Annulla",publish:"Pubblica",unpublish:"Rimuovi pubblicazione",discard:"Scarta",selectItemPreview:"Seleziona elemento per anteprima",language:"Lingua",defaultLanguage:"Predefinita",setAsDefault:"Imposta come predefinita",removeLanguage:"Rimuovi lingua",languageCode:"it / en / es",removeLanguageConfirm:'Rimuovere la lingua "{locale}"?',seoTitle:"Titolo SEO",seoDescription:"Descrizione SEO",ogImageUrl:"URL immagine OG",showGrid:"Mostra griglia",hideGrid:"Nascondi griglia",search:"Cerca...",lastSaved:"Ultimo salvataggio",saveNow:"Salva ora",publishDestination:"Scegli destinazione",publishAll:"Pubblica tutto",lastPublished:"Ultima pubblicazione",published:"Pubblicato",notPublished:"Non ancora pubblicato",production:"Produzione",publishFailed:"Pubblicazione fallita"},k$={content:"Contenuto",blox:"Blox",whatsapp:"WhatsApp",newsletter:"Newsletter",agent:"Agenti",users:"Utenti",tenants:"Organizzazioni"},$$={title:"Utenti",notConfigured:"L'interfaccia di gestione utenti non è configurata",notConfiguredHint:"Passa userApi a createAuthAdmin() per abilitare questa schermata.",team:"Team",filterByRole:"Filtra per ruolo",invite:"Invita",pendingInvitations:"Inviti in sospeso",pending:"In sospeso",resend:"Reinvia",delete:"Elimina",activeUsers:"Utenti attivi",active:"Attivo",edit:"Modifica",remove:"Rimuovi",noUsers:"Nessun utente ancora",inviteFirst:"Invita il primo",inviteTitle:"Invita utente",firstName:"Nome",lastName:"Cognome",email:"Email",role:"Ruolo",message:"Messaggio",inviteSent:"Invito reinviato",inviteError:"Errore durante l'invio dell'invito",deleteInviteConfirm:"Eliminare l'invito?",deleteInviteError:"Errore durante l'eliminazione dell'invito",removeUserConfirm:"Rimuovere {email}?"},E$={today:"Oggi",views:{week:"Settimana",month:"Mese",day:"Giorno",agenda:"Agenda"},agenda:{time:"Ora",event:"Evento",eventsCount:"{n} evento | {n} eventi",noEvents:"Nessun evento"}},C$={addTo:"Aggiungi a {name}",addToCalendar:"Aggiungi al calendario"};var S$={modalConfirm:Qk,upload:e$,pagination:t$,form:n$,password:r$,select:o$,fieldArray:a$,arrayInput:l$,btn:i$,toast:s$,filter:c$,multiStep:u$,addressSearch:d$,importData:f$,timeAgo:m$,dialogForm:p$,tel:h$,email:g$,date:v$,spreadsheet:y$,lightbox:b$,color:_$,pageDesigner:w$,admin:k$,userManagement:$$,calendar:E$,addToCalendar:C$};const x$={title:"Подтвердить",message:"Вы уверены, что хотите продолжить?",confirm:"Подтвердить",cancel:"Отмена"},T$={upload:"Загрузить",uploading:"Загрузка {count} файл{plural}...",noFile:"Файл не выбран",dropPlaceholder:"Перетащите файлы сюда или нажмите для загрузки",delete:"Удалить",replace:"Заменить",download:"Скачать"},N$={of:"из",prev:"Предыдущая",next:"Следующая"},B$={required:"Это поле обязательно для заполнения",invalidEmail:"Введите действительный адрес электронной почты",invalidUrl:"Введите действительный URL",minLength:"Должно содержать не менее {min} символов",maxLength:"Должно содержать не более {max} символов",minValue:"Должно быть не менее {min}",maxValue:"Должно быть не более {max}",pattern:"Неверный формат",passwordStrength:"Надежность пароля"},D$={veryWeak:"Очень слабый",weak:"Слабый",fair:"Средний",good:"Хороший",strong:"Надёжный"},A$={placeholder:"Выбрать",search:"Поиск",yes:"Да",no:"Нет"},M$={loadDefault:"Загрузить {label} по умолчанию"},L$={item:"Элемент"},P$={loading:"Загрузка..."},I$={success:"Успешно",error:"Ошибка",warning:"Предупреждение",info:"Информация"},V$={filter:"Фильтр",noActiveFilters:"Нет активных фильтров",connectors:{and:"И",or:"Или"},operators:{eq:"Равно",ne:"Не равно",gt:"Больше чем",ge:"Больше или равно",lt:"Меньше чем",le:"Меньше или равно",co:"Содержит",sw:"Начинается с",ew:"Заканчивается на",pr:"Присутствует",in:"В списке",nin:"Не в списке"},placeholders:{selectField:"Выберите поле",selectOption:"Выберите вариант",selectDate:"Выберите дату",enterValue:"Значение"},buttons:{addCondition:"Добавить условие",clearAll:"Очистить всё",save:"Сохранить"}},O$={previous:"Назад",next:"Далее",complete:"Завершить",step:"Шаг {current} из {total}"},R$={placeholder:"Введите адрес"},F$={close:"Закрыть",cancel:"Отмена",importData:"Импорт данных",changeFile:"Изменить файл",selectSheet:"Выбрать лист",hasHeaders:"Отметьте, если файл содержит строку заголовка",sourceKeyField:"Ключевое поле источника (из этого файла)",relatedKeyField:"Ключевое поле связанного (из связанного файла)",selectSourceValue:"Выберите исходное значение",sourceValue:"Исходное значение",selectTargetValue:"Выберите целевое значение",targetValue:"Целевое значение",selectColumn:"Выберите столбец..."},z$={year:"год",month:"месяц",week:"неделя",day:"день",hour:"час",minute:"минута",second:"секунда",ago:"назад",in:"через",justNow:"Только что"},U$={save:"Сохранить",cancel:"Отмена",delete:"Удалить",validationError:"Пожалуйста, исправьте ошибки валидации перед отправкой",errorOccurred:"Произошла ошибка"},H$={phoneNumber:"Номер телефона",invalidPhone:"Пожалуйста, введите действительный номер телефона"},W$={invalidEmail:"Введите действительный адрес электронной почты",invalidDomain:"Домен этого адреса электронной почты, похоже, недействителен",disposableEmail:"Пожалуйста, используйте постоянный адрес электронной почты",didYouMean:"Вы имели в виду {suggestion}?",validating:"Проверка адреса электронной почты..."},j$={invalidFormat:"Неверный формат даты"},q$={wrapText:"Перенос текста",selectAll:"Выбрать всё",clearAll:"Очистить всё"},G$={openFile:"Открыть файл"},Y$={placeholder:"Введите цвет"},X$={deleteBlockConfirm:"Вы уверены, что хотите удалить эту секцию?",saving:"Сохранение...",error:"Ошибка",save:"Сохранить",saved:"Сохранено",title:"Заголовок",slug:"Slug",slugPlaceholder:"moya-stranica",pageSettings:"Настройки страницы",deletePage:"Удалить страницу",deletePageConfirm:"Удаление этой страницы нельзя отменить.",newPage:"Новая страница",createPage:"Создать страницу",addNewBlock:"Добавить новый блок",searchBlock:"Поиск блоков",page:"Страница",pageStructure:"Структура страницы",clickToEdit:"Нажмите на секцию для редактирования",addNewBlockHere:"Нажмите здесь, чтобы добавить",newBlock:"новый блок",adding:"Добавление",removeSection:"Удалить секцию",closeEditor:"Закрыть редактор (ESC)",blockNotEditable:"Содержимое этого блока поступает из источника данных",blockNotEditableDesc:"и не может быть отредактировано здесь.",dataSourceHint:"Часть содержимого этого блока поступает из источника данных. Чтобы изменить его, отредактируйте данные напрямую.",screenTooSmall:"Экран слишком мал для этого редактора. Попробуйте уменьшить масштаб или использовать большой экран.",cancel:"Отмена",publish:"Опубликовать",unpublish:"Отменить публикацию",discard:"Отменить",selectItemPreview:"Выбрать элемент для предпросмотра",language:"Язык",defaultLanguage:"По умолчанию",setAsDefault:"Установить по умолчанию",removeLanguage:"Удалить язык",languageCode:"ru / en / fr",removeLanguageConfirm:'Удалить язык "{locale}"?',seoTitle:"Заголовок SEO",seoDescription:"Описание SEO",ogImageUrl:"URL изображения OG",showGrid:"Показать сетку",hideGrid:"Скрыть сетку",search:"Поиск...",lastSaved:"Последнее сохранение",saveNow:"Сохранить сейчас",publishDestination:"Выбрать место публикации",publishAll:"Опубликовать всё",lastPublished:"Последняя публикация",published:"Опубликовано",notPublished:"Ещё не опубликовано",production:"Продакшн",publishFailed:"Ошибка публикации"},K$={content:"Контент",blox:"Блокс",whatsapp:"WhatsApp",newsletter:"Рассылка",agent:"Агенты",users:"Пользователи",tenants:"Организации"},J$={title:"Пользователи",notConfigured:"Интерфейс управления пользователями не настроен",notConfiguredHint:"Передайте userApi в createAuthAdmin(), чтобы активировать этот экран.",team:"Команда",filterByRole:"Фильтр по роли",invite:"Пригласить",pendingInvitations:"Ожидающие приглашения",pending:"Ожидает",resend:"Отправить ещё раз",delete:"Удалить",activeUsers:"Активные пользователи",active:"Активен",edit:"Редактировать",remove:"Удалить",noUsers:"Пользователейещё нет",inviteFirst:"Пригласить первого",inviteTitle:"Приглашение пользователя",firstName:"Имя",lastName:"Фамилия",email:"Эл. почта",role:"Роль",message:"Сообщение",inviteSent:"Приглашение отправлено повторно",inviteError:"Ошибка при отправке приглашения",deleteInviteConfirm:"Удалить приглашение?",deleteInviteError:"Ошибка при удалении приглашения",removeUserConfirm:"Удалить {email}?"},Z$={today:"Сегодня",views:{week:"Неделя",month:"Месяц",day:"День",agenda:"Повестка"},agenda:{time:"Время",event:"Событие",eventsCount:"{n} событие | {n} события | {n} событий",noEvents:"Нет событий"}},Q$={addTo:"Добавить в {name}",addToCalendar:"Добавить в календарь"};var eE={modalConfirm:x$,upload:T$,pagination:N$,form:B$,password:D$,select:A$,fieldArray:M$,arrayInput:L$,btn:P$,toast:I$,filter:V$,multiStep:O$,addressSearch:R$,importData:F$,timeAgo:z$,dialogForm:U$,tel:H$,email:W$,date:j$,spreadsheet:q$,lightbox:G$,color:Y$,pageDesigner:X$,admin:K$,userManagement:J$,calendar:Z$,addToCalendar:Q$},hc={en:y2,he:Zk,it:S$,es:q2,fr:_k,ru:eE},Hl=null;function Kh(e={}){const{locale:t="en",fallbackLocale:r="en",messages:o={}}=e,a=Object.keys(hc),l={};for(const i of a)l[i]={...hc[i]||{},...o[i]||{}};for(const i of Object.keys(o))l[i]||(l[i]=o[i]);return Hl=Aw({locale:t,fallbackLocale:r,messages:l,legacy:!1,globalInjection:!0}),Hl}function ir(){if(!Hl)throw new Error("i18n not initialized. Call createI18n() first.");return Hl}function ot(){const e=ir().global;return{$t:e.t,t:e.t,locale:e.locale,availableLocales:e.availableLocales,fallbackLocale:e.fallbackLocale,n:e.n,d:e.d}}function Ee(e){if(e!=null)return e.startsWith("$t:")?ir().global.t(e.slice(3)):e}function Jh(){try{const e=ir().global.locale,t=e?.value??e;if(typeof t=="string"&&t)return t}catch{}return typeof document<"u"&&(document.documentElement.lang||navigator?.language)||"en"}function St(e,t={}){const r=Jh();let o;try{t.currency?o=new Intl.NumberFormat(r,{style:"currency",currency:t.currency,notation:t.compact?"compact":"standard",maximumFractionDigits:t.maximumFractionDigits??(t.compact?1:0)}).format(e):o=new Intl.NumberFormat(r,{notation:t.compact?"compact":"standard",maximumFractionDigits:t.maximumFractionDigits??(t.compact?1:2)}).format(e)}catch{o=String(e)}return`${t.prefix??""}${o}${t.suffix??""}`}function Wl(e){if(/[-/]/.test(e)){const t=new Date(e);if(!Number.isNaN(t.getTime()))try{return t.toLocaleDateString(Jh(),{month:"short",day:"numeric"})}catch{}}return e}var tE={top:8,right:8,bottom:22,left:36};function Zh(e,t){const r=(0,n.ref)(0),o=(0,n.computed)(()=>typeof t.height=="number"?t.height:t.height.value),a=(0,n.computed)(()=>({...tE,...t.padding})),l=(0,n.computed)(()=>Math.max(0,r.value-a.value.left-a.value.right)),i=(0,n.computed)(()=>Math.max(0,o.value-a.value.top-a.value.bottom)),s=(0,n.ref)(!1);function c(){typeof document>"u"||(s.value=(e.value?.closest("[dir]")?.getAttribute("dir")||document.documentElement.dir)==="rtl"||document.documentElement.lang==="he")}let u=null;return(0,n.onMounted)(()=>{c(),e.value&&(r.value=e.value.clientWidth||0,u=new ResizeObserver(f=>{for(const m of f)r.value=m.contentRect.width}),u.observe(e.value))}),(0,n.onUnmounted)(()=>u?.disconnect()),{width:r,height:o,pad:a,innerWidth:l,innerHeight:i,isRTL:s,flipX:f=>s.value?l.value-f:f}}var nE={key:0,class:"bgl-tip__label m-0"},rE={key:1,class:"bgl-tip__hero m-0 tabular-nums"},oE={key:1,class:"bgl-tip__name"},aE={class:"bgl-tip__val tabular-nums"},lE={key:2,class:"bgl-tip__row bgl-tip__total flex align-items-center m-0"},iE={class:"bgl-tip__name"},sE={class:"bgl-tip__val tabular-nums"},cE={key:3,class:"bgl-tip__stats flex column"},uE={class:"bgl-tip__name"},dE={class:"bgl-tip__val tabular-nums"},fE=(0,n.defineComponent)({name:"BglChartTooltip",__name:"ChartTooltip",props:{label:{},hero:{},rows:{default:()=>[]},total:{},stats:{default:()=>[]},above:{type:Boolean}},setup(e){const{$t:t}=ot();return(r,o)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["bgl-tip absolute pointer-events-none nowrap z-5 color-white line-height-13",{"bgl-tip--above":e.above}])},[e.label?((0,n.openBlock)(),(0,n.createElementBlock)("p",nE,(0,n.toDisplayString)(e.label),1)):(0,n.createCommentVNode)("",!0),e.hero?((0,n.openBlock)(),(0,n.createElementBlock)("p",rE,(0,n.toDisplayString)(e.hero),1)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.rows,(a,l)=>((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:l,class:"bgl-tip__row flex align-items-center m-0"},[a.color?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:"bgl-tip__dot flex-shrink-0",style:(0,n.normalizeStyle)({background:a.color})},null,4)):(0,n.createCommentVNode)("",!0),e.rows.length>1?((0,n.openBlock)(),(0,n.createElementBlock)("span",oE,(0,n.toDisplayString)(a.name),1)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("span",aE,(0,n.toDisplayString)(a.value),1)]))),128)),e.total?((0,n.openBlock)(),(0,n.createElementBlock)("p",lE,[(0,n.createElementVNode)("span",iE,(0,n.toDisplayString)((0,n.unref)(t)("charts.total")),1),(0,n.createElementVNode)("span",sE,(0,n.toDisplayString)(e.total),1)])):(0,n.createCommentVNode)("",!0),e.stats.length?((0,n.openBlock)(),(0,n.createElementBlock)("div",cE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.stats,(a,l)=>((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:l,class:"bgl-tip__row flex align-items-center m-0"},[(0,n.createElementVNode)("span",uE,(0,n.toDisplayString)(a.label),1),(0,n.createElementVNode)("span",dE,(0,n.toDisplayString)(a.value),1)]))),128))])):(0,n.createCommentVNode)("",!0)],2))}}),Si=be(fE,[["__scopeId","data-v-8a82cd70"]]),mE=["width","height"],pE={key:0},hE=["id","y2"],gE=["stop-color","stop-opacity"],vE=["stop-color","stop-opacity"],yE=["transform"],bE={key:0,class:"bgl-chart__grid"},_E=["x2","y1","y2"],wE=["y"],kE=["d","fill","opacity"],$E=["d","stroke","stroke-dasharray","stroke-dashoffset"],EE=["cx","cy","fill","opacity"],CE={class:"bgl-chart__xlabels"},SE=["x","y"],xE={key:3,class:"bgl-chart__hover","pointer-events":"none"},TE=["x1","x2","y2"],NE=["cx","cy","fill"],BE=(0,n.defineComponent)({__name:"LineChart",props:{data:{},series:{},labels:{},color:{},area:{type:Boolean},gradient:{type:Boolean},stacked:{type:Boolean},height:{default:220},grid:{type:Boolean,default:!0},points:{type:Boolean,default:!1},currency:{},prefix:{},suffix:{},maxLabels:{default:7},animated:{type:Boolean,default:!0}},setup(e){const t=e,r=(0,n.ref)(),{width:o,height:a,pad:l,innerWidth:i,innerHeight:s,flipX:c,isRTL:u}=Zh(r,{height:(0,n.computed)(()=>t.height)}),{progress:d}=Kr({el:r,enabled:t.animated,duration:800}),f=(0,n.computed)(()=>mu(t.data,t.series,{labels:t.labels,defaultColor:t.color})),m=(0,n.computed)(()=>mh(f.value)),p=(0,n.computed)(()=>({currency:t.currency,prefix:t.prefix,suffix:t.suffix})),h=(0,n.computed)(()=>({...p.value,compact:!0})),y=(0,n.computed)(()=>t.stacked&&f.value.length>1),b=(0,n.computed)(()=>m.value.map((H,U)=>f.value.reduce((I,j)=>I+(j.points[U]?.y??0),0))),g=(0,n.computed)(()=>ph(y.value?Math.max(0,...b.value):Math.max(0,...nc(f.value)))),v=(0,n.computed)(()=>y.value?0:Math.min(0,...nc(f.value))),_=(0,n.computed)(()=>ya(0,Math.max(1,m.value.length-1),0,i.value)),w=(0,n.computed)(()=>ya(v.value,g.value,s.value,0)),k=(0,n.computed)(()=>t.grid?hh(v.value,g.value,4):[]),S=(0,n.computed)(()=>{const H=s.value,U=m.value.map(()=>0);return f.value.map((I,j)=>{const te=xt(I.color,j);if(y.value){const ue=m.value.map((F,W)=>U[W]),pe=m.value.map((F,W)=>U[W]+(I.points[W]?.y??0));pe.forEach((F,W)=>{U[W]=F});const ve=pe.map((F,W)=>({x:c(_.value(W)),y:w.value(F),p:I.points[W]??{label:m.value[W],y:F}})),ce=ve.map((F,W)=>`${W===0?"M":"L"} ${F.x.toFixed(1)} ${F.y.toFixed(1)}`).join(" "),ne=[...ue.map((F,W)=>({x:c(_.value(W)),y:w.value(F)}))].reverse().map(F=>`L ${F.x.toFixed(1)} ${F.y.toFixed(1)}`).join(" "),fe=ve.length?`${ce} ${ne} Z`:"";return{name:I.name,color:te,coords:ve,line:ce,areaPath:fe}}const ae=I.points.map((ue,pe)=>({x:c(_.value(pe)),y:w.value(ue.y),p:ue})),we=ae.map((ue,pe)=>`${pe===0?"M":"L"} ${ue.x.toFixed(1)} ${ue.y.toFixed(1)}`).join(" "),J=ae.length?`${we} L ${ae[ae.length-1].x.toFixed(1)} ${H} L ${ae[0].x.toFixed(1)} ${H} Z`:"";return{name:I.name,color:te,coords:ae,line:we,areaPath:J}})}),E=(0,n.computed)(()=>t.area||y.value),C=(0,n.computed)(()=>E.value&&t.gradient!==!1),M=wi(),A=H=>`${M}-grad-${H}`,z=(0,n.computed)(()=>Math.max(1,Math.ceil(m.value.length/t.maxLabels))),D=(0,n.computed)(()=>(i.value+s.value)*2),R=(0,n.computed)(()=>D.value*(1-d.value)),$=(0,n.ref)(null),V=(0,n.ref)(0);function P(H){const U=r.value;if(!U||!m.value.length)return;const I=U.getBoundingClientRect();let j=H.clientX-I.left-l.value.left;u.value&&(j=i.value-j);const te=Math.round(j/Math.max(1,i.value)*(m.value.length-1));$.value=Math.min(m.value.length-1,Math.max(0,te)),V.value=H.clientX-I.left}function B(){$.value=null}const O=(0,n.computed)(()=>$.value==null?0:c(_.value($.value))),K=(0,n.computed)(()=>$.value==null?[]:S.value.map(H=>H.coords[$.value]).filter(Boolean).map((H,U)=>({x:H.x,y:H.y,color:S.value[U].color}))),Y=(0,n.computed)(()=>$.value==null?[]:f.value.map((H,U)=>({name:H.name,color:xt(H.color,U),value:St(H.points[$.value]?.y??0,p.value)}))),re=(0,n.computed)(()=>$.value==null?"":Wl(m.value[$.value])),G=(0,n.computed)(()=>$.value==null||!y.value?null:St(f.value.reduce((H,U)=>H+(U.points[$.value]?.y??0),0),p.value)),N=(0,n.computed)(()=>({left:`${Math.min(Math.max(V.value,70),Math.max(70,o.value-70))}px`}));return(H,U)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"el",ref:r,class:"bgl-chart w-100p relative",style:(0,n.normalizeStyle)({height:`${(0,n.unref)(a)}px`}),onMousemove:P,onMouseleave:B},[(0,n.unref)(o)?((0,n.openBlock)(),(0,n.createElementBlock)("svg",{key:0,width:(0,n.unref)(o),height:(0,n.unref)(a),class:"display-block overflow-hidden"},[C.value?((0,n.openBlock)(),(0,n.createElementBlock)("defs",pE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(S.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("linearGradient",{id:A(j),key:j,gradientUnits:"userSpaceOnUse",x1:0,y1:0,x2:0,y2:(0,n.unref)(s)},[(0,n.createElementVNode)("stop",{offset:"0%","stop-color":I.color,"stop-opacity":y.value?.9:.32},null,8,gE),(0,n.createElementVNode)("stop",{offset:"100%","stop-color":I.color,"stop-opacity":y.value?.15:.02},null,8,vE)],8,hE))),128))])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("g",{transform:`translate(${(0,n.unref)(l).left}, ${(0,n.unref)(l).top})`},[e.grid?((0,n.openBlock)(),(0,n.createElementBlock)("g",bE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(k.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("g",{key:j},[(0,n.createElementVNode)("line",{x1:0,x2:(0,n.unref)(i),y1:w.value(I),y2:w.value(I)},null,8,_E),(0,n.createElementVNode)("text",{class:"bgl-chart__ytick",x:-8,y:w.value(I)+3},(0,n.toDisplayString)((0,n.unref)(St)(I,h.value)),9,wE)]))),128))])):(0,n.createCommentVNode)("",!0),E.value?((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:1},(0,n.renderList)(S.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:`a${j}`,d:I.areaPath,fill:C.value?`url(#${A(j)})`:(0,n.unref)(_i)(I.color,y.value?78:14),stroke:"none",opacity:(0,n.unref)(d)},null,8,kE))),128)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(S.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:`l${j}`,d:I.line,stroke:I.color,"stroke-width":"2.5",fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-dasharray":D.value,"stroke-dashoffset":R.value},null,8,$E))),128)),e.points?((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:2},(0,n.renderList)(S.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("g",{key:`p${j}`},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(I.coords,(te,ae)=>((0,n.openBlock)(),(0,n.createElementBlock)("circle",{key:ae,cx:te.x,cy:te.y,r:"3.5",fill:I.color,class:"bgl-chart__pt",opacity:(0,n.unref)(d)},null,8,EE))),128))]))),128)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("g",CE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(m.value,(I,j)=>(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("text",{key:j,x:(0,n.unref)(c)(_.value(j)),y:(0,n.unref)(s)+16,"text-anchor":"middle"},(0,n.toDisplayString)((0,n.unref)(Wl)(I)),9,SE)),[[n.vShow,j%z.value===0]])),128))]),$.value!=null?((0,n.openBlock)(),(0,n.createElementBlock)("g",xE,[(0,n.createElementVNode)("line",{x1:O.value,x2:O.value,y1:0,y2:(0,n.unref)(s),class:"bgl-chart__crosshair"},null,8,TE),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(K.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("circle",{key:j,cx:I.x,cy:I.y,r:"4",fill:I.color,class:"bgl-chart__hoverpt"},null,8,NE))),128))])):(0,n.createCommentVNode)("",!0)],8,yE)],8,mE)):(0,n.createCommentVNode)("",!0),$.value!=null?((0,n.openBlock)(),(0,n.createBlock)(Si,{key:1,style:(0,n.normalizeStyle)(N.value),label:re.value,rows:Y.value,total:G.value},null,8,["style","label","rows","total"])):(0,n.createCommentVNode)("",!0)],36))}}),DE=be(BE,[["__scopeId","data-v-81691af8"]]),AE={class:"bgl-chart-scroll w-100p overflow-x"},ME=["width","height"],LE={key:0},PE=["id"],IE=["stop-color"],VE=["stop-color"],OE=["transform"],RE={key:0,class:"bgl-chart__grid"},FE=["x2","y1","y2"],zE=["y"],UE=["x","y","width","height","rx","fill"],HE={class:"bgl-chart__xlabels"},WE=["x","y"],jE=(0,n.defineComponent)({__name:"BarChart",props:{data:{},series:{},labels:{},color:{},stacked:{type:Boolean},gradient:{type:Boolean},height:{default:220},grid:{type:Boolean,default:!0},radius:{default:4},currency:{},prefix:{},suffix:{},maxLabels:{default:12},minBarWidth:{default:28},animated:{type:Boolean,default:!0}},setup(e){const t=e,r=(0,n.ref)(),{width:o,height:a,pad:l,innerWidth:i,innerHeight:s,flipX:c}=Zh(r,{height:(0,n.computed)(()=>t.height)}),{progress:u}=Kr({el:r,enabled:t.animated,duration:700}),d=(0,n.computed)(()=>mu(t.data,t.series,{labels:t.labels,defaultColor:t.color})),f=(0,n.computed)(()=>mh(d.value)),m=(0,n.computed)(()=>t.minBarWidth>0&&f.value.length?Math.ceil(f.value.length*t.minBarWidth+l.value.left+l.value.right):0),p=(0,n.computed)(()=>({currency:t.currency,prefix:t.prefix,suffix:t.suffix})),h=(0,n.computed)(()=>({...p.value,compact:!0})),y=(0,n.computed)(()=>f.value.map((O,K)=>d.value.reduce((Y,re)=>Y+(re.points[K]?.y??0),0))),b=(0,n.computed)(()=>ph(t.stacked?Math.max(0,...y.value):Math.max(0,...nc(d.value)))),g=(0,n.computed)(()=>ya(0,b.value,s.value,0)),v=(0,n.computed)(()=>t.grid?hh(0,b.value,4):[]),_=(0,n.computed)(()=>Qb(f.value.length,i.value,.3)),w=(0,n.computed)(()=>{const O=t.stacked?1:d.value.length,K=_.value.bandWidth/O;return{width:K,at:Y=>Y*K}}),k=(0,n.computed)(()=>{const O=[];return f.value.forEach((K,Y)=>{const re=_.value.start(Y);let G=s.value;d.value.forEach((N,H)=>{const U=N.points[Y]?.y??0,I=xt(N.color,H),j=s.value-g.value(U),te=j*u.value,ae=w.value.width,we=t.stacked?re:re+w.value.at(H),J=t.stacked?G-te:s.value-te;t.stacked&&(G-=j),O.push({x:c(we+ae/2)-ae/2,y:J,w:ae,h:te,color:I,cat:Y})})}),O}),S=(0,n.computed)(()=>Math.max(1,Math.ceil(f.value.length/t.maxLabels))),E=wi("bar"),C=(0,n.computed)(()=>[...new Set(k.value.map(O=>O.color))]),M=O=>`${E}-${C.value.indexOf(O)}`,A=(0,n.ref)(null),z=(0,n.ref)(0);function D(O){const K=r.value;if(!K||!f.value.length)return;const Y=K.getBoundingClientRect();let re=O.clientX-Y.left-l.value.left;c(0)!==0&&(re=i.value-re);const G=Math.floor(re/Math.max(1,i.value)*f.value.length);A.value=Math.min(f.value.length-1,Math.max(0,G)),z.value=O.clientX-Y.left}function R(){A.value=null}const $=(0,n.computed)(()=>A.value==null?"":Wl(f.value[A.value])),V=(0,n.computed)(()=>A.value==null?[]:d.value.map((O,K)=>({name:O.name,color:xt(O.color,K),value:St(O.points[A.value]?.y??0,p.value)}))),P=(0,n.computed)(()=>A.value==null||!t.stacked?null:St(y.value[A.value]??0,p.value)),B=(0,n.computed)(()=>({left:`${Math.min(Math.max(z.value,70),Math.max(70,o.value-70))}px`}));return(O,K)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",AE,[(0,n.createElementVNode)("div",{ref_key:"el",ref:r,class:"bgl-chart relative",style:(0,n.normalizeStyle)({height:`${(0,n.unref)(a)}px`,minWidth:m.value?`${m.value}px`:void 0}),onMousemove:D,onMouseleave:R},[(0,n.unref)(o)?((0,n.openBlock)(),(0,n.createElementBlock)("svg",{key:0,width:(0,n.unref)(o),height:(0,n.unref)(a),class:"display-block overflow-hidden"},[e.gradient?((0,n.openBlock)(),(0,n.createElementBlock)("defs",LE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(C.value,Y=>((0,n.openBlock)(),(0,n.createElementBlock)("linearGradient",{id:M(Y),key:Y,x1:"0",y1:"0",x2:"0",y2:"1"},[(0,n.createElementVNode)("stop",{offset:"0%","stop-color":Y,"stop-opacity":"1"},null,8,IE),(0,n.createElementVNode)("stop",{offset:"100%","stop-color":Y,"stop-opacity":"0.55"},null,8,VE)],8,PE))),128))])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("g",{transform:`translate(${(0,n.unref)(l).left}, ${(0,n.unref)(l).top})`},[e.grid?((0,n.openBlock)(),(0,n.createElementBlock)("g",RE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(v.value,(Y,re)=>((0,n.openBlock)(),(0,n.createElementBlock)("g",{key:re},[(0,n.createElementVNode)("line",{x1:0,x2:(0,n.unref)(i),y1:g.value(Y),y2:g.value(Y)},null,8,FE),(0,n.createElementVNode)("text",{class:"bgl-chart__ytick",x:-8,y:g.value(Y)+3},(0,n.toDisplayString)((0,n.unref)(St)(Y,h.value)),9,zE)]))),128))])):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(k.value,(Y,re)=>((0,n.openBlock)(),(0,n.createElementBlock)("rect",{key:re,x:Y.x,y:Y.y,width:Math.max(0,Y.w),height:Math.max(0,Y.h),rx:Math.min(e.radius,Y.w/2),fill:e.gradient?`url(#${M(Y.color)})`:Y.color,class:(0,n.normalizeClass)(["bgl-chart__bar",{"is-dim opacity-5":A.value!=null&&A.value!==Y.cat}])},null,10,UE))),128)),(0,n.createElementVNode)("g",HE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(f.value,(Y,re)=>(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("text",{key:re,x:(0,n.unref)(c)(_.value.center(re)),y:(0,n.unref)(s)+16,"text-anchor":"middle"},(0,n.toDisplayString)((0,n.unref)(Wl)(Y)),9,WE)),[[n.vShow,re%S.value===0]])),128))])],8,OE)],8,ME)):(0,n.createCommentVNode)("",!0),A.value!=null?((0,n.openBlock)(),(0,n.createBlock)(Si,{key:1,style:(0,n.normalizeStyle)(B.value),label:$.value,rows:V.value,total:P.value},null,8,["style","label","rows","total"])):(0,n.createCommentVNode)("",!0)],36)]))}}),qE=be(jE,[["__scopeId","data-v-4c147136"]]),GE=["width","height","viewBox"],YE=["d","fill","onMouseenter"],XE=["x","y"],KE=["x"],JE=["x","dy"],ZE=["x","dy"],QE={key:0,class:"absolute-fill flex-center column pointer-events-none gap-025"},eC={key:0,class:"semibold txt20 line-height-1"},tC={key:1,class:"color-gray txt12"},nC={key:0,class:"bgl-donut__legend grid gap-025"},rC={class:"bgl-donut__legname ms-0 me-auto my-0 p-0"},oC={key:0,class:"semibold tabular-nums"},aC={key:1,class:"bgl-donut__legpct color-gray tabular-nums txt-end"},lC=(0,n.defineComponent)({name:"BglDonut",__name:"Donut",props:{data:{},size:{default:180},thickness:{default:.38},pie:{type:Boolean},legend:{type:Boolean,default:!0},legendValue:{type:Boolean,default:!0},legendPct:{type:Boolean,default:!0},color:{default:"primary"},mode:{default:"shades"},centerLabel:{},centerValue:{},showTotal:{type:Boolean,default:!1},currency:{},labels:{type:[Boolean,String],default:!1},labelMinShare:{default:.05},animated:{type:Boolean,default:!0}},setup(e){const t=e,{$t:r}=ot(),o=(0,n.ref)(),{progress:a}=Kr({el:o,enabled:t.animated,duration:800}),l=(0,n.computed)(()=>({currency:t.currency,compact:!0}));function i(S){return St(S,{currency:t.currency,compact:!0})}const s=(0,n.computed)(()=>t.data.reduce((S,E)=>S+Math.max(0,E.value),0)||1),c=(0,n.computed)(()=>t.size/2),u=(0,n.computed)(()=>t.pie?0:c.value*(1-t.thickness)),d=(0,n.computed)(()=>{const S=c.value,E=u.value,C=S,M=S,A=E+(S-E)*.68;let z=-Math.PI/2;return t.data.map((D,R)=>{const $=Math.max(0,D.value)/s.value,V=$*Math.PI*2*a.value,P=z,B=z+V;z=B;const O=(P+B)/2,K=V>Math.PI?1:0,Y=C+S*Math.cos(P),re=M+S*Math.sin(P),G=C+S*Math.cos(B),N=M+S*Math.sin(B);let H;E>0?H=`M ${Y} ${re} A ${S} ${S} 0 ${K} 1 ${G} ${N} L ${C+E*Math.cos(B)} ${M+E*Math.sin(B)} A ${E} ${E} 0 ${K} 0 ${C+E*Math.cos(P)} ${M+E*Math.sin(P)} Z`:H=`M ${C} ${M} L ${Y} ${re} A ${S} ${S} 0 ${K} 1 ${G} ${N} Z`;const U=D.color?xt(D.color):t.mode==="multi"?xt(void 0,R):pu(t.color,t.data.length,R),I=$*100,j=!!t.labels&&$>=t.labelMinShare;return{d:H,color:U,label:D.label,value:D.value,pct:I,lx:C+A*Math.cos(O),ly:M+A*Math.sin(O),tagged:j,tagName:j&&t.labels==="full"?D.label:"",tagValue:j&&t.labels!=="pct"?i(D.value):"",tagPct:j&&t.labels!=="value"?`${I.toFixed(0)}%`:""}})}),f=(0,n.computed)(()=>t.centerValue!==void 0?String(t.centerValue):t.showTotal?St(s.value,l.value):""),m=(0,n.ref)(null),p=(0,n.ref)(0),h=(0,n.ref)(0);function y(S){m.value=S}function b(){m.value=null}function g(S){const E=S.currentTarget.getBoundingClientRect();p.value=S.clientX-E.left,h.value=S.clientY-E.top}const v=(0,n.computed)(()=>m.value==null?null:d.value[m.value]),_=(0,n.computed)(()=>v.value?i(v.value.value):""),w=(0,n.computed)(()=>v.value?[{label:r("charts.share"),value:`${v.value.pct.toFixed(0)}%`}]:[]),k=(0,n.computed)(()=>({left:`${p.value}px`,top:`${h.value}px`}));return(S,E)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"el",ref:o,class:(0,n.normalizeClass)(["bgl-donut w-100p inline-flex gap-1",e.legend?"row flex-wrap justify-content-center":"column"])},[(0,n.createElementVNode)("div",{class:"bgl-donut__chart relative flex-shrink-0",style:(0,n.normalizeStyle)({width:`${e.size}px`,height:`${e.size}px`}),onMousemove:g,onMouseleave:b},[((0,n.openBlock)(),(0,n.createElementBlock)("svg",{width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,(C,M)=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:M,d:C.d,fill:C.color,class:(0,n.normalizeClass)(["bgl-donut__slice cursor-pointer",{"opacity-5":m.value!=null&&m.value!==M}]),onMouseenter:A=>y(M)},null,42,YE))),128)),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,(C,M)=>(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("text",{key:`t${M}`,x:C.lx,y:C.ly,class:"bgl-donut__tag pointer-events-none","text-anchor":"middle","dominant-baseline":"central"},[C.tagName?((0,n.openBlock)(),(0,n.createElementBlock)("tspan",{key:0,x:C.lx,dy:"-0.7em",class:"bgl-donut__tag-name opacity-9 txt-medium txt-0625rem"},(0,n.toDisplayString)(C.tagName),9,KE)):(0,n.createCommentVNode)("",!0),C.tagValue?((0,n.openBlock)(),(0,n.createElementBlock)("tspan",{key:1,x:C.lx,dy:C.tagName?"1.15em":"0",class:"bgl-donut__tag-val txt-bold txt-0875rem"},(0,n.toDisplayString)(C.tagValue),9,JE)):(0,n.createCommentVNode)("",!0),C.tagPct?((0,n.openBlock)(),(0,n.createElementBlock)("tspan",{key:2,x:C.lx,dy:C.tagName||C.tagValue?"1.5em":"0",class:"bgl-donut__tag-pct opacity-9 txt-05rem"},(0,n.toDisplayString)(C.tagPct),9,ZE)):(0,n.createCommentVNode)("",!0)],8,XE)),[[n.vShow,C.tagged]])),128))],8,GE)),!e.pie&&(f.value||e.centerLabel)?((0,n.openBlock)(),(0,n.createElementBlock)("div",QE,[f.value?((0,n.openBlock)(),(0,n.createElementBlock)("span",eC,(0,n.toDisplayString)(f.value),1)):(0,n.createCommentVNode)("",!0),e.centerLabel?((0,n.openBlock)(),(0,n.createElementBlock)("span",tC,(0,n.toDisplayString)(e.centerLabel),1)):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0),v.value?((0,n.openBlock)(),(0,n.createBlock)(Si,{key:1,above:"",style:(0,n.normalizeStyle)(k.value),label:v.value.label,hero:_.value,stats:w.value},null,8,["style","label","hero","stats"])):(0,n.createCommentVNode)("",!0)],36),e.legend?((0,n.openBlock)(),(0,n.createElementBlock)("ul",nC,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,(C,M)=>((0,n.openBlock)(),(0,n.createElementBlock)("li",{key:M,class:"flex gap-05 txt13"},[(0,n.createElementVNode)("span",{class:"bgl-donut__dot flex-shrink-0",style:(0,n.normalizeStyle)({background:C.color})},null,4),(0,n.createElementVNode)("span",rC,(0,n.toDisplayString)(C.label),1),e.legendValue?((0,n.openBlock)(),(0,n.createElementBlock)("span",oC,(0,n.toDisplayString)(i(C.value)),1)):(0,n.createCommentVNode)("",!0),e.legendPct?((0,n.openBlock)(),(0,n.createElementBlock)("span",aC,(0,n.toDisplayString)(C.pct.toFixed(0))+"%",1)):(0,n.createCommentVNode)("",!0)]))),128))])):(0,n.createCommentVNode)("",!0)],2))}}),iC=be(lC,[["__scopeId","data-v-cc8ed2e8"]]),sC=["viewBox"],cC={key:0},uC=["id","x2","y2"],dC=["stop-color"],fC=["stop-color"],mC=["d","fill","onMouseenter"],pC=["d","fill"],hC=["d","onMouseenter"],gC={class:"bgl-funnel__axis"},vC=["title"],yC={class:"bgl-funnel__val txt24"},bC={key:1,class:"bgl-funnel__legend flex flex-wrap justify-content-center"},_C=["title"],wC={class:"bgl-funnel__bar-wrap flex justify-content-center"},kC={class:"bgl-funnel__val semibold"},il=100,$C=1,EC=(0,n.defineComponent)({name:"BglFunnel",__name:"Funnel",props:{data:{},stages:{},series:{},flow:{type:Boolean,default:!0},orientation:{default:"vertical"},color:{default:"primary"},mode:{default:"shades"},gradient:{type:Boolean,default:!0},bandHeight:{default:52},fromPrev:{type:Boolean,default:!0},fromTop:{type:Boolean,default:!0},currency:{},prefix:{},suffix:{},animated:{type:Boolean,default:!0}},setup(e){const t=e,r=(0,n.ref)(),{progress:o}=Kr({el:r,enabled:t.animated,duration:700}),a=(0,n.computed)(()=>({currency:t.currency,prefix:t.prefix,suffix:t.suffix})),l=wi("funnel"),i=(0,n.computed)(()=>!!t.series?.length),s=(0,n.computed)(()=>(t.series??[]).map((R,$)=>({name:R.name,color:xt(R.color,$)}))),c=(0,n.computed)(()=>i.value?(t.stages??[]).map((R,$)=>({label:String(R),value:(t.series??[]).reduce((V,P)=>V+(P.data[$]??0),0)})):t.data??[]),u=(0,n.computed)(()=>{const R=c.value[0]?.value||1;return c.value.map(($,V)=>{const P=c.value[V-1]?.value,B=$.color?xt($.color):t.mode==="multi"?xt(void 0,V):pu(t.color,c.value.length,V),O=$.value/R*100,K=P?$.value/P*100:100,Y=V===0,re=[`<b>${St($.value,a.value)}</b>`];!Y&&t.fromTop&&re.push(`${O.toFixed(1)}% of top`),!Y&&t.fromPrev&&re.push(`${K.toFixed(1)}% from previous`),i.value&&(t.series??[]).forEach(N=>{const H=N.data[V]??0;H>0&&re.push(`<span style="opacity:.7">${N.name}:</span> ${St(H,a.value)}`)});const G=i.value?(t.series??[]).map((N,H)=>({name:N.name,color:s.value[H].color,value:St(N.data[V]??0,a.value),raw:N.data[V]??0})).filter(N=>N.raw>0):[{name:$.label,color:B,value:St($.value,a.value),raw:$.value}];return{label:$.label,value:$.value,display:St($.value,a.value),frac:$.value/R,fromTop:O,fromPrev:K,isFirst:Y,color:B,rows:G,tip:`<div style="text-align:center">${$.label}<br>${re.join("<br>")}</div>`,barFill:t.gradient?`linear-gradient(90deg, color-mix(in srgb, ${B} 82%, black), ${B})`:B}})}),d=(0,n.computed)(()=>t.orientation==="horizontal"),f=(0,n.computed)(()=>u.value.length*t.bandHeight),m=(0,n.computed)(()=>d.value?f.value:il),p=(0,n.computed)(()=>d.value?il:f.value);function h(R,$){const V=il/2+$;return d.value?`${R} ${V}`:`${V} ${R}`}function y(R){return(il/2-$C)*R*o.value+.4}function b(R,$,V,P,B,O){const K=(R+$)/2;return`M ${h(R,V)} L ${h(R,P)} C ${h(K,P)} ${h(K,O)} ${h($,O)} L ${h($,B)} C ${h(K,B)} ${h(K,V)} ${h(R,V)} Z`}const g=(0,n.computed)(()=>{const R=t.bandHeight;return u.value.map(($,V)=>{const P=u.value[V+1]??$,B=V*R,O=(V+1)*R,K=y($.frac),Y=y(P.frac);return{...$,path:b(B,O,-K,K,-Y,Y),gradId:`${l}-${V}`}})}),v=(0,n.computed)(()=>{if(!i.value)return[];const R=t.bandHeight,$=t.series??[],V=[];return u.value.forEach((P,B)=>{const O=B===u.value.length-1,K=u.value[B+1]??P,Y=B*R,re=(B+1)*R,G=P.value||1,N=K.value||1,H=-y(P.frac),U=y(P.frac)*2,I=-y(K.frac),j=y(K.frac)*2;let te=0,ae=0;$.forEach((we,J)=>{const ue=(we.data[B]??0)/G,pe=O?ue:(we.data[B+1]??0)/N,ve=H+te*U,ce=H+(te+ue)*U,ne=I+ae*j,fe=I+(ae+pe)*j;te+=ue,ae+=pe,V.push({path:b(Y,re,ve,ce,ne,fe),color:s.value[J].color,key:`${B}-${J}`})})}),V}),_=(0,n.ref)(null),w=(0,n.ref)(0),k=(0,n.ref)(0);function S(R){_.value=R}function E(){_.value=null}function C(R){const $=R.currentTarget.getBoundingClientRect();w.value=R.clientX-$.left,k.value=R.clientY-$.top}const M=(0,n.computed)(()=>_.value==null?null:u.value[_.value]),A=(0,n.computed)(()=>{const R=M.value;if(!R)return[];const $=[];return!R.isFirst&&t.fromPrev&&$.push({label:"From previous",value:`${R.fromPrev.toFixed(1)}%`}),!R.isFirst&&t.fromTop&&$.push({label:"Of top",value:`${R.fromTop.toFixed(1)}%`}),$}),z=(0,n.computed)(()=>{const R=M.value;return R&&i.value?R.display:null}),D=(0,n.computed)(()=>({left:`${w.value}px`,top:`${k.value}px`}));return(R,$)=>{const V=(0,n.resolveDirective)("tooltip");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"el",ref:r,class:(0,n.normalizeClass)(["bgl-funnel w-100p relative",[{"bgl-funnel--bars":!e.flow},e.flow?`bgl-funnel--${e.orientation}`:""]])},[e.flow?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"bgl-funnel__flow relative",onMousemove:C,onMouseleave:E},[((0,n.openBlock)(),(0,n.createElementBlock)("svg",{class:"bgl-funnel__svg display-block",viewBox:`0 0 ${m.value} ${p.value}`,style:(0,n.normalizeStyle)(d.value?{height:`${e.bandHeight*3}px`}:{height:`${p.value}px`}),preserveAspectRatio:"none"},[e.gradient&&!i.value?((0,n.openBlock)(),(0,n.createElementBlock)("defs",cC,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(g.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("linearGradient",{id:P.gradId,key:B,x1:0,y1:0,x2:d.value?0:1,y2:d.value?1:0},[(0,n.createElementVNode)("stop",{offset:"0%","stop-color":`color-mix(in srgb, ${P.color} 78%, black)`},null,8,dC),(0,n.createElementVNode)("stop",{offset:"100%","stop-color":P.color},null,8,fC)],8,uC))),128))])):(0,n.createCommentVNode)("",!0),i.value?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:2},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(v.value,P=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:P.key,d:P.path,fill:P.color,class:"bgl-funnel__sub"},null,8,pC))),128)),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(g.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:`hit${B}`,d:P.path,fill:"transparent",class:"bgl-funnel__hit",onMouseenter:O=>S(B)},null,40,hC))),128))],64)):((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:1},(0,n.renderList)(g.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:B,d:P.path,fill:e.gradient?`url(#${P.gradId})`:P.color,class:(0,n.normalizeClass)(["bgl-funnel__seg",{"is-dim opacity-5":_.value!=null&&_.value!==B}]),onMouseenter:O=>S(B)},null,42,mC))),128))],12,sC)),M.value?((0,n.openBlock)(),(0,n.createBlock)(Si,{key:0,above:"",style:(0,n.normalizeStyle)(D.value),label:M.value.label,hero:i.value?void 0:M.value.display,rows:i.value?M.value.rows:[],total:i.value?z.value:null,stats:A.value},null,8,["style","label","hero","rows","total","stats"])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",gC,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(g.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:B,class:"bgl-funnel__tick p-05",style:(0,n.normalizeStyle)(d.value?{flex:"1 1 0"}:{height:`${e.bandHeight}px`})},[(0,n.createElementVNode)("span",{class:"bgl-funnel__name ellipsis-1 txt12 light",title:P.label},(0,n.toDisplayString)(P.label),9,vC),(0,n.createElementVNode)("span",yC,(0,n.toDisplayString)(P.display),1)],4))),128))])],32)):(0,n.createCommentVNode)("",!0),e.flow&&i.value?((0,n.openBlock)(),(0,n.createElementBlock)("ul",bC,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("li",{key:B,class:"flex align-items-center"},[(0,n.createElementVNode)("span",{class:"bgl-funnel__dot",style:(0,n.normalizeStyle)({background:P.color})},null,4),(0,n.createTextVNode)((0,n.toDisplayString)(P.name),1)]))),128))])):(0,n.createCommentVNode)("",!0),e.flow?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:2},(0,n.renderList)(u.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:B,class:"bgl-funnel__stage"},[(0,n.createElementVNode)("span",{class:"bgl-funnel__name txt-0875rem ellipsis-1",title:P.label},(0,n.toDisplayString)(P.label),9,_C),(0,n.createElementVNode)("div",wC,[(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:"bgl-funnel__bar flex flex-center",style:(0,n.normalizeStyle)({width:`${Math.max(4,P.fromTop)}%`,background:P.barFill})},[(0,n.createElementVNode)("span",kC,(0,n.toDisplayString)(P.display),1)],4)),[[V,{content:P.tip,html:!0}]])])]))),128))],2)}}}),CC=be(EC,[["__scopeId","data-v-bbb5891d"]]),SC=["width","height","viewBox"],xC=["d","stroke","stroke-width"],TC=["d","stroke","stroke-width"],NC={key:0,class:"absolute-fill flex-center column pointer-events-none gap-025"},BC={key:0,class:"semibold txt24 line-height-1"},DC={key:1,class:"color-gray txt12"},AC=(0,n.defineComponent)({name:"BglGauge",__name:"Gauge",props:{value:{},max:{default:100},min:{default:0},size:{default:160},thickness:{default:12},color:{},label:{},full:{type:Boolean},showValue:{type:Boolean,default:!0},prefix:{},suffix:{},animated:{type:Boolean,default:!0}},setup(e){const t=e,r=(0,n.ref)(),{progress:o}=Kr({el:r,enabled:t.animated,duration:900}),a=(0,n.computed)(()=>xt(t.color)),l=(0,n.computed)(()=>(t.size-t.thickness)/2),i=(0,n.computed)(()=>t.size/2),s=(0,n.computed)(()=>t.full?360:270),c=(0,n.computed)(()=>t.full?-90:135),u=(0,n.computed)(()=>{const y=t.max-t.min||1;return Math.min(1,Math.max(0,(t.value-t.min)/y))});function d(y){const b=y*Math.PI/180;return{x:i.value+l.value*Math.cos(b),y:i.value+l.value*Math.sin(b)}}function f(y){const b=s.value*y;if(b<=0)return"";const g=c.value,v=c.value+b,_=d(g),w=d(v),k=b>180?1:0;return`M ${_.x} ${_.y} A ${l.value} ${l.value} 0 ${k} 1 ${w.x} ${w.y}`}const m=(0,n.computed)(()=>f(1)),p=(0,n.computed)(()=>f(u.value*o.value)),h=(0,n.computed)(()=>St(t.value,{prefix:t.prefix,suffix:t.suffix}));return(y,b)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"el",ref:r,class:"bgl-gauge relative inline-block",style:(0,n.normalizeStyle)({width:`${e.size}px`,height:`${e.size}px`})},[((0,n.openBlock)(),(0,n.createElementBlock)("svg",{width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`,class:"display-block"},[(0,n.createElementVNode)("path",{d:m.value,stroke:(0,n.unref)(_i)(a.value,14),"stroke-width":e.thickness,fill:"none","stroke-linecap":"round"},null,8,xC),(0,n.createElementVNode)("path",{d:p.value,stroke:a.value,"stroke-width":e.thickness,fill:"none","stroke-linecap":"round"},null,8,TC)],8,SC)),e.showValue||e.label?((0,n.openBlock)(),(0,n.createElementBlock)("div",NC,[e.showValue?((0,n.openBlock)(),(0,n.createElementBlock)("span",BC,(0,n.toDisplayString)(h.value),1)):(0,n.createCommentVNode)("",!0),e.label?((0,n.openBlock)(),(0,n.createElementBlock)("span",DC,(0,n.toDisplayString)(e.label),1)):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0)],4))}}),MC=be(AC,[["__scopeId","data-v-3400bb99"]]),LC=["width","height","viewBox"],PC=["d","stroke","stroke-width"],IC=["d","stroke","stroke-width","stroke-dasharray","transform"],VC={key:0,class:"bgl-radial__legend grid gap-05 m-0 min-w-0"},OC={class:"bgl-radial__val semibold tabular-nums ms-auto"},RC=(0,n.defineComponent)({__name:"RadialBars",props:{data:{},max:{default:100},size:{default:180},thickness:{default:14},gap:{default:6},legend:{type:Boolean,default:!0},suffix:{default:"%"},animated:{type:Boolean,default:!0}},setup(e){const t=e,r=(0,n.ref)(),{progress:o}=Kr({el:r,enabled:t.animated,duration:900}),a=(0,n.computed)(()=>t.size/2);function l(s){const c=a.value;return`M ${c} ${c-s} A ${s} ${s} 0 1 1 ${c-.001} ${c-s} Z`}const i=(0,n.computed)(()=>t.data.map((s,c)=>{const u=a.value-t.thickness/2-c*(t.thickness+t.gap),d=s.max??t.max,f=Math.min(1,Math.max(0,s.value/(d||1))),m=2*Math.PI*u;return{path:l(u),color:xt(s.color,c),label:s.label,display:`${s.value}${t.suffix}`,circ:m,filled:m*f*o.value}}));return(s,c)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"el",ref:r,class:(0,n.normalizeClass)(["bgl-radial inline-flex gap-1",e.legend?"row":"column"])},[((0,n.openBlock)(),(0,n.createElementBlock)("svg",{width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`,class:"bgl-radial__svg flex-shrink-0"},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.value,(u,d)=>((0,n.openBlock)(),(0,n.createElementBlock)("g",{key:d},[(0,n.createElementVNode)("path",{d:u.path,stroke:(0,n.unref)(_i)(u.color,14),"stroke-width":e.thickness,fill:"none","stroke-linecap":"round"},null,8,PC),(0,n.createElementVNode)("path",{d:u.path,stroke:u.color,"stroke-width":e.thickness,fill:"none","stroke-linecap":"round","stroke-dasharray":`${u.filled} ${u.circ}`,transform:`rotate(-90 ${a.value} ${a.value})`},null,8,IC)]))),128))],8,LC)),e.legend?((0,n.openBlock)(),(0,n.createElementBlock)("ul",VC,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.value,(u,d)=>((0,n.openBlock)(),(0,n.createElementBlock)("li",{key:d,class:"flex align-items-center gap-05 txt13"},[(0,n.createElementVNode)("span",{class:"bgl-radial__dot flex-shrink-0",style:(0,n.normalizeStyle)({background:u.color})},null,4),(0,n.createElementVNode)("span",null,(0,n.toDisplayString)(u.label),1),(0,n.createElementVNode)("span",OC,(0,n.toDisplayString)(u.display),1)]))),128))])):(0,n.createCommentVNode)("",!0)],2))}}),FC=be(RC,[["__scopeId","data-v-74f89de2"]]),zC={class:"bgl-rank grid w-100p gap-05 overflow"},UC=["title"],HC={class:"bgl-rank__track overflow-hidden round"},WC={class:"txt13 tabular-nums semibold"},jC=(0,n.defineComponent)({__name:"RankBars",props:{data:{},color:{default:"primary"},mode:{default:"shades"},maxRows:{},sort:{type:Boolean,default:!0},currency:{},prefix:{},suffix:{}},setup(e){const t=e,r=(0,n.computed)(()=>({currency:t.currency,prefix:t.prefix,suffix:t.suffix})),o=(0,n.computed)(()=>{let a=[...t.data];t.sort&&a.sort((i,s)=>s.value-i.value),t.maxRows&&(a=a.slice(0,t.maxRows));const l=Math.max(1,...a.map(i=>i.value));return a.map((i,s)=>({label:i.label,value:i.value,display:St(i.value,r.value),pct:i.value/l*100,color:i.color?xt(i.color):t.mode==="multi"?xt(void 0,s):pu(t.color,a.length,s)}))});return(a,l)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",zC,[(0,n.createElementVNode)("div",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.value,(i,s)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:s,class:"bgl-rank__row align-items-center grid gap-075"},[(0,n.createElementVNode)("span",{class:"bgl-rank__label ellipsis-1 txt14",title:i.label},(0,n.toDisplayString)(i.label),9,UC),(0,n.createElementVNode)("span",HC,[(0,n.createElementVNode)("span",{class:"bgl-rank__bar display-block round",style:(0,n.normalizeStyle)({width:`${i.pct}%`,background:i.color})},null,4)]),(0,n.createElementVNode)("span",WC,(0,n.toDisplayString)(i.display),1)]))),128))])]))}}),qC=be(jC,[["__scopeId","data-v-915ec0fd"]]),GC={key:0,class:"card_label block label"},YC={key:1,class:"card_header flex space-between align-items-center w-100p"},XC={key:0,class:"card_header_start flex align-items-center gap-05"},KC={class:"card_header_main flex-grow w-100p"},JC={class:"card_header_title"},ZC={key:1,class:"card_header_action flex align-items-center gap-05"},QC={key:2,class:"card_footer flex space-between align-items-center"},eS={key:0,class:"card_footer_start flex align-items-center gap-05"},tS={class:"card_footer_main flex-grow"},nS={key:1,class:"card_footer_end flex align-items-center gap-05"},rS=(0,n.defineComponent)({name:"BglCard",__name:"Card",props:{label:{},title:{},thin:{type:Boolean},outline:{type:Boolean},h100:{type:Boolean},to:{},href:{},overflowX:{type:Boolean},overflowY:{type:Boolean},frame:{type:Boolean},frost:{type:Boolean},color:{},gradient:{type:[Boolean,String]},gradientDir:{},bg:{}},setup(e){const t=(0,n.useSlots)(),r=e,{isGradient:o,gradientStyle:a}=qi({gradient:()=>r.gradient,gradientDir:()=>r.gradientDir,color:()=>r.color}),l=(0,n.computed)(()=>{if(o.value)return`pair-${r.color||"primary"}`;if(r.frost)return`pair-${r.color||"white"}`}),i=(0,n.computed)(()=>{const d={};return r.href!==void 0&&r.href!==""?d.href=r.href:r.to!==void 0&&r.to!==""&&(d.to=r.to),d}),s=(0,n.computed)(()=>r.href!==void 0&&r.href!==""?"a":r.to!==void 0&&r.to!==""?"router-link":"div"),c=(0,n.computed)(()=>!!(r.title||t.header||t["header-action"]||t["top-start"]||t["top-end"])),u=(0,n.computed)(()=>!!(t.footer||t["bottom-start"]||t["bottom-end"]));return(d,f)=>{const m=(0,n.resolveDirective)("ripple");return(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.value),(0,n.mergeProps)(i.value,{class:["bgl_card",[{thin:e.thin,"border bg-transparent":e.outline,"h-100":e.h100,[e.bg||""]:e.bg,"overflow-x":e.overflowX,"overflow-y":e.overflowY,card_frame:e.frame,gradient:(0,n.unref)(o),frost:e.frost&&!(0,n.unref)(o)},l.value]],style:(0,n.unref)(a)}),{default:(0,n.withCtx)(()=>[e.label?((0,n.openBlock)(),(0,n.createElementBlock)("span",GC,(0,n.toDisplayString)(e.label),1)):(0,n.createCommentVNode)("",!0),c.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",YC,[d.$slots["top-start"]?((0,n.openBlock)(),(0,n.createElementBlock)("span",XC,[(0,n.renderSlot)(d.$slots,"top-start")])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("span",KC,[(0,n.renderSlot)(d.$slots,"header",{},()=>[(0,n.createElementVNode)("span",JC,(0,n.toDisplayString)(e.title),1)])]),d.$slots["top-end"]||d.$slots["header-action"]?((0,n.openBlock)(),(0,n.createElementBlock)("span",ZC,[(0,n.renderSlot)(d.$slots,"top-end",{},()=>[(0,n.renderSlot)(d.$slots,"header-action")])])):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(d.$slots,"default"),u.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",QC,[d.$slots["bottom-start"]?((0,n.openBlock)(),(0,n.createElementBlock)("span",eS,[(0,n.renderSlot)(d.$slots,"bottom-start")])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("span",tS,[(0,n.renderSlot)(d.$slots,"footer")]),d.$slots["bottom-end"]?((0,n.openBlock)(),(0,n.createElementBlock)("span",nS,[(0,n.renderSlot)(d.$slots,"bottom-end")])):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0)]),_:3},16,["class","style"])),[[m,!!e.to]])}}}),sr=rS;const gc=["trash-can","message","file-lines","calendar-days","hand-point-right","face-smile-beam","face-grin-stars","address-book","comments","paste","face-grin-tongue-squint","face-flushed","square-caret-right","square-minus","compass","square-caret-down","face-kiss-beam","lightbulb","flag","square-check","circle-dot","face-dizzy","futbol","pen-to-square","hourglass-half","eye-slash","hand","hand-spock","face-kiss","face-grin-tongue","chess-bishop","face-grin-wink","face-grin-wide","face-frown-open","hand-point-up","bookmark","hand-point-down","folder","user","square-caret-left","star","chess-knight","face-laugh-squint","face-laugh","folder-open","clipboard","chess-queen","hand-back-fist","square-caret-up","chart-bar","window-restore","square-plus","image","folder-closed","lemon","handshake","gem","circle-play","circle-check","circle-stop","id-badge","face-laugh-beam","registered","address-card","face-tired","font-awesome","face-smile-wink","file-word","file-powerpoint","envelope-open","file-zipper","square","snowflake","newspaper","face-kiss-wink-heart","star-half-stroke","file-excel","face-grin-beam","object-ungroup","circle-right","face-rolling-eyes","object-group","heart","face-surprise","circle-pause","circle","circle-up","file-audio","file-image","circle-question","face-meh-blank","eye","face-sad-cry","file-code","window-maximize","face-frown","floppy-disk","comment-dots","face-grin-squint","hand-pointer","hand-scissors","face-grin-tears","calendar-xmark","file-video","file-pdf","comment","envelope","hourglass","calendar-check","hard-drive","face-grin-squint-tears","rectangle-list","calendar-plus","circle-left","money-bill-1","clock","keyboard","closed-captioning","images","face-grin","face-meh","id-card","sun","face-laugh-wink","circle-down","thumbs-down","chess-pawn","credit-card","bell","file","hospital","chess-rook","star-half","chess-king","circle-user","copy","share-from-square","copyright","map","bell-slash","hand-lizard","face-smile","hand-peace","face-grin-hearts","building","face-grin-beam-sweat","moon","calendar","face-grin-tongue-wink","clone","face-angry","rectangle-xmark","paper-plane","life-ring","face-grimace","calendar-minus","circle-xmark","thumbs-up","window-minimize","square-full","note-sticky","face-sad-tear","hand-point-left"],Sl=["monero","hooli","yelp","cc-visa","lastfm","shopware","creative-commons-nc","aws","redhat","yoast","cloudflare","ups","pixiv","wpexplorer","dyalog","bity","stackpath","buysellads","first-order","modx","guilded","vnv","square-js","microsoft","qq","orcid","java","invision","creative-commons-pd-alt","centercode","glide-g","drupal","jxl","dart-lang","hire-a-helper","creative-commons-by","unity","whmcs","rocketchat","vk","untappd","mailchimp","css3-alt","square-reddit","vimeo-v","contao","square-font-awesome","deskpro","brave","sistrix","square-instagram","battle-net","the-red-yeti","square-hacker-news","edge","threads","napster","square-snapchat","google-plus-g","artstation","markdown","sourcetree","google-plus","diaspora","foursquare","stack-overflow","github-alt","phoenix-squadron","pagelines","algolia","red-river","creative-commons-sa","safari","google","square-font-awesome-stroke","atlassian","linkedin-in","digital-ocean","nimblr","chromecast","evernote","hacker-news","creative-commons-sampling","adversal","creative-commons","watchman-monitoring","fonticons","weixin","shirtsinbulk","codepen","git-alt","lyft","rev","windows","wizards-of-the-coast","square-viadeo","meetup","centos","adn","cloudsmith","opensuse","pied-piper-alt","square-dribbble","codiepie","node","mix","steam","cc-apple-pay","scribd","debian","openid","instalod","files-pinwheel","expeditedssl","sellcast","square-twitter","r-project","delicious","freebsd","vuejs","accusoft","ioxhost","fonticons-fi","app-store","cc-mastercard","itunes-note","golang","kickstarter","grav","weibo","uncharted","firstdraft","square-youtube","wikipedia-w","wpressr","angellist","galactic-republic","nfc-directional","skype","joget","fedora","stripe-s","meta","laravel","hotjar","bluetooth-b","square-letterboxd","sticker-mule","creative-commons-zero","hips","css","behance","reddit","discord","chrome","app-store-ios","cc-discover","wpbeginner","confluence","shoelace","mdb","dochub","accessible-icon","ebay","amazon","unsplash","yarn","square-steam","500px","square-vimeo","asymmetrik","font-awesome","gratipay","apple","hive","gitkraken","keybase","apple-pay","padlet","amazon-pay","square-github","stumbleupon","fedex","phoenix-framework","shopify","neos","square-threads","hackerrank","researchgate","swift","angular","speakap","angrycreative","y-combinator","empire","envira","google-scholar","square-gitlab","studiovinari","pied-piper","wordpress","product-hunt","firefox","linode","goodreads","square-odnoklassniki","jsfiddle","sith","themeisle","page4","hashnode","react","cc-paypal","squarespace","cc-stripe","creative-commons-share","bitcoin","keycdn","opera","itch-io","umbraco","galactic-senate","ubuntu","draft2digital","stripe","houzz","gg","dhl","square-pinterest","xing","blackberry","creative-commons-pd","playstation","quinscape","less","blogger-b","opencart","vine","signal-messenger","paypal","gitlab","typo3","reddit-alien","yahoo","dailymotion","affiliatetheme","pied-piper-pp","bootstrap","odnoklassniki","nfc-symbol","mintbit","ethereum","speaker-deck","creative-commons-nc-eu","patreon","avianex","ello","gofore","bimobject","brave-reverse","facebook-f","square-google-plus","web-awesome","mandalorian","first-order-alt","osi","google-wallet","d-and-d-beyond","periscope","fulcrum","cloudscale","forumbee","mizuni","schlix","square-xing","bandcamp","wpforms","cloudversify","usps","megaport","magento","spotify","optin-monster","fly","square-bluesky","aviato","itunes","cuttlefish","blogger","flickr","viber","soundcloud","digg","tencent-weibo","letterboxd","symfony","maxcdn","etsy","facebook-messenger","audible","think-peaks","bilibili","erlang","x-twitter","cotton-bureau","dashcube","42-group","stack-exchange","elementor","square-pied-piper","creative-commons-nd","palfed","superpowers","resolving","xbox","square-web-awesome-stroke","searchengin","tiktok","square-facebook","renren","linux","glide","linkedin","hubspot","deploydog","twitch","flutter","ravelry","mixer","square-lastfm","vimeo","mendeley","uniregistry","figma","creative-commons-remix","cc-amazon-pay","dropbox","instagram","cmplid","upwork","facebook","gripfire","jedi-order","uikit","fort-awesome-alt","phabricator","ussunnah","earlybirds","trade-federation","autoprefixer","whatsapp","square-upwork","slideshare","google-play","viadeo","line","google-drive","servicestack","simplybuilt","bitbucket","imdb","deezer","raspberry-pi","jira","docker","screenpal","bluetooth","gitter","d-and-d","microblog","cc-diners-club","gg-circle","pied-piper-hat","kickstarter-k","yandex","readme","html5","sellsy","square-web-awesome","sass","wirsindhandwerk","buromobelexperte","salesforce","octopus-deploy","medapps","ns8","pinterest-p","apper","fort-awesome","waze","bluesky","cc-jcb","snapchat","fantasy-flight-games","rust","wix","square-behance","supple","webflow","rebel","css3","staylinked","kaggle","space-awesome","deviantart","cpanel","goodreads-g","square-git","square-tumblr","trello","creative-commons-nc-jp","get-pocket","perbyte","grunt","weebly","connectdevelop","leanpub","black-tie","themeco","python","android","bots","free-code-camp","hornbill","js","ideal","git","dev","sketch","yandex-international","cc-amex","uber","github","php","alipay","youtube","skyatlas","firefox-browser","replyd","suse","jenkins","twitter","rockrms","pinterest","buffer","npm","yammer","btc","dribbble","stumbleupon-circle","internet-explorer","stubber","telegram","old-republic","odysee","square-whatsapp","node-js","edge-legacy","slack","medrt","usb","tumblr","vaadin","quora","square-x-twitter","reacteurope","medium","amilia","mixcloud","flipboard","viacoin","critical-role","sitrox","discourse","joomla","mastodon","airbnb","wolf-pack-battalion","buy-n-large","gulp","creative-commons-sampling-plus","strava","ember","canadian-maple-leaf","teamspeak","pushed","wordpress-simple","nutritionix","wodu","google-pay","intercom","zhihu","korvue","pix","steam-symbol"],Qh=["10k","10mp","11mp","123","12mp","13mp","14mp","15mp","16mp","17mp","18_up_rating","18mp","19mp","1k","1k_plus","1x_mobiledata","1x_mobiledata_badge","20mp","21mp","22mp","23mp","24fps_select","24mp","2d","2k","2k_plus","2mp","30fps","30fps_select","360","3d_rotation","3g_mobiledata","3g_mobiledata_badge","3k","3k_plus","3mp","3p","4g_mobiledata","4g_mobiledata_badge","4g_plus_mobiledata","4k","4k_plus","4mp","50mp","5g","5g_mobiledata_badge","5k","5k_plus","5mp","60fps","60fps_select","6_ft_apart","6k","6k_plus","6mp","7k","7k_plus","7mp","8k","8k_plus","8mp","9k","9k_plus","9mp","abc","ac_unit","access_alarm","access_alarms","access_time","access_time_filled","accessibility","accessibility_new","accessible","accessible_forward","account_balance","account_balance_wallet","account_box","account_child","account_child_invert","account_circle","account_circle_off","account_tree","action_key","activity_zone","acute","ad","ad_group","ad_group_off","ad_off","ad_units","adaptive_audio_mic","adaptive_audio_mic_off","adb","add","add_2","add_a_photo","add_ad","add_alarm","add_alert","add_box","add_business","add_call","add_card","add_chart","add_circle","add_circle_outline","add_column_left","add_column_right","add_comment","add_diamond","add_home","add_home_work","add_ic_call","add_link","add_location","add_location_alt","add_moderator","add_notes","add_photo_alternate","add_reaction","add_road","add_row_above","add_row_below","add_shopping_cart","add_task","add_to_drive","add_to_home_screen","add_to_photos","add_to_queue","add_triangle","addchart","adf_scanner","adjust","admin_meds","admin_panel_settings","ads_click","agender","agriculture","air","air_freshener","air_purifier","air_purifier_gen","airline_seat_flat","airline_seat_flat_angled","airline_seat_individual_suite","airline_seat_legroom_extra","airline_seat_legroom_normal","airline_seat_legroom_reduced","airline_seat_recline_extra","airline_seat_recline_normal","airline_stops","airlines","airplane_ticket","airplanemode_active","airplanemode_inactive","airplay","airport_shuttle","airware","airwave","alarm","alarm_add","alarm_off","alarm_on","alarm_smart_wake","album","align_center","align_end","align_flex_center","align_flex_end","align_flex_start","align_horizontal_center","align_horizontal_left","align_horizontal_right","align_items_stretch","align_justify_center","align_justify_flex_end","align_justify_flex_start","align_justify_space_around","align_justify_space_between","align_justify_space_even","align_justify_stretch","align_self_stretch","align_space_around","align_space_between","align_space_even","align_start","align_stretch","align_vertical_bottom","align_vertical_center","align_vertical_top","all_inbox","all_inclusive","all_match","all_out","allergies","allergy","alt_route","alternate_email","altitude","ambulance","amend","amp_stories","analytics","anchor","android","animated_images","animation","announcement","aod","aod_tablet","aod_watch","apartment","api","apk_document","apk_install","app_badging","app_blocking","app_promo","app_registration","app_settings_alt","app_shortcut","apparel","approval","approval_delegation","apps","apps_outage","aq","aq_indoor","ar_on_you","ar_stickers","architecture","archive","area_chart","arming_countdown","arrow_and_edge","arrow_back","arrow_back_2","arrow_back_ios","arrow_back_ios_new","arrow_circle_down","arrow_circle_left","arrow_circle_right","arrow_circle_up","arrow_cool_down","arrow_downward","arrow_downward_alt","arrow_drop_down","arrow_drop_down_circle","arrow_drop_up","arrow_forward","arrow_forward_ios","arrow_insert","arrow_left","arrow_left_alt","arrow_menu_close","arrow_menu_open","arrow_or_edge","arrow_outward","arrow_range","arrow_right","arrow_right_alt","arrow_selector_tool","arrow_split","arrow_top_left","arrow_top_right","arrow_upload_progress","arrow_upload_ready","arrow_upward","arrow_upward_alt","arrow_warm_up","arrows_input","arrows_more_down","arrows_more_up","arrows_output","arrows_outward","art_track","article","article_shortcut","artist","aspect_ratio","assessment","assignment","assignment_add","assignment_ind","assignment_late","assignment_return","assignment_returned","assignment_turned_in","assist_walker","assistant","assistant_device","assistant_direction","assistant_navigation","assistant_on_hub","assistant_photo","assured_workload","asterisk","atm","atr","attach_email","attach_file","attach_file_add","attach_file_off","attach_money","attachment","attractions","attribution","audio_description","audio_file","audio_video_receiver","audiotrack","auto_awesome","auto_awesome_mosaic","auto_awesome_motion","auto_delete","auto_fix_high","auto_fix_normal","auto_fix_off","auto_graph","auto_mode","auto_read_pause","auto_read_play","auto_stories","auto_towing","auto_transmission","autofps_select","automation","autopause","autoplay","autorenew","autostop","av1","av_timer","avc","avg_pace","avg_time","award_star","azm","baby_changing_station","back_hand","back_to_tab","background_dot_large","background_dot_small","background_grid_small","background_replace","backlight_high","backlight_high_off","backlight_low","backpack","backspace","backup","backup_table","badge","badge_critical_battery","bakery_dining","balance","balcony","ballot","bar_chart","bar_chart_4_bars","bar_chart_off","barcode","barcode_reader","barcode_scanner","barefoot","batch_prediction","bath_outdoor","bath_private","bath_public_large","bathroom","bathtub","battery_0_bar","battery_1_bar","battery_20","battery_2_bar","battery_30","battery_3_bar","battery_4_bar","battery_50","battery_5_bar","battery_60","battery_6_bar","battery_80","battery_90","battery_alert","battery_change","battery_charging_20","battery_charging_30","battery_charging_50","battery_charging_60","battery_charging_80","battery_charging_90","battery_charging_full","battery_error","battery_full","battery_full_alt","battery_horiz_000","battery_horiz_050","battery_horiz_075","battery_low","battery_plus","battery_profile","battery_saver","battery_share","battery_status_good","battery_std","battery_unknown","battery_very_low","beach_access","bed","bedroom_baby","bedroom_child","bedroom_parent","bedtime","bedtime_off","beenhere","bento","bia","bid_landscape","bid_landscape_disabled","bigtop_updates","bike_dock","bike_lane","bike_scooter","biotech","blanket","blender","blind","blinds","blinds_closed","block","block_flipped","blood_pressure","bloodtype","bluetooth","bluetooth_audio","bluetooth_connected","bluetooth_disabled","bluetooth_drive","bluetooth_searching","blur_circular","blur_linear","blur_medium","blur_off","blur_on","blur_short","body_fat","body_system","bolt","bomb","book","book_2","book_3","book_4","book_4_spark","book_5","book_6","book_online","book_ribbon","bookmark","bookmark_add","bookmark_added","bookmark_bag","bookmark_border","bookmark_check","bookmark_flag","bookmark_heart","bookmark_manager","bookmark_remove","bookmark_star","bookmarks","books_movies_and_music","border_all","border_bottom","border_clear","border_color","border_horizontal","border_inner","border_left","border_outer","border_right","border_style","border_top","border_vertical","borg","bottom_app_bar","bottom_drawer","bottom_navigation","bottom_panel_close","bottom_panel_open","bottom_right_click","bottom_sheets","box","box_add","box_edit","boy","brand_awareness","brand_family","branding_watermark","breakfast_dining","breaking_news","breaking_news_alt_1","breastfeeding","brick","brightness_1","brightness_2","brightness_3","brightness_4","brightness_5","brightness_6","brightness_7","brightness_alert","brightness_auto","brightness_empty","brightness_high","brightness_low","brightness_medium","bring_your_own_ip","broadcast_on_home","broadcast_on_personal","broken_image","browse","browse_activity","browse_gallery","browser_not_supported","browser_updated","brunch_dining","brush","bubble","bubble_chart","bubbles","bug_report","build","build_circle","bungalow","burst_mode","bus_alert","business","business_center","business_chip","business_messages","buttons_alt","cabin","cable","cable_car","cached","cadence","cake","cake_add","calculate","calendar_add_on","calendar_apps_script","calendar_clock","calendar_month","calendar_today","calendar_view_day","calendar_view_month","calendar_view_week","call","call_end","call_log","call_made","call_merge","call_missed","call_missed_outgoing","call_quality","call_received","call_split","call_to_action","camera","camera_alt","camera_enhance","camera_front","camera_indoor","camera_outdoor","camera_rear","camera_roll","camera_video","cameraswitch","campaign","camping","cancel","cancel_presentation","cancel_schedule_send","candle","candlestick_chart","captive_portal","capture","car_crash","car_rental","car_repair","car_tag","card_giftcard","card_membership","card_travel","cardio_load","cardiology","cards","cards_star","carpenter","carry_on_bag","carry_on_bag_checked","carry_on_bag_inactive","carry_on_bag_question","cases","casino","cast","cast_connected","cast_for_education","cast_pause","cast_warning","castle","catching_pokemon","category","category_search","celebration","cell_merge","cell_tower","cell_wifi","center_focus_strong","center_focus_weak","chair","chair_alt","chalet","change_circle","change_history","charger","charging_station","chart_data","chat","chat_add_on","chat_apps_script","chat_bubble","chat_bubble_outline","chat_error","chat_info","chat_paste_go","chat_paste_go_2","check","check_box","check_box_outline_blank","check_circle","check_circle_outline","check_in_out","check_indeterminate_small","check_small","checkbook","checked_bag","checked_bag_question","checklist","checklist_rtl","checkroom","cheer","chess","chess_pawn","chevron_backward","chevron_forward","chevron_left","chevron_right","child_care","child_friendly","chip_extraction","chips","chrome_reader_mode","chromecast_2","chromecast_device","chronic","church","cinematic_blur","circle","circle_notifications","circles","circles_ext","clarify","class","clean_hands","cleaning","cleaning_bucket","cleaning_services","clear","clear_all","clear_day","climate_mini_split","clinical_notes","clock_arrow_down","clock_arrow_up","clock_loader_10","clock_loader_20","clock_loader_40","clock_loader_60","clock_loader_80","clock_loader_90","close","close_fullscreen","close_small","closed_caption","closed_caption_add","closed_caption_disabled","closed_caption_off","cloud","cloud_alert","cloud_circle","cloud_done","cloud_download","cloud_lock","cloud_off","cloud_queue","cloud_sync","cloud_upload","cloudy_snowing","co2","co_present","code","code_blocks","code_off","coffee","coffee_maker","cognition","cognition_2","collapse_all","collapse_content","collections","collections_bookmark","color_lens","colorize","colors","combine_columns","comedy_mask","comic_bubble","comment","comment_bank","comments_disabled","commit","communication","communities","commute","compare","compare_arrows","compass_calibration","component_exchange","compost","compress","computer","concierge","conditions","confirmation_number","congenital","connect_without_contact","connected_tv","connecting_airports","construction","contact_emergency","contact_mail","contact_page","contact_phone","contact_support","contactless","contactless_off","contacts","contacts_product","content_copy","content_cut","content_paste","content_paste_go","content_paste_off","content_paste_search","contextual_token","contextual_token_add","contract","contract_delete","contract_edit","contrast","contrast_circle","contrast_rtl_off","contrast_square","control_camera","control_point","control_point_duplicate","controller_gen","conversion_path","conversion_path_off","convert_to_text","conveyor_belt","cookie","cookie_off","cooking","cool_to_dry","copy_all","copyright","coronavirus","corporate_fare","cottage","counter_0","counter_1","counter_2","counter_3","counter_4","counter_5","counter_6","counter_7","counter_8","counter_9","countertops","create","create_new_folder","credit_card","credit_card_clock","credit_card_gear","credit_card_heart","credit_card_off","credit_score","crib","crisis_alert","crop","crop_16_9","crop_3_2","crop_5_4","crop_7_5","crop_9_16","crop_din","crop_free","crop_landscape","crop_original","crop_portrait","crop_rotate","crop_square","crossword","crowdsource","cruelty_free","css","csv","currency_bitcoin","currency_exchange","currency_franc","currency_lira","currency_pound","currency_ruble","currency_rupee","currency_rupee_circle","currency_yen","currency_yuan","curtains","curtains_closed","custom_typography","cycle","cyclone","dangerous","dark_mode","dashboard","dashboard_2","dashboard_customize","data_alert","data_array","data_check","data_exploration","data_info_alert","data_loss_prevention","data_object","data_saver_off","data_saver_on","data_table","data_thresholding","data_usage","database","database_off","database_search","database_upload","dataset","dataset_linked","date_range","deblur","deceased","decimal_decrease","decimal_increase","deck","dehaze","delete","delete_forever","delete_history","delete_outline","delete_sweep","delivery_dining","delivery_truck_bolt","delivery_truck_speed","demography","density_large","density_medium","density_small","dentistry","departure_board","deployed_code","deployed_code_account","deployed_code_alert","deployed_code_history","deployed_code_update","dermatology","description","deselect","design_services","desk","deskphone","desktop_access_disabled","desktop_cloud","desktop_cloud_stack","desktop_landscape","desktop_landscape_add","desktop_mac","desktop_portrait","desktop_windows","destruction","details","detection_and_zone","detector","detector_alarm","detector_battery","detector_co","detector_offline","detector_smoke","detector_status","developer_board","developer_board_off","developer_guide","developer_mode","developer_mode_tv","device_hub","device_thermostat","device_unknown","devices","devices_fold","devices_fold_2","devices_off","devices_other","devices_wearables","dew_point","diagnosis","diagonal_line","dialer_sip","dialogs","dialpad","diamond","dictionary","difference","digital_out_of_home","digital_wellbeing","dining","dinner_dining","directions","directions_alt","directions_alt_off","directions_bike","directions_boat","directions_boat_filled","directions_bus","directions_bus_filled","directions_car","directions_car_filled","directions_off","directions_railway","directions_railway_2","directions_railway_filled","directions_run","directions_subway","directions_subway_filled","directions_transit","directions_transit_filled","directions_walk","directory_sync","dirty_lens","disabled_by_default","disabled_visible","disc_full","discount","discover_tune","dishwasher","dishwasher_gen","display_external_input","display_settings","distance","diversity_1","diversity_2","diversity_3","diversity_4","dns","do_disturb","do_disturb_alt","do_disturb_off","do_disturb_on","do_not_disturb","do_not_disturb_alt","do_not_disturb_off","do_not_disturb_on","do_not_disturb_on_total_silence","do_not_step","do_not_touch","dock","dock_to_bottom","dock_to_left","dock_to_right","docs","docs_add_on","docs_apps_script","document_scanner","document_search","domain","domain_add","domain_disabled","domain_verification","domain_verification_off","domino_mask","done","done_all","done_outline","donut_large","donut_small","door_back","door_front","door_open","door_sensor","door_sliding","doorbell","doorbell_3p","doorbell_chime","double_arrow","downhill_skiing","download","download_2","download_done","download_for_offline","downloading","draft","draft_orders","drafts","drag_click","drag_handle","drag_indicator","drag_pan","draw","draw_abstract","draw_collage","dresser","drive_eta","drive_export","drive_file_move","drive_file_move_outline","drive_file_move_rtl","drive_file_rename_outline","drive_folder_upload","dropdown","dry","dry_cleaning","dual_screen","duo","dvr","dynamic_feed","dynamic_form","e911_avatar","e911_emergency","e_mobiledata","e_mobiledata_badge","earbuds","earbuds_battery","early_on","earthquake","east","ecg","ecg_heart","eco","eda","edgesensor_high","edgesensor_low","edit","edit_arrow_down","edit_arrow_up","edit_attributes","edit_audio","edit_calendar","edit_document","edit_location","edit_location_alt","edit_note","edit_notifications","edit_off","edit_road","edit_square","editor_choice","egg","egg_alt","eject","elderly","elderly_woman","electric_bike","electric_bolt","electric_car","electric_meter","electric_moped","electric_rickshaw","electric_scooter","electrical_services","elevation","elevator","email","emergency","emergency_heat","emergency_heat_2","emergency_home","emergency_recording","emergency_share","emergency_share_off","emoji_emotions","emoji_events","emoji_food_beverage","emoji_language","emoji_nature","emoji_objects","emoji_people","emoji_symbols","emoji_transportation","emoticon","empty_dashboard","enable","encrypted","encrypted_add","encrypted_add_circle","encrypted_minus_circle","encrypted_off","endocrinology","energy","energy_program_saving","energy_program_time_used","energy_savings_leaf","engineering","enhanced_encryption","ent","enterprise","enterprise_off","equal","equalizer","eraser_size_1","eraser_size_2","eraser_size_3","eraser_size_4","eraser_size_5","error","error_med","error_outline","escalator","escalator_warning","euro","euro_symbol","ev_mobiledata_badge","ev_shadow","ev_shadow_add","ev_shadow_minus","ev_station","event","event_available","event_busy","event_list","event_note","event_repeat","event_seat","event_upcoming","exclamation","exercise","exit_to_app","expand","expand_all","expand_circle_down","expand_circle_right","expand_circle_up","expand_content","expand_less","expand_more","expansion_panels","experiment","explicit","explore","explore_nearby","explore_off","explosion","export_notes","exposure","exposure_neg_1","exposure_neg_2","exposure_plus_1","exposure_plus_2","exposure_zero","extension","extension_off","eye_tracking","eyeglasses","face","face_2","face_3","face_4","face_5","face_6","face_down","face_left","face_nod","face_retouching_natural","face_retouching_off","face_right","face_shake","face_unlock","face_up","fact_check","factory","falling","familiar_face_and_zone","family_history","family_home","family_link","family_restroom","family_star","farsight_digital","fast_forward","fast_rewind","fastfood","faucet","favorite","favorite_border","fax","feature_search","featured_play_list","featured_seasonal_and_gifts","featured_video","feed","feedback","female","femur","femur_alt","fence","fertile","festival","fiber_dvr","fiber_manual_record","fiber_new","fiber_pin","fiber_smart_record","file_copy","file_copy_off","file_download","file_download_done","file_download_off","file_export","file_json","file_map","file_map_stack","file_open","file_png","file_present","file_save","file_save_off","file_upload","file_upload_off","files","filter","filter_1","filter_2","filter_3","filter_4","filter_5","filter_6","filter_7","filter_8","filter_9","filter_9_plus","filter_alt","filter_alt_off","filter_arrow_right","filter_b_and_w","filter_center_focus","filter_drama","filter_frames","filter_hdr","filter_list","filter_list_alt","filter_list_off","filter_none","filter_retrolux","filter_tilt_shift","filter_vintage","finance","finance_chip","finance_mode","find_in_page","find_replace","fingerprint","fingerprint_off","fire_extinguisher","fire_hydrant","fire_hydrant_alt","fire_truck","fireplace","first_page","fit_page","fit_page_height","fit_page_width","fit_screen","fit_width","fitbit","fitness_center","fitness_tracker","flag","flag_2","flag_check","flag_circle","flaky","flare","flash_auto","flash_off","flash_on","flashlight_off","flashlight_on","flatware","flex_direction","flex_no_wrap","flex_wrap","flight","flight_class","flight_land","flight_takeoff","flights_and_hotels","flip","flip_camera_android","flip_camera_ios","flip_to_back","flip_to_front","float_landscape_2","float_portrait_2","flood","floor","floor_lamp","flowchart","flowsheet","fluid","fluid_balance","fluid_med","fluorescent","flutter","flutter_dash","flyover","fmd_bad","fmd_good","foggy","folded_hands","folder","folder_check","folder_check_2","folder_code","folder_copy","folder_data","folder_delete","folder_eye","folder_info","folder_limited","folder_managed","folder_match","folder_off","folder_open","folder_shared","folder_special","folder_supervised","folder_zip","follow_the_signs","font_download","font_download_off","food_bank","foot_bones","footprint","for_you","forest","fork_left","fork_right","fork_spoon","forklift","format_align_center","format_align_justify","format_align_left","format_align_right","format_bold","format_clear","format_color_fill","format_color_reset","format_color_text","format_h1","format_h2","format_h3","format_h4","format_h5","format_h6","format_image_left","format_image_right","format_indent_decrease","format_indent_increase","format_ink_highlighter","format_italic","format_letter_spacing","format_letter_spacing_2","format_letter_spacing_standard","format_letter_spacing_wide","format_letter_spacing_wider","format_line_spacing","format_list_bulleted","format_list_bulleted_add","format_list_numbered","format_list_numbered_rtl","format_overline","format_paint","format_paragraph","format_quote","format_quote_off","format_shapes","format_size","format_strikethrough","format_text_clip","format_text_overflow","format_text_wrap","format_textdirection_l_to_r","format_textdirection_r_to_l","format_textdirection_vertical","format_underlined","format_underlined_squiggle","forms_add_on","forms_apps_script","fort","forum","forward","forward_10","forward_30","forward_5","forward_circle","forward_media","forward_to_inbox","foundation","frame_inspect","frame_person","frame_person_mic","frame_person_off","frame_reload","frame_source","free_breakfast","free_cancellation","front_hand","front_loader","full_coverage","full_hd","full_stacked_bar_chart","fullscreen","fullscreen_exit","fullscreen_portrait","function","functions","funicular","g_mobiledata","g_mobiledata_badge","g_translate","gallery_thumbnail","gamepad","games","garage","garage_door","garage_home","garden_cart","gas_meter","gastroenterology","gate","gavel","general_device","generating_tokens","genetics","genres","gesture","gesture_select","get_app","gif","gif_2","gif_box","girl","gite","glass_cup","globe","globe_asia","globe_book","globe_uk","glucose","glyphs","go_to_line","golf_course","gondola_lift","google_home_devices","google_tv_remote","google_wifi","gpp_bad","gpp_good","gpp_maybe","gps_fixed","gps_not_fixed","gps_off","grade","gradient","grading","grain","graph_1","graph_2","graph_3","graph_4","graph_5","graph_6","graphic_eq","grass","grid_3x3","grid_3x3_off","grid_4x4","grid_goldenratio","grid_guides","grid_off","grid_on","grid_view","grocery","group","group_add","group_off","group_remove","group_search","group_work","grouped_bar_chart","groups","groups_2","groups_3","guardian","gynecology","h_mobiledata","h_mobiledata_badge","h_plus_mobiledata","h_plus_mobiledata_badge","hail","hallway","hand_bones","hand_gesture","hand_gesture_off","handheld_controller","handshake","handyman","hangout_video","hangout_video_off","hard_disk","hard_drive","hard_drive_2","hardware","hd","hdr_auto","hdr_auto_select","hdr_enhanced_select","hdr_off","hdr_off_select","hdr_on","hdr_on_select","hdr_plus","hdr_plus_off","hdr_strong","hdr_weak","head_mounted_device","headphones","headphones_battery","headset","headset_mic","headset_off","healing","health_and_beauty","health_and_safety","health_metrics","heap_snapshot_large","heap_snapshot_multiple","heap_snapshot_thumbnail","hearing","hearing_aid","hearing_aid_disabled","hearing_disabled","heart_broken","heart_check","heart_minus","heart_plus","heat","heat_pump","heat_pump_balance","height","helicopter","help","help_center","help_clinic","help_outline","hematology","hevc","hexagon","hide","hide_image","hide_source","high_density","high_quality","high_res","highlight","highlight_alt","highlight_keyboard_focus","highlight_mouse_cursor","highlight_off","highlight_text_cursor","highlighter_size_1","highlighter_size_2","highlighter_size_3","highlighter_size_4","highlighter_size_5","hiking","history","history_2","history_edu","history_off","history_toggle_off","hive","hls","hls_off","holiday_village","home","home_and_garden","home_app_logo","home_filled","home_health","home_improvement_and_tools","home_iot_device","home_max","home_max_dots","home_mini","home_pin","home_repair_service","home_speaker","home_storage","home_work","horizontal_distribute","horizontal_rule","horizontal_split","host","hot_tub","hotel","hotel_class","hourglass","hourglass_arrow_down","hourglass_arrow_up","hourglass_bottom","hourglass_disabled","hourglass_empty","hourglass_full","hourglass_pause","hourglass_top","house","house_siding","house_with_shield","houseboat","household_supplies","hov","how_to_reg","how_to_vote","hr_resting","html","http","https","hub","humerus","humerus_alt","humidity_high","humidity_indoor","humidity_low","humidity_mid","humidity_percentage","hvac","ice_skating","icecream","id_card","identity_aware_proxy","identity_platform","ifl","iframe","iframe_off","image","image_aspect_ratio","image_not_supported","image_search","imagesearch_roller","imagesmode","immunology","import_contacts","import_export","important_devices","in_home_mode","inactive_order","inbox","inbox_customize","inbox_text","incomplete_circle","indeterminate_check_box","indeterminate_question_box","info","info_i","info_outline","infrared","ink_eraser","ink_eraser_off","ink_highlighter","ink_highlighter_move","ink_marker","ink_pen","ink_selection","inpatient","input","input_circle","insert_chart","insert_chart_outlined","insert_comment","insert_drive_file","insert_emoticon","insert_invitation","insert_link","insert_page_break","insert_photo","insert_text","insights","install_desktop","install_mobile","instant_mix","integration_instructions","interactive_space","interests","interpreter_mode","inventory","inventory_2","invert_colors","invert_colors_off","ios","ios_share","iron","iso","jamboard_kiosk","javascript","join","join_full","join_inner","join_left","join_right","joystick","jump_to_element","kayaking","kebab_dining","keep","keep_off","keep_public","kettle","key","key_off","key_vertical","key_visualizer","keyboard","keyboard_alt","keyboard_arrow_down","keyboard_arrow_left","keyboard_arrow_right","keyboard_arrow_up","keyboard_backspace","keyboard_capslock","keyboard_capslock_badge","keyboard_command_key","keyboard_control_key","keyboard_double_arrow_down","keyboard_double_arrow_left","keyboard_double_arrow_right","keyboard_double_arrow_up","keyboard_external_input","keyboard_full","keyboard_hide","keyboard_keys","keyboard_lock","keyboard_lock_off","keyboard_off","keyboard_onscreen","keyboard_option_key","keyboard_previous_language","keyboard_return","keyboard_tab","keyboard_tab_rtl","keyboard_voice","kid_star","king_bed","kitchen","kitesurfing","lab_panel","lab_profile","lab_research","label","label_important","label_important_outline","label_off","labs","lan","landscape","landscape_2","landscape_2_off","landslide","language","language_chinese_array","language_chinese_cangjie","language_chinese_dayi","language_chinese_pinyin","language_chinese_quick","language_chinese_wubi","language_french","language_gb_english","language_international","language_japanese_kana","language_korean_latin","language_pinyin","language_spanish","language_us","language_us_colemak","language_us_dvorak","laps","laptop","laptop_car","laptop_chromebook","laptop_mac","laptop_windows","lasso_select","last_page","launch","laundry","layers","layers_clear","lda","leaderboard","leak_add","leak_remove","left_click","left_panel_close","left_panel_open","legend_toggle","lens","lens_blur","letter_switch","library_add","library_add_check","library_books","library_music","license","lift_to_talk","light","light_group","light_mode","light_off","lightbulb","lightbulb_2","lightbulb_circle","lightbulb_outline","lightning_stand","line_axis","line_curve","line_end","line_end_arrow","line_end_arrow_notch","line_end_circle","line_end_diamond","line_end_square","line_start","line_start_arrow","line_start_arrow_notch","line_start_circle","line_start_diamond","line_start_square","line_style","line_weight","linear_scale","link","link_off","linked_camera","linked_services","liquor","list","list_alt","list_alt_add","list_alt_check","lists","live_help","live_tv","living","local_activity","local_airport","local_atm","local_bar","local_cafe","local_car_wash","local_convenience_store","local_dining","local_drink","local_fire_department","local_florist","local_gas_station","local_grocery_store","local_hospital","local_hotel","local_laundry_service","local_library","local_mall","local_movies","local_offer","local_parking","local_pharmacy","local_phone","local_pizza","local_play","local_police","local_post_office","local_printshop","local_see","local_shipping","local_taxi","location_away","location_chip","location_city","location_disabled","location_home","location_off","location_on","location_pin","location_searching","lock","lock_clock","lock_open","lock_open_right","lock_outline","lock_person","lock_reset","login","logo_dev","logout","looks","looks_3","looks_4","looks_5","looks_6","looks_one","looks_two","loop","loupe","low_density","low_priority","lowercase","loyalty","lte_mobiledata","lte_mobiledata_badge","lte_plus_mobiledata","lte_plus_mobiledata_badge","luggage","lunch_dining","lyrics","macro_auto","macro_off","magnification_large","magnification_small","magnify_docked","magnify_fullscreen","mail","mail_lock","mail_off","mail_outline","male","man","man_2","man_3","man_4","manage_accounts","manage_history","manage_search","manga","manufacturing","map","map_search","maps_home_work","maps_ugc","margin","mark_as_unread","mark_chat_read","mark_chat_unread","mark_email_read","mark_email_unread","mark_unread_chat_alt","markdown","markdown_copy","markdown_paste","markunread","markunread_mailbox","masked_transitions","masked_transitions_add","masks","match_case","match_case_off","match_word","matter","maximize","measuring_tape","media_bluetooth_off","media_bluetooth_on","media_link","media_output","media_output_off","mediation","medical_information","medical_mask","medical_services","medication","medication_liquid","meeting_room","memory","memory_alt","menstrual_health","menu","menu_book","menu_open","merge","merge_type","message","metabolism","metro","mfg_nest_yale_lock","mic","mic_alert","mic_double","mic_external_off","mic_external_on","mic_none","mic_off","microbiology","microwave","microwave_gen","military_tech","mimo","mimo_disconnect","mindfulness","minimize","minor_crash","mintmark","miscellaneous_services","missed_video_call","missing_controller","mist","mitre","mixture_med","mms","mobile_friendly","mobile_off","mobile_screen_share","mobiledata_off","mode","mode_comment","mode_cool","mode_cool_off","mode_dual","mode_edit","mode_edit_outline","mode_fan","mode_fan_off","mode_heat","mode_heat_cool","mode_heat_off","mode_night","mode_of_travel","mode_off_on","mode_standby","model_training","modeling","monetization_on","money","money_bag","money_off","money_off_csred","monitor","monitor_heart","monitor_weight","monitor_weight_gain","monitor_weight_loss","monitoring","monochrome_photos","monorail","mood","mood_bad","mop","moped","more","more_down","more_horiz","more_time","more_up","more_vert","mosque","motion_blur","motion_mode","motion_photos_auto","motion_photos_off","motion_photos_on","motion_photos_pause","motion_photos_paused","motion_play","motion_sensor_active","motion_sensor_alert","motion_sensor_idle","motion_sensor_urgent","motorcycle","mountain_flag","mouse","mouse_lock","mouse_lock_off","move","move_down","move_group","move_item","move_location","move_selection_down","move_selection_left","move_selection_right","move_selection_up","move_to_inbox","move_up","moved_location","movie","movie_creation","movie_edit","movie_filter","movie_info","movie_off","moving","moving_beds","moving_ministry","mp","multicooker","multiline_chart","multimodal_hand_eye","multiple_airports","multiple_stop","museum","music_cast","music_note","music_note_add","music_off","music_video","my_location","mystery","nat","nature","nature_people","navigate_before","navigate_next","navigation","near_me","near_me_disabled","nearby","nearby_error","nearby_off","nephrology","nest_audio","nest_cam_floodlight","nest_cam_indoor","nest_cam_iq","nest_cam_iq_outdoor","nest_cam_magnet_mount","nest_cam_outdoor","nest_cam_stand","nest_cam_wall_mount","nest_cam_wired_stand","nest_clock_farsight_analog","nest_clock_farsight_digital","nest_connect","nest_detect","nest_display","nest_display_max","nest_doorbell_visitor","nest_eco_leaf","nest_farsight_weather","nest_found_savings","nest_gale_wifi","nest_heat_link_e","nest_heat_link_gen_3","nest_hello_doorbell","nest_mini","nest_multi_room","nest_protect","nest_remote","nest_remote_comfort_sensor","nest_secure_alarm","nest_sunblock","nest_tag","nest_thermostat","nest_thermostat_e_eu","nest_thermostat_gen_3","nest_thermostat_sensor","nest_thermostat_sensor_eu","nest_thermostat_zirconium_eu","nest_true_radiant","nest_wake_on_approach","nest_wake_on_press","nest_wifi_point","nest_wifi_pro","nest_wifi_pro_2","nest_wifi_router","network_cell","network_check","network_intel_node","network_intelligence","network_intelligence_history","network_intelligence_update","network_locked","network_manage","network_node","network_ping","network_wifi","network_wifi_1_bar","network_wifi_1_bar_locked","network_wifi_2_bar","network_wifi_2_bar_locked","network_wifi_3_bar","network_wifi_3_bar_locked","network_wifi_locked","neurology","new_label","new_releases","new_window","news","newsmode","newspaper","newsstand","next_plan","next_week","nfc","night_shelter","night_sight_auto","night_sight_auto_off","night_sight_max","nightlife","nightlight","nightlight_round","nights_stay","no_accounts","no_adult_content","no_backpack","no_cell","no_crash","no_drinks","no_encryption","no_encryption_gmailerrorred","no_flash","no_food","no_luggage","no_meals","no_meals_ouline","no_meeting_room","no_photography","no_sim","no_sound","no_stroller","no_transfer","noise_aware","noise_control_off","noise_control_on","nordic_walking","north","north_east","north_west","not_accessible","not_accessible_forward","not_interested","not_listed_location","not_started","note","note_add","note_alt","note_stack","note_stack_add","notes","notification_add","notification_important","notification_multiple","notifications","notifications_active","notifications_none","notifications_off","notifications_paused","notifications_unread","numbers","nutrition","ods","odt","offline_bolt","offline_pin","offline_pin_off","offline_share","oil_barrel","on_device_training","on_hub_device","oncology","ondemand_video","online_prediction","onsen","opacity","open_in_browser","open_in_full","open_in_new","open_in_new_down","open_in_new_off","open_in_phone","open_jam","open_run","open_with","ophthalmology","oral_disease","orbit","order_approve","order_play","orders","orthopedics","other_admission","other_houses","outbound","outbox","outbox_alt","outdoor_garden","outdoor_grill","outgoing_mail","outlet","outlined_flag","outpatient","outpatient_med","output","output_circle","oven","oven_gen","overview","overview_key","owl","oxygen_saturation","p2p","pace","pacemaker","package","package_2","padding","page_control","page_footer","page_header","page_info","pageless","pages","pageview","paid","palette","pallet","pan_tool","pan_tool_alt","pan_zoom","panorama","panorama_fish_eye","panorama_horizontal","panorama_horizontal_select","panorama_photosphere","panorama_photosphere_select","panorama_vertical","panorama_vertical_select","panorama_wide_angle","panorama_wide_angle_select","paragliding","park","partly_cloudy_day","partly_cloudy_night","partner_exchange","partner_reports","party_mode","passkey","password","password_2","password_2_off","patient_list","pattern","pause","pause_circle","pause_circle_filled","pause_circle_outline","pause_presentation","payment","payments","pedal_bike","pediatrics","pen_size_1","pen_size_2","pen_size_3","pen_size_4","pen_size_5","pending","pending_actions","pentagon","people","people_alt","people_outline","percent","pergola","perm_camera_mic","perm_contact_calendar","perm_data_setting","perm_device_information","perm_identity","perm_media","perm_phone_msg","perm_scan_wifi","person","person_2","person_3","person_4","person_add","person_add_alt","person_add_alt_1","person_add_disabled","person_alert","person_apron","person_book","person_cancel","person_celebrate","person_check","person_edit","person_off","person_outline","person_pin","person_pin_circle","person_play","person_raised_hand","person_remove","person_remove_alt_1","person_search","personal_bag","personal_bag_off","personal_bag_question","personal_injury","personal_places","personal_video","pest_control","pest_control_rodent","pet_supplies","pets","phishing","phone","phone_android","phone_bluetooth_speaker","phone_callback","phone_disabled","phone_enabled","phone_forwarded","phone_in_talk","phone_iphone","phone_locked","phone_missed","phone_paused","phonelink","phonelink_erase","phonelink_lock","phonelink_off","phonelink_ring","phonelink_ring_off","phonelink_setup","photo","photo_album","photo_auto_merge","photo_camera","photo_camera_back","photo_camera_front","photo_filter","photo_frame","photo_library","photo_prints","photo_size_select_actual","photo_size_select_large","photo_size_select_small","php","physical_therapy","piano","piano_off","picture_as_pdf","picture_in_picture","picture_in_picture_alt","picture_in_picture_center","picture_in_picture_large","picture_in_picture_medium","picture_in_picture_mobile","picture_in_picture_off","picture_in_picture_small","pie_chart","pie_chart_outline","pie_chart_outlined","pill","pill_off","pin","pin_drop","pin_end","pin_invoke","pinboard","pinboard_unread","pinch","pinch_zoom_in","pinch_zoom_out","pip","pip_exit","pivot_table_chart","pix","place","place_item","plagiarism","planet","planner_banner_ad_pt","planner_review","play_arrow","play_circle","play_circle_filled","play_circle_outline","play_disabled","play_for_work","play_lesson","play_pause","playing_cards","playlist_add","playlist_add_check","playlist_add_check_circle","playlist_add_circle","playlist_play","playlist_remove","plumbing","plus_one","podcasts","podiatry","podium","point_of_sale","point_scan","poker_chip","policy","policy_alert","poll","polyline","polymer","pool","portable_wifi_off","portrait","position_bottom_left","position_bottom_right","position_top_right","post","post_add","potted_plant","power","power_input","power_off","power_settings_circle","power_settings_new","prayer_times","precision_manufacturing","pregnancy","pregnant_woman","preliminary","prescriptions","present_to_all","preview","preview_off","price_change","price_check","print","print_add","print_connect","print_disabled","print_error","print_lock","priority","priority_high","privacy","privacy_tip","private_connectivity","problem","procedure","process_chart","production_quantity_limits","productivity","progress_activity","prompt_suggestion","propane","propane_tank","psychiatry","psychology","psychology_alt","public","public_off","publish","published_with_changes","pulmonology","pulse_alert","punch_clock","push_pin","qr_code","qr_code_2","qr_code_2_add","qr_code_scanner","query_builder","query_stats","question_answer","question_exchange","question_mark","queue","queue_music","queue_play_next","quick_phrases","quick_reference","quick_reference_all","quick_reorder","quickreply","quiz","r_mobiledata","radar","radio","radio_button_checked","radio_button_partial","radio_button_unchecked","radiology","railway_alert","railway_alert_2","rainy","rainy_heavy","rainy_light","rainy_snow","ramen_dining","ramp_left","ramp_right","range_hood","rate_review","raven","raw_off","raw_on","read_more","readiness_score","real_estate_agent","rear_camera","rebase","rebase_edit","receipt","receipt_long","receipt_long_off","recent_actors","recent_patient","recenter","recommend","record_voice_over","rectangle","recycling","redeem","redo","reduce_capacity","refresh","regular_expression","relax","release_alert","remember_me","reminder","remote_gen","remove","remove_circle","remove_circle_outline","remove_done","remove_from_queue","remove_moderator","remove_red_eye","remove_road","remove_selection","remove_shopping_cart","reopen_window","reorder","repartition","repeat","repeat_on","repeat_one","repeat_one_on","replace_audio","replace_image","replace_video","replay","replay_10","replay_30","replay_5","replay_circle_filled","reply","reply_all","report","report_gmailerrorred","report_off","report_problem","request_page","request_quote","reset_brightness","reset_focus","reset_image","reset_iso","reset_settings","reset_shadow","reset_shutter_speed","reset_tv","reset_white_balance","reset_wrench","resize","respiratory_rate","responsive_layout","restart_alt","restaurant","restaurant_menu","restore","restore_from_trash","restore_page","resume","reviews","rewarded_ads","rheumatology","rib_cage","rice_bowl","right_click","right_panel_close","right_panel_open","ring_volume","ripples","road","robot","robot_2","rocket","rocket_launch","roller_shades","roller_shades_closed","roller_skating","roofing","room","room_preferences","room_service","rotate_90_degrees_ccw","rotate_90_degrees_cw","rotate_auto","rotate_left","rotate_right","roundabout_left","roundabout_right","rounded_corner","route","router","routine","rowing","rss_feed","rsvp","rtt","rubric","rule","rule_folder","rule_settings","run_circle","running_with_errors","rv_hookup","safety_check","safety_check_off","safety_divider","sailing","salinity","sanitizer","satellite","satellite_alt","sauna","save","save_alt","save_as","save_clock","saved_search","savings","scale","scan","scan_delete","scanner","scatter_plot","scene","schedule","schedule_send","schema","school","science","science_off","scooter","score","scoreboard","screen_lock_landscape","screen_lock_portrait","screen_lock_rotation","screen_record","screen_rotation","screen_rotation_alt","screen_rotation_up","screen_search_desktop","screen_share","screenshot","screenshot_frame","screenshot_frame_2","screenshot_keyboard","screenshot_monitor","screenshot_region","screenshot_tablet","script","scrollable_header","scuba_diving","sd","sd_card","sd_card_alert","sd_storage","sdk","search","search_activity","search_check","search_check_2","search_hands_free","search_insights","search_off","security","security_key","security_update","security_update_good","security_update_warning","segment","select","select_all","select_check_box","select_to_speak","select_window","select_window_2","select_window_off","self_care","self_improvement","sell","send","send_and_archive","send_money","send_time_extension","send_to_mobile","sensor_door","sensor_occupied","sensor_window","sensors","sensors_krx","sensors_krx_off","sensors_off","sentiment_calm","sentiment_content","sentiment_dissatisfied","sentiment_excited","sentiment_extremely_dissatisfied","sentiment_frustrated","sentiment_neutral","sentiment_sad","sentiment_satisfied","sentiment_satisfied_alt","sentiment_stressed","sentiment_very_dissatisfied","sentiment_very_satisfied","sentiment_worried","serif","server_person","service_toolbox","set_meal","settings","settings_accessibility","settings_account_box","settings_alert","settings_applications","settings_b_roll","settings_backup_restore","settings_bluetooth","settings_brightness","settings_cell","settings_cinematic_blur","settings_ethernet","settings_heart","settings_input_antenna","settings_input_component","settings_input_composite","settings_input_hdmi","settings_input_svideo","settings_motion_mode","settings_night_sight","settings_overscan","settings_panorama","settings_phone","settings_photo_camera","settings_power","settings_remote","settings_slow_motion","settings_suggest","settings_system_daydream","settings_timelapse","settings_video_camera","settings_voice","settop_component","severe_cold","shadow","shadow_add","shadow_minus","shape_line","shapes","share","share_eta","share_location","share_off","share_reviews","share_windows","sheets_rtl","shelf_auto_hide","shelf_position","shelves","shield","shield_lock","shield_locked","shield_moon","shield_person","shield_question","shield_with_heart","shield_with_house","shift","shift_lock","shift_lock_off","shop","shop_2","shop_two","shopping_bag","shopping_bag_speed","shopping_basket","shopping_cart","shopping_cart_checkout","shopping_cart_off","shoppingmode","short_stay","short_text","shortcut","show_chart","shower","shuffle","shuffle_on","shutter_speed","shutter_speed_add","shutter_speed_minus","sick","side_navigation","sign_language","signal_cellular_0_bar","signal_cellular_1_bar","signal_cellular_2_bar","signal_cellular_3_bar","signal_cellular_4_bar","signal_cellular_add","signal_cellular_alt","signal_cellular_alt_1_bar","signal_cellular_alt_2_bar","signal_cellular_connected_no_internet_0_bar","signal_cellular_connected_no_internet_1_bar","signal_cellular_connected_no_internet_2_bar","signal_cellular_connected_no_internet_3_bar","signal_cellular_connected_no_internet_4_bar","signal_cellular_no_sim","signal_cellular_nodata","signal_cellular_null","signal_cellular_off","signal_cellular_pause","signal_disconnected","signal_wifi_0_bar","signal_wifi_1_bar","signal_wifi_1_bar_lock","signal_wifi_2_bar","signal_wifi_2_bar_lock","signal_wifi_3_bar","signal_wifi_3_bar_lock","signal_wifi_4_bar","signal_wifi_4_bar_lock","signal_wifi_bad","signal_wifi_connected_no_internet_0","signal_wifi_connected_no_internet_1","signal_wifi_connected_no_internet_2","signal_wifi_connected_no_internet_3","signal_wifi_connected_no_internet_4","signal_wifi_off","signal_wifi_statusbar_1_bar","signal_wifi_statusbar_2_bar","signal_wifi_statusbar_3_bar","signal_wifi_statusbar_4_bar","signal_wifi_statusbar_connected_no_internet","signal_wifi_statusbar_connected_no_internet_1","signal_wifi_statusbar_connected_no_internet_2","signal_wifi_statusbar_connected_no_internet_3","signal_wifi_statusbar_connected_no_internet_4","signal_wifi_statusbar_not_connected","signal_wifi_statusbar_null","signature","signpost","sim_card","sim_card_alert","sim_card_download","simulation","single_bed","sip","siren","siren_check","siren_open","siren_question","skateboarding","skeleton","skillet","skillet_cooktop","skip_next","skip_previous","skull","skull_list","slab_serif","sledding","sleep_score","slide_library","sliders","slideshow","slow_motion_video","smart_button","smart_card_reader","smart_card_reader_off","smart_display","smart_outlet","smart_screen","smart_toy","smartphone","smartphone_camera","smb_share","smoke_free","smoking_rooms","sms","sms_failed","snippet_folder","snooze","snowboarding","snowing","snowing_heavy","snowmobile","snowshoeing","soap","social_distance","social_leaderboard","solar_power","sort","sort_by_alpha","sos","sound_detection_dog_barking","sound_detection_glass_break","sound_detection_loud_sound","sound_sampler","soup_kitchen","source","source_environment","source_notes","south","south_america","south_east","south_west","spa","space_bar","space_dashboard","spatial_audio","spatial_audio_off","spatial_speaker","spatial_tracking","speaker","speaker_group","speaker_notes","speaker_notes_off","speaker_phone","special_character","specific_gravity","speech_to_text","speed","speed_0_25","speed_0_2x","speed_0_5","speed_0_5x","speed_0_75","speed_0_7x","speed_1_2","speed_1_25","speed_1_2x","speed_1_5","speed_1_5x","speed_1_75","speed_1_7x","speed_2x","speed_camera","spellcheck","split_scene","splitscreen","splitscreen_add","splitscreen_bottom","splitscreen_landscape","splitscreen_left","splitscreen_portrait","splitscreen_right","splitscreen_top","splitscreen_vertical_add","spo2","spoke","sports","sports_and_outdoors","sports_bar","sports_baseball","sports_basketball","sports_cricket","sports_esports","sports_football","sports_golf","sports_gymnastics","sports_handball","sports_hockey","sports_kabaddi","sports_martial_arts","sports_mma","sports_motorsports","sports_rugby","sports_score","sports_soccer","sports_tennis","sports_volleyball","sprinkler","sprint","square","square_dot","square_foot","ssid_chart","stack","stack_hexagon","stack_off","stack_star","stacked_bar_chart","stacked_email","stacked_inbox","stacked_line_chart","stacks","stadia_controller","stadium","stairs","stairs_2","star","star_border","star_border_purple500","star_half","star_outline","star_purple500","star_rate","star_rate_half","stars","start","stat_0","stat_1","stat_2","stat_3","stat_minus_1","stat_minus_2","stat_minus_3","stay_current_landscape","stay_current_portrait","stay_primary_landscape","stay_primary_portrait","step","step_into","step_out","step_over","steppers","steps","stethoscope","stethoscope_arrow","stethoscope_check","sticky_note","sticky_note_2","stock_media","stockpot","stop","stop_circle","stop_screen_share","storage","store","store_mall_directory","storefront","storm","straight","straighten","strategy","stream","stream_apps","streetview","stress_management","strikethrough_s","stroke_full","stroke_partial","stroller","style","styler","stylus","stylus_laser_pointer","stylus_note","subdirectory_arrow_left","subdirectory_arrow_right","subheader","subject","subscript","subscriptions","subtitles","subtitles_off","subway","summarize","sunny","sunny_snowing","superscript","supervised_user_circle","supervised_user_circle_off","supervisor_account","support","support_agent","surfing","surgical","surround_sound","swap_calls","swap_driving_apps","swap_driving_apps_wheel","swap_horiz","swap_horizontal_circle","swap_vert","swap_vertical_circle","sweep","swipe","swipe_down","swipe_down_alt","swipe_left","swipe_left_alt","swipe_right","swipe_right_alt","swipe_up","swipe_up_alt","swipe_vertical","switch","switch_access","switch_access_2","switch_access_shortcut","switch_access_shortcut_add","switch_account","switch_camera","switch_left","switch_right","switch_video","switches","sword_rose","swords","symptoms","synagogue","sync","sync_alt","sync_arrow_down","sync_arrow_up","sync_desktop","sync_disabled","sync_lock","sync_problem","sync_saved_locally","syringe","system_security_update","system_security_update_good","system_security_update_warning","system_update","system_update_alt","tab","tab_close","tab_close_inactive","tab_close_right","tab_duplicate","tab_group","tab_inactive","tab_move","tab_new_right","tab_recent","tab_unselected","table","table_bar","table_chart","table_chart_view","table_convert","table_edit","table_eye","table_lamp","table_restaurant","table_rows","table_rows_narrow","table_view","tablet","tablet_android","tablet_camera","tablet_mac","tabs","tactic","tag","tag_faces","takeout_dining","tamper_detection_off","tamper_detection_on","tap_and_play","tapas","target","task","task_alt","taunt","taxi_alert","team_dashboard","temp_preferences_eco","temple_buddhist","temple_hindu","tenancy","terminal","terrain","text_ad","text_compare","text_decrease","text_fields","text_fields_alt","text_format","text_increase","text_rotate_up","text_rotate_vertical","text_rotation_angledown","text_rotation_angleup","text_rotation_down","text_rotation_none","text_select_end","text_select_jump_to_beginning","text_select_jump_to_end","text_select_move_back_character","text_select_move_back_word","text_select_move_down","text_select_move_forward_character","text_select_move_forward_word","text_select_move_up","text_select_start","text_snippet","text_to_speech","text_up","textsms","texture","texture_add","texture_minus","theater_comedy","theaters","thermometer","thermometer_add","thermometer_gain","thermometer_loss","thermometer_minus","thermostat","thermostat_arrow_down","thermostat_arrow_up","thermostat_auto","thermostat_carbon","things_to_do","thread_unread","threat_intelligence","thumb_down","thumb_down_alt","thumb_down_off_alt","thumb_up","thumb_up_alt","thumb_up_off_alt","thumbnail_bar","thumbs_up_down","thunderstorm","tibia","tibia_alt","tile_large","tile_medium","tile_small","time_auto","time_to_leave","timelapse","timeline","timer","timer_10","timer_10_alt_1","timer_10_select","timer_3","timer_3_alt_1","timer_3_select","timer_5","timer_5_shutter","timer_arrow_down","timer_arrow_up","timer_off","timer_pause","timer_play","tips_and_updates","tire_repair","title","titlecase","toast","toc","today","toggle_off","toggle_on","token","toll","tonality","toolbar","tools_flat_head","tools_installation_kit","tools_ladder","tools_level","tools_phillips","tools_pliers_wire_stripper","tools_power_drill","tooltip","tooltip_2","top_panel_close","top_panel_open","topic","tornado","total_dissolved_solids","touch_app","touch_double","touch_long","touch_triple","touchpad_mouse","touchpad_mouse_off","tour","toys","toys_and_games","toys_fan","track_changes","trackpad_input","trackpad_input_2","trackpad_input_3","traffic","traffic_jam","trail_length","trail_length_medium","trail_length_short","train","tram","transcribe","transfer_within_a_station","transform","transgender","transit_enterexit","transit_ticket","transition_chop","transition_dissolve","transition_fade","transition_push","transition_slide","translate","transportation","travel","travel_explore","travel_luggage_and_bags","trending_down","trending_flat","trending_up","trip","trip_origin","trolley","trolley_cable_car","trophy","troubleshoot","try","tsunami","tsv","tty","tune","tungsten","turn_left","turn_right","turn_sharp_left","turn_sharp_right","turn_slight_left","turn_slight_right","turned_in","turned_in_not","tv","tv_displays","tv_gen","tv_guide","tv_next","tv_off","tv_options_edit_channels","tv_options_input_settings","tv_remote","tv_signin","tv_with_assistant","two_pager","two_pager_store","two_wheeler","type_specimen","u_turn_left","u_turn_right","ulna_radius","ulna_radius_alt","umbrella","unarchive","undo","unfold_less","unfold_less_double","unfold_more","unfold_more_double","ungroup","universal_currency","universal_currency_alt","universal_local","unknown_2","unknown_5","unknown_7","unknown_document","unknown_med","unlicense","unpaved_road","unpublished","unsubscribe","upcoming","update","update_disabled","upgrade","upi_pay","upload","upload_2","upload_file","uppercase","urology","usb","usb_off","user_attributes","vaccines","vacuum","valve","vape_free","vaping_rooms","variable_add","variable_insert","variable_remove","variables","ventilator","verified","verified_user","vertical_align_bottom","vertical_align_center","vertical_align_top","vertical_distribute","vertical_shades","vertical_shades_closed","vertical_split","vibration","video_call","video_camera_back","video_camera_back_add","video_camera_front","video_camera_front_off","video_chat","video_file","video_label","video_library","video_search","video_settings","video_stable","videocam","videocam_alert","videocam_off","videogame_asset","videogame_asset_off","view_agenda","view_apps","view_array","view_carousel","view_column","view_column_2","view_comfy","view_comfy_alt","view_compact","view_compact_alt","view_cozy","view_day","view_headline","view_in_ar","view_in_ar_off","view_kanban","view_list","view_module","view_object_track","view_quilt","view_real_size","view_sidebar","view_stream","view_timeline","view_week","vignette","villa","visibility","visibility_lock","visibility_off","vital_signs","vo2_max","voice_chat","voice_over_off","voice_selection","voice_selection_off","voicemail","volcano","volume_down","volume_down_alt","volume_mute","volume_off","volume_up","volunteer_activism","voting_chip","vpn_key","vpn_key_alert","vpn_key_off","vpn_lock","vr180_create2d","vr180_create2d_off","vrpano","wall_art","wall_lamp","wallet","wallpaper","wallpaper_slideshow","ward","warehouse","warning","warning_amber","warning_off","wash","watch","watch_button_press","watch_check","watch_later","watch_off","watch_screentime","watch_vibration","watch_wake","water","water_bottle","water_bottle_large","water_damage","water_do","water_drop","water_ec","water_full","water_heater","water_lock","water_loss","water_lux","water_medium","water_orp","water_ph","water_pump","water_voc","waterfall_chart","waves","waving_hand","wb_auto","wb_cloudy","wb_incandescent","wb_iridescent","wb_shade","wb_sunny","wb_twighlight","wb_twilight","wc","weather_hail","weather_mix","weather_snowy","web","web_asset","web_asset_off","web_stories","web_traffic","webhook","weekend","weight","west","whatshot","wheelchair_pickup","where_to_vote","widget_medium","widget_small","widget_width","widgets","width_full","width_normal","width_wide","wifi","wifi_1_bar","wifi_2_bar","wifi_add","wifi_calling","wifi_calling_1","wifi_calling_2","wifi_calling_3","wifi_calling_bar_1","wifi_calling_bar_2","wifi_calling_bar_3","wifi_channel","wifi_find","wifi_home","wifi_lock","wifi_notification","wifi_off","wifi_password","wifi_protected_setup","wifi_proxy","wifi_tethering","wifi_tethering_error","wifi_tethering_off","wind_power","window","window_closed","window_open","window_sensor","wine_bar","woman","woman_2","work","work_alert","work_history","work_off","work_outline","work_update","workspace_premium","workspaces","workspaces_filled","workspaces_outline","wounds_injuries","wrap_text","wrist","wrong_location","wysiwyg","yard","your_trips","youtube_activity","youtube_searched_for","zone_person_alert","zone_person_idle","zone_person_urgent","zoom_in","zoom_in_map","zoom_out","zoom_out_map"];var oS=(0,n.defineComponent)({__name:"Icon",props:{icon:{},name:{},size:{default:1},mobileSize:{},color:{},round:{type:Boolean},weight:{},fontAwesome:{type:Boolean},fill:{type:Boolean},animate:{},animateSpeed:{},animateOnce:{type:Boolean},transition:{type:[Boolean,String],default:!0}},setup(e){const t=e,r=(0,n.computed)(()=>t.icon??t.name),{isMobile:o}=Qa(),a=(0,n.computed)(()=>o.value&&t.mobileSize!==void 0?t.mobileSize:t.size),l=(0,n.computed)(()=>t.fontAwesome&&(gc.includes(r.value)||Sl.includes(r.value))?"font-awesome":Qh.includes(r.value)?"material":gc.includes(r.value)||Sl.includes(r.value)?"font-awesome":"material"),i=(0,n.computed)(()=>Sl.includes(r.value)),s=(0,n.ref)(!0),c=(0,n.ref)(!0),u=(0,n.ref)(!0);function d(){return typeof document>"u"?null:document.fonts??null}function f(){const w=d();return w!==null&&typeof w.load=="function"}async function m(w){if(!f())return!0;try{const k=d();return!k||k.check(`1em "${w}"`)?!0:(await k.load(`1em "${w}"`),k.check(`1em "${w}"`))}catch{return!1}}async function p(){s.value=await m("Material Symbols Outlined")}async function h(){c.value=await m("Font Awesome 6 Free")}async function y(){u.value=await m("Font Awesome 6 Brands")}(0,n.onMounted)(()=>{if(f())if(l.value==="material"){const w=d();s.value=w?w.check('1em "Material Symbols Outlined"'):!0,p()}else if(i.value){const w=d();u.value=w?w.check('1em "Font Awesome 6 Brands"'):!0,y()}else{const w=d();c.value=w?w.check('1em "Font Awesome 6 Free"'):!0,h()}}),(0,n.watchEffect)(()=>{f()&&(l.value==="material"?p():i.value?y():h())});const b=(0,n.computed)(()=>l.value==="material"?s.value:i.value?u.value:c.value),g=(0,n.computed)(()=>t.animate?`bgl_icon--${t.animate}`:null),v=(0,n.computed)(()=>{if(!t.animate)return;const w={};return t.animateSpeed!==void 0&&(w.animationDuration=`${t.animateSpeed}s`),t.animateOnce&&(w.animationIterationCount="1"),w}),_=(0,n.computed)(()=>t.transition===!1?"bgl-icon-x-none":`bgl-icon-x-${t.transition===!0?"slide-up":t.transition}`);return(w,k)=>((0,n.openBlock)(),(0,n.createBlock)(n.Transition,{name:_.value,mode:"out-in"},{default:(0,n.withCtx)(()=>[l.value==="material"?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:r.value,class:(0,n.normalizeClass)(["bgl_icon-font notranslate",[g.value,{"round flex aspect-ratio-1 justify-content-center":e.round}]]),style:(0,n.normalizeStyle)({fontSize:`${a.value}rem`,color:e.color,"font-variation-settings":`'FILL' ${e.fill?1:0}, 'wght' ${e.weight||400}`,width:e.round?`calc(${a.value}rem * 2)`:"auto",height:e.round?`calc(${a.value}rem * 2)`:"auto",visibility:b.value?"visible":"hidden",...v.value}),translate:"no"},(0,n.toDisplayString)(r.value),7)):l.value==="font-awesome"?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:r.value,class:(0,n.normalizeClass)(["fa bgl_icon-font notranslate",[`fa-${r.value}`,g.value,{"fa-brands":i.value,"fa-solid":e.fill,far:!e.fill&&!i.value}]]),style:(0,n.normalizeStyle)({fontSize:`${a.value}rem`,color:e.color,"font-variation-settings":`'wght' ${e.weight||400}`,visibility:b.value?"visible":"hidden",...v.value}),translate:"no"},null,6)):(0,n.createCommentVNode)("",!0)]),_:1},8,["name"]))}}),_e=oS,aS={class:"flex space-between w-100p align-items-start gap-05"},lS={class:"flex gap-05 align-items-center min-w-0"},iS={class:"min-w-0"},sS={class:"txt13 opacity-6 m-0 ellipsis-1"},cS={key:0,class:"txt12 color-gray m-0 ellipsis-1"},uS={class:"flex space-between w-100p align-items-end gap-1"},dS=(0,n.defineComponent)({__name:"StatCard",props:{label:{},value:{},icon:{},color:{default:"primary"},change:{},invertChange:{type:Boolean},trend:{},currency:{},prefix:{},suffix:{},subtitle:{},loading:{type:Boolean},outline:{type:Boolean},frame:{type:Boolean}},setup(e){const t=e,r=(0,n.computed)(()=>xt(t.color)),o=(0,n.computed)(()=>typeof t.value=="number"?St(t.value,{currency:t.currency,prefix:t.prefix,suffix:t.suffix}):`${t.prefix??""}${t.value}${t.suffix??""}`),a=(0,n.computed)(()=>t.change!==void 0&&t.change!==0),l=(0,n.computed)(()=>(t.change??0)>0),i=(0,n.computed)(()=>t.invertChange?!l.value:l.value);return(s,c)=>((0,n.openBlock)(),(0,n.createBlock)(sr,{thin:"",outline:e.outline,frame:e.frame,class:"bgl-stat flex column gap-1"},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("div",aS,[(0,n.createElementVNode)("div",lS,[e.icon?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:"bgl-stat__icon grid place-items-center flex-shrink-0",style:(0,n.normalizeStyle)({color:r.value,background:`color-mix(in srgb, ${r.value} 12%, transparent)`})},[(0,n.createVNode)(_e,{name:e.icon,size:1.1},null,8,["name"])],4)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",iS,[(0,n.createElementVNode)("p",sS,(0,n.toDisplayString)(e.label),1),e.subtitle?((0,n.openBlock)(),(0,n.createElementBlock)("p",cS,(0,n.toDisplayString)(e.subtitle),1)):(0,n.createCommentVNode)("",!0)])]),a.value?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:(0,n.normalizeClass)(["bgl-stat__delta inline-flex align-items-center flex-shrink-0 semibold",i.value?"bgl-stat__delta--up":"bgl-stat__delta--down"])},[(0,n.createVNode)(_e,{name:l.value?"trending_up":"trending_down",size:.9},null,8,["name"]),(0,n.createTextVNode)(" "+(0,n.toDisplayString)(Math.abs(e.change).toFixed(1))+"% ",1)],2)):(0,n.createCommentVNode)("",!0)]),(0,n.createElementVNode)("div",uS,[(0,n.createElementVNode)("span",{class:(0,n.normalizeClass)(["txt28 m_txt24 semibold line-height-1 tabular-nums",{"opacity-4":e.loading}])},(0,n.toDisplayString)(e.loading?"…":o.value),3),e.trend?.length?((0,n.openBlock)(),(0,n.createBlock)(gh,{key:0,data:e.trend,color:e.color,area:"",class:"flex-shrink-0 opacity-9",width:96,height:32},null,8,["data","color"])):(0,n.createCommentVNode)("",!0)])]),_:1},8,["outline","frame"]))}}),fS=be(dS,[["__scopeId","data-v-f367e664"]]),mS=["src","alt"],pS={key:2,class:"flex-center absolute-fill error-image"},hS={key:1},gS=["src","alt","width","height"],vS=["src","alt","width","height"],yS=(0,n.defineComponent)({name:"BglImage",inheritAttrs:!0,__name:"Image",props:{src:{},pathKey:{},alt:{},width:{},height:{},caption:{},modelValue:{},ratio:{},gradient:{},fit:{},blend:{},rounded:{type:[Boolean,Number]}},setup(e){const t=e,{imageSrc:r,loadingError:o}=fd(()=>t.src??t.pathKey??t.modelValue),a=(0,n.useSlots)(),l=(0,n.computed)(()=>!!a.default?.({})?.some(p=>p.type!==n.Comment&&!(typeof p.children=="string"&&p.children.trim()===""))),i=(0,n.computed)(()=>t.ratio!==void 0||t.gradient!==void 0||t.blend!==void 0||t.rounded!==void 0||l.value);function s(p){return/^(--|#|rgb|hsl|var\(|linear|radial|conic)/.test(p)?p:`var(--bgl-${p})`}const c=(0,n.computed)(()=>{const p=t.gradient;if(!p)return;if(Array.isArray(p))return`linear-gradient(150deg, ${s(p[0])}, ${s(p[1])})`;if(/^(linear|radial|conic)-gradient/.test(p))return p;const h=s(p);return`linear-gradient(150deg, ${h}, color-mix(in srgb, ${h} 55%, #000))`}),u=(0,n.computed)(()=>t.ratio?`ratio-${t.ratio}`:""),d=(0,n.computed)(()=>t.ratio!==void 0||t.height!==void 0),f=(0,n.computed)(()=>{if(!(t.rounded===void 0||t.rounded===!1))return typeof t.rounded=="number"?`${t.rounded}px`:"var(--bgl-card-radius, 12px)"}),m=(0,n.computed)(()=>t.fit??(t.ratio||t.gradient?"cover":void 0));return(p,h)=>i.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:(0,n.normalizeClass)(["bgl-image-frame relative overflow-hidden",u.value]),style:(0,n.normalizeStyle)({width:(0,n.unref)(Gt)(e.width),height:e.ratio?void 0:(0,n.unref)(Gt)(e.height),background:c.value,borderRadius:f.value})},[(0,n.unref)(r)?((0,n.openBlock)(),(0,n.createElementBlock)("img",{key:0,src:(0,n.unref)(r),alt:e.alt,class:(0,n.normalizeClass)(["bgl-image-frame-img",d.value?"absolute-fill":"bgl-image-frame-img--flow"]),style:(0,n.normalizeStyle)({objectFit:m.value,mixBlendMode:e.blend})},null,14,mS)):!c.value&&!(0,n.unref)(o)?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(fa),{key:1,class:"absolute-fill"})):(0,n.unref)(o)&&!c.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",pS,[(0,n.createVNode)((0,n.unref)(_e),{name:"broken_image"})])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(p.$slots,"default",{},void 0,!0)],6)):e.caption?((0,n.openBlock)(),(0,n.createElementBlock)("figcaption",hS,[(0,n.unref)(r)?((0,n.openBlock)(),(0,n.createElementBlock)("img",(0,n.mergeProps)({key:0,src:(0,n.unref)(r)},p.$attrs,{alt:e.alt,width:(0,n.unref)(Gt)(e.width),height:(0,n.unref)(Gt)(e.height)}),null,16,gS)):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(fa),{key:1,class:"img-web-kit",width:(0,n.unref)(Gt)(e.width),height:(0,n.unref)(Gt)(e.height)},null,8,["width","height"]))])):(0,n.unref)(r)?((0,n.openBlock)(),(0,n.createElementBlock)("img",(0,n.mergeProps)({key:2,src:(0,n.unref)(r)},p.$attrs,{alt:e.alt,width:(0,n.unref)(Gt)(e.width),height:(0,n.unref)(Gt)(e.height)}),null,16,vS)):(0,n.unref)(o)?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:3,class:"flex-center error-image",style:(0,n.normalizeStyle)({width:(0,n.unref)(Gt)(e.width),height:(0,n.unref)(Gt)(e.height)})},[(0,n.createVNode)((0,n.unref)(_e),{name:"broken_image"})],4)):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(fa),{key:4,class:"img-web-kit",width:(0,n.unref)(Gt)(e.width),height:(0,n.unref)(Gt)(e.height)},null,8,["width","height"]))}}),$a=be(yS,[["__scopeId","data-v-76f29e7b"]]),bS=["title"],_S=(0,n.defineComponent)({name:"BglAvatar",__name:"Avatar",props:{fallback:{},src:{},name:{},icon:{},alt:{},size:{default:50},square:{type:[Boolean,Number]},color:{},status:{type:[Boolean,String]},statusTitle:{},innerClass:{}},setup(e){const t=e,r=(0,n.computed)(()=>t.status===!0?"green":t.status||null),o=(0,n.computed)(()=>Math.max(7,Math.min(14,Math.round(t.size*.28)))),a=(0,n.computed)(()=>t.square?t.square===!0?"var(--bgl-btn-border-radius)":`${t.square}px`:"1000px"),l=(0,n.computed)(()=>t.color?{background:`color-mix(in srgb, var(--bgl-${t.color}) 14%, transparent)`,color:`var(--bgl-${t.color})`,border:"none"}:{});return(i,s)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:"avatar-wrap",style:(0,n.normalizeStyle)({width:`${e.size}px`,height:`${e.size}px`})},[(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["overflow-hidden txt-center p-0 avatar flex justify-content-center align-items-center",e.innerClass]),style:(0,n.normalizeStyle)({width:`${e.size}px`,height:`${e.size}px`,borderRadius:a.value,...l.value})},[e.src?((0,n.openBlock)(),(0,n.createBlock)($a,{key:0,src:e.src,alt:e.alt||e.name},null,8,["src","alt"])):e.icon?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:1,icon:e.icon,size:e.size/40},null,8,["icon","size"])):((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:2,style:(0,n.normalizeStyle)({"line-height":`${e.size}px`,"font-size":`calc(1.5rem * ${e.size} / 50)`})},(0,n.toDisplayString)((e.fallback||(0,n.unref)(Sv)(e.name||"")).toUpperCase()),5))],6),r.value?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:"avatar-status",title:e.statusTitle,style:(0,n.normalizeStyle)({width:`${o.value}px`,height:`${o.value}px`,background:`var(--bgl-${r.value})`})},null,12,bS)):(0,n.createCommentVNode)("",!0)],4))}}),e0=be(_S,[["__scopeId","data-v-1d880a58"]]),wS=["disabled"],kS={class:"flex h-100 justify-content-center relative"},$S={key:0,class:"loading absolute inset-0 mx-auto"},ES={key:1,class:"bgl_pill-dot"},CS=(0,n.defineComponent)({name:"BglBadge",__name:"Badge",props:{disabled:{type:Boolean},icon:{},iconEnd:{},color:{},variant:{},flat:{type:Boolean},outline:{type:Boolean},soft:{type:Boolean},frost:{type:Boolean},gradient:{type:[Boolean,String]},gradientDir:{},frame:{type:Boolean},glass:{type:Boolean},dot:{type:Boolean},flush:{type:Boolean},border:{type:Boolean},loading:{type:Boolean},value:{},round:{type:Boolean},btn:{},btnEnd:{},size:{},sm:{type:Boolean},lg:{type:Boolean},mobileSize:{},uppercase:{type:Boolean}},setup(e){const t=e,r=(0,n.useSlots)(),o=(0,n.computed)(()=>t.disabled?"gray-light":t.color),{isGradient:a,gradientStyle:l}=qi({gradient:()=>t.gradient,gradientDir:()=>t.gradientDir,color:()=>t.color}),i=(0,n.computed)(()=>{const f=o.value;return f?`pair-${f}`:u.value==="frost"?"pair-white":"pair-primary"}),s=(0,n.computed)(()=>t.size?t.size:t.sm?"sm":t.lg?"lg":"md"),c=(0,n.computed)(()=>t.mobileSize),u=(0,n.computed)(()=>t.variant?t.variant:a.value?"gradient":t.frost?"frost":t.glass?"glass":t.soft?"soft":t.flat?"flat":t.outline||t.border?"outline":"solid"),d=(0,n.computed)(()=>{const f={bgl_pill:!t.icon||!!r.default||!!t.value,round:t.round,bgl_flatPill:u.value==="flat","bgl_pill-border":u.value==="outline","bgl_pill-frame":t.frame,bgl_glassPill:u.value==="glass",soft:u.value==="soft",frost:u.value==="frost",gradient:u.value==="gradient",pillLarge:s.value==="lg",pillSmall:s.value==="sm",m_pillLarge:c.value==="lg",m_pillMd:c.value==="md",m_pillSmall:c.value==="sm","bgl_pill-flush":t.flush};return f[i.value]=!0,f});return(f,m)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["bgl_pill",d.value]),style:(0,n.normalizeStyle)([{height:"var(--bgl-pill-height)"},(0,n.unref)(l)]),disabled:e.disabled},[(0,n.createElementVNode)("div",kS,[e.loading?((0,n.openBlock)(),(0,n.createElementBlock)("div",$S)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["px-025 flex gap-025 justify-content-center align-items-center",{"opacity-0":e.loading}])},[e.btn?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),(0,n.mergeProps)({key:0,class:"bgl_pill-btn -ms-025","icon-size":"0.8",round:""},e.btn),null,16)):(0,n.createCommentVNode)("",!0),e.dot?((0,n.openBlock)(),(0,n.createElementBlock)("span",ES)):(0,n.createCommentVNode)("",!0),e.icon?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:2,class:"line-height-0",icon:e.icon,style:{"font-size":"var(--bgl-pill-font-size)"}},null,8,["icon"])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(f.$slots,"default",{class:(0,n.normalizeClass)({uppercase:e.uppercase})},void 0,!0),(0,n.unref)(r).default?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:3,class:(0,n.normalizeClass)(["pillText inline",{uppercase:e.uppercase}])},(0,n.toDisplayString)(e.value),3)),e.iconEnd?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:4,class:"line-height-0",icon:e.iconEnd,style:{"font-size":"var(--bgl-pill-font-size)"}},null,8,["icon"])):(0,n.createCommentVNode)("",!0),e.btnEnd?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),(0,n.mergeProps)({key:5,class:"bgl_pill-btn -me-025","icon-size":"0.8",round:""},e.btnEnd),null,16)):(0,n.createCommentVNode)("",!0)],2)])],14,wS))}}),ho=be(CS,[["__scopeId","data-v-8d5aa2b7"]]);function xu(e){return(0,n.getCurrentScope)()?((0,n.onScopeDispose)(e),!0):!1}var Wa=typeof window<"u"&&typeof document<"u",sH=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,SS=e=>e!=null,xS=Object.prototype.toString,TS=e=>xS.call(e)==="[object Object]",Tf=()=>+Date.now(),Kt=()=>{},NS=BS();function BS(){var e,t;return Wa&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Tu(e,t){function r(...o){return new Promise((a,l)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(a).catch(l)})}return r}var DS=e=>e();function t0(e,t={}){let r,o,a=Kt;const l=c=>{clearTimeout(c),a(),a=Kt};let i;return c=>{const u=(0,n.toValue)(e),d=(0,n.toValue)(t.maxWait);return r&&l(r),u<=0||d!==void 0&&d<=0?(o&&(l(o),o=void 0),Promise.resolve(c())):new Promise((f,m)=>{a=t.rejectOnCancel?m:f,i=c,d&&!o&&(o=setTimeout(()=>{r&&l(r),o=void 0,f(i())},d)),r=setTimeout(()=>{o&&l(o),o=void 0,f(c())},u)})}}function AS(...e){let t=0,r,o=!0,a=Kt,l,i,s,c,u;!(0,n.isRef)(e[0])&&typeof e[0]=="object"?{delay:i,trailing:s=!0,leading:c=!0,rejectOnCancel:u=!1}=e[0]:[i,s=!0,c=!0,u=!1]=e;const d=()=>{r&&(clearTimeout(r),r=void 0,a(),a=Kt)};return m=>{const p=(0,n.toValue)(i),h=Date.now()-t,y=()=>l=m();return d(),p<=0?(t=Date.now(),y()):(h>p&&(c||!o)?(t=Date.now(),y()):s&&(l=new Promise((b,g)=>{a=u?g:b,r=setTimeout(()=>{t=Date.now(),o=!0,b(y()),d()},Math.max(0,p-h))})),!c&&!r&&(r=setTimeout(()=>o=!0,p)),o=!1,l)}}function Nf(e,t=!1,r="Timeout"){return new Promise((o,a)=>{setTimeout(t?()=>a(r):o,e)})}function aa(e){return Array.isArray(e)?e:[e]}function n0(e){const t=Object.create(null);return r=>t[r]||(t[r]=e(r))}var MS=/\B([A-Z])/g,cH=n0(e=>e.replace(MS,"-$1").toLowerCase()),LS=/-(\w)/g,uH=n0(e=>e.replace(LS,(t,r)=>r?r.toUpperCase():""));function PS(e){return e||(0,n.getCurrentInstance)()}function Wr(e,t=200,r={}){return Tu(t0(t,r),e)}function IS(e,t,r={}){const{eventFilter:o=DS,...a}=r;return(0,n.watch)(e,Tu(o,t),a)}function VS(e,t=!0,r){PS(r)?(0,n.onMounted)(e,r):t?e():(0,n.nextTick)(e)}function vc(e,t=!1){function r(f,{flush:m="sync",deep:p=!1,timeout:h,throwOnTimeout:y}={}){let b=null;const g=[new Promise(v=>{b=(0,n.watch)(e,_=>{f(_)!==t&&(b?b():(0,n.nextTick)(()=>b?.()),v(_))},{flush:m,deep:p,immediate:!0})})];return h!=null&&g.push(Nf(h,y).then(()=>(0,n.toValue)(e)).finally(()=>b?.())),Promise.race(g)}function o(f,m){if(!(0,n.isRef)(f))return r(_=>_===f,m);const{flush:p="sync",deep:h=!1,timeout:y,throwOnTimeout:b}=m??{};let g=null;const v=[new Promise(_=>{g=(0,n.watch)([e,f],([w,k])=>{t!==(w===k)&&(g?g():(0,n.nextTick)(()=>g?.()),_(w))},{flush:p,deep:h,immediate:!0})})];return y!=null&&v.push(Nf(y,b).then(()=>(0,n.toValue)(e)).finally(()=>(g?.(),(0,n.toValue)(e)))),Promise.race(v)}function a(f){return r(m=>!!m,f)}function l(f){return o(null,f)}function i(f){return o(void 0,f)}function s(f){return r(Number.isNaN,f)}function c(f,m){return r(p=>{const h=Array.from(p);return h.includes(f)||h.includes((0,n.toValue)(f))},m)}function u(f){return d(1,f)}function d(f=1,m){let p=-1;return r(()=>(p+=1,p>=f),m)}return Array.isArray((0,n.toValue)(e))?{toMatch:r,toContains:c,changed:u,changedTimes:d,get not(){return vc(e,!t)}}:{toMatch:r,toBe:o,toBeTruthy:a,toBeNull:l,toBeNaN:s,toBeUndefined:i,changed:u,changedTimes:d,get not(){return vc(e,!t)}}}function OS(e){return vc(e)}function RS(e,t,r={}){const{debounce:o=0,maxWait:a=void 0,...l}=r;return IS(e,t,{...l,eventFilter:t0(o,{maxWait:a})})}function FS(e,t,r){return(0,n.watch)(e,t,{...r,immediate:!0})}var Vo=Wa?window:void 0,dH=Wa?window.document:void 0,fH=Wa?window.navigator:void 0,mH=Wa?window.location:void 0;function Ut(e){var t;const r=(0,n.toValue)(e);return(t=r?.$el)!=null?t:r}function bo(...e){const t=[],r=()=>{t.forEach(s=>s()),t.length=0},o=(s,c,u,d)=>(s.addEventListener(c,u,d),()=>s.removeEventListener(c,u,d)),a=(0,n.computed)(()=>{const s=aa((0,n.toValue)(e[0])).filter(c=>c!=null);return s.every(c=>typeof c!="string")?s:void 0}),l=FS(()=>{var s,c;return[(c=(s=a.value)==null?void 0:s.map(u=>Ut(u)))!=null?c:[Vo].filter(u=>u!=null),aa((0,n.toValue)(a.value?e[1]:e[0])),aa((0,n.unref)(a.value?e[2]:e[1])),(0,n.toValue)(a.value?e[3]:e[2])]},([s,c,u,d])=>{if(r(),!s?.length||!c?.length||!u?.length)return;const f=TS(d)?{...d}:d;t.push(...s.flatMap(m=>c.flatMap(p=>u.map(h=>o(m,p,h,f)))))},{flush:"post"}),i=()=>{l(),r()};return xu(r),i}var Bf=!1;function zS(e,t,r={}){const{window:o=Vo,ignore:a=[],capture:l=!0,detectIframe:i=!1,controls:s=!1}=r;if(!o)return s?{stop:Kt,cancel:Kt,trigger:Kt}:Kt;if(NS&&!Bf){Bf=!0;const b={passive:!0};Array.from(o.document.body.children).forEach(g=>g.addEventListener("click",Kt,b)),o.document.documentElement.addEventListener("click",Kt,b)}let c=!0;const u=b=>(0,n.toValue)(a).some(g=>{if(typeof g=="string")return Array.from(o.document.querySelectorAll(g)).some(v=>v===b.target||b.composedPath().includes(v));{const v=Ut(g);return v&&(b.target===v||b.composedPath().includes(v))}});function d(b){const g=(0,n.toValue)(b);return g&&g.$.subTree.shapeFlag===16}function f(b,g){const v=(0,n.toValue)(b),_=v.$.subTree&&v.$.subTree.children;return _==null||!Array.isArray(_)?!1:_.some(w=>w.el===g.target||g.composedPath().includes(w.el))}const m=b=>{const g=Ut(e);if(b.target!=null&&!(!(g instanceof Element)&&d(e)&&f(e,b))&&!(!g||g===b.target||b.composedPath().includes(g))){if("detail"in b&&b.detail===0&&(c=!u(b)),!c){c=!0;return}t(b)}};let p=!1;const h=[bo(o,"click",b=>{p||(p=!0,setTimeout(()=>{p=!1},0),m(b))},{passive:!0,capture:l}),bo(o,"pointerdown",b=>{const g=Ut(e);c=!u(b)&&!!(g&&!b.composedPath().includes(g))},{passive:!0}),i&&bo(o,"blur",b=>{setTimeout(()=>{var g;const v=Ut(e);((g=o.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!v?.contains(o.document.activeElement)&&t(b)},0)},{passive:!0})].filter(Boolean),y=()=>h.forEach(b=>b());return s?{stop:y,cancel:()=>{c=!1},trigger:b=>{c=!0,m(b),c=!1}}:y}function US(){const e=(0,n.shallowRef)(!1),t=(0,n.getCurrentInstance)();return t&&(0,n.onMounted)(()=>{e.value=!0},t),e}function r0(e){const t=US();return(0,n.computed)(()=>(t.value,!!e()))}function o0(e,t,r={}){const{window:o=Vo,...a}=r;let l;const i=r0(()=>o&&"ResizeObserver"in o),s=()=>{l&&(l.disconnect(),l=void 0)},c=(0,n.watch)((0,n.computed)(()=>{const d=(0,n.toValue)(e);return Array.isArray(d)?d.map(f=>Ut(f)):[Ut(d)]}),d=>{if(s(),i.value&&o){l=new ResizeObserver(t);for(const f of d)f&&l.observe(f,a)}},{immediate:!0,flush:"post"}),u=()=>{s(),c()};return xu(u),{isSupported:i,stop:u}}function HS(e,t={width:0,height:0},r={}){const{window:o=Vo,box:a="content-box"}=r,l=(0,n.computed)(()=>{var f,m;return(m=(f=Ut(e))==null?void 0:f.namespaceURI)==null?void 0:m.includes("svg")}),i=(0,n.shallowRef)(t.width),s=(0,n.shallowRef)(t.height),{stop:c}=o0(e,([f])=>{const m=a==="border-box"?f.borderBoxSize:a==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(o&&l.value){const p=Ut(e);if(p){const h=p.getBoundingClientRect();i.value=h.width,s.value=h.height}}else if(m){const p=aa(m);i.value=p.reduce((h,{inlineSize:y})=>h+y,0),s.value=p.reduce((h,{blockSize:y})=>h+y,0)}else i.value=f.contentRect.width,s.value=f.contentRect.height},r);VS(()=>{const f=Ut(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,s.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=(0,n.watch)(()=>Ut(e),f=>{i.value=f?t.width:0,s.value=f?t.height:0});function d(){c(),u()}return{width:i,height:s,stop:d}}function a0(e,t,r={}){const{root:o,rootMargin:a="0px",threshold:l=0,window:i=Vo,immediate:s=!0}=r,c=r0(()=>i&&"IntersectionObserver"in i),u=(0,n.computed)(()=>aa((0,n.toValue)(e)).map(Ut).filter(SS));let d=Kt;const f=(0,n.shallowRef)(s),m=c.value?(0,n.watch)(()=>[u.value,Ut(o),f.value],([h,y])=>{if(d(),!f.value||!h.length)return;const b=new IntersectionObserver(t,{root:Ut(y),rootMargin:a,threshold:l});h.forEach(g=>g&&b.observe(g)),d=()=>{b.disconnect(),d=Kt}},{immediate:s,flush:"post"}):Kt,p=()=>{d(),m(),f.value=!1};return xu(p),{isSupported:c,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:p}}var WS=["mousemove","mousedown","resize","keydown","touchstart","wheel"],jS=6e4;function qS(e=jS,t={}){const{initialState:r=!1,listenForVisibilityChange:o=!0,events:a=WS,window:l=Vo,eventFilter:i=AS(50)}=t,s=(0,n.shallowRef)(r),c=(0,n.shallowRef)(Tf());let u;const d=()=>{s.value=!1,clearTimeout(u),u=setTimeout(()=>s.value=!0,e)},f=Tu(i,()=>{c.value=Tf(),d()});if(l){const m=l.document,p={passive:!0};for(const h of a)bo(l,h,f,p);o&&bo(m,"visibilitychange",()=>{m.hidden||f()},p),r||d()}return{idle:s,lastActive:c,reset:d}}var pH=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}];function GS(e,t){const{containerStyle:r,wrapperProps:o,scrollTo:a,calculateRange:l,currentList:i,containerRef:s}="itemHeight"in t?KS(t,e):XS(t,e);return{list:i,scrollTo:a,containerProps:{ref:s,onScroll:()=>{l()},style:r},wrapperProps:o}}function l0(e){const t=(0,n.shallowRef)(null),r=HS(t),o=(0,n.ref)([]),a=(0,n.shallowRef)(e);return{state:(0,n.ref)({start:0,end:10}),source:a,currentList:o,size:r,containerRef:t}}function i0(e,t,r){return o=>{if(typeof r=="number")return Math.ceil(o/r);const{start:a=0}=e.value;let l=0,i=0;for(let s=a;s<t.value.length;s++){const c=r(s);if(l+=c,i=s,l>o)break}return i-a}}function s0(e,t){return r=>{if(typeof t=="number")return Math.floor(r/t)+1;let o=0,a=0;for(let l=0;l<e.value.length;l++){const i=t(l);if(o+=i,o>=r){a=l;break}}return a+1}}function c0(e,t,r,o,{containerRef:a,state:l,currentList:i,source:s}){return()=>{const c=a.value;if(c){const u=r(e==="vertical"?c.scrollTop:c.scrollLeft),d=o(e==="vertical"?c.clientHeight:c.clientWidth),f=u-t,m=u+d+t;l.value={start:f<0?0:f,end:m>s.value.length?s.value.length:m},i.value=s.value.slice(l.value.start,l.value.end).map((p,h)=>({data:p,index:h+l.value.start}))}}}function u0(e,t){return r=>typeof e=="number"?r*e:t.value.slice(0,r).reduce((o,a,l)=>o+e(l),0)}function d0(e,t,r,o){(0,n.watch)([e.width,e.height,()=>(0,n.toValue)(t),r],()=>{o()})}function f0(e,t){return(0,n.computed)(()=>typeof e=="number"?t.value.length*e:t.value.reduce((r,o,a)=>r+e(a),0))}var YS={horizontal:"scrollLeft",vertical:"scrollTop"};function m0(e,t,r,o){return a=>{o.value&&(o.value[YS[e]]=r(a),t())}}function XS(e,t){const r=l0(t),{state:o,source:a,currentList:l,size:i,containerRef:s}=r,c={overflowX:"auto"},{itemWidth:u,overscan:d=5}=e,f=i0(o,a,u),m=c0("horizontal",d,s0(a,u),f,r),p=u0(u,a),h=(0,n.computed)(()=>p(o.value.start)),y=f0(u,a);return d0(i,t,s,m),{scrollTo:m0("horizontal",m,p,s),calculateRange:m,wrapperProps:(0,n.computed)(()=>({style:{height:"100%",width:`${y.value-h.value}px`,marginLeft:`${h.value}px`,display:"flex"}})),containerStyle:c,currentList:l,containerRef:s}}function KS(e,t){const r=l0(t),{state:o,source:a,currentList:l,size:i,containerRef:s}=r,c={overflowY:"auto"},{itemHeight:u,overscan:d=5}=e,f=i0(o,a,u),m=c0("vertical",d,s0(a,u),f,r),p=u0(u,a),h=(0,n.computed)(()=>p(o.value.start)),y=f0(u,a);return d0(i,t,s,m),{calculateRange:m,scrollTo:m0("vertical",m,p,s),containerStyle:c,wrapperProps:(0,n.computed)(()=>({style:{width:"100%",height:`${y.value-h.value}px`,marginTop:`${h.value}px`}})),currentList:l,containerRef:s}}var JS=["src"],ZS=["autoplay","muted","loop","controls","playsinline"],QS=["src","type"],e3=(0,n.defineComponent)({__name:"BglVideo",props:{src:{},autoplay:{type:[Boolean,String]},mute:{type:Boolean},aspectRatio:{},controls:{type:Boolean},loop:{type:Boolean},status:{},playsinline:{type:Boolean}},setup(e,{expose:t}){const r=e,o=(0,n.computed)(()=>r.src?.split(".").pop()?.split("?").shift()?.toLowerCase()??"mp4"),a=(0,n.ref)(),l=(0,n.computed)(()=>r.src?.includes("youtube.com/shorts/")??!1),i=(0,n.computed)(()=>l.value?"9/16":r.aspectRatio?.replace(":","/")??"16/9"),s=(0,n.ref)();function c(){s.value?.play()}function u(){s.value?.pause()}r.autoplay==="visible"&&a0(a,([{isIntersecting:m}])=>{m?c():u()},{threshold:.3}),(0,n.watch)(()=>r.status,m=>{m==="play"&&c(),m==="pause"&&u()}),t({play:c,pause:u});const d=(0,n.computed)(()=>{if(/youtube\.com|youtu\.be/.test(r.src??""))return"YouTube";if(/(?:player\.)?vimeo\.com/.test(r.src??""))return"Vimeo"}),f=(0,n.computed)(()=>{if(d.value==="YouTube"){let m="";r.src?.includes("youtube.com/shorts/")===!0?m=r.src.split("/shorts/")[1]?.split("?")[0]??"":m=r.src?.split(/v=|youtu\.be\//)[1]?.split("&")?.[0]??"";const p=new URLSearchParams({autoplay:r.autoplay===!0||r.autoplay==="visible"?"1":"0",controls:"0",showinfo:"0",modestbranding:"1"});return`https://www.youtube.com/embed/${m}?${p}`}if(d.value==="Vimeo"){const m=/player\.vimeo\.com\/video\/(\d+)/,p=/vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/)?(\d+)(?:$|\/|\?)/,h=r.src?.match(m)??null,y=r.src?.match(p)??null;return`https://player.vimeo.com/video/${h?.[1]??y?.[3]}`}return r.src});return(m,p)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"videoContainer",ref:a,class:(0,n.normalizeClass)(["bgl_vid",{vid_empty:!e.src,vid_short:l.value}])},[d.value?((0,n.openBlock)(),(0,n.createElementBlock)("iframe",{key:0,src:f.value,style:(0,n.normalizeStyle)({aspectRatio:i.value}),frameborder:"0",title:"Video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:""},null,12,JS)):e.src?((0,n.openBlock)(),(0,n.createElementBlock)("video",{key:1,ref_key:"video",ref:s,autoplay:e.autoplay===!0,muted:e.mute,loop:e.loop,style:(0,n.normalizeStyle)({aspectRatio:i.value}),controls:e.controls,playsinline:e.playsinline},[(0,n.createElementVNode)("source",{src:e.src,type:`video/${o.value}`},null,8,QS)],12,ZS)):(0,n.createCommentVNode)("",!0)],2))}}),Nu=be(e3,[["__scopeId","data-v-acc6c65e"]]),t3=(0,n.defineComponent)({__name:"CalendarPopover",props:{event:{},targetElement:{},position:{},show:{type:Boolean},hasEventContentSlot:{type:Boolean}},emits:["close","eventClick"],setup(e,{emit:t}){const r=e,o=t,{scrollY:a,scrollX:l,innerHeight:i,innerWidth:s}=Qa(),c=(0,n.ref)(),u=(0,n.computed)(()=>{if(r.position){let{top:p,left:h}=r.position;return p-=80,p=Math.max(a.value+10,Math.min(p,i.value+a.value-150-10)),h=Math.max(l.value+10,Math.min(h,s.value+l.value-400-10)),{top:p,left:h,width:400,height:150}}if(r.targetElement&&r.show){const p=r.targetElement.getBoundingClientRect();let h=p.top+a.value+p.height/2-150/2,y=p.left+l.value+p.width+10;return h=Math.max(a.value+10,Math.min(h,i.value+a.value-150-10)),y+400>s.value+l.value&&(y=p.left+l.value-400+p.width-10),y<l.value&&(y=p.right+l.value+10),{top:h,left:y,width:400,height:150}}return{top:0,left:0,width:400,height:150}});function d(){o("close")}return(f,m)=>{const p=(0,n.resolveDirective)("click-outside");return e.show&&e.event?(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(sr),{key:0,ref_key:"popoverRef",ref:c,thin:"",class:"custom-popover",style:(0,n.normalizeStyle)({top:`${u.value.top}px`,left:`${u.value.left}px`,maxWidth:`${u.value.width}px`})},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(f.$slots,"eventContent",{event:e.event,close:d},void 0,!0)]),_:3},8,["style"])),[[p,d]]):(0,n.createCommentVNode)("",!0)}}}),n3=be(t3,[["__scopeId","data-v-291fefea"]]),r3={key:0,class:"flex h-100p justify-content-center column gap-1 opacity-3"},o3=["data-date","data-today"],a3={class:"bg-white border line-height-12 radius-1 grid align-items-center px-05 py-025 txt-center"},l3={class:"txt18"},i3={class:"txt12"},s3={class:"line-height-12"},c3={class:"txt12 opacity-6"},u3={key:0,class:"ms-auto"},d3=["onClick"],f3={class:"agenda-event-time txt-center pt-1 txt14 opacity-6 bold relative"},m3={class:"flex space-between"},p3={class:"txt16 m-0 semi"},h3={class:"txt12 opacity-6"},g3={key:0,class:"txt12 opacity-6"},v3=(0,n.defineComponent)({__name:"AgendaView",props:{events:{},startDate:{}},emits:["eventClick","dateChange","openPopover"],setup(e,{emit:t}){const r=e,o=t,a=(0,n.useSlots)(),{t:l}=ot(),i=(0,n.ref)(null);function s(){try{return ir().global.locale.value}catch{return"en"}}function c(y){if(y<60)return`${y} min`;const b=Math.floor(y/60),g=y%60;return g?`${b}h ${g}m`:`${b}h`}const u=(0,n.computed)(()=>{const y=s(),b=new Date().toDateString(),g=[...r.events].sort((_,w)=>new Date(_.start_time).getTime()-new Date(w.start_time).getTime()),v=new Map;for(const _ of g){const w=new Date(_.start_time),k=w.toDateString();v.has(k)||v.set(k,{dateKey:k,date:w,dayNumber:w.toLocaleDateString(y,{day:"2-digit"}),monthShort:w.toLocaleDateString(y,{month:"short"}),weekdayLong:w.toLocaleDateString(y,{weekday:"long"}),isToday:k===b,events:[]});const S=Math.round((new Date(_.end_time).getTime()-new Date(_.start_time).getTime())/6e4);v.get(k).events.push({..._,durationMin:S})}return Array.from(v.values())}),d=(0,n.ref)(!1);function f(){if(!i.value)return;const y=i.value,b=y.querySelectorAll(".agenda-day-group"),g=y.getBoundingClientRect().top;let v=null,_=1/0;if(b.forEach(w=>{const k=Math.abs(w.getBoundingClientRect().top-g);k<_&&(_=k,v=w)}),v){const w=v.dataset.date;w&&o("dateChange",new Date(w))}}function m(y,b){if(!a.eventContent){o("eventClick",y);return}if(b){const g=b.currentTarget.getBoundingClientRect();o("openPopover",y,{top:g.top+window.scrollY+g.height/2,left:g.left+window.scrollX+g.width+10})}else o("openPopover",y)}function p(y){const b=new Date(y);return b.setHours(0,0,0,0),b.getTime()}function h(y,b="instant",g="nearest"){if(!i.value)return;const v=Array.from(i.value.querySelectorAll(".agenda-day-group"));if(!v.length)return;const _=p(y);let w=null,k=1/0;if(g==="forward")for(const S of v){const E=S.dataset.date;if(!E)continue;const C=p(new Date(E));C>=_&&C-_<k&&(k=C-_,w=S)}else if(g==="backward")for(const S of v){const E=S.dataset.date;if(!E)continue;const C=p(new Date(E));C<=_&&_-C<k&&(k=_-C,w=S)}if(!w)for(const S of v){const E=S.dataset.date;if(!E)continue;const C=Math.abs(p(new Date(E))-_);C<k&&(k=C,w=S)}w?.scrollIntoView({block:"start",behavior:b})}return(0,n.watch)(()=>r.startDate,(y,b)=>{const g=!b||p(y)>=p(b)?"forward":"backward";(0,n.nextTick)(()=>h(y,"smooth",g))}),(0,n.watchEffect)(()=>{if(d.value||!u.value.length)return;const y=new Date().getTime();u.value.some(b=>b.date.getTime()>=y-864e5)&&(d.value=!0,(0,n.nextTick)(()=>h(new Date,"instant","nearest")))}),(0,n.onMounted)(()=>{i.value?.addEventListener("scroll",f)}),(0,n.onUnmounted)(()=>{i.value?.removeEventListener("scroll",f)}),(y,b)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"containerRef",ref:i,class:"display-flex column h-100p overflow gap-0"},[u.value.length===0?((0,n.openBlock)(),(0,n.createElementBlock)("div",r3,[(0,n.createVNode)((0,n.unref)(_e),{icon:"calendar",size:"4",weight:"200"}),(0,n.createTextVNode)(" "+(0,n.toDisplayString)((0,n.unref)(l)("calendar.agenda.noEvents")),1)])):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(u.value,g=>((0,n.openBlock)(),(0,n.createElementBlock)("section",{key:g.dateKey,class:"mb-1 agenda-day-group","data-date":g.date.toISOString(),"data-today":g.isToday||void 0},[(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["sticky z-2 flex gap-05 p-1 m_p-05 mb-05",{"bg-primary-light":g.isToday,"bg-bg":!g.isToday}])},[(0,n.createElementVNode)("div",a3,[(0,n.createElementVNode)("p",l3,(0,n.toDisplayString)(g.dayNumber),1),(0,n.createElementVNode)("p",i3,(0,n.toDisplayString)(g.monthShort),1)]),(0,n.createElementVNode)("div",null,[(0,n.createElementVNode)("p",s3,(0,n.toDisplayString)(g.weekdayLong),1),(0,n.createElementVNode)("p",c3,(0,n.toDisplayString)((0,n.unref)(l)("calendar.agenda.eventsCount",g.events.length,{named:{n:g.events.length}})),1)]),g.isToday?((0,n.openBlock)(),(0,n.createElementBlock)("p",u3,(0,n.toDisplayString)((0,n.unref)(l)("calendar.today")),1)):(0,n.createCommentVNode)("",!0)],2),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(g.events,v=>((0,n.openBlock)(),(0,n.createElementBlock)("article",{key:v.id,class:"agenda-event-row grid gap-05 hover pe-1",onClick:(0,n.withModifiers)(_=>m(v,_),["stop"])},[(0,n.createElementVNode)("div",f3,(0,n.toDisplayString)((0,n.unref)(ft)(v.start_time,{format:"HH:mm"})),1),(0,n.createVNode)((0,n.unref)(sr),{class:"agenda-event-card overflow-hidden transition py-025 px-075 my-025",frame:"",style:(0,n.normalizeStyle)({"--event-color":v.color||"var(--bgl-primary)"})},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("div",m3,[(0,n.createElementVNode)("h3",p3,(0,n.toDisplayString)(v.title),1),(0,n.createElementVNode)("p",h3,(0,n.toDisplayString)(c(v.durationMin)),1)]),v.description?((0,n.openBlock)(),(0,n.createElementBlock)("p",g3,(0,n.toDisplayString)(v.description),1)):(0,n.createCommentVNode)("",!0)]),_:2},1032,["style"])],8,d3))),128))],8,o3))),128))],512))}}),y3=be(v3,[["__scopeId","data-v-9aafb2d8"]]),b3={class:"w-100p overflow-hidden m_overflow h-100p grid"},_3={class:"border-bottom me-1 txt-center p-05 dayGrid"},w3={class:"overflow h-100p pe-05"},k3={class:"time-column"},$3={class:"events-column"},E3=["onClick"],C3={class:"event-content"},S3={class:"white-space ellipsis-1"},x3={class:"event-time opacity-8"},T3={class:"color-primary txt-12 p-025"},jo=60,qo=60,N3=(0,n.defineComponent)({__name:"DayView",props:{events:{},startDate:{}},emits:["eventClick","eventCreate","openPopover"],setup(e,{emit:t}){const r=e,o=t,a=(0,n.useSlots)(),l={start:0,end:24},i=(0,n.ref)({isDragging:!1,start:null,end:null,startTime:null,endTime:null}),s=(0,n.ref)(0),c=(0,n.ref)(!1),u=(0,n.ref)(null),d=(0,n.computed)(()=>{const v=[];for(let _=l.start;_<l.end;_++)for(let w=0;w<60;w+=qo)v.push({hour:_,minute:w,time:`${_.toString().padStart(2,"0")}:${w.toString().padStart(2,"0")}`});return v}),f=(0,n.computed)(()=>r.events.filter(v=>new Date(v.start_time).toDateString()===r.startDate.toDateString()).map(v=>{const _=new Date(v.start_time),w=new Date(v.end_time),k=_.getHours()*60+_.getMinutes(),S=w.getHours()*60+w.getMinutes(),E=k/qo*jo,C=Math.max((S-k)/qo*jo,30);return{...v,top:E,height:C}}));function m(){const v=new Date;c.value=v.toDateString()===r.startDate.toDateString(),s.value=(v.getHours()*60+v.getMinutes())/qo*jo}function p(v){v.target.closest(".time-slot")&&(i.value.isDragging=!0,i.value.start={x:v.clientX,y:v.clientY},i.value.startTime=b(v.clientY),document.addEventListener("mousemove",h),document.addEventListener("mouseup",y))}function h(v){i.value.isDragging&&(i.value.end={x:v.clientX,y:v.clientY},i.value.endTime=b(v.clientY))}function y(){if(!i.value.isDragging||!i.value.startTime||!i.value.endTime)return;let v=new Date(i.value.startTime),_=new Date(i.value.endTime);_<v&&([v,_]=[_,v]),o("eventCreate",{start_time:v,end_time:_}),i.value={isDragging:!1,start:null,end:null,startTime:null,endTime:null},document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",y)}function b(v){const _=document.querySelector(".time-slots")?.getBoundingClientRect();if(!_)return new Date;const w=v-_.top,k=qo,S=w/jo,E=Math.floor(S*k),C=new Date(r.startDate);return C.setHours(Math.floor(E/60)),C.setMinutes(E%60),C.setSeconds(0),C.setMilliseconds(0),C}function g(v,_){if(!a.eventContent){o("eventClick",v);return}if(_){const w=_.currentTarget.getBoundingClientRect();o("openPopover",v,{top:w.top+window.scrollY+w.height/2,left:w.left+window.scrollX+w.width+10})}else o("openPopover",v)}return(0,n.onMounted)(()=>{document.addEventListener("mousedown",p),m(),u.value=setInterval(m,6e4)}),(0,n.onUnmounted)(()=>{document.removeEventListener("mousedown",p),document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",y),u.value&&clearInterval(u.value)}),(v,_)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",b3,[(0,n.createElementVNode)("div",_3,[_[0]||(_[0]=(0,n.createElementVNode)("div",null,null,-1)),(0,n.createElementVNode)("div",null,(0,n.toDisplayString)((0,n.unref)(ft)(e.startDate)),1)]),(0,n.createElementVNode)("div",w3,[(0,n.createElementVNode)("div",{class:"time-slots dayGrid border-end relative",onMousedown:p},[(0,n.createElementVNode)("div",k3,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,w=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:w.time,class:"time-slot txt-light txt-12 color-gray bg-gray-light border-start",style:(0,n.normalizeStyle)({height:`${jo}px`})},(0,n.toDisplayString)(w.time),5))),128))]),(0,n.createElementVNode)("div",$3,[c.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"absolute end w-100p z-2 flex pointer-events-none",style:(0,n.normalizeStyle)({top:`${s.value}px`})},[..._[1]||(_[1]=[(0,n.createElementVNode)("div",{class:"current-time-dot h-10px aspect-ratio-1 round bg-primary"},null,-1),(0,n.createElementVNode)("div",{class:"current-time-line w-100p bg-primary"},null,-1)])],4)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(f.value,w=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:w.id,class:"event absolute radius-05 overflow-hidden pointer transition z-1",style:(0,n.normalizeStyle)({top:`${w.top}px`,height:`${w.height}px`,backgroundColor:w.color||"var(--bgl-primary)"}),onClick:(0,n.withModifiers)(k=>g(w,k),["stop"])},[(0,n.createElementVNode)("div",C3,[(0,n.createElementVNode)("div",S3,(0,n.toDisplayString)(w.title),1),(0,n.createElementVNode)("div",x3,(0,n.toDisplayString)((0,n.unref)(ft)(new Date(w.start_time),{format:"HH:mm"}))+" - "+(0,n.toDisplayString)((0,n.unref)(ft)(new Date(w.end_time),{format:"HH:mm"})),1)])],12,E3))),128))]),i.value.isDragging&&i.value.start&&i.value.end?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"drag-preview absolute bg-primary-tint pointer-events-none z-1",style:(0,n.normalizeStyle)({top:`${Math.min(i.value.start.y,i.value.end.y)}px`,height:`${Math.abs(i.value.end.y-i.value.start.y)}px`,left:"10px",right:"10px"})},[(0,n.createElementVNode)("div",T3,(0,n.toDisplayString)(i.value.startTime?(0,n.unref)(ft)(i.value.startTime,{format:"HH:mm"}):"")+" - "+(0,n.toDisplayString)(i.value.endTime?(0,n.unref)(ft)(i.value.endTime,{format:"HH:mm"}):""),1)],4)):(0,n.createCommentVNode)("",!0)],32)]),_[2]||(_[2]=(0,n.createElementVNode)("div",{class:"border-bottom me-1"},null,-1))]))}}),B3=be(N3,[["__scopeId","data-v-f2670028"]]),D3={class:"month-view"},A3={class:"month-header"},M3={class:"month-grid"},L3={class:"day-number"},P3={class:"day-events"},I3={key:0,class:"event-dot"},V3=["onClick"],O3={class:"event-title"},R3={class:"event-time"},F3=(0,n.defineComponent)({__name:"MonthView",props:{events:{},startDate:{}},emits:["eventClick","openPopover"],setup(e,{emit:t}){const r=e,o=t,a=(0,n.useSlots)(),{isMobile:l}=Qa(),i=(0,n.computed)(()=>{let u="en";try{u=ir().global.locale.value}catch{}return Array.from({length:7},(d,f)=>new Date(2024,0,7+f).toLocaleDateString(u,{weekday:"short"}))}),s=(0,n.computed)(()=>{const u=r.startDate.getFullYear(),d=r.startDate.getMonth(),f=new Date(u,d,1),m=new Date(u,d+1,0).getDate(),p=f.getDay(),h=new Date().toDateString(),y=[],b=new Date(u,d,0).getDate();for(let v=p-1;v>=0;v--){const _=new Date(u,d-1,b-v);y.push({date:_,events:[],isToday:!1,isCurrentMonth:!1})}for(let v=1;v<=m;v++){const _=new Date(u,d,v),w=r.events.filter(k=>{const S=new Date(k.start_time);return S.getDate()===v&&S.getMonth()===d&&S.getFullYear()===u});y.push({date:_,events:w,isToday:_.toDateString()===h,isCurrentMonth:!0})}const g=42-y.length;for(let v=1;v<=g;v++){const _=new Date(u,d+1,v);y.push({date:_,events:[],isToday:!1,isCurrentMonth:!1})}return y});function c(u,d){if(!a.eventContent){o("eventClick",u);return}if(d){const f=d.currentTarget.getBoundingClientRect();o("openPopover",u,{top:f.top+window.scrollY+f.height/2,left:f.left+window.scrollX+f.width+10})}else o("openPopover",u)}return(u,d)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",D3,[(0,n.createElementVNode)("div",A3,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.value,f=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:f,class:"weekday"},(0,n.toDisplayString)(f),1))),128))]),(0,n.createElementVNode)("div",M3,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.value,f=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:f.date.toISOString(),class:(0,n.normalizeClass)(["day-cell",{"current-month":f.isCurrentMonth,today:f.isToday,"other-month":!f.isCurrentMonth}])},[(0,n.createElementVNode)("div",L3,(0,n.toDisplayString)((0,n.unref)(ft)(f.date,{format:"DD"})),1),(0,n.createElementVNode)("div",P3,[(0,n.unref)(l)?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[f.events.length>0?((0,n.openBlock)(),(0,n.createElementBlock)("div",I3)):(0,n.createCommentVNode)("",!0)],64)):((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:1},(0,n.renderList)(f.events,m=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:m.id,class:"event-item",style:(0,n.normalizeStyle)({backgroundColor:m.color||"var(--bgl-primary)"}),onClick:(0,n.withModifiers)(p=>c(m,p),["stop"])},[(0,n.createElementVNode)("div",O3,(0,n.toDisplayString)(m.title),1),(0,n.createElementVNode)("div",R3,(0,n.toDisplayString)((0,n.unref)(ft)(m.start_time,"HH:mm")),1)],12,V3))),128))])],2))),128))])]))}}),z3=be(F3,[["__scopeId","data-v-0abf6d19"]]),U3={class:"w-100p overflow-hidden m_overflow h-100p grid"},H3=["onMousedown"],W3=["onClick"],j3={class:"overflow-hidden color-white p-025 txt12 h-100p flex gap-1 flex-wrap"},q3={class:"white-space ellipsis-1"},G3={class:"txt10 opacity-8 user-select-none"},Y3={class:"color-primary txt-12 p-025"},vt=60,tn=60,sl=30,X3=(0,n.defineComponent)({__name:"WeekView",props:{events:{default:()=>[]},startDate:{default:()=>new Date},weekStart:{default:"Sunday"},availabilityMode:{type:Boolean,default:!1},availabilityEditable:{type:Boolean,default:!1},availabilitySlots:{default:()=>[]}},emits:["eventClick","eventCreate","openPopover","availabilityChange"],setup(e,{emit:t}){const r=e,o=t,a=(0,n.useSlots)(),l={start:0,end:24},i=(0,n.computed)(()=>!!a.eventCreate||Object.prototype.hasOwnProperty.call(o,"eventCreate")),s=(0,n.ref)({isDragging:!1,startDay:-1,endDay:-1,start:void 0,end:void 0,startTime:void 0,endTime:void 0}),c=(0,n.ref)([]),u=(0,n.ref)({isDragging:!1,mode:"add",dayIndex:-1,startMinute:0,currentMinute:0});(0,n.watch)(()=>r.availabilitySlots,G=>{c.value=G.map(N=>({start_time:new Date(N.start_time),end_time:new Date(N.end_time)}))},{immediate:!0});const d=(0,n.computed)(()=>{const G=[],N=new Date(r.startDate),H=r.weekStart==="Sunday"?0:1,U=N.getDay();N.setDate(N.getDate()-U+H),N.setHours(0,0,0,0);for(let I=0;I<7;I++){const j=new Date(N);j.setDate(N.getDate()+I),G.push(j)}return G});function f(G){return Math.round(G/sl)*sl}function m(G){return c.value.filter(N=>{const H=new Date(N.start_time);return H.getFullYear()===G.getFullYear()&&H.getMonth()===G.getMonth()&&H.getDate()===G.getDate()}).map(N=>{const H=new Date(N.start_time).getHours()*60+new Date(N.start_time).getMinutes(),U=new Date(N.end_time).getHours()*60+new Date(N.end_time).getMinutes();return{top:H/tn*vt,height:(U-H)/tn*vt,slot:N}})}function p(G){if(!u.value.isDragging||u.value.dayIndex!==G)return null;const N=Math.min(u.value.startMinute,u.value.currentMinute),H=Math.max(u.value.startMinute,u.value.currentMinute);return{top:N/tn*vt,height:(H-N)/tn*vt,mode:u.value.mode}}function h(G,N){return c.value.some(H=>{const U=new Date(H.start_time);if(U.getFullYear()!==G.getFullYear()||U.getMonth()!==G.getMonth()||U.getDate()!==G.getDate())return!1;const I=U.getHours()*60+U.getMinutes(),j=new Date(H.end_time).getHours()*60+new Date(H.end_time).getMinutes();return N>=I&&N<j})}function y(G,N){if(!r.availabilityEditable)return;G.preventDefault(),G.stopPropagation();const H=d.value[N],U=f(A(G.clientY));u.value={isDragging:!0,mode:h(H,U)?"remove":"add",dayIndex:N,startMinute:U,currentMinute:U+sl},document.addEventListener("mousemove",b),document.addEventListener("mouseup",g)}function b(G){if(!u.value.isDragging)return;const N=f(A(G.clientY));u.value.currentMinute=N}function g(){if(!u.value.isDragging)return;const{dayIndex:G,startMinute:N,currentMinute:H,mode:U}=u.value,I=d.value[G],j=Math.min(N,H),te=Math.max(N,H);if(te-j<sl){u.value.isDragging=!1,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",g);return}const ae=new Date(I);ae.setHours(Math.floor(j/60),j%60,0,0);const we=new Date(I);if(we.setHours(Math.floor(te/60),te%60,0,0),U==="add"){const J=c.value.filter(ve=>{const ce=new Date(ve.start_time);return ce.getFullYear()!==I.getFullYear()||ce.getMonth()!==I.getMonth()||ce.getDate()!==I.getDate()}),ue=c.value.filter(ve=>{const ce=new Date(ve.start_time);return ce.getFullYear()===I.getFullYear()&&ce.getMonth()===I.getMonth()&&ce.getDate()===I.getDate()});ue.push({start_time:ae,end_time:we}),ue.sort((ve,ce)=>new Date(ve.start_time).getTime()-new Date(ce.start_time).getTime());const pe=[];for(const ve of ue)if(pe.length===0)pe.push({start_time:new Date(ve.start_time),end_time:new Date(ve.end_time)});else{const ce=pe[pe.length-1];new Date(ve.start_time).getTime()<=new Date(ce.end_time).getTime()?ce.end_time=new Date(Math.max(new Date(ce.end_time).getTime(),new Date(ve.end_time).getTime())):pe.push({start_time:new Date(ve.start_time),end_time:new Date(ve.end_time)})}c.value=[...J,...pe]}else{const J=[];for(const ue of c.value){const pe=new Date(ue.start_time);if(pe.getFullYear()!==I.getFullYear()||pe.getMonth()!==I.getMonth()||pe.getDate()!==I.getDate()){J.push(ue);continue}const ve=new Date(ue.start_time).getTime(),ce=new Date(ue.end_time).getTime(),ne=ae.getTime(),fe=we.getTime();if(ce<=ne||ve>=fe){J.push(ue);continue}ve<ne&&J.push({start_time:new Date(ve),end_time:new Date(ne)}),ce>fe&&J.push({start_time:new Date(fe),end_time:new Date(ce)})}c.value=J}o("availabilityChange",c.value),u.value.isDragging=!1,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",g)}const v=(0,n.ref)(0),_=(0,n.ref)(!1),w=(0,n.ref)(),k=(0,n.ref)(),S=(0,n.ref)(),E=(0,n.ref)([]),C=(0,n.ref)(),M=(0,n.ref)();function A(G){if(!C.value)return 0;const N=G-C.value.getBoundingClientRect().top;return Math.max(0,Math.min(N/vt*tn,1440))}const z=(0,n.computed)(()=>{const G=[];for(let N=l.start;N<l.end;N++)for(let H=0;H<60;H+=tn)G.push({hour:N,minute:H,time:`${N.toString().padStart(2,"0")}:${H.toString().padStart(2,"0")}`});return G}),D=(0,n.computed)(()=>{if(!s.value.isDragging||!s.value.startTime||!s.value.endTime)return null;const G=s.value.startTime.getHours()*60+s.value.startTime.getMinutes(),N=s.value.endTime.getHours()*60+s.value.endTime.getMinutes();return{top:G/tn*vt,height:Math.max((N-G)/tn*vt,30)}}),R=(0,n.computed)(()=>{const G=[],N={};return r.events.forEach(H=>{const U=new Date(H.start_time),I=new Date(H.end_time),j=d.value.findIndex(pe=>pe.getDate()===U.getDate()&&pe.getMonth()===U.getMonth()&&pe.getFullYear()===U.getFullYear());if(j===-1)return;const te=U.getHours()*60+U.getMinutes(),ae=I.getHours()*60+I.getMinutes(),we=te/tn*vt,J=Math.max((ae-te)/tn*vt,30),ue={...H,top:we,height:J,left:0,width:100,overlappingEvents:0,position:0};N[j]||(N[j]=[]),N[j].push(ue)}),Object.entries(N).forEach(([H,U])=>{U.sort((te,ae)=>new Date(te.start_time).getTime()-new Date(ae.start_time).getTime());const I=[];let j=[];U.forEach(te=>{j.length===0?j=[te]:j.some(ae=>{const we=new Date(te.start_time).getTime(),J=new Date(te.end_time).getTime(),ue=new Date(ae.start_time).getTime(),pe=new Date(ae.end_time).getTime();return!(J<=ue||we>=pe)})?j.push(te):(j.length>0&&I.push([...j]),j=[te])}),j.length>0&&I.push(j),I.forEach(te=>{if(te.length>1){const we=(100-2*(te.length-1))/te.length;te.forEach((J,ue)=>{J.overlappingEvents=te.length,J.position=ue,J.width=we,J.left=ue*(we+2)})}G.push(...te)})}),G});function $(G,N){if(!i.value||!S.value||!C.value)return;let H=-1;for(let te=0;te<E.value.length;te++){const ae=E.value[te];if(!ae)continue;const we=ae.getBoundingClientRect();if(G.clientX>=we.left&&G.clientX<=we.right){H=te;break}}if(H===-1)return;const U=E.value[H].getBoundingClientRect(),I=C.value.getBoundingClientRect();s.value.isDragging=!0,s.value.startDay=H,s.value.endDay=H,s.value.start={x:U.left-I.left,y:G.clientY-I.top},s.value.end={x:U.right-I.left,y:G.clientY-I.top};const j=B(G.clientY,N);s.value.startTime=j,document.addEventListener("mousemove",V),document.addEventListener("mouseup",P)}function V(G){if(!i.value||!s.value.isDragging||!s.value.start||!E.value.length||!S.value||!C.value)return;let N=-1;for(let H=0;H<E.value.length;H++){const U=E.value[H];if(!U)continue;const I=U.getBoundingClientRect();if(G.clientX>=I.left&&G.clientX<=I.right){N=H;break}}if(N!==-1&&(s.value.endDay=N,s.value.end={x:s.value.start.x,y:G.clientY-C.value.getBoundingClientRect().top},N>=0&&N<d.value.length)){const H=new Date(d.value[s.value.startDay]);H.setHours(0,0,0,0);const U=B(G.clientY,H);s.value.endTime=U}}function P(){if(!i.value||!s.value.isDragging||!s.value.startTime||!s.value.endTime)return;let G=new Date(s.value.startTime),N=new Date(s.value.endTime);N<G&&([G,N]=[N,G]),o("eventCreate",{start_time:G,end_time:N}),s.value={isDragging:!1,startDay:-1,endDay:-1,start:void 0,end:void 0,startTime:void 0,endTime:void 0},document.removeEventListener("mousemove",V),document.removeEventListener("mouseup",P)}function B(G,N){if(!C.value)return new Date(N);const H=G-C.value.getBoundingClientRect().top,U=tn,I=H/vt,j=Math.floor(I*U),te=new Date(N);te.setHours(Math.floor(j/60));const ae=Math.round(j%60/5)*5;return te.setMinutes(ae),te.setSeconds(0),te.setMilliseconds(0),te}function O(){const G=new Date;_.value=d.value.some(N=>N.getDate()===G.getDate()&&N.getMonth()===G.getMonth()&&N.getFullYear()===G.getFullYear()),v.value=(G.getHours()*60+G.getMinutes())/tn*vt}function K(G,N){if(!a.eventContent){o("eventClick",G);return}if(N){const H=N.currentTarget.getBoundingClientRect();o("openPopover",G,{top:H.top+window.scrollY+H.height/2,left:H.left+window.scrollX+H.width+10})}else o("openPopover",G)}function Y(G,N){for(;E.value.length<=N;)E.value.push(null);G?E.value[N]=G instanceof Element?G:G.$el:E.value[N]=null}function re(G){M.value&&(M.value.scrollTop=G*vt)}return(0,n.onMounted)(()=>{O(),w.value=setInterval(O,6e4),(0,n.nextTick)(()=>{re(6)})}),(0,n.onUnmounted)(()=>{document.removeEventListener("mousemove",V),document.removeEventListener("mouseup",P),document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",g),w.value&&clearInterval(w.value)}),(G,N)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",U3,[(0,n.createElementVNode)("div",{ref_key:"calendarGrid",ref:S,class:"weekGrid border-bottom me-1"},[N[1]||(N[1]=(0,n.createElementVNode)("div",null,null,-1)),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,H=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:H.toISOString(),class:"day-header p-05 txt-center m_txt12"},[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(ft)(H,{format:"DDD"}))+" ",1),(0,n.createElementVNode)("span",{class:(0,n.normalizeClass)(["txt-12 round p-025",{"color-gray":H.toDateString()!==new Date().toDateString(),"bg-primary color-white":H.toDateString()===new Date().toDateString()}])},(0,n.toDisplayString)((0,n.unref)(ft)(H,{format:"DD"})),3)]))),128))],512),(0,n.createElementVNode)("div",{ref_key:"scrollableContainer",ref:M,class:"overflow h-100p pe-05"},[(0,n.createElementVNode)("div",{ref_key:"dayColumnsContainer",ref:C,class:"weekGrid border-end relative"},[(0,n.createElementVNode)("div",{ref_key:"timeSlotsContainer",ref:k},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(z.value,H=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:H.time,class:"txt-light txt-12 color-gray flex justify-content-center bg-gray-light border-start",style:(0,n.normalizeStyle)({height:`${vt}px`})},(0,n.toDisplayString)(H.time),5))),128))],512),_.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"absolute end w-100p z-2 flex pointer-events-none ps-4-5",style:(0,n.normalizeStyle)({top:`${v.value}px`})},[...N[2]||(N[2]=[(0,n.createElementVNode)("div",{class:"current-time-dot h-10px aspect-ratio-1 round bg-primary"},null,-1),(0,n.createElementVNode)("div",{class:"current-time-line w-100p bg-primary"},null,-1)])],4)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,(H,U)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:H.toISOString(),ref_for:!0,ref:I=>Y(I,U),class:"day-column top bottom border-start relative",onMousedown:I=>r.availabilityEditable?y(I,U):$(I,H)},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(z.value,I=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:`line-${I.time}`},[(0,n.createElementVNode)("div",{class:"hour-line absolute start end pointer-events-none",style:(0,n.normalizeStyle)({top:`${I.hour*vt}px`})},null,4),(0,n.createElementVNode)("div",{class:"sub-hour-line absolute start end pointer-events-none",style:(0,n.normalizeStyle)({top:`${I.hour*vt+vt/3}px`})},null,4),(0,n.createElementVNode)("div",{class:"sub-hour-line absolute start end pointer-events-none",style:(0,n.normalizeStyle)({top:`${I.hour*vt+vt*2/3}px`})},null,4)],64))),128)),r.availabilityMode?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(m(H),(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:`avail-${j}`,class:(0,n.normalizeClass)(["availability-block absolute start end",{"availability-editable":r.availabilityEditable}]),style:(0,n.normalizeStyle)({top:`${I.top}px`,height:`${I.height}px`})},null,6))),128)),p(U)?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:(0,n.normalizeClass)(["availability-preview absolute start end pointer-events-none",{"avail-remove":p(U).mode==="remove"}]),style:(0,n.normalizeStyle)({top:`${p(U).top}px`,height:`${p(U).height}px`})},null,6)):(0,n.createCommentVNode)("",!0)],64)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(R.value.filter(I=>new Date(I.start_time).toDateString()===H.toDateString()),I=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:I.id,class:"event absolute radius-05 overflow-hidden pointer transition z-1 opacity-8 border",style:(0,n.normalizeStyle)({top:`${I.top}px`,height:`${I.height}px`,left:`${I.left}%`,width:`${I.width}%`,backgroundColor:I.color||"var(--bgl-primary)"}),onMousedown:N[0]||(N[0]=(0,n.withModifiers)(()=>{},["stop"])),onClick:(0,n.withModifiers)(j=>K(I,j),["stop"])},[(0,n.createElementVNode)("div",j3,[(0,n.createElementVNode)("div",q3,(0,n.toDisplayString)(I.title),1),(0,n.createElementVNode)("div",G3,(0,n.toDisplayString)((0,n.unref)(ft)(I.start_time,{format:"HH:mm"}))+" - "+(0,n.toDisplayString)((0,n.unref)(ft)(I.end_time,{format:"HH:mm"})),1)])],44,W3))),128))],40,H3))),128)),i.value&&s.value.isDragging&&s.value.start&&s.value.end&&D.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,class:"drag-preview absolute bg-primary-tint pointer-events-none overflow-hidden opacity-7 z-1",style:(0,n.normalizeStyle)({left:`${s.value.start.x}px`,top:`${D.value.top}px`,width:`${E.value[s.value.startDay]?.offsetWidth||100}px`,height:`${D.value.height}px`})},[(0,n.createElementVNode)("div",Y3,(0,n.toDisplayString)(s.value.startTime?(0,n.unref)(ft)(s.value.startTime,{format:"HH:mm"}):"")+" - "+(0,n.toDisplayString)(s.value.endTime?(0,n.unref)(ft)(s.value.endTime,{format:"HH:mm"}):""),1)],4)):(0,n.createCommentVNode)("",!0)],512)],512),N[3]||(N[3]=(0,n.createElementVNode)("div",{class:"border-bottom me-1"},null,-1))]))}}),K3=be(X3,[["__scopeId","data-v-0850fe4c"]]),J3={class:"calendar"},Z3={class:"flex m_block p-1"},Q3={class:"txt-light my-0 m_pb-05"},ex={class:"ms-auto flex gap-025 m_flex-wrap m_me-auto m_w-100p"},tx={class:"flex gap-025"},nx=(0,n.defineComponent)({__name:"Index",props:{events:{default:()=>[]},startDate:{default:()=>new Date},view:{default:"Week"},weekStart:{default:"Sunday"},availabilityMode:{type:Boolean,default:!1},availabilityEditable:{type:Boolean,default:!1},availabilitySlots:{default:()=>[]},viewSwitcher:{default:"dropdown"}},emits:["eventClick","eventCreate","eventUpdate","eventDelete","dateChange","viewChange","ready","availabilityChange"],setup(e,{expose:t,emit:r}){const o=e,a=r,{t:l}=ot(),i=(0,n.ref)(new Date(o.startDate)),s=(0,n.ref)(o.view),c=(0,n.ref)(),u=(0,n.ref)(!1),d=(0,n.ref)(),f={Week:K3,Month:z3,Day:B3,Agenda:y3},m=(0,n.computed)(()=>Object.keys(f).map(M=>({label:l(`calendar.views.${M.toLowerCase()}`),value:M}))),p={Week:"weeks",Month:"months",Day:"days",Agenda:"days"},h=(0,n.computed)(()=>{const M=new Date(i.value);let A=new Date(i.value);const z=o.weekStart==="Sunday"?0:1;switch(s.value){case"Week":M.setDate(M.getDate()-M.getDay()+z),A.setDate(M.getDate()+6);break;case"Month":case"Agenda":M.setDate(-6),A=new Date(M.getFullYear(),M.getMonth()+2,7);break;case"Day":A.setDate(A.getDate()+1);break;default:break}return{start:M,end:A}}),y=(0,n.computed)(()=>({visibleDateRange:h.value,currentDate:i.value,currentView:s.value}));function b(M){i.value=new Date(M),a("dateChange",y.value)}function g(M){a("dateChange",{visibleDateRange:h.value,currentDate:M,currentView:s.value})}function v(M){s.value=M,a("viewChange",y.value)}function _(M){a("eventClick",M)}function w(M){a("eventCreate",M)}function k(M){a("eventUpdate",M)}function S(M){a("eventDelete",M)}function E(M,A){c.value=M,d.value=A,u.value=!0}function C(){u.value=!1,c.value=void 0,d.value=void 0}return t({visibleDateRange:h,currentView:s,currentDate:i,openPopover:E,closePopover:C}),(0,n.onMounted)(()=>{a("ready",y.value)}),(M,A)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",J3,[(0,n.createElementVNode)("div",Z3,[(0,n.createElementVNode)("h3",Q3,[(0,n.createElementVNode)("b",null,(0,n.toDisplayString)((0,n.unref)(ft)(i.value,"MMMM")),1),(0,n.createTextVNode)(" "+(0,n.toDisplayString)((0,n.unref)(ft)(i.value,"YYYY")),1)]),(0,n.createElementVNode)("div",ex,[e.viewSwitcher==="tabs"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Wi),{key:0,size:"sm","model-value":s.value,tabs:m.value,group:"calendar-view","onUpdate:modelValue":A[0]||(A[0]=z=>v(z)),style:{"--bgl_tabs-border-radius":"calc(var(--bgl-btn-border-radius) / 2)"},class:"txt12 m_mb-05 m_w-100p","align-txt":"center"},null,8,["model-value","tabs"])):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(At),{key:1,thin:"",value:s.value,iconEnd:"keyboard_arrow_down",color:"gray"},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(f,(z,D)=>(0,n.createVNode)((0,n.unref)(Ln),{key:D,thin:"",title:(0,n.unref)(l)(`calendar.views.${D.toLowerCase()}`),onClick:R=>v(D)},null,8,["title","onClick"])),64))]),_:1},8,["value"])),(0,n.createElementVNode)("div",tx,[(0,n.createVNode)((0,n.unref)(oe),{icon:"calendar",size:"sm",class:"txt12",color:"gray",value:(0,n.unref)(l)("calendar.today"),onClick:A[1]||(A[1]=z=>b(new Date))},null,8,["value"]),(0,n.createVNode)((0,n.unref)(oe),{icon:"chevron_left",color:"gray",size:"sm",class:"",disabled:s.value==="Agenda",onClick:A[2]||(A[2]=z=>b((0,n.unref)(hn)(i.value,{[p[s.value]]:-1})))},null,8,["disabled"]),(0,n.createVNode)((0,n.unref)(oe),{icon:"chevron_right",color:"gray",size:"sm",class:"",disabled:s.value==="Agenda",onClick:A[3]||(A[3]=z=>b((0,n.unref)(hn)(i.value,{[p[s.value]]:1})))},null,8,["disabled"])])])]),((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(f[s.value]),{events:e.events,"start-date":i.value,"week-start":e.weekStart,"availability-mode":o.availabilityMode,"availability-editable":o.availabilityEditable,"availability-slots":o.availabilitySlots,onEventClick:_,onEventCreate:w,onEventUpdate:k,onEventDelete:S,onDateChange:A[4]||(A[4]=z=>s.value==="Agenda"?g(z):b(z)),onOpenPopover:E,onAvailabilityChange:A[5]||(A[5]=z=>a("availabilityChange",z))},{eventContent:(0,n.withCtx)(({event:z,close:D})=>[(0,n.renderSlot)(M.$slots,"eventContent",{event:z,close:D},void 0,!0)]),_:3},40,["events","start-date","week-start","availability-mode","availability-editable","availability-slots"])),(0,n.createVNode)(n3,{event:c.value,position:d.value,show:u.value,"has-event-content-slot":!!M.$slots.eventContent,onClose:C,onEventClick:_},{eventContent:(0,n.withCtx)(({event:z,close:D})=>[(0,n.renderSlot)(M.$slots,"eventContent",{event:z,close:D},void 0,!0)]),_:3},8,["event","position","show","has-event-content-slot"])]))}}),rx=be(nx,[["__scopeId","data-v-bb62872a"]]),ox=new Set(["div","span","p"]),ax=new Set(["img","iframe"]);function p0(e){const{mode:t="form",getFormData:r,onUpdateModelValue:o,includeUnset:a=!1}=e;function l(u,d=0){if(u==null)return"";if(typeof u!="object")return String(u);if(Array.isArray(u))return u.map(h=>l(h,d+1)).join(", ");const f=d>0?" ".repeat(d):"",m=" ".repeat(d+1),p=Object.entries(u);return p.length===0?"{}":d>0?`{
9
+ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[on.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[on.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function xo(e,...t){return ki(sw[e],...t)}function ka(e){if(!Ve(e)||un(e))return e;for(const t in e)if(sn(e,t))if(!t.includes("."))Ve(e[t])&&ka(e[t]);else{const r=t.split("."),o=r.length-1;let a=e,l=!1;for(let i=0;i<o;i++){if(r[i]==="__proto__")throw new Error(`unsafe key: ${r[i]}`);if(r[i]in a||(a[r[i]]=Ye()),!Ve(a[r[i]])){process.env.NODE_ENV!=="production"&&(xo(on.IGNORE_OBJ_FLATTEN,{key:r[i]}),void 0),l=!0;break}a=a[r[i]]}if(l||(un(a)?xh.includes(r[o])||delete e[t]:(a[r[o]]=e[t],delete e[t])),!un(a)){const i=a[r[o]];Ve(i)&&ka(i)}}return e}function $u(e,t){const{messages:r,__i18n:o,messageResolver:a,flatJson:l}=t,i=Ie(r)?r:rt(o)?Ye():{[e]:Ye()};if(rt(o)&&o.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:u}=s;c?(i[c]=i[c]||Ye(),Cl(u,i[c])):Cl(u,i)}else ke(s)&&Cl(JSON.parse(s),i)}),a==null&&l)for(const s in i)sn(i,s)&&ka(i[s]);return i}function Hh(e){return e.type}function Wh(e,t,r){let o=Ve(t.messages)?t.messages:Ye();"__i18nGlobal"in r&&(o=$u(e.locale.value,{messages:o,__i18n:r.__i18nGlobal}));const a=Object.keys(o);if(a.length&&a.forEach(l=>{e.mergeLocaleMessage(l,o[l])}),Ve(t.datetimeFormats)){const l=Object.keys(t.datetimeFormats);l.length&&l.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(Ve(t.numberFormats)){const l=Object.keys(t.numberFormats);l.length&&l.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}function pf(e){return(0,n.createVNode)(n.Text,null,e,0)}function yo(){const e="currentInstance";return e in n?n[e]:n.getCurrentInstance()}var hf="__INTLIFY_META__",gf=()=>[],cw=()=>!1,vf=0;function yf(e){return((t,r,o,a)=>e(r,o,yo()||void 0,a))}var uw=()=>{const e=yo();let t=null;return e&&(t=Hh(e)[hf])?{[hf]:t}:null};function Ul(e={}){const{__root:t,__injectWithOption:r}=e,o=t===void 0,a=e.flatJson,l=kn?n.ref:n.shallowRef;let i=Fe(e.inheritLocale)?e.inheritLocale:!0;const s=l(t&&i?t.locale.value:ke(e.locale)?e.locale:wa),c=l(t&&i?t.fallbackLocale.value:ke(e.fallbackLocale)||rt(e.fallbackLocale)||Ie(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=l($u(s.value,e)),d=l(Ie(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),f=l(Ie(e.numberFormats)?e.numberFormats:{[s.value]:{}});let m=t?t.missingWarn:Fe(e.missingWarn)||Co(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:Fe(e.fallbackWarn)||Co(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:Fe(e.fallbackRoot)?e.fallbackRoot:!0,y=!!e.fallbackFormat,b=Qe(e.missing)?e.missing:null,g=Qe(e.missing)?yf(e.missing):null,v=Qe(e.postTranslation)?e.postTranslation:null,_=t?t.warnHtmlMessage:Fe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const k=t?t.modifiers:Ie(e.modifiers)?e.modifiers:{};let S=e.pluralRules||t&&t.pluralRules,E;E=(()=>{o&&of(null);const se={version:aw,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:k,pluralRules:S,missing:g===null?void 0:g,missingWarn:m,fallbackWarn:p,fallbackFormat:y,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:_,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};se.datetimeFormats=d.value,se.numberFormats=f.value,se.__datetimeFormatters=Ie(E)?E.__datetimeFormatters:void 0,se.__numberFormatters=Ie(E)?E.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(se.__v_emitter=Ie(E)?E.__v_emitter:void 0);const me=V1(se);return o&&of(me),me})(),Wo(E,s.value,c.value);function M(){return[s.value,c.value,u.value,d.value,f.value]}const A=(0,n.computed)({get:()=>s.value,set:se=>{E.locale=se,s.value=se}}),z=(0,n.computed)({get:()=>c.value,set:se=>{E.fallbackLocale=se,c.value=se,Wo(E,s.value,se)}}),D=(0,n.computed)(()=>u.value),R=(0,n.computed)(()=>d.value),$=(0,n.computed)(()=>f.value);function V(){return Qe(v)?v:null}function P(se){v=se,E.postTranslation=se}function B(){return b}function O(se){se!==null&&(g=yf(se)),b=se,E.missing=g}function K(se,me){return se!=="translate"||!me.resolvedMessage}const Y=(se,me,$e,Ae,ze,ut)=>{M();let tt;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&rf(uw()),o||(E.fallbackContext=t?I1():void 0),tt=se(E)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&rf(null),o||(E.fallbackContext=void 0)}if($e!=="translate exists"&&mt(tt)&&tt===-1||$e==="translate exists"&&!tt){const[It,xr]=me();if(process.env.NODE_ENV!=="production"&&t&&ke(It)&&K($e,xr)&&(h&&(Ci(p,It)||Mh(m,It))&&(xo(on.FALLBACK_TO_ROOT,{key:It,type:$e}),void 0),process.env.NODE_ENV!=="production")){const{__v_emitter:rl}=E;rl&&h&&rl.emit("fallback",{type:$e,key:It,to:"global",groupId:`${$e}:${It}`})}return t&&h?Ae(t):ze(It)}else{if(ut(tt))return tt;throw Dt(Je.UNEXPECTED_RETURN_TYPE)}};function re(...se){return Y(me=>Reflect.apply(mf,null,[me,...se]),()=>sc(...se),"translate",me=>Reflect.apply(me.t,me,[...se]),me=>me,me=>ke(me))}function G(...se){const[me,$e,Ae]=se;if(Ae&&!Ve(Ae))throw Dt(Je.INVALID_ARGUMENT);return re(me,$e,pt({resolvedMessage:!0},Ae||{}))}function N(...se){return Y(me=>Reflect.apply(sf,null,[me,...se]),()=>lc(...se),"datetime format",me=>Reflect.apply(me.d,me,[...se]),()=>"",me=>ke(me)||rt(me))}function H(...se){return Y(me=>Reflect.apply(uf,null,[me,...se]),()=>ic(...se),"number format",me=>Reflect.apply(me.n,me,[...se]),()=>"",me=>ke(me)||rt(me))}function U(se){return se.map(me=>ke(me)||mt(me)||Fe(me)?pf(String(me)):me)}const j={normalize:U,interpolate:se=>se,type:"vnode"};function te(...se){return Y(me=>{let $e;const Ae=me;try{Ae.processor=j,$e=Reflect.apply(mf,null,[Ae,...se])}finally{Ae.processor=null}return $e},()=>sc(...se),"translate",me=>me[uc](...se),me=>[pf(me)],me=>rt(me))}function ae(...se){return Y(me=>Reflect.apply(uf,null,[me,...se]),()=>ic(...se),"number format",me=>me[fc](...se),gf,me=>ke(me)||rt(me))}function we(...se){return Y(me=>Reflect.apply(sf,null,[me,...se]),()=>lc(...se),"datetime format",me=>me[dc](...se),gf,me=>ke(me)||rt(me))}function J(se){S=se,E.pluralRules=S}function ue(se,me){return Y(()=>{if(!se)return!1;const $e=ke(me)?me:s.value,Ae=ke(me)?[$e]:ac(E,c.value,$e);for(let ze=0;ze<Ae.length;ze++){const ut=ce(Ae[ze]);let tt=E.messageResolver(ut,se);if(tt===null&&(tt=ut[se]),un(tt)||rn(tt)||ke(tt))return!0}return!1},()=>[se],"translate exists",$e=>Reflect.apply($e.te,$e,[se,me]),cw,$e=>Fe($e))}function pe(se){let me=null;const $e=ac(E,c.value,s.value);for(let Ae=0;Ae<$e.length;Ae++){const ze=u.value[$e[Ae]]||{},ut=E.messageResolver(ze,se);if(ut!=null){me=ut;break}}return me}function ve(se){const me=pe(se);return me??(t?t.tm(se)||{}:{})}function ce(se){return u.value[se]||{}}function ne(se,me){if(a){const $e={[se]:me};for(const Ae in $e)sn($e,Ae)&&ka($e[Ae]);me=$e[se]}u.value[se]=me,E.messages=u.value}function fe(se,me){u.value[se]=u.value[se]||{};const $e={[se]:me};if(a)for(const Ae in $e)sn($e,Ae)&&ka($e[Ae]);me=$e[se],Cl(me,u.value[se]),E.messages=u.value}function F(se){return d.value[se]||{}}function W(se,me){d.value[se]=me,E.datetimeFormats=d.value,cf(E,se,me)}function ie(se,me){d.value[se]=pt(d.value[se]||{},me),E.datetimeFormats=d.value,cf(E,se,me)}function he(se){return f.value[se]||{}}function Be(se,me){f.value[se]=me,E.numberFormats=f.value,df(E,se,me)}function Xe(se,me){f.value[se]=pt(f.value[se]||{},me),E.numberFormats=f.value,df(E,se,me)}vf++,t&&kn&&((0,n.watch)(t.locale,se=>{i&&(s.value=se,E.locale=se,Wo(E,s.value,c.value))}),(0,n.watch)(t.fallbackLocale,se=>{i&&(c.value=se,E.fallbackLocale=se,Wo(E,s.value,c.value))}));const Pe={id:vf,locale:A,fallbackLocale:z,get inheritLocale(){return i},set inheritLocale(se){i=se,se&&t&&(s.value=t.locale.value,c.value=t.fallbackLocale.value,Wo(E,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:D,get modifiers(){return k},get pluralRules(){return S||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(se){m=se,E.missingWarn=m},get fallbackWarn(){return p},set fallbackWarn(se){p=se,E.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(se){h=se},get fallbackFormat(){return y},set fallbackFormat(se){y=se,E.fallbackFormat=y},get warnHtmlMessage(){return _},set warnHtmlMessage(se){_=se,E.warnHtmlMessage=se},get escapeParameter(){return w},set escapeParameter(se){w=se,E.escapeParameter=se},t:re,getLocaleMessage:ce,setLocaleMessage:ne,mergeLocaleMessage:fe,getPostTranslationHandler:V,setPostTranslationHandler:P,getMissingHandler:B,setMissingHandler:O,[zh]:J};return Pe.datetimeFormats=R,Pe.numberFormats=$,Pe.rt=G,Pe.te=ue,Pe.tm=ve,Pe.d=N,Pe.n=H,Pe.getDateTimeFormat=F,Pe.setDateTimeFormat=W,Pe.mergeDateTimeFormat=ie,Pe.getNumberFormat=he,Pe.setNumberFormat=Be,Pe.mergeNumberFormat=Xe,Pe[Uh]=r,Pe[uc]=te,Pe[dc]=we,Pe[fc]=ae,process.env.NODE_ENV!=="production"&&(Pe[or]=se=>{E.__v_emitter=se},Pe[Ur]=()=>{E.__v_emitter=void 0}),Pe}var jh="vue-i18n: composer properties",cs={"vue-devtools-plugin-vue-i18n":"Vue I18n DevTools","vue-i18n-resource-inspector":"Vue I18n DevTools","vue-i18n-timeline":"Vue I18n"},dw={"vue-i18n-resource-inspector":"Search for scopes ..."},fw={"vue-i18n-timeline":16764185},mc;async function mw(e,t){return new Promise((r,o)=>{try{ow({id:"vue-devtools-plugin-vue-i18n",label:cs["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[jh],app:e},a=>{mc=a,a.on.visitComponentTree(({componentInstance:i,treeNode:s})=>{pw(i,s,t)}),a.on.inspectComponent(({componentInstance:i,instanceData:s})=>{i.__VUE_I18N__&&s&&(t.mode==="legacy"?i.__VUE_I18N__!==t.global.__composer&&bf(s,i.__VUE_I18N__):bf(s,i.__VUE_I18N__))}),a.addInspector({id:"vue-i18n-resource-inspector",label:cs["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:dw["vue-i18n-resource-inspector"]}),a.on.getInspectorTree(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&bw(i,t)});const l=new Map;a.on.getInspectorState(async i=>{if(i.app===e&&i.inspectorId==="vue-i18n-resource-inspector")if(a.unhighlightElement(),ww(i,t),i.nodeId==="global"){if(!l.has(i.app)){const[s]=await a.getComponentInstances(i.app);l.set(i.app,s)}a.highlightElement(l.get(i.app))}else{const s=_w(i.nodeId,t);s&&a.highlightElement(s)}}),a.on.editInspectorState(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&$w(i,t)}),a.addTimelineLayer({id:"vue-i18n-timeline",label:cs["vue-i18n-timeline"],color:fw["vue-i18n-timeline"]}),r(!0)})}catch{o(!1)}})}function qh(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function pw(e,t,r){const o=r.mode==="composition"?r.global:r.global.__composer;if(e&&e.__VUE_I18N__&&e.__VUE_I18N__!==o){const a={label:`i18n (${qh(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(a)}}function bf(e,t){const r=jh;e.state.push({type:r,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:r,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:r,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:r,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:r,key:"messages",editable:!1,value:Eu(t.messages.value)}),e.state.push({type:r,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:r,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Eu(e){const t={};return Object.keys(e).forEach(r=>{const o=e[r];Qe(o)&&"source"in o?t[r]=yw(o):un(o)&&o.loc&&o.loc.source?t[r]=o.loc.source:Ve(o)?t[r]=Eu(o):t[r]=o}),t}var hw={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function gw(e){return e.replace(/[<>"&]/g,vw)}function vw(e){return hw[e]||e}function yw(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${gw(e.source)}")`:"(?)"}`}}}function bw(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const r=t.mode==="composition"?t.global:t.global.__composer;for(const[o,a]of t.__instances){const l=t.mode==="composition"?a:a.__composer;r!==l&&e.rootNodes.push({id:l.id.toString(),label:`${qh(o)} Scope`})}}function _w(e,t){let r=null;if(e!=="global"){for(const[o,a]of t.__instances.entries())if(a.id.toString()===e){r=o;break}}return r}function Gh(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const r=Array.from(t.__instances.values()).find(o=>o.id.toString()===e);return r?t.mode==="composition"?r:r.__composer:null}}function ww(e,t){const r=Gh(e.nodeId,t);return r&&(e.state=kw(r)),null}function kw(e){const t={},r="Locale related info";t[r]=[{type:r,key:"locale",editable:!0,value:e.locale.value},{type:r,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:r,key:"availableLocales",editable:!1,value:e.availableLocales},{type:r,key:"inheritLocale",editable:!0,value:e.inheritLocale}];const o="Locale messages info";t[o]=[{type:o,key:"messages",editable:!1,value:Eu(e.messages.value)}];{const a="Datetime formats info";t[a]=[{type:a,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];const l="Datetime formats info";t[l]=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}]}return t}function Hr(e,t){if(mc){let r;t&&"groupId"in t&&(r=t.groupId,delete t.groupId),mc.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:r,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function $w(e,t){const r=Gh(e.nodeId,t);if(r){const[o]=e.path;o==="locale"&&ke(e.state.value)?r.locale.value=e.state.value:o==="fallbackLocale"&&(ke(e.state.value)||rt(e.state.value)||Ve(e.state.value))?r.fallbackLocale.value=e.state.value:o==="inheritLocale"&&Fe(e.state.value)&&(r.inheritLocale=e.state.value)}}function Ew(e){const t=ke(e.locale)?e.locale:wa,r=ke(e.fallbackLocale)||rt(e.fallbackLocale)||Ie(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Qe(e.missing)?e.missing:void 0,a=Fe(e.silentTranslationWarn)||Co(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,l=Fe(e.silentFallbackWarn)||Co(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=Fe(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,c=Ie(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,d=Qe(e.postTranslation)?e.postTranslation:void 0,f=ke(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,p=Fe(e.sync)?e.sync:!0;let h=e.messages;if(Ie(e.sharedMessages)){const k=e.sharedMessages;h=Object.keys(k).reduce((S,E)=>(pt(S[E]||(S[E]={}),k[E]),S),h||{})}const{__i18n:y,__root:b,__injectWithOption:g}=e,v=e.datetimeFormats,_=e.numberFormats,w=e.flatJson;return{locale:t,fallbackLocale:r,messages:h,flatJson:w,datetimeFormats:v,numberFormats:_,missing:o,missingWarn:a,fallbackWarn:l,fallbackRoot:i,fallbackFormat:s,modifiers:c,pluralRules:u,postTranslation:d,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:p,__i18n:y,__root:b,__injectWithOption:g}}function pc(e={}){const t=Ul(Ew(e)),{__extender:r}=e,o={id:t.id,get locale(){return t.locale.value},set locale(a){t.locale.value=a},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(a){t.fallbackLocale.value=a},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(a){t.setMissingHandler(a)},get silentTranslationWarn(){return Fe(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(a){t.missingWarn=Fe(a)?!a:a},get silentFallbackWarn(){return Fe(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(a){t.fallbackWarn=Fe(a)?!a:a},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(a){t.fallbackFormat=a},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(a){t.setPostTranslationHandler(a)},get sync(){return t.inheritLocale},set sync(a){t.inheritLocale=a},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){t.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(a){t.escapeParameter=a},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...a){return Reflect.apply(t.t,t,[...a])},rt(...a){return Reflect.apply(t.rt,t,[...a])},te(a,l){return t.te(a,l)},tm(a){return t.tm(a)},getLocaleMessage(a){return t.getLocaleMessage(a)},setLocaleMessage(a,l){t.setLocaleMessage(a,l)},mergeLocaleMessage(a,l){t.mergeLocaleMessage(a,l)},d(...a){return Reflect.apply(t.d,t,[...a])},getDateTimeFormat(a){return t.getDateTimeFormat(a)},setDateTimeFormat(a,l){t.setDateTimeFormat(a,l)},mergeDateTimeFormat(a,l){t.mergeDateTimeFormat(a,l)},n(...a){return Reflect.apply(t.n,t,[...a])},getNumberFormat(a){return t.getNumberFormat(a)},setNumberFormat(a,l){t.setNumberFormat(a,l)},mergeNumberFormat(a,l){t.mergeNumberFormat(a,l)}};return o.__extender=r,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=a=>{const l=t;l[or]&&l[or](a)},o.__disableEmitter=()=>{const a=t;a[Ur]&&a[Ur]()}),o}function Cw(e,t,r){return{beforeCreate(){const o=yo();if(!o)throw Dt(Je.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const l=a.i18n;if(a.__i18n&&(l.__i18n=a.__i18n),l.__root=t,this===this.$root)this.$i18n=_f(e,l);else{l.__injectWithOption=!0,l.__extender=r.__vueI18nExtend,this.$i18n=pc(l);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=_f(e,a);else{this.$i18n=pc({__i18n:a.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Wh(t,a,a),this.$t=(...l)=>this.$i18n.t(...l),this.$rt=(...l)=>this.$i18n.rt(...l),this.$te=(l,i)=>this.$i18n.te(l,i),this.$d=(...l)=>this.$i18n.d(...l),this.$n=(...l)=>this.$i18n.n(...l),this.$tm=l=>this.$i18n.tm(l),r.__setInstance(o,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$i18n){const o=yo();if(!o)return;const a=this.$i18n;o.__VUE_I18N__=a.__composer;const l=this.__v_emitter=Ei();a.__enableEmitter&&a.__enableEmitter(l),l.on("*",Hr)}},unmounted(){const o=yo();if(!o)throw Dt(Je.UNEXPECTED_ERROR);const a=this.$i18n;process.env.NODE_ENV!=="production"&&o.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Hr),delete this.__v_emitter),this.$i18n&&(a.__disableEmitter&&a.__disableEmitter(),delete o.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),r.__deleteInstance(o),delete this.$i18n}}}function _f(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[zh](t.pluralizationRules||e.pluralizationRules);const r=$u(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(o=>e.mergeLocaleMessage(o,r[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}var Cu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Sw({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===n.Fragment?o.children:[o]],[]):t.reduce((r,o)=>{const a=e[o];return a&&(r[o]=a()),r},Ye())}function Yh(){return n.Fragment}var wf=(0,n.defineComponent)({name:"i18n-t",props:pt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>mt(e)||!isNaN(e)}},Cu),setup(e,t){const{slots:r,attrs:o}=t,a=e.i18n||Su({useScope:e.scope,__useComponent:!0});return()=>{const l=()=>{const c=Object.keys(r).filter(f=>f[0]!=="_"),u=Ye();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=ke(e.plural)?+e.plural:e.plural);const d=Sw(t,c);return a[uc](e.keypath,d,u)},i=pt(Ye(),o),s=ke(e.tag)||Ve(e.tag)?e.tag:Yh();return Ve(s)?(0,n.h)(s,i,{default:l}):(0,n.h)(s,i,l())}}});function xw(e){return rt(e)&&!ke(e[0])}function Xh(e,t,r,o){const{slots:a,attrs:l}=t;return()=>{const i=()=>{const u={part:!0};let d=Ye();e.locale&&(u.locale=e.locale),ke(e.format)?u.key=e.format:Ve(e.format)&&(ke(e.format.key)&&(u.key=e.format.key),d=Object.keys(e.format).reduce((p,h)=>r.includes(h)?pt(Ye(),p,{[h]:e.format[h]}):p,Ye()));const f=o(e.value,u,d);let m=[u.key];return rt(f)?m=f.map((p,h)=>{const y=a[p.type],b=y?y({[p.type]:p.value,index:h,parts:f}):[p.value];return xw(b)&&(b[0].key=`${p.type}-${h}`),b}):ke(f)&&(m=[f]),m},s=pt(Ye(),l),c=ke(e.tag)||Ve(e.tag)?e.tag:Yh();return Ve(c)?(0,n.h)(c,s,{default:i}):(0,n.h)(c,s,i())}}var kf=(0,n.defineComponent)({name:"i18n-n",props:pt({value:{type:Number,required:!0},format:{type:[String,Object]}},Cu),setup(e,t){const r=e.i18n||Su({useScope:e.scope,__useComponent:!0});return Xh(e,t,Vh,(...o)=>r[fc](...o))}});function Tw(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const o=r.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function Nw(e){const t=i=>{process.env.NODE_ENV!=="production"&&hu(xo(on.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));const{instance:s,value:c}=i;if(!s||!s.$)throw Dt(Je.UNEXPECTED_ERROR);const u=Tw(e,s.$),d=$f(c);return[Reflect.apply(u.t,u,[...Ef(d)]),u]};return{created:(i,s)=>{const[c,u]=t(s);kn&&(i.__i18nWatcher=(0,n.watch)(u.locale,()=>{s.instance&&s.instance.$forceUpdate()})),i.__composer=u,i.textContent=c},unmounted:i=>{kn&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:s})=>{if(i.__composer){const c=i.__composer,u=$f(s);i.textContent=Reflect.apply(c.t,c,[...Ef(u)])}},getSSRProps:i=>{const[s]=t(i);return{textContent:s}}}}function $f(e){if(ke(e))return{path:e};if(Ie(e)){if(!("path"in e))throw Dt(Je.REQUIRED_VALUE,"path");return e}else throw Dt(Je.INVALID_VALUE)}function Ef(e){const{path:t,locale:r,args:o,choice:a,plural:l}=e,i={},s=o||{};return ke(r)&&(i.locale=r),mt(a)&&(i.plural=a),mt(l)&&(i.plural=l),[t,s,i]}function Bw(e,t,...r){const o=Ie(r[0])?r[0]:{};(!Fe(o.globalInstall)||o.globalInstall)&&([wf.name,"I18nT"].forEach(a=>e.component(a,wf)),[kf.name,"I18nN"].forEach(a=>e.component(a,kf)),[xf.name,"I18nD"].forEach(a=>e.component(a,xf))),e.directive("t",Nw(t))}var Dw=Sn("global-vue-i18n");function Aw(e={}){const t=__VUE_I18N_LEGACY_API__&&Fe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__;process.env.NODE_ENV!=="production"&&t&&hu(xo(on.DEPRECATE_LEGACY_MODE));const r=Fe(e.globalInjection)?e.globalInjection:!0,o=new Map,[a,l]=Mw(e,t),i=Sn(process.env.NODE_ENV!=="production"?"vue-i18n":"");function s(f){return o.get(f)||null}function c(f,m){o.set(f,m)}function u(f){o.delete(f)}const d={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...m){if(process.env.NODE_ENV!=="production"&&(f.__VUE_I18N__=d),f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,d),Ie(m[0])){const y=m[0];d.__composerExtend=y.__composerExtend,d.__vueI18nExtend=y.__vueI18nExtend}let p=null;!t&&r&&(p=Fw(f,d.global)),__VUE_I18N_FULL_INSTALL__&&Bw(f,d,...m),__VUE_I18N_LEGACY_API__&&t&&f.mixin(Cw(l,l.__composer,d));const h=f.unmount;if(f.unmount=()=>{p&&p(),d.dispose(),h()},process.env.NODE_ENV!=="production"){if(!await mw(f,d))throw Dt(Je.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const y=Ei();if(t){const b=l;b.__enableEmitter&&b.__enableEmitter(y)}else{const b=l;b[or]&&b[or](y)}y.on("*",Hr)}},get global(){return l},dispose(){a.stop()},__instances:o,__getInstance:s,__setInstance:c,__deleteInstance:u};return d}function Su(e={}){const t=yo();if(t==null)throw Dt(Je.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Dt(Je.NOT_INSTALLED);const r=Lw(t),o=Iw(r),a=Hh(t),l=Pw(e,a);if(l==="global")return Wh(o,e,a),o;if(l==="parent"){let c=Cf(r,t,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&(xo(on.NOT_FOUND_PARENT_SCOPE),void 0),c=o),c}if(l==="isolated"){if(r.mode!=="composition")throw Dt(Je.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const c=r,u=pt({},e);u.__root=Cf(r,t)||o;const d=Ul(u);c.__composerExtend&&(d[po]=c.__composerExtend(d));let f=null;if(process.env.NODE_ENV!=="production"){f=Ei();const m=d;m[or]&&m[or](f),f.on("*",Hr)}return(0,n.getCurrentScope)()&&(0,n.onScopeDispose)(()=>{if(process.env.NODE_ENV!=="production"){f&&f.off("*",Hr);const p=d;p[Ur]&&p[Ur]()}const m=d[po];m&&(m(),delete d[po])}),d}const i=r;let s=i.__getInstance(t);if(s==null){const c=pt({},e);"__i18n"in a&&(c.__i18n=a.__i18n),o&&(c.__root=o),s=Ul(c),i.__composerExtend&&(s[po]=i.__composerExtend(s)),Ow(i,t,s),i.__setInstance(t,s)}else process.env.NODE_ENV!=="production"&&l==="local"&&(xo(on.DUPLICATE_USE_I18N_CALLING),void 0);return s}function Mw(e,t){const r=(0,n.effectScope)(),o=__VUE_I18N_LEGACY_API__&&t?r.run(()=>pc(e)):r.run(()=>Ul(e));if(o==null)throw Dt(Je.UNEXPECTED_ERROR);return[r,o]}function Lw(e){const t=(0,n.inject)(e.isCE?Dw:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Dt(e.isCE?Je.NOT_INSTALLED_WITH_PROVIDE:Je.UNEXPECTED_ERROR);return t}function Pw(e,t){return $i(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Iw(e){return e.mode==="composition"?e.global:e.global.__composer}function Cf(e,t,r=!1){let o=null;const a=t.root;let l=Vw(t,r);for(;l!=null;){const i=e;if(e.mode==="composition")o=i.__getInstance(l);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(l);s!=null&&(o=s.__composer,r&&o&&!o[Uh]&&(o=null))}if(o!=null||a===l)break;l=l.parent}return o}function Vw(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Ow(e,t,r){let o=null;(0,n.onMounted)(()=>{if(process.env.NODE_ENV!=="production"){t.__VUE_I18N__=r,o=Ei();const a=r;a[or]&&a[or](o),o.on("*",Hr)}},t),(0,n.onUnmounted)(()=>{const a=r;process.env.NODE_ENV!=="production"&&(o&&o.off("*",Hr),a[Ur]&&a[Ur](),delete t.__VUE_I18N__),e.__deleteInstance(t);const l=a[po];l&&(l(),delete a[po])},t)}var Rw=["locale","fallbackLocale","availableLocales"],Sf=["t","rt","d","n","tm","te"];function Fw(e,t){const r=Object.create(null);return Rw.forEach(a=>{const l=Object.getOwnPropertyDescriptor(t,a);if(!l)throw Dt(Je.UNEXPECTED_ERROR);const i=(0,n.isRef)(l.value)?{get(){return l.value.value},set(s){l.value.value=s}}:{get(){return l.get&&l.get()}};Object.defineProperty(r,a,i)}),e.config.globalProperties.$i18n=r,Sf.forEach(a=>{const l=Object.getOwnPropertyDescriptor(t,a);if(!l||!l.value)throw Dt(Je.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,l)}),()=>{delete e.config.globalProperties.$i18n,Sf.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}var xf=(0,n.defineComponent)({name:"i18n-d",props:pt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Cu),setup(e,t){const r=e.i18n||Su({useScope:e.scope,__useComponent:!0});return Xh(e,t,Ih,(...o)=>r[dc](...o))}});lw();A1(f1);M1(T1);L1(ac);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Lr();e.__INTLIFY__=!0,m1(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const zw={title:"Confirm",message:"Are you sure you want to continue?",confirm:"Confirm",cancel:"Cancel"},Uw={upload:"Upload",uploading:"Uploading {count} file{plural}...",noFile:"No file selected",dropPlaceholder:"Drag and Drop files here or click to upload",delete:"Delete",replace:"Replace",download:"Download"},Hw={of:"of",prev:"Previous",next:"Next",perPage:"Per page"},Ww={required:"This field is required",invalidEmail:"Please enter a valid email address",invalidUrl:"Please enter a valid URL",minLength:"Must be at least {min} characters",maxLength:"Must be no more than {max} characters",minValue:"Must be at least {min}",maxValue:"Must be no more than {max}",pattern:"Invalid format",passwordStrength:"Password strength"},jw={veryWeak:"Very Weak",weak:"Weak",fair:"Fair",good:"Good",strong:"Strong"},qw={placeholder:"Select",search:"Search",yes:"Yes",no:"No"},Gw={loadDefault:"Load Default {label}"},Yw={item:"Item"},Xw={loading:"Loading..."},Kw={success:"Success",error:"Error",warning:"Warning",info:"Information"},Jw={filter:"Filter",noActiveFilters:"No active filters",connectors:{and:"And",or:"Or"},operators:{eq:"Equals",ne:"Not equals",gt:"Greater than",ge:"Greater or equal",lt:"Less than",le:"Less or equal",co:"Contains",sw:"Starts with",ew:"Ends with",pr:"Present",in:"In list",nin:"Not in list"},placeholders:{selectField:"Select field",selectOption:"Select option",selectDate:"Select date",enterValue:"Value"},buttons:{addCondition:"Add condition",clearAll:"Clear all",save:"Save"}},Zw={previous:"Previous",next:"Next",complete:"Complete",step:"Step {current} of {total}"},Qw={placeholder:"Enter address"},e2={close:"Close",cancel:"Cancel",importData:"Import Data",changeFile:"Change File",selectSheet:"Select Sheet",hasHeaders:"Mark this if file has a header row",sourceKeyField:"Source Key Field (from this file)",relatedKeyField:"Related Key Field (from related file)",selectSourceValue:"Select source value",sourceValue:"Source value",selectTargetValue:"Select target value",targetValue:"Target value",selectColumn:"Select column..."},t2={year:"year",month:"month",week:"week",day:"day",hour:"hour",minute:"minute",second:"second",ago:"ago",in:"in",justNow:"Just now"},n2={save:"Save",cancel:"Cancel",delete:"Delete",validationError:"Please fix the validation errors before submitting",errorOccurred:"An error occurred"},r2={phoneNumber:"Phone Number",invalidPhone:"Please enter a valid phone number"},o2={invalidEmail:"Please enter a valid email address",invalidDomain:"This email domain appears to be invalid",disposableEmail:"Please use a non-disposable email address",didYouMean:"did you mean {suggestion}?",validating:"Validating email..."},a2={invalidFormat:"Invalid date format"},l2={wrapText:"Wrap Text",selectAll:"Select All",clearAll:"Clear All"},i2={openFile:"Open File"},s2={placeholder:"Enter color"},c2={deleteBlockConfirm:"Are you sure you want to delete this section?",saving:"Saving...",error:"Error",save:"Save",saved:"Saved",title:"Title",slug:"Slug",slugPlaceholder:"my-page",pageSettings:"Page Settings",deletePage:"Delete Page",deletePageConfirm:"Deleting this page cannot be undone.",newPage:"New Page",createPage:"Create Page",addNewBlock:"Add New Block",searchBlock:"Search block",page:"Page",pageStructure:"Page Structure",clickToEdit:"Click on section to edit",addNewBlockHere:"Click here to add a",newBlock:"new block",adding:"Adding",removeSection:"Remove Section",closeEditor:"Close Editor (ESC)",blockNotEditable:"This block's content comes from a data source",blockNotEditableDesc:"and cannot be edited here.",dataSourceHint:"Some content in this block may come from a data source. To change it, edit the data directly.",screenTooSmall:"The screen is too small for this editor. Try reducing zoom or using a larger screen.",cancel:"Cancel",publish:"Publish",unpublish:"Unpublish",discard:"Discard",selectItemPreview:"Select item for preview",language:"Language",defaultLanguage:"Default",setAsDefault:"Set as default",removeLanguage:"Remove language",languageCode:"he / en / fr",removeLanguageConfirm:'Remove language "{locale}"?',seoTitle:"SEO Title",seoDescription:"SEO Description",ogImageUrl:"OG Image URL",showGrid:"Show Grid",hideGrid:"Hide Grid",search:"Search...",lastSaved:"Last Saved",saveNow:"Save Now",publishDestination:"Choose publish destination",publishAll:"Publish all",lastPublished:"Last published",published:"Published",notPublished:"Not published yet",production:"Production",publishFailed:"Publish failed"},u2={loadError:"Loading failed",newItemTitle:"New item — {label}",createSubmit:"Create",editTitle:"Edit",saveSubmit:"Save",importTitle:"Import JSON — {label}",importSubmit:"Import",importJsonLabel:"JSON content",importJsonHint:"Array of objects [ {...}, {...} ] or a single object",importSummary:"{imported} imported · {failed} failed",deleteItemTitle:"Delete item",deleteItemMessage:"Delete this item?",deleteConfirm:"Delete",batchDeleteTitle:"Batch delete",batchDeleteMessage:"Delete {count} items?",batchDeleteSummary:"{deleted} deleted · {failed} failed",batchUpdateTitle:"Batch update — {count} items",updateAllSubmit:"Update all",batchUpdateSummary:"Updated · {failed} failed",selectedCount:"{count} selected",updateBtn:"Update",deleteBtn:"Delete",searchPlaceholder:"Search...",refreshTooltip:"Refresh",importTooltip:"Import JSON",newItemBtn:"New item",deleteTooltip:"Delete",reorderTooltip:"Reorder",reorderSaving:"Saving order..."},d2={selectCollection:"Select a collection from the list",fieldName:"Name",fieldStore:"Store",fieldStoreHint:"e.g.: default",fieldCollection:"Collection",fieldCollectionHint:"e.g.: my_collection",fieldDescription:"Description",createTitle:"Create new Datastore",createSubmit:"Create",editTitle:"Edit {name}",saveSubmit:"Save",addBtn:"Add Datastore",empty:"No Datastores yet",deleteConfirm:'Delete "{name}"?'},f2={content:"Content",blox:"Blox",whatsapp:"WhatsApp",newsletter:"Newsletter",agent:"Agents",users:"Users",tenants:"Organizations"},m2={title:"Users",notConfigured:"User management interface is not configured",notConfiguredHint:"Pass userApi to createAuthAdmin() to enable this screen.",team:"Team",filterByRole:"Filter by role",invite:"Invite",pendingInvitations:"Pending invitations",pending:"Pending",resend:"Resend",delete:"Delete",activeUsers:"Active users",active:"Active",edit:"Edit",remove:"Remove",noUsers:"No users yet",inviteFirst:"Invite the first one",inviteTitle:"Invite user",firstName:"First name",lastName:"Last name",email:"Email",role:"Role",message:"Message",inviteSent:"Invitation sent again",inviteError:"Error sending invitation",deleteInviteConfirm:"Delete the invitation?",deleteInviteError:"Error deleting invitation",removeUserConfirm:"Remove {email}?"},p2={title:"Forms",refresh:"Refresh",newForm:"New Form",createForm:"Create Form",noForms:"No forms yet",noFormsDesc:"Create your first form to get started",active:"Active",inactive:"Inactive",submissionsOnly:"Submissions only",noDefinition:"No form definition - view submissions",fieldCount:"{n} fields",createdAt:"Created {date}",editor:{newForm:"New Form",builder:"Builder",submissions:"Submissions",edit:"Edit",preview:"Preview",save:"Save",create:"Create",formName:"Form Name *",formNamePlaceholder:"Enter form name",description:"Description",descriptionPlaceholder:"Optional description",active:"Active",deleteForm:"Delete Form",deleteConfirm:"Are you sure you want to delete this form?",submit:"Submit"},submissions:{title:"Submissions",exportCsv:"Export CSV",statusPlaceholder:"Status",noSubmissions:"No submissions found",count:"No submissions | 1 submission | {n} submissions",date:"Date",status:"Status",statusAll:"All",statusSaved:"Saved",statusDraft:"Draft",statusProcessed:"Processed",statusAbandoned:"Abandoned",statusError:"Error",statusSpam:"Spam"},builder:{noFields:"No fields yet",noFieldsDesc:"Click + to add your first field",noFieldsDefined:"No fields defined",selectField:"Select a field to edit its settings",tooSmall:"Window too small",tooSmallDesc:"Expand the window to at least 1000px to edit the form"},fieldSettings:{headingText:"Heading Text",noDividerSettings:"No settings for divider",label:"Label",fieldKey:"Field Key",placeholder:"Placeholder",helpText:"Help Text",required:"Required",options:"Options",addOption:"Add Option",validation:"Validation",minLength:"Min Length",maxLength:"Max Length",pattern:"Pattern (RegEx)",min:"Min",max:"Max",step:"Step",removeField:"Remove Field",columnWidth:"Column Width",columnHeight:"Column Height",optionLabel:"Label",optionValue:"Value",sectionHeader:"Section Header",fieldPrefix:"Field",removeFieldTitle:"Remove field",removeTitle:"Remove",richTextVariant:"Toolbar",richTextVariantFull:"Full",richTextVariantBasic:"Basic",richTextVariantSimple:"Simple",textareaRows:"Rows",textareaAutoHeight:"Auto Height",numberLayout:"Spinner Layout",numberLayoutDefault:"Default",numberLayoutVertical:"Vertical",numberLayoutHorizontal:"Horizontal",numberSpinner:"Show Spinner",phoneOnlyCountries:"Allowed Countries",phoneOnlyCountriesPlaceholder:"e.g. IL, US, GB",phoneOnlyCountriesHelp:"Comma-separated ISO 3166-1 alpha-2 country codes. Leave empty to show all countries.",selectMultiselect:"Multiple Selection",dateEnableTime:"Enable Time",dateMin:"Min Date",dateMax:"Max Date",rangeMulti:"Range (Two Handles)",radioThin:"Compact Style",radioHideRadio:"Hide Radio Circle",radioAlign:"Item Alignment",radioAlignStart:"Start",radioAlignCenter:"Center",radioAlignEnd:"End",textIcon:"End Icon",textIconStart:"Start Icon",fileMultiple:"Allow Multiple Files",fileHeight:"Height",fileAccept:"Accepted File Types",fileAcceptPlaceholder:"e.g. image/*,.pdf",fileTheme:"Theme",fileThemeDropzone:"Dropzone",fileThemeBasic:"Basic",fileShowIcon:"Show Icon",fileIcon:"Icon Name"},iconPicker:{none:"None",search:"Search icons...",noResults:"No icons found"},schemaBuilder:{fieldId:"Field ID",fieldIdDesc:"Technical name for API/database",fieldLabel:"Field Label",fieldLabelPlaceholder:"Enter field label",description:"Description (optional)",descriptionPlaceholder:"Help text for this field",requiredField:"Required field",required:"Required",textValidations:"Text Validations",format:"Format",minimumLength:"Minimum Length",maximumLength:"Maximum Length",noMinimum:"No minimum",noMaximum:"No maximum",numberValidations:"Number Validations",minimumValue:"Minimum Value",maximumValue:"Maximum Value",stepMultipleOf:"Step / Multiple Of",anyValue:"Any value",addField:"Add Field",noFieldsClickAbove:"Click a button above to add your first field",patternPlaceholder:"e.g., ^[A-Z]+$",fieldTypes:{shortText:"Short Text",longText:"Long Text",number:"Number",integer:"Integer",yesNo:"Yes/No",dropdown:"Dropdown",email:"Email",phone:"Phone",date:"Date",unknown:"Unknown"},formats:{plainText:"Plain Text",email:"Email",url:"URL",date:"Date",dateTime:"Date & Time",time:"Time",phone:"Phone"}}},h2={today:"Today",views:{week:"Week",month:"Month",day:"Day",agenda:"Agenda"},agenda:{time:"Time",event:"Event",eventsCount:"{n} event | {n} events",noEvents:"No events"}},g2={addTo:"Add to {name}",addToCalendar:"Add to Calendar",google:"Google Calendar",apple:"Apple Calendar",outlook:"Outlook",office365:"Office 365",yahoo:"Yahoo Calendar",ics:"Calendar (ICS file)"},v2={total:"Total",share:"Share"};var y2={modalConfirm:zw,upload:Uw,pagination:Hw,form:Ww,password:jw,select:qw,fieldArray:Gw,arrayInput:Yw,btn:Xw,toast:Kw,filter:Jw,multiStep:Zw,addressSearch:Qw,importData:e2,timeAgo:t2,dialogForm:n2,tel:r2,email:o2,date:a2,spreadsheet:l2,lightbox:i2,color:s2,pageDesigner:c2,collection:u2,datastores:d2,admin:f2,userManagement:m2,forms:p2,calendar:h2,addToCalendar:g2,charts:v2};const b2={title:"Confirmar",message:"¿Estás seguro de que quieres continuar?",confirm:"Confirmar",cancel:"Cancelar"},_2={upload:"Subir",uploading:"Subiendo {count} archivo{plural}...",noFile:"Ningún archivo seleccionado",dropPlaceholder:"Arrastra y suelta archivos aquí o haz clic para subir",delete:"Eliminar",replace:"Reemplazar",download:"Descargar"},w2={of:"de",prev:"Anterior",next:"Siguiente"},k2={required:"Este campo es obligatorio",invalidEmail:"Introduce un correo electrónico válido",invalidUrl:"Introduce una URL válida",minLength:"Debe tener al menos {min} caracteres",maxLength:"Debe tener como máximo {max} caracteres",minValue:"Debe ser al menos {min}",maxValue:"Debe ser como máximo {max}",pattern:"Formato inválido",passwordStrength:"Fortaleza de la contraseña"},$2={veryWeak:"Muy débil",weak:"Débil",fair:"Regular",good:"Buena",strong:"Fuerte"},E2={placeholder:"Seleccionar",search:"Buscar",yes:"Sí",no:"No"},C2={loadDefault:"Cargar {label} predeterminado"},S2={item:"Elemento"},x2={loading:"Cargando..."},T2={success:"Éxito",error:"Error",warning:"Advertencia",info:"Información"},N2={filter:"Filtro",noActiveFilters:"Sin filtros activos",connectors:{and:"Y",or:"O"},operators:{eq:"Igual a",ne:"No igual a",gt:"Mayor que",ge:"Mayor o igual",lt:"Menor que",le:"Menor o igual",co:"Contiene",sw:"Empieza con",ew:"Termina con",pr:"Presente",in:"En lista",nin:"No en lista"},placeholders:{selectField:"Seleccionar campo",selectOption:"Seleccionar opción",selectDate:"Seleccionar fecha",enterValue:"Valor"},buttons:{addCondition:"Añadir condición",clearAll:"Limpiar todo",save:"Guardar"}},B2={previous:"Anterior",next:"Siguiente",complete:"Completar",step:"Paso {current} de {total}"},D2={placeholder:"Introduce una dirección"},A2={close:"Cerrar",cancel:"Cancelar",importData:"Importar datos",changeFile:"Cambiar archivo",selectSheet:"Seleccionar hoja",hasHeaders:"Marcar si el archivo tiene fila de encabezado",sourceKeyField:"Campo clave de origen (de este archivo)",relatedKeyField:"Campo clave relacionado (del archivo relacionado)",selectSourceValue:"Seleccionar valor de origen",sourceValue:"Valor de origen",selectTargetValue:"Seleccionar valor de destino",targetValue:"Valor de destino",selectColumn:"Seleccionar columna..."},M2={year:"año",month:"mes",week:"semana",day:"día",hour:"hora",minute:"minuto",second:"segundo",ago:"hace",in:"en",justNow:"Justo ahora"},L2={save:"Guardar",cancel:"Cancelar",delete:"Eliminar",validationError:"Por favor corrija los errores de validación antes de enviar",errorOccurred:"Ocurrió un error"},P2={phoneNumber:"Número de teléfono",invalidPhone:"Por favor introduce un número de teléfono válido"},I2={invalidEmail:"Introduce un correo electrónico válido",invalidDomain:"El dominio de este correo electrónico parece no ser válido",disposableEmail:"Por favor, utilice una dirección de correo electrónico que no sea desechable",didYouMean:"¿Quisiste decir {suggestion}?",validating:"Validando correo electrónico..."},V2={invalidFormat:"Formato de fecha inválido"},O2={wrapText:"Ajuste de texto",selectAll:"Seleccionar todo",clearAll:"Limpiar todo"},R2={openFile:"Abrir archivo"},F2={placeholder:"Introduce un color"},z2={deleteBlockConfirm:"¿Estás seguro de que quieres eliminar esta sección?",saving:"Guardando...",error:"Error",save:"Guardar",saved:"Guardado",title:"Título",slug:"Slug",slugPlaceholder:"mi-pagina",pageSettings:"Configuración de página",deletePage:"Eliminar página",deletePageConfirm:"Eliminar esta página no se puede deshacer.",newPage:"Nueva página",createPage:"Crear página",addNewBlock:"Añadir nuevo bloque",searchBlock:"Buscar bloque",page:"Página",pageStructure:"Estructura de página",clickToEdit:"Haz clic en la sección para editar",addNewBlockHere:"Haz clic aquí para añadir un",newBlock:"nuevo bloque",adding:"Añadiendo",removeSection:"Eliminar sección",closeEditor:"Cerrar editor (ESC)",blockNotEditable:"El contenido de este bloque proviene de una fuente de datos",blockNotEditableDesc:"y no se puede editar aquí.",dataSourceHint:"Parte del contenido de este bloque proviene de una fuente de datos. Para cambiarlo, edita los datos directamente.",screenTooSmall:"La pantalla es demasiado pequeña para este editor. Prueba reducir el zoom o usar una pantalla más grande.",cancel:"Cancelar",publish:"Publicar",unpublish:"Despublicar",discard:"Descartar",selectItemPreview:"Seleccionar elemento para vista previa",language:"Idioma",defaultLanguage:"Predeterminado",setAsDefault:"Establecer como predeterminado",removeLanguage:"Eliminar idioma",languageCode:"es / en / fr",removeLanguageConfirm:'¿Eliminar idioma "{locale}"?',seoTitle:"Título SEO",seoDescription:"Descripción SEO",ogImageUrl:"URL de imagen OG",showGrid:"Mostrar cuadrícula",hideGrid:"Ocultar cuadrícula",search:"Buscar...",lastSaved:"Último guardado",saveNow:"Guardar ahora",publishDestination:"Elegir destino de publicación",publishAll:"Publicar todo",lastPublished:"Última publicación",published:"Publicado",notPublished:"No publicado aún",production:"Producción",publishFailed:"Error al publicar"},U2={content:"Contenido",blox:"Blox",whatsapp:"WhatsApp",newsletter:"Boletín",agent:"Agentes",users:"Usuarios",tenants:"Organizaciones"},H2={title:"Usuarios",notConfigured:"La interfaz de gestión de usuarios no está configurada",notConfiguredHint:"Pasa userApi a createAuthAdmin() para habilitar esta pantalla.",team:"Equipo",filterByRole:"Filtrar por rol",invite:"Invitar",pendingInvitations:"Invitaciones pendientes",pending:"Pendiente",resend:"Reenviar",delete:"Eliminar",activeUsers:"Usuarios activos",active:"Activo",edit:"Editar",remove:"Eliminar",noUsers:"No hay usuarios aún",inviteFirst:"Invita al primero",inviteTitle:"Invitar usuario",firstName:"Nombre",lastName:"Apellido",email:"Correo electrónico",role:"Rol",message:"Mensaje",inviteSent:"Invitación reenviada",inviteError:"Error al enviar la invitación",deleteInviteConfirm:"¿Eliminar la invitación?",deleteInviteError:"Error al eliminar la invitación",removeUserConfirm:"¿Eliminar a {email}?"},W2={today:"Hoy",views:{week:"Semana",month:"Mes",day:"Día",agenda:"Agenda"},agenda:{time:"Hora",event:"Evento",eventsCount:"{n} evento | {n} eventos",noEvents:"Sin eventos"}},j2={addTo:"Agregar a {name}",addToCalendar:"Agregar al calendario"};var q2={modalConfirm:b2,upload:_2,pagination:w2,form:k2,password:$2,select:E2,fieldArray:C2,arrayInput:S2,btn:x2,toast:T2,filter:N2,multiStep:B2,addressSearch:D2,importData:A2,timeAgo:M2,dialogForm:L2,tel:P2,email:I2,date:V2,spreadsheet:O2,lightbox:R2,color:F2,pageDesigner:z2,admin:U2,userManagement:H2,calendar:W2,addToCalendar:j2};const G2={title:"Confirmer",message:"Êtes-vous sûr de vouloir continuer ?",confirm:"Confirmer",cancel:"Annuler"},Y2={upload:"Télécharger",uploading:"Téléchargement de {count} fichier{plural} en cours...",noFile:"Aucun fichier sélectionné",dropPlaceholder:"Glissez-déposez des fichiers ici ou cliquez pour télécharger",delete:"Supprimer",replace:"Remplacer",download:"Télécharger"},X2={of:"de",prev:"Précédent",next:"Suivant"},K2={required:"Ce champ est obligatoire",invalidEmail:"Veuillez entrer une adresse email valide",invalidUrl:"Veuillez entrer une URL valide",minLength:"Doit contenir au moins {min} caractères",maxLength:"Doit contenir au maximum {max} caractères",minValue:"Doit être au moins {min}",maxValue:"Doit être au maximum {max}",pattern:"Format invalide",passwordStrength:"Force du mot de passe"},J2={veryWeak:"Très faible",weak:"Faible",fair:"Passable",good:"Bonne",strong:"Forte"},Z2={placeholder:"Sélectionner",search:"Rechercher",yes:"Oui",no:"Non"},Q2={loadDefault:"Charger {label} par défaut"},ek={item:"Élément"},tk={loading:"Chargement..."},nk={success:"Succès",error:"Erreur",warning:"Avertissement",info:"Information"},rk={filter:"Filtre",noActiveFilters:"Aucun filtre actif",connectors:{and:"Et",or:"Ou"},operators:{eq:"Égal à",ne:"Différent de",gt:"Supérieur à",ge:"Supérieur ou égal",lt:"Inférieur à",le:"Inférieur ou égal",co:"Contient",sw:"Commence par",ew:"Se termine par",pr:"Présent",in:"Dans la liste",nin:"Pas dans la liste"},placeholders:{selectField:"Sélectionner un champ",selectOption:"Sélectionner une option",selectDate:"Sélectionner une date",enterValue:"Valeur"},buttons:{addCondition:"Ajouter une condition",clearAll:"Tout effacer",save:"Enregistrer"}},ok={previous:"Précédent",next:"Suivant",complete:"Terminer",step:"Étape {current} sur {total}"},ak={placeholder:"Entrez une adresse"},lk={close:"Fermer",cancel:"Annuler",importData:"Importer les données",changeFile:"Changer de fichier",selectSheet:"Sélectionner la feuille",hasHeaders:"Cochez si le fichier a une ligne d'en-tête",sourceKeyField:"Champ clé source (de ce fichier)",relatedKeyField:"Champ clé lié (du fichier lié)",selectSourceValue:"Sélectionner la valeur source",sourceValue:"Valeur source",selectTargetValue:"Sélectionner la valeur cible",targetValue:"Valeur cible",selectColumn:"Sélectionner une colonne..."},ik={year:"an",month:"mois",week:"semaine",day:"jour",hour:"heure",minute:"minute",second:"seconde",ago:"il y a",in:"dans",justNow:"À l'instant"},sk={save:"Enregistrer",cancel:"Annuler",delete:"Supprimer",validationError:"Veuillez corriger les erreurs de validation avant de soumettre",errorOccurred:"Une erreur est survenue"},ck={phoneNumber:"Numéro de téléphone",invalidPhone:"Veuillez entrer un numéro de téléphone valide"},uk={invalidEmail:"Veuillez entrer une adresse email valide",invalidDomain:"Le domaine de cet email semble invalide",disposableEmail:"Veuillez utiliser une adresse e-mail non jetable",didYouMean:"Vouliez-vous dire {suggestion} ?",validating:"Validation de l'e-mail..."},dk={invalidFormat:"Format de date invalide"},fk={wrapText:"Renvoyer à la ligne",selectAll:"Tout sélectionner",clearAll:"Tout effacer"},mk={openFile:"Ouvrir le fichier"},pk={placeholder:"Entrez une couleur"},hk={deleteBlockConfirm:"Êtes-vous sûr de vouloir supprimer cette section ?",saving:"Enregistrement...",error:"Erreur",save:"Enregistrer",saved:"Enregistré",title:"Titre",slug:"Slug",slugPlaceholder:"ma-page",pageSettings:"Paramètres de la page",deletePage:"Supprimer la page",deletePageConfirm:"La suppression de cette page ne peut pas être annulée.",newPage:"Nouvelle page",createPage:"Créer une page",addNewBlock:"Ajouter un nouveau bloc",searchBlock:"Rechercher un bloc",page:"Page",pageStructure:"Structure de la page",clickToEdit:"Cliquez sur la section pour éditer",addNewBlockHere:"Cliquez ici pour ajouter un",newBlock:"nouveau bloc",adding:"Ajout",removeSection:"Supprimer la section",closeEditor:"Fermer l'éditeur (ESC)",blockNotEditable:"Le contenu de ce bloc provient d'une source de données",blockNotEditableDesc:"et ne peut pas être édité ici.",dataSourceHint:"Une partie du contenu de ce bloc provient d'une source de données. Pour le modifier, éditez les données directement.",screenTooSmall:"L'écran est trop petit pour cet éditeur. Essayez de réduire le zoom ou d'utiliser un écran plus grand.",cancel:"Annuler",publish:"Publier",unpublish:"Dépublier",discard:"Ignorer",selectItemPreview:"Sélectionner un élément pour l'aperçu",language:"Langue",defaultLanguage:"Par défaut",setAsDefault:"Définir par défaut",removeLanguage:"Supprimer la langue",languageCode:"fr / en / es",removeLanguageConfirm:'Supprimer la langue "{locale}" ?',seoTitle:"Titre SEO",seoDescription:"Description SEO",ogImageUrl:"URL de l'image OG",showGrid:"Afficher la grille",hideGrid:"Masquer la grille",search:"Rechercher...",lastSaved:"Dernière sauvegarde",saveNow:"Enregistrer maintenant",publishDestination:"Choisir la destination",publishAll:"Tout publier",lastPublished:"Dernière publication",published:"Publié",notPublished:"Pas encore publié",production:"Production",publishFailed:"Échec de la publication"},gk={content:"Contenu",blox:"Blox",whatsapp:"WhatsApp",newsletter:"Newsletter",agent:"Agents",users:"Utilisateurs",tenants:"Organisations"},vk={title:"Utilisateurs",notConfigured:"L'interface de gestion des utilisateurs n'est pas configurée",notConfiguredHint:"Passez userApi à createAuthAdmin() pour activer cet écran.",team:"Équipe",filterByRole:"Filtrer par rôle",invite:"Inviter",pendingInvitations:"Invitations en attente",pending:"En attente",resend:"Renvoyer",delete:"Supprimer",activeUsers:"Utilisateurs actifs",active:"Actif",edit:"Modifier",remove:"Retirer",noUsers:"Aucun utilisateur pour l'instant",inviteFirst:"Invitez le premier",inviteTitle:"Inviter un utilisateur",firstName:"Prénom",lastName:"Nom",email:"E-mail",role:"Rôle",message:"Message",inviteSent:"Invitation renvoyée",inviteError:"Erreur lors de l'envoi de l'invitation",deleteInviteConfirm:"Supprimer l'invitation ?",deleteInviteError:"Erreur lors de la suppression de l'invitation",removeUserConfirm:"Retirer {email} ?"},yk={today:"Aujourd'hui",views:{week:"Semaine",month:"Mois",day:"Jour",agenda:"Agenda"},agenda:{time:"Heure",event:"Événement",eventsCount:"{n} événement | {n} événements",noEvents:"Aucun événement"}},bk={addTo:"Ajouter à {name}",addToCalendar:"Ajouter au calendrier"};var _k={modalConfirm:G2,upload:Y2,pagination:X2,form:K2,password:J2,select:Z2,fieldArray:Q2,arrayInput:ek,btn:tk,toast:nk,filter:rk,multiStep:ok,addressSearch:ak,importData:lk,timeAgo:ik,dialogForm:sk,tel:ck,email:uk,date:dk,spreadsheet:fk,lightbox:mk,color:pk,pageDesigner:hk,admin:gk,userManagement:vk,calendar:yk,addToCalendar:bk};const wk={title:"אישור",message:"האם אתה בטוח שברצונך להמשיך?",confirm:"אישור",cancel:"ביטול"},kk={upload:"העלה",uploading:"מעלה {count} קבצים...",noFile:"לא נבחר קובץ",dropPlaceholder:"גרור ושחרר קבצים כאן או לחץ להעלאה",delete:"מחק",replace:"החלף",download:"הורד"},$k={of:"מתוך",prev:"הקודם",next:"הבא",perPage:"פריטים לעמוד"},Ek={required:"שדה זה נדרש",invalidEmail:"הזן כתובת אימייל חוקית",invalidUrl:"הזן כתובת URL חוקית",minLength:"חייב להכיל לפחות {min} תווים",maxLength:"חייב להכיל לכל היותר {max} תווים",minValue:"חייב להיות לפחות {min}",maxValue:"חייב להיות לכל היותר {max}",pattern:"פורמט לא חוקי",passwordStrength:"חוזק סיסמה"},Ck={veryWeak:"חלשה מאוד",weak:"חלשה",fair:"סבירה",good:"טובה",strong:"חזקה"},Sk={placeholder:"בחר",search:"חיפוש",yes:"כן",no:"לא"},xk={loadDefault:"טען {label} ברירת מחדל"},Tk={item:"פריט"},Nk={loading:"טוען..."},Bk={success:"הצלחה",error:"שגיאה",warning:"אזהרה",info:"מידע"},Dk={filter:"פילטר",noActiveFilters:"אין פילטרים פעילים",connectors:{and:"וגם",or:"או"},operators:{eq:"שווה ל",ne:"לא שווה ל",gt:"גדול מ",ge:"גדול או שווה ל",lt:"קטן מ",le:"קטן או שווה ל",co:"מכיל",sw:"מתחיל ב",ew:"מסתיים ב",pr:"קיים",in:"ברשימה",nin:"לא ברשימה"},placeholders:{selectField:"בחר שדה",selectOption:"בחירה",selectDate:"בחירת תאריך",enterValue:"ערך"},buttons:{addCondition:"הוספת תנאי",clearAll:"נקה הכל",save:"שמירה"}},Ak={previous:"הקודם",next:"הבא",complete:"סיים",step:"שלב {current} מתוך {total}"},Mk={placeholder:"הזן כתובת"},Lk={close:"סגור",cancel:"ביטול",importData:"ייבא נתונים",changeFile:"החלף קובץ",selectSheet:"בחר גיליון",hasHeaders:"סמן אם לקובץ יש שורת כותרת",sourceKeyField:"שדה מפתח מקור (מהקובץ הזה)",relatedKeyField:"שדה מפתח קשור (מהקובץ הקשור)",selectSourceValue:"בחר ערך מקור",sourceValue:"ערך מקור",selectTargetValue:"בחר ערך יעד",targetValue:"ערך יעד",selectColumn:"בחר עמודה..."},Pk={year:{singular:"שנה",plural:"שנים"},month:{singular:"חודש",plural:"חודשים"},week:{singular:"שבוע",plural:"שבועות"},day:{singular:"יום",plural:"ימים"},hour:{singular:"שעה",plural:"שעות"},minute:{singular:"דקה",plural:"דקות"},second:{singular:"שנייה",plural:"שניות"},ago:"לפני",in:"בעוד",justNow:"זה עתה"},Ik={save:"שמור",cancel:"ביטול",delete:"מחק",validationError:"אנא תקן את שגיאות האימות לפני השליחה",errorOccurred:"אירעה שגיאה"},Vk={phoneNumber:"מספר טלפון",invalidPhone:"אנא הזן מספר טלפון תקין"},Ok={invalidEmail:"הזן כתובת אימייל חוקית",invalidDomain:"נראה שדומיין האימייל אינו חוקי",disposableEmail:"אנא השתמש בכתובת אימייל שאינה חד-פעמית",didYouMean:"האם התכוונת ל-{suggestion}?",validating:"מאמת כתובת אימייל..."},Rk={invalidFormat:"פורמט תאריך לא חוקי"},Fk={wrapText:"גלישת טקסט",selectAll:"בחר הכל",clearAll:"נקה הכל"},zk={openFile:"פתח קובץ"},Uk={placeholder:"הזן צבע"},Hk={deleteBlockConfirm:"האם אתם בטוחים שברצונכם למחוק את הסקשן הזה?",saving:"שומר...",error:"שגיאה",save:"שמירה",saved:"נשמר",title:"כותרת",slug:"נתיב (slug)",slugPlaceholder:"my-page",pageSettings:"הגדרות עמוד",deletePage:"מחיקת עמוד",deletePageConfirm:"מחיקת עמוד זה אינה ניתנת לביטול.",newPage:"עמוד חדש",createPage:"צור עמוד",addNewBlock:"הוספת בלוק חדש",searchBlock:"חיפוש בלוק",page:"עמוד",pageStructure:"מבנה העמוד",clickToEdit:"לחצו על מקטע כדי לערוך",addNewBlockHere:"לחצו כאן להוספת",newBlock:"בלוק חדש",adding:"מוסיף",removeSection:"הסרת מקטע",closeEditor:"סגור עורך (ESC)",blockNotEditable:"תוכן הבלוק הזה מגיע ממקור נתונים",blockNotEditableDesc:"ואינו ניתן לעריכה כאן.",dataSourceHint:"ייתכן שחלק מהתוכן בבלוק זה מגיע ממקור נתונים. כדי לשנות אותו, ערוך את הדאטה ישירות.",screenTooSmall:"המסך קטן מדי לעורך הזה. נסו להקטין זום או להשתמש במסך גדול יותר.",cancel:"ביטול",publish:"פרסום",unpublish:"ביטול פרסום",discard:"ביטול",selectItemPreview:"בחר פריט לתצוגה מקדימה",language:"שפה",defaultLanguage:"ברירת מחדל",setAsDefault:"קביעת ברירת מחדל",removeLanguage:"הסרת שפה",languageCode:"he / en / fr",removeLanguageConfirm:'הסר את שפה "{locale}"?',seoTitle:"SEO כותרת",seoDescription:"SEO תיאור",ogImageUrl:"OG Image URL",showGrid:"הצג רשת",hideGrid:"הסתר רשת",search:"חיפוש...",lastSaved:"נשמר לאחרונה",saveNow:"שמור עכשיו",publishDestination:"בחר יעד לפרסום",publishAll:"פרסם הכל",lastPublished:"פורסם לאחרונה",published:"פורסם",notPublished:"טרם פורסם",production:"פרודקשן",publishFailed:"פרסום נכשל"},Wk={loadError:"טעינה נכשלה",newItemTitle:"פריט חדש — {label}",createSubmit:"יצירה",editTitle:"עריכה",saveSubmit:"שמירה",importTitle:"ייבוא JSON — {label}",importSubmit:"ייבוא",importJsonLabel:"תוכן JSON",importJsonHint:"מערך של אובייקטים [ {...}, {...} ] או אובייקט בודד",importSummary:"{imported} יובאו · {failed} נכשלו",deleteItemTitle:"מחיקת פריט",deleteItemMessage:"האם למחוק פריט זה?",deleteConfirm:"מחיקה",batchDeleteTitle:"מחיקה קבוצתית",batchDeleteMessage:"האם למחוק {count} פריטים?",batchDeleteSummary:"{deleted} נמחקו · {failed} נכשלו",batchUpdateTitle:"עדכון קבוצתי — {count} פריטים",updateAllSubmit:"עדכן הכל",batchUpdateSummary:"עודכנו · {failed} נכשלו",selectedCount:"{count} נבחרו",updateBtn:"עדכון",deleteBtn:"מחיקה",searchPlaceholder:"חיפוש...",refreshTooltip:"ריענון",importTooltip:"ייבוא JSON",newItemBtn:"פריט חדש",deleteTooltip:"מחיקה",reorderTooltip:"שינוי סדר",reorderSaving:"שומר סדר..."},jk={selectCollection:"בחרו קולקציה מהרשימה",fieldName:"שם",fieldStore:"Store",fieldStoreHint:"לדוגמה: default",fieldCollection:"Collection",fieldCollectionHint:"לדוגמה: my_collection",fieldDescription:"תיאור",createTitle:"יצירת Datastore חדש",createSubmit:"יצירה",editTitle:"עריכת {name}",saveSubmit:"שמירה",addBtn:"הוספת Datastore",empty:"אין Datastores עדיין",deleteConfirm:'למחוק את "{name}"?'},qk={content:"תוכן",blox:"בלוקס",whatsapp:"וואטסאפ",newsletter:"ניוזלטר",agent:"סוכנים",users:"משתמשים",tenants:"ארגונים"},Gk={title:"משתמשים",notConfigured:"ממשק ניהול משתמשים לא מוגדר",notConfiguredHint:"העבר userApi ל-createAuthAdmin() כדי להפעיל מסך זה.",team:"צוות",filterByRole:"סנן לפי תפקיד",invite:"הזמנה",pendingInvitations:"הזמנות ממתינות",pending:"ממתין",resend:"שלח מחדש",delete:"מחיקה",activeUsers:"משתמשים פעילים",active:"פעיל",edit:"עריכה",remove:"הסרה",noUsers:"אין משתמשים עדיין",inviteFirst:"הזמן את הראשון",inviteTitle:"הזמנת משתמש",firstName:"שם פרטי",lastName:"שם משפחה",email:"אימייל",role:"תפקיד",message:"הודעה",inviteSent:"ההזמנה נשלחה מחדש",inviteError:"שגיאה בשליחת ההזמנה",deleteInviteConfirm:"למחוק את ההזמנה?",deleteInviteError:"שגיאה במחיקת ההזמנה",removeUserConfirm:"להסיר את {email}?"},Yk={title:"טפסים",refresh:"רענן",newForm:"טופס חדש",createForm:"יצירת טופס",noForms:"אין טפסים עדיין",noFormsDesc:"צור את הטופס הראשון שלך כדי להתחיל",active:"פעיל",inactive:"לא פעיל",submissionsOnly:"הגשות בלבד",noDefinition:"אין הגדרת טופס - הצג הגשות",fieldCount:"{n} שדות",createdAt:"נוצר {date}",editor:{newForm:"טופס חדש",builder:"בנאי",submissions:"הגשות",edit:"עריכה",preview:"תצוגה מקדימה",save:"שמור",create:"צור",formName:"שם הטופס *",formNamePlaceholder:"הכנס שם לטופס",description:"תיאור",descriptionPlaceholder:"תיאור אופציונלי",active:"פעיל",deleteForm:"מחק טופס",deleteConfirm:"האם אתה בטוח שברצונך למחוק טופס זה?",submit:"שלח"},submissions:{title:"הגשות",exportCsv:"יצוא CSV",statusPlaceholder:"סטטוס",noSubmissions:"לא נמצאו הגשות",count:"אין הגשות | הגשה אחת | {n} הגשות",date:"תאריך",status:"סטטוס",statusAll:"הכל",statusSaved:"נשמר",statusDraft:"טיוטה",statusProcessed:"טופל",statusAbandoned:"ננטש",statusError:"שגיאה",statusSpam:"ספאם"},builder:{noFields:"אין שדות עדיין",noFieldsDesc:"לחץ על + להוספת שדה ראשון",noFieldsDefined:"לא הוגדרו שדות",selectField:"בחר שדה לעריכת הגדרותיו",tooSmall:"החלון קטן מידי",tooSmallDesc:"הגדל את החלון לפחות ל-1000px לעריכת הטופס"},fieldSettings:{headingText:"טקסט כותרת",noDividerSettings:"אין הגדרות לקו מפריד",label:"תווית",fieldKey:"מפתח שדה",placeholder:"טקסט placeholder",helpText:"טקסט עזרה",required:"שדה חובה",options:"אפשרויות",addOption:"הוסף אפשרות",validation:"ולידציה",minLength:"אורך מינימלי",maxLength:"אורך מקסימלי",pattern:"תבנית (RegEx)",min:"מינימום",max:"מקסימום",step:"קפיצה",removeField:"הסר שדה",columnWidth:"רוחב עמודה",columnHeight:"גובה עמודה",optionLabel:"תווית",optionValue:"ערך",sectionHeader:"כותרת סעיף",fieldPrefix:"שדה",removeFieldTitle:"הסר שדה",removeTitle:"הסר",richTextVariant:"סרגלת כלים",richTextVariantFull:"מלאה",richTextVariantBasic:"בסיסי",richTextVariantSimple:"פשוטה",textareaRows:"שורות",textareaAutoHeight:"גובה אוטומטי",numberLayout:"סגנון ספינר",numberLayoutDefault:"רגיל",numberLayoutVertical:"אנכי",numberLayoutHorizontal:"אופקי",numberSpinner:"הצג ספינר",phoneOnlyCountries:"מדינות מותרות",phoneOnlyCountriesPlaceholder:"לדוגמא: IL, US, GB",phoneOnlyCountriesHelp:"קודי מדינה מופרדים בפסיק (ISO 3166-1 alpha-2). השאר ריק להצג כל המדינות.",selectMultiselect:"בחירה מרובית",dateEnableTime:"אפשר בחירת שעה",dateMin:"תאריך מינימלי",dateMax:"תאריך מקסימלי",rangeMulti:"טווח (שתי ידיות)",radioThin:"סגנון דחוס",radioHideRadio:"הסתר עיגול ה-radio",radioAlign:"יישור פריטים",radioAlignStart:"התחלה",radioAlignCenter:"מרכז",radioAlignEnd:"סוף",textIcon:"איקון סייום",textIconStart:"איקון התחלה",fileMultiple:"העלאת מספר קבצים",fileHeight:"גובה",fileAccept:"סוגי קבצים מותרים",fileAcceptPlaceholder:"לדוגמא: image/*,.pdf",fileTheme:"עיצוב",fileThemeDropzone:"Dropzone",fileThemeBasic:"פשוט",fileShowIcon:"הצג איקון",fileIcon:"שם איקון"},iconPicker:{none:"ללא",search:"חפש איקונים...",noResults:"לא נמצאו איקונים"},schemaBuilder:{fieldId:"מזהה שדה",fieldIdDesc:"שם טכני ל-API/מסד נתונים",fieldLabel:"תווית שדה",fieldLabelPlaceholder:"הכנס תווית לשדה",description:"תיאור (אופציונלי)",descriptionPlaceholder:"טקסט עזרה לשדה זה",requiredField:"שדה חובה",required:"חובה",textValidations:"ולידציות טקסט",format:"פורמט",minimumLength:"אורך מינימלי",maximumLength:"אורך מקסימלי",noMinimum:"ללא מינימום",noMaximum:"ללא מקסימום",numberValidations:"ולידציות מספר",minimumValue:"ערך מינימלי",maximumValue:"ערך מקסימלי",stepMultipleOf:"קפיצה / כפולה של",anyValue:"כל ערך",addField:"הוסף שדה",noFieldsClickAbove:"לחץ על כפתור למעלה להוספת השדה הראשון",patternPlaceholder:"לדוגמה: ^[A-Z]+$",fieldTypes:{shortText:"טקסט קצר",longText:"טקסט ארוך",number:"מספר",integer:"מספר שלם",yesNo:"כן/לא",dropdown:"רשימה נפתחת",email:"אימייל",phone:"טלפון",date:"תאריך",unknown:"לא ידוע"},formats:{plainText:"טקסט רגיל",email:"אימייל",url:"כתובת URL",date:"תאריך",dateTime:"תאריך ושעה",time:"שעה",phone:"טלפון"}}},Xk={today:"היום",views:{week:"שבוע",month:"חודש",day:"יום",agenda:"סדר יום"},agenda:{time:"שעה",event:"אירוע",eventsCount:"אירוע אחד | {n} אירועים",noEvents:"אין אירועים"}},Kk={addTo:"הוסף ל{name}",addToCalendar:"הוסף ליומן",google:"יומן Google",apple:"יומן Apple",outlook:"Outlook",office365:"Office 365",yahoo:"יומן Yahoo",ics:"יומן (קובץ ICS)"},Jk={total:"סה״כ",share:"חלק"};var Zk={modalConfirm:wk,upload:kk,pagination:$k,form:Ek,password:Ck,select:Sk,fieldArray:xk,arrayInput:Tk,btn:Nk,toast:Bk,filter:Dk,multiStep:Ak,addressSearch:Mk,importData:Lk,timeAgo:Pk,dialogForm:Ik,tel:Vk,email:Ok,date:Rk,spreadsheet:Fk,lightbox:zk,color:Uk,pageDesigner:Hk,collection:Wk,datastores:jk,admin:qk,userManagement:Gk,forms:Yk,calendar:Xk,addToCalendar:Kk,charts:Jk};const Qk={title:"Conferma",message:"Sei sicuro di voler continuare?",confirm:"Conferma",cancel:"Annulla"},e$={upload:"Carica",uploading:"Caricamento di {count} file{plural} in corso...",noFile:"Nessun file selezionato",dropPlaceholder:"Trascina e rilascia i file qui o clicca per caricare",delete:"Elimina",replace:"Sostituisci",download:"Scarica"},t$={of:"di",prev:"Precedente",next:"Successivo"},n$={required:"Questo campo è obbligatorio",invalidEmail:"Inserisci un indirizzo email valido",invalidUrl:"Inserisci un URL valido",minLength:"Deve contenere almeno {min} caratteri",maxLength:"Deve contenere al massimo {max} caratteri",minValue:"Deve essere almeno {min}",maxValue:"Deve essere al massimo {max}",pattern:"Formato non valido",passwordStrength:"Forza della password"},r$={veryWeak:"Molto debole",weak:"Debole",fair:"Discreta",good:"Buona",strong:"Forte"},o$={placeholder:"Seleziona",search:"Cerca",yes:"Sì",no:"No"},a$={loadDefault:"Carica {label} predefinito"},l$={item:"Elemento"},i$={loading:"Caricamento..."},s$={success:"Successo",error:"Errore",warning:"Avviso",info:"Informazione"},c$={filter:"Filtro",noActiveFilters:"Nessun filtro attivo",connectors:{and:"E",or:"O"},operators:{eq:"Uguale a",ne:"Diverso da",gt:"Maggiore di",ge:"Maggiore o uguale",lt:"Minore di",le:"Minore o uguale",co:"Contiene",sw:"Inizia con",ew:"Finisce con",pr:"Presente",in:"Nella lista",nin:"Non nella lista"},placeholders:{selectField:"Seleziona campo",selectOption:"Seleziona opzione",selectDate:"Seleziona data",enterValue:"Valore"},buttons:{addCondition:"Aggiungi condizione",clearAll:"Cancella tutto",save:"Salva"}},u$={previous:"Precedente",next:"Successivo",complete:"Completa",step:"Passo {current} di {total}"},d$={placeholder:"Inserisci un indirizzo"},f$={close:"Chiudi",cancel:"Annulla",importData:"Importa dati",changeFile:"Cambia file",selectSheet:"Seleziona foglio",hasHeaders:"Seleziona se il file ha una riga di intestazione",sourceKeyField:"Campo chiave sorgente (da questo file)",relatedKeyField:"Campo chiave correlato (dal file correlato)",selectSourceValue:"Seleziona valore sorgente",sourceValue:"Valore sorgente",selectTargetValue:"Seleziona valore di destinazione",targetValue:"Valore di destinazione",selectColumn:"Seleziona colonna..."},m$={year:"anno",month:"mese",week:"settimana",day:"giorno",hour:"ora",minute:"minuto",second:"secondo",ago:"fa",in:"tra",justNow:"Poco fa"},p$={save:"Salva",cancel:"Annulla",delete:"Elimina",validationError:"Correggi gli errori di validazione prima di inviare",errorOccurred:"Si è verificato un errore"},h$={phoneNumber:"Numero di telefono",invalidPhone:"Inserisci un numero di telefono valido"},g$={invalidEmail:"Inserisci un indirizzo email valido",invalidDomain:"Il dominio di questa email sembra non essere valido",disposableEmail:"Si prega di utilizzare un indirizzo email non temporaneo",didYouMean:"Intendevi {suggestion}?",validating:"Convalida dell'e-mail..."},v$={invalidFormat:"Formato data non valido"},y$={wrapText:"A capo automatico",selectAll:"Seleziona tutto",clearAll:"Cancella tutto"},b$={openFile:"Apri file"},_$={placeholder:"Inserisci un colore"},w$={deleteBlockConfirm:"Sei sicuro di voler eliminare questa sezione?",saving:"Salvataggio...",error:"Errore",save:"Salva",saved:"Salvato",title:"Titolo",slug:"Slug",slugPlaceholder:"la-mia-pagina",pageSettings:"Impostazioni pagina",deletePage:"Elimina pagina",deletePageConfirm:"L'eliminazione di questa pagina non può essere annullata.",newPage:"Nuova pagina",createPage:"Crea pagina",addNewBlock:"Aggiungi nuovo blocco",searchBlock:"Cerca blocco",page:"Pagina",pageStructure:"Struttura della pagina",clickToEdit:"Clicca sulla sezione per modificare",addNewBlockHere:"Clicca qui per aggiungere un",newBlock:"nuovo blocco",adding:"Aggiungendo",removeSection:"Rimuovi sezione",closeEditor:"Chiudi editor (ESC)",blockNotEditable:"Il contenuto di questo blocco proviene da una fonte di dati",blockNotEditableDesc:"e non può essere modificato qui.",dataSourceHint:"Parte del contenuto di questo blocco proviene da una fonte di dati. Per modificarlo, modifica i dati direttamente.",screenTooSmall:"Lo schermo è troppo piccolo per questo editor. Prova a ridurre lo zoom o utilizzare uno schermo più grande.",cancel:"Annulla",publish:"Pubblica",unpublish:"Rimuovi pubblicazione",discard:"Scarta",selectItemPreview:"Seleziona elemento per anteprima",language:"Lingua",defaultLanguage:"Predefinita",setAsDefault:"Imposta come predefinita",removeLanguage:"Rimuovi lingua",languageCode:"it / en / es",removeLanguageConfirm:'Rimuovere la lingua "{locale}"?',seoTitle:"Titolo SEO",seoDescription:"Descrizione SEO",ogImageUrl:"URL immagine OG",showGrid:"Mostra griglia",hideGrid:"Nascondi griglia",search:"Cerca...",lastSaved:"Ultimo salvataggio",saveNow:"Salva ora",publishDestination:"Scegli destinazione",publishAll:"Pubblica tutto",lastPublished:"Ultima pubblicazione",published:"Pubblicato",notPublished:"Non ancora pubblicato",production:"Produzione",publishFailed:"Pubblicazione fallita"},k$={content:"Contenuto",blox:"Blox",whatsapp:"WhatsApp",newsletter:"Newsletter",agent:"Agenti",users:"Utenti",tenants:"Organizzazioni"},$$={title:"Utenti",notConfigured:"L'interfaccia di gestione utenti non è configurata",notConfiguredHint:"Passa userApi a createAuthAdmin() per abilitare questa schermata.",team:"Team",filterByRole:"Filtra per ruolo",invite:"Invita",pendingInvitations:"Inviti in sospeso",pending:"In sospeso",resend:"Reinvia",delete:"Elimina",activeUsers:"Utenti attivi",active:"Attivo",edit:"Modifica",remove:"Rimuovi",noUsers:"Nessun utente ancora",inviteFirst:"Invita il primo",inviteTitle:"Invita utente",firstName:"Nome",lastName:"Cognome",email:"Email",role:"Ruolo",message:"Messaggio",inviteSent:"Invito reinviato",inviteError:"Errore durante l'invio dell'invito",deleteInviteConfirm:"Eliminare l'invito?",deleteInviteError:"Errore durante l'eliminazione dell'invito",removeUserConfirm:"Rimuovere {email}?"},E$={today:"Oggi",views:{week:"Settimana",month:"Mese",day:"Giorno",agenda:"Agenda"},agenda:{time:"Ora",event:"Evento",eventsCount:"{n} evento | {n} eventi",noEvents:"Nessun evento"}},C$={addTo:"Aggiungi a {name}",addToCalendar:"Aggiungi al calendario"};var S$={modalConfirm:Qk,upload:e$,pagination:t$,form:n$,password:r$,select:o$,fieldArray:a$,arrayInput:l$,btn:i$,toast:s$,filter:c$,multiStep:u$,addressSearch:d$,importData:f$,timeAgo:m$,dialogForm:p$,tel:h$,email:g$,date:v$,spreadsheet:y$,lightbox:b$,color:_$,pageDesigner:w$,admin:k$,userManagement:$$,calendar:E$,addToCalendar:C$};const x$={title:"Подтвердить",message:"Вы уверены, что хотите продолжить?",confirm:"Подтвердить",cancel:"Отмена"},T$={upload:"Загрузить",uploading:"Загрузка {count} файл{plural}...",noFile:"Файл не выбран",dropPlaceholder:"Перетащите файлы сюда или нажмите для загрузки",delete:"Удалить",replace:"Заменить",download:"Скачать"},N$={of:"из",prev:"Предыдущая",next:"Следующая"},B$={required:"Это поле обязательно для заполнения",invalidEmail:"Введите действительный адрес электронной почты",invalidUrl:"Введите действительный URL",minLength:"Должно содержать не менее {min} символов",maxLength:"Должно содержать не более {max} символов",minValue:"Должно быть не менее {min}",maxValue:"Должно быть не более {max}",pattern:"Неверный формат",passwordStrength:"Надежность пароля"},D$={veryWeak:"Очень слабый",weak:"Слабый",fair:"Средний",good:"Хороший",strong:"Надёжный"},A$={placeholder:"Выбрать",search:"Поиск",yes:"Да",no:"Нет"},M$={loadDefault:"Загрузить {label} по умолчанию"},L$={item:"Элемент"},P$={loading:"Загрузка..."},I$={success:"Успешно",error:"Ошибка",warning:"Предупреждение",info:"Информация"},V$={filter:"Фильтр",noActiveFilters:"Нет активных фильтров",connectors:{and:"И",or:"Или"},operators:{eq:"Равно",ne:"Не равно",gt:"Больше чем",ge:"Больше или равно",lt:"Меньше чем",le:"Меньше или равно",co:"Содержит",sw:"Начинается с",ew:"Заканчивается на",pr:"Присутствует",in:"В списке",nin:"Не в списке"},placeholders:{selectField:"Выберите поле",selectOption:"Выберите вариант",selectDate:"Выберите дату",enterValue:"Значение"},buttons:{addCondition:"Добавить условие",clearAll:"Очистить всё",save:"Сохранить"}},O$={previous:"Назад",next:"Далее",complete:"Завершить",step:"Шаг {current} из {total}"},R$={placeholder:"Введите адрес"},F$={close:"Закрыть",cancel:"Отмена",importData:"Импорт данных",changeFile:"Изменить файл",selectSheet:"Выбрать лист",hasHeaders:"Отметьте, если файл содержит строку заголовка",sourceKeyField:"Ключевое поле источника (из этого файла)",relatedKeyField:"Ключевое поле связанного (из связанного файла)",selectSourceValue:"Выберите исходное значение",sourceValue:"Исходное значение",selectTargetValue:"Выберите целевое значение",targetValue:"Целевое значение",selectColumn:"Выберите столбец..."},z$={year:"год",month:"месяц",week:"неделя",day:"день",hour:"час",minute:"минута",second:"секунда",ago:"назад",in:"через",justNow:"Только что"},U$={save:"Сохранить",cancel:"Отмена",delete:"Удалить",validationError:"Пожалуйста, исправьте ошибки валидации перед отправкой",errorOccurred:"Произошла ошибка"},H$={phoneNumber:"Номер телефона",invalidPhone:"Пожалуйста, введите действительный номер телефона"},W$={invalidEmail:"Введите действительный адрес электронной почты",invalidDomain:"Домен этого адреса электронной почты, похоже, недействителен",disposableEmail:"Пожалуйста, используйте постоянный адрес электронной почты",didYouMean:"Вы имели в виду {suggestion}?",validating:"Проверка адреса электронной почты..."},j$={invalidFormat:"Неверный формат даты"},q$={wrapText:"Перенос текста",selectAll:"Выбрать всё",clearAll:"Очистить всё"},G$={openFile:"Открыть файл"},Y$={placeholder:"Введите цвет"},X$={deleteBlockConfirm:"Вы уверены, что хотите удалить эту секцию?",saving:"Сохранение...",error:"Ошибка",save:"Сохранить",saved:"Сохранено",title:"Заголовок",slug:"Slug",slugPlaceholder:"moya-stranica",pageSettings:"Настройки страницы",deletePage:"Удалить страницу",deletePageConfirm:"Удаление этой страницы нельзя отменить.",newPage:"Новая страница",createPage:"Создать страницу",addNewBlock:"Добавить новый блок",searchBlock:"Поиск блоков",page:"Страница",pageStructure:"Структура страницы",clickToEdit:"Нажмите на секцию для редактирования",addNewBlockHere:"Нажмите здесь, чтобы добавить",newBlock:"новый блок",adding:"Добавление",removeSection:"Удалить секцию",closeEditor:"Закрыть редактор (ESC)",blockNotEditable:"Содержимое этого блока поступает из источника данных",blockNotEditableDesc:"и не может быть отредактировано здесь.",dataSourceHint:"Часть содержимого этого блока поступает из источника данных. Чтобы изменить его, отредактируйте данные напрямую.",screenTooSmall:"Экран слишком мал для этого редактора. Попробуйте уменьшить масштаб или использовать большой экран.",cancel:"Отмена",publish:"Опубликовать",unpublish:"Отменить публикацию",discard:"Отменить",selectItemPreview:"Выбрать элемент для предпросмотра",language:"Язык",defaultLanguage:"По умолчанию",setAsDefault:"Установить по умолчанию",removeLanguage:"Удалить язык",languageCode:"ru / en / fr",removeLanguageConfirm:'Удалить язык "{locale}"?',seoTitle:"Заголовок SEO",seoDescription:"Описание SEO",ogImageUrl:"URL изображения OG",showGrid:"Показать сетку",hideGrid:"Скрыть сетку",search:"Поиск...",lastSaved:"Последнее сохранение",saveNow:"Сохранить сейчас",publishDestination:"Выбрать место публикации",publishAll:"Опубликовать всё",lastPublished:"Последняя публикация",published:"Опубликовано",notPublished:"Ещё не опубликовано",production:"Продакшн",publishFailed:"Ошибка публикации"},K$={content:"Контент",blox:"Блокс",whatsapp:"WhatsApp",newsletter:"Рассылка",agent:"Агенты",users:"Пользователи",tenants:"Организации"},J$={title:"Пользователи",notConfigured:"Интерфейс управления пользователями не настроен",notConfiguredHint:"Передайте userApi в createAuthAdmin(), чтобы активировать этот экран.",team:"Команда",filterByRole:"Фильтр по роли",invite:"Пригласить",pendingInvitations:"Ожидающие приглашения",pending:"Ожидает",resend:"Отправить ещё раз",delete:"Удалить",activeUsers:"Активные пользователи",active:"Активен",edit:"Редактировать",remove:"Удалить",noUsers:"Пользователейещё нет",inviteFirst:"Пригласить первого",inviteTitle:"Приглашение пользователя",firstName:"Имя",lastName:"Фамилия",email:"Эл. почта",role:"Роль",message:"Сообщение",inviteSent:"Приглашение отправлено повторно",inviteError:"Ошибка при отправке приглашения",deleteInviteConfirm:"Удалить приглашение?",deleteInviteError:"Ошибка при удалении приглашения",removeUserConfirm:"Удалить {email}?"},Z$={today:"Сегодня",views:{week:"Неделя",month:"Месяц",day:"День",agenda:"Повестка"},agenda:{time:"Время",event:"Событие",eventsCount:"{n} событие | {n} события | {n} событий",noEvents:"Нет событий"}},Q$={addTo:"Добавить в {name}",addToCalendar:"Добавить в календарь"};var eE={modalConfirm:x$,upload:T$,pagination:N$,form:B$,password:D$,select:A$,fieldArray:M$,arrayInput:L$,btn:P$,toast:I$,filter:V$,multiStep:O$,addressSearch:R$,importData:F$,timeAgo:z$,dialogForm:U$,tel:H$,email:W$,date:j$,spreadsheet:q$,lightbox:G$,color:Y$,pageDesigner:X$,admin:K$,userManagement:J$,calendar:Z$,addToCalendar:Q$},hc={en:y2,he:Zk,it:S$,es:q2,fr:_k,ru:eE},Hl=null;function Kh(e={}){const{locale:t="en",fallbackLocale:r="en",messages:o={}}=e,a=Object.keys(hc),l={};for(const i of a)l[i]={...hc[i]||{},...o[i]||{}};for(const i of Object.keys(o))l[i]||(l[i]=o[i]);return Hl=Aw({locale:t,fallbackLocale:r,messages:l,legacy:!1,globalInjection:!0}),Hl}function ir(){if(!Hl)throw new Error("i18n not initialized. Call createI18n() first.");return Hl}function ot(){const e=ir().global;return{$t:e.t,t:e.t,locale:e.locale,availableLocales:e.availableLocales,fallbackLocale:e.fallbackLocale,n:e.n,d:e.d}}function Ee(e){if(e!=null)return e.startsWith("$t:")?ir().global.t(e.slice(3)):e}function Jh(){try{const e=ir().global.locale,t=e?.value??e;if(typeof t=="string"&&t)return t}catch{}return typeof document<"u"&&(document.documentElement.lang||navigator?.language)||"en"}function St(e,t={}){const r=Jh();let o;try{t.currency?o=new Intl.NumberFormat(r,{style:"currency",currency:t.currency,notation:t.compact?"compact":"standard",maximumFractionDigits:t.maximumFractionDigits??(t.compact?1:0)}).format(e):o=new Intl.NumberFormat(r,{notation:t.compact?"compact":"standard",maximumFractionDigits:t.maximumFractionDigits??(t.compact?1:2)}).format(e)}catch{o=String(e)}return`${t.prefix??""}${o}${t.suffix??""}`}function Wl(e){if(/[-/]/.test(e)){const t=new Date(e);if(!Number.isNaN(t.getTime()))try{return t.toLocaleDateString(Jh(),{month:"short",day:"numeric"})}catch{}}return e}var tE={top:8,right:8,bottom:22,left:36};function Zh(e,t){const r=(0,n.ref)(0),o=(0,n.computed)(()=>typeof t.height=="number"?t.height:t.height.value),a=(0,n.computed)(()=>({...tE,...t.padding})),l=(0,n.computed)(()=>Math.max(0,r.value-a.value.left-a.value.right)),i=(0,n.computed)(()=>Math.max(0,o.value-a.value.top-a.value.bottom)),s=(0,n.ref)(!1);function c(){typeof document>"u"||(s.value=(e.value?.closest("[dir]")?.getAttribute("dir")||document.documentElement.dir)==="rtl"||document.documentElement.lang==="he")}let u=null;return(0,n.onMounted)(()=>{c(),e.value&&(r.value=e.value.clientWidth||0,u=new ResizeObserver(f=>{for(const m of f)r.value=m.contentRect.width}),u.observe(e.value))}),(0,n.onUnmounted)(()=>u?.disconnect()),{width:r,height:o,pad:a,innerWidth:l,innerHeight:i,isRTL:s,flipX:f=>s.value?l.value-f:f}}var nE={key:0,class:"opacity-7 txt-075rem m-0 pb-025"},rE={key:1,class:"m-0 tabular-nums bold pb-025 txt-1-25rem"},oE={key:1,class:"bgl-tip__name"},aE={class:"ms-auto tabular-nums semibold"},lE={key:2,class:"gap-05 bgl-tip__total flex align-items-center m-0"},iE={class:"bgl-tip__name"},sE={class:"ms-auto tabular-nums semibold"},cE={key:3,class:"bgl-tip__stats flex column"},uE={class:"bgl-tip__name"},dE={class:"ms-auto tabular-nums semibold"},fE=(0,n.defineComponent)({name:"BglChartTooltip",__name:"ChartTooltip",props:{label:{},hero:{},rows:{default:()=>[]},total:{},stats:{default:()=>[]},prefer:{default:"below"},above:{type:Boolean},below:{type:Boolean}},setup(e){const{$t:t}=ot(),r=e;function o(){return r.above?"above":r.below?"below":r.prefer}const a=(0,n.ref)(),l=(0,n.ref)(o());function i(){const s=a.value,c=o();if(!s||c==="top"){l.value=c;return}l.value="below",(0,n.nextTick)(()=>{const u=a.value;u&&(l.value=u.getBoundingClientRect().top<window.innerHeight/2?"below":"above")})}return(0,n.watch)(()=>[r.label,r.hero,r.total,r.rows,r.stats,r.prefer,r.above,r.below],i,{immediate:!0,deep:!0}),(s,c)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"el",ref:a,class:(0,n.normalizeClass)(["bgl-tip absolute top-0 pointer-events-none nowrap z-5 color-white line-height-16",{"bgl-tip--above":l.value==="above","bgl-tip--below":l.value==="below"}])},[e.label?((0,n.openBlock)(),(0,n.createElementBlock)("p",nE,(0,n.toDisplayString)(e.label),1)):(0,n.createCommentVNode)("",!0),e.hero?((0,n.openBlock)(),(0,n.createElementBlock)("p",rE,(0,n.toDisplayString)(e.hero),1)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.rows,(u,d)=>((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:d,class:"gap-05 flex align-items-center m-0"},[u.color?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:"bgl-tip__dot flex-shrink-0",style:(0,n.normalizeStyle)({background:u.color})},null,4)):(0,n.createCommentVNode)("",!0),e.rows.length>1?((0,n.openBlock)(),(0,n.createElementBlock)("span",oE,(0,n.toDisplayString)(u.name),1)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("span",aE,(0,n.toDisplayString)(u.value),1)]))),128)),e.total?((0,n.openBlock)(),(0,n.createElementBlock)("p",lE,[(0,n.createElementVNode)("span",iE,(0,n.toDisplayString)((0,n.unref)(t)("charts.total")),1),(0,n.createElementVNode)("span",sE,(0,n.toDisplayString)(e.total),1)])):(0,n.createCommentVNode)("",!0),e.stats.length?((0,n.openBlock)(),(0,n.createElementBlock)("div",cE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.stats,(u,d)=>((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:d,class:"gap-05 flex align-items-center m-0 space-between"},[(0,n.createElementVNode)("span",uE,(0,n.toDisplayString)(u.label),1),(0,n.createElementVNode)("span",dE,(0,n.toDisplayString)(u.value),1)]))),128))])):(0,n.createCommentVNode)("",!0)],2))}}),Si=be(fE,[["__scopeId","data-v-38c8997b"]]),mE=["width","height"],pE={key:0},hE=["id","y2"],gE=["stop-color","stop-opacity"],vE=["stop-color","stop-opacity"],yE=["transform"],bE={key:0,class:"bgl-chart__grid"},_E=["x2","y1","y2"],wE=["y"],kE=["d","fill","opacity"],$E=["d","stroke","stroke-dasharray","stroke-dashoffset"],EE=["cx","cy","fill","opacity"],CE={class:"bgl-chart__xlabels"},SE=["x","y"],xE={key:3,class:"bgl-chart__hover","pointer-events":"none"},TE=["x1","x2","y2"],NE=["cx","cy","fill"],BE=(0,n.defineComponent)({__name:"LineChart",props:{data:{},series:{},labels:{},color:{},area:{type:Boolean},gradient:{type:Boolean},stacked:{type:Boolean},height:{default:220},grid:{type:Boolean,default:!0},points:{type:Boolean,default:!1},currency:{},prefix:{},suffix:{},maxLabels:{default:7},animated:{type:Boolean,default:!0}},setup(e){const t=e,r=(0,n.ref)(),{width:o,height:a,pad:l,innerWidth:i,innerHeight:s,flipX:c,isRTL:u}=Zh(r,{height:(0,n.computed)(()=>t.height)}),{progress:d}=Kr({el:r,enabled:t.animated,duration:800}),f=(0,n.computed)(()=>mu(t.data,t.series,{labels:t.labels,defaultColor:t.color})),m=(0,n.computed)(()=>mh(f.value)),p=(0,n.computed)(()=>({currency:t.currency,prefix:t.prefix,suffix:t.suffix})),h=(0,n.computed)(()=>({...p.value,compact:!0})),y=(0,n.computed)(()=>t.stacked&&f.value.length>1),b=(0,n.computed)(()=>m.value.map((H,U)=>f.value.reduce((I,j)=>I+(j.points[U]?.y??0),0))),g=(0,n.computed)(()=>ph(y.value?Math.max(0,...b.value):Math.max(0,...nc(f.value)))),v=(0,n.computed)(()=>y.value?0:Math.min(0,...nc(f.value))),_=(0,n.computed)(()=>ya(0,Math.max(1,m.value.length-1),0,i.value)),w=(0,n.computed)(()=>ya(v.value,g.value,s.value,0)),k=(0,n.computed)(()=>t.grid?hh(v.value,g.value,4):[]),S=(0,n.computed)(()=>{const H=s.value,U=m.value.map(()=>0);return f.value.map((I,j)=>{const te=xt(I.color,j);if(y.value){const ue=m.value.map((F,W)=>U[W]),pe=m.value.map((F,W)=>U[W]+(I.points[W]?.y??0));pe.forEach((F,W)=>{U[W]=F});const ve=pe.map((F,W)=>({x:c(_.value(W)),y:w.value(F),p:I.points[W]??{label:m.value[W],y:F}})),ce=ve.map((F,W)=>`${W===0?"M":"L"} ${F.x.toFixed(1)} ${F.y.toFixed(1)}`).join(" "),ne=[...ue.map((F,W)=>({x:c(_.value(W)),y:w.value(F)}))].reverse().map(F=>`L ${F.x.toFixed(1)} ${F.y.toFixed(1)}`).join(" "),fe=ve.length?`${ce} ${ne} Z`:"";return{name:I.name,color:te,coords:ve,line:ce,areaPath:fe}}const ae=I.points.map((ue,pe)=>({x:c(_.value(pe)),y:w.value(ue.y),p:ue})),we=ae.map((ue,pe)=>`${pe===0?"M":"L"} ${ue.x.toFixed(1)} ${ue.y.toFixed(1)}`).join(" "),J=ae.length?`${we} L ${ae[ae.length-1].x.toFixed(1)} ${H} L ${ae[0].x.toFixed(1)} ${H} Z`:"";return{name:I.name,color:te,coords:ae,line:we,areaPath:J}})}),E=(0,n.computed)(()=>t.area||y.value),C=(0,n.computed)(()=>E.value&&t.gradient!==!1),M=wi(),A=H=>`${M}-grad-${H}`,z=(0,n.computed)(()=>Math.max(1,Math.ceil(m.value.length/t.maxLabels))),D=(0,n.computed)(()=>(i.value+s.value)*2),R=(0,n.computed)(()=>D.value*(1-d.value)),$=(0,n.ref)(null),V=(0,n.ref)(0);function P(H){const U=r.value;if(!U||!m.value.length)return;const I=U.getBoundingClientRect();let j=H.clientX-I.left-l.value.left;u.value&&(j=i.value-j);const te=Math.round(j/Math.max(1,i.value)*(m.value.length-1));$.value=Math.min(m.value.length-1,Math.max(0,te)),V.value=H.clientX-I.left}function B(){$.value=null}const O=(0,n.computed)(()=>$.value==null?0:c(_.value($.value))),K=(0,n.computed)(()=>$.value==null?[]:S.value.map(H=>H.coords[$.value]).filter(Boolean).map((H,U)=>({x:H.x,y:H.y,color:S.value[U].color}))),Y=(0,n.computed)(()=>$.value==null?[]:f.value.map((H,U)=>({name:H.name,color:xt(H.color,U),value:St(H.points[$.value]?.y??0,p.value)}))),re=(0,n.computed)(()=>$.value==null?"":Wl(m.value[$.value])),G=(0,n.computed)(()=>$.value==null||!y.value?null:St(f.value.reduce((H,U)=>H+(U.points[$.value]?.y??0),0),p.value)),N=(0,n.computed)(()=>({left:`${Math.min(Math.max(V.value,70),Math.max(70,o.value-70))}px`}));return(H,U)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"el",ref:r,class:"bgl-chart w-100p relative",style:(0,n.normalizeStyle)({height:`${(0,n.unref)(a)}px`}),onMousemove:P,onMouseleave:B},[(0,n.unref)(o)?((0,n.openBlock)(),(0,n.createElementBlock)("svg",{key:0,width:(0,n.unref)(o),height:(0,n.unref)(a),class:"display-block overflow-hidden"},[C.value?((0,n.openBlock)(),(0,n.createElementBlock)("defs",pE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(S.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("linearGradient",{id:A(j),key:j,gradientUnits:"userSpaceOnUse",x1:0,y1:0,x2:0,y2:(0,n.unref)(s)},[(0,n.createElementVNode)("stop",{offset:"0%","stop-color":I.color,"stop-opacity":y.value?.9:.32},null,8,gE),(0,n.createElementVNode)("stop",{offset:"100%","stop-color":I.color,"stop-opacity":y.value?.15:.02},null,8,vE)],8,hE))),128))])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("g",{transform:`translate(${(0,n.unref)(l).left}, ${(0,n.unref)(l).top})`},[e.grid?((0,n.openBlock)(),(0,n.createElementBlock)("g",bE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(k.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("g",{key:j},[(0,n.createElementVNode)("line",{x1:0,x2:(0,n.unref)(i),y1:w.value(I),y2:w.value(I)},null,8,_E),(0,n.createElementVNode)("text",{class:"bgl-chart__ytick",x:-8,y:w.value(I)+3},(0,n.toDisplayString)((0,n.unref)(St)(I,h.value)),9,wE)]))),128))])):(0,n.createCommentVNode)("",!0),E.value?((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:1},(0,n.renderList)(S.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:`a${j}`,d:I.areaPath,fill:C.value?`url(#${A(j)})`:(0,n.unref)(_i)(I.color,y.value?78:14),stroke:"none",opacity:(0,n.unref)(d)},null,8,kE))),128)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(S.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:`l${j}`,d:I.line,stroke:I.color,"stroke-width":"2.5",fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-dasharray":D.value,"stroke-dashoffset":R.value},null,8,$E))),128)),e.points?((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:2},(0,n.renderList)(S.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("g",{key:`p${j}`},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(I.coords,(te,ae)=>((0,n.openBlock)(),(0,n.createElementBlock)("circle",{key:ae,cx:te.x,cy:te.y,r:"3.5",fill:I.color,class:"bgl-chart__pt",opacity:(0,n.unref)(d)},null,8,EE))),128))]))),128)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("g",CE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(m.value,(I,j)=>(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("text",{key:j,x:(0,n.unref)(c)(_.value(j)),y:(0,n.unref)(s)+16,"text-anchor":"middle"},(0,n.toDisplayString)((0,n.unref)(Wl)(I)),9,SE)),[[n.vShow,j%z.value===0]])),128))]),$.value!=null?((0,n.openBlock)(),(0,n.createElementBlock)("g",xE,[(0,n.createElementVNode)("line",{x1:O.value,x2:O.value,y1:0,y2:(0,n.unref)(s),class:"bgl-chart__crosshair"},null,8,TE),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(K.value,(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("circle",{key:j,cx:I.x,cy:I.y,r:"4",fill:I.color,class:"bgl-chart__hoverpt"},null,8,NE))),128))])):(0,n.createCommentVNode)("",!0)],8,yE)],8,mE)):(0,n.createCommentVNode)("",!0),$.value!=null?((0,n.openBlock)(),(0,n.createBlock)(Si,{key:1,prefer:"top",style:(0,n.normalizeStyle)(N.value),label:re.value,rows:Y.value,total:G.value},null,8,["style","label","rows","total"])):(0,n.createCommentVNode)("",!0)],36))}}),DE=be(BE,[["__scopeId","data-v-1df4279d"]]),AE={class:"bgl-chart-scroll w-100p overflow-x"},ME=["width","height"],LE={key:0},PE=["id"],IE=["stop-color"],VE=["stop-color"],OE=["transform"],RE={key:0,class:"bgl-chart__grid"},FE=["x2","y1","y2"],zE=["y"],UE=["x","y","width","height","rx","fill"],HE={class:"bgl-chart__xlabels"},WE=["x","y"],jE=(0,n.defineComponent)({__name:"BarChart",props:{data:{},series:{},labels:{},color:{},stacked:{type:Boolean},gradient:{type:Boolean},height:{default:220},grid:{type:Boolean,default:!0},radius:{default:4},currency:{},prefix:{},suffix:{},maxLabels:{default:12},minBarWidth:{default:28},animated:{type:Boolean,default:!0}},setup(e){const t=e,r=(0,n.ref)(),{width:o,height:a,pad:l,innerWidth:i,innerHeight:s,flipX:c}=Zh(r,{height:(0,n.computed)(()=>t.height)}),{progress:u}=Kr({el:r,enabled:t.animated,duration:700}),d=(0,n.computed)(()=>mu(t.data,t.series,{labels:t.labels,defaultColor:t.color})),f=(0,n.computed)(()=>mh(d.value)),m=(0,n.computed)(()=>t.minBarWidth>0&&f.value.length?Math.ceil(f.value.length*t.minBarWidth+l.value.left+l.value.right):0),p=(0,n.computed)(()=>({currency:t.currency,prefix:t.prefix,suffix:t.suffix})),h=(0,n.computed)(()=>({...p.value,compact:!0})),y=(0,n.computed)(()=>f.value.map((O,K)=>d.value.reduce((Y,re)=>Y+(re.points[K]?.y??0),0))),b=(0,n.computed)(()=>ph(t.stacked?Math.max(0,...y.value):Math.max(0,...nc(d.value)))),g=(0,n.computed)(()=>ya(0,b.value,s.value,0)),v=(0,n.computed)(()=>t.grid?hh(0,b.value,4):[]),_=(0,n.computed)(()=>Qb(f.value.length,i.value,.3)),w=(0,n.computed)(()=>{const O=t.stacked?1:d.value.length,K=_.value.bandWidth/O;return{width:K,at:Y=>Y*K}}),k=(0,n.computed)(()=>{const O=[];return f.value.forEach((K,Y)=>{const re=_.value.start(Y);let G=s.value;d.value.forEach((N,H)=>{const U=N.points[Y]?.y??0,I=xt(N.color,H),j=s.value-g.value(U),te=j*u.value,ae=w.value.width,we=t.stacked?re:re+w.value.at(H),J=t.stacked?G-te:s.value-te;t.stacked&&(G-=j),O.push({x:c(we+ae/2)-ae/2,y:J,w:ae,h:te,color:I,cat:Y})})}),O}),S=(0,n.computed)(()=>Math.max(1,Math.ceil(f.value.length/t.maxLabels))),E=wi("bar"),C=(0,n.computed)(()=>[...new Set(k.value.map(O=>O.color))]),M=O=>`${E}-${C.value.indexOf(O)}`,A=(0,n.ref)(null),z=(0,n.ref)(0);function D(O){const K=r.value;if(!K||!f.value.length)return;const Y=K.getBoundingClientRect();let re=O.clientX-Y.left-l.value.left;c(0)!==0&&(re=i.value-re);const G=Math.floor(re/Math.max(1,i.value)*f.value.length);A.value=Math.min(f.value.length-1,Math.max(0,G)),z.value=O.clientX-Y.left}function R(){A.value=null}const $=(0,n.computed)(()=>A.value==null?"":Wl(f.value[A.value])),V=(0,n.computed)(()=>A.value==null?[]:d.value.map((O,K)=>({name:O.name,color:xt(O.color,K),value:St(O.points[A.value]?.y??0,p.value)}))),P=(0,n.computed)(()=>A.value==null||!t.stacked?null:St(y.value[A.value]??0,p.value)),B=(0,n.computed)(()=>({left:`${Math.min(Math.max(z.value,70),Math.max(70,o.value-70))}px`}));return(O,K)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",AE,[(0,n.createElementVNode)("div",{ref_key:"el",ref:r,class:"bgl-chart relative",style:(0,n.normalizeStyle)({height:`${(0,n.unref)(a)}px`,minWidth:m.value?`${m.value}px`:void 0}),onMousemove:D,onMouseleave:R},[(0,n.unref)(o)?((0,n.openBlock)(),(0,n.createElementBlock)("svg",{key:0,width:(0,n.unref)(o),height:(0,n.unref)(a),class:"display-block overflow-hidden"},[e.gradient?((0,n.openBlock)(),(0,n.createElementBlock)("defs",LE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(C.value,Y=>((0,n.openBlock)(),(0,n.createElementBlock)("linearGradient",{id:M(Y),key:Y,x1:"0",y1:"0",x2:"0",y2:"1"},[(0,n.createElementVNode)("stop",{offset:"0%","stop-color":Y,"stop-opacity":"1"},null,8,IE),(0,n.createElementVNode)("stop",{offset:"100%","stop-color":Y,"stop-opacity":"0.55"},null,8,VE)],8,PE))),128))])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("g",{transform:`translate(${(0,n.unref)(l).left}, ${(0,n.unref)(l).top})`},[e.grid?((0,n.openBlock)(),(0,n.createElementBlock)("g",RE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(v.value,(Y,re)=>((0,n.openBlock)(),(0,n.createElementBlock)("g",{key:re},[(0,n.createElementVNode)("line",{x1:0,x2:(0,n.unref)(i),y1:g.value(Y),y2:g.value(Y)},null,8,FE),(0,n.createElementVNode)("text",{class:"bgl-chart__ytick",x:-8,y:g.value(Y)+3},(0,n.toDisplayString)((0,n.unref)(St)(Y,h.value)),9,zE)]))),128))])):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(k.value,(Y,re)=>((0,n.openBlock)(),(0,n.createElementBlock)("rect",{key:re,x:Y.x,y:Y.y,width:Math.max(0,Y.w),height:Math.max(0,Y.h),rx:Math.min(e.radius,Y.w/2),fill:e.gradient?`url(#${M(Y.color)})`:Y.color,class:(0,n.normalizeClass)(["bgl-chart__bar",{"is-dim opacity-5":A.value!=null&&A.value!==Y.cat}])},null,10,UE))),128)),(0,n.createElementVNode)("g",HE,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(f.value,(Y,re)=>(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("text",{key:re,x:(0,n.unref)(c)(_.value.center(re)),y:(0,n.unref)(s)+16,"text-anchor":"middle"},(0,n.toDisplayString)((0,n.unref)(Wl)(Y)),9,WE)),[[n.vShow,re%S.value===0]])),128))])],8,OE)],8,ME)):(0,n.createCommentVNode)("",!0),A.value!=null?((0,n.openBlock)(),(0,n.createBlock)(Si,{key:1,prefer:"top",style:(0,n.normalizeStyle)(B.value),label:$.value,rows:V.value,total:P.value},null,8,["style","label","rows","total"])):(0,n.createCommentVNode)("",!0)],36)]))}}),qE=be(jE,[["__scopeId","data-v-21372cf5"]]),GE=["width","height","viewBox"],YE=["d","fill","onMouseenter"],XE=["x","y"],KE=["x"],JE=["x","dy"],ZE=["x","dy"],QE={key:0,class:"absolute-fill flex-center column pointer-events-none gap-025"},eC={key:0,class:"semibold txt20 line-height-1"},tC={key:1,class:"color-gray txt12"},nC={key:0,class:"bgl-donut__legend grid gap-025"},rC={class:"bgl-donut__legname ms-0 me-auto my-0 p-0"},oC={key:0,class:"semibold tabular-nums"},aC={key:1,class:"bgl-donut__legpct color-gray tabular-nums txt-end"},lC=(0,n.defineComponent)({name:"BglDonut",__name:"Donut",props:{data:{},size:{default:180},thickness:{default:.38},pie:{type:Boolean},legend:{type:Boolean,default:!0},legendValue:{type:Boolean,default:!0},legendPct:{type:Boolean,default:!0},color:{default:"primary"},mode:{default:"shades"},centerLabel:{},centerValue:{},showTotal:{type:Boolean,default:!1},currency:{},labels:{type:[Boolean,String],default:!1},labelMinShare:{default:.05},animated:{type:Boolean,default:!0}},setup(e){const t=e,{$t:r}=ot(),o=(0,n.ref)(),{progress:a}=Kr({el:o,enabled:t.animated,duration:800}),l=(0,n.computed)(()=>({currency:t.currency,compact:!0}));function i(S){return St(S,{currency:t.currency,compact:!0})}const s=(0,n.computed)(()=>t.data.reduce((S,E)=>S+Math.max(0,E.value),0)||1),c=(0,n.computed)(()=>t.size/2),u=(0,n.computed)(()=>t.pie?0:c.value*(1-t.thickness)),d=(0,n.computed)(()=>{const S=c.value,E=u.value,C=S,M=S,A=E+(S-E)*.68;let z=-Math.PI/2;return t.data.map((D,R)=>{const $=Math.max(0,D.value)/s.value,V=$*Math.PI*2*a.value,P=z,B=z+V;z=B;const O=(P+B)/2,K=V>Math.PI?1:0,Y=C+S*Math.cos(P),re=M+S*Math.sin(P),G=C+S*Math.cos(B),N=M+S*Math.sin(B);let H;E>0?H=`M ${Y} ${re} A ${S} ${S} 0 ${K} 1 ${G} ${N} L ${C+E*Math.cos(B)} ${M+E*Math.sin(B)} A ${E} ${E} 0 ${K} 0 ${C+E*Math.cos(P)} ${M+E*Math.sin(P)} Z`:H=`M ${C} ${M} L ${Y} ${re} A ${S} ${S} 0 ${K} 1 ${G} ${N} Z`;const U=D.color?xt(D.color):t.mode==="multi"?xt(void 0,R):pu(t.color,t.data.length,R),I=$*100,j=!!t.labels&&$>=t.labelMinShare;return{d:H,color:U,label:D.label,value:D.value,pct:I,lx:C+A*Math.cos(O),ly:M+A*Math.sin(O),tagged:j,tagName:j&&t.labels==="full"?D.label:"",tagValue:j&&t.labels!=="pct"?i(D.value):"",tagPct:j&&t.labels!=="value"?`${I.toFixed(0)}%`:""}})}),f=(0,n.computed)(()=>t.centerValue!==void 0?String(t.centerValue):t.showTotal?St(s.value,l.value):""),m=(0,n.ref)(null),p=(0,n.ref)(0),h=(0,n.ref)(0);function y(S){m.value=S}function b(){m.value=null}function g(S){const E=S.currentTarget.getBoundingClientRect();p.value=S.clientX-E.left,h.value=S.clientY-E.top}const v=(0,n.computed)(()=>m.value==null?null:d.value[m.value]),_=(0,n.computed)(()=>v.value?i(v.value.value):""),w=(0,n.computed)(()=>v.value?[{label:r("charts.share"),value:`${v.value.pct.toFixed(0)}%`}]:[]),k=(0,n.computed)(()=>({left:`${p.value}px`,top:`${h.value}px`}));return(S,E)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"el",ref:o,class:(0,n.normalizeClass)(["bgl-donut w-100p inline-flex gap-1",e.legend?"row flex-wrap justify-content-center":"column"])},[(0,n.createElementVNode)("div",{class:"bgl-donut__chart relative flex-shrink-0",style:(0,n.normalizeStyle)({width:`${e.size}px`,height:`${e.size}px`}),onMousemove:g,onMouseleave:b},[((0,n.openBlock)(),(0,n.createElementBlock)("svg",{width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,(C,M)=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:M,d:C.d,fill:C.color,class:(0,n.normalizeClass)(["bgl-donut__slice cursor-pointer",{"opacity-5":m.value!=null&&m.value!==M}]),onMouseenter:A=>y(M)},null,42,YE))),128)),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,(C,M)=>(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("text",{key:`t${M}`,x:C.lx,y:C.ly,class:"bgl-donut__tag pointer-events-none","text-anchor":"middle","dominant-baseline":"central"},[C.tagName?((0,n.openBlock)(),(0,n.createElementBlock)("tspan",{key:0,x:C.lx,dy:"-0.7em",class:"bgl-donut__tag-name opacity-9 txt-medium txt-0625rem"},(0,n.toDisplayString)(C.tagName),9,KE)):(0,n.createCommentVNode)("",!0),C.tagValue?((0,n.openBlock)(),(0,n.createElementBlock)("tspan",{key:1,x:C.lx,dy:C.tagName?"1.15em":"0",class:"bgl-donut__tag-val txt-bold txt-0875rem"},(0,n.toDisplayString)(C.tagValue),9,JE)):(0,n.createCommentVNode)("",!0),C.tagPct?((0,n.openBlock)(),(0,n.createElementBlock)("tspan",{key:2,x:C.lx,dy:C.tagName||C.tagValue?"1.5em":"0",class:"bgl-donut__tag-pct opacity-9 txt-05rem"},(0,n.toDisplayString)(C.tagPct),9,ZE)):(0,n.createCommentVNode)("",!0)],8,XE)),[[n.vShow,C.tagged]])),128))],8,GE)),!e.pie&&(f.value||e.centerLabel)?((0,n.openBlock)(),(0,n.createElementBlock)("div",QE,[f.value?((0,n.openBlock)(),(0,n.createElementBlock)("span",eC,(0,n.toDisplayString)(f.value),1)):(0,n.createCommentVNode)("",!0),e.centerLabel?((0,n.openBlock)(),(0,n.createElementBlock)("span",tC,(0,n.toDisplayString)(e.centerLabel),1)):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0),v.value?((0,n.openBlock)(),(0,n.createBlock)(Si,{key:1,prefer:"above",style:(0,n.normalizeStyle)(k.value),label:v.value.label,hero:_.value,stats:w.value},null,8,["style","label","hero","stats"])):(0,n.createCommentVNode)("",!0)],36),e.legend?((0,n.openBlock)(),(0,n.createElementBlock)("ul",nC,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,(C,M)=>((0,n.openBlock)(),(0,n.createElementBlock)("li",{key:M,class:"flex gap-05 txt13"},[(0,n.createElementVNode)("span",{class:"bgl-donut__dot flex-shrink-0",style:(0,n.normalizeStyle)({background:C.color})},null,4),(0,n.createElementVNode)("span",rC,(0,n.toDisplayString)(C.label),1),e.legendValue?((0,n.openBlock)(),(0,n.createElementBlock)("span",oC,(0,n.toDisplayString)(i(C.value)),1)):(0,n.createCommentVNode)("",!0),e.legendPct?((0,n.openBlock)(),(0,n.createElementBlock)("span",aC,(0,n.toDisplayString)(C.pct.toFixed(0))+"%",1)):(0,n.createCommentVNode)("",!0)]))),128))])):(0,n.createCommentVNode)("",!0)],2))}}),iC=be(lC,[["__scopeId","data-v-47e2d1bb"]]),sC=["viewBox"],cC={key:0},uC=["id","x2","y2"],dC=["stop-color"],fC=["stop-color"],mC=["d","fill","onMouseenter"],pC=["d","fill"],hC=["d","onMouseenter"],gC={class:"bgl-funnel__axis"},vC=["title"],yC={class:"bgl-funnel__val txt24 bold"},bC={key:1,class:"bgl-funnel__legend flex flex-wrap justify-content-center"},_C=["title"],wC={class:"bgl-funnel__bar-wrap flex justify-content-center"},kC={class:"bgl-funnel__val semibold"},il=100,$C=1,EC=(0,n.defineComponent)({name:"BglFunnel",__name:"Funnel",props:{data:{},stages:{},series:{},flow:{type:Boolean,default:!0},orientation:{default:"vertical"},color:{default:"primary"},mode:{default:"shades"},gradient:{type:Boolean,default:!0},bandHeight:{default:52},fromPrev:{type:Boolean,default:!0},fromTop:{type:Boolean,default:!0},currency:{},prefix:{},suffix:{},animated:{type:Boolean,default:!0}},setup(e){const t=e,r=(0,n.ref)(),{progress:o}=Kr({el:r,enabled:t.animated,duration:700}),a=(0,n.computed)(()=>({currency:t.currency,prefix:t.prefix,suffix:t.suffix})),l=wi("funnel"),i=(0,n.computed)(()=>!!t.series?.length),s=(0,n.computed)(()=>(t.series??[]).map((R,$)=>({name:R.name,color:xt(R.color,$)}))),c=(0,n.computed)(()=>i.value?(t.stages??[]).map((R,$)=>({label:String(R),value:(t.series??[]).reduce((V,P)=>V+(P.data[$]??0),0)})):t.data??[]),u=(0,n.computed)(()=>{const R=c.value[0]?.value||1;return c.value.map(($,V)=>{const P=c.value[V-1]?.value,B=$.color?xt($.color):t.mode==="multi"?xt(void 0,V):pu(t.color,c.value.length,V),O=$.value/R*100,K=P?$.value/P*100:100,Y=V===0,re=[`<b>${St($.value,a.value)}</b>`];!Y&&t.fromTop&&re.push(`${O.toFixed(1)}% of top`),!Y&&t.fromPrev&&re.push(`${K.toFixed(1)}% from previous`),i.value&&(t.series??[]).forEach(N=>{const H=N.data[V]??0;H>0&&re.push(`<span style="opacity:.7">${N.name}:</span> ${St(H,a.value)}`)});const G=i.value?(t.series??[]).map((N,H)=>({name:N.name,color:s.value[H].color,value:St(N.data[V]??0,a.value),raw:N.data[V]??0})).filter(N=>N.raw>0):[{name:$.label,color:B,value:St($.value,a.value),raw:$.value}];return{label:$.label,value:$.value,display:St($.value,a.value),frac:$.value/R,fromTop:O,fromPrev:K,isFirst:Y,color:B,rows:G,tip:`<div style="text-align:center">${$.label}<br>${re.join("<br>")}</div>`,barFill:t.gradient?`linear-gradient(90deg, color-mix(in srgb, ${B} 82%, black), ${B})`:B}})}),d=(0,n.computed)(()=>t.orientation==="horizontal"),f=(0,n.computed)(()=>u.value.length*t.bandHeight),m=(0,n.computed)(()=>d.value?f.value:il),p=(0,n.computed)(()=>d.value?il:f.value);function h(R,$){const V=il/2+$;return d.value?`${R} ${V}`:`${V} ${R}`}function y(R){return(il/2-$C)*R*o.value+.4}function b(R,$,V,P,B,O){const K=(R+$)/2;return`M ${h(R,V)} L ${h(R,P)} C ${h(K,P)} ${h(K,O)} ${h($,O)} L ${h($,B)} C ${h(K,B)} ${h(K,V)} ${h(R,V)} Z`}const g=(0,n.computed)(()=>{const R=t.bandHeight;return u.value.map(($,V)=>{const P=u.value[V+1]??$,B=V*R,O=(V+1)*R,K=y($.frac),Y=y(P.frac);return{...$,path:b(B,O,-K,K,-Y,Y),gradId:`${l}-${V}`}})}),v=(0,n.computed)(()=>{if(!i.value)return[];const R=t.bandHeight,$=t.series??[],V=[];return u.value.forEach((P,B)=>{const O=B===u.value.length-1,K=u.value[B+1]??P,Y=B*R,re=(B+1)*R,G=P.value||1,N=K.value||1,H=-y(P.frac),U=y(P.frac)*2,I=-y(K.frac),j=y(K.frac)*2;let te=0,ae=0;$.forEach((we,J)=>{const ue=(we.data[B]??0)/G,pe=O?ue:(we.data[B+1]??0)/N,ve=H+te*U,ce=H+(te+ue)*U,ne=I+ae*j,fe=I+(ae+pe)*j;te+=ue,ae+=pe,V.push({path:b(Y,re,ve,ce,ne,fe),color:s.value[J].color,key:`${B}-${J}`})})}),V}),_=(0,n.ref)(null),w=(0,n.ref)(0),k=(0,n.ref)(0);function S(R){_.value=R}function E(){_.value=null}function C(R){const $=R.currentTarget.getBoundingClientRect();w.value=R.clientX-$.left,k.value=R.clientY-$.top}const M=(0,n.computed)(()=>_.value==null?null:u.value[_.value]),A=(0,n.computed)(()=>{const R=M.value;if(!R)return[];const $=[];return!R.isFirst&&t.fromPrev&&$.push({label:"From previous",value:`${R.fromPrev.toFixed(1)}%`}),!R.isFirst&&t.fromTop&&$.push({label:"Of top",value:`${R.fromTop.toFixed(1)}%`}),$}),z=(0,n.computed)(()=>{const R=M.value;return R&&i.value?R.display:null}),D=(0,n.computed)(()=>({left:`${w.value}px`,top:`${k.value}px`}));return(R,$)=>{const V=(0,n.resolveDirective)("tooltip");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"el",ref:r,class:(0,n.normalizeClass)(["bgl-funnel w-100p relative",[{"bgl-funnel--bars":!e.flow},e.flow?`bgl-funnel--${e.orientation}`:""]])},[e.flow?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"bgl-funnel__flow relative",onMousemove:C,onMouseleave:E},[((0,n.openBlock)(),(0,n.createElementBlock)("svg",{class:"bgl-funnel__svg display-block",viewBox:`0 0 ${m.value} ${p.value}`,style:(0,n.normalizeStyle)(d.value?{height:`${e.bandHeight*3}px`}:{height:`${p.value}px`}),preserveAspectRatio:"none"},[e.gradient&&!i.value?((0,n.openBlock)(),(0,n.createElementBlock)("defs",cC,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(g.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("linearGradient",{id:P.gradId,key:B,x1:0,y1:0,x2:d.value?0:1,y2:d.value?1:0},[(0,n.createElementVNode)("stop",{offset:"0%","stop-color":`color-mix(in srgb, ${P.color} 78%, black)`},null,8,dC),(0,n.createElementVNode)("stop",{offset:"100%","stop-color":P.color},null,8,fC)],8,uC))),128))])):(0,n.createCommentVNode)("",!0),i.value?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:2},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(v.value,P=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:P.key,d:P.path,fill:P.color,class:"bgl-funnel__sub"},null,8,pC))),128)),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(g.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:`hit${B}`,d:P.path,fill:"transparent",class:"bgl-funnel__hit",onMouseenter:O=>S(B)},null,40,hC))),128))],64)):((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:1},(0,n.renderList)(g.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("path",{key:B,d:P.path,fill:e.gradient?`url(#${P.gradId})`:P.color,class:(0,n.normalizeClass)(["bgl-funnel__seg",{"is-dim opacity-5":_.value!=null&&_.value!==B}]),onMouseenter:O=>S(B)},null,42,mC))),128))],12,sC)),M.value?((0,n.openBlock)(),(0,n.createBlock)(Si,{key:0,prefer:"above",style:(0,n.normalizeStyle)(D.value),label:M.value.label,hero:i.value?void 0:M.value.display,rows:i.value?M.value.rows:[],total:i.value?z.value:null,stats:A.value},null,8,["style","label","hero","rows","total","stats"])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",gC,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(g.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:B,class:"bgl-funnel__tick p-05",style:(0,n.normalizeStyle)(d.value?{flex:"1 1 0"}:{height:`${e.bandHeight}px`})},[(0,n.createElementVNode)("span",{class:"bgl-funnel__name ellipsis-1 txt12 light opacity-6",title:P.label},(0,n.toDisplayString)(P.label),9,vC),(0,n.createElementVNode)("span",yC,(0,n.toDisplayString)(P.display),1)],4))),128))])],32)):(0,n.createCommentVNode)("",!0),e.flow&&i.value?((0,n.openBlock)(),(0,n.createElementBlock)("ul",bC,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("li",{key:B,class:"flex align-items-center"},[(0,n.createElementVNode)("span",{class:"bgl-funnel__dot",style:(0,n.normalizeStyle)({background:P.color})},null,4),(0,n.createTextVNode)((0,n.toDisplayString)(P.name),1)]))),128))])):(0,n.createCommentVNode)("",!0),e.flow?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:2},(0,n.renderList)(u.value,(P,B)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:B,class:"bgl-funnel__stage"},[(0,n.createElementVNode)("span",{class:"bgl-funnel__name txt-0875rem ellipsis-1",title:P.label},(0,n.toDisplayString)(P.label),9,_C),(0,n.createElementVNode)("div",wC,[(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:"bgl-funnel__bar flex flex-center",style:(0,n.normalizeStyle)({width:`${Math.max(4,P.fromTop)}%`,background:P.barFill})},[(0,n.createElementVNode)("span",kC,(0,n.toDisplayString)(P.display),1)],4)),[[V,{content:P.tip,html:!0}]])])]))),128))],2)}}}),CC=be(EC,[["__scopeId","data-v-41101c97"]]),SC=["width","height","viewBox"],xC=["d","stroke","stroke-width"],TC=["d","stroke","stroke-width"],NC={key:0,class:"absolute-fill flex-center column pointer-events-none gap-025"},BC={key:0,class:"semibold txt24 line-height-1"},DC={key:1,class:"color-gray txt12"},AC=(0,n.defineComponent)({name:"BglGauge",__name:"Gauge",props:{value:{},max:{default:100},min:{default:0},size:{default:160},thickness:{default:12},color:{},label:{},full:{type:Boolean},showValue:{type:Boolean,default:!0},prefix:{},suffix:{},animated:{type:Boolean,default:!0}},setup(e){const t=e,r=(0,n.ref)(),{progress:o}=Kr({el:r,enabled:t.animated,duration:900}),a=(0,n.computed)(()=>xt(t.color)),l=(0,n.computed)(()=>(t.size-t.thickness)/2),i=(0,n.computed)(()=>t.size/2),s=(0,n.computed)(()=>t.full?360:270),c=(0,n.computed)(()=>t.full?-90:135),u=(0,n.computed)(()=>{const y=t.max-t.min||1;return Math.min(1,Math.max(0,(t.value-t.min)/y))});function d(y){const b=y*Math.PI/180;return{x:i.value+l.value*Math.cos(b),y:i.value+l.value*Math.sin(b)}}function f(y){const b=s.value*y;if(b<=0)return"";const g=c.value,v=c.value+b,_=d(g),w=d(v),k=b>180?1:0;return`M ${_.x} ${_.y} A ${l.value} ${l.value} 0 ${k} 1 ${w.x} ${w.y}`}const m=(0,n.computed)(()=>f(1)),p=(0,n.computed)(()=>f(u.value*o.value)),h=(0,n.computed)(()=>St(t.value,{prefix:t.prefix,suffix:t.suffix}));return(y,b)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"el",ref:r,class:"bgl-gauge relative inline-block",style:(0,n.normalizeStyle)({width:`${e.size}px`,height:`${e.size}px`})},[((0,n.openBlock)(),(0,n.createElementBlock)("svg",{width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`,class:"display-block"},[(0,n.createElementVNode)("path",{d:m.value,stroke:(0,n.unref)(_i)(a.value,14),"stroke-width":e.thickness,fill:"none","stroke-linecap":"round"},null,8,xC),(0,n.createElementVNode)("path",{d:p.value,stroke:a.value,"stroke-width":e.thickness,fill:"none","stroke-linecap":"round"},null,8,TC)],8,SC)),e.showValue||e.label?((0,n.openBlock)(),(0,n.createElementBlock)("div",NC,[e.showValue?((0,n.openBlock)(),(0,n.createElementBlock)("span",BC,(0,n.toDisplayString)(h.value),1)):(0,n.createCommentVNode)("",!0),e.label?((0,n.openBlock)(),(0,n.createElementBlock)("span",DC,(0,n.toDisplayString)(e.label),1)):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0)],4))}}),MC=be(AC,[["__scopeId","data-v-3400bb99"]]),LC=["width","height","viewBox"],PC=["d","stroke","stroke-width"],IC=["d","stroke","stroke-width","stroke-dasharray","transform"],VC={key:0,class:"bgl-radial__legend grid gap-05 m-0 min-w-0"},OC={class:"bgl-radial__val semibold tabular-nums ms-auto"},RC=(0,n.defineComponent)({__name:"RadialBars",props:{data:{},max:{default:100},size:{default:180},thickness:{default:14},gap:{default:6},legend:{type:Boolean,default:!0},suffix:{default:"%"},animated:{type:Boolean,default:!0}},setup(e){const t=e,r=(0,n.ref)(),{progress:o}=Kr({el:r,enabled:t.animated,duration:900}),a=(0,n.computed)(()=>t.size/2);function l(s){const c=a.value;return`M ${c} ${c-s} A ${s} ${s} 0 1 1 ${c-.001} ${c-s} Z`}const i=(0,n.computed)(()=>t.data.map((s,c)=>{const u=a.value-t.thickness/2-c*(t.thickness+t.gap),d=s.max??t.max,f=Math.min(1,Math.max(0,s.value/(d||1))),m=2*Math.PI*u;return{path:l(u),color:xt(s.color,c),label:s.label,display:`${s.value}${t.suffix}`,circ:m,filled:m*f*o.value}}));return(s,c)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"el",ref:r,class:(0,n.normalizeClass)(["bgl-radial inline-flex gap-1",e.legend?"row":"column"])},[((0,n.openBlock)(),(0,n.createElementBlock)("svg",{width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`,class:"bgl-radial__svg flex-shrink-0"},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.value,(u,d)=>((0,n.openBlock)(),(0,n.createElementBlock)("g",{key:d},[(0,n.createElementVNode)("path",{d:u.path,stroke:(0,n.unref)(_i)(u.color,14),"stroke-width":e.thickness,fill:"none","stroke-linecap":"round"},null,8,PC),(0,n.createElementVNode)("path",{d:u.path,stroke:u.color,"stroke-width":e.thickness,fill:"none","stroke-linecap":"round","stroke-dasharray":`${u.filled} ${u.circ}`,transform:`rotate(-90 ${a.value} ${a.value})`},null,8,IC)]))),128))],8,LC)),e.legend?((0,n.openBlock)(),(0,n.createElementBlock)("ul",VC,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.value,(u,d)=>((0,n.openBlock)(),(0,n.createElementBlock)("li",{key:d,class:"flex align-items-center gap-05 txt13"},[(0,n.createElementVNode)("span",{class:"bgl-radial__dot flex-shrink-0",style:(0,n.normalizeStyle)({background:u.color})},null,4),(0,n.createElementVNode)("span",null,(0,n.toDisplayString)(u.label),1),(0,n.createElementVNode)("span",OC,(0,n.toDisplayString)(u.display),1)]))),128))])):(0,n.createCommentVNode)("",!0)],2))}}),FC=be(RC,[["__scopeId","data-v-74f89de2"]]),zC={class:"bgl-rank grid w-100p gap-05 overflow"},UC=["title"],HC={class:"bgl-rank__track overflow-hidden round"},WC={class:"txt13 tabular-nums semibold"},jC=(0,n.defineComponent)({__name:"RankBars",props:{data:{},color:{default:"primary"},mode:{default:"shades"},maxRows:{},sort:{type:Boolean,default:!0},currency:{},prefix:{},suffix:{}},setup(e){const t=e,r=(0,n.computed)(()=>({currency:t.currency,prefix:t.prefix,suffix:t.suffix})),o=(0,n.computed)(()=>{let a=[...t.data];t.sort&&a.sort((i,s)=>s.value-i.value),t.maxRows&&(a=a.slice(0,t.maxRows));const l=Math.max(1,...a.map(i=>i.value));return a.map((i,s)=>({label:i.label,value:i.value,display:St(i.value,r.value),pct:i.value/l*100,color:i.color?xt(i.color):t.mode==="multi"?xt(void 0,s):pu(t.color,a.length,s)}))});return(a,l)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",zC,[(0,n.createElementVNode)("div",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.value,(i,s)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:s,class:"bgl-rank__row align-items-center grid gap-075"},[(0,n.createElementVNode)("span",{class:"bgl-rank__label ellipsis-1 txt14",title:i.label},(0,n.toDisplayString)(i.label),9,UC),(0,n.createElementVNode)("span",HC,[(0,n.createElementVNode)("span",{class:"bgl-rank__bar display-block round",style:(0,n.normalizeStyle)({width:`${i.pct}%`,background:i.color})},null,4)]),(0,n.createElementVNode)("span",WC,(0,n.toDisplayString)(i.display),1)]))),128))])]))}}),qC=be(jC,[["__scopeId","data-v-915ec0fd"]]),GC={key:0,class:"card_label block label"},YC={key:1,class:"card_header flex space-between align-items-center w-100p"},XC={key:0,class:"card_header_start flex align-items-center gap-05"},KC={class:"card_header_main flex-grow w-100p"},JC={class:"card_header_title"},ZC={key:1,class:"card_header_action flex align-items-center gap-05"},QC={key:2,class:"card_footer flex space-between align-items-center"},eS={key:0,class:"card_footer_start flex align-items-center gap-05"},tS={class:"card_footer_main flex-grow"},nS={key:1,class:"card_footer_end flex align-items-center gap-05"},rS=(0,n.defineComponent)({name:"BglCard",__name:"Card",props:{label:{},title:{},thin:{type:Boolean},outline:{type:Boolean},h100:{type:Boolean},to:{},href:{},overflowX:{type:Boolean},overflowY:{type:Boolean},frame:{type:Boolean},frost:{type:Boolean},color:{},gradient:{type:[Boolean,String]},gradientDir:{},bg:{}},setup(e){const t=(0,n.useSlots)(),r=e,{isGradient:o,gradientStyle:a}=qi({gradient:()=>r.gradient,gradientDir:()=>r.gradientDir,color:()=>r.color}),l=(0,n.computed)(()=>{if(o.value)return`pair-${r.color||"primary"}`;if(r.frost)return`pair-${r.color||"white"}`}),i=(0,n.computed)(()=>{const d={};return r.href!==void 0&&r.href!==""?d.href=r.href:r.to!==void 0&&r.to!==""&&(d.to=r.to),d}),s=(0,n.computed)(()=>r.href!==void 0&&r.href!==""?"a":r.to!==void 0&&r.to!==""?"router-link":"div"),c=(0,n.computed)(()=>!!(r.title||t.header||t["header-action"]||t["top-start"]||t["top-end"])),u=(0,n.computed)(()=>!!(t.footer||t["bottom-start"]||t["bottom-end"]));return(d,f)=>{const m=(0,n.resolveDirective)("ripple");return(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(s.value),(0,n.mergeProps)(i.value,{class:["bgl_card",[{thin:e.thin,"border bg-transparent":e.outline,"h-100":e.h100,[e.bg||""]:e.bg,"overflow-x":e.overflowX,"overflow-y":e.overflowY,card_frame:e.frame,gradient:(0,n.unref)(o),frost:e.frost&&!(0,n.unref)(o)},l.value]],style:(0,n.unref)(a)}),{default:(0,n.withCtx)(()=>[e.label?((0,n.openBlock)(),(0,n.createElementBlock)("span",GC,(0,n.toDisplayString)(e.label),1)):(0,n.createCommentVNode)("",!0),c.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",YC,[d.$slots["top-start"]?((0,n.openBlock)(),(0,n.createElementBlock)("span",XC,[(0,n.renderSlot)(d.$slots,"top-start")])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("span",KC,[(0,n.renderSlot)(d.$slots,"header",{},()=>[(0,n.createElementVNode)("span",JC,(0,n.toDisplayString)(e.title),1)])]),d.$slots["top-end"]||d.$slots["header-action"]?((0,n.openBlock)(),(0,n.createElementBlock)("span",ZC,[(0,n.renderSlot)(d.$slots,"top-end",{},()=>[(0,n.renderSlot)(d.$slots,"header-action")])])):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(d.$slots,"default"),u.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",QC,[d.$slots["bottom-start"]?((0,n.openBlock)(),(0,n.createElementBlock)("span",eS,[(0,n.renderSlot)(d.$slots,"bottom-start")])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("span",tS,[(0,n.renderSlot)(d.$slots,"footer")]),d.$slots["bottom-end"]?((0,n.openBlock)(),(0,n.createElementBlock)("span",nS,[(0,n.renderSlot)(d.$slots,"bottom-end")])):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0)]),_:3},16,["class","style"])),[[m,!!e.to]])}}}),sr=rS;const gc=["trash-can","message","file-lines","calendar-days","hand-point-right","face-smile-beam","face-grin-stars","address-book","comments","paste","face-grin-tongue-squint","face-flushed","square-caret-right","square-minus","compass","square-caret-down","face-kiss-beam","lightbulb","flag","square-check","circle-dot","face-dizzy","futbol","pen-to-square","hourglass-half","eye-slash","hand","hand-spock","face-kiss","face-grin-tongue","chess-bishop","face-grin-wink","face-grin-wide","face-frown-open","hand-point-up","bookmark","hand-point-down","folder","user","square-caret-left","star","chess-knight","face-laugh-squint","face-laugh","folder-open","clipboard","chess-queen","hand-back-fist","square-caret-up","chart-bar","window-restore","square-plus","image","folder-closed","lemon","handshake","gem","circle-play","circle-check","circle-stop","id-badge","face-laugh-beam","registered","address-card","face-tired","font-awesome","face-smile-wink","file-word","file-powerpoint","envelope-open","file-zipper","square","snowflake","newspaper","face-kiss-wink-heart","star-half-stroke","file-excel","face-grin-beam","object-ungroup","circle-right","face-rolling-eyes","object-group","heart","face-surprise","circle-pause","circle","circle-up","file-audio","file-image","circle-question","face-meh-blank","eye","face-sad-cry","file-code","window-maximize","face-frown","floppy-disk","comment-dots","face-grin-squint","hand-pointer","hand-scissors","face-grin-tears","calendar-xmark","file-video","file-pdf","comment","envelope","hourglass","calendar-check","hard-drive","face-grin-squint-tears","rectangle-list","calendar-plus","circle-left","money-bill-1","clock","keyboard","closed-captioning","images","face-grin","face-meh","id-card","sun","face-laugh-wink","circle-down","thumbs-down","chess-pawn","credit-card","bell","file","hospital","chess-rook","star-half","chess-king","circle-user","copy","share-from-square","copyright","map","bell-slash","hand-lizard","face-smile","hand-peace","face-grin-hearts","building","face-grin-beam-sweat","moon","calendar","face-grin-tongue-wink","clone","face-angry","rectangle-xmark","paper-plane","life-ring","face-grimace","calendar-minus","circle-xmark","thumbs-up","window-minimize","square-full","note-sticky","face-sad-tear","hand-point-left"],Sl=["monero","hooli","yelp","cc-visa","lastfm","shopware","creative-commons-nc","aws","redhat","yoast","cloudflare","ups","pixiv","wpexplorer","dyalog","bity","stackpath","buysellads","first-order","modx","guilded","vnv","square-js","microsoft","qq","orcid","java","invision","creative-commons-pd-alt","centercode","glide-g","drupal","jxl","dart-lang","hire-a-helper","creative-commons-by","unity","whmcs","rocketchat","vk","untappd","mailchimp","css3-alt","square-reddit","vimeo-v","contao","square-font-awesome","deskpro","brave","sistrix","square-instagram","battle-net","the-red-yeti","square-hacker-news","edge","threads","napster","square-snapchat","google-plus-g","artstation","markdown","sourcetree","google-plus","diaspora","foursquare","stack-overflow","github-alt","phoenix-squadron","pagelines","algolia","red-river","creative-commons-sa","safari","google","square-font-awesome-stroke","atlassian","linkedin-in","digital-ocean","nimblr","chromecast","evernote","hacker-news","creative-commons-sampling","adversal","creative-commons","watchman-monitoring","fonticons","weixin","shirtsinbulk","codepen","git-alt","lyft","rev","windows","wizards-of-the-coast","square-viadeo","meetup","centos","adn","cloudsmith","opensuse","pied-piper-alt","square-dribbble","codiepie","node","mix","steam","cc-apple-pay","scribd","debian","openid","instalod","files-pinwheel","expeditedssl","sellcast","square-twitter","r-project","delicious","freebsd","vuejs","accusoft","ioxhost","fonticons-fi","app-store","cc-mastercard","itunes-note","golang","kickstarter","grav","weibo","uncharted","firstdraft","square-youtube","wikipedia-w","wpressr","angellist","galactic-republic","nfc-directional","skype","joget","fedora","stripe-s","meta","laravel","hotjar","bluetooth-b","square-letterboxd","sticker-mule","creative-commons-zero","hips","css","behance","reddit","discord","chrome","app-store-ios","cc-discover","wpbeginner","confluence","shoelace","mdb","dochub","accessible-icon","ebay","amazon","unsplash","yarn","square-steam","500px","square-vimeo","asymmetrik","font-awesome","gratipay","apple","hive","gitkraken","keybase","apple-pay","padlet","amazon-pay","square-github","stumbleupon","fedex","phoenix-framework","shopify","neos","square-threads","hackerrank","researchgate","swift","angular","speakap","angrycreative","y-combinator","empire","envira","google-scholar","square-gitlab","studiovinari","pied-piper","wordpress","product-hunt","firefox","linode","goodreads","square-odnoklassniki","jsfiddle","sith","themeisle","page4","hashnode","react","cc-paypal","squarespace","cc-stripe","creative-commons-share","bitcoin","keycdn","opera","itch-io","umbraco","galactic-senate","ubuntu","draft2digital","stripe","houzz","gg","dhl","square-pinterest","xing","blackberry","creative-commons-pd","playstation","quinscape","less","blogger-b","opencart","vine","signal-messenger","paypal","gitlab","typo3","reddit-alien","yahoo","dailymotion","affiliatetheme","pied-piper-pp","bootstrap","odnoklassniki","nfc-symbol","mintbit","ethereum","speaker-deck","creative-commons-nc-eu","patreon","avianex","ello","gofore","bimobject","brave-reverse","facebook-f","square-google-plus","web-awesome","mandalorian","first-order-alt","osi","google-wallet","d-and-d-beyond","periscope","fulcrum","cloudscale","forumbee","mizuni","schlix","square-xing","bandcamp","wpforms","cloudversify","usps","megaport","magento","spotify","optin-monster","fly","square-bluesky","aviato","itunes","cuttlefish","blogger","flickr","viber","soundcloud","digg","tencent-weibo","letterboxd","symfony","maxcdn","etsy","facebook-messenger","audible","think-peaks","bilibili","erlang","x-twitter","cotton-bureau","dashcube","42-group","stack-exchange","elementor","square-pied-piper","creative-commons-nd","palfed","superpowers","resolving","xbox","square-web-awesome-stroke","searchengin","tiktok","square-facebook","renren","linux","glide","linkedin","hubspot","deploydog","twitch","flutter","ravelry","mixer","square-lastfm","vimeo","mendeley","uniregistry","figma","creative-commons-remix","cc-amazon-pay","dropbox","instagram","cmplid","upwork","facebook","gripfire","jedi-order","uikit","fort-awesome-alt","phabricator","ussunnah","earlybirds","trade-federation","autoprefixer","whatsapp","square-upwork","slideshare","google-play","viadeo","line","google-drive","servicestack","simplybuilt","bitbucket","imdb","deezer","raspberry-pi","jira","docker","screenpal","bluetooth","gitter","d-and-d","microblog","cc-diners-club","gg-circle","pied-piper-hat","kickstarter-k","yandex","readme","html5","sellsy","square-web-awesome","sass","wirsindhandwerk","buromobelexperte","salesforce","octopus-deploy","medapps","ns8","pinterest-p","apper","fort-awesome","waze","bluesky","cc-jcb","snapchat","fantasy-flight-games","rust","wix","square-behance","supple","webflow","rebel","css3","staylinked","kaggle","space-awesome","deviantart","cpanel","goodreads-g","square-git","square-tumblr","trello","creative-commons-nc-jp","get-pocket","perbyte","grunt","weebly","connectdevelop","leanpub","black-tie","themeco","python","android","bots","free-code-camp","hornbill","js","ideal","git","dev","sketch","yandex-international","cc-amex","uber","github","php","alipay","youtube","skyatlas","firefox-browser","replyd","suse","jenkins","twitter","rockrms","pinterest","buffer","npm","yammer","btc","dribbble","stumbleupon-circle","internet-explorer","stubber","telegram","old-republic","odysee","square-whatsapp","node-js","edge-legacy","slack","medrt","usb","tumblr","vaadin","quora","square-x-twitter","reacteurope","medium","amilia","mixcloud","flipboard","viacoin","critical-role","sitrox","discourse","joomla","mastodon","airbnb","wolf-pack-battalion","buy-n-large","gulp","creative-commons-sampling-plus","strava","ember","canadian-maple-leaf","teamspeak","pushed","wordpress-simple","nutritionix","wodu","google-pay","intercom","zhihu","korvue","pix","steam-symbol"],Qh=["10k","10mp","11mp","123","12mp","13mp","14mp","15mp","16mp","17mp","18_up_rating","18mp","19mp","1k","1k_plus","1x_mobiledata","1x_mobiledata_badge","20mp","21mp","22mp","23mp","24fps_select","24mp","2d","2k","2k_plus","2mp","30fps","30fps_select","360","3d_rotation","3g_mobiledata","3g_mobiledata_badge","3k","3k_plus","3mp","3p","4g_mobiledata","4g_mobiledata_badge","4g_plus_mobiledata","4k","4k_plus","4mp","50mp","5g","5g_mobiledata_badge","5k","5k_plus","5mp","60fps","60fps_select","6_ft_apart","6k","6k_plus","6mp","7k","7k_plus","7mp","8k","8k_plus","8mp","9k","9k_plus","9mp","abc","ac_unit","access_alarm","access_alarms","access_time","access_time_filled","accessibility","accessibility_new","accessible","accessible_forward","account_balance","account_balance_wallet","account_box","account_child","account_child_invert","account_circle","account_circle_off","account_tree","action_key","activity_zone","acute","ad","ad_group","ad_group_off","ad_off","ad_units","adaptive_audio_mic","adaptive_audio_mic_off","adb","add","add_2","add_a_photo","add_ad","add_alarm","add_alert","add_box","add_business","add_call","add_card","add_chart","add_circle","add_circle_outline","add_column_left","add_column_right","add_comment","add_diamond","add_home","add_home_work","add_ic_call","add_link","add_location","add_location_alt","add_moderator","add_notes","add_photo_alternate","add_reaction","add_road","add_row_above","add_row_below","add_shopping_cart","add_task","add_to_drive","add_to_home_screen","add_to_photos","add_to_queue","add_triangle","addchart","adf_scanner","adjust","admin_meds","admin_panel_settings","ads_click","agender","agriculture","air","air_freshener","air_purifier","air_purifier_gen","airline_seat_flat","airline_seat_flat_angled","airline_seat_individual_suite","airline_seat_legroom_extra","airline_seat_legroom_normal","airline_seat_legroom_reduced","airline_seat_recline_extra","airline_seat_recline_normal","airline_stops","airlines","airplane_ticket","airplanemode_active","airplanemode_inactive","airplay","airport_shuttle","airware","airwave","alarm","alarm_add","alarm_off","alarm_on","alarm_smart_wake","album","align_center","align_end","align_flex_center","align_flex_end","align_flex_start","align_horizontal_center","align_horizontal_left","align_horizontal_right","align_items_stretch","align_justify_center","align_justify_flex_end","align_justify_flex_start","align_justify_space_around","align_justify_space_between","align_justify_space_even","align_justify_stretch","align_self_stretch","align_space_around","align_space_between","align_space_even","align_start","align_stretch","align_vertical_bottom","align_vertical_center","align_vertical_top","all_inbox","all_inclusive","all_match","all_out","allergies","allergy","alt_route","alternate_email","altitude","ambulance","amend","amp_stories","analytics","anchor","android","animated_images","animation","announcement","aod","aod_tablet","aod_watch","apartment","api","apk_document","apk_install","app_badging","app_blocking","app_promo","app_registration","app_settings_alt","app_shortcut","apparel","approval","approval_delegation","apps","apps_outage","aq","aq_indoor","ar_on_you","ar_stickers","architecture","archive","area_chart","arming_countdown","arrow_and_edge","arrow_back","arrow_back_2","arrow_back_ios","arrow_back_ios_new","arrow_circle_down","arrow_circle_left","arrow_circle_right","arrow_circle_up","arrow_cool_down","arrow_downward","arrow_downward_alt","arrow_drop_down","arrow_drop_down_circle","arrow_drop_up","arrow_forward","arrow_forward_ios","arrow_insert","arrow_left","arrow_left_alt","arrow_menu_close","arrow_menu_open","arrow_or_edge","arrow_outward","arrow_range","arrow_right","arrow_right_alt","arrow_selector_tool","arrow_split","arrow_top_left","arrow_top_right","arrow_upload_progress","arrow_upload_ready","arrow_upward","arrow_upward_alt","arrow_warm_up","arrows_input","arrows_more_down","arrows_more_up","arrows_output","arrows_outward","art_track","article","article_shortcut","artist","aspect_ratio","assessment","assignment","assignment_add","assignment_ind","assignment_late","assignment_return","assignment_returned","assignment_turned_in","assist_walker","assistant","assistant_device","assistant_direction","assistant_navigation","assistant_on_hub","assistant_photo","assured_workload","asterisk","atm","atr","attach_email","attach_file","attach_file_add","attach_file_off","attach_money","attachment","attractions","attribution","audio_description","audio_file","audio_video_receiver","audiotrack","auto_awesome","auto_awesome_mosaic","auto_awesome_motion","auto_delete","auto_fix_high","auto_fix_normal","auto_fix_off","auto_graph","auto_mode","auto_read_pause","auto_read_play","auto_stories","auto_towing","auto_transmission","autofps_select","automation","autopause","autoplay","autorenew","autostop","av1","av_timer","avc","avg_pace","avg_time","award_star","azm","baby_changing_station","back_hand","back_to_tab","background_dot_large","background_dot_small","background_grid_small","background_replace","backlight_high","backlight_high_off","backlight_low","backpack","backspace","backup","backup_table","badge","badge_critical_battery","bakery_dining","balance","balcony","ballot","bar_chart","bar_chart_4_bars","bar_chart_off","barcode","barcode_reader","barcode_scanner","barefoot","batch_prediction","bath_outdoor","bath_private","bath_public_large","bathroom","bathtub","battery_0_bar","battery_1_bar","battery_20","battery_2_bar","battery_30","battery_3_bar","battery_4_bar","battery_50","battery_5_bar","battery_60","battery_6_bar","battery_80","battery_90","battery_alert","battery_change","battery_charging_20","battery_charging_30","battery_charging_50","battery_charging_60","battery_charging_80","battery_charging_90","battery_charging_full","battery_error","battery_full","battery_full_alt","battery_horiz_000","battery_horiz_050","battery_horiz_075","battery_low","battery_plus","battery_profile","battery_saver","battery_share","battery_status_good","battery_std","battery_unknown","battery_very_low","beach_access","bed","bedroom_baby","bedroom_child","bedroom_parent","bedtime","bedtime_off","beenhere","bento","bia","bid_landscape","bid_landscape_disabled","bigtop_updates","bike_dock","bike_lane","bike_scooter","biotech","blanket","blender","blind","blinds","blinds_closed","block","block_flipped","blood_pressure","bloodtype","bluetooth","bluetooth_audio","bluetooth_connected","bluetooth_disabled","bluetooth_drive","bluetooth_searching","blur_circular","blur_linear","blur_medium","blur_off","blur_on","blur_short","body_fat","body_system","bolt","bomb","book","book_2","book_3","book_4","book_4_spark","book_5","book_6","book_online","book_ribbon","bookmark","bookmark_add","bookmark_added","bookmark_bag","bookmark_border","bookmark_check","bookmark_flag","bookmark_heart","bookmark_manager","bookmark_remove","bookmark_star","bookmarks","books_movies_and_music","border_all","border_bottom","border_clear","border_color","border_horizontal","border_inner","border_left","border_outer","border_right","border_style","border_top","border_vertical","borg","bottom_app_bar","bottom_drawer","bottom_navigation","bottom_panel_close","bottom_panel_open","bottom_right_click","bottom_sheets","box","box_add","box_edit","boy","brand_awareness","brand_family","branding_watermark","breakfast_dining","breaking_news","breaking_news_alt_1","breastfeeding","brick","brightness_1","brightness_2","brightness_3","brightness_4","brightness_5","brightness_6","brightness_7","brightness_alert","brightness_auto","brightness_empty","brightness_high","brightness_low","brightness_medium","bring_your_own_ip","broadcast_on_home","broadcast_on_personal","broken_image","browse","browse_activity","browse_gallery","browser_not_supported","browser_updated","brunch_dining","brush","bubble","bubble_chart","bubbles","bug_report","build","build_circle","bungalow","burst_mode","bus_alert","business","business_center","business_chip","business_messages","buttons_alt","cabin","cable","cable_car","cached","cadence","cake","cake_add","calculate","calendar_add_on","calendar_apps_script","calendar_clock","calendar_month","calendar_today","calendar_view_day","calendar_view_month","calendar_view_week","call","call_end","call_log","call_made","call_merge","call_missed","call_missed_outgoing","call_quality","call_received","call_split","call_to_action","camera","camera_alt","camera_enhance","camera_front","camera_indoor","camera_outdoor","camera_rear","camera_roll","camera_video","cameraswitch","campaign","camping","cancel","cancel_presentation","cancel_schedule_send","candle","candlestick_chart","captive_portal","capture","car_crash","car_rental","car_repair","car_tag","card_giftcard","card_membership","card_travel","cardio_load","cardiology","cards","cards_star","carpenter","carry_on_bag","carry_on_bag_checked","carry_on_bag_inactive","carry_on_bag_question","cases","casino","cast","cast_connected","cast_for_education","cast_pause","cast_warning","castle","catching_pokemon","category","category_search","celebration","cell_merge","cell_tower","cell_wifi","center_focus_strong","center_focus_weak","chair","chair_alt","chalet","change_circle","change_history","charger","charging_station","chart_data","chat","chat_add_on","chat_apps_script","chat_bubble","chat_bubble_outline","chat_error","chat_info","chat_paste_go","chat_paste_go_2","check","check_box","check_box_outline_blank","check_circle","check_circle_outline","check_in_out","check_indeterminate_small","check_small","checkbook","checked_bag","checked_bag_question","checklist","checklist_rtl","checkroom","cheer","chess","chess_pawn","chevron_backward","chevron_forward","chevron_left","chevron_right","child_care","child_friendly","chip_extraction","chips","chrome_reader_mode","chromecast_2","chromecast_device","chronic","church","cinematic_blur","circle","circle_notifications","circles","circles_ext","clarify","class","clean_hands","cleaning","cleaning_bucket","cleaning_services","clear","clear_all","clear_day","climate_mini_split","clinical_notes","clock_arrow_down","clock_arrow_up","clock_loader_10","clock_loader_20","clock_loader_40","clock_loader_60","clock_loader_80","clock_loader_90","close","close_fullscreen","close_small","closed_caption","closed_caption_add","closed_caption_disabled","closed_caption_off","cloud","cloud_alert","cloud_circle","cloud_done","cloud_download","cloud_lock","cloud_off","cloud_queue","cloud_sync","cloud_upload","cloudy_snowing","co2","co_present","code","code_blocks","code_off","coffee","coffee_maker","cognition","cognition_2","collapse_all","collapse_content","collections","collections_bookmark","color_lens","colorize","colors","combine_columns","comedy_mask","comic_bubble","comment","comment_bank","comments_disabled","commit","communication","communities","commute","compare","compare_arrows","compass_calibration","component_exchange","compost","compress","computer","concierge","conditions","confirmation_number","congenital","connect_without_contact","connected_tv","connecting_airports","construction","contact_emergency","contact_mail","contact_page","contact_phone","contact_support","contactless","contactless_off","contacts","contacts_product","content_copy","content_cut","content_paste","content_paste_go","content_paste_off","content_paste_search","contextual_token","contextual_token_add","contract","contract_delete","contract_edit","contrast","contrast_circle","contrast_rtl_off","contrast_square","control_camera","control_point","control_point_duplicate","controller_gen","conversion_path","conversion_path_off","convert_to_text","conveyor_belt","cookie","cookie_off","cooking","cool_to_dry","copy_all","copyright","coronavirus","corporate_fare","cottage","counter_0","counter_1","counter_2","counter_3","counter_4","counter_5","counter_6","counter_7","counter_8","counter_9","countertops","create","create_new_folder","credit_card","credit_card_clock","credit_card_gear","credit_card_heart","credit_card_off","credit_score","crib","crisis_alert","crop","crop_16_9","crop_3_2","crop_5_4","crop_7_5","crop_9_16","crop_din","crop_free","crop_landscape","crop_original","crop_portrait","crop_rotate","crop_square","crossword","crowdsource","cruelty_free","css","csv","currency_bitcoin","currency_exchange","currency_franc","currency_lira","currency_pound","currency_ruble","currency_rupee","currency_rupee_circle","currency_yen","currency_yuan","curtains","curtains_closed","custom_typography","cycle","cyclone","dangerous","dark_mode","dashboard","dashboard_2","dashboard_customize","data_alert","data_array","data_check","data_exploration","data_info_alert","data_loss_prevention","data_object","data_saver_off","data_saver_on","data_table","data_thresholding","data_usage","database","database_off","database_search","database_upload","dataset","dataset_linked","date_range","deblur","deceased","decimal_decrease","decimal_increase","deck","dehaze","delete","delete_forever","delete_history","delete_outline","delete_sweep","delivery_dining","delivery_truck_bolt","delivery_truck_speed","demography","density_large","density_medium","density_small","dentistry","departure_board","deployed_code","deployed_code_account","deployed_code_alert","deployed_code_history","deployed_code_update","dermatology","description","deselect","design_services","desk","deskphone","desktop_access_disabled","desktop_cloud","desktop_cloud_stack","desktop_landscape","desktop_landscape_add","desktop_mac","desktop_portrait","desktop_windows","destruction","details","detection_and_zone","detector","detector_alarm","detector_battery","detector_co","detector_offline","detector_smoke","detector_status","developer_board","developer_board_off","developer_guide","developer_mode","developer_mode_tv","device_hub","device_thermostat","device_unknown","devices","devices_fold","devices_fold_2","devices_off","devices_other","devices_wearables","dew_point","diagnosis","diagonal_line","dialer_sip","dialogs","dialpad","diamond","dictionary","difference","digital_out_of_home","digital_wellbeing","dining","dinner_dining","directions","directions_alt","directions_alt_off","directions_bike","directions_boat","directions_boat_filled","directions_bus","directions_bus_filled","directions_car","directions_car_filled","directions_off","directions_railway","directions_railway_2","directions_railway_filled","directions_run","directions_subway","directions_subway_filled","directions_transit","directions_transit_filled","directions_walk","directory_sync","dirty_lens","disabled_by_default","disabled_visible","disc_full","discount","discover_tune","dishwasher","dishwasher_gen","display_external_input","display_settings","distance","diversity_1","diversity_2","diversity_3","diversity_4","dns","do_disturb","do_disturb_alt","do_disturb_off","do_disturb_on","do_not_disturb","do_not_disturb_alt","do_not_disturb_off","do_not_disturb_on","do_not_disturb_on_total_silence","do_not_step","do_not_touch","dock","dock_to_bottom","dock_to_left","dock_to_right","docs","docs_add_on","docs_apps_script","document_scanner","document_search","domain","domain_add","domain_disabled","domain_verification","domain_verification_off","domino_mask","done","done_all","done_outline","donut_large","donut_small","door_back","door_front","door_open","door_sensor","door_sliding","doorbell","doorbell_3p","doorbell_chime","double_arrow","downhill_skiing","download","download_2","download_done","download_for_offline","downloading","draft","draft_orders","drafts","drag_click","drag_handle","drag_indicator","drag_pan","draw","draw_abstract","draw_collage","dresser","drive_eta","drive_export","drive_file_move","drive_file_move_outline","drive_file_move_rtl","drive_file_rename_outline","drive_folder_upload","dropdown","dry","dry_cleaning","dual_screen","duo","dvr","dynamic_feed","dynamic_form","e911_avatar","e911_emergency","e_mobiledata","e_mobiledata_badge","earbuds","earbuds_battery","early_on","earthquake","east","ecg","ecg_heart","eco","eda","edgesensor_high","edgesensor_low","edit","edit_arrow_down","edit_arrow_up","edit_attributes","edit_audio","edit_calendar","edit_document","edit_location","edit_location_alt","edit_note","edit_notifications","edit_off","edit_road","edit_square","editor_choice","egg","egg_alt","eject","elderly","elderly_woman","electric_bike","electric_bolt","electric_car","electric_meter","electric_moped","electric_rickshaw","electric_scooter","electrical_services","elevation","elevator","email","emergency","emergency_heat","emergency_heat_2","emergency_home","emergency_recording","emergency_share","emergency_share_off","emoji_emotions","emoji_events","emoji_food_beverage","emoji_language","emoji_nature","emoji_objects","emoji_people","emoji_symbols","emoji_transportation","emoticon","empty_dashboard","enable","encrypted","encrypted_add","encrypted_add_circle","encrypted_minus_circle","encrypted_off","endocrinology","energy","energy_program_saving","energy_program_time_used","energy_savings_leaf","engineering","enhanced_encryption","ent","enterprise","enterprise_off","equal","equalizer","eraser_size_1","eraser_size_2","eraser_size_3","eraser_size_4","eraser_size_5","error","error_med","error_outline","escalator","escalator_warning","euro","euro_symbol","ev_mobiledata_badge","ev_shadow","ev_shadow_add","ev_shadow_minus","ev_station","event","event_available","event_busy","event_list","event_note","event_repeat","event_seat","event_upcoming","exclamation","exercise","exit_to_app","expand","expand_all","expand_circle_down","expand_circle_right","expand_circle_up","expand_content","expand_less","expand_more","expansion_panels","experiment","explicit","explore","explore_nearby","explore_off","explosion","export_notes","exposure","exposure_neg_1","exposure_neg_2","exposure_plus_1","exposure_plus_2","exposure_zero","extension","extension_off","eye_tracking","eyeglasses","face","face_2","face_3","face_4","face_5","face_6","face_down","face_left","face_nod","face_retouching_natural","face_retouching_off","face_right","face_shake","face_unlock","face_up","fact_check","factory","falling","familiar_face_and_zone","family_history","family_home","family_link","family_restroom","family_star","farsight_digital","fast_forward","fast_rewind","fastfood","faucet","favorite","favorite_border","fax","feature_search","featured_play_list","featured_seasonal_and_gifts","featured_video","feed","feedback","female","femur","femur_alt","fence","fertile","festival","fiber_dvr","fiber_manual_record","fiber_new","fiber_pin","fiber_smart_record","file_copy","file_copy_off","file_download","file_download_done","file_download_off","file_export","file_json","file_map","file_map_stack","file_open","file_png","file_present","file_save","file_save_off","file_upload","file_upload_off","files","filter","filter_1","filter_2","filter_3","filter_4","filter_5","filter_6","filter_7","filter_8","filter_9","filter_9_plus","filter_alt","filter_alt_off","filter_arrow_right","filter_b_and_w","filter_center_focus","filter_drama","filter_frames","filter_hdr","filter_list","filter_list_alt","filter_list_off","filter_none","filter_retrolux","filter_tilt_shift","filter_vintage","finance","finance_chip","finance_mode","find_in_page","find_replace","fingerprint","fingerprint_off","fire_extinguisher","fire_hydrant","fire_hydrant_alt","fire_truck","fireplace","first_page","fit_page","fit_page_height","fit_page_width","fit_screen","fit_width","fitbit","fitness_center","fitness_tracker","flag","flag_2","flag_check","flag_circle","flaky","flare","flash_auto","flash_off","flash_on","flashlight_off","flashlight_on","flatware","flex_direction","flex_no_wrap","flex_wrap","flight","flight_class","flight_land","flight_takeoff","flights_and_hotels","flip","flip_camera_android","flip_camera_ios","flip_to_back","flip_to_front","float_landscape_2","float_portrait_2","flood","floor","floor_lamp","flowchart","flowsheet","fluid","fluid_balance","fluid_med","fluorescent","flutter","flutter_dash","flyover","fmd_bad","fmd_good","foggy","folded_hands","folder","folder_check","folder_check_2","folder_code","folder_copy","folder_data","folder_delete","folder_eye","folder_info","folder_limited","folder_managed","folder_match","folder_off","folder_open","folder_shared","folder_special","folder_supervised","folder_zip","follow_the_signs","font_download","font_download_off","food_bank","foot_bones","footprint","for_you","forest","fork_left","fork_right","fork_spoon","forklift","format_align_center","format_align_justify","format_align_left","format_align_right","format_bold","format_clear","format_color_fill","format_color_reset","format_color_text","format_h1","format_h2","format_h3","format_h4","format_h5","format_h6","format_image_left","format_image_right","format_indent_decrease","format_indent_increase","format_ink_highlighter","format_italic","format_letter_spacing","format_letter_spacing_2","format_letter_spacing_standard","format_letter_spacing_wide","format_letter_spacing_wider","format_line_spacing","format_list_bulleted","format_list_bulleted_add","format_list_numbered","format_list_numbered_rtl","format_overline","format_paint","format_paragraph","format_quote","format_quote_off","format_shapes","format_size","format_strikethrough","format_text_clip","format_text_overflow","format_text_wrap","format_textdirection_l_to_r","format_textdirection_r_to_l","format_textdirection_vertical","format_underlined","format_underlined_squiggle","forms_add_on","forms_apps_script","fort","forum","forward","forward_10","forward_30","forward_5","forward_circle","forward_media","forward_to_inbox","foundation","frame_inspect","frame_person","frame_person_mic","frame_person_off","frame_reload","frame_source","free_breakfast","free_cancellation","front_hand","front_loader","full_coverage","full_hd","full_stacked_bar_chart","fullscreen","fullscreen_exit","fullscreen_portrait","function","functions","funicular","g_mobiledata","g_mobiledata_badge","g_translate","gallery_thumbnail","gamepad","games","garage","garage_door","garage_home","garden_cart","gas_meter","gastroenterology","gate","gavel","general_device","generating_tokens","genetics","genres","gesture","gesture_select","get_app","gif","gif_2","gif_box","girl","gite","glass_cup","globe","globe_asia","globe_book","globe_uk","glucose","glyphs","go_to_line","golf_course","gondola_lift","google_home_devices","google_tv_remote","google_wifi","gpp_bad","gpp_good","gpp_maybe","gps_fixed","gps_not_fixed","gps_off","grade","gradient","grading","grain","graph_1","graph_2","graph_3","graph_4","graph_5","graph_6","graphic_eq","grass","grid_3x3","grid_3x3_off","grid_4x4","grid_goldenratio","grid_guides","grid_off","grid_on","grid_view","grocery","group","group_add","group_off","group_remove","group_search","group_work","grouped_bar_chart","groups","groups_2","groups_3","guardian","gynecology","h_mobiledata","h_mobiledata_badge","h_plus_mobiledata","h_plus_mobiledata_badge","hail","hallway","hand_bones","hand_gesture","hand_gesture_off","handheld_controller","handshake","handyman","hangout_video","hangout_video_off","hard_disk","hard_drive","hard_drive_2","hardware","hd","hdr_auto","hdr_auto_select","hdr_enhanced_select","hdr_off","hdr_off_select","hdr_on","hdr_on_select","hdr_plus","hdr_plus_off","hdr_strong","hdr_weak","head_mounted_device","headphones","headphones_battery","headset","headset_mic","headset_off","healing","health_and_beauty","health_and_safety","health_metrics","heap_snapshot_large","heap_snapshot_multiple","heap_snapshot_thumbnail","hearing","hearing_aid","hearing_aid_disabled","hearing_disabled","heart_broken","heart_check","heart_minus","heart_plus","heat","heat_pump","heat_pump_balance","height","helicopter","help","help_center","help_clinic","help_outline","hematology","hevc","hexagon","hide","hide_image","hide_source","high_density","high_quality","high_res","highlight","highlight_alt","highlight_keyboard_focus","highlight_mouse_cursor","highlight_off","highlight_text_cursor","highlighter_size_1","highlighter_size_2","highlighter_size_3","highlighter_size_4","highlighter_size_5","hiking","history","history_2","history_edu","history_off","history_toggle_off","hive","hls","hls_off","holiday_village","home","home_and_garden","home_app_logo","home_filled","home_health","home_improvement_and_tools","home_iot_device","home_max","home_max_dots","home_mini","home_pin","home_repair_service","home_speaker","home_storage","home_work","horizontal_distribute","horizontal_rule","horizontal_split","host","hot_tub","hotel","hotel_class","hourglass","hourglass_arrow_down","hourglass_arrow_up","hourglass_bottom","hourglass_disabled","hourglass_empty","hourglass_full","hourglass_pause","hourglass_top","house","house_siding","house_with_shield","houseboat","household_supplies","hov","how_to_reg","how_to_vote","hr_resting","html","http","https","hub","humerus","humerus_alt","humidity_high","humidity_indoor","humidity_low","humidity_mid","humidity_percentage","hvac","ice_skating","icecream","id_card","identity_aware_proxy","identity_platform","ifl","iframe","iframe_off","image","image_aspect_ratio","image_not_supported","image_search","imagesearch_roller","imagesmode","immunology","import_contacts","import_export","important_devices","in_home_mode","inactive_order","inbox","inbox_customize","inbox_text","incomplete_circle","indeterminate_check_box","indeterminate_question_box","info","info_i","info_outline","infrared","ink_eraser","ink_eraser_off","ink_highlighter","ink_highlighter_move","ink_marker","ink_pen","ink_selection","inpatient","input","input_circle","insert_chart","insert_chart_outlined","insert_comment","insert_drive_file","insert_emoticon","insert_invitation","insert_link","insert_page_break","insert_photo","insert_text","insights","install_desktop","install_mobile","instant_mix","integration_instructions","interactive_space","interests","interpreter_mode","inventory","inventory_2","invert_colors","invert_colors_off","ios","ios_share","iron","iso","jamboard_kiosk","javascript","join","join_full","join_inner","join_left","join_right","joystick","jump_to_element","kayaking","kebab_dining","keep","keep_off","keep_public","kettle","key","key_off","key_vertical","key_visualizer","keyboard","keyboard_alt","keyboard_arrow_down","keyboard_arrow_left","keyboard_arrow_right","keyboard_arrow_up","keyboard_backspace","keyboard_capslock","keyboard_capslock_badge","keyboard_command_key","keyboard_control_key","keyboard_double_arrow_down","keyboard_double_arrow_left","keyboard_double_arrow_right","keyboard_double_arrow_up","keyboard_external_input","keyboard_full","keyboard_hide","keyboard_keys","keyboard_lock","keyboard_lock_off","keyboard_off","keyboard_onscreen","keyboard_option_key","keyboard_previous_language","keyboard_return","keyboard_tab","keyboard_tab_rtl","keyboard_voice","kid_star","king_bed","kitchen","kitesurfing","lab_panel","lab_profile","lab_research","label","label_important","label_important_outline","label_off","labs","lan","landscape","landscape_2","landscape_2_off","landslide","language","language_chinese_array","language_chinese_cangjie","language_chinese_dayi","language_chinese_pinyin","language_chinese_quick","language_chinese_wubi","language_french","language_gb_english","language_international","language_japanese_kana","language_korean_latin","language_pinyin","language_spanish","language_us","language_us_colemak","language_us_dvorak","laps","laptop","laptop_car","laptop_chromebook","laptop_mac","laptop_windows","lasso_select","last_page","launch","laundry","layers","layers_clear","lda","leaderboard","leak_add","leak_remove","left_click","left_panel_close","left_panel_open","legend_toggle","lens","lens_blur","letter_switch","library_add","library_add_check","library_books","library_music","license","lift_to_talk","light","light_group","light_mode","light_off","lightbulb","lightbulb_2","lightbulb_circle","lightbulb_outline","lightning_stand","line_axis","line_curve","line_end","line_end_arrow","line_end_arrow_notch","line_end_circle","line_end_diamond","line_end_square","line_start","line_start_arrow","line_start_arrow_notch","line_start_circle","line_start_diamond","line_start_square","line_style","line_weight","linear_scale","link","link_off","linked_camera","linked_services","liquor","list","list_alt","list_alt_add","list_alt_check","lists","live_help","live_tv","living","local_activity","local_airport","local_atm","local_bar","local_cafe","local_car_wash","local_convenience_store","local_dining","local_drink","local_fire_department","local_florist","local_gas_station","local_grocery_store","local_hospital","local_hotel","local_laundry_service","local_library","local_mall","local_movies","local_offer","local_parking","local_pharmacy","local_phone","local_pizza","local_play","local_police","local_post_office","local_printshop","local_see","local_shipping","local_taxi","location_away","location_chip","location_city","location_disabled","location_home","location_off","location_on","location_pin","location_searching","lock","lock_clock","lock_open","lock_open_right","lock_outline","lock_person","lock_reset","login","logo_dev","logout","looks","looks_3","looks_4","looks_5","looks_6","looks_one","looks_two","loop","loupe","low_density","low_priority","lowercase","loyalty","lte_mobiledata","lte_mobiledata_badge","lte_plus_mobiledata","lte_plus_mobiledata_badge","luggage","lunch_dining","lyrics","macro_auto","macro_off","magnification_large","magnification_small","magnify_docked","magnify_fullscreen","mail","mail_lock","mail_off","mail_outline","male","man","man_2","man_3","man_4","manage_accounts","manage_history","manage_search","manga","manufacturing","map","map_search","maps_home_work","maps_ugc","margin","mark_as_unread","mark_chat_read","mark_chat_unread","mark_email_read","mark_email_unread","mark_unread_chat_alt","markdown","markdown_copy","markdown_paste","markunread","markunread_mailbox","masked_transitions","masked_transitions_add","masks","match_case","match_case_off","match_word","matter","maximize","measuring_tape","media_bluetooth_off","media_bluetooth_on","media_link","media_output","media_output_off","mediation","medical_information","medical_mask","medical_services","medication","medication_liquid","meeting_room","memory","memory_alt","menstrual_health","menu","menu_book","menu_open","merge","merge_type","message","metabolism","metro","mfg_nest_yale_lock","mic","mic_alert","mic_double","mic_external_off","mic_external_on","mic_none","mic_off","microbiology","microwave","microwave_gen","military_tech","mimo","mimo_disconnect","mindfulness","minimize","minor_crash","mintmark","miscellaneous_services","missed_video_call","missing_controller","mist","mitre","mixture_med","mms","mobile_friendly","mobile_off","mobile_screen_share","mobiledata_off","mode","mode_comment","mode_cool","mode_cool_off","mode_dual","mode_edit","mode_edit_outline","mode_fan","mode_fan_off","mode_heat","mode_heat_cool","mode_heat_off","mode_night","mode_of_travel","mode_off_on","mode_standby","model_training","modeling","monetization_on","money","money_bag","money_off","money_off_csred","monitor","monitor_heart","monitor_weight","monitor_weight_gain","monitor_weight_loss","monitoring","monochrome_photos","monorail","mood","mood_bad","mop","moped","more","more_down","more_horiz","more_time","more_up","more_vert","mosque","motion_blur","motion_mode","motion_photos_auto","motion_photos_off","motion_photos_on","motion_photos_pause","motion_photos_paused","motion_play","motion_sensor_active","motion_sensor_alert","motion_sensor_idle","motion_sensor_urgent","motorcycle","mountain_flag","mouse","mouse_lock","mouse_lock_off","move","move_down","move_group","move_item","move_location","move_selection_down","move_selection_left","move_selection_right","move_selection_up","move_to_inbox","move_up","moved_location","movie","movie_creation","movie_edit","movie_filter","movie_info","movie_off","moving","moving_beds","moving_ministry","mp","multicooker","multiline_chart","multimodal_hand_eye","multiple_airports","multiple_stop","museum","music_cast","music_note","music_note_add","music_off","music_video","my_location","mystery","nat","nature","nature_people","navigate_before","navigate_next","navigation","near_me","near_me_disabled","nearby","nearby_error","nearby_off","nephrology","nest_audio","nest_cam_floodlight","nest_cam_indoor","nest_cam_iq","nest_cam_iq_outdoor","nest_cam_magnet_mount","nest_cam_outdoor","nest_cam_stand","nest_cam_wall_mount","nest_cam_wired_stand","nest_clock_farsight_analog","nest_clock_farsight_digital","nest_connect","nest_detect","nest_display","nest_display_max","nest_doorbell_visitor","nest_eco_leaf","nest_farsight_weather","nest_found_savings","nest_gale_wifi","nest_heat_link_e","nest_heat_link_gen_3","nest_hello_doorbell","nest_mini","nest_multi_room","nest_protect","nest_remote","nest_remote_comfort_sensor","nest_secure_alarm","nest_sunblock","nest_tag","nest_thermostat","nest_thermostat_e_eu","nest_thermostat_gen_3","nest_thermostat_sensor","nest_thermostat_sensor_eu","nest_thermostat_zirconium_eu","nest_true_radiant","nest_wake_on_approach","nest_wake_on_press","nest_wifi_point","nest_wifi_pro","nest_wifi_pro_2","nest_wifi_router","network_cell","network_check","network_intel_node","network_intelligence","network_intelligence_history","network_intelligence_update","network_locked","network_manage","network_node","network_ping","network_wifi","network_wifi_1_bar","network_wifi_1_bar_locked","network_wifi_2_bar","network_wifi_2_bar_locked","network_wifi_3_bar","network_wifi_3_bar_locked","network_wifi_locked","neurology","new_label","new_releases","new_window","news","newsmode","newspaper","newsstand","next_plan","next_week","nfc","night_shelter","night_sight_auto","night_sight_auto_off","night_sight_max","nightlife","nightlight","nightlight_round","nights_stay","no_accounts","no_adult_content","no_backpack","no_cell","no_crash","no_drinks","no_encryption","no_encryption_gmailerrorred","no_flash","no_food","no_luggage","no_meals","no_meals_ouline","no_meeting_room","no_photography","no_sim","no_sound","no_stroller","no_transfer","noise_aware","noise_control_off","noise_control_on","nordic_walking","north","north_east","north_west","not_accessible","not_accessible_forward","not_interested","not_listed_location","not_started","note","note_add","note_alt","note_stack","note_stack_add","notes","notification_add","notification_important","notification_multiple","notifications","notifications_active","notifications_none","notifications_off","notifications_paused","notifications_unread","numbers","nutrition","ods","odt","offline_bolt","offline_pin","offline_pin_off","offline_share","oil_barrel","on_device_training","on_hub_device","oncology","ondemand_video","online_prediction","onsen","opacity","open_in_browser","open_in_full","open_in_new","open_in_new_down","open_in_new_off","open_in_phone","open_jam","open_run","open_with","ophthalmology","oral_disease","orbit","order_approve","order_play","orders","orthopedics","other_admission","other_houses","outbound","outbox","outbox_alt","outdoor_garden","outdoor_grill","outgoing_mail","outlet","outlined_flag","outpatient","outpatient_med","output","output_circle","oven","oven_gen","overview","overview_key","owl","oxygen_saturation","p2p","pace","pacemaker","package","package_2","padding","page_control","page_footer","page_header","page_info","pageless","pages","pageview","paid","palette","pallet","pan_tool","pan_tool_alt","pan_zoom","panorama","panorama_fish_eye","panorama_horizontal","panorama_horizontal_select","panorama_photosphere","panorama_photosphere_select","panorama_vertical","panorama_vertical_select","panorama_wide_angle","panorama_wide_angle_select","paragliding","park","partly_cloudy_day","partly_cloudy_night","partner_exchange","partner_reports","party_mode","passkey","password","password_2","password_2_off","patient_list","pattern","pause","pause_circle","pause_circle_filled","pause_circle_outline","pause_presentation","payment","payments","pedal_bike","pediatrics","pen_size_1","pen_size_2","pen_size_3","pen_size_4","pen_size_5","pending","pending_actions","pentagon","people","people_alt","people_outline","percent","pergola","perm_camera_mic","perm_contact_calendar","perm_data_setting","perm_device_information","perm_identity","perm_media","perm_phone_msg","perm_scan_wifi","person","person_2","person_3","person_4","person_add","person_add_alt","person_add_alt_1","person_add_disabled","person_alert","person_apron","person_book","person_cancel","person_celebrate","person_check","person_edit","person_off","person_outline","person_pin","person_pin_circle","person_play","person_raised_hand","person_remove","person_remove_alt_1","person_search","personal_bag","personal_bag_off","personal_bag_question","personal_injury","personal_places","personal_video","pest_control","pest_control_rodent","pet_supplies","pets","phishing","phone","phone_android","phone_bluetooth_speaker","phone_callback","phone_disabled","phone_enabled","phone_forwarded","phone_in_talk","phone_iphone","phone_locked","phone_missed","phone_paused","phonelink","phonelink_erase","phonelink_lock","phonelink_off","phonelink_ring","phonelink_ring_off","phonelink_setup","photo","photo_album","photo_auto_merge","photo_camera","photo_camera_back","photo_camera_front","photo_filter","photo_frame","photo_library","photo_prints","photo_size_select_actual","photo_size_select_large","photo_size_select_small","php","physical_therapy","piano","piano_off","picture_as_pdf","picture_in_picture","picture_in_picture_alt","picture_in_picture_center","picture_in_picture_large","picture_in_picture_medium","picture_in_picture_mobile","picture_in_picture_off","picture_in_picture_small","pie_chart","pie_chart_outline","pie_chart_outlined","pill","pill_off","pin","pin_drop","pin_end","pin_invoke","pinboard","pinboard_unread","pinch","pinch_zoom_in","pinch_zoom_out","pip","pip_exit","pivot_table_chart","pix","place","place_item","plagiarism","planet","planner_banner_ad_pt","planner_review","play_arrow","play_circle","play_circle_filled","play_circle_outline","play_disabled","play_for_work","play_lesson","play_pause","playing_cards","playlist_add","playlist_add_check","playlist_add_check_circle","playlist_add_circle","playlist_play","playlist_remove","plumbing","plus_one","podcasts","podiatry","podium","point_of_sale","point_scan","poker_chip","policy","policy_alert","poll","polyline","polymer","pool","portable_wifi_off","portrait","position_bottom_left","position_bottom_right","position_top_right","post","post_add","potted_plant","power","power_input","power_off","power_settings_circle","power_settings_new","prayer_times","precision_manufacturing","pregnancy","pregnant_woman","preliminary","prescriptions","present_to_all","preview","preview_off","price_change","price_check","print","print_add","print_connect","print_disabled","print_error","print_lock","priority","priority_high","privacy","privacy_tip","private_connectivity","problem","procedure","process_chart","production_quantity_limits","productivity","progress_activity","prompt_suggestion","propane","propane_tank","psychiatry","psychology","psychology_alt","public","public_off","publish","published_with_changes","pulmonology","pulse_alert","punch_clock","push_pin","qr_code","qr_code_2","qr_code_2_add","qr_code_scanner","query_builder","query_stats","question_answer","question_exchange","question_mark","queue","queue_music","queue_play_next","quick_phrases","quick_reference","quick_reference_all","quick_reorder","quickreply","quiz","r_mobiledata","radar","radio","radio_button_checked","radio_button_partial","radio_button_unchecked","radiology","railway_alert","railway_alert_2","rainy","rainy_heavy","rainy_light","rainy_snow","ramen_dining","ramp_left","ramp_right","range_hood","rate_review","raven","raw_off","raw_on","read_more","readiness_score","real_estate_agent","rear_camera","rebase","rebase_edit","receipt","receipt_long","receipt_long_off","recent_actors","recent_patient","recenter","recommend","record_voice_over","rectangle","recycling","redeem","redo","reduce_capacity","refresh","regular_expression","relax","release_alert","remember_me","reminder","remote_gen","remove","remove_circle","remove_circle_outline","remove_done","remove_from_queue","remove_moderator","remove_red_eye","remove_road","remove_selection","remove_shopping_cart","reopen_window","reorder","repartition","repeat","repeat_on","repeat_one","repeat_one_on","replace_audio","replace_image","replace_video","replay","replay_10","replay_30","replay_5","replay_circle_filled","reply","reply_all","report","report_gmailerrorred","report_off","report_problem","request_page","request_quote","reset_brightness","reset_focus","reset_image","reset_iso","reset_settings","reset_shadow","reset_shutter_speed","reset_tv","reset_white_balance","reset_wrench","resize","respiratory_rate","responsive_layout","restart_alt","restaurant","restaurant_menu","restore","restore_from_trash","restore_page","resume","reviews","rewarded_ads","rheumatology","rib_cage","rice_bowl","right_click","right_panel_close","right_panel_open","ring_volume","ripples","road","robot","robot_2","rocket","rocket_launch","roller_shades","roller_shades_closed","roller_skating","roofing","room","room_preferences","room_service","rotate_90_degrees_ccw","rotate_90_degrees_cw","rotate_auto","rotate_left","rotate_right","roundabout_left","roundabout_right","rounded_corner","route","router","routine","rowing","rss_feed","rsvp","rtt","rubric","rule","rule_folder","rule_settings","run_circle","running_with_errors","rv_hookup","safety_check","safety_check_off","safety_divider","sailing","salinity","sanitizer","satellite","satellite_alt","sauna","save","save_alt","save_as","save_clock","saved_search","savings","scale","scan","scan_delete","scanner","scatter_plot","scene","schedule","schedule_send","schema","school","science","science_off","scooter","score","scoreboard","screen_lock_landscape","screen_lock_portrait","screen_lock_rotation","screen_record","screen_rotation","screen_rotation_alt","screen_rotation_up","screen_search_desktop","screen_share","screenshot","screenshot_frame","screenshot_frame_2","screenshot_keyboard","screenshot_monitor","screenshot_region","screenshot_tablet","script","scrollable_header","scuba_diving","sd","sd_card","sd_card_alert","sd_storage","sdk","search","search_activity","search_check","search_check_2","search_hands_free","search_insights","search_off","security","security_key","security_update","security_update_good","security_update_warning","segment","select","select_all","select_check_box","select_to_speak","select_window","select_window_2","select_window_off","self_care","self_improvement","sell","send","send_and_archive","send_money","send_time_extension","send_to_mobile","sensor_door","sensor_occupied","sensor_window","sensors","sensors_krx","sensors_krx_off","sensors_off","sentiment_calm","sentiment_content","sentiment_dissatisfied","sentiment_excited","sentiment_extremely_dissatisfied","sentiment_frustrated","sentiment_neutral","sentiment_sad","sentiment_satisfied","sentiment_satisfied_alt","sentiment_stressed","sentiment_very_dissatisfied","sentiment_very_satisfied","sentiment_worried","serif","server_person","service_toolbox","set_meal","settings","settings_accessibility","settings_account_box","settings_alert","settings_applications","settings_b_roll","settings_backup_restore","settings_bluetooth","settings_brightness","settings_cell","settings_cinematic_blur","settings_ethernet","settings_heart","settings_input_antenna","settings_input_component","settings_input_composite","settings_input_hdmi","settings_input_svideo","settings_motion_mode","settings_night_sight","settings_overscan","settings_panorama","settings_phone","settings_photo_camera","settings_power","settings_remote","settings_slow_motion","settings_suggest","settings_system_daydream","settings_timelapse","settings_video_camera","settings_voice","settop_component","severe_cold","shadow","shadow_add","shadow_minus","shape_line","shapes","share","share_eta","share_location","share_off","share_reviews","share_windows","sheets_rtl","shelf_auto_hide","shelf_position","shelves","shield","shield_lock","shield_locked","shield_moon","shield_person","shield_question","shield_with_heart","shield_with_house","shift","shift_lock","shift_lock_off","shop","shop_2","shop_two","shopping_bag","shopping_bag_speed","shopping_basket","shopping_cart","shopping_cart_checkout","shopping_cart_off","shoppingmode","short_stay","short_text","shortcut","show_chart","shower","shuffle","shuffle_on","shutter_speed","shutter_speed_add","shutter_speed_minus","sick","side_navigation","sign_language","signal_cellular_0_bar","signal_cellular_1_bar","signal_cellular_2_bar","signal_cellular_3_bar","signal_cellular_4_bar","signal_cellular_add","signal_cellular_alt","signal_cellular_alt_1_bar","signal_cellular_alt_2_bar","signal_cellular_connected_no_internet_0_bar","signal_cellular_connected_no_internet_1_bar","signal_cellular_connected_no_internet_2_bar","signal_cellular_connected_no_internet_3_bar","signal_cellular_connected_no_internet_4_bar","signal_cellular_no_sim","signal_cellular_nodata","signal_cellular_null","signal_cellular_off","signal_cellular_pause","signal_disconnected","signal_wifi_0_bar","signal_wifi_1_bar","signal_wifi_1_bar_lock","signal_wifi_2_bar","signal_wifi_2_bar_lock","signal_wifi_3_bar","signal_wifi_3_bar_lock","signal_wifi_4_bar","signal_wifi_4_bar_lock","signal_wifi_bad","signal_wifi_connected_no_internet_0","signal_wifi_connected_no_internet_1","signal_wifi_connected_no_internet_2","signal_wifi_connected_no_internet_3","signal_wifi_connected_no_internet_4","signal_wifi_off","signal_wifi_statusbar_1_bar","signal_wifi_statusbar_2_bar","signal_wifi_statusbar_3_bar","signal_wifi_statusbar_4_bar","signal_wifi_statusbar_connected_no_internet","signal_wifi_statusbar_connected_no_internet_1","signal_wifi_statusbar_connected_no_internet_2","signal_wifi_statusbar_connected_no_internet_3","signal_wifi_statusbar_connected_no_internet_4","signal_wifi_statusbar_not_connected","signal_wifi_statusbar_null","signature","signpost","sim_card","sim_card_alert","sim_card_download","simulation","single_bed","sip","siren","siren_check","siren_open","siren_question","skateboarding","skeleton","skillet","skillet_cooktop","skip_next","skip_previous","skull","skull_list","slab_serif","sledding","sleep_score","slide_library","sliders","slideshow","slow_motion_video","smart_button","smart_card_reader","smart_card_reader_off","smart_display","smart_outlet","smart_screen","smart_toy","smartphone","smartphone_camera","smb_share","smoke_free","smoking_rooms","sms","sms_failed","snippet_folder","snooze","snowboarding","snowing","snowing_heavy","snowmobile","snowshoeing","soap","social_distance","social_leaderboard","solar_power","sort","sort_by_alpha","sos","sound_detection_dog_barking","sound_detection_glass_break","sound_detection_loud_sound","sound_sampler","soup_kitchen","source","source_environment","source_notes","south","south_america","south_east","south_west","spa","space_bar","space_dashboard","spatial_audio","spatial_audio_off","spatial_speaker","spatial_tracking","speaker","speaker_group","speaker_notes","speaker_notes_off","speaker_phone","special_character","specific_gravity","speech_to_text","speed","speed_0_25","speed_0_2x","speed_0_5","speed_0_5x","speed_0_75","speed_0_7x","speed_1_2","speed_1_25","speed_1_2x","speed_1_5","speed_1_5x","speed_1_75","speed_1_7x","speed_2x","speed_camera","spellcheck","split_scene","splitscreen","splitscreen_add","splitscreen_bottom","splitscreen_landscape","splitscreen_left","splitscreen_portrait","splitscreen_right","splitscreen_top","splitscreen_vertical_add","spo2","spoke","sports","sports_and_outdoors","sports_bar","sports_baseball","sports_basketball","sports_cricket","sports_esports","sports_football","sports_golf","sports_gymnastics","sports_handball","sports_hockey","sports_kabaddi","sports_martial_arts","sports_mma","sports_motorsports","sports_rugby","sports_score","sports_soccer","sports_tennis","sports_volleyball","sprinkler","sprint","square","square_dot","square_foot","ssid_chart","stack","stack_hexagon","stack_off","stack_star","stacked_bar_chart","stacked_email","stacked_inbox","stacked_line_chart","stacks","stadia_controller","stadium","stairs","stairs_2","star","star_border","star_border_purple500","star_half","star_outline","star_purple500","star_rate","star_rate_half","stars","start","stat_0","stat_1","stat_2","stat_3","stat_minus_1","stat_minus_2","stat_minus_3","stay_current_landscape","stay_current_portrait","stay_primary_landscape","stay_primary_portrait","step","step_into","step_out","step_over","steppers","steps","stethoscope","stethoscope_arrow","stethoscope_check","sticky_note","sticky_note_2","stock_media","stockpot","stop","stop_circle","stop_screen_share","storage","store","store_mall_directory","storefront","storm","straight","straighten","strategy","stream","stream_apps","streetview","stress_management","strikethrough_s","stroke_full","stroke_partial","stroller","style","styler","stylus","stylus_laser_pointer","stylus_note","subdirectory_arrow_left","subdirectory_arrow_right","subheader","subject","subscript","subscriptions","subtitles","subtitles_off","subway","summarize","sunny","sunny_snowing","superscript","supervised_user_circle","supervised_user_circle_off","supervisor_account","support","support_agent","surfing","surgical","surround_sound","swap_calls","swap_driving_apps","swap_driving_apps_wheel","swap_horiz","swap_horizontal_circle","swap_vert","swap_vertical_circle","sweep","swipe","swipe_down","swipe_down_alt","swipe_left","swipe_left_alt","swipe_right","swipe_right_alt","swipe_up","swipe_up_alt","swipe_vertical","switch","switch_access","switch_access_2","switch_access_shortcut","switch_access_shortcut_add","switch_account","switch_camera","switch_left","switch_right","switch_video","switches","sword_rose","swords","symptoms","synagogue","sync","sync_alt","sync_arrow_down","sync_arrow_up","sync_desktop","sync_disabled","sync_lock","sync_problem","sync_saved_locally","syringe","system_security_update","system_security_update_good","system_security_update_warning","system_update","system_update_alt","tab","tab_close","tab_close_inactive","tab_close_right","tab_duplicate","tab_group","tab_inactive","tab_move","tab_new_right","tab_recent","tab_unselected","table","table_bar","table_chart","table_chart_view","table_convert","table_edit","table_eye","table_lamp","table_restaurant","table_rows","table_rows_narrow","table_view","tablet","tablet_android","tablet_camera","tablet_mac","tabs","tactic","tag","tag_faces","takeout_dining","tamper_detection_off","tamper_detection_on","tap_and_play","tapas","target","task","task_alt","taunt","taxi_alert","team_dashboard","temp_preferences_eco","temple_buddhist","temple_hindu","tenancy","terminal","terrain","text_ad","text_compare","text_decrease","text_fields","text_fields_alt","text_format","text_increase","text_rotate_up","text_rotate_vertical","text_rotation_angledown","text_rotation_angleup","text_rotation_down","text_rotation_none","text_select_end","text_select_jump_to_beginning","text_select_jump_to_end","text_select_move_back_character","text_select_move_back_word","text_select_move_down","text_select_move_forward_character","text_select_move_forward_word","text_select_move_up","text_select_start","text_snippet","text_to_speech","text_up","textsms","texture","texture_add","texture_minus","theater_comedy","theaters","thermometer","thermometer_add","thermometer_gain","thermometer_loss","thermometer_minus","thermostat","thermostat_arrow_down","thermostat_arrow_up","thermostat_auto","thermostat_carbon","things_to_do","thread_unread","threat_intelligence","thumb_down","thumb_down_alt","thumb_down_off_alt","thumb_up","thumb_up_alt","thumb_up_off_alt","thumbnail_bar","thumbs_up_down","thunderstorm","tibia","tibia_alt","tile_large","tile_medium","tile_small","time_auto","time_to_leave","timelapse","timeline","timer","timer_10","timer_10_alt_1","timer_10_select","timer_3","timer_3_alt_1","timer_3_select","timer_5","timer_5_shutter","timer_arrow_down","timer_arrow_up","timer_off","timer_pause","timer_play","tips_and_updates","tire_repair","title","titlecase","toast","toc","today","toggle_off","toggle_on","token","toll","tonality","toolbar","tools_flat_head","tools_installation_kit","tools_ladder","tools_level","tools_phillips","tools_pliers_wire_stripper","tools_power_drill","tooltip","tooltip_2","top_panel_close","top_panel_open","topic","tornado","total_dissolved_solids","touch_app","touch_double","touch_long","touch_triple","touchpad_mouse","touchpad_mouse_off","tour","toys","toys_and_games","toys_fan","track_changes","trackpad_input","trackpad_input_2","trackpad_input_3","traffic","traffic_jam","trail_length","trail_length_medium","trail_length_short","train","tram","transcribe","transfer_within_a_station","transform","transgender","transit_enterexit","transit_ticket","transition_chop","transition_dissolve","transition_fade","transition_push","transition_slide","translate","transportation","travel","travel_explore","travel_luggage_and_bags","trending_down","trending_flat","trending_up","trip","trip_origin","trolley","trolley_cable_car","trophy","troubleshoot","try","tsunami","tsv","tty","tune","tungsten","turn_left","turn_right","turn_sharp_left","turn_sharp_right","turn_slight_left","turn_slight_right","turned_in","turned_in_not","tv","tv_displays","tv_gen","tv_guide","tv_next","tv_off","tv_options_edit_channels","tv_options_input_settings","tv_remote","tv_signin","tv_with_assistant","two_pager","two_pager_store","two_wheeler","type_specimen","u_turn_left","u_turn_right","ulna_radius","ulna_radius_alt","umbrella","unarchive","undo","unfold_less","unfold_less_double","unfold_more","unfold_more_double","ungroup","universal_currency","universal_currency_alt","universal_local","unknown_2","unknown_5","unknown_7","unknown_document","unknown_med","unlicense","unpaved_road","unpublished","unsubscribe","upcoming","update","update_disabled","upgrade","upi_pay","upload","upload_2","upload_file","uppercase","urology","usb","usb_off","user_attributes","vaccines","vacuum","valve","vape_free","vaping_rooms","variable_add","variable_insert","variable_remove","variables","ventilator","verified","verified_user","vertical_align_bottom","vertical_align_center","vertical_align_top","vertical_distribute","vertical_shades","vertical_shades_closed","vertical_split","vibration","video_call","video_camera_back","video_camera_back_add","video_camera_front","video_camera_front_off","video_chat","video_file","video_label","video_library","video_search","video_settings","video_stable","videocam","videocam_alert","videocam_off","videogame_asset","videogame_asset_off","view_agenda","view_apps","view_array","view_carousel","view_column","view_column_2","view_comfy","view_comfy_alt","view_compact","view_compact_alt","view_cozy","view_day","view_headline","view_in_ar","view_in_ar_off","view_kanban","view_list","view_module","view_object_track","view_quilt","view_real_size","view_sidebar","view_stream","view_timeline","view_week","vignette","villa","visibility","visibility_lock","visibility_off","vital_signs","vo2_max","voice_chat","voice_over_off","voice_selection","voice_selection_off","voicemail","volcano","volume_down","volume_down_alt","volume_mute","volume_off","volume_up","volunteer_activism","voting_chip","vpn_key","vpn_key_alert","vpn_key_off","vpn_lock","vr180_create2d","vr180_create2d_off","vrpano","wall_art","wall_lamp","wallet","wallpaper","wallpaper_slideshow","ward","warehouse","warning","warning_amber","warning_off","wash","watch","watch_button_press","watch_check","watch_later","watch_off","watch_screentime","watch_vibration","watch_wake","water","water_bottle","water_bottle_large","water_damage","water_do","water_drop","water_ec","water_full","water_heater","water_lock","water_loss","water_lux","water_medium","water_orp","water_ph","water_pump","water_voc","waterfall_chart","waves","waving_hand","wb_auto","wb_cloudy","wb_incandescent","wb_iridescent","wb_shade","wb_sunny","wb_twighlight","wb_twilight","wc","weather_hail","weather_mix","weather_snowy","web","web_asset","web_asset_off","web_stories","web_traffic","webhook","weekend","weight","west","whatshot","wheelchair_pickup","where_to_vote","widget_medium","widget_small","widget_width","widgets","width_full","width_normal","width_wide","wifi","wifi_1_bar","wifi_2_bar","wifi_add","wifi_calling","wifi_calling_1","wifi_calling_2","wifi_calling_3","wifi_calling_bar_1","wifi_calling_bar_2","wifi_calling_bar_3","wifi_channel","wifi_find","wifi_home","wifi_lock","wifi_notification","wifi_off","wifi_password","wifi_protected_setup","wifi_proxy","wifi_tethering","wifi_tethering_error","wifi_tethering_off","wind_power","window","window_closed","window_open","window_sensor","wine_bar","woman","woman_2","work","work_alert","work_history","work_off","work_outline","work_update","workspace_premium","workspaces","workspaces_filled","workspaces_outline","wounds_injuries","wrap_text","wrist","wrong_location","wysiwyg","yard","your_trips","youtube_activity","youtube_searched_for","zone_person_alert","zone_person_idle","zone_person_urgent","zoom_in","zoom_in_map","zoom_out","zoom_out_map"];var oS=(0,n.defineComponent)({__name:"Icon",props:{icon:{},name:{},size:{default:1},mobileSize:{},color:{},round:{type:Boolean},weight:{},fontAwesome:{type:Boolean},fill:{type:Boolean},animate:{},animateSpeed:{},animateOnce:{type:Boolean},transition:{type:[Boolean,String],default:!0}},setup(e){const t=e,r=(0,n.computed)(()=>t.icon??t.name),{isMobile:o}=Qa(),a=(0,n.computed)(()=>o.value&&t.mobileSize!==void 0?t.mobileSize:t.size),l=(0,n.computed)(()=>t.fontAwesome&&(gc.includes(r.value)||Sl.includes(r.value))?"font-awesome":Qh.includes(r.value)?"material":gc.includes(r.value)||Sl.includes(r.value)?"font-awesome":"material"),i=(0,n.computed)(()=>Sl.includes(r.value)),s=(0,n.ref)(!0),c=(0,n.ref)(!0),u=(0,n.ref)(!0);function d(){return typeof document>"u"?null:document.fonts??null}function f(){const w=d();return w!==null&&typeof w.load=="function"}async function m(w){if(!f())return!0;try{const k=d();return!k||k.check(`1em "${w}"`)?!0:(await k.load(`1em "${w}"`),k.check(`1em "${w}"`))}catch{return!1}}async function p(){s.value=await m("Material Symbols Outlined")}async function h(){c.value=await m("Font Awesome 6 Free")}async function y(){u.value=await m("Font Awesome 6 Brands")}(0,n.onMounted)(()=>{if(f())if(l.value==="material"){const w=d();s.value=w?w.check('1em "Material Symbols Outlined"'):!0,p()}else if(i.value){const w=d();u.value=w?w.check('1em "Font Awesome 6 Brands"'):!0,y()}else{const w=d();c.value=w?w.check('1em "Font Awesome 6 Free"'):!0,h()}}),(0,n.watchEffect)(()=>{f()&&(l.value==="material"?p():i.value?y():h())});const b=(0,n.computed)(()=>l.value==="material"?s.value:i.value?u.value:c.value),g=(0,n.computed)(()=>t.animate?`bgl_icon--${t.animate}`:null),v=(0,n.computed)(()=>{if(!t.animate)return;const w={};return t.animateSpeed!==void 0&&(w.animationDuration=`${t.animateSpeed}s`),t.animateOnce&&(w.animationIterationCount="1"),w}),_=(0,n.computed)(()=>t.transition===!1?"bgl-icon-x-none":`bgl-icon-x-${t.transition===!0?"slide-up":t.transition}`);return(w,k)=>((0,n.openBlock)(),(0,n.createBlock)(n.Transition,{name:_.value,mode:"out-in"},{default:(0,n.withCtx)(()=>[l.value==="material"?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:r.value,class:(0,n.normalizeClass)(["bgl_icon-font notranslate",[g.value,{"round flex aspect-ratio-1 justify-content-center":e.round}]]),style:(0,n.normalizeStyle)({fontSize:`${a.value}rem`,color:e.color,"font-variation-settings":`'FILL' ${e.fill?1:0}, 'wght' ${e.weight||400}`,width:e.round?`calc(${a.value}rem * 2)`:"auto",height:e.round?`calc(${a.value}rem * 2)`:"auto",visibility:b.value?"visible":"hidden",...v.value}),translate:"no"},(0,n.toDisplayString)(r.value),7)):l.value==="font-awesome"?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:r.value,class:(0,n.normalizeClass)(["fa bgl_icon-font notranslate",[`fa-${r.value}`,g.value,{"fa-brands":i.value,"fa-solid":e.fill,far:!e.fill&&!i.value}]]),style:(0,n.normalizeStyle)({fontSize:`${a.value}rem`,color:e.color,"font-variation-settings":`'wght' ${e.weight||400}`,visibility:b.value?"visible":"hidden",...v.value}),translate:"no"},null,6)):(0,n.createCommentVNode)("",!0)]),_:1},8,["name"]))}}),_e=oS,aS={class:"flex space-between w-100p align-items-start gap-05"},lS={class:"flex gap-05 align-items-center min-w-0"},iS={class:"min-w-0"},sS={class:"txt13 opacity-6 m-0 ellipsis-1"},cS={key:0,class:"txt12 color-gray m-0 ellipsis-1"},uS={class:"flex space-between w-100p align-items-end gap-1"},dS=(0,n.defineComponent)({__name:"StatCard",props:{label:{},value:{},icon:{},color:{default:"primary"},change:{},invertChange:{type:Boolean},trend:{},currency:{},prefix:{},suffix:{},subtitle:{},loading:{type:Boolean},outline:{type:Boolean},frame:{type:Boolean}},setup(e){const t=e,r=(0,n.computed)(()=>xt(t.color)),o=(0,n.computed)(()=>typeof t.value=="number"?St(t.value,{currency:t.currency,prefix:t.prefix,suffix:t.suffix}):`${t.prefix??""}${t.value}${t.suffix??""}`),a=(0,n.computed)(()=>t.change!==void 0&&t.change!==0),l=(0,n.computed)(()=>(t.change??0)>0),i=(0,n.computed)(()=>t.invertChange?!l.value:l.value);return(s,c)=>((0,n.openBlock)(),(0,n.createBlock)(sr,{thin:"",outline:e.outline,frame:e.frame,class:"bgl-stat flex column gap-1"},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("div",aS,[(0,n.createElementVNode)("div",lS,[e.icon?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:"bgl-stat__icon grid place-items-center flex-shrink-0",style:(0,n.normalizeStyle)({color:r.value,background:`color-mix(in srgb, ${r.value} 12%, transparent)`})},[(0,n.createVNode)(_e,{name:e.icon,size:1.1},null,8,["name"])],4)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",iS,[(0,n.createElementVNode)("p",sS,(0,n.toDisplayString)(e.label),1),e.subtitle?((0,n.openBlock)(),(0,n.createElementBlock)("p",cS,(0,n.toDisplayString)(e.subtitle),1)):(0,n.createCommentVNode)("",!0)])]),a.value?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:(0,n.normalizeClass)(["bgl-stat__delta inline-flex align-items-center flex-shrink-0 semibold",i.value?"bgl-stat__delta--up":"bgl-stat__delta--down"])},[(0,n.createVNode)(_e,{name:l.value?"trending_up":"trending_down",size:.9},null,8,["name"]),(0,n.createTextVNode)(" "+(0,n.toDisplayString)(Math.abs(e.change).toFixed(1))+"% ",1)],2)):(0,n.createCommentVNode)("",!0)]),(0,n.createElementVNode)("div",uS,[(0,n.createElementVNode)("span",{class:(0,n.normalizeClass)(["txt28 m_txt24 semibold line-height-1 tabular-nums",{"opacity-4":e.loading}])},(0,n.toDisplayString)(e.loading?"…":o.value),3),e.trend?.length?((0,n.openBlock)(),(0,n.createBlock)(gh,{key:0,data:e.trend,color:e.color,area:"",class:"flex-shrink-0 opacity-9",width:96,height:32},null,8,["data","color"])):(0,n.createCommentVNode)("",!0)])]),_:1},8,["outline","frame"]))}}),fS=be(dS,[["__scopeId","data-v-f367e664"]]),mS=["src","alt"],pS={key:2,class:"flex-center absolute-fill error-image"},hS={key:1},gS=["src","alt","width","height"],vS=["src","alt","width","height"],yS=(0,n.defineComponent)({name:"BglImage",inheritAttrs:!0,__name:"Image",props:{src:{},pathKey:{},alt:{},width:{},height:{},caption:{},modelValue:{},ratio:{},gradient:{},fit:{},blend:{},rounded:{type:[Boolean,Number]}},setup(e){const t=e,{imageSrc:r,loadingError:o}=fd(()=>t.src??t.pathKey??t.modelValue),a=(0,n.useSlots)(),l=(0,n.computed)(()=>!!a.default?.({})?.some(p=>p.type!==n.Comment&&!(typeof p.children=="string"&&p.children.trim()===""))),i=(0,n.computed)(()=>t.ratio!==void 0||t.gradient!==void 0||t.blend!==void 0||t.rounded!==void 0||l.value);function s(p){return/^(--|#|rgb|hsl|var\(|linear|radial|conic)/.test(p)?p:`var(--bgl-${p})`}const c=(0,n.computed)(()=>{const p=t.gradient;if(!p)return;if(Array.isArray(p))return`linear-gradient(150deg, ${s(p[0])}, ${s(p[1])})`;if(/^(linear|radial|conic)-gradient/.test(p))return p;const h=s(p);return`linear-gradient(150deg, ${h}, color-mix(in srgb, ${h} 55%, #000))`}),u=(0,n.computed)(()=>t.ratio?`ratio-${t.ratio}`:""),d=(0,n.computed)(()=>t.ratio!==void 0||t.height!==void 0),f=(0,n.computed)(()=>{if(!(t.rounded===void 0||t.rounded===!1))return typeof t.rounded=="number"?`${t.rounded}px`:"var(--bgl-card-radius, 12px)"}),m=(0,n.computed)(()=>t.fit??(t.ratio||t.gradient?"cover":void 0));return(p,h)=>i.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:(0,n.normalizeClass)(["bgl-image-frame relative overflow-hidden",u.value]),style:(0,n.normalizeStyle)({width:(0,n.unref)(Gt)(e.width),height:e.ratio?void 0:(0,n.unref)(Gt)(e.height),background:c.value,borderRadius:f.value})},[(0,n.unref)(r)?((0,n.openBlock)(),(0,n.createElementBlock)("img",{key:0,src:(0,n.unref)(r),alt:e.alt,class:(0,n.normalizeClass)(["bgl-image-frame-img",d.value?"absolute-fill":"bgl-image-frame-img--flow"]),style:(0,n.normalizeStyle)({objectFit:m.value,mixBlendMode:e.blend})},null,14,mS)):!c.value&&!(0,n.unref)(o)?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(fa),{key:1,class:"absolute-fill"})):(0,n.unref)(o)&&!c.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",pS,[(0,n.createVNode)((0,n.unref)(_e),{name:"broken_image"})])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(p.$slots,"default",{},void 0,!0)],6)):e.caption?((0,n.openBlock)(),(0,n.createElementBlock)("figcaption",hS,[(0,n.unref)(r)?((0,n.openBlock)(),(0,n.createElementBlock)("img",(0,n.mergeProps)({key:0,src:(0,n.unref)(r)},p.$attrs,{alt:e.alt,width:(0,n.unref)(Gt)(e.width),height:(0,n.unref)(Gt)(e.height)}),null,16,gS)):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(fa),{key:1,class:"img-web-kit",width:(0,n.unref)(Gt)(e.width),height:(0,n.unref)(Gt)(e.height)},null,8,["width","height"]))])):(0,n.unref)(r)?((0,n.openBlock)(),(0,n.createElementBlock)("img",(0,n.mergeProps)({key:2,src:(0,n.unref)(r)},p.$attrs,{alt:e.alt,width:(0,n.unref)(Gt)(e.width),height:(0,n.unref)(Gt)(e.height)}),null,16,vS)):(0,n.unref)(o)?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:3,class:"flex-center error-image",style:(0,n.normalizeStyle)({width:(0,n.unref)(Gt)(e.width),height:(0,n.unref)(Gt)(e.height)})},[(0,n.createVNode)((0,n.unref)(_e),{name:"broken_image"})],4)):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(fa),{key:4,class:"img-web-kit",width:(0,n.unref)(Gt)(e.width),height:(0,n.unref)(Gt)(e.height)},null,8,["width","height"]))}}),$a=be(yS,[["__scopeId","data-v-76f29e7b"]]),bS=["title"],_S=(0,n.defineComponent)({name:"BglAvatar",__name:"Avatar",props:{fallback:{},src:{},name:{},icon:{},alt:{},size:{default:50},square:{type:[Boolean,Number]},color:{},status:{type:[Boolean,String]},statusTitle:{},innerClass:{}},setup(e){const t=e,r=(0,n.computed)(()=>t.status===!0?"green":t.status||null),o=(0,n.computed)(()=>Math.max(7,Math.min(14,Math.round(t.size*.28)))),a=(0,n.computed)(()=>t.square?t.square===!0?"var(--bgl-btn-border-radius)":`${t.square}px`:"1000px"),l=(0,n.computed)(()=>t.color?{background:`color-mix(in srgb, var(--bgl-${t.color}) 14%, transparent)`,color:`var(--bgl-${t.color})`,border:"none"}:{});return(i,s)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:"avatar-wrap",style:(0,n.normalizeStyle)({width:`${e.size}px`,height:`${e.size}px`})},[(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["overflow-hidden txt-center p-0 avatar flex justify-content-center align-items-center",e.innerClass]),style:(0,n.normalizeStyle)({width:`${e.size}px`,height:`${e.size}px`,borderRadius:a.value,...l.value})},[e.src?((0,n.openBlock)(),(0,n.createBlock)($a,{key:0,src:e.src,alt:e.alt||e.name},null,8,["src","alt"])):e.icon?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:1,icon:e.icon,size:e.size/40},null,8,["icon","size"])):((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:2,style:(0,n.normalizeStyle)({"line-height":`${e.size}px`,"font-size":`calc(1.5rem * ${e.size} / 50)`})},(0,n.toDisplayString)((e.fallback||(0,n.unref)(Sv)(e.name||"")).toUpperCase()),5))],6),r.value?((0,n.openBlock)(),(0,n.createElementBlock)("span",{key:0,class:"avatar-status",title:e.statusTitle,style:(0,n.normalizeStyle)({width:`${o.value}px`,height:`${o.value}px`,background:`var(--bgl-${r.value})`})},null,12,bS)):(0,n.createCommentVNode)("",!0)],4))}}),e0=be(_S,[["__scopeId","data-v-1d880a58"]]),wS=["disabled"],kS={class:"flex h-100 justify-content-center relative"},$S={key:0,class:"loading absolute inset-0 mx-auto"},ES={key:1,class:"bgl_pill-dot"},CS=(0,n.defineComponent)({name:"BglBadge",__name:"Badge",props:{disabled:{type:Boolean},icon:{},iconEnd:{},color:{},variant:{},flat:{type:Boolean},outline:{type:Boolean},soft:{type:Boolean},frost:{type:Boolean},gradient:{type:[Boolean,String]},gradientDir:{},frame:{type:Boolean},glass:{type:Boolean},dot:{type:Boolean},flush:{type:Boolean},border:{type:Boolean},loading:{type:Boolean},value:{},round:{type:Boolean},btn:{},btnEnd:{},size:{},sm:{type:Boolean},lg:{type:Boolean},mobileSize:{},uppercase:{type:Boolean}},setup(e){const t=e,r=(0,n.useSlots)(),o=(0,n.computed)(()=>t.disabled?"gray-light":t.color),{isGradient:a,gradientStyle:l}=qi({gradient:()=>t.gradient,gradientDir:()=>t.gradientDir,color:()=>t.color}),i=(0,n.computed)(()=>{const f=o.value;return f?`pair-${f}`:u.value==="frost"?"pair-white":"pair-primary"}),s=(0,n.computed)(()=>t.size?t.size:t.sm?"sm":t.lg?"lg":"md"),c=(0,n.computed)(()=>t.mobileSize),u=(0,n.computed)(()=>t.variant?t.variant:a.value?"gradient":t.frost?"frost":t.glass?"glass":t.soft?"soft":t.flat?"flat":t.outline||t.border?"outline":"solid"),d=(0,n.computed)(()=>{const f={bgl_pill:!t.icon||!!r.default||!!t.value,round:t.round,bgl_flatPill:u.value==="flat","bgl_pill-border":u.value==="outline","bgl_pill-frame":t.frame,bgl_glassPill:u.value==="glass",soft:u.value==="soft",frost:u.value==="frost",gradient:u.value==="gradient",pillLarge:s.value==="lg",pillSmall:s.value==="sm",m_pillLarge:c.value==="lg",m_pillMd:c.value==="md",m_pillSmall:c.value==="sm","bgl_pill-flush":t.flush};return f[i.value]=!0,f});return(f,m)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["bgl_pill",d.value]),style:(0,n.normalizeStyle)([{height:"var(--bgl-pill-height)"},(0,n.unref)(l)]),disabled:e.disabled},[(0,n.createElementVNode)("div",kS,[e.loading?((0,n.openBlock)(),(0,n.createElementBlock)("div",$S)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["px-025 flex gap-025 justify-content-center align-items-center",{"opacity-0":e.loading}])},[e.btn?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),(0,n.mergeProps)({key:0,class:"bgl_pill-btn -ms-025","icon-size":"0.8",round:""},e.btn),null,16)):(0,n.createCommentVNode)("",!0),e.dot?((0,n.openBlock)(),(0,n.createElementBlock)("span",ES)):(0,n.createCommentVNode)("",!0),e.icon?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:2,class:"line-height-0",icon:e.icon,style:{"font-size":"var(--bgl-pill-font-size)"}},null,8,["icon"])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(f.$slots,"default",{class:(0,n.normalizeClass)({uppercase:e.uppercase})},void 0,!0),(0,n.unref)(r).default?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createElementBlock)("p",{key:3,class:(0,n.normalizeClass)(["pillText inline",{uppercase:e.uppercase}])},(0,n.toDisplayString)(e.value),3)),e.iconEnd?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:4,class:"line-height-0",icon:e.iconEnd,style:{"font-size":"var(--bgl-pill-font-size)"}},null,8,["icon"])):(0,n.createCommentVNode)("",!0),e.btnEnd?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),(0,n.mergeProps)({key:5,class:"bgl_pill-btn -me-025","icon-size":"0.8",round:""},e.btnEnd),null,16)):(0,n.createCommentVNode)("",!0)],2)])],14,wS))}}),ho=be(CS,[["__scopeId","data-v-8d5aa2b7"]]);function xu(e){return(0,n.getCurrentScope)()?((0,n.onScopeDispose)(e),!0):!1}var Wa=typeof window<"u"&&typeof document<"u",sH=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,SS=e=>e!=null,xS=Object.prototype.toString,TS=e=>xS.call(e)==="[object Object]",Tf=()=>+Date.now(),Kt=()=>{},NS=BS();function BS(){var e,t;return Wa&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Tu(e,t){function r(...o){return new Promise((a,l)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(a).catch(l)})}return r}var DS=e=>e();function t0(e,t={}){let r,o,a=Kt;const l=c=>{clearTimeout(c),a(),a=Kt};let i;return c=>{const u=(0,n.toValue)(e),d=(0,n.toValue)(t.maxWait);return r&&l(r),u<=0||d!==void 0&&d<=0?(o&&(l(o),o=void 0),Promise.resolve(c())):new Promise((f,m)=>{a=t.rejectOnCancel?m:f,i=c,d&&!o&&(o=setTimeout(()=>{r&&l(r),o=void 0,f(i())},d)),r=setTimeout(()=>{o&&l(o),o=void 0,f(c())},u)})}}function AS(...e){let t=0,r,o=!0,a=Kt,l,i,s,c,u;!(0,n.isRef)(e[0])&&typeof e[0]=="object"?{delay:i,trailing:s=!0,leading:c=!0,rejectOnCancel:u=!1}=e[0]:[i,s=!0,c=!0,u=!1]=e;const d=()=>{r&&(clearTimeout(r),r=void 0,a(),a=Kt)};return m=>{const p=(0,n.toValue)(i),h=Date.now()-t,y=()=>l=m();return d(),p<=0?(t=Date.now(),y()):(h>p&&(c||!o)?(t=Date.now(),y()):s&&(l=new Promise((b,g)=>{a=u?g:b,r=setTimeout(()=>{t=Date.now(),o=!0,b(y()),d()},Math.max(0,p-h))})),!c&&!r&&(r=setTimeout(()=>o=!0,p)),o=!1,l)}}function Nf(e,t=!1,r="Timeout"){return new Promise((o,a)=>{setTimeout(t?()=>a(r):o,e)})}function aa(e){return Array.isArray(e)?e:[e]}function n0(e){const t=Object.create(null);return r=>t[r]||(t[r]=e(r))}var MS=/\B([A-Z])/g,cH=n0(e=>e.replace(MS,"-$1").toLowerCase()),LS=/-(\w)/g,uH=n0(e=>e.replace(LS,(t,r)=>r?r.toUpperCase():""));function PS(e){return e||(0,n.getCurrentInstance)()}function Wr(e,t=200,r={}){return Tu(t0(t,r),e)}function IS(e,t,r={}){const{eventFilter:o=DS,...a}=r;return(0,n.watch)(e,Tu(o,t),a)}function VS(e,t=!0,r){PS(r)?(0,n.onMounted)(e,r):t?e():(0,n.nextTick)(e)}function vc(e,t=!1){function r(f,{flush:m="sync",deep:p=!1,timeout:h,throwOnTimeout:y}={}){let b=null;const g=[new Promise(v=>{b=(0,n.watch)(e,_=>{f(_)!==t&&(b?b():(0,n.nextTick)(()=>b?.()),v(_))},{flush:m,deep:p,immediate:!0})})];return h!=null&&g.push(Nf(h,y).then(()=>(0,n.toValue)(e)).finally(()=>b?.())),Promise.race(g)}function o(f,m){if(!(0,n.isRef)(f))return r(_=>_===f,m);const{flush:p="sync",deep:h=!1,timeout:y,throwOnTimeout:b}=m??{};let g=null;const v=[new Promise(_=>{g=(0,n.watch)([e,f],([w,k])=>{t!==(w===k)&&(g?g():(0,n.nextTick)(()=>g?.()),_(w))},{flush:p,deep:h,immediate:!0})})];return y!=null&&v.push(Nf(y,b).then(()=>(0,n.toValue)(e)).finally(()=>(g?.(),(0,n.toValue)(e)))),Promise.race(v)}function a(f){return r(m=>!!m,f)}function l(f){return o(null,f)}function i(f){return o(void 0,f)}function s(f){return r(Number.isNaN,f)}function c(f,m){return r(p=>{const h=Array.from(p);return h.includes(f)||h.includes((0,n.toValue)(f))},m)}function u(f){return d(1,f)}function d(f=1,m){let p=-1;return r(()=>(p+=1,p>=f),m)}return Array.isArray((0,n.toValue)(e))?{toMatch:r,toContains:c,changed:u,changedTimes:d,get not(){return vc(e,!t)}}:{toMatch:r,toBe:o,toBeTruthy:a,toBeNull:l,toBeNaN:s,toBeUndefined:i,changed:u,changedTimes:d,get not(){return vc(e,!t)}}}function OS(e){return vc(e)}function RS(e,t,r={}){const{debounce:o=0,maxWait:a=void 0,...l}=r;return IS(e,t,{...l,eventFilter:t0(o,{maxWait:a})})}function FS(e,t,r){return(0,n.watch)(e,t,{...r,immediate:!0})}var Vo=Wa?window:void 0,dH=Wa?window.document:void 0,fH=Wa?window.navigator:void 0,mH=Wa?window.location:void 0;function Ut(e){var t;const r=(0,n.toValue)(e);return(t=r?.$el)!=null?t:r}function bo(...e){const t=[],r=()=>{t.forEach(s=>s()),t.length=0},o=(s,c,u,d)=>(s.addEventListener(c,u,d),()=>s.removeEventListener(c,u,d)),a=(0,n.computed)(()=>{const s=aa((0,n.toValue)(e[0])).filter(c=>c!=null);return s.every(c=>typeof c!="string")?s:void 0}),l=FS(()=>{var s,c;return[(c=(s=a.value)==null?void 0:s.map(u=>Ut(u)))!=null?c:[Vo].filter(u=>u!=null),aa((0,n.toValue)(a.value?e[1]:e[0])),aa((0,n.unref)(a.value?e[2]:e[1])),(0,n.toValue)(a.value?e[3]:e[2])]},([s,c,u,d])=>{if(r(),!s?.length||!c?.length||!u?.length)return;const f=TS(d)?{...d}:d;t.push(...s.flatMap(m=>c.flatMap(p=>u.map(h=>o(m,p,h,f)))))},{flush:"post"}),i=()=>{l(),r()};return xu(r),i}var Bf=!1;function zS(e,t,r={}){const{window:o=Vo,ignore:a=[],capture:l=!0,detectIframe:i=!1,controls:s=!1}=r;if(!o)return s?{stop:Kt,cancel:Kt,trigger:Kt}:Kt;if(NS&&!Bf){Bf=!0;const b={passive:!0};Array.from(o.document.body.children).forEach(g=>g.addEventListener("click",Kt,b)),o.document.documentElement.addEventListener("click",Kt,b)}let c=!0;const u=b=>(0,n.toValue)(a).some(g=>{if(typeof g=="string")return Array.from(o.document.querySelectorAll(g)).some(v=>v===b.target||b.composedPath().includes(v));{const v=Ut(g);return v&&(b.target===v||b.composedPath().includes(v))}});function d(b){const g=(0,n.toValue)(b);return g&&g.$.subTree.shapeFlag===16}function f(b,g){const v=(0,n.toValue)(b),_=v.$.subTree&&v.$.subTree.children;return _==null||!Array.isArray(_)?!1:_.some(w=>w.el===g.target||g.composedPath().includes(w.el))}const m=b=>{const g=Ut(e);if(b.target!=null&&!(!(g instanceof Element)&&d(e)&&f(e,b))&&!(!g||g===b.target||b.composedPath().includes(g))){if("detail"in b&&b.detail===0&&(c=!u(b)),!c){c=!0;return}t(b)}};let p=!1;const h=[bo(o,"click",b=>{p||(p=!0,setTimeout(()=>{p=!1},0),m(b))},{passive:!0,capture:l}),bo(o,"pointerdown",b=>{const g=Ut(e);c=!u(b)&&!!(g&&!b.composedPath().includes(g))},{passive:!0}),i&&bo(o,"blur",b=>{setTimeout(()=>{var g;const v=Ut(e);((g=o.document.activeElement)==null?void 0:g.tagName)==="IFRAME"&&!v?.contains(o.document.activeElement)&&t(b)},0)},{passive:!0})].filter(Boolean),y=()=>h.forEach(b=>b());return s?{stop:y,cancel:()=>{c=!1},trigger:b=>{c=!0,m(b),c=!1}}:y}function US(){const e=(0,n.shallowRef)(!1),t=(0,n.getCurrentInstance)();return t&&(0,n.onMounted)(()=>{e.value=!0},t),e}function r0(e){const t=US();return(0,n.computed)(()=>(t.value,!!e()))}function o0(e,t,r={}){const{window:o=Vo,...a}=r;let l;const i=r0(()=>o&&"ResizeObserver"in o),s=()=>{l&&(l.disconnect(),l=void 0)},c=(0,n.watch)((0,n.computed)(()=>{const d=(0,n.toValue)(e);return Array.isArray(d)?d.map(f=>Ut(f)):[Ut(d)]}),d=>{if(s(),i.value&&o){l=new ResizeObserver(t);for(const f of d)f&&l.observe(f,a)}},{immediate:!0,flush:"post"}),u=()=>{s(),c()};return xu(u),{isSupported:i,stop:u}}function HS(e,t={width:0,height:0},r={}){const{window:o=Vo,box:a="content-box"}=r,l=(0,n.computed)(()=>{var f,m;return(m=(f=Ut(e))==null?void 0:f.namespaceURI)==null?void 0:m.includes("svg")}),i=(0,n.shallowRef)(t.width),s=(0,n.shallowRef)(t.height),{stop:c}=o0(e,([f])=>{const m=a==="border-box"?f.borderBoxSize:a==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(o&&l.value){const p=Ut(e);if(p){const h=p.getBoundingClientRect();i.value=h.width,s.value=h.height}}else if(m){const p=aa(m);i.value=p.reduce((h,{inlineSize:y})=>h+y,0),s.value=p.reduce((h,{blockSize:y})=>h+y,0)}else i.value=f.contentRect.width,s.value=f.contentRect.height},r);VS(()=>{const f=Ut(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,s.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=(0,n.watch)(()=>Ut(e),f=>{i.value=f?t.width:0,s.value=f?t.height:0});function d(){c(),u()}return{width:i,height:s,stop:d}}function a0(e,t,r={}){const{root:o,rootMargin:a="0px",threshold:l=0,window:i=Vo,immediate:s=!0}=r,c=r0(()=>i&&"IntersectionObserver"in i),u=(0,n.computed)(()=>aa((0,n.toValue)(e)).map(Ut).filter(SS));let d=Kt;const f=(0,n.shallowRef)(s),m=c.value?(0,n.watch)(()=>[u.value,Ut(o),f.value],([h,y])=>{if(d(),!f.value||!h.length)return;const b=new IntersectionObserver(t,{root:Ut(y),rootMargin:a,threshold:l});h.forEach(g=>g&&b.observe(g)),d=()=>{b.disconnect(),d=Kt}},{immediate:s,flush:"post"}):Kt,p=()=>{d(),m(),f.value=!1};return xu(p),{isSupported:c,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:p}}var WS=["mousemove","mousedown","resize","keydown","touchstart","wheel"],jS=6e4;function qS(e=jS,t={}){const{initialState:r=!1,listenForVisibilityChange:o=!0,events:a=WS,window:l=Vo,eventFilter:i=AS(50)}=t,s=(0,n.shallowRef)(r),c=(0,n.shallowRef)(Tf());let u;const d=()=>{s.value=!1,clearTimeout(u),u=setTimeout(()=>s.value=!0,e)},f=Tu(i,()=>{c.value=Tf(),d()});if(l){const m=l.document,p={passive:!0};for(const h of a)bo(l,h,f,p);o&&bo(m,"visibilitychange",()=>{m.hidden||f()},p),r||d()}return{idle:s,lastActive:c,reset:d}}var pH=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}];function GS(e,t){const{containerStyle:r,wrapperProps:o,scrollTo:a,calculateRange:l,currentList:i,containerRef:s}="itemHeight"in t?KS(t,e):XS(t,e);return{list:i,scrollTo:a,containerProps:{ref:s,onScroll:()=>{l()},style:r},wrapperProps:o}}function l0(e){const t=(0,n.shallowRef)(null),r=HS(t),o=(0,n.ref)([]),a=(0,n.shallowRef)(e);return{state:(0,n.ref)({start:0,end:10}),source:a,currentList:o,size:r,containerRef:t}}function i0(e,t,r){return o=>{if(typeof r=="number")return Math.ceil(o/r);const{start:a=0}=e.value;let l=0,i=0;for(let s=a;s<t.value.length;s++){const c=r(s);if(l+=c,i=s,l>o)break}return i-a}}function s0(e,t){return r=>{if(typeof t=="number")return Math.floor(r/t)+1;let o=0,a=0;for(let l=0;l<e.value.length;l++){const i=t(l);if(o+=i,o>=r){a=l;break}}return a+1}}function c0(e,t,r,o,{containerRef:a,state:l,currentList:i,source:s}){return()=>{const c=a.value;if(c){const u=r(e==="vertical"?c.scrollTop:c.scrollLeft),d=o(e==="vertical"?c.clientHeight:c.clientWidth),f=u-t,m=u+d+t;l.value={start:f<0?0:f,end:m>s.value.length?s.value.length:m},i.value=s.value.slice(l.value.start,l.value.end).map((p,h)=>({data:p,index:h+l.value.start}))}}}function u0(e,t){return r=>typeof e=="number"?r*e:t.value.slice(0,r).reduce((o,a,l)=>o+e(l),0)}function d0(e,t,r,o){(0,n.watch)([e.width,e.height,()=>(0,n.toValue)(t),r],()=>{o()})}function f0(e,t){return(0,n.computed)(()=>typeof e=="number"?t.value.length*e:t.value.reduce((r,o,a)=>r+e(a),0))}var YS={horizontal:"scrollLeft",vertical:"scrollTop"};function m0(e,t,r,o){return a=>{o.value&&(o.value[YS[e]]=r(a),t())}}function XS(e,t){const r=l0(t),{state:o,source:a,currentList:l,size:i,containerRef:s}=r,c={overflowX:"auto"},{itemWidth:u,overscan:d=5}=e,f=i0(o,a,u),m=c0("horizontal",d,s0(a,u),f,r),p=u0(u,a),h=(0,n.computed)(()=>p(o.value.start)),y=f0(u,a);return d0(i,t,s,m),{scrollTo:m0("horizontal",m,p,s),calculateRange:m,wrapperProps:(0,n.computed)(()=>({style:{height:"100%",width:`${y.value-h.value}px`,marginLeft:`${h.value}px`,display:"flex"}})),containerStyle:c,currentList:l,containerRef:s}}function KS(e,t){const r=l0(t),{state:o,source:a,currentList:l,size:i,containerRef:s}=r,c={overflowY:"auto"},{itemHeight:u,overscan:d=5}=e,f=i0(o,a,u),m=c0("vertical",d,s0(a,u),f,r),p=u0(u,a),h=(0,n.computed)(()=>p(o.value.start)),y=f0(u,a);return d0(i,t,s,m),{calculateRange:m,scrollTo:m0("vertical",m,p,s),containerStyle:c,wrapperProps:(0,n.computed)(()=>({style:{width:"100%",height:`${y.value-h.value}px`,marginTop:`${h.value}px`}})),currentList:l,containerRef:s}}var JS=["src"],ZS=["autoplay","muted","loop","controls","playsinline"],QS=["src","type"],e3=(0,n.defineComponent)({__name:"BglVideo",props:{src:{},autoplay:{type:[Boolean,String]},mute:{type:Boolean},aspectRatio:{},controls:{type:Boolean},loop:{type:Boolean},status:{},playsinline:{type:Boolean}},setup(e,{expose:t}){const r=e,o=(0,n.computed)(()=>r.src?.split(".").pop()?.split("?").shift()?.toLowerCase()??"mp4"),a=(0,n.ref)(),l=(0,n.computed)(()=>r.src?.includes("youtube.com/shorts/")??!1),i=(0,n.computed)(()=>l.value?"9/16":r.aspectRatio?.replace(":","/")??"16/9"),s=(0,n.ref)();function c(){s.value?.play()}function u(){s.value?.pause()}r.autoplay==="visible"&&a0(a,([{isIntersecting:m}])=>{m?c():u()},{threshold:.3}),(0,n.watch)(()=>r.status,m=>{m==="play"&&c(),m==="pause"&&u()}),t({play:c,pause:u});const d=(0,n.computed)(()=>{if(/youtube\.com|youtu\.be/.test(r.src??""))return"YouTube";if(/(?:player\.)?vimeo\.com/.test(r.src??""))return"Vimeo"}),f=(0,n.computed)(()=>{if(d.value==="YouTube"){let m="";r.src?.includes("youtube.com/shorts/")===!0?m=r.src.split("/shorts/")[1]?.split("?")[0]??"":m=r.src?.split(/v=|youtu\.be\//)[1]?.split("&")?.[0]??"";const p=new URLSearchParams({autoplay:r.autoplay===!0||r.autoplay==="visible"?"1":"0",controls:"0",showinfo:"0",modestbranding:"1"});return`https://www.youtube.com/embed/${m}?${p}`}if(d.value==="Vimeo"){const m=/player\.vimeo\.com\/video\/(\d+)/,p=/vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/)?(\d+)(?:$|\/|\?)/,h=r.src?.match(m)??null,y=r.src?.match(p)??null;return`https://player.vimeo.com/video/${h?.[1]??y?.[3]}`}return r.src});return(m,p)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"videoContainer",ref:a,class:(0,n.normalizeClass)(["bgl_vid",{vid_empty:!e.src,vid_short:l.value}])},[d.value?((0,n.openBlock)(),(0,n.createElementBlock)("iframe",{key:0,src:f.value,style:(0,n.normalizeStyle)({aspectRatio:i.value}),frameborder:"0",title:"Video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:""},null,12,JS)):e.src?((0,n.openBlock)(),(0,n.createElementBlock)("video",{key:1,ref_key:"video",ref:s,autoplay:e.autoplay===!0,muted:e.mute,loop:e.loop,style:(0,n.normalizeStyle)({aspectRatio:i.value}),controls:e.controls,playsinline:e.playsinline},[(0,n.createElementVNode)("source",{src:e.src,type:`video/${o.value}`},null,8,QS)],12,ZS)):(0,n.createCommentVNode)("",!0)],2))}}),Nu=be(e3,[["__scopeId","data-v-acc6c65e"]]),t3=(0,n.defineComponent)({__name:"CalendarPopover",props:{event:{},targetElement:{},position:{},show:{type:Boolean},hasEventContentSlot:{type:Boolean}},emits:["close","eventClick"],setup(e,{emit:t}){const r=e,o=t,{scrollY:a,scrollX:l,innerHeight:i,innerWidth:s}=Qa(),c=(0,n.ref)(),u=(0,n.computed)(()=>{if(r.position){let{top:p,left:h}=r.position;return p-=80,p=Math.max(a.value+10,Math.min(p,i.value+a.value-150-10)),h=Math.max(l.value+10,Math.min(h,s.value+l.value-400-10)),{top:p,left:h,width:400,height:150}}if(r.targetElement&&r.show){const p=r.targetElement.getBoundingClientRect();let h=p.top+a.value+p.height/2-150/2,y=p.left+l.value+p.width+10;return h=Math.max(a.value+10,Math.min(h,i.value+a.value-150-10)),y+400>s.value+l.value&&(y=p.left+l.value-400+p.width-10),y<l.value&&(y=p.right+l.value+10),{top:h,left:y,width:400,height:150}}return{top:0,left:0,width:400,height:150}});function d(){o("close")}return(f,m)=>{const p=(0,n.resolveDirective)("click-outside");return e.show&&e.event?(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(sr),{key:0,ref_key:"popoverRef",ref:c,thin:"",class:"custom-popover",style:(0,n.normalizeStyle)({top:`${u.value.top}px`,left:`${u.value.left}px`,maxWidth:`${u.value.width}px`})},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(f.$slots,"eventContent",{event:e.event,close:d},void 0,!0)]),_:3},8,["style"])),[[p,d]]):(0,n.createCommentVNode)("",!0)}}}),n3=be(t3,[["__scopeId","data-v-291fefea"]]),r3={key:0,class:"flex h-100p justify-content-center column gap-1 opacity-3"},o3=["data-date","data-today"],a3={class:"bg-white border line-height-12 radius-1 grid align-items-center px-05 py-025 txt-center"},l3={class:"txt18"},i3={class:"txt12"},s3={class:"line-height-12"},c3={class:"txt12 opacity-6"},u3={key:0,class:"ms-auto"},d3=["onClick"],f3={class:"agenda-event-time txt-center pt-1 txt14 opacity-6 bold relative"},m3={class:"flex space-between"},p3={class:"txt16 m-0 semi"},h3={class:"txt12 opacity-6"},g3={key:0,class:"txt12 opacity-6"},v3=(0,n.defineComponent)({__name:"AgendaView",props:{events:{},startDate:{}},emits:["eventClick","dateChange","openPopover"],setup(e,{emit:t}){const r=e,o=t,a=(0,n.useSlots)(),{t:l}=ot(),i=(0,n.ref)(null);function s(){try{return ir().global.locale.value}catch{return"en"}}function c(y){if(y<60)return`${y} min`;const b=Math.floor(y/60),g=y%60;return g?`${b}h ${g}m`:`${b}h`}const u=(0,n.computed)(()=>{const y=s(),b=new Date().toDateString(),g=[...r.events].sort((_,w)=>new Date(_.start_time).getTime()-new Date(w.start_time).getTime()),v=new Map;for(const _ of g){const w=new Date(_.start_time),k=w.toDateString();v.has(k)||v.set(k,{dateKey:k,date:w,dayNumber:w.toLocaleDateString(y,{day:"2-digit"}),monthShort:w.toLocaleDateString(y,{month:"short"}),weekdayLong:w.toLocaleDateString(y,{weekday:"long"}),isToday:k===b,events:[]});const S=Math.round((new Date(_.end_time).getTime()-new Date(_.start_time).getTime())/6e4);v.get(k).events.push({..._,durationMin:S})}return Array.from(v.values())}),d=(0,n.ref)(!1);function f(){if(!i.value)return;const y=i.value,b=y.querySelectorAll(".agenda-day-group"),g=y.getBoundingClientRect().top;let v=null,_=1/0;if(b.forEach(w=>{const k=Math.abs(w.getBoundingClientRect().top-g);k<_&&(_=k,v=w)}),v){const w=v.dataset.date;w&&o("dateChange",new Date(w))}}function m(y,b){if(!a.eventContent){o("eventClick",y);return}if(b){const g=b.currentTarget.getBoundingClientRect();o("openPopover",y,{top:g.top+window.scrollY+g.height/2,left:g.left+window.scrollX+g.width+10})}else o("openPopover",y)}function p(y){const b=new Date(y);return b.setHours(0,0,0,0),b.getTime()}function h(y,b="instant",g="nearest"){if(!i.value)return;const v=Array.from(i.value.querySelectorAll(".agenda-day-group"));if(!v.length)return;const _=p(y);let w=null,k=1/0;if(g==="forward")for(const S of v){const E=S.dataset.date;if(!E)continue;const C=p(new Date(E));C>=_&&C-_<k&&(k=C-_,w=S)}else if(g==="backward")for(const S of v){const E=S.dataset.date;if(!E)continue;const C=p(new Date(E));C<=_&&_-C<k&&(k=_-C,w=S)}if(!w)for(const S of v){const E=S.dataset.date;if(!E)continue;const C=Math.abs(p(new Date(E))-_);C<k&&(k=C,w=S)}w?.scrollIntoView({block:"start",behavior:b})}return(0,n.watch)(()=>r.startDate,(y,b)=>{const g=!b||p(y)>=p(b)?"forward":"backward";(0,n.nextTick)(()=>h(y,"smooth",g))}),(0,n.watchEffect)(()=>{if(d.value||!u.value.length)return;const y=new Date().getTime();u.value.some(b=>b.date.getTime()>=y-864e5)&&(d.value=!0,(0,n.nextTick)(()=>h(new Date,"instant","nearest")))}),(0,n.onMounted)(()=>{i.value?.addEventListener("scroll",f)}),(0,n.onUnmounted)(()=>{i.value?.removeEventListener("scroll",f)}),(y,b)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{ref_key:"containerRef",ref:i,class:"display-flex column h-100p overflow gap-0"},[u.value.length===0?((0,n.openBlock)(),(0,n.createElementBlock)("div",r3,[(0,n.createVNode)((0,n.unref)(_e),{icon:"calendar",size:"4",weight:"200"}),(0,n.createTextVNode)(" "+(0,n.toDisplayString)((0,n.unref)(l)("calendar.agenda.noEvents")),1)])):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(u.value,g=>((0,n.openBlock)(),(0,n.createElementBlock)("section",{key:g.dateKey,class:"mb-1 agenda-day-group","data-date":g.date.toISOString(),"data-today":g.isToday||void 0},[(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["sticky z-2 flex gap-05 p-1 m_p-05 mb-05",{"bg-primary-light":g.isToday,"bg-bg":!g.isToday}])},[(0,n.createElementVNode)("div",a3,[(0,n.createElementVNode)("p",l3,(0,n.toDisplayString)(g.dayNumber),1),(0,n.createElementVNode)("p",i3,(0,n.toDisplayString)(g.monthShort),1)]),(0,n.createElementVNode)("div",null,[(0,n.createElementVNode)("p",s3,(0,n.toDisplayString)(g.weekdayLong),1),(0,n.createElementVNode)("p",c3,(0,n.toDisplayString)((0,n.unref)(l)("calendar.agenda.eventsCount",g.events.length,{named:{n:g.events.length}})),1)]),g.isToday?((0,n.openBlock)(),(0,n.createElementBlock)("p",u3,(0,n.toDisplayString)((0,n.unref)(l)("calendar.today")),1)):(0,n.createCommentVNode)("",!0)],2),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(g.events,v=>((0,n.openBlock)(),(0,n.createElementBlock)("article",{key:v.id,class:"agenda-event-row grid gap-05 hover pe-1",onClick:(0,n.withModifiers)(_=>m(v,_),["stop"])},[(0,n.createElementVNode)("div",f3,(0,n.toDisplayString)((0,n.unref)(ft)(v.start_time,{format:"HH:mm"})),1),(0,n.createVNode)((0,n.unref)(sr),{class:"agenda-event-card overflow-hidden transition py-025 px-075 my-025",frame:"",style:(0,n.normalizeStyle)({"--event-color":v.color||"var(--bgl-primary)"})},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("div",m3,[(0,n.createElementVNode)("h3",p3,(0,n.toDisplayString)(v.title),1),(0,n.createElementVNode)("p",h3,(0,n.toDisplayString)(c(v.durationMin)),1)]),v.description?((0,n.openBlock)(),(0,n.createElementBlock)("p",g3,(0,n.toDisplayString)(v.description),1)):(0,n.createCommentVNode)("",!0)]),_:2},1032,["style"])],8,d3))),128))],8,o3))),128))],512))}}),y3=be(v3,[["__scopeId","data-v-9aafb2d8"]]),b3={class:"w-100p overflow-hidden m_overflow h-100p grid"},_3={class:"border-bottom me-1 txt-center p-05 dayGrid"},w3={class:"overflow h-100p pe-05"},k3={class:"time-column"},$3={class:"events-column"},E3=["onClick"],C3={class:"event-content"},S3={class:"white-space ellipsis-1"},x3={class:"event-time opacity-8"},T3={class:"color-primary txt-12 p-025"},jo=60,qo=60,N3=(0,n.defineComponent)({__name:"DayView",props:{events:{},startDate:{}},emits:["eventClick","eventCreate","openPopover"],setup(e,{emit:t}){const r=e,o=t,a=(0,n.useSlots)(),l={start:0,end:24},i=(0,n.ref)({isDragging:!1,start:null,end:null,startTime:null,endTime:null}),s=(0,n.ref)(0),c=(0,n.ref)(!1),u=(0,n.ref)(null),d=(0,n.computed)(()=>{const v=[];for(let _=l.start;_<l.end;_++)for(let w=0;w<60;w+=qo)v.push({hour:_,minute:w,time:`${_.toString().padStart(2,"0")}:${w.toString().padStart(2,"0")}`});return v}),f=(0,n.computed)(()=>r.events.filter(v=>new Date(v.start_time).toDateString()===r.startDate.toDateString()).map(v=>{const _=new Date(v.start_time),w=new Date(v.end_time),k=_.getHours()*60+_.getMinutes(),S=w.getHours()*60+w.getMinutes(),E=k/qo*jo,C=Math.max((S-k)/qo*jo,30);return{...v,top:E,height:C}}));function m(){const v=new Date;c.value=v.toDateString()===r.startDate.toDateString(),s.value=(v.getHours()*60+v.getMinutes())/qo*jo}function p(v){v.target.closest(".time-slot")&&(i.value.isDragging=!0,i.value.start={x:v.clientX,y:v.clientY},i.value.startTime=b(v.clientY),document.addEventListener("mousemove",h),document.addEventListener("mouseup",y))}function h(v){i.value.isDragging&&(i.value.end={x:v.clientX,y:v.clientY},i.value.endTime=b(v.clientY))}function y(){if(!i.value.isDragging||!i.value.startTime||!i.value.endTime)return;let v=new Date(i.value.startTime),_=new Date(i.value.endTime);_<v&&([v,_]=[_,v]),o("eventCreate",{start_time:v,end_time:_}),i.value={isDragging:!1,start:null,end:null,startTime:null,endTime:null},document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",y)}function b(v){const _=document.querySelector(".time-slots")?.getBoundingClientRect();if(!_)return new Date;const w=v-_.top,k=qo,S=w/jo,E=Math.floor(S*k),C=new Date(r.startDate);return C.setHours(Math.floor(E/60)),C.setMinutes(E%60),C.setSeconds(0),C.setMilliseconds(0),C}function g(v,_){if(!a.eventContent){o("eventClick",v);return}if(_){const w=_.currentTarget.getBoundingClientRect();o("openPopover",v,{top:w.top+window.scrollY+w.height/2,left:w.left+window.scrollX+w.width+10})}else o("openPopover",v)}return(0,n.onMounted)(()=>{document.addEventListener("mousedown",p),m(),u.value=setInterval(m,6e4)}),(0,n.onUnmounted)(()=>{document.removeEventListener("mousedown",p),document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",y),u.value&&clearInterval(u.value)}),(v,_)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",b3,[(0,n.createElementVNode)("div",_3,[_[0]||(_[0]=(0,n.createElementVNode)("div",null,null,-1)),(0,n.createElementVNode)("div",null,(0,n.toDisplayString)((0,n.unref)(ft)(e.startDate)),1)]),(0,n.createElementVNode)("div",w3,[(0,n.createElementVNode)("div",{class:"time-slots dayGrid border-end relative",onMousedown:p},[(0,n.createElementVNode)("div",k3,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,w=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:w.time,class:"time-slot txt-light txt-12 color-gray bg-gray-light border-start",style:(0,n.normalizeStyle)({height:`${jo}px`})},(0,n.toDisplayString)(w.time),5))),128))]),(0,n.createElementVNode)("div",$3,[c.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"absolute end w-100p z-2 flex pointer-events-none",style:(0,n.normalizeStyle)({top:`${s.value}px`})},[..._[1]||(_[1]=[(0,n.createElementVNode)("div",{class:"current-time-dot h-10px aspect-ratio-1 round bg-primary"},null,-1),(0,n.createElementVNode)("div",{class:"current-time-line w-100p bg-primary"},null,-1)])],4)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(f.value,w=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:w.id,class:"event absolute radius-05 overflow-hidden pointer transition z-1",style:(0,n.normalizeStyle)({top:`${w.top}px`,height:`${w.height}px`,backgroundColor:w.color||"var(--bgl-primary)"}),onClick:(0,n.withModifiers)(k=>g(w,k),["stop"])},[(0,n.createElementVNode)("div",C3,[(0,n.createElementVNode)("div",S3,(0,n.toDisplayString)(w.title),1),(0,n.createElementVNode)("div",x3,(0,n.toDisplayString)((0,n.unref)(ft)(new Date(w.start_time),{format:"HH:mm"}))+" - "+(0,n.toDisplayString)((0,n.unref)(ft)(new Date(w.end_time),{format:"HH:mm"})),1)])],12,E3))),128))]),i.value.isDragging&&i.value.start&&i.value.end?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"drag-preview absolute bg-primary-tint pointer-events-none z-1",style:(0,n.normalizeStyle)({top:`${Math.min(i.value.start.y,i.value.end.y)}px`,height:`${Math.abs(i.value.end.y-i.value.start.y)}px`,left:"10px",right:"10px"})},[(0,n.createElementVNode)("div",T3,(0,n.toDisplayString)(i.value.startTime?(0,n.unref)(ft)(i.value.startTime,{format:"HH:mm"}):"")+" - "+(0,n.toDisplayString)(i.value.endTime?(0,n.unref)(ft)(i.value.endTime,{format:"HH:mm"}):""),1)],4)):(0,n.createCommentVNode)("",!0)],32)]),_[2]||(_[2]=(0,n.createElementVNode)("div",{class:"border-bottom me-1"},null,-1))]))}}),B3=be(N3,[["__scopeId","data-v-f2670028"]]),D3={class:"month-view"},A3={class:"month-header"},M3={class:"month-grid"},L3={class:"day-number"},P3={class:"day-events"},I3={key:0,class:"event-dot"},V3=["onClick"],O3={class:"event-title"},R3={class:"event-time"},F3=(0,n.defineComponent)({__name:"MonthView",props:{events:{},startDate:{}},emits:["eventClick","openPopover"],setup(e,{emit:t}){const r=e,o=t,a=(0,n.useSlots)(),{isMobile:l}=Qa(),i=(0,n.computed)(()=>{let u="en";try{u=ir().global.locale.value}catch{}return Array.from({length:7},(d,f)=>new Date(2024,0,7+f).toLocaleDateString(u,{weekday:"short"}))}),s=(0,n.computed)(()=>{const u=r.startDate.getFullYear(),d=r.startDate.getMonth(),f=new Date(u,d,1),m=new Date(u,d+1,0).getDate(),p=f.getDay(),h=new Date().toDateString(),y=[],b=new Date(u,d,0).getDate();for(let v=p-1;v>=0;v--){const _=new Date(u,d-1,b-v);y.push({date:_,events:[],isToday:!1,isCurrentMonth:!1})}for(let v=1;v<=m;v++){const _=new Date(u,d,v),w=r.events.filter(k=>{const S=new Date(k.start_time);return S.getDate()===v&&S.getMonth()===d&&S.getFullYear()===u});y.push({date:_,events:w,isToday:_.toDateString()===h,isCurrentMonth:!0})}const g=42-y.length;for(let v=1;v<=g;v++){const _=new Date(u,d+1,v);y.push({date:_,events:[],isToday:!1,isCurrentMonth:!1})}return y});function c(u,d){if(!a.eventContent){o("eventClick",u);return}if(d){const f=d.currentTarget.getBoundingClientRect();o("openPopover",u,{top:f.top+window.scrollY+f.height/2,left:f.left+window.scrollX+f.width+10})}else o("openPopover",u)}return(u,d)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",D3,[(0,n.createElementVNode)("div",A3,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.value,f=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:f,class:"weekday"},(0,n.toDisplayString)(f),1))),128))]),(0,n.createElementVNode)("div",M3,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(s.value,f=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:f.date.toISOString(),class:(0,n.normalizeClass)(["day-cell",{"current-month":f.isCurrentMonth,today:f.isToday,"other-month":!f.isCurrentMonth}])},[(0,n.createElementVNode)("div",L3,(0,n.toDisplayString)((0,n.unref)(ft)(f.date,{format:"DD"})),1),(0,n.createElementVNode)("div",P3,[(0,n.unref)(l)?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[f.events.length>0?((0,n.openBlock)(),(0,n.createElementBlock)("div",I3)):(0,n.createCommentVNode)("",!0)],64)):((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:1},(0,n.renderList)(f.events,m=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:m.id,class:"event-item",style:(0,n.normalizeStyle)({backgroundColor:m.color||"var(--bgl-primary)"}),onClick:(0,n.withModifiers)(p=>c(m,p),["stop"])},[(0,n.createElementVNode)("div",O3,(0,n.toDisplayString)(m.title),1),(0,n.createElementVNode)("div",R3,(0,n.toDisplayString)((0,n.unref)(ft)(m.start_time,"HH:mm")),1)],12,V3))),128))])],2))),128))])]))}}),z3=be(F3,[["__scopeId","data-v-0abf6d19"]]),U3={class:"w-100p overflow-hidden m_overflow h-100p grid"},H3=["onMousedown"],W3=["onClick"],j3={class:"overflow-hidden color-white p-025 txt12 h-100p flex gap-1 flex-wrap"},q3={class:"white-space ellipsis-1"},G3={class:"txt10 opacity-8 user-select-none"},Y3={class:"color-primary txt-12 p-025"},vt=60,tn=60,sl=30,X3=(0,n.defineComponent)({__name:"WeekView",props:{events:{default:()=>[]},startDate:{default:()=>new Date},weekStart:{default:"Sunday"},availabilityMode:{type:Boolean,default:!1},availabilityEditable:{type:Boolean,default:!1},availabilitySlots:{default:()=>[]}},emits:["eventClick","eventCreate","openPopover","availabilityChange"],setup(e,{emit:t}){const r=e,o=t,a=(0,n.useSlots)(),l={start:0,end:24},i=(0,n.computed)(()=>!!a.eventCreate||Object.prototype.hasOwnProperty.call(o,"eventCreate")),s=(0,n.ref)({isDragging:!1,startDay:-1,endDay:-1,start:void 0,end:void 0,startTime:void 0,endTime:void 0}),c=(0,n.ref)([]),u=(0,n.ref)({isDragging:!1,mode:"add",dayIndex:-1,startMinute:0,currentMinute:0});(0,n.watch)(()=>r.availabilitySlots,G=>{c.value=G.map(N=>({start_time:new Date(N.start_time),end_time:new Date(N.end_time)}))},{immediate:!0});const d=(0,n.computed)(()=>{const G=[],N=new Date(r.startDate),H=r.weekStart==="Sunday"?0:1,U=N.getDay();N.setDate(N.getDate()-U+H),N.setHours(0,0,0,0);for(let I=0;I<7;I++){const j=new Date(N);j.setDate(N.getDate()+I),G.push(j)}return G});function f(G){return Math.round(G/sl)*sl}function m(G){return c.value.filter(N=>{const H=new Date(N.start_time);return H.getFullYear()===G.getFullYear()&&H.getMonth()===G.getMonth()&&H.getDate()===G.getDate()}).map(N=>{const H=new Date(N.start_time).getHours()*60+new Date(N.start_time).getMinutes(),U=new Date(N.end_time).getHours()*60+new Date(N.end_time).getMinutes();return{top:H/tn*vt,height:(U-H)/tn*vt,slot:N}})}function p(G){if(!u.value.isDragging||u.value.dayIndex!==G)return null;const N=Math.min(u.value.startMinute,u.value.currentMinute),H=Math.max(u.value.startMinute,u.value.currentMinute);return{top:N/tn*vt,height:(H-N)/tn*vt,mode:u.value.mode}}function h(G,N){return c.value.some(H=>{const U=new Date(H.start_time);if(U.getFullYear()!==G.getFullYear()||U.getMonth()!==G.getMonth()||U.getDate()!==G.getDate())return!1;const I=U.getHours()*60+U.getMinutes(),j=new Date(H.end_time).getHours()*60+new Date(H.end_time).getMinutes();return N>=I&&N<j})}function y(G,N){if(!r.availabilityEditable)return;G.preventDefault(),G.stopPropagation();const H=d.value[N],U=f(A(G.clientY));u.value={isDragging:!0,mode:h(H,U)?"remove":"add",dayIndex:N,startMinute:U,currentMinute:U+sl},document.addEventListener("mousemove",b),document.addEventListener("mouseup",g)}function b(G){if(!u.value.isDragging)return;const N=f(A(G.clientY));u.value.currentMinute=N}function g(){if(!u.value.isDragging)return;const{dayIndex:G,startMinute:N,currentMinute:H,mode:U}=u.value,I=d.value[G],j=Math.min(N,H),te=Math.max(N,H);if(te-j<sl){u.value.isDragging=!1,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",g);return}const ae=new Date(I);ae.setHours(Math.floor(j/60),j%60,0,0);const we=new Date(I);if(we.setHours(Math.floor(te/60),te%60,0,0),U==="add"){const J=c.value.filter(ve=>{const ce=new Date(ve.start_time);return ce.getFullYear()!==I.getFullYear()||ce.getMonth()!==I.getMonth()||ce.getDate()!==I.getDate()}),ue=c.value.filter(ve=>{const ce=new Date(ve.start_time);return ce.getFullYear()===I.getFullYear()&&ce.getMonth()===I.getMonth()&&ce.getDate()===I.getDate()});ue.push({start_time:ae,end_time:we}),ue.sort((ve,ce)=>new Date(ve.start_time).getTime()-new Date(ce.start_time).getTime());const pe=[];for(const ve of ue)if(pe.length===0)pe.push({start_time:new Date(ve.start_time),end_time:new Date(ve.end_time)});else{const ce=pe[pe.length-1];new Date(ve.start_time).getTime()<=new Date(ce.end_time).getTime()?ce.end_time=new Date(Math.max(new Date(ce.end_time).getTime(),new Date(ve.end_time).getTime())):pe.push({start_time:new Date(ve.start_time),end_time:new Date(ve.end_time)})}c.value=[...J,...pe]}else{const J=[];for(const ue of c.value){const pe=new Date(ue.start_time);if(pe.getFullYear()!==I.getFullYear()||pe.getMonth()!==I.getMonth()||pe.getDate()!==I.getDate()){J.push(ue);continue}const ve=new Date(ue.start_time).getTime(),ce=new Date(ue.end_time).getTime(),ne=ae.getTime(),fe=we.getTime();if(ce<=ne||ve>=fe){J.push(ue);continue}ve<ne&&J.push({start_time:new Date(ve),end_time:new Date(ne)}),ce>fe&&J.push({start_time:new Date(fe),end_time:new Date(ce)})}c.value=J}o("availabilityChange",c.value),u.value.isDragging=!1,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",g)}const v=(0,n.ref)(0),_=(0,n.ref)(!1),w=(0,n.ref)(),k=(0,n.ref)(),S=(0,n.ref)(),E=(0,n.ref)([]),C=(0,n.ref)(),M=(0,n.ref)();function A(G){if(!C.value)return 0;const N=G-C.value.getBoundingClientRect().top;return Math.max(0,Math.min(N/vt*tn,1440))}const z=(0,n.computed)(()=>{const G=[];for(let N=l.start;N<l.end;N++)for(let H=0;H<60;H+=tn)G.push({hour:N,minute:H,time:`${N.toString().padStart(2,"0")}:${H.toString().padStart(2,"0")}`});return G}),D=(0,n.computed)(()=>{if(!s.value.isDragging||!s.value.startTime||!s.value.endTime)return null;const G=s.value.startTime.getHours()*60+s.value.startTime.getMinutes(),N=s.value.endTime.getHours()*60+s.value.endTime.getMinutes();return{top:G/tn*vt,height:Math.max((N-G)/tn*vt,30)}}),R=(0,n.computed)(()=>{const G=[],N={};return r.events.forEach(H=>{const U=new Date(H.start_time),I=new Date(H.end_time),j=d.value.findIndex(pe=>pe.getDate()===U.getDate()&&pe.getMonth()===U.getMonth()&&pe.getFullYear()===U.getFullYear());if(j===-1)return;const te=U.getHours()*60+U.getMinutes(),ae=I.getHours()*60+I.getMinutes(),we=te/tn*vt,J=Math.max((ae-te)/tn*vt,30),ue={...H,top:we,height:J,left:0,width:100,overlappingEvents:0,position:0};N[j]||(N[j]=[]),N[j].push(ue)}),Object.entries(N).forEach(([H,U])=>{U.sort((te,ae)=>new Date(te.start_time).getTime()-new Date(ae.start_time).getTime());const I=[];let j=[];U.forEach(te=>{j.length===0?j=[te]:j.some(ae=>{const we=new Date(te.start_time).getTime(),J=new Date(te.end_time).getTime(),ue=new Date(ae.start_time).getTime(),pe=new Date(ae.end_time).getTime();return!(J<=ue||we>=pe)})?j.push(te):(j.length>0&&I.push([...j]),j=[te])}),j.length>0&&I.push(j),I.forEach(te=>{if(te.length>1){const we=(100-2*(te.length-1))/te.length;te.forEach((J,ue)=>{J.overlappingEvents=te.length,J.position=ue,J.width=we,J.left=ue*(we+2)})}G.push(...te)})}),G});function $(G,N){if(!i.value||!S.value||!C.value)return;let H=-1;for(let te=0;te<E.value.length;te++){const ae=E.value[te];if(!ae)continue;const we=ae.getBoundingClientRect();if(G.clientX>=we.left&&G.clientX<=we.right){H=te;break}}if(H===-1)return;const U=E.value[H].getBoundingClientRect(),I=C.value.getBoundingClientRect();s.value.isDragging=!0,s.value.startDay=H,s.value.endDay=H,s.value.start={x:U.left-I.left,y:G.clientY-I.top},s.value.end={x:U.right-I.left,y:G.clientY-I.top};const j=B(G.clientY,N);s.value.startTime=j,document.addEventListener("mousemove",V),document.addEventListener("mouseup",P)}function V(G){if(!i.value||!s.value.isDragging||!s.value.start||!E.value.length||!S.value||!C.value)return;let N=-1;for(let H=0;H<E.value.length;H++){const U=E.value[H];if(!U)continue;const I=U.getBoundingClientRect();if(G.clientX>=I.left&&G.clientX<=I.right){N=H;break}}if(N!==-1&&(s.value.endDay=N,s.value.end={x:s.value.start.x,y:G.clientY-C.value.getBoundingClientRect().top},N>=0&&N<d.value.length)){const H=new Date(d.value[s.value.startDay]);H.setHours(0,0,0,0);const U=B(G.clientY,H);s.value.endTime=U}}function P(){if(!i.value||!s.value.isDragging||!s.value.startTime||!s.value.endTime)return;let G=new Date(s.value.startTime),N=new Date(s.value.endTime);N<G&&([G,N]=[N,G]),o("eventCreate",{start_time:G,end_time:N}),s.value={isDragging:!1,startDay:-1,endDay:-1,start:void 0,end:void 0,startTime:void 0,endTime:void 0},document.removeEventListener("mousemove",V),document.removeEventListener("mouseup",P)}function B(G,N){if(!C.value)return new Date(N);const H=G-C.value.getBoundingClientRect().top,U=tn,I=H/vt,j=Math.floor(I*U),te=new Date(N);te.setHours(Math.floor(j/60));const ae=Math.round(j%60/5)*5;return te.setMinutes(ae),te.setSeconds(0),te.setMilliseconds(0),te}function O(){const G=new Date;_.value=d.value.some(N=>N.getDate()===G.getDate()&&N.getMonth()===G.getMonth()&&N.getFullYear()===G.getFullYear()),v.value=(G.getHours()*60+G.getMinutes())/tn*vt}function K(G,N){if(!a.eventContent){o("eventClick",G);return}if(N){const H=N.currentTarget.getBoundingClientRect();o("openPopover",G,{top:H.top+window.scrollY+H.height/2,left:H.left+window.scrollX+H.width+10})}else o("openPopover",G)}function Y(G,N){for(;E.value.length<=N;)E.value.push(null);G?E.value[N]=G instanceof Element?G:G.$el:E.value[N]=null}function re(G){M.value&&(M.value.scrollTop=G*vt)}return(0,n.onMounted)(()=>{O(),w.value=setInterval(O,6e4),(0,n.nextTick)(()=>{re(6)})}),(0,n.onUnmounted)(()=>{document.removeEventListener("mousemove",V),document.removeEventListener("mouseup",P),document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",g),w.value&&clearInterval(w.value)}),(G,N)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",U3,[(0,n.createElementVNode)("div",{ref_key:"calendarGrid",ref:S,class:"weekGrid border-bottom me-1"},[N[1]||(N[1]=(0,n.createElementVNode)("div",null,null,-1)),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,H=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:H.toISOString(),class:"day-header p-05 txt-center m_txt12"},[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(ft)(H,{format:"DDD"}))+" ",1),(0,n.createElementVNode)("span",{class:(0,n.normalizeClass)(["txt-12 round p-025",{"color-gray":H.toDateString()!==new Date().toDateString(),"bg-primary color-white":H.toDateString()===new Date().toDateString()}])},(0,n.toDisplayString)((0,n.unref)(ft)(H,{format:"DD"})),3)]))),128))],512),(0,n.createElementVNode)("div",{ref_key:"scrollableContainer",ref:M,class:"overflow h-100p pe-05"},[(0,n.createElementVNode)("div",{ref_key:"dayColumnsContainer",ref:C,class:"weekGrid border-end relative"},[(0,n.createElementVNode)("div",{ref_key:"timeSlotsContainer",ref:k},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(z.value,H=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:H.time,class:"txt-light txt-12 color-gray flex justify-content-center bg-gray-light border-start",style:(0,n.normalizeStyle)({height:`${vt}px`})},(0,n.toDisplayString)(H.time),5))),128))],512),_.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"absolute end w-100p z-2 flex pointer-events-none ps-4-5",style:(0,n.normalizeStyle)({top:`${v.value}px`})},[...N[2]||(N[2]=[(0,n.createElementVNode)("div",{class:"current-time-dot h-10px aspect-ratio-1 round bg-primary"},null,-1),(0,n.createElementVNode)("div",{class:"current-time-line w-100p bg-primary"},null,-1)])],4)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,(H,U)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:H.toISOString(),ref_for:!0,ref:I=>Y(I,U),class:"day-column top bottom border-start relative",onMousedown:I=>r.availabilityEditable?y(I,U):$(I,H)},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(z.value,I=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:`line-${I.time}`},[(0,n.createElementVNode)("div",{class:"hour-line absolute start end pointer-events-none",style:(0,n.normalizeStyle)({top:`${I.hour*vt}px`})},null,4),(0,n.createElementVNode)("div",{class:"sub-hour-line absolute start end pointer-events-none",style:(0,n.normalizeStyle)({top:`${I.hour*vt+vt/3}px`})},null,4),(0,n.createElementVNode)("div",{class:"sub-hour-line absolute start end pointer-events-none",style:(0,n.normalizeStyle)({top:`${I.hour*vt+vt*2/3}px`})},null,4)],64))),128)),r.availabilityMode?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(m(H),(I,j)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:`avail-${j}`,class:(0,n.normalizeClass)(["availability-block absolute start end",{"availability-editable":r.availabilityEditable}]),style:(0,n.normalizeStyle)({top:`${I.top}px`,height:`${I.height}px`})},null,6))),128)),p(U)?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:(0,n.normalizeClass)(["availability-preview absolute start end pointer-events-none",{"avail-remove":p(U).mode==="remove"}]),style:(0,n.normalizeStyle)({top:`${p(U).top}px`,height:`${p(U).height}px`})},null,6)):(0,n.createCommentVNode)("",!0)],64)):(0,n.createCommentVNode)("",!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(R.value.filter(I=>new Date(I.start_time).toDateString()===H.toDateString()),I=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:I.id,class:"event absolute radius-05 overflow-hidden pointer transition z-1 opacity-8 border",style:(0,n.normalizeStyle)({top:`${I.top}px`,height:`${I.height}px`,left:`${I.left}%`,width:`${I.width}%`,backgroundColor:I.color||"var(--bgl-primary)"}),onMousedown:N[0]||(N[0]=(0,n.withModifiers)(()=>{},["stop"])),onClick:(0,n.withModifiers)(j=>K(I,j),["stop"])},[(0,n.createElementVNode)("div",j3,[(0,n.createElementVNode)("div",q3,(0,n.toDisplayString)(I.title),1),(0,n.createElementVNode)("div",G3,(0,n.toDisplayString)((0,n.unref)(ft)(I.start_time,{format:"HH:mm"}))+" - "+(0,n.toDisplayString)((0,n.unref)(ft)(I.end_time,{format:"HH:mm"})),1)])],44,W3))),128))],40,H3))),128)),i.value&&s.value.isDragging&&s.value.start&&s.value.end&&D.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,class:"drag-preview absolute bg-primary-tint pointer-events-none overflow-hidden opacity-7 z-1",style:(0,n.normalizeStyle)({left:`${s.value.start.x}px`,top:`${D.value.top}px`,width:`${E.value[s.value.startDay]?.offsetWidth||100}px`,height:`${D.value.height}px`})},[(0,n.createElementVNode)("div",Y3,(0,n.toDisplayString)(s.value.startTime?(0,n.unref)(ft)(s.value.startTime,{format:"HH:mm"}):"")+" - "+(0,n.toDisplayString)(s.value.endTime?(0,n.unref)(ft)(s.value.endTime,{format:"HH:mm"}):""),1)],4)):(0,n.createCommentVNode)("",!0)],512)],512),N[3]||(N[3]=(0,n.createElementVNode)("div",{class:"border-bottom me-1"},null,-1))]))}}),K3=be(X3,[["__scopeId","data-v-0850fe4c"]]),J3={class:"calendar"},Z3={class:"flex m_block p-1"},Q3={class:"txt-light my-0 m_pb-05"},ex={class:"ms-auto flex gap-025 m_flex-wrap m_me-auto m_w-100p"},tx={class:"flex gap-025"},nx=(0,n.defineComponent)({__name:"Index",props:{events:{default:()=>[]},startDate:{default:()=>new Date},view:{default:"Week"},weekStart:{default:"Sunday"},availabilityMode:{type:Boolean,default:!1},availabilityEditable:{type:Boolean,default:!1},availabilitySlots:{default:()=>[]},viewSwitcher:{default:"dropdown"}},emits:["eventClick","eventCreate","eventUpdate","eventDelete","dateChange","viewChange","ready","availabilityChange"],setup(e,{expose:t,emit:r}){const o=e,a=r,{t:l}=ot(),i=(0,n.ref)(new Date(o.startDate)),s=(0,n.ref)(o.view),c=(0,n.ref)(),u=(0,n.ref)(!1),d=(0,n.ref)(),f={Week:K3,Month:z3,Day:B3,Agenda:y3},m=(0,n.computed)(()=>Object.keys(f).map(M=>({label:l(`calendar.views.${M.toLowerCase()}`),value:M}))),p={Week:"weeks",Month:"months",Day:"days",Agenda:"days"},h=(0,n.computed)(()=>{const M=new Date(i.value);let A=new Date(i.value);const z=o.weekStart==="Sunday"?0:1;switch(s.value){case"Week":M.setDate(M.getDate()-M.getDay()+z),A.setDate(M.getDate()+6);break;case"Month":case"Agenda":M.setDate(-6),A=new Date(M.getFullYear(),M.getMonth()+2,7);break;case"Day":A.setDate(A.getDate()+1);break;default:break}return{start:M,end:A}}),y=(0,n.computed)(()=>({visibleDateRange:h.value,currentDate:i.value,currentView:s.value}));function b(M){i.value=new Date(M),a("dateChange",y.value)}function g(M){a("dateChange",{visibleDateRange:h.value,currentDate:M,currentView:s.value})}function v(M){s.value=M,a("viewChange",y.value)}function _(M){a("eventClick",M)}function w(M){a("eventCreate",M)}function k(M){a("eventUpdate",M)}function S(M){a("eventDelete",M)}function E(M,A){c.value=M,d.value=A,u.value=!0}function C(){u.value=!1,c.value=void 0,d.value=void 0}return t({visibleDateRange:h,currentView:s,currentDate:i,openPopover:E,closePopover:C}),(0,n.onMounted)(()=>{a("ready",y.value)}),(M,A)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",J3,[(0,n.createElementVNode)("div",Z3,[(0,n.createElementVNode)("h3",Q3,[(0,n.createElementVNode)("b",null,(0,n.toDisplayString)((0,n.unref)(ft)(i.value,"MMMM")),1),(0,n.createTextVNode)(" "+(0,n.toDisplayString)((0,n.unref)(ft)(i.value,"YYYY")),1)]),(0,n.createElementVNode)("div",ex,[e.viewSwitcher==="tabs"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Wi),{key:0,size:"sm","model-value":s.value,tabs:m.value,group:"calendar-view","onUpdate:modelValue":A[0]||(A[0]=z=>v(z)),style:{"--bgl_tabs-border-radius":"calc(var(--bgl-btn-border-radius) / 2)"},class:"txt12 m_mb-05 m_w-100p","align-txt":"center"},null,8,["model-value","tabs"])):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(At),{key:1,thin:"",value:s.value,iconEnd:"keyboard_arrow_down",color:"gray"},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(f,(z,D)=>(0,n.createVNode)((0,n.unref)(Ln),{key:D,thin:"",title:(0,n.unref)(l)(`calendar.views.${D.toLowerCase()}`),onClick:R=>v(D)},null,8,["title","onClick"])),64))]),_:1},8,["value"])),(0,n.createElementVNode)("div",tx,[(0,n.createVNode)((0,n.unref)(oe),{icon:"calendar",size:"sm",class:"txt12",color:"gray",value:(0,n.unref)(l)("calendar.today"),onClick:A[1]||(A[1]=z=>b(new Date))},null,8,["value"]),(0,n.createVNode)((0,n.unref)(oe),{icon:"chevron_left",color:"gray",size:"sm",class:"",disabled:s.value==="Agenda",onClick:A[2]||(A[2]=z=>b((0,n.unref)(hn)(i.value,{[p[s.value]]:-1})))},null,8,["disabled"]),(0,n.createVNode)((0,n.unref)(oe),{icon:"chevron_right",color:"gray",size:"sm",class:"",disabled:s.value==="Agenda",onClick:A[3]||(A[3]=z=>b((0,n.unref)(hn)(i.value,{[p[s.value]]:1})))},null,8,["disabled"])])])]),((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(f[s.value]),{events:e.events,"start-date":i.value,"week-start":e.weekStart,"availability-mode":o.availabilityMode,"availability-editable":o.availabilityEditable,"availability-slots":o.availabilitySlots,onEventClick:_,onEventCreate:w,onEventUpdate:k,onEventDelete:S,onDateChange:A[4]||(A[4]=z=>s.value==="Agenda"?g(z):b(z)),onOpenPopover:E,onAvailabilityChange:A[5]||(A[5]=z=>a("availabilityChange",z))},{eventContent:(0,n.withCtx)(({event:z,close:D})=>[(0,n.renderSlot)(M.$slots,"eventContent",{event:z,close:D},void 0,!0)]),_:3},40,["events","start-date","week-start","availability-mode","availability-editable","availability-slots"])),(0,n.createVNode)(n3,{event:c.value,position:d.value,show:u.value,"has-event-content-slot":!!M.$slots.eventContent,onClose:C,onEventClick:_},{eventContent:(0,n.withCtx)(({event:z,close:D})=>[(0,n.renderSlot)(M.$slots,"eventContent",{event:z,close:D},void 0,!0)]),_:3},8,["event","position","show","has-event-content-slot"])]))}}),rx=be(nx,[["__scopeId","data-v-bb62872a"]]),ox=new Set(["div","span","p"]),ax=new Set(["img","iframe"]);function p0(e){const{mode:t="form",getFormData:r,onUpdateModelValue:o,includeUnset:a=!1}=e;function l(u,d=0){if(u==null)return"";if(typeof u!="object")return String(u);if(Array.isArray(u))return u.map(h=>l(h,d+1)).join(", ");const f=d>0?" ".repeat(d):"",m=" ".repeat(d+1),p=Object.entries(u);return p.length===0?"{}":d>0?`{
10
10
  ${p.map(([h,y])=>`${m}${h}: ${l(y,d+1)}`).join(`,
11
11
  `)}
12
12
  ${f}}`:p.map(([h,y])=>`${h}: ${typeof y=="object"&&y!==null?l(y,d+1):String(y)}`).join(`
@@ -421,7 +421,7 @@ ${t.preList[o]}
421
421
 
422
422
  `}return o});q.subParser("makeMarkdown.paragraph",(e,t)=>{let r="";if(e.hasChildNodes()){let o=e.childNodes,a=o.length;for(let l=0;l<a;++l)r+=q.subParser("makeMarkdown.node")(o[l],t)}return r=r.trim(),r});q.subParser("makeMarkdown.pre",(e,t)=>{let r=e.getAttribute("prenum");return`<pre>${t.preList[r]}</pre>`});q.subParser("makeMarkdown.strikethrough",(e,t)=>{let r="";if(e.hasChildNodes()){r+="~~";let o=e.childNodes,a=o.length;for(let l=0;l<a;++l)r+=q.subParser("makeMarkdown.node")(o[l],t);r+="~~"}return r});q.subParser("makeMarkdown.strong",(e,t)=>{let r="";if(e.hasChildNodes()){r+="**";let o=e.childNodes,a=o.length;for(let l=0;l<a;++l)r+=q.subParser("makeMarkdown.node")(o[l],t);r+="**"}return r});q.subParser("makeMarkdown.table",(e,t)=>{let r="",o=[[],[]],a=e.querySelectorAll("thead>tr>th"),l=e.querySelectorAll("tbody>tr");for(let s=0;s<a.length;++s){let c=q.subParser("makeMarkdown.tableCell")(a[s],t),u="---";if(a[s].hasAttribute("style"))switch(a[s].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":u=":---";break;case"text-align:right;":u="---:";break;case"text-align:center;":u=":---:";break}o[0][s]=c.trim(),o[1][s]=u}for(let s=0;s<l.length;++s){let c=o.push([])-1,u=l[s].getElementsByTagName("td");for(let d=0;d<a.length;++d){let f=" ";typeof u[d]<"u"&&(f=q.subParser("makeMarkdown.tableCell")(u[d],t)),o[c].push(f)}}let i=3;for(let s=0;s<o.length;++s)for(let c=0;c<o[s].length;++c){let u=o[s][c].length;u>i&&(i=u)}for(let s=0;s<o.length;++s){for(let c=0;c<o[s].length;++c)s===1?o[s][c].slice(-1)===":"?o[s][c]=`${q.helper.padEnd(o[s][c].slice(-1),i-1,"-")}:`:o[s][c]=q.helper.padEnd(o[s][c],i,"-"):o[s][c]=q.helper.padEnd(o[s][c],i);r+=`| ${o[s].join(" | ")} |
423
423
  `}return r.trim()});q.subParser("makeMarkdown.tableCell",(e,t)=>{let r="";if(!e.hasChildNodes())return"";let o=e.childNodes,a=o.length;for(let l=0;l<a;++l)r+=q.subParser("makeMarkdown.node")(o[l],t,!0);return r.trim()});q.subParser("makeMarkdown.txt",e=>{let t=e.nodeValue;return t=t.replace(/ +/g," "),t=t.replace(/¨NBSP;/g," "),t=q.helper.unescapeHTMLEntities(t),t=t.replace(/([*_~|`])/g,"\\$1"),t=t.replace(/^(\s*)>/g,"\\$1>"),t=t.replace(/^#/gm,"\\#"),t=t.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),t=t.replace(/^( {0,3}\d+)\./gm,"$1\\."),t=t.replace(/^( {0,3})([+-])/gm,"$1\\$2"),t=t.replace(/\](\s*)\(/g,"\\]$1\\("),t=t.replace(/^ {0,3}\[([\S \t]*?)\]:/gm,"\\[$1]:"),t});function zO(){try{const{locale:e}=ir().global;return typeof e=="string"?e:e.value}catch{return typeof navigator>"u"?"en-US":navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language}}function vl(e){if(e instanceof Date)return e;if(typeof e=="number")return new Date(e);let t=e.trim().replace(" ","T");return!t.endsWith("Z")&&!t.includes("+")&&!/[+-]\d{2}:\d{2}$/.test(t)&&(t+="Z"),new Date(t)}const UO=Object.assign(vl,{iso(e){return vl(e).toISOString()},date(e){return vl(e).toISOString().slice(0,10)},ms(e){return vl(e).getTime()}});function $v(e){const t=-e.getTimezoneOffset();return`${t>=0?"+":"-"}${String(Math.floor(Math.abs(t)/60)).padStart(2,"0")}:${String(Math.abs(t)%60).padStart(2,"0")}`}function HO(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}T${String(e.getHours()).padStart(2,"0")}:${String(e.getMinutes()).padStart(2,"0")}:${String(e.getSeconds()).padStart(2,"0")}.${String(e.getMilliseconds()).padStart(3,"0")}${$v(e)}`}const WO={iso(e=new Date){return HO(e)},offset(e=new Date){return $v(e)}},zo={SECOND:1e3,MINUTE:6e4,HOUR:36e5,DAY:864e5,WEEK:6048e5},{SECOND:jO}=zo,{MINUTE:qO}=zo,{HOUR:GO}=zo,{DAY:YO}=zo,{WEEK:XO}=zo;function hn(e,t){const r=new Date(e);return t.days&&r.setDate(r.getDate()+t.days),t.hours&&r.setHours(r.getHours()+t.hours),t.minutes&&r.setMinutes(r.getMinutes()+t.minutes),t.seconds&&r.setSeconds(r.getSeconds()+t.seconds),t.weeks&&r.setDate(r.getDate()+t.weeks*7),t.months&&r.setMonth(r.getMonth()+t.months),t.years&&r.setFullYear(r.getFullYear()+t.years),r}var KO={seconds:1e3,minutes:6e4,hours:36e5,days:864e5,weeks:6048e5,months:0};function id(e,t,r="days"){const o=new Date(e),a=new Date(t);return r==="months"?(a.getFullYear()-o.getFullYear())*12+(a.getMonth()-o.getMonth()):Math.floor((a.getTime()-o.getTime())/KO[r])}var wt=class Jc{_date;constructor(t){this._date=new Date(t)}add(t,r="days"){return new Jc(hn(this._date,{[r]:t}))}subtract(t,r="days"){return new Jc(hn(this._date,{[r]:-t}))}diff(t,r="days"){return id(this._date,t,r)}isBefore(t){return this._date.getTime()<new Date(t).getTime()}isAfter(t){return this._date.getTime()>new Date(t).getTime()}isSameDay(t){const r=new Date(t);return this._date.getFullYear()===r.getFullYear()&&this._date.getMonth()===r.getMonth()&&this._date.getDate()===r.getDate()}toDate(){return new Date(this._date)}valueOf(){return this._date.getTime()}toString(){return this._date.toISOString()}};function JO(e){return new wt(e!==void 0?e:new Date)}const ZO=Object.assign(JO,{get now(){return new wt(new Date)},get today(){const e=new Date;return e.setHours(0,0,0,0),new wt(e)},get tomorrow(){return new wt(hn(new Date,{days:1}))},get yesterday(){return new wt(hn(new Date,{days:-1}))},get nextWeek(){return new wt(hn(new Date,{weeks:1}))},get lastWeek(){return new wt(hn(new Date,{weeks:-1}))},get firstOfMonth(){const e=new Date;return new wt(new Date(e.getFullYear(),e.getMonth(),1))},get lastOfMonth(){const e=new Date;return new wt(new Date(e.getFullYear(),e.getMonth()+1,0))},get firstOfWeek(){const e=new Date;return new wt(new Date(e.setDate(e.getDate()-e.getDay())))},get lastOfWeek(){const e=new Date;return new wt(new Date(e.setDate(e.getDate()+(6-e.getDay()))))},get firstOfNextMonth(){const e=new Date;return new wt(new Date(e.getFullYear(),e.getMonth()+1,1))},get lastOfNextMonth(){const e=new Date;return new wt(new Date(e.getFullYear(),e.getMonth()+2,0))},get firstOfNextYear(){return new wt(new Date(new Date().getFullYear()+1,0,1))},in:(e,t="days")=>new wt(hn(new Date,{[t]:e})),ago:(e,t="days")=>new wt(hn(new Date,{[t]:-e})),diff:(e,t,r="days")=>id(e,t,r),isBefore:(e,t)=>new Date(e).getTime()<new Date(t).getTime(),isAfter:(e,t)=>new Date(e).getTime()>new Date(t).getTime(),isSameDay:(e,t)=>{const r=new Date(e),o=new Date(t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()&&r.getDate()===o.getDate()}});function Ev(e,t){if(t.timeZone==="UTC"){const r=new Date(e.getTime());return r.setMinutes(r.getMinutes()+e.getTimezoneOffset()),r}try{const r=new Intl.DateTimeFormat("en-US",{...t,month:"numeric"}).formatToParts(e),o={};for(const a of r)a.type!=="literal"&&a.type!=="timeZoneName"&&(o[a.type]=Number.parseInt(a.value,10));return new Date(o.year,(o.month||1)-1,o.day,o.hour||0,o.minute||0,o.second||0)}catch{return e}}function sd(e,t,r){const o=r?.timeZone?Ev(e,r):e,a=o.getFullYear().toString();return{AmPm:o.toLocaleString(t,{hour:"numeric",hour12:!0,minute:"numeric"}).split(" ")[1],DD:String(o.getDate()).padStart(2,"0"),DDD:o.toLocaleString(t,{weekday:"short"}),DDDD:o.toLocaleString(t,{weekday:"long"}),HH:String(o.getHours()).padStart(2,"0"),mm:String(o.getMinutes()).padStart(2,"0"),MM:String(o.getMonth()+1).padStart(2,"0"),MMM:o.toLocaleString(t,{month:"short"}),MMMM:o.toLocaleString(t,{month:"long"}),ss:String(o.getSeconds()).padStart(2,"0"),sss:String(o.getMilliseconds()).padStart(3,"0"),YY:a.slice(-2),YYYY:a}}var QO=sd(new Date,"en-US"),eR=Object.keys(QO).sort((e,t)=>t.length-e.length),tR=new RegExp(eR.join("|"),"g");function ft(e,t){if(!e)return"";let r,o,a,l={};if(typeof t=="string"?r=t:t&&typeof t=="object"&&(r=t.format,o=t.locale,a=t.tz,l=t),r==="ISO"||r==="ISO8601"){const i=new Date(e);return Number.isNaN(i.getTime())?"":i.toISOString()}r=r||"DD.MM.YY",o=o||zO();try{let i=new Date(e);if(typeof e=="string"&&Number.isNaN(i.getTime())){const f=e.split(/[/.-]/);if(f.length===3){const[m,p,h]=f.map(y=>Number.parseInt(y,10));if(!Number.isNaN(m)&&!Number.isNaN(p)&&!Number.isNaN(h)){const y=h<100?2e3+h:h;i=new Date(y,p-1,m)}}}if(Number.isNaN(i.getTime()))return"";const s={day:"numeric",hour:"2-digit",hour12:l.hour12===void 0?!0:l.hour12,minute:"2-digit",month:"long",second:"2-digit",timeZone:a,weekday:"long",year:"numeric"},c=sd(i,o,s),u=new Intl.DateTimeFormat(o,s).formatToParts(i),d={};for(const f of u)f.type!=="literal"&&(d[f.type]=f.value);return d.month&&(c.MMM=d.month.substring(0,3),c.MMMM=d.month),d.weekday&&(c.DDD=new Intl.DateTimeFormat(o,{weekday:"short",timeZone:a}).format(i),c.DDDD=d.weekday),d.dayPeriod&&(c.AmPm=d.dayPeriod),r.replace(tR,f=>c[f])}catch{return""}}const nR=ft;function ma(e,t){if(!t)return{matches:!0,score:0};const r=e.toLowerCase(),o=t.toLowerCase();if(r.includes(o))return{matches:!0,score:1e3};const a=o.split(/\s+/).filter(f=>f.length>0),l=r.split(/\s+/);let i=0;for(const f of a)l.some(m=>m.includes(f))&&i++;if(i===a.length)return{matches:!0,score:100+i*10};let s=0,c=0,u=0,d=0;for(let f=0;f<r.length&&s<o.length;f++)r[f]===o[s]?(s++,c++,d++,u=Math.max(u,c)):c=0;return s===o.length?{matches:!0,score:u*5+d}:{matches:!1,score:0}}function rR(...e){return e.filter(Boolean).join(", ")}function oR(){return typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}function aR(e){const t=e;return t.label??t.name??t.title??String(t.id??"")}function lR(e){const t=e;return t.value??t.key??t.id??""}function iR(e){if(Array.isArray(e))return e.map(r=>({...r,label:aR(r),value:lR(r)}));const t=e;return r=>r.map(o=>({...o,label:typeof t.label=="function"?t.label(o):String(o[t.label]??""),value:o[t.value]}))}function sR(e){return Array.isArray(e)?e:"data"in e?e.data:"items"in e?e.items:[]}function cR(e,t,r){const o=r?.timeout??1e4,a=e.length>0;let l=null;async function i(c){const u=a?e(c??""):e();return t(sR(await Promise.race([u,new Promise((d,f)=>setTimeout(()=>{f(new Error("Request timeout"))},o))])))}const s=async c=>{try{return a?await i(c):(l||(l=await i()),c?l.filter(u=>{const{label:d}=u;return typeof d!="string"?!0:ma(d,c).matches}).sort((u,d)=>{const f=u.label??"";return ma(d.label??"",c).score-ma(f,c).score}):l)}catch{return[]}};return s.clearCache=()=>{l=null},s}function Zc(e,t){return t==="titleCase"?e.split("_").map(r=>r[0].toUpperCase()+r.slice(1).toLocaleLowerCase()).join(" "):t==="pascal"?e.split("_").map(r=>r[0].toUpperCase()+r.slice(1).toLocaleLowerCase()).join(""):t==="camel"?e.split("_").map((r,o)=>o===0?r:r[0].toUpperCase()+r.slice(1)).join(""):t==="snake"?[...e].map(r=>r===r.toUpperCase()?`_${r.toLowerCase()}`:r).join(""):e}var Us=new Map;function uR(e,t=500){clearTimeout(Us.get(e));const r=setTimeout(()=>{e(),Us.delete(e)},t);Us.set(e,r)}function dR(e){return e.toLowerCase().replace(/[^a-z0-9-\s]/g,"").split(/[\s-]+/).join("-")}function el(e){return e===void 0?e:e.split("_").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")||e}async function Cv(e,t){await navigator.clipboard.writeText(e),t&&t("Copied to clipboard")}function Sv(...e){return e=e.flatMap(t=>t.split(/\s/)),e.map(t=>t.charAt(0)).join("")}function xv(e){if(!e||typeof document>"u")return e;const t=document.createElement("template");t.innerHTML=e;const r=o=>{for(const a of Array.from(o.children)){const l=a.tagName.toLowerCase();if(["script","iframe","object","embed","link","meta","base","form"].includes(l)){a.remove();continue}for(const i of Array.from(a.attributes)){const s=i.name.toLowerCase(),c=i.value.trim().toLowerCase();(s.startsWith("on")||(s==="href"||s==="src"||s==="xlink:href")&&(c.startsWith("javascript:")||c.startsWith("data:")))&&a.removeAttribute(i.name)}r(a)}};return r(t.content),t.innerHTML}function fR(e,t){e.key==="Escape"&&t()}function Tv(e,t,...r){return r.map(o=>typeof o=="function"?o(e,t):o).join(" ")}function Qc(e,t,r){if(!e)return{};const o=["class","onClick","$el"],a=Object.entries(e).filter(([i])=>!o.includes(i)).map(([i,s])=>[i,typeof s=="function"?s(t,r):s]),l=Object.fromEntries(a);for(const i of o.slice(1))e[i]&&(l[i]=e[i]);return l}function mR(e,t){return e["v-if"]===void 0?!0:typeof e["v-if"]=="boolean"?e["v-if"]:typeof e["v-if"]=="string"?!0:typeof e["v-if"]=="function"?e["v-if"]?.(t?.[e.id],t):!0}function pR(e,t){if(t)return e?e[t]:void 0}const eu=e=>!Number.isNaN(Date.parse(e));function Nv(e,t){const r=Array.from(new Set((e??[]).flatMap(Object.keys))).map(o=>({id:o,label:el(o),transform:a=>["created_at","updated_at"].includes(o)?a&&new Date(a).toLocaleString():a}));return t?r.filter(o=>t.includes(o.id)||!o.id):r}function cd(e=100){return new Promise(t=>setTimeout(t,e))}var Ko=new Map;async function tl(e,t){const r=t?.id||e;if(await cd(1),Ko.has(r)){const a=Ko.get(r);if(a)return a}if(t?.id&&document.getElementById(t.id)||document.querySelector(`script[src="${e}"]`))return Promise.resolve();const o=new Promise((a,l)=>{const i=document.createElement("script");i.src=e,t?.id&&(i.id=t.id),i.onload=()=>{a(),Ko.delete(r)},i.onerror=s=>{l(new Error(String(s))),Ko.delete(r)},document.head.append(i)});return Ko.set(r,o),o}async function La(e,{timeout:t=1e4,interval:r=50}={}){const o=Date.now();for(;window[e]===void 0;){if(Date.now()-o>t)throw new Error(`awaitGlobal: window.${e} not available after ${t}ms`);await cd(r)}return window[e]}function tu(e){return new Promise((t,r)=>{if(document.querySelector(`link[href="${e}"]`)){t();return}const o=document.createElement("link");o.href=e,o.rel="stylesheet",o.onload=()=>{t()},o.onerror=r,document.head.append(o)})}function ud(e){return e.startsWith("https://")?e:(e=e.replace(/http:\/\//,""),`https://${e}`)}function Gt(e,t="px"){return typeof e=="number"?`${e}${t}`:e}var hR=/^https?:\/\/|^\/\/|^blob:|^data:/;function gn(e){if(!(e==null||e===""))return hR.test(e)||e.startsWith("/")?e:e.startsWith("static/")||e.startsWith("images/")?`/${e}`:`https://files.bagel.design/${e}`}function pa(e,t,r=void 0){if(!t)return e;const o=t.split(/[.[]/);let a=e;for(const l of o){if(!a||typeof a!="object"||!(l in a))return r;a=a[l]}return a??r}var gR=e=>e.replace(/http:\/\//,"//");function Bv(e,t){try{return e()}catch(r){t&&t(r)}}function dd(e,t){if(typeof document>"u")return;const r=document.createElement("a");r.target="_blank",r.rel="noopener noreferrer";const o=t!==void 0&&t!=="";if(typeof e=="string"){r.href=gR(e);const a=e.split("/").pop();r.download=o?t:a!==void 0&&a!==""?a:"download"}else{const a=URL.createObjectURL(e);r.href=a,r.download=o?t:"download",setTimeout(()=>Bv(()=>{URL.revokeObjectURL(a)}),0)}document.body.appendChild(r),r.click(),document.body.removeChild(r)}function vR(e,t){let r=null;const o=(async a=>{try{if(!r){const l=await e(a);r=(Array.isArray(l)?l:l.data||l.items||[]).map(i=>t?t(i):{label:i.name||i.title||`${i.id}`,value:i.id,...i})}return a&&r?r.map(l=>({item:l,match:ma(l.label,a)})).filter(({match:l})=>l.matches).sort((l,i)=>i.match.score-l.match.score).map(({item:l})=>l):r||[]}catch{return[]}});return o.clearCache=()=>{r=null},o}var yR=e=>Object.keys(e),yp=e=>e?.split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ");function bp(e,t){return t?e.map(r=>{const o={};return t.forEach(a=>{const{id:l,transform:i,label:s}=a;if(l){const c=pa(r,l),u=s||l;o[u]=i?.(c,r)||c||""}}),o}):e}function bR(e){const t=new Set;return e.forEach(r=>{Object.keys(r).forEach(o=>t.add(o))}),Array.from(t).map(r=>({id:r,label:r}))}function _R(){const e=(0,n.ref)(!1);async function t(){return e.value||(await tl("https://cdn.jsdelivr.net/npm/xlsx/dist/xlsx.full.min.js"),e.value=!0),window.XLSX}async function r(f,m="data",p){const h=(0,n.toValue)(p)||bR(f),y=await t(),b=bp(f,h),g=h.length>0?h.map(w=>{const{id:k,label:S}=w;return{v:S||k,t:"s"}}):[],v=y.utils.json_to_sheet(b);g.length>0&&y.utils.sheet_add_aoa(v,[g.map(w=>w.v)],{origin:"A1"});const _=y.utils.book_new();y.utils.book_append_sheet(_,v,"Sheet1"),m=m.endsWith(".xlsx")?m:`${m}.xlsx`,y.writeFile(_,m)}async function o(f,m="data",p){const h=p?p.map(v=>v.id).filter(Boolean):[...new Set(f.flatMap(yR))],y=p?p.map(v=>{const{label:_,id:w}=v;return _||yp(w)}):h.map(yp),b=bp(f,p),g=[y.join(","),...b.map(v=>h.map(_=>{const w=v[_]!==void 0?v[_]:"";return`"${String(w).replace(/"/g,'""')}"`}).join(","))].join(`
424
- `);m=m.endsWith(".csv")?m:`${m}.csv`,dd(new Blob([g],{type:"text/csv;charset=utf-8"}),m)}async function a(f){const m=await t(),p=await f.arrayBuffer();return m.read(p)}async function l(f){return(await a(f)).SheetNames}async function i(f,m,p=!0){const h=await t(),y=(await a(f)).Sheets[m],b=h.utils.sheet_to_json(y,{header:1});if(b.length===0)return{headers:[],data:[]};let g=[],v=0;p?(g=b[0].map(w=>String(w||"").trim()),v=1):g=b[0].map((w,k)=>String.fromCharCode(65+k));const _=[];for(let w=v;w<b.length;w++){const k=b[w],S={};for(let E=0;E<g.length;E++)E<k.length?S[g[E]]=k[E]:S[g[E]]="";_.push(S)}return{headers:g,data:_}}async function s(f){const m=await t();return new Promise((p,h)=>{const y=new FileReader;y.onload=b=>{try{const g=new Uint8Array(b.target?.result),v=m.read(g,{type:"array"}),_=v.SheetNames[0],w=v.Sheets[_];p(m.utils.sheet_to_json(w))}catch(g){h(g)}},y.onerror=()=>{h(new Error("Failed to read file"))},y.readAsArrayBuffer(f)})}function c(f){return typeof f=="number"&&Number.isInteger(f)&&f>=2e4&&f<=5e4}function u(f){const m=new Date(Date.UTC(1899,11,30));return new Date(m.getTime()+f*(1440*60*1e3))}function d(f,m=!1){if(!(f instanceof Date)||Number.isNaN(f.getTime()))return"";const p=f.getFullYear(),h=String(f.getMonth()+1).padStart(2,"0"),y=String(f.getDate()).padStart(2,"0");return m?`${p}-${h}-${y}T${String(f.getHours()).padStart(2,"0")}:${String(f.getMinutes()).padStart(2,"0")}:${String(f.getSeconds()).padStart(2,"0")}`:`${p}-${h}-${y}`}return{downloadExcel:r,downloadCSV:o,readExcelFile:s,ensureXLSXLoaded:t,getSheetNames:l,readSheetData:i,getWorkbook:a,isExcelSerialDate:c,excelSerialDateToJSDate:u,formatDate:d}}var _p={"to-t":"to top","to-b":"to bottom","to-l":"to left","to-r":"to right","to-tl":"to top left","to-tr":"to top right","to-bl":"to bottom left","to-br":"to bottom right"};function wR(e){if(e==null||e==="")return;if(typeof e=="string"&&e in _p)return _p[e];const t=Number(e);return Number.isFinite(t)?`${t}deg`:void 0}function kR(e){return typeof e!="string"?[]:e.trim().split(/\s+/).filter(Boolean)}function Hs(e){const t=e.trim();return t.startsWith("var(")||t.startsWith("#")||/^(rgb|hsl|color-mix|linear-gradient)\(/.test(t)?t:t.startsWith("--")?`var(${t})`:`var(--bgl-${t})`}function qi({gradient:e,gradientDir:t,color:r}){const o=(0,n.computed)(()=>{const l=(0,n.toValue)(e);return l===!0||typeof l=="string"&&l.trim()!==""}),a=(0,n.computed)(()=>[(0,n.toValue)(r),...kR((0,n.toValue)(e))].filter(Boolean));return{isGradient:o,gradientStyle:(0,n.computed)(()=>{if(!o.value)return{};const l={},i=wR((0,n.toValue)(t));i&&(l["--bgl-grad-angle"]=i);const s=a.value;if(s.length<2)return l;l["--bgl-grad-from"]=Hs(s[0]),l["--bgl-grad-to"]=Hs(s[s.length-1]);const c=s.slice(1,-1);return c.length&&(l["--bgl-grad-via"]=`${c.map(Hs).join(", ")}, `),l}),stops:a}}async function $R(e){if("caches"in window)try{const t=await(await window.caches.open("img-cache")).match(e);if(t)return URL.createObjectURL(await t.blob())}catch{}}async function ER(e,t){if("caches"in window)try{await(await window.caches.open("img-cache")).put(e,new Response(t))}catch{}}async function CR(e){await tl("https://cdnjs.cloudflare.com/ajax/libs/heic2any/0.0.1/index.min.js");const t=await(await La("heic2any"))({blob:await(await fetch(ud(e))).blob()});return await ER(e,t),URL.createObjectURL(t)}function fd(e){const t=(0,n.ref)(void 0),r=(0,n.ref)(!1);async function o(){r.value=!1;const a=gn((0,n.toValue)(e));if(a===void 0||a===""){t.value=void 0;return}try{if(a.split(".").pop()?.toLowerCase().split("?")[0]==="heic"){const l=await $R(a);if(l!==void 0&&l!==""){t.value=l;return}t.value=await CR(a)}else t.value=a}catch{r.value=!0,t.value=void 0}}return(0,n.watch)(()=>(0,n.toValue)(e),o,{immediate:!0}),{imageSrc:t,loadingError:r}}var vo={},wp=!1,nu=typeof window<"u";function SR(){!nu||wp||(wp=!0,window.addEventListener("storage",e=>{e.key!==null&&e.key in vo&&(vo[e.key].value=e.newValue!==null?JSON.parse(e.newValue):null)}))}function xR(e,t=null){if(!(e in vo)){const r=nu?localStorage.getItem(e):null;vo[e]=(0,n.ref)(r!==null?JSON.parse(r):t),(0,n.watch)(vo[e],o=>{nu&&localStorage.setItem(e,JSON.stringify(o))})}return vo[e]}function Dv(e){return SR(),new Proxy({},{get(t,r){return xR(r,e?.[r]??null)}})}var Av=1e3,TR=60*Av;function NR(e,t={}){const{interval:r=30*Av,inactivityThreshold:o=5*TR,pauseInBackground:a=!0}=t,{idle:l}=qS(o),i=(0,n.ref)(!0),s=(0,n.ref)(null),c=()=>!a||document.visibilityState==="visible",u=()=>{i.value=!1,s.value!==null&&(clearTimeout(s.value),s.value=null)},d=()=>{s.value!==null&&(clearTimeout(s.value),s.value=null)},f=()=>{s.value!==null&&(clearTimeout(s.value),s.value=null);const h=async()=>{if(i.value&&c()&&!l.value)try{await e()}catch{}i.value&&(s.value=window.setTimeout(h,r))};h()},m=()=>{i.value&&f()};function p(){document.visibilityState==="visible"?i.value&&f():a&&d()}return(0,n.onMounted)(()=>{document.addEventListener("visibilitychange",p),f()}),(0,n.onUnmounted)(()=>{document.removeEventListener("visibilitychange",p),u()}),{isPolling:i,pausePolling:d,resumePolling:m,startPolling:f,stopPolling:u}}function BR(e,t,r){const o={...e};return r===void 0?delete o[t]:o[t]=r,o}function DR(e){const t=(0,kr.useRoute)(),r=(0,kr.useRouter)(),o={};return new Proxy({},{get(a,l){if(!(l in o)){const i=e?.[l];o[l]=(0,n.computed)({get:()=>t.query[l]??i,set:s=>r.replace({query:BR(t.query,l,s)})})}return o[l]}})}function AR(e){const t=(0,n.ref)(0),r=(0,n.ref)(0);let o=null;return(0,n.onMounted)(()=>{e.value&&(o=new ResizeObserver(a=>{for(const l of a)t.value=l.contentRect.width,r.value=l.contentRect.height}),o.observe(e.value),t.value=e.value.clientWidth,r.value=e.value.clientHeight)}),(0,n.onUnmounted)(()=>{o&&(o.disconnect(),o=null)}),{width:t,height:r}}var bn=(0,n.ref)([{value:"dark",class:"bgl-dark-mode",icon:"cloudy_night",label:"Dark Mode",isDark:!0},{value:"light",class:"bgl-light-mode",icon:"brightness_7",label:"Light Mode",isDark:!1},{value:"system",class:"system",icon:"settings_input_component",label:"System Default"}]),kp="color-mode",vn=(0,n.ref)("system"),ru=(0,n.ref)(!1),md=(0,n.ref)(!1),ci=(0,n.ref)(!1),pd=typeof window<"u";function MR(){return md.value&&pd&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}function $p(e){return bn.value.find(t=>t.value===e)}function Ol(e){if(!pd)return;const t=document.documentElement;if(bn.value.forEach(r=>{r.class!=="system"&&t.classList.remove(r.class)}),e==="system"){const r=MR();ru.value=r;const o=bn.value.find(i=>i.value==="dark"),a=bn.value.find(i=>i.value==="light"),l=r?o:a;l&&t.classList.add(l.class)}else{const r=$p(e),o=r&&r.isDark&&!md.value?$p("light"):r;o&&(t.classList.add(o.class),ru.value=o.isDark??!1)}}function LR(){const e=bn.value.filter(t=>t.value!=="system");e.length!==0&&(vn.value=e[(e.findIndex(t=>t.value===vn.value)+1)%e.length].value)}function PR(e={}){e.allowDark!==void 0&&(md.value=e.allowDark),e.manualSelection!==void 0&&(ci.value=e.manualSelection),Mv(),ci.value||(vn.value="system"),Ol(vn.value)}function IR(e){if(!bn.value.some(t=>t.value===e.value)){const t=bn.value.findIndex(r=>r.value==="system");t>-1?bn.value.splice(t,0,e):bn.value.push(e)}}var Ep=!1;function Mv(){if(!(Ep||!pd)){if(Ep=!0,ci.value){const e=window.localStorage.getItem(kp);bn.value.some(t=>t.value===e)&&(vn.value=e)}else vn.value="system";Ol(vn.value),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",()=>{vn.value==="system"&&Ol("system")}),(0,n.watch)(vn,e=>{ci.value&&localStorage.setItem(kp,e),Ol(e)})}}function VR(){return Mv(),{isDark:ru,theme:(0,n.computed)(()=>vn.value),themeOptions:bn,toggleTheme:LR,addTheme:IR,setTheme:e=>{vn.value=e}}}function Lv(e,t,r,o){RS(e,(a,l)=>{if(t?.()?.setCustomValidity(""),!r||a===l||!a)return;const i=r(a,o?.());typeof i=="string"&&t?.()?.setCustomValidity(i)},{debounce:500})}function Pv({schema:e,columns:t,data:r}={}){const o=(0,n.computed)(()=>(0,n.toValue)(e)),a=(0,n.computed)(()=>(0,n.toValue)(t));return o.value?a.value&&a.value.length>0?o.value.filter(l=>a.value?.includes(l.id)):o.value:Nv(r,a.value)}const OR={s:"400px",m:"540px",l:"720px",xl:"960px",full:"100%"};var RR={key:0,class:"dialog-grip","aria-hidden":"true"},FR={key:2,class:"flex-grow-1"},zR=(0,n.defineComponent)({__name:"Dialog",props:{open:{type:Boolean},title:{},width:{default:"m"},position:{default:"center"},dismissable:{type:Boolean,default:!0},flat:{type:Boolean,default:!0},thin:{type:Boolean,default:!1},centerTitle:{type:Boolean,default:!1},ellipsisTitle:{type:Boolean,default:!1},closePlacement:{default:"header-end"},grip:{type:Boolean,default:void 0}},emits:["update:open","close"],setup(e,{expose:t,emit:r}){const o=e,a=(0,n.computed)(()=>o.grip??o.position==="bottom"),l=r,i=(0,n.ref)(null),s=(0,n.ref)(!1),c=(0,n.ref)(!0),u=(0,n.computed)(()=>OR[o.width]),d=(0,n.computed)(()=>o.position==="left"?"dialog-left ms-1 me-auto mt-1 mb-1 height-100-2 m_m-0 m_h-100vh m_max-h-100vh m_radius-0":o.position==="right"?"dialog-right me-1 ms-auto mt-1 mb-1 height-100-2 m_m-0 m_h-100vh m_max-h-100vh m_radius-0":o.position==="top"?"dialog-top mx-auto mt-1 mb-auto":o.position==="bottom"?"dialog-bottom mx-auto mb-1 mt-auto":"dialog-center mx-auto");(0,n.watch)(()=>o.open,b=>{b?(i.value?.showModal(),s.value=!1,c.value=!1,setTimeout(()=>{c.value=!0},250)):f()}),(0,n.onMounted)(()=>{o.open&&i.value?.showModal()});function f(){s.value||(s.value=!0)}function m(){s.value&&(i.value?.close(),s.value=!1,l("close"))}function p(b){b.target===i.value&&o.dismissable&&l("update:open",!1)}function h(b){if(!o.dismissable){b.preventDefault();return}l("update:open",!1)}function y(){c.value=!1,l("update:open",!1)}return t({close:y}),(b,g)=>((0,n.openBlock)(),(0,n.createElementBlock)("dialog",{ref_key:"dialogRef",ref:i,class:(0,n.normalizeClass)([[d.value,{"is-closing":s.value}],"border-none shadow-30 p-0 testMe1 dialog-no-focus-outline"]),style:(0,n.normalizeStyle)({"--dialog-width":u.value}),onClick:p,onCancel:h,onAnimationend:m},[(0,n.createElementVNode)("div",{class:"grid grid-dialog max-height-100-2",tabindex:"-1",autofocus:"",onClick:g[0]||(g[0]=(0,n.withModifiers)(()=>{},["stop"]))},[a.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",RR)):(0,n.createCommentVNode)("",!0),e.title||e.dismissable?((0,n.openBlock)(),(0,n.createElementBlock)("header",{key:1,class:(0,n.normalizeClass)(["flex space-between flex-shrink-0 align-items-start gap-05",{"border-bottom":!e.flat,"border-none":!e.title,"m_ps-1":e.title,"p-05 m_p-05":!e.title,"ps-1-5 pe-1 py-1 ":!e.thin&&e.title,"ps-1 pe-05 py-05":e.thin&&e.title}])},[e.dismissable&&e.closePlacement==="header-start"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:0,flat:"",icon:"close","aria-label":"Close",class:"dialog-close relative z-2",thin:"",onClick:y})):(0,n.createCommentVNode)("",!0),e.title?((0,n.openBlock)(),(0,n.createElementBlock)("h3",{key:1,class:(0,n.normalizeClass)(["dialog-title m-0 txt20 semi w-100p",{"txt-center balance":e.centerTitle,"word-break-all":!e.centerTitle,"ellipsis-1":e.ellipsisTitle}])},(0,n.toDisplayString)(e.title),3)):(0,n.createCommentVNode)("",!0),e.title?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createElementBlock)("div",FR)),e.dismissable&&e.closePlacement==="header-end"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:3,flat:"",icon:"close","aria-label":"Close",class:"dialog-close relative z-2",thin:"",onClick:y})):(0,n.createCommentVNode)("",!0)],2)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["overflow-y flex-grow-1 m_p-1",{"px-1 py-05":e.thin,"px-1-5 py-1":!e.thin}])},[(0,n.renderSlot)(b.$slots,"default",{},void 0,!0)],2),b.$slots.footer?((0,n.openBlock)(),(0,n.createElementBlock)("footer",{key:2,class:(0,n.normalizeClass)(["flex flex-shrink-0 gap-05 m_px-05 m_py-05 justify-content-end",{"border-top":!e.flat,"px-05 py-05":e.thin,"px-1-5 py-1":!e.thin}])},[(0,n.renderSlot)(b.$slots,"footer",{},void 0,!0)],2)):(0,n.createCommentVNode)("",!0)]),e.dismissable&&e.closePlacement==="overlay-start"&&c.value?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:0,icon:"close","aria-label":"Close",class:"fixed top-1 start-1 z-999 overlay-btn",onClick:y})):(0,n.createCommentVNode)("",!0),e.dismissable&&e.closePlacement==="overlay-end"&&c.value?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:1,icon:"close","aria-label":"Close",class:"fixed top-1 end-1 z-999 overlay-btn",onClick:y})):(0,n.createCommentVNode)("",!0)],38))}}),Xn=be(zR,[["__scopeId","data-v-58e0490a"]]),UR=(0,n.defineComponent)({__name:"DialogConfirm",props:{open:{type:Boolean},title:{},message:{},width:{default:"s"},position:{default:"center"},dismissable:{type:Boolean,default:!0},confirmText:{},cancelText:{},confirmColor:{default:"primary"}},emits:["update:open","resolve"],setup(e,{emit:t}){const r=e,o=t,{$t:a}=ot(),l=(0,n.computed)(()=>r.title||a("modalConfirm.title")),i=(0,n.computed)(()=>r.confirmText||a("modalConfirm.confirm")),s=(0,n.computed)(()=>r.cancelText||a("modalConfirm.cancel"));function c(){o("resolve",!0),o("update:open",!1)}function u(){o("resolve",!1),o("update:open",!1)}function d(){o("resolve",!1)}return(f,m)=>((0,n.openBlock)(),(0,n.createBlock)(Xn,{open:e.open,title:l.value,width:e.width,position:e.position,dismissable:e.dismissable,"onUpdate:open":m[0]||(m[0]=p=>f.$emit("update:open",p)),onClose:d},{footer:(0,n.withCtx)(()=>[(0,n.createVNode)(oe,{flat:"",onClick:u},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(s.value),1)]),_:1}),(0,n.createVNode)(oe,{color:e.confirmColor,onClick:c},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(i.value),1)]),_:1},8,["color"])]),default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("p",null,(0,n.toDisplayString)(e.message),1)]),_:1},8,["open","title","width","position","dismissable"]))}}),Iv=UR,HR=(0,n.defineComponent)({__name:"FormFlow",props:{schema:{},modelValue:{},components:{},errors:{},onSubmit:{type:Function}},emits:["update:modelValue"],setup(e,{expose:t,emit:r}){const o=e,a=r,{$t:l}=ot();function i($,V){const P=V.split(".");let B=$;for(const O of P)B=B?.[O];return B}function s($,V,P){const B=V.split(".");let O=$;for(let K=0;K<B.length-1;K++){const Y=B[K];(O[Y]==null||typeof O[Y]!="object")&&(O[Y]={}),O=O[Y]}O[B[B.length-1]]=P}function c($){const V={...$??{}};for(const[P,B]of Object.entries(o.schema._fields)){const O=B._config.default;O!==void 0&&i(V,P)===void 0&&s(V,P,O)}return V}const u=(0,n.ref)(c(o.modelValue)),d=(0,n.ref)({}),f=(0,n.ref)(!1),m=(0,n.ref)("idle"),p=(0,n.ref)();let h=!1;(0,n.watch)(()=>o.modelValue,$=>{h||(u.value=c($))},{deep:!0}),(0,n.watch)(u,$=>{h=!0,a("update:modelValue",$),(0,n.nextTick)(()=>{h=!1})},{deep:!0});function y($){return $._condition==null?!0:P0($._condition,u.value)}function b($,V){if(V._condition==null)return $;const P=V._condition.trim().split(/\s+/)[0];if(!P)return $;const B=i(u.value,P);return B==null?$:`${$}:${String(B)}`}const g=(0,n.computed)(()=>{const $=[];for(const[V,P]of Object.entries(o.schema._fields))y(P)&&$.push({key:V,field:P});return $});function v($,V,P){s(u.value,$,V),(m.value==="success"||m.value==="error")&&(m.value="idle"),f.value&&w($,P)}function _($,V){return $==null||$===""||Array.isArray($)&&$.length===0||V._type==="tel"&&typeof $=="string"&&/^\+\d+$/.test($)}function w($,V){const P=k($);if(V._config.required===!0&&_(P,V))return d.value={...d.value,[$]:V._config.requiredMessage??l("form.required")},!1;if(V._type==="email"&&P&&!Pr.test(P))return d.value={...d.value,[$]:l("form.invalidEmail")},!1;if(V._validations!=null)for(const B of V._validations){const O=B(P);if(O!==!0)return d.value={...d.value,[$]:O},!1}return d.value=Object.fromEntries(Object.entries(d.value).filter(([B])=>B!==$)),!0}function k($){return i(u.value,$)}function S($,V){return V._config.label!=null?V._config.label:$.split(/[._-]/).map(P=>P.charAt(0).toUpperCase()+P.slice(1)).join(" ")}function E($){if(typeof $!="string"&&($._type==="select"||$._type==="multiselect")&&$._config.display==="btn")return Sg;const V=typeof $=="string"?$:$._type;return{text:He,email:Pu,password:J0,number:Mn,tel:ed,url:He,date:xa,time:He,datetime:xa,textarea:He,richtext:qu,json:Lu,checkbox:Bt,toggle:zi,radio:Q0,select:Ft,multiselect:Ft,array:co,upload:Na,color:Dn,range:Vu}[V]??He}const C=(0,n.computed)(()=>{const $={...d.value,...o.errors||{}},V={};for(const[P,B]of Object.entries($))V[P]=Ee(B)??B;return V});function M($,V){const P={label:S(V,$),modelValue:k(V),"onUpdate:modelValue":B=>{v(V,B,$)},error:C.value[V],...$._config,name:$._config.name??V};if($._type==="textarea"&&(P.multiline=!0),$._type==="multiselect"&&(P.multiselect=!0),($._type==="select"||$._type==="multiselect")&&typeof P.options=="function"){const B=P.options;P.options=O=>B(O,u.value)}if($._type==="json"&&(P.language=P.language??"json"),$._type==="array"){const B=Object.fromEntries(Object.entries($._config).filter(([O])=>O!=="schema"&&O!=="itemType"));Object.assign(P,B),P.allowAdd=P.allowAdd??!0,P.allowDelete=P.allowDelete??!0}return P}function A($){return typeof $=="string"&&o.components?.[$]!=null?o.components[$]:$}function z($){return $._component!=null}function D(){let $=!0;const V={};for(const{key:P,field:B}of g.value){const O=k(P);if(B._config.required===!0&&_(O,B)){V[P]=B._config.requiredMessage??l("form.required"),$=!1;continue}if(B._type==="email"&&O&&!Pr.test(O)){V[P]=l("form.invalidEmail"),$=!1;continue}if(B._validations!=null)for(const K of B._validations){const Y=K(O);if(Y!==!0){V[P]=Y,$=!1;break}}}return d.value=V,$}async function R($){$&&$.preventDefault(),f.value=!0;const V=D();if(V){if(o.onSubmit){m.value="submitting";try{await o.onSubmit(u.value),m.value="success"}catch{m.value="error"}}}else{$?.stopPropagation();const P=g.value.find(({key:B})=>d.value[B])?.key;if(P!=null&&p.value){const B=p.value.querySelector(`[name="${P}"]`)||p.value.querySelector(`[id="${P}"]`)||p.value.querySelector(`[data-field="${P}"]`)||p.value.querySelector("input, select, textarea");B&&(B.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{B instanceof HTMLElement&&B.focus()},300))}}return V}return t({validate:D,submit:R,formState:m}),($,V)=>{const P=(0,n.resolveComponent)("FormFlow",!0);return(0,n.openBlock)(),(0,n.createElementBlock)("form",{ref_key:"formElement",ref:p,class:(0,n.normalizeClass)(["grid-form",e.schema._class]),onSubmit:R},[m.value==="success"?(0,n.renderSlot)($.$slots,"success",{key:0,formData:u.value}):((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:1},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(g.value,({key:B,field:O})=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:b(B,O),class:(0,n.normalizeClass)([O._class,O._config.class])},[(0,n.renderSlot)($.$slots,`field:${B}`,{value:k(B),field:O,formData:u.value,error:d.value[B],onChange:K=>{v(B,K,O)}},()=>[O._type==="array"&&O._config.schema?._isSchema?((0,n.openBlock)(),(0,n.createBlock)(co,(0,n.mergeProps)({key:0,ref_for:!0},M(O,B)),{default:(0,n.withCtx)(({item:K})=>[(0,n.createVNode)(P,{"model-value":K.value,schema:O._config.schema,components:e.components,"onUpdate:modelValue":Y=>{K.value=Y}},null,8,["model-value","schema","components","onUpdate:modelValue"])]),_:2},1040)):O._type==="array"&&typeof O._config.schema=="string"?((0,n.openBlock)(),(0,n.createBlock)(co,(0,n.mergeProps)({key:1,ref_for:!0},M(O,B)),{default:(0,n.withCtx)(({item:K})=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(E(O._config.schema)),{"model-value":K.value,"onUpdate:modelValue":Y=>{K.value=Y}},null,8,["model-value","onUpdate:modelValue"]))]),_:2},1040)):O._type==="array"&&O._config.schema?((0,n.openBlock)(),(0,n.createBlock)(co,(0,n.mergeProps)({key:2,ref_for:!0},M(O,B)),{default:(0,n.withCtx)(({item:K})=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(A(O._config.schema)),{modelValue:K.value,"onUpdate:modelValue":Y=>K.value=Y},null,8,["modelValue","onUpdate:modelValue"]))]),_:2},1040)):O._type==="array"&&O._config.itemType?((0,n.openBlock)(),(0,n.createBlock)(co,(0,n.mergeProps)({key:3,ref_for:!0},M(O,B)),{default:(0,n.withCtx)(({item:K})=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(E(O._config.itemType)),{"model-value":K.value,"onUpdate:modelValue":Y=>{K.value=Y}},null,8,["model-value","onUpdate:modelValue"]))]),_:2},1040)):z(O)?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(A(O._component.component)),(0,n.mergeProps)({key:4,"model-value":k(B)},{ref_for:!0},O._component.props,{"onUpdate:modelValue":K=>v(B,K,O)}),null,16,["model-value","onUpdate:modelValue"])):((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(E(O)),(0,n.mergeProps)({key:5,ref_for:!0},M(O,B)),null,16))])],2))),128)),(0,n.renderSlot)($.$slots,"errors",{errors:C.value,errorCount:Object.keys(C.value).filter(B=>C.value[B]).length,visibleFields:g.value}),m.value==="error"?(0,n.renderSlot)($.$slots,"error",{key:0,formData:u.value}):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)($.$slots,"submit",{submit:R,validate:D,formData:u.value,errors:C.value,formState:m.value})],64))],34)}}}),hd=HR,WR={key:0,class:"dialog-form-error bg-red-30 color-red radius-1 mb-1 txt14 px-1 py-075"},jR=(0,n.defineComponent)({__name:"DialogForm",props:{open:{type:Boolean},title:{},width:{default:"m"},position:{default:"center"},dismissable:{type:Boolean,default:!0},schema:{},modelValue:{},onSubmit:{},onDelete:{},submitText:{},cancelText:{},deleteText:{}},emits:["update:open","resolve"],setup(e,{emit:t}){const r=e,o=t,{$t:a}=ot(),l=(0,n.ref)({...r.modelValue||{}}),i=(0,n.ref)(!1),s=(0,n.ref)(!1),c=(0,n.ref)(null),u=(0,n.ref)(),d=(0,n.computed)(()=>typeof r.onDelete=="function");async function f(){if(!i.value){if(!u.value?.validate()){c.value=a("dialogForm.validationError");return}c.value=null,i.value=!0;try{r.onSubmit&&await r.onSubmit(l.value),o("resolve",{action:"submit",data:l.value}),o("update:open",!1)}catch(y){c.value=y instanceof Error?y.message:a("dialogForm.errorOccurred")}finally{i.value=!1}}}async function m(){if(!(s.value||!r.onDelete)){c.value=null,s.value=!0;try{await r.onDelete(l.value),o("resolve",{action:"delete",data:l.value}),o("update:open",!1)}catch(y){c.value=y instanceof Error?y.message:a("dialogForm.errorOccurred")}finally{s.value=!1}}}function p(){o("resolve",{action:"cancel",data:l.value}),o("update:open",!1)}function h(){o("resolve",{action:"cancel",data:l.value})}return(y,b)=>((0,n.openBlock)(),(0,n.createBlock)(Xn,{open:e.open,title:e.title,width:e.width,position:e.position,dismissable:e.dismissable,"onUpdate:open":b[1]||(b[1]=g=>y.$emit("update:open",g)),onClose:h},{footer:(0,n.withCtx)(()=>[d.value?((0,n.openBlock)(),(0,n.createBlock)(oe,{key:0,color:"red",flat:"",loading:s.value,disabled:i.value,class:"me-auto",onClick:m},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.deleteText||(0,n.unref)(a)("dialogForm.delete")),1)]),_:1},8,["loading","disabled"])):(0,n.createCommentVNode)("",!0),b[2]||(b[2]=(0,n.createElementVNode)("div",{class:"flex-grow-1"},null,-1)),(0,n.createVNode)(oe,{flat:"",disabled:i.value||s.value,onClick:p},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.cancelText||(0,n.unref)(a)("dialogForm.cancel")),1)]),_:1},8,["disabled"]),(0,n.createVNode)(oe,{color:"primary",loading:i.value,disabled:s.value,onClick:f},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.submitText||(0,n.unref)(a)("dialogForm.save")),1)]),_:1},8,["loading","disabled"])]),default:(0,n.withCtx)(()=>[c.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",WR,(0,n.toDisplayString)(c.value),1)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(hd,{ref_key:"formFlowRef",ref:u,modelValue:l.value,"onUpdate:modelValue":b[0]||(b[0]=g=>l.value=g),schema:e.schema,onSubmit:f},null,8,["modelValue","schema"])]),_:1},8,["open","title","width","position","dismissable"]))}}),Vv=jR;const gd=Symbol("dialog");var ui=null;function Ov(){const e=(0,n.inject)(gd,null);if(!e){if(ui)return ui;throw new Error("Dialog API not provided. Make sure DialogPlugin is installed via app.use(DialogPlugin)")}return e}const Rv={install:e=>{let t=0;const r=(0,n.reactive)([]),o={form:l=>new Promise(i=>{const s=++t;r.push({id:s,type:"form",options:l,resolve:i,open:!0})}),confirm:l=>new Promise(i=>{const s=++t,c=typeof l=="string"?{message:l}:l;r.push({id:s,type:"confirm",options:c,resolve:i,open:!0})}),open:l=>{const i=++t,s={id:i,type:"open",options:l,resolve:()=>{},open:!0};return r.push(s),{close:()=>{const c=r.findIndex(u=>u.id===i);c!==-1&&(r[c].open=!1,setTimeout(()=>{const u=r.findIndex(d=>d.id===i);u!==-1&&r.splice(u,1)},200))}}}};ui||(ui=o),e.provide(gd,o);const a=(0,n.defineComponent)({name:"DialogContainer",setup(){function l(c,u){c.resolve(u),c.open=!1,setTimeout(()=>{const d=r.findIndex(f=>f.id===c.id);d!==-1&&r.splice(d,1)},200)}function i(c,u){c.resolve(u),c.open=!1,setTimeout(()=>{const d=r.findIndex(f=>f.id===c.id);d!==-1&&r.splice(d,1)},200)}function s(c,u){u||(c.open=!1,setTimeout(()=>{const d=r.findIndex(f=>f.id===c.id);d!==-1&&r.splice(d,1)},200))}return{dialogStack:r,handleFormResolve:l,handleConfirmResolve:i,handleOpenUpdate:s}},render(){return this.dialogStack.map(l=>{if(l.type==="form")return(0,n.h)(Vv,{key:l.id,open:l.open,...l.options,"onUpdate:open":i=>{i||this.handleFormResolve(l,{action:"cancel",data:l.options.modelValue||{}})},onResolve:i=>{this.handleFormResolve(l,i)}});if(l.type==="confirm")return(0,n.h)(Iv,{key:l.id,open:l.open,...l.options,"onUpdate:open":i=>{i||this.handleConfirmResolve(l,!1)},onResolve:i=>{this.handleConfirmResolve(l,i)}});if(l.type==="open"){const i=l.options;return(0,n.h)(Xn,{key:l.id,open:l.open,title:i.title,width:i.width,position:i.position,dismissable:i.dismissable,class:i.class,"onUpdate:open":s=>{this.handleOpenUpdate(l,s)}},{default:()=>(0,n.h)((typeof i.component=="string",i.component),i.props||{})})}return null})}});if(e.component("DialogContainer",a),typeof document<"u"&&typeof window<"u"){const l=()=>{if(!document.getElementById("bagelink-dialog-root")){const i=document.createElement("div");i.id="bagelink-dialog-root",document.body.appendChild(i);const s=(0,n.createApp)(a);Object.assign(s._context,e._context),s.mount(i)}};document.body&&l(),e.mixin({mounted(){this.$root===this&&l()}})}}};var vd={pint:{pattern:/\d/},int:{pattern:/[\d-]/},pnum:{pattern:/[\d.]/},tel:{pattern:/[\d.\-()\s+]/},money:{pattern:/[\d.\s,]/},number:{pattern:/[\d\-.]/},num:{pattern:/[\d\-.]/},hex:{pattern:/[0-9a-f]/i},email:{pattern:/[\w.\-@]/},alpha:{pattern:/[a-z_]/i},alphanum:{pattern:/\w/},lower:{pattern:/[a-z]/i,transform:e=>e.toLowerCase()},upper:{pattern:/[A-Z]/i,transform:e=>e.toUpperCase()},slug:{pattern:/[a-z0-9-]/i,transform:e=>e.toLowerCase().replace(/\s/g,"-")},snake:{pattern:/[a-z_]/,transform:e=>e.toLowerCase().replace(/\s/g,"_")}},yl=new WeakMap;function Ws(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)return e;const t=e.querySelector("input, textarea");return t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement?t:null}function Cp(e){const t=Object.keys(e.modifiers);return t.length>0?t[t.length-1]:""}function Fv(e){return e.pattern!=null?e.pattern:e.modifier!=null&&e.modifier!==""?vd[e.modifier]?.pattern??/./:/./}function Sp(e,t,r){r.keydownEvent=(o=>{GR(o,t,r)}),r.inputEvent=(o=>{zv(o,t,r)}),r.compositionStartEvent=(()=>{YR(r)}),r.compositionEndEvent=(o=>{XR(o,t,r)}),t.addEventListener("keydown",r.keydownEvent),t.addEventListener("input",r.inputEvent,{capture:!0}),t.addEventListener("compositionstart",r.compositionStartEvent),t.addEventListener("compositionend",r.compositionEndEvent)}function xp(e,t){t.keydownEvent&&e.removeEventListener("keydown",t.keydownEvent),t.inputEvent&&e.removeEventListener("input",t.inputEvent,{capture:!0}),t.compositionStartEvent&&e.removeEventListener("compositionstart",t.compositionStartEvent),t.compositionEndEvent&&e.removeEventListener("compositionend",t.compositionEndEvent),t.keydownEvent=void 0,t.inputEvent=void 0,t.compositionStartEvent=void 0,t.compositionEndEvent=void 0}function qR(e){const t=["Tab","Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Enter"];return e.ctrlKey||e.altKey||e.metaKey?!0:t.includes(e.key)}function GR(e,t,r){if(r.composing===!0||qR(e)||r.modifier!=null&&r.modifier!==""&&typeof vd[r.modifier]?.transform=="function")return;const o=Fv(r),a=e.key;o.test(a)||e.preventDefault()}function YR(e){e.composing=!0}function XR(e,t,r){r.composing=!1,zv(e,t,r)}function Tp(e,t){const r=Fv(t);let o;if(t.modifier!=null&&t.modifier!==""){const l=vd[t.modifier]?.transform;o=l?l(e):e}else o=e;let a="";for(let l=0;l<o.length;l++){const i=o[l];r.test(i)&&(a+=i)}return a}function zv(e,t,r){if(r.reformatting===!0||r.composing===!0)return;const o=t.value,a=t.selectionEnd??o.length,l=o.slice(0,a),i=Tp(o,r);if(i===o)return;const s=Tp(l,r).length;r.reformatting=!0,t.value=i,t.setSelectionRange(s,s),r.reformatting=!1}var KR={beforeMount(e,t){const r=Ws(e);if(r===null)return;const o={modifier:Cp(t)};typeof t.value=="object"&&t.value!==null&&(o.pattern=t.value.pattern??/./,o.validateOnly=t.value.validateOnly===!0),yl.set(e,o),Sp(e,r,o)},updated(e,t){const r=Ws(e);if(r===null)return;const o=yl.get(e);o!==void 0&&(xp(r,o),o.modifier=Cp(t),typeof t.value=="object"&&t.value!==null&&(o.pattern=t.value.pattern??/./,o.validateOnly=t.value.validateOnly===!0),Sp(e,r,o))},unmounted(e){const t=Ws(e),r=yl.get(e);t!==null&&r!==void 0&&xp(t,r),yl.delete(e)},getSSRProps(){return{}}},Uv=KR,JR=()=>typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;function ZR(e){const t={y:"up",delay:0,once:!0,threshold:.12};return e?typeof e=="string"?{...t,y:e}:{...t,...e}:t}var js=new WeakMap,QR={mounted(e,t){const r=ZR(t.value);if(JR())return;e.classList.add("bgl-reveal"),r.y!=="none"&&(e.dataset.revealDir=r.y),r.delay&&e.style.setProperty("--bgl-reveal-delay",`${r.delay}ms`);const o=new IntersectionObserver(a=>{for(const l of a)l.isIntersecting?(e.classList.add("bgl-reveal-in"),r.once&&o.unobserve(e)):r.once||e.classList.remove("bgl-reveal-in")},{threshold:r.threshold,rootMargin:"0px 0px -8% 0px"});o.observe(e),js.set(e,o)},unmounted(e){js.get(e)?.disconnect(),js.delete(e)},getSSRProps(){return{}}},Hv=QR;function eF(e){let t=e.__rippleContainer;return(!t||!t.isConnected)&&(t=document.createElement("span"),Object.assign(t.style,{position:"absolute",inset:"0",overflow:"hidden",borderRadius:"inherit",pointerEvents:"none"}),e.appendChild(t),e.__rippleContainer=t),t}var tF={mounted(e,t){const r=o=>{const a=e.getBoundingClientRect(),l=Math.max(a.width,a.height),i=document.createElement("span");i.className="ripple",Object.assign(i.style,{width:`${l}px`,height:`${l}px`,left:`${o.clientX-a.left-l/2}px`,top:`${o.clientY-a.top-l/2}px`,position:"absolute",borderRadius:"50%",transform:"scale(0)",background:"rgba(0, 0, 0, 0.3)",pointerEvents:"none",animation:"rippleEffect 0.6s ease-out"}),eF(e).appendChild(i),setTimeout(()=>{i.remove()},600)};e.__rippleClickHandler=r,t.value!==!1&&(getComputedStyle(e).position==="static"&&(e.style.position="relative"),e.addEventListener("mousedown",r))},updated(e,t){const r=e.__rippleClickHandler;t.value===!1?e.removeEventListener("mousedown",r):(getComputedStyle(e).position==="static"&&(e.style.position="relative"),e.addEventListener("mousedown",r))},unmounted(e){const t=e.__rippleClickHandler;t&&(e.removeEventListener("mousedown",t),delete e.__rippleClickHandler)},getSSRProps(){return{}}},Wv=tF,ra=Symbol("resize");function Np(e,t){const r=t.value||{};let o=!1,a=0,l=0,i=null;r.handle?(i=e.querySelector(r.handle),i||(i=document.createElement("div"),i.className=r.handle.replace(".","")+(r.handleClass?` ${r.handleClass}`:""),i.style.cssText=`
424
+ `);m=m.endsWith(".csv")?m:`${m}.csv`,dd(new Blob([g],{type:"text/csv;charset=utf-8"}),m)}async function a(f){const m=await t(),p=await f.arrayBuffer();return m.read(p)}async function l(f){return(await a(f)).SheetNames}async function i(f,m,p=!0){const h=await t(),y=(await a(f)).Sheets[m],b=h.utils.sheet_to_json(y,{header:1});if(b.length===0)return{headers:[],data:[]};let g=[],v=0;p?(g=b[0].map(w=>String(w||"").trim()),v=1):g=b[0].map((w,k)=>String.fromCharCode(65+k));const _=[];for(let w=v;w<b.length;w++){const k=b[w],S={};for(let E=0;E<g.length;E++)E<k.length?S[g[E]]=k[E]:S[g[E]]="";_.push(S)}return{headers:g,data:_}}async function s(f){const m=await t();return new Promise((p,h)=>{const y=new FileReader;y.onload=b=>{try{const g=new Uint8Array(b.target?.result),v=m.read(g,{type:"array"}),_=v.SheetNames[0],w=v.Sheets[_];p(m.utils.sheet_to_json(w))}catch(g){h(g)}},y.onerror=()=>{h(new Error("Failed to read file"))},y.readAsArrayBuffer(f)})}function c(f){return typeof f=="number"&&Number.isInteger(f)&&f>=2e4&&f<=5e4}function u(f){const m=new Date(Date.UTC(1899,11,30));return new Date(m.getTime()+f*(1440*60*1e3))}function d(f,m=!1){if(!(f instanceof Date)||Number.isNaN(f.getTime()))return"";const p=f.getFullYear(),h=String(f.getMonth()+1).padStart(2,"0"),y=String(f.getDate()).padStart(2,"0");return m?`${p}-${h}-${y}T${String(f.getHours()).padStart(2,"0")}:${String(f.getMinutes()).padStart(2,"0")}:${String(f.getSeconds()).padStart(2,"0")}`:`${p}-${h}-${y}`}return{downloadExcel:r,downloadCSV:o,readExcelFile:s,ensureXLSXLoaded:t,getSheetNames:l,readSheetData:i,getWorkbook:a,isExcelSerialDate:c,excelSerialDateToJSDate:u,formatDate:d}}var _p={"to-t":"to top","to-b":"to bottom","to-l":"to left","to-r":"to right","to-tl":"to top left","to-tr":"to top right","to-bl":"to bottom left","to-br":"to bottom right"};function wR(e){if(e==null||e==="")return;if(typeof e=="string"&&e in _p)return _p[e];const t=Number(e);return Number.isFinite(t)?`${t}deg`:void 0}function kR(e){return typeof e!="string"?[]:e.trim().split(/\s+/).filter(Boolean)}function Hs(e){const t=e.trim();return t.startsWith("var(")||t.startsWith("#")||/^(rgb|hsl|color-mix|linear-gradient)\(/.test(t)?t:t.startsWith("--")?`var(${t})`:`var(--bgl-${t})`}function qi({gradient:e,gradientDir:t,color:r}){const o=(0,n.computed)(()=>{const l=(0,n.toValue)(e);return l===!0||typeof l=="string"&&l.trim()!==""}),a=(0,n.computed)(()=>[(0,n.toValue)(r),...kR((0,n.toValue)(e))].filter(Boolean));return{isGradient:o,gradientStyle:(0,n.computed)(()=>{if(!o.value)return{};const l={},i=wR((0,n.toValue)(t));i&&(l["--bgl-grad-angle"]=i);const s=a.value;if(s.length<2)return l;l["--bgl-grad-from"]=Hs(s[0]),l["--bgl-grad-to"]=Hs(s[s.length-1]);const c=s.slice(1,-1);return c.length&&(l["--bgl-grad-via"]=`${c.map(Hs).join(", ")}, `),l}),stops:a}}async function $R(e){if("caches"in window)try{const t=await(await window.caches.open("img-cache")).match(e);if(t)return URL.createObjectURL(await t.blob())}catch{}}async function ER(e,t){if("caches"in window)try{await(await window.caches.open("img-cache")).put(e,new Response(t))}catch{}}async function CR(e){await tl("https://cdnjs.cloudflare.com/ajax/libs/heic2any/0.0.1/index.min.js");const t=await(await La("heic2any"))({blob:await(await fetch(ud(e))).blob()});return await ER(e,t),URL.createObjectURL(t)}function fd(e){const t=(0,n.ref)(void 0),r=(0,n.ref)(!1);async function o(){r.value=!1;const a=gn((0,n.toValue)(e));if(a===void 0||a===""){t.value=void 0;return}try{if(a.split(".").pop()?.toLowerCase().split("?")[0]==="heic"){const l=await $R(a);if(l!==void 0&&l!==""){t.value=l;return}t.value=await CR(a)}else t.value=a}catch{r.value=!0,t.value=void 0}}return(0,n.watch)(()=>(0,n.toValue)(e),o,{immediate:!0}),{imageSrc:t,loadingError:r}}var vo={},wp=!1,nu=typeof window<"u";function SR(){!nu||wp||(wp=!0,window.addEventListener("storage",e=>{e.key!==null&&e.key in vo&&(vo[e.key].value=e.newValue!==null?JSON.parse(e.newValue):null)}))}function xR(e,t=null){if(!(e in vo)){const r=nu?localStorage.getItem(e):null;vo[e]=(0,n.ref)(r!==null?JSON.parse(r):t),(0,n.watch)(vo[e],o=>{nu&&localStorage.setItem(e,JSON.stringify(o))})}return vo[e]}function Dv(e){return SR(),new Proxy({},{get(t,r){return xR(r,e?.[r]??null)}})}var Av=1e3,TR=60*Av;function NR(e,t={}){const{interval:r=30*Av,inactivityThreshold:o=5*TR,pauseInBackground:a=!0}=t,{idle:l}=qS(o),i=(0,n.ref)(!0),s=(0,n.ref)(null),c=()=>!a||document.visibilityState==="visible",u=()=>{i.value=!1,s.value!==null&&(clearTimeout(s.value),s.value=null)},d=()=>{s.value!==null&&(clearTimeout(s.value),s.value=null)},f=()=>{s.value!==null&&(clearTimeout(s.value),s.value=null);const h=async()=>{if(i.value&&c()&&!l.value)try{await e()}catch{}i.value&&(s.value=window.setTimeout(h,r))};h()},m=()=>{i.value&&f()};function p(){document.visibilityState==="visible"?i.value&&f():a&&d()}return(0,n.onMounted)(()=>{document.addEventListener("visibilitychange",p),f()}),(0,n.onUnmounted)(()=>{document.removeEventListener("visibilitychange",p),u()}),{isPolling:i,pausePolling:d,resumePolling:m,startPolling:f,stopPolling:u}}function BR(e,t,r){const o={...e};return r===void 0?delete o[t]:o[t]=r,o}function DR(e){const t=(0,kr.useRoute)(),r=(0,kr.useRouter)(),o={};return new Proxy({},{get(a,l){if(!(l in o)){const i=e?.[l];o[l]=(0,n.computed)({get:()=>t.query[l]??i,set:s=>r.replace({query:BR(t.query,l,s)})})}return o[l]}})}function AR(e){const t=(0,n.ref)(0),r=(0,n.ref)(0);let o=null;return(0,n.onMounted)(()=>{e.value&&(o=new ResizeObserver(a=>{for(const l of a)t.value=l.contentRect.width,r.value=l.contentRect.height}),o.observe(e.value),t.value=e.value.clientWidth,r.value=e.value.clientHeight)}),(0,n.onUnmounted)(()=>{o&&(o.disconnect(),o=null)}),{width:t,height:r}}var bn=(0,n.ref)([{value:"dark",class:"bgl-dark-mode",icon:"cloudy_night",label:"Dark Mode",isDark:!0},{value:"light",class:"bgl-light-mode",icon:"brightness_7",label:"Light Mode",isDark:!1},{value:"system",class:"system",icon:"settings_input_component",label:"System Default"}]),kp="color-mode",vn=(0,n.ref)("system"),ru=(0,n.ref)(!1),md=(0,n.ref)(!1),ci=(0,n.ref)(!1),pd=typeof window<"u";function MR(){return md.value&&pd&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}function $p(e){return bn.value.find(t=>t.value===e)}function Ol(e){if(!pd)return;const t=document.documentElement;if(bn.value.forEach(r=>{r.class!=="system"&&t.classList.remove(r.class)}),e==="system"){const r=MR();ru.value=r;const o=bn.value.find(i=>i.value==="dark"),a=bn.value.find(i=>i.value==="light"),l=r?o:a;l&&t.classList.add(l.class)}else{const r=$p(e),o=r&&r.isDark&&!md.value?$p("light"):r;o&&(t.classList.add(o.class),ru.value=o.isDark??!1)}}function LR(){const e=bn.value.filter(t=>t.value!=="system");e.length!==0&&(vn.value=e[(e.findIndex(t=>t.value===vn.value)+1)%e.length].value)}function PR(e={}){e.allowDark!==void 0&&(md.value=e.allowDark),e.manualSelection!==void 0&&(ci.value=e.manualSelection),Mv(),ci.value||(vn.value="system"),Ol(vn.value)}function IR(e){if(!bn.value.some(t=>t.value===e.value)){const t=bn.value.findIndex(r=>r.value==="system");t>-1?bn.value.splice(t,0,e):bn.value.push(e)}}var Ep=!1;function Mv(){if(!(Ep||!pd)){if(Ep=!0,ci.value){const e=window.localStorage.getItem(kp);bn.value.some(t=>t.value===e)&&(vn.value=e)}else vn.value="system";Ol(vn.value),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",()=>{vn.value==="system"&&Ol("system")}),(0,n.watch)(vn,e=>{ci.value&&localStorage.setItem(kp,e),Ol(e)})}}function VR(){return Mv(),{isDark:ru,theme:(0,n.computed)(()=>vn.value),themeOptions:bn,toggleTheme:LR,addTheme:IR,setTheme:e=>{vn.value=e}}}function Lv(e,t,r,o){RS(e,(a,l)=>{if(t?.()?.setCustomValidity(""),!r||a===l||!a)return;const i=r(a,o?.());typeof i=="string"&&t?.()?.setCustomValidity(i)},{debounce:500})}function Pv({schema:e,columns:t,data:r}={}){const o=(0,n.computed)(()=>(0,n.toValue)(e)),a=(0,n.computed)(()=>(0,n.toValue)(t));return o.value?a.value&&a.value.length>0?o.value.filter(l=>a.value?.includes(l.id)):o.value:Nv(r,a.value)}const OR={s:"400px",m:"540px",l:"720px",xl:"960px",full:"100%"};var RR={key:0,class:"dialog-grip","aria-hidden":"true"},FR={key:2,class:"flex-grow-1"},zR=(0,n.defineComponent)({__name:"Dialog",props:{open:{type:Boolean},title:{},width:{default:"m"},position:{default:"center"},dismissable:{type:Boolean,default:!0},flat:{type:Boolean,default:!0},thin:{type:Boolean,default:!1},centerTitle:{type:Boolean,default:!1},ellipsisTitle:{type:Boolean,default:!1},closePlacement:{default:"header-end"},grip:{type:Boolean,default:void 0}},emits:["update:open","close"],setup(e,{expose:t,emit:r}){const o=e,a=(0,n.computed)(()=>o.grip??o.position==="bottom"),l=r,i=(0,n.ref)(null),s=(0,n.ref)(!1),c=(0,n.ref)(!0),u=(0,n.computed)(()=>OR[o.width]),d=(0,n.computed)(()=>o.position==="left"?"dialog-left ms-1 me-auto mt-1 mb-1 height-100-2 m_m-0 m_h-100vh m_max-h-100vh m_radius-0":o.position==="right"?"dialog-right me-1 ms-auto mt-1 mb-1 height-100-2 m_m-0 m_h-100vh m_max-h-100vh m_radius-0":o.position==="top"?"dialog-top mx-auto mt-1 mb-auto":o.position==="bottom"?"dialog-bottom mx-auto mb-1 mt-auto":"dialog-center mx-auto");(0,n.watch)(()=>o.open,b=>{b?(i.value?.showModal(),s.value=!1,c.value=!1,setTimeout(()=>{c.value=!0},250)):f()}),(0,n.onMounted)(()=>{o.open&&i.value?.showModal()});function f(){s.value||(s.value=!0)}function m(){s.value&&(i.value?.close(),s.value=!1,l("close"))}function p(b){b.target===i.value&&o.dismissable&&l("update:open",!1)}function h(b){if(!o.dismissable){b.preventDefault();return}l("update:open",!1)}function y(){c.value=!1,l("update:open",!1)}return t({close:y}),(b,g)=>((0,n.openBlock)(),(0,n.createElementBlock)("dialog",{ref_key:"dialogRef",ref:i,class:(0,n.normalizeClass)([[d.value,{"is-closing":s.value}],"border-none shadow-30 p-0 testMe1 dialog-no-focus-outline"]),style:(0,n.normalizeStyle)({"--dialog-width":u.value}),onClick:p,onCancel:h,onAnimationend:m},[(0,n.createElementVNode)("div",{class:"grid grid-dialog max-height-100-2",tabindex:"-1",autofocus:"",onClick:g[0]||(g[0]=(0,n.withModifiers)(()=>{},["stop"]))},[a.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",RR)):(0,n.createCommentVNode)("",!0),e.title||e.dismissable?((0,n.openBlock)(),(0,n.createElementBlock)("header",{key:1,class:(0,n.normalizeClass)(["flex space-between flex-shrink-0 align-items-start gap-05",{"border-bottom":!e.flat,"border-none":!e.title,"m_ps-1":e.title,"p-05 m_p-05":!e.title,"ps-1-5 pe-1 py-1 ":!e.thin&&e.title,"ps-1 pe-05 py-05":e.thin&&e.title}])},[e.dismissable&&e.closePlacement==="header-start"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:0,flat:"",icon:"close","aria-label":"Close",class:"dialog-close relative z-2",thin:"",onClick:y})):(0,n.createCommentVNode)("",!0),e.title?((0,n.openBlock)(),(0,n.createElementBlock)("h3",{key:1,class:(0,n.normalizeClass)(["dialog-title m-0 txt20 semi w-100p",{"txt-center balance":e.centerTitle,"word-break-all":!e.centerTitle,"ellipsis-1":e.ellipsisTitle}])},(0,n.toDisplayString)(e.title),3)):(0,n.createCommentVNode)("",!0),e.title?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createElementBlock)("div",FR)),e.dismissable&&e.closePlacement==="header-end"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:3,flat:"",icon:"close","aria-label":"Close",class:"dialog-close relative z-2",thin:"",onClick:y})):(0,n.createCommentVNode)("",!0)],2)):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",{class:(0,n.normalizeClass)(["overflow-y flex-grow-1 m_p-1",{"px-1 py-05":e.thin,"px-1-5 py-1":!e.thin}])},[(0,n.renderSlot)(b.$slots,"default",{},void 0,!0)],2),b.$slots.footer?((0,n.openBlock)(),(0,n.createElementBlock)("footer",{key:2,class:(0,n.normalizeClass)(["flex flex-shrink-0 gap-05 m_px-05 m_py-05 justify-content-end",{"border-top":!e.flat,"px-05 py-05":e.thin,"px-1-5 py-1":!e.thin}])},[(0,n.renderSlot)(b.$slots,"footer",{},void 0,!0)],2)):(0,n.createCommentVNode)("",!0)]),e.dismissable&&e.closePlacement==="overlay-start"&&c.value?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:0,icon:"close","aria-label":"Close",class:"fixed top-1 start-1 z-999 overlay-btn",onClick:y})):(0,n.createCommentVNode)("",!0),e.dismissable&&e.closePlacement==="overlay-end"&&c.value?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:1,icon:"close","aria-label":"Close",class:"fixed top-1 end-1 z-999 overlay-btn",onClick:y})):(0,n.createCommentVNode)("",!0)],38))}}),Xn=be(zR,[["__scopeId","data-v-58e0490a"]]),UR=(0,n.defineComponent)({__name:"DialogConfirm",props:{open:{type:Boolean},title:{},message:{},width:{default:"s"},position:{default:"center"},dismissable:{type:Boolean,default:!0},confirmText:{},cancelText:{},confirmColor:{default:"primary"}},emits:["update:open","resolve"],setup(e,{emit:t}){const r=e,o=t,{$t:a}=ot(),l=(0,n.computed)(()=>r.title||a("modalConfirm.title")),i=(0,n.computed)(()=>r.confirmText||a("modalConfirm.confirm")),s=(0,n.computed)(()=>r.cancelText||a("modalConfirm.cancel"));function c(){o("resolve",!0),o("update:open",!1)}function u(){o("resolve",!1),o("update:open",!1)}function d(){o("resolve",!1)}return(f,m)=>((0,n.openBlock)(),(0,n.createBlock)(Xn,{open:e.open,title:l.value,width:e.width,position:e.position,dismissable:e.dismissable,"onUpdate:open":m[0]||(m[0]=p=>f.$emit("update:open",p)),onClose:d},{footer:(0,n.withCtx)(()=>[(0,n.createVNode)(oe,{flat:"",onClick:u},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(s.value),1)]),_:1}),(0,n.createVNode)(oe,{color:e.confirmColor,onClick:c},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(i.value),1)]),_:1},8,["color"])]),default:(0,n.withCtx)(()=>[(0,n.createElementVNode)("p",null,(0,n.toDisplayString)(e.message),1)]),_:1},8,["open","title","width","position","dismissable"]))}}),Iv=UR,HR=(0,n.defineComponent)({__name:"FormFlow",props:{schema:{},modelValue:{},components:{},errors:{},onSubmit:{type:Function}},emits:["update:modelValue"],setup(e,{expose:t,emit:r}){const o=e,a=r,{$t:l}=ot();function i($,V){const P=V.split(".");let B=$;for(const O of P)B=B?.[O];return B}function s($,V,P){const B=V.split(".");let O=$;for(let K=0;K<B.length-1;K++){const Y=B[K];(O[Y]==null||typeof O[Y]!="object")&&(O[Y]={}),O=O[Y]}O[B[B.length-1]]=P}function c($){const V={...$??{}};for(const[P,B]of Object.entries(o.schema._fields)){const O=B._config.default;O!==void 0&&i(V,P)===void 0&&s(V,P,O)}return V}const u=(0,n.ref)(c(o.modelValue)),d=(0,n.ref)({}),f=(0,n.ref)(!1),m=(0,n.ref)("idle"),p=(0,n.ref)();let h=!1;(0,n.watch)(()=>o.modelValue,$=>{h||(u.value=c($))},{deep:!0}),(0,n.watch)(u,$=>{h=!0,a("update:modelValue",$),(0,n.nextTick)(()=>{h=!1})},{deep:!0});function y($){return $._hidden?!1:$._condition==null?!0:P0($._condition,u.value)}function b($,V){if(V._condition==null)return $;const P=V._condition.trim().split(/\s+/)[0];if(!P)return $;const B=i(u.value,P);return B==null?$:`${$}:${String(B)}`}const g=(0,n.computed)(()=>{const $=[];for(const[V,P]of Object.entries(o.schema._fields))y(P)&&$.push({key:V,field:P});return $});function v($,V,P){s(u.value,$,V),(m.value==="success"||m.value==="error")&&(m.value="idle"),f.value&&w($,P)}function _($,V){return $==null||$===""||Array.isArray($)&&$.length===0||V._type==="tel"&&typeof $=="string"&&/^\+\d+$/.test($)}function w($,V){const P=k($);if(V._config.required===!0&&_(P,V))return d.value={...d.value,[$]:V._config.requiredMessage??l("form.required")},!1;if(V._type==="email"&&P&&!Pr.test(P))return d.value={...d.value,[$]:l("form.invalidEmail")},!1;if(V._validations!=null)for(const B of V._validations){const O=B(P);if(O!==!0)return d.value={...d.value,[$]:O},!1}return d.value=Object.fromEntries(Object.entries(d.value).filter(([B])=>B!==$)),!0}function k($){return i(u.value,$)}function S($,V){return V._config.label!=null?V._config.label:$.split(/[._-]/).map(P=>P.charAt(0).toUpperCase()+P.slice(1)).join(" ")}function E($){if(typeof $!="string"&&($._type==="select"||$._type==="multiselect")&&$._config.display==="btn")return Sg;const V=typeof $=="string"?$:$._type;return{text:He,email:Pu,password:J0,number:Mn,tel:ed,url:He,date:xa,time:He,datetime:xa,textarea:He,richtext:qu,json:Lu,checkbox:Bt,toggle:zi,radio:Q0,select:Ft,multiselect:Ft,array:co,upload:Na,color:Dn,range:Vu}[V]??He}const C=(0,n.computed)(()=>{const $={...d.value,...o.errors||{}},V={};for(const[P,B]of Object.entries($))V[P]=Ee(B)??B;return V});function M($,V){const P={label:S(V,$),modelValue:k(V),"onUpdate:modelValue":B=>{v(V,B,$)},error:C.value[V],...$._config,name:$._config.name??V};if($._type==="textarea"&&(P.multiline=!0),$._type==="multiselect"&&(P.multiselect=!0),($._type==="select"||$._type==="multiselect")&&typeof P.options=="function"){const B=P.options;P.options=O=>B(O,u.value)}if($._type==="json"&&(P.language=P.language??"json"),$._type==="array"){const B=Object.fromEntries(Object.entries($._config).filter(([O])=>O!=="schema"&&O!=="itemType"));Object.assign(P,B),P.allowAdd=P.allowAdd??!0,P.allowDelete=P.allowDelete??!0}return P}function A($){return typeof $=="string"&&o.components?.[$]!=null?o.components[$]:$}function z($){return $._component!=null}function D(){let $=!0;const V={};for(const{key:P,field:B}of g.value){const O=k(P);if(B._config.required===!0&&_(O,B)){V[P]=B._config.requiredMessage??l("form.required"),$=!1;continue}if(B._type==="email"&&O&&!Pr.test(O)){V[P]=l("form.invalidEmail"),$=!1;continue}if(B._validations!=null)for(const K of B._validations){const Y=K(O);if(Y!==!0){V[P]=Y,$=!1;break}}}return d.value=V,$}async function R($){$&&$.preventDefault(),f.value=!0;const V=D();if(V){if(o.onSubmit){m.value="submitting";try{await o.onSubmit(u.value),m.value="success"}catch{m.value="error"}}}else{$?.stopPropagation();const P=g.value.find(({key:B})=>d.value[B])?.key;if(P!=null&&p.value){const B=p.value.querySelector(`[name="${P}"]`)||p.value.querySelector(`[id="${P}"]`)||p.value.querySelector(`[data-field="${P}"]`)||p.value.querySelector("input, select, textarea");B&&(B.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout(()=>{B instanceof HTMLElement&&B.focus()},300))}}return V}return t({validate:D,submit:R,formState:m}),($,V)=>{const P=(0,n.resolveComponent)("FormFlow",!0);return(0,n.openBlock)(),(0,n.createElementBlock)("form",{ref_key:"formElement",ref:p,class:(0,n.normalizeClass)(["grid-form",e.schema._class]),onSubmit:R},[m.value==="success"?(0,n.renderSlot)($.$slots,"success",{key:0,formData:u.value}):((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:1},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(g.value,({key:B,field:O})=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:b(B,O),class:(0,n.normalizeClass)([O._class,O._config.class])},[(0,n.renderSlot)($.$slots,`field:${B}`,{value:k(B),field:O,formData:u.value,error:d.value[B],onChange:K=>{v(B,K,O)}},()=>[O._type==="array"&&O._config.schema?._isSchema?((0,n.openBlock)(),(0,n.createBlock)(co,(0,n.mergeProps)({key:0,ref_for:!0},M(O,B)),{default:(0,n.withCtx)(({item:K})=>[(0,n.createVNode)(P,{"model-value":K.value,schema:O._config.schema,components:e.components,"onUpdate:modelValue":Y=>{K.value=Y}},null,8,["model-value","schema","components","onUpdate:modelValue"])]),_:2},1040)):O._type==="array"&&typeof O._config.schema=="string"?((0,n.openBlock)(),(0,n.createBlock)(co,(0,n.mergeProps)({key:1,ref_for:!0},M(O,B)),{default:(0,n.withCtx)(({item:K})=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(E(O._config.schema)),{"model-value":K.value,"onUpdate:modelValue":Y=>{K.value=Y}},null,8,["model-value","onUpdate:modelValue"]))]),_:2},1040)):O._type==="array"&&O._config.schema?((0,n.openBlock)(),(0,n.createBlock)(co,(0,n.mergeProps)({key:2,ref_for:!0},M(O,B)),{default:(0,n.withCtx)(({item:K})=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(A(O._config.schema)),{modelValue:K.value,"onUpdate:modelValue":Y=>K.value=Y},null,8,["modelValue","onUpdate:modelValue"]))]),_:2},1040)):O._type==="array"&&O._config.itemType?((0,n.openBlock)(),(0,n.createBlock)(co,(0,n.mergeProps)({key:3,ref_for:!0},M(O,B)),{default:(0,n.withCtx)(({item:K})=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(E(O._config.itemType)),{"model-value":K.value,"onUpdate:modelValue":Y=>{K.value=Y}},null,8,["model-value","onUpdate:modelValue"]))]),_:2},1040)):z(O)?((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(A(O._component.component)),(0,n.mergeProps)({key:4,"model-value":k(B)},{ref_for:!0},O._component.props,{"onUpdate:modelValue":K=>v(B,K,O)}),null,16,["model-value","onUpdate:modelValue"])):((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(E(O)),(0,n.mergeProps)({key:5,ref_for:!0},M(O,B)),null,16))])],2))),128)),(0,n.renderSlot)($.$slots,"errors",{errors:C.value,errorCount:Object.keys(C.value).filter(B=>C.value[B]).length,visibleFields:g.value}),m.value==="error"?(0,n.renderSlot)($.$slots,"error",{key:0,formData:u.value}):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)($.$slots,"submit",{submit:R,validate:D,formData:u.value,errors:C.value,formState:m.value})],64))],34)}}}),hd=HR,WR={key:0,class:"dialog-form-error bg-red-30 color-red radius-1 mb-1 txt14 px-1 py-075"},jR=(0,n.defineComponent)({__name:"DialogForm",props:{open:{type:Boolean},title:{},width:{default:"m"},position:{default:"center"},dismissable:{type:Boolean,default:!0},schema:{},modelValue:{},onSubmit:{},onDelete:{},submitText:{},cancelText:{},deleteText:{}},emits:["update:open","resolve"],setup(e,{emit:t}){const r=e,o=t,{$t:a}=ot(),l=(0,n.ref)({...r.modelValue||{}}),i=(0,n.ref)(!1),s=(0,n.ref)(!1),c=(0,n.ref)(null),u=(0,n.ref)(),d=(0,n.computed)(()=>typeof r.onDelete=="function");async function f(){if(!i.value){if(!u.value?.validate()){c.value=a("dialogForm.validationError");return}c.value=null,i.value=!0;try{r.onSubmit&&await r.onSubmit(l.value),o("resolve",{action:"submit",data:l.value}),o("update:open",!1)}catch(y){c.value=y instanceof Error?y.message:a("dialogForm.errorOccurred")}finally{i.value=!1}}}async function m(){if(!(s.value||!r.onDelete)){c.value=null,s.value=!0;try{await r.onDelete(l.value),o("resolve",{action:"delete",data:l.value}),o("update:open",!1)}catch(y){c.value=y instanceof Error?y.message:a("dialogForm.errorOccurred")}finally{s.value=!1}}}function p(){o("resolve",{action:"cancel",data:l.value}),o("update:open",!1)}function h(){o("resolve",{action:"cancel",data:l.value})}return(y,b)=>((0,n.openBlock)(),(0,n.createBlock)(Xn,{open:e.open,title:e.title,width:e.width,position:e.position,dismissable:e.dismissable,"onUpdate:open":b[1]||(b[1]=g=>y.$emit("update:open",g)),onClose:h},{footer:(0,n.withCtx)(()=>[d.value?((0,n.openBlock)(),(0,n.createBlock)(oe,{key:0,color:"red",flat:"",loading:s.value,disabled:i.value,class:"me-auto",onClick:m},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.deleteText||(0,n.unref)(a)("dialogForm.delete")),1)]),_:1},8,["loading","disabled"])):(0,n.createCommentVNode)("",!0),b[2]||(b[2]=(0,n.createElementVNode)("div",{class:"flex-grow-1"},null,-1)),(0,n.createVNode)(oe,{flat:"",disabled:i.value||s.value,onClick:p},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.cancelText||(0,n.unref)(a)("dialogForm.cancel")),1)]),_:1},8,["disabled"]),(0,n.createVNode)(oe,{color:"primary",loading:i.value,disabled:s.value,onClick:f},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.submitText||(0,n.unref)(a)("dialogForm.save")),1)]),_:1},8,["loading","disabled"])]),default:(0,n.withCtx)(()=>[c.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",WR,(0,n.toDisplayString)(c.value),1)):(0,n.createCommentVNode)("",!0),(0,n.createVNode)(hd,{ref_key:"formFlowRef",ref:u,modelValue:l.value,"onUpdate:modelValue":b[0]||(b[0]=g=>l.value=g),schema:e.schema,onSubmit:f},null,8,["modelValue","schema"])]),_:1},8,["open","title","width","position","dismissable"]))}}),Vv=jR;const gd=Symbol("dialog");var ui=null;function Ov(){const e=(0,n.inject)(gd,null);if(!e){if(ui)return ui;throw new Error("Dialog API not provided. Make sure DialogPlugin is installed via app.use(DialogPlugin)")}return e}const Rv={install:e=>{let t=0;const r=(0,n.reactive)([]),o={form:l=>new Promise(i=>{const s=++t;r.push({id:s,type:"form",options:l,resolve:i,open:!0})}),confirm:l=>new Promise(i=>{const s=++t,c=typeof l=="string"?{message:l}:l;r.push({id:s,type:"confirm",options:c,resolve:i,open:!0})}),open:l=>{const i=++t,s={id:i,type:"open",options:l,resolve:()=>{},open:!0};return r.push(s),{close:()=>{const c=r.findIndex(u=>u.id===i);c!==-1&&(r[c].open=!1,setTimeout(()=>{const u=r.findIndex(d=>d.id===i);u!==-1&&r.splice(u,1)},200))}}}};ui||(ui=o),e.provide(gd,o);const a=(0,n.defineComponent)({name:"DialogContainer",setup(){function l(c,u){c.resolve(u),c.open=!1,setTimeout(()=>{const d=r.findIndex(f=>f.id===c.id);d!==-1&&r.splice(d,1)},200)}function i(c,u){c.resolve(u),c.open=!1,setTimeout(()=>{const d=r.findIndex(f=>f.id===c.id);d!==-1&&r.splice(d,1)},200)}function s(c,u){u||(c.open=!1,setTimeout(()=>{const d=r.findIndex(f=>f.id===c.id);d!==-1&&r.splice(d,1)},200))}return{dialogStack:r,handleFormResolve:l,handleConfirmResolve:i,handleOpenUpdate:s}},render(){return this.dialogStack.map(l=>{if(l.type==="form")return(0,n.h)(Vv,{key:l.id,open:l.open,...l.options,"onUpdate:open":i=>{i||this.handleFormResolve(l,{action:"cancel",data:l.options.modelValue||{}})},onResolve:i=>{this.handleFormResolve(l,i)}});if(l.type==="confirm")return(0,n.h)(Iv,{key:l.id,open:l.open,...l.options,"onUpdate:open":i=>{i||this.handleConfirmResolve(l,!1)},onResolve:i=>{this.handleConfirmResolve(l,i)}});if(l.type==="open"){const i=l.options;return(0,n.h)(Xn,{key:l.id,open:l.open,title:i.title,width:i.width,position:i.position,dismissable:i.dismissable,class:i.class,"onUpdate:open":s=>{this.handleOpenUpdate(l,s)}},{default:()=>(0,n.h)((typeof i.component=="string",i.component),i.props||{})})}return null})}});if(e.component("DialogContainer",a),typeof document<"u"&&typeof window<"u"){const l=()=>{if(!document.getElementById("bagelink-dialog-root")){const i=document.createElement("div");i.id="bagelink-dialog-root",document.body.appendChild(i);const s=(0,n.createApp)(a);Object.assign(s._context,e._context),s.mount(i)}};document.body&&l(),e.mixin({mounted(){this.$root===this&&l()}})}}};var vd={pint:{pattern:/\d/},int:{pattern:/[\d-]/},pnum:{pattern:/[\d.]/},tel:{pattern:/[\d.\-()\s+]/},money:{pattern:/[\d.\s,]/},number:{pattern:/[\d\-.]/},num:{pattern:/[\d\-.]/},hex:{pattern:/[0-9a-f]/i},email:{pattern:/[\w.\-@]/},alpha:{pattern:/[a-z_]/i},alphanum:{pattern:/\w/},lower:{pattern:/[a-z]/i,transform:e=>e.toLowerCase()},upper:{pattern:/[A-Z]/i,transform:e=>e.toUpperCase()},slug:{pattern:/[a-z0-9-]/i,transform:e=>e.toLowerCase().replace(/\s/g,"-")},snake:{pattern:/[a-z_]/,transform:e=>e.toLowerCase().replace(/\s/g,"_")}},yl=new WeakMap;function Ws(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement)return e;const t=e.querySelector("input, textarea");return t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement?t:null}function Cp(e){const t=Object.keys(e.modifiers);return t.length>0?t[t.length-1]:""}function Fv(e){return e.pattern!=null?e.pattern:e.modifier!=null&&e.modifier!==""?vd[e.modifier]?.pattern??/./:/./}function Sp(e,t,r){r.keydownEvent=(o=>{GR(o,t,r)}),r.inputEvent=(o=>{zv(o,t,r)}),r.compositionStartEvent=(()=>{YR(r)}),r.compositionEndEvent=(o=>{XR(o,t,r)}),t.addEventListener("keydown",r.keydownEvent),t.addEventListener("input",r.inputEvent,{capture:!0}),t.addEventListener("compositionstart",r.compositionStartEvent),t.addEventListener("compositionend",r.compositionEndEvent)}function xp(e,t){t.keydownEvent&&e.removeEventListener("keydown",t.keydownEvent),t.inputEvent&&e.removeEventListener("input",t.inputEvent,{capture:!0}),t.compositionStartEvent&&e.removeEventListener("compositionstart",t.compositionStartEvent),t.compositionEndEvent&&e.removeEventListener("compositionend",t.compositionEndEvent),t.keydownEvent=void 0,t.inputEvent=void 0,t.compositionStartEvent=void 0,t.compositionEndEvent=void 0}function qR(e){const t=["Tab","Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Enter"];return e.ctrlKey||e.altKey||e.metaKey?!0:t.includes(e.key)}function GR(e,t,r){if(r.composing===!0||qR(e)||r.modifier!=null&&r.modifier!==""&&typeof vd[r.modifier]?.transform=="function")return;const o=Fv(r),a=e.key;o.test(a)||e.preventDefault()}function YR(e){e.composing=!0}function XR(e,t,r){r.composing=!1,zv(e,t,r)}function Tp(e,t){const r=Fv(t);let o;if(t.modifier!=null&&t.modifier!==""){const l=vd[t.modifier]?.transform;o=l?l(e):e}else o=e;let a="";for(let l=0;l<o.length;l++){const i=o[l];r.test(i)&&(a+=i)}return a}function zv(e,t,r){if(r.reformatting===!0||r.composing===!0)return;const o=t.value,a=t.selectionEnd??o.length,l=o.slice(0,a),i=Tp(o,r);if(i===o)return;const s=Tp(l,r).length;r.reformatting=!0,t.value=i,t.setSelectionRange(s,s),r.reformatting=!1}var KR={beforeMount(e,t){const r=Ws(e);if(r===null)return;const o={modifier:Cp(t)};typeof t.value=="object"&&t.value!==null&&(o.pattern=t.value.pattern??/./,o.validateOnly=t.value.validateOnly===!0),yl.set(e,o),Sp(e,r,o)},updated(e,t){const r=Ws(e);if(r===null)return;const o=yl.get(e);o!==void 0&&(xp(r,o),o.modifier=Cp(t),typeof t.value=="object"&&t.value!==null&&(o.pattern=t.value.pattern??/./,o.validateOnly=t.value.validateOnly===!0),Sp(e,r,o))},unmounted(e){const t=Ws(e),r=yl.get(e);t!==null&&r!==void 0&&xp(t,r),yl.delete(e)},getSSRProps(){return{}}},Uv=KR,JR=()=>typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;function ZR(e){const t={y:"up",delay:0,once:!0,threshold:.12};return e?typeof e=="string"?{...t,y:e}:{...t,...e}:t}var js=new WeakMap,QR={mounted(e,t){const r=ZR(t.value);if(JR())return;e.classList.add("bgl-reveal"),r.y!=="none"&&(e.dataset.revealDir=r.y),r.delay&&e.style.setProperty("--bgl-reveal-delay",`${r.delay}ms`);const o=new IntersectionObserver(a=>{for(const l of a)l.isIntersecting?(e.classList.add("bgl-reveal-in"),r.once&&o.unobserve(e)):r.once||e.classList.remove("bgl-reveal-in")},{threshold:r.threshold,rootMargin:"0px 0px -8% 0px"});o.observe(e),js.set(e,o)},unmounted(e){js.get(e)?.disconnect(),js.delete(e)},getSSRProps(){return{}}},Hv=QR;function eF(e){let t=e.__rippleContainer;return(!t||!t.isConnected)&&(t=document.createElement("span"),Object.assign(t.style,{position:"absolute",inset:"0",overflow:"hidden",borderRadius:"inherit",pointerEvents:"none"}),e.appendChild(t),e.__rippleContainer=t),t}var tF={mounted(e,t){const r=o=>{const a=e.getBoundingClientRect(),l=Math.max(a.width,a.height),i=document.createElement("span");i.className="ripple",Object.assign(i.style,{width:`${l}px`,height:`${l}px`,left:`${o.clientX-a.left-l/2}px`,top:`${o.clientY-a.top-l/2}px`,position:"absolute",borderRadius:"50%",transform:"scale(0)",background:"rgba(0, 0, 0, 0.3)",pointerEvents:"none",animation:"rippleEffect 0.6s ease-out"}),eF(e).appendChild(i),setTimeout(()=>{i.remove()},600)};e.__rippleClickHandler=r,t.value!==!1&&(getComputedStyle(e).position==="static"&&(e.style.position="relative"),e.addEventListener("mousedown",r))},updated(e,t){const r=e.__rippleClickHandler;t.value===!1?e.removeEventListener("mousedown",r):(getComputedStyle(e).position==="static"&&(e.style.position="relative"),e.addEventListener("mousedown",r))},unmounted(e){const t=e.__rippleClickHandler;t&&(e.removeEventListener("mousedown",t),delete e.__rippleClickHandler)},getSSRProps(){return{}}},Wv=tF,ra=Symbol("resize");function Np(e,t){const r=t.value||{};let o=!1,a=0,l=0,i=null;r.handle?(i=e.querySelector(r.handle),i||(i=document.createElement("div"),i.className=r.handle.replace(".","")+(r.handleClass?` ${r.handleClass}`:""),i.style.cssText=`
425
425
  position: absolute;
426
426
  bottom: 0;
427
427
  left: 0;
@@ -430,7 +430,7 @@ ${t.preList[o]}
430
430
  background: rgba(0, 0, 0, 0.1);
431
431
  cursor: ns-resize;
432
432
  transition: background 0.2s;
433
- `,e.appendChild(i))):i=e,i.addEventListener("mouseenter",()=>{i!==e&&(i.style.background="rgba(0, 0, 0, 0.2)")}),i.addEventListener("mouseleave",()=>{i!==e&&!o&&(i.style.background="rgba(0, 0, 0, 0.1)")}),i.style.cursor="ns-resize",i.style.userSelect="none";function s(m){return{clientY:m,deltaY:m-a,initialHeight:l}}function c(m){return r.gridSize?Math.round(m/r.gridSize)*r.gridSize:m}function u(m){if(!o)return;m.preventDefault();const p=s("touches"in m?m.touches[0].clientY:m.clientY);let h=l+p.deltaY;r.minHeight!==void 0&&(h=Math.max(h,r.minHeight)),r.maxHeight!==void 0&&(h=Math.min(h,r.maxHeight)),h=c(h),e.style.height=`${h}px`,r.onResize&&r.onResize(p),i!==e&&(i.style.background="rgba(0, 0, 0, 0.3)")}function d(m){if(!o)return;const p=s("touches"in m?m.changedTouches[0].clientY:m.clientY);o=!1,document.body.style.cursor="",document.body.style.userSelect="",i!==e&&(i.style.background="rgba(0, 0, 0, 0.1)"),r.onEnd&&r.onEnd(p),document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",d),document.removeEventListener("touchmove",u),document.removeEventListener("touchend",d),document.removeEventListener("touchcancel",d)}function f(m){m instanceof MouseEvent&&m.button!==0||(m.preventDefault(),o=!0,a="touches"in m?m.touches[0].clientY:m.clientY,l=e.offsetHeight,r.onStart&&r.onStart(m),document.body.style.cursor="ns-resize",document.body.style.userSelect="none",document.addEventListener("mousemove",u,{passive:!1}),document.addEventListener("mouseup",d),document.addEventListener("touchmove",u,{passive:!1}),document.addEventListener("touchend",d),document.addEventListener("touchcancel",d))}i.addEventListener("mousedown",f),i.addEventListener("touchstart",f,{passive:!1}),e[ra]=()=>{i!==e&&e.removeChild(i),i.removeEventListener("mousedown",f),i.removeEventListener("touchstart",f),i.removeEventListener("mouseenter",f),i.removeEventListener("mouseleave",f),document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",d),document.removeEventListener("touchmove",u),document.removeEventListener("touchend",d),document.removeEventListener("touchcancel",d)}}const nF={mounted(e,t){Np(e,t)},unmounted(e){const t=e[ra];typeof t=="function"&&(t(),delete e[ra])},updated(e,t){if(t.value!==t.oldValue){const r=e[ra];typeof r=="function"&&(r(),delete e[ra]),Np(e,t)}},getSSRProps(){return{}}},rF=12,oF=12,aF=1;var jv=/^col-(\d{1,2})\/12$/,qv=/^m_col-(\d{1,2})\/12$/,Gv=/^(?:grid-)?span-row-(\d{1,2})$/,di={"col-1/12":1,"col-1/6":2,"col-2/12":2,"col-1/4":3,"col-3/12":3,"col-1/3":4,"col-4/12":4,"col-5/12":5,"col-1/2":6,"col-6/12":6,"col-7/12":7,"col-2/3":8,"col-8/12":8,"col-3/4":9,"col-9/12":9,"col-5/6":10,"col-10/12":10,"col-11/12":11,"col-full":12,"col-12/12":12},ou=Object.fromEntries(Object.entries(di).map(([e,t])=>[`m_${e}`,t]));function Uo(e){return Math.max(1,Math.min(12,Math.round(e)))}function Yv(e){return`col-${Uo(e)}/12`}function Xv(e){return`m_col-${Uo(e)}/12`}function Kv(e){return`span-row-${Uo(e)}`}function yd(e){if(e)for(const t of e.split(/\s+/)){if(t.startsWith("m_"))continue;const r=t.match(jv);if(r)return Uo(Number(r[1]));if(t in di)return di[t]}}function bd(e){if(e)for(const t of e.split(/\s+/)){const r=t.match(qv);if(r)return Uo(Number(r[1]));if(t in ou)return ou[t]}}function _d(e){if(e)for(const t of e.split(/\s+/)){const r=t.match(Gv);if(r)return Uo(Number(r[1]))}}function wd(e){return e?e.split(/\s+/).filter(Boolean).filter(t=>!jv.test(t)&&!qv.test(t)&&!Gv.test(t)&&!(t in di)&&!(t in ou)).join(" "):""}function Jv(e,t){const r=wd(e),o=r?[r]:[];return t.colSpan!==void 0&&t.colSpan!==12&&o.push(Yv(t.colSpan)),t.rowSpan!==void 0&&t.rowSpan!==1&&o.push(Kv(t.rowSpan)),t.mColSpan!==void 0&&t.mColSpan!==12&&o.push(Xv(t.mColSpan)),o.join(" ")}function lF(e){return{colSpan:yd(e),rowSpan:_d(e),mColSpan:bd(e)}}function kd(e){return e==="richtext"?3:e==="textarea"||e==="json"||e==="radio"||e==="file"||e==="signature"?2:1}function $d(e){if(e.format)switch(e.format){case"email":return"email";case"tel":return"phone";case"uri":case"url":return"url";case"date":case"date-time":return"date"}if(e.enum)return"select";switch(e.type){case"number":case"integer":return"number";case"boolean":return"checkbox"}return"text"}function Zv(e){if(!e?.properties)return[];const t=new Set(e.required??[]),r=[];for(const[o,a]of Object.entries(e.properties)){const l=a["x-field-type"]??$d(a),i={};a.minLength!==void 0&&(i.minLength=a.minLength),a.maxLength!==void 0&&(i.maxLength=a.maxLength),a.minimum!==void 0&&(i.min=a.minimum),a.maximum!==void 0&&(i.max=a.maximum),a.multipleOf!==void 0&&(i.step=a.multipleOf),a.pattern!==void 0&&(i.pattern=a.pattern),a["x-options"]?i.options=a["x-options"]:a.enum&&(i.options=a.enum.map(u=>({label:String(u),value:String(u)})));const s=a["x-ui"]?.class,c={id:crypto.randomUUID(),key:o,type:l,label:a.title??o,placeholder:a["x-placeholder"],description:a.description,required:t.has(o)||void 0,colSpan:yd(s)??12,rowSpan:_d(s)??kd(l),mColSpan:bd(s)??12,class:wd(s)||void 0,hideLabel:a["x-hide-label"]??!1,richTextVariant:a["x-rich-text-variant"],markdownShowFormatting:a["x-markdown-show-formatting"],textareaRows:a["x-textarea-rows"],textareaAutoHeight:a["x-textarea-autoheight"],numberLayout:a["x-number-layout"],numberSpinner:a["x-number-spinner"]??!0,phoneOnlyCountries:a["x-phone-only-countries"],selectMultiselect:a["x-select-multiselect"],fileMultiple:a["x-file-multiple"],fileHeight:a["x-file-height"],fileAccept:a["x-file-accept"],fileTheme:a["x-file-theme"],fileShowIcon:a["x-file-show-icon"]===!1?!1:void 0,fileIcon:a["x-file-icon"],dateEnableTime:a["x-date-enable-time"],dateMin:a["x-date-min"],dateMax:a["x-date-max"],rangeMulti:a["x-range-multi"],radioThin:a["x-radio-thin"],radioHideRadio:a["x-radio-hide-radio"],radioAlign:a["x-radio-align"],textIcon:a["x-text-icon"],textIconStart:a["x-text-icon-start"],validation:Object.keys(i).length>0?i:void 0,defaultValue:a.default,content:a["x-field-type"]==="heading"?a.title:void 0};r.push(c)}return r}function iF(e){const t={},r=[];for(const a of e){const l={};if(a.type==="heading"||a.type==="divider")l.type="string",l.title=a.content||a.label,l["x-field-type"]=a.type;else{switch(a.type){case"text":case"textarea":case"richtext":case"markdown":case"email":case"phone":case"url":case"date":case"file":case"signature":case"color":l.type="string";break;case"number":case"range":l.type="number";break;case"checkbox":case"toggle":l.type="boolean";break;case"json":l.type="object";break;case"select":case"radio":l.type="string",a.validation?.options&&(l.enum=a.validation.options.map(s=>s.value));break}a.type==="email"&&(l.format="email"),a.type==="phone"&&(l.format="tel"),a.type==="url"&&(l.format="uri"),a.type==="date"&&(l.format=a.dateEnableTime?"date-time":"date"),a.type==="color"&&(l.format="color"),l.title=a.label,a.description&&(l.description=a.description),a.defaultValue!==void 0&&(l.default=a.defaultValue),a.type!=="text"&&(l["x-field-type"]=a.type),a.validation?.minLength!==void 0&&(l.minLength=a.validation.minLength),a.validation?.maxLength!==void 0&&(l.maxLength=a.validation.maxLength),a.validation?.min!==void 0&&(l.minimum=a.validation.min),a.validation?.max!==void 0&&(l.maximum=a.validation.max),a.validation?.step!==void 0&&(l.multipleOf=a.validation.step),a.validation?.pattern!==void 0&&(l.pattern=a.validation.pattern),a.required&&r.push(a.key)}a.placeholder&&(l["x-placeholder"]=a.placeholder),a.validation?.options&&(l["x-options"]=a.validation.options);const i=Jv(a.class,{colSpan:a.colSpan,rowSpan:a.rowSpan===kd(a.type)?void 0:a.rowSpan,mColSpan:a.mColSpan});i&&(l["x-ui"]={...l["x-ui"],class:i}),a.hideLabel===!0&&(l["x-hide-label"]=!0),a.richTextVariant&&(l["x-rich-text-variant"]=a.richTextVariant),a.markdownShowFormatting===!0&&(l["x-markdown-show-formatting"]=!0),a.textareaRows!==void 0&&(l["x-textarea-rows"]=a.textareaRows),a.textareaAutoHeight===!0&&(l["x-textarea-autoheight"]=!0),a.numberLayout&&a.numberLayout!=="default"&&(l["x-number-layout"]=a.numberLayout),a.numberSpinner===!1&&(l["x-number-spinner"]=!1),a.phoneOnlyCountries&&(l["x-phone-only-countries"]=a.phoneOnlyCountries),a.selectMultiselect===!0&&(l["x-select-multiselect"]=!0),a.fileMultiple===!0&&(l["x-file-multiple"]=!0),a.fileHeight!==void 0&&(l["x-file-height"]=a.fileHeight),a.fileAccept&&(l["x-file-accept"]=a.fileAccept),a.fileTheme&&(l["x-file-theme"]=a.fileTheme),a.fileShowIcon===!1&&(l["x-file-show-icon"]=!1),a.fileIcon&&(l["x-file-icon"]=a.fileIcon),a.dateEnableTime===!0&&(l["x-date-enable-time"]=!0),a.dateMin&&(l["x-date-min"]=a.dateMin),a.dateMax&&(l["x-date-max"]=a.dateMax),a.rangeMulti===!0&&(l["x-range-multi"]=!0),a.radioThin===!0&&(l["x-radio-thin"]=!0),a.radioHideRadio===!0&&(l["x-radio-hide-radio"]=!0),a.radioAlign&&(l["x-radio-align"]=a.radioAlign),a.textIcon&&(l["x-text-icon"]=a.textIcon),a.textIconStart&&(l["x-text-icon-start"]=a.textIconStart),t[a.key]=l}const o={$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:t};return r.length>0&&(o.required=r),o}function sF(e,t){const r={};for(const o of e)if(!(o.type==="heading"||o.type==="divider")){if(t&&o.key in t){r[o.key]=t[o.key];continue}if(o.defaultValue!==void 0){r[o.key]=o.defaultValue;continue}switch(o.type){case"checkbox":case"toggle":r[o.key]=!1;break;case"number":case"range":r[o.key]=o.validation?.min??0;break;default:r[o.key]=""}}return r}function cF(e,t){const r={};for(const o of e){if(o.type==="heading"||o.type==="divider")continue;const a=t[o.key];if(o.required&&(a==null||a==="")){r[o.key]=`${o.label} is required`;continue}if(a==null||a==="")continue;const l=o.validation;if(typeof a=="string"){if(l?.minLength!==void 0&&a.length<l.minLength){r[o.key]=`${o.label} must be at least ${l.minLength} characters`;continue}if(l?.maxLength!==void 0&&a.length>l.maxLength){r[o.key]=`${o.label} must be at most ${l.maxLength} characters`;continue}if(l?.pattern&&!new RegExp(l.pattern).test(a)){r[o.key]=`${o.label} format is invalid`;continue}}if(typeof a=="number"){if(l?.min!==void 0&&a<l.min){r[o.key]=`${o.label} must be at least ${l.min}`;continue}if(l?.max!==void 0&&a>l.max){r[o.key]=`${o.label} must be at most ${l.max}`;continue}}}return r}function uF(e){return{fields:(0,n.computed)(()=>Zv(e.value))}}const dF=!0;var Ke=class{_type;_config;_condition;_validations;_onUpdate;_class;_slots;_component;constructor(e,t={}){this._type=e,this._config=t}if(e){return this._condition=e,this}validate(e){return this._validations||(this._validations=[]),this._validations.push(e),this}onUpdate(e){return this._onUpdate=e,this}class(e){return this._class=this._class?`${this._class} ${e}`:e,this}required(e){return this._config.required=!0,e&&(this._config.requiredMessage=e),this}slot(e,t,r){return this._slots||(this._slots=[]),typeof e!="string"||t!==void 0&&typeof t!="string"?this._slots.push({component:e,props:t}):this._slots.push({name:e,component:t,props:r}),this}};function it(e,t){return typeof e=="string"?{...t,label:e}:e??{}}const st={text(e,t){return new Ke("text",it(e,t))},email(e,t){return new Ke("email",it(e,t))},password(e,t){return new Ke("password",it(e,t))},number(e,t){return new Ke("number",it(e,t))},tel(e,t){return new Ke("tel",it(e,t))},url(e,t){return new Ke("url",it(e,t))},date(e,t){return new Ke("date",it(e,t))},time(e,t){return new Ke("time",it(e,t))},datetime(e,t){return new Ke("datetime",it(e,t))},textarea(e,t){return new Ke("textarea",it(e,t))},richtext(e,t){return new Ke("richtext",it(e,t))},json(e,t){const r=it(e,t);return r.language||(r.language="json"),new Ke("json",r)},checkbox(e,t){return new Ke("checkbox",it(e,t))},toggle(e,t){return new Ke("toggle",it(e,t))},radio(e,t,r){if(typeof e=="string"){const o=e,a=t;return new Ke("radio",{...r,label:o,options:a})}return new Ke("radio",{...it(t,r),options:e})},select(e,t,r){if(typeof e=="string"){const o=e,a=t;return new Ke("select",{...r,label:o,options:a})}return new Ke("select",{...it(t,r),options:e})},multiselect(e,t,r){if(typeof e=="string"){const o=e,a=t;return new Ke("multiselect",{...r,label:o,options:a,multiple:!0})}return new Ke("multiselect",{...it(t,r),options:e})},color(e,t){return new Ke("color",it(e,t))},range(e,t){return new Ke("range",it(e,t))},upload(e,t){return new Ke("upload",it(e,t))},array(e,t,r){if(typeof e=="string"){const a=e,l=t;return new Ke("array",{...r??{},label:a,schema:l})}const o=e;return new Ke("array",{...it(t,r),schema:o})},component(e,t={}){const r=new Ke("component",t);return r._component={component:e,props:t},r},display(e,t={}){const r=new Ke("display",t);return r._component={component:e,props:t},r}};var au=class Qv{_isSchema=!0;_label;_fields;_condition;_class;constructor(t,r){this._fields=t,this._label=r}if(t){return this._condition=t,this}class(t){return this._class=this._class?`${this._class} ${t}`:t,this}defaults(t){for(const[r,o]of Object.entries(t))this._fields[r]&&this._fields[r]._config.default===void 0&&(this._fields[r]._config.default=o);return this}getDefaults(){const t={};for(const[r,o]of Object.entries(this._fields))o._config.default!==void 0&&(t[r]=o._config.default);return t}toJSONSchema(){const t={},r=[];for(const[l,i]of Object.entries(this._fields)){const s=i._config,c=Qv.getJSONSchemaType(i._type),u={type:c};if(s.label&&(u.title=s.label),s.helpText&&(u.description=s.helpText),s.default!==void 0&&(u.default=s.default),s.options){const f=s.options.map(m=>gr(m)??m);i._type==="multiselect"?u.items={type:"string",enum:f}:u.enum=f}s.min!==void 0&&(u[c==="string"?"minLength":"minimum"]=s.min),s.max!==void 0&&(u[c==="string"?"maxLength":"maximum"]=s.max),i._type==="email"&&(u.format="email"),i._type==="url"&&(u.format="uri"),i._type==="date"&&(u.format="date"),i._type==="time"&&(u.format="time"),i._type==="datetime"&&(u.format="date-time");const d={};i._type!=="text"&&(d.fieldType=i._type),s.placeholder&&(d.placeholder=s.placeholder),s.disabled&&(d.disabled=s.disabled),s.readonly&&(d.readonly=s.readonly),s.autoheight&&(d.autoheight=s.autoheight),s.rows&&(d.rows=s.rows),s.cols&&(d.cols=s.cols),i._class&&(d.class=i._class),i._condition&&(d.condition=i._condition),i._type==="array"&&(s.allowAdd!==void 0&&(d.allowAdd=s.allowAdd),s.allowDelete!==void 0&&(d.allowDelete=s.allowDelete)),i._component&&(d.component=typeof i._component.component=="string"?i._component.component:i._component.component.name||"CustomComponent",i._component.props&&(d.componentProps=i._component.props)),Object.keys(d).length>0&&(u["x-ui"]=d),t[l]=u,s.required===!0&&r.push(l)}const o={type:"object",properties:t};r.length>0&&(o.required=r),this._label&&(o.title=this._label);const a={};return this._condition&&(a.condition=this._condition),this._class&&(a.class=this._class),Object.keys(a).length>0&&(o["x-ui"]=a),o}static getJSONSchemaType(t){return{text:"string",email:"string",password:"string",number:"number",tel:"string",url:"string",date:"string",time:"string",datetime:"string",textarea:"string",richtext:"string",json:"object",checkbox:"boolean",toggle:"boolean",radio:"string",select:"string",multiselect:"array",array:"array"}[t]||"string"}};function fF(e,t){if(typeof e=="string"){if(!t)throw new Error("Fields are required when providing a label");return new au(t,e)}return new au(e)}function mF(e){return e}function pF(e){const t={},r=new Set(e.required||[]);if(e.properties)for(const[a,l]of Object.entries(e.properties))t[a]=vF(a,l,r.has(a),e);const o=new au(t,e.title);return e["x-ui"]?.condition&&o.if(e["x-ui"].condition),e["x-ui"]?.class&&o.class(e["x-ui"].class),o}function hF(e,t){const r=e.match(/^#\/(\$defs|definitions)\/(.+)$/);if(!r)return;const[,o,a]=r,l=o==="$defs"?t.$defs:t.definitions;return a?l?.[a]:void 0}function gF(e,t){const r=e.anyOf||e.oneOf;if(!r||r.length===0)return e;const o=r.filter(i=>i.type!=="null");if(o.length===1){const i=o[0];return{...i,title:e.title||i.title,description:e.description||i.description,default:e.default!==void 0?e.default:i.default,"x-ui":{...i["x-ui"],...e["x-ui"]}}}const a=["object","array","string","number","integer","boolean"],l=o.sort((i,s)=>a.indexOf(i.type||"string")-a.indexOf(s.type||"string"))[0];return{...l,title:e.title||l.title,description:e.description||l.description,default:e.default!==void 0?e.default:l.default,"x-ui":{...l["x-ui"],...e["x-ui"]}}}function vF(e,t,r,o){let a=t;if(t.$ref){const u=hF(t.$ref,o);u&&(a={...u,type:t.type??u.type,enum:t.enum??u.enum,title:t.title??u.title,description:t.description??u.description,default:t.default!==void 0?t.default:u.default,"x-ui":{...u["x-ui"],...t["x-ui"]}})}(a.anyOf||a.oneOf)&&(a=gF(a,o));const l=a["x-ui"]||{},i=l.fieldType||Bp(a),s={};a.title&&(s.label=a.title),a.description&&(s.helpText=a.description),a.default!==void 0&&(s.default=a.default),r&&(s.required=!0),l.placeholder&&(s.placeholder=l.placeholder),l.disabled&&(s.disabled=l.disabled),l.readonly&&(s.readonly=l.readonly),l.autoheight&&(s.autoheight=l.autoheight),l.rows&&(s.rows=l.rows),l.cols&&(s.cols=l.cols),a.minimum!==void 0&&(s.min=a.minimum),a.maximum!==void 0&&(s.max=a.maximum),a.minLength!==void 0&&(s.min=a.minLength),a.maxLength!==void 0&&(s.max=a.maxLength);let c;switch(i){case"email":c=st.email(s);break;case"password":c=st.password(s);break;case"number":c=st.number(s);break;case"tel":c=st.tel(s);break;case"url":c=st.url(s);break;case"date":c=st.date(s);break;case"time":c=st.time(s);break;case"datetime":c=st.datetime(s);break;case"textarea":c=st.textarea(s);break;case"richtext":c=st.richtext(s);break;case"json":c=st.json(s);break;case"checkbox":c=st.checkbox(s);break;case"toggle":c=st.toggle(s);break;case"radio":c=st.radio(a.enum||[],s);break;case"select":c=st.select(a.enum||[],s);break;case"multiselect":c=st.multiselect(a.enum||[],s);break;case"array":{const u={...s};l.allowAdd!==void 0&&(u.allowAdd=l.allowAdd),l.allowDelete!==void 0&&(u.allowDelete=l.allowDelete),a.items?.type&&(u.itemType=Bp(a.items)),c=st.array(a.title||e,void 0,u);break}case"display":c=st.display(l.component||"div",l.componentProps||{});break;case"component":c=st.component(l.component||"div",l.componentProps||{});break;default:c=st.text(s)}return l.class&&c.class(l.class),l.condition&&c.if(l.condition),c}function Bp(e){if(e.format)switch(e.format){case"email":return"email";case"uri":return"url";case"date":return"date";case"time":return"time";case"date-time":return"datetime"}if(e.enum)return"select";switch(e.type){case"boolean":return"checkbox";case"number":case"integer":return"number";case"array":return"array";case"object":return"json";default:return"text"}}var yF={class:"multi-step-form"},bF={class:"step-progress"},_F=["onClick"],wF={class:"step-number"},kF={class:"step-label"},$F={key:0},EF={key:0,class:"step-title"},CF={key:1,class:"validation-errors"},SF={class:"step-navigation"},xF=["disabled"],TF={class:"step-counter"},NF=(0,n.defineComponent)({__name:"MultiStepForm",props:{schema:{},modelValue:{},currentStep:{},components:{},validateOnNext:{type:Boolean,default:!0}},emits:["update:modelValue","update:currentStep","stepChange","complete","validationError"],setup(e,{expose:t,emit:r}){const o=e,a=r,{$t:l}=ot(),i=(0,n.useSlots)(),s=(0,n.computed)(()=>Object.keys(i)),c=(0,n.ref)({...o.modelValue||{}}),u=(0,n.ref)(o.currentStep!=null&&o.currentStep!==""?o.currentStep:Object.keys(o.schema)[0]);let d=!1;(0,n.watch)(()=>o.modelValue,D=>{d||(c.value={...D||{}})},{deep:!0}),(0,n.watch)(c,D=>{d=!0,a("update:modelValue",D),setTimeout(()=>{d=!1},0)},{deep:!0}),(0,n.watch)(()=>o.currentStep,D=>{D!=null&&(u.value=D)}),(0,n.watch)(u,D=>{a("update:currentStep",D),a("stepChange",D)});function f(D,R){const $=R.split(".");let V=D;for(const P of $)V=V?.[P];return V}function m(D,R){if(!D)return!0;try{const $=Sa(D);if($.length===0)return!0;let V=!0,P=null;for(let B=0;B<$.length;B++){const O=$[B],K=f(R,O.field),{op:Y,value:re,connector:G}=O;let N=!1;switch(Y){case"eq":N=K===re;break;case"ne":N=K!==re;break;case"gt":N=re!=null&&K>re;break;case"ge":N=re!=null&&K>=re;break;case"lt":N=re!=null&&K<re;break;case"le":N=re!=null&&K<=re;break;case"co":N=re!=null&&String(K).includes(String(re));break;case"sw":N=re!=null&&String(K).startsWith(String(re));break;case"ew":N=re!=null&&String(K).endsWith(String(re));break;case"pr":N=K!=null;break;default:N=!1}B===0?(V=N,P=N):(G==="or"?V=(P??!1)||N:G==="and"&&(V=(P??!1)&&N),P=V)}return V}catch{return!0}}function p(D){return D._condition==null?!0:m(D._condition,c.value)}const h=(0,n.computed)(()=>Object.entries(o.schema).filter(([,D])=>p(D)).map(([D,R])=>({key:D,schema:R}))),y=(0,n.computed)(()=>h.value.findIndex(D=>D.key===u.value)),b=(0,n.computed)(()=>y.value===0),g=(0,n.computed)(()=>y.value===h.value.length-1),v=(0,n.computed)(()=>h.value[y.value]?.schema),_=(0,n.ref)({});function w(D){return D._condition==null?!0:m(D._condition,c.value)}function k(D){const R=D.replace(/\[(\d+)\]/g,".$1");return f(c.value,R)}function S(D){return!!(D==null||typeof D=="string"&&D.trim()===""||Array.isArray(D)&&D.length===0)}function E(){if(!o.validateOnNext||v.value==null)return!0;const D={},R=v.value._fields;for(const[$,V]of Object.entries(R)){if(V._type==="display"||!w(V))continue;const P=k($),B=V._config;if(B.required===!0&&S(P)){D[$]=`${typeof B.label=="string"?B.label:$} is required`;continue}if(V._validations&&!S(P))for(const O of V._validations){const K=O(P);if(K!==!0){D[$]=K;break}}}return _.value=D,Object.keys(D).length>0?(a("validationError",D),!1):!0}function C(D,R){return R._label!=null?R._label:D.split(/[._-]/).map($=>$.charAt(0).toUpperCase()+$.slice(1)).join(" ")}function M(D){const R=h.value.findIndex($=>$.key===D);if(R!==-1){if(R<y.value){u.value=D,_.value={};return}R>y.value&&!E()||(u.value=D)}}function A(){if(E())if(g.value)a("complete");else{const D=y.value+1;u.value=h.value[D].key,_.value={}}}function z(){if(!b.value){const D=y.value-1;u.value=h.value[D].key,_.value={}}}return t({validateCurrentStep:E,stepErrors:_,nextStep:A,prevStep:z,goToStep:M,visibleSteps:h,activeStep:u,currentStepIndex:y,isFirstStep:b,isLastStep:g}),(D,R)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",yF,[(0,n.createElementVNode)("div",bF,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(h.value,($,V)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:$.key,class:(0,n.normalizeClass)(["step-indicator",{active:$.key===u.value,completed:V<y.value}]),onClick:P=>M($.key)},[(0,n.createElementVNode)("div",wF,(0,n.toDisplayString)(V+1),1),(0,n.createElementVNode)("div",kF,(0,n.toDisplayString)(C($.key,$.schema)),1)],10,_F))),128))]),v.value!=null?((0,n.openBlock)(),(0,n.createElementBlock)("div",$F,[v.value._label?((0,n.openBlock)(),(0,n.createElementBlock)("h2",EF,(0,n.toDisplayString)(v.value._label),1)):(0,n.createCommentVNode)("",!0),Object.keys(_.value).length>0?((0,n.openBlock)(),(0,n.createElementBlock)("div",CF,[(0,n.createElementVNode)("ul",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(_.value,($,V)=>((0,n.openBlock)(),(0,n.createElementBlock)("li",{key:V},(0,n.toDisplayString)($),1))),128))])])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(D.$slots,`step:${u.value}`,{schema:v.value,formData:c.value,stepKey:u.value,errors:_.value},()=>[(0,n.createVNode)(hd,{modelValue:c.value,"onUpdate:modelValue":R[0]||(R[0]=$=>c.value=$),schema:v.value,components:e.components,errors:_.value},(0,n.createSlots)({_:2},[(0,n.renderList)(s.value,$=>({name:$,fn:(0,n.withCtx)(V=>[(0,n.renderSlot)(D.$slots,$,(0,n.normalizeProps)((0,n.guardReactiveProps)(V)),void 0,!0)])}))]),1032,["modelValue","schema","components","errors"])],!0)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",SF,[(0,n.createElementVNode)("button",{type:"button",class:"btn-secondary",disabled:b.value,onClick:z},(0,n.toDisplayString)((0,n.unref)(l)("multiStep.previous")),9,xF),(0,n.createElementVNode)("div",TF,(0,n.toDisplayString)((0,n.unref)(l)("multiStep.step",{current:y.value+1,total:h.value.length})),1),(0,n.createElementVNode)("button",{type:"button",class:"btn-primary",onClick:A},(0,n.toDisplayString)(g.value?(0,n.unref)(l)("multiStep.complete"):(0,n.unref)(l)("multiStep.next")),1)])]))}}),BF=be(NF,[["__scopeId","data-v-94c284dc"]]);function cn(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Rn(e){return cn(e).getComputedStyle(e)}var Dp=Math.min,ha=Math.max,fi=Math.round;function ey(e){const t=Rn(e);let r=parseFloat(t.width),o=parseFloat(t.height);const a=e.offsetWidth,l=e.offsetHeight,i=fi(r)!==a||fi(o)!==l;return i&&(r=a,o=l),{width:r,height:o,fallback:i}}function Er(e){return ny(e)?(e.nodeName||"").toLowerCase():""}var bl;function ty(){if(bl)return bl;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(bl=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),bl):navigator.userAgent}function Fn(e){return e instanceof cn(e).HTMLElement}function _r(e){return e instanceof cn(e).Element}function ny(e){return e instanceof cn(e).Node}function Ap(e){return typeof ShadowRoot>"u"?!1:e instanceof cn(e).ShadowRoot||e instanceof ShadowRoot}function Gi(e){const{overflow:t,overflowX:r,overflowY:o,display:a}=Rn(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(a)}function DF(e){return["table","td","th"].includes(Er(e))}function lu(e){const t=/firefox/i.test(ty()),r=Rn(e),o=r.backdropFilter||r.WebkitBackdropFilter;return r.transform!=="none"||r.perspective!=="none"||!!o&&o!=="none"||t&&r.willChange==="filter"||t&&!!r.filter&&r.filter!=="none"||["transform","perspective"].some((a=>r.willChange.includes(a)))||["paint","layout","strict","content"].some((a=>{const l=r.contain;return l!=null&&l.includes(a)}))}function ry(){return!/^((?!chrome|android).)*safari/i.test(ty())}function Ed(e){return["html","body","#document"].includes(Er(e))}function oy(e){return _r(e)?e:e.contextElement}var ay={x:1,y:1};function Eo(e){const t=oy(e);if(!Fn(t))return ay;const r=t.getBoundingClientRect(),{width:o,height:a,fallback:l}=ey(t);let i=(l?fi(r.width):r.width)/o,s=(l?fi(r.height):r.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}function Pa(e,t,r,o){var a,l;t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),s=oy(e);let c=ay;t&&(o?_r(o)&&(c=Eo(o)):c=Eo(e));const u=s?cn(s):window,d=!ry()&&r;let f=(i.left+(d&&((a=u.visualViewport)==null?void 0:a.offsetLeft)||0))/c.x,m=(i.top+(d&&((l=u.visualViewport)==null?void 0:l.offsetTop)||0))/c.y,p=i.width/c.x,h=i.height/c.y;if(s){const y=cn(s),b=o&&_r(o)?cn(o):o;let g=y.frameElement;for(;g&&o&&b!==y;){const v=Eo(g),_=g.getBoundingClientRect(),w=getComputedStyle(g);_.x+=(g.clientLeft+parseFloat(w.paddingLeft))*v.x,_.y+=(g.clientTop+parseFloat(w.paddingTop))*v.y,f*=v.x,m*=v.y,p*=v.x,h*=v.y,f+=_.x,m+=_.y,g=cn(g).frameElement}}return{width:p,height:h,top:m,right:f+p,bottom:m+h,left:f,x:f,y:m}}function wr(e){return((ny(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yi(e){return _r(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ly(e){return Pa(wr(e)).left+Yi(e).scrollLeft}function Ia(e){if(Er(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ap(e)&&e.host||wr(e);return Ap(t)?t.host:t}function iy(e){const t=Ia(e);return Ed(t)?t.ownerDocument.body:Fn(t)&&Gi(t)?t:iy(t)}function mi(e,t){var r;t===void 0&&(t=[]);const o=iy(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),l=cn(o);return a?t.concat(l,l.visualViewport||[],Gi(o)?o:[]):t.concat(o,mi(o))}function Mp(e,t,r){return t==="viewport"?Or((function(o,a){const l=cn(o),i=wr(o),s=l.visualViewport;let c=i.clientWidth,u=i.clientHeight,d=0,f=0;if(s){c=s.width,u=s.height;const m=ry();(m||!m&&a==="fixed")&&(d=s.offsetLeft,f=s.offsetTop)}return{width:c,height:u,x:d,y:f}})(e,r)):_r(t)?Or((function(o,a){const l=Pa(o,!0,a==="fixed"),i=l.top+o.clientTop,s=l.left+o.clientLeft,c=Fn(o)?Eo(o):{x:1,y:1};return{width:o.clientWidth*c.x,height:o.clientHeight*c.y,x:s*c.x,y:i*c.y}})(t,r)):Or((function(o){const a=wr(o),l=Yi(o),i=o.ownerDocument.body,s=ha(a.scrollWidth,a.clientWidth,i.scrollWidth,i.clientWidth),c=ha(a.scrollHeight,a.clientHeight,i.scrollHeight,i.clientHeight);let u=-l.scrollLeft+ly(o);const d=-l.scrollTop;return Rn(i).direction==="rtl"&&(u+=ha(a.clientWidth,i.clientWidth)-s),{width:s,height:c,x:u,y:d}})(wr(e)))}function Lp(e){return Fn(e)&&Rn(e).position!=="fixed"?e.offsetParent:null}function Pp(e){const t=cn(e);let r=Lp(e);for(;r&&DF(r)&&Rn(r).position==="static";)r=Lp(r);return r&&(Er(r)==="html"||Er(r)==="body"&&Rn(r).position==="static"&&!lu(r))?t:r||(function(o){let a=Ia(o);for(;Fn(a)&&!Ed(a);){if(lu(a))return a;a=Ia(a)}return null})(e)||t}function AF(e,t,r){const o=Fn(t),a=wr(t),l=Pa(e,!0,r==="fixed",t);let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(o||!o&&r!=="fixed")if((Er(t)!=="body"||Gi(a))&&(i=Yi(t)),Fn(t)){const c=Pa(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else a&&(s.x=ly(a));return{x:l.left+i.scrollLeft-s.x,y:l.top+i.scrollTop-s.y,width:l.width,height:l.height}}var MF={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e;const l=[...r==="clippingAncestors"?(function(c,u){const d=u.get(c);if(d)return d;let f=mi(c).filter((y=>_r(y)&&Er(y)!=="body")),m=null;const p=Rn(c).position==="fixed";let h=p?Ia(c):c;for(;_r(h)&&!Ed(h);){const y=Rn(h),b=lu(h);(p?b||m:b||y.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=y:f=f.filter((g=>g!==h)),h=Ia(h)}return u.set(c,f),f})(t,this._c):[].concat(r),o],i=l[0],s=l.reduce(((c,u)=>{const d=Mp(t,u,a);return c.top=ha(d.top,c.top),c.right=Dp(d.right,c.right),c.bottom=Dp(d.bottom,c.bottom),c.left=ha(d.left,c.left),c}),Mp(t,i,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:o}=e;const a=Fn(r),l=wr(r);if(r===l)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const c={x:0,y:0};if((a||!a&&o!=="fixed")&&((Er(r)!=="body"||Gi(l))&&(i=Yi(r)),Fn(r))){const u=Pa(r);s=Eo(r),c.x=u.x+r.clientLeft,c.y=u.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+c.x,y:t.y*s.y-i.scrollTop*s.y+c.y}},isElement:_r,getDimensions:function(e){return Fn(e)?ey(e):e.getBoundingClientRect()},getOffsetParent:Pp,getDocumentElement:wr,getScale:Eo,async getElementRects(e){let{reference:t,floating:r,strategy:o}=e;const a=this.getOffsetParent||Pp,l=this.getDimensions;return{reference:AF(t,await a(r),o),floating:{x:0,y:0,...await l(r)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Rn(e).direction==="rtl"},LF=(e,t,r)=>{const o=new Map,a={platform:MF,...r},l={...a.platform,_c:o};return w0(e,t,{...a,platform:l})};function sy(e,t){for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(typeof t[r]=="object"&&e[r]?sy(e[r],t[r]):e[r]=t[r])}var wn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Va(e,t){let r=wn.themes[e]||{},o;do o=r[t],typeof o>"u"?r.$extend?r=wn.themes[r.$extend]||{}:(r=null,o=wn[t]):r=null;while(r);return o}function PF(e){const t=[e];let r=wn.themes[e]||{};do r.$extend&&!r.$resetCss?(t.push(r.$extend),r=wn.themes[r.$extend]||{}):r=null;while(r);return t.map(o=>`v-popper--theme-${o}`)}function Ip(e){const t=[e];let r=wn.themes[e]||{};do r.$extend?(t.push(r.$extend),r=wn.themes[r.$extend]||{}):r=null;while(r);return t}var Ao=!1;if(typeof window<"u"){Ao=!1;try{const e=Object.defineProperty({},"passive",{get(){Ao=!0}});window.addEventListener("test",null,e)}catch{}}var cy=!1;typeof window<"u"&&typeof navigator<"u"&&(cy=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var uy=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Vp={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Op={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Rp(e,t){const r=e.indexOf(t);r!==-1&&e.splice(r,1)}function qs(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}var yn=[],Dr=null,Fp={};function zp(e){let t=Fp[e];return t||(t=Fp[e]=[]),t}var iu=function(){};typeof window<"u"&&(iu=window.Element);function Oe(e){return function(t){return Va(t.theme,e)}}var Gs="__floating-vue__popper",dy=()=>(0,n.defineComponent)({name:"VPopper",provide(){return{[Gs]:{parentPopper:this}}},inject:{[Gs]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Oe("disabled")},positioningDisabled:{type:Boolean,default:Oe("positioningDisabled")},placement:{type:String,default:Oe("placement"),validator:e=>uy.includes(e)},delay:{type:[String,Number,Object],default:Oe("delay")},distance:{type:[Number,String],default:Oe("distance")},skidding:{type:[Number,String],default:Oe("skidding")},triggers:{type:Array,default:Oe("triggers")},showTriggers:{type:[Array,Function],default:Oe("showTriggers")},hideTriggers:{type:[Array,Function],default:Oe("hideTriggers")},popperTriggers:{type:Array,default:Oe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Oe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Oe("popperHideTriggers")},container:{type:[String,Object,iu,Boolean],default:Oe("container")},boundary:{type:[String,iu],default:Oe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Oe("strategy")},autoHide:{type:[Boolean,Function],default:Oe("autoHide")},handleResize:{type:Boolean,default:Oe("handleResize")},instantMove:{type:Boolean,default:Oe("instantMove")},eagerMount:{type:Boolean,default:Oe("eagerMount")},popperClass:{type:[String,Array,Object],default:Oe("popperClass")},computeTransformOrigin:{type:Boolean,default:Oe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Oe("autoMinSize")},autoSize:{type:[Boolean,String],default:Oe("autoSize")},autoMaxSize:{type:Boolean,default:Oe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Oe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Oe("preventOverflow")},overflowPadding:{type:[Number,String],default:Oe("overflowPadding")},arrowPadding:{type:[Number,String],default:Oe("arrowPadding")},arrowOverflow:{type:Boolean,default:Oe("arrowOverflow")},flip:{type:Boolean,default:Oe("flip")},shift:{type:Boolean,default:Oe("shift")},shiftCrossAxis:{type:Boolean,default:Oe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Oe("noAutoFocus")},disposeTimeout:{type:Number,default:Oe("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Gs])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize,this.autoMaxSize},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:r=!1}={}){var o,a;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(r||!this.disabled)&&(((a=this.parentPopper)==null?void 0:a.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var r;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(E0({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(k0({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(C0({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push($0({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(zx({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:a,middlewareData:l})=>{let i;const{centerOffset:s}=l.arrow;return o.startsWith("top")||o.startsWith("bottom")?i=Math.abs(s)>a.reference.width/2:i=Math.abs(s)>a.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:a,placement:l,middlewareData:i})=>{var s;if((s=i.autoSize)!=null&&s.skip)return{};let c,u;return l.startsWith("top")||l.startsWith("bottom")?c=a.reference.width:u=a.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(jx({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:o,availableHeight:a})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=a!=null?`${a}px`:null}})));const r=await LF(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:r.x,y:r.y,placement:r.placement,strategy:r.strategy,arrow:{...r.middlewareData.arrow,...r.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Dr&&this.instantMove&&Dr.instantMove&&Dr!==this.parentPopper){Dr.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Dr=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await qs(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...mi(this.$_referenceNode),...mi(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),r=this.$_popperNode.querySelector(".v-popper__wrapper"),o=r.parentNode.getBoundingClientRect(),a=t.x+t.width/2-(o.left+r.offsetLeft),l=t.y+t.height/2-(o.top+r.offsetTop);this.result.transformOrigin=`${a}px ${l}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let r=0;r<yn.length;r++)t=yn[r],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}yn.push(this),document.body.classList.add("v-popper--some-open");for(const t of Ip(this.theme))zp(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await qs(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Rp(yn,this),yn.length===0&&document.body.classList.remove("v-popper--some-open");for(const r of Ip(this.theme)){const o=zp(r);Rp(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${r}`)}Dr===this&&(Dr=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await qs(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=r=>{this.isShown&&!this.$_hideInProgress||(r.usedByTooltip=!0,!this.$_preventShow&&this.show({event:r}))};this.$_registerTriggerListeners(this.$_targetNodes,Vp,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Vp,this.popperTriggers,this.popperShowTriggers,e);const t=r=>{r.usedByTooltip||this.hide({event:r})};this.$_registerTriggerListeners(this.$_targetNodes,Op,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Op,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,r){this.$_events.push({targetNodes:e,eventType:t,handler:r}),e.forEach(o=>o.addEventListener(t,r,Ao?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,r,o,a){let l=r;o!=null&&(l=typeof o=="function"?o(l):o),l.forEach(i=>{const s=t[i];s&&this.$_registerEventListeners(e,s,a)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(r=>{const{targetNodes:o,eventType:a,handler:l}=r;!e||e===a?o.forEach(i=>i.removeEventListener(a,l)):t.push(r)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const r of this.$_targetNodes){const o=r.getAttribute(e);o&&(r.removeAttribute(e),r.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const r in e){const o=e[r];o==null?t.removeAttribute(r):t.setAttribute(r,o)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(ga>=e.left&&ga<=e.right&&va>=e.top&&va<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),r=ga-fr,o=va-mr,a=t.left+t.width/2-fr+(t.top+t.height/2)-mr+t.width+t.height,l=fr+r*a,i=mr+o*a;return _l(fr,mr,l,i,t.left,t.top,t.left,t.bottom)||_l(fr,mr,l,i,t.left,t.top,t.right,t.top)||_l(fr,mr,l,i,t.right,t.top,t.right,t.bottom)||_l(fr,mr,l,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(cy){const e=Ao?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Up(t,!0),e),document.addEventListener("touchend",t=>Hp(t,!0),e)}else window.addEventListener("mousedown",e=>Up(e,!1),!0),window.addEventListener("click",e=>Hp(e,!1),!0);window.addEventListener("resize",VF)}function Up(e,t){if(wn.autoHideOnMousedown)fy(e,t);else for(let r=0;r<yn.length;r++){const o=yn[r];try{o.mouseDownContains=o.popperNode().contains(e.target)}catch{}}}function Hp(e,t){wn.autoHideOnMousedown||fy(e,t)}function fy(e,t){const r={};for(let o=yn.length-1;o>=0;o--){const a=yn[o];try{const l=a.containsGlobalTarget=a.mouseDownContains||a.popperNode().contains(e.target);a.pendingHide=!1,requestAnimationFrame(()=>{if(a.pendingHide=!1,!r[a.randomId]&&Wp(a,l,e)){if(a.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&l){let s=a.parentPopper;for(;s;)r[s.randomId]=!0,s=s.parentPopper;return}let i=a.parentPopper;for(;i&&Wp(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Wp(e,t,r){return r.closeAllPopover||r.closePopover&&t||IF(e,r)&&!t}function IF(e,t){if(typeof e.autoHide=="function"){const r=e.autoHide(t);return e.lastAutoHide=r,r}return e.autoHide}function VF(){for(let e=0;e<yn.length;e++)yn[e].$_computePosition()}var fr=0,mr=0,ga=0,va=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{fr=ga,mr=va,ga=e.clientX,va=e.clientY},Ao?{passive:!0}:void 0);function _l(e,t,r,o,a,l,i,s){const c=((i-a)*(t-l)-(s-l)*(e-a))/((s-l)*(r-e)-(i-a)*(o-t)),u=((r-e)*(t-l)-(o-t)*(e-a))/((s-l)*(r-e)-(i-a)*(o-t));return c>=0&&c<=1&&u>=0&&u<=1}var OF={extends:dy()},Xi=(e,t)=>{const r=e.__vccOpts||e;for(const[o,a]of t)r[o]=a;return r};function RF(e,t,r,o,a,l){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{ref:"reference",class:(0,n.normalizeClass)(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[(0,n.renderSlot)(e.$slots,"default",(0,n.normalizeProps)((0,n.guardReactiveProps)(e.slotData)))],2)}var FF=Xi(OF,[["render",RF]]);function zF(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}var Rl;function su(){su.init||(su.init=!0,Rl=zF()!==-1)}var Ki={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){su(),(0,n.nextTick)(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Rl&&this.$el.appendChild(e),e.data="about:blank",Rl||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Rl&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},UF=(0,n.withScopeId)("data-v-b329ee4c");(0,n.pushScopeId)("data-v-b329ee4c");var HF={class:"resize-observer",tabindex:"-1"};(0,n.popScopeId)();Ki.render=UF((e,t,r,o,a,l)=>((0,n.openBlock)(),(0,n.createBlock)("div",HF)));Ki.__scopeId="data-v-b329ee4c";Ki.__file="src/components/ResizeObserver.vue";var my=(e="theme")=>({computed:{themeClass(){return PF(this[e])}}}),WF=(0,n.defineComponent)({name:"VPopperContent",components:{ResizeObserver:Ki},mixins:[my()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),jF=["id","aria-hidden","tabindex","data-popper-placement"],qF={ref:"inner",class:"v-popper__inner"},GF=[(0,n.createElementVNode)("div",{class:"v-popper__arrow-outer"},null,-1),(0,n.createElementVNode)("div",{class:"v-popper__arrow-inner"},null,-1)];function YF(e,t,r,o,a,l){const i=(0,n.resolveComponent)("ResizeObserver");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{id:e.popperId,ref:"popover",class:(0,n.normalizeClass)(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:(0,n.normalizeStyle)(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=(0,n.withKeys)(s=>e.autoHide&&e.$emit("hide"),["esc"]))},[(0,n.createElementVNode)("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=s=>e.autoHide&&e.$emit("hide"))}),(0,n.createElementVNode)("div",{class:"v-popper__wrapper",style:(0,n.normalizeStyle)(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[(0,n.createElementVNode)("div",qF,[e.mounted?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[(0,n.createElementVNode)("div",null,[(0,n.renderSlot)(e.$slots,"default")]),e.handleResize?((0,n.openBlock)(),(0,n.createBlock)(i,{key:0,onNotify:t[1]||(t[1]=s=>e.$emit("resize",s))})):(0,n.createCommentVNode)("",!0)],64)):(0,n.createCommentVNode)("",!0)],512),(0,n.createElementVNode)("div",{ref:"arrow",class:"v-popper__arrow-container",style:(0,n.normalizeStyle)(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},GF,4)],4)],46,jF)}var py=Xi(WF,[["render",YF]]),hy={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},cu=function(){};typeof window<"u"&&(cu=window.Element);var XF=(0,n.defineComponent)({name:"VPopperWrapper",components:{Popper:FF,PopperContent:py},mixins:[hy,my("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,cu,Boolean],default:void 0},boundary:{type:[String,cu],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function KF(e,t,r,o,a,l){const i=(0,n.resolveComponent)("PopperContent"),s=(0,n.resolveComponent)("Popper");return(0,n.openBlock)(),(0,n.createBlock)(s,(0,n.mergeProps)({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=c=>e.$emit("update:shown",c)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:(0,n.withCtx)(({popperId:c,isShown:u,shouldMountContent:d,skipTransition:f,autoHide:m,show:p,hide:h,handleResize:y,onResize:b,classes:g,result:v})=>[(0,n.renderSlot)(e.$slots,"default",{shown:u,show:p,hide:h}),(0,n.createVNode)(i,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:u,mounted:d,"skip-transition":f,"auto-hide":m,"handle-resize":y,classes:g,result:v,onHide:h,onResize:b},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,"popper",{shown:u,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}var Cd=Xi(XF,[["render",KF]]),JF={...Cd,name:"VDropdown",vPopperTheme:"dropdown"},ZF={...Cd,name:"VMenu",vPopperTheme:"menu"},QF={...Cd,name:"VTooltip",vPopperTheme:"tooltip"},ez=(0,n.defineComponent)({name:"VTooltipDirective",components:{Popper:dy(),PopperContent:py},mixins:[hy],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Va(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Va(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,r=this.content(this);r.then?r.then(o=>this.onResult(t,o)):this.onResult(t,r)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),tz=["innerHTML"],nz=["textContent"];function rz(e,t,r,o,a,l){const i=(0,n.resolveComponent)("PopperContent"),s=(0,n.resolveComponent)("Popper");return(0,n.openBlock)(),(0,n.createBlock)(s,(0,n.mergeProps)({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:(0,n.withCtx)(({popperId:c,isShown:u,shouldMountContent:d,skipTransition:f,autoHide:m,hide:p,handleResize:h,onResize:y,classes:b,result:g})=>[(0,n.createVNode)(i,{ref:"popperContent",class:(0,n.normalizeClass)({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:u,mounted:d,"skip-transition":f,"auto-hide":m,"handle-resize":h,classes:b,result:g,onHide:p,onResize:y},{default:(0,n.withCtx)(()=>[e.html?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,innerHTML:e.finalContent},null,8,tz)):((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,textContent:(0,n.toDisplayString)(e.finalContent)},null,8,nz))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}var oz=Xi(ez,[["render",rz]]),gy="v-popper--has-tooltip";function az(e,t){let r=e.placement;if(!r&&t)for(const o of uy)t[o]&&(r=o);return r||(r=Va(e.theme||"tooltip","placement")),r}function vy(e,t,r){let o;const a=typeof t;return a==="string"?o={content:t}:t&&a==="object"?o=t:o={content:!1},o.placement=az(o,r),o.targetNodes=()=>[e],o.referenceNode=()=>e,o}var Ys,Oa,lz=0;function iz(){if(Ys)return;Oa=(0,n.ref)([]),Ys=(0,n.createApp)({name:"VTooltipDirectiveApp",setup(){return{directives:Oa}},render(){return this.directives.map(t=>(0,n.h)(oz,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ys.mount(e)}function sz(e,t,r){iz();const o=(0,n.ref)(vy(e,t,r)),a=(0,n.ref)(!1),l={id:lz++,options:o,shown:a};return Oa.value.push(l),e.classList&&e.classList.add(gy),e.$_popper={options:o,item:l,show(){a.value=!0},hide(){a.value=!1}}}function yy(e){if(e.$_popper){const t=Oa.value.indexOf(e.$_popper.item);t!==-1&&Oa.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(gy)}function jp(e,{value:t,modifiers:r}){const o=vy(e,t,r);if(!o.content||Va(o.theme||"tooltip","disabled"))yy(e);else{let a;e.$_popper?(a=e.$_popper,a.options.value=o):a=sz(e,t,r),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?a.show():a.hide())}}var cz={beforeMount:jp,updated:jp,beforeUnmount(e){yy(e)}};function qp(e){e.addEventListener("mousedown",pi),e.addEventListener("click",pi),e.addEventListener("touchstart",by,Ao?{passive:!0}:!1)}function Gp(e){e.removeEventListener("mousedown",pi),e.removeEventListener("click",pi),e.removeEventListener("touchstart",by),e.removeEventListener("touchend",_y),e.removeEventListener("touchcancel",wy)}function pi(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function by(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0,t.$_vclosepopover_touchPoint=e.changedTouches[0],t.addEventListener("touchend",_y),t.addEventListener("touchcancel",wy)}}function _y(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const r=e.changedTouches[0],o=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(r.screenY-o.screenY)<20&&Math.abs(r.screenX-o.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function wy(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var uz={beforeMount(e,{value:t,modifiers:r}){e.$_closePopoverModifiers=r,(typeof t>"u"||t)&&qp(e)},updated(e,{value:t,oldValue:r,modifiers:o}){e.$_closePopoverModifiers=o,t!==r&&(typeof t>"u"||t?qp(e):Gp(e))},beforeUnmount(e){Gp(e)}};function dz(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,sy(wn,t),e.directive("tooltip",cz),e.directive("close-popper",uz),e.component("VTooltip",QF),e.component("VDropdown",JF),e.component("VMenu",ZF))}var fz={version:"5.2.2",install:dz,options:wn},mz=["src"],pz=(0,n.defineComponent)({__name:"LightboxImage",props:{src:{}},setup(e){const t=e,{imageSrc:r}=fd(()=>t.src);return(o,a)=>((0,n.openBlock)(),(0,n.createElementBlock)("img",{draggable:!1,src:(0,n.unref)(r),alt:"Preview",class:"lightbox-image"},null,8,mz))}}),hz=pz,gz={key:0,class:"center"},vz={key:3},yz={class:"bgl-lightbox-item"},bz={key:2,class:"lightbox-pdf"},_z=["src","title"],wz={key:3,class:"lightbox-file"},kz={class:"file-info txt-white flex m_block align-items-start gap-025"},$z={class:"txt-start"},Ez={class:"mx-0 light"},Cz={class:"semi word-break-all"},Sz={class:"mx-0"},xz={class:"semi"},Tz=(0,n.defineComponent)({__name:"Lightbox",setup(e,{expose:t}){const r=(0,n.ref)(!1),o=(0,n.ref)([]),a=(0,n.ref)(0),l=(0,n.computed)(()=>o.value[a.value]),i=(0,n.ref)(1),s=(0,n.computed)(()=>i.value===1),c=(0,n.computed)(()=>({allowTouchMove:i.value===1,touchRatio:i.value===1?1:0,simulateTouch:i.value===1}));function u(m,p){r.value=!0,o.value=p||[m],a.value=o.value.findIndex(h=>{const y=m.src!==void 0&&m.src!==null&&m.src!==""&&h.src===m.src,b=m.pathKey!==void 0&&m.pathKey!==null&&m.pathKey!==""&&h.pathKey===m.pathKey;return y||b}),a.value===-1&&(a.value=0),i.value=1}function d(){r.value=!1}Hi(d,r);function f(m){a.value=m,i.value=1}return(0,n.watch)(()=>r.value,m=>{m?document.body.style.overflow="hidden":document.body.style.overflow=""}),(0,n.watch)(()=>a.value,()=>{i.value=1}),t({open:u,close:d}),(m,p)=>((0,n.openBlock)(),(0,n.createBlock)(n.Transition,{name:"fade"},{default:(0,n.withCtx)(()=>[r.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"bgl-lightbox-overlay",onKeydown:(0,n.withKeys)(d,["esc"])},[(0,n.createElementVNode)("div",{class:"flex start w-100 space-between p-025 z-9",onClick:d},[(0,n.createVNode)((0,n.unref)(oe),{flat:"",class:"color-white",icon:"close",onClick:d}),l.value?.enableZoom&&l.value?.type==="image"?((0,n.openBlock)(),(0,n.createElementBlock)("div",gz,[(0,n.createVNode)((0,n.unref)(oe),{flat:"",class:"color-white",icon:"remove",disabled:i.value===1,onClick:p[0]||(p[0]=h=>i.value--)},null,8,["disabled"]),(0,n.createVNode)((0,n.unref)(oe),{flat:"",class:"color-white",icon:"zoom_in",disabled:i.value===1,onClick:p[1]||(p[1]=h=>i.value=1)},null,8,["disabled"]),(0,n.createVNode)((0,n.unref)(oe),{flat:"",class:"color-white",icon:"add",disabled:i.value===3,onClick:p[2]||(p[2]=h=>i.value++)},null,8,["disabled"])])):(0,n.createCommentVNode)("",!0),l.value?.openFile&&l.value?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:1,class:"color-white",round:"",thin:"",flat:"",iconEnd:"arrow_outward",value:"$t:lightbox.openFile",href:l.value?.src,target:"_blank"},null,8,["href"])):(0,n.createCommentVNode)("",!0),l.value?.download&&l.value?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:2,class:"color-white",round:"",thin:"",flat:"",icon:"download",value:"Download File",onClick:p[3]||(p[3]=h=>(0,n.unref)(dd)(l.value?.src))})):(0,n.createCommentVNode)("",!0),!l.value?.openFile&&!l.value?.download?((0,n.openBlock)(),(0,n.createElementBlock)("div",vz)):(0,n.createCommentVNode)("",!0)]),o.value&&o.value.length>0?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(vv),{key:0,index:a.value,"onUpdate:index":p[6]||(p[6]=h=>a.value=h),items:o.value,"initial-slide":a.value,class:(0,n.normalizeClass)(["bgl-lightbox-swiper",{zoomed:i.value>1}]),navigation:o.value.length>1,"grab-cursor":s.value,keyboard:!0,loop:!1,speed:400,"slides-per-view":1,"space-between":0,effect:"slide","advanced-options":c.value,onClick:p[7]||(p[7]=(0,n.withModifiers)(()=>{},["stop"]))},{default:(0,n.withCtx)(({item:h})=>[(0,n.createElementVNode)("div",yz,[h.type==="image"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(yv),{key:0,zoom:i.value,"onUpdate:zoom":p[4]||(p[4]=y=>i.value=y),disabled:!h?.enableZoom,"mouse-wheel-to-zoom":!1,"double-click-to-zoom":!0,"max-scale":5,"min-scale":1,"aspect-ratio":0,"limit-translation":!0,onClick:p[5]||(p[5]=(0,n.withModifiers)(()=>{},["stop"]))},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(hz,{src:h?.src},null,8,["src"])]),_:2},1032,["zoom","disabled"])):h?.type==="video"&&h?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Nu),{key:1,src:h?.src,autoplay:"",controls:"",class:"lightbox-video"},null,8,["src"])):h?.type==="pdf"&&h?.src?((0,n.openBlock)(),(0,n.createElementBlock)("div",bz,[(0,n.createElementVNode)("embed",{src:(0,n.unref)(ud)(h?.src),type:"application/pdf",title:h?.name},null,8,_z)])):((0,n.openBlock)(),(0,n.createElementBlock)("div",wz,[(0,n.createElementVNode)("div",kz,[(0,n.createVNode)((0,n.unref)(_e),{class:"m-0 m_none",icon:"draft",size:10,weight:"12"}),(0,n.createVNode)((0,n.unref)(_e),{class:"m-0 none m_block m_-mb-1",icon:"draft",size:4,weight:"2"}),(0,n.createElementVNode)("div",$z,[(0,n.createElementVNode)("p",Ez,[p[9]||(p[9]=(0,n.createTextVNode)(" File: ",-1)),(0,n.createElementVNode)("span",Cz,(0,n.toDisplayString)(h?.name),1)]),(0,n.createElementVNode)("p",Sz,[p[10]||(p[10]=(0,n.createTextVNode)(" Type: ",-1)),(0,n.createElementVNode)("span",xz,(0,n.toDisplayString)(h?.type),1)]),(0,n.createVNode)((0,n.unref)(oe),{href:h?.src,target:"_blank",round:"",thin:"",class:"mt-1",value:"Open file"},null,8,["href"])])])]))])]),"prev-button":(0,n.withCtx)(({prev:h})=>[(0,n.createVNode)((0,n.unref)(oe),{icon:"arrow_back",color:"black",onClick:h},null,8,["onClick"])]),"next-button":(0,n.withCtx)(({next:h})=>[(0,n.createVNode)((0,n.unref)(oe),{icon:"arrow_forward",color:"black",onClick:h},null,8,["onClick"])]),_:1},8,["index","items","initial-slide","class","navigation","grab-cursor","advanced-options"])):(0,n.createCommentVNode)("",!0),o.value&&o.value.length>1?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,class:"lightbox-thumbnails",onClick:p[8]||(p[8]=(0,n.withModifiers)(()=>{},["stop"]))},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.value,(h,y)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:y},[h.type==="image"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)($a),{key:0,class:(0,n.normalizeClass)(["thumbnail",{active:a.value===y}]),src:h.src,alt:"",onClick:(0,n.withModifiers)(b=>f(y),["stop"])},null,8,["src","class","onClick"])):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:1,class:(0,n.normalizeClass)(["thumbnail thumbnail-icon",{active:a.value===y}]),icon:"description",onClick:(0,n.withModifiers)(b=>f(y),["stop"])},null,8,["class","onClick"]))],64))),128))])):(0,n.createCommentVNode)("",!0)],32)):(0,n.createCommentVNode)("",!0)]),_:1}))}}),Nz=Tz,oa={},ao=e=>{},Bz={mounted(e,t){Yp(uu(t,e)),ao=r=>{Xp(r,e,t)},e.addEventListener("click",ao)},updated(e,t){Yp(uu(t,e)),e.removeEventListener("click",ao),ao=r=>{Xp(r,e,t)},e.addEventListener("click",ao)},unmounted(e){e.removeEventListener("click",ao)},getSSRProps(){return{}}};function Yp(e){e.group&&(oa[e.group]||(oa[e.group]=[]),oa[e.group].findIndex(t=>t.src===e.src)===-1&&oa[e.group].push(e))}function Xp(e,t,r){e.stopPropagation();const o=uu(r,t),a=Pz();if(!a||!a.open)return;const l=a.open;l(o,o&&o.group?oa[o.group]:void 0)}function uu(e,t){let{group:r,src:o,type:a,name:l,thumbnail:i,enableZoom:s,openFile:c,download:u,pathKey:d}=e.value||{};return o=gn(o||d)||e.value||t.getAttribute("src")||"",a=a||Lz(o),l=l||Mz(o)||t.getAttribute("alt")||"",{src:o,type:a,name:l,thumbnail:i,group:r,enableZoom:s,openFile:c,download:u}}var Dz=/youtube\.com|youtu\.be/,Az=/vimeo\.com/;function Mz(e){return!e||typeof e!="string"?"":(e.split("/").pop()||"").replace(/\.[^/.]+$/,"")}function Lz(e){if(typeof e!="string"||!e)return"unknown";if(e.startsWith("blob:")||/^data:image\//i.test(e))return"image";if(/^data:video\//i.test(e))return"video";const t=(e.split(".").pop()||"").toLowerCase(),r=e.split("?")[0].split(".").pop()?.toLowerCase()||"";return Xl.test(t)||Xl.test(r)?"image":z0.test(t)||Dz.test(e)||Az.test(e)?"video":["pdf"].includes(t)?"pdf":t??"unknown"}var Xs;function Pz(){if(!(typeof document>"u")){if(!Xs){const e=document.createElement("div");document.body.prepend(e),Xs=(0,n.createApp)(Nz).mount(e)}return Xs}}var Iz={install(e){e.directive("lightbox",Bz)}},Vz=Iz,Oz={beforeMount(e,t){e.clickOutsideEvent=r=>{e===r.target||e.contains(r.target)||t.value(r)},document.addEventListener("click",e.clickOutsideEvent)},unmounted(e){document.removeEventListener("click",e.clickOutsideEvent)}},ky=fh({EventBus:()=>Qi,POSITION:()=>Fa,TYPE:()=>zt,createToastInterface:()=>za,default:()=>Ry,globalEventBus:()=>Sd,provideToast:()=>CU,toastInjectionKey:()=>es,useToast:()=>Oy},1),Rz=Object.defineProperty,Kp=Object.getOwnPropertySymbols,Fz=Object.prototype.hasOwnProperty,zz=Object.prototype.propertyIsEnumerable,Jp=(e,t,r)=>t in e?Rz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$y=(e,t)=>{for(var r in t||(t={}))Fz.call(t,r)&&Jp(e,r,t[r]);if(Kp)for(var r of Kp(t))zz.call(t,r)&&Jp(e,r,t[r]);return e},Ji=e=>typeof e=="function",Zi=e=>typeof e=="string",Ey=e=>Zi(e)&&e.trim().length>0,Uz=e=>typeof e=="number",Vr=e=>typeof e>"u",Ra=e=>typeof e=="object"&&e!==null,Hz=e=>zn(e,"tag")&&Ey(e.tag),Cy=e=>window.TouchEvent&&e instanceof TouchEvent,Sy=e=>zn(e,"component")&&xy(e.component),Wz=e=>Ji(e)||Ra(e),xy=e=>!Vr(e)&&(Zi(e)||Wz(e)||Sy(e)),Zp=e=>Ra(e)&&["height","width","right","left","top","bottom"].every(t=>Uz(e[t])),zn=(e,t)=>(Ra(e)||Ji(e))&&t in e,jz=(e=>()=>e++)(0);function Ks(e){return Cy(e)?e.targetTouches[0].clientX:e.clientX}function Qp(e){return Cy(e)?e.targetTouches[0].clientY:e.clientY}var qz=e=>{Vr(e.remove)?e.parentNode&&e.parentNode.removeChild(e):e.remove()},nl=e=>Sy(e)?nl(e.component):Hz(e)?(0,n.defineComponent)({render(){return e}}):typeof e=="string"?e:(0,n.toRaw)((0,n.unref)(e)),Gz=e=>{if(typeof e=="string")return e;const t=zn(e,"props")&&Ra(e.props)?e.props:{},r=zn(e,"listeners")&&Ra(e.listeners)?e.listeners:{};return{component:nl(e),props:t,listeners:r}},Yz=()=>typeof window<"u",Qi=class{constructor(){this.allHandlers={}}getHandlers(e){return this.allHandlers[e]||[]}on(e,t){const r=this.getHandlers(e);r.push(t),this.allHandlers[e]=r}off(e,t){const r=this.getHandlers(e);r.splice(r.indexOf(t)>>>0,1)}emit(e,t){this.getHandlers(e).forEach(r=>r(t))}},Xz=e=>["on","off","emit"].every(t=>zn(e,t)&&Ji(e[t])),zt;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info",e.DEFAULT="default"})(zt||(zt={}));var Fa;(function(e){e.TOP_LEFT="top-left",e.TOP_CENTER="top-center",e.TOP_RIGHT="top-right",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_CENTER="bottom-center",e.BOTTOM_RIGHT="bottom-right"})(Fa||(Fa={}));var Zt;(function(e){e.ADD="add",e.DISMISS="dismiss",e.UPDATE="update",e.CLEAR="clear",e.UPDATE_DEFAULTS="update_defaults"})(Zt||(Zt={}));var Qn="Vue-Toastification",pn={type:{type:String,default:zt.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},eh={type:pn.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},wl={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:pn.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},Js={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},th={transition:{type:[Object,String],default:`${Qn}__bounce`}},rr={CORE_TOAST:{position:{type:String,default:Fa.TOP_RIGHT},draggable:pn.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:pn.trueBoolean,pauseOnHover:pn.trueBoolean,closeOnClick:pn.trueBoolean,timeout:Js.timeout,hideProgressBar:Js.hideProgressBar,toastClassName:pn.classNames,bodyClassName:pn.classNames,icon:eh.customIcon,closeButton:wl.component,closeButtonClassName:wl.classNames,showCloseButtonOnHover:wl.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!1,default:()=>new Qi}},TOAST:{id:{type:[String,Number],required:!0,default:0},type:pn.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0}},CONTAINER:{container:{type:[Object,Function],default:()=>document.body},newestOnTop:pn.trueBoolean,maxToasts:{type:Number,default:20},transition:th.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:e=>e},filterToasts:{type:Function,default:e=>e},containerClassName:pn.classNames,onMounted:Function,shareAppContext:[Boolean,Object]},PROGRESS_BAR:Js,ICON:eh,TRANSITION:th,CLOSE_BUTTON:wl},Ty=(0,n.defineComponent)({name:"VtProgressBar",props:rr.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${Qn}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});function Kz(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{style:(0,n.normalizeStyle)(e.style),class:(0,n.normalizeClass)(e.cpClass)},null,6)}Ty.render=Kz;var Jz=Ty,Ny=(0,n.defineComponent)({name:"VtCloseButton",props:rr.CLOSE_BUTTON,computed:{buttonComponent(){return this.component!==!1?nl(this.component):"button"},classes(){const e=[`${Qn}__close-button`];return this.showOnHover&&e.push("show-on-hover"),e.concat(this.classNames)}}}),Zz=(0,n.createTextVNode)(" × ");function Qz(e,t){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.buttonComponent),(0,n.mergeProps)({"aria-label":e.ariaLabel,class:e.classes},e.$attrs),{default:(0,n.withCtx)(()=>[Zz]),_:1},16,["aria-label","class"])}Ny.render=Qz;var eU=Ny,By={},tU={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},nU=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1)];function rU(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",tU,nU)}By.render=rU;var oU=By,Dy={},aU={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},lU=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1)];function iU(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",aU,lU)}Dy.render=iU;var nh=Dy,Ay={},sU={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},cU=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1)];function uU(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",sU,cU)}Ay.render=uU;var dU=Ay,My={},fU={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},mU=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1)];function pU(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",fU,mU)}My.render=pU;var hU=My,Ly=(0,n.defineComponent)({name:"VtIcon",props:rr.ICON,computed:{customIconChildren(){return zn(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return Zi(this.customIcon)?this.trimValue(this.customIcon):zn(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return zn(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:xy(this.customIcon)?nl(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[zt.DEFAULT]:nh,[zt.INFO]:nh,[zt.SUCCESS]:oU,[zt.ERROR]:hU,[zt.WARNING]:dU}[this.type]},iconClasses(){const e=[`${Qn}__icon`];return this.hasCustomIcon?e.concat(this.customIconClass):e}},methods:{trimValue(e,t=""){return Ey(e)?e.trim():t}}});function gU(e,t){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.component),{class:(0,n.normalizeClass)(e.iconClasses)},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.customIconChildren),1)]),_:1},8,["class"])}Ly.render=gU;var Py=(0,n.defineComponent)({name:"VtToast",components:{ProgressBar:Jz,CloseButton:eU,Icon:Ly},inheritAttrs:!1,props:Object.assign({},rr.CORE_TOAST,rr.TOAST),data(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes(){const e=[`${Qn}__toast`,`${Qn}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&e.push("disable-transition"),this.rtl&&e.push(`${Qn}__toast--rtl`),e},bodyClasses(){return[`${Qn}__toast-${Zi(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return Zp(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{hasProp:zn,getVueComponentFromObj:nl,closeToast(){this.eventBus.emit(Zt.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(!this.beingDragged||this.dragStart===this.dragPos.x)&&this.closeToast()},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const e=this.$el;e.addEventListener("touchstart",this.onDragStart,{passive:!0}),e.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const e=this.$el;e.removeEventListener("touchstart",this.onDragStart),e.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(e){this.beingDragged=!0,this.dragPos={x:Ks(e),y:Qp(e)},this.dragStart=Ks(e),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(e){this.beingDragged&&(e.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:Ks(e),y:Qp(e)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,Zp(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}}),vU=["role"];function yU(e,t){const r=(0,n.resolveComponent)("Icon"),o=(0,n.resolveComponent)("CloseButton"),a=(0,n.resolveComponent)("ProgressBar");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(e.classes),style:(0,n.normalizeStyle)(e.draggableStyle),onClick:t[0]||(t[0]=(...l)=>e.clickHandler&&e.clickHandler(...l)),onMouseenter:t[1]||(t[1]=(...l)=>e.hoverPause&&e.hoverPause(...l)),onMouseleave:t[2]||(t[2]=(...l)=>e.hoverPlay&&e.hoverPlay(...l))},[e.icon?((0,n.openBlock)(),(0,n.createBlock)(r,{key:0,"custom-icon":e.icon,type:e.type},null,8,["custom-icon","type"])):(0,n.createCommentVNode)("v-if",!0),(0,n.createElementVNode)("div",{role:e.accessibility.toastRole||"alert",class:(0,n.normalizeClass)(e.bodyClasses)},[typeof e.content=="string"?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[(0,n.createTextVNode)((0,n.toDisplayString)(e.content),1)],2112)):((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.getVueComponentFromObj(e.content)),(0,n.mergeProps)({key:1,"toast-id":e.id},e.hasProp(e.content,"props")?e.content.props:{},(0,n.toHandlers)(e.hasProp(e.content,"listeners")?e.content.listeners:{}),{onCloseToast:e.closeToast}),null,16,["toast-id","onCloseToast"]))],10,vU),e.closeButton?((0,n.openBlock)(),(0,n.createBlock)(o,{key:1,component:e.closeButton,"class-names":e.closeButtonClassName,"show-on-hover":e.showCloseButtonOnHover,"aria-label":e.accessibility.closeButtonLabel,onClick:(0,n.withModifiers)(e.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):(0,n.createCommentVNode)("v-if",!0),e.timeout?((0,n.openBlock)(),(0,n.createBlock)(a,{key:2,"is-running":e.isRunning,"hide-progress-bar":e.hideProgressBar,timeout:e.timeout,onCloseToast:e.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):(0,n.createCommentVNode)("v-if",!0)],38)}Py.render=yU;var bU=Py,Iy=(0,n.defineComponent)({name:"VtTransition",props:rr.TRANSITION,emits:["leave"],methods:{hasProp:zn,leave(e){e instanceof HTMLElement&&(e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px",e.style.width=getComputedStyle(e).width,e.style.position="absolute")}}});function _U(e,t){return(0,n.openBlock)(),(0,n.createBlock)(n.TransitionGroup,{tag:"div","enter-active-class":e.transition.enter?e.transition.enter:`${e.transition}-enter-active`,"move-class":e.transition.move?e.transition.move:`${e.transition}-move`,"leave-active-class":e.transition.leave?e.transition.leave:`${e.transition}-leave-active`,onLeave:e.leave},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,"default")]),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])}Iy.render=_U;var Vy=(0,n.defineComponent)({name:"VueToastification",devtools:{hide:!0},components:{Toast:bU,VtTransition:Iy},props:Object.assign({},rr.CORE_TOAST,rr.CONTAINER,rr.TRANSITION),data(){return{count:0,positions:Object.values(Fa),toasts:{},defaults:{}}},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const e=this.eventBus;e.on(Zt.ADD,this.addToast),e.on(Zt.CLEAR,this.clearToasts),e.on(Zt.DISMISS,this.dismissToast),e.on(Zt.UPDATE,this.updateToast),e.on(Zt.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(e){Ji(e)&&(e=await e()),qz(this.$el),e.appendChild(this.$el)},setToast(e){Vr(e.id)||(this.toasts[e.id]=e)},addToast(e){e.content=Gz(e.content);const t=Object.assign({},this.defaults,e.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[e.type],e),r=this.defaults.filterBeforeCreate(t,this.toastArray);r&&this.setToast(r)},dismissToast(e){const t=this.toasts[e];!Vr(t)&&!Vr(t.onClose)&&t.onClose(),delete this.toasts[e]},clearToasts(){Object.keys(this.toasts).forEach(e=>{this.dismissToast(e)})},getPositionToasts(e){const t=this.filteredToasts.filter(r=>r.position===e).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?t.reverse():t},updateDefaults(e){Vr(e.container)||this.setup(e.container),this.defaults=Object.assign({},this.defaults,e)},updateToast({id:e,options:t,create:r}){this.toasts[e]?(t.timeout&&t.timeout===this.toasts[e].timeout&&t.timeout++,this.setToast(Object.assign({},this.toasts[e],t))):r&&this.addToast(Object.assign({},{id:e},t))},getClasses(e){return[`${Qn}__container`,e].concat(this.defaults.containerClassName)}}});function wU(e,t){const r=(0,n.resolveComponent)("Toast"),o=(0,n.resolveComponent)("VtTransition");return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.positions,a=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:a},[(0,n.createVNode)(o,{transition:e.defaults.transition,class:(0,n.normalizeClass)(e.getClasses(a))},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.getPositionToasts(a),l=>((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({key:l.id},l),null,16))),128))]),_:2},1032,["transition","class"])]))),128))])}Vy.render=wU;var kU=Vy,rh=(e={},t=!0)=>{const r=e.eventBus=e.eventBus||new Qi;t&&(0,n.nextTick)(()=>{const l=(0,n.createApp)(kU,$y({},e)),i=l.mount(document.createElement("div")),s=e.onMounted;if(Vr(s)||s(i,l),e.shareAppContext){const c=e.shareAppContext;c===!0||(l._context.components=c._context.components,l._context.directives=c._context.directives,l._context.mixins=c._context.mixins,l._context.provides=c._context.provides,l.config.globalProperties=c.config.globalProperties)}});const o=(l,i)=>{const s=Object.assign({},{id:jz(),type:zt.DEFAULT},i,{content:l});return r.emit(Zt.ADD,s),s.id};o.clear=()=>r.emit(Zt.CLEAR,void 0),o.updateDefaults=l=>{r.emit(Zt.UPDATE_DEFAULTS,l)},o.dismiss=l=>{r.emit(Zt.DISMISS,l)};function a(l,{content:i,options:s},c=!1){const u=Object.assign({},s,{content:i});r.emit(Zt.UPDATE,{id:l,options:u,create:c})}return o.update=a,o.success=(l,i)=>o(l,Object.assign({},i,{type:zt.SUCCESS})),o.info=(l,i)=>o(l,Object.assign({},i,{type:zt.INFO})),o.error=(l,i)=>o(l,Object.assign({},i,{type:zt.ERROR})),o.warning=(l,i)=>o(l,Object.assign({},i,{type:zt.WARNING})),o},$U=()=>{const e=()=>{};return new Proxy(e,{get(){return e}})};function za(e){return Yz()?Xz(e)?rh({eventBus:e},!1):rh(e,!0):$U()}var es=Symbol("VueToastification"),Sd=new Qi,EU=(e,t)=>{t?.shareAppContext===!0&&(t.shareAppContext=e);const r=za($y({eventBus:Sd},t));e.provide(es,r)},CU=e=>{const t=za(e);(0,n.getCurrentInstance)()&&(0,n.provide)(es,t)},Oy=e=>{if(e)return za(e);const t=(0,n.getCurrentInstance)()?(0,n.inject)(es,void 0):void 0;return t||za(Sd)},Ry=EU,SU={key:0,class:"custom-toast__icon"},xU={class:"custom-toast__content"},TU=(0,n.defineComponent)({name:"BglToast",__name:"Toast",props:{message:{},type:{},info:{type:Boolean},success:{type:Boolean},warning:{type:Boolean},error:{type:Boolean},showIcon:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},closeToast:{}},setup(e){const t=e,r=(0,n.computed)(()=>t.type?t.type:t.error?"error":t.warning?"warning":t.success?"success":"info");return(o,a)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["custom-toast",`custom-toast--${r.value}`])},[e.showIcon?((0,n.openBlock)(),(0,n.createElementBlock)("div",SU,[r.value==="success"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:0,icon:"check_circle"})):(0,n.createCommentVNode)("",!0),r.value==="error"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:1,icon:"dangerous"})):(0,n.createCommentVNode)("",!0),r.value==="warning"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:2,icon:"report"})):(0,n.createCommentVNode)("",!0),r.value==="info"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:3,icon:"info"})):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",xU,(0,n.toDisplayString)(e.message),1),e.showCloseButton?((0,n.openBlock)(),(0,n.createElementBlock)("button",{key:1,class:"custom-toast__close",onClick:a[0]||(a[0]=(...l)=>e.closeToast&&e.closeToast(...l))},[(0,n.createVNode)((0,n.unref)(_e),{icon:"close"})])):(0,n.createCommentVNode)("",!0)],2))}}),Jo=TU,NU=Ry||ky,{POSITION:BU}=ky,lo=Oy;const Fy=Symbol("toast");var hi=null;function DU(){const e=(0,n.inject)(Fy,null);if(!e){if(hi)return hi;throw new Error("Toast API not provided. Make sure ToastPlugin is installed via app.use(ToastPlugin)")}return e}function AU(){if(typeof document>"u")return;let e=document.getElementById("bgl-toast-container");e||(e=document.createElement("div"),e.setAttribute("popover","manual"),e.setAttribute("id","bgl-toast-container"),document.body.appendChild(e));try{e.hidePopover()}catch{}try{e.showPopover()}catch{}return e}const zy={install:(e,t={})=>{const r=AU(),o={position:BU.TOP_RIGHT,timeout:5e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!0,closeButton:!1,icon:!1,rtl:!1,transition:"Vue-Toastification__fade",maxToasts:5,newestOnTop:!0,toastClassName:"custom-toast-wrapper",bodyClassName:"custom-toast-body",...r?{container:r}:{},...t};e.use(NU,o);function a(){const i=typeof document<"u"?document.getElementById("bgl-toast-container"):null;if(i){try{i.hidePopover()}catch{}try{i.showPopover()}catch{}}}const l={success:(i,s)=>(a(),lo()({component:Jo,props:{message:i,type:"success"}},s)),error:(i,s)=>(a(),lo()({component:Jo,props:{message:i,type:"error"}},s)),info:(i,s)=>(a(),lo()({component:Jo,props:{message:i,type:"info"}},s)),warning:(i,s)=>(a(),lo()({component:Jo,props:{message:i,type:"warning"}},s)),show:(i,s)=>(a(),lo()({component:Jo,props:{message:i,type:"info"}},s)),clear:()=>{lo().clear()}};hi||(hi=l),e.provide(Fy,l)}};var ts=class extends Event{oldState;newState;constructor(e,{oldState:t="",newState:r="",...o}={}){super(e,o),this.oldState=String(t||""),this.newState=String(r||"")}},oh=new WeakMap;function Uy(e,t,r){oh.set(e,setTimeout(()=>{oh.has(e)&&e.dispatchEvent(new ts("toggle",{cancelable:!1,oldState:t,newState:r}))},0))}var xd=globalThis.ShadowRoot||function(){},MU=globalThis.HTMLDialogElement||function(){},Fl=new WeakMap,er=new WeakMap,ln=new WeakMap,Mo=new WeakMap;function gi(e){return Mo.get(e)||"hidden"}var vi=new WeakMap;function Ua(e){return[...e].pop()}function LU(e){const t=e.popoverTargetElement;if(!(t instanceof HTMLElement))return;const r=gi(t);e.popoverTargetAction==="show"&&r==="showing"||e.popoverTargetAction==="hide"&&r==="hidden"||(r==="showing"?Po(t,!0,!0):Rr(t,!1)&&(vi.set(t,e),du(t)))}function Rr(e,t){return!(e.popover!=="auto"&&e.popover!=="manual"&&e.popover!=="hint"||!e.isConnected||t&&gi(e)!=="showing"||!t&&gi(e)!=="hidden"||e instanceof MU&&e.hasAttribute("open")||document.fullscreenElement===e)}function ah(e){if(!e)return 0;const t=er.get(document)||new Set,r=ln.get(document)||new Set;return r.has(e)?[...r].indexOf(e)+t.size+1:t.has(e)?[...t].indexOf(e)+1:0}function PU(e){const t=Hy(e),r=IU(e);return ah(t)>ah(r)?t:r}function Ha(e){let t;const r=ln.get(e)||new Set,o=er.get(e)||new Set,a=r.size>0?r:o.size>0?o:null;return a?(t=Ua(a),t.isConnected?t:(a.delete(t),Ha(e))):null}function lh(e){for(const t of e||[])if(!t.isConnected)e.delete(t);else return t;return null}function Lo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.parentNode?Lo(e.parentNode):e}function Hy(e){for(;e;){if(e instanceof HTMLElement&&e.popover==="auto"&&Mo.get(e)==="showing")return e;if(e=e instanceof Element&&e.assignedSlot||e.parentElement||Lo(e),e instanceof xd&&(e=e.host),e instanceof Document)return}}function IU(e){for(;e;){const t=e.popoverTargetElement;if(t instanceof HTMLElement)return t;if(e=e.parentElement||Lo(e),e instanceof xd&&(e=e.host),e instanceof Document)return}}function ih(e,t){const r=new Map;let o=0;for(const i of t||[])r.set(i,o),o+=1;r.set(e,o),o+=1;let a=null;function l(i){if(!i)return;let s=!1,c=null,u=null;for(;!s;){if(c=Hy(i)||null,c===null||!r.has(c))return;(e.popover==="hint"||c.popover==="auto")&&(s=!0),s||(i=c.parentElement)}u=r.get(c),(a===null||r.get(a)<u)&&(a=c)}return l(e.parentElement||Lo(e)),a}function VU(e){return e.hidden||e instanceof xd||(e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement||e instanceof HTMLOptGroupElement||e instanceof HTMLOptionElement||e instanceof HTMLFieldSetElement)&&e.disabled||e instanceof HTMLInputElement&&e.type==="hidden"||e instanceof HTMLAnchorElement&&e.href===""?!1:typeof e.tabIndex=="number"&&e.tabIndex!==-1}function OU(e){if(e.shadowRoot&&e.shadowRoot.delegatesFocus!==!0)return null;let t=e;t.shadowRoot&&(t=t.shadowRoot);let r=t.querySelector("[autofocus]");if(r)return r;{const l=t.querySelectorAll("slot");for(const i of l){const s=i.assignedElements({flatten:!0});for(const c of s){if(c.hasAttribute("autofocus"))return c;if(r=c.querySelector("[autofocus]"),r)return r}}}const o=e.ownerDocument.createTreeWalker(t,NodeFilter.SHOW_ELEMENT);let a=o.currentNode;for(;a;){if(VU(a))return a;a=o.nextNode()}}function RU(e){var t;(t=OU(e))==null||t.focus()}var yi=new WeakMap;function du(e){if(!Rr(e,!1))return;const t=e.ownerDocument;if(!e.dispatchEvent(new ts("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"}))||!Rr(e,!1))return;let r=!1;const o=e.popover;let a=null;const l=ih(e,er.get(t)||new Set),i=ih(e,ln.get(t)||new Set);if(o==="auto"&&(fu(ln.get(t)||new Set,r,!0),Fr(l||t,r,!0),a="auto"),o==="hint"&&(i?(Fr(i,r,!0),a="hint"):(fu(ln.get(t)||new Set,r,!0),l?(Fr(l,r,!0),a="auto"):a="hint")),o==="auto"||o==="hint"){if(o!==e.popover||!Rr(e,!1))return;Ha(t)||(r=!0),a==="auto"?(er.has(t)||er.set(t,new Set),er.get(t).add(e)):a==="hint"&&(ln.has(t)||ln.set(t,new Set),ln.get(t).add(e))}yi.delete(e);const s=t.activeElement;e.classList.add(":popover-open"),Mo.set(e,"showing"),Fl.has(t)||Fl.set(t,new Set),Fl.get(t).add(e),Wy(vi.get(e),!0),RU(e),r&&s&&e.popover==="auto"&&yi.set(e,s),Uy(e,"closed","open")}function Po(e,t=!1,r=!1){var o,a;if(!Rr(e,!0))return;const l=e.ownerDocument;if(["auto","hint"].includes(e.popover)&&(Fr(e,t,r),!Rr(e,!0)))return;const i=er.get(l)||new Set,s=i.has(e)&&Ua(i)===e;if(Wy(vi.get(e),!1),vi.delete(e),r&&(e.dispatchEvent(new ts("beforetoggle",{oldState:"open",newState:"closed"})),s&&Ua(i)!==e&&Fr(e,t,r),!Rr(e,!0)))return;(o=Fl.get(l))==null||o.delete(e),i.delete(e),(a=ln.get(l))==null||a.delete(e),e.classList.remove(":popover-open"),Mo.set(e,"hidden"),r&&Uy(e,"open","closed");const c=yi.get(e);c&&(yi.delete(e),t&&c.focus())}function FU(e,t=!1,r=!1){let o=Ha(e);for(;o;)Po(o,t,r),o=Ha(e)}function fu(e,t=!1,r=!1){let o=lh(e);for(;o;)Po(o,t,r),o=lh(e)}function sh(e,t,r,o){let a=!1,l=!1;for(;a||!l;){l=!0;let i=null,s=!1;for(const c of t)if(c===e)s=!0;else if(s){i=c;break}if(!i)return;for(;gi(i)==="showing"&&t.size;)Po(Ua(t),r,o);t.has(e)&&Ua(t)!==e&&(a=!0),a&&(o=!1)}}function Fr(e,t,r){var o,a;const l=e.ownerDocument||e;if(e instanceof Document)return FU(l,t,r);if((o=ln.get(l))!=null&&o.has(e)){sh(e,ln.get(l),t,r);return}fu(ln.get(l)||new Set,t,r),(a=er.get(l))!=null&&a.has(e)&&sh(e,er.get(l),t,r)}var Zs=new WeakMap;function ch(e){if(!e.isTrusted)return;const t=e.composedPath()[0];if(!t)return;const r=t.ownerDocument;if(!Ha(r))return;const o=PU(t);if(o&&e.type==="pointerdown")Zs.set(r,o);else if(e.type==="pointerup"){const a=Zs.get(r)===o;Zs.delete(r),a&&Fr(o||r,!1,!0)}}var Qs=new WeakMap;function Wy(e,t=!1){if(!e)return;Qs.has(e)||Qs.set(e,e.getAttribute("aria-expanded"));const r=e.popoverTargetElement;if(r instanceof HTMLElement&&r.popover==="auto")e.setAttribute("aria-expanded",String(t));else{const o=Qs.get(e);o?e.setAttribute("aria-expanded",o):e.removeAttribute("aria-expanded")}}var uh=globalThis.ShadowRoot||function(){};function zU(){return typeof HTMLElement<"u"&&typeof HTMLElement.prototype=="object"&&"popover"in HTMLElement.prototype}function Ar(e,t,r){const o=e[t];Object.defineProperty(e,t,{value(a){return o.call(this,r(a))}})}var UU=/(^|[^\\]):popover-open\b/g;function HU(){return typeof globalThis.CSSLayerBlockRule=="function"}function WU(){const e=HU();return`
433
+ `,e.appendChild(i))):i=e,i.addEventListener("mouseenter",()=>{i!==e&&(i.style.background="rgba(0, 0, 0, 0.2)")}),i.addEventListener("mouseleave",()=>{i!==e&&!o&&(i.style.background="rgba(0, 0, 0, 0.1)")}),i.style.cursor="ns-resize",i.style.userSelect="none";function s(m){return{clientY:m,deltaY:m-a,initialHeight:l}}function c(m){return r.gridSize?Math.round(m/r.gridSize)*r.gridSize:m}function u(m){if(!o)return;m.preventDefault();const p=s("touches"in m?m.touches[0].clientY:m.clientY);let h=l+p.deltaY;r.minHeight!==void 0&&(h=Math.max(h,r.minHeight)),r.maxHeight!==void 0&&(h=Math.min(h,r.maxHeight)),h=c(h),e.style.height=`${h}px`,r.onResize&&r.onResize(p),i!==e&&(i.style.background="rgba(0, 0, 0, 0.3)")}function d(m){if(!o)return;const p=s("touches"in m?m.changedTouches[0].clientY:m.clientY);o=!1,document.body.style.cursor="",document.body.style.userSelect="",i!==e&&(i.style.background="rgba(0, 0, 0, 0.1)"),r.onEnd&&r.onEnd(p),document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",d),document.removeEventListener("touchmove",u),document.removeEventListener("touchend",d),document.removeEventListener("touchcancel",d)}function f(m){m instanceof MouseEvent&&m.button!==0||(m.preventDefault(),o=!0,a="touches"in m?m.touches[0].clientY:m.clientY,l=e.offsetHeight,r.onStart&&r.onStart(m),document.body.style.cursor="ns-resize",document.body.style.userSelect="none",document.addEventListener("mousemove",u,{passive:!1}),document.addEventListener("mouseup",d),document.addEventListener("touchmove",u,{passive:!1}),document.addEventListener("touchend",d),document.addEventListener("touchcancel",d))}i.addEventListener("mousedown",f),i.addEventListener("touchstart",f,{passive:!1}),e[ra]=()=>{i!==e&&e.removeChild(i),i.removeEventListener("mousedown",f),i.removeEventListener("touchstart",f),i.removeEventListener("mouseenter",f),i.removeEventListener("mouseleave",f),document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",d),document.removeEventListener("touchmove",u),document.removeEventListener("touchend",d),document.removeEventListener("touchcancel",d)}}const nF={mounted(e,t){Np(e,t)},unmounted(e){const t=e[ra];typeof t=="function"&&(t(),delete e[ra])},updated(e,t){if(t.value!==t.oldValue){const r=e[ra];typeof r=="function"&&(r(),delete e[ra]),Np(e,t)}},getSSRProps(){return{}}},rF=12,oF=12,aF=1;var jv=/^col-(\d{1,2})\/12$/,qv=/^m_col-(\d{1,2})\/12$/,Gv=/^(?:grid-)?span-row-(\d{1,2})$/,di={"col-1/12":1,"col-1/6":2,"col-2/12":2,"col-1/4":3,"col-3/12":3,"col-1/3":4,"col-4/12":4,"col-5/12":5,"col-1/2":6,"col-6/12":6,"col-7/12":7,"col-2/3":8,"col-8/12":8,"col-3/4":9,"col-9/12":9,"col-5/6":10,"col-10/12":10,"col-11/12":11,"col-full":12,"col-12/12":12},ou=Object.fromEntries(Object.entries(di).map(([e,t])=>[`m_${e}`,t]));function Uo(e){return Math.max(1,Math.min(12,Math.round(e)))}function Yv(e){return`col-${Uo(e)}/12`}function Xv(e){return`m_col-${Uo(e)}/12`}function Kv(e){return`span-row-${Uo(e)}`}function yd(e){if(e)for(const t of e.split(/\s+/)){if(t.startsWith("m_"))continue;const r=t.match(jv);if(r)return Uo(Number(r[1]));if(t in di)return di[t]}}function bd(e){if(e)for(const t of e.split(/\s+/)){const r=t.match(qv);if(r)return Uo(Number(r[1]));if(t in ou)return ou[t]}}function _d(e){if(e)for(const t of e.split(/\s+/)){const r=t.match(Gv);if(r)return Uo(Number(r[1]))}}function wd(e){return e?e.split(/\s+/).filter(Boolean).filter(t=>!jv.test(t)&&!qv.test(t)&&!Gv.test(t)&&!(t in di)&&!(t in ou)).join(" "):""}function Jv(e,t){const r=wd(e),o=r?[r]:[];return t.colSpan!==void 0&&t.colSpan!==12&&o.push(Yv(t.colSpan)),t.rowSpan!==void 0&&t.rowSpan!==1&&o.push(Kv(t.rowSpan)),t.mColSpan!==void 0&&t.mColSpan!==12&&o.push(Xv(t.mColSpan)),o.join(" ")}function lF(e){return{colSpan:yd(e),rowSpan:_d(e),mColSpan:bd(e)}}function kd(e){return e==="richtext"?3:e==="textarea"||e==="json"||e==="radio"||e==="file"||e==="signature"?2:1}function $d(e){if(e.format)switch(e.format){case"email":return"email";case"tel":return"phone";case"uri":case"url":return"url";case"date":case"date-time":return"date"}if(e.enum)return"select";switch(e.type){case"number":case"integer":return"number";case"boolean":return"checkbox"}return"text"}function Zv(e){if(!e?.properties)return[];const t=new Set(e.required??[]),r=[];for(const[o,a]of Object.entries(e.properties)){const l=a["x-field-type"]??$d(a),i={};a.minLength!==void 0&&(i.minLength=a.minLength),a.maxLength!==void 0&&(i.maxLength=a.maxLength),a.minimum!==void 0&&(i.min=a.minimum),a.maximum!==void 0&&(i.max=a.maximum),a.multipleOf!==void 0&&(i.step=a.multipleOf),a.pattern!==void 0&&(i.pattern=a.pattern),a["x-options"]?i.options=a["x-options"]:a.enum&&(i.options=a.enum.map(u=>({label:String(u),value:String(u)})));const s=a["x-ui"]?.class,c={id:crypto.randomUUID(),key:o,type:l,label:a.title??o,placeholder:a["x-placeholder"],description:a.description,required:t.has(o)||void 0,colSpan:yd(s)??12,rowSpan:_d(s)??kd(l),mColSpan:bd(s)??12,class:wd(s)||void 0,hideLabel:a["x-hide-label"]??!1,condition:a["x-ui"]?.condition||void 0,hidden:a["x-ui"]?.hidden||l==="hidden"||void 0,richTextVariant:a["x-rich-text-variant"],markdownShowFormatting:a["x-markdown-show-formatting"],textareaRows:a["x-textarea-rows"],textareaAutoHeight:a["x-textarea-autoheight"],numberLayout:a["x-number-layout"],numberSpinner:a["x-number-spinner"]??!0,phoneOnlyCountries:a["x-phone-only-countries"],selectMultiselect:a["x-select-multiselect"],fileMultiple:a["x-file-multiple"],fileHeight:a["x-file-height"],fileAccept:a["x-file-accept"],fileTheme:a["x-file-theme"],fileShowIcon:a["x-file-show-icon"]===!1?!1:void 0,fileIcon:a["x-file-icon"],dateEnableTime:a["x-date-enable-time"],dateMin:a["x-date-min"],dateMax:a["x-date-max"],rangeMulti:a["x-range-multi"],radioThin:a["x-radio-thin"],radioHideRadio:a["x-radio-hide-radio"],radioAlign:a["x-radio-align"],textIcon:a["x-text-icon"],textIconStart:a["x-text-icon-start"],validation:Object.keys(i).length>0?i:void 0,defaultValue:a.default,content:a["x-field-type"]==="heading"?a.title:void 0};r.push(c)}return r}function iF(e){const t={},r=[];for(const a of e){const l={};if(a.type==="heading"||a.type==="divider")l.type="string",l.title=a.content||a.label,l["x-field-type"]=a.type;else{switch(a.type){case"text":case"textarea":case"richtext":case"markdown":case"email":case"phone":case"url":case"date":case"file":case"signature":case"color":case"hidden":l.type="string";break;case"number":case"range":l.type="number";break;case"checkbox":case"toggle":l.type="boolean";break;case"json":l.type="object";break;case"select":case"radio":l.type="string",a.validation?.options&&(l.enum=a.validation.options.map(s=>s.value));break}a.type==="email"&&(l.format="email"),a.type==="phone"&&(l.format="tel"),a.type==="url"&&(l.format="uri"),a.type==="date"&&(l.format=a.dateEnableTime?"date-time":"date"),a.type==="color"&&(l.format="color"),l.title=a.label,a.description&&(l.description=a.description),a.defaultValue!==void 0&&(l.default=a.defaultValue),a.type!=="text"&&(l["x-field-type"]=a.type),a.validation?.minLength!==void 0&&(l.minLength=a.validation.minLength),a.validation?.maxLength!==void 0&&(l.maxLength=a.validation.maxLength),a.validation?.min!==void 0&&(l.minimum=a.validation.min),a.validation?.max!==void 0&&(l.maximum=a.validation.max),a.validation?.step!==void 0&&(l.multipleOf=a.validation.step),a.validation?.pattern!==void 0&&(l.pattern=a.validation.pattern),a.required&&r.push(a.key)}a.placeholder&&(l["x-placeholder"]=a.placeholder),a.validation?.options&&(l["x-options"]=a.validation.options);const i=Jv(a.class,{colSpan:a.colSpan,rowSpan:a.rowSpan===kd(a.type)?void 0:a.rowSpan,mColSpan:a.mColSpan});i&&(l["x-ui"]={...l["x-ui"],class:i}),a.condition&&(l["x-ui"]={...l["x-ui"],condition:a.condition}),a.hidden===!0&&(l["x-ui"]={...l["x-ui"],hidden:!0}),a.hideLabel===!0&&(l["x-hide-label"]=!0),a.richTextVariant&&(l["x-rich-text-variant"]=a.richTextVariant),a.markdownShowFormatting===!0&&(l["x-markdown-show-formatting"]=!0),a.textareaRows!==void 0&&(l["x-textarea-rows"]=a.textareaRows),a.textareaAutoHeight===!0&&(l["x-textarea-autoheight"]=!0),a.numberLayout&&a.numberLayout!=="default"&&(l["x-number-layout"]=a.numberLayout),a.numberSpinner===!1&&(l["x-number-spinner"]=!1),a.phoneOnlyCountries&&(l["x-phone-only-countries"]=a.phoneOnlyCountries),a.selectMultiselect===!0&&(l["x-select-multiselect"]=!0),a.fileMultiple===!0&&(l["x-file-multiple"]=!0),a.fileHeight!==void 0&&(l["x-file-height"]=a.fileHeight),a.fileAccept&&(l["x-file-accept"]=a.fileAccept),a.fileTheme&&(l["x-file-theme"]=a.fileTheme),a.fileShowIcon===!1&&(l["x-file-show-icon"]=!1),a.fileIcon&&(l["x-file-icon"]=a.fileIcon),a.dateEnableTime===!0&&(l["x-date-enable-time"]=!0),a.dateMin&&(l["x-date-min"]=a.dateMin),a.dateMax&&(l["x-date-max"]=a.dateMax),a.rangeMulti===!0&&(l["x-range-multi"]=!0),a.radioThin===!0&&(l["x-radio-thin"]=!0),a.radioHideRadio===!0&&(l["x-radio-hide-radio"]=!0),a.radioAlign&&(l["x-radio-align"]=a.radioAlign),a.textIcon&&(l["x-text-icon"]=a.textIcon),a.textIconStart&&(l["x-text-icon-start"]=a.textIconStart),t[a.key]=l}const o={$schema:"https://json-schema.org/draft/2020-12/schema",type:"object",properties:t};return r.length>0&&(o.required=r),o}function sF(e,t){const r={};for(const o of e)if(!(o.type==="heading"||o.type==="divider")){if(t&&o.key in t){r[o.key]=t[o.key];continue}if(o.defaultValue!==void 0){r[o.key]=o.defaultValue;continue}switch(o.type){case"checkbox":case"toggle":r[o.key]=!1;break;case"number":case"range":r[o.key]=o.validation?.min??0;break;default:r[o.key]=""}}return r}function cF(e,t){const r={};for(const o of e){if(o.type==="heading"||o.type==="divider"||o.type==="hidden"||o.hidden===!0)continue;const a=t[o.key];if(o.required&&(a==null||a==="")){r[o.key]=`${o.label} is required`;continue}if(a==null||a==="")continue;const l=o.validation;if(typeof a=="string"){if(l?.minLength!==void 0&&a.length<l.minLength){r[o.key]=`${o.label} must be at least ${l.minLength} characters`;continue}if(l?.maxLength!==void 0&&a.length>l.maxLength){r[o.key]=`${o.label} must be at most ${l.maxLength} characters`;continue}if(l?.pattern&&!new RegExp(l.pattern).test(a)){r[o.key]=`${o.label} format is invalid`;continue}}if(typeof a=="number"){if(l?.min!==void 0&&a<l.min){r[o.key]=`${o.label} must be at least ${l.min}`;continue}if(l?.max!==void 0&&a>l.max){r[o.key]=`${o.label} must be at most ${l.max}`;continue}}}return r}function uF(e){return{fields:(0,n.computed)(()=>Zv(e.value))}}const dF=!0;var Ke=class{_type;_config;_condition;_hidden;_validations;_onUpdate;_class;_slots;_component;constructor(e,t={}){this._type=e,this._config=t}if(e){return this._condition=e,this}hidden(e=!0){return this._hidden=e,this}validate(e){return this._validations||(this._validations=[]),this._validations.push(e),this}onUpdate(e){return this._onUpdate=e,this}class(e){return this._class=this._class?`${this._class} ${e}`:e,this}required(e){return this._config.required=!0,e&&(this._config.requiredMessage=e),this}slot(e,t,r){return this._slots||(this._slots=[]),typeof e!="string"||t!==void 0&&typeof t!="string"?this._slots.push({component:e,props:t}):this._slots.push({name:e,component:t,props:r}),this}};function it(e,t){return typeof e=="string"?{...t,label:e}:e??{}}const st={text(e,t){return new Ke("text",it(e,t))},email(e,t){return new Ke("email",it(e,t))},password(e,t){return new Ke("password",it(e,t))},number(e,t){return new Ke("number",it(e,t))},tel(e,t){return new Ke("tel",it(e,t))},url(e,t){return new Ke("url",it(e,t))},date(e,t){return new Ke("date",it(e,t))},time(e,t){return new Ke("time",it(e,t))},datetime(e,t){return new Ke("datetime",it(e,t))},textarea(e,t){return new Ke("textarea",it(e,t))},richtext(e,t){return new Ke("richtext",it(e,t))},json(e,t){const r=it(e,t);return r.language||(r.language="json"),new Ke("json",r)},checkbox(e,t){return new Ke("checkbox",it(e,t))},toggle(e,t){return new Ke("toggle",it(e,t))},radio(e,t,r){if(typeof e=="string"){const o=e,a=t;return new Ke("radio",{...r,label:o,options:a})}return new Ke("radio",{...it(t,r),options:e})},select(e,t,r){if(typeof e=="string"){const o=e,a=t;return new Ke("select",{...r,label:o,options:a})}return new Ke("select",{...it(t,r),options:e})},multiselect(e,t,r){if(typeof e=="string"){const o=e,a=t;return new Ke("multiselect",{...r,label:o,options:a,multiple:!0})}return new Ke("multiselect",{...it(t,r),options:e})},color(e,t){return new Ke("color",it(e,t))},range(e,t){return new Ke("range",it(e,t))},upload(e,t){return new Ke("upload",it(e,t))},array(e,t,r){if(typeof e=="string"){const a=e,l=t;return new Ke("array",{...r??{},label:a,schema:l})}const o=e;return new Ke("array",{...it(t,r),schema:o})},component(e,t={}){const r=new Ke("component",t);return r._component={component:e,props:t},r},display(e,t={}){const r=new Ke("display",t);return r._component={component:e,props:t},r}};var au=class Qv{_isSchema=!0;_label;_fields;_condition;_class;constructor(t,r){this._fields=t,this._label=r}if(t){return this._condition=t,this}class(t){return this._class=this._class?`${this._class} ${t}`:t,this}defaults(t){for(const[r,o]of Object.entries(t))this._fields[r]&&this._fields[r]._config.default===void 0&&(this._fields[r]._config.default=o);return this}getDefaults(){const t={};for(const[r,o]of Object.entries(this._fields))o._config.default!==void 0&&(t[r]=o._config.default);return t}toJSONSchema(){const t={},r=[];for(const[l,i]of Object.entries(this._fields)){const s=i._config,c=Qv.getJSONSchemaType(i._type),u={type:c};if(s.label&&(u.title=s.label),s.helpText&&(u.description=s.helpText),s.default!==void 0&&(u.default=s.default),s.options){const f=s.options.map(m=>gr(m)??m);i._type==="multiselect"?u.items={type:"string",enum:f}:u.enum=f}s.min!==void 0&&(u[c==="string"?"minLength":"minimum"]=s.min),s.max!==void 0&&(u[c==="string"?"maxLength":"maximum"]=s.max),i._type==="email"&&(u.format="email"),i._type==="url"&&(u.format="uri"),i._type==="date"&&(u.format="date"),i._type==="time"&&(u.format="time"),i._type==="datetime"&&(u.format="date-time");const d={};i._type!=="text"&&(d.fieldType=i._type),s.placeholder&&(d.placeholder=s.placeholder),s.disabled&&(d.disabled=s.disabled),s.readonly&&(d.readonly=s.readonly),s.autoheight&&(d.autoheight=s.autoheight),s.rows&&(d.rows=s.rows),s.cols&&(d.cols=s.cols),i._class&&(d.class=i._class),i._condition&&(d.condition=i._condition),i._hidden&&(d.hidden=!0),i._type==="array"&&(s.allowAdd!==void 0&&(d.allowAdd=s.allowAdd),s.allowDelete!==void 0&&(d.allowDelete=s.allowDelete)),i._component&&(d.component=typeof i._component.component=="string"?i._component.component:i._component.component.name||"CustomComponent",i._component.props&&(d.componentProps=i._component.props)),Object.keys(d).length>0&&(u["x-ui"]=d),t[l]=u,s.required===!0&&r.push(l)}const o={type:"object",properties:t};r.length>0&&(o.required=r),this._label&&(o.title=this._label);const a={};return this._condition&&(a.condition=this._condition),this._class&&(a.class=this._class),Object.keys(a).length>0&&(o["x-ui"]=a),o}static getJSONSchemaType(t){return{text:"string",email:"string",password:"string",number:"number",tel:"string",url:"string",date:"string",time:"string",datetime:"string",textarea:"string",richtext:"string",json:"object",checkbox:"boolean",toggle:"boolean",radio:"string",select:"string",multiselect:"array",array:"array"}[t]||"string"}};function fF(e,t){if(typeof e=="string"){if(!t)throw new Error("Fields are required when providing a label");return new au(t,e)}return new au(e)}function mF(e){return e}function pF(e){const t={},r=new Set(e.required||[]);if(e.properties)for(const[a,l]of Object.entries(e.properties))t[a]=vF(a,l,r.has(a),e);const o=new au(t,e.title);return e["x-ui"]?.condition&&o.if(e["x-ui"].condition),e["x-ui"]?.class&&o.class(e["x-ui"].class),o}function hF(e,t){const r=e.match(/^#\/(\$defs|definitions)\/(.+)$/);if(!r)return;const[,o,a]=r,l=o==="$defs"?t.$defs:t.definitions;return a?l?.[a]:void 0}function gF(e,t){const r=e.anyOf||e.oneOf;if(!r||r.length===0)return e;const o=r.filter(i=>i.type!=="null");if(o.length===1){const i=o[0];return{...i,title:e.title||i.title,description:e.description||i.description,default:e.default!==void 0?e.default:i.default,"x-ui":{...i["x-ui"],...e["x-ui"]}}}const a=["object","array","string","number","integer","boolean"],l=o.sort((i,s)=>a.indexOf(i.type||"string")-a.indexOf(s.type||"string"))[0];return{...l,title:e.title||l.title,description:e.description||l.description,default:e.default!==void 0?e.default:l.default,"x-ui":{...l["x-ui"],...e["x-ui"]}}}function vF(e,t,r,o){let a=t;if(t.$ref){const u=hF(t.$ref,o);u&&(a={...u,type:t.type??u.type,enum:t.enum??u.enum,title:t.title??u.title,description:t.description??u.description,default:t.default!==void 0?t.default:u.default,"x-ui":{...u["x-ui"],...t["x-ui"]}})}(a.anyOf||a.oneOf)&&(a=gF(a,o));const l=a["x-ui"]||{},i=l.fieldType||Bp(a),s={};a.title&&(s.label=a.title),a.description&&(s.helpText=a.description),a.default!==void 0&&(s.default=a.default),r&&(s.required=!0),l.placeholder&&(s.placeholder=l.placeholder),l.disabled&&(s.disabled=l.disabled),l.readonly&&(s.readonly=l.readonly),l.autoheight&&(s.autoheight=l.autoheight),l.rows&&(s.rows=l.rows),l.cols&&(s.cols=l.cols),a.minimum!==void 0&&(s.min=a.minimum),a.maximum!==void 0&&(s.max=a.maximum),a.minLength!==void 0&&(s.min=a.minLength),a.maxLength!==void 0&&(s.max=a.maxLength);let c;switch(i){case"email":c=st.email(s);break;case"password":c=st.password(s);break;case"number":c=st.number(s);break;case"tel":c=st.tel(s);break;case"url":c=st.url(s);break;case"date":c=st.date(s);break;case"time":c=st.time(s);break;case"datetime":c=st.datetime(s);break;case"textarea":c=st.textarea(s);break;case"richtext":c=st.richtext(s);break;case"json":c=st.json(s);break;case"checkbox":c=st.checkbox(s);break;case"toggle":c=st.toggle(s);break;case"radio":c=st.radio(a.enum||[],s);break;case"select":c=st.select(a.enum||[],s);break;case"multiselect":c=st.multiselect(a.enum||[],s);break;case"array":{const u={...s};l.allowAdd!==void 0&&(u.allowAdd=l.allowAdd),l.allowDelete!==void 0&&(u.allowDelete=l.allowDelete),a.items?.type&&(u.itemType=Bp(a.items)),c=st.array(a.title||e,void 0,u);break}case"display":c=st.display(l.component||"div",l.componentProps||{});break;case"component":c=st.component(l.component||"div",l.componentProps||{});break;default:c=st.text(s)}return l.class&&c.class(l.class),l.condition&&c.if(l.condition),l.hidden&&c.hidden(),c}function Bp(e){if(e.format)switch(e.format){case"email":return"email";case"uri":return"url";case"date":return"date";case"time":return"time";case"date-time":return"datetime"}if(e.enum)return"select";switch(e.type){case"boolean":return"checkbox";case"number":case"integer":return"number";case"array":return"array";case"object":return"json";default:return"text"}}var yF={class:"multi-step-form"},bF={class:"step-progress"},_F=["onClick"],wF={class:"step-number"},kF={class:"step-label"},$F={key:0},EF={key:0,class:"step-title"},CF={key:1,class:"validation-errors"},SF={class:"step-navigation"},xF=["disabled"],TF={class:"step-counter"},NF=(0,n.defineComponent)({__name:"MultiStepForm",props:{schema:{},modelValue:{},currentStep:{},components:{},validateOnNext:{type:Boolean,default:!0}},emits:["update:modelValue","update:currentStep","stepChange","complete","validationError"],setup(e,{expose:t,emit:r}){const o=e,a=r,{$t:l}=ot(),i=(0,n.useSlots)(),s=(0,n.computed)(()=>Object.keys(i)),c=(0,n.ref)({...o.modelValue||{}}),u=(0,n.ref)(o.currentStep!=null&&o.currentStep!==""?o.currentStep:Object.keys(o.schema)[0]);let d=!1;(0,n.watch)(()=>o.modelValue,D=>{d||(c.value={...D||{}})},{deep:!0}),(0,n.watch)(c,D=>{d=!0,a("update:modelValue",D),setTimeout(()=>{d=!1},0)},{deep:!0}),(0,n.watch)(()=>o.currentStep,D=>{D!=null&&(u.value=D)}),(0,n.watch)(u,D=>{a("update:currentStep",D),a("stepChange",D)});function f(D,R){const $=R.split(".");let V=D;for(const P of $)V=V?.[P];return V}function m(D,R){if(!D)return!0;try{const $=Sa(D);if($.length===0)return!0;let V=!0,P=null;for(let B=0;B<$.length;B++){const O=$[B],K=f(R,O.field),{op:Y,value:re,connector:G}=O;let N=!1;switch(Y){case"eq":N=K===re;break;case"ne":N=K!==re;break;case"gt":N=re!=null&&K>re;break;case"ge":N=re!=null&&K>=re;break;case"lt":N=re!=null&&K<re;break;case"le":N=re!=null&&K<=re;break;case"co":N=re!=null&&String(K).includes(String(re));break;case"sw":N=re!=null&&String(K).startsWith(String(re));break;case"ew":N=re!=null&&String(K).endsWith(String(re));break;case"pr":N=K!=null;break;default:N=!1}B===0?(V=N,P=N):(G==="or"?V=(P??!1)||N:G==="and"&&(V=(P??!1)&&N),P=V)}return V}catch{return!0}}function p(D){return D._condition==null?!0:m(D._condition,c.value)}const h=(0,n.computed)(()=>Object.entries(o.schema).filter(([,D])=>p(D)).map(([D,R])=>({key:D,schema:R}))),y=(0,n.computed)(()=>h.value.findIndex(D=>D.key===u.value)),b=(0,n.computed)(()=>y.value===0),g=(0,n.computed)(()=>y.value===h.value.length-1),v=(0,n.computed)(()=>h.value[y.value]?.schema),_=(0,n.ref)({});function w(D){return D._hidden?!1:D._condition==null?!0:m(D._condition,c.value)}function k(D){const R=D.replace(/\[(\d+)\]/g,".$1");return f(c.value,R)}function S(D){return!!(D==null||typeof D=="string"&&D.trim()===""||Array.isArray(D)&&D.length===0)}function E(){if(!o.validateOnNext||v.value==null)return!0;const D={},R=v.value._fields;for(const[$,V]of Object.entries(R)){if(V._type==="display"||!w(V))continue;const P=k($),B=V._config;if(B.required===!0&&S(P)){D[$]=`${typeof B.label=="string"?B.label:$} is required`;continue}if(V._validations&&!S(P))for(const O of V._validations){const K=O(P);if(K!==!0){D[$]=K;break}}}return _.value=D,Object.keys(D).length>0?(a("validationError",D),!1):!0}function C(D,R){return R._label!=null?R._label:D.split(/[._-]/).map($=>$.charAt(0).toUpperCase()+$.slice(1)).join(" ")}function M(D){const R=h.value.findIndex($=>$.key===D);if(R!==-1){if(R<y.value){u.value=D,_.value={};return}R>y.value&&!E()||(u.value=D)}}function A(){if(E())if(g.value)a("complete");else{const D=y.value+1;u.value=h.value[D].key,_.value={}}}function z(){if(!b.value){const D=y.value-1;u.value=h.value[D].key,_.value={}}}return t({validateCurrentStep:E,stepErrors:_,nextStep:A,prevStep:z,goToStep:M,visibleSteps:h,activeStep:u,currentStepIndex:y,isFirstStep:b,isLastStep:g}),(D,R)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",yF,[(0,n.createElementVNode)("div",bF,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(h.value,($,V)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:$.key,class:(0,n.normalizeClass)(["step-indicator",{active:$.key===u.value,completed:V<y.value}]),onClick:P=>M($.key)},[(0,n.createElementVNode)("div",wF,(0,n.toDisplayString)(V+1),1),(0,n.createElementVNode)("div",kF,(0,n.toDisplayString)(C($.key,$.schema)),1)],10,_F))),128))]),v.value!=null?((0,n.openBlock)(),(0,n.createElementBlock)("div",$F,[v.value._label?((0,n.openBlock)(),(0,n.createElementBlock)("h2",EF,(0,n.toDisplayString)(v.value._label),1)):(0,n.createCommentVNode)("",!0),Object.keys(_.value).length>0?((0,n.openBlock)(),(0,n.createElementBlock)("div",CF,[(0,n.createElementVNode)("ul",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(_.value,($,V)=>((0,n.openBlock)(),(0,n.createElementBlock)("li",{key:V},(0,n.toDisplayString)($),1))),128))])])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(D.$slots,`step:${u.value}`,{schema:v.value,formData:c.value,stepKey:u.value,errors:_.value},()=>[(0,n.createVNode)(hd,{modelValue:c.value,"onUpdate:modelValue":R[0]||(R[0]=$=>c.value=$),schema:v.value,components:e.components,errors:_.value},(0,n.createSlots)({_:2},[(0,n.renderList)(s.value,$=>({name:$,fn:(0,n.withCtx)(V=>[(0,n.renderSlot)(D.$slots,$,(0,n.normalizeProps)((0,n.guardReactiveProps)(V)),void 0,!0)])}))]),1032,["modelValue","schema","components","errors"])],!0)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",SF,[(0,n.createElementVNode)("button",{type:"button",class:"btn-secondary",disabled:b.value,onClick:z},(0,n.toDisplayString)((0,n.unref)(l)("multiStep.previous")),9,xF),(0,n.createElementVNode)("div",TF,(0,n.toDisplayString)((0,n.unref)(l)("multiStep.step",{current:y.value+1,total:h.value.length})),1),(0,n.createElementVNode)("button",{type:"button",class:"btn-primary",onClick:A},(0,n.toDisplayString)(g.value?(0,n.unref)(l)("multiStep.complete"):(0,n.unref)(l)("multiStep.next")),1)])]))}}),BF=be(NF,[["__scopeId","data-v-7a55f4bb"]]);function cn(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Rn(e){return cn(e).getComputedStyle(e)}var Dp=Math.min,ha=Math.max,fi=Math.round;function ey(e){const t=Rn(e);let r=parseFloat(t.width),o=parseFloat(t.height);const a=e.offsetWidth,l=e.offsetHeight,i=fi(r)!==a||fi(o)!==l;return i&&(r=a,o=l),{width:r,height:o,fallback:i}}function Er(e){return ny(e)?(e.nodeName||"").toLowerCase():""}var bl;function ty(){if(bl)return bl;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(bl=e.brands.map((t=>t.brand+"/"+t.version)).join(" "),bl):navigator.userAgent}function Fn(e){return e instanceof cn(e).HTMLElement}function _r(e){return e instanceof cn(e).Element}function ny(e){return e instanceof cn(e).Node}function Ap(e){return typeof ShadowRoot>"u"?!1:e instanceof cn(e).ShadowRoot||e instanceof ShadowRoot}function Gi(e){const{overflow:t,overflowX:r,overflowY:o,display:a}=Rn(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!["inline","contents"].includes(a)}function DF(e){return["table","td","th"].includes(Er(e))}function lu(e){const t=/firefox/i.test(ty()),r=Rn(e),o=r.backdropFilter||r.WebkitBackdropFilter;return r.transform!=="none"||r.perspective!=="none"||!!o&&o!=="none"||t&&r.willChange==="filter"||t&&!!r.filter&&r.filter!=="none"||["transform","perspective"].some((a=>r.willChange.includes(a)))||["paint","layout","strict","content"].some((a=>{const l=r.contain;return l!=null&&l.includes(a)}))}function ry(){return!/^((?!chrome|android).)*safari/i.test(ty())}function Ed(e){return["html","body","#document"].includes(Er(e))}function oy(e){return _r(e)?e:e.contextElement}var ay={x:1,y:1};function Eo(e){const t=oy(e);if(!Fn(t))return ay;const r=t.getBoundingClientRect(),{width:o,height:a,fallback:l}=ey(t);let i=(l?fi(r.width):r.width)/o,s=(l?fi(r.height):r.height)/a;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}function Pa(e,t,r,o){var a,l;t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),s=oy(e);let c=ay;t&&(o?_r(o)&&(c=Eo(o)):c=Eo(e));const u=s?cn(s):window,d=!ry()&&r;let f=(i.left+(d&&((a=u.visualViewport)==null?void 0:a.offsetLeft)||0))/c.x,m=(i.top+(d&&((l=u.visualViewport)==null?void 0:l.offsetTop)||0))/c.y,p=i.width/c.x,h=i.height/c.y;if(s){const y=cn(s),b=o&&_r(o)?cn(o):o;let g=y.frameElement;for(;g&&o&&b!==y;){const v=Eo(g),_=g.getBoundingClientRect(),w=getComputedStyle(g);_.x+=(g.clientLeft+parseFloat(w.paddingLeft))*v.x,_.y+=(g.clientTop+parseFloat(w.paddingTop))*v.y,f*=v.x,m*=v.y,p*=v.x,h*=v.y,f+=_.x,m+=_.y,g=cn(g).frameElement}}return{width:p,height:h,top:m,right:f+p,bottom:m+h,left:f,x:f,y:m}}function wr(e){return((ny(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yi(e){return _r(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ly(e){return Pa(wr(e)).left+Yi(e).scrollLeft}function Ia(e){if(Er(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ap(e)&&e.host||wr(e);return Ap(t)?t.host:t}function iy(e){const t=Ia(e);return Ed(t)?t.ownerDocument.body:Fn(t)&&Gi(t)?t:iy(t)}function mi(e,t){var r;t===void 0&&(t=[]);const o=iy(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),l=cn(o);return a?t.concat(l,l.visualViewport||[],Gi(o)?o:[]):t.concat(o,mi(o))}function Mp(e,t,r){return t==="viewport"?Or((function(o,a){const l=cn(o),i=wr(o),s=l.visualViewport;let c=i.clientWidth,u=i.clientHeight,d=0,f=0;if(s){c=s.width,u=s.height;const m=ry();(m||!m&&a==="fixed")&&(d=s.offsetLeft,f=s.offsetTop)}return{width:c,height:u,x:d,y:f}})(e,r)):_r(t)?Or((function(o,a){const l=Pa(o,!0,a==="fixed"),i=l.top+o.clientTop,s=l.left+o.clientLeft,c=Fn(o)?Eo(o):{x:1,y:1};return{width:o.clientWidth*c.x,height:o.clientHeight*c.y,x:s*c.x,y:i*c.y}})(t,r)):Or((function(o){const a=wr(o),l=Yi(o),i=o.ownerDocument.body,s=ha(a.scrollWidth,a.clientWidth,i.scrollWidth,i.clientWidth),c=ha(a.scrollHeight,a.clientHeight,i.scrollHeight,i.clientHeight);let u=-l.scrollLeft+ly(o);const d=-l.scrollTop;return Rn(i).direction==="rtl"&&(u+=ha(a.clientWidth,i.clientWidth)-s),{width:s,height:c,x:u,y:d}})(wr(e)))}function Lp(e){return Fn(e)&&Rn(e).position!=="fixed"?e.offsetParent:null}function Pp(e){const t=cn(e);let r=Lp(e);for(;r&&DF(r)&&Rn(r).position==="static";)r=Lp(r);return r&&(Er(r)==="html"||Er(r)==="body"&&Rn(r).position==="static"&&!lu(r))?t:r||(function(o){let a=Ia(o);for(;Fn(a)&&!Ed(a);){if(lu(a))return a;a=Ia(a)}return null})(e)||t}function AF(e,t,r){const o=Fn(t),a=wr(t),l=Pa(e,!0,r==="fixed",t);let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(o||!o&&r!=="fixed")if((Er(t)!=="body"||Gi(a))&&(i=Yi(t)),Fn(t)){const c=Pa(t,!0);s.x=c.x+t.clientLeft,s.y=c.y+t.clientTop}else a&&(s.x=ly(a));return{x:l.left+i.scrollLeft-s.x,y:l.top+i.scrollTop-s.y,width:l.width,height:l.height}}var MF={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:o,strategy:a}=e;const l=[...r==="clippingAncestors"?(function(c,u){const d=u.get(c);if(d)return d;let f=mi(c).filter((y=>_r(y)&&Er(y)!=="body")),m=null;const p=Rn(c).position==="fixed";let h=p?Ia(c):c;for(;_r(h)&&!Ed(h);){const y=Rn(h),b=lu(h);(p?b||m:b||y.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=y:f=f.filter((g=>g!==h)),h=Ia(h)}return u.set(c,f),f})(t,this._c):[].concat(r),o],i=l[0],s=l.reduce(((c,u)=>{const d=Mp(t,u,a);return c.top=ha(d.top,c.top),c.right=Dp(d.right,c.right),c.bottom=Dp(d.bottom,c.bottom),c.left=ha(d.left,c.left),c}),Mp(t,i,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:o}=e;const a=Fn(r),l=wr(r);if(r===l)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const c={x:0,y:0};if((a||!a&&o!=="fixed")&&((Er(r)!=="body"||Gi(l))&&(i=Yi(r)),Fn(r))){const u=Pa(r);s=Eo(r),c.x=u.x+r.clientLeft,c.y=u.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+c.x,y:t.y*s.y-i.scrollTop*s.y+c.y}},isElement:_r,getDimensions:function(e){return Fn(e)?ey(e):e.getBoundingClientRect()},getOffsetParent:Pp,getDocumentElement:wr,getScale:Eo,async getElementRects(e){let{reference:t,floating:r,strategy:o}=e;const a=this.getOffsetParent||Pp,l=this.getDimensions;return{reference:AF(t,await a(r),o),floating:{x:0,y:0,...await l(r)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Rn(e).direction==="rtl"},LF=(e,t,r)=>{const o=new Map,a={platform:MF,...r},l={...a.platform,_c:o};return w0(e,t,{...a,platform:l})};function sy(e,t){for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(typeof t[r]=="object"&&e[r]?sy(e[r],t[r]):e[r]=t[r])}var wn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Va(e,t){let r=wn.themes[e]||{},o;do o=r[t],typeof o>"u"?r.$extend?r=wn.themes[r.$extend]||{}:(r=null,o=wn[t]):r=null;while(r);return o}function PF(e){const t=[e];let r=wn.themes[e]||{};do r.$extend&&!r.$resetCss?(t.push(r.$extend),r=wn.themes[r.$extend]||{}):r=null;while(r);return t.map(o=>`v-popper--theme-${o}`)}function Ip(e){const t=[e];let r=wn.themes[e]||{};do r.$extend?(t.push(r.$extend),r=wn.themes[r.$extend]||{}):r=null;while(r);return t}var Ao=!1;if(typeof window<"u"){Ao=!1;try{const e=Object.defineProperty({},"passive",{get(){Ao=!0}});window.addEventListener("test",null,e)}catch{}}var cy=!1;typeof window<"u"&&typeof navigator<"u"&&(cy=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var uy=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Vp={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Op={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Rp(e,t){const r=e.indexOf(t);r!==-1&&e.splice(r,1)}function qs(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}var yn=[],Dr=null,Fp={};function zp(e){let t=Fp[e];return t||(t=Fp[e]=[]),t}var iu=function(){};typeof window<"u"&&(iu=window.Element);function Oe(e){return function(t){return Va(t.theme,e)}}var Gs="__floating-vue__popper",dy=()=>(0,n.defineComponent)({name:"VPopper",provide(){return{[Gs]:{parentPopper:this}}},inject:{[Gs]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Oe("disabled")},positioningDisabled:{type:Boolean,default:Oe("positioningDisabled")},placement:{type:String,default:Oe("placement"),validator:e=>uy.includes(e)},delay:{type:[String,Number,Object],default:Oe("delay")},distance:{type:[Number,String],default:Oe("distance")},skidding:{type:[Number,String],default:Oe("skidding")},triggers:{type:Array,default:Oe("triggers")},showTriggers:{type:[Array,Function],default:Oe("showTriggers")},hideTriggers:{type:[Array,Function],default:Oe("hideTriggers")},popperTriggers:{type:Array,default:Oe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Oe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Oe("popperHideTriggers")},container:{type:[String,Object,iu,Boolean],default:Oe("container")},boundary:{type:[String,iu],default:Oe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Oe("strategy")},autoHide:{type:[Boolean,Function],default:Oe("autoHide")},handleResize:{type:Boolean,default:Oe("handleResize")},instantMove:{type:Boolean,default:Oe("instantMove")},eagerMount:{type:Boolean,default:Oe("eagerMount")},popperClass:{type:[String,Array,Object],default:Oe("popperClass")},computeTransformOrigin:{type:Boolean,default:Oe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Oe("autoMinSize")},autoSize:{type:[Boolean,String],default:Oe("autoSize")},autoMaxSize:{type:Boolean,default:Oe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Oe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Oe("preventOverflow")},overflowPadding:{type:[Number,String],default:Oe("overflowPadding")},arrowPadding:{type:[Number,String],default:Oe("arrowPadding")},arrowOverflow:{type:Boolean,default:Oe("arrowOverflow")},flip:{type:Boolean,default:Oe("flip")},shift:{type:Boolean,default:Oe("shift")},shiftCrossAxis:{type:Boolean,default:Oe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Oe("noAutoFocus")},disposeTimeout:{type:Number,default:Oe("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Gs])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize,this.autoMaxSize},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:r=!1}={}){var o,a;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(r||!this.disabled)&&(((a=this.parentPopper)==null?void 0:a.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var r;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(E0({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(k0({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(C0({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push($0({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(zx({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:a,middlewareData:l})=>{let i;const{centerOffset:s}=l.arrow;return o.startsWith("top")||o.startsWith("bottom")?i=Math.abs(s)>a.reference.width/2:i=Math.abs(s)>a.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:a,placement:l,middlewareData:i})=>{var s;if((s=i.autoSize)!=null&&s.skip)return{};let c,u;return l.startsWith("top")||l.startsWith("bottom")?c=a.reference.width:u=a.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(jx({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:o,availableHeight:a})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=a!=null?`${a}px`:null}})));const r=await LF(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:r.x,y:r.y,placement:r.placement,strategy:r.strategy,arrow:{...r.middlewareData.arrow,...r.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Dr&&this.instantMove&&Dr.instantMove&&Dr!==this.parentPopper){Dr.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Dr=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await qs(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...mi(this.$_referenceNode),...mi(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),r=this.$_popperNode.querySelector(".v-popper__wrapper"),o=r.parentNode.getBoundingClientRect(),a=t.x+t.width/2-(o.left+r.offsetLeft),l=t.y+t.height/2-(o.top+r.offsetTop);this.result.transformOrigin=`${a}px ${l}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let r=0;r<yn.length;r++)t=yn[r],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}yn.push(this),document.body.classList.add("v-popper--some-open");for(const t of Ip(this.theme))zp(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await qs(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Rp(yn,this),yn.length===0&&document.body.classList.remove("v-popper--some-open");for(const r of Ip(this.theme)){const o=zp(r);Rp(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${r}`)}Dr===this&&(Dr=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await qs(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=r=>{this.isShown&&!this.$_hideInProgress||(r.usedByTooltip=!0,!this.$_preventShow&&this.show({event:r}))};this.$_registerTriggerListeners(this.$_targetNodes,Vp,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Vp,this.popperTriggers,this.popperShowTriggers,e);const t=r=>{r.usedByTooltip||this.hide({event:r})};this.$_registerTriggerListeners(this.$_targetNodes,Op,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Op,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,r){this.$_events.push({targetNodes:e,eventType:t,handler:r}),e.forEach(o=>o.addEventListener(t,r,Ao?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,r,o,a){let l=r;o!=null&&(l=typeof o=="function"?o(l):o),l.forEach(i=>{const s=t[i];s&&this.$_registerEventListeners(e,s,a)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(r=>{const{targetNodes:o,eventType:a,handler:l}=r;!e||e===a?o.forEach(i=>i.removeEventListener(a,l)):t.push(r)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const r of this.$_targetNodes){const o=r.getAttribute(e);o&&(r.removeAttribute(e),r.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const r in e){const o=e[r];o==null?t.removeAttribute(r):t.setAttribute(r,o)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(ga>=e.left&&ga<=e.right&&va>=e.top&&va<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),r=ga-fr,o=va-mr,a=t.left+t.width/2-fr+(t.top+t.height/2)-mr+t.width+t.height,l=fr+r*a,i=mr+o*a;return _l(fr,mr,l,i,t.left,t.top,t.left,t.bottom)||_l(fr,mr,l,i,t.left,t.top,t.right,t.top)||_l(fr,mr,l,i,t.right,t.top,t.right,t.bottom)||_l(fr,mr,l,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(cy){const e=Ao?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Up(t,!0),e),document.addEventListener("touchend",t=>Hp(t,!0),e)}else window.addEventListener("mousedown",e=>Up(e,!1),!0),window.addEventListener("click",e=>Hp(e,!1),!0);window.addEventListener("resize",VF)}function Up(e,t){if(wn.autoHideOnMousedown)fy(e,t);else for(let r=0;r<yn.length;r++){const o=yn[r];try{o.mouseDownContains=o.popperNode().contains(e.target)}catch{}}}function Hp(e,t){wn.autoHideOnMousedown||fy(e,t)}function fy(e,t){const r={};for(let o=yn.length-1;o>=0;o--){const a=yn[o];try{const l=a.containsGlobalTarget=a.mouseDownContains||a.popperNode().contains(e.target);a.pendingHide=!1,requestAnimationFrame(()=>{if(a.pendingHide=!1,!r[a.randomId]&&Wp(a,l,e)){if(a.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&l){let s=a.parentPopper;for(;s;)r[s.randomId]=!0,s=s.parentPopper;return}let i=a.parentPopper;for(;i&&Wp(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Wp(e,t,r){return r.closeAllPopover||r.closePopover&&t||IF(e,r)&&!t}function IF(e,t){if(typeof e.autoHide=="function"){const r=e.autoHide(t);return e.lastAutoHide=r,r}return e.autoHide}function VF(){for(let e=0;e<yn.length;e++)yn[e].$_computePosition()}var fr=0,mr=0,ga=0,va=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{fr=ga,mr=va,ga=e.clientX,va=e.clientY},Ao?{passive:!0}:void 0);function _l(e,t,r,o,a,l,i,s){const c=((i-a)*(t-l)-(s-l)*(e-a))/((s-l)*(r-e)-(i-a)*(o-t)),u=((r-e)*(t-l)-(o-t)*(e-a))/((s-l)*(r-e)-(i-a)*(o-t));return c>=0&&c<=1&&u>=0&&u<=1}var OF={extends:dy()},Xi=(e,t)=>{const r=e.__vccOpts||e;for(const[o,a]of t)r[o]=a;return r};function RF(e,t,r,o,a,l){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{ref:"reference",class:(0,n.normalizeClass)(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[(0,n.renderSlot)(e.$slots,"default",(0,n.normalizeProps)((0,n.guardReactiveProps)(e.slotData)))],2)}var FF=Xi(OF,[["render",RF]]);function zF(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}var Rl;function su(){su.init||(su.init=!0,Rl=zF()!==-1)}var Ki={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){su(),(0,n.nextTick)(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Rl&&this.$el.appendChild(e),e.data="about:blank",Rl||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Rl&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},UF=(0,n.withScopeId)("data-v-b329ee4c");(0,n.pushScopeId)("data-v-b329ee4c");var HF={class:"resize-observer",tabindex:"-1"};(0,n.popScopeId)();Ki.render=UF((e,t,r,o,a,l)=>((0,n.openBlock)(),(0,n.createBlock)("div",HF)));Ki.__scopeId="data-v-b329ee4c";Ki.__file="src/components/ResizeObserver.vue";var my=(e="theme")=>({computed:{themeClass(){return PF(this[e])}}}),WF=(0,n.defineComponent)({name:"VPopperContent",components:{ResizeObserver:Ki},mixins:[my()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),jF=["id","aria-hidden","tabindex","data-popper-placement"],qF={ref:"inner",class:"v-popper__inner"},GF=[(0,n.createElementVNode)("div",{class:"v-popper__arrow-outer"},null,-1),(0,n.createElementVNode)("div",{class:"v-popper__arrow-inner"},null,-1)];function YF(e,t,r,o,a,l){const i=(0,n.resolveComponent)("ResizeObserver");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{id:e.popperId,ref:"popover",class:(0,n.normalizeClass)(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:(0,n.normalizeStyle)(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=(0,n.withKeys)(s=>e.autoHide&&e.$emit("hide"),["esc"]))},[(0,n.createElementVNode)("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=s=>e.autoHide&&e.$emit("hide"))}),(0,n.createElementVNode)("div",{class:"v-popper__wrapper",style:(0,n.normalizeStyle)(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[(0,n.createElementVNode)("div",qF,[e.mounted?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[(0,n.createElementVNode)("div",null,[(0,n.renderSlot)(e.$slots,"default")]),e.handleResize?((0,n.openBlock)(),(0,n.createBlock)(i,{key:0,onNotify:t[1]||(t[1]=s=>e.$emit("resize",s))})):(0,n.createCommentVNode)("",!0)],64)):(0,n.createCommentVNode)("",!0)],512),(0,n.createElementVNode)("div",{ref:"arrow",class:"v-popper__arrow-container",style:(0,n.normalizeStyle)(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},GF,4)],4)],46,jF)}var py=Xi(WF,[["render",YF]]),hy={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},cu=function(){};typeof window<"u"&&(cu=window.Element);var XF=(0,n.defineComponent)({name:"VPopperWrapper",components:{Popper:FF,PopperContent:py},mixins:[hy,my("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,cu,Boolean],default:void 0},boundary:{type:[String,cu],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function KF(e,t,r,o,a,l){const i=(0,n.resolveComponent)("PopperContent"),s=(0,n.resolveComponent)("Popper");return(0,n.openBlock)(),(0,n.createBlock)(s,(0,n.mergeProps)({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=c=>e.$emit("update:shown",c)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:(0,n.withCtx)(({popperId:c,isShown:u,shouldMountContent:d,skipTransition:f,autoHide:m,show:p,hide:h,handleResize:y,onResize:b,classes:g,result:v})=>[(0,n.renderSlot)(e.$slots,"default",{shown:u,show:p,hide:h}),(0,n.createVNode)(i,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:u,mounted:d,"skip-transition":f,"auto-hide":m,"handle-resize":y,classes:g,result:v,onHide:h,onResize:b},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,"popper",{shown:u,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}var Cd=Xi(XF,[["render",KF]]),JF={...Cd,name:"VDropdown",vPopperTheme:"dropdown"},ZF={...Cd,name:"VMenu",vPopperTheme:"menu"},QF={...Cd,name:"VTooltip",vPopperTheme:"tooltip"},ez=(0,n.defineComponent)({name:"VTooltipDirective",components:{Popper:dy(),PopperContent:py},mixins:[hy],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Va(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Va(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,r=this.content(this);r.then?r.then(o=>this.onResult(t,o)):this.onResult(t,r)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),tz=["innerHTML"],nz=["textContent"];function rz(e,t,r,o,a,l){const i=(0,n.resolveComponent)("PopperContent"),s=(0,n.resolveComponent)("Popper");return(0,n.openBlock)(),(0,n.createBlock)(s,(0,n.mergeProps)({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:(0,n.withCtx)(({popperId:c,isShown:u,shouldMountContent:d,skipTransition:f,autoHide:m,hide:p,handleResize:h,onResize:y,classes:b,result:g})=>[(0,n.createVNode)(i,{ref:"popperContent",class:(0,n.normalizeClass)({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:u,mounted:d,"skip-transition":f,"auto-hide":m,"handle-resize":h,classes:b,result:g,onHide:p,onResize:y},{default:(0,n.withCtx)(()=>[e.html?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,innerHTML:e.finalContent},null,8,tz)):((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,textContent:(0,n.toDisplayString)(e.finalContent)},null,8,nz))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}var oz=Xi(ez,[["render",rz]]),gy="v-popper--has-tooltip";function az(e,t){let r=e.placement;if(!r&&t)for(const o of uy)t[o]&&(r=o);return r||(r=Va(e.theme||"tooltip","placement")),r}function vy(e,t,r){let o;const a=typeof t;return a==="string"?o={content:t}:t&&a==="object"?o=t:o={content:!1},o.placement=az(o,r),o.targetNodes=()=>[e],o.referenceNode=()=>e,o}var Ys,Oa,lz=0;function iz(){if(Ys)return;Oa=(0,n.ref)([]),Ys=(0,n.createApp)({name:"VTooltipDirectiveApp",setup(){return{directives:Oa}},render(){return this.directives.map(t=>(0,n.h)(oz,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ys.mount(e)}function sz(e,t,r){iz();const o=(0,n.ref)(vy(e,t,r)),a=(0,n.ref)(!1),l={id:lz++,options:o,shown:a};return Oa.value.push(l),e.classList&&e.classList.add(gy),e.$_popper={options:o,item:l,show(){a.value=!0},hide(){a.value=!1}}}function yy(e){if(e.$_popper){const t=Oa.value.indexOf(e.$_popper.item);t!==-1&&Oa.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(gy)}function jp(e,{value:t,modifiers:r}){const o=vy(e,t,r);if(!o.content||Va(o.theme||"tooltip","disabled"))yy(e);else{let a;e.$_popper?(a=e.$_popper,a.options.value=o):a=sz(e,t,r),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?a.show():a.hide())}}var cz={beforeMount:jp,updated:jp,beforeUnmount(e){yy(e)}};function qp(e){e.addEventListener("mousedown",pi),e.addEventListener("click",pi),e.addEventListener("touchstart",by,Ao?{passive:!0}:!1)}function Gp(e){e.removeEventListener("mousedown",pi),e.removeEventListener("click",pi),e.removeEventListener("touchstart",by),e.removeEventListener("touchend",_y),e.removeEventListener("touchcancel",wy)}function pi(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function by(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0,t.$_vclosepopover_touchPoint=e.changedTouches[0],t.addEventListener("touchend",_y),t.addEventListener("touchcancel",wy)}}function _y(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const r=e.changedTouches[0],o=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(r.screenY-o.screenY)<20&&Math.abs(r.screenX-o.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function wy(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}var uz={beforeMount(e,{value:t,modifiers:r}){e.$_closePopoverModifiers=r,(typeof t>"u"||t)&&qp(e)},updated(e,{value:t,oldValue:r,modifiers:o}){e.$_closePopoverModifiers=o,t!==r&&(typeof t>"u"||t?qp(e):Gp(e))},beforeUnmount(e){Gp(e)}};function dz(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,sy(wn,t),e.directive("tooltip",cz),e.directive("close-popper",uz),e.component("VTooltip",QF),e.component("VDropdown",JF),e.component("VMenu",ZF))}var fz={version:"5.2.2",install:dz,options:wn},mz=["src"],pz=(0,n.defineComponent)({__name:"LightboxImage",props:{src:{}},setup(e){const t=e,{imageSrc:r}=fd(()=>t.src);return(o,a)=>((0,n.openBlock)(),(0,n.createElementBlock)("img",{draggable:!1,src:(0,n.unref)(r),alt:"Preview",class:"lightbox-image"},null,8,mz))}}),hz=pz,gz={key:0,class:"center"},vz={key:3},yz={class:"bgl-lightbox-item"},bz={key:2,class:"lightbox-pdf"},_z=["src","title"],wz={key:3,class:"lightbox-file"},kz={class:"file-info txt-white flex m_block align-items-start gap-025"},$z={class:"txt-start"},Ez={class:"mx-0 light"},Cz={class:"semi word-break-all"},Sz={class:"mx-0"},xz={class:"semi"},Tz=(0,n.defineComponent)({__name:"Lightbox",setup(e,{expose:t}){const r=(0,n.ref)(!1),o=(0,n.ref)([]),a=(0,n.ref)(0),l=(0,n.computed)(()=>o.value[a.value]),i=(0,n.ref)(1),s=(0,n.computed)(()=>i.value===1),c=(0,n.computed)(()=>({allowTouchMove:i.value===1,touchRatio:i.value===1?1:0,simulateTouch:i.value===1}));function u(m,p){r.value=!0,o.value=p||[m],a.value=o.value.findIndex(h=>{const y=m.src!==void 0&&m.src!==null&&m.src!==""&&h.src===m.src,b=m.pathKey!==void 0&&m.pathKey!==null&&m.pathKey!==""&&h.pathKey===m.pathKey;return y||b}),a.value===-1&&(a.value=0),i.value=1}function d(){r.value=!1}Hi(d,r);function f(m){a.value=m,i.value=1}return(0,n.watch)(()=>r.value,m=>{m?document.body.style.overflow="hidden":document.body.style.overflow=""}),(0,n.watch)(()=>a.value,()=>{i.value=1}),t({open:u,close:d}),(m,p)=>((0,n.openBlock)(),(0,n.createBlock)(n.Transition,{name:"fade"},{default:(0,n.withCtx)(()=>[r.value?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:0,class:"bgl-lightbox-overlay",onKeydown:(0,n.withKeys)(d,["esc"])},[(0,n.createElementVNode)("div",{class:"flex start w-100 space-between p-025 z-9",onClick:d},[(0,n.createVNode)((0,n.unref)(oe),{flat:"",class:"color-white",icon:"close",onClick:d}),l.value?.enableZoom&&l.value?.type==="image"?((0,n.openBlock)(),(0,n.createElementBlock)("div",gz,[(0,n.createVNode)((0,n.unref)(oe),{flat:"",class:"color-white",icon:"remove",disabled:i.value===1,onClick:p[0]||(p[0]=h=>i.value--)},null,8,["disabled"]),(0,n.createVNode)((0,n.unref)(oe),{flat:"",class:"color-white",icon:"zoom_in",disabled:i.value===1,onClick:p[1]||(p[1]=h=>i.value=1)},null,8,["disabled"]),(0,n.createVNode)((0,n.unref)(oe),{flat:"",class:"color-white",icon:"add",disabled:i.value===3,onClick:p[2]||(p[2]=h=>i.value++)},null,8,["disabled"])])):(0,n.createCommentVNode)("",!0),l.value?.openFile&&l.value?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:1,class:"color-white",round:"",thin:"",flat:"",iconEnd:"arrow_outward",value:"$t:lightbox.openFile",href:l.value?.src,target:"_blank"},null,8,["href"])):(0,n.createCommentVNode)("",!0),l.value?.download&&l.value?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(oe),{key:2,class:"color-white",round:"",thin:"",flat:"",icon:"download",value:"Download File",onClick:p[3]||(p[3]=h=>(0,n.unref)(dd)(l.value?.src))})):(0,n.createCommentVNode)("",!0),!l.value?.openFile&&!l.value?.download?((0,n.openBlock)(),(0,n.createElementBlock)("div",vz)):(0,n.createCommentVNode)("",!0)]),o.value&&o.value.length>0?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(vv),{key:0,index:a.value,"onUpdate:index":p[6]||(p[6]=h=>a.value=h),items:o.value,"initial-slide":a.value,class:(0,n.normalizeClass)(["bgl-lightbox-swiper",{zoomed:i.value>1}]),navigation:o.value.length>1,"grab-cursor":s.value,keyboard:!0,loop:!1,speed:400,"slides-per-view":1,"space-between":0,effect:"slide","advanced-options":c.value,onClick:p[7]||(p[7]=(0,n.withModifiers)(()=>{},["stop"]))},{default:(0,n.withCtx)(({item:h})=>[(0,n.createElementVNode)("div",yz,[h.type==="image"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(yv),{key:0,zoom:i.value,"onUpdate:zoom":p[4]||(p[4]=y=>i.value=y),disabled:!h?.enableZoom,"mouse-wheel-to-zoom":!1,"double-click-to-zoom":!0,"max-scale":5,"min-scale":1,"aspect-ratio":0,"limit-translation":!0,onClick:p[5]||(p[5]=(0,n.withModifiers)(()=>{},["stop"]))},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(hz,{src:h?.src},null,8,["src"])]),_:2},1032,["zoom","disabled"])):h?.type==="video"&&h?.src?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Nu),{key:1,src:h?.src,autoplay:"",controls:"",class:"lightbox-video"},null,8,["src"])):h?.type==="pdf"&&h?.src?((0,n.openBlock)(),(0,n.createElementBlock)("div",bz,[(0,n.createElementVNode)("embed",{src:(0,n.unref)(ud)(h?.src),type:"application/pdf",title:h?.name},null,8,_z)])):((0,n.openBlock)(),(0,n.createElementBlock)("div",wz,[(0,n.createElementVNode)("div",kz,[(0,n.createVNode)((0,n.unref)(_e),{class:"m-0 m_none",icon:"draft",size:10,weight:"12"}),(0,n.createVNode)((0,n.unref)(_e),{class:"m-0 none m_block m_-mb-1",icon:"draft",size:4,weight:"2"}),(0,n.createElementVNode)("div",$z,[(0,n.createElementVNode)("p",Ez,[p[9]||(p[9]=(0,n.createTextVNode)(" File: ",-1)),(0,n.createElementVNode)("span",Cz,(0,n.toDisplayString)(h?.name),1)]),(0,n.createElementVNode)("p",Sz,[p[10]||(p[10]=(0,n.createTextVNode)(" Type: ",-1)),(0,n.createElementVNode)("span",xz,(0,n.toDisplayString)(h?.type),1)]),(0,n.createVNode)((0,n.unref)(oe),{href:h?.src,target:"_blank",round:"",thin:"",class:"mt-1",value:"Open file"},null,8,["href"])])])]))])]),"prev-button":(0,n.withCtx)(({prev:h})=>[(0,n.createVNode)((0,n.unref)(oe),{icon:"arrow_back",color:"black",onClick:h},null,8,["onClick"])]),"next-button":(0,n.withCtx)(({next:h})=>[(0,n.createVNode)((0,n.unref)(oe),{icon:"arrow_forward",color:"black",onClick:h},null,8,["onClick"])]),_:1},8,["index","items","initial-slide","class","navigation","grab-cursor","advanced-options"])):(0,n.createCommentVNode)("",!0),o.value&&o.value.length>1?((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:1,class:"lightbox-thumbnails",onClick:p[8]||(p[8]=(0,n.withModifiers)(()=>{},["stop"]))},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(o.value,(h,y)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:y},[h.type==="image"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)($a),{key:0,class:(0,n.normalizeClass)(["thumbnail",{active:a.value===y}]),src:h.src,alt:"",onClick:(0,n.withModifiers)(b=>f(y),["stop"])},null,8,["src","class","onClick"])):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:1,class:(0,n.normalizeClass)(["thumbnail thumbnail-icon",{active:a.value===y}]),icon:"description",onClick:(0,n.withModifiers)(b=>f(y),["stop"])},null,8,["class","onClick"]))],64))),128))])):(0,n.createCommentVNode)("",!0)],32)):(0,n.createCommentVNode)("",!0)]),_:1}))}}),Nz=Tz,oa={},ao=e=>{},Bz={mounted(e,t){Yp(uu(t,e)),ao=r=>{Xp(r,e,t)},e.addEventListener("click",ao)},updated(e,t){Yp(uu(t,e)),e.removeEventListener("click",ao),ao=r=>{Xp(r,e,t)},e.addEventListener("click",ao)},unmounted(e){e.removeEventListener("click",ao)},getSSRProps(){return{}}};function Yp(e){e.group&&(oa[e.group]||(oa[e.group]=[]),oa[e.group].findIndex(t=>t.src===e.src)===-1&&oa[e.group].push(e))}function Xp(e,t,r){e.stopPropagation();const o=uu(r,t),a=Pz();if(!a||!a.open)return;const l=a.open;l(o,o&&o.group?oa[o.group]:void 0)}function uu(e,t){let{group:r,src:o,type:a,name:l,thumbnail:i,enableZoom:s,openFile:c,download:u,pathKey:d}=e.value||{};return o=gn(o||d)||e.value||t.getAttribute("src")||"",a=a||Lz(o),l=l||Mz(o)||t.getAttribute("alt")||"",{src:o,type:a,name:l,thumbnail:i,group:r,enableZoom:s,openFile:c,download:u}}var Dz=/youtube\.com|youtu\.be/,Az=/vimeo\.com/;function Mz(e){return!e||typeof e!="string"?"":(e.split("/").pop()||"").replace(/\.[^/.]+$/,"")}function Lz(e){if(typeof e!="string"||!e)return"unknown";if(e.startsWith("blob:")||/^data:image\//i.test(e))return"image";if(/^data:video\//i.test(e))return"video";const t=(e.split(".").pop()||"").toLowerCase(),r=e.split("?")[0].split(".").pop()?.toLowerCase()||"";return Xl.test(t)||Xl.test(r)?"image":z0.test(t)||Dz.test(e)||Az.test(e)?"video":["pdf"].includes(t)?"pdf":t??"unknown"}var Xs;function Pz(){if(!(typeof document>"u")){if(!Xs){const e=document.createElement("div");document.body.prepend(e),Xs=(0,n.createApp)(Nz).mount(e)}return Xs}}var Iz={install(e){e.directive("lightbox",Bz)}},Vz=Iz,Oz={beforeMount(e,t){e.clickOutsideEvent=r=>{e===r.target||e.contains(r.target)||t.value(r)},document.addEventListener("click",e.clickOutsideEvent)},unmounted(e){document.removeEventListener("click",e.clickOutsideEvent)}},ky=fh({EventBus:()=>Qi,POSITION:()=>Fa,TYPE:()=>zt,createToastInterface:()=>za,default:()=>Ry,globalEventBus:()=>Sd,provideToast:()=>CU,toastInjectionKey:()=>es,useToast:()=>Oy},1),Rz=Object.defineProperty,Kp=Object.getOwnPropertySymbols,Fz=Object.prototype.hasOwnProperty,zz=Object.prototype.propertyIsEnumerable,Jp=(e,t,r)=>t in e?Rz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$y=(e,t)=>{for(var r in t||(t={}))Fz.call(t,r)&&Jp(e,r,t[r]);if(Kp)for(var r of Kp(t))zz.call(t,r)&&Jp(e,r,t[r]);return e},Ji=e=>typeof e=="function",Zi=e=>typeof e=="string",Ey=e=>Zi(e)&&e.trim().length>0,Uz=e=>typeof e=="number",Vr=e=>typeof e>"u",Ra=e=>typeof e=="object"&&e!==null,Hz=e=>zn(e,"tag")&&Ey(e.tag),Cy=e=>window.TouchEvent&&e instanceof TouchEvent,Sy=e=>zn(e,"component")&&xy(e.component),Wz=e=>Ji(e)||Ra(e),xy=e=>!Vr(e)&&(Zi(e)||Wz(e)||Sy(e)),Zp=e=>Ra(e)&&["height","width","right","left","top","bottom"].every(t=>Uz(e[t])),zn=(e,t)=>(Ra(e)||Ji(e))&&t in e,jz=(e=>()=>e++)(0);function Ks(e){return Cy(e)?e.targetTouches[0].clientX:e.clientX}function Qp(e){return Cy(e)?e.targetTouches[0].clientY:e.clientY}var qz=e=>{Vr(e.remove)?e.parentNode&&e.parentNode.removeChild(e):e.remove()},nl=e=>Sy(e)?nl(e.component):Hz(e)?(0,n.defineComponent)({render(){return e}}):typeof e=="string"?e:(0,n.toRaw)((0,n.unref)(e)),Gz=e=>{if(typeof e=="string")return e;const t=zn(e,"props")&&Ra(e.props)?e.props:{},r=zn(e,"listeners")&&Ra(e.listeners)?e.listeners:{};return{component:nl(e),props:t,listeners:r}},Yz=()=>typeof window<"u",Qi=class{constructor(){this.allHandlers={}}getHandlers(e){return this.allHandlers[e]||[]}on(e,t){const r=this.getHandlers(e);r.push(t),this.allHandlers[e]=r}off(e,t){const r=this.getHandlers(e);r.splice(r.indexOf(t)>>>0,1)}emit(e,t){this.getHandlers(e).forEach(r=>r(t))}},Xz=e=>["on","off","emit"].every(t=>zn(e,t)&&Ji(e[t])),zt;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info",e.DEFAULT="default"})(zt||(zt={}));var Fa;(function(e){e.TOP_LEFT="top-left",e.TOP_CENTER="top-center",e.TOP_RIGHT="top-right",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_CENTER="bottom-center",e.BOTTOM_RIGHT="bottom-right"})(Fa||(Fa={}));var Zt;(function(e){e.ADD="add",e.DISMISS="dismiss",e.UPDATE="update",e.CLEAR="clear",e.UPDATE_DEFAULTS="update_defaults"})(Zt||(Zt={}));var Qn="Vue-Toastification",pn={type:{type:String,default:zt.DEFAULT},classNames:{type:[String,Array],default:()=>[]},trueBoolean:{type:Boolean,default:!0}},eh={type:pn.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},wl={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:pn.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},Js={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},th={transition:{type:[Object,String],default:`${Qn}__bounce`}},rr={CORE_TOAST:{position:{type:String,default:Fa.TOP_RIGHT},draggable:pn.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:pn.trueBoolean,pauseOnHover:pn.trueBoolean,closeOnClick:pn.trueBoolean,timeout:Js.timeout,hideProgressBar:Js.hideProgressBar,toastClassName:pn.classNames,bodyClassName:pn.classNames,icon:eh.customIcon,closeButton:wl.component,closeButtonClassName:wl.classNames,showCloseButtonOnHover:wl.showOnHover,accessibility:{type:Object,default:()=>({toastRole:"alert",closeButtonLabel:"close"})},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!1,default:()=>new Qi}},TOAST:{id:{type:[String,Number],required:!0,default:0},type:pn.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:void 0},onClose:{type:Function,default:void 0}},CONTAINER:{container:{type:[Object,Function],default:()=>document.body},newestOnTop:pn.trueBoolean,maxToasts:{type:Number,default:20},transition:th.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:e=>e},filterToasts:{type:Function,default:e=>e},containerClassName:pn.classNames,onMounted:Function,shareAppContext:[Boolean,Object]},PROGRESS_BAR:Js,ICON:eh,TRANSITION:th,CLOSE_BUTTON:wl},Ty=(0,n.defineComponent)({name:"VtProgressBar",props:rr.PROGRESS_BAR,data(){return{hasClass:!0}},computed:{style(){return{animationDuration:`${this.timeout}ms`,animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass(){return this.hasClass?`${Qn}__progress-bar`:""}},watch:{timeout(){this.hasClass=!1,this.$nextTick(()=>this.hasClass=!0)}},mounted(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded(){this.$emit("close-toast")}}});function Kz(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("div",{style:(0,n.normalizeStyle)(e.style),class:(0,n.normalizeClass)(e.cpClass)},null,6)}Ty.render=Kz;var Jz=Ty,Ny=(0,n.defineComponent)({name:"VtCloseButton",props:rr.CLOSE_BUTTON,computed:{buttonComponent(){return this.component!==!1?nl(this.component):"button"},classes(){const e=[`${Qn}__close-button`];return this.showOnHover&&e.push("show-on-hover"),e.concat(this.classNames)}}}),Zz=(0,n.createTextVNode)(" × ");function Qz(e,t){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.buttonComponent),(0,n.mergeProps)({"aria-label":e.ariaLabel,class:e.classes},e.$attrs),{default:(0,n.withCtx)(()=>[Zz]),_:1},16,["aria-label","class"])}Ny.render=Qz;var eU=Ny,By={},tU={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},nU=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1)];function rU(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",tU,nU)}By.render=rU;var oU=By,Dy={},aU={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},lU=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1)];function iU(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",aU,lU)}Dy.render=iU;var nh=Dy,Ay={},sU={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},cU=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1)];function uU(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",sU,cU)}Ay.render=uU;var dU=Ay,My={},fU={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},mU=[(0,n.createElementVNode)("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1)];function pU(e,t){return(0,n.openBlock)(),(0,n.createElementBlock)("svg",fU,mU)}My.render=pU;var hU=My,Ly=(0,n.defineComponent)({name:"VtIcon",props:rr.ICON,computed:{customIconChildren(){return zn(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass(){return Zi(this.customIcon)?this.trimValue(this.customIcon):zn(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag(){return zn(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon(){return this.customIconClass.length>0},component(){return this.hasCustomIcon?this.customIconTag:xy(this.customIcon)?nl(this.customIcon):this.iconTypeComponent},iconTypeComponent(){return{[zt.DEFAULT]:nh,[zt.INFO]:nh,[zt.SUCCESS]:oU,[zt.ERROR]:hU,[zt.WARNING]:dU}[this.type]},iconClasses(){const e=[`${Qn}__icon`];return this.hasCustomIcon?e.concat(this.customIconClass):e}},methods:{trimValue(e,t=""){return Ey(e)?e.trim():t}}});function gU(e,t){return(0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.component),{class:(0,n.normalizeClass)(e.iconClasses)},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.customIconChildren),1)]),_:1},8,["class"])}Ly.render=gU;var Py=(0,n.defineComponent)({name:"VtToast",components:{ProgressBar:Jz,CloseButton:eU,Icon:Ly},inheritAttrs:!1,props:Object.assign({},rr.CORE_TOAST,rr.TOAST),data(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes(){const e=[`${Qn}__toast`,`${Qn}__toast--${this.type}`,`${this.position}`].concat(this.toastClassName);return this.disableTransitions&&e.push("disable-transition"),this.rtl&&e.push(`${Qn}__toast--rtl`),e},bodyClasses(){return[`${Qn}__toast-${Zi(this.content)?"body":"component-body"}`].concat(this.bodyClassName)},draggableStyle(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:`translateX(${this.dragDelta}px)`,opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance(){return Zp(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{hasProp:zn,getVueComponentFromObj:nl,closeToast(){this.eventBus.emit(Zt.DISMISS,this.id)},clickHandler(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(!this.beingDragged||this.dragStart===this.dragPos.x)&&this.closeToast()},timeoutHandler(){this.closeToast()},hoverPause(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay(){this.pauseOnHover&&(this.isRunning=!0)},focusPause(){this.isRunning=!1},focusPlay(){this.isRunning=!0},focusSetup(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup(){const e=this.$el;e.addEventListener("touchstart",this.onDragStart,{passive:!0}),e.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup(){const e=this.$el;e.removeEventListener("touchstart",this.onDragStart),e.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart(e){this.beingDragged=!0,this.dragPos={x:Ks(e),y:Qp(e)},this.dragStart=Ks(e),this.dragRect=this.$el.getBoundingClientRect()},onDragMove(e){this.beingDragged&&(e.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:Ks(e),y:Qp(e)})},onDragEnd(){this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick(()=>this.closeToast())):setTimeout(()=>{this.beingDragged=!1,Zp(this.dragRect)&&this.pauseOnHover&&this.dragRect.bottom>=this.dragPos.y&&this.dragPos.y>=this.dragRect.top&&this.dragRect.left<=this.dragPos.x&&this.dragPos.x<=this.dragRect.right?this.isRunning=!1:this.isRunning=!0}))}}}),vU=["role"];function yU(e,t){const r=(0,n.resolveComponent)("Icon"),o=(0,n.resolveComponent)("CloseButton"),a=(0,n.resolveComponent)("ProgressBar");return(0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(e.classes),style:(0,n.normalizeStyle)(e.draggableStyle),onClick:t[0]||(t[0]=(...l)=>e.clickHandler&&e.clickHandler(...l)),onMouseenter:t[1]||(t[1]=(...l)=>e.hoverPause&&e.hoverPause(...l)),onMouseleave:t[2]||(t[2]=(...l)=>e.hoverPlay&&e.hoverPlay(...l))},[e.icon?((0,n.openBlock)(),(0,n.createBlock)(r,{key:0,"custom-icon":e.icon,type:e.type},null,8,["custom-icon","type"])):(0,n.createCommentVNode)("v-if",!0),(0,n.createElementVNode)("div",{role:e.accessibility.toastRole||"alert",class:(0,n.normalizeClass)(e.bodyClasses)},[typeof e.content=="string"?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[(0,n.createTextVNode)((0,n.toDisplayString)(e.content),1)],2112)):((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(e.getVueComponentFromObj(e.content)),(0,n.mergeProps)({key:1,"toast-id":e.id},e.hasProp(e.content,"props")?e.content.props:{},(0,n.toHandlers)(e.hasProp(e.content,"listeners")?e.content.listeners:{}),{onCloseToast:e.closeToast}),null,16,["toast-id","onCloseToast"]))],10,vU),e.closeButton?((0,n.openBlock)(),(0,n.createBlock)(o,{key:1,component:e.closeButton,"class-names":e.closeButtonClassName,"show-on-hover":e.showCloseButtonOnHover,"aria-label":e.accessibility.closeButtonLabel,onClick:(0,n.withModifiers)(e.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):(0,n.createCommentVNode)("v-if",!0),e.timeout?((0,n.openBlock)(),(0,n.createBlock)(a,{key:2,"is-running":e.isRunning,"hide-progress-bar":e.hideProgressBar,timeout:e.timeout,onCloseToast:e.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):(0,n.createCommentVNode)("v-if",!0)],38)}Py.render=yU;var bU=Py,Iy=(0,n.defineComponent)({name:"VtTransition",props:rr.TRANSITION,emits:["leave"],methods:{hasProp:zn,leave(e){e instanceof HTMLElement&&(e.style.left=e.offsetLeft+"px",e.style.top=e.offsetTop+"px",e.style.width=getComputedStyle(e).width,e.style.position="absolute")}}});function _U(e,t){return(0,n.openBlock)(),(0,n.createBlock)(n.TransitionGroup,{tag:"div","enter-active-class":e.transition.enter?e.transition.enter:`${e.transition}-enter-active`,"move-class":e.transition.move?e.transition.move:`${e.transition}-move`,"leave-active-class":e.transition.leave?e.transition.leave:`${e.transition}-leave-active`,onLeave:e.leave},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,"default")]),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])}Iy.render=_U;var Vy=(0,n.defineComponent)({name:"VueToastification",devtools:{hide:!0},components:{Toast:bU,VtTransition:Iy},props:Object.assign({},rr.CORE_TOAST,rr.CONTAINER,rr.TRANSITION),data(){return{count:0,positions:Object.values(Fa),toasts:{},defaults:{}}},computed:{toastArray(){return Object.values(this.toasts)},filteredToasts(){return this.defaults.filterToasts(this.toastArray)}},beforeMount(){const e=this.eventBus;e.on(Zt.ADD,this.addToast),e.on(Zt.CLEAR,this.clearToasts),e.on(Zt.DISMISS,this.dismissToast),e.on(Zt.UPDATE,this.updateToast),e.on(Zt.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted(){this.setup(this.container)},methods:{async setup(e){Ji(e)&&(e=await e()),qz(this.$el),e.appendChild(this.$el)},setToast(e){Vr(e.id)||(this.toasts[e.id]=e)},addToast(e){e.content=Gz(e.content);const t=Object.assign({},this.defaults,e.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[e.type],e),r=this.defaults.filterBeforeCreate(t,this.toastArray);r&&this.setToast(r)},dismissToast(e){const t=this.toasts[e];!Vr(t)&&!Vr(t.onClose)&&t.onClose(),delete this.toasts[e]},clearToasts(){Object.keys(this.toasts).forEach(e=>{this.dismissToast(e)})},getPositionToasts(e){const t=this.filteredToasts.filter(r=>r.position===e).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?t.reverse():t},updateDefaults(e){Vr(e.container)||this.setup(e.container),this.defaults=Object.assign({},this.defaults,e)},updateToast({id:e,options:t,create:r}){this.toasts[e]?(t.timeout&&t.timeout===this.toasts[e].timeout&&t.timeout++,this.setToast(Object.assign({},this.toasts[e],t))):r&&this.addToast(Object.assign({},{id:e},t))},getClasses(e){return[`${Qn}__container`,e].concat(this.defaults.containerClassName)}}});function wU(e,t){const r=(0,n.resolveComponent)("Toast"),o=(0,n.resolveComponent)("VtTransition");return(0,n.openBlock)(),(0,n.createElementBlock)("div",null,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.positions,a=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{key:a},[(0,n.createVNode)(o,{transition:e.defaults.transition,class:(0,n.normalizeClass)(e.getClasses(a))},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.getPositionToasts(a),l=>((0,n.openBlock)(),(0,n.createBlock)(r,(0,n.mergeProps)({key:l.id},l),null,16))),128))]),_:2},1032,["transition","class"])]))),128))])}Vy.render=wU;var kU=Vy,rh=(e={},t=!0)=>{const r=e.eventBus=e.eventBus||new Qi;t&&(0,n.nextTick)(()=>{const l=(0,n.createApp)(kU,$y({},e)),i=l.mount(document.createElement("div")),s=e.onMounted;if(Vr(s)||s(i,l),e.shareAppContext){const c=e.shareAppContext;c===!0||(l._context.components=c._context.components,l._context.directives=c._context.directives,l._context.mixins=c._context.mixins,l._context.provides=c._context.provides,l.config.globalProperties=c.config.globalProperties)}});const o=(l,i)=>{const s=Object.assign({},{id:jz(),type:zt.DEFAULT},i,{content:l});return r.emit(Zt.ADD,s),s.id};o.clear=()=>r.emit(Zt.CLEAR,void 0),o.updateDefaults=l=>{r.emit(Zt.UPDATE_DEFAULTS,l)},o.dismiss=l=>{r.emit(Zt.DISMISS,l)};function a(l,{content:i,options:s},c=!1){const u=Object.assign({},s,{content:i});r.emit(Zt.UPDATE,{id:l,options:u,create:c})}return o.update=a,o.success=(l,i)=>o(l,Object.assign({},i,{type:zt.SUCCESS})),o.info=(l,i)=>o(l,Object.assign({},i,{type:zt.INFO})),o.error=(l,i)=>o(l,Object.assign({},i,{type:zt.ERROR})),o.warning=(l,i)=>o(l,Object.assign({},i,{type:zt.WARNING})),o},$U=()=>{const e=()=>{};return new Proxy(e,{get(){return e}})};function za(e){return Yz()?Xz(e)?rh({eventBus:e},!1):rh(e,!0):$U()}var es=Symbol("VueToastification"),Sd=new Qi,EU=(e,t)=>{t?.shareAppContext===!0&&(t.shareAppContext=e);const r=za($y({eventBus:Sd},t));e.provide(es,r)},CU=e=>{const t=za(e);(0,n.getCurrentInstance)()&&(0,n.provide)(es,t)},Oy=e=>{if(e)return za(e);const t=(0,n.getCurrentInstance)()?(0,n.inject)(es,void 0):void 0;return t||za(Sd)},Ry=EU,SU={key:0,class:"custom-toast__icon"},xU={class:"custom-toast__content"},TU=(0,n.defineComponent)({name:"BglToast",__name:"Toast",props:{message:{},type:{},info:{type:Boolean},success:{type:Boolean},warning:{type:Boolean},error:{type:Boolean},showIcon:{type:Boolean,default:!0},showCloseButton:{type:Boolean,default:!0},closeToast:{}},setup(e){const t=e,r=(0,n.computed)(()=>t.type?t.type:t.error?"error":t.warning?"warning":t.success?"success":"info");return(o,a)=>((0,n.openBlock)(),(0,n.createElementBlock)("div",{class:(0,n.normalizeClass)(["custom-toast",`custom-toast--${r.value}`])},[e.showIcon?((0,n.openBlock)(),(0,n.createElementBlock)("div",SU,[r.value==="success"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:0,icon:"check_circle"})):(0,n.createCommentVNode)("",!0),r.value==="error"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:1,icon:"dangerous"})):(0,n.createCommentVNode)("",!0),r.value==="warning"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:2,icon:"report"})):(0,n.createCommentVNode)("",!0),r.value==="info"?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_e),{key:3,icon:"info"})):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0),(0,n.createElementVNode)("div",xU,(0,n.toDisplayString)(e.message),1),e.showCloseButton?((0,n.openBlock)(),(0,n.createElementBlock)("button",{key:1,class:"custom-toast__close",onClick:a[0]||(a[0]=(...l)=>e.closeToast&&e.closeToast(...l))},[(0,n.createVNode)((0,n.unref)(_e),{icon:"close"})])):(0,n.createCommentVNode)("",!0)],2))}}),Jo=TU,NU=Ry||ky,{POSITION:BU}=ky,lo=Oy;const Fy=Symbol("toast");var hi=null;function DU(){const e=(0,n.inject)(Fy,null);if(!e){if(hi)return hi;throw new Error("Toast API not provided. Make sure ToastPlugin is installed via app.use(ToastPlugin)")}return e}function AU(){if(typeof document>"u")return;let e=document.getElementById("bgl-toast-container");e||(e=document.createElement("div"),e.setAttribute("popover","manual"),e.setAttribute("id","bgl-toast-container"),document.body.appendChild(e));try{e.hidePopover()}catch{}try{e.showPopover()}catch{}return e}const zy={install:(e,t={})=>{const r=AU(),o={position:BU.TOP_RIGHT,timeout:5e3,closeOnClick:!0,pauseOnFocusLoss:!0,pauseOnHover:!0,draggable:!0,draggablePercent:.6,showCloseButtonOnHover:!1,hideProgressBar:!0,closeButton:!1,icon:!1,rtl:!1,transition:"Vue-Toastification__fade",maxToasts:5,newestOnTop:!0,toastClassName:"custom-toast-wrapper",bodyClassName:"custom-toast-body",...r?{container:r}:{},...t};e.use(NU,o);function a(){const i=typeof document<"u"?document.getElementById("bgl-toast-container"):null;if(i){try{i.hidePopover()}catch{}try{i.showPopover()}catch{}}}const l={success:(i,s)=>(a(),lo()({component:Jo,props:{message:i,type:"success"}},s)),error:(i,s)=>(a(),lo()({component:Jo,props:{message:i,type:"error"}},s)),info:(i,s)=>(a(),lo()({component:Jo,props:{message:i,type:"info"}},s)),warning:(i,s)=>(a(),lo()({component:Jo,props:{message:i,type:"warning"}},s)),show:(i,s)=>(a(),lo()({component:Jo,props:{message:i,type:"info"}},s)),clear:()=>{lo().clear()}};hi||(hi=l),e.provide(Fy,l)}};var ts=class extends Event{oldState;newState;constructor(e,{oldState:t="",newState:r="",...o}={}){super(e,o),this.oldState=String(t||""),this.newState=String(r||"")}},oh=new WeakMap;function Uy(e,t,r){oh.set(e,setTimeout(()=>{oh.has(e)&&e.dispatchEvent(new ts("toggle",{cancelable:!1,oldState:t,newState:r}))},0))}var xd=globalThis.ShadowRoot||function(){},MU=globalThis.HTMLDialogElement||function(){},Fl=new WeakMap,er=new WeakMap,ln=new WeakMap,Mo=new WeakMap;function gi(e){return Mo.get(e)||"hidden"}var vi=new WeakMap;function Ua(e){return[...e].pop()}function LU(e){const t=e.popoverTargetElement;if(!(t instanceof HTMLElement))return;const r=gi(t);e.popoverTargetAction==="show"&&r==="showing"||e.popoverTargetAction==="hide"&&r==="hidden"||(r==="showing"?Po(t,!0,!0):Rr(t,!1)&&(vi.set(t,e),du(t)))}function Rr(e,t){return!(e.popover!=="auto"&&e.popover!=="manual"&&e.popover!=="hint"||!e.isConnected||t&&gi(e)!=="showing"||!t&&gi(e)!=="hidden"||e instanceof MU&&e.hasAttribute("open")||document.fullscreenElement===e)}function ah(e){if(!e)return 0;const t=er.get(document)||new Set,r=ln.get(document)||new Set;return r.has(e)?[...r].indexOf(e)+t.size+1:t.has(e)?[...t].indexOf(e)+1:0}function PU(e){const t=Hy(e),r=IU(e);return ah(t)>ah(r)?t:r}function Ha(e){let t;const r=ln.get(e)||new Set,o=er.get(e)||new Set,a=r.size>0?r:o.size>0?o:null;return a?(t=Ua(a),t.isConnected?t:(a.delete(t),Ha(e))):null}function lh(e){for(const t of e||[])if(!t.isConnected)e.delete(t);else return t;return null}function Lo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.parentNode?Lo(e.parentNode):e}function Hy(e){for(;e;){if(e instanceof HTMLElement&&e.popover==="auto"&&Mo.get(e)==="showing")return e;if(e=e instanceof Element&&e.assignedSlot||e.parentElement||Lo(e),e instanceof xd&&(e=e.host),e instanceof Document)return}}function IU(e){for(;e;){const t=e.popoverTargetElement;if(t instanceof HTMLElement)return t;if(e=e.parentElement||Lo(e),e instanceof xd&&(e=e.host),e instanceof Document)return}}function ih(e,t){const r=new Map;let o=0;for(const i of t||[])r.set(i,o),o+=1;r.set(e,o),o+=1;let a=null;function l(i){if(!i)return;let s=!1,c=null,u=null;for(;!s;){if(c=Hy(i)||null,c===null||!r.has(c))return;(e.popover==="hint"||c.popover==="auto")&&(s=!0),s||(i=c.parentElement)}u=r.get(c),(a===null||r.get(a)<u)&&(a=c)}return l(e.parentElement||Lo(e)),a}function VU(e){return e.hidden||e instanceof xd||(e instanceof HTMLButtonElement||e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement||e instanceof HTMLOptGroupElement||e instanceof HTMLOptionElement||e instanceof HTMLFieldSetElement)&&e.disabled||e instanceof HTMLInputElement&&e.type==="hidden"||e instanceof HTMLAnchorElement&&e.href===""?!1:typeof e.tabIndex=="number"&&e.tabIndex!==-1}function OU(e){if(e.shadowRoot&&e.shadowRoot.delegatesFocus!==!0)return null;let t=e;t.shadowRoot&&(t=t.shadowRoot);let r=t.querySelector("[autofocus]");if(r)return r;{const l=t.querySelectorAll("slot");for(const i of l){const s=i.assignedElements({flatten:!0});for(const c of s){if(c.hasAttribute("autofocus"))return c;if(r=c.querySelector("[autofocus]"),r)return r}}}const o=e.ownerDocument.createTreeWalker(t,NodeFilter.SHOW_ELEMENT);let a=o.currentNode;for(;a;){if(VU(a))return a;a=o.nextNode()}}function RU(e){var t;(t=OU(e))==null||t.focus()}var yi=new WeakMap;function du(e){if(!Rr(e,!1))return;const t=e.ownerDocument;if(!e.dispatchEvent(new ts("beforetoggle",{cancelable:!0,oldState:"closed",newState:"open"}))||!Rr(e,!1))return;let r=!1;const o=e.popover;let a=null;const l=ih(e,er.get(t)||new Set),i=ih(e,ln.get(t)||new Set);if(o==="auto"&&(fu(ln.get(t)||new Set,r,!0),Fr(l||t,r,!0),a="auto"),o==="hint"&&(i?(Fr(i,r,!0),a="hint"):(fu(ln.get(t)||new Set,r,!0),l?(Fr(l,r,!0),a="auto"):a="hint")),o==="auto"||o==="hint"){if(o!==e.popover||!Rr(e,!1))return;Ha(t)||(r=!0),a==="auto"?(er.has(t)||er.set(t,new Set),er.get(t).add(e)):a==="hint"&&(ln.has(t)||ln.set(t,new Set),ln.get(t).add(e))}yi.delete(e);const s=t.activeElement;e.classList.add(":popover-open"),Mo.set(e,"showing"),Fl.has(t)||Fl.set(t,new Set),Fl.get(t).add(e),Wy(vi.get(e),!0),RU(e),r&&s&&e.popover==="auto"&&yi.set(e,s),Uy(e,"closed","open")}function Po(e,t=!1,r=!1){var o,a;if(!Rr(e,!0))return;const l=e.ownerDocument;if(["auto","hint"].includes(e.popover)&&(Fr(e,t,r),!Rr(e,!0)))return;const i=er.get(l)||new Set,s=i.has(e)&&Ua(i)===e;if(Wy(vi.get(e),!1),vi.delete(e),r&&(e.dispatchEvent(new ts("beforetoggle",{oldState:"open",newState:"closed"})),s&&Ua(i)!==e&&Fr(e,t,r),!Rr(e,!0)))return;(o=Fl.get(l))==null||o.delete(e),i.delete(e),(a=ln.get(l))==null||a.delete(e),e.classList.remove(":popover-open"),Mo.set(e,"hidden"),r&&Uy(e,"open","closed");const c=yi.get(e);c&&(yi.delete(e),t&&c.focus())}function FU(e,t=!1,r=!1){let o=Ha(e);for(;o;)Po(o,t,r),o=Ha(e)}function fu(e,t=!1,r=!1){let o=lh(e);for(;o;)Po(o,t,r),o=lh(e)}function sh(e,t,r,o){let a=!1,l=!1;for(;a||!l;){l=!0;let i=null,s=!1;for(const c of t)if(c===e)s=!0;else if(s){i=c;break}if(!i)return;for(;gi(i)==="showing"&&t.size;)Po(Ua(t),r,o);t.has(e)&&Ua(t)!==e&&(a=!0),a&&(o=!1)}}function Fr(e,t,r){var o,a;const l=e.ownerDocument||e;if(e instanceof Document)return FU(l,t,r);if((o=ln.get(l))!=null&&o.has(e)){sh(e,ln.get(l),t,r);return}fu(ln.get(l)||new Set,t,r),(a=er.get(l))!=null&&a.has(e)&&sh(e,er.get(l),t,r)}var Zs=new WeakMap;function ch(e){if(!e.isTrusted)return;const t=e.composedPath()[0];if(!t)return;const r=t.ownerDocument;if(!Ha(r))return;const o=PU(t);if(o&&e.type==="pointerdown")Zs.set(r,o);else if(e.type==="pointerup"){const a=Zs.get(r)===o;Zs.delete(r),a&&Fr(o||r,!1,!0)}}var Qs=new WeakMap;function Wy(e,t=!1){if(!e)return;Qs.has(e)||Qs.set(e,e.getAttribute("aria-expanded"));const r=e.popoverTargetElement;if(r instanceof HTMLElement&&r.popover==="auto")e.setAttribute("aria-expanded",String(t));else{const o=Qs.get(e);o?e.setAttribute("aria-expanded",o):e.removeAttribute("aria-expanded")}}var uh=globalThis.ShadowRoot||function(){};function zU(){return typeof HTMLElement<"u"&&typeof HTMLElement.prototype=="object"&&"popover"in HTMLElement.prototype}function Ar(e,t,r){const o=e[t];Object.defineProperty(e,t,{value(a){return o.call(this,r(a))}})}var UU=/(^|[^\\]):popover-open\b/g;function HU(){return typeof globalThis.CSSLayerBlockRule=="function"}function WU(){const e=HU();return`
434
434
  ${e?"@layer popover-polyfill {":""}
435
435
  :where([popover]) {
436
436
  position: fixed;