@n8n/chat 1.39.2 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat.bundle.es.js +5 -5
- package/dist/chat.bundle.umd.js +1 -1
- package/dist/chat.es.js +3 -3
- package/dist/chat.umd.js +1 -1
- package/dist/{chunk-CEfaX6y6.mjs → chunk-DUUv1Ph4.mjs} +1 -1
- package/dist/{emojiData-zOxnhmb7-BeyojQGO.mjs → emojiData-zOxnhmb7-CC49jDKW.mjs} +1 -1
- package/dist/{emojiData-zOxnhmb7-C-C4OznF.mjs → emojiData-zOxnhmb7-CjzSwmhJ.mjs} +1 -1
- package/dist/{en-BQBg3T3M-Zuthpf52.mjs → en-BVSQYf2U-Mrr-m9Kt.mjs} +15 -2
- package/dist/{en-BQBg3T3M-D6pjYS0w.mjs → en-BVSQYf2U-a3YkHUPj.mjs} +14 -1
- package/dist/{lucideIconData-CKJ1do82-CwYIYGOE.mjs → lucideIconData-CKJ1do82-C9iyX05A.mjs} +1 -1
- package/dist/{lucideIconData-CKJ1do82-C0NrYP3c.mjs → lucideIconData-CKJ1do82-RH9uUzpc.mjs} +1 -1
- package/dist/{node-icons-CaKBLFvs-B0WOfu4q.mjs → node-icons-CaKBLFvs-BDlCSL5G.mjs} +2 -2
- package/dist/{node-icons-CaKBLFvs-_PDkSXZI.mjs → node-icons-CaKBLFvs-BnajE7E9.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue.runtime.esm-bundler-CyCkbpnM.mjs → vue.runtime.esm-bundler-D9yQDm8s.mjs} +2 -2
- package/package.json +4 -4
package/dist/chat.bundle.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! Package version @n8n/chat@1.
|
|
2
|
-
import { a as e, i as t, n, r, t as i } from "./chunk-
|
|
3
|
-
import { At as a, B as o, C as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, Ft as m, G as h, H as g, I as _, It as v, J as y, K as b, L as x, M as S, Mt as C, N as w, Nt as T, O as E, Ot as D, P as O, Pt as k, Q as A, R as j, S as M, St as N, T as P, Tt as ee, U as te, V as ne, W as F, X as re, Y as ie, _ as I, _t as ae, a as oe, at as se, b as ce, bt as le, c as ue, ct as de, d as fe, dt as pe, et as me, f as he, ft as ge, g as L, gt as _e, h as R, ht as ve, i as ye, it as z, j as be, jt as B, k as xe, kt as Se, l as Ce, lt as we, m as V, mt as H, n as Te, nt as Ee, o as De, ot as Oe, p as ke, pt as Ae, q as je, r as Me, rt as Ne, s as Pe, st as Fe, t as Ie, tt as U, u as Le, ut as W, v as G, vt as Re, w as ze, wt as Be, x as Ve, xt as He, y as Ue, yt as We, z as K } from "./vue.runtime.esm-bundler-
|
|
4
|
-
import { a as Ge, n as eee, r as Ke } from "./en-
|
|
1
|
+
/*! Package version @n8n/chat@1.40.0 */
|
|
2
|
+
import { a as e, i as t, n, r, t as i } from "./chunk-DUUv1Ph4.mjs";
|
|
3
|
+
import { At as a, B as o, C as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, Ft as m, G as h, H as g, I as _, It as v, J as y, K as b, L as x, M as S, Mt as C, N as w, Nt as T, O as E, Ot as D, P as O, Pt as k, Q as A, R as j, S as M, St as N, T as P, Tt as ee, U as te, V as ne, W as F, X as re, Y as ie, _ as I, _t as ae, a as oe, at as se, b as ce, bt as le, c as ue, ct as de, d as fe, dt as pe, et as me, f as he, ft as ge, g as L, gt as _e, h as R, ht as ve, i as ye, it as z, j as be, jt as B, k as xe, kt as Se, l as Ce, lt as we, m as V, mt as H, n as Te, nt as Ee, o as De, ot as Oe, p as ke, pt as Ae, q as je, r as Me, rt as Ne, s as Pe, st as Fe, t as Ie, tt as U, u as Le, ut as W, v as G, vt as Re, w as ze, wt as Be, x as Ve, xt as He, y as Ue, yt as We, z as K } from "./vue.runtime.esm-bundler-D9yQDm8s.mjs";
|
|
4
|
+
import { a as Ge, n as eee, r as Ke } from "./en-BVSQYf2U-Mrr-m9Kt.mjs";
|
|
5
5
|
//#region src/composables/useChat.ts
|
|
6
6
|
function qe() {
|
|
7
7
|
return l(fo);
|
|
@@ -54255,7 +54255,7 @@ var NWe = [
|
|
|
54255
54255
|
}), s = _e(null), c = V(() => s.value?.[t.icon] ?? OWe[t.icon] ?? DWe[t.icon] ?? null);
|
|
54256
54256
|
U(() => t.icon, async (e) => {
|
|
54257
54257
|
if (typeof e == "string" && e.startsWith("node:") && !s.value) {
|
|
54258
|
-
let { nodeIconSet: e } = await import("./node-icons-CaKBLFvs-
|
|
54258
|
+
let { nodeIconSet: e } = await import("./node-icons-CaKBLFvs-BDlCSL5G.mjs");
|
|
54259
54259
|
s.value = e;
|
|
54260
54260
|
}
|
|
54261
54261
|
}, { immediate: !0 });
|
package/dist/chat.bundle.umd.js
CHANGED
|
@@ -50,7 +50,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(
|
|
|
50
50
|
`;)e--;this.css=this.css.slice(0,e)+this.css.slice(t+2)}}}}generate(){if(this.clearAnnotation(),d&&u&&this.isMap())return this.generateMap();{let e=``;return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=s.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new s({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css=``,this.map=new s({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,t=1,n=`<no source>`,r={generated:{column:0,line:0},original:{column:0,line:0},source:``},i,a;this.stringify(this.root,(o,s,c)=>{if(this.css+=o,s&&c!==`end`&&(r.generated.line=e,r.generated.column=t-1,s.source&&s.source.start?(r.source=this.sourcePath(s),r.original.line=s.source.start.line,r.original.column=s.source.start.column-1,this.map.addMapping(r)):(r.source=n,r.original.line=1,r.original.column=0,this.map.addMapping(r))),a=o.match(/\n/g),a?(e+=a.length,i=o.lastIndexOf(`
|
|
51
51
|
`),t=o.length-i):t+=o.length,s&&c!==`start`){let i=s.parent||{raws:{}};(!(s.type===`decl`||s.type===`atrule`&&!s.nodes)||s!==i.last||i.raws.semicolon)&&(s.source&&s.source.end?(r.source=this.sourcePath(s),r.original.line=s.source.end.line,r.original.column=s.source.end.column-1,r.generated.line=e,r.generated.column=t-2,this.map.addMapping(r)):(r.source=n,r.original.line=1,r.original.column=0,r.generated.line=e,r.generated.column=t-1,this.map.addMapping(r)))}})}isAnnotation(){return this.isInline()?!0:this.mapOpts.annotation===void 0?this.previous().length?this.previous().some(e=>e.annotation):!0:this.mapOpts.annotation}isInline(){if(this.mapOpts.inline!==void 0)return this.mapOpts.inline;let e=this.mapOpts.annotation;return e!==void 0&&e!==!0?!1:this.previous().length?this.previous().some(e=>e.inline):!0}isMap(){return this.opts.map===void 0?this.previous().length>0:!!this.opts.map}isSourcesContent(){return this.mapOpts.sourcesContent===void 0?this.previous().length?this.previous().some(e=>e.withContent()):!0:this.mapOpts.sourcesContent}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):`to.css`}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let a=this.opts.to?n(this.opts.to):`.`;typeof this.mapOpts.annotation==`string`&&(a=n(i(a,this.mapOpts.annotation)));let o=r(a,e);return this.memoizedPaths.set(e,o),o}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new l(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):`<no source>`;this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString(`base64`):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}else throw Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;a===`\\`&&(e=e.replace(/\\/g,`/`));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}})),Cse=c(((e,t)=>{var n=39,r=34,i=92,a=47,o=10,s=32,c=12,l=9,u=13,d=91,f=93,p=40,m=41,h=123,g=125,_=59,v=42,y=58,b=64,x=/[\t\n\f\r "#'()/;[\\\]{}]/g,S=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,C=/.[\r\n"'(/\\]/,w=/[\da-f]/i;t.exports=function(e,t={}){let T=e.css.valueOf(),E=t.ignoreErrors,D,O,k,A,ee,j,M,N,te,ne,re=T.length,P=0,F=[],ie=[],ae=-1;function oe(){return P}function se(t){throw e.error(`Unclosed `+t,P)}function ce(){return ie.length===0&&P>=re}function le(e){if(ie.length)return ie.pop();if(P>=re)return;let t=e?e.ignoreUnclosed:!1;switch(D=T.charCodeAt(P),D){case o:case s:case l:case u:case c:A=P;do A+=1,D=T.charCodeAt(A);while(D===s||D===o||D===l||D===u||D===c);j=[`space`,T.slice(P,A)],P=A-1;break;case d:case f:case h:case g:case y:case _:case m:{let e=String.fromCharCode(D);j=[e,e,P];break}case p:if(ne=F.length?F.pop()[1]:``,te=T.charCodeAt(P+1),ne===`url`&&te!==n&&te!==r&&te!==s&&te!==o&&te!==l&&te!==c&&te!==u){A=P;do{if(M=!1,A=T.indexOf(`)`,A+1),A===-1)if(E||t){A=P;break}else se(`bracket`);for(N=A;T.charCodeAt(N-1)===i;)--N,M=!M}while(M);j=[`brackets`,T.slice(P,A+1),P,A],P=A}else P<=ae?j=[`(`,`(`,P]:(A=T.indexOf(`)`,P+1),O=T.slice(P,A+1),A===-1||C.test(O)?(ae=A===-1?re:A,j=[`(`,`(`,P]):(j=[`brackets`,O,P,A],P=A));break;case n:case r:ee=D===n?`'`:`"`,A=P;do{if(M=!1,A=T.indexOf(ee,A+1),A===-1)if(E||t){A=P+1;break}else se(`string`);for(N=A;T.charCodeAt(N-1)===i;)--N,M=!M}while(M);j=[`string`,T.slice(P,A+1),P,A],P=A;break;case b:x.lastIndex=P+1,x.test(T),A=x.lastIndex===0?T.length-1:x.lastIndex-2,j=[`at-word`,T.slice(P,A+1),P,A],P=A;break;case i:for(A=P,k=!0;T.charCodeAt(A+1)===i;)A+=1,k=!k;if(D=T.charCodeAt(A+1),k&&D!==a&&D!==s&&D!==o&&D!==l&&D!==u&&D!==c&&(A+=1,w.test(T.charAt(A)))){for(;w.test(T.charAt(A+1));)A+=1;T.charCodeAt(A+1)===s&&(A+=1)}j=[`word`,T.slice(P,A+1),P,A],P=A;break;default:D===a&&T.charCodeAt(P+1)===v?(A=T.indexOf(`*/`,P+2)+1,A===0&&(E||t?A=T.length:se(`comment`)),j=[`comment`,T.slice(P,A+1),P,A],P=A):(S.lastIndex=P+1,S.test(T),A=S.lastIndex===0?T.length-1:S.lastIndex-2,j=[`word`,T.slice(P,A+1),P,A],F.push(j),P=A);break}return P++,j}function ue(e){ie.push(e)}return{back:ue,endOfFile:ce,nextToken:le,position:oe}}})),wse=c(((e,t)=>{var n=gh(),r=ph(),i=mh(),a=bh(),o=Sh(),s=Cse(),c={empty:!0,space:!0};function l(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}function u(e,t,n){let r=``;for(let i=t;i<n;i++)r+=e[i][1];return r}t.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces=``,this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new n;t.name=e[1].slice(1),t.name===``&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,i,a,o=!1,s=!1,c=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r===`(`||r===`[`?l.push(r===`(`?`)`:`]`):r===`{`&&l.length>0?l.push(`}`):r===l[l.length-1]&&l.pop(),l.length===0)if(r===`;`){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(r===`{`){s=!0;break}else if(r===`}`){if(c.length>0){for(a=c.length-1,i=c[a];i&&i[0]===`space`;)i=c[--a];i&&(t.source.end=this.getPosition(i[3]||i[2]),t.source.end.offset++)}this.end(e);break}else c.push(e);else c.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(t.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(t,`params`,c),o&&(e=c[c.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between=``)):(t.raws.afterName=``,t.params=``),s&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let n=0,r;for(let i=t-1;i>=0&&(r=e[i],!(r[0]!==`space`&&(n+=1,n===2)));i--);throw this.input.error(`Missed semicolon`,r[0]===`word`?r[3]+1:r[2])}colon(e){let t=0,n,r,i;for(let[a,o]of e.entries()){if(r=o,i=r[0],i===`(`&&(t+=1),i===`)`&&--t,t===0&&i===`:`)if(!n)this.doubleColon(r);else if(n[0]===`word`&&n[1]===`progid`)continue;else return a;n=r}return!1}comment(e){let t=new r;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(!n.trim())t.text=``,t.raws.left=n,t.raws.right=``;else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=s(this.input)}decl(e,t){let n=new i;this.init(n,e[0][2]);let r=e[e.length-1];r[0]===`;`&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(r[3]||r[2]||l(e)),n.source.end.offset++;let a=0;for(;e[a][0]!==`word`;)a===e.length-1&&this.unknownWord([e[a]]),a++;n.raws.before+=u(e,0,a),n.source.start=this.getPosition(e[a][2]);let o=a;for(;a<e.length;){let t=e[a][0];if(t===`:`||t===`space`||t===`comment`)break;a++}n.prop=u(e,o,a);let s=a,c;for(;a<e.length&&(c=e[a],a++,c[0]!==`:`);)c[0]===`word`&&/\w/.test(c[1])&&this.unknownWord([c]);n.raws.between=u(e,s,a),(n.prop[0]===`_`||n.prop[0]===`*`)&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let d=a;for(;a<e.length;){let t=e[a][0];if(t!==`space`&&t!==`comment`)break;a++}let f=e.slice(d,a);e=e.slice(a),this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(c=e[t],c[1].toLowerCase()===`!important`){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r,r!==` !important`&&(n.raws.important=r);break}else if(c[1].toLowerCase()===`important`){let r=e.slice(0),i=``;for(let e=t;e>0;e--){let t=r[e][0];if(i.trim().startsWith(`!`)&&t!==`space`)break;i=r.pop()[1]+i}i.trim().startsWith(`!`)&&(n.important=!0,n.raws.important=i,e=r)}if(c[0]!==`space`&&c[0]!==`comment`)break}e.some(e=>e[0]!==`space`&&e[0]!==`comment`)&&(n.raws.between+=f.map(e=>e[1]).join(``),f=[]),this.raw(n,`value`,f.concat(e),t),n.value.includes(`:`)&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error(`Double colon`,{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new o;this.init(t,e[2]),t.selector=``,t.raws.between=``,this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.spaces=``,this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||``)+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type===`rule`&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces=``,t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces=``,e.type!==`comment`&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,a=[],o=e[1].startsWith(`--`),s=[],c=e;for(;c;){if(n=c[0],s.push(c),n===`(`||n===`[`)i||=c,a.push(n===`(`?`)`:`]`);else if(o&&r&&n===`{`)i||=c,a.push(`}`);else if(a.length===0)if(n===`;`)if(r){this.decl(s,o);return}else break;else if(n===`{`){this.rule(s);return}else if(n===`}`){this.tokenizer.back(s.pop()),t=!0;break}else n===`:`&&(r=!0);else n===a[a.length-1]&&(a.pop(),a.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(i),t&&r){if(!o)for(;s.length&&(c=s[s.length-1][0],!(c!==`space`&&c!==`comment`));)this.tokenizer.back(s.pop());this.decl(s,o)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case`space`:this.spaces+=e[1];break;case`;`:this.freeSemicolon(e);break;case`}`:this.end(e);break;case`comment`:this.comment(e);break;case`at-word`:this.atrule(e);break;case`{`:this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,a,o=n.length,s=``,l=!0,u,d;for(let e=0;e<o;e+=1)i=n[e],a=i[0],a===`space`&&e===o-1&&!r?l=!1:a===`comment`?(d=n[e-1]?n[e-1][0]:`empty`,u=n[e+1]?n[e+1][0]:`empty`,!c[d]&&!c[u]?s.slice(-1)===`,`?l=!1:s+=i[1]:l=!1):s+=i[1];if(!l){let r=n.reduce((e,t)=>e+t[1],``);e.raws[t]={raw:r,value:s}}e[t]=s}rule(e){e.pop();let t=new o;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,`selector`,e),this.current=t}spacesAndCommentsFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],!(t!==`space`&&t!==`comment`));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n=``;for(;e.length&&(t=e[0][0],!(t!==`space`&&t!==`comment`));)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n=``;for(;e.length&&(t=e[e.length-1][0],t===`space`);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n=``;for(let r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error(`Unclosed block`,e.line,e.column)}unclosedBracket(e){throw this.input.error(`Unclosed bracket`,{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error(`Unexpected }`,{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error(`Unknown word `+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error(`At-rule without name`,{offset:t[2]},{offset:t[2]+t[1].length})}}})),wh=c(((e,t)=>{var n=hh(),r=yh(),i=wse();function a(e,t){let n=new i(new r(e,t));try{n.parse()}catch(e){throw e}return n.root}t.exports=a,a.default=a,n.registerParse(a)})),Th=c(((e,t)=>{var n=hh(),{my:r}=dh(),i=class{constructor(e,t={}){if(this.type=`warning`,this.text=e,t.node&&t.node.source){t.node[r]||n.rebuild(t.node);let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+`: `+this.text:this.text}};t.exports=i,i.default=i})),Eh=c(((e,t)=>{var n=Th(),r=class{get content(){return this.css}constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=``,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new n(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type===`warning`)}};t.exports=r,r.default=r})),Dh=c(((e,t)=>{var n={};t.exports=function(e){n[e]||(n[e]=!0,typeof console<`u`&&console.warn&&console.warn(e))}})),Oh=c(((e,t)=>{var n=hh(),r=_h(),i=Ch(),a=wh(),o=Eh(),s=bh(),c=uh(),{isClean:l,my:u}=dh();Dh();var d={atrule:`AtRule`,comment:`Comment`,decl:`Declaration`,document:`Document`,root:`Root`,rule:`Rule`},f={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},p={Once:!0,postcssPlugin:!0,prepare:!0},m=0;function h(e){return typeof e==`object`&&typeof e.then==`function`}function g(e){let t=!1,n=d[e.type];return e.type===`decl`?t=e.prop.toLowerCase():e.type===`atrule`&&(t=e.name.toLowerCase()),t&&e.append?[n,n+`-`+t,m,n+`Exit`,n+`Exit-`+t]:t?[n,n+`-`+t,n+`Exit`,n+`Exit-`+t]:e.append?[n,m,n+`Exit`]:[n,n+`Exit`]}function _(e){let t;return t=e.type===`document`?[`Document`,m,`DocumentExit`]:e.type===`root`?[`Root`,m,`RootExit`]:g(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function v(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[l]=!1,e.nodes)for(let n of e.nodes)t.push(n)}return e}var y={},b=class e{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return`LazyResult`}constructor(t,r,i){this.stringified=!1,this.processed=!1;let s;if(typeof r==`object`&&r&&(r.type===`root`||r.type===`document`))s=v(r);else if(r instanceof e||r instanceof o)s=v(r.root),r.map&&(i.map===void 0&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=r.map);else{let e=a;i.syntax&&(e=i.syntax.parse),i.parser&&(e=i.parser),e.parse&&(e=e.parse);try{s=e(r,i)}catch(e){this.processed=!0,this.error=e}s&&!s[u]&&n.rebuild(s)}this.result=new o(t,s,i),this.helpers={...y,postcss:y,result:this.result},this.plugins=this.processor.plugins.map(e=>typeof e==`object`&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||=this.runAsync(),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw Error(`Use process(css).then(cb) to work with async plugins`)}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name===`CssSyntaxError`&&!e.plugin?(e.plugin=n.postcssPlugin,e.setMessage()):n.postcssVersion}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if(typeof t==`object`)for(let n in t){if(!f[n]&&/^[A-Z]/.test(n))throw Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!p[n])if(typeof t[n]==`object`)for(let r in t[n])r===`*`?e(t,n,t[n][r]):e(t,n+`-`+r.toLowerCase(),t[n][r]);else typeof t[n]==`function`&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],n=this.runOnRoot(t);if(h(n))try{await n}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];){e[l]=!0;let t=[_(e)];for(;t.length>0;){let e=this.visitTick(t);if(h(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type===`document`){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==`object`&&e.Once){if(this.result.root.type===`document`){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return h(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e==`function`)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=c;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=this.result.root.source;if(e.map===void 0&&!(n&&n.input&&n.input.map)){let e=``;return t(this.result.root,t=>{e+=t}),this.result.css=e,this.result}let r=new i(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(h(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];)e[l]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type===`document`)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){this.result.lastPlugin=n;let e;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!==`root`&&t.type!==`document`&&!t.parent)return!0;if(h(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if(n.type!==`root`&&n.type!==`document`&&!n.parent){e.pop();return}if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(n.toProxy(),this.helpers)}catch(e){throw this.handleError(e,n)}}if(t.iterator!==0){let r=t.iterator,i;for(;i=n.nodes[n.indexes[r]];)if(n.indexes[r]+=1,!i[l]){i[l]=!0,e.push(_(i));return}t.iterator=0,delete n.indexes[r]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,e===m){n.nodes&&n.nodes.length&&(n[l]=!0,t.iterator=n.getIterator());return}else if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[l]=!0;let t=[{eventIndex:0,events:g(e),iterator:0,node:e}];for(;t.length>0;){let e=t[t.length-1],n=e.node;if(e.iterator!==0){let r=e.iterator,i,a=!1;for(;i=n.nodes[n.indexes[r]];)if(n.indexes[r]+=1,!i[l]){i[l]=!0,t.push({eventIndex:0,events:g(i),iterator:0,node:i}),a=!0;break}if(a)continue;e.iterator=0,delete n.indexes[r]}if(e.eventIndex<e.events.length){let r=e.events[e.eventIndex];if(e.eventIndex+=1,r===m)n.nodes&&n.nodes.length&&(e.iterator=n.getIterator());else{let e=this.listeners[r];e&&this.visitSync(e,n.toProxy())&&t.pop()}continue}t.pop()}}warnings(){return this.sync().warnings()}};b.registerPostcss=e=>{y=e},t.exports=b,b.default=b,s.registerLazyResult(b),r.registerLazyResult(b)})),Tse=c(((e,t)=>{var n=Ch(),r=wh(),i=Eh(),a=uh();Dh();var o=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=r;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return`NoWorkResult`}constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let o=a;this.result=new i(this._processor,void 0,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,`root`,{get(){return s.root}});let c=new n(o,void 0,this._opts,t);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}};t.exports=o,o.default=o})),Ese=c(((e,t)=>{var n=_h(),r=Oh(),i=Tse(),a=bh(),o=class{constructor(e=[]){this.version=`8.5.23`,this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n==`object`&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if(typeof n==`object`&&n.postcssPlugin)t.push(n);else if(typeof n==`function`)t.push(n);else if(!(typeof n==`object`&&(n.parse||n.stringify)))throw Error(n+` is not a PostCSS plugin`);return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new i(this,e,t):new r(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};t.exports=o,o.default=o,a.registerProcessor(o),n.registerProcessor(o)})),Dse=c(((e,t)=>{var n=gh(),r=ph(),i=hh(),a=ch(),o=mh(),s=_h(),c=Sse(),l=yh(),u=Oh(),d=xh(),f=fh(),p=wh(),m=Ese(),h=Eh(),g=bh(),_=Sh(),v=uh(),y=Th();function b(...e){return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new m(e)}b.plugin=function(e,t){let n=!1;function r(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
52
52
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith(`cn`)&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
53
|
-
https://www.w3ctech.com/topic/2226`));let i=t(...r);return i.postcssPlugin=e,i.postcssVersion=new m().version,i}let i;return Object.defineProperty(r,`postcss`,{get(){return i||=r(),i}}),r.process=function(e,t,n){return b([r(n)]).process(e,t)},r},b.stringify=v,b.parse=p,b.fromJSON=c,b.list=d,b.comment=e=>new r(e),b.atRule=e=>new n(e),b.decl=e=>new o(e),b.rule=e=>new _(e),b.root=e=>new g(e),b.document=e=>new s(e),b.CssSyntaxError=a,b.Declaration=o,b.Container=i,b.Processor=m,b.Document=s,b.Comment=r,b.Warning=y,b.AtRule=n,b.Result=h,b.Input=l,b.Rule=_,b.Root=g,b.Node=f,u.registerPostcss(b),t.exports=b,b.default=b})),Ose=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),D=E.prototype;return w.prototype=D,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),kse=c(((e,t)=>{var n=Ose();function r(e){for(e=e.replace(/[\x00-\x20]+/g,``);;){let t=e.indexOf(`<!--`);if(t===-1)break;let n=e.indexOf(`-->`,t+4);if(n===-1)break;e=e.substring(0,t)+e.substring(n+3)}return e}function i(e,t){t||={};let n=t.allowedSchemes||[`http`,`https`,`ftp`,`mailto`,`tel`,`sms`],i=t.allowProtocolRelative!==!1;if(typeof e!=`string`)return!1;e=r(e);let a=e.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!a)return e.match(/^[/\\]{2}/)?!i:!1;let o=a[1].toLowerCase();return n.indexOf(o)===-1}t.exports=function(e){let t={};return t.options=e||{},t.filterTag=t.options.filterTag||function(e){return e=e.trim(),e.toLowerCase()},t.string=function(e,t){return typeof e!=`string`&&(typeof e==`number`||typeof e==`boolean`?e+=``:e=``),e=e.trim(),t!==void 0&&e===``&&(e=t),e},t.strings=function(e){return Array.isArray(e)?e.map(function(e){return t.string(e)}):[]},t.integer=function(e,t,n,r){if(t===void 0&&(t=0),typeof e==`number`)e=Math.floor(e);else try{e=parseInt(e,10),isNaN(e)&&(e=t)}catch{e=t}return typeof n==`number`&&e<n&&(e=n),typeof r==`number`&&e>r&&(e=r),e},t.padInteger=function(e,t){let n=e+``;for(;n.length<t;)n=`0`+n;return n},t.float=function(e,t,n,r){if(t===void 0&&(t=0),typeof e!=`number`)try{e=parseFloat(e,10),isNaN(e)&&(e=t)}catch{e=t}return typeof n==`number`&&e<n&&(e=n),typeof r==`number`&&e>r&&(e=r),e},t.naughtyHref=i,t.url=function(e,n,a){if(e=t.string(e,n),e===n)return e;if(e=r(e),i(e)||(e=o(e),e===null))return n;return e;function o(e){return e.match(/^(((https?|ftp):\/\/)|((mailto|tel|sms):)|#|([^/.]+)?\/|[^/.]+$)/)?e:e.match(/^[^/.]+\.[^/.]+/)?(a?`https://`:`http://`)+e:null}},t.select=function(e,n,r){if(e=t.string(e),!n||!n.length)return r;let i;return typeof n[0]==`object`?(i=n.find(function(t){return t.value===null||t.value===void 0?!1:t.value.toString()===e}),i==null?r:i.value):(i=n.find(function(t){return t==null?!1:t.toString()===e}),i===void 0?r:i)},t.boolean=function(e,n){return e===!0?!0:e===!1?!1:(e=t.string(e,n),e===n?e===void 0?!1:e:(e=e.toLowerCase().charAt(0),e===``||e===`n`||e===`0`||e===`f`?!1:e===`t`||e===`y`||e===`1`))},t.addBooleanFilterToCriteria=function(e,n,r,i){i===void 0&&(i=null);let a=typeof e==`object`&&e?e[n]:e;a=a===void 0?i:a,a=t.booleanOrNull(a),a===null||(a?r[n]=!0:r[n]={$ne:!0})},t.booleanOrNull=function(e,n){return e===!0||e===!1||e===null?e:(e=t.string(e,n),e===n?n===void 0?null:e:e===`null`?null:(e=e.toLowerCase().charAt(0),e===``||e===`n`||e===`0`||e===`f`?!1:e===`t`||e===`y`||e===`1`?!0:e===`a`?null:n))},t.date=function(e,r,i){let a;function o(){return r===void 0&&(r=n().format(`YYYY-MM-DD`)),r}if(typeof e==`string`){if(e.match(/\//)){if(a=e.split(`/`),a.length===2)return(i||new Date).getFullYear()+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2);if(a.length===3){if(a[2]<100){let e=i||new Date,t=e.getFullYear()%100,n=e.getFullYear()-t,r=parseInt(a[2])+n;r-e.getFullYear()>50&&(r-=100),a[2]=r}return t.padInteger(a[2],4)+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2)}else return o()}else if(e.match(/-/))return a=e.split(`-`),a.length===2?(i||new Date).getFullYear()+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2):a.length===3?t.padInteger(a[0],4)+`-`+t.padInteger(a[1],2)+`-`+t.padInteger(a[2],2):o()}try{return e===null||(e=i||new Date(e),isNaN(e.getTime()))?o():e.getFullYear()+`-`+t.padInteger(e.getMonth()+1,2)+`-`+t.padInteger(e.getDate(),2)}catch{return o()}},t.formatDate=function(e){return n(e).format(`YYYY-MM-DD`)},t.time=function(e,r){e=t.string(e).toLowerCase(),e=e.trim();let i=e.match(/^(\d+)([:|.](\d+))?([:|.](\d+))?\s*(am|pm|AM|PM|a|p|A|M)?$/);if(i){let e=parseInt(i[1],10),n=i[3]===void 0?0:parseInt(i[3],10),r=i[5]===void 0?0:parseInt(i[5],10),a=i[6]?i[6].toLowerCase():i[6];return a&&=a.charAt(0),e===12&&a===`a`?e-=12:e===12&&a===`p`||a===`p`&&(e+=12),(e===24||e===`24`)&&(e=0),t.padInteger(e,2)+`:`+t.padInteger(n,2)+`:`+t.padInteger(r,2)}else return r===void 0?n().format(`HH:mm`):r},t.formatTime=function(e){return n(e).format(`HH:mm:ss`)},t.tags=function(e,n){return typeof e==`string`&&(e=e.split(/,\s*/)),Array.isArray(e)?e.map(e=>t.string(e)).map(n||t.filterTag).filter(e=>e.length>0):[]},t.idRegExp=t.options.idRegExp||/^[A-Za-z0-9_]+$/,t.id=function(e,n){let r=t.string(e,n);return r===n||r.match(t.idRegExp)?r:n},t.ids=function(e){return Array.isArray(e)?e.filter(function(e){return t.id(e)!==void 0}):[]},t},t.exports.naughtyHref=i})),kh=c(((e,t)=>{var n=(hse(),f(fse)),r=gse(),{isPlainObject:i}=_se(),a=vse(),o=yse(),{parse:s}=Dse(),{naughtyHref:c}=kse(),l=[`img`,`audio`,`video`,`picture`,`svg`,`object`,`map`,`iframe`,`embed`],u=[`script`,`style`],d=[`animate`,`animatecolor`,`animatemotion`,`animatetransform`,`set`],p=[`href`];function m(e,t){e&&Object.keys(e).forEach(function(n){t(e[n],n)})}function h(e,t){return{}.hasOwnProperty.call(e,t)}function g(e,t){let n=[];return m(e,function(e){t(e)&&n.push(e)}),n}function _(e){for(let t in e)if(h(e,t))return!1;return!0}function v(e){return e.map(function(e){if(!e.url)throw Error(`URL missing`);return e.url+(e.w?` ${e.w}w`:``)+(e.h?` ${e.h}h`:``)+(e.d?` ${e.d}x`:``)}).join(`, `)}t.exports=b;var y=/^[^\0\t\n\f\r /<=>]+$/;function b(e,t,f){if(e==null)return``;typeof e==`number`&&(e=e.toString());let S=``,C=``;function w(e,t){let n=this;this.tag=e,this.attribs=t||{},this.tagPosition=S.length,this.text=``,this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(te.length){let e=te[te.length-1];e.text+=n.text}},this.updateParentNodeMediaChildren=function(){te.length&&l.includes(this.tag)&&te[te.length-1].mediaChildren.push(this.tag)}}t=Object.assign({},b.defaults,t),t.parser=Object.assign({},x,t.parser);let T=function(e){return t.allowedTags===!1||(t.allowedTags||[]).indexOf(e)>-1};u.forEach(function(e){T(e)&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)});let E=t.nonTextTags||[`script`,`style`,`textarea`,`option`,`xmp`],D,O;t.allowedAttributes&&(D={},O={},m(t.allowedAttributes,function(e,t){D[t]=[];let n=[];e.forEach(function(e){typeof e==`string`&&e.indexOf(`*`)>=0?n.push(r(e).replace(/\\\*/g,`.*`)):D[t].push(e)}),n.length&&(O[t]=RegExp(`^(`+n.join(`|`)+`)$`))}));let k={},A={},ee={};m(t.allowedClasses,function(e,t){if(D&&(h(D,t)||(D[t]=[]),D[t].push(`class`)),k[t]=e,Array.isArray(e)){let n=[];k[t]=[],ee[t]=[],e.forEach(function(e){typeof e==`string`&&e.indexOf(`*`)>=0?n.push(r(e).replace(/\\\*/g,`.*`)):e instanceof RegExp?ee[t].push(e):k[t].push(e)}),n.length&&(A[t]=RegExp(`^(`+n.join(`|`)+`)$`))}});let j={},M;m(t.transformTags,function(e,t){let n;typeof e==`function`?n=e:typeof e==`string`&&(n=b.simpleTransform(e)),t===`*`?M=n:j[t]=n});let N,te,ne,re,P,F,ie=!1;oe();let ae=new n.Parser({onopentag:function(e,n){if(t.onOpenTag&&t.onOpenTag(e,n),t.enforceHtmlBoundary&&e===`html`&&oe(),P){F++;return}let r=new w(e,n);te.push(r);let c=!1,l=!!r.text,u;if(h(j,e)&&(u=j[e](e,n),r.attribs=n=u.attribs,u.text!==void 0&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,re[N]=u.tagName)),M&&(u=M(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,re[N]=u.tagName)),(!T(e)||le(e,n)||t.disallowedTagsMode===`recursiveEscape`&&!_(ne)||t.nestingLimit!=null&&N>=t.nestingLimit)&&(c=!0,ne[N]=!0,(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&E.indexOf(e)!==-1&&(P=!0,F=1)),N++,c){if(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`){if(r.innerText&&!l){let n=se(r.innerText);t.textFilter?S+=t.textFilter(n,e):S+=n,ie=!0}return}C=S,S=``}if(S+=`<`+e,e===`script`&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=``),c&&(t.disallowedTagsMode===`escape`||t.disallowedTagsMode===`recursiveEscape`)&&t.preserveEscapedAttributes?m(n,function(e,t){S+=` `+t+`="`+se(e||``,!0)+`"`}):(!D||h(D,e)||D[`*`])&&m(n,function(n,c){if(!y.test(c)){delete r.attribs[c];return}if(n===``&&!t.allowedEmptyAttributes.includes(c)&&(t.nonBooleanAttributes.includes(c)||t.nonBooleanAttributes.includes(`*`))){delete r.attribs[c];return}let l=!1;if(!D||h(D,e)&&D[e].indexOf(c)!==-1||D[`*`]&&D[`*`].indexOf(c)!==-1||h(O,e)&&O[e].test(c)||O[`*`]&&O[`*`].test(c))l=!0;else if(D&&D[e]){for(let t of D[e])if(i(t)&&t.name&&t.name===c){l=!0;let e=``;if(t.multiple===!0){let r=n.split(` `);for(let n of r)t.values.indexOf(n)!==-1&&(e===``?e=n:e+=` `+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}}if(l){if(t.allowedSchemesAppliedToAttributes.indexOf(c)!==-1&&ce(e,n)){delete r.attribs[c];return}if(e===`script`&&c===`src`){let e=!0;try{let r=ue(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){let n=(t.allowedScriptHostnames||[]).find(function(e){return e===r.url.hostname}),i=(t.allowedScriptDomains||[]).find(function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)});e=n||i}}catch{e=!1}if(!e){delete r.attribs[c];return}}if(e===`iframe`&&c===`src`){let e=!0;try{let r=ue(n);if(r.isRelativeUrl)e=h(t,`allowIframeRelativeUrls`)?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){let n=(t.allowedIframeHostnames||[]).find(function(e){return e===r.url.hostname}),i=(t.allowedIframeDomains||[]).find(function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)});e=n||i}}catch{e=!1}if(!e){delete r.attribs[c];return}}if(c===`srcset`||c===`imagesrcset`)try{let e=o(n);if(e.forEach(function(e){ce(c,e.url)&&(e.evil=!0)}),e=g(e,function(e){return!e.evil}),e.length)n=v(g(e,function(e){return!e.evil})),r.attribs[c]=n;else{delete r.attribs[c];return}}catch{delete r.attribs[c];return}if(c===`class`){let t=k[e],i=k[`*`],o=A[e],s=ee[e],l=ee[`*`],u=[o,A[`*`]].concat(s,l).filter(function(e){return e});if(n=t&&i?me(n,a(t,i),u):me(n,t||i,u),!n.length){delete r.attribs[c];return}}if(c===`style`){if(t.parseStyleAttributes)try{if(n=fe(de(s(e+` {`+n+`}`,{map:!1}),t.allowedStyles)),n.length===0){delete r.attribs[c];return}}catch{typeof window<`u`&&console.warn(`Failed to parse "`+e+` {`+n+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete r.attribs[c];return}else if(t.allowedStyles)throw Error(`allowedStyles option cannot be used together with parseStyleAttributes: false.`)}S+=` `+c,n&&n.length?S+=`="`+se(n,!0)+`"`:t.allowedEmptyAttributes.includes(c)&&(S+=`=""`)}else delete r.attribs[c]}),t.selfClosing.indexOf(e)!==-1)S+=` />`;else if(S+=`>`,r.innerText&&!l){let n=se(r.innerText);t.textFilter?S+=t.textFilter(n,e):S+=n,ie=!0}c&&(S=C+se(S),C=``),r.openingTagLength=S.length-r.tagPosition},ontext:function(e){if(P)return;let n=te[te.length-1],r;if(n&&(r=n.tag,e=n.innerText===void 0?e:n.innerText),t.disallowedTagsMode===`completelyDiscard`&&!T(r))e=``;else if(r&&T(r)&&(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&(r===`script`||r===`style`))S+=e;else if(r&&T(r)&&(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&(r===`textarea`||r===`xmp`))r===`xmp`?S+=e.replace(/</g,`<`).replace(/>/g,`>`):S+=se(e,!1);else if(!ie){let n=se(e,!1);t.textFilter?S+=t.textFilter(n,r):S+=n}if(te.length){let t=te[te.length-1];t.text+=e}},onclosetag:function(e,n){if(t.onCloseTag&&t.onCloseTag(e,n),P)if(F--,!F)P=!1;else return;let r=te.pop();if(!r)return;if(r.tag!==e){te.push(r);return}P=t.enforceHtmlBoundary?e===`html`:!1,N--;let i=ne[N];if(i){if(delete ne[N],t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`){r.updateParentNodeText();return}C=S,S=``}if(re[N]&&(e=re[N],delete re[N]),t.exclusiveFilter){let e=t.exclusiveFilter(r);if(e===`excludeTag`){i&&(S=C,C=``),S=S.substring(0,r.tagPosition)+S.substring(r.tagPosition+r.openingTagLength);return}else if(e){S=S.substring(0,r.tagPosition);return}}if(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),t.selfClosing.indexOf(e)!==-1||n&&!T(e)&&[`escape`,`recursiveEscape`].indexOf(t.disallowedTagsMode)>=0){i&&(S=C,C=``);return}S+=`</`+e+`>`,i&&(S=C+se(S),C=``),ie=!1}},t.parser);if(ae.write(e),ae.end(),t.disallowedTagsMode===`escape`||t.disallowedTagsMode===`recursiveEscape`){let t=ae.endIndex;if(t!=null&&t>=0&&t<e.length){let n=e.substring(t);S+=se(n)}else (t==null||t<0)&&e.length>0&&S===``&&(S=se(e))}return S;function oe(){S=``,N=0,te=[],ne={},re={},P=!1,F=0}function se(e,n){return typeof e!=`string`&&(e+=``),t.parser.decodeEntities&&(e=e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),n&&(e=e.replace(/"/g,`"`))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),n&&(e=e.replace(/"/g,`"`)),e}function ce(e,n){return c(n,{allowedSchemes:h(t.allowedSchemesByTag,e)?t.allowedSchemesByTag[e]:t.allowedSchemes||[],allowProtocolRelative:t.allowProtocolRelative})}function le(e,n){if(d.indexOf(e.toLowerCase())===-1)return!1;let r=t.allowedSchemesAppliedToAttributes||[];return Object.keys(n||{}).some(function(e){if(e.toLowerCase()!==`attributename`)return!1;let t=(n[e]||``).trim().toLowerCase(),i=t.slice(t.lastIndexOf(`:`)+1);return p.indexOf(i)!==-1||r.indexOf(t)!==-1||r.indexOf(i)!==-1})}function ue(e){if(e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,`$1//`),e.startsWith(`relative:`))throw Error(`relative: exploit attempt`);let t=`relative://relative-site`;for(let e=0;e<100;e++)t+=`/${e}`;let n=new URL(e,t);return{isRelativeUrl:n&&n.hostname===`relative-site`&&n.protocol===`relative:`,url:n}}function de(e,t){if(!t)return e;let n=e.nodes[0],r;return r=t[n.selector]&&t[`*`]?a(t[n.selector],t[`*`]):t[n.selector]||t[`*`],r&&(e.nodes[0].nodes=n.nodes.reduce(pe(r),[])),e}function fe(e){return e.nodes[0].nodes.reduce(function(e,t){return e.push(`${t.prop}:${t.value}${t.important?` !important`:``}`),e},[]).join(`;`)}function pe(e){return function(t,n){return h(e,n.prop)&&e[n.prop].some(function(e){return e.test(n.value)})&&t.push(n),t}}function me(e,t,n){return t?(e=e.split(/\s+/),e.filter(function(e){return t.indexOf(e)!==-1||n.some(function(t){return t.test(e)})}).join(` `)):e}}var x={decodeEntities:!0};b.defaults={allowedTags:`address.article.aside.footer.header.h1.h2.h3.h4.h5.h6.hgroup.main.nav.section.blockquote.dd.div.dl.dt.figcaption.figure.hr.li.menu.ol.p.pre.ul.a.abbr.b.bdi.bdo.br.cite.code.data.dfn.em.i.kbd.mark.q.rb.rp.rt.rtc.ruby.s.samp.small.span.strong.sub.sup.time.u.var.wbr.caption.col.colgroup.table.tbody.td.tfoot.th.thead.tr`.split(`.`),nonBooleanAttributes:`abbr.accept.accept-charset.accesskey.action.allow.alt.as.autocapitalize.autocomplete.blocking.charset.cite.class.color.cols.colspan.content.contenteditable.coords.crossorigin.data.datetime.decoding.dir.dirname.download.draggable.enctype.enterkeyhint.fetchpriority.for.form.formaction.formenctype.formmethod.formtarget.headers.height.hidden.high.href.hreflang.http-equiv.id.imagesizes.imagesrcset.inputmode.integrity.is.itemid.itemprop.itemref.itemtype.kind.label.lang.list.loading.low.max.maxlength.media.method.min.minlength.name.nonce.optimum.pattern.ping.placeholder.popover.popovertarget.popovertargetaction.poster.preload.referrerpolicy.rel.rows.rowspan.sandbox.scope.shape.size.sizes.slot.span.spellcheck.src.srcdoc.srclang.srcset.start.step.style.tabindex.target.title.translate.type.usemap.value.width.wrap.onauxclick.onafterprint.onbeforematch.onbeforeprint.onbeforeunload.onbeforetoggle.onblur.oncancel.oncanplay.oncanplaythrough.onchange.onclick.onclose.oncontextlost.oncontextmenu.oncontextrestored.oncopy.oncuechange.oncut.ondblclick.ondrag.ondragend.ondragenter.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onended.onerror.onfocus.onformdata.onhashchange.oninput.oninvalid.onkeydown.onkeypress.onkeyup.onlanguagechange.onload.onloadeddata.onloadedmetadata.onloadstart.onmessage.onmessageerror.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onoffline.ononline.onpagehide.onpageshow.onpaste.onpause.onplay.onplaying.onpopstate.onprogress.onratechange.onreset.onresize.onrejectionhandled.onscroll.onscrollend.onsecuritypolicyviolation.onseeked.onseeking.onselect.onslotchange.onstalled.onstorage.onsubmit.onsuspend.ontimeupdate.ontoggle.onunhandledrejection.onunload.onvolumechange.onwaiting.onwheel`.split(`.`),disallowedTagsMode:`discard`,allowedAttributes:{a:[`href`,`name`,`target`],img:[`src`,`srcset`,`alt`,`title`,`width`,`height`,`loading`]},allowedEmptyAttributes:[`alt`],selfClosing:[`img`,`br`,`hr`,`area`,`base`,`basefont`,`input`,`link`,`meta`,`col`],allowedSchemes:[`http`,`https`,`ftp`,`mailto`,`tel`],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:[`href`,`src`,`cite`,`action`,`formaction`,`data`,`xlink:href`,`poster`,`background`,`ping`,`longdesc`,`usemap`,`codebase`,`classid`,`archive`,`profile`,`manifest`,`itemid`,`dynsrc`,`lowsrc`],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},b.simpleTransform=function(e,t,n){return n=n===void 0?!0:n,t||={},function(r,i){let a;if(n)for(a in t)i[a]=t[a];else i=t;return{tagName:e,attribs:i}}}})),Ah,jh,Mh,Nh=s((()=>{rp(),Ah=d(kh(),1),jh=e=>(0,Ah.default)(e,{allowedTags:Ah.default.defaults.allowedTags.concat([`img`,`input`]),allowedAttributes:{...Ah.default.defaults.allowedAttributes,input:[`type`,`id`,`checked`],code:[`class`],a:Ah.default.defaults.allowedAttributes.a.concat([`data-*`]),div:[`class`]}}),Mh=(e,t)=>{t.value!==t.oldValue&&(e.innerHTML=jh(t.value))}})),Ase;s((()=>{Nh(),Ase={"generic.retry":`Retry`,"generic.cancel":`Cancel`,"generic.close":`Close`,"generic.moreInfo":`More info`,"aiModelSelector.credentialsMissing":`Credentials missing`,"nds.auth.roles.owner":`Owner`,"nds.userInfo.you":`(you)`,"nds.userSelect.selectUser":`Select User`,"nds.userSelect.noMatchingUsers":`No matching users`,"nds.select.placeholder":`Select an option`,"nds.select.clear":`Clear selection`,"nds.select.noResults":`No results found`,"nds.inputNumber.increase":`Increase`,"nds.inputNumber.decrease":`Decrease`,"notice.showMore":`Show more`,"notice.showLess":`Show less`,"formInput.validator.fieldRequired":`This field is required`,"formInput.validator.minCharactersRequired":`Must be at least {minimum} characters`,"formInput.validator.maxCharactersRequired":`Must be at most {maximum} characters`,"formInput.validator.oneNumbersRequired":e=>`Must have at least ${e.minimum} number${e.minimum>1?`s`:``}`,"formInput.validator.validEmailRequired":`Must be a valid email`,"formInput.validator.uppercaseCharsRequired":e=>`Must have at least ${e.minimum} uppercase character${e.minimum>1?`s`:``}`,"formInput.validator.defaultPasswordRequirements":`{minimum}+ characters, at least 1 number and 1 capital letter`,"sticky.markdownHint":`You can style with <a href="https://docs.n8n.io/workflows/components/sticky-notes/" target="_blank">Markdown</a>`,"tags.showMore":e=>`+${e} more`,"datatable.pageSize":`Page size`,"pagination.previousPage":`Previous page`,"pagination.nextPage":`Next page`,"pagination.total":`Total {total}`,"pagination.pageSize":`Page size`,"pagination.pageSizeOption":`{size}/page`,"pagination.goTo":`Go to`,"pagination.goToPage":`Go to page`,"codeDiff.couldNotReplace":`Could not replace code`,"codeDiff.codeReplaced":`Code replaced`,"codeDiff.replaceMyCode":`Replace my code`,"codeDiff.replacing":`Replacing...`,"codeDiff.undo":`Undo`,"generic.copy":`Copy`,"generic.copiedToClipboard":`Copied to clipboard`,"codeBlock.copy":`Copy code`,"codeBlock.copiedToClipboard":`Copied to clipboard`,"codeBlock.copyFailed":`Couldn't copy code. Try again or copy it manually.`,"codeBlock.expand":`Expand code`,"codeBlock.collapse":`Collapse code`,"previewTag.preview":`Preview`,"askAssistantButton.askAssistant":`n8n AI`,"assistantChat.builder.name":`AI Builder`,"assistantChat.builder.generatingFinalWorkflow":`Generating final workflow...`,"assistantChat.builder.configuredNodes":`Configured nodes`,"assistantChat.builder.thumbsUp":`Helpful`,"assistantChat.builder.thumbsDown":`Not helpful`,"assistantChat.builder.feedbackPlaceholder":`Tell us about your experience`,"assistantChat.builder.success":`Thanks for your feedback!`,"assistantChat.builder.feedbackSubmit":`Submit feedback`,"assistantChat.rating.thumbsUp":`Helpful`,"assistantChat.rating.thumbsDown":`Not helpful`,"assistantChat.rating.feedbackPlaceholder":`Tell us about your experience`,"assistantChat.rating.success":`Thanks for your feedback!`,"assistantChat.rating.feedbackSubmit":`Submit feedback`,"assistantChat.builder.workflowGenerated1":`Your workflow was created successfully!`,"assistantChat.builder.workflowGenerated2":`Fix any missing credentials before testing it.`,"assistantChat.builder.configuringNodes":`Configuring nodes...`,"assistantChat.builder.selectedNodes":`Selected workflow nodes`,"assistantChat.builder.selectingNodes":`Selecting nodes...`,"assistantChat.builder.generatedNodes":`Generated workflow nodes`,"assistantChat.builder.toolRunning":`Tool still running`,"assistantChat.builder.toolError":`Some tool calls have failed. Agent will retry these.`,"assistantChat.thinking.workflowGenerated":`Workflow generated`,"assistantChat.thinking.craftingWorkflow":`Crafting workflow`,"assistantChat.thinking.thinking":`Thinking`,"assistantChat.thinking.processing":`Processing`,"assistantChat.errorParsingMarkdown":`Error parsing markdown content`,"assistantChat.aiAssistantLabel":`n8n AI`,"assistantChat.aiAssistantBetaLabel":`Beta`,"assistantChat.aiAssistantName":`n8n AI`,"assistantChat.sessionEndMessage.1":`This n8n AI session has ended. To start a new session with n8n AI, click a`,"assistantChat.sessionEndMessage.2":`button in n8n`,"assistantChat.you":`You`,"assistantChat.quickRepliesTitle":`Quick reply 👇`,"assistantChat.placeholder.1":()=>`I can answer most questions about building workflows in n8n.`,"assistantChat.placeholder.2":`For specific tasks, you’ll see the`,"assistantChat.placeholder.3":`button in the UI.`,"assistantChat.placeholder.4":`How can I help?`,"assistantChat.inputPlaceholder":`Enter your response...`,"assistantChat.blankStateInputPlaceholder":`What would you like to automate?`,"assistantChat.copy":`Copy`,"assistantChat.copied":`Copied`,"assistantChat.messageActions":`Message actions`,"assistantChat.readAloud":`Read aloud`,"assistantChat.stopReading":`Stop reading`,"assistantChat.characterLimit":`You've reached the {limit} character limit`,"aiAssistant.builder.canvas.thinking":`Working...`,"aiAssistant.builder.streamAbortedMessage":`Task aborted`,"collaboration.canvas.acquireEditing":`Edit here`,"collaboration.canvas.editing":`{user} is currently editing`,"collaboration.canvas.editingAnotherTab":`Editing in another tab`,"inlineAskAssistantButton.asked":`Asked`,"iconPicker.button.defaultToolTip":`Choose icon`,"iconPicker.tabs.icons":`Icons`,"iconPicker.tabs.emojis":`Emojis`,"iconPicker.search.placeholder":`Search...`,"iconPicker.search.noResults":`No results found`,"iconPicker.loading":`Loading...`,"iconPicker.random.icon":`Pick a random icon`,"iconPicker.random.emoji":`Pick a random emoji`,"iconPicker.colorPicker.tooltip":`Icon color`,"iconPicker.colorPicker.selectColor":`Select icon color`,"iconPicker.skinTone.tooltip":`Skin tone`,"iconPicker.skinTone.selectSkinTone":`Select skin tone`,"iconPicker.skinTone.default":`Default`,"iconPicker.skinTone.light":`Light`,"iconPicker.skinTone.mediumLight":`Medium-Light`,"iconPicker.skinTone.medium":`Medium`,"iconPicker.skinTone.mediumDark":`Medium-Dark`,"iconPicker.skinTone.dark":`Dark`,"iconPicker.colorPicker.blue":`Blue`,"iconPicker.colorPicker.lightBlue":`Light Blue`,"iconPicker.colorPicker.azure":`Azure`,"iconPicker.colorPicker.purple":`Purple`,"iconPicker.colorPicker.pink":`Pink`,"iconPicker.colorPicker.red":`Red`,"iconPicker.colorPicker.orange":`Orange`,"iconPicker.colorPicker.green":`Green`,"iconPicker.colorPicker.darkGreen":`Dark Green`,"iconPicker.colorPicker.gray":`Gray`,"iconPicker.category.all":`All`,"iconPicker.iconSection.accessibility":`Accessibility`,"iconPicker.iconSection.account":`Accounts & Access`,"iconPicker.iconSection.animals":`Animals`,"iconPicker.iconSection.arrows":`Arrows`,"iconPicker.iconSection.brands":`Brands`,"iconPicker.iconSection.buildings":`Buildings`,"iconPicker.iconSection.charts":`Charts`,"iconPicker.iconSection.communication":`Communication`,"iconPicker.iconSection.connectivity":`Connectivity`,"iconPicker.iconSection.cursors":`Cursors`,"iconPicker.iconSection.design":`Design`,"iconPicker.iconSection.development":`Coding & Development`,"iconPicker.iconSection.devices":`Devices`,"iconPicker.iconSection.emoji":`Emoji`,"iconPicker.iconSection.files":`File Icons`,"iconPicker.iconSection.finance":`Finance`,"iconPicker.iconSection.foodBeverage":`Food & Beverage`,"iconPicker.iconSection.gaming":`Gaming`,"iconPicker.iconSection.home":`Home`,"iconPicker.iconSection.layout":`Layout`,"iconPicker.iconSection.mail":`Mail`,"iconPicker.iconSection.math":`Mathematics`,"iconPicker.iconSection.medical":`Medical`,"iconPicker.iconSection.multimedia":`Multimedia`,"iconPicker.iconSection.nature":`Nature`,"iconPicker.iconSection.navigation":`Navigation, Maps & POIs`,"iconPicker.iconSection.notifications":`Notifications`,"iconPicker.iconSection.people":`People`,"iconPicker.iconSection.photography":`Photography`,"iconPicker.iconSection.science":`Science`,"iconPicker.iconSection.seasons":`Seasons`,"iconPicker.iconSection.security":`Security`,"iconPicker.iconSection.shapes":`Shapes`,"iconPicker.iconSection.shopping":`Shopping`,"iconPicker.iconSection.social":`Social`,"iconPicker.iconSection.sports":`Sports`,"iconPicker.iconSection.sustainability":`Sustainability`,"iconPicker.iconSection.text":`Text Formatting`,"iconPicker.iconSection.time":`Time & Calendar`,"iconPicker.iconSection.tools":`Tools`,"iconPicker.iconSection.transportation":`Transportation`,"iconPicker.iconSection.travel":`Travel`,"iconPicker.iconSection.weather":`Weather`,"iconPicker.iconSection.other":`Other`,"iconPicker.emojiSection.people":`Smileys & People`,"iconPicker.emojiSection.animalsNature":`Animals & Nature`,"iconPicker.emojiSection.foodDrink":`Food & Drink`,"iconPicker.emojiSection.activity":`Activity`,"iconPicker.emojiSection.travelPlaces":`Travel & Places`,"iconPicker.emojiSection.objects":`Objects`,"iconPicker.emojiSection.symbols":`Symbols`,"iconPicker.emojiSection.flags":`Flags`,"actionDropdown.activator":`Actions`,"askAssistantChat.close":`Close`,"sendStopButton.stop":`Stop`,"sendStopButton.send":`Send`,"selectableList.addDefault":`+ Add a`,"auth.changePassword.passwordsMustMatchError":`Passwords must match`,"tableControlsButton.display":`Display`,"tableControlsButton.shown":`Shown`,"tableControlsButton.hidden":`Hidden`,"promptInput.creditsInfo":`<b>{remaining}/{total}</b> monthly credits left`,"promptInput.getMore":`Get more`,"promptInput.askAdminToUpgrade":`Ask your admin to upgrade the instance to get more credits`,"promptInput.characterLimitReached":`You've reached the {limit} character limit`,"promptInput.remainingCredits":`Remaining builder AI credits: <b>{count}</b>`,"promptInput.monthlyCredits":`Monthly credits: <b>{count}</b> (1 credit = 1 message)`,"promptInput.creditsRenew":`Credits renew on: <b>{date}</b>`,"promptInput.creditsExpire":`Unused credits expire {date}`,"nodeCreatorNode.new":`New`,"collapsiblePanel.collapse":`Collapse`,"collapsiblePanel.expand":`Expand`,"collapsiblePanel.dragToReorder":`Drag to reorder`,"collapsiblePanel.delete":`Delete`,"combobox.clearSelection":`Clear selection`,"combobox.showPopup":`Show popup`,"combobox.placeholder":`Select an option`,"combobox.emptyText":`No results found.`,"tagsInput.removeTag":`Remove {tag}`,"markdownEditor.bold":`Bold`,"markdownEditor.italic":`Italic`,"markdownEditor.strikethrough":`Strikethrough`,"markdownEditor.underline":`Underline`,"markdownEditor.link":`Link`,"markdownEditor.bulletList":`Bullet list`,"markdownEditor.orderedList":`Ordered list`,"markdownEditor.taskList":`Task list`,"markdownEditor.codeBlock":`Code block`,"markdownEditor.blockquote":`Blockquote`,"markdownEditor.undo":`Undo`,"markdownEditor.redo":`Redo`,"markdownEditor.text":`Text`,"markdownEditor.heading1":`Heading 1`,"markdownEditor.heading2":`Heading 2`,"markdownEditor.heading3":`Heading 3`,"markdownEditor.rawMarkdownView":`Raw markdown`,"markdownEditor.formattedMarkdownView":`Formatted view`,"markdownEditor.expand":`Expand editor`,"markdownEditor.collapse":`Collapse editor`,"markdownEditor.linkDialogTitle":`Add link`,"markdownEditor.linkUrl":`Link URL`,"markdownEditor.linkPlaceholder":`https://example.com`,"markdownEditor.linkRequired":`Enter a URL to add the link`,"markdownEditor.linkInvalid":`Enter a valid URL, such as https://example.com`,"markdownEditor.addLink":`Add link`,"markdownEditor.updateLink":`Update link`,"markdownEditor.removeLink":`Remove link`,"markdownEditor.cancel":`Cancel`,"markdownEditor.slashCommandMenuLabel":`Markdown commands`,"aiAssistant.textMessage.restoreVersion":`Restore version`,"aiAssistant.versionCard.restoreModal.title":`Restore to this version?`,"aiAssistant.versionCard.restoreModal.description":`Your current version will be saved in version history for {pruneTime}.`,"aiAssistant.versionCard.restoreModal.descriptionNoLimit":`Your current version will be saved in version history.`,"aiAssistant.versionCard.restoreModal.hour":`{count} hour`,"aiAssistant.versionCard.restoreModal.hours":`{count} hours`,"aiAssistant.versionCard.restoreModal.day":`{count} day`,"aiAssistant.versionCard.restoreModal.days":`{count} days`,"aiAssistant.versionCard.restoreModal.showVersion":`Show version`,"aiAssistant.versionCard.restoreModal.restore":`Restore`}}))(),Y();var jse=Symbol(`IconBodyLoader`),Mse=async()=>null;function Nse(){return zn(jse,Mse)}function Ph(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Ph(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function Pse(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ph(e))&&(r&&(r+=` `),r+=t);return r}Y();function Fh(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,r=Symbol(n);return[t=>{let n=zn(r,t);if(n||n===null)return n;throw Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>(Rn(r,e),e)]}function Ih(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function Lh(e,t,n){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}Y();function Rh(e){return e?e.flatMap(e=>e.type===Ya?Rh(e.children):[e]):[]}var Fse=[`INPUT`,`TEXTAREA`];function Ise(e,t,n,r={}){if(!t||r.enableIgnoredElement&&Fse.includes(t.nodeName))return null;let{arrowKeyOptions:i=`both`,attributeName:a=`[data-reka-collection-item]`,itemsArray:o=[],loop:s=!0,dir:c=`ltr`,preventScroll:l=!0,focus:u=!1}=r,[d,f,p,m,h,g]=[e.key===`ArrowRight`,e.key===`ArrowLeft`,e.key===`ArrowUp`,e.key===`ArrowDown`,e.key===`Home`,e.key===`End`],_=p||m,v=d||f;if(!h&&!g&&(!_&&!v||i===`vertical`&&v||i===`horizontal`&&_))return null;let y=n?Array.from(n.querySelectorAll(a)):o;if(!y.length)return null;l&&e.preventDefault();let b=null;return v||_?b=zh(y,t,{goForward:_?m:c===`ltr`?d:f,loop:s}):h?b=y.at(0)||null:g&&(b=y.at(-1)||null),u&&b?.focus(),b}function zh(e,t,n,r=e.length){if(--r===0)return null;let i=e.indexOf(t),a=n.goForward?i+1:i-1;if(!n.loop&&(a<0||a>=e.length))return null;let o=e[(a+e.length)%e.length];return o?o.hasAttribute(`disabled`)&&o.getAttribute(`disabled`)!==`false`?zh(e,o,n,r):o:null}Y();var[Bh,Lse]=Fh(`ConfigProvider`);Y();function Rse(e,t){let n=xt();return Bn(()=>{n.value=e()},{...t,flush:t?.flush??`sync`}),ft(n)}function Vh(e){return ze()?(Be(e),!0):!1}function zse(){let e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);let r=()=>t(n);return Vh(r),{off:r}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t))),clear:()=>{e.clear()}}}function Bse(e){let t=!1,n,r=Re(!0);return(...i)=>(t||=(n=r.run(()=>e(...i)),!0),n)}function Vse(e){let t=0,n,r,i=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...a)=>(t+=1,r||(r=Re(!0),n=r.run(()=>e(...a))),Vh(i),n)}var Hh=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var Hse=e=>e!==void 0,Use=Object.prototype.toString,Wse=e=>Use.call(e)===`[object Object]`,Uh=Gse();function Gse(){return Hh&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Kse(e){return e||so()}function Wh(e){return Array.isArray(e)?e:[e]}function Gh(e,t=1e4){return Et((n,r)=>{let i=wt(e),a,o=()=>setTimeout(()=>{i=wt(e),r()},wt(t));return Vh(()=>{clearTimeout(a)}),{get(){return n(),i},set(e){i=e,r(),clearTimeout(a),a=o()}}})}function qse(e,t){Kse(t)&&pa(e,t)}function Kh(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=xt(!1),o=null;function s(){o&&=(clearTimeout(o),null)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=null,e(...n)},wt(t))}return r&&(a.value=!0,Hh&&l()),Vh(c),{isPending:ft(a),start:l,stop:c}}function Jse(e,t,n){return B(e,t,{...n,immediate:!0})}Y();var qh=Hh?window:void 0;Hh&&window.document,Hh&&window.navigator,Hh&&window.location;function Jh(e){let t=wt(e);return t?.$el??t}function Yh(...e){let t=[],n=()=>{t.forEach(e=>e()),t.length=0},r=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),i=J(()=>{let t=Wh(wt(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),a=Jse(()=>[i.value?.map(e=>Jh(e))??[qh].filter(e=>e!=null),Wh(wt(i.value?e[1]:e[0])),Wh(R(i.value?e[2]:e[1])),wt(i.value?e[3]:e[2])],([e,i,a,o])=>{if(n(),!e?.length||!i?.length||!a?.length)return;let s=Wse(o)?{...o}:o;t.push(...e.flatMap(e=>i.flatMap(t=>a.map(n=>r(e,t,n,s)))))},{flush:`post`});return Vh(n),()=>{a(),n()}}function Xh(){let e=xt(!1),t=so();return t&&ua(()=>{e.value=!0},t),e}function Yse(e){let t=Xh();return J(()=>(t.value,!!e()))}function Xse(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Zse(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=qh,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=Xse(t);return Yh(i,a,e=>{e.repeat&&wt(s)||c(e)&&n(e)},o)}function Qse(e){return JSON.parse(JSON.stringify(e))}function $se(e,t,n={}){let{window:r=qh,...i}=n,a,o=Yse(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=B(J(()=>{let t=wt(e);return Array.isArray(t)?t.map(e=>Jh(e)):[Jh(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return Vh(l),{isSupported:o,stop:l}}function Zh(e,t,n,r={}){let{clone:i=!1,passive:a=!1,eventName:o,deep:s=!1,defaultValue:c,shouldEmit:l}=r,u=so(),d=n||u?.emit||(u?.$emit)?.bind(u)||(u?.proxy?.$emit)?.bind(u?.proxy),f=o;t||=`modelValue`,f||=`update:${t.toString()}`;let p=e=>i?typeof i==`function`?i(e):Qse(e):e,m=()=>Hse(e[t])?p(e[t]):c,h=e=>{l?l(e)&&d(f,e):d(f,e)};if(a){let n=L(m()),r=!1;return B(()=>e[t],e=>{r||(r=!0,n.value=p(e),Dn(()=>r=!1))}),B(n,n=>{!r&&(n!==e[t]||s)&&h(n)},{deep:s}),n}else return J({get(){return m()},set(e){h(e)}})}function Qh(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function $h(e,t,n=`.`,r){if(!Qh(t))return $h(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:Qh(a)&&Qh(i[t])?i[t]=$h(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function ece(e){return(...t)=>t.reduce((t,n)=>$h(t,n,``,e),{})}var tce=ece();Y();var nce=Vse(()=>{let e=L(new Map),t=L(),n=J(()=>{for(let t of e.value.values())if(t)return!0;return!1}),r=Bh({scrollBody:L(!0)}),i=null,a=()=>{document.body.style.paddingRight=``,document.body.style.marginRight=``,document.body.style.pointerEvents=``,document.documentElement.style.removeProperty(`--scrollbar-width`),document.body.style.overflow=t.value??``,Uh&&i?.(),t.value=void 0};return B(n,(e,n)=>{if(!Hh)return;if(!e){n&&a();return}t.value===void 0&&(t.value=document.body.style.overflow);let o=window.innerWidth-document.documentElement.clientWidth,s={padding:o,margin:0},c=r.scrollBody?.value?typeof r.scrollBody.value==`object`?tce({padding:r.scrollBody.value.padding===!0?o:r.scrollBody.value.padding,margin:r.scrollBody.value.margin===!0?o:r.scrollBody.value.margin},s):s:{padding:0,margin:0};o>0&&(document.body.style.paddingRight=typeof c.padding==`number`?`${c.padding}px`:String(c.padding),document.body.style.marginRight=typeof c.margin==`number`?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty(`--scrollbar-width`,`${o}px`),document.body.style.overflow=`hidden`),Uh&&(i=Yh(document,`touchmove`,e=>ice(e),{passive:!1})),Dn(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})},{immediate:!0,flush:`sync`}),e});function rce(e){let t=Math.random().toString(36).substring(2,7),n=nce();n.value.set(t,e??!1);let r=J({get:()=>n.value.get(t)??!1,set:e=>n.value.set(t,e)});return qse(()=>{n.value.delete(t)}),r}function eg(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(t instanceof Element)||t.tagName===`BODY`?!1:eg(t)}}function ice(e){let t=e||window.event,n=t.target;return n instanceof Element&&eg(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function tg(e,t){return e-t*Math.floor(e/t)}var ng=1721426;function rg(e,t,n,r){t=ag(e,t);let i=t-1,a=-2;return n<=2?a=0:ig(t)&&(a=-1),ng-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function ig(e){return e%4==0&&(e%100!=0||e%400==0)}function ag(e,t){return e===`BC`?1-t:t}function ace(e){let t=`AD`;return e<=0&&(t=`BC`,e=1-e),[t,e]}var oce={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},og=class{fromJulianDay(e){let t=e,n=t-ng,r=Math.floor(n/146097),i=tg(n,146097),a=Math.floor(i/36524),o=tg(i,36524),s=Math.floor(o/1461),c=tg(o,1461),l=Math.floor(c/365),[u,d]=ace(r*400+a*100+s*4+l+(a!==4&&l!==4?1:0)),f=t-rg(u,d,1,1),p=2;t<rg(u,d,3,1)?p=0:ig(d)&&(p=1);let m=Math.floor(((f+p)*12+373)/367);return new Ece(u,d,m,t-rg(u,d,m,1)+1)}toJulianDay(e){return rg(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return oce[ig(e.year)?`leapyear`:`standard`][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return ig(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return[`BC`,`AD`]}isInverseEra(e){return e.era===`BC`}balanceDate(e){e.year<=0&&(e.era=e.era===`BC`?`AD`:`BC`,e.year=1-e.year)}constructor(){this.identifier=`gregory`}};function sce(e,t){return e.isEqual?.call(e,t)??t.isEqual?.call(t,e)??e.identifier===t.identifier}function sg(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function cce(e,t){return cg(e)-cg(t)}function cg(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var lg=null;function ug(){return lg??=new Intl.DateTimeFormat().resolvedOptions().timeZone,lg}function dg(e){return e=xg(e,new og),fg(ag(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function fg(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function pg(e,t){if(t===`UTC`)return 0;if(e>0&&t===ug())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:s}=hg(e,t);return fg(n,r,i,a,o,s,0)-Math.floor(e/1e3)*1e3}var mg=new Map;function hg(e,t){let n=mg.get(t);n||(n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),mg.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)e.type!==`literal`&&(i[e.type]=e.value);return{year:i.era===`BC`||i.era===`B`?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour===`24`?0:+i.hour,minute:+i.minute,second:+i.second}}var gg=864e5;function lce(e,t,n,r){return(n===r?[n]:[n,r]).filter(n=>uce(e,t,n))}function uce(e,t,n){let r=hg(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function _g(e,t,n=`compatible`){let r=bg(e);if(t===`UTC`)return dg(r);if(t===ug()&&n===`compatible`){r=xg(r,new og);let e=new Date,t=ag(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let i=dg(r),a=pg(i-gg,t),o=pg(i+gg,t),s=lce(r,t,i-a,i-o);if(s.length===1)return s[0];if(s.length>1)switch(n){case`compatible`:case`earlier`:return s[0];case`later`:return s[s.length-1];case`reject`:throw RangeError(`Multiple possible absolute times found`)}switch(n){case`earlier`:return Math.min(i-a,i-o);case`compatible`:case`later`:return Math.max(i-a,i-o);case`reject`:throw RangeError(`No such absolute time found`)}}function vg(e,t,n=`compatible`){return new Date(_g(e,t,n))}function yg(e,t){let n=pg(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=r.getUTCHours(),c=r.getUTCMinutes(),l=r.getUTCSeconds(),u=r.getUTCMilliseconds();return new Vg(i<1?`BC`:`AD`,i<1?-i+1:i,a,o,t,n,s,c,l,u)}function bg(e,t){let n=0,r=0,i=0,a=0;if(`timeZone`in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if(`hour`in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new Oce(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function xg(e,t){if(sce(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,Dg(r),r}function dce(e,t,n){return e instanceof Vg?e.timeZone===t?e:pce(e,t):yg(_g(e,t,n),t)}function fce(e){let t=dg(e)-e.offset;return new Date(t)}function pce(e,t){return xg(yg(dg(e)-e.offset,t),e.calendar)}var Sg=36e5;function Cg(e,t){let n=e.copy(),r=`hour`in n?_ce(n,t):0;wg(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,Tg(n),Eg(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,mce(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var a;let e=(a=n.calendar).isInverseEra?.call(a,n);n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let o=n.calendar.getMonthsInYear(n);return n.month>o&&(n.month=o,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function wg(e,t){var n;(n=e.calendar).isInverseEra?.call(n,e)&&(t=-t),e.year+=t}function Tg(e){for(;e.month<1;)wg(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,wg(e,1)}function mce(e){for(;e.day<1;)e.month--,Tg(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Tg(e)}function Eg(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function Dg(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Eg(e)}function Og(e){let t={};for(let n in e)typeof e[n]==`number`&&(t[n]=-e[n]);return t}function kg(e,t){return Cg(e,Og(t))}function Ag(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),Dg(n),n}function jg(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),gce(n),n}function hce(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Mg(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Mg(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Mg(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Mg(e.hour,24),t}function gce(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function Mg(e,t){let n=e%t;return n<0&&(n+=t),n}function _ce(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,hce(e)}function Ng(e,t,n,r){let i=e.copy();switch(t){case`era`:{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error(`Invalid era: `+e.era);a=Fg(a,n,0,t.length-1,r?.round),i.era=t[a],Dg(i);break}case`year`:var a;(a=i.calendar).isInverseEra?.call(a,i)&&(n=-n),i.year=Fg(e.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case`month`:i.month=Fg(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case`day`:i.day=Fg(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw Error(`Unsupported field `+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),Dg(i),i}function Pg(e,t,n,r){let i=e.copy();switch(t){case`hour`:{let t=e.hour,a=0,o=23;if(r?.hourCycle===12){let e=t>=12;a=e?12:0,o=e?23:11}i.hour=Fg(t,n,a,o,r?.round);break}case`minute`:i.minute=Fg(e.minute,n,0,59,r?.round);break;case`second`:i.second=Fg(e.second,n,0,59,r?.round);break;case`millisecond`:i.millisecond=Fg(e.millisecond,n,0,999,r?.round);break;default:throw Error(`Unsupported field `+t)}return i}function Fg(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let i=Math.abs(t);e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function Ig(e,t){let n;return n=t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0?_g(Cg(bg(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):dg(e)-e.offset,n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5,xg(yg(n,e.timeZone),e.calendar)}function vce(e,t){return Ig(e,Og(t))}function yce(e,t,n,r){switch(t){case`hour`:{let t=0,i=23;if(r?.hourCycle===12){let n=e.hour>=12;t=n?12:0,i=n?23:11}let a=bg(e),o=xg(jg(a,{hour:t}),new og),s=[_g(o,e.timeZone,`earlier`),_g(o,e.timeZone,`later`)].filter(t=>yg(t,e.timeZone).day===o.day)[0],c=xg(jg(a,{hour:i}),new og),l=[_g(c,e.timeZone,`earlier`),_g(c,e.timeZone,`later`)].filter(t=>yg(t,e.timeZone).day===c.day).pop(),u=dg(e)-e.offset,d=Math.floor(u/Sg),f=u%Sg;return u=Fg(d,n,Math.floor(s/Sg),Math.floor(l/Sg),r?.round)*Sg+f,xg(yg(u,e.timeZone),e.calendar)}case`minute`:case`second`:case`millisecond`:return Pg(e,t,n,r);case`era`:case`year`:case`month`:case`day`:return xg(yg(_g(Ng(bg(e),t,n,r),e.timeZone),e.timeZone),e.calendar);default:throw Error(`Unsupported field `+t)}}function bce(e,t,n){let r=bg(e),i=jg(Ag(r,t),t);return i.compare(r)===0?e:xg(yg(_g(i,e.timeZone,n),e.timeZone),e.calendar)}function xce(e){return`${String(e.hour).padStart(2,`0`)}:${String(e.minute).padStart(2,`0`)}:${String(e.second).padStart(2,`0`)}${e.millisecond?String(e.millisecond/1e3).slice(1):``}`}function Lg(e){let t=xg(e,new og),n;return n=t.era===`BC`?t.year===1?`0000`:`-`+String(Math.abs(1-t.year)).padStart(6,`00`):String(t.year).padStart(4,`0`),`${n}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)}`}function Rg(e){return`${Lg(e)}T${xce(e)}`}function Sce(e){let t=Math.sign(e)<0?`-`:`+`;e=Math.abs(e);let n=Math.floor(e/36e5),r=e%36e5/6e4;return`${t}${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`}function Cce(e){return`${Rg(e)}${Sce(e.offset)}[${e.timeZone}]`}function wce(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function zg(e,t,n){wce(e,t),t.set(e,n)}function Bg(e){let t=typeof e[0]==`object`?e.shift():new og,n;if(typeof e[0]==`string`)n=e.shift();else{let e=t.getEras();n=e[e.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var Tce=new WeakMap,Ece=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(e){return Cg(this,e)}subtract(e){return kg(this,e)}set(e){return Ag(this,e)}cycle(e,t,n){return Ng(this,e,t,n)}toDate(e){return vg(this,e)}toString(){return Lg(this)}compare(e){return sg(this,e)}constructor(...e){zg(this,Tce,{writable:!0,value:void 0});let[t,n,r,i,a]=Bg(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,Dg(this)}},Dce=new WeakMap,Oce=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return Cg(this,e)}subtract(e){return kg(this,e)}set(e){return Ag(jg(this,e),e)}cycle(e,t,n){switch(e){case`era`:case`year`:case`month`:case`day`:return Ng(this,e,t,n);default:return Pg(this,e,t,n)}}toDate(e,t){return vg(this,e,t)}toString(){return Rg(this)}compare(e){let t=sg(this,e);return t===0?cce(this,bg(e)):t}constructor(...e){zg(this,Dce,{writable:!0,value:void 0});let[t,n,r,i,a]=Bg(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Dg(this)}},kce=new WeakMap,Vg=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return Ig(this,e)}subtract(e){return vce(this,e)}set(e,t){return bce(this,e,t)}cycle(e,t,n){return yce(this,e,t,n)}toDate(){return fce(this)}toString(){return Cce(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-dce(e,this.timeZone).toDate().getTime()}constructor(...e){zg(this,kce,{writable:!0,value:void 0});let[t,n,r,i,a]=Bg(e),o=e.shift(),s=e.shift();this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Dg(this)}},Hg=1080,Ace=24*Hg,jce=29,Mce=12*Hg+793;jce*Ace+Mce;function Nce(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return tg(3*(r+1),7)<3&&(r+=1),r}Y(),Y();function Pce(e){let t=Bh({dir:L(`ltr`)});return J(()=>e?.value||t.dir?.value||`ltr`)}Y();function Fce(e){let t=so(),n=t?.type.emits,r={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(t=>{r[ye(he(t))]=(...n)=>e(t,...n)}),r}Y();var Ug=0;function Ice(){Bn(e=>{if(!Hh)return;let t=document.querySelectorAll(`[data-reka-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,t[0]??Wg()),document.body.insertAdjacentElement(`beforeend`,t[1]??Wg()),Ug++,e(()=>{Ug===1&&document.querySelectorAll(`[data-reka-focus-guard]`).forEach(e=>e.remove()),Ug--})})}function Wg(){let e=document.createElement(`span`);return e.setAttribute(`data-reka-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}Y(),Y();function Gg(){let e=so(),t=L(),n=J(()=>[`#text`,`#comment`].includes(t.value?.$el.nodeName)?t.value?.$el.nextElementSibling:Jh(t)),r=Object.assign({},e.exposed),i={};for(let t in e.props)Object.defineProperty(i,t,{enumerable:!0,configurable:!0,get:()=>e.props[t]});if(Object.keys(r).length>0)for(let e in r)Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>r[e]});Object.defineProperty(i,`$el`,{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function a(n){t.value=n,n&&(Object.defineProperty(i,`$el`,{enumerable:!0,configurable:!0,get:()=>n instanceof Element?n:n.$el}),e.exposed=i)}return{forwardRef:a,currentRef:t,currentElement:n}}Y();function Kg(e){let t=so(),n=Object.keys(t?.type.props??{}).reduce((e,n)=>{let r=(t?.type.props[n]).default;return r!==void 0&&(e[n]=r),e},{}),r=Ot(e);return J(()=>{let e={},i=t?.vnode.props??{};return Object.keys(i).forEach(t=>{e[he(t)]=i[t]}),Object.keys({...n,...e}).reduce((e,t)=>(r.value[t]!==void 0&&(e[t]=r.value[t]),e),{})})}Y();function Lce(e,t){let n=Kg(e),r=t?Fce(t):{};return J(()=>({...n.value,...r}))}Y();function Rce(e,t){let n=Gh(!1,300),r=L(null),i=zse();function a(){r.value=null,n.value=!1}function o(e,t){let i=e.currentTarget,a={x:e.clientX,y:e.clientY},o=Bce(a,zce(a,i.getBoundingClientRect())),s=Vce(t.getBoundingClientRect());r.value=Uce([...o,...s]),n.value=!0}return Bn(n=>{if(e.value&&t.value){let r=e=>o(e,t.value),i=t=>o(t,e.value);e.value.addEventListener(`pointerleave`,r),t.value.addEventListener(`pointerleave`,i),n(()=>{e.value?.removeEventListener(`pointerleave`,r),t.value?.removeEventListener(`pointerleave`,i)})}}),Bn(n=>{if(r.value){let o=n=>{if(!r.value||!(n.target instanceof HTMLElement))return;let o=n.target,s={x:n.clientX,y:n.clientY},c=e.value?.contains(o)||t.value?.contains(o),l=!Hce(s,r.value),u=!!o.closest(`[data-grace-area-trigger]`);c?a():(l||u)&&(a(),i.trigger())};e.value?.ownerDocument.addEventListener(`pointermove`,o),n(()=>e.value?.ownerDocument.removeEventListener(`pointermove`,o))}}),{isPointerInTransit:n,onPointerExit:i.on}}function zce(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}function Bce(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Vce(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function Hce(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e].x,s=t[e].y,c=t[a].x,l=t[a].y;s>r!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}function Uce(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),Wce(t)}function Wce(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Gce=function(e){return e&&(e.host||Gce(e.parentNode))};Y(),Y();var Kce=0;function qce(e,t=`reka`){if(e)return e;if(`useId`in Nne)return`${t}-${Qn?.()}`;let n=Bh({useId:void 0});return n.useId?`${t}-${n.useId()}`:`${t}-${++Kce}`}Y(),Y();function Jce(e){let t=L(),n=J(()=>t.value?.width??0),r=J(()=>t.value?.height??0);return ua(()=>{let n=Jh(e);if(n){t.value={width:n.offsetWidth,height:n.offsetHeight};let e=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let r=e[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=n.offsetWidth,a=n.offsetHeight;t.value={width:i,height:a}});return e.observe(n,{box:`border-box`}),()=>e.unobserve(n)}else t.value=void 0}),{width:n,height:r}}Y();function Yce(e,t){let n=L(e);function r(e){return t[n.value][e]??n.value}return{state:n,dispatch:e=>{n.value=r(e)}}}function Xce(e){let t=Gh(``,1e3);return{search:t,handleTypeaheadSearch:(n,r)=>{if(t.value+=n,e)e(n);else{let e=Ih(),n=r.map(e=>({...e,textValue:e.value?.textValue??e.ref.textContent?.trim()??``})),i=n.find(t=>t.ref===e),a=Qce(n.map(e=>e.textValue),t.value,i?.textValue),o=n.find(e=>e.textValue===a);return o&&o.ref.focus(),o?.ref}},resetTypeahead:()=>{t.value=``}}}function Zce(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Qce(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Zce(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}Y();function $ce(e,t){let n=L({}),r=L(`none`),i=L(e),a=e.value?`mounted`:`unmounted`,o,s=t.value?.ownerDocument.defaultView??qh,{state:c,dispatch:l}=Yce(a,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),u=e=>{if(Hh){let n=new CustomEvent(e,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(n)}};B(e,async(e,i)=>{let a=i!==e;if(await Dn(),a){let a=r.value,o=qg(t.value);e?(l(`MOUNT`),u(`enter`),o===`none`&&u(`after-enter`)):o===`none`||o===`undefined`||n.value?.display===`none`?(l(`UNMOUNT`),u(`leave`),u(`after-leave`)):i&&a!==o?(l(`ANIMATION_OUT`),u(`leave`)):(l(`UNMOUNT`),u(`after-leave`))}},{immediate:!0});let d=e=>{let n=qg(t.value),r=n.includes(e.animationName),a=c.value===`mounted`?`enter`:`leave`;if(e.target===t.value&&r&&(u(`after-${a}`),l(`ANIMATION_END`),!i.value)){let e=t.value.style.animationFillMode;t.value.style.animationFillMode=`forwards`,o=s?.setTimeout(()=>{t.value?.style.animationFillMode===`forwards`&&(t.value.style.animationFillMode=e)})}e.target===t.value&&n===`none`&&l(`ANIMATION_END`)},f=e=>{e.target===t.value&&(r.value=qg(t.value))},p=B(t,(e,t)=>{e?(n.value=getComputedStyle(e),e.addEventListener(`animationstart`,f),e.addEventListener(`animationcancel`,d),e.addEventListener(`animationend`,d)):(l(`ANIMATION_END`),o!==void 0&&s?.clearTimeout(o),t?.removeEventListener(`animationstart`,f),t?.removeEventListener(`animationcancel`,d),t?.removeEventListener(`animationend`,d))},{immediate:!0}),m=B(c,()=>{let e=qg(t.value);r.value=c.value===`mounted`?e:`none`});return ma(()=>{p(),m()}),{isPresent:J(()=>[`mounted`,`unmountSuspended`].includes(c.value))}}function qg(e){return e&&getComputedStyle(e).animationName||`none`}Y();var ele=V({name:`Presence`,props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){let{present:r,forceMount:i}=Dt(e),a=L(),{isPresent:o}=$ce(r,a);n({present:o});let s=t.default({present:o.value});s=Rh(s||[]);let c=so();if(s&&s?.length>1){let e=c?.parent?.type.name?`<${c.parent.type.name} />`:`component`;throw Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,``,"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",`You can apply a few solutions:`,["Provide a single child element so that `presence` directive attach correctly.",`Ensure the first child is an actual element instead of a raw text node or comment node.`].map(e=>` - ${e}`).join(`
|
|
53
|
+
https://www.w3ctech.com/topic/2226`));let i=t(...r);return i.postcssPlugin=e,i.postcssVersion=new m().version,i}let i;return Object.defineProperty(r,`postcss`,{get(){return i||=r(),i}}),r.process=function(e,t,n){return b([r(n)]).process(e,t)},r},b.stringify=v,b.parse=p,b.fromJSON=c,b.list=d,b.comment=e=>new r(e),b.atRule=e=>new n(e),b.decl=e=>new o(e),b.rule=e=>new _(e),b.root=e=>new g(e),b.document=e=>new s(e),b.CssSyntaxError=a,b.Declaration=o,b.Container=i,b.Processor=m,b.Document=s,b.Comment=r,b.Warning=y,b.AtRule=n,b.Result=h,b.Input=l,b.Rule=_,b.Root=g,b.Node=f,u.registerPostcss(b),t.exports=b,b.default=b})),Ose=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),D=E.prototype;return w.prototype=D,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),kse=c(((e,t)=>{var n=Ose();function r(e){for(e=e.replace(/[\x00-\x20]+/g,``);;){let t=e.indexOf(`<!--`);if(t===-1)break;let n=e.indexOf(`-->`,t+4);if(n===-1)break;e=e.substring(0,t)+e.substring(n+3)}return e}function i(e,t){t||={};let n=t.allowedSchemes||[`http`,`https`,`ftp`,`mailto`,`tel`,`sms`],i=t.allowProtocolRelative!==!1;if(typeof e!=`string`)return!1;e=r(e);let a=e.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!a)return e.match(/^[/\\]{2}/)?!i:!1;let o=a[1].toLowerCase();return n.indexOf(o)===-1}t.exports=function(e){let t={};return t.options=e||{},t.filterTag=t.options.filterTag||function(e){return e=e.trim(),e.toLowerCase()},t.string=function(e,t){return typeof e!=`string`&&(typeof e==`number`||typeof e==`boolean`?e+=``:e=``),e=e.trim(),t!==void 0&&e===``&&(e=t),e},t.strings=function(e){return Array.isArray(e)?e.map(function(e){return t.string(e)}):[]},t.integer=function(e,t,n,r){if(t===void 0&&(t=0),typeof e==`number`)e=Math.floor(e);else try{e=parseInt(e,10),isNaN(e)&&(e=t)}catch{e=t}return typeof n==`number`&&e<n&&(e=n),typeof r==`number`&&e>r&&(e=r),e},t.padInteger=function(e,t){let n=e+``;for(;n.length<t;)n=`0`+n;return n},t.float=function(e,t,n,r){if(t===void 0&&(t=0),typeof e!=`number`)try{e=parseFloat(e,10),isNaN(e)&&(e=t)}catch{e=t}return typeof n==`number`&&e<n&&(e=n),typeof r==`number`&&e>r&&(e=r),e},t.naughtyHref=i,t.url=function(e,n,a){if(e=t.string(e,n),e===n)return e;if(e=r(e),i(e)||(e=o(e),e===null))return n;return e;function o(e){return e.match(/^(((https?|ftp):\/\/)|((mailto|tel|sms):)|#|([^/.]+)?\/|[^/.]+$)/)?e:e.match(/^[^/.]+\.[^/.]+/)?(a?`https://`:`http://`)+e:null}},t.select=function(e,n,r){if(e=t.string(e),!n||!n.length)return r;let i;return typeof n[0]==`object`?(i=n.find(function(t){return t.value===null||t.value===void 0?!1:t.value.toString()===e}),i==null?r:i.value):(i=n.find(function(t){return t==null?!1:t.toString()===e}),i===void 0?r:i)},t.boolean=function(e,n){return e===!0?!0:e===!1?!1:(e=t.string(e,n),e===n?e===void 0?!1:e:(e=e.toLowerCase().charAt(0),e===``||e===`n`||e===`0`||e===`f`?!1:e===`t`||e===`y`||e===`1`))},t.addBooleanFilterToCriteria=function(e,n,r,i){i===void 0&&(i=null);let a=typeof e==`object`&&e?e[n]:e;a=a===void 0?i:a,a=t.booleanOrNull(a),a===null||(a?r[n]=!0:r[n]={$ne:!0})},t.booleanOrNull=function(e,n){return e===!0||e===!1||e===null?e:(e=t.string(e,n),e===n?n===void 0?null:e:e===`null`?null:(e=e.toLowerCase().charAt(0),e===``||e===`n`||e===`0`||e===`f`?!1:e===`t`||e===`y`||e===`1`?!0:e===`a`?null:n))},t.date=function(e,r,i){let a;function o(){return r===void 0&&(r=n().format(`YYYY-MM-DD`)),r}if(typeof e==`string`){if(e.match(/\//)){if(a=e.split(`/`),a.length===2)return(i||new Date).getFullYear()+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2);if(a.length===3){if(a[2]<100){let e=i||new Date,t=e.getFullYear()%100,n=e.getFullYear()-t,r=parseInt(a[2])+n;r-e.getFullYear()>50&&(r-=100),a[2]=r}return t.padInteger(a[2],4)+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2)}else return o()}else if(e.match(/-/))return a=e.split(`-`),a.length===2?(i||new Date).getFullYear()+`-`+t.padInteger(a[0],2)+`-`+t.padInteger(a[1],2):a.length===3?t.padInteger(a[0],4)+`-`+t.padInteger(a[1],2)+`-`+t.padInteger(a[2],2):o()}try{return e===null||(e=i||new Date(e),isNaN(e.getTime()))?o():e.getFullYear()+`-`+t.padInteger(e.getMonth()+1,2)+`-`+t.padInteger(e.getDate(),2)}catch{return o()}},t.formatDate=function(e){return n(e).format(`YYYY-MM-DD`)},t.time=function(e,r){e=t.string(e).toLowerCase(),e=e.trim();let i=e.match(/^(\d+)([:|.](\d+))?([:|.](\d+))?\s*(am|pm|AM|PM|a|p|A|M)?$/);if(i){let e=parseInt(i[1],10),n=i[3]===void 0?0:parseInt(i[3],10),r=i[5]===void 0?0:parseInt(i[5],10),a=i[6]?i[6].toLowerCase():i[6];return a&&=a.charAt(0),e===12&&a===`a`?e-=12:e===12&&a===`p`||a===`p`&&(e+=12),(e===24||e===`24`)&&(e=0),t.padInteger(e,2)+`:`+t.padInteger(n,2)+`:`+t.padInteger(r,2)}else return r===void 0?n().format(`HH:mm`):r},t.formatTime=function(e){return n(e).format(`HH:mm:ss`)},t.tags=function(e,n){return typeof e==`string`&&(e=e.split(/,\s*/)),Array.isArray(e)?e.map(e=>t.string(e)).map(n||t.filterTag).filter(e=>e.length>0):[]},t.idRegExp=t.options.idRegExp||/^[A-Za-z0-9_]+$/,t.id=function(e,n){let r=t.string(e,n);return r===n||r.match(t.idRegExp)?r:n},t.ids=function(e){return Array.isArray(e)?e.filter(function(e){return t.id(e)!==void 0}):[]},t},t.exports.naughtyHref=i})),kh=c(((e,t)=>{var n=(hse(),f(fse)),r=gse(),{isPlainObject:i}=_se(),a=vse(),o=yse(),{parse:s}=Dse(),{naughtyHref:c}=kse(),l=[`img`,`audio`,`video`,`picture`,`svg`,`object`,`map`,`iframe`,`embed`],u=[`script`,`style`],d=[`animate`,`animatecolor`,`animatemotion`,`animatetransform`,`set`],p=[`href`];function m(e,t){e&&Object.keys(e).forEach(function(n){t(e[n],n)})}function h(e,t){return{}.hasOwnProperty.call(e,t)}function g(e,t){let n=[];return m(e,function(e){t(e)&&n.push(e)}),n}function _(e){for(let t in e)if(h(e,t))return!1;return!0}function v(e){return e.map(function(e){if(!e.url)throw Error(`URL missing`);return e.url+(e.w?` ${e.w}w`:``)+(e.h?` ${e.h}h`:``)+(e.d?` ${e.d}x`:``)}).join(`, `)}t.exports=b;var y=/^[^\0\t\n\f\r /<=>]+$/;function b(e,t,f){if(e==null)return``;typeof e==`number`&&(e=e.toString());let S=``,C=``;function w(e,t){let n=this;this.tag=e,this.attribs=t||{},this.tagPosition=S.length,this.text=``,this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(te.length){let e=te[te.length-1];e.text+=n.text}},this.updateParentNodeMediaChildren=function(){te.length&&l.includes(this.tag)&&te[te.length-1].mediaChildren.push(this.tag)}}t=Object.assign({},b.defaults,t),t.parser=Object.assign({},x,t.parser);let T=function(e){return t.allowedTags===!1||(t.allowedTags||[]).indexOf(e)>-1};u.forEach(function(e){T(e)&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)});let E=t.nonTextTags||[`script`,`style`,`textarea`,`option`,`xmp`],D,O;t.allowedAttributes&&(D={},O={},m(t.allowedAttributes,function(e,t){D[t]=[];let n=[];e.forEach(function(e){typeof e==`string`&&e.indexOf(`*`)>=0?n.push(r(e).replace(/\\\*/g,`.*`)):D[t].push(e)}),n.length&&(O[t]=RegExp(`^(`+n.join(`|`)+`)$`))}));let k={},A={},ee={};m(t.allowedClasses,function(e,t){if(D&&(h(D,t)||(D[t]=[]),D[t].push(`class`)),k[t]=e,Array.isArray(e)){let n=[];k[t]=[],ee[t]=[],e.forEach(function(e){typeof e==`string`&&e.indexOf(`*`)>=0?n.push(r(e).replace(/\\\*/g,`.*`)):e instanceof RegExp?ee[t].push(e):k[t].push(e)}),n.length&&(A[t]=RegExp(`^(`+n.join(`|`)+`)$`))}});let j={},M;m(t.transformTags,function(e,t){let n;typeof e==`function`?n=e:typeof e==`string`&&(n=b.simpleTransform(e)),t===`*`?M=n:j[t]=n});let N,te,ne,re,P,F,ie=!1;oe();let ae=new n.Parser({onopentag:function(e,n){if(t.onOpenTag&&t.onOpenTag(e,n),t.enforceHtmlBoundary&&e===`html`&&oe(),P){F++;return}let r=new w(e,n);te.push(r);let c=!1,l=!!r.text,u;if(h(j,e)&&(u=j[e](e,n),r.attribs=n=u.attribs,u.text!==void 0&&(r.innerText=u.text),e!==u.tagName&&(r.name=e=u.tagName,re[N]=u.tagName)),M&&(u=M(e,n),r.attribs=n=u.attribs,e!==u.tagName&&(r.name=e=u.tagName,re[N]=u.tagName)),(!T(e)||le(e,n)||t.disallowedTagsMode===`recursiveEscape`&&!_(ne)||t.nestingLimit!=null&&N>=t.nestingLimit)&&(c=!0,ne[N]=!0,(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&E.indexOf(e)!==-1&&(P=!0,F=1)),N++,c){if(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`){if(r.innerText&&!l){let n=se(r.innerText);t.textFilter?S+=t.textFilter(n,e):S+=n,ie=!0}return}C=S,S=``}if(S+=`<`+e,e===`script`&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(r.innerText=``),c&&(t.disallowedTagsMode===`escape`||t.disallowedTagsMode===`recursiveEscape`)&&t.preserveEscapedAttributes?m(n,function(e,t){S+=` `+t+`="`+se(e||``,!0)+`"`}):(!D||h(D,e)||D[`*`])&&m(n,function(n,c){if(!y.test(c)){delete r.attribs[c];return}if(n===``&&!t.allowedEmptyAttributes.includes(c)&&(t.nonBooleanAttributes.includes(c)||t.nonBooleanAttributes.includes(`*`))){delete r.attribs[c];return}let l=!1;if(!D||h(D,e)&&D[e].indexOf(c)!==-1||D[`*`]&&D[`*`].indexOf(c)!==-1||h(O,e)&&O[e].test(c)||O[`*`]&&O[`*`].test(c))l=!0;else if(D&&D[e]){for(let t of D[e])if(i(t)&&t.name&&t.name===c){l=!0;let e=``;if(t.multiple===!0){let r=n.split(` `);for(let n of r)t.values.indexOf(n)!==-1&&(e===``?e=n:e+=` `+n)}else t.values.indexOf(n)>=0&&(e=n);n=e}}if(l){if(t.allowedSchemesAppliedToAttributes.indexOf(c)!==-1&&ce(e,n)){delete r.attribs[c];return}if(e===`script`&&c===`src`){let e=!0;try{let r=ue(n);if(t.allowedScriptHostnames||t.allowedScriptDomains){let n=(t.allowedScriptHostnames||[]).find(function(e){return e===r.url.hostname}),i=(t.allowedScriptDomains||[]).find(function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)});e=n||i}}catch{e=!1}if(!e){delete r.attribs[c];return}}if(e===`iframe`&&c===`src`){let e=!0;try{let r=ue(n);if(r.isRelativeUrl)e=h(t,`allowIframeRelativeUrls`)?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){let n=(t.allowedIframeHostnames||[]).find(function(e){return e===r.url.hostname}),i=(t.allowedIframeDomains||[]).find(function(e){return r.url.hostname===e||r.url.hostname.endsWith(`.${e}`)});e=n||i}}catch{e=!1}if(!e){delete r.attribs[c];return}}if(c===`srcset`||c===`imagesrcset`)try{let e=o(n);if(e.forEach(function(e){ce(c,e.url)&&(e.evil=!0)}),e=g(e,function(e){return!e.evil}),e.length)n=v(g(e,function(e){return!e.evil})),r.attribs[c]=n;else{delete r.attribs[c];return}}catch{delete r.attribs[c];return}if(c===`class`){let t=k[e],i=k[`*`],o=A[e],s=ee[e],l=ee[`*`],u=[o,A[`*`]].concat(s,l).filter(function(e){return e});if(n=t&&i?me(n,a(t,i),u):me(n,t||i,u),!n.length){delete r.attribs[c];return}}if(c===`style`){if(t.parseStyleAttributes)try{if(n=fe(de(s(e+` {`+n+`}`,{map:!1}),t.allowedStyles)),n.length===0){delete r.attribs[c];return}}catch{typeof window<`u`&&console.warn(`Failed to parse "`+e+` {`+n+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete r.attribs[c];return}else if(t.allowedStyles)throw Error(`allowedStyles option cannot be used together with parseStyleAttributes: false.`)}S+=` `+c,n&&n.length?S+=`="`+se(n,!0)+`"`:t.allowedEmptyAttributes.includes(c)&&(S+=`=""`)}else delete r.attribs[c]}),t.selfClosing.indexOf(e)!==-1)S+=` />`;else if(S+=`>`,r.innerText&&!l){let n=se(r.innerText);t.textFilter?S+=t.textFilter(n,e):S+=n,ie=!0}c&&(S=C+se(S),C=``),r.openingTagLength=S.length-r.tagPosition},ontext:function(e){if(P)return;let n=te[te.length-1],r;if(n&&(r=n.tag,e=n.innerText===void 0?e:n.innerText),t.disallowedTagsMode===`completelyDiscard`&&!T(r))e=``;else if(r&&T(r)&&(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&(r===`script`||r===`style`))S+=e;else if(r&&T(r)&&(t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`)&&(r===`textarea`||r===`xmp`))r===`xmp`?S+=e.replace(/</g,`<`).replace(/>/g,`>`):S+=se(e,!1);else if(!ie){let n=se(e,!1);t.textFilter?S+=t.textFilter(n,r):S+=n}if(te.length){let t=te[te.length-1];t.text+=e}},onclosetag:function(e,n){if(t.onCloseTag&&t.onCloseTag(e,n),P)if(F--,!F)P=!1;else return;let r=te.pop();if(!r)return;if(r.tag!==e){te.push(r);return}P=t.enforceHtmlBoundary?e===`html`:!1,N--;let i=ne[N];if(i){if(delete ne[N],t.disallowedTagsMode===`discard`||t.disallowedTagsMode===`completelyDiscard`){r.updateParentNodeText();return}C=S,S=``}if(re[N]&&(e=re[N],delete re[N]),t.exclusiveFilter){let e=t.exclusiveFilter(r);if(e===`excludeTag`){i&&(S=C,C=``),S=S.substring(0,r.tagPosition)+S.substring(r.tagPosition+r.openingTagLength);return}else if(e){S=S.substring(0,r.tagPosition);return}}if(r.updateParentNodeMediaChildren(),r.updateParentNodeText(),t.selfClosing.indexOf(e)!==-1||n&&!T(e)&&[`escape`,`recursiveEscape`].indexOf(t.disallowedTagsMode)>=0){i&&(S=C,C=``);return}S+=`</`+e+`>`,i&&(S=C+se(S),C=``),ie=!1}},t.parser);if(ae.write(e),ae.end(),t.disallowedTagsMode===`escape`||t.disallowedTagsMode===`recursiveEscape`){let t=ae.endIndex;if(t!=null&&t>=0&&t<e.length){let n=e.substring(t);S+=se(n)}else (t==null||t<0)&&e.length>0&&S===``&&(S=se(e))}return S;function oe(){S=``,N=0,te=[],ne={},re={},P=!1,F=0}function se(e,n){return typeof e!=`string`&&(e+=``),t.parser.decodeEntities&&(e=e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),n&&(e=e.replace(/"/g,`"`))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),n&&(e=e.replace(/"/g,`"`)),e}function ce(e,n){return c(n,{allowedSchemes:h(t.allowedSchemesByTag,e)?t.allowedSchemesByTag[e]:t.allowedSchemes||[],allowProtocolRelative:t.allowProtocolRelative})}function le(e,n){if(d.indexOf(e.toLowerCase())===-1)return!1;let r=t.allowedSchemesAppliedToAttributes||[];return Object.keys(n||{}).some(function(e){if(e.toLowerCase()!==`attributename`)return!1;let t=(n[e]||``).trim().toLowerCase(),i=t.slice(t.lastIndexOf(`:`)+1);return p.indexOf(i)!==-1||r.indexOf(t)!==-1||r.indexOf(i)!==-1})}function ue(e){if(e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,`$1//`),e.startsWith(`relative:`))throw Error(`relative: exploit attempt`);let t=`relative://relative-site`;for(let e=0;e<100;e++)t+=`/${e}`;let n=new URL(e,t);return{isRelativeUrl:n&&n.hostname===`relative-site`&&n.protocol===`relative:`,url:n}}function de(e,t){if(!t)return e;let n=e.nodes[0],r;return r=t[n.selector]&&t[`*`]?a(t[n.selector],t[`*`]):t[n.selector]||t[`*`],r&&(e.nodes[0].nodes=n.nodes.reduce(pe(r),[])),e}function fe(e){return e.nodes[0].nodes.reduce(function(e,t){return e.push(`${t.prop}:${t.value}${t.important?` !important`:``}`),e},[]).join(`;`)}function pe(e){return function(t,n){return h(e,n.prop)&&e[n.prop].some(function(e){return e.test(n.value)})&&t.push(n),t}}function me(e,t,n){return t?(e=e.split(/\s+/),e.filter(function(e){return t.indexOf(e)!==-1||n.some(function(t){return t.test(e)})}).join(` `)):e}}var x={decodeEntities:!0};b.defaults={allowedTags:`address.article.aside.footer.header.h1.h2.h3.h4.h5.h6.hgroup.main.nav.section.blockquote.dd.div.dl.dt.figcaption.figure.hr.li.menu.ol.p.pre.ul.a.abbr.b.bdi.bdo.br.cite.code.data.dfn.em.i.kbd.mark.q.rb.rp.rt.rtc.ruby.s.samp.small.span.strong.sub.sup.time.u.var.wbr.caption.col.colgroup.table.tbody.td.tfoot.th.thead.tr`.split(`.`),nonBooleanAttributes:`abbr.accept.accept-charset.accesskey.action.allow.alt.as.autocapitalize.autocomplete.blocking.charset.cite.class.color.cols.colspan.content.contenteditable.coords.crossorigin.data.datetime.decoding.dir.dirname.download.draggable.enctype.enterkeyhint.fetchpriority.for.form.formaction.formenctype.formmethod.formtarget.headers.height.hidden.high.href.hreflang.http-equiv.id.imagesizes.imagesrcset.inputmode.integrity.is.itemid.itemprop.itemref.itemtype.kind.label.lang.list.loading.low.max.maxlength.media.method.min.minlength.name.nonce.optimum.pattern.ping.placeholder.popover.popovertarget.popovertargetaction.poster.preload.referrerpolicy.rel.rows.rowspan.sandbox.scope.shape.size.sizes.slot.span.spellcheck.src.srcdoc.srclang.srcset.start.step.style.tabindex.target.title.translate.type.usemap.value.width.wrap.onauxclick.onafterprint.onbeforematch.onbeforeprint.onbeforeunload.onbeforetoggle.onblur.oncancel.oncanplay.oncanplaythrough.onchange.onclick.onclose.oncontextlost.oncontextmenu.oncontextrestored.oncopy.oncuechange.oncut.ondblclick.ondrag.ondragend.ondragenter.ondragleave.ondragover.ondragstart.ondrop.ondurationchange.onemptied.onended.onerror.onfocus.onformdata.onhashchange.oninput.oninvalid.onkeydown.onkeypress.onkeyup.onlanguagechange.onload.onloadeddata.onloadedmetadata.onloadstart.onmessage.onmessageerror.onmousedown.onmouseenter.onmouseleave.onmousemove.onmouseout.onmouseover.onmouseup.onoffline.ononline.onpagehide.onpageshow.onpaste.onpause.onplay.onplaying.onpopstate.onprogress.onratechange.onreset.onresize.onrejectionhandled.onscroll.onscrollend.onsecuritypolicyviolation.onseeked.onseeking.onselect.onslotchange.onstalled.onstorage.onsubmit.onsuspend.ontimeupdate.ontoggle.onunhandledrejection.onunload.onvolumechange.onwaiting.onwheel`.split(`.`),disallowedTagsMode:`discard`,allowedAttributes:{a:[`href`,`name`,`target`],img:[`src`,`srcset`,`alt`,`title`,`width`,`height`,`loading`]},allowedEmptyAttributes:[`alt`],selfClosing:[`img`,`br`,`hr`,`area`,`base`,`basefont`,`input`,`link`,`meta`,`col`],allowedSchemes:[`http`,`https`,`ftp`,`mailto`,`tel`],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:[`href`,`src`,`cite`,`action`,`formaction`,`data`,`xlink:href`,`poster`,`background`,`ping`,`longdesc`,`usemap`,`codebase`,`classid`,`archive`,`profile`,`manifest`,`itemid`,`dynsrc`,`lowsrc`],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},b.simpleTransform=function(e,t,n){return n=n===void 0?!0:n,t||={},function(r,i){let a;if(n)for(a in t)i[a]=t[a];else i=t;return{tagName:e,attribs:i}}}})),Ah,jh,Mh,Nh=s((()=>{rp(),Ah=d(kh(),1),jh=e=>(0,Ah.default)(e,{allowedTags:Ah.default.defaults.allowedTags.concat([`img`,`input`]),allowedAttributes:{...Ah.default.defaults.allowedAttributes,input:[`type`,`id`,`checked`],code:[`class`],a:Ah.default.defaults.allowedAttributes.a.concat([`data-*`]),div:[`class`]}}),Mh=(e,t)=>{t.value!==t.oldValue&&(e.innerHTML=jh(t.value))}})),Ase;s((()=>{Nh(),Ase={"setupPanel.label":`Workflow setup`,"setupPanel.back":`Back to setup checklist`,"setupPanel.complete":`Complete`,"setupPanel.credentialSelected":`Credential selected`,"setupPanel.setupComplete":`Setup complete`,"setupPanel.execute":`Execute`,"setupPanel.validating":`Validating…`,"setupPanel.executing":`Executing…`,"setupPanel.connected":`Connected`,"setupPanel.changeConnection":`Change connection`,"setupPanel.moreOptions":`More options`,"generic.retry":`Retry`,"generic.cancel":`Cancel`,"generic.close":`Close`,"generic.moreInfo":`More info`,"aiModelSelector.credentialsMissing":`Credentials missing`,"nds.auth.roles.owner":`Owner`,"nds.userInfo.you":`(you)`,"nds.userSelect.selectUser":`Select User`,"nds.userSelect.noMatchingUsers":`No matching users`,"nds.select.placeholder":`Select an option`,"nds.select.clear":`Clear selection`,"nds.select.noResults":`No results found`,"nds.inputNumber.increase":`Increase`,"nds.inputNumber.decrease":`Decrease`,"resizeWrapper.resize":`Resize`,"resizeWrapper.drag":`Drag`,"notice.showMore":`Show more`,"notice.showLess":`Show less`,"formInput.validator.fieldRequired":`This field is required`,"formInput.validator.minCharactersRequired":`Must be at least {minimum} characters`,"formInput.validator.maxCharactersRequired":`Must be at most {maximum} characters`,"formInput.validator.oneNumbersRequired":e=>`Must have at least ${e.minimum} number${e.minimum>1?`s`:``}`,"formInput.validator.validEmailRequired":`Must be a valid email`,"formInput.validator.uppercaseCharsRequired":e=>`Must have at least ${e.minimum} uppercase character${e.minimum>1?`s`:``}`,"formInput.validator.defaultPasswordRequirements":`{minimum}+ characters, at least 1 number and 1 capital letter`,"sticky.markdownHint":`You can style with <a href="https://docs.n8n.io/workflows/components/sticky-notes/" target="_blank">Markdown</a>`,"tags.showMore":e=>`+${e} more`,"datatable.pageSize":`Page size`,"pagination.previousPage":`Previous page`,"pagination.nextPage":`Next page`,"pagination.total":`Total {total}`,"pagination.pageSize":`Page size`,"pagination.pageSizeOption":`{size}/page`,"pagination.goTo":`Go to`,"pagination.goToPage":`Go to page`,"codeDiff.couldNotReplace":`Could not replace code`,"codeDiff.codeReplaced":`Code replaced`,"codeDiff.replaceMyCode":`Replace my code`,"codeDiff.replacing":`Replacing...`,"codeDiff.undo":`Undo`,"generic.copy":`Copy`,"generic.copiedToClipboard":`Copied to clipboard`,"codeBlock.copy":`Copy code`,"codeBlock.copiedToClipboard":`Copied to clipboard`,"codeBlock.copyFailed":`Couldn't copy code. Try again or copy it manually.`,"codeBlock.expand":`Expand code`,"codeBlock.collapse":`Collapse code`,"previewTag.preview":`Preview`,"askAssistantButton.askAssistant":`n8n AI`,"assistantChat.builder.name":`AI Builder`,"assistantChat.builder.generatingFinalWorkflow":`Generating final workflow...`,"assistantChat.builder.configuredNodes":`Configured nodes`,"assistantChat.builder.thumbsUp":`Helpful`,"assistantChat.builder.thumbsDown":`Not helpful`,"assistantChat.builder.feedbackPlaceholder":`Tell us about your experience`,"assistantChat.builder.success":`Thanks for your feedback!`,"assistantChat.builder.feedbackSubmit":`Submit feedback`,"assistantChat.rating.thumbsUp":`Helpful`,"assistantChat.rating.thumbsDown":`Not helpful`,"assistantChat.rating.feedbackPlaceholder":`Tell us about your experience`,"assistantChat.rating.success":`Thanks for your feedback!`,"assistantChat.rating.feedbackSubmit":`Submit feedback`,"assistantChat.builder.workflowGenerated1":`Your workflow was created successfully!`,"assistantChat.builder.workflowGenerated2":`Fix any missing credentials before testing it.`,"assistantChat.builder.configuringNodes":`Configuring nodes...`,"assistantChat.builder.selectedNodes":`Selected workflow nodes`,"assistantChat.builder.selectingNodes":`Selecting nodes...`,"assistantChat.builder.generatedNodes":`Generated workflow nodes`,"assistantChat.builder.toolRunning":`Tool still running`,"assistantChat.builder.toolError":`Some tool calls have failed. Agent will retry these.`,"assistantChat.thinking.workflowGenerated":`Workflow generated`,"assistantChat.thinking.craftingWorkflow":`Crafting workflow`,"assistantChat.thinking.thinking":`Thinking`,"assistantChat.thinking.processing":`Processing`,"assistantChat.errorParsingMarkdown":`Error parsing markdown content`,"assistantChat.aiAssistantLabel":`n8n AI`,"assistantChat.aiAssistantBetaLabel":`Beta`,"assistantChat.aiAssistantName":`n8n AI`,"assistantChat.sessionEndMessage.1":`This n8n AI session has ended. To start a new session with n8n AI, click a`,"assistantChat.sessionEndMessage.2":`button in n8n`,"assistantChat.you":`You`,"assistantChat.quickRepliesTitle":`Quick reply 👇`,"assistantChat.placeholder.1":()=>`I can answer most questions about building workflows in n8n.`,"assistantChat.placeholder.2":`For specific tasks, you’ll see the`,"assistantChat.placeholder.3":`button in the UI.`,"assistantChat.placeholder.4":`How can I help?`,"assistantChat.inputPlaceholder":`Enter your response...`,"assistantChat.blankStateInputPlaceholder":`What would you like to automate?`,"assistantChat.copy":`Copy`,"assistantChat.copied":`Copied`,"assistantChat.messageActions":`Message actions`,"assistantChat.readAloud":`Read aloud`,"assistantChat.stopReading":`Stop reading`,"assistantChat.characterLimit":`You've reached the {limit} character limit`,"aiAssistant.builder.canvas.thinking":`Working...`,"aiAssistant.builder.streamAbortedMessage":`Task aborted`,"collaboration.canvas.acquireEditing":`Edit here`,"collaboration.canvas.editing":`{user} is currently editing`,"collaboration.canvas.editingAnotherTab":`Editing in another tab`,"inlineAskAssistantButton.asked":`Asked`,"iconPicker.button.defaultToolTip":`Choose icon`,"iconPicker.tabs.icons":`Icons`,"iconPicker.tabs.emojis":`Emojis`,"iconPicker.search.placeholder":`Search...`,"iconPicker.search.noResults":`No results found`,"iconPicker.loading":`Loading...`,"iconPicker.random.icon":`Pick a random icon`,"iconPicker.random.emoji":`Pick a random emoji`,"iconPicker.colorPicker.tooltip":`Icon color`,"iconPicker.colorPicker.selectColor":`Select icon color`,"iconPicker.skinTone.tooltip":`Skin tone`,"iconPicker.skinTone.selectSkinTone":`Select skin tone`,"iconPicker.skinTone.default":`Default`,"iconPicker.skinTone.light":`Light`,"iconPicker.skinTone.mediumLight":`Medium-Light`,"iconPicker.skinTone.medium":`Medium`,"iconPicker.skinTone.mediumDark":`Medium-Dark`,"iconPicker.skinTone.dark":`Dark`,"iconPicker.colorPicker.blue":`Blue`,"iconPicker.colorPicker.lightBlue":`Light Blue`,"iconPicker.colorPicker.azure":`Azure`,"iconPicker.colorPicker.purple":`Purple`,"iconPicker.colorPicker.pink":`Pink`,"iconPicker.colorPicker.red":`Red`,"iconPicker.colorPicker.orange":`Orange`,"iconPicker.colorPicker.green":`Green`,"iconPicker.colorPicker.darkGreen":`Dark Green`,"iconPicker.colorPicker.gray":`Gray`,"iconPicker.category.all":`All`,"iconPicker.iconSection.accessibility":`Accessibility`,"iconPicker.iconSection.account":`Accounts & Access`,"iconPicker.iconSection.animals":`Animals`,"iconPicker.iconSection.arrows":`Arrows`,"iconPicker.iconSection.brands":`Brands`,"iconPicker.iconSection.buildings":`Buildings`,"iconPicker.iconSection.charts":`Charts`,"iconPicker.iconSection.communication":`Communication`,"iconPicker.iconSection.connectivity":`Connectivity`,"iconPicker.iconSection.cursors":`Cursors`,"iconPicker.iconSection.design":`Design`,"iconPicker.iconSection.development":`Coding & Development`,"iconPicker.iconSection.devices":`Devices`,"iconPicker.iconSection.emoji":`Emoji`,"iconPicker.iconSection.files":`File Icons`,"iconPicker.iconSection.finance":`Finance`,"iconPicker.iconSection.foodBeverage":`Food & Beverage`,"iconPicker.iconSection.gaming":`Gaming`,"iconPicker.iconSection.home":`Home`,"iconPicker.iconSection.layout":`Layout`,"iconPicker.iconSection.mail":`Mail`,"iconPicker.iconSection.math":`Mathematics`,"iconPicker.iconSection.medical":`Medical`,"iconPicker.iconSection.multimedia":`Multimedia`,"iconPicker.iconSection.nature":`Nature`,"iconPicker.iconSection.navigation":`Navigation, Maps & POIs`,"iconPicker.iconSection.notifications":`Notifications`,"iconPicker.iconSection.people":`People`,"iconPicker.iconSection.photography":`Photography`,"iconPicker.iconSection.science":`Science`,"iconPicker.iconSection.seasons":`Seasons`,"iconPicker.iconSection.security":`Security`,"iconPicker.iconSection.shapes":`Shapes`,"iconPicker.iconSection.shopping":`Shopping`,"iconPicker.iconSection.social":`Social`,"iconPicker.iconSection.sports":`Sports`,"iconPicker.iconSection.sustainability":`Sustainability`,"iconPicker.iconSection.text":`Text Formatting`,"iconPicker.iconSection.time":`Time & Calendar`,"iconPicker.iconSection.tools":`Tools`,"iconPicker.iconSection.transportation":`Transportation`,"iconPicker.iconSection.travel":`Travel`,"iconPicker.iconSection.weather":`Weather`,"iconPicker.iconSection.other":`Other`,"iconPicker.emojiSection.people":`Smileys & People`,"iconPicker.emojiSection.animalsNature":`Animals & Nature`,"iconPicker.emojiSection.foodDrink":`Food & Drink`,"iconPicker.emojiSection.activity":`Activity`,"iconPicker.emojiSection.travelPlaces":`Travel & Places`,"iconPicker.emojiSection.objects":`Objects`,"iconPicker.emojiSection.symbols":`Symbols`,"iconPicker.emojiSection.flags":`Flags`,"actionDropdown.activator":`Actions`,"askAssistantChat.close":`Close`,"sendStopButton.stop":`Stop`,"sendStopButton.send":`Send`,"selectableList.addDefault":`+ Add a`,"auth.changePassword.passwordsMustMatchError":`Passwords must match`,"tableControlsButton.display":`Display`,"tableControlsButton.shown":`Shown`,"tableControlsButton.hidden":`Hidden`,"promptInput.creditsInfo":`<b>{remaining}/{total}</b> monthly credits left`,"promptInput.getMore":`Get more`,"promptInput.askAdminToUpgrade":`Ask your admin to upgrade the instance to get more credits`,"promptInput.characterLimitReached":`You've reached the {limit} character limit`,"promptInput.remainingCredits":`Remaining builder AI credits: <b>{count}</b>`,"promptInput.monthlyCredits":`Monthly credits: <b>{count}</b> (1 credit = 1 message)`,"promptInput.creditsRenew":`Credits renew on: <b>{date}</b>`,"promptInput.creditsExpire":`Unused credits expire {date}`,"nodeCreatorNode.new":`New`,"collapsiblePanel.collapse":`Collapse`,"collapsiblePanel.expand":`Expand`,"collapsiblePanel.dragToReorder":`Drag to reorder`,"collapsiblePanel.delete":`Delete`,"combobox.clearSelection":`Clear selection`,"combobox.showPopup":`Show popup`,"combobox.placeholder":`Select an option`,"combobox.emptyText":`No results found.`,"tagsInput.removeTag":`Remove {tag}`,"markdownEditor.bold":`Bold`,"markdownEditor.italic":`Italic`,"markdownEditor.strikethrough":`Strikethrough`,"markdownEditor.underline":`Underline`,"markdownEditor.link":`Link`,"markdownEditor.bulletList":`Bullet list`,"markdownEditor.orderedList":`Ordered list`,"markdownEditor.taskList":`Task list`,"markdownEditor.codeBlock":`Code block`,"markdownEditor.blockquote":`Blockquote`,"markdownEditor.undo":`Undo`,"markdownEditor.redo":`Redo`,"markdownEditor.text":`Text`,"markdownEditor.heading1":`Heading 1`,"markdownEditor.heading2":`Heading 2`,"markdownEditor.heading3":`Heading 3`,"markdownEditor.rawMarkdownView":`Raw markdown`,"markdownEditor.formattedMarkdownView":`Formatted view`,"markdownEditor.expand":`Expand editor`,"markdownEditor.collapse":`Collapse editor`,"markdownEditor.linkDialogTitle":`Add link`,"markdownEditor.linkUrl":`Link URL`,"markdownEditor.linkPlaceholder":`https://example.com`,"markdownEditor.linkRequired":`Enter a URL to add the link`,"markdownEditor.linkInvalid":`Enter a valid URL, such as https://example.com`,"markdownEditor.addLink":`Add link`,"markdownEditor.updateLink":`Update link`,"markdownEditor.removeLink":`Remove link`,"markdownEditor.cancel":`Cancel`,"markdownEditor.slashCommandMenuLabel":`Markdown commands`,"aiAssistant.textMessage.restoreVersion":`Restore version`,"aiAssistant.versionCard.restoreModal.title":`Restore to this version?`,"aiAssistant.versionCard.restoreModal.description":`Your current version will be saved in version history for {pruneTime}.`,"aiAssistant.versionCard.restoreModal.descriptionNoLimit":`Your current version will be saved in version history.`,"aiAssistant.versionCard.restoreModal.hour":`{count} hour`,"aiAssistant.versionCard.restoreModal.hours":`{count} hours`,"aiAssistant.versionCard.restoreModal.day":`{count} day`,"aiAssistant.versionCard.restoreModal.days":`{count} days`,"aiAssistant.versionCard.restoreModal.showVersion":`Show version`,"aiAssistant.versionCard.restoreModal.restore":`Restore`}}))(),Y();var jse=Symbol(`IconBodyLoader`),Mse=async()=>null;function Nse(){return zn(jse,Mse)}function Ph(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Ph(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function Pse(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ph(e))&&(r&&(r+=` `),r+=t);return r}Y();function Fh(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,r=Symbol(n);return[t=>{let n=zn(r,t);if(n||n===null)return n;throw Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>(Rn(r,e),e)]}function Ih(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function Lh(e,t,n){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}Y();function Rh(e){return e?e.flatMap(e=>e.type===Ya?Rh(e.children):[e]):[]}var Fse=[`INPUT`,`TEXTAREA`];function Ise(e,t,n,r={}){if(!t||r.enableIgnoredElement&&Fse.includes(t.nodeName))return null;let{arrowKeyOptions:i=`both`,attributeName:a=`[data-reka-collection-item]`,itemsArray:o=[],loop:s=!0,dir:c=`ltr`,preventScroll:l=!0,focus:u=!1}=r,[d,f,p,m,h,g]=[e.key===`ArrowRight`,e.key===`ArrowLeft`,e.key===`ArrowUp`,e.key===`ArrowDown`,e.key===`Home`,e.key===`End`],_=p||m,v=d||f;if(!h&&!g&&(!_&&!v||i===`vertical`&&v||i===`horizontal`&&_))return null;let y=n?Array.from(n.querySelectorAll(a)):o;if(!y.length)return null;l&&e.preventDefault();let b=null;return v||_?b=zh(y,t,{goForward:_?m:c===`ltr`?d:f,loop:s}):h?b=y.at(0)||null:g&&(b=y.at(-1)||null),u&&b?.focus(),b}function zh(e,t,n,r=e.length){if(--r===0)return null;let i=e.indexOf(t),a=n.goForward?i+1:i-1;if(!n.loop&&(a<0||a>=e.length))return null;let o=e[(a+e.length)%e.length];return o?o.hasAttribute(`disabled`)&&o.getAttribute(`disabled`)!==`false`?zh(e,o,n,r):o:null}Y();var[Bh,Lse]=Fh(`ConfigProvider`);Y();function Rse(e,t){let n=xt();return Bn(()=>{n.value=e()},{...t,flush:t?.flush??`sync`}),ft(n)}function Vh(e){return ze()?(Be(e),!0):!1}function zse(){let e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);let r=()=>t(n);return Vh(r),{off:r}},off:t,trigger:(...t)=>Promise.all(Array.from(e).map(e=>e(...t))),clear:()=>{e.clear()}}}function Bse(e){let t=!1,n,r=Re(!0);return(...i)=>(t||=(n=r.run(()=>e(...i)),!0),n)}function Vse(e){let t=0,n,r,i=()=>{--t,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...a)=>(t+=1,r||(r=Re(!0),n=r.run(()=>e(...a))),Vh(i),n)}var Hh=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var Hse=e=>e!==void 0,Use=Object.prototype.toString,Wse=e=>Use.call(e)===`[object Object]`,Uh=Gse();function Gse(){return Hh&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Kse(e){return e||so()}function Wh(e){return Array.isArray(e)?e:[e]}function Gh(e,t=1e4){return Et((n,r)=>{let i=wt(e),a,o=()=>setTimeout(()=>{i=wt(e),r()},wt(t));return Vh(()=>{clearTimeout(a)}),{get(){return n(),i},set(e){i=e,r(),clearTimeout(a),a=o()}}})}function qse(e,t){Kse(t)&&pa(e,t)}function Kh(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=xt(!1),o=null;function s(){o&&=(clearTimeout(o),null)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=null,e(...n)},wt(t))}return r&&(a.value=!0,Hh&&l()),Vh(c),{isPending:ft(a),start:l,stop:c}}function Jse(e,t,n){return B(e,t,{...n,immediate:!0})}Y();var qh=Hh?window:void 0;Hh&&window.document,Hh&&window.navigator,Hh&&window.location;function Jh(e){let t=wt(e);return t?.$el??t}function Yh(...e){let t=[],n=()=>{t.forEach(e=>e()),t.length=0},r=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),i=J(()=>{let t=Wh(wt(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),a=Jse(()=>[i.value?.map(e=>Jh(e))??[qh].filter(e=>e!=null),Wh(wt(i.value?e[1]:e[0])),Wh(R(i.value?e[2]:e[1])),wt(i.value?e[3]:e[2])],([e,i,a,o])=>{if(n(),!e?.length||!i?.length||!a?.length)return;let s=Wse(o)?{...o}:o;t.push(...e.flatMap(e=>i.flatMap(t=>a.map(n=>r(e,t,n,s)))))},{flush:`post`});return Vh(n),()=>{a(),n()}}function Xh(){let e=xt(!1),t=so();return t&&ua(()=>{e.value=!0},t),e}function Yse(e){let t=Xh();return J(()=>(t.value,!!e()))}function Xse(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Zse(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=qh,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=Xse(t);return Yh(i,a,e=>{e.repeat&&wt(s)||c(e)&&n(e)},o)}function Qse(e){return JSON.parse(JSON.stringify(e))}function $se(e,t,n={}){let{window:r=qh,...i}=n,a,o=Yse(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=B(J(()=>{let t=wt(e);return Array.isArray(t)?t.map(e=>Jh(e)):[Jh(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return Vh(l),{isSupported:o,stop:l}}function Zh(e,t,n,r={}){let{clone:i=!1,passive:a=!1,eventName:o,deep:s=!1,defaultValue:c,shouldEmit:l}=r,u=so(),d=n||u?.emit||(u?.$emit)?.bind(u)||(u?.proxy?.$emit)?.bind(u?.proxy),f=o;t||=`modelValue`,f||=`update:${t.toString()}`;let p=e=>i?typeof i==`function`?i(e):Qse(e):e,m=()=>Hse(e[t])?p(e[t]):c,h=e=>{l?l(e)&&d(f,e):d(f,e)};if(a){let n=L(m()),r=!1;return B(()=>e[t],e=>{r||(r=!0,n.value=p(e),Dn(()=>r=!1))}),B(n,n=>{!r&&(n!==e[t]||s)&&h(n)},{deep:s}),n}else return J({get(){return m()},set(e){h(e)}})}function Qh(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function $h(e,t,n=`.`,r){if(!Qh(t))return $h(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:Qh(a)&&Qh(i[t])?i[t]=$h(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function ece(e){return(...t)=>t.reduce((t,n)=>$h(t,n,``,e),{})}var tce=ece();Y();var nce=Vse(()=>{let e=L(new Map),t=L(),n=J(()=>{for(let t of e.value.values())if(t)return!0;return!1}),r=Bh({scrollBody:L(!0)}),i=null,a=()=>{document.body.style.paddingRight=``,document.body.style.marginRight=``,document.body.style.pointerEvents=``,document.documentElement.style.removeProperty(`--scrollbar-width`),document.body.style.overflow=t.value??``,Uh&&i?.(),t.value=void 0};return B(n,(e,n)=>{if(!Hh)return;if(!e){n&&a();return}t.value===void 0&&(t.value=document.body.style.overflow);let o=window.innerWidth-document.documentElement.clientWidth,s={padding:o,margin:0},c=r.scrollBody?.value?typeof r.scrollBody.value==`object`?tce({padding:r.scrollBody.value.padding===!0?o:r.scrollBody.value.padding,margin:r.scrollBody.value.margin===!0?o:r.scrollBody.value.margin},s):s:{padding:0,margin:0};o>0&&(document.body.style.paddingRight=typeof c.padding==`number`?`${c.padding}px`:String(c.padding),document.body.style.marginRight=typeof c.margin==`number`?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty(`--scrollbar-width`,`${o}px`),document.body.style.overflow=`hidden`),Uh&&(i=Yh(document,`touchmove`,e=>ice(e),{passive:!1})),Dn(()=>{document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`})},{immediate:!0,flush:`sync`}),e});function rce(e){let t=Math.random().toString(36).substring(2,7),n=nce();n.value.set(t,e??!1);let r=J({get:()=>n.value.get(t)??!1,set:e=>n.value.set(t,e)});return qse(()=>{n.value.delete(t)}),r}function eg(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(t instanceof Element)||t.tagName===`BODY`?!1:eg(t)}}function ice(e){let t=e||window.event,n=t.target;return n instanceof Element&&eg(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function tg(e,t){return e-t*Math.floor(e/t)}var ng=1721426;function rg(e,t,n,r){t=ag(e,t);let i=t-1,a=-2;return n<=2?a=0:ig(t)&&(a=-1),ng-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+a+r)}function ig(e){return e%4==0&&(e%100!=0||e%400==0)}function ag(e,t){return e===`BC`?1-t:t}function ace(e){let t=`AD`;return e<=0&&(t=`BC`,e=1-e),[t,e]}var oce={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},og=class{fromJulianDay(e){let t=e,n=t-ng,r=Math.floor(n/146097),i=tg(n,146097),a=Math.floor(i/36524),o=tg(i,36524),s=Math.floor(o/1461),c=tg(o,1461),l=Math.floor(c/365),[u,d]=ace(r*400+a*100+s*4+l+(a!==4&&l!==4?1:0)),f=t-rg(u,d,1,1),p=2;t<rg(u,d,3,1)?p=0:ig(d)&&(p=1);let m=Math.floor(((f+p)*12+373)/367);return new Ece(u,d,m,t-rg(u,d,m,1)+1)}toJulianDay(e){return rg(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return oce[ig(e.year)?`leapyear`:`standard`][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return ig(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return[`BC`,`AD`]}isInverseEra(e){return e.era===`BC`}balanceDate(e){e.year<=0&&(e.era=e.era===`BC`?`AD`:`BC`,e.year=1-e.year)}constructor(){this.identifier=`gregory`}};function sce(e,t){return e.isEqual?.call(e,t)??t.isEqual?.call(t,e)??e.identifier===t.identifier}function sg(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function cce(e,t){return cg(e)-cg(t)}function cg(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}var lg=null;function ug(){return lg??=new Intl.DateTimeFormat().resolvedOptions().timeZone,lg}function dg(e){return e=xg(e,new og),fg(ag(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function fg(e,t,n,r,i,a,o){let s=new Date;return s.setUTCHours(r,i,a,o),s.setUTCFullYear(e,t-1,n),s.getTime()}function pg(e,t){if(t===`UTC`)return 0;if(e>0&&t===ug())return new Date(e).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:a,minute:o,second:s}=hg(e,t);return fg(n,r,i,a,o,s,0)-Math.floor(e/1e3)*1e3}var mg=new Map;function hg(e,t){let n=mg.get(t);n||(n=new Intl.DateTimeFormat(`en-US`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),mg.set(t,n));let r=n.formatToParts(new Date(e)),i={};for(let e of r)e.type!==`literal`&&(i[e.type]=e.value);return{year:i.era===`BC`||i.era===`B`?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour===`24`?0:+i.hour,minute:+i.minute,second:+i.second}}var gg=864e5;function lce(e,t,n,r){return(n===r?[n]:[n,r]).filter(n=>uce(e,t,n))}function uce(e,t,n){let r=hg(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}function _g(e,t,n=`compatible`){let r=bg(e);if(t===`UTC`)return dg(r);if(t===ug()&&n===`compatible`){r=xg(r,new og);let e=new Date,t=ag(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let i=dg(r),a=pg(i-gg,t),o=pg(i+gg,t),s=lce(r,t,i-a,i-o);if(s.length===1)return s[0];if(s.length>1)switch(n){case`compatible`:case`earlier`:return s[0];case`later`:return s[s.length-1];case`reject`:throw RangeError(`Multiple possible absolute times found`)}switch(n){case`earlier`:return Math.min(i-a,i-o);case`compatible`:case`later`:return Math.max(i-a,i-o);case`reject`:throw RangeError(`No such absolute time found`)}}function vg(e,t,n=`compatible`){return new Date(_g(e,t,n))}function yg(e,t){let n=pg(e,t),r=new Date(e+n),i=r.getUTCFullYear(),a=r.getUTCMonth()+1,o=r.getUTCDate(),s=r.getUTCHours(),c=r.getUTCMinutes(),l=r.getUTCSeconds(),u=r.getUTCMilliseconds();return new Vg(i<1?`BC`:`AD`,i<1?-i+1:i,a,o,t,n,s,c,l,u)}function bg(e,t){let n=0,r=0,i=0,a=0;if(`timeZone`in e)({hour:n,minute:r,second:i,millisecond:a}=e);else if(`hour`in e&&!t)return e;return t&&({hour:n,minute:r,second:i,millisecond:a}=t),new Oce(e.calendar,e.era,e.year,e.month,e.day,n,r,i,a)}function xg(e,t){if(sce(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,Dg(r),r}function dce(e,t,n){return e instanceof Vg?e.timeZone===t?e:pce(e,t):yg(_g(e,t,n),t)}function fce(e){let t=dg(e)-e.offset;return new Date(t)}function pce(e,t){return xg(yg(dg(e)-e.offset,t),e.calendar)}var Sg=36e5;function Cg(e,t){let n=e.copy(),r=`hour`in n?_ce(n,t):0;wg(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,Tg(n),Eg(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,mce(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var a;let e=(a=n.calendar).isInverseEra?.call(a,n);n.year=i,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let o=n.calendar.getMonthsInYear(n);return n.month>o&&(n.month=o,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function wg(e,t){var n;(n=e.calendar).isInverseEra?.call(n,e)&&(t=-t),e.year+=t}function Tg(e){for(;e.month<1;)wg(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,wg(e,1)}function mce(e){for(;e.day<1;)e.month--,Tg(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Tg(e)}function Eg(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function Dg(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Eg(e)}function Og(e){let t={};for(let n in e)typeof e[n]==`number`&&(t[n]=-e[n]);return t}function kg(e,t){return Cg(e,Og(t))}function Ag(e,t){let n=e.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),Dg(n),n}function jg(e,t){let n=e.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),gce(n),n}function hce(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=Mg(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=Mg(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=Mg(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=Mg(e.hour,24),t}function gce(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function Mg(e,t){let n=e%t;return n<0&&(n+=t),n}function _ce(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,hce(e)}function Ng(e,t,n,r){let i=e.copy();switch(t){case`era`:{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw Error(`Invalid era: `+e.era);a=Fg(a,n,0,t.length-1,r?.round),i.era=t[a],Dg(i);break}case`year`:var a;(a=i.calendar).isInverseEra?.call(a,i)&&(n=-n),i.year=Fg(e.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,e);break;case`month`:i.month=Fg(e.month,n,1,e.calendar.getMonthsInYear(e),r?.round);break;case`day`:i.day=Fg(e.day,n,1,e.calendar.getDaysInMonth(e),r?.round);break;default:throw Error(`Unsupported field `+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(i),Dg(i),i}function Pg(e,t,n,r){let i=e.copy();switch(t){case`hour`:{let t=e.hour,a=0,o=23;if(r?.hourCycle===12){let e=t>=12;a=e?12:0,o=e?23:11}i.hour=Fg(t,n,a,o,r?.round);break}case`minute`:i.minute=Fg(e.minute,n,0,59,r?.round);break;case`second`:i.second=Fg(e.second,n,0,59,r?.round);break;case`millisecond`:i.millisecond=Fg(e.millisecond,n,0,999,r?.round);break;default:throw Error(`Unsupported field `+t)}return i}function Fg(e,t,n,r,i=!1){if(i){e+=Math.sign(t),e<n&&(e=r);let i=Math.abs(t);e=t>0?Math.ceil(e/i)*i:Math.floor(e/i)*i,e>r&&(e=n)}else e+=t,e<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function Ig(e,t){let n;return n=t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0?_g(Cg(bg(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days}),e.timeZone):dg(e)-e.offset,n+=t.milliseconds||0,n+=(t.seconds||0)*1e3,n+=(t.minutes||0)*6e4,n+=(t.hours||0)*36e5,xg(yg(n,e.timeZone),e.calendar)}function vce(e,t){return Ig(e,Og(t))}function yce(e,t,n,r){switch(t){case`hour`:{let t=0,i=23;if(r?.hourCycle===12){let n=e.hour>=12;t=n?12:0,i=n?23:11}let a=bg(e),o=xg(jg(a,{hour:t}),new og),s=[_g(o,e.timeZone,`earlier`),_g(o,e.timeZone,`later`)].filter(t=>yg(t,e.timeZone).day===o.day)[0],c=xg(jg(a,{hour:i}),new og),l=[_g(c,e.timeZone,`earlier`),_g(c,e.timeZone,`later`)].filter(t=>yg(t,e.timeZone).day===c.day).pop(),u=dg(e)-e.offset,d=Math.floor(u/Sg),f=u%Sg;return u=Fg(d,n,Math.floor(s/Sg),Math.floor(l/Sg),r?.round)*Sg+f,xg(yg(u,e.timeZone),e.calendar)}case`minute`:case`second`:case`millisecond`:return Pg(e,t,n,r);case`era`:case`year`:case`month`:case`day`:return xg(yg(_g(Ng(bg(e),t,n,r),e.timeZone),e.timeZone),e.calendar);default:throw Error(`Unsupported field `+t)}}function bce(e,t,n){let r=bg(e),i=jg(Ag(r,t),t);return i.compare(r)===0?e:xg(yg(_g(i,e.timeZone,n),e.timeZone),e.calendar)}function xce(e){return`${String(e.hour).padStart(2,`0`)}:${String(e.minute).padStart(2,`0`)}:${String(e.second).padStart(2,`0`)}${e.millisecond?String(e.millisecond/1e3).slice(1):``}`}function Lg(e){let t=xg(e,new og),n;return n=t.era===`BC`?t.year===1?`0000`:`-`+String(Math.abs(1-t.year)).padStart(6,`00`):String(t.year).padStart(4,`0`),`${n}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)}`}function Rg(e){return`${Lg(e)}T${xce(e)}`}function Sce(e){let t=Math.sign(e)<0?`-`:`+`;e=Math.abs(e);let n=Math.floor(e/36e5),r=e%36e5/6e4;return`${t}${String(n).padStart(2,`0`)}:${String(r).padStart(2,`0`)}`}function Cce(e){return`${Rg(e)}${Sce(e.offset)}[${e.timeZone}]`}function wce(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function zg(e,t,n){wce(e,t),t.set(e,n)}function Bg(e){let t=typeof e[0]==`object`?e.shift():new og,n;if(typeof e[0]==`string`)n=e.shift();else{let e=t.getEras();n=e[e.length-1]}let r=e.shift(),i=e.shift(),a=e.shift();return[t,n,r,i,a]}var Tce=new WeakMap,Ece=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day):new e(this.calendar,this.year,this.month,this.day)}add(e){return Cg(this,e)}subtract(e){return kg(this,e)}set(e){return Ag(this,e)}cycle(e,t,n){return Ng(this,e,t,n)}toDate(e){return vg(this,e)}toString(){return Lg(this)}compare(e){return sg(this,e)}constructor(...e){zg(this,Tce,{writable:!0,value:void 0});let[t,n,r,i,a]=Bg(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,Dg(this)}},Dce=new WeakMap,Oce=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return Cg(this,e)}subtract(e){return kg(this,e)}set(e){return Ag(jg(this,e),e)}cycle(e,t,n){switch(e){case`era`:case`year`:case`month`:case`day`:return Ng(this,e,t,n);default:return Pg(this,e,t,n)}}toDate(e,t){return vg(this,e,t)}toString(){return Rg(this)}compare(e){let t=sg(this,e);return t===0?cce(this,bg(e)):t}constructor(...e){zg(this,Dce,{writable:!0,value:void 0});let[t,n,r,i,a]=Bg(e);this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Dg(this)}},kce=new WeakMap,Vg=class e{copy(){return this.era?new e(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new e(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return Ig(this,e)}subtract(e){return vce(this,e)}set(e,t){return bce(this,e,t)}cycle(e,t,n){return yce(this,e,t,n)}toDate(){return fce(this)}toString(){return Cce(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-dce(e,this.timeZone).toDate().getTime()}constructor(...e){zg(this,kce,{writable:!0,value:void 0});let[t,n,r,i,a]=Bg(e),o=e.shift(),s=e.shift();this.calendar=t,this.era=n,this.year=r,this.month=i,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Dg(this)}},Hg=1080,Ace=24*Hg,jce=29,Mce=12*Hg+793;jce*Ace+Mce;function Nce(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=t*29+Math.floor(n/25920);return tg(3*(r+1),7)<3&&(r+=1),r}Y(),Y();function Pce(e){let t=Bh({dir:L(`ltr`)});return J(()=>e?.value||t.dir?.value||`ltr`)}Y();function Fce(e){let t=so(),n=t?.type.emits,r={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(t=>{r[ye(he(t))]=(...n)=>e(t,...n)}),r}Y();var Ug=0;function Ice(){Bn(e=>{if(!Hh)return;let t=document.querySelectorAll(`[data-reka-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,t[0]??Wg()),document.body.insertAdjacentElement(`beforeend`,t[1]??Wg()),Ug++,e(()=>{Ug===1&&document.querySelectorAll(`[data-reka-focus-guard]`).forEach(e=>e.remove()),Ug--})})}function Wg(){let e=document.createElement(`span`);return e.setAttribute(`data-reka-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}Y(),Y();function Gg(){let e=so(),t=L(),n=J(()=>[`#text`,`#comment`].includes(t.value?.$el.nodeName)?t.value?.$el.nextElementSibling:Jh(t)),r=Object.assign({},e.exposed),i={};for(let t in e.props)Object.defineProperty(i,t,{enumerable:!0,configurable:!0,get:()=>e.props[t]});if(Object.keys(r).length>0)for(let e in r)Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>r[e]});Object.defineProperty(i,`$el`,{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=i;function a(n){t.value=n,n&&(Object.defineProperty(i,`$el`,{enumerable:!0,configurable:!0,get:()=>n instanceof Element?n:n.$el}),e.exposed=i)}return{forwardRef:a,currentRef:t,currentElement:n}}Y();function Kg(e){let t=so(),n=Object.keys(t?.type.props??{}).reduce((e,n)=>{let r=(t?.type.props[n]).default;return r!==void 0&&(e[n]=r),e},{}),r=Ot(e);return J(()=>{let e={},i=t?.vnode.props??{};return Object.keys(i).forEach(t=>{e[he(t)]=i[t]}),Object.keys({...n,...e}).reduce((e,t)=>(r.value[t]!==void 0&&(e[t]=r.value[t]),e),{})})}Y();function Lce(e,t){let n=Kg(e),r=t?Fce(t):{};return J(()=>({...n.value,...r}))}Y();function Rce(e,t){let n=Gh(!1,300),r=L(null),i=zse();function a(){r.value=null,n.value=!1}function o(e,t){let i=e.currentTarget,a={x:e.clientX,y:e.clientY},o=Bce(a,zce(a,i.getBoundingClientRect())),s=Vce(t.getBoundingClientRect());r.value=Uce([...o,...s]),n.value=!0}return Bn(n=>{if(e.value&&t.value){let r=e=>o(e,t.value),i=t=>o(t,e.value);e.value.addEventListener(`pointerleave`,r),t.value.addEventListener(`pointerleave`,i),n(()=>{e.value?.removeEventListener(`pointerleave`,r),t.value?.removeEventListener(`pointerleave`,i)})}}),Bn(n=>{if(r.value){let o=n=>{if(!r.value||!(n.target instanceof HTMLElement))return;let o=n.target,s={x:n.clientX,y:n.clientY},c=e.value?.contains(o)||t.value?.contains(o),l=!Hce(s,r.value),u=!!o.closest(`[data-grace-area-trigger]`);c?a():(l||u)&&(a(),i.trigger())};e.value?.ownerDocument.addEventListener(`pointermove`,o),n(()=>e.value?.ownerDocument.removeEventListener(`pointermove`,o))}}),{isPointerInTransit:n,onPointerExit:i.on}}function zce(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}function Bce(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Vce(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function Hce(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e].x,s=t[e].y,c=t[a].x,l=t[a].y;s>r!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}function Uce(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),Wce(t)}function Wce(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Gce=function(e){return e&&(e.host||Gce(e.parentNode))};Y(),Y();var Kce=0;function qce(e,t=`reka`){if(e)return e;if(`useId`in Nne)return`${t}-${Qn?.()}`;let n=Bh({useId:void 0});return n.useId?`${t}-${n.useId()}`:`${t}-${++Kce}`}Y(),Y();function Jce(e){let t=L(),n=J(()=>t.value?.width??0),r=J(()=>t.value?.height??0);return ua(()=>{let n=Jh(e);if(n){t.value={width:n.offsetWidth,height:n.offsetHeight};let e=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let r=e[0],i,a;if(`borderBoxSize`in r){let e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;i=t.inlineSize,a=t.blockSize}else i=n.offsetWidth,a=n.offsetHeight;t.value={width:i,height:a}});return e.observe(n,{box:`border-box`}),()=>e.unobserve(n)}else t.value=void 0}),{width:n,height:r}}Y();function Yce(e,t){let n=L(e);function r(e){return t[n.value][e]??n.value}return{state:n,dispatch:e=>{n.value=r(e)}}}function Xce(e){let t=Gh(``,1e3);return{search:t,handleTypeaheadSearch:(n,r)=>{if(t.value+=n,e)e(n);else{let e=Ih(),n=r.map(e=>({...e,textValue:e.value?.textValue??e.ref.textContent?.trim()??``})),i=n.find(t=>t.ref===e),a=Qce(n.map(e=>e.textValue),t.value,i?.textValue),o=n.find(e=>e.textValue===a);return o&&o.ref.focus(),o?.ref}},resetTypeahead:()=>{t.value=``}}}function Zce(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Qce(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Zce(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}Y();function $ce(e,t){let n=L({}),r=L(`none`),i=L(e),a=e.value?`mounted`:`unmounted`,o,s=t.value?.ownerDocument.defaultView??qh,{state:c,dispatch:l}=Yce(a,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),u=e=>{if(Hh){let n=new CustomEvent(e,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(n)}};B(e,async(e,i)=>{let a=i!==e;if(await Dn(),a){let a=r.value,o=qg(t.value);e?(l(`MOUNT`),u(`enter`),o===`none`&&u(`after-enter`)):o===`none`||o===`undefined`||n.value?.display===`none`?(l(`UNMOUNT`),u(`leave`),u(`after-leave`)):i&&a!==o?(l(`ANIMATION_OUT`),u(`leave`)):(l(`UNMOUNT`),u(`after-leave`))}},{immediate:!0});let d=e=>{let n=qg(t.value),r=n.includes(e.animationName),a=c.value===`mounted`?`enter`:`leave`;if(e.target===t.value&&r&&(u(`after-${a}`),l(`ANIMATION_END`),!i.value)){let e=t.value.style.animationFillMode;t.value.style.animationFillMode=`forwards`,o=s?.setTimeout(()=>{t.value?.style.animationFillMode===`forwards`&&(t.value.style.animationFillMode=e)})}e.target===t.value&&n===`none`&&l(`ANIMATION_END`)},f=e=>{e.target===t.value&&(r.value=qg(t.value))},p=B(t,(e,t)=>{e?(n.value=getComputedStyle(e),e.addEventListener(`animationstart`,f),e.addEventListener(`animationcancel`,d),e.addEventListener(`animationend`,d)):(l(`ANIMATION_END`),o!==void 0&&s?.clearTimeout(o),t?.removeEventListener(`animationstart`,f),t?.removeEventListener(`animationcancel`,d),t?.removeEventListener(`animationend`,d))},{immediate:!0}),m=B(c,()=>{let e=qg(t.value);r.value=c.value===`mounted`?e:`none`});return ma(()=>{p(),m()}),{isPresent:J(()=>[`mounted`,`unmountSuspended`].includes(c.value))}}function qg(e){return e&&getComputedStyle(e).animationName||`none`}Y();var ele=V({name:`Presence`,props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){let{present:r,forceMount:i}=Dt(e),a=L(),{isPresent:o}=$ce(r,a);n({present:o});let s=t.default({present:o.value});s=Rh(s||[]);let c=so();if(s&&s?.length>1){let e=c?.parent?.type.name?`<${c.parent.type.name} />`:`component`;throw Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,``,"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",`You can apply a few solutions:`,["Provide a single child element so that `presence` directive attach correctly.",`Ensure the first child is an actual element instead of a raw text node or comment node.`].map(e=>` - ${e}`).join(`
|
|
54
54
|
`)].join(`
|
|
55
55
|
`))}return()=>i.value||r.value||o.value?xi(t.default({present:o.value})[0],{ref:e=>{let t=Jh(e);return t?.hasAttribute===void 0||(t?.hasAttribute(`data-reka-popper-content-wrapper`)?a.value=t.firstElementChild:a.value=t),t}}):null}});Y();var Jg=V({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;let e=Rh(n.default()),r=e.findIndex(e=>e.type!==Za);if(r===-1)return e;let i=e[r];delete i.props?.ref;let a=i.props?di(t,i.props):t,o=ai({...i,props:{}},a);return e.length===1?o:(e[r]=o,e)}}});Y();var tle=[`area`,`img`,`input`],Yg=V({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(e,{attrs:t,slots:n}){let r=e.asChild?`template`:e.as;return typeof r==`string`&&tle.includes(r)?()=>xi(r,t):r===`template`?()=>xi(Jg,t,{default:n.default}):()=>xi(e.as,t,{default:n.default})}});Y();function nle(){let e=L();return{primitiveElement:e,currentElement:J(()=>[`#text`,`#comment`].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:Jh(e))}}Y();var[rle,ile]=Fh(`CollapsibleRoot`);Y(),Y(),Y(),Y();var[ale,ole]=Fh(`DialogRoot`);Y(),Y();var sle=`dismissableLayer.pointerDownOutside`,cle=`dismissableLayer.focusOutside`;function lle(e,t){let n=t.closest(`[data-dismissable-layer]`),r=e.dataset.dismissableLayer===``?e:e.querySelector(`[data-dismissable-layer]`),i=Array.from(e.ownerDocument.querySelectorAll(`[data-dismissable-layer]`));return!!(n&&(r===n||i.indexOf(r)<i.indexOf(n)))}function ule(e,t,n=!0){let r=t?.value?.ownerDocument??globalThis?.document,i=L(!1),a=L(()=>{});return Bn(o=>{if(!Hh||!wt(n))return;let s=async n=>{let o=n.target;if(!(!t?.value||!o)){if(lle(t.value,o)){i.value=!1;return}if(n.target&&!i.value){let t={originalEvent:n};function i(){Lh(sle,e,t)}n.pointerType===`touch`?(r.removeEventListener(`click`,a.value),a.value=i,r.addEventListener(`click`,a.value,{once:!0})):i()}else r.removeEventListener(`click`,a.value);i.value=!1}},c=window.setTimeout(()=>{r.addEventListener(`pointerdown`,s)},0);o(()=>{window.clearTimeout(c),r.removeEventListener(`pointerdown`,s),r.removeEventListener(`click`,a.value)})}),{onPointerDownCapture:()=>{wt(n)&&(i.value=!0)}}}function dle(e,t,n=!0){let r=t?.value?.ownerDocument??globalThis?.document,i=L(!1);return Bn(a=>{if(!Hh||!wt(n))return;let o=async n=>{if(!t?.value)return;await Dn(),await Dn();let r=n.target;!t.value||!r||lle(t.value,r)||n.target&&!i.value&&Lh(cle,e,{originalEvent:n})};r.addEventListener(`focusin`,o),a(()=>r.removeEventListener(`focusin`,o))}),{onFocusCapture:()=>{wt(n)&&(i.value=!0)},onBlurCapture:()=>{wt(n)&&(i.value=!1)}}}Y();var Xg=ut({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),fle=V({__name:`DismissableLayer`,props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`dismiss`],setup(e,{emit:t}){let n=e,r=t,{forwardRef:i,currentElement:a}=Gg(),o=J(()=>a.value?.ownerDocument??globalThis.document),s=J(()=>Xg.layersRoot),c=J(()=>a.value?Array.from(s.value).indexOf(a.value):-1),l=J(()=>Xg.layersWithOutsidePointerEventsDisabled.size>0),u=J(()=>{let e=Array.from(s.value),[t]=[...Xg.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t);return c.value>=n}),d=ule(async e=>{let t=[...Xg.branches].some(t=>t?.contains(e.target));!u.value||t||(r(`pointerDownOutside`,e),r(`interactOutside`,e),await Dn(),e.defaultPrevented||r(`dismiss`))},a),f=dle(e=>{[...Xg.branches].some(t=>t?.contains(e.target))||(r(`focusOutside`,e),r(`interactOutside`,e),e.defaultPrevented||r(`dismiss`))},a);Zse(`Escape`,e=>{c.value===s.value.size-1&&(r(`escapeKeyDown`,e),e.defaultPrevented||r(`dismiss`))});let p;return Bn(e=>{a.value&&(n.disableOutsidePointerEvents&&(Xg.layersWithOutsidePointerEventsDisabled.size===0&&(p=o.value.body.style.pointerEvents,o.value.body.style.pointerEvents=`none`),Xg.layersWithOutsidePointerEventsDisabled.add(a.value)),s.value.add(a.value),e(()=>{n.disableOutsidePointerEvents&&Xg.layersWithOutsidePointerEventsDisabled.size===1&&(o.value.body.style.pointerEvents=p)}))}),Bn(e=>{e(()=>{a.value&&(s.value.delete(a.value),Xg.layersWithOutsidePointerEventsDisabled.delete(a.value))})}),(e,t)=>(H(),W(R(Yg),{ref:R(i),"as-child":e.asChild,as:e.as,"data-dismissable-layer":``,style:m({pointerEvents:l.value?u.value?`auto`:`none`:void 0}),onFocusCapture:R(f).onFocusCapture,onBlurCapture:R(f).onBlurCapture,onPointerdownCapture:R(d).onPointerDownCapture},{default:z(()=>[yr(e.$slots,`default`)]),_:3},8,[`as-child`,`as`,`style`,`onFocusCapture`,`onBlurCapture`,`onPointerdownCapture`]))}});Y();var ple=Bse(()=>L([]));function mle(){let e=ple();return{add(t){let n=e.value[0];t!==n&&n?.pause(),e.value=hle(e.value,t),e.value.unshift(t)},remove(t){e.value=hle(e.value,t),e.value[0]?.resume()}}}function hle(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function gle(e){return e.filter(e=>e.tagName!==`A`)}var Zg=`focusScope.autoFocusOnMount`,Qg=`focusScope.autoFocusOnUnmount`,_le={bubbles:!1,cancelable:!0};function vle(e,{select:t=!1}={}){let n=Ih();for(let r of e)if($g(r,{select:t}),Ih()!==n)return!0}function yle(e){let t=ble(e);return[xle(t,e),xle(t.reverse(),e)]}function ble(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function xle(e,t){for(let n of e)if(!Sle(n,{upTo:t}))return n}function Sle(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function Cle(e){return e instanceof HTMLInputElement&&`select`in e}function $g(e,{select:t=!1}={}){if(e&&e.focus){let n=Ih();e.focus({preventScroll:!0}),e!==n&&Cle(e)&&t&&e.select()}}Y();var wle=V({__name:`FocusScope`,props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`mountAutoFocus`,`unmountAutoFocus`],setup(e,{emit:t}){let n=e,r=t,{currentRef:i,currentElement:a}=Gg(),o=L(null),s=mle(),c=ut({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});Bn(e=>{if(!Hh)return;let t=a.value;if(!n.trapped)return;function r(e){if(c.paused||!t)return;let n=e.target;t.contains(n)?o.value=n:$g(o.value,{select:!0})}function i(e){if(c.paused||!t)return;let n=e.relatedTarget;n!==null&&(t.contains(n)||$g(o.value,{select:!0}))}function s(e){t.contains(o.value)||$g(t)}document.addEventListener(`focusin`,r),document.addEventListener(`focusout`,i);let l=new MutationObserver(s);t&&l.observe(t,{childList:!0,subtree:!0}),e(()=>{document.removeEventListener(`focusin`,r),document.removeEventListener(`focusout`,i),l.disconnect()})}),Bn(async e=>{let t=a.value;if(await Dn(),!t)return;s.add(c);let n=Ih();if(!t.contains(n)){let e=new CustomEvent(Zg,_le);t.addEventListener(Zg,e=>r(`mountAutoFocus`,e)),t.dispatchEvent(e),e.defaultPrevented||(vle(gle(ble(t)),{select:!0}),Ih()===n&&$g(t))}e(()=>{t.removeEventListener(Zg,e=>r(`mountAutoFocus`,e));let e=new CustomEvent(Qg,_le),i=e=>{r(`unmountAutoFocus`,e)};t.addEventListener(Qg,i),t.dispatchEvent(e),setTimeout(()=>{e.defaultPrevented||$g(n??document.body,{select:!0}),t.removeEventListener(Qg,i),s.remove(c)},0)})});function l(e){if(!n.loop&&!n.trapped||c.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=Ih();if(t&&r){let t=e.currentTarget,[i,a]=yle(t);i&&a?!e.shiftKey&&r===a?(e.preventDefault(),n.loop&&$g(i,{select:!0})):e.shiftKey&&r===i&&(e.preventDefault(),n.loop&&$g(a,{select:!0})):r===t&&e.preventDefault()}}return(e,t)=>(H(),W(R(Yg),{ref_key:`currentRef`,ref:i,tabindex:`-1`,"as-child":e.asChild,as:e.as,onKeydown:l},{default:z(()=>[yr(e.$slots,`default`)]),_:3},8,[`as-child`,`as`]))}}),Tle=[`Enter`,` `],Ele=[`ArrowDown`,`PageUp`,`Home`],Dle=[`ArrowUp`,`PageDown`,`End`],Ole=[...Ele,...Dle];[...Tle],[...Tle];function kle(e){return e?`open`:`closed`}function Ale(e){let t=Ih();for(let n of e)if(n===t||(n.focus(),Ih()!==t))return}function jle(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e].x,s=t[e].y,c=t[a].x,l=t[a].y;s>r!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}function Mle(e,t){return t?jle({x:e.clientX,y:e.clientY},t):!1}function Nle(e){return e.pointerType===`mouse`}Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y();var Ple=V({__name:`Teleport`,props:{to:{type:null,required:!1,default:`body`},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=Xh();return(e,n)=>R(t)||e.forceMount?(H(),W(Ji,{key:0,to:e.to,disabled:e.disabled,defer:e.defer},[yr(e.$slots,`default`)],8,[`to`,`disabled`,`defer`])):K(`v-if`,!0)}});Y(),Y();var Fle=[`day`,`month`,`year`],Ile=[`hour`,`minute`,`second`,`dayPeriod`],Lle=[`literal`,`timeZoneName`],Rle=[...Fle,...Ile];[...Ile],[...Rle,...Lle].filter(e=>e!==`literal`),Y(),Y(),Y();var zle=`data-reka-collection-item`;function Ble(e={}){let{key:t=``,isProvider:n=!1}=e,r=`${t}CollectionProvider`,i;if(n){let e=L(new Map);i={collectionRef:L(),itemMap:e},Rn(r,i)}else i=zn(r);let a=(e=!1)=>{let t=i.collectionRef.value;if(!t)return[];let n=Array.from(t.querySelectorAll(`[${zle}]`)),r=Array.from(i.itemMap.value.values()).sort((e,t)=>n.indexOf(e.ref)-n.indexOf(t.ref));return e?r:r.filter(e=>e.ref.dataset.disabled!==``)},o=V({name:`CollectionSlot`,setup(e,{slots:t}){let{primitiveElement:n,currentElement:r}=nle();return B(r,()=>{i.collectionRef.value=r.value}),()=>xi(Jg,{ref:n},t)}}),s=V({name:`CollectionItem`,inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:n}){let{primitiveElement:r,currentElement:a}=nle();return Bn(t=>{if(a.value){let n=I(a.value);i.itemMap.value.set(n,{ref:a.value,value:e.value}),t(()=>i.itemMap.value.delete(n))}}),()=>xi(Jg,{...n,[zle]:``,ref:r},t)}});return{getItems:a,reactiveItems:J(()=>Array.from(i.itemMap.value.values())),itemMapSize:J(()=>i.itemMap.value.size),CollectionSlot:o,CollectionItem:s}}var Vle=`rovingFocusGroup.onEntryFocus`,Hle={bubbles:!1,cancelable:!0};function Ule(e,t=!1){let n=Ih();for(let r of e)if(r===n||(r.focus({preventScroll:t}),Ih()!==n))return}Y();var[Wle,Gle]=Fh(`RovingFocusGroup`),Kle=V({__name:`RovingFocusGroup`,props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`entryFocus`,`update:currentTabStopId`],setup(e,{expose:t,emit:n}){let r=e,i=n,{loop:a,orientation:o,dir:s}=Dt(r),c=Pce(s),l=Zh(r,`currentTabStopId`,i,{defaultValue:r.defaultCurrentTabStopId,passive:r.currentTabStopId===void 0}),u=L(!1),d=L(!1),f=L(0),{getItems:p,CollectionSlot:m}=Ble({isProvider:!0});function h(e){let t=!d.value;if(e.currentTarget&&e.target===e.currentTarget&&t&&!u.value){let t=new CustomEvent(Vle,Hle);if(e.currentTarget.dispatchEvent(t),i(`entryFocus`,t),!t.defaultPrevented){let e=p().map(e=>e.ref).filter(e=>e.dataset.disabled!==``);Ule([e.find(e=>e.getAttribute(`data-active`)===``),e.find(e=>e.getAttribute(`data-highlighted`)===``),e.find(e=>e.id===l.value),...e].filter(Boolean),r.preventScrollOnEntryFocus)}}d.value=!1}function g(){setTimeout(()=>{d.value=!1},1)}return t({getItems:p}),Gle({loop:a,dir:c,orientation:o,currentTabStopId:l,onItemFocus:e=>{l.value=e},onItemShiftTab:()=>{u.value=!0},onFocusableItemAdd:()=>{f.value++},onFocusableItemRemove:()=>{f.value--}}),(e,t)=>(H(),W(R(m),null,{default:z(()=>[q(R(Yg),{tabindex:u.value||f.value===0?-1:0,"data-orientation":R(o),as:e.as,"as-child":e.asChild,dir:R(c),style:{outline:`none`},onMousedown:t[0]||=e=>d.value=!0,onMouseup:g,onFocus:h,onBlur:t[1]||=e=>u.value=!1},{default:z(()=>[yr(e.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`as`,`as-child`,`dir`])]),_:3}))}});Y(),Y();var qle=V({__name:`VisuallyHidden`,props:{feature:{type:String,required:!1,default:`focusable`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){return(e,t)=>(H(),W(R(Yg),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature===`focusable`?`true`:void 0,"data-hidden":e.feature===`fully-hidden`?``:void 0,tabindex:e.feature===`fully-hidden`?`-1`:void 0,style:{position:`absolute`,border:0,width:`1px`,height:`1px`,padding:0,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,clipPath:`inset(50%)`,whiteSpace:`nowrap`,wordWrap:`normal`}},{default:z(()=>[yr(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`aria-hidden`,`data-hidden`,`tabindex`]))}});Y(),Y(),Y();var[Jle,Yle]=Fh(`CheckboxGroupRoot`);Y();var[Xle,Zle]=Fh(`CheckboxRoot`);Y(),Y();var[Qle,$le]=Fh(`PopperRoot`),eue=V({inheritAttrs:!1,__name:`PopperRoot`,setup(e){let t=L();return $le({anchor:t,onAnchorChange:e=>t.value=e}),(e,t)=>yr(e.$slots,`default`)}});Y();var tue=V({__name:`PopperAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{forwardRef:n,currentElement:r}=Gg(),i=Qle();return Vn(()=>{i.onAnchorChange(t.reference??r.value)}),(e,t)=>(H(),W(R(Yg),{ref:R(n),as:e.as,"as-child":e.asChild},{default:z(()=>[yr(e.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}});Y();function nue(e){return e!==null}function rue(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=e_(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}}}function e_(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var iue=[`top`,`right`,`bottom`,`left`],t_=Math.min,n_=Math.max,r_=Math.round,i_=Math.floor,a_=e=>({x:e,y:e}),aue={left:`right`,right:`left`,bottom:`top`,top:`bottom`},oue={start:`end`,end:`start`};function o_(e,t,n){return n_(e,t_(t,n))}function s_(e,t){return typeof e==`function`?e(t):e}function c_(e){return e.split(`-`)[0]}function l_(e){return e.split(`-`)[1]}function u_(e){return e===`x`?`y`:`x`}function d_(e){return e===`y`?`height`:`width`}function f_(e){return[`top`,`bottom`].includes(c_(e))?`y`:`x`}function p_(e){return u_(f_(e))}function sue(e,t,n){n===void 0&&(n=!1);let r=l_(e),i=p_(e),a=d_(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=h_(o)),[o,h_(o)]}function cue(e){let t=h_(e);return[m_(e),t,m_(t)]}function m_(e){return e.replace(/start|end/g,e=>oue[e])}function lue(e,t,n){let r=[`left`,`right`],i=[`right`,`left`],a=[`top`,`bottom`],o=[`bottom`,`top`];switch(e){case`top`:case`bottom`:return n?t?i:r:t?r:i;case`left`:case`right`:return t?a:o;default:return[]}}function uue(e,t,n,r){let i=l_(e),a=lue(c_(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(m_)))),a}function h_(e){return e.replace(/left|right|bottom|top/g,e=>aue[e])}function due(e){return{top:0,right:0,bottom:0,left:0,...e}}function fue(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:due(e)}function g_(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function pue(e,t,n){let{reference:r,floating:i}=e,a=f_(t),o=p_(t),s=d_(o),c=c_(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(l_(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var mue=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=pue(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=pue(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function __(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=s_(t,e),p=fue(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=g_(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=g_(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var hue=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=s_(e,t)||{};if(l==null)return{};let d=fue(u),f={x:n,y:r},p=p_(i),m=d_(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=t_(d[_],T),D=t_(d[v],T),O=E,k=C-h[m]-D,A=C/2-h[m]/2+w,ee=o_(O,A,k),j=!c.arrow&&l_(i)!=null&&A!==ee&&a.reference[m]/2-(A<O?E:D)-h[m]/2<0,M=j?A<O?A-O:A-k:0;return{[p]:f[p]+M,data:{[p]:ee,centerOffset:A-ee-M,...j&&{alignmentOffset:M}},reset:j}}}),gue=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=s_(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=c_(r),_=f_(o),v=c_(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[h_(o)]:cue(o)),x=p!==`none`;!d&&x&&b.push(...uue(o,m,p,y));let S=[o,...b],C=await __(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=sue(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t){let n=u===`alignment`?_!==f_(t):!1,r=T[0]?.overflows[0]>0;if(!n||r)return{data:{index:e,overflows:T},reset:{placement:t}}}let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=f_(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function _ue(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function vue(e){return iue.some(t=>e[t]>=0)}var yue=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=s_(e,t);switch(r){case`referenceHidden`:{let e=_ue(await __(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:vue(e)}}}case`escaped`:{let e=_ue(await __(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:vue(e)}}}default:return{}}}}};async function bue(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=c_(n),s=l_(n),c=f_(n)===`y`,l=[`left`,`top`].includes(o)?-1:1,u=a&&c?-1:1,d=s_(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var xue=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await bue(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Sue=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=s_(e,t),l={x:n,y:r},u=await __(t,c),d=f_(c_(i)),f=u_(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=o_(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=o_(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},Cue=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=s_(e,t),u={x:n,y:r},d=f_(i),f=u_(d),p=u[f],m=u[d],h=s_(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=[`top`,`left`].includes(c_(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},wue=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=s_(e,t),u=await __(t,l),d=c_(i),f=l_(i),p=f_(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=t_(h-u[g],v),x=t_(m-u[_],y),S=!t.middlewareData.shift,C=b,w=x;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(w=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(C=v),S&&!f){let e=n_(u.left,0),t=n_(u.right,0),n=n_(u.top,0),r=n_(u.bottom,0);p?w=m-2*(e!==0||t!==0?e+t:n_(u.left,u.right)):C=h-2*(n!==0||r!==0?n+r:n_(u.top,u.bottom))}await c({...t,availableWidth:w,availableHeight:C});let T=await o.getDimensions(s.floating);return m!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function v_(){return typeof window<`u`}function y_(e){return S_(e)?(e.nodeName||``).toLowerCase():`#document`}function b_(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function x_(e){return((S_(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function S_(e){return v_()?e instanceof Node||e instanceof b_(e).Node:!1}function C_(e){return v_()?e instanceof Element||e instanceof b_(e).Element:!1}function w_(e){return v_()?e instanceof HTMLElement||e instanceof b_(e).HTMLElement:!1}function Tue(e){return!v_()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof b_(e).ShadowRoot}function T_(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=A_(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&![`inline`,`contents`].includes(i)}function Eue(e){return[`table`,`td`,`th`].includes(y_(e))}function E_(e){return[`:popover-open`,`:modal`].some(t=>{try{return e.matches(t)}catch{return!1}})}function D_(e){let t=O_(),n=C_(e)?A_(e):e;return[`transform`,`translate`,`scale`,`rotate`,`perspective`].some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`].some(e=>(n.willChange||``).includes(e))||[`paint`,`layout`,`strict`,`content`].some(e=>(n.contain||``).includes(e))}function Due(e){let t=M_(e);for(;w_(t)&&!k_(t);){if(D_(t))return t;if(E_(t))return null;t=M_(t)}return null}function O_(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}function k_(e){return[`html`,`body`,`#document`].includes(y_(e))}function A_(e){return b_(e).getComputedStyle(e)}function j_(e){return C_(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function M_(e){if(y_(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Tue(e)&&e.host||x_(e);return Tue(t)?t.host:t}function Oue(e){let t=M_(e);return k_(t)?e.ownerDocument?e.ownerDocument.body:e.body:w_(t)&&T_(t)?t:Oue(t)}function N_(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Oue(e),i=r===e.ownerDocument?.body,a=b_(r);if(i){let e=P_(a);return t.concat(a,a.visualViewport||[],T_(r)?r:[],e&&n?N_(e):[])}return t.concat(r,N_(r,[],n))}function P_(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function kue(e){let t=A_(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=w_(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=r_(n)!==a||r_(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function F_(e){return C_(e)?e:e.contextElement}function I_(e){let t=F_(e);if(!w_(t))return a_(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=kue(t),o=(a?r_(n.width):n.width)/r,s=(a?r_(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Aue=a_(0);function jue(e){let t=b_(e);return!O_()||!t.visualViewport?Aue:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Mue(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==b_(e)?!1:t}function L_(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=F_(e),o=a_(1);t&&(r?C_(r)&&(o=I_(r)):o=I_(e));let s=Mue(a,n,r)?jue(a):a_(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=b_(a),t=r&&C_(r)?b_(r):r,n=e,i=P_(n);for(;i&&r&&t!==n;){let e=I_(i),t=i.getBoundingClientRect(),r=A_(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=b_(i),i=P_(n)}}return g_({width:u,height:d,x:c,y:l})}function R_(e,t){let n=j_(e).scrollLeft;return t?t.left+n:L_(x_(e)).left+n}function Nue(e,t,n){n===void 0&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:R_(e,r)),y:r.top+t.scrollTop}}function Pue(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=x_(r),s=t?E_(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=a_(1),u=a_(0),d=w_(r);if((d||!d&&!a)&&((y_(r)!==`body`||T_(o))&&(c=j_(r)),w_(r))){let e=L_(r);l=I_(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Nue(o,c,!0):a_(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Fue(e){return Array.from(e.getClientRects())}function Iue(e){let t=x_(e),n=j_(e),r=e.ownerDocument.body,i=n_(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=n_(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+R_(e),s=-n.scrollTop;return A_(r).direction===`rtl`&&(o+=n_(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}function Lue(e,t){let n=b_(e),r=x_(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=O_();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s,y:c}}function Rue(e,t){let n=L_(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=w_(e)?I_(e):a_(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function zue(e,t,n){let r;if(t===`viewport`)r=Lue(e,n);else if(t===`document`)r=Iue(x_(e));else if(C_(t))r=Rue(t,n);else{let n=jue(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return g_(r)}function Bue(e,t){let n=M_(e);return n===t||!C_(n)||k_(n)?!1:A_(n).position===`fixed`||Bue(n,t)}function Vue(e,t){let n=t.get(e);if(n)return n;let r=N_(e,[],!1).filter(e=>C_(e)&&y_(e)!==`body`),i=null,a=A_(e).position===`fixed`,o=a?M_(e):e;for(;C_(o)&&!k_(o);){let t=A_(o),n=D_(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&[`absolute`,`fixed`].includes(i.position)||T_(o)&&!n&&Bue(e,o))?r=r.filter(e=>e!==o):i=t,o=M_(o)}return t.set(e,r),r}function Hue(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?E_(t)?[]:Vue(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=zue(t,n,i);return e.top=n_(r.top,e.top),e.right=t_(r.right,e.right),e.bottom=t_(r.bottom,e.bottom),e.left=n_(r.left,e.left),e},zue(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Uue(e){let{width:t,height:n}=kue(e);return{width:t,height:n}}function Wue(e,t,n){let r=w_(t),i=x_(t),a=n===`fixed`,o=L_(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=a_(0);function l(){c.x=R_(i)}if(r||!r&&!a)if((y_(t)!==`body`||T_(i))&&(s=j_(t)),r){let e=L_(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?Nue(i,s):a_(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function z_(e){return A_(e).position===`static`}function Gue(e,t){if(!w_(e)||A_(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return x_(e)===n&&(n=n.ownerDocument.body),n}function Kue(e,t){let n=b_(e);if(E_(e))return n;if(!w_(e)){let t=M_(e);for(;t&&!k_(t);){if(C_(t)&&!z_(t))return t;t=M_(t)}return n}let r=Gue(e,t);for(;r&&Eue(r)&&z_(r);)r=Gue(r,t);return r&&k_(r)&&z_(r)&&!D_(r)?n:r||Due(e)||n}var que=async function(e){let t=this.getOffsetParent||Kue,n=this.getDimensions,r=await n(e.floating);return{reference:Wue(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Jue(e){return A_(e).direction===`rtl`}var Yue={convertOffsetParentRelativeRectToViewportRelativeRect:Pue,getDocumentElement:x_,getClippingRect:Hue,getOffsetParent:Kue,getElementRects:que,getClientRects:Fue,getDimensions:Uue,getScale:I_,isElement:C_,isRTL:Jue};function Xue(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Zue(e,t){let n=null,r,i=x_(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=i_(d),h=i_(i.clientWidth-(u+f)),g=i_(i.clientHeight-(d+p)),_=i_(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:n_(0,t_(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!Xue(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function Que(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=F_(e),u=i||a?[...l?N_(l):[],...N_(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?Zue(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?L_(e):null;c&&g();function g(){let t=L_(e);h&&!Xue(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var $ue=xue,ede=Sue,tde=gue,nde=wue,rde=yue,ide=hue,ade=Cue,ode=(e,t,n)=>{let r=new Map,i={platform:Yue,...n},a={...i.platform,_c:r};return mue(e,t,{...i,platform:a})};Y(),Y();function sde(e){return typeof e==`object`&&!!e&&`$el`in e}function B_(e){if(sde(e)){let t=e.$el;return S_(t)&&y_(t)===`#comment`?null:t}return e}function V_(e){return typeof e==`function`?e():R(e)}function cde(e){return{name:`arrow`,options:e,fn(t){let n=B_(V_(e.element));return n==null?{}:ide({element:n,padding:e.padding}).fn(t)}}}function lde(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ude(e,t){let n=lde(e);return Math.round(t*n)/n}function dde(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=J(()=>V_(n.open)??!0),a=J(()=>V_(n.middleware)),o=J(()=>V_(n.placement)??`bottom`),s=J(()=>V_(n.strategy)??`absolute`),c=J(()=>V_(n.transform)??!0),l=J(()=>B_(e.value)),u=J(()=>B_(t.value)),d=L(0),f=L(0),p=L(s.value),m=L(o.value),h=xt({}),g=L(!1),_=J(()=>{let e={position:p.value,left:`0`,top:`0`};if(!u.value)return e;let t=ude(u.value,d.value),n=ude(u.value,f.value);return c.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...lde(u.value)>=1.5&&{willChange:`transform`}}:{position:p.value,left:t+`px`,top:n+`px`}}),v;function y(){if(l.value==null||u.value==null)return;let e=i.value;ode(l.value,u.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(t=>{d.value=t.x,f.value=t.y,p.value=t.strategy,m.value=t.placement,h.value=t.middlewareData,g.value=e!==!1})}function b(){typeof v==`function`&&(v(),v=void 0)}function x(){if(b(),r===void 0){y();return}if(l.value!=null&&u.value!=null){v=r(l.value,u.value,y);return}}function S(){i.value||(g.value=!1)}return B([a,o,s,i],y,{flush:`sync`}),B([l,u],x,{flush:`sync`}),B(i,S,{flush:`sync`}),ze()&&Be(b),{x:pt(d),y:pt(f),strategy:pt(p),placement:pt(m),middlewareData:pt(h),isPositioned:pt(g),floatingStyles:_,update:y}}Y();var fde={side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1},[pde,mde]=Fh(`PopperContent`),hde=V({inheritAttrs:!1,__name:`PopperContent`,props:Jee({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...fde}),emits:[`placed`],setup(e,{emit:t}){let n=e,r=t,i=Qle(),{forwardRef:a,currentElement:o}=Gg(),s=L(),c=L(),{width:l,height:u}=Jce(c),d=J(()=>n.side+(n.align===`center`?``:`-${n.align}`)),f=J(()=>typeof n.collisionPadding==`number`?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),p=J(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),h=J(()=>({padding:f.value,boundary:p.value.filter(nue),altBoundary:p.value.length>0})),g=J(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),_=Rse(()=>[$ue({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&tde({...h.value,...g.value}),n.avoidCollisions&&ede({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky===`partial`?ade():void 0,...h.value}),!n.prioritizePosition&&n.avoidCollisions&&tde({...h.value,...g.value}),nde({...h.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--reka-popper-available-width`,`${n}px`),o.setProperty(`--reka-popper-available-height`,`${r}px`),o.setProperty(`--reka-popper-anchor-width`,`${i}px`),o.setProperty(`--reka-popper-anchor-height`,`${a}px`)}}),c.value&&cde({element:c.value,padding:n.arrowPadding}),rue({arrowWidth:l.value,arrowHeight:u.value}),n.hideWhenDetached&&rde({strategy:`referenceHidden`,...h.value})]),{floatingStyles:v,placement:y,isPositioned:b,middlewareData:x,update:S}=dde(J(()=>n.reference??i.anchor.value),s,{strategy:n.positionStrategy,placement:d,whileElementsMounted:(...e)=>Que(...e,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy===`always`}),middleware:_}),C=J(()=>e_(y.value)[0]),w=J(()=>e_(y.value)[1]);Vn(()=>{b.value&&r(`placed`)});let T=J(()=>x.value.arrow?.centerOffset!==0),E=L(``);return Bn(()=>{o.value&&(E.value=window.getComputedStyle(o.value).zIndex)}),mde({placedSide:C,onArrowChange:e=>c.value=e,arrowX:J(()=>x.value.arrow?.x??0),arrowY:J(()=>x.value.arrow?.y??0),shouldHideArrow:T}),(e,t)=>(H(),U(`div`,{ref_key:`floatingRef`,ref:s,"data-reka-popper-content-wrapper":``,style:m({...R(v),transform:R(b)?R(v).transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:E.value,"--reka-popper-transform-origin":[R(x).transformOrigin?.x,R(x).transformOrigin?.y].join(` `),...R(x).hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}})},[q(R(Yg),di({ref:R(a)},e.$attrs,{"as-child":n.asChild,as:e.as,"data-side":C.value,"data-align":w.value,style:{animation:R(b)?void 0:`none`}}),{default:z(()=>[yr(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`style`])],4))}});Y(),Y(),Y(),Y(),Y();var[gde,_de]=Fh([`MenuRoot`,`MenuSub`],`MenuContext`),[vde,yde]=Fh(`MenuRoot`);Y();var[bde,xde]=Fh(`MenuContent`);({...fde}),Y(),Y(),Y();var[Sde,Cde]=Fh([`MenuCheckboxItem`,`MenuRadioItem`],`MenuItemIndicatorContext`);Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y();var[wde,Tde]=Fh(`MenuSub`);Y(),Y(),Y();var[Ede,Dde]=Fh(`PopoverRoot`);Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y();var[Ode,kde]=Fh(`DateRangeFieldRoot`);Y(),Y();var[Ade,jde]=Fh(`DateRangePickerRoot`);Y(),Y();var[Mde,Nde]=Fh(`RangeCalendarRoot`);Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y();var[Pde,Fde]=Fh(`DropdownMenuRoot`);Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y();var[Ide,Lde]=Fh(`EditableRoot`);Y(),Y(),Y(),Y(),Y();var[Rde,zde]=Fh(`HoverCardRoot`);Y(),Y(),Y(),Y(),Y();var H_=new Map,U_=!1;try{U_=new Intl.NumberFormat(`de-DE`,{signDisplay:`exceptZero`}).resolvedOptions().signDisplay===`exceptZero`}catch{}var W_=!1;try{W_=new Intl.NumberFormat(`de-DE`,{style:`unit`,unit:`degree`}).resolvedOptions().style===`unit`}catch{}var Bde={degree:{narrow:{default:`°`,"ja-JP":` 度`,"zh-TW":`度`,"sl-SI":` °`}}},Vde=class{format(e){let t=``;if(t=!U_&&this.options.signDisplay!=null?Ude(this.numberFormatter,this.options.signDisplay,e):this.numberFormatter.format(e),this.options.style===`unit`&&!W_){let{unit:e,unitDisplay:n=`short`,locale:r}=this.resolvedOptions();if(!e)return t;let i=Bde[e]?.[n];t+=i[r]||i.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange==`function`)return this.numberFormatter.formatRange(e,t);if(t<e)throw RangeError(`End date must be >= start date`);return`${this.format(e)} \u{2013} ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts==`function`)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw RangeError(`End date must be >= start date`);let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map(e=>({...e,source:`startRange`})),{type:`literal`,value:` – `,source:`shared`},...r.map(e=>({...e,source:`endRange`}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!U_&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!W_&&this.options.style===`unit`&&(e={...e,style:`unit`,unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=Hde(e,t),this.options=t}};function Hde(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes(`-nu-`)&&(e.includes(`-u-`)||(e+=`-u-`),e+=`-nu-${n}`),t.style===`unit`&&!W_){let{unit:e,unitDisplay:n=`short`}=t;if(!e)throw Error(`unit option must be provided with style: "unit"`);if(!Bde[e]?.[n])throw Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:`decimal`}}let r=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``);if(H_.has(r))return H_.get(r);let i=new Intl.NumberFormat(e,t);return H_.set(r,i),i}function Ude(e,t,n){if(t===`auto`)return e.format(n);if(t===`never`)return e.format(Math.abs(n));{let r=!1;if(t===`always`?r=n>0||Object.is(n,0):t===`exceptZero`&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let t=e.format(-n),r=e.format(n),i=t.replace(r,``).replace(/\u200e|\u061C/,``);return[...i].length!==1&&console.warn(`@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case`),t.replace(r,`!!!`).replace(i,`+`).replace(`!!!`,r)}else return e.format(n)}}var Wde=RegExp(`^.*\\(.*\\).*$`),Gde=[`latn`,`arab`,`hanidec`,`deva`,`beng`],Kde=class{parse(e){return G_(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,n){return G_(this.locale,this.options,e).isValidPartialNumber(e,t,n)}getNumberingSystem(e){return G_(this.locale,this.options,e).options.numberingSystem}constructor(e,t={}){this.locale=e,this.options=t}},qde=new Map;function G_(e,t,n){let r=Jde(e,t);if(!e.includes(`-nu-`)&&!r.isValidPartialNumber(n)){for(let i of Gde)if(i!==r.options.numberingSystem){let r=Jde(e+(e.includes(`-u-`)?`-nu-`:`-u-nu-`)+i,t);if(r.isValidPartialNumber(n))return r}}return r}function Jde(e,t){let n=e+(t?Object.entries(t).sort((e,t)=>e[0]<t[0]?-1:1).join():``),r=qde.get(n);return r||(r=new Yde(e,t),qde.set(n,r)),r}var Yde=class{parse(e){let t=this.sanitize(e);if(this.symbols.group&&(t=K_(t,this.symbols.group,``)),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,`.`)),this.symbols.minusSign&&(t=t.replace(this.symbols.minusSign,`-`)),t=t.replace(this.symbols.numeral,this.symbols.index),this.options.style===`percent`){let e=t.indexOf(`-`);t=t.replace(`-`,``);let n=t.indexOf(`.`);n===-1&&(n=t.length),t=t.replace(`.`,``),t=n-2==0?`0.${t}`:n-2==-1?`0.0${t}`:n-2==-2?`0.00`:`${t.slice(0,n-2)}.${t.slice(n-2)}`,e>-1&&(t=`-${t}`)}let n=t?+t:NaN;if(isNaN(n))return NaN;if(this.options.style===`percent`){let e={...this.options,style:`decimal`,minimumFractionDigits:Math.min((this.options.minimumFractionDigits??0)+2,20),maximumFractionDigits:Math.min((this.options.maximumFractionDigits??0)+2,20)};return new Kde(this.locale,e).parse(new Vde(this.locale,e).format(n))}return this.options.currencySign===`accounting`&&Wde.test(e)&&(n=-1*n),n}sanitize(e){return e=e.replace(this.symbols.literals,``),this.symbols.minusSign&&(e=e.replace(`-`,this.symbols.minusSign)),this.options.numberingSystem===`arab`&&(this.symbols.decimal&&(e=e.replace(`,`,this.symbols.decimal),e=e.replace(`،`,this.symbols.decimal)),this.symbols.group&&(e=K_(e,`.`,this.symbols.group))),this.options.locale===`fr-FR`&&this.symbols.group&&(e=K_(e,` `,this.symbols.group),e=K_(e,/\u00A0/g,this.symbols.group)),e}isValidPartialNumber(e,t=-1/0,n=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&n>0&&(e=e.slice(this.symbols.plusSign.length)),this.symbols.group&&e.startsWith(this.symbols.group)||this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(e=K_(e,this.symbols.group,``)),e=e.replace(this.symbols.numeral,``),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,``)),e.length===0)}constructor(e,t={}){this.locale=e,t.roundingIncrement!==1&&t.roundingIncrement!=null&&(t.maximumFractionDigits==null&&t.minimumFractionDigits==null?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):t.maximumFractionDigits==null?t.maximumFractionDigits=t.minimumFractionDigits:t.minimumFractionDigits??=t.maximumFractionDigits),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=Qde(e,this.formatter,this.options,t),this.options.style===`percent`&&((this.options.minimumFractionDigits??0)>18||(this.options.maximumFractionDigits??0)>18)&&console.warn(`NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.`)}},Xde=new Set([`decimal`,`fraction`,`integer`,`minusSign`,`plusSign`,`group`]),Zde=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Qde(e,t,n,r){let i=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:`auto`,roundingMode:`halfExpand`}),a=i.formatToParts(-10000.111),o=i.formatToParts(10000.111),s=Zde.map(e=>i.formatToParts(e)),c=a.find(e=>e.type===`minusSign`)?.value??`-`,l=o.find(e=>e.type===`plusSign`)?.value;!l&&(r?.signDisplay===`exceptZero`||r?.signDisplay===`always`)&&(l=`+`);let u=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(e=>e.type===`decimal`)?.value,d=a.find(e=>e.type===`group`)?.value,f=a.filter(e=>!Xde.has(e.type)).map(e=>$de(e.value)),p=s.flatMap(e=>e.filter(e=>!Xde.has(e.type)).map(e=>$de(e.value))),m=[...new Set([...f,...p])].sort((e,t)=>t.length-e.length),h=m.length===0?RegExp(`[\\p{White_Space}]`,`gu`):RegExp(`${m.join(`|`)}|[\\p{White_Space}]`,`gu`),g=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),_=new Map(g.map((e,t)=>[e,t])),v=RegExp(`[${g.join(``)}]`,`g`);return{minusSign:c,plusSign:l,decimal:u,group:d,literals:h,numeral:v,index:e=>String(_.get(e))}}function K_(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function $de(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}Y(),Y();var[efe,tfe]=Fh(`NumberFieldRoot`);Y(),Y(),Y(),Y(),Y();var[nfe,rfe]=Fh(`PaginationRoot`);Y(),Y(),Y(),Y(),Y(),Y();var[ife,afe]=Fh(`RadioGroupRoot`);Y();var[ofe,sfe]=Fh(`RadioGroupItem`);Y();var[cfe,lfe]=Fh(`ScrollAreaRoot`);Y(),Y();function ufe(e,t){let n=e/t;return Number.isNaN(n)?0:n}function dfe(e){return e?Number.parseInt(e,10):0}Y(),Y(),Y(),Y(),Y(),Y();var[ffe,pfe]=Fh(`ScrollAreaScrollbar`);Y();var[mfe,hfe]=Fh(`ScrollAreaScrollbarVisible`);Y(),Y(),Y(),Y(),Y();var[gfe,_fe]=Fh(`SelectRoot`);Y(),Y();var[vfe,yfe]=Fh(`SelectContent`);Y();var[bfe,xfe]=Fh(`SelectItemAlignedPosition`);Y(),Y(),Y();var[Sfe,Cfe]=Fh(`SelectGroup`);Y();var[wfe,Tfe]=Fh(`SelectItem`);Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y(),Y();var[Efe,Dfe]=Fh(`SwitchRoot`);Y(),Y();var[Ofe,kfe]=Fh(`ToggleGroupRoot`);Y(),Y(),Y();var[q_,Afe]=Fh(`TooltipProvider`),jfe=V({inheritAttrs:!1,__name:`TooltipProvider`,props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1}},setup(e){let{delayDuration:t,skipDelayDuration:n,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:a,disabled:o}=Dt(e);Gg();let s=L(!0),c=L(!1),{start:l,stop:u}=Kh(()=>{s.value=!0},n,{immediate:!1});return Afe({isOpenDelayed:s,delayDuration:t,onOpen(){u(),s.value=!1},onClose(){l()},isPointerInTransitRef:c,disableHoverableContent:r,disableClosingTrigger:i,disabled:o,ignoreNonKeyboardFocus:a}),(e,t)=>yr(e.$slots,`default`)}}),Mfe=`tooltip.open`;Y();var[J_,Nfe]=Fh(`TooltipRoot`),Pfe=V({__name:`TooltipRoot`,props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t;Gg();let i=q_(),a=J(()=>n.disableHoverableContent??i.disableHoverableContent.value),o=J(()=>n.disableClosingTrigger??i.disableClosingTrigger.value),s=J(()=>n.disabled??i.disabled.value),c=J(()=>n.delayDuration??i.delayDuration.value),l=J(()=>n.ignoreNonKeyboardFocus??i.ignoreNonKeyboardFocus.value),u=Zh(n,`open`,r,{defaultValue:n.defaultOpen,passive:n.open===void 0});B(u,e=>{i.onClose&&(e?(i.onOpen(),document.dispatchEvent(new CustomEvent(Mfe))):i.onClose())});let d=L(!1),f=L(),p=J(()=>u.value?d.value?`delayed-open`:`instant-open`:`closed`),{start:m,stop:h}=Kh(()=>{d.value=!0,u.value=!0},c,{immediate:!1});function g(){h(),d.value=!1,u.value=!0}function _(){h(),u.value=!1}function v(){m()}return Nfe({contentId:``,open:u,stateAttribute:p,trigger:f,onTriggerChange(e){f.value=e},onTriggerEnter(){i.isOpenDelayed.value?v():g()},onTriggerLeave(){a.value?_():h()},onOpen:g,onClose:_,disableHoverableContent:a,disableClosingTrigger:o,disabled:s,ignoreNonKeyboardFocus:l}),(e,t)=>(H(),W(R(eue),null,{default:z(()=>[yr(e.$slots,`default`,{open:R(u)})]),_:3}))}});Y();var Ffe=V({__name:`TooltipContentImpl`,props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:`top`},sideOffset:{type:Number,required:!1,default:0},align:{type:null,required:!1,default:`center`},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},arrowPadding:{type:Number,required:!1,default:0},sticky:{type:String,required:!1,default:`partial`},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let n=e,r=t,i=J_(),{forwardRef:a}=Gg(),o=Sr(),s=J(()=>o.default?.({})),c=J(()=>{if(n.ariaLabel)return n.ariaLabel;let e=``;function t(n){typeof n.children==`string`&&n.type!==Za?e+=n.children:Array.isArray(n.children)&&n.children.forEach(e=>t(e))}return s.value?.forEach(e=>t(e)),e}),l=J(()=>{let{ariaLabel:e,...t}=n;return t});return ua(()=>{Yh(window,`scroll`,e=>{e.target?.contains(i.trigger.value)&&i.onClose()}),Yh(window,Mfe,i.onClose)}),(e,t)=>(H(),W(R(fle),{"as-child":``,"disable-outside-pointer-events":!1,onEscapeKeyDown:t[0]||=e=>r(`escapeKeyDown`,e),onPointerDownOutside:t[1]||=e=>{R(i).disableClosingTrigger.value&&R(i).trigger.value?.contains(e.target)&&e.preventDefault(),r(`pointerDownOutside`,e)},onFocusOutside:t[2]||=Fs(()=>{},[`prevent`]),onDismiss:t[3]||=e=>R(i).onClose()},{default:z(()=>[q(R(hde),di({ref:R(a),"data-state":R(i).stateAttribute.value},{...e.$attrs,...l.value},{style:{"--reka-tooltip-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-tooltip-content-available-width":`var(--reka-popper-available-width)`,"--reka-tooltip-content-available-height":`var(--reka-popper-available-height)`,"--reka-tooltip-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-tooltip-trigger-height":`var(--reka-popper-anchor-height)`}}),{default:z(()=>[yr(e.$slots,`default`),q(R(qle),{id:R(i).contentId,role:`tooltip`},{default:z(()=>[oi(Pe(c.value),1)]),_:1},8,[`id`])]),_:3},16,[`data-state`])]),_:3}))}});Y();var Ife=V({__name:`TooltipContentHoverable`,props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(e){let t=Kg(e),{forwardRef:n,currentElement:r}=Gg(),{trigger:i,onClose:a}=J_(),o=q_(),{isPointerInTransit:s,onPointerExit:c}=Rce(i,r);return o.isPointerInTransitRef=s,c(()=>{a()}),(e,r)=>(H(),W(Ffe,di({ref:R(n)},R(t)),{default:z(()=>[yr(e.$slots,`default`)]),_:3},16))}});Y();var Lfe=V({__name:`TooltipContent`,props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:`top`},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let n=e,r=t,i=J_(),a=Lce(n,r),{forwardRef:o}=Gg();return(e,t)=>(H(),W(R(ele),{present:e.forceMount||R(i).open.value},{default:z(()=>[(H(),W(pr(R(i).disableHoverableContent.value?Ffe:Ife),di({ref:R(o)},R(a)),{default:z(()=>[yr(e.$slots,`default`)]),_:3},16))]),_:3},8,[`present`]))}});Y();var Rfe=V({__name:`TooltipPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,n)=>(H(),W(R(Ple),_(ii(t)),{default:z(()=>[yr(e.$slots,`default`)]),_:3},16))}});Y();var zfe=V({__name:`TooltipTrigger`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,n=J_(),r=q_();n.contentId||=qce(void 0,`reka-tooltip-content`);let{forwardRef:i,currentElement:a}=Gg(),o=L(!1),s=L(!1),c=J(()=>n.disabled.value?{}:{click:h,focus:p,pointermove:d,pointerleave:f,pointerdown:u,blur:m});ua(()=>{n.onTriggerChange(a.value)});function l(){setTimeout(()=>{o.value=!1},1)}function u(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),o.value=!0,document.addEventListener(`pointerup`,l,{once:!0})}function d(e){e.pointerType!==`touch`&&!s.value&&!r.isPointerInTransitRef.value&&(n.onTriggerEnter(),s.value=!0)}function f(){n.onTriggerLeave(),s.value=!1}function p(e){o.value||n.ignoreNonKeyboardFocus.value&&!e.target.matches?.(`:focus-visible`)||n.onOpen()}function m(){n.onClose()}function h(){n.disableClosingTrigger.value||n.onClose()}return(e,r)=>(H(),W(R(tue),{"as-child":``,reference:e.reference},{default:z(()=>[q(R(Yg),di({ref:R(i),"aria-describedby":R(n).open.value?R(n).contentId:void 0,"data-state":R(n).stateAttribute.value,as:e.as,"as-child":t.asChild,"data-grace-area-trigger":``},xr(c.value)),{default:z(()=>[yr(e.$slots,`default`)]),_:3},16,[`aria-describedby`,`data-state`,`as`,`as-child`])]),_:3},8,[`reference`]))}}),Bfe=c(((e,t)=>{function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=l(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
56
56
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,o=!1,s;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){o=!0,s=e},f:function(){try{!a&&n.return!=null&&n.return()}finally{if(o)throw s}}}}function i(e,t,n){return t=a(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=o(e,`string`);return n(t)===`symbol`?t:String(t)}function o(e,t){if(n(e)!==`object`||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!==`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function s(e,t){return f(e)||d(e,t)||l(e,t)||c()}function c(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
package/dist/chat.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! Package version @n8n/chat@1.
|
|
2
|
-
import { a as e, c as t, d as n, f as r, l as i, n as a, p as o, r as s, u as c } from "./en-
|
|
1
|
+
/*! Package version @n8n/chat@1.40.0 */
|
|
2
|
+
import { a as e, c as t, d as n, f as r, l as i, n as a, p as o, r as s, u as c } from "./en-BVSQYf2U-a3YkHUPj.mjs";
|
|
3
3
|
import * as l from "vue";
|
|
4
4
|
import { Comment as u, Fragment as d, Teleport as f, Text as p, Transition as m, camelize as h, cloneVNode as g, computed as _, createApp as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createSlots as C, createStaticVNode as w, createTextVNode as T, createVNode as E, customRef as D, defineComponent as O, effectScope as k, getCurrentInstance as A, getCurrentScope as j, guardReactiveProps as M, h as N, inject as P, isRef as ee, isVNode as te, markRaw as F, mergeDefaults as ne, mergeProps as I, nextTick as L, normalizeClass as R, normalizeProps as re, normalizeStyle as z, onBeforeMount as ie, onBeforeUnmount as ae, onDeactivated as oe, onMounted as se, onScopeDispose as ce, onUnmounted as le, onUpdated as ue, openBlock as B, popScopeId as de, provide as fe, pushScopeId as pe, reactive as me, readonly as he, ref as V, renderList as ge, renderSlot as H, resolveComponent as _e, resolveDirective as ve, resolveDynamicComponent as ye, shallowRef as be, toDisplayString as U, toHandlerKey as xe, toHandlers as Se, toRaw as Ce, toRef as we, toRefs as Te, toValue as Ee, triggerRef as De, unref as W, useAttrs as Oe, useCssModule as ke, useSlots as Ae, vModelText as je, vShow as Me, warn as Ne, watch as G, watchEffect as Pe, watchPostEffect as Fe, withCtx as K, withDirectives as Ie, withKeys as Le, withModifiers as Re } from "vue";
|
|
5
5
|
//#region src/composables/useChat.ts
|
|
@@ -54276,7 +54276,7 @@ var zWe = [
|
|
|
54276
54276
|
}), s = be(null), c = _(() => s.value?.[t.icon] ?? PWe[t.icon] ?? NWe[t.icon] ?? null);
|
|
54277
54277
|
G(() => t.icon, async (e) => {
|
|
54278
54278
|
if (typeof e == "string" && e.startsWith("node:") && !s.value) {
|
|
54279
|
-
let { nodeIconSet: e } = await import("./node-icons-CaKBLFvs-
|
|
54279
|
+
let { nodeIconSet: e } = await import("./node-icons-CaKBLFvs-BnajE7E9.mjs");
|
|
54280
54280
|
s.value = e;
|
|
54281
54281
|
}
|
|
54282
54282
|
}, { immediate: !0 });
|