From aad963d1a75646da7c62925a0a02011a3c07c5b2 Mon Sep 17 00:00:00 2001 From: BCsabaEngine Date: Mon, 6 Jan 2025 19:11:30 +0100 Subject: [PATCH 1/3] chore: deps --- package-lock.json | 120 +++++++++++++++++++++++----------------------- package.json | 8 ++-- 2 files changed, 64 insertions(+), 64 deletions(-) diff --git a/package-lock.json b/package-lock.json index a70c22c..e6f5650 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,9 +18,9 @@ "svelteesp32": "bin/index.js" }, "devDependencies": { - "@types/node": "^22.10.2", - "@typescript-eslint/eslint-plugin": "^8.18.2", - "@typescript-eslint/parser": "^8.18.2", + "@types/node": "^22.10.5", + "@typescript-eslint/eslint-plugin": "^8.19.1", + "@typescript-eslint/parser": "^8.19.1", "eslint": "^9.17.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-simple-import-sort": "^12.1.1", @@ -836,9 +836,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.10.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.2.tgz", - "integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==", + "version": "22.10.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.5.tgz", + "integrity": "sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==", "dev": true, "license": "MIT", "dependencies": { @@ -853,21 +853,21 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.2.tgz", - "integrity": "sha512-adig4SzPLjeQ0Tm+jvsozSGiCliI2ajeURDGHjZ2llnA+A67HihCQ+a3amtPhUakd1GlwHxSRvzOZktbEvhPPg==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.19.1.tgz", + "integrity": "sha512-tJzcVyvvb9h/PB96g30MpxACd9IrunT7GF9wfA9/0TJ1LxGOJx1TdPzSbBBnNED7K9Ka8ybJsnEpiXPktolTLg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/type-utils": "8.18.2", - "@typescript-eslint/utils": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/scope-manager": "8.19.1", + "@typescript-eslint/type-utils": "8.19.1", + "@typescript-eslint/utils": "8.19.1", + "@typescript-eslint/visitor-keys": "8.19.1", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -883,16 +883,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.2.tgz", - "integrity": "sha512-y7tcq4StgxQD4mDr9+Jb26dZ+HTZ/SkfqpXSiqeUXZHxOUyjWDKsmwKhJ0/tApR08DgOhrFAoAhyB80/p3ViuA==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.19.1.tgz", + "integrity": "sha512-67gbfv8rAwawjYx3fYArwldTQKoYfezNUT4D5ioWetr/xCrxXxvleo3uuiFuKfejipvq+og7mjz3b0G2bVyUCw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/scope-manager": "8.19.1", + "@typescript-eslint/types": "8.19.1", + "@typescript-eslint/typescript-estree": "8.19.1", + "@typescript-eslint/visitor-keys": "8.19.1", "debug": "^4.3.4" }, "engines": { @@ -908,14 +908,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", - "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.1.tgz", + "integrity": "sha512-60L9KIuN/xgmsINzonOcMDSB8p82h95hoBfSBtXuO4jlR1R9L1xSkmVZKgCPVfavDlXihh4ARNjXhh1gGnLC7Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2" + "@typescript-eslint/types": "8.19.1", + "@typescript-eslint/visitor-keys": "8.19.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -926,16 +926,16 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.2.tgz", - "integrity": "sha512-AB/Wr1Lz31bzHfGm/jgbFR0VB0SML/hd2P1yxzKDM48YmP7vbyJNHRExUE/wZsQj2wUCvbWH8poNHFuxLqCTnA==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.19.1.tgz", + "integrity": "sha512-Rp7k9lhDKBMRJB/nM9Ksp1zs4796wVNyihG9/TU9R6KCJDNkQbc2EOKjrBtLYh3396ZdpXLtr/MkaSEmNMtykw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.18.2", - "@typescript-eslint/utils": "8.18.2", + "@typescript-eslint/typescript-estree": "8.19.1", + "@typescript-eslint/utils": "8.19.1", "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -950,9 +950,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", - "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.1.tgz", + "integrity": "sha512-JBVHMLj7B1K1v1051ZaMMgLW4Q/jre5qGK0Ew6UgXz1Rqh+/xPzV1aW581OM00X6iOfyr1be+QyW8LOUf19BbA==", "dev": true, "license": "MIT", "engines": { @@ -964,20 +964,20 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", - "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.1.tgz", + "integrity": "sha512-jk/TZwSMJlxlNnqhy0Eod1PNEvCkpY6MXOXE/WLlblZ6ibb32i2We4uByoKPv1d0OD2xebDv4hbs3fm11SMw8Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/types": "8.19.1", + "@typescript-eslint/visitor-keys": "8.19.1", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -991,16 +991,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.2.tgz", - "integrity": "sha512-Cr4A0H7DtVIPkauj4sTSXVl+VBWewE9/o40KcF3TV9aqDEOWoXF3/+oRXNby3DYzZeCATvbdksYsGZzplwnK/Q==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.1.tgz", + "integrity": "sha512-IxG5gLO0Ne+KaUc8iW1A+XuKLd63o4wlbI1Zp692n1xojCl/THvgIKXJXBZixTh5dd5+yTJ/VXH7GJaaw21qXA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2" + "@typescript-eslint/scope-manager": "8.19.1", + "@typescript-eslint/types": "8.19.1", + "@typescript-eslint/typescript-estree": "8.19.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1015,13 +1015,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", - "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.1.tgz", + "integrity": "sha512-fzmjU8CHK853V/avYZAvuVut3ZTfwN5YtMaoi+X9Y9MA9keaWNHC3zEQ9zvyX/7Hj+5JkNyK1l7TOR2hevHB6Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/types": "8.19.1", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -1970,9 +1970,9 @@ "license": "MIT" }, "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", "dev": true, "license": "MIT", "dependencies": { @@ -1980,7 +1980,7 @@ "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "micromatch": "^4.0.8" }, "engines": { "node": ">=8.6.0" @@ -3577,16 +3577,16 @@ } }, "node_modules/ts-api-utils": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz", - "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", "dev": true, "license": "MIT", "engines": { - "node": ">=16" + "node": ">=18.12" }, "peerDependencies": { - "typescript": ">=4.2.0" + "typescript": ">=4.8.4" } }, "node_modules/ts-command-line-args": { diff --git a/package.json b/package.json index ebfa0b3..339fd59 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/BCsabaEngine/svelteesp32", "scripts": { - "dev:async": "nodemon src/index.ts -- -e async -s ./demo/svelte/dist -o ./demo/esp32/include/svelteesp32.h --etag=true --gzip=true --version=v$npm_package_version", + "dev:async": "nodemon src/index.ts -- -e async -s ./demo/svelte/dist -o ./demo/esp32/include/svelteesp32.h --etag=true --gzip=true --cachetime=86400 --version=v$npm_package_version", "dev:psychic": "nodemon src/index.ts -- -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/svelteesp32.h --etag=false --gzip=false --version=v$npm_package_version", "dev:psychic2": "nodemon src/index.ts -- -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/svelteesp32.h --etag=false --gzip=false --version=v$npm_package_version", "test:all": "./package.script && ~/.platformio/penv/bin/pio run -d ./demo/esp32", @@ -54,9 +54,9 @@ "espasyncwebserver" ], "devDependencies": { - "@types/node": "^22.10.2", - "@typescript-eslint/eslint-plugin": "^8.18.2", - "@typescript-eslint/parser": "^8.18.2", + "@types/node": "^22.10.5", + "@typescript-eslint/eslint-plugin": "^8.19.1", + "@typescript-eslint/parser": "^8.19.1", "eslint": "^9.17.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-simple-import-sort": "^12.1.1", From 44639b95e5ed0860acbc277b867bab236118e773 Mon Sep 17 00:00:00 2001 From: BCsabaEngine Date: Mon, 6 Jan 2025 19:18:08 +0100 Subject: [PATCH 2/3] chore: deps svelte demo app --- demo/svelte/dist/assets/index-BC9dsMQQ.js | 1 + demo/svelte/dist/assets/index-DiIOlAIu.js | 1 - demo/svelte/dist/favicon.png.gz | Bin 33290 -> 33290 bytes demo/svelte/dist/index.html | 2 +- demo/svelte/package-lock.json | 602 +++++++++++----------- demo/svelte/package.json | 8 +- 6 files changed, 316 insertions(+), 298 deletions(-) create mode 100644 demo/svelte/dist/assets/index-BC9dsMQQ.js delete mode 100644 demo/svelte/dist/assets/index-DiIOlAIu.js diff --git a/demo/svelte/dist/assets/index-BC9dsMQQ.js b/demo/svelte/dist/assets/index-BC9dsMQQ.js new file mode 100644 index 0000000..e61a5fa --- /dev/null +++ b/demo/svelte/dist/assets/index-BC9dsMQQ.js @@ -0,0 +1 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();const vn=!1;var jt=Array.isArray,Gr=Array.from,jo=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,Mn=Object.getOwnPropertyDescriptors,Vo=Object.prototype,Ho=Array.prototype,qr=Object.getPrototypeOf;function dt(e){return typeof e=="function"}const Ee=()=>{};function Go(e){return e()}function Tr(e){for(var t=0;tw(e))),t}function O(e,t){return Y!==null&&$r()&&Y.f&(Ae|hr)&&(Le===null||!Le.includes(e))&&ni(),Vn(e,t)}function Vn(e,t){return e.equals(t)||(e.v,e.v=t,e.version=so(),Hn(e,Qe),$r()&&M!==null&&M.f&pe&&!(M.f&Re)&&(ce!==null&&ce.includes(e)?(Oe(M,Qe),_r(M)):Je===null?Ei([e]):Je.push(e))),t}function Hn(e,t){var r=e.reactions;if(r!==null)for(var n=$r(),o=r.length,i=0;i=m.v&&O(m,y+1)}gn(s)}return!0},ownKeys(c){w(s);var a=Reflect.ownKeys(c).filter(d=>{var v=o.get(d);return v===void 0||v.v!==ge});for(var[f,u]of o)u.v!==ge&&!(f in c)&&a.push(f);return a},setPrototypeOf(){ti()}})}function gn(e,t=1){O(e,e.v+t)}var hn,qn,Yn;function pi(){if(hn===void 0){hn=window;var e=Element.prototype,t=Node.prototype;qn=Xe(t,"firstChild").get,Yn=Xe(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function Yt(e=""){return document.createTextNode(e)}function _e(e){return qn.call(e)}function br(e){return Yn.call(e)}function ae(e,t){return _e(e)}function X(e,t){{var r=_e(e);return r instanceof Comment&&r.data===""?br(r):r}}function re(e,t=1,r=!1){let n=e;for(;t--;)n=br(n);return n}function bi(e){e.textContent=""}function Ve(e){var t=Ae|Qe;M===null?t|=ct:M.f|=Fn;var r=Y!==null&&Y.f&Ae?Y:null;const n={children:null,ctx:H,deps:null,equals:Bn,f:t,fn:e,reactions:null,v:null,version:0,parent:r??M};if(r!==null){var o;((o=r).children??(o.children=[])).push(n)}return n}function _t(e){const t=Ve(e);return t.equals=Kr,t}function Kn(e){var t=e.children;if(t!==null){e.children=null;for(var r=0;rnew Promise(n=>{r.outro?It(t,()=>{Ne(t),n(void 0)}):(Ne(t),n(void 0))})}function Kt(e){return At(In,e,!1)}function q(e,t){var r=H,n={effect:null,ran:!1};r.l.r1.push(n),n.effect=Xt(()=>{e(),!n.ran&&(n.ran=!0,O(r.l.r2,!0),Ie(t))})}function Fe(){var e=H;Xt(()=>{if(w(e.l.r2)){for(var t of e.l.r1){var r=t.effect;r.f&pe&&Oe(r,Gt),Pt(r)&&Jt(r),t.ran=!1}e.l.r2.v=!1}})}function Xt(e){return At(Vt,e,!0)}function ee(e){return Zt(e)}function Zt(e,t=0){return At(Vt|hr|t,e,!0)}function it(e,t=!0){return At(Vt|Re,e,!0,t)}function $n(e){var t=e.teardown;if(t!==null){const r=Qr,n=Y;bn(!0),Me(null);try{t.call(null)}finally{bn(r),Me(n)}}}function eo(e){var t=e.deriveds;if(t!==null){e.deriveds=null;for(var r=0;r{Ne(e),t&&t()})}function no(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var o of e)o.out(n)}else t()}function Zr(e,t,r){if(!(e.f&Te)){if(e.f^=Te,e.transitions!==null)for(const s of e.transitions)(s.is_global||r)&&t.push(s);for(var n=e.first;n!==null;){var o=n.next,i=(n.f&qt)!==0||(n.f&Re)!==0;Zr(n,t,i?r:!1),n=o}}}function Dt(e){oo(e,!0)}function oo(e,t){if(e.f&Te){Pt(e)&&Jt(e),e.f^=Te;for(var r=e.first;r!==null;){var n=r.next,o=(r.f&qt)!==0||(r.f&Re)!==0;oo(r,o?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}let Nr=!1,Mr=[];function ki(){Nr=!1;const e=Mr.slice();Mr=[],Tr(e)}function mr(e){Nr||(Nr=!0,queueMicrotask(ki)),Mr.push(e)}function Jr(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let sr=!1,ar=!1,cr=null,gt=!1,Qr=!1;function pn(e){gt=e}function bn(e){Qr=e}let Ir=[],Mt=0;let Y=null;function Me(e){Y=e}let M=null;function ke(e){M=e}let Le=null;function Ci(e){Le=e}let ce=null,me=0,Je=null;function Ei(e){Je=e}let io=1,rt=!1,H=null;function so(){return++io}function $r(){return!Et||H!==null&&H.l===null}function Pt(e){var f;var t=e.f;if(t&Qe)return!0;if(t&Gt){var r=e.deps,n=(t&ct)!==0;if(r!==null){var o,i,s=(t&lr)!==0,l=n&&M!==null&&!rt,c=r.length;if(s||l){for(o=0;oe.version)return!0}(!n||M!==null&&!rt)&&Oe(e,pe)}return!1}function Ai(e,t){for(var r=t;r!==null;){if(r.f&Lr)try{r.fn(e);return}catch{r.f^=Lr}r=r.parent}throw sr=!1,e}function Pi(e){return(e.f&Ct)===0&&(e.parent===null||(e.parent.f&Lr)===0)}function yr(e,t,r,n){if(sr){if(r===null&&(sr=!1),Pi(t))throw e;return}r!==null&&(sr=!0);{Ai(e,t);return}}function lo(e){var t=ce,r=me,n=Je,o=Y,i=rt,s=Le,l=H,c=e.f;ce=null,me=0,Je=null,Y=c&(Re|Ht)?null:e,rt=!gt&&(c&ct)!==0,Le=null,H=e.ctx;try{var a=(0,e.fn)(),f=e.deps;if(ce!==null){var u;if(Ft(e,me),f!==null&&me>0)for(f.length=me+ce.length,u=0;u1e3){Mt=0;try{Qo()}catch(e){if(cr!==null)yr(e,cr,null);else throw e}}Mt++}function Oi(e){var t=e.length;if(t!==0){Ri();var r=gt;gt=!0;try{for(var n=0;n1001)return;const e=Ir;Ir=[],Oi(e),ar||(Mt=0,cr=null)}function _r(e){ar||(ar=!0,queueMicrotask(Li)),cr=e;for(var t=e;t.parent!==null;){t=t.parent;var r=t.f;if(r&(Ht|Re)){if(!(r&pe))return;t.f^=pe}}Ir.push(t)}function ao(e,t){var r=e.first,n=[];e:for(;r!==null;){var o=r.f,i=(o&Re)!==0,s=i&&(o&pe)!==0,l=r.next;if(!s&&!(o&Te))if(o&Vt){if(i)r.f^=pe;else try{Pt(r)&&Jt(r)}catch(u){yr(u,r,null,r.ctx)}var c=r.first;if(c!==null){r=c;continue}}else o&In&&n.push(r);if(l===null){let u=r.parent;for(;u!==null;){if(e===u)break e;var a=u.next;if(a!==null){r=a;continue e}u=u.parent}}r=l}for(var f=0;f{document.activeElement===r&&e.focus()})}}function Vi(e){var t=Y,r=M;Me(null),ke(null);try{return e()}finally{Me(t),ke(r)}}const uo=new Set,Fr=new Set;function fo(e,t,r,n){function o(i){if(n.capture||Nt.call(t,i),!i.cancelBubble)return Vi(()=>r.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?mr(()=>{t.addEventListener(e,o,n)}):t.addEventListener(e,o,n),o}function V(e,t,r,n,o){var i={capture:n,passive:o},s=fo(e,t,r,i);(t===document.body||t===window||t===document)&&Qn(()=>{t.removeEventListener(e,s,i)})}function Hi(e){for(var t=0;t{throw b});throw d}}finally{e.__root=t,delete e.currentTarget,Me(f),ke(u)}}}function en(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function et(e,t){var r=M;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Z(e,t){var r=(t&jn)!==0,n=(t&gi)!==0,o,i=!e.startsWith("");return()=>{o===void 0&&(o=en(i?e:""+e),r||(o=_e(o)));var s=n?document.importNode(o,!0):o.cloneNode(!0);if(r){var l=_e(s),c=s.lastChild;et(l,c)}else et(s,s);return s}}function tn(e,t,r="svg"){var n=!e.startsWith(""),o=(t&jn)!==0,i=`<${r}>${n?e:""+e}`,s;return()=>{if(!s){var l=en(i),c=_e(l);if(o)for(s=document.createDocumentFragment();_e(c);)s.appendChild(_e(c));else s=_e(c)}var a=s.cloneNode(!0);if(o){var f=_e(a),u=a.lastChild;et(f,u)}else et(a,a);return a}}function Ge(e=""){{var t=Yt(e+"");return et(t,t),t}}function ie(){var e=document.createDocumentFragment(),t=document.createComment(""),r=Yt();return e.append(t,r),et(t,r),e}function S(e,t){e!==null&&e.before(t)}let ur=!0;function yn(e){ur=e}function fr(e,t){var r,n=t==null?"":typeof t=="object"?t+"":t;n!==((r=e).__t??(r.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=n==null?"":n+"")}function Gi(e,t){return qi(e,t)}const ut=new Map;function qi(e,{target:t,anchor:r,props:n={},events:o,context:i,intro:s=!0}){pi();var l=new Set,c=u=>{for(var d=0;d{var u=r??t.appendChild(Yt());return it(()=>{if(i){ue({});var d=H;d.c=i}o&&(n.$$events=o),ur=s,a=e(u,n)||{},ur=!0,i&&fe()}),()=>{var g;for(var d of l){t.removeEventListener(d,Nt);var v=ut.get(d);--v===0?(document.removeEventListener(d,Nt),ut.delete(d)):ut.set(d,v)}Fr.delete(c),u!==r&&((g=u.parentNode)==null||g.removeChild(u))}});return Yi.set(a,f),a}let Yi=new WeakMap;function he(e,t,r=!1){var n=e,o=null,i=null,s=ge,l=r?qt:0,c=!1;const a=(u,d=!0)=>{c=!0,f(d,u)},f=(u,d)=>{s!==(s=u)&&(s?(o?Dt(o):d&&(o=it(()=>d(n))),i&&It(i,()=>{i=null})):(i?Dt(i):d&&(i=it(()=>d(n))),o&&It(o,()=>{o=null})))};Zt(()=>{c=!1,t(a),c||f(null,null)},l)}function Ki(e,t){return t}function Xi(e,t,r,n){for(var o=[],i=t.length,s=0;s0&&o.length===0&&r!==null;if(l){var c=r.parentNode;bi(c),c.append(r),n.clear(),Ke(e,t[0].prev,t[i-1].next)}no(o,()=>{for(var a=0;a{var u=r(),d=jt(u)?u:u==null?[]:Gr(u),v=d.length;if(!(f&&v===0)){f=v===0;{var g=Y;Ji(d,l,s,o,t,(g.f&Te)!==0,n)}i!==null&&(v===0?a?Dt(a):a=it(()=>i(s)):a!==null&&It(a,()=>{a=null})),r()}})}function Ji(e,t,r,n,o,i,s,l){var c=e.length,a=t.items,f=t.first,u=f,d,v=null,g=[],h=[],p,m,y,b;for(b=0;b0){var I=c===0?r:null;Xi(t,R,I,a)}}M.first=t.first&&t.first.e,M.last=v&&v.e}function Qi(e,t,r,n){Vn(e.v,t),e.i=r}function $i(e,t,r,n,o,i,s,l,c,a){var f=(c&si)!==0,u=(c&ai)===0,d=f?u?pr(o):ye(o):o,v=c&li?ye(s):s,g={i:v,v:d,k:i,a:null,e:null,prev:r,next:n};try{return g.e=it(()=>l(e,d,v),Gn),g.e.prev=r&&r.e,g.e.next=n&&n.e,r===null?t.first=g:(r.next=g,r.e.next=g.e),n!==null&&(n.prev=g,n.e.prev=g.e),g}finally{}}function _n(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,o=t?t.e.nodes_start:r,i=e.e.nodes_start;i!==n;){var s=br(i);o.before(i),i=s}}function Ke(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function es(e,t,r,n,o){var i=e,s="",l;Zt(()=>{s!==(s=t()??"")&&(l!==void 0&&(Ne(l),l=void 0),s!==""&&(l=it(()=>{var c=s+"";c=`${c}`;var a=en(c);for(a=_e(a),et(_e(a),a.lastChild);_e(a);)i.before(_e(a))})))})}function se(e,t,r,n,o){var l;var i=(l=t.$$slots)==null?void 0:l[r],s=!1;i===!0&&(i=t[r==="default"?"children":r],s=!0),i===void 0?o!==null&&o(e):i(e,s?()=>n:n)}function ts(e){const t={};e.children&&(t.default=!0);for(const r in e.$$slots)t[r]=!0;return t}function Ut(e,t,r,n,o,i){var s,l,c=null,a=e,f;Zt(()=>{const u=t()||null;var d=u==="svg"?yt:null;u!==s&&(f&&(u===null?It(f,()=>{f=null,l=null}):u===l?Dt(f):(Ne(f),yn(!1))),u&&u!==l&&(f=it(()=>{if(c=d?document.createElementNS(d,u):document.createElement(u),et(c,c),n){var v=c.appendChild(Yt());n(c,v)}M.nodes_end=c,a.before(c)})),s=u,s&&(l=s),yn(!0))},qt)}function Bt(e,t,r){Kt(()=>{var n=Ie(()=>t(e,r==null?void 0:r())||{});if(r&&(n!=null&&n.update)){var o=!1,i={};Xt(()=>{var s=r();T(s),o&&Yr(i,s)&&(i=s,n.update(s))}),o=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function vo(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;tperformance.now(),je={tick:e=>requestAnimationFrame(e),now:()=>is(),tasks:new Set};function ho(){const e=je.now();je.tasks.forEach(t=>{t.c(e)||(je.tasks.delete(t),t.f())}),je.tasks.size!==0&&je.tick(ho)}function ss(e){let t;return je.tasks.size===0&&je.tick(ho),{promise:new Promise(r=>{je.tasks.add(t={c:e,f:r})}),abort(){je.tasks.delete(t)}}}function rr(e,t){e.dispatchEvent(new CustomEvent(t))}function ls(e){if(e==="float")return"cssFloat";if(e==="offset")return"cssOffset";if(e.startsWith("--"))return e;const t=e.split("-");return t.length===1?t[0]:t[0]+t.slice(1).map(r=>r[0].toUpperCase()+r.slice(1)).join("")}function xn(e){const t={},r=e.split(";");for(const n of r){const[o,i]=n.split(":");if(!o||i===void 0)break;const s=ls(o.trim());t[s]=i.trim()}return t}const as=e=>e;function po(e,t,r,n){var o,i=(e&vi)!==0,s="both",l,c=t.inert,a,f;function u(){var p=Y,m=M;Me(null),ke(null);try{return l??(l=r()(t,(n==null?void 0:n())??{},{direction:s}))}finally{Me(p),ke(m)}}var d={is_global:i,in(){t.inert=c,rr(t,"introstart"),a=Ur(t,u(),f,1,()=>{rr(t,"introend"),a==null||a.abort(),a=l=void 0})},out(p){t.inert=!0,rr(t,"outrostart"),f=Ur(t,u(),a,0,()=>{rr(t,"outroend"),p==null||p()})},stop:()=>{a==null||a.abort(),f==null||f.abort()}},v=M;if(((o=v).transitions??(o.transitions=[])).push(d),ur){var g=i;if(!g){for(var h=v.parent;h&&h.f&qt;)for(;(h=h.parent)&&!(h.f&hr););g=!h||(h.f&Dn)!==0}g&&Kt(()=>{Ie(()=>d.in())})}}function Ur(e,t,r,n,o){var i=n===1;if(dt(t)){var s,l=!1;return mr(()=>{if(!l){var p=t({direction:i?"in":"out"});s=Ur(e,p,r,n,o)}}),{abort:()=>{l=!0,s==null||s.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(r==null||r.deactivate(),!(t!=null&&t.duration))return o(),{abort:Ee,deactivate:Ee,reset:Ee,t:()=>n};const{delay:c=0,css:a,tick:f,easing:u=as}=t;var d=[];if(i&&r===void 0&&(f&&f(0,1),a)){var v=xn(a(0,1));d.push(v,v)}var g=()=>1-n,h=e.animate(d,{duration:c});return h.onfinish=()=>{var p=(r==null?void 0:r.t())??1-n;r==null||r.abort();var m=n-p,y=t.duration*Math.abs(m),b=[];if(y>0){if(a)for(var _=Math.ceil(y/16.666666666666668),x=0;x<=_;x+=1){var k=p+m*u(x/_),A=a(k,1-k);b.push(xn(A))}g=()=>{var E=h.currentTime;return p+m*u(E/y)},f&&ss(()=>{if(h.playState!=="running")return!1;var E=g();return f(E,1-E),!0})}h=e.animate(b,{duration:y,fill:"forwards"}),h.onfinish=()=>{g=()=>n,f==null||f(n,1-n),o()}},{abort:()=>{h&&(h.cancel(),h.effect=null,h.onfinish=Ee)},deactivate:()=>{o=Ee},reset:()=>{n===0&&(f==null||f(1,0))},t:()=>g()}}function kn(e,t){return e===t||(e==null?void 0:e[Ze])===t}function Br(e={},t,r,n){return Kt(()=>{var o,i;return Xt(()=>{o=i,i=[],Ie(()=>{e!==r(...i)&&(t(e,...i),o&&kn(r(...o),e)&&t(null,...o))})}),()=>{mr(()=>{i&&kn(r(...i),e)&&t(null,...i)})}}),e}function be(e=!1){const t=H,r=t.l.u;if(!r)return;let n=()=>T(t.s);if(e){let o=0,i={};const s=Ve(()=>{let l=!1;const c=t.s;for(const a in c)c[a]!==i[a]&&(i[a]=c[a],l=!0);return l&&o++,o});n=()=>w(s)}r.b.length&&_i(()=>{Cn(t,n),Tr(r.b)}),zr(()=>{const o=Ie(()=>r.m.map(Go));return()=>{for(const i of o)typeof i=="function"&&i()}}),r.a.length&&zr(()=>{Cn(t,n),Tr(r.a)})}function Cn(e,t){if(e.l.s)for(const r of e.l.s)w(r);t()}function j(e,t){var i;var r=(i=e.$$events)==null?void 0:i[t.type],n=jt(r)?r.slice():r==null?[]:[r];for(var o of n)o.call(this,t)}function cs(e,t,r){if(e==null)return t(void 0),Ee;const n=Ie(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}let nr=!1;function bo(e,t,r){var n,o;const i=(n=r)[o=t]??(n[o]={store:null,source:pr(void 0),unsubscribe:Ee});if(i.store!==e)if(i.unsubscribe(),i.store=e??null,e==null)i.source.v=void 0,i.unsubscribe=Ee;else{var s=!0;i.unsubscribe=cs(e,l=>{s?i.source.v=l:O(i.source,l)}),s=!1}return w(i.source)}function mo(){const e={};return Qn(()=>{for(var t in e)e[t].unsubscribe()}),e}function us(e){var t=nr;try{return nr=!1,[e(),nr]}finally{nr=t}}const fs={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function ds(e,t,r){return new Proxy({props:e,exclude:t},fs)}const vs={get(e,t){if(!e.exclude.includes(t))return w(e.version),t in e.special?e.special[t]():e.props[t]},set(e,t,r){return t in e.special||(e.special[t]=C({get[t](){return e.props[t]}},t,Wn)),e.special[t](r),mn(e.version),!0},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},deleteProperty(e,t){return e.exclude.includes(t)||(e.exclude.push(t),mn(e.version)),!0},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function G(e,t){return new Proxy({props:e,exclude:t,special:{},version:ye(0)},vs)}const gs={get(e,t){let r=e.props.length;for(;r--;){let n=e.props[r];if(dt(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n)return n[t]}},set(e,t,r){let n=e.props.length;for(;n--;){let o=e.props[n];dt(o)&&(o=o());const i=Xe(o,t);if(i&&i.set)return i.set(r),!0}return!1},getOwnPropertyDescriptor(e,t){let r=e.props.length;for(;r--;){let n=e.props[r];if(dt(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n){const o=Xe(n,t);return o&&!o.configurable&&(o.configurable=!0),o}}},has(e,t){if(t===Ze||t===Un)return!1;for(let r of e.props)if(dt(r)&&(r=r()),r!=null&&t in r)return!0;return!1},ownKeys(e){const t=[];for(let r of e.props){dt(r)&&(r=r());for(const n in r)t.includes(n)||t.push(n)}return t}};function wr(...e){return new Proxy({props:e},gs)}function En(e){for(var t=M,r=M;t!==null&&!(t.f&(Re|Ht));)t=t.parent;try{return ke(t),e()}finally{ke(r)}}function C(e,t,r,n){var A;var o=(r&ci)!==0,i=!Et||(r&ui)!==0,s=(r&fi)!==0,l=(r&di)!==0,c=!1,a;s?[a,c]=us(()=>e[t]):a=e[t];var f=Ze in e||Un in e,u=((A=Xe(e,t))==null?void 0:A.set)??(f&&s&&t in e?E=>e[t]=E:void 0),d=n,v=!0,g=!1,h=()=>(g=!0,v&&(v=!1,l?d=Ie(n):d=n),d);a===void 0&&n!==void 0&&(u&&i&&$o(),a=h(),u&&u(a));var p;if(i)p=()=>{var E=e[t];return E===void 0?h():(v=!0,g=!1,E)};else{var m=En(()=>(o?Ve:_t)(()=>e[t]));m.f|=qo,p=()=>{var E=w(m);return E!==void 0&&(d=void 0),E===void 0?d:E}}if(!(r&Wn))return p;if(u){var y=e.$$legacy;return function(E,R){return arguments.length>0?((!i||!R||y||c)&&u(R?p():E),E):p()}}var b=!1,_=!1,x=pr(a),k=En(()=>Ve(()=>{var E=p(),R=w(x);return b?(b=!1,_=!0,R):(_=!1,x.v=E)}));return o||(k.equals=Kr),function(E,R){if(arguments.length>0){const N=R?w(k):i&&s?vt(E):E;return k.equals(N)||(b=!0,O(x,N),g&&d!==void 0&&(d=N),Ie(()=>w(k))),E}return w(k)}}function hs(e){H===null&&Jr(),Et&&H.l!==null?bs(H).m.push(e):zr(()=>{const t=Ie(e);if(typeof t=="function")return t})}function ps(e,t,{bubbles:r=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:t,bubbles:r,cancelable:n})}function yo(){const e=H;return e===null&&Jr(),(t,r,n)=>{var i;const o=(i=e.s.$$events)==null?void 0:i[t];if(o){const s=jt(o)?o.slice():[o],l=ps(t,r,n);for(const c of s)c.call(e.x,l);return!l.defaultPrevented}return!0}}function bs(e){var t,r=e.l;return(t=r).u??(t.u={a:[],b:[],m:[]})}const ms="5";var An;typeof window<"u"&&((An=window).__svelte||(An.__svelte={v:new Set})).v.add(ms);ii();const ft=[];function xr(e,t=Ee){let r=null;const n=new Set;function o(l){if(Yr(e,l)&&(e=l,r)){const c=!ft.length;for(const a of n)a[1](),ft.push(a,e);if(c){for(let a=0;a{n.delete(a),n.size===0&&r&&(r(),r=null)}}return{set:o,update:i,subscribe:s}}const rn="-",ys=e=>{const t=ws(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:s=>{const l=s.split(rn);return l[0]===""&&l.length!==1&&l.shift(),_o(l,t)||_s(s)},getConflictingClassGroupIds:(s,l)=>{const c=r[s]||[];return l&&n[s]?[...c,...n[s]]:c}}},_o=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?_o(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(rn);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},Pn=/^\[(.+)\]$/,_s=e=>{if(Pn.test(e)){const t=Pn.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},ws=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return ks(Object.entries(e.classGroups),r).forEach(([i,s])=>{Wr(s,n,i,t)}),n},Wr=(e,t,r,n)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Sn(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(xs(o)){Wr(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Wr(s,Sn(t,i),r,n)})})},Sn=(e,t)=>{let r=e;return t.split(rn).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},xs=e=>e.isThemeGetter,ks=(e,t)=>t?e.map(([r,n])=>{const o=n.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,Cs=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,n=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=n.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},wo="!",Es=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,o=t[0],i=t.length,s=l=>{const c=[];let a=0,f=0,u;for(let p=0;pf?u-f:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:h}};return r?l=>r({className:l,parseClassName:s}):s},As=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},Ps=e=>({cache:Cs(e.cacheSize),parseClassName:Es(e),...ys(e)}),Ss=/\s+/,Rs=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(Ss);let l="";for(let c=s.length-1;c>=0;c-=1){const a=s[c],{modifiers:f,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:v}=r(a);let g=!!v,h=n(g?d.substring(0,v):d);if(!h){if(!g){l=a+(l.length>0?" "+l:l);continue}if(h=n(d),!h){l=a+(l.length>0?" "+l:l);continue}g=!1}const p=As(f).join(":"),m=u?p+wo:p,y=m+h;if(i.includes(y))continue;i.push(y);const b=o(h,g);for(let _=0;_0?" "+l:l)}return l};function xo(){let e=0,t,r,n="";for(;e{if(typeof e=="string")return e;let t,r="";for(let n=0;nu(f),e());return r=Ps(a),n=r.cache.get,o=r.cache.set,i=l,l(c)}function l(c){const a=n(c);if(a)return a;const f=Rs(c,r);return o(c,f),f}return function(){return i(xo.apply(null,arguments))}}const Q=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Co=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ts=/^\d+\/\d+$/,Ls=new Set(["px","full","screen"]),zs=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ns=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ms=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Is=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ds=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,We=e=>bt(e)||Ls.has(e)||Ts.test(e),qe=e=>St(e,"length",Gs),bt=e=>!!e&&!Number.isNaN(Number(e)),Rr=e=>St(e,"number",bt),Tt=e=>!!e&&Number.isInteger(Number(e)),Fs=e=>e.endsWith("%")&&bt(e.slice(0,-1)),z=e=>Co.test(e),Ye=e=>zs.test(e),Us=new Set(["length","size","percentage"]),Bs=e=>St(e,Us,Eo),Ws=e=>St(e,"position",Eo),js=new Set(["image","url"]),Vs=e=>St(e,js,Ys),Hs=e=>St(e,"",qs),Lt=()=>!0,St=(e,t,r)=>{const n=Co.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Gs=e=>Ns.test(e)&&!Ms.test(e),Eo=()=>!1,qs=e=>Is.test(e),Ys=e=>Ds.test(e),Ks=()=>{const e=Q("colors"),t=Q("spacing"),r=Q("blur"),n=Q("brightness"),o=Q("borderColor"),i=Q("borderRadius"),s=Q("borderSpacing"),l=Q("borderWidth"),c=Q("contrast"),a=Q("grayscale"),f=Q("hueRotate"),u=Q("invert"),d=Q("gap"),v=Q("gradientColorStops"),g=Q("gradientColorStopPositions"),h=Q("inset"),p=Q("margin"),m=Q("opacity"),y=Q("padding"),b=Q("saturate"),_=Q("scale"),x=Q("sepia"),k=Q("skew"),A=Q("space"),E=Q("translate"),R=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto",z,t],P=()=>[z,t],W=()=>["",We,qe],L=()=>["auto",bt,z],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],D=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",z],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[bt,z];return{cacheSize:500,separator:":",theme:{colors:[Lt],spacing:[We,qe],blur:["none","",Ye,z],brightness:F(),borderColor:[e],borderRadius:["none","","full",Ye,z],borderSpacing:P(),borderWidth:W(),contrast:F(),grayscale:J(),hueRotate:F(),invert:J(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[Fs,qe],inset:I(),margin:I(),opacity:F(),padding:P(),saturate:F(),scale:F(),sepia:J(),skew:F(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",z]}],container:["container"],columns:[{columns:[Ye]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),z]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Tt,z]}],basis:[{basis:I()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",z]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",Tt,z]}],"grid-cols":[{"grid-cols":[Lt]}],"col-start-end":[{col:["auto",{span:["full",Tt,z]},z]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[Lt]}],"row-start-end":[{row:["auto",{span:[Tt,z]},z]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",z]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",z]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",z,t]}],"min-w":[{"min-w":[z,t,"min","max","fit"]}],"max-w":[{"max-w":[z,t,"none","full","min","max","fit","prose",{screen:[Ye]},Ye]}],h:[{h:[z,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[z,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[z,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[z,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ye,qe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Rr]}],"font-family":[{font:[Lt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",z]}],"line-clamp":[{"line-clamp":["none",bt,Rr]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",We,z]}],"list-image":[{"list-image":["none",z]}],"list-style-type":[{list:["none","disc","decimal",z]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",We,qe]}],"underline-offset":[{"underline-offset":["auto",We,z]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),Ws]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Bs]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Vs]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:B()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[We,z]}],"outline-w":[{outline:[We,qe]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[We,qe]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ye,Hs]}],"shadow-color":[{shadow:[Lt]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...D(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":D()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Ye,z]}],grayscale:[{grayscale:[a]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[u]}],saturate:[{saturate:[b]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[a]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",z]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",z]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",z]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[Tt,z]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",z]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",z]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",z]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[We,qe,Rr]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},ne=Os(Ks);function Xs(e){const t=e-1;return t*t*t+1}function Zs(e,{delay:t=0,duration:r=400,easing:n=Xs,axis:o="y"}={}){const i=getComputedStyle(e),s=+i.opacity,l=o==="y"?"height":"width",c=parseFloat(i[l]),a=o==="y"?["top","bottom"]:["left","right"],f=a.map(m=>`${m[0].toUpperCase()}${m.slice(1)}`),u=parseFloat(i[`padding${f[0]}`]),d=parseFloat(i[`padding${f[1]}`]),v=parseFloat(i[`margin${f[0]}`]),g=parseFloat(i[`margin${f[1]}`]),h=parseFloat(i[`border${f[0]}Width`]),p=parseFloat(i[`border${f[1]}Width`]);return{delay:t,duration:r,easing:n,css:m=>`overflow: hidden;opacity: ${Math.min(m*20,1)*s};${l}: ${m*c}px;padding-${a[0]}: ${m*u}px;padding-${a[1]}: ${m*d}px;margin-${a[0]}: ${m*v}px;margin-${a[1]}: ${m*g}px;border-${a[0]}-width: ${m*h}px;border-${a[1]}-width: ${m*p}px;`}}const Js={gray:"bg-gray-50 dark:bg-gray-800",red:"bg-red-50 dark:bg-gray-800",yellow:"bg-yellow-50 dark:bg-gray-800 ",green:"bg-green-50 dark:bg-gray-800 ",indigo:"bg-indigo-50 dark:bg-gray-800 ",purple:"bg-purple-50 dark:bg-gray-800 ",pink:"bg-pink-50 dark:bg-gray-800 ",blue:"bg-blue-50 dark:bg-gray-800 ",light:"bg-gray-50 dark:bg-gray-700",dark:"bg-gray-50 dark:bg-gray-800",default:"bg-white dark:bg-gray-800",dropdown:"bg-white dark:bg-gray-700",navbar:"bg-white dark:bg-gray-900",navbarUl:"bg-gray-50 dark:bg-gray-800",form:"bg-gray-50 dark:bg-gray-700",primary:"bg-primary-50 dark:bg-gray-800 ",orange:"bg-orange-50 dark:bg-orange-800",none:""};function nn(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["tag","color","rounded","border","shadow","node","use","options","role","transition","params","open"]);ue(t,!1);const o=()=>{};st("background",!0);let i=C(t,"tag",24,()=>n.href?"a":"div"),s=C(t,"color",12,"default"),l=C(t,"rounded",8,!1),c=C(t,"border",8,!1),a=C(t,"shadow",8,!1),f=C(t,"node",28,()=>{}),u=C(t,"use",8,o),d=C(t,"options",24,()=>({})),v=C(t,"role",24,()=>{}),g=C(t,"transition",24,()=>{}),h=C(t,"params",24,()=>({})),p=C(t,"open",8,!0);const m=yo(),y={gray:"text-gray-800 dark:text-gray-300",red:"text-red-800 dark:text-red-400",yellow:"text-yellow-800 dark:text-yellow-300",green:"text-green-800 dark:text-green-400",indigo:"text-indigo-800 dark:text-indigo-400",purple:"text-purple-800 dark:text-purple-400",pink:"text-pink-800 dark:text-pink-400",blue:"text-blue-800 dark:text-blue-400",light:"text-gray-700 dark:text-gray-300",dark:"text-gray-700 dark:text-gray-300",default:"text-gray-500 dark:text-gray-400",dropdown:"text-gray-700 dark:text-gray-200",navbar:"text-gray-700 dark:text-gray-200",navbarUl:"text-gray-700 dark:text-gray-400",form:"text-gray-900 dark:text-white",primary:"text-primary-800 dark:text-primary-400",orange:"text-orange-800 dark:text-orange-400",none:""},b={gray:"border-gray-300 dark:border-gray-800 divide-gray-300 dark:divide-gray-800",red:"border-red-300 dark:border-red-800 divide-red-300 dark:divide-red-800",yellow:"border-yellow-300 dark:border-yellow-800 divide-yellow-300 dark:divide-yellow-800",green:"border-green-300 dark:border-green-800 divide-green-300 dark:divide-green-800",indigo:"border-indigo-300 dark:border-indigo-800 divide-indigo-300 dark:divide-indigo-800",purple:"border-purple-300 dark:border-purple-800 divide-purple-300 dark:divide-purple-800",pink:"border-pink-300 dark:border-pink-800 divide-pink-300 dark:divide-pink-800",blue:"border-blue-300 dark:border-blue-800 divide-blue-300 dark:divide-blue-800",light:"border-gray-500 divide-gray-500",dark:"border-gray-500 divide-gray-500",default:"border-gray-200 dark:border-gray-700 divide-gray-200 dark:divide-gray-700",dropdown:"border-gray-100 dark:border-gray-600 divide-gray-100 dark:divide-gray-600",navbar:"border-gray-100 dark:border-gray-700 divide-gray-100 dark:divide-gray-700",navbarUl:"border-gray-100 dark:border-gray-700 divide-gray-100 dark:divide-gray-700",form:"border-gray-300 dark:border-gray-700 divide-gray-300 dark:divide-gray-700",primary:"border-primary-500 dark:border-primary-200 divide-primary-500 dark:divide-primary-200 ",orange:"border-orange-300 dark:border-orange-800 divide-orange-300 dark:divide-orange-800",none:""};let _=K();q(()=>T(p()),()=>{m(p()?"open":"close")}),q(()=>T(p()),()=>{m("show",p())}),q(()=>T(s()),()=>{s(s()??"default")}),q(()=>T(s()),()=>{st("color",s())}),q(()=>(T(s()),T(l()),T(c()),T(a()),T(r)),()=>{O(_,ne(Js[s()],y[s()],l()&&"rounded-lg",c()&&"border",b[s()],a()&&"shadow-md",r.class))}),Fe(),be();var x=ie(),k=X(x);{var A=R=>{var N=ie(),I=X(N);Ut(I,i,!1,(P,W)=>{Bt(P,(D,$)=>{var J;return(J=u())==null?void 0:J(D,$)},d),Br(P,D=>f(D),()=>f());let L;ee(()=>L=ve(P,L,{role:v(),...n,class:w(_)},void 0,P.namespaceURI===yt,P.nodeName.includes("-"))),po(3,P,g,h),V("click",P,function(D){j.call(this,t,D)}),V("mouseenter",P,function(D){j.call(this,t,D)}),V("mouseleave",P,function(D){j.call(this,t,D)}),V("focusin",P,function(D){j.call(this,t,D)}),V("focusout",P,function(D){j.call(this,t,D)});var oe=ie(),B=X(oe);se(B,t,"default",{},null),S(W,oe)}),S(R,N)},E=R=>{var N=ie(),I=X(N);{var P=W=>{var L=ie(),oe=X(L);Ut(oe,i,!1,(B,D)=>{Bt(B,(F,He)=>{var tr;return(tr=u())==null?void 0:tr(F,He)},d),Br(B,F=>f(F),()=>f());let $;ee(()=>$=ve(B,$,{role:v(),...n,class:w(_)},void 0,B.namespaceURI===yt,B.nodeName.includes("-"))),V("click",B,function(F){j.call(this,t,F)}),V("mouseenter",B,function(F){j.call(this,t,F)}),V("mouseleave",B,function(F){j.call(this,t,F)}),V("focusin",B,function(F){j.call(this,t,F)}),V("focusout",B,function(F){j.call(this,t,F)});var J=ie(),le=X(J);se(le,t,"default",{},null),S(D,J)}),S(W,L)};he(I,W=>{p()&&W(P)},!0)}S(R,N)};he(k,R=>{g()&&p()?R(A):R(E,!1)})}S(e,x),fe()}var Qs=Z(' '),$s=Z(" "),el=Z(' '),tl=Z("");function rl(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["color","name","ariaLabel","size","href"]);ue(t,!1);let o=C(t,"color",8,"default"),i=C(t,"name",24,()=>{}),s=C(t,"ariaLabel",24,()=>{}),l=C(t,"size",8,"md"),c=C(t,"href",24,()=>{});const a=$e("background"),f={dark:"text-gray-500 hover:text-gray-900 hover:bg-gray-200 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600",gray:"text-gray-500 focus:ring-gray-400 hover:bg-gray-200 dark:hover:bg-gray-800 dark:hover:text-gray-300",red:"text-red-500 focus:ring-red-400 hover:bg-red-200 dark:hover:bg-red-800 dark:hover:text-red-300",yellow:"text-yellow-500 focus:ring-yellow-400 hover:bg-yellow-200 dark:hover:bg-yellow-800 dark:hover:text-yellow-300",green:"text-green-500 focus:ring-green-400 hover:bg-green-200 dark:hover:bg-green-800 dark:hover:text-green-300",indigo:"text-indigo-500 focus:ring-indigo-400 hover:bg-indigo-200 dark:hover:bg-indigo-800 dark:hover:text-indigo-300",purple:"text-purple-500 focus:ring-purple-400 hover:bg-purple-200 dark:hover:bg-purple-800 dark:hover:text-purple-300",pink:"text-pink-500 focus:ring-pink-400 hover:bg-pink-200 dark:hover:bg-pink-800 dark:hover:text-pink-300",blue:"text-blue-500 focus:ring-blue-400 hover:bg-blue-200 dark:hover:bg-blue-800 dark:hover:text-blue-300",primary:"text-primary-500 focus:ring-primary-400 hover:bg-primary-200 dark:hover:bg-primary-800 dark:hover:text-primary-300",default:"focus:ring-gray-400 hover:bg-gray-100"},u={xs:"m-0.5 rounded-sm focus:ring-1 p-0.5",sm:"m-0.5 rounded focus:ring-1 p-0.5",md:"m-0.5 rounded-lg focus:ring-2 p-1.5",lg:"m-0.5 rounded-lg focus:ring-2 p-2.5"};let d=K();const v={xs:"w-3 h-3",sm:"w-3.5 h-3.5",md:"w-5 h-5",lg:"w-5 h-5"};q(()=>(T(l()),T(o()),T(r)),()=>{O(d,ne("focus:outline-none whitespace-normal",u[l()],f[o()],o()==="default"&&(a?"dark:hover:bg-gray-600":"dark:hover:bg-gray-700"),r.class))}),Fe(),be();var g=ie(),h=X(g);{var p=y=>{var b=$s();let _;var x=ae(b);{var k=E=>{var R=Qs(),N=ae(R);ee(()=>fr(N,i())),S(E,R)};he(x,E=>{i()&&E(k)})}var A=re(x,2);se(A,t,"default",{get svgSize(){return v[l()]}},null),ee(()=>_=ve(b,_,{href:c(),...n,class:w(d),"aria-label":s()??i()})),S(y,b)},m=y=>{var b=tl();let _;var x=ae(b);{var k=E=>{var R=el(),N=ae(R);ee(()=>fr(N,i())),S(E,R)};he(x,E=>{i()&&E(k)})}var A=re(x,2);se(A,t,"default",{get svgSize(){return v[l()]}},null),ee(()=>_=ve(b,_,{type:"button",...n,class:w(d),"aria-label":s()??i()})),V("click",b,function(E){j.call(this,t,E)}),S(y,b)};he(h,y=>{c()?y(p):y(m,!1)})}S(e,g),fe()}const wt=Math.min,ot=Math.max,dr=Math.round,or=Math.floor,ze=e=>({x:e,y:e}),nl={left:"right",right:"left",bottom:"top",top:"bottom"},ol={start:"end",end:"start"};function jr(e,t,r){return ot(e,wt(t,r))}function Qt(e,t){return typeof e=="function"?e(t):e}function lt(e){return e.split("-")[0]}function $t(e){return e.split("-")[1]}function Ao(e){return e==="x"?"y":"x"}function on(e){return e==="y"?"height":"width"}function xt(e){return["top","bottom"].includes(lt(e))?"y":"x"}function sn(e){return Ao(xt(e))}function il(e,t,r){r===void 0&&(r=!1);const n=$t(e),o=sn(e),i=on(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=vr(s)),[s,vr(s)]}function sl(e){const t=vr(e);return[Vr(e),t,Vr(t)]}function Vr(e){return e.replace(/start|end/g,t=>ol[t])}function ll(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function al(e,t,r,n){const o=$t(e);let i=ll(lt(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Vr)))),i}function vr(e){return e.replace(/left|right|bottom|top/g,t=>nl[t])}function cl(e){return{top:0,right:0,bottom:0,left:0,...e}}function Po(e){return typeof e!="number"?cl(e):{top:e,right:e,bottom:e,left:e}}function gr(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function Rn(e,t,r){let{reference:n,floating:o}=e;const i=xt(t),s=sn(t),l=on(s),c=lt(t),a=i==="y",f=n.x+n.width/2-o.width/2,u=n.y+n.height/2-o.height/2,d=n[l]/2-o[l]/2;let v;switch(c){case"top":v={x:f,y:n.y-o.height};break;case"bottom":v={x:f,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:u};break;case"left":v={x:n.x-o.width,y:u};break;default:v={x:n.x,y:n.y}}switch($t(t)){case"start":v[s]-=d*(r&&a?-1:1);break;case"end":v[s]+=d*(r&&a?-1:1);break}return v}const ul=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t));let a=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:u}=Rn(a,n,c),d=n,v={},g=0;for(let h=0;h({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:l,middlewareData:c}=t,{element:a,padding:f=0}=Qt(e,t)||{};if(a==null)return{};const u=Po(f),d={x:r,y:n},v=sn(o),g=on(v),h=await s.getDimensions(a),p=v==="y",m=p?"top":"left",y=p?"bottom":"right",b=p?"clientHeight":"clientWidth",_=i.reference[g]+i.reference[v]-d[v]-i.floating[g],x=d[v]-i.reference[v],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let A=k?k[b]:0;(!A||!await(s.isElement==null?void 0:s.isElement(k)))&&(A=l.floating[b]||i.floating[g]);const E=_/2-x/2,R=A/2-h[g]/2-1,N=wt(u[m],R),I=wt(u[y],R),P=N,W=A-h[g]-I,L=A/2-h[g]/2+E,oe=jr(P,L,W),B=!c.arrow&&$t(o)!=null&&L!==oe&&i.reference[g]/2-(LL<=0)){var I,P;const L=(((I=i.flip)==null?void 0:I.index)||0)+1,oe=A[L];if(oe)return{data:{index:L,overflows:N},reset:{placement:oe}};let B=(P=N.filter(D=>D.overflows[0]<=0).sort((D,$)=>D.overflows[1]-$.overflows[1])[0])==null?void 0:P.placement;if(!B)switch(v){case"bestFit":{var W;const D=(W=N.filter($=>{if(k){const J=xt($.placement);return J===y||J==="y"}return!0}).map($=>[$.placement,$.overflows.filter(J=>J>0).reduce((J,le)=>J+le,0)]).sort(($,J)=>$[1]-J[1])[0])==null?void 0:W[0];D&&(B=D);break}case"initialPlacement":B=l;break}if(o!==B)return{reset:{placement:B}}}return{}}}};async function vl(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=lt(r),l=$t(r),c=xt(r)==="y",a=["left","top"].includes(s)?-1:1,f=i&&c?-1:1,u=Qt(t,e);let{mainAxis:d,crossAxis:v,alignmentAxis:g}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof g=="number"&&(v=l==="end"?g*-1:g),c?{x:v*f,y:d*a}:{x:d*a,y:v*f}}const gl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:l}=t,c=await vl(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:s}}}}},hl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:p=>{let{x:m,y}=p;return{x:m,y}}},...c}=Qt(e,t),a={x:r,y:n},f=await So(t,c),u=xt(lt(o)),d=Ao(u);let v=a[d],g=a[u];if(i){const p=d==="y"?"top":"left",m=d==="y"?"bottom":"right",y=v+f[p],b=v-f[m];v=jr(y,v,b)}if(s){const p=u==="y"?"top":"left",m=u==="y"?"bottom":"right",y=g+f[p],b=g-f[m];g=jr(y,g,b)}const h=l.fn({...t,[d]:v,[u]:g});return{...h,data:{x:h.x-r,y:h.y-n,enabled:{[d]:i,[u]:s}}}}}};function kr(){return typeof window<"u"}function Rt(e){return Ro(e)?(e.nodeName||"").toLowerCase():"#document"}function we(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ue(e){var t;return(t=(Ro(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ro(e){return kr()?e instanceof Node||e instanceof we(e).Node:!1}function Pe(e){return kr()?e instanceof Element||e instanceof we(e).Element:!1}function De(e){return kr()?e instanceof HTMLElement||e instanceof we(e).HTMLElement:!1}function On(e){return!kr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof we(e).ShadowRoot}function er(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Se(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function pl(e){return["table","td","th"].includes(Rt(e))}function Cr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function ln(e){const t=an(),r=Pe(e)?Se(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function bl(e){let t=tt(e);for(;De(t)&&!kt(t);){if(ln(t))return t;if(Cr(t))return null;t=tt(t)}return null}function an(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function kt(e){return["html","body","#document"].includes(Rt(e))}function Se(e){return we(e).getComputedStyle(e)}function Er(e){return Pe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function tt(e){if(Rt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||On(e)&&e.host||Ue(e);return On(t)?t.host:t}function Oo(e){const t=tt(e);return kt(t)?e.ownerDocument?e.ownerDocument.body:e.body:De(t)&&er(t)?t:Oo(t)}function Wt(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Oo(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=we(o);if(i){const l=Hr(s);return t.concat(s,s.visualViewport||[],er(o)?o:[],l&&r?Wt(l):[])}return t.concat(o,Wt(o,[],r))}function Hr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function To(e){const t=Se(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=De(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,l=dr(r)!==i||dr(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function cn(e){return Pe(e)?e:e.contextElement}function mt(e){const t=cn(e);if(!De(t))return ze(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=To(t);let s=(i?dr(r.width):r.width)/n,l=(i?dr(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const ml=ze(0);function Lo(e){const t=we(e);return!an()||!t.visualViewport?ml:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function yl(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==we(e)?!1:t}function at(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=cn(e);let s=ze(1);t&&(n?Pe(n)&&(s=mt(n)):s=mt(e));const l=yl(i,r,n)?Lo(i):ze(0);let c=(o.left+l.x)/s.x,a=(o.top+l.y)/s.y,f=o.width/s.x,u=o.height/s.y;if(i){const d=we(i),v=n&&Pe(n)?we(n):n;let g=d,h=Hr(g);for(;h&&n&&v!==g;){const p=mt(h),m=h.getBoundingClientRect(),y=Se(h),b=m.left+(h.clientLeft+parseFloat(y.paddingLeft))*p.x,_=m.top+(h.clientTop+parseFloat(y.paddingTop))*p.y;c*=p.x,a*=p.y,f*=p.x,u*=p.y,c+=b,a+=_,g=we(h),h=Hr(g)}}return gr({width:f,height:u,x:c,y:a})}function un(e,t){const r=Er(e).scrollLeft;return t?t.left+r:at(Ue(e)).left+r}function zo(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:un(e,n)),i=n.top+t.scrollTop;return{x:o,y:i}}function _l(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Ue(n),l=t?Cr(t.floating):!1;if(n===s||l&&i)return r;let c={scrollLeft:0,scrollTop:0},a=ze(1);const f=ze(0),u=De(n);if((u||!u&&!i)&&((Rt(n)!=="body"||er(s))&&(c=Er(n)),De(n))){const v=at(n);a=mt(n),f.x=v.x+n.clientLeft,f.y=v.y+n.clientTop}const d=s&&!u&&!i?zo(s,c,!0):ze(0);return{width:r.width*a.x,height:r.height*a.y,x:r.x*a.x-c.scrollLeft*a.x+f.x+d.x,y:r.y*a.y-c.scrollTop*a.y+f.y+d.y}}function wl(e){return Array.from(e.getClientRects())}function xl(e){const t=Ue(e),r=Er(e),n=e.ownerDocument.body,o=ot(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=ot(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+un(e);const l=-r.scrollTop;return Se(n).direction==="rtl"&&(s+=ot(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:l}}function kl(e,t){const r=we(e),n=Ue(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,l=0,c=0;if(o){i=o.width,s=o.height;const a=an();(!a||a&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:s,x:l,y:c}}function Cl(e,t){const r=at(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=De(e)?mt(e):ze(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,c=o*i.x,a=n*i.y;return{width:s,height:l,x:c,y:a}}function Tn(e,t,r){let n;if(t==="viewport")n=kl(e,r);else if(t==="document")n=xl(Ue(e));else if(Pe(t))n=Cl(t,r);else{const o=Lo(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return gr(n)}function No(e,t){const r=tt(e);return r===t||!Pe(r)||kt(r)?!1:Se(r).position==="fixed"||No(r,t)}function El(e,t){const r=t.get(e);if(r)return r;let n=Wt(e,[],!1).filter(l=>Pe(l)&&Rt(l)!=="body"),o=null;const i=Se(e).position==="fixed";let s=i?tt(e):e;for(;Pe(s)&&!kt(s);){const l=Se(s),c=ln(s);!c&&l.position==="fixed"&&(o=null),(i?!c&&!o:!c&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||er(s)&&!c&&No(e,s))?n=n.filter(f=>f!==s):o=l,s=tt(s)}return t.set(e,n),n}function Al(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?Cr(t)?[]:El(t,this._c):[].concat(r),n],l=s[0],c=s.reduce((a,f)=>{const u=Tn(t,f,o);return a.top=ot(u.top,a.top),a.right=wt(u.right,a.right),a.bottom=wt(u.bottom,a.bottom),a.left=ot(u.left,a.left),a},Tn(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Pl(e){const{width:t,height:r}=To(e);return{width:t,height:r}}function Sl(e,t,r){const n=De(t),o=Ue(t),i=r==="fixed",s=at(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=ze(0);if(n||!n&&!i)if((Rt(t)!=="body"||er(o))&&(l=Er(t)),n){const d=at(t,!0,i,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else o&&(c.x=un(o));const a=o&&!n&&!i?zo(o,l):ze(0),f=s.left+l.scrollLeft-c.x-a.x,u=s.top+l.scrollTop-c.y-a.y;return{x:f,y:u,width:s.width,height:s.height}}function Or(e){return Se(e).position==="static"}function Ln(e,t){if(!De(e)||Se(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ue(e)===r&&(r=r.ownerDocument.body),r}function Mo(e,t){const r=we(e);if(Cr(e))return r;if(!De(e)){let o=tt(e);for(;o&&!kt(o);){if(Pe(o)&&!Or(o))return o;o=tt(o)}return r}let n=Ln(e,t);for(;n&&pl(n)&&Or(n);)n=Ln(n,t);return n&&kt(n)&&Or(n)&&!ln(n)?r:n||bl(e)||r}const Rl=async function(e){const t=this.getOffsetParent||Mo,r=this.getDimensions,n=await r(e.floating);return{reference:Sl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Ol(e){return Se(e).direction==="rtl"}const Tl={convertOffsetParentRelativeRectToViewportRelativeRect:_l,getDocumentElement:Ue,getClippingRect:Al,getOffsetParent:Mo,getElementRects:Rl,getClientRects:wl,getDimensions:Pl,getScale:mt,isElement:Pe,isRTL:Ol};function Ll(e,t){let r=null,n;const o=Ue(e);function i(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const{left:a,top:f,width:u,height:d}=e.getBoundingClientRect();if(l||t(),!u||!d)return;const v=or(f),g=or(o.clientWidth-(a+u)),h=or(o.clientHeight-(f+d)),p=or(a),y={rootMargin:-v+"px "+-g+"px "+-h+"px "+-p+"px",threshold:ot(0,wt(1,c))||1};let b=!0;function _(x){const k=x[0].intersectionRatio;if(k!==c){if(!b)return s();k?s(!1,k):n=setTimeout(()=>{s(!1,1e-7)},1e3)}b=!1}try{r=new IntersectionObserver(_,{...y,root:o.ownerDocument})}catch{r=new IntersectionObserver(_,y)}r.observe(e)}return s(!0),i}function zn(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,a=cn(e),f=o||i?[...a?Wt(a):[],...Wt(t)]:[];f.forEach(m=>{o&&m.addEventListener("scroll",r,{passive:!0}),i&&m.addEventListener("resize",r)});const u=a&&l?Ll(a,r):null;let d=-1,v=null;s&&(v=new ResizeObserver(m=>{let[y]=m;y&&y.target===a&&v&&(v.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=v)==null||b.observe(t)})),r()}),a&&!c&&v.observe(a),v.observe(t));let g,h=c?at(e):null;c&&p();function p(){const m=at(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&r(),h=m,g=requestAnimationFrame(p)}return r(),()=>{var m;f.forEach(y=>{o&&y.removeEventListener("scroll",r),i&&y.removeEventListener("resize",r)}),u==null||u(),(m=v)==null||m.disconnect(),v=null,c&&cancelAnimationFrame(g)}}const zl=gl,Nl=hl,Ml=dl,Il=fl,Dl=(e,t,r)=>{const n=new Map,o={platform:Tl,...r},i={...o.platform,_c:n};return ul(e,t,{...o,platform:i})};var Fl=Z("
"),Ul=Z("
"),Bl=Z(" ",1),Wl=Z(" ",1);function jl(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["activeContent","arrow","offset","placement","trigger","triggeredBy","reference","strategy","open","yOnly","middlewares"]);ue(t,!1);const o=K();let i=C(t,"activeContent",8,!1),s=C(t,"arrow",8,!0),l=C(t,"offset",8,8),c=C(t,"placement",8,"top"),a=C(t,"trigger",8,"hover"),f=C(t,"triggeredBy",24,()=>{}),u=C(t,"reference",24,()=>{}),d=C(t,"strategy",8,"absolute"),v=C(t,"open",12,!1),g=C(t,"yOnly",8,!1),h=C(t,"middlewares",24,()=>[Ml(),Nl()]);const p=yo();let m=K(),y=K(),b=K(),_=K(),x,k=K(),A=K(),E=[];const R=U=>{w(_)===void 0&&console.error("trigger undefined"),!(!u()&&E.includes(U.target)&&w(_)!==U.target&&(O(_,U.target),v()))&&v(U.type==="click"?!v():!0)},N=U=>U.matches(":hover"),I=U=>U?`${U}px`:"",P=U=>{if(i()&&w(b)){const te=[w(_),x,...E].filter(Boolean);setTimeout(()=>{U.type==="mouseleave"&&!te.some(N)&&v(!1)},100)}else v(!1)};let W=K();const L={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(){Dl(w(_),x,{placement:c(),strategy:d(),middleware:w(o)}).then(({x:U,y:te,middlewareData:de,placement:Be,strategy:Ot})=>{x.style.position=Ot,x.style.left=g()?"0":I(U),x.style.top=I(te),de.arrow&&w(k)instanceof HTMLDivElement&&(Sr(k,w(k).style.left=I(de.arrow.x)),Sr(k,w(k).style.top=I(de.arrow.y)),O(W,L[Be.split("-")[0]]),Sr(k,w(k).style[w(W)]=I(-w(k).offsetWidth/2-(r.border?1:0))))})}function B(U,te){x=U;let de=zn(te,x,oe);return{update(Be){de(),de=zn(Be,x,oe)},destroy(){de()}}}hs(()=>{const U=[["focusin",R,w(m)],["focusout",P,w(m)],["click",R,w(y)],["mouseenter",R,w(b)],["mouseleave",P,w(b)]];return f()?E=[...document.querySelectorAll(f())]:E=w(A).previousElementSibling?[w(A).previousElementSibling]:[],E.length||console.error("No triggers found."),E.forEach(te=>{te.tabIndex<0&&(te.tabIndex=0);for(const[de,Be,Ot]of U)Ot&&te.addEventListener(de,Be)}),u()?(O(_,document.querySelector(u())??document.body),w(_)===document.body?console.error(`Popup reference not found: '${u()}'`):(w(m)&&w(_).addEventListener("focusout",P),w(b)&&w(_).addEventListener("mouseleave",P))):O(_,E[0]),w(y)&&document.addEventListener("click",D),()=>{E.forEach(te=>{if(te)for(const[de,Be]of U)te.removeEventListener(de,Be)}),w(_)&&(w(_).removeEventListener("focusout",P),w(_).removeEventListener("mouseleave",P)),document.removeEventListener("click",D)}});function D(U){v()&&!U.composedPath().includes(x)&&!E.some(te=>U.composedPath().includes(te))&&P(U)}function $(U,te){return U?te:()=>{}}let J=K();function le(U){return O(k,U),{destroy(){O(k,null)}}}q(()=>T(a()),()=>{O(m,a()==="focus")}),q(()=>T(a()),()=>{O(y,a()==="click")}),q(()=>T(a()),()=>{O(b,a()==="hover")}),q(()=>T(v()),()=>{p("show",v())}),q(()=>(T(c()),w(_)),()=>{c()&&O(_,w(_))}),q(()=>(T(h()),T(l()),w(k)),()=>{O(o,[...h(),zl(+l()),w(k)&&Il({element:w(k),padding:10})])}),q(()=>(T(r),w(W)),()=>{O(J,xo("absolute pointer-events-none block w-[10px] h-[10px] rotate-45 bg-inherit border-inherit",r.border&&w(W)==="bottom"&&"border-b border-e",r.border&&w(W)==="top"&&"border-t border-s ",r.border&&w(W)==="right"&&"border-t border-e ",r.border&&w(W)==="left"&&"border-b border-s "))}),Fe(),be();var F=Wl(),He=X(F);{var tr=U=>{var te=Fl();Br(te,de=>O(A,de),()=>w(A)),S(U,te)};he(He,U=>{w(_)||U(tr)})}var Io=re(He,2);{var Do=U=>{var te=_t(()=>i()?-1:void 0),de=Ve(()=>$(i()&&w(m),R)),Be=Ve(()=>$(i()&&w(m),P)),Ot=Ve(()=>$(i()&&w(b),R)),Fo=Ve(()=>$(i()&&w(b),P));nn(U,wr({use:B,get options(){return w(_)},role:"tooltip",get tabindex(){return w(te)}},()=>n,{get open(){return v()},set open(Ce){v(Ce)},$$events:{focusin(...Ce){var xe;(xe=w(de))==null||xe.apply(this,Ce)},focusout(...Ce){var xe;(xe=w(Be))==null||xe.apply(this,Ce)},mouseenter(...Ce){var xe;(xe=w(Ot))==null||xe.apply(this,Ce)},mouseleave(...Ce){var xe;(xe=w(Fo))==null||xe.apply(this,Ce)}},children:(Ce,xe)=>{var fn=Bl(),dn=X(fn);se(dn,t,"default",{},null);var Uo=re(dn,2);{var Bo=Ar=>{var Pr=Ul();Bt(Pr,Wo=>le==null?void 0:le(Wo)),ee(()=>pt(Pr,nt(w(J)))),S(Ar,Pr)};he(Uo,Ar=>{s()&&Ar(Bo)})}S(Ce,fn)},$$slots:{default:!0},$$legacy:!0}))};he(Io,U=>{w(_)&&U(Do)})}S(e,F),fe()}var Vl=Z("
"),Hl=Z("
"),Gl=Z("
",1);function ql(e,t){const r=ts(t),n=G(t,["children","$$slots","$$events","$$legacy"]),o=G(n,["activeUrl","open","containerClass","classContainer","headerClass","classHeader","footerClass","classFooter","activeClass","classActive","arrow","trigger","placement","color","shadow","rounded"]);ue(t,!1);const i=K(),s=K(),l=K(),c=K();let a=C(t,"activeUrl",24,()=>{}),f=C(t,"open",12,!1),u=C(t,"containerClass",8,"divide-y z-50"),d=C(t,"classContainer",24,()=>{}),v=C(t,"headerClass",8,"py-1 overflow-hidden rounded-t-lg"),g=C(t,"classHeader",24,()=>{}),h=C(t,"footerClass",8,"py-1 overflow-hidden rounded-b-lg"),p=C(t,"classFooter",24,()=>{}),m=C(t,"activeClass",8,"text-primary-700 dark:text-primary-700 hover:text-primary-900 dark:hover:text-primary-900"),y=C(t,"classActive",24,()=>{}),b=C(t,"arrow",8,!1),_=C(t,"trigger",8,"click"),x=C(t,"placement",8,"bottom"),k=C(t,"color",8,"dropdown"),A=C(t,"shadow",8,!0),E=C(t,"rounded",8,!0);const R=xr("");let N=ne(m(),y());st("DropdownType",{activeClass:N}),st("activeUrl",R),q(()=>T(a()),()=>{R.set(a()??"")}),q(()=>(T(u()),T(d())),()=>{O(i,ne(u(),d()))}),q(()=>(T(v()),T(g())),()=>{O(s,ne(v(),g()))}),q(()=>T(n),()=>{O(l,ne("py-1",n.class))}),q(()=>(T(h()),T(p())),()=>{O(c,ne(h(),p()))}),Fe(),be(),jl(e,wr({activeContent:!0},()=>o,{get trigger(){return _()},get arrow(){return b()},get placement(){return x()},get shadow(){return A()},get rounded(){return E()},get color(){return k()},get class(){return w(i)},get open(){return f()},set open(I){f(I)},$$events:{show(I){j.call(this,t,I)}},children:(I,P)=>{var W=Gl(),L=X(W);{var oe=le=>{var F=Vl(),He=ae(F);se(He,t,"header",{},null),ee(()=>pt(F,nt(w(s)))),S(le,F)};he(L,le=>{r.header&&le(oe)})}var B=re(L,2),D=ae(B);se(D,t,"default",{},null);var $=re(B,2);{var J=le=>{var F=Hl(),He=ae(F);se(He,t,"footer",{},null),ee(()=>pt(F,nt(w(c)))),S(le,F)};he($,le=>{r.footer&&le(J)})}ee(()=>pt(B,nt(w(l)))),S(I,W)},$$slots:{default:!0},$$legacy:!0})),fe()}var Yl=Z("
");function Kl(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["divClass"]);ue(t,!1);let o=C(t,"divClass",8,"my-1 h-px bg-gray-100 dark:bg-gray-600");be();var i=Yl();let s;ee(()=>s=ve(i,s,{...n,class:ne(o(),r.class)})),S(e,i),fe()}function Xl(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["tag","show","use"]);let o=C(t,"tag",8,"div"),i=C(t,"show",8),s=C(t,"use",8,()=>{});var l=ie(),c=X(l);{var a=u=>{var d=ie(),v=X(d);Ut(v,o,!1,(g,h)=>{Bt(g,b=>{var _;return(_=s())==null?void 0:_(b)});let p;ee(()=>p=ve(g,p,{...n},void 0,g.namespaceURI===yt,g.nodeName.includes("-")));var m=ie(),y=X(m);se(y,t,"default",{},null),S(h,m)}),S(u,d)},f=u=>{var d=ie(),v=X(d);se(v,t,"default",{},null),S(u,d)};he(c,u=>{i()?u(a):u(f,!1)})}S(e,l)}function ir(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["defaultClass","href","activeClass"]);ue(t,!1);const o=K(),i=K();let s=C(t,"defaultClass",8,"font-medium py-2 px-4 text-sm hover:bg-gray-100 dark:hover:bg-gray-600"),l=C(t,"href",24,()=>{}),c=C(t,"activeClass",24,()=>{});const a=$e("DropdownType")??{},f=$e("activeUrl");let u=K("");f.subscribe(g=>{O(u,g)});let d=K(!0);function v(g){var h;O(d,((h=g.parentElement)==null?void 0:h.tagName)==="UL")}q(()=>(w(u),T(l())),()=>{O(o,w(u)?l()===w(u):!1)}),q(()=>(T(s()),T(l()),w(o),T(c()),T(r)),()=>{O(i,ne(s(),l()?"block":"w-full text-left",w(o)&&(c()??a.activeClass),r.class))}),Fe(),be(),Xl(e,{tag:"li",get show(){return w(d)},use:v,children:(g,h)=>{var p=ie(),m=X(p);Ut(m,()=>l()?"a":"button",!1,(y,b)=>{let _;ee(()=>_=ve(y,_,{href:l(),type:l()?void 0:"button",role:l()?"link":"button",...n,class:w(i)},void 0,y.namespaceURI===yt,y.nodeName.includes("-"))),V("click",y,function(A){j.call(this,t,A)}),V("change",y,function(A){j.call(this,t,A)}),V("keydown",y,function(A){j.call(this,t,A)}),V("keyup",y,function(A){j.call(this,t,A)}),V("focus",y,function(A){j.call(this,t,A)}),V("blur",y,function(A){j.call(this,t,A)}),V("mouseenter",y,function(A){j.call(this,t,A)}),V("mouseleave",y,function(A){j.call(this,t,A)});var x=ie(),k=X(x);se(k,t,"default",{},null),S(b,x)}),S(g,p)},$$slots:{default:!0}}),fe()}var Zl=Z("
"),Jl=Z("
");function Ql(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["items","imgClass"]);ue(t,!1);const o=K();let i=C(t,"items",24,()=>[]),s=C(t,"imgClass",8,"h-auto max-w-full rounded-lg");function l(f){getComputedStyle(f).gap==="normal"&&(f.style.gap="inherit")}q(()=>T(r),()=>{O(o,ne("grid",r.class))}),Fe(),be();var c=Jl();let a;Zi(c,5,i,Ki,(f,u)=>{var d=ie(),v=X(d);se(v,t,"default",{get item(){return w(u)}},g=>{var h=Zl(),p=ae(h);const m=_t(()=>nt(ne(s(),r.classImg)));ee(()=>{ht(p,"src",w(u).src),ht(p,"alt",w(u).alt),pt(p,w(m))}),S(g,h)}),S(f,d)},f=>{var u=ie(),d=X(u);se(d,t,"default",{get item(){return i()[0]}},null),S(f,u)}),Bt(c,f=>l==null?void 0:l(f)),ee(()=>a=ve(c,a,{...n,class:w(o)})),S(e,c),fe()}var $l=Z("
");function Nn(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["fluid"]);ue(t,!1);let o=C(t,"fluid",8,!1);be();var i=$l();let s;var l=ae(i);se(l,t,"default",{},null),ee(()=>s=ve(i,s,{...n,class:ne("mx-auto flex flex-wrap justify-between items-center ",o()?"w-full":"container",r.class)})),S(e,i),fe()}function ea(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["fluid","navContainerClass"]);ue(t,!1);const o=mo(),i=()=>bo(c,"$hidden",o);let s=C(t,"fluid",8,!1),l=C(t,"navContainerClass",8,""),c=xr(!0);st("navHidden",c);let a=()=>c.update(u=>!u);q(()=>T(n),()=>{n.color=n.color??"navbar"}),Fe(),be();var f=_t(()=>ne("px-2 sm:px-4 py-2.5 w-full",r.class));nn(e,wr({tag:"nav"},()=>n,{get class(){return w(f)},children:(u,d)=>{Nn(u,{get fluid(){return s()},get class(){return l()},children:(v,g)=>{var h=ie(),p=X(h);se(p,t,"default",{get hidden(){return i()},toggle:a,NavContainer:Nn},null),S(v,h)},$$slots:{default:!0}})},$$slots:{default:!0}})),fe()}var ta=Z("");function ra(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["href"]);ue(t,!1);let o=C(t,"href",8,"");be();var i=ta();let s;var l=ae(i);se(l,t,"default",{},null),ee(()=>s=ve(i,s,{href:o(),...n,class:ne("flex items-center",r.class)})),S(e,i),fe()}var na=tn("");function oa(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["size","color","variation","ariaLabel"]);ue(t,!1);let o=C(t,"size",8,"24"),i=C(t,"color",8,"currentColor"),s=C(t,"variation",8,"outline"),l=C(t,"ariaLabel",8,"bars 3"),c=K(),a=K(),f=` `,u=` `;q(()=>T(s()),()=>{switch(s()){case"outline":O(a,f),O(c,"0 0 24 24");break;case"solid":O(a,u),O(c,"0 0 24 24");break;default:O(a,f),O(c,"0 0 24 24")}}),Fe(),be();var d=na();let v;var g=ae(d);es(g,()=>w(a)),ee(()=>v=ve(d,v,{xmlns:"http://www.w3.org/2000/svg",role:"button",tabindex:"0",width:o(),height:o(),class:r.class,...n,"aria-label":l(),fill:"none",viewBox:w(c),"stroke-width":"2"},void 0,!0)),V("click",d,function(h){j.call(this,t,h)}),S(e,d),fe()}function ia(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["menuClass","onClick","classMenu"]);ue(t,!1);let o=C(t,"menuClass",8,"h-6 w-6 shrink-0"),i=C(t,"onClick",24,()=>{}),s=C(t,"classMenu",8,""),l="ms-3 md:hidden",c=$e("navHidden")??xr(!0);const a=u=>c.update(d=>!d);be();var f=_t(()=>ne(l,r.class));rl(e,wr({name:"Open main menu"},()=>n,{get class(){return w(f)},$$events:{click(...u){var d;(d=i()||a)==null||d.apply(this,u)}},children:(u,d)=>{var v=_t(()=>ne(o(),s()));oa(u,{get class(){return w(v)}})},$$slots:{default:!0}})),fe()}var sa=Z("
  • ");function zt(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["href","activeClass","nonActiveClass"]);ue(t,!1);const o=K(),i=K();let s=C(t,"href",8,""),l=C(t,"activeClass",24,()=>{}),c=C(t,"nonActiveClass",24,()=>{});const a=$e("navbarContext")??{},f=$e("activeUrl");let u=K("");f.subscribe(g=>{O(u,g)}),q(()=>(w(u),T(s())),()=>{O(o,w(u)?s()===w(u):!1)}),q(()=>(w(o),T(l()),T(c()),T(r)),()=>{O(i,ne("block py-2 pe-4 ps-3 md:p-0 rounded md:border-0",w(o)?l()??a.activeClass:c()??a.nonActiveClass,r.class))}),Fe(),be();var d=sa(),v=ae(d);Ut(v,()=>s()?"a":"div",!1,(g,h)=>{let p;ee(()=>p=ve(g,p,{role:s()?void 0:"link",href:s(),...n,class:w(i)},void 0,g.namespaceURI===yt,g.nodeName.includes("-"))),V("blur",g,function(b){j.call(this,t,b)}),V("change",g,function(b){j.call(this,t,b)}),V("click",g,function(b){j.call(this,t,b)}),V("focus",g,function(b){j.call(this,t,b)}),V("keydown",g,function(b){j.call(this,t,b)}),V("keypress",g,function(b){j.call(this,t,b)}),V("keyup",g,function(b){j.call(this,t,b)}),V("mouseenter",g,function(b){j.call(this,t,b)}),V("mouseleave",g,function(b){j.call(this,t,b)}),V("mouseover",g,function(b){j.call(this,t,b)});var m=ie(),y=X(m);se(y,t,"default",{},null),S(h,m)}),S(e,d),fe()}function la(e){const t=Math.cos(e*Math.PI*.5);return Math.abs(t)<1e-14?1:1-t}var aa=Z("
    "),ca=Z("
    ");function ua(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["activeUrl","divClass","ulClass","hidden","slideParams","activeClass","nonActiveClass","classUl"]);ue(t,!1);const o=mo(),i=()=>bo(h,"$hiddenStore",o);let s=C(t,"activeUrl",8,""),l=C(t,"divClass",8,"w-full md:block md:w-auto"),c=C(t,"ulClass",8,"flex flex-col p-4 mt-4 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:text-sm md:font-medium"),a=C(t,"hidden",24,()=>{}),f=C(t,"slideParams",24,()=>({delay:250,duration:500,easing:la})),u=C(t,"activeClass",8,"text-white bg-primary-700 md:bg-transparent md:text-primary-700 md:dark:text-white dark:bg-primary-600 md:dark:bg-transparent"),d=C(t,"nonActiveClass",8,"text-gray-700 hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-primary-700 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent"),v=C(t,"classUl",8,"");const g=xr("");st("navbarContext",{activeClass:u(),nonActiveClass:d()}),st("activeUrl",g);let h=$e("navHidden"),p=K(),m=K(),y=K();q(()=>T(s()),()=>{g.set(s())}),q(()=>(T(a()),i()),()=>{O(p,a()??i()??!0)}),q(()=>(T(l()),T(r)),()=>{O(m,ne(l(),r.class))}),q(()=>(T(c()),T(v())),()=>{O(y,ne(c(),v()))}),Fe(),be();var b=ie(),_=X(b);{var x=A=>{var E=aa();let R;var N=ae(E);nn(N,{tag:"ul",border:!0,rounded:!0,color:"navbarUl",get class(){return w(y)},children:(I,P)=>{var W=ie(),L=X(W);se(L,t,"default",{},null),S(I,W)},$$slots:{default:!0}}),ee(()=>R=ve(E,R,{...n,class:w(m),role:"button",tabindex:"0"})),po(3,E,()=>Zs,f),V("click",E,function(I){j.call(this,t,I)}),S(A,E)},k=A=>{var E=ca();let R;var N=ae(E),I=ae(N);se(I,t,"default",{},null),ee(()=>{R=ve(E,R,{...n,class:w(m),hidden:w(p)}),pt(N,nt(w(y)))}),S(A,E)};he(_,A=>{w(p)?A(k,!1):A(x)})}S(e,b),fe()}var fa=Z(" "),da=tn(" "),va=tn('');function ga(e,t){var y,b;ue(t,!0);const r=$e("iconCtx")??{},n={xs:"w-3 h-3",sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6",xl:"w-8 h-8"};let o=C(t,"size",19,()=>r.size||"md"),i=C(t,"color",19,()=>r.color||"currentColor"),s=C(t,"strokeWidth",19,()=>r.strokeWidth||"2"),l=C(t,"ariaLabel",3,"chevron down outline"),c=ds(t,["$$slots","$$events","$$legacy","size","color","title","strokeWidth","desc","class","ariaLabel"]),a=`${((y=t.title)==null?void 0:y.id)||""} ${((b=t.desc)==null?void 0:b.id)||""}`;const f=Ve(()=>{var _,x;return!!((_=t.title)!=null&&_.id||(x=t.desc)!=null&&x.id)});var u=va();let d;var v=ae(u);{var g=_=>{var x=fa(),k=ae(x);ee(()=>{ht(x,"id",t.title.id),fr(k,t.title.title)}),S(_,x)};he(v,_=>{var x;(x=t.title)!=null&&x.id&&t.title.title&&_(g)})}var h=re(v);{var p=_=>{var x=da(),k=ae(x);ee(()=>{ht(x,"id",t.desc.id),fr(k,t.desc.desc)}),S(_,x)};he(h,_=>{var x;(x=t.desc)!=null&&x.id&&t.desc.desc&&_(p)})}var m=re(h);ee(()=>{d=ve(u,d,{xmlns:"http://www.w3.org/2000/svg",fill:"none",color:i(),...c,class:ne("shrink-0",n[o()],t.class),"aria-label":l(),"aria-describedby":w(f)?a:void 0,viewBox:"0 0 24 24"},void 0,!0),ht(m,"stroke-width",s())}),S(e,u),fe()}var ha=Z('ESP32 Logo SvelteESP32',1),pa=Z("Dropdown",1),ba=Z(" ",1),ma=Z(" ",1),ya=Z(" ",1),_a=Z(" ",1);function wa(e){const t=[{alt:"erbology",src:"./gallery/image.jpg"},{alt:"shoes",src:"./gallery/image-1.jpg"},{alt:"small bag",src:"./gallery/image-2.jpg"},{alt:"plants",src:"./gallery/image-3.jpg"},{alt:"watch",src:"./gallery/image-4.jpg"},{alt:"shoe",src:"./gallery/image-5.jpg"}];var r=_a(),n=X(r);ea(n,{children:(i,s)=>{var l=ya(),c=X(l);ra(c,{href:"/",children:(u,d)=>{var v=ha();S(u,v)},$$slots:{default:!0}});var a=re(c,2);ia(a,{});var f=re(a,2);ua(f,{children:(u,d)=>{var v=ma(),g=X(v);zt(g,{href:"/",children:(_,x)=>{var k=Ge("Home");S(_,k)},$$slots:{default:!0}});var h=re(g,2);zt(h,{class:"cursor-pointer",children:(_,x)=>{var k=pa(),A=re(X(k));ga(A,{class:"w-6 h-6 ms-2 text-primary-800 dark:text-white inline"}),S(_,k)},$$slots:{default:!0}});var p=re(h,2);ql(p,{class:"w-44 z-20",children:(_,x)=>{var k=ba(),A=X(k);ir(A,{href:"/",children:(P,W)=>{var L=Ge("Dashboard");S(P,L)},$$slots:{default:!0}});var E=re(A,2);ir(E,{href:"/docs/components/navbar",children:(P,W)=>{var L=Ge("Settings");S(P,L)},$$slots:{default:!0}});var R=re(E,2);ir(R,{href:"/",children:(P,W)=>{var L=Ge("Earnings");S(P,L)},$$slots:{default:!0}});var N=re(R,2);Kl(N,{});var I=re(N,2);ir(I,{href:"/",children:(P,W)=>{var L=Ge("Sign out");S(P,L)},$$slots:{default:!0}}),S(_,k)},$$slots:{default:!0}});var m=re(p,2);zt(m,{href:"/settings",children:(_,x)=>{var k=Ge("Setting");S(_,k)},$$slots:{default:!0}});var y=re(m,2);zt(y,{href:"/pricing",children:(_,x)=>{var k=Ge("Pricing");S(_,k)},$$slots:{default:!0}});var b=re(y,2);zt(b,{href:"/contact",children:(_,x)=>{var k=Ge("Contact");S(_,k)},$$slots:{default:!0}}),S(u,v)},$$slots:{default:!0}}),S(i,l)},$$slots:{default:!0}});var o=re(n,2);Ql(o,{items:t,class:"gap-4 grid-cols-2 md:grid-cols-3"}),S(e,r)}Gi(wa,{target:document.querySelector("#app")}); diff --git a/demo/svelte/dist/assets/index-DiIOlAIu.js b/demo/svelte/dist/assets/index-DiIOlAIu.js deleted file mode 100644 index 1152728..0000000 --- a/demo/svelte/dist/assets/index-DiIOlAIu.js +++ /dev/null @@ -1 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();const Wo=!1;var Vt=Array.isArray,Gr=Array.from,jo=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,Nn=Object.getOwnPropertyDescriptors,Vo=Object.prototype,Ho=Array.prototype,qr=Object.getPrototypeOf;function dt(e){return typeof e=="function"}const Ee=()=>{};function Go(e){return e()}function Tr(e){for(var t=0;tw(e))),t}function O(e,t){return Y!==null&&$r()&&Y.f&(Ae|hr)&&(Le===null||!Le.includes(e))&&ni(),jn(e,t)}function jn(e,t){return e.equals(t)||(e.v=t,e.version=io(),Vn(e,Qe),$r()&&M!==null&&M.f&ve&&!(M.f&Re)&&(ce!==null&&ce.includes(e)?(Oe(M,Qe),_r(M)):Je===null?Ci([e]):Je.push(e))),t}function Vn(e,t){var r=e.reactions;if(r!==null)for(var n=$r(),o=r.length,i=0;i=m.v&&O(m,y+1)}vn(s)}return!0},ownKeys(c){w(s);var a=Reflect.ownKeys(c).filter(d=>{var v=o.get(d);return v===void 0||v.v!==he});for(var[f,u]of o)u.v!==he&&!(f in c)&&a.push(f);return a},setPrototypeOf(){ti()}})}function vn(e,t=1){O(e,e.v+t)}var gn,Gn,qn;function hi(){if(gn===void 0){gn=window;var e=Element.prototype,t=Node.prototype;Gn=Xe(t,"firstChild").get,qn=Xe(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function Yt(e=""){return document.createTextNode(e)}function _e(e){return Gn.call(e)}function br(e){return qn.call(e)}function ae(e,t){return _e(e)}function X(e,t){{var r=_e(e);return r instanceof Comment&&r.data===""?br(r):r}}function re(e,t=1,r=!1){let n=e;for(;t--;)n=br(n);return n}function pi(e){e.textContent=""}function Ve(e){var t=Ae|Qe;M===null?t|=ct:M.f|=Dn;var r=Y!==null&&Y.f&Ae?Y:null;const n={children:null,ctx:H,deps:null,equals:Un,f:t,fn:e,reactions:null,v:null,version:0,parent:r??M};if(r!==null){var o;((o=r).children??(o.children=[])).push(n)}return n}function _t(e){const t=Ve(e);return t.equals=Kr,t}function Yn(e){var t=e.children;if(t!==null){e.children=null;for(var r=0;rnew Promise(n=>{r.outro?Dt(t,()=>{Ne(t),n(void 0)}):(Ne(t),n(void 0))})}function Kt(e){return Pt(Mn,e,!1)}function q(e,t){var r=H,n={effect:null,ran:!1};r.l.r1.push(n),n.effect=Xt(()=>{e(),!n.ran&&(n.ran=!0,O(r.l.r2,!0),Ie(t))})}function Fe(){var e=H;Xt(()=>{if(w(e.l.r2)){for(var t of e.l.r1){var r=t.effect;r.f&ve&&Oe(r,Ct),St(r)&&Jt(r),t.ran=!1}e.l.r2.v=!1}})}function Xt(e){return Pt(Ht,e,!0)}function ee(e){return Zt(e)}function Zt(e,t=0){return Pt(Ht|hr|t,e,!0)}function it(e,t=!0){return Pt(Ht|Re,e,!0,t)}function Qn(e){var t=e.teardown;if(t!==null){const r=Qr,n=Y;pn(!0),Me(null);try{t.call(null)}finally{pn(r),Me(n)}}}function $n(e){var t=e.deriveds;if(t!==null){e.deriveds=null;for(var r=0;r{Ne(e),t&&t()})}function ro(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var o of e)o.out(n)}else t()}function Zr(e,t,r){if(!(e.f&Te)){if(e.f^=Te,e.transitions!==null)for(const s of e.transitions)(s.is_global||r)&&t.push(s);for(var n=e.first;n!==null;){var o=n.next,i=(n.f&qt)!==0||(n.f&Re)!==0;Zr(n,t,i?r:!1),n=o}}}function Ft(e){no(e,!0)}function no(e,t){if(e.f&Te){St(e)&&Jt(e),e.f^=Te;for(var r=e.first;r!==null;){var n=r.next,o=(r.f&qt)!==0||(r.f&Re)!==0;no(r,o?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}let Nr=!1,Mr=[];function xi(){Nr=!1;const e=Mr.slice();Mr=[],Tr(e)}function mr(e){Nr||(Nr=!0,queueMicrotask(xi)),Mr.push(e)}function Jr(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let sr=!1,ar=!1,cr=null,gt=!1,Qr=!1;function hn(e){gt=e}function pn(e){Qr=e}let Ir=[],It=0;let Y=null;function Me(e){Y=e}let M=null;function ke(e){M=e}let Le=null;function ki(e){Le=e}let ce=null,me=0,Je=null;function Ci(e){Je=e}let oo=1,rt=!1,H=null;function io(){return++oo}function $r(){return!At||H!==null&&H.l===null}function St(e){var c;var t=e.f;if(t&Qe)return!0;if(t&Ct){var r=e.deps,n=(t&ct)!==0;if(r!==null){var o;if(t&lr){for(o=0;oe.version)return!0}}(!n||M!==null&&!rt)&&Oe(e,ve)}return!1}function Ei(e,t){for(var r=t;r!==null;){if(r.f&Lr)try{r.fn(e);return}catch{r.f^=Lr}r=r.parent}throw sr=!1,e}function Ai(e){return(e.f&Et)===0&&(e.parent===null||(e.parent.f&Lr)===0)}function yr(e,t,r,n){if(sr){if(r===null&&(sr=!1),Ai(t))throw e;return}r!==null&&(sr=!0);{Ei(e,t);return}}function so(e){var t=ce,r=me,n=Je,o=Y,i=rt,s=Le,l=H,c=e.f;ce=null,me=0,Je=null,Y=c&(Re|Gt)?null:e,rt=!gt&&(c&ct)!==0,Le=null,H=e.ctx;try{var a=(0,e.fn)(),f=e.deps;if(ce!==null){var u;if(Ut(e,me),f!==null&&me>0)for(f.length=me+ce.length,u=0;u1e3){It=0;try{Qo()}catch(e){if(cr!==null)yr(e,cr,null);else throw e}}It++}function Ri(e){var t=e.length;if(t!==0){Si();var r=gt;gt=!0;try{for(var n=0;n1001)return;const e=Ir;Ir=[],Ri(e),ar||(It=0,cr=null)}function _r(e){ar||(ar=!0,queueMicrotask(Ti)),cr=e;for(var t=e;t.parent!==null;){t=t.parent;var r=t.f;if(r&(Gt|Re)){if(!(r&ve))return;t.f^=ve}}Ir.push(t)}function lo(e,t){var r=e.first,n=[];e:for(;r!==null;){var o=r.f,i=(o&Re)!==0,s=i&&(o&ve)!==0,l=r.next;if(!s&&!(o&Te))if(o&Ht){if(i)r.f^=ve;else try{St(r)&&Jt(r)}catch(u){yr(u,r,null,r.ctx)}var c=r.first;if(c!==null){r=c;continue}}else o&Mn&&n.push(r);if(l===null){let u=r.parent;for(;u!==null;){if(e===u)break e;var a=u.next;if(a!==null){r=a;continue e}u=u.parent}}r=l}for(var f=0;f{document.activeElement===r&&e.focus()})}}function ji(e){var t=Y,r=M;Me(null),ke(null);try{return e()}finally{Me(t),ke(r)}}const co=new Set,Fr=new Set;function uo(e,t,r,n){function o(i){if(n.capture||Mt.call(t,i),!i.cancelBubble)return ji(()=>r.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?mr(()=>{t.addEventListener(e,o,n)}):t.addEventListener(e,o,n),o}function V(e,t,r,n,o){var i={capture:n,passive:o},s=uo(e,t,r,i);(t===document.body||t===window||t===document)&&Jn(()=>{t.removeEventListener(e,s,i)})}function Vi(e){for(var t=0;t{throw b});throw d}}finally{e.__root=t,delete e.currentTarget,Me(f),ke(u)}}}function en(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function et(e,t){var r=M;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Z(e,t){var r=(t&Wn)!==0,n=(t&vi)!==0,o,i=!e.startsWith("");return()=>{o===void 0&&(o=en(i?e:""+e),r||(o=_e(o)));var s=n?document.importNode(o,!0):o.cloneNode(!0);if(r){var l=_e(s),c=s.lastChild;et(l,c)}else et(s,s);return s}}function tn(e,t,r="svg"){var n=!e.startsWith(""),o=(t&Wn)!==0,i=`<${r}>${n?e:""+e}`,s;return()=>{if(!s){var l=en(i),c=_e(l);if(o)for(s=document.createDocumentFragment();_e(c);)s.appendChild(_e(c));else s=_e(c)}var a=s.cloneNode(!0);if(o){var f=_e(a),u=a.lastChild;et(f,u)}else et(a,a);return a}}function Ge(e=""){{var t=Yt(e+"");return et(t,t),t}}function ie(){var e=document.createDocumentFragment(),t=document.createComment(""),r=Yt();return e.append(t,r),et(t,r),e}function S(e,t){e!==null&&e.before(t)}let ur=!0;function mn(e){ur=e}function fr(e,t){var r,n=t==null?"":typeof t=="object"?t+"":t;n!==((r=e).__t??(r.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=n==null?"":n+"")}function Hi(e,t){return Gi(e,t)}const ut=new Map;function Gi(e,{target:t,anchor:r,props:n={},events:o,context:i,intro:s=!0}){hi();var l=new Set,c=u=>{for(var d=0;d{var u=r??t.appendChild(Yt());return it(()=>{if(i){ue({});var d=H;d.c=i}o&&(n.$$events=o),ur=s,a=e(u,n)||{},ur=!0,i&&fe()}),()=>{var g;for(var d of l){t.removeEventListener(d,Mt);var v=ut.get(d);--v===0?(document.removeEventListener(d,Mt),ut.delete(d)):ut.set(d,v)}Fr.delete(c),u!==r&&((g=u.parentNode)==null||g.removeChild(u))}});return qi.set(a,f),a}let qi=new WeakMap;function pe(e,t,r=!1){var n=e,o=null,i=null,s=he,l=r?qt:0,c=!1;const a=(u,d=!0)=>{c=!0,f(d,u)},f=(u,d)=>{s!==(s=u)&&(s?(o?Ft(o):d&&(o=it(()=>d(n))),i&&Dt(i,()=>{i=null})):(i?Ft(i):d&&(i=it(()=>d(n))),o&&Dt(o,()=>{o=null})))};Zt(()=>{c=!1,t(a),c||f(null,null)},l)}function Yi(e,t){return t}function Ki(e,t,r,n){for(var o=[],i=t.length,s=0;s0&&o.length===0&&r!==null;if(l){var c=r.parentNode;pi(c),c.append(r),n.clear(),Ke(e,t[0].prev,t[i-1].next)}ro(o,()=>{for(var a=0;a{var u=r(),d=Vt(u)?u:u==null?[]:Gr(u),v=d.length;if(!(f&&v===0)){f=v===0;{var g=Y;Zi(d,l,s,o,t,(g.f&Te)!==0,n)}i!==null&&(v===0?a?Ft(a):a=it(()=>i(s)):a!==null&&Dt(a,()=>{a=null})),r()}})}function Zi(e,t,r,n,o,i,s,l){var c=e.length,a=t.items,f=t.first,u=f,d,v=null,g=[],h=[],p,m,y,b;for(b=0;b0){var I=c===0?r:null;Ki(t,R,I,a)}}M.first=t.first&&t.first.e,M.last=v&&v.e}function Ji(e,t,r,n){jn(e.v,t),e.i=r}function Qi(e,t,r,n,o,i,s,l,c,a){var f=(c&ii)!==0,u=(c&li)===0,d=f?u?pr(o):ye(o):o,v=c&si?ye(s):s,g={i:v,v:d,k:i,a:null,e:null,prev:r,next:n};try{return g.e=it(()=>l(e,d,v),Hn),g.e.prev=r&&r.e,g.e.next=n&&n.e,r===null?t.first=g:(r.next=g,r.e.next=g.e),n!==null&&(n.prev=g,n.e.prev=g.e),g}finally{}}function yn(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,o=t?t.e.nodes_start:r,i=e.e.nodes_start;i!==n;){var s=br(i);o.before(i),i=s}}function Ke(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function $i(e,t,r,n,o){var i=e,s="",l;Zt(()=>{s!==(s=t()??"")&&(l!==void 0&&(Ne(l),l=void 0),s!==""&&(l=it(()=>{var c=s+"";c=`${c}`;var a=en(c);for(a=_e(a),et(_e(a),a.lastChild);_e(a);)i.before(_e(a))})))})}function se(e,t,r,n,o){var l;var i=(l=t.$$slots)==null?void 0:l[r],s=!1;i===!0&&(i=t[r==="default"?"children":r],s=!0),i===void 0?o!==null&&o(e):i(e,s?()=>n:n)}function es(e){const t={};e.children&&(t.default=!0);for(const r in e.$$slots)t[r]=!0;return t}function Bt(e,t,r,n,o,i){var s,l,c=null,a=e,f;Zt(()=>{const u=t()||null;var d=u==="svg"?yt:null;u!==s&&(f&&(u===null?Dt(f,()=>{f=null,l=null}):u===l?Ft(f):(Ne(f),mn(!1))),u&&u!==l&&(f=it(()=>{if(c=d?document.createElementNS(d,u):document.createElement(u),et(c,c),n){var v=c.appendChild(Yt());n(c,v)}M.nodes_end=c,a.before(c)})),s=u,s&&(l=s),mn(!0))},qt)}function Wt(e,t,r){Kt(()=>{var n=Ie(()=>t(e,r==null?void 0:r())||{});if(r&&(n!=null&&n.update)){var o=!1,i={};Xt(()=>{var s=r();T(s),o&&Yr(i,s)&&(i=s,n.update(s))}),o=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function fo(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;tperformance.now(),je={tick:e=>requestAnimationFrame(e),now:()=>os(),tasks:new Set};function go(){const e=je.now();je.tasks.forEach(t=>{t.c(e)||(je.tasks.delete(t),t.f())}),je.tasks.size!==0&&je.tick(go)}function is(e){let t;return je.tasks.size===0&&je.tick(go),{promise:new Promise(r=>{je.tasks.add(t={c:e,f:r})}),abort(){je.tasks.delete(t)}}}function rr(e,t){e.dispatchEvent(new CustomEvent(t))}function ss(e){if(e==="float")return"cssFloat";if(e==="offset")return"cssOffset";if(e.startsWith("--"))return e;const t=e.split("-");return t.length===1?t[0]:t[0]+t.slice(1).map(r=>r[0].toUpperCase()+r.slice(1)).join("")}function wn(e){const t={},r=e.split(";");for(const n of r){const[o,i]=n.split(":");if(!o||i===void 0)break;const s=ss(o.trim());t[s]=i.trim()}return t}const ls=e=>e;function ho(e,t,r,n){var o,i=(e&di)!==0,s="both",l,c=t.inert,a,f;function u(){var p=Y,m=M;Me(null),ke(null);try{return l??(l=r()(t,(n==null?void 0:n())??{},{direction:s}))}finally{Me(p),ke(m)}}var d={is_global:i,in(){t.inert=c,rr(t,"introstart"),a=Ur(t,u(),f,1,()=>{rr(t,"introend"),a==null||a.abort(),a=l=void 0})},out(p){t.inert=!0,rr(t,"outrostart"),f=Ur(t,u(),a,0,()=>{rr(t,"outroend"),p==null||p()})},stop:()=>{a==null||a.abort(),f==null||f.abort()}},v=M;if(((o=v).transitions??(o.transitions=[])).push(d),ur){var g=i;if(!g){for(var h=v.parent;h&&h.f&qt;)for(;(h=h.parent)&&!(h.f&hr););g=!h||(h.f&In)!==0}g&&Kt(()=>{Ie(()=>d.in())})}}function Ur(e,t,r,n,o){var i=n===1;if(dt(t)){var s,l=!1;return mr(()=>{if(!l){var p=t({direction:i?"in":"out"});s=Ur(e,p,r,n,o)}}),{abort:()=>{l=!0,s==null||s.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(r==null||r.deactivate(),!(t!=null&&t.duration))return o(),{abort:Ee,deactivate:Ee,reset:Ee,t:()=>n};const{delay:c=0,css:a,tick:f,easing:u=ls}=t;var d=[];if(i&&r===void 0&&(f&&f(0,1),a)){var v=wn(a(0,1));d.push(v,v)}var g=()=>1-n,h=e.animate(d,{duration:c});return h.onfinish=()=>{var p=(r==null?void 0:r.t())??1-n;r==null||r.abort();var m=n-p,y=t.duration*Math.abs(m),b=[];if(y>0){if(a)for(var _=Math.ceil(y/16.666666666666668),x=0;x<=_;x+=1){var k=p+m*u(x/_),A=a(k,1-k);b.push(wn(A))}g=()=>{var E=h.currentTime;return p+m*u(E/y)},f&&is(()=>{if(h.playState!=="running")return!1;var E=g();return f(E,1-E),!0})}h=e.animate(b,{duration:y,fill:"forwards"}),h.onfinish=()=>{g=()=>n,f==null||f(n,1-n),o()}},{abort:()=>{h&&(h.cancel(),h.effect=null,h.onfinish=Ee)},deactivate:()=>{o=Ee},reset:()=>{n===0&&(f==null||f(1,0))},t:()=>g()}}function xn(e,t){return e===t||(e==null?void 0:e[Ze])===t}function Br(e={},t,r,n){return Kt(()=>{var o,i;return Xt(()=>{o=i,i=[],Ie(()=>{e!==r(...i)&&(t(e,...i),o&&xn(r(...o),e)&&t(null,...o))})}),()=>{mr(()=>{i&&xn(r(...i),e)&&t(null,...i)})}}),e}function be(e=!1){const t=H,r=t.l.u;if(!r)return;let n=()=>T(t.s);if(e){let o=0,i={};const s=Ve(()=>{let l=!1;const c=t.s;for(const a in c)c[a]!==i[a]&&(i[a]=c[a],l=!0);return l&&o++,o});n=()=>w(s)}r.b.length&&yi(()=>{kn(t,n),Tr(r.b)}),zr(()=>{const o=Ie(()=>r.m.map(Go));return()=>{for(const i of o)typeof i=="function"&&i()}}),r.a.length&&zr(()=>{kn(t,n),Tr(r.a)})}function kn(e,t){if(e.l.s)for(const r of e.l.s)w(r);t()}function j(e,t){var i;var r=(i=e.$$events)==null?void 0:i[t.type],n=Vt(r)?r.slice():r==null?[]:[r];for(var o of n)o.call(this,t)}function as(e,t,r){if(e==null)return t(void 0),Ee;const n=Ie(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}let nr=!1;function po(e,t,r){var n,o;const i=(n=r)[o=t]??(n[o]={store:null,source:pr(void 0),unsubscribe:Ee});if(i.store!==e)if(i.unsubscribe(),i.store=e??null,e==null)i.source.v=void 0,i.unsubscribe=Ee;else{var s=!0;i.unsubscribe=as(e,l=>{s?i.source.v=l:O(i.source,l)}),s=!1}return w(i.source)}function bo(){const e={};return Jn(()=>{for(var t in e)e[t].unsubscribe()}),e}function cs(e){var t=nr;try{return nr=!1,[e(),nr]}finally{nr=t}}const us={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function fs(e,t,r){return new Proxy({props:e,exclude:t},us)}const ds={get(e,t){if(!e.exclude.includes(t))return w(e.version),t in e.special?e.special[t]():e.props[t]},set(e,t,r){return t in e.special||(e.special[t]=C({get[t](){return e.props[t]}},t,Bn)),e.special[t](r),bn(e.version),!0},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},deleteProperty(e,t){return e.exclude.includes(t)||(e.exclude.push(t),bn(e.version)),!0},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function G(e,t){return new Proxy({props:e,exclude:t,special:{},version:ye(0)},ds)}const vs={get(e,t){let r=e.props.length;for(;r--;){let n=e.props[r];if(dt(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n)return n[t]}},set(e,t,r){let n=e.props.length;for(;n--;){let o=e.props[n];dt(o)&&(o=o());const i=Xe(o,t);if(i&&i.set)return i.set(r),!0}return!1},getOwnPropertyDescriptor(e,t){let r=e.props.length;for(;r--;){let n=e.props[r];if(dt(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n){const o=Xe(n,t);return o&&!o.configurable&&(o.configurable=!0),o}}},has(e,t){if(t===Ze||t===Fn)return!1;for(let r of e.props)if(dt(r)&&(r=r()),r!=null&&t in r)return!0;return!1},ownKeys(e){const t=[];for(let r of e.props){dt(r)&&(r=r());for(const n in r)t.includes(n)||t.push(n)}return t}};function wr(...e){return new Proxy({props:e},vs)}function Cn(e){for(var t=M,r=M;t!==null&&!(t.f&(Re|Gt));)t=t.parent;try{return ke(t),e()}finally{ke(r)}}function C(e,t,r,n){var A;var o=(r&ai)!==0,i=!At||(r&ci)!==0,s=(r&ui)!==0,l=(r&fi)!==0,c=!1,a;s?[a,c]=cs(()=>e[t]):a=e[t];var f=Ze in e||Fn in e,u=((A=Xe(e,t))==null?void 0:A.set)??(f&&s&&t in e?E=>e[t]=E:void 0),d=n,v=!0,g=!1,h=()=>(g=!0,v&&(v=!1,l?d=Ie(n):d=n),d);a===void 0&&n!==void 0&&(u&&i&&$o(),a=h(),u&&u(a));var p;if(i)p=()=>{var E=e[t];return E===void 0?h():(v=!0,g=!1,E)};else{var m=Cn(()=>(o?Ve:_t)(()=>e[t]));m.f|=qo,p=()=>{var E=w(m);return E!==void 0&&(d=void 0),E===void 0?d:E}}if(!(r&Bn))return p;if(u){var y=e.$$legacy;return function(E,R){return arguments.length>0?((!i||!R||y||c)&&u(R?p():E),E):p()}}var b=!1,_=!1,x=pr(a),k=Cn(()=>Ve(()=>{var E=p(),R=w(x);return b?(b=!1,_=!0,R):(_=!1,x.v=E)}));return o||(k.equals=Kr),function(E,R){if(arguments.length>0){const N=R?w(k):i&&s?vt(E):E;return k.equals(N)||(b=!0,O(x,N),g&&d!==void 0&&(d=N),Ie(()=>w(k))),E}return w(k)}}function gs(e){H===null&&Jr(),At&&H.l!==null?ps(H).m.push(e):zr(()=>{const t=Ie(e);if(typeof t=="function")return t})}function hs(e,t,{bubbles:r=!1,cancelable:n=!1}={}){return new CustomEvent(e,{detail:t,bubbles:r,cancelable:n})}function mo(){const e=H;return e===null&&Jr(),(t,r,n)=>{var i;const o=(i=e.s.$$events)==null?void 0:i[t];if(o){const s=Vt(o)?o.slice():[o],l=hs(t,r,n);for(const c of s)c.call(e.x,l);return!l.defaultPrevented}return!0}}function ps(e){var t,r=e.l;return(t=r).u??(t.u={a:[],b:[],m:[]})}const bs="5";var En;typeof window<"u"&&((En=window).__svelte||(En.__svelte={v:new Set})).v.add(bs);oi();const ft=[];function xr(e,t=Ee){let r=null;const n=new Set;function o(l){if(Yr(e,l)&&(e=l,r)){const c=!ft.length;for(const a of n)a[1](),ft.push(a,e);if(c){for(let a=0;a{n.delete(a),n.size===0&&r&&(r(),r=null)}}return{set:o,update:i,subscribe:s}}const rn="-",ms=e=>{const t=_s(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:s=>{const l=s.split(rn);return l[0]===""&&l.length!==1&&l.shift(),yo(l,t)||ys(s)},getConflictingClassGroupIds:(s,l)=>{const c=r[s]||[];return l&&n[s]?[...c,...n[s]]:c}}},yo=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?yo(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(rn);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},An=/^\[(.+)\]$/,ys=e=>{if(An.test(e)){const t=An.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},_s=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return xs(Object.entries(e.classGroups),r).forEach(([i,s])=>{Wr(s,n,i,t)}),n},Wr=(e,t,r,n)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Pn(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(ws(o)){Wr(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,s])=>{Wr(s,Pn(t,i),r,n)})})},Pn=(e,t)=>{let r=e;return t.split(rn).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},ws=e=>e.isThemeGetter,xs=(e,t)=>t?e.map(([r,n])=>{const o=n.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[r,o]}):e,ks=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(i,s)=>{r.set(i,s),t++,t>e&&(t=0,n=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=n.get(i))!==void 0)return o(i,s),s},set(i,s){r.has(i)?r.set(i,s):o(i,s)}}},_o="!",Cs=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,o=t[0],i=t.length,s=l=>{const c=[];let a=0,f=0,u;for(let p=0;pf?u-f:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:h}};return r?l=>r({className:l,parseClassName:s}):s},Es=e=>{if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},As=e=>({cache:ks(e.cacheSize),parseClassName:Cs(e),...ms(e)}),Ps=/\s+/,Ss=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(Ps);let l="";for(let c=s.length-1;c>=0;c-=1){const a=s[c],{modifiers:f,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:v}=r(a);let g=!!v,h=n(g?d.substring(0,v):d);if(!h){if(!g){l=a+(l.length>0?" "+l:l);continue}if(h=n(d),!h){l=a+(l.length>0?" "+l:l);continue}g=!1}const p=Es(f).join(":"),m=u?p+_o:p,y=m+h;if(i.includes(y))continue;i.push(y);const b=o(h,g);for(let _=0;_0?" "+l:l)}return l};function wo(){let e=0,t,r,n="";for(;e{if(typeof e=="string")return e;let t,r="";for(let n=0;nu(f),e());return r=As(a),n=r.cache.get,o=r.cache.set,i=l,l(c)}function l(c){const a=n(c);if(a)return a;const f=Ss(c,r);return o(c,f),f}return function(){return i(wo.apply(null,arguments))}}const Q=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},ko=/^\[(?:([a-z-]+):)?(.+)\]$/i,Os=/^\d+\/\d+$/,Ts=new Set(["px","full","screen"]),Ls=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zs=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ns=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ms=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Is=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,We=e=>bt(e)||Ts.has(e)||Os.test(e),qe=e=>Rt(e,"length",Hs),bt=e=>!!e&&!Number.isNaN(Number(e)),Rr=e=>Rt(e,"number",bt),Lt=e=>!!e&&Number.isInteger(Number(e)),Ds=e=>e.endsWith("%")&&bt(e.slice(0,-1)),z=e=>ko.test(e),Ye=e=>Ls.test(e),Fs=new Set(["length","size","percentage"]),Us=e=>Rt(e,Fs,Co),Bs=e=>Rt(e,"position",Co),Ws=new Set(["image","url"]),js=e=>Rt(e,Ws,qs),Vs=e=>Rt(e,"",Gs),zt=()=>!0,Rt=(e,t,r)=>{const n=ko.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Hs=e=>zs.test(e)&&!Ns.test(e),Co=()=>!1,Gs=e=>Ms.test(e),qs=e=>Is.test(e),Ys=()=>{const e=Q("colors"),t=Q("spacing"),r=Q("blur"),n=Q("brightness"),o=Q("borderColor"),i=Q("borderRadius"),s=Q("borderSpacing"),l=Q("borderWidth"),c=Q("contrast"),a=Q("grayscale"),f=Q("hueRotate"),u=Q("invert"),d=Q("gap"),v=Q("gradientColorStops"),g=Q("gradientColorStopPositions"),h=Q("inset"),p=Q("margin"),m=Q("opacity"),y=Q("padding"),b=Q("saturate"),_=Q("scale"),x=Q("sepia"),k=Q("skew"),A=Q("space"),E=Q("translate"),R=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto",z,t],P=()=>[z,t],W=()=>["",We,qe],L=()=>["auto",bt,z],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],D=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",z],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[bt,z];return{cacheSize:500,separator:":",theme:{colors:[zt],spacing:[We,qe],blur:["none","",Ye,z],brightness:F(),borderColor:[e],borderRadius:["none","","full",Ye,z],borderSpacing:P(),borderWidth:W(),contrast:F(),grayscale:J(),hueRotate:F(),invert:J(),gap:P(),gradientColorStops:[e],gradientColorStopPositions:[Ds,qe],inset:I(),margin:I(),opacity:F(),padding:P(),saturate:F(),scale:F(),sepia:J(),skew:F(),space:P(),translate:P()},classGroups:{aspect:[{aspect:["auto","square","video",z]}],container:["container"],columns:[{columns:[Ye]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),z]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Lt,z]}],basis:[{basis:I()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",z]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",Lt,z]}],"grid-cols":[{"grid-cols":[zt]}],"col-start-end":[{col:["auto",{span:["full",Lt,z]},z]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[zt]}],"row-start-end":[{row:["auto",{span:[Lt,z]},z]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",z]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",z]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...$()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[p]}],mx:[{mx:[p]}],my:[{my:[p]}],ms:[{ms:[p]}],me:[{me:[p]}],mt:[{mt:[p]}],mr:[{mr:[p]}],mb:[{mb:[p]}],ml:[{ml:[p]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",z,t]}],"min-w":[{"min-w":[z,t,"min","max","fit"]}],"max-w":[{"max-w":[z,t,"none","full","min","max","fit","prose",{screen:[Ye]},Ye]}],h:[{h:[z,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[z,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[z,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[z,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ye,qe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Rr]}],"font-family":[{font:[zt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",z]}],"line-clamp":[{"line-clamp":["none",bt,Rr]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",We,z]}],"list-image":[{"list-image":["none",z]}],"list-style-type":[{list:["none","disc","decimal",z]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",We,qe]}],"underline-offset":[{"underline-offset":["auto",We,z]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),Bs]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Us]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},js]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:B()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[We,z]}],"outline-w":[{outline:[We,qe]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[We,qe]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ye,Vs]}],"shadow-color":[{shadow:[zt]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...D(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":D()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Ye,z]}],grayscale:[{grayscale:[a]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[u]}],saturate:[{saturate:[b]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[a]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",z]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",z]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",z]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[Lt,z]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",z]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",z]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",z]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[We,qe,Rr]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},ne=Rs(Ys);function Ks(e){const t=e-1;return t*t*t+1}function Xs(e,{delay:t=0,duration:r=400,easing:n=Ks,axis:o="y"}={}){const i=getComputedStyle(e),s=+i.opacity,l=o==="y"?"height":"width",c=parseFloat(i[l]),a=o==="y"?["top","bottom"]:["left","right"],f=a.map(m=>`${m[0].toUpperCase()}${m.slice(1)}`),u=parseFloat(i[`padding${f[0]}`]),d=parseFloat(i[`padding${f[1]}`]),v=parseFloat(i[`margin${f[0]}`]),g=parseFloat(i[`margin${f[1]}`]),h=parseFloat(i[`border${f[0]}Width`]),p=parseFloat(i[`border${f[1]}Width`]);return{delay:t,duration:r,easing:n,css:m=>`overflow: hidden;opacity: ${Math.min(m*20,1)*s};${l}: ${m*c}px;padding-${a[0]}: ${m*u}px;padding-${a[1]}: ${m*d}px;margin-${a[0]}: ${m*v}px;margin-${a[1]}: ${m*g}px;border-${a[0]}-width: ${m*h}px;border-${a[1]}-width: ${m*p}px;`}}const Zs={gray:"bg-gray-50 dark:bg-gray-800",red:"bg-red-50 dark:bg-gray-800",yellow:"bg-yellow-50 dark:bg-gray-800 ",green:"bg-green-50 dark:bg-gray-800 ",indigo:"bg-indigo-50 dark:bg-gray-800 ",purple:"bg-purple-50 dark:bg-gray-800 ",pink:"bg-pink-50 dark:bg-gray-800 ",blue:"bg-blue-50 dark:bg-gray-800 ",light:"bg-gray-50 dark:bg-gray-700",dark:"bg-gray-50 dark:bg-gray-800",default:"bg-white dark:bg-gray-800",dropdown:"bg-white dark:bg-gray-700",navbar:"bg-white dark:bg-gray-900",navbarUl:"bg-gray-50 dark:bg-gray-800",form:"bg-gray-50 dark:bg-gray-700",primary:"bg-primary-50 dark:bg-gray-800 ",orange:"bg-orange-50 dark:bg-orange-800",none:""};function nn(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["tag","color","rounded","border","shadow","node","use","options","role","transition","params","open"]);ue(t,!1);const o=()=>{};st("background",!0);let i=C(t,"tag",24,()=>n.href?"a":"div"),s=C(t,"color",12,"default"),l=C(t,"rounded",8,!1),c=C(t,"border",8,!1),a=C(t,"shadow",8,!1),f=C(t,"node",28,()=>{}),u=C(t,"use",8,o),d=C(t,"options",24,()=>({})),v=C(t,"role",24,()=>{}),g=C(t,"transition",24,()=>{}),h=C(t,"params",24,()=>({})),p=C(t,"open",8,!0);const m=mo(),y={gray:"text-gray-800 dark:text-gray-300",red:"text-red-800 dark:text-red-400",yellow:"text-yellow-800 dark:text-yellow-300",green:"text-green-800 dark:text-green-400",indigo:"text-indigo-800 dark:text-indigo-400",purple:"text-purple-800 dark:text-purple-400",pink:"text-pink-800 dark:text-pink-400",blue:"text-blue-800 dark:text-blue-400",light:"text-gray-700 dark:text-gray-300",dark:"text-gray-700 dark:text-gray-300",default:"text-gray-500 dark:text-gray-400",dropdown:"text-gray-700 dark:text-gray-200",navbar:"text-gray-700 dark:text-gray-200",navbarUl:"text-gray-700 dark:text-gray-400",form:"text-gray-900 dark:text-white",primary:"text-primary-800 dark:text-primary-400",orange:"text-orange-800 dark:text-orange-400",none:""},b={gray:"border-gray-300 dark:border-gray-800 divide-gray-300 dark:divide-gray-800",red:"border-red-300 dark:border-red-800 divide-red-300 dark:divide-red-800",yellow:"border-yellow-300 dark:border-yellow-800 divide-yellow-300 dark:divide-yellow-800",green:"border-green-300 dark:border-green-800 divide-green-300 dark:divide-green-800",indigo:"border-indigo-300 dark:border-indigo-800 divide-indigo-300 dark:divide-indigo-800",purple:"border-purple-300 dark:border-purple-800 divide-purple-300 dark:divide-purple-800",pink:"border-pink-300 dark:border-pink-800 divide-pink-300 dark:divide-pink-800",blue:"border-blue-300 dark:border-blue-800 divide-blue-300 dark:divide-blue-800",light:"border-gray-500 divide-gray-500",dark:"border-gray-500 divide-gray-500",default:"border-gray-200 dark:border-gray-700 divide-gray-200 dark:divide-gray-700",dropdown:"border-gray-100 dark:border-gray-600 divide-gray-100 dark:divide-gray-600",navbar:"border-gray-100 dark:border-gray-700 divide-gray-100 dark:divide-gray-700",navbarUl:"border-gray-100 dark:border-gray-700 divide-gray-100 dark:divide-gray-700",form:"border-gray-300 dark:border-gray-700 divide-gray-300 dark:divide-gray-700",primary:"border-primary-500 dark:border-primary-200 divide-primary-500 dark:divide-primary-200 ",orange:"border-orange-300 dark:border-orange-800 divide-orange-300 dark:divide-orange-800",none:""};let _=K();q(()=>T(p()),()=>{m(p()?"open":"close")}),q(()=>T(p()),()=>{m("show",p())}),q(()=>T(s()),()=>{s(s()??"default")}),q(()=>T(s()),()=>{st("color",s())}),q(()=>(T(s()),T(l()),T(c()),T(a()),T(r)),()=>{O(_,ne(Zs[s()],y[s()],l()&&"rounded-lg",c()&&"border",b[s()],a()&&"shadow-md",r.class))}),Fe(),be();var x=ie(),k=X(x);{var A=R=>{var N=ie(),I=X(N);Bt(I,i,!1,(P,W)=>{Wt(P,(D,$)=>{var J;return(J=u())==null?void 0:J(D,$)},d),Br(P,D=>f(D),()=>f());let L;ee(()=>L=ge(P,L,{role:v(),...n,class:w(_)},void 0,P.namespaceURI===yt,P.nodeName.includes("-"))),ho(3,P,g,h),V("click",P,function(D){j.call(this,t,D)}),V("mouseenter",P,function(D){j.call(this,t,D)}),V("mouseleave",P,function(D){j.call(this,t,D)}),V("focusin",P,function(D){j.call(this,t,D)}),V("focusout",P,function(D){j.call(this,t,D)});var oe=ie(),B=X(oe);se(B,t,"default",{},null),S(W,oe)}),S(R,N)},E=R=>{var N=ie(),I=X(N);{var P=W=>{var L=ie(),oe=X(L);Bt(oe,i,!1,(B,D)=>{Wt(B,(F,He)=>{var tr;return(tr=u())==null?void 0:tr(F,He)},d),Br(B,F=>f(F),()=>f());let $;ee(()=>$=ge(B,$,{role:v(),...n,class:w(_)},void 0,B.namespaceURI===yt,B.nodeName.includes("-"))),V("click",B,function(F){j.call(this,t,F)}),V("mouseenter",B,function(F){j.call(this,t,F)}),V("mouseleave",B,function(F){j.call(this,t,F)}),V("focusin",B,function(F){j.call(this,t,F)}),V("focusout",B,function(F){j.call(this,t,F)});var J=ie(),le=X(J);se(le,t,"default",{},null),S(D,J)}),S(W,L)};pe(I,W=>{p()&&W(P)},!0)}S(R,N)};pe(k,R=>{g()&&p()?R(A):R(E,!1)})}S(e,x),fe()}var Js=Z(' '),Qs=Z(" "),$s=Z(' '),el=Z("");function tl(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["color","name","ariaLabel","size","href"]);ue(t,!1);let o=C(t,"color",8,"default"),i=C(t,"name",24,()=>{}),s=C(t,"ariaLabel",24,()=>{}),l=C(t,"size",8,"md"),c=C(t,"href",24,()=>{});const a=$e("background"),f={dark:"text-gray-500 hover:text-gray-900 hover:bg-gray-200 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600",gray:"text-gray-500 focus:ring-gray-400 hover:bg-gray-200 dark:hover:bg-gray-800 dark:hover:text-gray-300",red:"text-red-500 focus:ring-red-400 hover:bg-red-200 dark:hover:bg-red-800 dark:hover:text-red-300",yellow:"text-yellow-500 focus:ring-yellow-400 hover:bg-yellow-200 dark:hover:bg-yellow-800 dark:hover:text-yellow-300",green:"text-green-500 focus:ring-green-400 hover:bg-green-200 dark:hover:bg-green-800 dark:hover:text-green-300",indigo:"text-indigo-500 focus:ring-indigo-400 hover:bg-indigo-200 dark:hover:bg-indigo-800 dark:hover:text-indigo-300",purple:"text-purple-500 focus:ring-purple-400 hover:bg-purple-200 dark:hover:bg-purple-800 dark:hover:text-purple-300",pink:"text-pink-500 focus:ring-pink-400 hover:bg-pink-200 dark:hover:bg-pink-800 dark:hover:text-pink-300",blue:"text-blue-500 focus:ring-blue-400 hover:bg-blue-200 dark:hover:bg-blue-800 dark:hover:text-blue-300",primary:"text-primary-500 focus:ring-primary-400 hover:bg-primary-200 dark:hover:bg-primary-800 dark:hover:text-primary-300",default:"focus:ring-gray-400 hover:bg-gray-100"},u={xs:"m-0.5 rounded-sm focus:ring-1 p-0.5",sm:"m-0.5 rounded focus:ring-1 p-0.5",md:"m-0.5 rounded-lg focus:ring-2 p-1.5",lg:"m-0.5 rounded-lg focus:ring-2 p-2.5"};let d=K();const v={xs:"w-3 h-3",sm:"w-3.5 h-3.5",md:"w-5 h-5",lg:"w-5 h-5"};q(()=>(T(l()),T(o()),T(r)),()=>{O(d,ne("focus:outline-none whitespace-normal",u[l()],f[o()],o()==="default"&&(a?"dark:hover:bg-gray-600":"dark:hover:bg-gray-700"),r.class))}),Fe(),be();var g=ie(),h=X(g);{var p=y=>{var b=Qs();let _;var x=ae(b);{var k=E=>{var R=Js(),N=ae(R);ee(()=>fr(N,i())),S(E,R)};pe(x,E=>{i()&&E(k)})}var A=re(x,2);se(A,t,"default",{get svgSize(){return v[l()]}},null),ee(()=>_=ge(b,_,{href:c(),...n,class:w(d),"aria-label":s()??i()})),S(y,b)},m=y=>{var b=el();let _;var x=ae(b);{var k=E=>{var R=$s(),N=ae(R);ee(()=>fr(N,i())),S(E,R)};pe(x,E=>{i()&&E(k)})}var A=re(x,2);se(A,t,"default",{get svgSize(){return v[l()]}},null),ee(()=>_=ge(b,_,{type:"button",...n,class:w(d),"aria-label":s()??i()})),V("click",b,function(E){j.call(this,t,E)}),S(y,b)};pe(h,y=>{c()?y(p):y(m,!1)})}S(e,g),fe()}const wt=Math.min,ot=Math.max,dr=Math.round,or=Math.floor,ze=e=>({x:e,y:e}),rl={left:"right",right:"left",bottom:"top",top:"bottom"},nl={start:"end",end:"start"};function jr(e,t,r){return ot(e,wt(t,r))}function Qt(e,t){return typeof e=="function"?e(t):e}function lt(e){return e.split("-")[0]}function $t(e){return e.split("-")[1]}function Eo(e){return e==="x"?"y":"x"}function on(e){return e==="y"?"height":"width"}function xt(e){return["top","bottom"].includes(lt(e))?"y":"x"}function sn(e){return Eo(xt(e))}function ol(e,t,r){r===void 0&&(r=!1);const n=$t(e),o=sn(e),i=on(o);let s=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=vr(s)),[s,vr(s)]}function il(e){const t=vr(e);return[Vr(e),t,Vr(t)]}function Vr(e){return e.replace(/start|end/g,t=>nl[t])}function sl(e,t,r){const n=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?i:s;default:return[]}}function ll(e,t,r,n){const o=$t(e);let i=sl(lt(e),r==="start",n);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Vr)))),i}function vr(e){return e.replace(/left|right|bottom|top/g,t=>rl[t])}function al(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ao(e){return typeof e!="number"?al(e):{top:e,right:e,bottom:e,left:e}}function gr(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function Sn(e,t,r){let{reference:n,floating:o}=e;const i=xt(t),s=sn(t),l=on(s),c=lt(t),a=i==="y",f=n.x+n.width/2-o.width/2,u=n.y+n.height/2-o.height/2,d=n[l]/2-o[l]/2;let v;switch(c){case"top":v={x:f,y:n.y-o.height};break;case"bottom":v={x:f,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:u};break;case"left":v={x:n.x-o.width,y:u};break;default:v={x:n.x,y:n.y}}switch($t(t)){case"start":v[s]-=d*(r&&a?-1:1);break;case"end":v[s]+=d*(r&&a?-1:1);break}return v}const cl=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t));let a=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:u}=Sn(a,n,c),d=n,v={},g=0;for(let h=0;h({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:i,platform:s,elements:l,middlewareData:c}=t,{element:a,padding:f=0}=Qt(e,t)||{};if(a==null)return{};const u=Ao(f),d={x:r,y:n},v=sn(o),g=on(v),h=await s.getDimensions(a),p=v==="y",m=p?"top":"left",y=p?"bottom":"right",b=p?"clientHeight":"clientWidth",_=i.reference[g]+i.reference[v]-d[v]-i.floating[g],x=d[v]-i.reference[v],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let A=k?k[b]:0;(!A||!await(s.isElement==null?void 0:s.isElement(k)))&&(A=l.floating[b]||i.floating[g]);const E=_/2-x/2,R=A/2-h[g]/2-1,N=wt(u[m],R),I=wt(u[y],R),P=N,W=A-h[g]-I,L=A/2-h[g]/2+E,oe=jr(P,L,W),B=!c.arrow&&$t(o)!=null&&L!==oe&&i.reference[g]/2-(LL<=0)){var I,P;const L=(((I=i.flip)==null?void 0:I.index)||0)+1,oe=A[L];if(oe)return{data:{index:L,overflows:N},reset:{placement:oe}};let B=(P=N.filter(D=>D.overflows[0]<=0).sort((D,$)=>D.overflows[1]-$.overflows[1])[0])==null?void 0:P.placement;if(!B)switch(v){case"bestFit":{var W;const D=(W=N.filter($=>{if(k){const J=xt($.placement);return J===y||J==="y"}return!0}).map($=>[$.placement,$.overflows.filter(J=>J>0).reduce((J,le)=>J+le,0)]).sort(($,J)=>$[1]-J[1])[0])==null?void 0:W[0];D&&(B=D);break}case"initialPlacement":B=l;break}if(o!==B)return{reset:{placement:B}}}return{}}}};async function dl(e,t){const{placement:r,platform:n,elements:o}=e,i=await(n.isRTL==null?void 0:n.isRTL(o.floating)),s=lt(r),l=$t(r),c=xt(r)==="y",a=["left","top"].includes(s)?-1:1,f=i&&c?-1:1,u=Qt(t,e);let{mainAxis:d,crossAxis:v,alignmentAxis:g}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof g=="number"&&(v=l==="end"?g*-1:g),c?{x:v*f,y:d*a}:{x:d*a,y:v*f}}const vl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:i,placement:s,middlewareData:l}=t,c=await dl(t,e);return s===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:s}}}}},gl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:p=>{let{x:m,y}=p;return{x:m,y}}},...c}=Qt(e,t),a={x:r,y:n},f=await Po(t,c),u=xt(lt(o)),d=Eo(u);let v=a[d],g=a[u];if(i){const p=d==="y"?"top":"left",m=d==="y"?"bottom":"right",y=v+f[p],b=v-f[m];v=jr(y,v,b)}if(s){const p=u==="y"?"top":"left",m=u==="y"?"bottom":"right",y=g+f[p],b=g-f[m];g=jr(y,g,b)}const h=l.fn({...t,[d]:v,[u]:g});return{...h,data:{x:h.x-r,y:h.y-n,enabled:{[d]:i,[u]:s}}}}}};function kr(){return typeof window<"u"}function Ot(e){return So(e)?(e.nodeName||"").toLowerCase():"#document"}function we(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ue(e){var t;return(t=(So(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function So(e){return kr()?e instanceof Node||e instanceof we(e).Node:!1}function Pe(e){return kr()?e instanceof Element||e instanceof we(e).Element:!1}function De(e){return kr()?e instanceof HTMLElement||e instanceof we(e).HTMLElement:!1}function Rn(e){return!kr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof we(e).ShadowRoot}function er(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Se(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function hl(e){return["table","td","th"].includes(Ot(e))}function Cr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function ln(e){const t=an(),r=Pe(e)?Se(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function pl(e){let t=tt(e);for(;De(t)&&!kt(t);){if(ln(t))return t;if(Cr(t))return null;t=tt(t)}return null}function an(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function kt(e){return["html","body","#document"].includes(Ot(e))}function Se(e){return we(e).getComputedStyle(e)}function Er(e){return Pe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function tt(e){if(Ot(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Rn(e)&&e.host||Ue(e);return Rn(t)?t.host:t}function Ro(e){const t=tt(e);return kt(t)?e.ownerDocument?e.ownerDocument.body:e.body:De(t)&&er(t)?t:Ro(t)}function jt(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Ro(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),s=we(o);if(i){const l=Hr(s);return t.concat(s,s.visualViewport||[],er(o)?o:[],l&&r?jt(l):[])}return t.concat(o,jt(o,[],r))}function Hr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Oo(e){const t=Se(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=De(e),i=o?e.offsetWidth:r,s=o?e.offsetHeight:n,l=dr(r)!==i||dr(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function cn(e){return Pe(e)?e:e.contextElement}function mt(e){const t=cn(e);if(!De(t))return ze(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:i}=Oo(t);let s=(i?dr(r.width):r.width)/n,l=(i?dr(r.height):r.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const bl=ze(0);function To(e){const t=we(e);return!an()||!t.visualViewport?bl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ml(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==we(e)?!1:t}function at(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),i=cn(e);let s=ze(1);t&&(n?Pe(n)&&(s=mt(n)):s=mt(e));const l=ml(i,r,n)?To(i):ze(0);let c=(o.left+l.x)/s.x,a=(o.top+l.y)/s.y,f=o.width/s.x,u=o.height/s.y;if(i){const d=we(i),v=n&&Pe(n)?we(n):n;let g=d,h=Hr(g);for(;h&&n&&v!==g;){const p=mt(h),m=h.getBoundingClientRect(),y=Se(h),b=m.left+(h.clientLeft+parseFloat(y.paddingLeft))*p.x,_=m.top+(h.clientTop+parseFloat(y.paddingTop))*p.y;c*=p.x,a*=p.y,f*=p.x,u*=p.y,c+=b,a+=_,g=we(h),h=Hr(g)}}return gr({width:f,height:u,x:c,y:a})}function un(e,t){const r=Er(e).scrollLeft;return t?t.left+r:at(Ue(e)).left+r}function Lo(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:un(e,n)),i=n.top+t.scrollTop;return{x:o,y:i}}function yl(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const i=o==="fixed",s=Ue(n),l=t?Cr(t.floating):!1;if(n===s||l&&i)return r;let c={scrollLeft:0,scrollTop:0},a=ze(1);const f=ze(0),u=De(n);if((u||!u&&!i)&&((Ot(n)!=="body"||er(s))&&(c=Er(n)),De(n))){const v=at(n);a=mt(n),f.x=v.x+n.clientLeft,f.y=v.y+n.clientTop}const d=s&&!u&&!i?Lo(s,c,!0):ze(0);return{width:r.width*a.x,height:r.height*a.y,x:r.x*a.x-c.scrollLeft*a.x+f.x+d.x,y:r.y*a.y-c.scrollTop*a.y+f.y+d.y}}function _l(e){return Array.from(e.getClientRects())}function wl(e){const t=Ue(e),r=Er(e),n=e.ownerDocument.body,o=ot(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=ot(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+un(e);const l=-r.scrollTop;return Se(n).direction==="rtl"&&(s+=ot(t.clientWidth,n.clientWidth)-o),{width:o,height:i,x:s,y:l}}function xl(e,t){const r=we(e),n=Ue(e),o=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,l=0,c=0;if(o){i=o.width,s=o.height;const a=an();(!a||a&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:s,x:l,y:c}}function kl(e,t){const r=at(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,i=De(e)?mt(e):ze(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,c=o*i.x,a=n*i.y;return{width:s,height:l,x:c,y:a}}function On(e,t,r){let n;if(t==="viewport")n=xl(e,r);else if(t==="document")n=wl(Ue(e));else if(Pe(t))n=kl(t,r);else{const o=To(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return gr(n)}function zo(e,t){const r=tt(e);return r===t||!Pe(r)||kt(r)?!1:Se(r).position==="fixed"||zo(r,t)}function Cl(e,t){const r=t.get(e);if(r)return r;let n=jt(e,[],!1).filter(l=>Pe(l)&&Ot(l)!=="body"),o=null;const i=Se(e).position==="fixed";let s=i?tt(e):e;for(;Pe(s)&&!kt(s);){const l=Se(s),c=ln(s);!c&&l.position==="fixed"&&(o=null),(i?!c&&!o:!c&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||er(s)&&!c&&zo(e,s))?n=n.filter(f=>f!==s):o=l,s=tt(s)}return t.set(e,n),n}function El(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?Cr(t)?[]:Cl(t,this._c):[].concat(r),n],l=s[0],c=s.reduce((a,f)=>{const u=On(t,f,o);return a.top=ot(u.top,a.top),a.right=wt(u.right,a.right),a.bottom=wt(u.bottom,a.bottom),a.left=ot(u.left,a.left),a},On(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Al(e){const{width:t,height:r}=Oo(e);return{width:t,height:r}}function Pl(e,t,r){const n=De(t),o=Ue(t),i=r==="fixed",s=at(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=ze(0);if(n||!n&&!i)if((Ot(t)!=="body"||er(o))&&(l=Er(t)),n){const d=at(t,!0,i,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else o&&(c.x=un(o));const a=o&&!n&&!i?Lo(o,l):ze(0),f=s.left+l.scrollLeft-c.x-a.x,u=s.top+l.scrollTop-c.y-a.y;return{x:f,y:u,width:s.width,height:s.height}}function Or(e){return Se(e).position==="static"}function Tn(e,t){if(!De(e)||Se(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ue(e)===r&&(r=r.ownerDocument.body),r}function No(e,t){const r=we(e);if(Cr(e))return r;if(!De(e)){let o=tt(e);for(;o&&!kt(o);){if(Pe(o)&&!Or(o))return o;o=tt(o)}return r}let n=Tn(e,t);for(;n&&hl(n)&&Or(n);)n=Tn(n,t);return n&&kt(n)&&Or(n)&&!ln(n)?r:n||pl(e)||r}const Sl=async function(e){const t=this.getOffsetParent||No,r=this.getDimensions,n=await r(e.floating);return{reference:Pl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Rl(e){return Se(e).direction==="rtl"}const Ol={convertOffsetParentRelativeRectToViewportRelativeRect:yl,getDocumentElement:Ue,getClippingRect:El,getOffsetParent:No,getElementRects:Sl,getClientRects:_l,getDimensions:Al,getScale:mt,isElement:Pe,isRTL:Rl};function Tl(e,t){let r=null,n;const o=Ue(e);function i(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const{left:a,top:f,width:u,height:d}=e.getBoundingClientRect();if(l||t(),!u||!d)return;const v=or(f),g=or(o.clientWidth-(a+u)),h=or(o.clientHeight-(f+d)),p=or(a),y={rootMargin:-v+"px "+-g+"px "+-h+"px "+-p+"px",threshold:ot(0,wt(1,c))||1};let b=!0;function _(x){const k=x[0].intersectionRatio;if(k!==c){if(!b)return s();k?s(!1,k):n=setTimeout(()=>{s(!1,1e-7)},1e3)}b=!1}try{r=new IntersectionObserver(_,{...y,root:o.ownerDocument})}catch{r=new IntersectionObserver(_,y)}r.observe(e)}return s(!0),i}function Ln(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,a=cn(e),f=o||i?[...a?jt(a):[],...jt(t)]:[];f.forEach(m=>{o&&m.addEventListener("scroll",r,{passive:!0}),i&&m.addEventListener("resize",r)});const u=a&&l?Tl(a,r):null;let d=-1,v=null;s&&(v=new ResizeObserver(m=>{let[y]=m;y&&y.target===a&&v&&(v.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=v)==null||b.observe(t)})),r()}),a&&!c&&v.observe(a),v.observe(t));let g,h=c?at(e):null;c&&p();function p(){const m=at(e);h&&(m.x!==h.x||m.y!==h.y||m.width!==h.width||m.height!==h.height)&&r(),h=m,g=requestAnimationFrame(p)}return r(),()=>{var m;f.forEach(y=>{o&&y.removeEventListener("scroll",r),i&&y.removeEventListener("resize",r)}),u==null||u(),(m=v)==null||m.disconnect(),v=null,c&&cancelAnimationFrame(g)}}const Ll=vl,zl=gl,Nl=fl,Ml=ul,Il=(e,t,r)=>{const n=new Map,o={platform:Ol,...r},i={...o.platform,_c:n};return cl(e,t,{...o,platform:i})};var Dl=Z("
    "),Fl=Z("
    "),Ul=Z(" ",1),Bl=Z(" ",1);function Wl(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["activeContent","arrow","offset","placement","trigger","triggeredBy","reference","strategy","open","yOnly","middlewares"]);ue(t,!1);const o=K();let i=C(t,"activeContent",8,!1),s=C(t,"arrow",8,!0),l=C(t,"offset",8,8),c=C(t,"placement",8,"top"),a=C(t,"trigger",8,"hover"),f=C(t,"triggeredBy",24,()=>{}),u=C(t,"reference",24,()=>{}),d=C(t,"strategy",8,"absolute"),v=C(t,"open",12,!1),g=C(t,"yOnly",8,!1),h=C(t,"middlewares",24,()=>[Nl(),zl()]);const p=mo();let m=K(),y=K(),b=K(),_=K(),x,k=K(),A=K(),E=[];const R=U=>{w(_)===void 0&&console.error("trigger undefined"),!(!u()&&E.includes(U.target)&&w(_)!==U.target&&(O(_,U.target),v()))&&v(U.type==="click"?!v():!0)},N=U=>U.matches(":hover"),I=U=>U?`${U}px`:"",P=U=>{if(i()&&w(b)){const te=[w(_),x,...E].filter(Boolean);setTimeout(()=>{U.type==="mouseleave"&&!te.some(N)&&v(!1)},100)}else v(!1)};let W=K();const L={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(){Il(w(_),x,{placement:c(),strategy:d(),middleware:w(o)}).then(({x:U,y:te,middlewareData:de,placement:Be,strategy:Tt})=>{x.style.position=Tt,x.style.left=g()?"0":I(U),x.style.top=I(te),de.arrow&&w(k)instanceof HTMLDivElement&&(Sr(k,w(k).style.left=I(de.arrow.x)),Sr(k,w(k).style.top=I(de.arrow.y)),O(W,L[Be.split("-")[0]]),Sr(k,w(k).style[w(W)]=I(-w(k).offsetWidth/2-(r.border?1:0))))})}function B(U,te){x=U;let de=Ln(te,x,oe);return{update(Be){de(),de=Ln(Be,x,oe)},destroy(){de()}}}gs(()=>{const U=[["focusin",R,w(m)],["focusout",P,w(m)],["click",R,w(y)],["mouseenter",R,w(b)],["mouseleave",P,w(b)]];return f()?E=[...document.querySelectorAll(f())]:E=w(A).previousElementSibling?[w(A).previousElementSibling]:[],E.length||console.error("No triggers found."),E.forEach(te=>{te.tabIndex<0&&(te.tabIndex=0);for(const[de,Be,Tt]of U)Tt&&te.addEventListener(de,Be)}),u()?(O(_,document.querySelector(u())??document.body),w(_)===document.body?console.error(`Popup reference not found: '${u()}'`):(w(m)&&w(_).addEventListener("focusout",P),w(b)&&w(_).addEventListener("mouseleave",P))):O(_,E[0]),w(y)&&document.addEventListener("click",D),()=>{E.forEach(te=>{if(te)for(const[de,Be]of U)te.removeEventListener(de,Be)}),w(_)&&(w(_).removeEventListener("focusout",P),w(_).removeEventListener("mouseleave",P)),document.removeEventListener("click",D)}});function D(U){v()&&!U.composedPath().includes(x)&&!E.some(te=>U.composedPath().includes(te))&&P(U)}function $(U,te){return U?te:()=>{}}let J=K();function le(U){return O(k,U),{destroy(){O(k,null)}}}q(()=>T(a()),()=>{O(m,a()==="focus")}),q(()=>T(a()),()=>{O(y,a()==="click")}),q(()=>T(a()),()=>{O(b,a()==="hover")}),q(()=>T(v()),()=>{p("show",v())}),q(()=>(T(c()),w(_)),()=>{c()&&O(_,w(_))}),q(()=>(T(h()),T(l()),w(k)),()=>{O(o,[...h(),Ll(+l()),w(k)&&Ml({element:w(k),padding:10})])}),q(()=>(T(r),w(W)),()=>{O(J,wo("absolute pointer-events-none block w-[10px] h-[10px] rotate-45 bg-inherit border-inherit",r.border&&w(W)==="bottom"&&"border-b border-e",r.border&&w(W)==="top"&&"border-t border-s ",r.border&&w(W)==="right"&&"border-t border-e ",r.border&&w(W)==="left"&&"border-b border-s "))}),Fe(),be();var F=Bl(),He=X(F);{var tr=U=>{var te=Dl();Br(te,de=>O(A,de),()=>w(A)),S(U,te)};pe(He,U=>{w(_)||U(tr)})}var Mo=re(He,2);{var Io=U=>{var te=_t(()=>i()?-1:void 0),de=Ve(()=>$(i()&&w(m),R)),Be=Ve(()=>$(i()&&w(m),P)),Tt=Ve(()=>$(i()&&w(b),R)),Do=Ve(()=>$(i()&&w(b),P));nn(U,wr({use:B,get options(){return w(_)},role:"tooltip",get tabindex(){return w(te)}},()=>n,{get open(){return v()},set open(Ce){v(Ce)},$$events:{focusin(...Ce){var xe;(xe=w(de))==null||xe.apply(this,Ce)},focusout(...Ce){var xe;(xe=w(Be))==null||xe.apply(this,Ce)},mouseenter(...Ce){var xe;(xe=w(Tt))==null||xe.apply(this,Ce)},mouseleave(...Ce){var xe;(xe=w(Do))==null||xe.apply(this,Ce)}},children:(Ce,xe)=>{var fn=Ul(),dn=X(fn);se(dn,t,"default",{},null);var Fo=re(dn,2);{var Uo=Ar=>{var Pr=Fl();Wt(Pr,Bo=>le==null?void 0:le(Bo)),ee(()=>pt(Pr,nt(w(J)),"")),S(Ar,Pr)};pe(Fo,Ar=>{s()&&Ar(Uo)})}S(Ce,fn)},$$slots:{default:!0},$$legacy:!0}))};pe(Mo,U=>{w(_)&&U(Io)})}S(e,F),fe()}var jl=Z("
    "),Vl=Z("
    "),Hl=Z("
    ",1);function Gl(e,t){const r=es(t),n=G(t,["children","$$slots","$$events","$$legacy"]),o=G(n,["activeUrl","open","containerClass","classContainer","headerClass","classHeader","footerClass","classFooter","activeClass","classActive","arrow","trigger","placement","color","shadow","rounded"]);ue(t,!1);const i=K(),s=K(),l=K(),c=K();let a=C(t,"activeUrl",24,()=>{}),f=C(t,"open",12,!1),u=C(t,"containerClass",8,"divide-y z-50"),d=C(t,"classContainer",24,()=>{}),v=C(t,"headerClass",8,"py-1 overflow-hidden rounded-t-lg"),g=C(t,"classHeader",24,()=>{}),h=C(t,"footerClass",8,"py-1 overflow-hidden rounded-b-lg"),p=C(t,"classFooter",24,()=>{}),m=C(t,"activeClass",8,"text-primary-700 dark:text-primary-700 hover:text-primary-900 dark:hover:text-primary-900"),y=C(t,"classActive",24,()=>{}),b=C(t,"arrow",8,!1),_=C(t,"trigger",8,"click"),x=C(t,"placement",8,"bottom"),k=C(t,"color",8,"dropdown"),A=C(t,"shadow",8,!0),E=C(t,"rounded",8,!0);const R=xr("");let N=ne(m(),y());st("DropdownType",{activeClass:N}),st("activeUrl",R),q(()=>T(a()),()=>{R.set(a()??"")}),q(()=>(T(u()),T(d())),()=>{O(i,ne(u(),d()))}),q(()=>(T(v()),T(g())),()=>{O(s,ne(v(),g()))}),q(()=>T(n),()=>{O(l,ne("py-1",n.class))}),q(()=>(T(h()),T(p())),()=>{O(c,ne(h(),p()))}),Fe(),be(),Wl(e,wr({activeContent:!0},()=>o,{get trigger(){return _()},get arrow(){return b()},get placement(){return x()},get shadow(){return A()},get rounded(){return E()},get color(){return k()},get class(){return w(i)},get open(){return f()},set open(I){f(I)},$$events:{show(I){j.call(this,t,I)}},children:(I,P)=>{var W=Hl(),L=X(W);{var oe=le=>{var F=jl(),He=ae(F);se(He,t,"header",{},null),ee(()=>pt(F,nt(w(s)),"")),S(le,F)};pe(L,le=>{r.header&&le(oe)})}var B=re(L,2),D=ae(B);se(D,t,"default",{},null);var $=re(B,2);{var J=le=>{var F=Vl(),He=ae(F);se(He,t,"footer",{},null),ee(()=>pt(F,nt(w(c)),"")),S(le,F)};pe($,le=>{r.footer&&le(J)})}ee(()=>pt(B,nt(w(l)),"")),S(I,W)},$$slots:{default:!0},$$legacy:!0})),fe()}var ql=Z("
    ");function Yl(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["divClass"]);ue(t,!1);let o=C(t,"divClass",8,"my-1 h-px bg-gray-100 dark:bg-gray-600");be();var i=ql();let s;ee(()=>s=ge(i,s,{...n,class:ne(o(),r.class)})),S(e,i),fe()}function Kl(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["tag","show","use"]);let o=C(t,"tag",8,"div"),i=C(t,"show",8),s=C(t,"use",8,()=>{});var l=ie(),c=X(l);{var a=u=>{var d=ie(),v=X(d);Bt(v,o,!1,(g,h)=>{Wt(g,b=>{var _;return(_=s())==null?void 0:_(b)});let p;ee(()=>p=ge(g,p,{...n},void 0,g.namespaceURI===yt,g.nodeName.includes("-")));var m=ie(),y=X(m);se(y,t,"default",{},null),S(h,m)}),S(u,d)},f=u=>{var d=ie(),v=X(d);se(v,t,"default",{},null),S(u,d)};pe(c,u=>{i()?u(a):u(f,!1)})}S(e,l)}function ir(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["defaultClass","href","activeClass"]);ue(t,!1);const o=K(),i=K();let s=C(t,"defaultClass",8,"font-medium py-2 px-4 text-sm hover:bg-gray-100 dark:hover:bg-gray-600"),l=C(t,"href",24,()=>{}),c=C(t,"activeClass",24,()=>{});const a=$e("DropdownType")??{},f=$e("activeUrl");let u=K("");f.subscribe(g=>{O(u,g)});let d=K(!0);function v(g){var h;O(d,((h=g.parentElement)==null?void 0:h.tagName)==="UL")}q(()=>(w(u),T(l())),()=>{O(o,w(u)?l()===w(u):!1)}),q(()=>(T(s()),T(l()),w(o),T(c()),T(r)),()=>{O(i,ne(s(),l()?"block":"w-full text-left",w(o)&&(c()??a.activeClass),r.class))}),Fe(),be(),Kl(e,{tag:"li",get show(){return w(d)},use:v,children:(g,h)=>{var p=ie(),m=X(p);Bt(m,()=>l()?"a":"button",!1,(y,b)=>{let _;ee(()=>_=ge(y,_,{href:l(),type:l()?void 0:"button",role:l()?"link":"button",...n,class:w(i)},void 0,y.namespaceURI===yt,y.nodeName.includes("-"))),V("click",y,function(A){j.call(this,t,A)}),V("change",y,function(A){j.call(this,t,A)}),V("keydown",y,function(A){j.call(this,t,A)}),V("keyup",y,function(A){j.call(this,t,A)}),V("focus",y,function(A){j.call(this,t,A)}),V("blur",y,function(A){j.call(this,t,A)}),V("mouseenter",y,function(A){j.call(this,t,A)}),V("mouseleave",y,function(A){j.call(this,t,A)});var x=ie(),k=X(x);se(k,t,"default",{},null),S(b,x)}),S(g,p)},$$slots:{default:!0}}),fe()}var Xl=Z("
    "),Zl=Z("
    ");function Jl(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["items","imgClass"]);ue(t,!1);const o=K();let i=C(t,"items",24,()=>[]),s=C(t,"imgClass",8,"h-auto max-w-full rounded-lg");function l(f){getComputedStyle(f).gap==="normal"&&(f.style.gap="inherit")}q(()=>T(r),()=>{O(o,ne("grid",r.class))}),Fe(),be();var c=Zl();let a;Xi(c,5,i,Yi,(f,u)=>{var d=ie(),v=X(d);se(v,t,"default",{get item(){return w(u)}},g=>{var h=Xl(),p=ae(h);const m=_t(()=>nt(ne(s(),r.classImg)));ee(()=>{ht(p,"src",w(u).src),ht(p,"alt",w(u).alt),pt(p,w(m),"")}),S(g,h)}),S(f,d)},f=>{var u=ie(),d=X(u);se(d,t,"default",{get item(){return i()[0]}},null),S(f,u)}),Wt(c,f=>l==null?void 0:l(f)),ee(()=>a=ge(c,a,{...n,class:w(o)})),S(e,c),fe()}var Ql=Z("
    ");function zn(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["fluid"]);ue(t,!1);let o=C(t,"fluid",8,!1);be();var i=Ql();let s;var l=ae(i);se(l,t,"default",{},null),ee(()=>s=ge(i,s,{...n,class:ne("mx-auto flex flex-wrap justify-between items-center ",o()?"w-full":"container",r.class)})),S(e,i),fe()}function $l(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["fluid","navContainerClass"]);ue(t,!1);const o=bo(),i=()=>po(c,"$hidden",o);let s=C(t,"fluid",8,!1),l=C(t,"navContainerClass",8,""),c=xr(!0);st("navHidden",c);let a=()=>c.update(u=>!u);q(()=>T(n),()=>{n.color=n.color??"navbar"}),Fe(),be();var f=_t(()=>ne("px-2 sm:px-4 py-2.5 w-full",r.class));nn(e,wr({tag:"nav"},()=>n,{get class(){return w(f)},children:(u,d)=>{zn(u,{get fluid(){return s()},get class(){return l()},children:(v,g)=>{var h=ie(),p=X(h);se(p,t,"default",{get hidden(){return i()},toggle:a,NavContainer:zn},null),S(v,h)},$$slots:{default:!0}})},$$slots:{default:!0}})),fe()}var ea=Z("");function ta(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["href"]);ue(t,!1);let o=C(t,"href",8,"");be();var i=ea();let s;var l=ae(i);se(l,t,"default",{},null),ee(()=>s=ge(i,s,{href:o(),...n,class:ne("flex items-center",r.class)})),S(e,i),fe()}var ra=tn("");function na(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["size","color","variation","ariaLabel"]);ue(t,!1);let o=C(t,"size",8,"24"),i=C(t,"color",8,"currentColor"),s=C(t,"variation",8,"outline"),l=C(t,"ariaLabel",8,"bars 3"),c=K(),a=K(),f=` `,u=` `;q(()=>T(s()),()=>{switch(s()){case"outline":O(a,f),O(c,"0 0 24 24");break;case"solid":O(a,u),O(c,"0 0 24 24");break;default:O(a,f),O(c,"0 0 24 24")}}),Fe(),be();var d=ra();let v;var g=ae(d);$i(g,()=>w(a)),ee(()=>v=ge(d,v,{xmlns:"http://www.w3.org/2000/svg",role:"button",tabindex:"0",width:o(),height:o(),class:r.class,...n,"aria-label":l(),fill:"none",viewBox:w(c),"stroke-width":"2"},void 0,!0)),V("click",d,function(h){j.call(this,t,h)}),S(e,d),fe()}function oa(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["menuClass","onClick","classMenu"]);ue(t,!1);let o=C(t,"menuClass",8,"h-6 w-6 shrink-0"),i=C(t,"onClick",24,()=>{}),s=C(t,"classMenu",8,""),l="ms-3 md:hidden",c=$e("navHidden")??xr(!0);const a=u=>c.update(d=>!d);be();var f=_t(()=>ne(l,r.class));tl(e,wr({name:"Open main menu"},()=>n,{get class(){return w(f)},$$events:{click(...u){var d;(d=i()||a)==null||d.apply(this,u)}},children:(u,d)=>{var v=_t(()=>ne(o(),s()));na(u,{get class(){return w(v)}})},$$slots:{default:!0}})),fe()}var ia=Z("
  • ");function Nt(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["href","activeClass","nonActiveClass"]);ue(t,!1);const o=K(),i=K();let s=C(t,"href",8,""),l=C(t,"activeClass",24,()=>{}),c=C(t,"nonActiveClass",24,()=>{});const a=$e("navbarContext")??{},f=$e("activeUrl");let u=K("");f.subscribe(g=>{O(u,g)}),q(()=>(w(u),T(s())),()=>{O(o,w(u)?s()===w(u):!1)}),q(()=>(w(o),T(l()),T(c()),T(r)),()=>{O(i,ne("block py-2 pe-4 ps-3 md:p-0 rounded md:border-0",w(o)?l()??a.activeClass:c()??a.nonActiveClass,r.class))}),Fe(),be();var d=ia(),v=ae(d);Bt(v,()=>s()?"a":"div",!1,(g,h)=>{let p;ee(()=>p=ge(g,p,{role:s()?void 0:"link",href:s(),...n,class:w(i)},void 0,g.namespaceURI===yt,g.nodeName.includes("-"))),V("blur",g,function(b){j.call(this,t,b)}),V("change",g,function(b){j.call(this,t,b)}),V("click",g,function(b){j.call(this,t,b)}),V("focus",g,function(b){j.call(this,t,b)}),V("keydown",g,function(b){j.call(this,t,b)}),V("keypress",g,function(b){j.call(this,t,b)}),V("keyup",g,function(b){j.call(this,t,b)}),V("mouseenter",g,function(b){j.call(this,t,b)}),V("mouseleave",g,function(b){j.call(this,t,b)}),V("mouseover",g,function(b){j.call(this,t,b)});var m=ie(),y=X(m);se(y,t,"default",{},null),S(h,m)}),S(e,d),fe()}function sa(e){const t=Math.cos(e*Math.PI*.5);return Math.abs(t)<1e-14?1:1-t}var la=Z("
    "),aa=Z("
    ");function ca(e,t){const r=G(t,["children","$$slots","$$events","$$legacy"]),n=G(r,["activeUrl","divClass","ulClass","hidden","slideParams","activeClass","nonActiveClass","classUl"]);ue(t,!1);const o=bo(),i=()=>po(h,"$hiddenStore",o);let s=C(t,"activeUrl",8,""),l=C(t,"divClass",8,"w-full md:block md:w-auto"),c=C(t,"ulClass",8,"flex flex-col p-4 mt-4 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:text-sm md:font-medium"),a=C(t,"hidden",24,()=>{}),f=C(t,"slideParams",24,()=>({delay:250,duration:500,easing:sa})),u=C(t,"activeClass",8,"text-white bg-primary-700 md:bg-transparent md:text-primary-700 md:dark:text-white dark:bg-primary-600 md:dark:bg-transparent"),d=C(t,"nonActiveClass",8,"text-gray-700 hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-primary-700 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent"),v=C(t,"classUl",8,"");const g=xr("");st("navbarContext",{activeClass:u(),nonActiveClass:d()}),st("activeUrl",g);let h=$e("navHidden"),p=K(),m=K(),y=K();q(()=>T(s()),()=>{g.set(s())}),q(()=>(T(a()),i()),()=>{O(p,a()??i()??!0)}),q(()=>(T(l()),T(r)),()=>{O(m,ne(l(),r.class))}),q(()=>(T(c()),T(v())),()=>{O(y,ne(c(),v()))}),Fe(),be();var b=ie(),_=X(b);{var x=A=>{var E=la();let R;var N=ae(E);nn(N,{tag:"ul",border:!0,rounded:!0,color:"navbarUl",get class(){return w(y)},children:(I,P)=>{var W=ie(),L=X(W);se(L,t,"default",{},null),S(I,W)},$$slots:{default:!0}}),ee(()=>R=ge(E,R,{...n,class:w(m),role:"button",tabindex:"0"})),ho(3,E,()=>Xs,f),V("click",E,function(I){j.call(this,t,I)}),S(A,E)},k=A=>{var E=aa();let R;var N=ae(E),I=ae(N);se(I,t,"default",{},null),ee(()=>{R=ge(E,R,{...n,class:w(m),hidden:w(p)}),pt(N,nt(w(y)),"")}),S(A,E)};pe(_,A=>{w(p)?A(k,!1):A(x)})}S(e,b),fe()}var ua=Z(" "),fa=tn(" "),da=tn('');function va(e,t){var y,b;ue(t,!0);const r=$e("iconCtx")??{},n={xs:"w-3 h-3",sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6",xl:"w-8 h-8"};let o=C(t,"size",19,()=>r.size||"md"),i=C(t,"color",19,()=>r.color||"currentColor"),s=C(t,"strokeWidth",19,()=>r.strokeWidth||"2"),l=C(t,"ariaLabel",3,"chevron down outline"),c=fs(t,["$$slots","$$events","$$legacy","size","color","title","strokeWidth","desc","class","ariaLabel"]),a=`${((y=t.title)==null?void 0:y.id)||""} ${((b=t.desc)==null?void 0:b.id)||""}`;const f=Ve(()=>{var _,x;return!!((_=t.title)!=null&&_.id||(x=t.desc)!=null&&x.id)});var u=da();let d;var v=ae(u);{var g=_=>{var x=ua(),k=ae(x);ee(()=>{ht(x,"id",t.title.id),fr(k,t.title.title)}),S(_,x)};pe(v,_=>{var x;(x=t.title)!=null&&x.id&&t.title.title&&_(g)})}var h=re(v);{var p=_=>{var x=fa(),k=ae(x);ee(()=>{ht(x,"id",t.desc.id),fr(k,t.desc.desc)}),S(_,x)};pe(h,_=>{var x;(x=t.desc)!=null&&x.id&&t.desc.desc&&_(p)})}var m=re(h);ee(()=>{d=ge(u,d,{xmlns:"http://www.w3.org/2000/svg",fill:"none",color:i(),...c,class:ne("shrink-0",n[o()],t.class),"aria-label":l(),"aria-describedby":w(f)?a:void 0,viewBox:"0 0 24 24"},void 0,!0),ht(m,"stroke-width",s())}),S(e,u),fe()}var ga=Z('ESP32 Logo SvelteESP32',1),ha=Z("Dropdown",1),pa=Z(" ",1),ba=Z(" ",1),ma=Z(" ",1),ya=Z(" ",1);function _a(e){const t=[{alt:"erbology",src:"./gallery/image.jpg"},{alt:"shoes",src:"./gallery/image-1.jpg"},{alt:"small bag",src:"./gallery/image-2.jpg"},{alt:"plants",src:"./gallery/image-3.jpg"},{alt:"watch",src:"./gallery/image-4.jpg"},{alt:"shoe",src:"./gallery/image-5.jpg"}];var r=ya(),n=X(r);$l(n,{children:(i,s)=>{var l=ma(),c=X(l);ta(c,{href:"/",children:(u,d)=>{var v=ga();S(u,v)},$$slots:{default:!0}});var a=re(c,2);oa(a,{});var f=re(a,2);ca(f,{children:(u,d)=>{var v=ba(),g=X(v);Nt(g,{href:"/",children:(_,x)=>{var k=Ge("Home");S(_,k)},$$slots:{default:!0}});var h=re(g,2);Nt(h,{class:"cursor-pointer",children:(_,x)=>{var k=ha(),A=re(X(k));va(A,{class:"w-6 h-6 ms-2 text-primary-800 dark:text-white inline"}),S(_,k)},$$slots:{default:!0}});var p=re(h,2);Gl(p,{class:"w-44 z-20",children:(_,x)=>{var k=pa(),A=X(k);ir(A,{href:"/",children:(P,W)=>{var L=Ge("Dashboard");S(P,L)},$$slots:{default:!0}});var E=re(A,2);ir(E,{href:"/docs/components/navbar",children:(P,W)=>{var L=Ge("Settings");S(P,L)},$$slots:{default:!0}});var R=re(E,2);ir(R,{href:"/",children:(P,W)=>{var L=Ge("Earnings");S(P,L)},$$slots:{default:!0}});var N=re(R,2);Yl(N,{});var I=re(N,2);ir(I,{href:"/",children:(P,W)=>{var L=Ge("Sign out");S(P,L)},$$slots:{default:!0}}),S(_,k)},$$slots:{default:!0}});var m=re(p,2);Nt(m,{href:"/settings",children:(_,x)=>{var k=Ge("Setting");S(_,k)},$$slots:{default:!0}});var y=re(m,2);Nt(y,{href:"/pricing",children:(_,x)=>{var k=Ge("Pricing");S(_,k)},$$slots:{default:!0}});var b=re(y,2);Nt(b,{href:"/contact",children:(_,x)=>{var k=Ge("Contact");S(_,k)},$$slots:{default:!0}}),S(u,v)},$$slots:{default:!0}}),S(i,l)},$$slots:{default:!0}});var o=re(n,2);Jl(o,{items:t,class:"gap-4 grid-cols-2 md:grid-cols-3"}),S(e,r)}Hi(_a,{target:document.querySelector("#app")}); diff --git a/demo/svelte/dist/favicon.png.gz b/demo/svelte/dist/favicon.png.gz index c9da2dfb143663bac4b6ec95e38b3f0ced30015f..556ba7cd2581f363897597a7a0ba35e41ffcc684 100644 GIT binary patch delta 18 ZcmeBbVd`pOVwdmc;82yT*~re^1OPEL1l|Au delta 18 ZcmeBbVd`pOVwdmc;5hUvYa=^z6976+21Nh> diff --git a/demo/svelte/dist/index.html b/demo/svelte/dist/index.html index 1bc0327..45cee61 100644 --- a/demo/svelte/dist/index.html +++ b/demo/svelte/dist/index.html @@ -6,7 +6,7 @@ Svelte to ESP32 demo application - + diff --git a/demo/svelte/package-lock.json b/demo/svelte/package-lock.json index f0d4798..596e0e8 100644 --- a/demo/svelte/package-lock.json +++ b/demo/svelte/package-lock.json @@ -11,8 +11,8 @@ "@rollup/plugin-swc": "^0.4.0", "@sveltejs/vite-plugin-svelte": "^5.0.3", "@tsconfig/svelte": "^5.0.4", - "@typescript-eslint/eslint-plugin": "^8.18.2", - "@typescript-eslint/parser": "^8.18.2", + "@typescript-eslint/eslint-plugin": "^8.19.1", + "@typescript-eslint/parser": "^8.19.1", "autoprefixer": "^10.4.20", "eslint": "^9.17.0", "eslint-config-prettier": "^9.1.0", @@ -27,13 +27,13 @@ "postcss-load-config": "^6.0.1", "prettier": "^3.4.2", "prettier-plugin-svelte": "^3.3.2", - "svelte": "^5.16.0", + "svelte": "^5.16.2", "svelte-check": "^4.1.1", "svelte-preprocess": "^6.0.3", "tailwindcss": "^3.4.17", "tslib": "^2.8.1", "typescript": "^5.7.2", - "vite": "^6.0.5", + "vite": "^6.0.7", "vite-plugin-tailwind-purgecss": "^0.3.5" }, "engines": { @@ -94,9 +94,9 @@ } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.0.tgz", - "integrity": "sha512-WtKdFM7ls47zkKHFVzMz8opM7LkcsIp9amDUBIAWirg70RM71WRSjdILPsY5Uv1D42ZpUfaPILDlfactHgsRkw==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz", + "integrity": "sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==", "cpu": [ "ppc64" ], @@ -111,9 +111,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.24.0.tgz", - "integrity": "sha512-arAtTPo76fJ/ICkXWetLCc9EwEHKaeya4vMrReVlEIUCAUncH7M4bhMQ+M9Vf+FFOZJdTNMXNBrWwW+OXWpSew==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.24.2.tgz", + "integrity": "sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==", "cpu": [ "arm" ], @@ -128,9 +128,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.24.0.tgz", - "integrity": "sha512-Vsm497xFM7tTIPYK9bNTYJyF/lsP590Qc1WxJdlB6ljCbdZKU9SY8i7+Iin4kyhV/KV5J2rOKsBQbB77Ab7L/w==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz", + "integrity": "sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==", "cpu": [ "arm64" ], @@ -145,9 +145,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.24.0.tgz", - "integrity": "sha512-t8GrvnFkiIY7pa7mMgJd7p8p8qqYIz1NYiAoKc75Zyv73L3DZW++oYMSHPRarcotTKuSs6m3hTOa5CKHaS02TQ==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.24.2.tgz", + "integrity": "sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==", "cpu": [ "x64" ], @@ -162,9 +162,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.24.0.tgz", - "integrity": "sha512-CKyDpRbK1hXwv79soeTJNHb5EiG6ct3efd/FTPdzOWdbZZfGhpbcqIpiD0+vwmpu0wTIL97ZRPZu8vUt46nBSw==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz", + "integrity": "sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==", "cpu": [ "arm64" ], @@ -179,9 +179,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.24.0.tgz", - "integrity": "sha512-rgtz6flkVkh58od4PwTRqxbKH9cOjaXCMZgWD905JOzjFKW+7EiUObfd/Kav+A6Gyud6WZk9w+xu6QLytdi2OA==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz", + "integrity": "sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==", "cpu": [ "x64" ], @@ -196,9 +196,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.0.tgz", - "integrity": "sha512-6Mtdq5nHggwfDNLAHkPlyLBpE5L6hwsuXZX8XNmHno9JuL2+bg2BX5tRkwjyfn6sKbxZTq68suOjgWqCicvPXA==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz", + "integrity": "sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==", "cpu": [ "arm64" ], @@ -213,9 +213,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.24.0.tgz", - "integrity": "sha512-D3H+xh3/zphoX8ck4S2RxKR6gHlHDXXzOf6f/9dbFt/NRBDIE33+cVa49Kil4WUjxMGW0ZIYBYtaGCa2+OsQwQ==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz", + "integrity": "sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==", "cpu": [ "x64" ], @@ -230,9 +230,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.24.0.tgz", - "integrity": "sha512-gJKIi2IjRo5G6Glxb8d3DzYXlxdEj2NlkixPsqePSZMhLudqPhtZ4BUrpIuTjJYXxvF9njql+vRjB2oaC9XpBw==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz", + "integrity": "sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==", "cpu": [ "arm" ], @@ -247,9 +247,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.24.0.tgz", - "integrity": "sha512-TDijPXTOeE3eaMkRYpcy3LarIg13dS9wWHRdwYRnzlwlA370rNdZqbcp0WTyyV/k2zSxfko52+C7jU5F9Tfj1g==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz", + "integrity": "sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==", "cpu": [ "arm64" ], @@ -264,9 +264,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.24.0.tgz", - "integrity": "sha512-K40ip1LAcA0byL05TbCQ4yJ4swvnbzHscRmUilrmP9Am7//0UjPreh4lpYzvThT2Quw66MhjG//20mrufm40mA==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz", + "integrity": "sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==", "cpu": [ "ia32" ], @@ -281,9 +281,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.24.0.tgz", - "integrity": "sha512-0mswrYP/9ai+CU0BzBfPMZ8RVm3RGAN/lmOMgW4aFUSOQBjA31UP8Mr6DDhWSuMwj7jaWOT0p0WoZ6jeHhrD7g==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz", + "integrity": "sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==", "cpu": [ "loong64" ], @@ -298,9 +298,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.24.0.tgz", - "integrity": "sha512-hIKvXm0/3w/5+RDtCJeXqMZGkI2s4oMUGj3/jM0QzhgIASWrGO5/RlzAzm5nNh/awHE0A19h/CvHQe6FaBNrRA==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz", + "integrity": "sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==", "cpu": [ "mips64el" ], @@ -315,9 +315,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.24.0.tgz", - "integrity": "sha512-HcZh5BNq0aC52UoocJxaKORfFODWXZxtBaaZNuN3PUX3MoDsChsZqopzi5UupRhPHSEHotoiptqikjN/B77mYQ==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz", + "integrity": "sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==", "cpu": [ "ppc64" ], @@ -332,9 +332,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.24.0.tgz", - "integrity": "sha512-bEh7dMn/h3QxeR2KTy1DUszQjUrIHPZKyO6aN1X4BCnhfYhuQqedHaa5MxSQA/06j3GpiIlFGSsy1c7Gf9padw==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz", + "integrity": "sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==", "cpu": [ "riscv64" ], @@ -349,9 +349,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.24.0.tgz", - "integrity": "sha512-ZcQ6+qRkw1UcZGPyrCiHHkmBaj9SiCD8Oqd556HldP+QlpUIe2Wgn3ehQGVoPOvZvtHm8HPx+bH20c9pvbkX3g==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz", + "integrity": "sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==", "cpu": [ "s390x" ], @@ -366,9 +366,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.24.0.tgz", - "integrity": "sha512-vbutsFqQ+foy3wSSbmjBXXIJ6PL3scghJoM8zCL142cGaZKAdCZHyf+Bpu/MmX9zT9Q0zFBVKb36Ma5Fzfa8xA==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz", + "integrity": "sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==", "cpu": [ "x64" ], @@ -382,10 +382,27 @@ "node": ">=18" } }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.24.2.tgz", + "integrity": "sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.24.0.tgz", - "integrity": "sha512-hjQ0R/ulkO8fCYFsG0FZoH+pWgTTDreqpqY7UnQntnaKv95uP5iW3+dChxnx7C3trQQU40S+OgWhUVwCjVFLvg==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz", + "integrity": "sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==", "cpu": [ "x64" ], @@ -400,9 +417,9 @@ } }, "node_modules/@esbuild/openbsd-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.0.tgz", - "integrity": "sha512-MD9uzzkPQbYehwcN583yx3Tu5M8EIoTD+tUgKF982WYL9Pf5rKy9ltgD0eUgs8pvKnmizxjXZyLt0z6DC3rRXg==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.2.tgz", + "integrity": "sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==", "cpu": [ "arm64" ], @@ -417,9 +434,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.24.0.tgz", - "integrity": "sha512-4ir0aY1NGUhIC1hdoCzr1+5b43mw99uNwVzhIq1OY3QcEwPDO3B7WNXBzaKY5Nsf1+N11i1eOfFcq+D/gOS15Q==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz", + "integrity": "sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==", "cpu": [ "x64" ], @@ -434,9 +451,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.24.0.tgz", - "integrity": "sha512-jVzdzsbM5xrotH+W5f1s+JtUy1UWgjU0Cf4wMvffTB8m6wP5/kx0KiaLHlbJO+dMgtxKV8RQ/JvtlFcdZ1zCPA==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz", + "integrity": "sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==", "cpu": [ "x64" ], @@ -451,9 +468,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.24.0.tgz", - "integrity": "sha512-iKc8GAslzRpBytO2/aN3d2yb2z8XTVfNV0PjGlCxKo5SgWmNXx82I/Q3aG1tFfS+A2igVCY97TJ8tnYwpUWLCA==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz", + "integrity": "sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==", "cpu": [ "arm64" ], @@ -468,9 +485,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.24.0.tgz", - "integrity": "sha512-vQW36KZolfIudCcTnaTpmLQ24Ha1RjygBo39/aLkM2kmjkWmZGEJ5Gn9l5/7tzXA42QGIoWbICfg6KLLkIw6yw==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz", + "integrity": "sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==", "cpu": [ "ia32" ], @@ -485,9 +502,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.0.tgz", - "integrity": "sha512-7IAFPrjSQIJrGsK6flwg7NFmwBoSTyF3rl7If0hNUFQU4ilTsEPL6GuMuU9BfIWVVGuRnuIidkSMC+c0Otu8IA==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.2.tgz", + "integrity": "sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==", "cpu": [ "x64" ], @@ -960,9 +977,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.29.1.tgz", - "integrity": "sha512-ssKhA8RNltTZLpG6/QNkCSge+7mBQGUqJRisZ2MDQcEGaK93QESEgWK2iOpIDZ7k9zPVkG5AS3ksvD5ZWxmItw==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.30.0.tgz", + "integrity": "sha512-qFcFto9figFLz2g25DxJ1WWL9+c91fTxnGuwhToCl8BaqDsDYMl/kOnBXAyAqkkzAWimYMSWNPWEjt+ADAHuoQ==", "cpu": [ "arm" ], @@ -974,9 +991,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.29.1.tgz", - "integrity": "sha512-CaRfrV0cd+NIIcVVN/jx+hVLN+VRqnuzLRmfmlzpOzB87ajixsN/+9L5xNmkaUUvEbI5BmIKS+XTwXsHEb65Ew==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.30.0.tgz", + "integrity": "sha512-vqrQdusvVl7dthqNjWCL043qelBK+gv9v3ZiqdxgaJvmZyIAAXMjeGVSqZynKq69T7062T5VrVTuikKSAAVP6A==", "cpu": [ "arm64" ], @@ -988,9 +1005,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.29.1.tgz", - "integrity": "sha512-2ORr7T31Y0Mnk6qNuwtyNmy14MunTAMx06VAPI6/Ju52W10zk1i7i5U3vlDRWjhOI5quBcrvhkCHyF76bI7kEw==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.30.0.tgz", + "integrity": "sha512-617pd92LhdA9+wpixnzsyhVft3szYiN16aNUMzVkf2N+yAk8UXY226Bfp36LvxYTUt7MO/ycqGFjQgJ0wlMaWQ==", "cpu": [ "arm64" ], @@ -1002,9 +1019,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.29.1.tgz", - "integrity": "sha512-j/Ej1oanzPjmN0tirRd5K2/nncAhS9W6ICzgxV+9Y5ZsP0hiGhHJXZ2JQ53iSSjj8m6cRY6oB1GMzNn2EUt6Ng==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.30.0.tgz", + "integrity": "sha512-Y3b4oDoaEhCypg8ajPqigKDcpi5ZZovemQl9Edpem0uNv6UUjXv7iySBpGIUTSs2ovWOzYpfw9EbFJXF/fJHWw==", "cpu": [ "x64" ], @@ -1016,9 +1033,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.29.1.tgz", - "integrity": "sha512-91C//G6Dm/cv724tpt7nTyP+JdN12iqeXGFM1SqnljCmi5yTXriH7B1r8AD9dAZByHpKAumqP1Qy2vVNIdLZqw==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.30.0.tgz", + "integrity": "sha512-3REQJ4f90sFIBfa0BUokiCdrV/E4uIjhkWe1bMgCkhFXbf4D8YN6C4zwJL881GM818qVYE9BO3dGwjKhpo2ABA==", "cpu": [ "arm64" ], @@ -1030,9 +1047,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.29.1.tgz", - "integrity": "sha512-hEioiEQ9Dec2nIRoeHUP6hr1PSkXzQaCUyqBDQ9I9ik4gCXQZjJMIVzoNLBRGet+hIUb3CISMh9KXuCcWVW/8w==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.30.0.tgz", + "integrity": "sha512-ZtY3Y8icbe3Cc+uQicsXG5L+CRGUfLZjW6j2gn5ikpltt3Whqjfo5mkyZ86UiuHF9Q3ZsaQeW7YswlHnN+lAcg==", "cpu": [ "x64" ], @@ -1044,9 +1061,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.29.1.tgz", - "integrity": "sha512-Py5vFd5HWYN9zxBv3WMrLAXY3yYJ6Q/aVERoeUFwiDGiMOWsMs7FokXihSOaT/PMWUty/Pj60XDQndK3eAfE6A==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.30.0.tgz", + "integrity": "sha512-bsPGGzfiHXMhQGuFGpmo2PyTwcrh2otL6ycSZAFTESviUoBOuxF7iBbAL5IJXc/69peXl5rAtbewBFeASZ9O0g==", "cpu": [ "arm" ], @@ -1058,9 +1075,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.29.1.tgz", - "integrity": "sha512-RiWpGgbayf7LUcuSNIbahr0ys2YnEERD4gYdISA06wa0i8RALrnzflh9Wxii7zQJEB2/Eh74dX4y/sHKLWp5uQ==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.30.0.tgz", + "integrity": "sha512-kvyIECEhs2DrrdfQf++maCWJIQ974EI4txlz1nNSBaCdtf7i5Xf1AQCEJWOC5rEBisdaMFFnOWNLYt7KpFqy5A==", "cpu": [ "arm" ], @@ -1072,9 +1089,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.29.1.tgz", - "integrity": "sha512-Z80O+taYxTQITWMjm/YqNoe9d10OX6kDh8X5/rFCMuPqsKsSyDilvfg+vd3iXIqtfmp+cnfL1UrYirkaF8SBZA==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.30.0.tgz", + "integrity": "sha512-CFE7zDNrokaotXu+shwIrmWrFxllg79vciH4E/zeK7NitVuWEaXRzS0mFfFvyhZfn8WfVOG/1E9u8/DFEgK7WQ==", "cpu": [ "arm64" ], @@ -1086,9 +1103,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.29.1.tgz", - "integrity": "sha512-fOHRtF9gahwJk3QVp01a/GqS4hBEZCV1oKglVVq13kcK3NeVlS4BwIFzOHDbmKzt3i0OuHG4zfRP0YoG5OF/rA==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.30.0.tgz", + "integrity": "sha512-MctNTBlvMcIBP0t8lV/NXiUwFg9oK5F79CxLU+a3xgrdJjfBLVIEHSAjQ9+ipofN2GKaMLnFFXLltg1HEEPaGQ==", "cpu": [ "arm64" ], @@ -1100,9 +1117,9 @@ ] }, "node_modules/@rollup/rollup-linux-loongarch64-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.29.1.tgz", - "integrity": "sha512-5a7q3tnlbcg0OodyxcAdrrCxFi0DgXJSoOuidFUzHZ2GixZXQs6Tc3CHmlvqKAmOs5eRde+JJxeIf9DonkmYkw==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.30.0.tgz", + "integrity": "sha512-fBpoYwLEPivL3q368+gwn4qnYnr7GVwM6NnMo8rJ4wb0p/Y5lg88vQRRP077gf+tc25akuqd+1Sxbn9meODhwA==", "cpu": [ "loong64" ], @@ -1114,9 +1131,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.29.1.tgz", - "integrity": "sha512-9b4Mg5Yfz6mRnlSPIdROcfw1BU22FQxmfjlp/CShWwO3LilKQuMISMTtAu/bxmmrE6A902W2cZJuzx8+gJ8e9w==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.30.0.tgz", + "integrity": "sha512-1hiHPV6dUaqIMXrIjN+vgJqtfkLpqHS1Xsg0oUfUVD98xGp1wX89PIXgDF2DWra1nxAd8dfE0Dk59MyeKaBVAw==", "cpu": [ "ppc64" ], @@ -1128,9 +1145,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.29.1.tgz", - "integrity": "sha512-G5pn0NChlbRM8OJWpJFMX4/i8OEU538uiSv0P6roZcbpe/WfhEO+AT8SHVKfp8qhDQzaz7Q+1/ixMy7hBRidnQ==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.30.0.tgz", + "integrity": "sha512-U0xcC80SMpEbvvLw92emHrNjlS3OXjAM0aVzlWfar6PR0ODWCTQtKeeB+tlAPGfZQXicv1SpWwRz9Hyzq3Jx3g==", "cpu": [ "riscv64" ], @@ -1142,9 +1159,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.29.1.tgz", - "integrity": "sha512-WM9lIkNdkhVwiArmLxFXpWndFGuOka4oJOZh8EP3Vb8q5lzdSCBuhjavJsw68Q9AKDGeOOIHYzYm4ZFvmWez5g==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.30.0.tgz", + "integrity": "sha512-VU/P/IODrNPasgZDLIFJmMiLGez+BN11DQWfTVlViJVabyF3JaeaJkP6teI8760f18BMGCQOW9gOmuzFaI1pUw==", "cpu": [ "s390x" ], @@ -1156,9 +1173,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.29.1.tgz", - "integrity": "sha512-87xYCwb0cPGZFoGiErT1eDcssByaLX4fc0z2nRM6eMtV9njAfEE6OW3UniAoDhX4Iq5xQVpE6qO9aJbCFumKYQ==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.30.0.tgz", + "integrity": "sha512-laQVRvdbKmjXuFA3ZiZj7+U24FcmoPlXEi2OyLfbpY2MW1oxLt9Au8q9eHd0x6Pw/Kw4oe9gwVXWwIf2PVqblg==", "cpu": [ "x64" ], @@ -1170,9 +1187,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.29.1.tgz", - "integrity": "sha512-xufkSNppNOdVRCEC4WKvlR1FBDyqCSCpQeMMgv9ZyXqqtKBfkw1yfGMTUTs9Qsl6WQbJnsGboWCp7pJGkeMhKA==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.30.0.tgz", + "integrity": "sha512-3wzKzduS7jzxqcOvy/ocU/gMR3/QrHEFLge5CD7Si9fyHuoXcidyYZ6jyx8OPYmCcGm3uKTUl+9jUSAY74Ln5A==", "cpu": [ "x64" ], @@ -1184,9 +1201,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.29.1.tgz", - "integrity": "sha512-F2OiJ42m77lSkizZQLuC+jiZ2cgueWQL5YC9tjo3AgaEw+KJmVxHGSyQfDUoYR9cci0lAywv2Clmckzulcq6ig==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.30.0.tgz", + "integrity": "sha512-jROwnI1+wPyuv696rAFHp5+6RFhXGGwgmgSfzE8e4xfit6oLRg7GyMArVUoM3ChS045OwWr9aTnU+2c1UdBMyw==", "cpu": [ "arm64" ], @@ -1198,9 +1215,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.29.1.tgz", - "integrity": "sha512-rYRe5S0FcjlOBZQHgbTKNrqxCBUmgDJem/VQTCcTnA2KCabYSWQDrytOzX7avb79cAAweNmMUb/Zw18RNd4mng==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.30.0.tgz", + "integrity": "sha512-duzweyup5WELhcXx5H1jokpr13i3BV9b48FMiikYAwk/MT1LrMYYk2TzenBd0jj4ivQIt58JWSxc19y4SvLP4g==", "cpu": [ "ia32" ], @@ -1212,9 +1229,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.29.1.tgz", - "integrity": "sha512-+10CMg9vt1MoHj6x1pxyjPSMjHTIlqs8/tBztXvPAx24SKs9jwVnKqHJumlH/IzhaPUaj3T6T6wfZr8okdXaIg==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.30.0.tgz", + "integrity": "sha512-DYvxS0M07PvgvavMIybCOBYheyrqlui6ZQBHJs6GqduVzHSZ06TPPvlfvnYstjODHQ8UUXFwt5YE+h0jFI8kwg==", "cpu": [ "x64" ], @@ -1266,9 +1283,9 @@ } }, "node_modules/@swc/core": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.10.1.tgz", - "integrity": "sha512-rQ4dS6GAdmtzKiCRt3LFVxl37FaY1cgL9kSUTnhQ2xc3fmHOd7jdJK/V4pSZMG1ruGTd0bsi34O2R0Olg9Zo/w==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.10.4.tgz", + "integrity": "sha512-ut3zfiTLORMxhr6y/GBxkHmzcGuVpwJYX4qyXWuBKkpw/0g0S5iO1/wW7RnLnZbAi8wS/n0atRZoaZlXWBkeJg==", "dev": true, "hasInstallScript": true, "license": "Apache-2.0", @@ -1285,16 +1302,16 @@ "url": "https://opencollective.com/swc" }, "optionalDependencies": { - "@swc/core-darwin-arm64": "1.10.1", - "@swc/core-darwin-x64": "1.10.1", - "@swc/core-linux-arm-gnueabihf": "1.10.1", - "@swc/core-linux-arm64-gnu": "1.10.1", - "@swc/core-linux-arm64-musl": "1.10.1", - "@swc/core-linux-x64-gnu": "1.10.1", - "@swc/core-linux-x64-musl": "1.10.1", - "@swc/core-win32-arm64-msvc": "1.10.1", - "@swc/core-win32-ia32-msvc": "1.10.1", - "@swc/core-win32-x64-msvc": "1.10.1" + "@swc/core-darwin-arm64": "1.10.4", + "@swc/core-darwin-x64": "1.10.4", + "@swc/core-linux-arm-gnueabihf": "1.10.4", + "@swc/core-linux-arm64-gnu": "1.10.4", + "@swc/core-linux-arm64-musl": "1.10.4", + "@swc/core-linux-x64-gnu": "1.10.4", + "@swc/core-linux-x64-musl": "1.10.4", + "@swc/core-win32-arm64-msvc": "1.10.4", + "@swc/core-win32-ia32-msvc": "1.10.4", + "@swc/core-win32-x64-msvc": "1.10.4" }, "peerDependencies": { "@swc/helpers": "*" @@ -1306,9 +1323,9 @@ } }, "node_modules/@swc/core-darwin-arm64": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.10.1.tgz", - "integrity": "sha512-NyELPp8EsVZtxH/mEqvzSyWpfPJ1lugpTQcSlMduZLj1EASLO4sC8wt8hmL1aizRlsbjCX+r0PyL+l0xQ64/6Q==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.10.4.tgz", + "integrity": "sha512-sV/eurLhkjn/197y48bxKP19oqcLydSel42Qsy2zepBltqUx+/zZ8+/IS0Bi7kaWVFxerbW1IPB09uq8Zuvm3g==", "cpu": [ "arm64" ], @@ -1324,9 +1341,9 @@ } }, "node_modules/@swc/core-darwin-x64": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.10.1.tgz", - "integrity": "sha512-L4BNt1fdQ5ZZhAk5qoDfUnXRabDOXKnXBxMDJ+PWLSxOGBbWE6aJTnu4zbGjJvtot0KM46m2LPAPY8ttknqaZA==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.10.4.tgz", + "integrity": "sha512-gjYNU6vrAUO4+FuovEo9ofnVosTFXkF0VDuo1MKPItz6e2pxc2ale4FGzLw0Nf7JB1sX4a8h06CN16/pLJ8Q2w==", "cpu": [ "x64" ], @@ -1342,9 +1359,9 @@ } }, "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.10.1.tgz", - "integrity": "sha512-Y1u9OqCHgvVp2tYQAJ7hcU9qO5brDMIrA5R31rwWQIAKDkJKtv3IlTHF0hrbWk1wPR0ZdngkQSJZple7G+Grvw==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.10.4.tgz", + "integrity": "sha512-zd7fXH5w8s+Sfvn2oO464KDWl+ZX1MJiVmE4Pdk46N3PEaNwE0koTfgx2vQRqRG4vBBobzVvzICC3618WcefOA==", "cpu": [ "arm" ], @@ -1360,9 +1377,9 @@ } }, "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.10.1.tgz", - "integrity": "sha512-tNQHO/UKdtnqjc7o04iRXng1wTUXPgVd8Y6LI4qIbHVoVPwksZydISjMcilKNLKIwOoUQAkxyJ16SlOAeADzhQ==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.10.4.tgz", + "integrity": "sha512-+UGfoHDxsMZgFD3tABKLeEZHqLNOkxStu+qCG7atGBhS4Slri6h6zijVvf4yI5X3kbXdvc44XV/hrP/Klnui2A==", "cpu": [ "arm64" ], @@ -1378,9 +1395,9 @@ } }, "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.10.1.tgz", - "integrity": "sha512-x0L2Pd9weQ6n8dI1z1Isq00VHFvpBClwQJvrt3NHzmR+1wCT/gcYl1tp9P5xHh3ldM8Cn4UjWCw+7PaUgg8FcQ==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.10.4.tgz", + "integrity": "sha512-cDDj2/uYsOH0pgAnDkovLZvKJpFmBMyXkxEG6Q4yw99HbzO6QzZ5HDGWGWVq/6dLgYKlnnmpjZCPPQIu01mXEg==", "cpu": [ "arm64" ], @@ -1396,9 +1413,9 @@ } }, "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.10.1.tgz", - "integrity": "sha512-yyYEwQcObV3AUsC79rSzN9z6kiWxKAVJ6Ntwq2N9YoZqSPYph+4/Am5fM1xEQYf/kb99csj0FgOelomJSobxQA==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.10.4.tgz", + "integrity": "sha512-qJXh9D6Kf5xSdGWPINpLGixAbB5JX8JcbEJpRamhlDBoOcQC79dYfOMEIxWPhTS1DGLyFakAx2FX/b2VmQmj0g==", "cpu": [ "x64" ], @@ -1414,9 +1431,9 @@ } }, "node_modules/@swc/core-linux-x64-musl": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.10.1.tgz", - "integrity": "sha512-tcaS43Ydd7Fk7sW5ROpaf2Kq1zR+sI5K0RM+0qYLYYurvsJruj3GhBCaiN3gkzd8m/8wkqNqtVklWaQYSDsyqA==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.10.4.tgz", + "integrity": "sha512-A76lIAeyQnHCVt0RL/pG+0er8Qk9+acGJqSZOZm67Ve3B0oqMd871kPtaHBM0BW3OZAhoILgfHW3Op9Q3mx3Cw==", "cpu": [ "x64" ], @@ -1432,9 +1449,9 @@ } }, "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.10.1.tgz", - "integrity": "sha512-D3Qo1voA7AkbOzQ2UGuKNHfYGKL6eejN8VWOoQYtGHHQi1p5KK/Q7V1ku55oxXBsj79Ny5FRMqiRJpVGad7bjQ==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.10.4.tgz", + "integrity": "sha512-e6j5kBu4fIY7fFxFxnZI0MlEovRvp50Lg59Fw+DVbtqHk3C85dckcy5xKP+UoXeuEmFceauQDczUcGs19SRGSQ==", "cpu": [ "arm64" ], @@ -1450,9 +1467,9 @@ } }, "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.10.1.tgz", - "integrity": "sha512-WalYdFoU3454Og+sDKHM1MrjvxUGwA2oralknXkXL8S0I/8RkWZOB++p3pLaGbTvOO++T+6znFbQdR8KRaa7DA==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.10.4.tgz", + "integrity": "sha512-RSYHfdKgNXV/amY5Tqk1EWVsyQnhlsM//jeqMLw5Fy9rfxP592W9UTumNikNRPdjI8wKKzNMXDb1U29tQjN0dg==", "cpu": [ "ia32" ], @@ -1468,9 +1485,9 @@ } }, "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.10.1.tgz", - "integrity": "sha512-JWobfQDbTnoqaIwPKQ3DVSywihVXlQMbDuwik/dDWlj33A8oEHcjPOGs4OqcA3RHv24i+lfCQpM3Mn4FAMfacA==", + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.10.4.tgz", + "integrity": "sha512-1ujYpaqfqNPYdwKBlvJnOqcl+Syn3UrQ4XE0Txz6zMYgyh6cdU6a3pxqLqIUSJ12MtXRA9ZUhEz1ekU3LfLWXw==", "cpu": [ "x64" ], @@ -1540,21 +1557,21 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.18.2.tgz", - "integrity": "sha512-adig4SzPLjeQ0Tm+jvsozSGiCliI2ajeURDGHjZ2llnA+A67HihCQ+a3amtPhUakd1GlwHxSRvzOZktbEvhPPg==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.19.1.tgz", + "integrity": "sha512-tJzcVyvvb9h/PB96g30MpxACd9IrunT7GF9wfA9/0TJ1LxGOJx1TdPzSbBBnNED7K9Ka8ybJsnEpiXPktolTLg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/type-utils": "8.18.2", - "@typescript-eslint/utils": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/scope-manager": "8.19.1", + "@typescript-eslint/type-utils": "8.19.1", + "@typescript-eslint/utils": "8.19.1", + "@typescript-eslint/visitor-keys": "8.19.1", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1570,16 +1587,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.18.2.tgz", - "integrity": "sha512-y7tcq4StgxQD4mDr9+Jb26dZ+HTZ/SkfqpXSiqeUXZHxOUyjWDKsmwKhJ0/tApR08DgOhrFAoAhyB80/p3ViuA==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.19.1.tgz", + "integrity": "sha512-67gbfv8rAwawjYx3fYArwldTQKoYfezNUT4D5ioWetr/xCrxXxvleo3uuiFuKfejipvq+og7mjz3b0G2bVyUCw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/scope-manager": "8.19.1", + "@typescript-eslint/types": "8.19.1", + "@typescript-eslint/typescript-estree": "8.19.1", + "@typescript-eslint/visitor-keys": "8.19.1", "debug": "^4.3.4" }, "engines": { @@ -1595,14 +1612,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.18.2.tgz", - "integrity": "sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.19.1.tgz", + "integrity": "sha512-60L9KIuN/xgmsINzonOcMDSB8p82h95hoBfSBtXuO4jlR1R9L1xSkmVZKgCPVfavDlXihh4ARNjXhh1gGnLC7Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2" + "@typescript-eslint/types": "8.19.1", + "@typescript-eslint/visitor-keys": "8.19.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1613,16 +1630,16 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.18.2.tgz", - "integrity": "sha512-AB/Wr1Lz31bzHfGm/jgbFR0VB0SML/hd2P1yxzKDM48YmP7vbyJNHRExUE/wZsQj2wUCvbWH8poNHFuxLqCTnA==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.19.1.tgz", + "integrity": "sha512-Rp7k9lhDKBMRJB/nM9Ksp1zs4796wVNyihG9/TU9R6KCJDNkQbc2EOKjrBtLYh3396ZdpXLtr/MkaSEmNMtykw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.18.2", - "@typescript-eslint/utils": "8.18.2", + "@typescript-eslint/typescript-estree": "8.19.1", + "@typescript-eslint/utils": "8.19.1", "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1637,9 +1654,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.18.2.tgz", - "integrity": "sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.19.1.tgz", + "integrity": "sha512-JBVHMLj7B1K1v1051ZaMMgLW4Q/jre5qGK0Ew6UgXz1Rqh+/xPzV1aW581OM00X6iOfyr1be+QyW8LOUf19BbA==", "dev": true, "license": "MIT", "engines": { @@ -1651,20 +1668,20 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.18.2.tgz", - "integrity": "sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.19.1.tgz", + "integrity": "sha512-jk/TZwSMJlxlNnqhy0Eod1PNEvCkpY6MXOXE/WLlblZ6ibb32i2We4uByoKPv1d0OD2xebDv4hbs3fm11SMw8Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/visitor-keys": "8.18.2", + "@typescript-eslint/types": "8.19.1", + "@typescript-eslint/visitor-keys": "8.19.1", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1678,16 +1695,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.18.2.tgz", - "integrity": "sha512-Cr4A0H7DtVIPkauj4sTSXVl+VBWewE9/o40KcF3TV9aqDEOWoXF3/+oRXNby3DYzZeCATvbdksYsGZzplwnK/Q==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.19.1.tgz", + "integrity": "sha512-IxG5gLO0Ne+KaUc8iW1A+XuKLd63o4wlbI1Zp692n1xojCl/THvgIKXJXBZixTh5dd5+yTJ/VXH7GJaaw21qXA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.18.2", - "@typescript-eslint/types": "8.18.2", - "@typescript-eslint/typescript-estree": "8.18.2" + "@typescript-eslint/scope-manager": "8.19.1", + "@typescript-eslint/types": "8.19.1", + "@typescript-eslint/typescript-estree": "8.19.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -1702,13 +1719,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.18.2.tgz", - "integrity": "sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==", + "version": "8.19.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.19.1.tgz", + "integrity": "sha512-fzmjU8CHK853V/avYZAvuVut3ZTfwN5YtMaoi+X9Y9MA9keaWNHC3zEQ9zvyX/7Hj+5JkNyK1l7TOR2hevHB6Q==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.18.2", + "@typescript-eslint/types": "8.19.1", "eslint-visitor-keys": "^4.2.0" }, "engines": { @@ -2368,9 +2385,9 @@ } }, "node_modules/esbuild": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.24.0.tgz", - "integrity": "sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ==", + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.24.2.tgz", + "integrity": "sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -2381,30 +2398,31 @@ "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.24.0", - "@esbuild/android-arm": "0.24.0", - "@esbuild/android-arm64": "0.24.0", - "@esbuild/android-x64": "0.24.0", - "@esbuild/darwin-arm64": "0.24.0", - "@esbuild/darwin-x64": "0.24.0", - "@esbuild/freebsd-arm64": "0.24.0", - "@esbuild/freebsd-x64": "0.24.0", - "@esbuild/linux-arm": "0.24.0", - "@esbuild/linux-arm64": "0.24.0", - "@esbuild/linux-ia32": "0.24.0", - "@esbuild/linux-loong64": "0.24.0", - "@esbuild/linux-mips64el": "0.24.0", - "@esbuild/linux-ppc64": "0.24.0", - "@esbuild/linux-riscv64": "0.24.0", - "@esbuild/linux-s390x": "0.24.0", - "@esbuild/linux-x64": "0.24.0", - "@esbuild/netbsd-x64": "0.24.0", - "@esbuild/openbsd-arm64": "0.24.0", - "@esbuild/openbsd-x64": "0.24.0", - "@esbuild/sunos-x64": "0.24.0", - "@esbuild/win32-arm64": "0.24.0", - "@esbuild/win32-ia32": "0.24.0", - "@esbuild/win32-x64": "0.24.0" + "@esbuild/aix-ppc64": "0.24.2", + "@esbuild/android-arm": "0.24.2", + "@esbuild/android-arm64": "0.24.2", + "@esbuild/android-x64": "0.24.2", + "@esbuild/darwin-arm64": "0.24.2", + "@esbuild/darwin-x64": "0.24.2", + "@esbuild/freebsd-arm64": "0.24.2", + "@esbuild/freebsd-x64": "0.24.2", + "@esbuild/linux-arm": "0.24.2", + "@esbuild/linux-arm64": "0.24.2", + "@esbuild/linux-ia32": "0.24.2", + "@esbuild/linux-loong64": "0.24.2", + "@esbuild/linux-mips64el": "0.24.2", + "@esbuild/linux-ppc64": "0.24.2", + "@esbuild/linux-riscv64": "0.24.2", + "@esbuild/linux-s390x": "0.24.2", + "@esbuild/linux-x64": "0.24.2", + "@esbuild/netbsd-arm64": "0.24.2", + "@esbuild/netbsd-x64": "0.24.2", + "@esbuild/openbsd-arm64": "0.24.2", + "@esbuild/openbsd-x64": "0.24.2", + "@esbuild/sunos-x64": "0.24.2", + "@esbuild/win32-arm64": "0.24.2", + "@esbuild/win32-ia32": "0.24.2", + "@esbuild/win32-x64": "0.24.2" } }, "node_modules/escalade": { @@ -2854,9 +2872,9 @@ "license": "MIT" }, "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", "dev": true, "license": "MIT", "dependencies": { @@ -2864,7 +2882,7 @@ "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "micromatch": "^4.0.8" }, "engines": { "node": ">=8.6.0" @@ -4486,9 +4504,9 @@ } }, "node_modules/rollup": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.29.1.tgz", - "integrity": "sha512-RaJ45M/kmJUzSWDs1Nnd5DdV4eerC98idtUOVr6FfKcgxqvjwHmxc5upLF9qZU9EpsVzzhleFahrT3shLuJzIw==", + "version": "4.30.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.30.0.tgz", + "integrity": "sha512-sDnr1pcjTgUT69qBksNF1N1anwfbyYG6TBQ22b03bII8EdiUQ7J0TlozVaTMjT/eEJAO49e1ndV7t+UZfL1+vA==", "dev": true, "license": "MIT", "dependencies": { @@ -4502,25 +4520,25 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.29.1", - "@rollup/rollup-android-arm64": "4.29.1", - "@rollup/rollup-darwin-arm64": "4.29.1", - "@rollup/rollup-darwin-x64": "4.29.1", - "@rollup/rollup-freebsd-arm64": "4.29.1", - "@rollup/rollup-freebsd-x64": "4.29.1", - "@rollup/rollup-linux-arm-gnueabihf": "4.29.1", - "@rollup/rollup-linux-arm-musleabihf": "4.29.1", - "@rollup/rollup-linux-arm64-gnu": "4.29.1", - "@rollup/rollup-linux-arm64-musl": "4.29.1", - "@rollup/rollup-linux-loongarch64-gnu": "4.29.1", - "@rollup/rollup-linux-powerpc64le-gnu": "4.29.1", - "@rollup/rollup-linux-riscv64-gnu": "4.29.1", - "@rollup/rollup-linux-s390x-gnu": "4.29.1", - "@rollup/rollup-linux-x64-gnu": "4.29.1", - "@rollup/rollup-linux-x64-musl": "4.29.1", - "@rollup/rollup-win32-arm64-msvc": "4.29.1", - "@rollup/rollup-win32-ia32-msvc": "4.29.1", - "@rollup/rollup-win32-x64-msvc": "4.29.1", + "@rollup/rollup-android-arm-eabi": "4.30.0", + "@rollup/rollup-android-arm64": "4.30.0", + "@rollup/rollup-darwin-arm64": "4.30.0", + "@rollup/rollup-darwin-x64": "4.30.0", + "@rollup/rollup-freebsd-arm64": "4.30.0", + "@rollup/rollup-freebsd-x64": "4.30.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.30.0", + "@rollup/rollup-linux-arm-musleabihf": "4.30.0", + "@rollup/rollup-linux-arm64-gnu": "4.30.0", + "@rollup/rollup-linux-arm64-musl": "4.30.0", + "@rollup/rollup-linux-loongarch64-gnu": "4.30.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.30.0", + "@rollup/rollup-linux-riscv64-gnu": "4.30.0", + "@rollup/rollup-linux-s390x-gnu": "4.30.0", + "@rollup/rollup-linux-x64-gnu": "4.30.0", + "@rollup/rollup-linux-x64-musl": "4.30.0", + "@rollup/rollup-win32-arm64-msvc": "4.30.0", + "@rollup/rollup-win32-ia32-msvc": "4.30.0", + "@rollup/rollup-win32-x64-msvc": "4.30.0", "fsevents": "~2.3.2" } }, @@ -4843,9 +4861,9 @@ } }, "node_modules/svelte": { - "version": "5.16.0", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.16.0.tgz", - "integrity": "sha512-Ygqsiac6UogVED2ruKclU+pOeMThxWtp9LG+li7BXeDKC2paVIsRTMkNmcON4Zejerd1s5sZHWx6ZtU85xklVg==", + "version": "5.16.2", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.16.2.tgz", + "integrity": "sha512-S4mKWbjv53ik1NtGuO95TC7kBA8GYBIeT9fM6y2wHdLNqdCmPXJSWLVuO7vlJZ7TUksp+6qnvqCCtWnVXeTCyw==", "dev": true, "license": "MIT", "dependencies": { @@ -5296,16 +5314,16 @@ } }, "node_modules/ts-api-utils": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz", - "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.0.tgz", + "integrity": "sha512-xCt/TOAc+EOHS1XPnijD3/yzpH6qg2xppZO1YDqGoVsNXfQfzHpOdNuXwrwOU8u4ITXJyDCTyt8w5g1sZv9ynQ==", "dev": true, "license": "MIT", "engines": { - "node": ">=16" + "node": ">=18.12" }, "peerDependencies": { - "typescript": ">=4.2.0" + "typescript": ">=4.8.4" } }, "node_modules/ts-interface-checker": { @@ -5419,13 +5437,13 @@ } }, "node_modules/vite": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/vite/-/vite-6.0.5.tgz", - "integrity": "sha512-akD5IAH/ID5imgue2DYhzsEwCi0/4VKY31uhMLEYJwPP4TiUp8pL5PIK+Wo7H8qT8JY9i+pVfPydcFPYD1EL7g==", + "version": "6.0.7", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.0.7.tgz", + "integrity": "sha512-RDt8r/7qx9940f8FcOIAH9PTViRrghKaK2K1jY3RaAURrEUbm9Du1mJ72G+jlhtG3WwodnfzY8ORQZbBavZEAQ==", "dev": true, "license": "MIT", "dependencies": { - "esbuild": "0.24.0", + "esbuild": "^0.24.2", "postcss": "^8.4.49", "rollup": "^4.23.0" }, @@ -5522,9 +5540,9 @@ } }, "node_modules/vitefu": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.0.4.tgz", - "integrity": "sha512-y6zEE3PQf6uu/Mt6DTJ9ih+kyJLr4XcSgHR2zUkM8SWDhuixEJxfJ6CZGMHh1Ec3vPLoEA0IHU5oWzVqw8ulow==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.0.5.tgz", + "integrity": "sha512-h4Vflt9gxODPFNGPwp4zAMZRpZR7eslzwH2c5hn5kNZ5rhnKyRJ50U+yGCdc2IRaBs8O4haIgLNGrV5CrpMsCA==", "dev": true, "license": "MIT", "workspaces": [ @@ -5662,9 +5680,9 @@ } }, "node_modules/yaml": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.1.tgz", - "integrity": "sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.0.tgz", + "integrity": "sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==", "dev": true, "license": "ISC", "bin": { diff --git a/demo/svelte/package.json b/demo/svelte/package.json index 11940cc..5943726 100644 --- a/demo/svelte/package.json +++ b/demo/svelte/package.json @@ -24,8 +24,8 @@ "@rollup/plugin-swc": "^0.4.0", "@sveltejs/vite-plugin-svelte": "^5.0.3", "@tsconfig/svelte": "^5.0.4", - "@typescript-eslint/eslint-plugin": "^8.18.2", - "@typescript-eslint/parser": "^8.18.2", + "@typescript-eslint/eslint-plugin": "^8.19.1", + "@typescript-eslint/parser": "^8.19.1", "autoprefixer": "^10.4.20", "eslint": "^9.17.0", "eslint-config-prettier": "^9.1.0", @@ -40,13 +40,13 @@ "postcss-load-config": "^6.0.1", "prettier": "^3.4.2", "prettier-plugin-svelte": "^3.3.2", - "svelte": "^5.16.0", + "svelte": "^5.16.2", "svelte-check": "^4.1.1", "svelte-preprocess": "^6.0.3", "tailwindcss": "^3.4.17", "tslib": "^2.8.1", "typescript": "^5.7.2", - "vite": "^6.0.5", + "vite": "^6.0.7", "vite-plugin-tailwind-purgecss": "^0.3.5" } } From 970a4ddeefa2c4c4a4ad01f6a0933f8f29867eff Mon Sep 17 00:00:00 2001 From: BCsabaEngine Date: Mon, 6 Jan 2025 20:35:35 +0100 Subject: [PATCH 3/3] feat: cachetime command line option --- CHANGELOG.md | 6 +++++ README.md | 9 +++++++ demo/esp32/platformio.ini | 1 + package-lock.json | 4 +-- package.json | 2 +- package.script | 54 +++++++++++++++++++-------------------- src/commandLine.ts | 6 +++++ src/cppCode.ts | 31 ++++++++++++++++++++++ 8 files changed, 83 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64725b9..5682a72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change log +## 1.7 + +### 1.7.0 + +- Using the cachetime command line option, you can set whether the browser can cache pages. Together with the ETag switch, you can replace the default no-cache response with a max-age=xy response. + ## 1.6 ### 1.6.1 diff --git a/README.md b/README.md index 718b86e..4025fa6 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ In order to be able to easily update OTA, it is important - from the users' poin This npm package provides a solution for **inserting any JS client application into the ESP web server** (PsychicHttp and also ESPAsyncWebServer available, PsychicHttp is the default). For this, JS, html, css, font, assets, etc. files must be converted to binary byte array. Npm mode is easy to use and easy to **integrate into your CI/CD pipeline**. +> Starting with version v1.7.0, with the cachetime command line option, you can set whether the browser can cache pages + > Starting with version v1.6.0, mime npm package is used instead of mime-types (application/javascript -> text/javascript) > Starting with version v1.5.0, PsychicHttp v2 is also supported. @@ -176,6 +178,12 @@ The use of ETag is **not enabled by default**, this can be achieved with the `-- > This setting has three states: yes, no, and compiler mode is available. In compiler mode, you can disable/enable ETag by setting the `SVELTEESP32_ENABLE_ETAG` c++ compiler directive. For example, if using platformio, just type `-D SVELTEESP32_ENABLE_ETAG`. +### Cache-control + +By default (when using the ETag), we send no-cache in the cache-control header of the HTTP response. Pages, subpages and other elements are downloaded every time. This is perfectly acceptable when serving small pages with ESP. + +At the same time, it can be an advantage that the content is cached by the browser and not even the ETag check is performed. For this, you can specify how many seconds the max-age value sent instead of no-cache should be. In the case of `--cachetime=86400` (max-age=86400), the page (and other elements) will not be downloaded by the browser **for one day**. + ### Main entry point - index.html Typically, the entry point for web applications is the **index.htm or index.html** file. This does not need to be listed in the browser's address bar because web servers know that this file should be served by default. Svelteesp32 also does this: if there is an index.htm or index.html file, it sets it as the main file to be served. So using `http://esp_xxx.local` or just entering the `http://x.y.w.z/` IP address will serve this main file. @@ -230,6 +238,7 @@ You can use the following c++ directives at the project level if you want to con | `-e` | The engine for which the include file is created (psychic/psychic2/async) | psychic | | `-o` | Generated output file with path | `svelteesp32.h` | | `--etag` | Use ETag header for cache (true/false/compiler) | false | +| `--cachetime` | Override no-cache response with a max-age= response | 0 | | `--gzip` | Compress content with gzip (true/false/compiler) | true | | `--created` | Include creation time | false | | `--version` | Include a version string, `--version=v$npm_package_version` | '' | diff --git a/demo/esp32/platformio.ini b/demo/esp32/platformio.ini index a85cf3b..8f4c09d 100644 --- a/demo/esp32/platformio.ini +++ b/demo/esp32/platformio.ini @@ -1,6 +1,7 @@ [env] platform = espressif32 board = wemos_d1_mini32 +#board = lolin_s3_mini framework = arduino diff --git a/package-lock.json b/package-lock.json index e6f5650..e8e8042 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "svelteesp32", - "version": "1.6.1", + "version": "1.7.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "svelteesp32", - "version": "1.6.1", + "version": "1.7.0", "license": "ISC", "dependencies": { "glob": "^11.0.0", diff --git a/package.json b/package.json index 339fd59..a0d3e50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelteesp32", - "version": "1.6.1", + "version": "1.7.0", "description": "Convert Svelte (or any frontend) JS application to serve it from ESP32 webserver (PsychicHttp)", "author": "BCsabaEngine", "license": "ISC", diff --git a/package.script b/package.script index 664ac2e..316fa84 100755 --- a/package.script +++ b/package.script @@ -1,29 +1,29 @@ -npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/_/svelteesp32async.h --etag=false --gzip=false -npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/g/svelteesp32async.h --etag=false --gzip=true -npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/gc/svelteesp32async.h --etag=false --gzip=compiler -npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/e/svelteesp32async.h --etag=true --gzip=false -npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/eg/svelteesp32async.h --etag=true --gzip=true -npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/egc/svelteesp32async.h --etag=true --gzip=compiler -npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/ec/svelteesp32async.h --etag=compiler --gzip=false -npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/ecg/svelteesp32async.h --etag=compiler --gzip=true -npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/ecgc/svelteesp32async.h --etag=compiler --gzip=compiler +npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/_/svelteesp32async.h --etag=false --gzip=false --cachetime=86400 +npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/g/svelteesp32async.h --etag=false --gzip=true --cachetime=86400 +npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/gc/svelteesp32async.h --etag=false --gzip=compiler --cachetime=86400 +npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/e/svelteesp32async.h --etag=true --gzip=false --cachetime=86400 +npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/eg/svelteesp32async.h --etag=true --gzip=true --cachetime=86400 +npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/egc/svelteesp32async.h --etag=true --gzip=compiler --cachetime=86400 +npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/ec/svelteesp32async.h --etag=compiler --gzip=false --cachetime=86400 +npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/ecg/svelteesp32async.h --etag=compiler --gzip=true --cachetime=86400 +npx tsx src/index.ts -e async -s ./demo/svelte/dist -o ./demo/esp32/include/ecgc/svelteesp32async.h --etag=compiler --gzip=compiler --cachetime=86400 -npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/_/svelteesp32psychic.h --etag=false --gzip=false -npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/g/svelteesp32psychic.h --etag=false --gzip=true -npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/gc/svelteesp32psychic.h --etag=false --gzip=compiler -npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/e/svelteesp32psychic.h --etag=true --gzip=false -npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/eg/svelteesp32psychic.h --etag=true --gzip=true -npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/egc/svelteesp32psychic.h --etag=true --gzip=compiler -npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/ec/svelteesp32psychic.h --etag=compiler --gzip=false -npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/ecg/svelteesp32psychic.h --etag=compiler --gzip=true -npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/ecgc/svelteesp32psychic.h --etag=compiler --gzip=compiler +npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/_/svelteesp32psychic.h --etag=false --gzip=false --cachetime=86400 +npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/g/svelteesp32psychic.h --etag=false --gzip=true --cachetime=86400 +npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/gc/svelteesp32psychic.h --etag=false --gzip=compiler --cachetime=86400 +npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/e/svelteesp32psychic.h --etag=true --gzip=false --cachetime=86400 +npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/eg/svelteesp32psychic.h --etag=true --gzip=true --cachetime=86400 +npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/egc/svelteesp32psychic.h --etag=true --gzip=compiler --cachetime=86400 +npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/ec/svelteesp32psychic.h --etag=compiler --gzip=false --cachetime=86400 +npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/ecg/svelteesp32psychic.h --etag=compiler --gzip=true --cachetime=86400 +npx tsx src/index.ts -e psychic -s ./demo/svelte/dist -o ./demo/esp32/include/ecgc/svelteesp32psychic.h --etag=compiler --gzip=compiler --cachetime=86400 -npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/_/svelteesp32psychic2.h --etag=false --gzip=false -npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/g/svelteesp32psychic2.h --etag=false --gzip=true -npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/gc/svelteesp32psychic2.h --etag=false --gzip=compiler -npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/e/svelteesp32psychic2.h --etag=true --gzip=false -npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/eg/svelteesp32psychic2.h --etag=true --gzip=true -npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/egc/svelteesp32psychic2.h --etag=true --gzip=compiler -npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/ec/svelteesp32psychic2.h --etag=compiler --gzip=false -npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/ecg/svelteesp32psychic2.h --etag=compiler --gzip=true -npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/ecgc/svelteesp32psychic2.h --etag=compiler --gzip=compiler +npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/_/svelteesp32psychic2.h --etag=false --gzip=false --cachetime=86400 +npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/g/svelteesp32psychic2.h --etag=false --gzip=true --cachetime=86400 +npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/gc/svelteesp32psychic2.h --etag=false --gzip=compiler --cachetime=86400 +npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/e/svelteesp32psychic2.h --etag=true --gzip=false --cachetime=86400 +npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/eg/svelteesp32psychic2.h --etag=true --gzip=true --cachetime=86400 +npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/egc/svelteesp32psychic2.h --etag=true --gzip=compiler --cachetime=86400 +npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/ec/svelteesp32psychic2.h --etag=compiler --gzip=false --cachetime=86400 +npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/ecg/svelteesp32psychic2.h --etag=compiler --gzip=true --cachetime=86400 +npx tsx src/index.ts -e psychic2 -s ./demo/svelte/dist -o ./demo/esp32/include/ecgc/svelteesp32psychic2.h --etag=compiler --gzip=compiler --cachetime=86400 diff --git a/src/commandLine.ts b/src/commandLine.ts index ac0cdc3..c5a33be 100644 --- a/src/commandLine.ts +++ b/src/commandLine.ts @@ -10,6 +10,7 @@ interface ICopyFilesArguments { define: string; gzip: 'true' | 'false' | 'compiler'; etag: 'true' | 'false' | 'compiler'; + cachetime: number; created: boolean; version: string; help?: boolean; @@ -79,6 +80,11 @@ export const cmdLine = parse( description: 'Prefix of c++ defines', defaultValue: 'SVELTEESP32' }, + cachetime: { + type: Number, + description: 'max-age cache time in seconds', + defaultValue: 0 + }, help: { type: Boolean, optional: true, alias: 'h', description: 'Shows this help' } }, { diff --git a/src/cppCode.ts b/src/cppCode.ts index 6f50d21..50df0a0 100644 --- a/src/cppCode.ts +++ b/src/cppCode.ts @@ -168,12 +168,22 @@ void {{methodName}}(PsychicHttpServer * server) { {{#switch ../etag}} {{#case "true"}} +{{#../cacheTime}} + response.addHeader("cache-control", "max-age={{value}}"); +{{/../cacheTime}} +{{^../cacheTime}} response.addHeader("cache-control", "no-cache"); +{{/../cacheTime}} response.addHeader("ETag", etag_{{this.dataname}}); {{/case}} {{#case "compiler"}} #ifdef {{../definePrefix}}_ENABLE_ETAG +{{#../cacheTime}} + response.addHeader("cache-control", "max-age={{value}}"); +{{/../cacheTime}} +{{^../cacheTime}} response.addHeader("cache-control", "no-cache"); +{{/../cacheTime}} response.addHeader("ETag", etag_{{this.dataname}}); #endif {{/case}} @@ -345,12 +355,22 @@ void {{methodName}}(PsychicHttpServer * server) { {{#switch ../etag}} {{#case "true"}} +{{#../cacheTime}} + response->addHeader("cache-control", "max-age={{value}}"); +{{/../cacheTime}} +{{^../cacheTime}} response->addHeader("cache-control", "no-cache"); +{{/../cacheTime}} response->addHeader("ETag", etag_{{this.dataname}}); {{/case}} {{#case "compiler"}} #ifdef {{../definePrefix}}_ENABLE_ETAG +{{#../cacheTime}} + response->addHeader("cache-control", "max-age={{value}}"); +{{/../cacheTime}} +{{^../cacheTime}} response->addHeader("cache-control", "no-cache"); +{{/../cacheTime}} response->addHeader("ETag", etag_{{this.dataname}}); #endif {{/case}} @@ -526,12 +546,22 @@ void {{methodName}}(AsyncWebServer * server) { {{#switch ../etag}} {{#case "true"}} +{{#../cacheTime}} + response->addHeader("cache-control", "max-age={{value}}"); +{{/../cacheTime}} +{{^../cacheTime}} response->addHeader("cache-control", "no-cache"); +{{/../cacheTime}} response->addHeader("ETag", etag_{{this.dataname}}); {{/case}} {{#case "compiler"}} #ifdef {{../definePrefix}}_ENABLE_ETAG +{{#../cacheTime}} + response->addHeader("cache-control", "max-age={{value}}"); +{{/../cacheTime}} +{{^../cacheTime}} response->addHeader("cache-control", "no-cache"); +{{/../cacheTime}} response->addHeader("ETag", etag_{{this.dataname}}); #endif {{/case}} @@ -572,6 +602,7 @@ export const getCppCode = (sources: CppCodeSources, filesByExtension: ExtensionG created: cmdLine.created, version: cmdLine.version, methodName: cmdLine.espmethod, + cacheTime: cmdLine.cachetime ? { value: cmdLine.cachetime } : undefined, definePrefix: cmdLine.define }, {