From 9e990864ee26218482925ab04852a71d07f23698 Mon Sep 17 00:00:00 2001 From: Pascal Baljet Date: Fri, 14 Oct 2022 17:17:24 +0200 Subject: [PATCH] Version bump --- app/package-lock.json | 736 +++++----- app/package.json | 2 +- dist/protone-media-laravel-splade.js | 1576 +++++++++++---------- dist/protone-media-laravel-splade.umd.cjs | 12 +- package-lock.json | 704 +++++---- package.json | 2 +- src/Commands/SpladeInstallCommand.php | 2 +- 7 files changed, 1552 insertions(+), 1482 deletions(-) diff --git a/app/package-lock.json b/app/package-lock.json index e6abaf76..c0f7a106 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "devDependencies": { - "@protonemedia/laravel-splade": "file:../protonemedia-laravel-splade-0.5.11.tgz", + "@protonemedia/laravel-splade": "file:../protonemedia-laravel-splade-0.6.0.tgz", "@tailwindcss/forms": "^0.5.2", "@tailwindcss/typography": "^0.5.2", "@vitejs/plugin-vue": "^3.0.0", @@ -22,9 +22,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.3.tgz", - "integrity": "sha512-pJ9xOlNWHiy9+FuFP09DEAFbAn4JskgRsVcc169w2xRBC3FRGuQEwjeIMMND9L2zc0iEhO/tGv4Zq+km+hxNpQ==", + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.4.tgz", + "integrity": "sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -34,9 +34,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz", - "integrity": "sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA==", + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz", + "integrity": "sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA==", "dev": true, "dependencies": { "regenerator-runtime": "^0.13.4" @@ -46,9 +46,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.15.10.tgz", - "integrity": "sha512-FNONeQPy/ox+5NBkcSbYJxoXj9GWu8gVGJTVmUyoOCKQFDTrHVKgNSzChdNt0I8Aj/iKcsDf2r9BFwv+FSNUXg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.15.11.tgz", + "integrity": "sha512-PzMcQLazLBkwDEkrNPi9AbjFt6+3I7HKbiYF2XtWQ7wItrHvEOeO3T8Am434zAozWtVP7lrTue1bEfc2nYWeCA==", "cpu": [ "arm" ], @@ -62,9 +62,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.10.tgz", - "integrity": "sha512-w0Ou3Z83LOYEkwaui2M8VwIp+nLi/NA60lBLMvaJ+vXVMcsARYdEzLNE7RSm4+lSg4zq4d7fAVuzk7PNQ5JFgg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.11.tgz", + "integrity": "sha512-geWp637tUhNmhL3Xgy4Bj703yXB9dqiLJe05lCUfjSFDrQf9C/8pArusyPUbUbPwlC/EAUjBw32sxuIl/11dZw==", "cpu": [ "loong64" ], @@ -113,9 +113,9 @@ } }, "node_modules/@protonemedia/laravel-splade": { - "version": "0.5.11", - "resolved": "file:../protonemedia-laravel-splade-0.5.11.tgz", - "integrity": "sha512-j/A10iRTHCxmj4BFD/w6WofXzJ3XTR65nXKZUySzwpdOBuWtEUYRCgw2A4cR3/PWp+wt6/wcM4O22zbchlXJEg==", + "version": "0.6.0", + "resolved": "file:../protonemedia-laravel-splade-0.6.0.tgz", + "integrity": "sha512-E8KqXnH/WkUzEw4FQw6aJPY3gfHJvTXxP7dlbA+c+abyQUO6fO9Iuqm7phIcnEbD4xMs3nFBc7fo6iAlRidS7w==", "dev": true, "license": "MIT", "dependencies": { @@ -157,9 +157,9 @@ } }, "node_modules/@types/node": { - "version": "14.18.31", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.31.tgz", - "integrity": "sha512-vQAnaReSQkEDa8uwAyQby8bYGKu84R/deEc6mg5T8fX6gzCn8QW6rziSgsti1fNvsrswKUKPnVTi7uoB+u62Mw==", + "version": "14.18.32", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.32.tgz", + "integrity": "sha512-Y6S38pFr04yb13qqHf8uk1nHE3lXgQ30WZbv1mLliV9pt0NjvqdWttLcrOYLnXbOafknVYRHZGoMSpR9UwfYow==", "dev": true }, "node_modules/@vitejs/plugin-vue": { @@ -176,39 +176,39 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.40.tgz", - "integrity": "sha512-2Dc3Stk0J/VyQ4OUr2yEC53kU28614lZS+bnrCbFSAIftBJ40g/2yQzf4mPBiFuqguMB7hyHaujdgZAQ67kZYA==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.41.tgz", + "integrity": "sha512-oA4mH6SA78DT+96/nsi4p9DX97PHcNROxs51lYk7gb9Z4BPKQ3Mh+BLn6CQZBw857Iuhu28BfMSRHAlPvD4vlw==", "dev": true, "dependencies": { "@babel/parser": "^7.16.4", - "@vue/shared": "3.2.40", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "source-map": "^0.6.1" } }, "node_modules/@vue/compiler-dom": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.40.tgz", - "integrity": "sha512-OZCNyYVC2LQJy4H7h0o28rtk+4v+HMQygRTpmibGoG9wZyomQiS5otU7qo3Wlq5UfHDw2RFwxb9BJgKjVpjrQw==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.41.tgz", + "integrity": "sha512-xe5TbbIsonjENxJsYRbDJvthzqxLNk+tb3d/c47zgREDa/PCp6/Y4gC/skM4H6PIuX5DAxm7fFJdbjjUH2QTMw==", "dev": true, "dependencies": { - "@vue/compiler-core": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-core": "3.2.41", + "@vue/shared": "3.2.41" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.40.tgz", - "integrity": "sha512-tzqwniIN1fu1PDHC3CpqY/dPCfN/RN1thpBC+g69kJcrl7mbGiHKNwbA6kJ3XKKy8R6JLKqcpVugqN4HkeBFFg==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.41.tgz", + "integrity": "sha512-+1P2m5kxOeaxVmJNXnBskAn3BenbTmbxBxWOtBq3mQTCokIreuMULFantBUclP0+KnzNCMOvcnKinqQZmiOF8w==", "dev": true, "dependencies": { "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.40", - "@vue/compiler-dom": "3.2.40", - "@vue/compiler-ssr": "3.2.40", - "@vue/reactivity-transform": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/compiler-core": "3.2.41", + "@vue/compiler-dom": "3.2.41", + "@vue/compiler-ssr": "3.2.41", + "@vue/reactivity-transform": "3.2.41", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "magic-string": "^0.25.7", "postcss": "^8.1.10", @@ -216,75 +216,75 @@ } }, "node_modules/@vue/compiler-ssr": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.40.tgz", - "integrity": "sha512-80cQcgasKjrPPuKcxwuCx7feq+wC6oFl5YaKSee9pV3DNq+6fmCVwEEC3vvkf/E2aI76rIJSOYHsWSEIxK74oQ==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.41.tgz", + "integrity": "sha512-Y5wPiNIiaMz/sps8+DmhaKfDm1xgj6GrH99z4gq2LQenfVQcYXmHIOBcs5qPwl7jaW3SUQWjkAPKMfQemEQZwQ==", "dev": true, "dependencies": { - "@vue/compiler-dom": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-dom": "3.2.41", + "@vue/shared": "3.2.41" } }, "node_modules/@vue/reactivity": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.40.tgz", - "integrity": "sha512-N9qgGLlZmtUBMHF9xDT4EkD9RdXde1Xbveb+niWMXuHVWQP5BzgRmE3SFyUBBcyayG4y1lhoz+lphGRRxxK4RA==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.41.tgz", + "integrity": "sha512-9JvCnlj8uc5xRiQGZ28MKGjuCoPhhTwcoAdv3o31+cfGgonwdPNuvqAXLhlzu4zwqavFEG5tvaoINQEfxz+l6g==", "dev": true, "dependencies": { - "@vue/shared": "3.2.40" + "@vue/shared": "3.2.41" } }, "node_modules/@vue/reactivity-transform": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.40.tgz", - "integrity": "sha512-HQUCVwEaacq6fGEsg2NUuGKIhUveMCjOk8jGHqLXPI2w6zFoPrlQhwWEaINTv5kkZDXKEnCijAp+4gNEHG03yw==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.41.tgz", + "integrity": "sha512-mK5+BNMsL4hHi+IR3Ft/ho6Za+L3FA5j8WvreJ7XzHrqkPq8jtF/SMo7tuc9gHjLDwKZX1nP1JQOKo9IEAn54A==", "dev": true, "dependencies": { "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/compiler-core": "3.2.41", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "magic-string": "^0.25.7" } }, "node_modules/@vue/runtime-core": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.40.tgz", - "integrity": "sha512-U1+rWf0H8xK8aBUZhnrN97yoZfHbjgw/bGUzfgKPJl69/mXDuSg8CbdBYBn6VVQdR947vWneQBFzdhasyzMUKg==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.41.tgz", + "integrity": "sha512-0LBBRwqnI0p4FgIkO9q2aJBBTKDSjzhnxrxHYengkAF6dMOjeAIZFDADAlcf2h3GDALWnblbeprYYpItiulSVQ==", "dev": true, "dependencies": { - "@vue/reactivity": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/reactivity": "3.2.41", + "@vue/shared": "3.2.41" } }, "node_modules/@vue/runtime-dom": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.40.tgz", - "integrity": "sha512-AO2HMQ+0s2+MCec8hXAhxMgWhFhOPJ/CyRXnmTJ6XIOnJFLrH5Iq3TNwvVcODGR295jy77I6dWPj+wvFoSYaww==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.41.tgz", + "integrity": "sha512-U7zYuR1NVIP8BL6jmOqmapRAHovEFp7CSw4pR2FacqewXNGqZaRfHoNLQsqQvVQ8yuZNZtxSZy0FFyC70YXPpA==", "dev": true, "dependencies": { - "@vue/runtime-core": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/runtime-core": "3.2.41", + "@vue/shared": "3.2.41", "csstype": "^2.6.8" } }, "node_modules/@vue/server-renderer": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.40.tgz", - "integrity": "sha512-gtUcpRwrXOJPJ4qyBpU3EyxQa4EkV8I4f8VrDePcGCPe4O/hd0BPS7v9OgjIQob6Ap8VDz9G+mGTKazE45/95w==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.41.tgz", + "integrity": "sha512-7YHLkfJdTlsZTV0ae5sPwl9Gn/EGr2hrlbcS/8naXm2CDpnKUwC68i1wGlrYAfIgYWL7vUZwk2GkYLQH5CvFig==", "dev": true, "dependencies": { - "@vue/compiler-ssr": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-ssr": "3.2.41", + "@vue/shared": "3.2.41" }, "peerDependencies": { - "vue": "3.2.40" + "vue": "3.2.41" } }, "node_modules/@vue/shared": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.40.tgz", - "integrity": "sha512-0PLQ6RUtZM0vO3teRfzGi4ltLUO5aO+kLgwh4Um3THSR03rpQWLTuRCkuO5A41ITzwdWeKdPHtSARuPkoo5pCQ==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.41.tgz", + "integrity": "sha512-W9mfWLHmJhkfAmV+7gDjcHeAWALQtgGT3JErxULl0oz6R6+3ug91I7IErs93eCFhPCZPHBs4QJS7YWEV7A3sxw==", "dev": true }, "node_modules/acorn": { @@ -452,9 +452,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001416", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001416.tgz", - "integrity": "sha512-06wzzdAkCPZO+Qm4e/eNghZBDfVNDsCgw33T27OwBH9unE9S478OYw//Q2L7Npf/zBzs7rjZOszIFQkwQKAEqA==", + "version": "1.0.30001419", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001419.tgz", + "integrity": "sha512-aFO1r+g6R7TW+PNQxKzjITwLOyDhVRLjW0LcwS/HCZGUUKTGNp9+IwLC4xyDSZBygVL/mxaFR3HIV6wEKQuSzw==", "dev": true, "funding": [ { @@ -563,10 +563,13 @@ } }, "node_modules/defined": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ==", - "dev": true + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.1.tgz", + "integrity": "sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/delayed-stream": { "version": "1.0.0", @@ -607,15 +610,15 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.274", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.274.tgz", - "integrity": "sha512-Fgn7JZQzq85I81FpKUNxVLAzoghy8JZJ4NIue+YfUYBbu1AkpgzFvNwzF/ZNZH9ElkmJD0TSWu1F2gTpw/zZlg==", + "version": "1.4.282", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.282.tgz", + "integrity": "sha512-Dki0WhHNh/br/Xi1vAkueU5mtIc9XLHcMKB6tNfQKk+kPG0TEUjRh5QEMAUbRp30/rYNMFD1zKKvbVzwq/4wmg==", "dev": true }, "node_modules/esbuild": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.10.tgz", - "integrity": "sha512-N7wBhfJ/E5fzn/SpNgX+oW2RLRjwaL8Y0ezqNqhjD6w0H2p0rDuEz2FKZqpqLnO8DCaWumKe8dsC/ljvVSSxng==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.11.tgz", + "integrity": "sha512-OgHGuhlfZ//mToxjte1D5iiiQgWfJ2GByVMwEC/IuoXsBGkuyK1+KrjYu0laSpnN/L1UmLUCv0s25vObdc1bVg==", "dev": true, "hasInstallScript": true, "bin": { @@ -625,34 +628,34 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.15.10", - "@esbuild/linux-loong64": "0.15.10", - "esbuild-android-64": "0.15.10", - "esbuild-android-arm64": "0.15.10", - "esbuild-darwin-64": "0.15.10", - "esbuild-darwin-arm64": "0.15.10", - "esbuild-freebsd-64": "0.15.10", - "esbuild-freebsd-arm64": "0.15.10", - "esbuild-linux-32": "0.15.10", - "esbuild-linux-64": "0.15.10", - "esbuild-linux-arm": "0.15.10", - "esbuild-linux-arm64": "0.15.10", - "esbuild-linux-mips64le": "0.15.10", - "esbuild-linux-ppc64le": "0.15.10", - "esbuild-linux-riscv64": "0.15.10", - "esbuild-linux-s390x": "0.15.10", - "esbuild-netbsd-64": "0.15.10", - "esbuild-openbsd-64": "0.15.10", - "esbuild-sunos-64": "0.15.10", - "esbuild-windows-32": "0.15.10", - "esbuild-windows-64": "0.15.10", - "esbuild-windows-arm64": "0.15.10" + "@esbuild/android-arm": "0.15.11", + "@esbuild/linux-loong64": "0.15.11", + "esbuild-android-64": "0.15.11", + "esbuild-android-arm64": "0.15.11", + "esbuild-darwin-64": "0.15.11", + "esbuild-darwin-arm64": "0.15.11", + "esbuild-freebsd-64": "0.15.11", + "esbuild-freebsd-arm64": "0.15.11", + "esbuild-linux-32": "0.15.11", + "esbuild-linux-64": "0.15.11", + "esbuild-linux-arm": "0.15.11", + "esbuild-linux-arm64": "0.15.11", + "esbuild-linux-mips64le": "0.15.11", + "esbuild-linux-ppc64le": "0.15.11", + "esbuild-linux-riscv64": "0.15.11", + "esbuild-linux-s390x": "0.15.11", + "esbuild-netbsd-64": "0.15.11", + "esbuild-openbsd-64": "0.15.11", + "esbuild-sunos-64": "0.15.11", + "esbuild-windows-32": "0.15.11", + "esbuild-windows-64": "0.15.11", + "esbuild-windows-arm64": "0.15.11" } }, "node_modules/esbuild-android-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.10.tgz", - "integrity": "sha512-UI7krF8OYO1N7JYTgLT9ML5j4+45ra3amLZKx7LO3lmLt1Ibn8t3aZbX5Pu4BjWiqDuJ3m/hsvhPhK/5Y/YpnA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.11.tgz", + "integrity": "sha512-rrwoXEiuI1kaw4k475NJpexs8GfJqQUKcD08VR8sKHmuW9RUuTR2VxcupVvHdiGh9ihxL9m3lpqB1kju92Ialw==", "cpu": [ "x64" ], @@ -666,9 +669,9 @@ } }, "node_modules/esbuild-android-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.10.tgz", - "integrity": "sha512-EOt55D6xBk5O05AK8brXUbZmoFj4chM8u3riGflLa6ziEoVvNjRdD7Cnp82NHQGfSHgYR06XsPI8/sMuA/cUwg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.11.tgz", + "integrity": "sha512-/hDubOg7BHOhUUsT8KUIU7GfZm5bihqssvqK5PfO4apag7YuObZRZSzViyEKcFn2tPeHx7RKbSBXvAopSHDZJQ==", "cpu": [ "arm64" ], @@ -682,9 +685,9 @@ } }, "node_modules/esbuild-darwin-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.10.tgz", - "integrity": "sha512-hbDJugTicqIm+WKZgp208d7FcXcaK8j2c0l+fqSJ3d2AzQAfjEYDRM3Z2oMeqSJ9uFxyj/muSACLdix7oTstRA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.11.tgz", + "integrity": "sha512-1DqHD0ms3AhiwkKnjRUzmiW7JnaJJr5FKrPiR7xuyMwnjDqvNWDdMq4rKSD9OC0piFNK6n0LghsglNMe2MwJtA==", "cpu": [ "x64" ], @@ -698,9 +701,9 @@ } }, "node_modules/esbuild-darwin-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.10.tgz", - "integrity": "sha512-M1t5+Kj4IgSbYmunf2BB6EKLkWUq+XlqaFRiGOk8bmBapu9bCDrxjf4kUnWn59Dka3I27EiuHBKd1rSO4osLFQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.11.tgz", + "integrity": "sha512-OMzhxSbS0lwwrW40HHjRCeVIJTURdXFA8c3GU30MlHKuPCcvWNUIKVucVBtNpJySXmbkQMDJdJNrXzNDyvoqvQ==", "cpu": [ "arm64" ], @@ -714,9 +717,9 @@ } }, "node_modules/esbuild-freebsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.10.tgz", - "integrity": "sha512-KMBFMa7C8oc97nqDdoZwtDBX7gfpolkk6Bcmj6YFMrtCMVgoU/x2DI1p74DmYl7CSS6Ppa3xgemrLrr5IjIn0w==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.11.tgz", + "integrity": "sha512-8dKP26r0/Qyez8nTCwpq60QbuYKOeBygdgOAWGCRalunyeqWRoSZj9TQjPDnTTI9joxd3QYw3UhVZTKxO9QdRg==", "cpu": [ "x64" ], @@ -730,9 +733,9 @@ } }, "node_modules/esbuild-freebsd-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.10.tgz", - "integrity": "sha512-m2KNbuCX13yQqLlbSojFMHpewbn8wW5uDS6DxRpmaZKzyq8Dbsku6hHvh2U+BcLwWY4mpgXzFUoENEf7IcioGg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.11.tgz", + "integrity": "sha512-aSGiODiukLGGnSg/O9+cGO2QxEacrdCtCawehkWYTt5VX1ni2b9KoxpHCT9h9Y6wGqNHmXFnB47RRJ8BIqZgmQ==", "cpu": [ "arm64" ], @@ -746,9 +749,9 @@ } }, "node_modules/esbuild-linux-32": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.10.tgz", - "integrity": "sha512-guXrwSYFAvNkuQ39FNeV4sNkNms1bLlA5vF1H0cazZBOLdLFIny6BhT+TUbK/hdByMQhtWQ5jI9VAmPKbVPu1w==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.11.tgz", + "integrity": "sha512-lsrAfdyJBGx+6aHIQmgqUonEzKYeBnyfJPkT6N2dOf1RoXYYV1BkWB6G02tjsrz1d5wZzaTc3cF+TKmuTo/ZwA==", "cpu": [ "ia32" ], @@ -762,9 +765,9 @@ } }, "node_modules/esbuild-linux-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.10.tgz", - "integrity": "sha512-jd8XfaSJeucMpD63YNMO1JCrdJhckHWcMv6O233bL4l6ogQKQOxBYSRP/XLWP+6kVTu0obXovuckJDcA0DKtQA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.11.tgz", + "integrity": "sha512-Y2Rh+PcyVhQqXKBTacPCltINN3uIw2xC+dsvLANJ1SpK5NJUtxv8+rqWpjmBgaNWKQT1/uGpMmA9olALy9PLVA==", "cpu": [ "x64" ], @@ -778,9 +781,9 @@ } }, "node_modules/esbuild-linux-arm": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.10.tgz", - "integrity": "sha512-6N8vThLL/Lysy9y4Ex8XoLQAlbZKUyExCWyayGi2KgTBelKpPgj6RZnUaKri0dHNPGgReJriKVU6+KDGQwn10A==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.11.tgz", + "integrity": "sha512-TJllTVk5aSyqPFvvcHTvf6Wu1ZKhWpJ/qNmZO8LL/XeB+LXCclm7HQHNEIz6MT7IX8PmlC1BZYrOiw2sXSB95A==", "cpu": [ "arm" ], @@ -794,9 +797,9 @@ } }, "node_modules/esbuild-linux-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.10.tgz", - "integrity": "sha512-GByBi4fgkvZFTHFDYNftu1DQ1GzR23jws0oWyCfhnI7eMOe+wgwWrc78dbNk709Ivdr/evefm2PJiUBMiusS1A==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.11.tgz", + "integrity": "sha512-uhcXiTwTmD4OpxJu3xC5TzAAw6Wzf9O1XGWL448EE9bqGjgV1j+oK3lIHAfsHnuIn8K4nDW8yjX0Sv5S++oRuw==", "cpu": [ "arm64" ], @@ -810,9 +813,9 @@ } }, "node_modules/esbuild-linux-mips64le": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.10.tgz", - "integrity": "sha512-BxP+LbaGVGIdQNJUNF7qpYjEGWb0YyHVSKqYKrn+pTwH/SiHUxFyJYSP3pqkku61olQiSBnSmWZ+YUpj78Tw7Q==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.11.tgz", + "integrity": "sha512-WD61y/R1M4BLe4gxXRypoQ0Ci+Vjf714QYzcPNkiYv5I8K8WDz2ZR8Bm6cqKxd6rD+e/rZgPDbhQ9PCf7TMHmA==", "cpu": [ "mips64el" ], @@ -826,9 +829,9 @@ } }, "node_modules/esbuild-linux-ppc64le": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.10.tgz", - "integrity": "sha512-LoSQCd6498PmninNgqd/BR7z3Bsk/mabImBWuQ4wQgmQEeanzWd5BQU2aNi9mBURCLgyheuZS6Xhrw5luw3OkQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.11.tgz", + "integrity": "sha512-JVleZS9oPVLTlBhPTWgOwxFWU/wMUdlBwTbGA4GF8c38sLbS13cupj+C8bLq929jU7EMWry4SaL+tKGIaTlqKg==", "cpu": [ "ppc64" ], @@ -842,9 +845,9 @@ } }, "node_modules/esbuild-linux-riscv64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.10.tgz", - "integrity": "sha512-Lrl9Cr2YROvPV4wmZ1/g48httE8z/5SCiXIyebiB5N8VT7pX3t6meI7TQVHw/wQpqP/AF4SksDuFImPTM7Z32Q==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.11.tgz", + "integrity": "sha512-9aLIalZ2HFHIOZpmVU11sEAS9F8TnHw49daEjcgMpBXHFF57VuT9f9/9LKJhw781Gda0P9jDkuCWJ0tFbErvJw==", "cpu": [ "riscv64" ], @@ -858,9 +861,9 @@ } }, "node_modules/esbuild-linux-s390x": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.10.tgz", - "integrity": "sha512-ReP+6q3eLVVP2lpRrvl5EodKX7EZ1bS1/z5j6hsluAlZP5aHhk6ghT6Cq3IANvvDdscMMCB4QEbI+AjtvoOFpA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.11.tgz", + "integrity": "sha512-sZHtiXXOKsLI3XGBGoYO4qKBzJlb8xNsWmvFiwFMHFzA4AXgDP1KDp7Dawe9C2pavTRBDvl+Ok4n/DHQ59oaTg==", "cpu": [ "s390x" ], @@ -874,9 +877,9 @@ } }, "node_modules/esbuild-netbsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.10.tgz", - "integrity": "sha512-iGDYtJCMCqldMskQ4eIV+QSS/CuT7xyy9i2/FjpKvxAuCzrESZXiA1L64YNj6/afuzfBe9i8m/uDkFHy257hTw==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.11.tgz", + "integrity": "sha512-hUC9yN06K9sg7ju4Vgu9ChAPdsEgtcrcLfyNT5IKwKyfpLvKUwCMZSdF+gRD3WpyZelgTQfJ+pDx5XFbXTlB0A==", "cpu": [ "x64" ], @@ -890,9 +893,9 @@ } }, "node_modules/esbuild-openbsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.10.tgz", - "integrity": "sha512-ftMMIwHWrnrYnvuJQRJs/Smlcb28F9ICGde/P3FUTCgDDM0N7WA0o9uOR38f5Xe2/OhNCgkjNeb7QeaE3cyWkQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.11.tgz", + "integrity": "sha512-0bBo9SQR4t66Wd91LGMAqmWorzO0TTzVjYiifwoFtel8luFeXuPThQnEm5ztN4g0fnvcp7AnUPPzS/Depf17wQ==", "cpu": [ "x64" ], @@ -906,9 +909,9 @@ } }, "node_modules/esbuild-sunos-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.10.tgz", - "integrity": "sha512-mf7hBL9Uo2gcy2r3rUFMjVpTaGpFJJE5QTDDqUFf1632FxteYANffDZmKbqX0PfeQ2XjUDE604IcE7OJeoHiyg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.11.tgz", + "integrity": "sha512-EuBdTGlsMTjEl1sQnBX2jfygy7iR6CKfvOzi+gEOfhDqbHXsmY1dcpbVtcwHAg9/2yUZSfMJHMAgf1z8M4yyyw==", "cpu": [ "x64" ], @@ -922,9 +925,9 @@ } }, "node_modules/esbuild-windows-32": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.10.tgz", - "integrity": "sha512-ttFVo+Cg8b5+qHmZHbEc8Vl17kCleHhLzgT8X04y8zudEApo0PxPg9Mz8Z2cKH1bCYlve1XL8LkyXGFjtUYeGg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.11.tgz", + "integrity": "sha512-O0/Wo1Wk6dc0rZSxkvGpmTNIycEznHmkObTFz2VHBhjPsO4ZpCgfGxNkCpz4AdAIeMczpTXt/8d5vdJNKEGC+Q==", "cpu": [ "ia32" ], @@ -938,9 +941,9 @@ } }, "node_modules/esbuild-windows-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.10.tgz", - "integrity": "sha512-2H0gdsyHi5x+8lbng3hLbxDWR7mKHWh5BXZGKVG830KUmXOOWFE2YKJ4tHRkejRduOGDrBvHBriYsGtmTv3ntA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.11.tgz", + "integrity": "sha512-x977Q4HhNjnHx00b4XLAnTtj5vfbdEvkxaQwC1Zh5AN8g5EX+izgZ6e5QgqJgpzyRNJqh4hkgIJF1pyy1be0mQ==", "cpu": [ "x64" ], @@ -954,9 +957,9 @@ } }, "node_modules/esbuild-windows-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.10.tgz", - "integrity": "sha512-S+th4F+F8VLsHLR0zrUcG+Et4hx0RKgK1eyHc08kztmLOES8BWwMiaGdoW9hiXuzznXQ0I/Fg904MNbr11Nktw==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.11.tgz", + "integrity": "sha512-VwUHFACuBahrvntdcMKZteUZ9HaYrBRODoKe4tIWxguQRvvYoYb7iu5LrcRS/FQx8KPZNaa72zuqwVtHeXsITw==", "cpu": [ "arm64" ], @@ -1312,10 +1315,13 @@ } }, "node_modules/minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", - "dev": true + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/nanoid": { "version": "3.3.4", @@ -1402,9 +1408,9 @@ } }, "node_modules/postcss": { - "version": "8.4.17", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.17.tgz", - "integrity": "sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q==", + "version": "8.4.18", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz", + "integrity": "sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==", "dev": true, "funding": [ { @@ -1601,9 +1607,9 @@ } }, "node_modules/regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "version": "0.13.10", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz", + "integrity": "sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw==", "dev": true }, "node_modules/resolve": { @@ -1798,9 +1804,9 @@ "dev": true }, "node_modules/vite": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/vite/-/vite-3.1.6.tgz", - "integrity": "sha512-qMXIwnehvvcK5XfJiXQUiTxoYAEMKhM+jqCY6ZSTKFBKu1hJnAKEzP3AOcnTerI0cMZYAaJ4wpW1wiXLMDt4mA==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/vite/-/vite-3.1.8.tgz", + "integrity": "sha512-m7jJe3nufUbuOfotkntGFupinL/fmuTNuQmiVE7cH2IZMuf4UbfbGYMUT3jVWgGYuRVLY9j8NnrRqgw5rr5QTg==", "dev": true, "dependencies": { "esbuild": "^0.15.9", @@ -1852,16 +1858,16 @@ } }, "node_modules/vue": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.40.tgz", - "integrity": "sha512-1mGHulzUbl2Nk3pfvI5aXYYyJUs1nm4kyvuz38u4xlQkLUn1i2R7nDbI4TufECmY8v1qNBHYy62bCaM+3cHP2A==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.41.tgz", + "integrity": "sha512-uuuvnrDXEeZ9VUPljgHkqB5IaVO8SxhPpqF2eWOukVrBnRBx2THPSGQBnVRt0GrIG1gvCmFXMGbd7FqcT1ixNQ==", "dev": true, "dependencies": { - "@vue/compiler-dom": "3.2.40", - "@vue/compiler-sfc": "3.2.40", - "@vue/runtime-dom": "3.2.40", - "@vue/server-renderer": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-dom": "3.2.41", + "@vue/compiler-sfc": "3.2.41", + "@vue/runtime-dom": "3.2.41", + "@vue/server-renderer": "3.2.41", + "@vue/shared": "3.2.41" } }, "node_modules/xtend": { @@ -1885,31 +1891,31 @@ }, "dependencies": { "@babel/parser": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.3.tgz", - "integrity": "sha512-pJ9xOlNWHiy9+FuFP09DEAFbAn4JskgRsVcc169w2xRBC3FRGuQEwjeIMMND9L2zc0iEhO/tGv4Zq+km+hxNpQ==", + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.4.tgz", + "integrity": "sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA==", "dev": true }, "@babel/runtime": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz", - "integrity": "sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA==", + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz", + "integrity": "sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA==", "dev": true, "requires": { "regenerator-runtime": "^0.13.4" } }, "@esbuild/android-arm": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.15.10.tgz", - "integrity": "sha512-FNONeQPy/ox+5NBkcSbYJxoXj9GWu8gVGJTVmUyoOCKQFDTrHVKgNSzChdNt0I8Aj/iKcsDf2r9BFwv+FSNUXg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.15.11.tgz", + "integrity": "sha512-PzMcQLazLBkwDEkrNPi9AbjFt6+3I7HKbiYF2XtWQ7wItrHvEOeO3T8Am434zAozWtVP7lrTue1bEfc2nYWeCA==", "dev": true, "optional": true }, "@esbuild/linux-loong64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.10.tgz", - "integrity": "sha512-w0Ou3Z83LOYEkwaui2M8VwIp+nLi/NA60lBLMvaJ+vXVMcsARYdEzLNE7RSm4+lSg4zq4d7fAVuzk7PNQ5JFgg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.11.tgz", + "integrity": "sha512-geWp637tUhNmhL3Xgy4Bj703yXB9dqiLJe05lCUfjSFDrQf9C/8pArusyPUbUbPwlC/EAUjBw32sxuIl/11dZw==", "dev": true, "optional": true }, @@ -1940,8 +1946,8 @@ } }, "@protonemedia/laravel-splade": { - "version": "file:../protonemedia-laravel-splade-0.5.11.tgz", - "integrity": "sha512-j/A10iRTHCxmj4BFD/w6WofXzJ3XTR65nXKZUySzwpdOBuWtEUYRCgw2A4cR3/PWp+wt6/wcM4O22zbchlXJEg==", + "version": "file:../protonemedia-laravel-splade-0.6.0.tgz", + "integrity": "sha512-E8KqXnH/WkUzEw4FQw6aJPY3gfHJvTXxP7dlbA+c+abyQUO6fO9Iuqm7phIcnEbD4xMs3nFBc7fo6iAlRidS7w==", "dev": true, "requires": { "autosize": "^5.0.1", @@ -1972,9 +1978,9 @@ } }, "@types/node": { - "version": "14.18.31", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.31.tgz", - "integrity": "sha512-vQAnaReSQkEDa8uwAyQby8bYGKu84R/deEc6mg5T8fX6gzCn8QW6rziSgsti1fNvsrswKUKPnVTi7uoB+u62Mw==", + "version": "14.18.32", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.32.tgz", + "integrity": "sha512-Y6S38pFr04yb13qqHf8uk1nHE3lXgQ30WZbv1mLliV9pt0NjvqdWttLcrOYLnXbOafknVYRHZGoMSpR9UwfYow==", "dev": true }, "@vitejs/plugin-vue": { @@ -1985,39 +1991,39 @@ "requires": {} }, "@vue/compiler-core": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.40.tgz", - "integrity": "sha512-2Dc3Stk0J/VyQ4OUr2yEC53kU28614lZS+bnrCbFSAIftBJ40g/2yQzf4mPBiFuqguMB7hyHaujdgZAQ67kZYA==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.41.tgz", + "integrity": "sha512-oA4mH6SA78DT+96/nsi4p9DX97PHcNROxs51lYk7gb9Z4BPKQ3Mh+BLn6CQZBw857Iuhu28BfMSRHAlPvD4vlw==", "dev": true, "requires": { "@babel/parser": "^7.16.4", - "@vue/shared": "3.2.40", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "source-map": "^0.6.1" } }, "@vue/compiler-dom": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.40.tgz", - "integrity": "sha512-OZCNyYVC2LQJy4H7h0o28rtk+4v+HMQygRTpmibGoG9wZyomQiS5otU7qo3Wlq5UfHDw2RFwxb9BJgKjVpjrQw==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.41.tgz", + "integrity": "sha512-xe5TbbIsonjENxJsYRbDJvthzqxLNk+tb3d/c47zgREDa/PCp6/Y4gC/skM4H6PIuX5DAxm7fFJdbjjUH2QTMw==", "dev": true, "requires": { - "@vue/compiler-core": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-core": "3.2.41", + "@vue/shared": "3.2.41" } }, "@vue/compiler-sfc": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.40.tgz", - "integrity": "sha512-tzqwniIN1fu1PDHC3CpqY/dPCfN/RN1thpBC+g69kJcrl7mbGiHKNwbA6kJ3XKKy8R6JLKqcpVugqN4HkeBFFg==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.41.tgz", + "integrity": "sha512-+1P2m5kxOeaxVmJNXnBskAn3BenbTmbxBxWOtBq3mQTCokIreuMULFantBUclP0+KnzNCMOvcnKinqQZmiOF8w==", "dev": true, "requires": { "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.40", - "@vue/compiler-dom": "3.2.40", - "@vue/compiler-ssr": "3.2.40", - "@vue/reactivity-transform": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/compiler-core": "3.2.41", + "@vue/compiler-dom": "3.2.41", + "@vue/compiler-ssr": "3.2.41", + "@vue/reactivity-transform": "3.2.41", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "magic-string": "^0.25.7", "postcss": "^8.1.10", @@ -2025,72 +2031,72 @@ } }, "@vue/compiler-ssr": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.40.tgz", - "integrity": "sha512-80cQcgasKjrPPuKcxwuCx7feq+wC6oFl5YaKSee9pV3DNq+6fmCVwEEC3vvkf/E2aI76rIJSOYHsWSEIxK74oQ==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.41.tgz", + "integrity": "sha512-Y5wPiNIiaMz/sps8+DmhaKfDm1xgj6GrH99z4gq2LQenfVQcYXmHIOBcs5qPwl7jaW3SUQWjkAPKMfQemEQZwQ==", "dev": true, "requires": { - "@vue/compiler-dom": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-dom": "3.2.41", + "@vue/shared": "3.2.41" } }, "@vue/reactivity": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.40.tgz", - "integrity": "sha512-N9qgGLlZmtUBMHF9xDT4EkD9RdXde1Xbveb+niWMXuHVWQP5BzgRmE3SFyUBBcyayG4y1lhoz+lphGRRxxK4RA==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.41.tgz", + "integrity": "sha512-9JvCnlj8uc5xRiQGZ28MKGjuCoPhhTwcoAdv3o31+cfGgonwdPNuvqAXLhlzu4zwqavFEG5tvaoINQEfxz+l6g==", "dev": true, "requires": { - "@vue/shared": "3.2.40" + "@vue/shared": "3.2.41" } }, "@vue/reactivity-transform": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.40.tgz", - "integrity": "sha512-HQUCVwEaacq6fGEsg2NUuGKIhUveMCjOk8jGHqLXPI2w6zFoPrlQhwWEaINTv5kkZDXKEnCijAp+4gNEHG03yw==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.41.tgz", + "integrity": "sha512-mK5+BNMsL4hHi+IR3Ft/ho6Za+L3FA5j8WvreJ7XzHrqkPq8jtF/SMo7tuc9gHjLDwKZX1nP1JQOKo9IEAn54A==", "dev": true, "requires": { "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/compiler-core": "3.2.41", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "magic-string": "^0.25.7" } }, "@vue/runtime-core": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.40.tgz", - "integrity": "sha512-U1+rWf0H8xK8aBUZhnrN97yoZfHbjgw/bGUzfgKPJl69/mXDuSg8CbdBYBn6VVQdR947vWneQBFzdhasyzMUKg==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.41.tgz", + "integrity": "sha512-0LBBRwqnI0p4FgIkO9q2aJBBTKDSjzhnxrxHYengkAF6dMOjeAIZFDADAlcf2h3GDALWnblbeprYYpItiulSVQ==", "dev": true, "requires": { - "@vue/reactivity": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/reactivity": "3.2.41", + "@vue/shared": "3.2.41" } }, "@vue/runtime-dom": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.40.tgz", - "integrity": "sha512-AO2HMQ+0s2+MCec8hXAhxMgWhFhOPJ/CyRXnmTJ6XIOnJFLrH5Iq3TNwvVcODGR295jy77I6dWPj+wvFoSYaww==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.41.tgz", + "integrity": "sha512-U7zYuR1NVIP8BL6jmOqmapRAHovEFp7CSw4pR2FacqewXNGqZaRfHoNLQsqQvVQ8yuZNZtxSZy0FFyC70YXPpA==", "dev": true, "requires": { - "@vue/runtime-core": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/runtime-core": "3.2.41", + "@vue/shared": "3.2.41", "csstype": "^2.6.8" } }, "@vue/server-renderer": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.40.tgz", - "integrity": "sha512-gtUcpRwrXOJPJ4qyBpU3EyxQa4EkV8I4f8VrDePcGCPe4O/hd0BPS7v9OgjIQob6Ap8VDz9G+mGTKazE45/95w==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.41.tgz", + "integrity": "sha512-7YHLkfJdTlsZTV0ae5sPwl9Gn/EGr2hrlbcS/8naXm2CDpnKUwC68i1wGlrYAfIgYWL7vUZwk2GkYLQH5CvFig==", "dev": true, "requires": { - "@vue/compiler-ssr": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-ssr": "3.2.41", + "@vue/shared": "3.2.41" } }, "@vue/shared": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.40.tgz", - "integrity": "sha512-0PLQ6RUtZM0vO3teRfzGi4ltLUO5aO+kLgwh4Um3THSR03rpQWLTuRCkuO5A41ITzwdWeKdPHtSARuPkoo5pCQ==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.41.tgz", + "integrity": "sha512-W9mfWLHmJhkfAmV+7gDjcHeAWALQtgGT3JErxULl0oz6R6+3ug91I7IErs93eCFhPCZPHBs4QJS7YWEV7A3sxw==", "dev": true }, "acorn": { @@ -2202,9 +2208,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001416", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001416.tgz", - "integrity": "sha512-06wzzdAkCPZO+Qm4e/eNghZBDfVNDsCgw33T27OwBH9unE9S478OYw//Q2L7Npf/zBzs7rjZOszIFQkwQKAEqA==", + "version": "1.0.30001419", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001419.tgz", + "integrity": "sha512-aFO1r+g6R7TW+PNQxKzjITwLOyDhVRLjW0LcwS/HCZGUUKTGNp9+IwLC4xyDSZBygVL/mxaFR3HIV6wEKQuSzw==", "dev": true }, "choices.js": { @@ -2279,9 +2285,9 @@ "dev": true }, "defined": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.1.tgz", + "integrity": "sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==", "dev": true }, "delayed-stream": { @@ -2314,178 +2320,178 @@ "dev": true }, "electron-to-chromium": { - "version": "1.4.274", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.274.tgz", - "integrity": "sha512-Fgn7JZQzq85I81FpKUNxVLAzoghy8JZJ4NIue+YfUYBbu1AkpgzFvNwzF/ZNZH9ElkmJD0TSWu1F2gTpw/zZlg==", + "version": "1.4.282", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.282.tgz", + "integrity": "sha512-Dki0WhHNh/br/Xi1vAkueU5mtIc9XLHcMKB6tNfQKk+kPG0TEUjRh5QEMAUbRp30/rYNMFD1zKKvbVzwq/4wmg==", "dev": true }, "esbuild": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.10.tgz", - "integrity": "sha512-N7wBhfJ/E5fzn/SpNgX+oW2RLRjwaL8Y0ezqNqhjD6w0H2p0rDuEz2FKZqpqLnO8DCaWumKe8dsC/ljvVSSxng==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.11.tgz", + "integrity": "sha512-OgHGuhlfZ//mToxjte1D5iiiQgWfJ2GByVMwEC/IuoXsBGkuyK1+KrjYu0laSpnN/L1UmLUCv0s25vObdc1bVg==", "dev": true, "requires": { - "@esbuild/android-arm": "0.15.10", - "@esbuild/linux-loong64": "0.15.10", - "esbuild-android-64": "0.15.10", - "esbuild-android-arm64": "0.15.10", - "esbuild-darwin-64": "0.15.10", - "esbuild-darwin-arm64": "0.15.10", - "esbuild-freebsd-64": "0.15.10", - "esbuild-freebsd-arm64": "0.15.10", - "esbuild-linux-32": "0.15.10", - "esbuild-linux-64": "0.15.10", - "esbuild-linux-arm": "0.15.10", - "esbuild-linux-arm64": "0.15.10", - "esbuild-linux-mips64le": "0.15.10", - "esbuild-linux-ppc64le": "0.15.10", - "esbuild-linux-riscv64": "0.15.10", - "esbuild-linux-s390x": "0.15.10", - "esbuild-netbsd-64": "0.15.10", - "esbuild-openbsd-64": "0.15.10", - "esbuild-sunos-64": "0.15.10", - "esbuild-windows-32": "0.15.10", - "esbuild-windows-64": "0.15.10", - "esbuild-windows-arm64": "0.15.10" + "@esbuild/android-arm": "0.15.11", + "@esbuild/linux-loong64": "0.15.11", + "esbuild-android-64": "0.15.11", + "esbuild-android-arm64": "0.15.11", + "esbuild-darwin-64": "0.15.11", + "esbuild-darwin-arm64": "0.15.11", + "esbuild-freebsd-64": "0.15.11", + "esbuild-freebsd-arm64": "0.15.11", + "esbuild-linux-32": "0.15.11", + "esbuild-linux-64": "0.15.11", + "esbuild-linux-arm": "0.15.11", + "esbuild-linux-arm64": "0.15.11", + "esbuild-linux-mips64le": "0.15.11", + "esbuild-linux-ppc64le": "0.15.11", + "esbuild-linux-riscv64": "0.15.11", + "esbuild-linux-s390x": "0.15.11", + "esbuild-netbsd-64": "0.15.11", + "esbuild-openbsd-64": "0.15.11", + "esbuild-sunos-64": "0.15.11", + "esbuild-windows-32": "0.15.11", + "esbuild-windows-64": "0.15.11", + "esbuild-windows-arm64": "0.15.11" } }, "esbuild-android-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.10.tgz", - "integrity": "sha512-UI7krF8OYO1N7JYTgLT9ML5j4+45ra3amLZKx7LO3lmLt1Ibn8t3aZbX5Pu4BjWiqDuJ3m/hsvhPhK/5Y/YpnA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.11.tgz", + "integrity": "sha512-rrwoXEiuI1kaw4k475NJpexs8GfJqQUKcD08VR8sKHmuW9RUuTR2VxcupVvHdiGh9ihxL9m3lpqB1kju92Ialw==", "dev": true, "optional": true }, "esbuild-android-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.10.tgz", - "integrity": "sha512-EOt55D6xBk5O05AK8brXUbZmoFj4chM8u3riGflLa6ziEoVvNjRdD7Cnp82NHQGfSHgYR06XsPI8/sMuA/cUwg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.11.tgz", + "integrity": "sha512-/hDubOg7BHOhUUsT8KUIU7GfZm5bihqssvqK5PfO4apag7YuObZRZSzViyEKcFn2tPeHx7RKbSBXvAopSHDZJQ==", "dev": true, "optional": true }, "esbuild-darwin-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.10.tgz", - "integrity": "sha512-hbDJugTicqIm+WKZgp208d7FcXcaK8j2c0l+fqSJ3d2AzQAfjEYDRM3Z2oMeqSJ9uFxyj/muSACLdix7oTstRA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.11.tgz", + "integrity": "sha512-1DqHD0ms3AhiwkKnjRUzmiW7JnaJJr5FKrPiR7xuyMwnjDqvNWDdMq4rKSD9OC0piFNK6n0LghsglNMe2MwJtA==", "dev": true, "optional": true }, "esbuild-darwin-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.10.tgz", - "integrity": "sha512-M1t5+Kj4IgSbYmunf2BB6EKLkWUq+XlqaFRiGOk8bmBapu9bCDrxjf4kUnWn59Dka3I27EiuHBKd1rSO4osLFQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.11.tgz", + "integrity": "sha512-OMzhxSbS0lwwrW40HHjRCeVIJTURdXFA8c3GU30MlHKuPCcvWNUIKVucVBtNpJySXmbkQMDJdJNrXzNDyvoqvQ==", "dev": true, "optional": true }, "esbuild-freebsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.10.tgz", - "integrity": "sha512-KMBFMa7C8oc97nqDdoZwtDBX7gfpolkk6Bcmj6YFMrtCMVgoU/x2DI1p74DmYl7CSS6Ppa3xgemrLrr5IjIn0w==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.11.tgz", + "integrity": "sha512-8dKP26r0/Qyez8nTCwpq60QbuYKOeBygdgOAWGCRalunyeqWRoSZj9TQjPDnTTI9joxd3QYw3UhVZTKxO9QdRg==", "dev": true, "optional": true }, "esbuild-freebsd-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.10.tgz", - "integrity": "sha512-m2KNbuCX13yQqLlbSojFMHpewbn8wW5uDS6DxRpmaZKzyq8Dbsku6hHvh2U+BcLwWY4mpgXzFUoENEf7IcioGg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.11.tgz", + "integrity": "sha512-aSGiODiukLGGnSg/O9+cGO2QxEacrdCtCawehkWYTt5VX1ni2b9KoxpHCT9h9Y6wGqNHmXFnB47RRJ8BIqZgmQ==", "dev": true, "optional": true }, "esbuild-linux-32": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.10.tgz", - "integrity": "sha512-guXrwSYFAvNkuQ39FNeV4sNkNms1bLlA5vF1H0cazZBOLdLFIny6BhT+TUbK/hdByMQhtWQ5jI9VAmPKbVPu1w==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.11.tgz", + "integrity": "sha512-lsrAfdyJBGx+6aHIQmgqUonEzKYeBnyfJPkT6N2dOf1RoXYYV1BkWB6G02tjsrz1d5wZzaTc3cF+TKmuTo/ZwA==", "dev": true, "optional": true }, "esbuild-linux-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.10.tgz", - "integrity": "sha512-jd8XfaSJeucMpD63YNMO1JCrdJhckHWcMv6O233bL4l6ogQKQOxBYSRP/XLWP+6kVTu0obXovuckJDcA0DKtQA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.11.tgz", + "integrity": "sha512-Y2Rh+PcyVhQqXKBTacPCltINN3uIw2xC+dsvLANJ1SpK5NJUtxv8+rqWpjmBgaNWKQT1/uGpMmA9olALy9PLVA==", "dev": true, "optional": true }, "esbuild-linux-arm": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.10.tgz", - "integrity": "sha512-6N8vThLL/Lysy9y4Ex8XoLQAlbZKUyExCWyayGi2KgTBelKpPgj6RZnUaKri0dHNPGgReJriKVU6+KDGQwn10A==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.11.tgz", + "integrity": "sha512-TJllTVk5aSyqPFvvcHTvf6Wu1ZKhWpJ/qNmZO8LL/XeB+LXCclm7HQHNEIz6MT7IX8PmlC1BZYrOiw2sXSB95A==", "dev": true, "optional": true }, "esbuild-linux-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.10.tgz", - "integrity": "sha512-GByBi4fgkvZFTHFDYNftu1DQ1GzR23jws0oWyCfhnI7eMOe+wgwWrc78dbNk709Ivdr/evefm2PJiUBMiusS1A==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.11.tgz", + "integrity": "sha512-uhcXiTwTmD4OpxJu3xC5TzAAw6Wzf9O1XGWL448EE9bqGjgV1j+oK3lIHAfsHnuIn8K4nDW8yjX0Sv5S++oRuw==", "dev": true, "optional": true }, "esbuild-linux-mips64le": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.10.tgz", - "integrity": "sha512-BxP+LbaGVGIdQNJUNF7qpYjEGWb0YyHVSKqYKrn+pTwH/SiHUxFyJYSP3pqkku61olQiSBnSmWZ+YUpj78Tw7Q==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.11.tgz", + "integrity": "sha512-WD61y/R1M4BLe4gxXRypoQ0Ci+Vjf714QYzcPNkiYv5I8K8WDz2ZR8Bm6cqKxd6rD+e/rZgPDbhQ9PCf7TMHmA==", "dev": true, "optional": true }, "esbuild-linux-ppc64le": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.10.tgz", - "integrity": "sha512-LoSQCd6498PmninNgqd/BR7z3Bsk/mabImBWuQ4wQgmQEeanzWd5BQU2aNi9mBURCLgyheuZS6Xhrw5luw3OkQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.11.tgz", + "integrity": "sha512-JVleZS9oPVLTlBhPTWgOwxFWU/wMUdlBwTbGA4GF8c38sLbS13cupj+C8bLq929jU7EMWry4SaL+tKGIaTlqKg==", "dev": true, "optional": true }, "esbuild-linux-riscv64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.10.tgz", - "integrity": "sha512-Lrl9Cr2YROvPV4wmZ1/g48httE8z/5SCiXIyebiB5N8VT7pX3t6meI7TQVHw/wQpqP/AF4SksDuFImPTM7Z32Q==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.11.tgz", + "integrity": "sha512-9aLIalZ2HFHIOZpmVU11sEAS9F8TnHw49daEjcgMpBXHFF57VuT9f9/9LKJhw781Gda0P9jDkuCWJ0tFbErvJw==", "dev": true, "optional": true }, "esbuild-linux-s390x": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.10.tgz", - "integrity": "sha512-ReP+6q3eLVVP2lpRrvl5EodKX7EZ1bS1/z5j6hsluAlZP5aHhk6ghT6Cq3IANvvDdscMMCB4QEbI+AjtvoOFpA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.11.tgz", + "integrity": "sha512-sZHtiXXOKsLI3XGBGoYO4qKBzJlb8xNsWmvFiwFMHFzA4AXgDP1KDp7Dawe9C2pavTRBDvl+Ok4n/DHQ59oaTg==", "dev": true, "optional": true }, "esbuild-netbsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.10.tgz", - "integrity": "sha512-iGDYtJCMCqldMskQ4eIV+QSS/CuT7xyy9i2/FjpKvxAuCzrESZXiA1L64YNj6/afuzfBe9i8m/uDkFHy257hTw==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.11.tgz", + "integrity": "sha512-hUC9yN06K9sg7ju4Vgu9ChAPdsEgtcrcLfyNT5IKwKyfpLvKUwCMZSdF+gRD3WpyZelgTQfJ+pDx5XFbXTlB0A==", "dev": true, "optional": true }, "esbuild-openbsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.10.tgz", - "integrity": "sha512-ftMMIwHWrnrYnvuJQRJs/Smlcb28F9ICGde/P3FUTCgDDM0N7WA0o9uOR38f5Xe2/OhNCgkjNeb7QeaE3cyWkQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.11.tgz", + "integrity": "sha512-0bBo9SQR4t66Wd91LGMAqmWorzO0TTzVjYiifwoFtel8luFeXuPThQnEm5ztN4g0fnvcp7AnUPPzS/Depf17wQ==", "dev": true, "optional": true }, "esbuild-sunos-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.10.tgz", - "integrity": "sha512-mf7hBL9Uo2gcy2r3rUFMjVpTaGpFJJE5QTDDqUFf1632FxteYANffDZmKbqX0PfeQ2XjUDE604IcE7OJeoHiyg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.11.tgz", + "integrity": "sha512-EuBdTGlsMTjEl1sQnBX2jfygy7iR6CKfvOzi+gEOfhDqbHXsmY1dcpbVtcwHAg9/2yUZSfMJHMAgf1z8M4yyyw==", "dev": true, "optional": true }, "esbuild-windows-32": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.10.tgz", - "integrity": "sha512-ttFVo+Cg8b5+qHmZHbEc8Vl17kCleHhLzgT8X04y8zudEApo0PxPg9Mz8Z2cKH1bCYlve1XL8LkyXGFjtUYeGg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.11.tgz", + "integrity": "sha512-O0/Wo1Wk6dc0rZSxkvGpmTNIycEznHmkObTFz2VHBhjPsO4ZpCgfGxNkCpz4AdAIeMczpTXt/8d5vdJNKEGC+Q==", "dev": true, "optional": true }, "esbuild-windows-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.10.tgz", - "integrity": "sha512-2H0gdsyHi5x+8lbng3hLbxDWR7mKHWh5BXZGKVG830KUmXOOWFE2YKJ4tHRkejRduOGDrBvHBriYsGtmTv3ntA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.11.tgz", + "integrity": "sha512-x977Q4HhNjnHx00b4XLAnTtj5vfbdEvkxaQwC1Zh5AN8g5EX+izgZ6e5QgqJgpzyRNJqh4hkgIJF1pyy1be0mQ==", "dev": true, "optional": true }, "esbuild-windows-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.10.tgz", - "integrity": "sha512-S+th4F+F8VLsHLR0zrUcG+Et4hx0RKgK1eyHc08kztmLOES8BWwMiaGdoW9hiXuzznXQ0I/Fg904MNbr11Nktw==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.11.tgz", + "integrity": "sha512-VwUHFACuBahrvntdcMKZteUZ9HaYrBRODoKe4tIWxguQRvvYoYb7iu5LrcRS/FQx8KPZNaa72zuqwVtHeXsITw==", "dev": true, "optional": true }, @@ -2740,9 +2746,9 @@ "dev": true }, "minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", "dev": true }, "nanoid": { @@ -2806,9 +2812,9 @@ "dev": true }, "postcss": { - "version": "8.4.17", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.17.tgz", - "integrity": "sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q==", + "version": "8.4.18", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz", + "integrity": "sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==", "dev": true, "requires": { "nanoid": "^3.3.4", @@ -2921,9 +2927,9 @@ } }, "regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "version": "0.13.10", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz", + "integrity": "sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw==", "dev": true }, "resolve": { @@ -3047,9 +3053,9 @@ "dev": true }, "vite": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/vite/-/vite-3.1.6.tgz", - "integrity": "sha512-qMXIwnehvvcK5XfJiXQUiTxoYAEMKhM+jqCY6ZSTKFBKu1hJnAKEzP3AOcnTerI0cMZYAaJ4wpW1wiXLMDt4mA==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/vite/-/vite-3.1.8.tgz", + "integrity": "sha512-m7jJe3nufUbuOfotkntGFupinL/fmuTNuQmiVE7cH2IZMuf4UbfbGYMUT3jVWgGYuRVLY9j8NnrRqgw5rr5QTg==", "dev": true, "requires": { "esbuild": "^0.15.9", @@ -3070,16 +3076,16 @@ } }, "vue": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.40.tgz", - "integrity": "sha512-1mGHulzUbl2Nk3pfvI5aXYYyJUs1nm4kyvuz38u4xlQkLUn1i2R7nDbI4TufECmY8v1qNBHYy62bCaM+3cHP2A==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.41.tgz", + "integrity": "sha512-uuuvnrDXEeZ9VUPljgHkqB5IaVO8SxhPpqF2eWOukVrBnRBx2THPSGQBnVRt0GrIG1gvCmFXMGbd7FqcT1ixNQ==", "dev": true, "requires": { - "@vue/compiler-dom": "3.2.40", - "@vue/compiler-sfc": "3.2.40", - "@vue/runtime-dom": "3.2.40", - "@vue/server-renderer": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-dom": "3.2.41", + "@vue/compiler-sfc": "3.2.41", + "@vue/runtime-dom": "3.2.41", + "@vue/server-renderer": "3.2.41", + "@vue/shared": "3.2.41" } }, "xtend": { diff --git a/app/package.json b/app/package.json index ef9713be..5a505152 100644 --- a/app/package.json +++ b/app/package.json @@ -6,7 +6,7 @@ "pre-publish": "npm upgrade && vite build" }, "devDependencies": { - "@protonemedia/laravel-splade": "file:../protonemedia-laravel-splade-0.5.11.tgz", + "@protonemedia/laravel-splade": "file:../protonemedia-laravel-splade-0.6.0.tgz", "@tailwindcss/forms": "^0.5.2", "@tailwindcss/typography": "^0.5.2", "@vitejs/plugin-vue": "^3.0.0", diff --git a/dist/protone-media-laravel-splade.js b/dist/protone-media-laravel-splade.js index da127945..407027fa 100644 --- a/dist/protone-media-laravel-splade.js +++ b/dist/protone-media-laravel-splade.js @@ -1,5 +1,5 @@ import Yn from "axios"; -import { ref as y, computed as I, watch as dt, openBlock as j, createBlock as K, unref as H, createCommentVNode as Ft, h as R, onMounted as M, createElementBlock as de, createElementVNode as ur, provide as te, inject as U, nextTick as Ue, KeepAlive as Jn, normalizeStyle as It, createVNode as ga, Fragment as Pr, renderList as ya, cloneVNode as ba, watchEffect as Z, defineComponent as W, onUnmounted as _e, Teleport as Zn, reactive as wa, onBeforeUnmount as Sa, renderSlot as re, resolveComponent as ei, withCtx as Oa, withModifiers as $a, normalizeProps as Ea, mergeProps as _a } from "vue"; +import { ref as y, computed as P, watch as dt, openBlock as j, createBlock as K, unref as H, createCommentVNode as Lt, h as F, onMounted as N, createElementBlock as de, createElementVNode as ur, provide as te, inject as U, nextTick as Ue, KeepAlive as Jn, normalizeStyle as Pt, createVNode as ga, Fragment as Ir, renderList as ya, cloneVNode as ba, watchEffect as Z, defineComponent as W, onUnmounted as _e, Teleport as Zn, reactive as wa, onBeforeUnmount as Sa, renderSlot as re, resolveComponent as ei, withCtx as Oa, withModifiers as $a, normalizeProps as Ea, mergeProps as _a } from "vue"; function xa(e, t) { for (var r = -1, n = e == null ? 0 : e.length; ++r < n && t(e[r], r, e) !== !1; ) ; @@ -7,8 +7,8 @@ function xa(e, t) { } function Ta(e) { return function(t, r, n) { - for (var i = -1, a = Object(t), o = n(t), s = o.length; s--; ) { - var l = o[e ? s : ++i]; + for (var i = -1, a = Object(t), s = n(t), o = s.length; o--; ) { + var l = s[e ? o : ++i]; if (r(a[l], l, a) === !1) break; } @@ -16,8 +16,8 @@ function Ta(e) { }; } var Aa = Ta(); -const Pa = Aa; -function Ia(e, t) { +const Ia = Aa; +function Pa(e, t) { for (var r = -1, n = Array(e); ++r < e; ) n[r] = t(r); return n; @@ -25,27 +25,27 @@ function Ia(e, t) { var Ca = typeof global == "object" && global && global.Object === Object && global; const ti = Ca; var Da = typeof self == "object" && self && self.Object === Object && self, ja = ti || Da || Function("return this")(); -const oe = ja; -var qa = oe.Symbol; +const se = ja; +var qa = se.Symbol; const Se = qa; -var ri = Object.prototype, Ba = ri.hasOwnProperty, Fa = ri.toString, rt = Se ? Se.toStringTag : void 0; -function Ra(e) { +var ri = Object.prototype, Ba = ri.hasOwnProperty, La = ri.toString, rt = Se ? Se.toStringTag : void 0; +function Fa(e) { var t = Ba.call(e, rt), r = e[rt]; try { e[rt] = void 0; var n = !0; } catch { } - var i = Fa.call(e); + var i = La.call(e); return n && (t ? e[rt] = r : delete e[rt]), i; } -var La = Object.prototype, ka = La.toString; +var Ra = Object.prototype, ka = Ra.toString; function Ma(e) { return ka.call(e); } var Na = "[object Null]", Va = "[object Undefined]", dn = Se ? Se.toStringTag : void 0; function xe(e) { - return e == null ? e === void 0 ? Va : Na : dn && dn in Object(e) ? Ra(e) : Ma(e); + return e == null ? e === void 0 ? Va : Na : dn && dn in Object(e) ? Fa(e) : Ma(e); } function Oe(e) { return e != null && typeof e == "object"; @@ -61,123 +61,123 @@ var ni = Object.prototype, Ua = ni.hasOwnProperty, Wa = ni.propertyIsEnumerable, }; const ii = za; var Ga = Array.isArray; -const N = Ga; +const k = Ga; function Ka() { return !1; } -var ai = typeof exports == "object" && exports && !exports.nodeType && exports, hn = ai && typeof module == "object" && module && !module.nodeType && module, Xa = hn && hn.exports === ai, vn = Xa ? oe.Buffer : void 0, Qa = vn ? vn.isBuffer : void 0, Ya = Qa || Ka; +var ai = typeof exports == "object" && exports && !exports.nodeType && exports, hn = ai && typeof module == "object" && module && !module.nodeType && module, Xa = hn && hn.exports === ai, mn = Xa ? se.Buffer : void 0, Qa = mn ? mn.isBuffer : void 0, Ya = Qa || Ka; const cr = Ya; var Ja = 9007199254740991, Za = /^(?:0|[1-9]\d*)$/; -function Ir(e, t) { +function Pr(e, t) { var r = typeof e; return t = t == null ? Ja : t, !!t && (r == "number" || r != "symbol" && Za.test(e)) && e > -1 && e % 1 == 0 && e < t; } -var eo = 9007199254740991; +var es = 9007199254740991; function Cr(e) { - return typeof e == "number" && e > -1 && e % 1 == 0 && e <= eo; + return typeof e == "number" && e > -1 && e % 1 == 0 && e <= es; } -var to = "[object Arguments]", ro = "[object Array]", no = "[object Boolean]", io = "[object Date]", ao = "[object Error]", oo = "[object Function]", so = "[object Map]", lo = "[object Number]", uo = "[object Object]", co = "[object RegExp]", fo = "[object Set]", po = "[object String]", ho = "[object WeakMap]", vo = "[object ArrayBuffer]", mo = "[object DataView]", go = "[object Float32Array]", yo = "[object Float64Array]", bo = "[object Int8Array]", wo = "[object Int16Array]", So = "[object Int32Array]", Oo = "[object Uint8Array]", $o = "[object Uint8ClampedArray]", Eo = "[object Uint16Array]", _o = "[object Uint32Array]", D = {}; -D[go] = D[yo] = D[bo] = D[wo] = D[So] = D[Oo] = D[$o] = D[Eo] = D[_o] = !0; -D[to] = D[ro] = D[vo] = D[no] = D[mo] = D[io] = D[ao] = D[oo] = D[so] = D[lo] = D[uo] = D[co] = D[fo] = D[po] = D[ho] = !1; -function xo(e) { +var ts = "[object Arguments]", rs = "[object Array]", ns = "[object Boolean]", is = "[object Date]", as = "[object Error]", ss = "[object Function]", os = "[object Map]", ls = "[object Number]", us = "[object Object]", cs = "[object RegExp]", fs = "[object Set]", ds = "[object String]", ps = "[object WeakMap]", hs = "[object ArrayBuffer]", ms = "[object DataView]", vs = "[object Float32Array]", gs = "[object Float64Array]", ys = "[object Int8Array]", bs = "[object Int16Array]", ws = "[object Int32Array]", Ss = "[object Uint8Array]", Os = "[object Uint8ClampedArray]", $s = "[object Uint16Array]", Es = "[object Uint32Array]", D = {}; +D[vs] = D[gs] = D[ys] = D[bs] = D[ws] = D[Ss] = D[Os] = D[$s] = D[Es] = !0; +D[ts] = D[rs] = D[hs] = D[ns] = D[ms] = D[is] = D[as] = D[ss] = D[os] = D[ls] = D[us] = D[cs] = D[fs] = D[ds] = D[ps] = !1; +function _s(e) { return Oe(e) && Cr(e.length) && !!D[xe(e)]; } -function To(e) { +function xs(e) { return function(t) { return e(t); }; } -var oi = typeof exports == "object" && exports && !exports.nodeType && exports, at = oi && typeof module == "object" && module && !module.nodeType && module, Ao = at && at.exports === oi, tr = Ao && ti.process, Po = function() { +var si = typeof exports == "object" && exports && !exports.nodeType && exports, at = si && typeof module == "object" && module && !module.nodeType && module, Ts = at && at.exports === si, tr = Ts && ti.process, As = function() { try { var e = at && at.require && at.require("util").types; return e || tr && tr.binding && tr.binding("util"); } catch { } }(); -const mn = Po; -var gn = mn && mn.isTypedArray, Io = gn ? To(gn) : xo; -const si = Io; -var Co = Object.prototype, Do = Co.hasOwnProperty; -function jo(e, t) { - var r = N(e), n = !r && ii(e), i = !r && !n && cr(e), a = !r && !n && !i && si(e), o = r || n || i || a, s = o ? Ia(e.length, String) : [], l = s.length; +const vn = As; +var gn = vn && vn.isTypedArray, Is = gn ? xs(gn) : _s; +const oi = Is; +var Ps = Object.prototype, Cs = Ps.hasOwnProperty; +function Ds(e, t) { + var r = k(e), n = !r && ii(e), i = !r && !n && cr(e), a = !r && !n && !i && oi(e), s = r || n || i || a, o = s ? Pa(e.length, String) : [], l = o.length; for (var u in e) - (t || Do.call(e, u)) && !(o && (u == "length" || i && (u == "offset" || u == "parent") || a && (u == "buffer" || u == "byteLength" || u == "byteOffset") || Ir(u, l))) && s.push(u); - return s; + (t || Cs.call(e, u)) && !(s && (u == "length" || i && (u == "offset" || u == "parent") || a && (u == "buffer" || u == "byteLength" || u == "byteOffset") || Pr(u, l))) && o.push(u); + return o; } -var qo = Object.prototype; -function Bo(e) { - var t = e && e.constructor, r = typeof t == "function" && t.prototype || qo; +var js = Object.prototype; +function qs(e) { + var t = e && e.constructor, r = typeof t == "function" && t.prototype || js; return e === r; } -function Fo(e, t) { +function Bs(e, t) { return function(r) { return e(t(r)); }; } -var Ro = Fo(Object.keys, Object); -const Lo = Ro; -var ko = Object.prototype, Mo = ko.hasOwnProperty; -function No(e) { - if (!Bo(e)) - return Lo(e); +var Ls = Bs(Object.keys, Object); +const Fs = Ls; +var Rs = Object.prototype, ks = Rs.hasOwnProperty; +function Ms(e) { + if (!qs(e)) + return Fs(e); var t = []; for (var r in Object(e)) - Mo.call(e, r) && r != "constructor" && t.push(r); + ks.call(e, r) && r != "constructor" && t.push(r); return t; } function ne(e) { var t = typeof e; return e != null && (t == "object" || t == "function"); } -var Vo = "[object AsyncFunction]", Ho = "[object Function]", Uo = "[object GeneratorFunction]", Wo = "[object Proxy]"; +var Ns = "[object AsyncFunction]", Vs = "[object Function]", Hs = "[object GeneratorFunction]", Us = "[object Proxy]"; function li(e) { if (!ne(e)) return !1; var t = xe(e); - return t == Ho || t == Uo || t == Vo || t == Wo; + return t == Vs || t == Hs || t == Ns || t == Us; } -function Rt(e) { +function Ft(e) { return e != null && Cr(e.length) && !li(e); } -function Lt(e) { - return Rt(e) ? jo(e) : No(e); +function Rt(e) { + return Ft(e) ? Ds(e) : Ms(e); } function Dr(e, t) { - return e && Pa(e, t, Lt); + return e && Ia(e, t, Rt); } -function zo(e, t) { +function Ws(e, t) { return function(r, n) { if (r == null) return r; - if (!Rt(r)) + if (!Ft(r)) return e(r, n); - for (var i = r.length, a = t ? i : -1, o = Object(r); (t ? a-- : ++a < i) && n(o[a], a, o) !== !1; ) + for (var i = r.length, a = t ? i : -1, s = Object(r); (t ? a-- : ++a < i) && n(s[a], a, s) !== !1; ) ; return r; }; } -var Go = zo(Dr); -const jr = Go; +var zs = Ws(Dr); +const jr = zs; function ui(e) { return e; } function ci(e) { return typeof e == "function" ? e : ui; } -function Ko(e, t) { - var r = N(e) ? xa : jr; +function Gs(e, t) { + var r = k(e) ? xa : jr; return r(e, ci(t)); } function be(e, t) { return e && Dr(e, ci(t)); } -var Xo = Array.prototype, Qo = Xo.reverse; -function Yo(e) { - return e == null ? e : Qo.call(e); +var Ks = Array.prototype, Xs = Ks.reverse; +function Qs(e) { + return e == null ? e : Xs.call(e); } const Ct = y(0), fr = y(1), B = y({}), le = y(0), $e = typeof window > "u"; -function Jo(e, t, r) { - $e || window.addEventListener("popstate", Zo.bind(this)), Object.keys(t).length > 0 && Ct.value++, Fr(r), kt(r.head), Rr(e); +function Ys(e, t, r) { + $e || window.addEventListener("popstate", Js.bind(this)), Object.keys(t).length > 0 && Ct.value++, Lr(r), kt(r.head), Fr(e); const n = $e ? "" : location.href, i = qr( n, r.head, @@ -189,25 +189,25 @@ function Jo(e, t, r) { ); fi(i); } -function Zo(e) { - !e.state || (B.value = e.state, le.value = 0, kt(B.value.head), Rr(B.value.html, B.value.rememberedState.scrollY)); +function Js(e) { + !e.state || (B.value = e.state, le.value = 0, kt(B.value.head), Fr(B.value.html, B.value.rememberedState.scrollY)); } -function qr(e, t, r, n, i, a, o) { - const s = { +function qr(e, t, r, n, i, a, s) { + const o = { url: e, head: t, html: r, dynamics: n, rememberedState: i, pageVisitId: a, - dynamicVisitId: o + dynamicVisitId: s }; - return B.value = s, s; + return B.value = o, o; } -function es(e) { +function Zs(e) { $e || window.history.pushState(e, "", e.url); } -function ts(e) { +function eo(e) { const t = qr( e, JSON.parse(JSON.stringify(B.value.head)), @@ -223,23 +223,23 @@ function fi(e) { $e || window.history.replaceState(e, "", e.url); } const rr = y(0); -function rs(e, t) { +function to(e, t) { rr.value++; const r = e.request.responseURL; if (e.data.splade.lazy) return; - e.data.splade.modal && le.value++, Fr(e.data.splade), kt(e.data.splade.head); + e.data.splade.modal && le.value++, Lr(e.data.splade), kt(e.data.splade.head); const n = r === B.value.url; if (n && (t = !0), e.data.splade.modal) - return ds(e.data.html, e.data.splade.modal); + return fo(e.data.html, e.data.splade.modal); if (e.data.splade.preventRefresh && n) return; le.value = 0; let i = e.data.html, a = e.data.dynamics; - const o = Object.keys(B.value.dynamics).length > 0, s = Object.keys(a).length > 0; - t ? (s && be(a, (u, c) => { + const s = Object.keys(B.value.dynamics).length > 0, o = Object.keys(a).length > 0; + t ? (o && be(a, (u, c) => { a[c] += ``; - }), (!s || !o) && (i += ``)) : (s && Ct.value++, (!s || !o) && fr.value++), Rr(i, 0); + }), (!o || !s) && (i += ``)) : (o && Ct.value++, (!o || !s) && fr.value++), Fr(i, 0); const l = qr( r, e.data.splade.head, @@ -249,24 +249,24 @@ function rs(e, t) { fr.value, Ct.value ); - t ? fi(l) : es(l); + t ? fi(l) : Zs(l); } -function ns() { - le.value--, kt(as(le.value)); +function ro() { + le.value--, kt(io(le.value)); } -const di = y({}), pi = (e) => di.value[e], is = (e) => Object.keys(pi.value[e]).length > 0, hi = y({}), as = (e) => hi.value[e], vi = y({}), os = (e) => vi.value[e], We = y([]); -function ss(e) { +const di = y({}), pi = (e) => di.value[e], no = (e) => Object.keys(pi.value[e]).length > 0, hi = y({}), io = (e) => hi.value[e], mi = y({}), ao = (e) => mi.value[e], We = y([]); +function so(e) { We.value.push(e); } -const ls = I(() => Yo(We.value)); -function us(e) { +const oo = P(() => Qs(We.value)); +function lo(e) { We.value[e].dismissed = !0, We.value[e].html = null; } const Br = y(null); -function cs(e, t, r, n) { +function uo(e, t, r, n) { let i, a; - const o = new Promise((s, l) => { - i = s, a = l; + const s = new Promise((o, l) => { + i = o, a = l; }); return Br.value = { title: e, @@ -275,14 +275,14 @@ function cs(e, t, r, n) { cancelButton: n, resolvePromise: i, rejectPromise: a - }, o; + }, s; } -function fs() { +function co() { Br.value = null; } -const mi = y({}); -function Fr(e) { - mi.value = e.shared ? e.shared : {}, vi.value[le.value] = e.flash ? e.flash : {}, hi.value[le.value] = e.head ? e.head : {}, Ko(e.toasts ? e.toasts : [], (t) => { +const vi = y({}); +function Lr(e) { + vi.value = e.shared ? e.shared : {}, mi.value[le.value] = e.flash ? e.flash : {}, hi.value[le.value] = e.head ? e.head : {}, Gs(e.toasts ? e.toasts : [], (t) => { We.value.push(t); }), di.value[le.value] = e.errors ? e.errors : {}; } @@ -294,24 +294,24 @@ const gi = y(() => { function kt(e) { gi.value(e); } -function Rr(e, t) { +function Fr(e, t) { yi.value(e, t); } -function ds(e, t) { +function fo(e, t) { bi.value(e, t); } -function ps(e) { +function po(e) { wi.value(e); } const Si = y({}); function Oi(e, t, r) { - Si.value[e] = t, r && hs(e, t); + Si.value[e] = t, r && ho(e, t); } -function hs(e, t) { +function ho(e, t) { let r = JSON.parse(localStorage.getItem("splade") || "{}") || {}; r[e] = t, localStorage.setItem("splade", JSON.stringify(r)); } -function vs(e, t) { +function mo(e, t) { return t ? (JSON.parse(localStorage.getItem("splade") || "{}") || {})[e] : Si.value[e]; } function St(e, t) { @@ -329,48 +329,48 @@ function Qe(e, t, r, n, i) { Accept: "text/html, application/xhtml+xml", ...n }, - onUploadProgress: (o) => { - r instanceof FormData && (o.percentage = Math.round(o.loaded / o.total * 100), St("request-progress", { url: e, method: t, data: r, headers: n, replace: i, progress: o })); + onUploadProgress: (s) => { + r instanceof FormData && (s.percentage = Math.round(s.loaded / s.total * 100), St("request-progress", { url: e, method: t, data: r, headers: n, replace: i, progress: s })); } }); - return a.then((o) => { - rs(o, i), St("request-response", { url: e, method: t, data: r, headers: n, replace: i, response: o }); - }).catch((o) => { - St("request-error", { url: e, method: t, data: r, headers: n, replace: i, error: o }); - const s = o.response.data.splade; - s && (s.lazy || Fr(s)), o.response.status != 422 && ps( - o.response.data.html ? o.response.data.html : o.response.data + return a.then((s) => { + to(s, i), St("request-response", { url: e, method: t, data: r, headers: n, replace: i, response: s }); + }).catch((s) => { + St("request-error", { url: e, method: t, data: r, headers: n, replace: i, error: s }); + const o = s.response.data.splade; + o && (o.lazy || Lr(o)), s.response.status != 422 && po( + s.response.data.html ? s.response.data.html : s.response.data ); }), a; } function $i(e) { return Qe(e, "GET", {}, {}, !0); } -function ms(e) { +function vo(e) { return Qe(e, "GET", {}, {}, !1); } -function gs(e) { +function go(e) { return Qe(e, "GET", {}, { "X-Splade-Modal": "modal" }, !1); } -function ys(e) { +function yo(e) { return Qe(e, "GET", {}, { "X-Splade-Modal": "slideover" }, !1); } -function bs(e, t) { +function bo(e, t) { return Qe(e, "GET", {}, { "X-Splade-Lazy": t }, !1); } -function ws() { +function wo() { return $i(B.value.url); } -const m = { - init: Jo, +const h = { + init: Ys, replace: $i, - visit: ms, - modal: gs, - slideover: ys, - refresh: ws, + visit: vo, + modal: go, + slideover: yo, + refresh: wo, request: Qe, - lazy: bs, - replaceUrlOfCurrentPage: ts, + lazy: bo, + replaceUrlOfCurrentPage: eo, htmlForDynamicComponent(e) { return B.value.dynamics[e]; }, @@ -386,30 +386,30 @@ const m = { setOnServerError(e) { wi.value = e; }, - hasValidationErrors: is, + hasValidationErrors: no, validationErrors: pi, - sharedData: mi, - flashData: os, + sharedData: vi, + flashData: ao, toasts: We, - toastsReversed: ls, + toastsReversed: oo, confirmModal: Br, - confirm: cs, - clearConfirmModal: fs, - pushToast: ss, - dismissToast: us, - restore: vs, + confirm: uo, + clearConfirmModal: co, + pushToast: so, + dismissToast: lo, + restore: mo, remember: Oi, - popStack: ns, + popStack: ro, currentStack: le, - pageVisitId: I(() => B.value.pageVisitId), - dynamicVisitId: I(() => B.value.dynamicVisitId), + pageVisitId: P(() => B.value.pageVisitId), + dynamicVisitId: P(() => B.value.dynamicVisitId), isSsr: $e }; -var Ss = "[object String]"; +var So = "[object String]"; function Ot(e) { - return typeof e == "string" || !N(e) && Oe(e) && xe(e) == Ss; + return typeof e == "string" || !k(e) && Oe(e) && xe(e) == So; } -const se = { +const oe = { __name: "Render", props: { html: { @@ -421,13 +421,13 @@ const se = { setup(e) { const t = e, r = y(null); function n() { - r.value = R({ + r.value = F({ template: t.html }); } - return dt(() => t.html, n, { immediate: !0 }), (i, a) => e.html ? (j(), K(H(r), { key: 0 })) : Ft("", !0); + return dt(() => t.html, n, { immediate: !0 }), (i, a) => e.html ? (j(), K(H(r), { key: 0 })) : Lt("", !0); } -}, Os = { +}, Oo = { __name: "ServerError", props: { html: { @@ -439,22 +439,22 @@ const se = { setup(e, { emit: t }) { const r = e, n = y(null); function i() { - const s = document.createElement("html"); - s.innerHTML = r.html, s.querySelectorAll("a").forEach((u) => u.setAttribute("target", "_top")), document.body.style.overflow = "hidden"; + const o = document.createElement("html"); + o.innerHTML = r.html, o.querySelectorAll("a").forEach((u) => u.setAttribute("target", "_top")), document.body.style.overflow = "hidden"; const l = n.value; if (!l.contentWindow) throw new Error("iframe not yet ready."); - l.contentWindow.document.open(), l.contentWindow.document.write(s.outerHTML), l.contentWindow.document.close(), document.addEventListener("keydown", a); + l.contentWindow.document.open(), l.contentWindow.document.write(o.outerHTML), l.contentWindow.document.close(), document.addEventListener("keydown", a); } - function a(s) { - s.keyCode === 27 && o(); + function a(o) { + o.keyCode === 27 && s(); } - function o() { + function s() { document.body.style.overflow = "visible", document.removeEventListener("keydown", a), t("close"); } - return M(() => i()), (s, l) => (j(), de("div", { + return N(() => i()), (o, l) => (j(), de("div", { style: { position: "fixed", top: "0px", right: "0px", bottom: "0px", left: "0px", "z-index": "200000", "box-sizing": "border-box", height: "100vh", width: "100vw", "background-color": "rgb(0 0 0 / 0.75)", padding: "2rem" }, - onClick: o + onClick: s }, [ ur("iframe", { ref_key: "iframeElement", @@ -463,7 +463,7 @@ const se = { }, null, 512) ])); } -}, $s = { +}, $o = { __name: "SpladeApp", props: { el: { @@ -475,7 +475,7 @@ const se = { type: String, required: !1, default: (e) => { - if (!m.isSsr) { + if (!h.isSsr) { const t = Ot(e.el) ? document.getElementById(e.el) : e.el; return JSON.parse(t.dataset.components) || ""; } @@ -485,7 +485,7 @@ const se = { type: String, required: !1, default: (e) => { - if (!m.isSsr) { + if (!h.isSsr) { const t = Ot(e.el) ? document.getElementById(e.el) : e.el; return JSON.parse(t.dataset.html) || ""; } @@ -495,7 +495,7 @@ const se = { type: Object, required: !1, default: (e) => { - if (!m.isSsr) { + if (!h.isSsr) { const t = Ot(e.el) ? document.getElementById(e.el) : e.el; return JSON.parse(t.dataset.dynamics) || {}; } @@ -505,7 +505,7 @@ const se = { type: Object, required: !1, default: (e) => { - if (!m.isSsr) { + if (!h.isSsr) { const t = Ot(e.el) ? document.getElementById(e.el) : e.el; return JSON.parse(t.dataset.splade) || {}; } @@ -515,17 +515,17 @@ const se = { setup(e) { const t = e; te("stack", 0); - const r = y(), n = y([]), i = y(null), a = U("$spladeOptions") || {}, o = I(() => m.currentStack.value < 1 ? [] : { + const r = y(), n = y([]), i = y(null), a = U("$spladeOptions") || {}, s = P(() => h.currentStack.value < 1 ? [] : { filter: "blur(4px)", "transition-property": "filter", "transition-duration": "150ms", "transition-timing-function": "cubic-bezier(0.4, 0, 0.2, 1)" }); - function s() { + function o() { i.value = null; } function l(f) { - n[f] = null, m.popStack(); + n[f] = null, h.popStack(); } function u(f, p) { let d = document.querySelector(`meta[${f}="${p}"]`); @@ -537,86 +537,86 @@ const se = { p[v] = d; }); } - return m.setOnHead((f) => { - m.isSsr || (document.title = f.title, f.meta.forEach((p) => { + return h.setOnHead((f) => { + h.isSsr || (document.title = f.title, f.meta.forEach((p) => { c(p); })); - }), m.setOnHtml((f, p) => { + }), h.setOnHtml((f, p) => { n.value = [], r.value = f, Ue(() => { - m.isSsr || window.scrollTo(0, p), a.transform_anchors && [...document.querySelectorAll("a")].forEach((d) => { + h.isSsr || window.scrollTo(0, p), a.transform_anchors && [...document.querySelectorAll("a")].forEach((d) => { d.href == "" || d.href.charAt(0) == "#" || d.__vnode.dynamicProps === null && (d.hasAttribute("download") || (d.onclick = function(v) { - v.preventDefault(), m.visit(d.href); + v.preventDefault(), h.visit(d.href); })); }); }); - }), m.setOnModal(function(f, p) { - n.value[m.currentStack.value] = { html: f, type: p }; - }), m.setOnServerError(function(f) { + }), h.setOnModal(function(f, p) { + n.value[h.currentStack.value] = { html: f, type: p }; + }), h.setOnServerError(function(f) { i.value = f; - }), m.init(t.initialHtml, t.initialDynamics, t.initialSpladeData), (f, p) => (j(), de("div", null, [ - H(m).isSsr ? (j(), K(se, { - key: `visit.${H(m).pageVisitId.value}`, - style: It(H(o)), + }), h.init(t.initialHtml, t.initialDynamics, t.initialSpladeData), (f, p) => (j(), de("div", null, [ + H(h).isSsr ? (j(), K(oe, { + key: `visit.${H(h).pageVisitId.value}`, + style: Pt(H(s)), html: r.value }, null, 8, ["style", "html"])) : (j(), K(Jn, { key: 0, max: H(a).max_keep_alive }, [ - (j(), K(se, { - key: `visit.${H(m).pageVisitId.value}`, - style: It(H(o)), + (j(), K(oe, { + key: `visit.${H(h).pageVisitId.value}`, + style: Pt(H(s)), html: r.value }, null, 8, ["style", "html"])) ], 1032, ["max"])), - ga(se, { html: e.components }, null, 8, ["html"]), - (j(!0), de(Pr, null, ya(H(m).currentStack.value, (d) => (j(), K(se, { + ga(oe, { html: e.components }, null, 8, ["html"]), + (j(!0), de(Ir, null, ya(H(h).currentStack.value, (d) => (j(), K(oe, { key: `modal.${d}`, type: n.value[d].type, html: n.value[d].html, stack: d, - "on-top-of-stack": H(m).currentStack.value === d, + "on-top-of-stack": H(h).currentStack.value === d, onClose: (v) => l(d) }, null, 8, ["type", "html", "stack", "on-top-of-stack", "onClose"]))), 128)), - i.value ? (j(), K(Os, { + i.value ? (j(), K(Oo, { key: 2, html: i.value, - onClose: s - }, null, 8, ["html"])) : Ft("", !0) + onClose: o + }, null, 8, ["html"])) : Lt("", !0) ])); } }; function Kd(e) { - return () => R($s, e); + return () => F($o, e); } -var Es = Object.prototype, _s = Es.hasOwnProperty; -function xs(e, t) { - return e != null && _s.call(e, t); +var Eo = Object.prototype, _o = Eo.hasOwnProperty; +function xo(e, t) { + return e != null && _o.call(e, t); } -var Ts = "[object Symbol]"; +var To = "[object Symbol]"; function Mt(e) { - return typeof e == "symbol" || Oe(e) && xe(e) == Ts; + return typeof e == "symbol" || Oe(e) && xe(e) == To; } -var As = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ps = /^\w*$/; -function Lr(e, t) { - if (N(e)) +var Ao = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Io = /^\w*$/; +function Rr(e, t) { + if (k(e)) return !1; var r = typeof e; - return r == "number" || r == "symbol" || r == "boolean" || e == null || Mt(e) ? !0 : Ps.test(e) || !As.test(e) || t != null && e in Object(t); + return r == "number" || r == "symbol" || r == "boolean" || e == null || Mt(e) ? !0 : Io.test(e) || !Ao.test(e) || t != null && e in Object(t); } -var Is = oe["__core-js_shared__"]; -const nr = Is; +var Po = se["__core-js_shared__"]; +const nr = Po; var yn = function() { var e = /[^.]+$/.exec(nr && nr.keys && nr.keys.IE_PROTO || ""); return e ? "Symbol(src)_1." + e : ""; }(); -function Cs(e) { +function Co(e) { return !!yn && yn in e; } -var Ds = Function.prototype, js = Ds.toString; -function Le(e) { +var Do = Function.prototype, jo = Do.toString; +function Re(e) { if (e != null) { try { - return js.call(e); + return jo.call(e); } catch { } try { @@ -626,49 +626,49 @@ function Le(e) { } return ""; } -var qs = /[\\^$.*+?()[\]{}|]/g, Bs = /^\[object .+?Constructor\]$/, Fs = Function.prototype, Rs = Object.prototype, Ls = Fs.toString, ks = Rs.hasOwnProperty, Ms = RegExp( - "^" + Ls.call(ks).replace(qs, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" +var qo = /[\\^$.*+?()[\]{}|]/g, Bo = /^\[object .+?Constructor\]$/, Lo = Function.prototype, Fo = Object.prototype, Ro = Lo.toString, ko = Fo.hasOwnProperty, Mo = RegExp( + "^" + Ro.call(ko).replace(qo, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$" ); -function Ns(e) { - if (!ne(e) || Cs(e)) +function No(e) { + if (!ne(e) || Co(e)) return !1; - var t = li(e) ? Ms : Bs; - return t.test(Le(e)); + var t = li(e) ? Mo : Bo; + return t.test(Re(e)); } -function Vs(e, t) { +function Vo(e, t) { return e == null ? void 0 : e[t]; } function ke(e, t) { - var r = Vs(e, t); - return Ns(r) ? r : void 0; + var r = Vo(e, t); + return No(r) ? r : void 0; } -var Hs = ke(Object, "create"); -const lt = Hs; -function Us() { +var Ho = ke(Object, "create"); +const lt = Ho; +function Uo() { this.__data__ = lt ? lt(null) : {}, this.size = 0; } -function Ws(e) { +function Wo(e) { var t = this.has(e) && delete this.__data__[e]; return this.size -= t ? 1 : 0, t; } -var zs = "__lodash_hash_undefined__", Gs = Object.prototype, Ks = Gs.hasOwnProperty; -function Xs(e) { +var zo = "__lodash_hash_undefined__", Go = Object.prototype, Ko = Go.hasOwnProperty; +function Xo(e) { var t = this.__data__; if (lt) { var r = t[e]; - return r === zs ? void 0 : r; + return r === zo ? void 0 : r; } - return Ks.call(t, e) ? t[e] : void 0; + return Ko.call(t, e) ? t[e] : void 0; } -var Qs = Object.prototype, Ys = Qs.hasOwnProperty; -function Js(e) { +var Qo = Object.prototype, Yo = Qo.hasOwnProperty; +function Jo(e) { var t = this.__data__; - return lt ? t[e] !== void 0 : Ys.call(t, e); + return lt ? t[e] !== void 0 : Yo.call(t, e); } -var Zs = "__lodash_hash_undefined__"; +var Zo = "__lodash_hash_undefined__"; function el(e, t) { var r = this.__data__; - return this.size += this.has(e) ? 0 : 1, r[e] = lt && t === void 0 ? Zs : t, this; + return this.size += this.has(e) ? 0 : 1, r[e] = lt && t === void 0 ? Zo : t, this; } function Be(e) { var t = -1, r = e == null ? 0 : e.length; @@ -677,10 +677,10 @@ function Be(e) { this.set(n[0], n[1]); } } -Be.prototype.clear = Us; -Be.prototype.delete = Ws; -Be.prototype.get = Xs; -Be.prototype.has = Js; +Be.prototype.clear = Uo; +Be.prototype.delete = Wo; +Be.prototype.get = Xo; +Be.prototype.has = Jo; Be.prototype.set = el; function tl() { this.__data__ = [], this.size = 0; @@ -706,10 +706,10 @@ function al(e) { var t = this.__data__, r = Nt(t, e); return r < 0 ? void 0 : t[r][1]; } -function ol(e) { +function sl(e) { return Nt(this.__data__, e) > -1; } -function sl(e, t) { +function ol(e, t) { var r = this.__data__, n = Nt(r, e); return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this; } @@ -723,9 +723,9 @@ function he(e) { he.prototype.clear = tl; he.prototype.delete = il; he.prototype.get = al; -he.prototype.has = ol; -he.prototype.set = sl; -var ll = ke(oe, "Map"); +he.prototype.has = sl; +he.prototype.set = ol; +var ll = ke(se, "Map"); const ut = ll; function ul() { this.size = 0, this.__data__ = { @@ -756,36 +756,36 @@ function hl(e, t) { var r = Vt(this, e), n = r.size; return r.set(e, t), this.size += r.size == n ? 0 : 1, this; } -function ve(e) { +function me(e) { var t = -1, r = e == null ? 0 : e.length; for (this.clear(); ++t < r; ) { var n = e[t]; this.set(n[0], n[1]); } } -ve.prototype.clear = ul; -ve.prototype.delete = fl; -ve.prototype.get = dl; -ve.prototype.has = pl; -ve.prototype.set = hl; -var vl = "Expected a function"; +me.prototype.clear = ul; +me.prototype.delete = fl; +me.prototype.get = dl; +me.prototype.has = pl; +me.prototype.set = hl; +var ml = "Expected a function"; function Mr(e, t) { if (typeof e != "function" || t != null && typeof t != "function") - throw new TypeError(vl); + throw new TypeError(ml); var r = function() { var n = arguments, i = t ? t.apply(this, n) : n[0], a = r.cache; if (a.has(i)) return a.get(i); - var o = e.apply(this, n); - return r.cache = a.set(i, o) || a, o; + var s = e.apply(this, n); + return r.cache = a.set(i, s) || a, s; }; - return r.cache = new (Mr.Cache || ve)(), r; + return r.cache = new (Mr.Cache || me)(), r; } -Mr.Cache = ve; -var ml = 500; +Mr.Cache = me; +var vl = 500; function gl(e) { var t = Mr(e, function(n) { - return r.size === ml && r.clear(), n; + return r.size === vl && r.clear(), n; }), r = t.cache; return t; } @@ -805,7 +805,7 @@ var Ol = 1 / 0, bn = Se ? Se.prototype : void 0, wn = bn ? bn.toString : void 0; function Ht(e) { if (typeof e == "string") return e; - if (N(e)) + if (k(e)) return Ei(e, Ht) + ""; if (Mt(e)) return wn ? wn.call(e) : ""; @@ -816,7 +816,7 @@ function Nr(e) { return e == null ? "" : Ht(e); } function Vr(e, t) { - return N(e) ? e : Lr(e, t) ? [e] : Sl(Nr(e)); + return k(e) ? e : Rr(e, t) ? [e] : Sl(Nr(e)); } var $l = 1 / 0; function pt(e) { @@ -828,15 +828,15 @@ function pt(e) { function _i(e, t, r) { t = Vr(t, e); for (var n = -1, i = t.length, a = !1; ++n < i; ) { - var o = pt(t[n]); - if (!(a = e != null && r(e, o))) + var s = pt(t[n]); + if (!(a = e != null && r(e, s))) break; - e = e[o]; + e = e[s]; } - return a || ++n != i ? a : (i = e == null ? 0 : e.length, !!i && Cr(i) && Ir(o, i) && (N(e) || ii(e))); + return a || ++n != i ? a : (i = e == null ? 0 : e.length, !!i && Cr(i) && Pr(s, i) && (k(e) || ii(e))); } function G(e, t) { - return e != null && _i(e, t, xs); + return e != null && _i(e, t, xo); } function Y(e, t, ...r) { if (e in t) { @@ -849,44 +849,44 @@ function Y(e, t, ...r) { var Dt = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(Dt || {}), we = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(we || {}); function z({ visible: e = !0, features: t = 0, ourProps: r, theirProps: n, ...i }) { var a; - let o = El(n, r), s = Object.assign(i, { props: o }); - if (e || t & 2 && o.static) - return ir(s); + let s = El(n, r), o = Object.assign(i, { props: s }); + if (e || t & 2 && s.static) + return ir(o); if (t & 1) { - let l = (a = o.unmount) == null || a ? 0 : 1; + let l = (a = s.unmount) == null || a ? 0 : 1; return Y(l, { [0]() { return null; }, [1]() { - return ir({ ...i, props: { ...o, hidden: !0, style: { display: "none" } } }); + return ir({ ...i, props: { ...s, hidden: !0, style: { display: "none" } } }); } }); } - return ir(s); + return ir(o); } function ir({ props: e, attrs: t, slots: r, slot: n, name: i }) { var a; - let { as: o, ...s } = Ti(e, ["unmount", "static"]), l = (a = r.default) == null ? void 0 : a.call(r, n), u = {}; + let { as: s, ...o } = Ti(e, ["unmount", "static"]), l = (a = r.default) == null ? void 0 : a.call(r, n), u = {}; if (n) { let c = !1, f = []; for (let [p, d] of Object.entries(n)) typeof d == "boolean" && (c = !0), d === !0 && f.push(p); c && (u["data-headlessui-state"] = f.join(" ")); } - if (o === "template") { - if (l = xi(l != null ? l : []), Object.keys(s).length > 0 || Object.keys(t).length > 0) { + if (s === "template") { + if (l = xi(l != null ? l : []), Object.keys(o).length > 0 || Object.keys(t).length > 0) { let [c, ...f] = l != null ? l : []; if (!_l(c) || f.length > 0) - throw new Error(['Passing props on "template"!', "", `The current component <${i} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(s).concat(Object.keys(t)).sort((p, d) => p.localeCompare(d)).map((p) => ` - ${p}`).join(` + throw new Error(['Passing props on "template"!', "", `The current component <${i} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(o).concat(Object.keys(t)).sort((p, d) => p.localeCompare(d)).map((p) => ` - ${p}`).join(` `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((p) => ` - ${p}`).join(` `)].join(` `)); - return ba(c, Object.assign({}, s, u)); + return ba(c, Object.assign({}, o, u)); } return Array.isArray(l) && l.length === 1 ? l[0] : l; } - return R(o, Object.assign({}, s, u), l); + return F(s, Object.assign({}, o, u), l); } function xi(e) { - return e.flatMap((t) => t.type === Pr ? xi(t.children) : [t]); + return e.flatMap((t) => t.type === Ir ? xi(t.children) : [t]); } function El(...e) { if (e.length === 0) @@ -901,11 +901,11 @@ function El(...e) { return Object.assign(t, Object.fromEntries(Object.keys(r).map((n) => [n, void 0]))); for (let n in r) Object.assign(t, { [n](i, ...a) { - let o = r[n]; - for (let s of o) { + let s = r[n]; + for (let o of s) { if (i instanceof Event && i.defaultPrevented) return; - s(i, ...a); + o(i, ...a); } } }); return t; @@ -931,16 +931,16 @@ function pe(e) { var t; return e == null || e.value == null ? null : (t = e.value.$el) != null ? t : e.value; } -let Pi = Symbol("Context"); -var Fe = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Fe || {}); +let Ii = Symbol("Context"); +var Le = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Le || {}); function Al() { return Hr() !== null; } function Hr() { - return U(Pi, null); + return U(Ii, null); } -function Pl(e) { - te(Pi, e); +function Il(e) { + te(Ii, e); } const Ut = typeof window > "u" || typeof document > "u"; function Ye(e) { @@ -956,7 +956,7 @@ function Ye(e) { return document; } let dr = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","); -var ct = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(ct || {}), Ii = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Ii || {}), Il = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Il || {}); +var ct = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(ct || {}), Pi = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Pi || {}), Pl = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Pl || {}); function Cl(e = document.body) { return e == null ? [] : Array.from(e.querySelectorAll(dr)); } @@ -975,7 +975,7 @@ function Dl(e, t = 0) { return !1; } }); } -function ot(e) { +function st(e) { e == null || e.focus({ preventScroll: !0 }); } let jl = ["textarea", "input"].join(","); @@ -988,15 +988,15 @@ function Bl(e, t = (r) => r) { let i = t(r), a = t(n); if (i === null || a === null) return 0; - let o = i.compareDocumentPosition(a); - return o & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : o & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0; + let s = i.compareDocumentPosition(a); + return s & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : s & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0; }); } function pr(e, t, r = !0, n = null) { var i; - let a = (i = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e == null ? void 0 : e.ownerDocument) != null ? i : document, o = Array.isArray(e) ? r ? Bl(e) : e : Cl(e); + let a = (i = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e == null ? void 0 : e.ownerDocument) != null ? i : document, s = Array.isArray(e) ? r ? Bl(e) : e : Cl(e); n = n != null ? n : a.activeElement; - let s = (() => { + let o = (() => { if (t & 5) return 1; if (t & 10) @@ -1006,13 +1006,13 @@ function pr(e, t, r = !0, n = null) { if (t & 1) return 0; if (t & 2) - return Math.max(0, o.indexOf(n)) - 1; + return Math.max(0, s.indexOf(n)) - 1; if (t & 4) - return Math.max(0, o.indexOf(n)) + 1; + return Math.max(0, s.indexOf(n)) + 1; if (t & 8) - return o.length - 1; + return s.length - 1; throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last"); - })(), u = t & 32 ? { preventScroll: !0 } : {}, c = 0, f = o.length, p; + })(), u = t & 32 ? { preventScroll: !0 } : {}, c = 0, f = s.length, p; do { if (c >= f || c + f <= 0) return 0; @@ -1025,7 +1025,7 @@ function pr(e, t, r = !0, n = null) { if (d >= f) return 1; } - p = o[d], p == null || p.focus(u), c += s; + p = s[d], p == null || p.focus(u), c += o; } while (p !== a.activeElement); return t & 6 && ql(p) && p.select(), p.hasAttribute("tabindex") || p.setAttribute("tabindex", "0"), 2; } @@ -1034,12 +1034,12 @@ function ar(e, t, r) { document.addEventListener(e, t, r), n(() => document.removeEventListener(e, t, r)); }); } -function Fl(e, t, r = I(() => !0)) { - function n(a, o) { +function Ll(e, t, r = P(() => !0)) { + function n(a, s) { if (!r.value || a.defaultPrevented) return; - let s = o(a); - if (s === null || !s.ownerDocument.documentElement.contains(s)) + let o = s(a); + if (o === null || !o.ownerDocument.documentElement.contains(o)) return; let l = function u(c) { return typeof c == "function" ? u(c()) : Array.isArray(c) || c instanceof Set ? c : [c]; @@ -1048,15 +1048,15 @@ function Fl(e, t, r = I(() => !0)) { if (u === null) continue; let c = u instanceof HTMLElement ? u : pe(u); - if (c != null && c.contains(s)) + if (c != null && c.contains(o)) return; } - return !Dl(s, Ci.Loose) && s.tabIndex !== -1 && a.preventDefault(), t(a, s); + return !Dl(o, Ci.Loose) && o.tabIndex !== -1 && a.preventDefault(), t(a, o); } let i = y(null); ar("mousedown", (a) => { - var o, s; - r.value && (i.value = ((s = (o = a.composedPath) == null ? void 0 : o.call(a)) == null ? void 0 : s[0]) || a.target); + var s, o; + r.value && (i.value = ((o = (s = a.composedPath) == null ? void 0 : s.call(a)) == null ? void 0 : o[0]) || a.target); }, !0), ar("click", (a) => { !i.value || (n(a, () => i.value), i.value = null); }, !0), ar("blur", (a) => n(a, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0); @@ -1068,15 +1068,15 @@ let hr = W({ name: "Hidden", props: { as: { type: [Object, String], default: "di return z({ ourProps: a, theirProps: i, slot: {}, attrs: r, slots: t, name: "Hidden" }); }; } }); -function Rl(e, t, r) { +function Fl(e, t, r) { Ut || Z((n) => { window.addEventListener(e, t, r), n(() => window.removeEventListener(e, t, r)); }); } -var vr = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(vr || {}); -function Ll() { +var mr = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(mr || {}); +function Rl() { let e = y(0); - return Rl("keydown", (t) => { + return Fl("keydown", (t) => { t.key === "Tab" && (e.value = t.shiftKey ? 1 : 0); }), e; } @@ -1094,18 +1094,18 @@ var ji = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus" let nt = Object.assign(W({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: Object, default: y(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: r, expose: n }) { let i = y(null); n({ el: i, $el: i }); - let a = I(() => Ye(i)); - Ml({ ownerDocument: a }, I(() => Boolean(e.features & 16))); - let o = Nl({ ownerDocument: a, container: i, initialFocus: I(() => e.initialFocus) }, I(() => Boolean(e.features & 2))); - Vl({ ownerDocument: a, container: i, containers: e.containers, previousActiveElement: o }, I(() => Boolean(e.features & 8))); - let s = Ll(); + let a = P(() => Ye(i)); + Ml({ ownerDocument: a }, P(() => Boolean(e.features & 16))); + let s = Nl({ ownerDocument: a, container: i, initialFocus: P(() => e.initialFocus) }, P(() => Boolean(e.features & 2))); + Vl({ ownerDocument: a, container: i, containers: e.containers, previousActiveElement: s }, P(() => Boolean(e.features & 8))); + let o = Rl(); function l() { let u = pe(i); - !u || Y(s.value, { [vr.Forwards]: () => pr(u, ct.First), [vr.Backwards]: () => pr(u, ct.Last) }); + !u || Y(o.value, { [mr.Forwards]: () => pr(u, ct.First), [mr.Backwards]: () => pr(u, ct.Last) }); } return () => { let u = {}, c = { ref: i }, { features: f, initialFocus: p, containers: d, ...v } = e; - return R(Pr, [Boolean(f & 4) && R(hr, { as: "button", type: "button", onFocus: l, features: jt.Focusable }), z({ ourProps: c, theirProps: { ...t, ...v }, slot: u, attrs: t, slots: r, name: "FocusTrap" }), Boolean(f & 4) && R(hr, { as: "button", type: "button", onFocus: l, features: jt.Focusable })]); + return F(Ir, [Boolean(f & 4) && F(hr, { as: "button", type: "button", onFocus: l, features: jt.Focusable }), z({ ourProps: c, theirProps: { ...t, ...v }, slot: u, attrs: t, slots: r, name: "FocusTrap" }), Boolean(f & 4) && F(hr, { as: "button", type: "button", onFocus: l, features: jt.Focusable })]); }; } }), { features: ji }); function Ml({ ownerDocument: e }, t) { @@ -1115,19 +1115,19 @@ function Ml({ ownerDocument: e }, t) { r.value || (r.value = (a = e.value) == null ? void 0 : a.activeElement); } function i() { - !r.value || (ot(r.value), r.value = null); + !r.value || (st(r.value), r.value = null); } - M(() => { - dt(t, (a, o) => { - a !== o && (a ? n() : i()); + N(() => { + dt(t, (a, s) => { + a !== s && (a ? n() : i()); }, { immediate: !0 }); }), _e(i); } function Nl({ ownerDocument: e, container: t, initialFocus: r }, n) { let i = y(null), a = y(!1); - return M(() => a.value = !0), _e(() => a.value = !1), M(() => { - dt([t, r, n], (o, s) => { - if (o.every((u, c) => (s == null ? void 0 : s[c]) === u) || !n.value) + return N(() => a.value = !0), _e(() => a.value = !1), N(() => { + dt([t, r, n], (s, o) => { + if (s.every((u, c) => (o == null ? void 0 : o[c]) === u) || !n.value) return; let l = pe(t); !l || kl(() => { @@ -1144,23 +1144,23 @@ function Nl({ ownerDocument: e, container: t, initialFocus: r }, n) { i.value = p; return; } - f ? ot(f) : pr(l, ct.First | ct.NoScroll) === Ii.Error && console.warn("There are no focusable elements inside the "), i.value = (c = e.value) == null ? void 0 : c.activeElement; + f ? st(f) : pr(l, ct.First | ct.NoScroll) === Pi.Error && console.warn("There are no focusable elements inside the "), i.value = (c = e.value) == null ? void 0 : c.activeElement; }); }, { immediate: !0, flush: "post" }); }), i; } function Vl({ ownerDocument: e, container: t, containers: r, previousActiveElement: n }, i) { var a; - Di((a = e.value) == null ? void 0 : a.defaultView, "focus", (o) => { + Di((a = e.value) == null ? void 0 : a.defaultView, "focus", (s) => { if (!i.value) return; - let s = new Set(r == null ? void 0 : r.value); - s.add(t); + let o = new Set(r == null ? void 0 : r.value); + o.add(t); let l = n.value; if (!l) return; - let u = o.target; - u && u instanceof HTMLElement ? Hl(s, u) ? (n.value = u, ot(u)) : (o.preventDefault(), o.stopPropagation(), ot(l)) : ot(n.value); + let u = s.target; + u && u instanceof HTMLElement ? Hl(o, u) ? (n.value = u, st(u)) : (s.preventDefault(), s.stopPropagation(), st(l)) : st(n.value); }, !0); } function Hl(e, t) { @@ -1189,8 +1189,8 @@ function Ul(e, t = y(!0)) { a.contains(n) && ($n(a), ye.delete(a)); i.querySelectorAll(Sn).forEach((a) => { if (a instanceof HTMLElement) { - for (let o of He) - if (a.contains(o)) + for (let s of He) + if (a.contains(s)) return; He.size === 1 && (ye.set(a, { "aria-hidden": a.getAttribute("aria-hidden"), inert: a.inert }), On(a)); } @@ -1198,8 +1198,8 @@ function Ul(e, t = y(!0)) { if (He.delete(n), He.size > 0) i.querySelectorAll(Sn).forEach((a) => { if (a instanceof HTMLElement && !ye.has(a)) { - for (let o of He) - if (a.contains(o)) + for (let s of He) + if (a.contains(s)) return; ye.set(a, { "aria-hidden": a.getAttribute("aria-hidden"), inert: a.inert }), On(a); } @@ -1215,7 +1215,7 @@ let qi = Symbol("ForcePortalRootContext"); function Wl() { return U(qi, !1); } -let mr = W({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: t, attrs: r }) { +let vr = W({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: t, attrs: r }) { return te(qi, e.force), () => { let { force: n, ...i } = e; return z({ theirProps: i, ourProps: {}, slot: {}, slots: t, attrs: r, name: "ForcePortalRoot" }); @@ -1235,49 +1235,49 @@ function zl(e) { return n.setAttribute("id", "headlessui-portal-root"), t.body.appendChild(n); } let Bi = W({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: r }) { - let n = y(null), i = I(() => Ye(n)), a = Wl(), o = U(Fi, null), s = y(a === !0 || o == null ? zl(n.value) : o.resolveTarget()); + let n = y(null), i = P(() => Ye(n)), a = Wl(), s = U(Li, null), o = y(a === !0 || s == null ? zl(n.value) : s.resolveTarget()); return Z(() => { - a || o != null && (s.value = o.resolveTarget()); + a || s != null && (o.value = s.resolveTarget()); }), _e(() => { var l, u; let c = (l = i.value) == null ? void 0 : l.getElementById("headlessui-portal-root"); - !c || s.value === c && s.value.children.length <= 0 && ((u = s.value.parentElement) == null || u.removeChild(s.value)); + !c || o.value === c && o.value.children.length <= 0 && ((u = o.value.parentElement) == null || u.removeChild(o.value)); }), () => { - if (s.value === null) + if (o.value === null) return null; let l = { ref: n, "data-headlessui-portal": "" }; - return R(Zn, { to: s.value }, z({ ourProps: l, theirProps: e, slot: {}, attrs: r, slots: t, name: "Portal" })); + return F(Zn, { to: o.value }, z({ ourProps: l, theirProps: e, slot: {}, attrs: r, slots: t, name: "Portal" })); }; -} }), Fi = Symbol("PortalGroupContext"), Gl = W({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(e, { attrs: t, slots: r }) { +} }), Li = Symbol("PortalGroupContext"), Gl = W({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(e, { attrs: t, slots: r }) { let n = wa({ resolveTarget() { return e.target; } }); - return te(Fi, n), () => { + return te(Li, n), () => { let { target: i, ...a } = e; return z({ theirProps: a, ourProps: {}, slot: {}, attrs: t, slots: r, name: "PortalGroup" }); }; -} }), Ri = Symbol("StackContext"); +} }), Fi = Symbol("StackContext"); var gr = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(gr || {}); function Kl() { - return U(Ri, () => { + return U(Fi, () => { }); } function Xl({ type: e, enabled: t, element: r, onUpdate: n }) { let i = Kl(); - function a(...o) { - n == null || n(...o), i(...o); + function a(...s) { + n == null || n(...s), i(...s); } - M(() => { - dt(t, (o, s) => { - o ? a(0, e, r) : s === !0 && a(1, e, r); + N(() => { + dt(t, (s, o) => { + s ? a(0, e, r) : o === !0 && a(1, e, r); }, { immediate: !0, flush: "sync" }); }), _e(() => { t.value && a(1, e, r); - }), te(Ri, a); + }), te(Fi, a); } -let Li = Symbol("DescriptionContext"); +let Ri = Symbol("DescriptionContext"); function Ql() { - let e = U(Li, null); + let e = U(Ri, null); if (e === null) throw new Error("Missing parent"); return e; @@ -1286,24 +1286,24 @@ function Yl({ slot: e = y({}), name: t = "Description", props: r = {} } = {}) { let n = y([]); function i(a) { return n.value.push(a), () => { - let o = n.value.indexOf(a); - o !== -1 && n.value.splice(o, 1); + let s = n.value.indexOf(a); + s !== -1 && n.value.splice(s, 1); }; } - return te(Li, { register: i, slot: e, name: t, props: r }), I(() => n.value.length > 0 ? n.value.join(" ") : void 0); + return te(Ri, { register: i, slot: e, name: t, props: r }), P(() => n.value.length > 0 ? n.value.join(" ") : void 0); } let Xd = W({ name: "Description", props: { as: { type: [Object, String], default: "p" } }, setup(e, { attrs: t, slots: r }) { let n = Ql(), i = `headlessui-description-${Me()}`; - return M(() => _e(n.register(i))), () => { - let { name: a = "Description", slot: o = y({}), props: s = {} } = n, l = e, u = { ...Object.entries(s).reduce((c, [f, p]) => Object.assign(c, { [f]: H(p) }), {}), id: i }; - return z({ ourProps: u, theirProps: l, slot: o.value, attrs: t, slots: r, name: a }); + return N(() => _e(n.register(i))), () => { + let { name: a = "Description", slot: s = y({}), props: o = {} } = n, l = e, u = { ...Object.entries(o).reduce((c, [f, p]) => Object.assign(c, { [f]: H(p) }), {}), id: i }; + return z({ ourProps: u, theirProps: l, slot: s.value, attrs: t, slots: r, name: a }); }; } }); function Ur() { let e = [], t = [], r = { enqueue(n) { t.push(n); - }, addEventListener(n, i, a, o) { - return n.addEventListener(i, a, o), r.add(() => n.removeEventListener(i, a, o)); + }, addEventListener(n, i, a, s) { + return n.addEventListener(i, a, s), r.add(() => n.removeEventListener(i, a, s)); }, requestAnimationFrame(...n) { let i = requestAnimationFrame(...n); r.add(() => cancelAnimationFrame(i)); @@ -1340,36 +1340,36 @@ function ht(e) { } let $t = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Wr = W({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: $t }, initialFocus: { type: Object, default: null } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: r, slots: n, expose: i }) { var a; - let o = y(!1); - M(() => { - o.value = !0; + let s = y(!1); + N(() => { + s.value = !0; }); - let s = y(0), l = Hr(), u = I(() => e.open === $t && l !== null ? Y(l.value, { [Fe.Open]: !0, [Fe.Closed]: !1 }) : e.open), c = y(/* @__PURE__ */ new Set()), f = y(null), p = y(null), d = I(() => Ye(f)); + let o = y(0), l = Hr(), u = P(() => e.open === $t && l !== null ? Y(l.value, { [Le.Open]: !0, [Le.Closed]: !1 }) : e.open), c = y(/* @__PURE__ */ new Set()), f = y(null), p = y(null), d = P(() => Ye(f)); if (i({ el: f, $el: f }), !(e.open !== $t || l !== null)) throw new Error("You forgot to provide an `open` prop to the `Dialog`."); if (typeof u.value != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${u.value === $t ? void 0 : e.open}`); - let v = I(() => o.value && u.value ? 0 : 1), b = I(() => v.value === 0), w = I(() => s.value > 1), T = U(yr, null) !== null, A = I(() => w.value ? "parent" : "leaf"); - Ul(f, I(() => w.value ? b.value : !1)), Xl({ type: "Dialog", enabled: I(() => v.value === 0), element: f, onUpdate: (g, S, _) => { + let v = P(() => s.value && u.value ? 0 : 1), b = P(() => v.value === 0), w = P(() => o.value > 1), T = U(yr, null) !== null, A = P(() => w.value ? "parent" : "leaf"); + Ul(f, P(() => w.value ? b.value : !1)), Xl({ type: "Dialog", enabled: P(() => v.value === 0), element: f, onUpdate: (g, S, _) => { if (S === "Dialog") return Y(g, { [gr.Add]() { - c.value.add(_), s.value += 1; + c.value.add(_), o.value += 1; }, [gr.Remove]() { - c.value.delete(_), s.value -= 1; + c.value.delete(_), o.value -= 1; } }); } }); - let P = Yl({ name: "DialogDescription", slot: I(() => ({ open: u.value })) }), E = `headlessui-dialog-${Me()}`, O = y(null), h = { titleId: O, panelRef: y(null), dialogState: v, setTitleId(g) { + let I = Yl({ name: "DialogDescription", slot: P(() => ({ open: u.value })) }), E = `headlessui-dialog-${Me()}`, O = y(null), m = { titleId: O, panelRef: y(null), dialogState: v, setTitleId(g) { O.value !== g && (O.value = g); }, close() { t("close", !1); } }; - return te(yr, h), Fl(() => { + return te(yr, m), Ll(() => { var g, S, _; - return [...Array.from((S = (g = d.value) == null ? void 0 : g.querySelectorAll("body > *, [data-headlessui-portal]")) != null ? S : []).filter((x) => !(!(x instanceof HTMLElement) || x.contains(pe(p)) || h.panelRef.value && x.contains(h.panelRef.value))), (_ = h.panelRef.value) != null ? _ : f.value]; + return [...Array.from((S = (g = d.value) == null ? void 0 : g.querySelectorAll("body > *, [data-headlessui-portal]")) != null ? S : []).filter((x) => !(!(x instanceof HTMLElement) || x.contains(pe(p)) || m.panelRef.value && x.contains(m.panelRef.value))), (_ = m.panelRef.value) != null ? _ : f.value]; }, (g, S) => { - h.close(), Ue(() => S == null ? void 0 : S.focus()); - }, I(() => v.value === 0 && !w.value)), Di((a = d.value) == null ? void 0 : a.defaultView, "keydown", (g) => { - g.defaultPrevented || g.key === Ai.Escape && v.value === 0 && (w.value || (g.preventDefault(), g.stopPropagation(), h.close())); + m.close(), Ue(() => S == null ? void 0 : S.focus()); + }, P(() => v.value === 0 && !w.value)), Di((a = d.value) == null ? void 0 : a.defaultView, "keydown", (g) => { + g.defaultPrevented || g.key === Ai.Escape && v.value === 0 && (w.value || (g.preventDefault(), g.stopPropagation(), m.close())); }), Z((g) => { var S; if (v.value !== 0 || T) @@ -1378,20 +1378,20 @@ let $t = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Wr = W({ name: "Dialog", inheri if (!_) return; let x = Ur(); - function $(F, V, L) { - let k = F.style.getPropertyValue(V); - return Object.assign(F.style, { [V]: L }), x.add(() => { - Object.assign(F.style, { [V]: k }); + function $(L, V, R) { + let M = L.style.getPropertyValue(V); + return Object.assign(L.style, { [V]: R }), x.add(() => { + Object.assign(L.style, { [V]: M }); }); } let C = _ == null ? void 0 : _.documentElement, q = ((S = _.defaultView) != null ? S : window).innerWidth - C.clientWidth; if ($(C, "overflow", "hidden"), q > 0) { - let F = C.clientWidth - C.offsetWidth, V = q - F; + let L = C.clientWidth - C.offsetWidth, V = q - L; $(C, "paddingRight", `${V}px`); } if (Jl()) { - let F = window.pageYOffset; - $(C, "position", "fixed"), $(C, "marginTop", `-${F}px`), $(C, "width", "100%"), x.add(() => window.scrollTo(0, F)); + let L = window.pageYOffset; + $(C, "position", "fixed"), $(C, "marginTop", `-${L}px`), $(C, "width", "100%"), x.add(() => window.scrollTo(0, L)); } g(x.dispose); }), Z((g) => { @@ -1402,45 +1402,45 @@ let $t = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Wr = W({ name: "Dialog", inheri return; let _ = new IntersectionObserver((x) => { for (let $ of x) - $.boundingClientRect.x === 0 && $.boundingClientRect.y === 0 && $.boundingClientRect.width === 0 && $.boundingClientRect.height === 0 && h.close(); + $.boundingClientRect.x === 0 && $.boundingClientRect.y === 0 && $.boundingClientRect.width === 0 && $.boundingClientRect.height === 0 && m.close(); }); _.observe(S), g(() => _.disconnect()); }), () => { - let g = { ...r, ref: f, id: E, role: "dialog", "aria-modal": v.value === 0 ? !0 : void 0, "aria-labelledby": O.value, "aria-describedby": P.value }, { open: S, initialFocus: _, ...x } = e, $ = { open: v.value === 0 }; - return R(mr, { force: !0 }, () => [R(Bi, () => R(Gl, { target: f.value }, () => R(mr, { force: !1 }, () => R(nt, { initialFocus: _, containers: c, features: b.value ? Y(A.value, { parent: nt.features.RestoreFocus, leaf: nt.features.All & ~nt.features.FocusLock }) : nt.features.None }, () => z({ ourProps: g, theirProps: x, slot: $, attrs: r, slots: n, visible: v.value === 0, features: Dt.RenderStrategy | Dt.Static, name: "Dialog" }))))), R(hr, { features: jt.Hidden, ref: p })]); + let g = { ...r, ref: f, id: E, role: "dialog", "aria-modal": v.value === 0 ? !0 : void 0, "aria-labelledby": O.value, "aria-describedby": I.value }, { open: S, initialFocus: _, ...x } = e, $ = { open: v.value === 0 }; + return F(vr, { force: !0 }, () => [F(Bi, () => F(Gl, { target: f.value }, () => F(vr, { force: !1 }, () => F(nt, { initialFocus: _, containers: c, features: b.value ? Y(A.value, { parent: nt.features.RestoreFocus, leaf: nt.features.All & ~nt.features.FocusLock }) : nt.features.None }, () => z({ ourProps: g, theirProps: x, slot: $, attrs: r, slots: n, visible: v.value === 0, features: Dt.RenderStrategy | Dt.Static, name: "Dialog" }))))), F(hr, { features: jt.Hidden, ref: p })]); }; } }); W({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: t, slots: r }) { let n = ht("DialogOverlay"), i = `headlessui-dialog-overlay-${Me()}`; - function a(o) { - o.target === o.currentTarget && (o.preventDefault(), o.stopPropagation(), n.close()); + function a(s) { + s.target === s.currentTarget && (s.preventDefault(), s.stopPropagation(), n.close()); } return () => z({ ourProps: { id: i, "aria-hidden": !0, onClick: a }, theirProps: e, slot: { open: n.dialogState.value === 0 }, attrs: t, slots: r, name: "DialogOverlay" }); } }); W({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" } }, inheritAttrs: !1, setup(e, { attrs: t, slots: r, expose: n }) { - let i = ht("DialogBackdrop"), a = `headlessui-dialog-backdrop-${Me()}`, o = y(null); - return n({ el: o, $el: o }), M(() => { + let i = ht("DialogBackdrop"), a = `headlessui-dialog-backdrop-${Me()}`, s = y(null); + return n({ el: s, $el: s }), N(() => { if (i.panelRef.value === null) throw new Error("A component is being used, but a component is missing."); }), () => { - let s = e, l = { id: a, ref: o, "aria-hidden": !0 }; - return R(mr, { force: !0 }, () => R(Bi, () => z({ ourProps: l, theirProps: { ...t, ...s }, slot: { open: i.dialogState.value === 0 }, attrs: t, slots: r, name: "DialogBackdrop" }))); + let o = e, l = { id: a, ref: s, "aria-hidden": !0 }; + return F(vr, { force: !0 }, () => F(Bi, () => z({ ourProps: l, theirProps: { ...t, ...o }, slot: { open: i.dialogState.value === 0 }, attrs: t, slots: r, name: "DialogBackdrop" }))); }; } }); let zr = W({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: t, slots: r, expose: n }) { let i = ht("DialogPanel"), a = `headlessui-dialog-panel-${Me()}`; n({ el: i.panelRef, $el: i.panelRef }); - function o(s) { - s.stopPropagation(); + function s(o) { + o.stopPropagation(); } return () => { - let s = { id: a, ref: i.panelRef, onClick: o }; - return z({ ourProps: s, theirProps: e, slot: { open: i.dialogState.value === 0 }, attrs: t, slots: r, name: "DialogPanel" }); + let o = { id: a, ref: i.panelRef, onClick: s }; + return z({ ourProps: o, theirProps: e, slot: { open: i.dialogState.value === 0 }, attrs: t, slots: r, name: "DialogPanel" }); }; } }); W({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" } }, setup(e, { attrs: t, slots: r }) { let n = ht("DialogTitle"), i = `headlessui-dialog-title-${Me()}`; - return M(() => { + return N(() => { n.setTitleId(i), _e(() => n.setTitleId(null)); }), () => z({ ourProps: { id: i }, theirProps: e, slot: { open: n.dialogState.value === 0 }, attrs: t, slots: r, name: "DialogTitle" }); } }); @@ -1451,7 +1451,7 @@ function eu(e) { return t.called = !0, e(...r); }; } -function or(e, ...t) { +function sr(e, ...t) { e && t.length > 0 && e.classList.add(...t); } function Et(e, ...t) { @@ -1462,18 +1462,18 @@ function tu(e, t) { let r = Ur(); if (!e) return r.dispose; - let { transitionDuration: n, transitionDelay: i } = getComputedStyle(e), [a, o] = [n, i].map((s) => { - let [l = 0] = s.split(",").filter(Boolean).map((u) => u.includes("ms") ? parseFloat(u) : parseFloat(u) * 1e3).sort((u, c) => c - u); + let { transitionDuration: n, transitionDelay: i } = getComputedStyle(e), [a, s] = [n, i].map((o) => { + let [l = 0] = o.split(",").filter(Boolean).map((u) => u.includes("ms") ? parseFloat(u) : parseFloat(u) * 1e3).sort((u, c) => c - u); return l; }); - return a !== 0 ? r.setTimeout(() => t("finished"), a + o) : t("finished"), r.add(() => t("cancelled")), r.dispose; + return a !== 0 ? r.setTimeout(() => t("finished"), a + s) : t("finished"), r.add(() => t("cancelled")), r.dispose; } function En(e, t, r, n, i, a) { - let o = Ur(), s = a !== void 0 ? eu(a) : () => { + let s = Ur(), o = a !== void 0 ? eu(a) : () => { }; - return Et(e, ...i), or(e, ...t, ...r), o.nextFrame(() => { - Et(e, ...r), or(e, ...n), o.add(tu(e, (l) => (Et(e, ...n, ...t), or(e, ...i), s(l)))); - }), o.add(() => Et(e, ...t, ...r, ...n, ...i)), o.add(() => s("cancelled")), o.dispose; + return Et(e, ...i), sr(e, ...t, ...r), s.nextFrame(() => { + Et(e, ...r), sr(e, ...n), s.add(tu(e, (l) => (Et(e, ...n, ...t), sr(e, ...i), o(l)))); + }), s.add(() => Et(e, ...t, ...r, ...n, ...i)), s.add(() => o("cancelled")), s.dispose; } function Ce(e = "") { return e.split(" ").filter((t) => t.trim().length > 1); @@ -1501,45 +1501,45 @@ function Wt(e) { } function ki(e) { let t = y([]), r = y(!1); - M(() => r.value = !0), _e(() => r.value = !1); - function n(a, o = we.Hidden) { - let s = t.value.findIndex(({ id: l }) => l === a); - s !== -1 && (Y(o, { [we.Unmount]() { - t.value.splice(s, 1); + N(() => r.value = !0), _e(() => r.value = !1); + function n(a, s = we.Hidden) { + let o = t.value.findIndex(({ id: l }) => l === a); + o !== -1 && (Y(s, { [we.Unmount]() { + t.value.splice(o, 1); }, [we.Hidden]() { - t.value[s].state = "hidden"; + t.value[o].state = "hidden"; } }), !Wt(t) && r.value && (e == null || e())); } function i(a) { - let o = t.value.find(({ id: s }) => s === a); - return o ? o.state !== "visible" && (o.state = "visible") : t.value.push({ id: a, state: "visible" }), () => n(a, we.Unmount); + let s = t.value.find(({ id: o }) => o === a); + return s ? s.state !== "visible" && (s.state = "visible") : t.value.push({ id: a, state: "visible" }), () => n(a, we.Unmount); } return { children: t, register: i, unregister: n }; } let Mi = Dt.RenderStrategy, Je = W({ props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: t, attrs: r, slots: n, expose: i }) { if (!nu() && Al()) - return () => R(Ze, { ...e, onBeforeEnter: () => t("beforeEnter"), onAfterEnter: () => t("afterEnter"), onBeforeLeave: () => t("beforeLeave"), onAfterLeave: () => t("afterLeave") }, n); - let a = y(null), o = y("visible"), s = I(() => e.unmount ? we.Unmount : we.Hidden); + return () => F(Ze, { ...e, onBeforeEnter: () => t("beforeEnter"), onAfterEnter: () => t("afterEnter"), onBeforeLeave: () => t("beforeLeave"), onAfterLeave: () => t("afterLeave") }, n); + let a = y(null), s = y("visible"), o = P(() => e.unmount ? we.Unmount : we.Hidden); i({ el: a, $el: a }); let { show: l, appear: u } = iu(), { register: c, unregister: f } = au(), p = { value: !0 }, d = Me(), v = { value: !1 }, b = ki(() => { - v.value || (o.value = "hidden", f(d), t("afterLeave")); + v.value || (s.value = "hidden", f(d), t("afterLeave")); }); - M(() => { + N(() => { let S = c(d); _e(S); }), Z(() => { - if (s.value === we.Hidden && !!d) { - if (l && o.value !== "visible") { - o.value = "visible"; + if (o.value === we.Hidden && !!d) { + if (l && s.value !== "visible") { + s.value = "visible"; return; } - Y(o.value, { hidden: () => f(d), visible: () => c(d) }); + Y(s.value, { hidden: () => f(d), visible: () => c(d) }); } }); - let w = Ce(e.enter), T = Ce(e.enterFrom), A = Ce(e.enterTo), P = Ce(e.entered), E = Ce(e.leave), O = Ce(e.leaveFrom), h = Ce(e.leaveTo); - M(() => { + let w = Ce(e.enter), T = Ce(e.enterFrom), A = Ce(e.enterTo), I = Ce(e.entered), E = Ce(e.leave), O = Ce(e.leaveFrom), m = Ce(e.leaveTo); + N(() => { Z(() => { - if (o.value === "visible") { + if (s.value === "visible") { let S = pe(a); if (S instanceof Comment && S.data === "") throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?"); @@ -1548,39 +1548,39 @@ let Mi = Dt.RenderStrategy, Je = W({ props: { as: { type: [Object, String], defa }); function g(S) { let _ = p.value && !u.value, x = pe(a); - !x || !(x instanceof HTMLElement) || _ || (v.value = !0, l.value && t("beforeEnter"), l.value || t("beforeLeave"), S(l.value ? En(x, w, T, A, P, ($) => { + !x || !(x instanceof HTMLElement) || _ || (v.value = !0, l.value && t("beforeEnter"), l.value || t("beforeLeave"), S(l.value ? En(x, w, T, A, I, ($) => { v.value = !1, $ === br.Finished && t("afterEnter"); - }) : En(x, E, O, h, P, ($) => { - v.value = !1, $ === br.Finished && (Wt(b) || (o.value = "hidden", f(d), t("afterLeave"))); + }) : En(x, E, O, m, I, ($) => { + v.value = !1, $ === br.Finished && (Wt(b) || (s.value = "hidden", f(d), t("afterLeave"))); }))); } - return M(() => { + return N(() => { dt([l], (S, _, x) => { g(x), p.value = !1; }, { immediate: !0 }); - }), te(Kr, b), Pl(I(() => Y(o.value, { visible: Fe.Open, hidden: Fe.Closed }))), () => { - let { appear: S, show: _, enter: x, enterFrom: $, enterTo: C, entered: q, leave: F, leaveFrom: V, leaveTo: L, ...k } = e; - return z({ theirProps: k, ourProps: { ref: a }, slot: {}, slots: n, attrs: r, features: Mi, visible: o.value === "visible", name: "TransitionChild" }); + }), te(Kr, b), Il(P(() => Y(s.value, { visible: Le.Open, hidden: Le.Closed }))), () => { + let { appear: S, show: _, enter: x, enterFrom: $, enterTo: C, entered: q, leave: L, leaveFrom: V, leaveTo: R, ...M } = e; + return z({ theirProps: M, ourProps: { ref: a }, slot: {}, slots: n, attrs: r, features: Mi, visible: s.value === "visible", name: "TransitionChild" }); }; -} }), ou = Je, Ze = W({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: t, attrs: r, slots: n }) { - let i = Hr(), a = I(() => e.show === null && i !== null ? Y(i.value, { [Fe.Open]: !0, [Fe.Closed]: !1 }) : e.show); +} }), su = Je, Ze = W({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: t, attrs: r, slots: n }) { + let i = Hr(), a = P(() => e.show === null && i !== null ? Y(i.value, { [Le.Open]: !0, [Le.Closed]: !1 }) : e.show); Z(() => { if (![!0, !1].includes(a.value)) throw new Error('A is used but it is missing a `:show="true | false"` prop.'); }); - let o = y(a.value ? "visible" : "hidden"), s = ki(() => { - o.value = "hidden"; - }), l = y(!0), u = { show: a, appear: I(() => e.appear || !l.value) }; - return M(() => { + let s = y(a.value ? "visible" : "hidden"), o = ki(() => { + s.value = "hidden"; + }), l = y(!0), u = { show: a, appear: P(() => e.appear || !l.value) }; + return N(() => { Z(() => { - l.value = !1, a.value ? o.value = "visible" : Wt(s) || (o.value = "hidden"); + l.value = !1, a.value ? s.value = "visible" : Wt(o) || (s.value = "hidden"); }); - }), te(Kr, s), te(Gr, u), () => { + }), te(Kr, o), te(Gr, u), () => { let c = Ti(e, ["show", "appear", "unmount", "onBeforeEnter", "onBeforeLeave", "onAfterEnter", "onAfterLeave"]), f = { unmount: e.unmount }; - return z({ ourProps: { ...f, as: "template" }, theirProps: {}, slot: {}, slots: { ...n, default: () => [R(ou, { onBeforeEnter: () => t("beforeEnter"), onAfterEnter: () => t("afterEnter"), onBeforeLeave: () => t("beforeLeave"), onAfterLeave: () => t("afterLeave"), ...r, ...f, ...c }, n.default)] }, attrs: {}, features: Mi, visible: o.value === "visible", name: "Transition" }); + return z({ ourProps: { ...f, as: "template" }, theirProps: {}, slot: {}, slots: { ...n, default: () => [F(su, { onBeforeEnter: () => t("beforeEnter"), onAfterEnter: () => t("afterEnter"), onBeforeLeave: () => t("beforeLeave"), onAfterLeave: () => t("afterLeave"), ...r, ...f, ...c }, n.default)] }, attrs: {}, features: Mi, visible: s.value === "visible", name: "Transition" }); }; } }); -const su = { +const ou = { props: { defaultTitle: { type: String, @@ -1609,22 +1609,22 @@ const su = { }; }, computed: { - hasConfirmModal: () => !!m.confirmModal.value, + hasConfirmModal: () => !!h.confirmModal.value, title: function() { var e; - return (e = m.confirmModal.value) != null && e.title ? m.confirmModal.value.title : this.defaultTitle; + return (e = h.confirmModal.value) != null && e.title ? h.confirmModal.value.title : this.defaultTitle; }, text: function() { var e; - return (e = m.confirmModal.value) != null && e.text ? m.confirmModal.value.text : this.defaultText; + return (e = h.confirmModal.value) != null && e.text ? h.confirmModal.value.text : this.defaultText; }, confirmButton: function() { var e; - return (e = m.confirmModal.value) != null && e.confirmButton ? m.confirmModal.value.confirmButton : this.defaultConfirmButton; + return (e = h.confirmModal.value) != null && e.confirmButton ? h.confirmModal.value.confirmButton : this.defaultConfirmButton; }, cancelButton: function() { var e; - return (e = m.confirmModal.value) != null && e.cancelButton ? m.confirmModal.value.cancelButton : this.defaultCancelButton; + return (e = h.confirmModal.value) != null && e.cancelButton ? h.confirmModal.value.cancelButton : this.defaultCancelButton; } }, watch: { @@ -1634,16 +1634,16 @@ const su = { }, methods: { cancel() { - m.confirmModal.value.rejectPromise(), this.setIsOpen(!1); + h.confirmModal.value.rejectPromise(), this.setIsOpen(!1); }, confirm() { - m.confirmModal.value.resolvePromise(), this.setIsOpen(!1); + h.confirmModal.value.resolvePromise(), this.setIsOpen(!1); }, setIsOpen(e) { this.isOpen = e; }, emitClose() { - m.clearConfirmModal(); + h.clearConfirmModal(); } }, render() { @@ -1699,15 +1699,15 @@ function du(e, t, r, n) { if (!ne(e)) return e; t = Vr(t, e); - for (var i = -1, a = t.length, o = a - 1, s = e; s != null && ++i < a; ) { + for (var i = -1, a = t.length, s = a - 1, o = e; o != null && ++i < a; ) { var l = pt(t[i]), u = r; if (l === "__proto__" || l === "constructor" || l === "prototype") return e; - if (i != o) { - var c = s[l]; - u = n ? n(c, l, s) : void 0, u === void 0 && (u = ne(c) ? c : Ir(t[i + 1]) ? [] : {}); + if (i != s) { + var c = o[l]; + u = n ? n(c, l, o) : void 0, u === void 0 && (u = ne(c) ? c : Pr(t[i + 1]) ? [] : {}); } - fu(s, l, u), s = s[l]; + fu(o, l, u), o = o[l]; } return e; } @@ -1739,13 +1739,13 @@ const pu = { }, mounted() { if (this.remember) { - let e = m.restore(this.remember, this.localStorage); + let e = h.restore(this.remember, this.localStorage); e || (e = {}), this.values = Object.assign({}, { ...this.default, ...e }); } else this.values = Object.assign({}, { ...this.default }); }, updated() { - this.remember && m.remember(this.remember, { ...this.values }, this.localStorage); + this.remember && h.remember(this.remember, { ...this.values }, this.localStorage); }, render() { const e = this; @@ -1765,18 +1765,18 @@ const pu = { } }; var hu = function() { - return oe.Date.now(); + return se.Date.now(); }; -const sr = hu; -var vu = /\s/; -function mu(e) { - for (var t = e.length; t-- && vu.test(e.charAt(t)); ) +const or = hu; +var mu = /\s/; +function vu(e) { + for (var t = e.length; t-- && mu.test(e.charAt(t)); ) ; return t; } var gu = /^\s+/; function yu(e) { - return e && e.slice(0, mu(e) + 1).replace(gu, ""); + return e && e.slice(0, vu(e) + 1).replace(gu, ""); } var xn = 0 / 0, bu = /^[-+]0x[0-9a-f]+$/i, wu = /^0b[01]+$/i, Su = /^0o[0-7]+$/i, Ou = parseInt; function wr(e) { @@ -1796,51 +1796,51 @@ function wr(e) { } var $u = "Expected a function", Eu = Math.max, _u = Math.min; function Ui(e, t, r) { - var n, i, a, o, s, l, u = 0, c = !1, f = !1, p = !0; + var n, i, a, s, o, l, u = 0, c = !1, f = !1, p = !0; if (typeof e != "function") throw new TypeError($u); t = wr(t) || 0, ne(r) && (c = !!r.leading, f = "maxWait" in r, a = f ? Eu(wr(r.maxWait) || 0, t) : a, p = "trailing" in r ? !!r.trailing : p); - function d(h) { + function d(m) { var g = n, S = i; - return n = i = void 0, u = h, o = e.apply(S, g), o; + return n = i = void 0, u = m, s = e.apply(S, g), s; } - function v(h) { - return u = h, s = setTimeout(T, t), c ? d(h) : o; + function v(m) { + return u = m, o = setTimeout(T, t), c ? d(m) : s; } - function b(h) { - var g = h - l, S = h - u, _ = t - g; + function b(m) { + var g = m - l, S = m - u, _ = t - g; return f ? _u(_, a - S) : _; } - function w(h) { - var g = h - l, S = h - u; + function w(m) { + var g = m - l, S = m - u; return l === void 0 || g >= t || g < 0 || f && S >= a; } function T() { - var h = sr(); - if (w(h)) - return A(h); - s = setTimeout(T, b(h)); + var m = or(); + if (w(m)) + return A(m); + o = setTimeout(T, b(m)); } - function A(h) { - return s = void 0, p && n ? d(h) : (n = i = void 0, o); + function A(m) { + return o = void 0, p && n ? d(m) : (n = i = void 0, s); } - function P() { - s !== void 0 && clearTimeout(s), u = 0, n = l = i = s = void 0; + function I() { + o !== void 0 && clearTimeout(o), u = 0, n = l = i = o = void 0; } function E() { - return s === void 0 ? o : A(sr()); + return o === void 0 ? s : A(or()); } function O() { - var h = sr(), g = w(h); - if (n = arguments, i = this, l = h, g) { - if (s === void 0) + var m = or(), g = w(m); + if (n = arguments, i = this, l = m, g) { + if (o === void 0) return v(l); if (f) - return clearTimeout(s), s = setTimeout(T, t), d(l); + return clearTimeout(o), o = setTimeout(T, t), d(l); } - return s === void 0 && (s = setTimeout(T, t)), o; + return o === void 0 && (o = setTimeout(T, t)), s; } - return O.cancel = P, O.flush = E, O; + return O.cancel = I, O.flush = E, O; } const xu = { props: { @@ -1974,19 +1974,24 @@ const xu = { type: Boolean, required: !1, default: !0 + }, + ignoreInnerTargets: { + type: Boolean, + required: !1, + default: !1 } }, setup(e) { const t = e, r = y(null), n = y(null), i = y(null); - return M(() => { + return N(() => { r.value = (a) => { - a.target === n.value || n.value.contains(a.target) || t.do(); + n.value.children[0].contains(a.target) || t.ignoreInnerTargets && n.value.contains(a.target) || t.do(); }, document.addEventListener("click", r.value), document.addEventListener("touchstart", r.value), t.closeOnEscape && (i.value = (a) => { t.opened && a.key === "Escape" && t.do(); }, document.addEventListener("keydown", i.value)); }), Sa(() => { document.removeEventListener("click", r.value), document.removeEventListener("touchstart", r.value), t.closeOnEscape && document.removeEventListener("keydown", i.value); - }), (a, o) => (j(), de("div", { + }), (a, s) => (j(), de("div", { ref_key: "root", ref: n }, [ @@ -2003,7 +2008,7 @@ function Q(e) { } return e; } -function Re(e) { +function Fe(e) { var t = Q(e).Element; return e instanceof t || e instanceof Element; } @@ -2031,7 +2036,7 @@ function Ge(e, t, r) { t === void 0 && (t = !1), r === void 0 && (r = !1); var n = e.getBoundingClientRect(), i = 1, a = 1; t && X(e) && (i = e.offsetWidth > 0 && ze(n.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && ze(n.height) / e.offsetHeight || 1); - var o = Re(e) ? Q(e) : window, s = o.visualViewport, l = !zi() && r, u = (n.left + (l && s ? s.offsetLeft : 0)) / i, c = (n.top + (l && s ? s.offsetTop : 0)) / a, f = n.width / i, p = n.height / a; + var s = Fe(e) ? Q(e) : window, o = s.visualViewport, l = !zi() && r, u = (n.left + (l && o ? o.offsetLeft : 0)) / i, c = (n.top + (l && o ? o.offsetTop : 0)) / a, f = n.width / i, p = n.height / a; return { width: f, height: p, @@ -2056,14 +2061,14 @@ function Au(e) { scrollTop: e.scrollTop }; } -function Pu(e) { +function Iu(e) { return e === Q(e) || !X(e) ? Yr(e) : Au(e); } function ie(e) { return e ? (e.nodeName || "").toLowerCase() : null; } function Te(e) { - return ((Re(e) ? e.ownerDocument : e.document) || window.document).documentElement; + return ((Fe(e) ? e.ownerDocument : e.document) || window.document).documentElement; } function Jr(e) { return Ge(Te(e)).left + Yr(e).scrollLeft; @@ -2075,24 +2080,24 @@ function Zr(e) { var t = ee(e), r = t.overflow, n = t.overflowX, i = t.overflowY; return /auto|scroll|overlay|hidden/.test(r + i + n); } -function Iu(e) { +function Pu(e) { var t = e.getBoundingClientRect(), r = ze(t.width) / e.offsetWidth || 1, n = ze(t.height) / e.offsetHeight || 1; return r !== 1 || n !== 1; } function Cu(e, t, r) { r === void 0 && (r = !1); - var n = X(t), i = X(t) && Iu(t), a = Te(t), o = Ge(e, i, r), s = { + var n = X(t), i = X(t) && Pu(t), a = Te(t), s = Ge(e, i, r), o = { scrollLeft: 0, scrollTop: 0 }, l = { x: 0, y: 0 }; - return (n || !n && !r) && ((ie(t) !== "body" || Zr(a)) && (s = Pu(t)), X(t) ? (l = Ge(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : a && (l.x = Jr(a))), { - x: o.left + s.scrollLeft - l.x, - y: o.top + s.scrollTop - l.y, - width: o.width, - height: o.height + return (n || !n && !r) && ((ie(t) !== "body" || Zr(a)) && (o = Iu(t)), X(t) ? (l = Ge(t, !0), l.x += t.clientLeft, l.y += t.clientTop) : a && (l.x = Jr(a))), { + x: s.left + o.scrollLeft - l.x, + y: s.top + o.scrollTop - l.y, + width: s.width, + height: s.height }; } function Gi(e) { @@ -2110,11 +2115,11 @@ function zt(e) { function Ki(e) { return ["html", "body", "#document"].indexOf(ie(e)) >= 0 ? e.ownerDocument.body : X(e) && Zr(e) ? e : Ki(zt(e)); } -function st(e, t) { +function ot(e, t) { var r; t === void 0 && (t = []); - var n = Ki(e), i = n === ((r = e.ownerDocument) == null ? void 0 : r.body), a = Q(n), o = i ? [a].concat(a.visualViewport || [], Zr(n) ? n : []) : n, s = t.concat(o); - return i ? s : s.concat(st(zt(o))); + var n = Ki(e), i = n === ((r = e.ownerDocument) == null ? void 0 : r.body), a = Q(n), s = i ? [a].concat(a.visualViewport || [], Zr(n) ? n : []) : n, o = t.concat(s); + return i ? o : o.concat(ot(zt(s))); } function Du(e) { return ["table", "td", "th"].indexOf(ie(e)) >= 0; @@ -2145,9 +2150,9 @@ function Gt(e) { } var J = "top", ae = "bottom", Ee = "right", ue = "left", Kt = "auto", Xt = [J, ae, Ee, ue], Ke = "start", ft = "end", qu = "clippingParents", Xi = "viewport", it = "popper", Bu = "reference", An = /* @__PURE__ */ Xt.reduce(function(e, t) { return e.concat([t + "-" + Ke, t + "-" + ft]); -}, []), Fu = /* @__PURE__ */ [].concat(Xt, [Kt]).reduce(function(e, t) { +}, []), Lu = /* @__PURE__ */ [].concat(Xt, [Kt]).reduce(function(e, t) { return e.concat([t, t + "-" + Ke, t + "-" + ft]); -}, []), Ru = "beforeRead", Lu = "read", ku = "afterRead", Mu = "beforeMain", Nu = "main", Vu = "afterMain", Hu = "beforeWrite", Uu = "write", Wu = "afterWrite", Or = [Ru, Lu, ku, Mu, Nu, Vu, Hu, Uu, Wu]; +}, []), Fu = "beforeRead", Ru = "read", ku = "afterRead", Mu = "beforeMain", Nu = "main", Vu = "afterMain", Hu = "beforeWrite", Uu = "write", Wu = "afterWrite", Or = [Fu, Ru, ku, Mu, Nu, Vu, Hu, Uu, Wu]; function zu(e) { var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = []; e.forEach(function(a) { @@ -2155,10 +2160,10 @@ function zu(e) { }); function i(a) { r.add(a.name); - var o = [].concat(a.requires || [], a.requiresIfExists || []); - o.forEach(function(s) { - if (!r.has(s)) { - var l = t.get(s); + var s = [].concat(a.requires || [], a.requiresIfExists || []); + s.forEach(function(o) { + if (!r.has(o)) { + var l = t.get(o); l && i(l); } }), n.push(a); @@ -2192,10 +2197,10 @@ function ge(e) { return i.replace(/%s/, a); }, e); } -var De = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', Xu = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Pn = ["name", "enabled", "phase", "fn", "effect", "requires", "options"]; +var De = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', Xu = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', In = ["name", "enabled", "phase", "fn", "effect", "requires", "options"]; function Qu(e) { e.forEach(function(t) { - [].concat(Object.keys(t), Pn).filter(function(r, n, i) { + [].concat(Object.keys(t), In).filter(function(r, n, i) { return i.indexOf(r) === n; }).forEach(function(r) { switch (r) { @@ -2224,7 +2229,7 @@ function Qu(e) { case "data": break; default: - console.error('PopperJS: an invalid property has been provided to the "' + t.name + '" modifier, valid properties are ' + Pn.map(function(n) { + console.error('PopperJS: an invalid property has been provided to the "' + t.name + '" modifier, valid properties are ' + In.map(function(n) { return '"' + n + '"'; }).join(", ") + '; but "' + r + '" was provided.'); } @@ -2260,25 +2265,25 @@ function Ju(e) { }); } function Zu(e, t) { - var r = Q(e), n = Te(e), i = r.visualViewport, a = n.clientWidth, o = n.clientHeight, s = 0, l = 0; + var r = Q(e), n = Te(e), i = r.visualViewport, a = n.clientWidth, s = n.clientHeight, o = 0, l = 0; if (i) { - a = i.width, o = i.height; + a = i.width, s = i.height; var u = zi(); - (u || !u && t === "fixed") && (s = i.offsetLeft, l = i.offsetTop); + (u || !u && t === "fixed") && (o = i.offsetLeft, l = i.offsetTop); } return { width: a, - height: o, - x: s + Jr(e), + height: s, + x: o + Jr(e), y: l }; } function ec(e) { - var t, r = Te(e), n = Yr(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, a = qe(r.scrollWidth, r.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), o = qe(r.scrollHeight, r.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -n.scrollLeft + Jr(e), l = -n.scrollTop; - return ee(i || r).direction === "rtl" && (s += qe(r.clientWidth, i ? i.clientWidth : 0) - a), { + var t, r = Te(e), n = Yr(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, a = qe(r.scrollWidth, r.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), s = qe(r.scrollHeight, r.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), o = -n.scrollLeft + Jr(e), l = -n.scrollTop; + return ee(i || r).direction === "rtl" && (o += qe(r.clientWidth, i ? i.clientWidth : 0) - a), { width: a, - height: o, - x: s, + height: s, + x: o, y: l }; } @@ -2308,21 +2313,21 @@ function rc(e, t) { var r = Ge(e, !1, t === "fixed"); return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r; } -function In(e, t, r) { - return t === Xi ? $r(Zu(e, r)) : Re(t) ? rc(t, r) : $r(ec(Te(e))); +function Pn(e, t, r) { + return t === Xi ? $r(Zu(e, r)) : Fe(t) ? rc(t, r) : $r(ec(Te(e))); } function nc(e) { - var t = st(zt(e)), r = ["absolute", "fixed"].indexOf(ee(e).position) >= 0, n = r && X(e) ? Gt(e) : e; - return Re(n) ? t.filter(function(i) { - return Re(i) && tc(i, n) && ie(i) !== "body"; + var t = ot(zt(e)), r = ["absolute", "fixed"].indexOf(ee(e).position) >= 0, n = r && X(e) ? Gt(e) : e; + return Fe(n) ? t.filter(function(i) { + return Fe(i) && tc(i, n) && ie(i) !== "body"; }) : []; } function ic(e, t, r, n) { - var i = t === "clippingParents" ? nc(e) : [].concat(t), a = [].concat(i, [r]), o = a[0], s = a.reduce(function(l, u) { - var c = In(e, u, n); + var i = t === "clippingParents" ? nc(e) : [].concat(t), a = [].concat(i, [r]), s = a[0], o = a.reduce(function(l, u) { + var c = Pn(e, u, n); return l.top = qe(c.top, l.top), l.right = qt(c.right, l.right), l.bottom = qt(c.bottom, l.bottom), l.left = qe(c.left, l.left), l; - }, In(e, o, n)); - return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s; + }, Pn(e, s, n)); + return o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o; } function Xe(e) { return e.split("-")[1]; @@ -2331,30 +2336,30 @@ function Qi(e) { return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y"; } function Yi(e) { - var t = e.reference, r = e.element, n = e.placement, i = n ? ce(n) : null, a = n ? Xe(n) : null, o = t.x + t.width / 2 - r.width / 2, s = t.y + t.height / 2 - r.height / 2, l; + var t = e.reference, r = e.element, n = e.placement, i = n ? ce(n) : null, a = n ? Xe(n) : null, s = t.x + t.width / 2 - r.width / 2, o = t.y + t.height / 2 - r.height / 2, l; switch (i) { case J: l = { - x: o, + x: s, y: t.y - r.height }; break; case ae: l = { - x: o, + x: s, y: t.y + t.height }; break; case Ee: l = { x: t.x + t.width, - y: s + y: o }; break; case ue: l = { x: t.x - r.width, - y: s + y: o }; break; default: @@ -2388,19 +2393,19 @@ function Ji() { function ac(e) { return Object.assign({}, Ji(), e); } -function oc(e, t) { +function sc(e, t) { return t.reduce(function(r, n) { return r[n] = e, r; }, {}); } function en(e, t) { t === void 0 && (t = {}); - var r = t, n = r.placement, i = n === void 0 ? e.placement : n, a = r.strategy, o = a === void 0 ? e.strategy : a, s = r.boundary, l = s === void 0 ? qu : s, u = r.rootBoundary, c = u === void 0 ? Xi : u, f = r.elementContext, p = f === void 0 ? it : f, d = r.altBoundary, v = d === void 0 ? !1 : d, b = r.padding, w = b === void 0 ? 0 : b, T = ac(typeof w != "number" ? w : oc(w, Xt)), A = p === it ? Bu : it, P = e.rects.popper, E = e.elements[v ? A : p], O = ic(Re(E) ? E : E.contextElement || Te(e.elements.popper), l, c, o), h = Ge(e.elements.reference), g = Yi({ - reference: h, - element: P, + var r = t, n = r.placement, i = n === void 0 ? e.placement : n, a = r.strategy, s = a === void 0 ? e.strategy : a, o = r.boundary, l = o === void 0 ? qu : o, u = r.rootBoundary, c = u === void 0 ? Xi : u, f = r.elementContext, p = f === void 0 ? it : f, d = r.altBoundary, v = d === void 0 ? !1 : d, b = r.padding, w = b === void 0 ? 0 : b, T = ac(typeof w != "number" ? w : sc(w, Xt)), A = p === it ? Bu : it, I = e.rects.popper, E = e.elements[v ? A : p], O = ic(Fe(E) ? E : E.contextElement || Te(e.elements.popper), l, c, s), m = Ge(e.elements.reference), g = Yi({ + reference: m, + element: I, strategy: "absolute", placement: i - }), S = $r(Object.assign({}, P, g)), _ = p === it ? S : h, x = { + }), S = $r(Object.assign({}, I, g)), _ = p === it ? S : m, x = { top: O.top - _.top + T.top, bottom: _.bottom - O.bottom + T.bottom, left: O.left - _.left + T.left, @@ -2409,13 +2414,13 @@ function en(e, t) { if (p === it && $) { var C = $[i]; Object.keys(x).forEach(function(q) { - var F = [Ee, ae].indexOf(q) >= 0 ? 1 : -1, V = [J, ae].indexOf(q) >= 0 ? "y" : "x"; - x[q] += C[V] * F; + var L = [Ee, ae].indexOf(q) >= 0 ? 1 : -1, V = [J, ae].indexOf(q) >= 0 ? "y" : "x"; + x[q] += C[V] * L; }); } return x; } -var Cn = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", sc = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", Dn = { +var Cn = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", oc = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", Dn = { placement: "bottom", modifiers: [], strategy: "absolute" @@ -2430,7 +2435,7 @@ function jn() { function lc(e) { e === void 0 && (e = {}); var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, i = t.defaultOptions, a = i === void 0 ? Dn : i; - return function(s, l, u) { + return function(o, l, u) { u === void 0 && (u = a); var c = { placement: "bottom", @@ -2438,7 +2443,7 @@ function lc(e) { options: Object.assign({}, Dn, a), modifiersData: {}, elements: { - reference: s, + reference: o, popper: l }, attributes: {}, @@ -2448,14 +2453,14 @@ function lc(e) { setOptions: function(T) { var A = typeof T == "function" ? T(c.options) : T; b(), c.options = Object.assign({}, a, c.options, A), c.scrollParents = { - reference: Re(s) ? st(s) : s.contextElement ? st(s.contextElement) : [], - popper: st(l) + reference: Fe(o) ? ot(o) : o.contextElement ? ot(o.contextElement) : [], + popper: ot(l) }; - var P = Gu(Ju([].concat(n, c.options.modifiers))); - if (c.orderedModifiers = P.filter(function($) { + var I = Gu(Ju([].concat(n, c.options.modifiers))); + if (c.orderedModifiers = I.filter(function($) { return $.enabled; }), process.env.NODE_ENV !== "production") { - var E = Yu([].concat(P, c.options.modifiers), function($) { + var E = Yu([].concat(I, c.options.modifiers), function($) { var C = $.name; return C; }); @@ -2466,7 +2471,7 @@ function lc(e) { }); O || console.error(['Popper: "auto" placements require the "flip" modifier be', "present and enabled to work."].join(" ")); } - var h = ee(l), g = h.marginTop, S = h.marginRight, _ = h.marginBottom, x = h.marginLeft; + var m = ee(l), g = m.marginTop, S = m.marginRight, _ = m.marginBottom, x = m.marginLeft; [g, S, _, x].some(function($) { return parseFloat($); }) && console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', "between the popper and its reference element or boundary.", "To replicate margin, use the `offset` modifier, as well as", "the `padding` option in the `preventOverflow` and `flip`", "modifiers."].join(" ")); @@ -2475,27 +2480,27 @@ function lc(e) { }, forceUpdate: function() { if (!p) { - var T = c.elements, A = T.reference, P = T.popper; - if (!jn(A, P)) { + var T = c.elements, A = T.reference, I = T.popper; + if (!jn(A, I)) { process.env.NODE_ENV !== "production" && console.error(Cn); return; } c.rects = { - reference: Cu(A, Gt(P), c.options.strategy === "fixed"), - popper: Gi(P) + reference: Cu(A, Gt(I), c.options.strategy === "fixed"), + popper: Gi(I) }, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function($) { return c.modifiersData[$.name] = Object.assign({}, $.data); }); for (var E = 0, O = 0; O < c.orderedModifiers.length; O++) { if (process.env.NODE_ENV !== "production" && (E += 1, E > 100)) { - console.error(sc); + console.error(oc); break; } if (c.reset === !0) { c.reset = !1, O = -1; continue; } - var h = c.orderedModifiers[O], g = h.fn, S = h.options, _ = S === void 0 ? {} : S, x = h.name; + var m = c.orderedModifiers[O], g = m.fn, S = m.options, _ = S === void 0 ? {} : S, x = m.name; typeof g == "function" && (c = g({ state: c, options: _, @@ -2514,23 +2519,23 @@ function lc(e) { b(), p = !0; } }; - if (!jn(s, l)) + if (!jn(o, l)) return process.env.NODE_ENV !== "production" && console.error(Cn), d; d.setOptions(u).then(function(w) { !p && u.onFirstUpdate && u.onFirstUpdate(w); }); function v() { c.orderedModifiers.forEach(function(w) { - var T = w.name, A = w.options, P = A === void 0 ? {} : A, E = w.effect; + var T = w.name, A = w.options, I = A === void 0 ? {} : A, E = w.effect; if (typeof E == "function") { var O = E({ state: c, name: T, instance: d, - options: P - }), h = function() { + options: I + }), m = function() { }; - f.push(O || h); + f.push(O || m); } }); } @@ -2546,13 +2551,13 @@ var _t = { passive: !0 }; function uc(e) { - var t = e.state, r = e.instance, n = e.options, i = n.scroll, a = i === void 0 ? !0 : i, o = n.resize, s = o === void 0 ? !0 : o, l = Q(t.elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper); + var t = e.state, r = e.instance, n = e.options, i = n.scroll, a = i === void 0 ? !0 : i, s = n.resize, o = s === void 0 ? !0 : s, l = Q(t.elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper); return a && u.forEach(function(c) { c.addEventListener("scroll", r.update, _t); - }), s && l.addEventListener("resize", r.update, _t), function() { + }), o && l.addEventListener("resize", r.update, _t), function() { a && u.forEach(function(c) { c.removeEventListener("scroll", r.update, _t); - }), s && l.removeEventListener("resize", r.update, _t); + }), o && l.removeEventListener("resize", r.update, _t); }; } const cc = { @@ -2594,7 +2599,7 @@ function hc(e) { }; } function qn(e) { - var t, r = e.popper, n = e.popperRect, i = e.placement, a = e.variation, o = e.offsets, s = e.position, l = e.gpuAcceleration, u = e.adaptive, c = e.roundOffsets, f = e.isFixed, p = o.x, d = p === void 0 ? 0 : p, v = o.y, b = v === void 0 ? 0 : v, w = typeof c == "function" ? c({ + var t, r = e.popper, n = e.popperRect, i = e.placement, a = e.variation, s = e.offsets, o = e.position, l = e.gpuAcceleration, u = e.adaptive, c = e.roundOffsets, f = e.isFixed, p = s.x, d = p === void 0 ? 0 : p, v = s.y, b = v === void 0 ? 0 : v, w = typeof c == "function" ? c({ x: d, y: b }) : { @@ -2602,22 +2607,22 @@ function qn(e) { y: b }; d = w.x, b = w.y; - var T = o.hasOwnProperty("x"), A = o.hasOwnProperty("y"), P = ue, E = J, O = window; + var T = s.hasOwnProperty("x"), A = s.hasOwnProperty("y"), I = ue, E = J, O = window; if (u) { - var h = Gt(r), g = "clientHeight", S = "clientWidth"; - if (h === Q(r) && (h = Te(r), ee(h).position !== "static" && s === "absolute" && (g = "scrollHeight", S = "scrollWidth")), h = h, i === J || (i === ue || i === Ee) && a === ft) { + var m = Gt(r), g = "clientHeight", S = "clientWidth"; + if (m === Q(r) && (m = Te(r), ee(m).position !== "static" && o === "absolute" && (g = "scrollHeight", S = "scrollWidth")), m = m, i === J || (i === ue || i === Ee) && a === ft) { E = ae; - var _ = f && h === O && O.visualViewport ? O.visualViewport.height : h[g]; + var _ = f && m === O && O.visualViewport ? O.visualViewport.height : m[g]; b -= _ - n.height, b *= l ? 1 : -1; } if (i === ue || (i === J || i === ae) && a === ft) { - P = Ee; - var x = f && h === O && O.visualViewport ? O.visualViewport.width : h[S]; + I = Ee; + var x = f && m === O && O.visualViewport ? O.visualViewport.width : m[S]; d -= x - n.width, d *= l ? 1 : -1; } } var $ = Object.assign({ - position: s + position: o }, u && pc), C = c === !0 ? hc({ x: d, y: b @@ -2627,15 +2632,15 @@ function qn(e) { }; if (d = C.x, b = C.y, l) { var q; - return Object.assign({}, $, (q = {}, q[E] = A ? "0" : "", q[P] = T ? "0" : "", q.transform = (O.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + b + "px)" : "translate3d(" + d + "px, " + b + "px, 0)", q)); + return Object.assign({}, $, (q = {}, q[E] = A ? "0" : "", q[I] = T ? "0" : "", q.transform = (O.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + b + "px)" : "translate3d(" + d + "px, " + b + "px, 0)", q)); } - return Object.assign({}, $, (t = {}, t[E] = A ? b + "px" : "", t[P] = T ? d + "px" : "", t.transform = "", t)); + return Object.assign({}, $, (t = {}, t[E] = A ? b + "px" : "", t[I] = T ? d + "px" : "", t.transform = "", t)); } -function vc(e) { - var t = e.state, r = e.options, n = r.gpuAcceleration, i = n === void 0 ? !0 : n, a = r.adaptive, o = a === void 0 ? !0 : a, s = r.roundOffsets, l = s === void 0 ? !0 : s; +function mc(e) { + var t = e.state, r = e.options, n = r.gpuAcceleration, i = n === void 0 ? !0 : n, a = r.adaptive, s = a === void 0 ? !0 : a, o = r.roundOffsets, l = o === void 0 ? !0 : o; if (process.env.NODE_ENV !== "production") { var u = ee(t.elements.popper).transitionProperty || ""; - o && ["transform", "top", "right", "bottom", "left"].some(function(f) { + s && ["transform", "top", "right", "bottom", "left"].some(function(f) { return u.indexOf(f) >= 0; }) && console.warn(["Popper: Detected CSS transitions on at least one of the following", 'CSS properties: "transform", "top", "right", "bottom", "left".', ` @@ -2654,7 +2659,7 @@ function vc(e) { t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, qn(Object.assign({}, c, { offsets: t.modifiersData.popperOffsets, position: t.options.strategy, - adaptive: o, + adaptive: s, roundOffsets: l })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, qn(Object.assign({}, c, { offsets: t.modifiersData.arrow, @@ -2665,20 +2670,20 @@ function vc(e) { "data-popper-placement": t.placement }); } -const mc = { +const vc = { name: "computeStyles", enabled: !0, phase: "beforeWrite", - fn: vc, + fn: mc, data: {} }; function gc(e) { var t = e.state; Object.keys(t.elements).forEach(function(r) { var n = t.styles[r] || {}, i = t.attributes[r] || {}, a = t.elements[r]; - !X(a) || !ie(a) || (Object.assign(a.style, n), Object.keys(i).forEach(function(o) { - var s = i[o]; - s === !1 ? a.removeAttribute(o) : a.setAttribute(o, s === !0 ? "" : s); + !X(a) || !ie(a) || (Object.assign(a.style, n), Object.keys(i).forEach(function(s) { + var o = i[s]; + o === !1 ? a.removeAttribute(s) : a.setAttribute(s, o === !0 ? "" : o); })); }); } @@ -2697,10 +2702,10 @@ function yc(e) { }; return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() { Object.keys(t.elements).forEach(function(n) { - var i = t.elements[n], a = t.attributes[n] || {}, o = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), s = o.reduce(function(l, u) { + var i = t.elements[n], a = t.attributes[n] || {}, s = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), o = s.reduce(function(l, u) { return l[u] = "", l; }, {}); - !X(i) || !ie(i) || (Object.assign(i.style, s), Object.keys(a).forEach(function(l) { + !X(i) || !ie(i) || (Object.assign(i.style, o), Object.keys(a).forEach(function(l) { i.removeAttribute(l); })); }); @@ -2714,7 +2719,7 @@ const bc = { effect: yc, requires: ["computeStyles"] }; -var wc = [cc, dc, mc, bc], Sc = /* @__PURE__ */ lc({ +var wc = [cc, dc, vc, bc], Sc = /* @__PURE__ */ lc({ defaultModifiers: wc }); function Oc(e) { @@ -2728,12 +2733,12 @@ function $c(e, t, r) { return n > r ? r : n; } function Ec(e) { - var t = e.state, r = e.options, n = e.name, i = r.mainAxis, a = i === void 0 ? !0 : i, o = r.altAxis, s = o === void 0 ? !1 : o, l = r.boundary, u = r.rootBoundary, c = r.altBoundary, f = r.padding, p = r.tether, d = p === void 0 ? !0 : p, v = r.tetherOffset, b = v === void 0 ? 0 : v, w = en(t, { + var t = e.state, r = e.options, n = e.name, i = r.mainAxis, a = i === void 0 ? !0 : i, s = r.altAxis, o = s === void 0 ? !1 : s, l = r.boundary, u = r.rootBoundary, c = r.altBoundary, f = r.padding, p = r.tether, d = p === void 0 ? !0 : p, v = r.tetherOffset, b = v === void 0 ? 0 : v, w = en(t, { boundary: l, rootBoundary: u, padding: f, altBoundary: c - }), T = ce(t.placement), A = Xe(t.placement), P = !A, E = Qi(T), O = Oc(E), h = t.modifiersData.popperOffsets, g = t.rects.reference, S = t.rects.popper, _ = typeof b == "function" ? b(Object.assign({}, t.rects, { + }), T = ce(t.placement), A = Xe(t.placement), I = !A, E = Qi(T), O = Oc(E), m = t.modifiersData.popperOffsets, g = t.rects.reference, S = t.rects.popper, _ = typeof b == "function" ? b(Object.assign({}, t.rects, { placement: t.placement })) : b, x = typeof _ == "number" ? { mainAxis: _, @@ -2745,17 +2750,17 @@ function Ec(e) { x: 0, y: 0 }; - if (!!h) { + if (!!m) { if (a) { - var q, F = E === "y" ? J : ue, V = E === "y" ? ae : Ee, L = E === "y" ? "height" : "width", k = h[E], mt = k + w[F], Ae = k - w[V], gt = d ? -S[L] / 2 : 0, Yt = A === Ke ? g[L] : S[L], et = A === Ke ? -S[L] : -g[L], yt = t.elements.arrow, Ve = d && yt ? Gi(yt) : { + var q, L = E === "y" ? J : ue, V = E === "y" ? ae : Ee, R = E === "y" ? "height" : "width", M = m[E], vt = M + w[L], Ae = M - w[V], gt = d ? -S[R] / 2 : 0, Yt = A === Ke ? g[R] : S[R], et = A === Ke ? -S[R] : -g[R], yt = t.elements.arrow, Ve = d && yt ? Gi(yt) : { width: 0, height: 0 - }, me = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ji(), tt = me[F], bt = me[V], Pe = At(0, g[L], Ve[L]), Jt = P ? g[L] / 2 - gt - Pe - tt - x.mainAxis : Yt - Pe - tt - x.mainAxis, fa = P ? -g[L] / 2 + gt + Pe + bt + x.mainAxis : et + Pe + bt + x.mainAxis, Zt = t.elements.arrow && Gt(t.elements.arrow), da = Zt ? E === "y" ? Zt.clientTop || 0 : Zt.clientLeft || 0 : 0, rn = (q = $ == null ? void 0 : $[E]) != null ? q : 0, pa = k + Jt - rn - da, ha = k + fa - rn, nn = At(d ? qt(mt, pa) : mt, k, d ? qe(Ae, ha) : Ae); - h[E] = nn, C[E] = nn - k; + }, ve = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ji(), tt = ve[L], bt = ve[V], Ie = At(0, g[R], Ve[R]), Jt = I ? g[R] / 2 - gt - Ie - tt - x.mainAxis : Yt - Ie - tt - x.mainAxis, fa = I ? -g[R] / 2 + gt + Ie + bt + x.mainAxis : et + Ie + bt + x.mainAxis, Zt = t.elements.arrow && Gt(t.elements.arrow), da = Zt ? E === "y" ? Zt.clientTop || 0 : Zt.clientLeft || 0 : 0, rn = (q = $ == null ? void 0 : $[E]) != null ? q : 0, pa = M + Jt - rn - da, ha = M + fa - rn, nn = At(d ? qt(vt, pa) : vt, M, d ? qe(Ae, ha) : Ae); + m[E] = nn, C[E] = nn - M; } - if (s) { - var an, va = E === "x" ? J : ue, ma = E === "x" ? ae : Ee, Ie = h[O], wt = O === "y" ? "height" : "width", on = Ie + w[va], sn = Ie - w[ma], er = [J, ue].indexOf(T) !== -1, ln = (an = $ == null ? void 0 : $[O]) != null ? an : 0, un = er ? on : Ie - g[wt] - S[wt] - ln + x.altAxis, cn = er ? Ie + g[wt] + S[wt] - ln - x.altAxis : sn, fn = d && er ? $c(un, Ie, cn) : At(d ? un : on, Ie, d ? cn : sn); - h[O] = fn, C[O] = fn - Ie; + if (o) { + var an, ma = E === "x" ? J : ue, va = E === "x" ? ae : Ee, Pe = m[O], wt = O === "y" ? "height" : "width", sn = Pe + w[ma], on = Pe - w[va], er = [J, ue].indexOf(T) !== -1, ln = (an = $ == null ? void 0 : $[O]) != null ? an : 0, un = er ? sn : Pe - g[wt] - S[wt] - ln + x.altAxis, cn = er ? Pe + g[wt] + S[wt] - ln - x.altAxis : on, fn = d && er ? $c(un, Pe, cn) : At(d ? un : sn, Pe, d ? cn : on); + m[O] = fn, C[O] = fn - Pe; } t.modifiersData[n] = C; } @@ -2773,7 +2778,7 @@ var xc = { bottom: "top", top: "bottom" }; -function Pt(e) { +function It(e) { return e.replace(/left|right|bottom|top/g, function(t) { return xc[t]; }); @@ -2789,7 +2794,7 @@ function Bn(e) { } function Ac(e, t) { t === void 0 && (t = {}); - var r = t, n = r.placement, i = r.boundary, a = r.rootBoundary, o = r.padding, s = r.flipVariations, l = r.allowedAutoPlacements, u = l === void 0 ? Fu : l, c = Xe(n), f = c ? s ? An : An.filter(function(v) { + var r = t, n = r.placement, i = r.boundary, a = r.rootBoundary, s = r.padding, o = r.flipVariations, l = r.allowedAutoPlacements, u = l === void 0 ? Lu : l, c = Xe(n), f = c ? o ? An : An.filter(function(v) { return Xe(v) === c; }) : Xt, p = f.filter(function(v) { return u.indexOf(v) >= 0; @@ -2800,42 +2805,42 @@ function Ac(e, t) { placement: b, boundary: i, rootBoundary: a, - padding: o + padding: s })[ce(b)], v; }, {}); return Object.keys(d).sort(function(v, b) { return d[v] - d[b]; }); } -function Pc(e) { +function Ic(e) { if (ce(e) === Kt) return []; - var t = Pt(e); + var t = It(e); return [Bn(e), t, Bn(t)]; } -function Ic(e) { +function Pc(e) { var t = e.state, r = e.options, n = e.name; if (!t.modifiersData[n]._skip) { - for (var i = r.mainAxis, a = i === void 0 ? !0 : i, o = r.altAxis, s = o === void 0 ? !0 : o, l = r.fallbackPlacements, u = r.padding, c = r.boundary, f = r.rootBoundary, p = r.altBoundary, d = r.flipVariations, v = d === void 0 ? !0 : d, b = r.allowedAutoPlacements, w = t.options.placement, T = ce(w), A = T === w, P = l || (A || !v ? [Pt(w)] : Pc(w)), E = [w].concat(P).reduce(function(Ve, me) { - return Ve.concat(ce(me) === Kt ? Ac(t, { - placement: me, + for (var i = r.mainAxis, a = i === void 0 ? !0 : i, s = r.altAxis, o = s === void 0 ? !0 : s, l = r.fallbackPlacements, u = r.padding, c = r.boundary, f = r.rootBoundary, p = r.altBoundary, d = r.flipVariations, v = d === void 0 ? !0 : d, b = r.allowedAutoPlacements, w = t.options.placement, T = ce(w), A = T === w, I = l || (A || !v ? [It(w)] : Ic(w)), E = [w].concat(I).reduce(function(Ve, ve) { + return Ve.concat(ce(ve) === Kt ? Ac(t, { + placement: ve, boundary: c, rootBoundary: f, padding: u, flipVariations: v, allowedAutoPlacements: b - }) : me); - }, []), O = t.rects.reference, h = t.rects.popper, g = /* @__PURE__ */ new Map(), S = !0, _ = E[0], x = 0; x < E.length; x++) { - var $ = E[x], C = ce($), q = Xe($) === Ke, F = [J, ae].indexOf(C) >= 0, V = F ? "width" : "height", L = en(t, { + }) : ve); + }, []), O = t.rects.reference, m = t.rects.popper, g = /* @__PURE__ */ new Map(), S = !0, _ = E[0], x = 0; x < E.length; x++) { + var $ = E[x], C = ce($), q = Xe($) === Ke, L = [J, ae].indexOf(C) >= 0, V = L ? "width" : "height", R = en(t, { placement: $, boundary: c, rootBoundary: f, altBoundary: p, padding: u - }), k = F ? q ? Ee : ue : q ? ae : J; - O[V] > h[V] && (k = Pt(k)); - var mt = Pt(k), Ae = []; - if (a && Ae.push(L[C] <= 0), s && Ae.push(L[k] <= 0, L[mt] <= 0), Ae.every(function(Ve) { + }), M = L ? q ? Ee : ue : q ? ae : J; + O[V] > m[V] && (M = It(M)); + var vt = It(M), Ae = []; + if (a && Ae.push(R[C] <= 0), o && Ae.push(R[M] <= 0, R[vt] <= 0), Ae.every(function(Ve) { return Ve; })) { _ = $, S = !1; @@ -2844,11 +2849,11 @@ function Ic(e) { g.set($, Ae); } if (S) - for (var gt = v ? 3 : 1, Yt = function(me) { + for (var gt = v ? 3 : 1, Yt = function(ve) { var tt = E.find(function(bt) { - var Pe = g.get(bt); - if (Pe) - return Pe.slice(0, me).every(function(Jt) { + var Ie = g.get(bt); + if (Ie) + return Ie.slice(0, ve).every(function(Jt) { return Jt; }); }); @@ -2866,7 +2871,7 @@ const Cc = { name: "flip", enabled: !0, phase: "main", - fn: Ic, + fn: Pc, requiresIfExists: ["offset"], data: { _skip: !1 @@ -2909,6 +2914,11 @@ const Cc = { type: Boolean, default: !1, required: !1 + }, + closeOnClick: { + type: Boolean, + default: !1, + required: !1 } }, data() { @@ -2950,16 +2960,17 @@ const Cc = { } }, jc = { ref: "tooltip" }; function qc(e, t, r, n, i, a) { - const o = ei("OnClickOutside"); - return j(), K(o, { - style: It(a.wrapperStyle), + const s = ei("OnClickOutside"); + return j(), K(s, { + style: Pt(a.wrapperStyle), do: a.hide, - opened: i.opened + opened: i.opened, + "ignore-inner-targets": !r.closeOnClick }, { default: Oa(() => [ ur("div", { ref: "button", - style: It(a.buttonStyle) + style: Pt(a.buttonStyle) }, [ re(e.$slots, "button", { toggle: a.toggle, @@ -2974,9 +2985,9 @@ function qc(e, t, r, n, i, a) { ], 512) ]), _: 3 - }, 8, ["style", "do", "opened"]); + }, 8, ["style", "do", "opened", "ignore-inner-targets"]); } -const Bc = /* @__PURE__ */ Ne(Dc, [["render", qc]]), Fc = { +const Bc = /* @__PURE__ */ Ne(Dc, [["render", qc]]), Lc = { __name: "DynamicHtml", props: { keepAliveKey: { @@ -2990,14 +3001,14 @@ const Bc = /* @__PURE__ */ Ne(Dc, [["render", qc]]), Fc = { }, setup(e) { const t = U("$splade") || {}, r = U("$spladeOptions") || {}; - return (n, i) => H(t).isSsr ? (j(), K(se, { + return (n, i) => H(t).isSsr ? (j(), K(oe, { key: e.keepAliveKey, html: H(t).htmlForDynamicComponent(e.name) }, null, 8, ["html"])) : (j(), K(Jn, { key: 0, max: H(r).max_keep_alive }, [ - (j(), K(se, { + (j(), K(oe, { key: e.keepAliveKey, html: H(t).htmlForDynamicComponent(e.name) }, null, 8, ["html"])) @@ -3007,11 +3018,11 @@ const Bc = /* @__PURE__ */ Ne(Dc, [["render", qc]]), Fc = { function Zi(e) { return e && e.length ? e[0] : void 0; } -const Rc = { +const Fc = { inject: ["stack"], computed: { values() { - return m.validationErrors(this.stack); + return h.validationErrors(this.stack); } }, render() { @@ -3027,7 +3038,7 @@ const Rc = { ...this.values }); } -}, Lc = { +}, Rc = { props: { private: { type: Boolean, @@ -3060,11 +3071,11 @@ const Rc = { }), this.listeners.forEach((e) => { const t = this.subscription.listen(e, (r) => { const n = "splade.redirect", i = "splade.refresh", a = "splade.toast"; - let o = null, s = !1, l = []; + let s = null, o = !1, l = []; be(r, (u) => { - !ne(u) || (n in u && (o = u[n]), i in u && (s = u[i]), a in u && l.push(u)); - }), o ? m.visit(o) : s ? m.refresh() : this.events.push({ name: e, data: r }), l.length > 0 && l.forEach((u) => { - m.pushToast(u); + !ne(u) || (n in u && (s = u[n]), i in u && (o = u[i]), a in u && l.push(u)); + }), s ? h.visit(s) : o ? h.refresh() : this.events.push({ name: e, data: r }), l.length > 0 && l.forEach((u) => { + h.pushToast(u); }), this.$root.$emit(`event.${e}`, r); }); this.subscriptions.push(t); @@ -3117,7 +3128,7 @@ const Vc = /* @__PURE__ */ Ne(kc, [["render", Nc]]), Hc = { inject: ["stack"], computed: { values() { - return m.flashData(this.stack); + return h.flashData(this.stack); } }, render() { @@ -3178,7 +3189,7 @@ function Xc(e, t) { var n = r.__data__; if (!ut || n.length < Kc - 1) return n.push([e, t]), this.size = ++r.size, this; - r = this.__data__ = new ve(n); + r = this.__data__ = new me(n); } return r.set(e, t), this.size = r.size, this; } @@ -3200,7 +3211,7 @@ function Jc(e) { } function Bt(e) { var t = -1, r = e == null ? 0 : e.length; - for (this.__data__ = new ve(); ++t < r; ) + for (this.__data__ = new me(); ++t < r; ) this.add(e[t]); } Bt.prototype.add = Bt.prototype.push = Yc; @@ -3216,17 +3227,17 @@ function ef(e, t) { } var tf = 1, rf = 2; function na(e, t, r, n, i, a) { - var o = r & tf, s = e.length, l = t.length; - if (s != l && !(o && l > s)) + var s = r & tf, o = e.length, l = t.length; + if (o != l && !(s && l > o)) return !1; var u = a.get(e), c = a.get(t); if (u && c) return u == t && c == e; var f = -1, p = !0, d = r & rf ? new Bt() : void 0; - for (a.set(e, t), a.set(t, e); ++f < s; ) { + for (a.set(e, t), a.set(t, e); ++f < o; ) { var v = e[f], b = t[f]; if (n) - var w = o ? n(b, v, f, t, e, a) : n(v, b, f, e, t, a); + var w = s ? n(b, v, f, t, e, a) : n(v, b, f, e, t, a); if (w !== void 0) { if (w) continue; @@ -3248,29 +3259,29 @@ function na(e, t, r, n, i, a) { } return a.delete(e), a.delete(t), p; } -var nf = oe.Uint8Array; -const Fn = nf; +var nf = se.Uint8Array; +const Ln = nf; function af(e) { var t = -1, r = Array(e.size); return e.forEach(function(n, i) { r[++t] = [i, n]; }), r; } -function of(e) { +function sf(e) { var t = -1, r = Array(e.size); return e.forEach(function(n) { r[++t] = n; }), r; } -var sf = 1, lf = 2, uf = "[object Boolean]", cf = "[object Date]", ff = "[object Error]", df = "[object Map]", pf = "[object Number]", hf = "[object RegExp]", vf = "[object Set]", mf = "[object String]", gf = "[object Symbol]", yf = "[object ArrayBuffer]", bf = "[object DataView]", Rn = Se ? Se.prototype : void 0, lr = Rn ? Rn.valueOf : void 0; -function wf(e, t, r, n, i, a, o) { +var of = 1, lf = 2, uf = "[object Boolean]", cf = "[object Date]", ff = "[object Error]", df = "[object Map]", pf = "[object Number]", hf = "[object RegExp]", mf = "[object Set]", vf = "[object String]", gf = "[object Symbol]", yf = "[object ArrayBuffer]", bf = "[object DataView]", Fn = Se ? Se.prototype : void 0, lr = Fn ? Fn.valueOf : void 0; +function wf(e, t, r, n, i, a, s) { switch (r) { case bf: if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1; e = e.buffer, t = t.buffer; case yf: - return !(e.byteLength != t.byteLength || !a(new Fn(e), new Fn(t))); + return !(e.byteLength != t.byteLength || !a(new Ln(e), new Ln(t))); case uf: case cf: case pf: @@ -3278,20 +3289,20 @@ function wf(e, t, r, n, i, a, o) { case ff: return e.name == t.name && e.message == t.message; case hf: - case mf: + case vf: return e == t + ""; case df: - var s = af; - case vf: - var l = n & sf; - if (s || (s = of), e.size != t.size && !l) + var o = af; + case mf: + var l = n & of; + if (o || (o = sf), e.size != t.size && !l) return !1; - var u = o.get(e); + var u = s.get(e); if (u) return u == t; - n |= lf, o.set(e, t); - var c = na(s(e), s(t), n, i, a, o); - return o.delete(e), c; + n |= lf, s.set(e, t); + var c = na(o(e), o(t), n, i, a, s); + return s.delete(e), c; case gf: if (lr) return lr.call(e) == lr.call(t); @@ -3305,35 +3316,35 @@ function Sf(e, t) { } function Of(e, t, r) { var n = t(e); - return N(e) ? n : Sf(n, r(e)); + return k(e) ? n : Sf(n, r(e)); } function ia(e, t) { for (var r = -1, n = e == null ? 0 : e.length, i = 0, a = []; ++r < n; ) { - var o = e[r]; - t(o, r, e) && (a[i++] = o); + var s = e[r]; + t(s, r, e) && (a[i++] = s); } return a; } function $f() { return []; } -var Ef = Object.prototype, _f = Ef.propertyIsEnumerable, Ln = Object.getOwnPropertySymbols, xf = Ln ? function(e) { - return e == null ? [] : (e = Object(e), ia(Ln(e), function(t) { +var Ef = Object.prototype, _f = Ef.propertyIsEnumerable, Rn = Object.getOwnPropertySymbols, xf = Rn ? function(e) { + return e == null ? [] : (e = Object(e), ia(Rn(e), function(t) { return _f.call(e, t); })); } : $f; const Tf = xf; function kn(e) { - return Of(e, Lt, Tf); + return Of(e, Rt, Tf); } -var Af = 1, Pf = Object.prototype, If = Pf.hasOwnProperty; +var Af = 1, If = Object.prototype, Pf = If.hasOwnProperty; function Cf(e, t, r, n, i, a) { - var o = r & Af, s = kn(e), l = s.length, u = kn(t), c = u.length; - if (l != c && !o) + var s = r & Af, o = kn(e), l = o.length, u = kn(t), c = u.length; + if (l != c && !s) return !1; for (var f = l; f--; ) { - var p = s[f]; - if (!(o ? p in t : If.call(t, p))) + var p = o[f]; + if (!(s ? p in t : Pf.call(t, p))) return !1; } var d = a.get(e), v = a.get(t); @@ -3341,12 +3352,12 @@ function Cf(e, t, r, n, i, a) { return d == t && v == e; var b = !0; a.set(e, t), a.set(t, e); - for (var w = o; ++f < l; ) { - p = s[f]; + for (var w = s; ++f < l; ) { + p = o[f]; var T = e[p], A = t[p]; if (n) - var P = o ? n(A, T, p, t, e, a) : n(T, A, p, e, t, a); - if (!(P === void 0 ? T === A || i(T, A, r, n, a) : P)) { + var I = s ? n(A, T, p, t, e, a) : n(T, A, p, e, t, a); + if (!(I === void 0 ? T === A || i(T, A, r, n, a) : I)) { b = !1; break; } @@ -3358,22 +3369,22 @@ function Cf(e, t, r, n, i, a) { } return a.delete(e), a.delete(t), b; } -var Df = ke(oe, "DataView"); +var Df = ke(se, "DataView"); const Er = Df; -var jf = ke(oe, "Promise"); +var jf = ke(se, "Promise"); const _r = jf; -var qf = ke(oe, "Set"); +var qf = ke(se, "Set"); const xr = qf; -var Bf = ke(oe, "WeakMap"); +var Bf = ke(se, "WeakMap"); const Tr = Bf; -var Mn = "[object Map]", Ff = "[object Object]", Nn = "[object Promise]", Vn = "[object Set]", Hn = "[object WeakMap]", Un = "[object DataView]", Rf = Le(Er), Lf = Le(ut), kf = Le(_r), Mf = Le(xr), Nf = Le(Tr), je = xe; +var Mn = "[object Map]", Lf = "[object Object]", Nn = "[object Promise]", Vn = "[object Set]", Hn = "[object WeakMap]", Un = "[object DataView]", Ff = Re(Er), Rf = Re(ut), kf = Re(_r), Mf = Re(xr), Nf = Re(Tr), je = xe; (Er && je(new Er(new ArrayBuffer(1))) != Un || ut && je(new ut()) != Mn || _r && je(_r.resolve()) != Nn || xr && je(new xr()) != Vn || Tr && je(new Tr()) != Hn) && (je = function(e) { - var t = xe(e), r = t == Ff ? e.constructor : void 0, n = r ? Le(r) : ""; + var t = xe(e), r = t == Lf ? e.constructor : void 0, n = r ? Re(r) : ""; if (n) switch (n) { - case Rf: + case Ff: return Un; - case Lf: + case Rf: return Mn; case kf: return Nn; @@ -3387,16 +3398,16 @@ var Mn = "[object Map]", Ff = "[object Object]", Nn = "[object Promise]", Vn = " const Wn = je; var Vf = 1, zn = "[object Arguments]", Gn = "[object Array]", xt = "[object Object]", Hf = Object.prototype, Kn = Hf.hasOwnProperty; function Uf(e, t, r, n, i, a) { - var o = N(e), s = N(t), l = o ? Gn : Wn(e), u = s ? Gn : Wn(t); + var s = k(e), o = k(t), l = s ? Gn : Wn(e), u = o ? Gn : Wn(t); l = l == zn ? xt : l, u = u == zn ? xt : u; var c = l == xt, f = u == xt, p = l == u; if (p && cr(e)) { if (!cr(t)) return !1; - o = !0, c = !1; + s = !0, c = !1; } if (p && !c) - return a || (a = new fe()), o || si(e) ? na(e, t, r, n, i, a) : wf(e, t, l, r, n, i, a); + return a || (a = new fe()), s || oi(e) ? na(e, t, r, n, i, a) : wf(e, t, l, r, n, i, a); if (!(r & Vf)) { var d = c && Kn.call(e, "__wrapped__"), v = f && Kn.call(t, "__wrapped__"); if (d || v) { @@ -3411,18 +3422,18 @@ function Qt(e, t, r, n, i) { } var Wf = 1, zf = 2; function Gf(e, t, r, n) { - var i = r.length, a = i, o = !n; + var i = r.length, a = i, s = !n; if (e == null) return !a; for (e = Object(e); i--; ) { - var s = r[i]; - if (o && s[2] ? s[1] !== e[s[0]] : !(s[0] in e)) + var o = r[i]; + if (s && o[2] ? o[1] !== e[o[0]] : !(o[0] in e)) return !1; } for (; ++i < a; ) { - s = r[i]; - var l = s[0], u = e[l], c = s[1]; - if (o && s[2]) { + o = r[i]; + var l = o[0], u = e[l], c = o[1]; + if (s && o[2]) { if (u === void 0 && !(l in e)) return !1; } else { @@ -3439,20 +3450,20 @@ function aa(e) { return e === e && !ne(e); } function Kf(e) { - for (var t = Lt(e), r = t.length; r--; ) { + for (var t = Rt(e), r = t.length; r--; ) { var n = t[r], i = e[n]; t[r] = [n, i, aa(i)]; } return t; } -function oa(e, t) { +function sa(e, t) { return function(r) { return r == null ? !1 : r[e] === t && (t !== void 0 || e in Object(r)); }; } function Xf(e) { var t = Kf(e); - return t.length == 1 && t[0][2] ? oa(t[0][0], t[0][1]) : function(r) { + return t.length == 1 && t[0][2] ? sa(t[0][0], t[0][1]) : function(r) { return r === e || Gf(r, e, t); }; } @@ -3464,7 +3475,7 @@ function Yf(e, t) { } var Jf = 1, Zf = 2; function ed(e, t) { - return Lr(e) && aa(t) ? oa(pt(e), t) : function(r) { + return Rr(e) && aa(t) ? sa(pt(e), t) : function(r) { var n = Xr(r, e); return n === void 0 && n === t ? Yf(r, e) : Qt(t, n, Jf | Zf); }; @@ -3480,22 +3491,22 @@ function rd(e) { }; } function nd(e) { - return Lr(e) ? td(pt(e)) : rd(e); + return Rr(e) ? td(pt(e)) : rd(e); } -function vt(e) { - return typeof e == "function" ? e : e == null ? ui : typeof e == "object" ? N(e) ? ed(e[0], e[1]) : Xf(e) : nd(e); +function mt(e) { + return typeof e == "function" ? e : e == null ? ui : typeof e == "object" ? k(e) ? ed(e[0], e[1]) : Xf(e) : nd(e); } function id(e) { return function(t, r, n) { var i = Object(t); - if (!Rt(t)) { - var a = vt(r); - t = Lt(t), r = function(s) { - return a(i[s], s, i); + if (!Ft(t)) { + var a = mt(r); + t = Rt(t), r = function(o) { + return a(i[o], o, i); }; } - var o = e(t, r, n); - return o > -1 ? i[a ? t[o] : o] : void 0; + var s = e(t, r, n); + return s > -1 ? i[a ? t[s] : s] : void 0; }; } function ad(e, t, r, n) { @@ -3504,18 +3515,18 @@ function ad(e, t, r, n) { return a; return -1; } -var Xn = 1 / 0, od = 17976931348623157e292; -function sd(e) { +var Xn = 1 / 0, sd = 17976931348623157e292; +function od(e) { if (!e) return e === 0 ? e : 0; if (e = wr(e), e === Xn || e === -Xn) { var t = e < 0 ? -1 : 1; - return t * od; + return t * sd; } return e === e ? e : 0; } function tn(e) { - var t = sd(e), r = t % 1; + var t = od(e), r = t % 1; return t === t ? r ? t - r : t : 0; } var ld = Math.max; @@ -3524,17 +3535,17 @@ function ud(e, t, r) { if (!n) return -1; var i = r == null ? 0 : tn(r); - return i < 0 && (i = ld(n + i, 0)), ad(e, vt(t), i); + return i < 0 && (i = ld(n + i, 0)), ad(e, mt(t), i); } var cd = id(ud); -const sa = cd; +const oa = cd; var fd = "[object Boolean]"; function la(e) { return e === !0 || e === !1 || Oe(e) && xe(e) == fd; } function ua(e, t) { var r = {}; - return t = vt(t), Dr(e, function(n, i, a) { + return t = mt(t), Dr(e, function(n, i, a) { Vi(r, i, t(n, i, a)); }), r; } @@ -3550,7 +3561,7 @@ const dd = { type: String, required: !1, default() { - return m.isSsr ? "" : location.href; + return h.isSsr ? "" : location.href; } }, method: { @@ -3621,7 +3632,7 @@ const dd = { return this.values; }, rawErrors() { - return m.validationErrors(this.stack); + return h.validationErrors(this.stack); }, errors() { return ua(this.rawErrors, (e) => e.join(` @@ -3671,7 +3682,7 @@ const dd = { } if (!this.confirm) return this.request(); - m.confirm( + h.confirm( la(this.confirm) ? "" : this.confirm, this.confirmText, this.confirmButton, @@ -3684,13 +3695,13 @@ const dd = { async request() { await this.$nextTick(), this.processing = !0, this.wasSuccessful = !1, this.recentlySuccessful = !1, clearTimeout(this.recentlySuccessfulTimeoutId); const e = this.values instanceof FormData ? this.values : ea(this.values), t = { Accept: "application/json" }; - this.stay && (t["X-Splade-Prevent-Refresh"] = !0), m.request(this.action, this.method.toUpperCase(), e, t).then((r) => { + this.stay && (t["X-Splade-Prevent-Refresh"] = !0), h.request(this.action, this.method.toUpperCase(), e, t).then((r) => { this.$emit("success", r), this.restoreOnSuccess && this.restore(), this.resetOnSuccess && this.reset(), this.processing = !1, this.wasSuccessful = !0, this.recentlySuccessful = !0, this.recentlySuccessfulTimeoutId = setTimeout(() => this.recentlySuccessful = !1, 2e3); }).catch(async (r) => { if (this.processing = !1, this.$emit("error", r), !this.scrollOnError) return; await this.$nextTick(); - const n = sa(Object.keys(this.errors), (i) => this.formElement.querySelector(`[data-validation-key="${i}"]`)); + const n = oa(Object.keys(this.errors), (i) => this.formElement.querySelector(`[data-validation-key="${i}"]`)); n && this.focusAndScrollToElement( this.formElement.querySelector(`[data-validation-key="${n}"]`) ); @@ -3787,13 +3798,13 @@ const dd = { } } }, hd = { ref: "input" }; -function vd(e, t, r, n, i, a) { +function md(e, t, r, n, i, a) { return j(), de("div", hd, [ re(e.$slots, "default", { disabled: i.disabled }) ], 512); } -const md = /* @__PURE__ */ Ne(pd, [["render", vd]]), gd = { - components: { Render: se }, +const vd = /* @__PURE__ */ Ne(pd, [["render", md]]), gd = { + components: { Render: oe }, props: { name: { type: String, @@ -3803,7 +3814,7 @@ const md = /* @__PURE__ */ Ne(pd, [["render", vd]]), gd = { type: String, required: !1, default() { - return m.isSsr ? "" : window.location.href; + return h.isSsr ? "" : window.location.href; } }, show: { @@ -3827,18 +3838,18 @@ const md = /* @__PURE__ */ Ne(pd, [["render", vd]]), gd = { }, methods: { async request() { - this.html = null, m.lazy(this.url, this.name).then((e) => { + this.html = null, h.lazy(this.url, this.name).then((e) => { this.html = e.data.html; }); } } }; function yd(e, t, r, n, i, a) { - const o = ei("Render"); - return i.html ? (j(), K(o, { + const s = ei("Render"); + return i.html ? (j(), K(s, { key: 0, html: i.html - }, null, 8, ["html"])) : r.show ? re(e.$slots, "default", { key: 1 }) : Ft("", !0); + }, null, 8, ["html"])) : r.show ? re(e.$slots, "default", { key: 1 }) : Lt("", !0); } const bd = /* @__PURE__ */ Ne(gd, [["render", yd]]), wd = ["href", "onClick"], Sd = { __name: "Link", @@ -3888,7 +3899,7 @@ const bd = /* @__PURE__ */ Ne(gd, [["render", yd]]), wd = ["href", "onClick"], S function r() { if (!t.confirm) return n(); - m.confirm( + h.confirm( la(t.confirm) ? "" : t.confirm, t.confirmText, t.confirmButton, @@ -3900,10 +3911,10 @@ const bd = /* @__PURE__ */ Ne(gd, [["render", yd]]), wd = ["href", "onClick"], S } function n() { if (t.modal) - return m.modal(t.href); + return h.modal(t.href); if (t.slideover) - return m.slideover(t.href); - t.replace ? m.replace(t.href) : m.visit(t.href); + return h.slideover(t.href); + t.replace ? h.replace(t.href) : h.visit(t.href); } return (i, a) => (j(), de("a", { href: e.href, @@ -3981,6 +3992,7 @@ const bd = /* @__PURE__ */ Ne(gd, [["render", yd]]), wd = ["href", "onClick"], S }); } }, $d = { + inject: ["stack"], props: { choices: { type: [Boolean, Object], @@ -4012,7 +4024,8 @@ const bd = /* @__PURE__ */ Ne(gd, [["render", yd]]), wd = ["href", "onClick"], S return { choicesInstance: null, element: null, - placeholderText: null + placeholderText: null, + headlessListener: null }; }, computed: { @@ -4033,7 +4046,8 @@ const bd = /* @__PURE__ */ Ne(gd, [["render", yd]]), wd = ["href", "onClick"], S this.element = this.$refs.select.querySelector("select"), this.choices && this.initChoices(this.element); }, beforeUnmount() { - this.choices && this.choicesInstance && this.choicesInstance.destroy(); + var e; + this.choices && this.choicesInstance && (this.headlessListener && ((e = document.querySelector("#headlessui-portal-root")) == null || e.removeEventListener("click", this.headlessListener)), this.choicesInstance.destroy()); }, methods: { setValueOnChoices(e) { @@ -4041,7 +4055,7 @@ const bd = /* @__PURE__ */ Ne(gd, [["render", yd]]), wd = ["href", "onClick"], S }, getItemOfCurrentModel() { const e = this.modelValue; - return sa(this.choicesInstance._store.choices, (t) => t.value == e); + return oa(this.choicesInstance._store.choices, (t) => t.value == e); }, handlePlaceholderVisibility() { if (!this.multiple) @@ -4059,7 +4073,9 @@ const bd = /* @__PURE__ */ Ne(gd, [["render", yd]]), wd = ["href", "onClick"], S ).length, r = this; import("choices.js").then((n) => { const i = Object.assign({}, this.choices, this.jsChoicesOptions); - r.choicesInstance = new n.default(e, i), this.choicesInstance.containerInner.element.setAttribute( + r.choicesInstance = new n.default(e, i), r.stack > 0 && (r.headlessListener = function(a) { + a.target === e && r.choicesInstance.showDropdown(); + }, document.querySelector("#headlessui-portal-root").addEventListener("click", r.headlessListener, { capture: !0 })), this.choicesInstance.containerInner.element.setAttribute( "data-select-name", e.name ), this.handlePlaceholderVisibility(), this.updateHasSelectionAttribute(), e.addEventListener("change", function() { @@ -4069,10 +4085,10 @@ const bd = /* @__PURE__ */ Ne(gd, [["render", yd]]), wd = ["href", "onClick"], S }), e.addEventListener("showDropdown", function() { if (r.multiple || !r.modelValue) return; - const a = r.getItemOfCurrentModel(), o = r.choicesInstance.dropdown.element.querySelector( + const a = r.getItemOfCurrentModel(), s = r.choicesInstance.dropdown.element.querySelector( `.choices__item[data-id="${a.id}"]` ); - r.choicesInstance.choiceList.scrollToChildElement(o, 1), r.choicesInstance._highlightChoice(o); + r.choicesInstance.choiceList.scrollToChildElement(s, 1), r.choicesInstance._highlightChoice(s); }), this.setValueOnChoices(this.modelValue); }); }, @@ -4092,7 +4108,7 @@ function _d(e, t, r, n, i, a) { const xd = /* @__PURE__ */ Ne($d, [["render", _d]]), Td = { inject: ["stack"], render() { - const e = m.validationErrors(this.stack), t = m.flashData(this.stack), r = m.sharedData.value, n = ua(e, (i) => i.join(` + const e = h.validationErrors(this.stack), t = h.flashData(this.stack), r = h.sharedData.value, n = ua(e, (i) => i.join(` `)); return this.$slots.default({ flash: t, @@ -4122,28 +4138,28 @@ function Ad(e, t, r) { var i = r; return r -= t.length, r >= 0 && e.slice(r, i) == t; } -function Pd(e, t) { +function Id(e, t) { var r = []; return jr(e, function(n, i, a) { t(n, i, a) && r.push(n); }), r; } -function Id(e, t) { - var r = N(e) ? ia : Pd; - return r(e, vt(t)); +function Pd(e, t) { + var r = k(e) ? ia : Id; + return r(e, mt(t)); } function Qn(e, t) { return Qt(e, t); } function Cd(e, t) { - var r = -1, n = Rt(e) ? Array(e.length) : []; - return jr(e, function(i, a, o) { - n[++r] = t(i, a, o); + var r = -1, n = Ft(e) ? Array(e.length) : []; + return jr(e, function(i, a, s) { + n[++r] = t(i, a, s); }), n; } function Dd(e, t) { - var r = N(e) ? Ei : Cd; - return r(e, vt(t)); + var r = k(e) ? Ei : Cd; + return r(e, mt(t)); } function Tt(e, t, r) { return e = Nr(e), r = r == null ? 0 : ca(tn(r), 0, e.length), t = Ht(t), e.slice(r, r + t.length) == t; @@ -4167,13 +4183,26 @@ const jd = { type: Number, required: !1, default: 350 + }, + itemsOnThisPage: { + type: Number, + required: !1, + default: 0 + }, + itemsOnAllPages: { + type: Number, + required: !1, + default: 0 } }, data() { return { + selectedItems: [], visibleColumns: [], forcedVisibleSearchInputs: [], - debounceUpdateQuery: null + debounceUpdateQuery: null, + isLoading: !1, + processingAction: !1 }; }, computed: { @@ -4182,6 +4211,20 @@ const jd = { }, hasForcedVisibleSearchInputs() { return this.forcedVisibleSearchInputs.length > 0; + }, + allItemsFromAllPagesAreSelected() { + return this.selectedItems.length === 1 && this.selectedItems[0] === "*"; + }, + allVisibleItemsAreSelected() { + const e = this.selectedItems.length; + return e === 1 && this.selectedItems[0] === "*" || e > 0 && e === this.itemsOnThisPage; + }, + hasSelectedItems() { + return this.selectedItems.length > 0; + }, + totalSelectedItems() { + const e = this.selectedItems.length; + return e === 1 && this.selectedItems[0] === "*" ? this.itemsOnAllPages : e; } }, created() { @@ -4199,6 +4242,9 @@ const jd = { }), t.length === 0 ? this.visibleColumns = this.defaultVisibleToggleableColumns : this.visibleColumns = t; }, methods: { + visitLink(e, t) { + return t === "modal" ? h.modal(e) : t === "slideover" ? h.slideover(e) : h.visit(e); + }, reset() { this.forcedVisibleSearchInputs = [], this.visibleColumns = this.defaultVisibleToggleableColumns; let e = this.getCurrentQuery(); @@ -4210,7 +4256,7 @@ const jd = { return this.visibleColumns.includes(e); }, toggleColumn(e) { - const t = !this.columnIsVisible(e), r = Id(this.columns, (i) => i.can_be_hidden ? i.key === e ? t : this.visibleColumns.includes(i.key) : !0); + const t = !this.columnIsVisible(e), r = Pd(this.columns, (i) => i.can_be_hidden ? i.key === e ? t : this.visibleColumns.includes(i.key) : !0); let n = Dd(r, (i) => i.key).sort(); Qn(n, this.defaultVisibleToggleableColumns) && (n = []), this.visibleColumns = n.length === 0 ? this.defaultVisibleToggleableColumns : n, this.updateQuery("columns", n, null, !1); }, @@ -4237,8 +4283,8 @@ const jd = { t[i] = n[1]; return; } - const a = i.split("["), o = a[1].substring(0, a[1].length - 1); - parseInt(o) == o ? (i = a[0], N(t[i]) || (t[i] = []), t[i].push(n[1])) : t[i] = n[1]; + const a = i.split("["), s = a[1].substring(0, a[1].length - 1); + parseInt(s) == s ? (i = a[0], k(t[i]) || (t[i] = []), t[i].push(n[1])) : t[i] = n[1]; }), t; }, updateQuery(e, t, r, n) { @@ -4247,29 +4293,55 @@ const jd = { i[e] = t, (Tt(e, "perPage") || Tt(e, "filter[")) && delete i.page, this.visitWithQueryObject(i, r, n); }, visitWithQueryObject(e, t, r) { + var o; typeof r > "u" && (r = !0); let n = {}; - be(e, (o, s) => { - if (!N(o)) { - n[s] = o; + be(e, (l, u) => { + if (!k(l)) { + n[u] = l; return; } - o.length !== 0 && o.forEach((l, u) => { - n[`${s}[${u}]`] = l; + l.length !== 0 && l.forEach((c, f) => { + n[`${u}[${f}]`] = c; }); }); let i = ""; - be(n, (o, s) => { - o === null || o === [] || (i && (i += "&"), i += `${s}=${o}`); + be(n, (l, u) => { + l === null || l === [] || (i && (i += "&"), i += `${u}=${l}`); }), i && (i = "?" + i); const a = window.location.pathname + i; if (!r) - return m.replaceUrlOfCurrentPage(a); - m.replace(a).then(() => { - typeof t < "u" && t && Ue(() => { - document.querySelector(`[name="${t.name}"]`).focus(); + return h.replaceUrlOfCurrentPage(a); + this.isLoading = !0; + let s = null; + typeof t < "u" && t && (s = (o = document.querySelector(`[name="${t.name}"]`)) == null ? void 0 : o.value), h.replace(a).then(() => { + this.isLoading = !1, typeof t < "u" && t && Ue(() => { + const l = document.querySelector(`[name="${t.name}"]`); + l.focus(), s && (l.value = s); }); }); + }, + async performBulkAction(e, t, r, n, i) { + if (t) + try { + await h.confirm(t === !0 ? "" : t, r, n, i); + } catch { + return !1; + } + this.isLoading = !0, h.request(e, "POST", { ids: this.selectedItems }, {}, !1).then((a) => { + a.data; + }).catch(() => { + this.isLoading = !1; + }); + }, + setSelectedItems(e) { + this.selectedItems = k(e) ? e : []; + }, + itemIsSelected(e) { + return this.selectedItems.length == 1 && this.selectedItems[0] == "*" ? !0 : this.selectedItems.includes(e); + }, + setSelectedItem(e, t) { + t ? this.selectedItems.push(e) : this.selectedItems = this.selectedItems.filter((r) => r !== e); } }, render() { @@ -4285,7 +4357,17 @@ const jd = { striped: this.striped, toggleColumn: this.toggleColumn, updateQuery: this.updateQuery, - visit: m.visit + visit: this.visitLink, + totalSelectedItems: this.totalSelectedItems, + allItemsFromAllPagesAreSelected: this.allItemsFromAllPagesAreSelected, + allVisibleItemsAreSelected: this.allVisibleItemsAreSelected, + hasSelectedItems: this.hasSelectedItems, + setSelectedItems: this.setSelectedItems, + itemIsSelected: this.itemIsSelected, + setSelectedItem: this.setSelectedItem, + performBulkAction: this.performBulkAction, + processingAction: this.processingAction, + isLoading: this.isLoading }); } }, qd = { @@ -4301,9 +4383,9 @@ const jd = { function Bd(e, t, r, n, i, a) { return i.isMounted ? (j(), K(Zn, Ea(_a({ key: 0 }, e.$attrs)), [ re(e.$slots, "default") - ], 16)) : Ft("", !0); + ], 16)) : Lt("", !0); } -const Fd = /* @__PURE__ */ Ne(qd, [["render", Bd]]), Rd = { +const Ld = /* @__PURE__ */ Ne(qd, [["render", Bd]]), Fd = { props: { autosize: { type: Boolean, @@ -4338,13 +4420,13 @@ const Fd = /* @__PURE__ */ Ne(qd, [["render", Bd]]), Rd = { e.default.destroy(this.element); }); } -}, Ld = { ref: "textarea" }; +}, Rd = { ref: "textarea" }; function kd(e, t, r, n, i, a) { - return j(), de("div", Ld, [ + return j(), de("div", Rd, [ re(e.$slots, "default") ], 512); } -const Md = /* @__PURE__ */ Ne(Rd, [["render", kd]]), Nd = { +const Md = /* @__PURE__ */ Ne(Fd, [["render", kd]]), Nd = { props: { toastKey: { type: Number, @@ -4398,15 +4480,15 @@ const Md = /* @__PURE__ */ Ne(Rd, [["render", kd]]), Nd = { ], Hd = { computed: { toasts: function() { - return m.toastsReversed.value; + return h.toastsReversed.value; }, hasBackdrop: function() { - return m.toasts.value.filter((e) => !e.dismissed && e.backdrop && e.html).length > 0; + return h.toasts.value.filter((e) => !e.dismissed && e.backdrop && e.html).length > 0; } }, methods: { dismissToast(e) { - m.dismissToast(e); + h.dismissToast(e); } }, render() { @@ -4415,7 +4497,7 @@ const Md = /* @__PURE__ */ Ne(Rd, [["render", kd]]), Nd = { toasts: this.toasts, dismissToast: this.dismissToast, hasBackdrop: this.hasBackdrop, - Render: se, + Render: oe, TransitionRoot: Ze, TransitionChild: Je }); @@ -4568,7 +4650,7 @@ const Md = /* @__PURE__ */ Ne(Rd, [["render", kd]]), Nd = { install: (e, t) => { t = t || {}, t.max_keep_alive = G(t, "max_keep_alive") ? t.max_keep_alive : 10, t.prefix = G(t, "prefix") ? t.prefix : "Splade", t.transform_anchors = G(t, "transform_anchors") ? t.transform_anchors : !1, t.link_component = G(t, "link_component") ? t.link_component : "Link", t.progress_bar = G(t, "progress_bar") ? t.progress_bar : !1, t.components = G(t, "components") ? t.components : {}; const r = t.prefix; - if (e.component(`${r}Confirm`, su).component(`${r}Data`, pu).component(`${r}Defer`, xu).component(`${r}Dialog`, Tu).component(`${r}Dropdown`, Bc).component(`${r}DynamicHtml`, Fc).component(`${r}Errors`, Rc).component(`${r}Event`, Lc).component(`${r}File`, Vc).component(`${r}Flash`, Hc).component(`${r}Form`, dd).component(`${r}Input`, md).component(`${r}Lazy`, bd).component(`${r}Modal`, Od).component(`${r}OnClickOutside`, Wi).component(`${r}Render`, se).component(`${r}Select`, xd).component(`${r}State`, Td).component(`${r}Table`, jd).component(`${r}Teleport`, Fd).component(`${r}Textarea`, Md).component(`${r}Toast`, Nd).component(`${r}Toasts`, Hd).component(`${r}Toggle`, Ud).component(`${r}Transition`, Wd).component(t.link_component, Sd), Object.defineProperty(e.config.globalProperties, "$splade", { get: () => m }), Object.defineProperty(e.config.globalProperties, "$spladeOptions", { get: () => Object.assign({}, { ...t }) }), e.provide("$splade", e.config.globalProperties.$splade), e.provide("$spladeOptions", e.config.globalProperties.$spladeOptions), t.progress_bar) { + if (e.component(`${r}Confirm`, ou).component(`${r}Data`, pu).component(`${r}Defer`, xu).component(`${r}Dialog`, Tu).component(`${r}Dropdown`, Bc).component(`${r}DynamicHtml`, Lc).component(`${r}Errors`, Fc).component(`${r}Event`, Rc).component(`${r}File`, Vc).component(`${r}Flash`, Hc).component(`${r}Form`, dd).component(`${r}Input`, vd).component(`${r}Lazy`, bd).component(`${r}Modal`, Od).component(`${r}OnClickOutside`, Wi).component(`${r}Render`, oe).component(`${r}Select`, xd).component(`${r}State`, Td).component(`${r}Table`, jd).component(`${r}Teleport`, Ld).component(`${r}Textarea`, Md).component(`${r}Toast`, Nd).component(`${r}Toasts`, Hd).component(`${r}Toggle`, Ud).component(`${r}Transition`, Wd).component(t.link_component, Sd), Object.defineProperty(e.config.globalProperties, "$splade", { get: () => h }), Object.defineProperty(e.config.globalProperties, "$spladeOptions", { get: () => Object.assign({}, { ...t }) }), e.provide("$splade", e.config.globalProperties.$splade), e.provide("$spladeOptions", e.config.globalProperties.$spladeOptions), t.progress_bar) { const n = { delay: 250, color: "#4B5563", @@ -4587,28 +4669,28 @@ const Md = /* @__PURE__ */ Ne(Rd, [["render", kd]]), Nd = { function Yd(e, t, r) { const n = {}; process.argv.slice(2).forEach((a) => { - const o = a.replace(/^-+/, "").split("="); - n[o[0]] = o.length === 2 ? o[1] : !0; + const s = a.replace(/^-+/, "").split("="); + n[s[0]] = s.length === 2 ? s[1] : !0; }); const i = n.port || 9e3; - e(async (a, o) => { + e(async (a, s) => { if (a.method == "POST") { - let s = ""; - a.on("data", (l) => s += l), a.on("end", async () => { - const l = JSON.parse(s), u = r({ + let o = ""; + a.on("data", (l) => o += l), a.on("end", async () => { + const l = JSON.parse(o), u = r({ components: l.components, initialDynamics: l.dynamics, initialHtml: l.html, initialSpladeData: l.splade }), c = await t(u); - o.writeHead(200, { "Content-Type": "application/json", Server: "Splade SSR" }), o.write(JSON.stringify({ body: c })), o.end(); + s.writeHead(200, { "Content-Type": "application/json", Server: "Splade SSR" }), s.write(JSON.stringify({ body: c })), s.end(); }); } }).listen(i, () => console.log(`Splade SSR server started on port ${i}.`)); } export { - m as Splade, - $s as SpladeApp, + h as Splade, + $o as SpladeApp, Qd as SpladePlugin, Kd as renderSpladeApp, Yd as startServer diff --git a/dist/protone-media-laravel-splade.umd.cjs b/dist/protone-media-laravel-splade.umd.cjs index b5fadd5d..7ba9f433 100644 --- a/dist/protone-media-laravel-splade.umd.cjs +++ b/dist/protone-media-laravel-splade.umd.cjs @@ -1,13 +1,13 @@ -(function(B,Ne){typeof exports=="object"&&typeof module<"u"?Ne(exports,require("axios"),require("vue")):typeof define=="function"&&define.amd?define(["exports","axios","vue"],Ne):(B=typeof globalThis<"u"?globalThis:B||self,Ne(B.ProtoneMediaLaravelSplade={},B.axios,B.Vue))})(this,function(B,Ne,a){"use strict";const Ln=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(Ne),Sd="",Od="";function zi(e,t){for(var n=-1,r=e==null?0:e.length;++n-1&&e%1==0&&e-1&&e%1==0&&e<=So}var Oo="[object Arguments]",$o="[object Array]",Eo="[object Boolean]",_o="[object Date]",To="[object Error]",xo="[object Function]",Ao="[object Map]",Po="[object Number]",Co="[object Object]",Io="[object RegExp]",Bo="[object Set]",jo="[object String]",Do="[object WeakMap]",ko="[object ArrayBuffer]",qo="[object DataView]",Fo="[object Float32Array]",Mo="[object Float64Array]",Ro="[object Int8Array]",Lo="[object Int16Array]",No="[object Int32Array]",Vo="[object Uint8Array]",Ho="[object Uint8ClampedArray]",Uo="[object Uint16Array]",Wo="[object Uint32Array]",C={};C[Fo]=C[Mo]=C[Ro]=C[Lo]=C[No]=C[Vo]=C[Ho]=C[Uo]=C[Wo]=!0,C[Oo]=C[$o]=C[ko]=C[Eo]=C[qo]=C[_o]=C[To]=C[xo]=C[Ao]=C[Po]=C[Co]=C[Io]=C[Bo]=C[jo]=C[Do]=!1;function zo(e){return se(e)&&Mt(e.length)&&!!C[ae(e)]}function Go(e){return function(t){return e(t)}}var Qn=typeof B=="object"&&B&&!B.nodeType&&B,He=Qn&&typeof module=="object"&&module&&!module.nodeType&&module,Ko=He&&He.exports===Qn,Rt=Ko&&Nn.process,Xo=function(){try{var e=He&&He.require&&He.require("util").types;return e||Rt&&Rt.binding&&Rt.binding("util")}catch{}}();const Yn=Xo;var Jn=Yn&&Yn.isTypedArray,Qo=Jn?Go(Jn):zo;const Zn=Qo;var Yo=Object.prototype,Jo=Yo.hasOwnProperty;function Zo(e,t){var n=F(e),r=!n&&zn(e),i=!n&&!r&&qt(e),o=!n&&!r&&!i&&Zn(e),s=n||r||i||o,l=s?Qi(e.length,String):[],u=l.length;for(var c in e)(t||Jo.call(e,c))&&!(s&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Ft(c,u)))&&l.push(c);return l}var ea=Object.prototype;function ta(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||ea;return e===n}function na(e,t){return function(n){return e(t(n))}}var ra=na(Object.keys,Object);const ia=ra;var oa=Object.prototype,aa=oa.hasOwnProperty;function sa(e){if(!ta(e))return ia(e);var t=[];for(var n in Object(e))aa.call(e,n)&&n!="constructor"&&t.push(n);return t}function K(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var la="[object AsyncFunction]",ua="[object Function]",ca="[object GeneratorFunction]",fa="[object Proxy]";function er(e){if(!K(e))return!1;var t=ae(e);return t==ua||t==ca||t==la||t==fa}function rt(e){return e!=null&&Mt(e.length)&&!er(e)}function it(e){return rt(e)?Zo(e):sa(e)}function Lt(e,t){return e&&Xi(e,t,it)}function da(e,t){return function(n,r){if(n==null)return n;if(!rt(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=Object(n);(t?o--:++o"u";function ya(e,t,n){ue||window.addEventListener("popstate",ba.bind(this)),Object.keys(t).length>0&&ot.value++,zt(n),at(n.head),Gt(e);const r=ue?"":location.href,i=Ht(r,n.head,e,t,{},Vt.value,ot.value);rr(i)}function ba(e){!e.state||(j.value=e.state,Y.value=0,at(j.value.head),Gt(j.value.html,j.value.rememberedState.scrollY))}function Ht(e,t,n,r,i,o,s){const l={url:e,head:t,html:n,dynamics:r,rememberedState:i,pageVisitId:o,dynamicVisitId:s};return j.value=l,l}function wa(e){ue||window.history.pushState(e,"",e.url)}function Sa(e){const t=Ht(e,JSON.parse(JSON.stringify(j.value.head)),j.value.html,j.value.dynamics,{...j.value.rememberedState},j.value.pageVisitId,j.value.dynamicVisitId);ue||window.history.replaceState(t,"",t.url)}function rr(e){ue||window.history.replaceState(e,"",e.url)}const Ut=a.ref(0);function Oa(e,t){Ut.value++;const n=e.request.responseURL;if(e.data.splade.lazy)return;e.data.splade.modal&&Y.value++,zt(e.data.splade),at(e.data.splade.head);const r=n===j.value.url;if(r&&(t=!0),e.data.splade.modal)return Ba(e.data.html,e.data.splade.modal);if(e.data.splade.preventRefresh&&r)return;Y.value=0;let i=e.data.html,o=e.data.dynamics;const s=Object.keys(j.value.dynamics).length>0,l=Object.keys(o).length>0;t?(l&&le(o,(c,f)=>{o[f]+=``}),(!l||!s)&&(i+=``)):(l&&ot.value++,(!l||!s)&&Vt.value++),Gt(i,0);const u=Ht(n,e.data.splade.head,i,o,j.value.rememberedState?{...j.value.rememberedState}:{},Vt.value,ot.value);t?rr(u):wa(u)}function $a(){Y.value--,at(_a(Y.value))}const ir=a.ref({}),or=e=>ir.value[e],Ea=e=>Object.keys(or.value[e]).length>0,ar=a.ref({}),_a=e=>ar.value[e],sr=a.ref({}),Ta=e=>sr.value[e],Ce=a.ref([]);function xa(e){Ce.value.push(e)}const Aa=a.computed(()=>va(Ce.value));function Pa(e){Ce.value[e].dismissed=!0,Ce.value[e].html=null}const Wt=a.ref(null);function Ca(e,t,n,r){let i,o;const s=new Promise((l,u)=>{i=l,o=u});return Wt.value={title:e,text:t,confirmButton:n,cancelButton:r,resolvePromise:i,rejectPromise:o},s}function Ia(){Wt.value=null}const lr=a.ref({});function zt(e){lr.value=e.shared?e.shared:{},sr.value[Y.value]=e.flash?e.flash:{},ar.value[Y.value]=e.head?e.head:{},ha(e.toasts?e.toasts:[],t=>{Ce.value.push(t)}),ir.value[Y.value]=e.errors?e.errors:{}}const ur=a.ref(()=>{}),cr=a.ref(()=>{}),fr=a.ref(()=>{}),dr=a.ref(()=>{});function at(e){ur.value(e)}function Gt(e,t){cr.value(e,t)}function Ba(e,t){fr.value(e,t)}function ja(e){dr.value(e)}const pr=a.ref({});function hr(e,t,n){pr.value[e]=t,n&&Da(e,t)}function Da(e,t){let n=JSON.parse(localStorage.getItem("splade")||"{}")||{};n[e]=t,localStorage.setItem("splade",JSON.stringify(n))}function ka(e,t){return t?(JSON.parse(localStorage.getItem("splade")||"{}")||{})[e]:pr.value[e]}function st(e,t){ue||document.dispatchEvent(new CustomEvent(`splade:${e}`,{detail:t}))}function Ie(e,t,n,r,i){ue||hr("scrollY",window.scrollY),st("request",{url:e,method:t,data:n,headers:r,replace:i});const o=Ln.default({method:t,url:e,data:n,headers:{"X-Splade":!0,"X-Requested-With":"XMLHttpRequest",Accept:"text/html, application/xhtml+xml",...r},onUploadProgress:s=>{n instanceof FormData&&(s.percentage=Math.round(s.loaded/s.total*100),st("request-progress",{url:e,method:t,data:n,headers:r,replace:i,progress:s}))}});return o.then(s=>{Oa(s,i),st("request-response",{url:e,method:t,data:n,headers:r,replace:i,response:s})}).catch(s=>{st("request-error",{url:e,method:t,data:n,headers:r,replace:i,error:s});const l=s.response.data.splade;l&&(l.lazy||zt(l)),s.response.status!=422&&ja(s.response.data.html?s.response.data.html:s.response.data)}),o}function mr(e){return Ie(e,"GET",{},{},!0)}function qa(e){return Ie(e,"GET",{},{},!1)}function Fa(e){return Ie(e,"GET",{},{"X-Splade-Modal":"modal"},!1)}function Ma(e){return Ie(e,"GET",{},{"X-Splade-Modal":"slideover"},!1)}function Ra(e,t){return Ie(e,"GET",{},{"X-Splade-Lazy":t},!1)}function La(){return mr(j.value.url)}const m={init:ya,replace:mr,visit:qa,modal:Fa,slideover:Ma,refresh:La,request:Ie,lazy:Ra,replaceUrlOfCurrentPage:Sa,htmlForDynamicComponent(e){return j.value.dynamics[e]},setOnHead(e){ur.value=e},setOnHtml(e){cr.value=e},setOnModal(e){fr.value=e},setOnServerError(e){dr.value=e},hasValidationErrors:Ea,validationErrors:or,sharedData:lr,flashData:Ta,toasts:Ce,toastsReversed:Aa,confirmModal:Wt,confirm:Ca,clearConfirmModal:Ia,pushToast:xa,dismissToast:Pa,restore:ka,remember:hr,popStack:$a,currentStack:Y,pageVisitId:a.computed(()=>j.value.pageVisitId),dynamicVisitId:a.computed(()=>j.value.dynamicVisitId),isSsr:ue};var Na="[object String]";function lt(e){return typeof e=="string"||!F(e)&&se(e)&&ae(e)==Na}const J={__name:"Render",props:{html:{type:String,required:!1,default:""}},setup(e){const t=e,n=a.ref(null);function r(){n.value=a.h({template:t.html})}return a.watch(()=>t.html,r,{immediate:!0}),(i,o)=>e.html?(a.openBlock(),a.createBlock(a.unref(n),{key:0})):a.createCommentVNode("",!0)}},Va={__name:"ServerError",props:{html:{type:String,required:!0}},emits:["close"],setup(e,{emit:t}){const n=e,r=a.ref(null);function i(){const l=document.createElement("html");l.innerHTML=n.html,l.querySelectorAll("a").forEach(c=>c.setAttribute("target","_top")),document.body.style.overflow="hidden";const u=r.value;if(!u.contentWindow)throw new Error("iframe not yet ready.");u.contentWindow.document.open(),u.contentWindow.document.write(l.outerHTML),u.contentWindow.document.close(),document.addEventListener("keydown",o)}function o(l){l.keyCode===27&&s()}function s(){document.body.style.overflow="visible",document.removeEventListener("keydown",o),t("close")}return a.onMounted(()=>i()),(l,u)=>(a.openBlock(),a.createElementBlock("div",{style:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px","z-index":"200000","box-sizing":"border-box",height:"100vh",width:"100vw","background-color":"rgb(0 0 0 / 0.75)",padding:"2rem"},onClick:s},[a.createElementVNode("iframe",{ref_key:"iframeElement",ref:r,class:"bg-white w-full h-full"},null,512)]))}},gr={__name:"SpladeApp",props:{el:{type:[String,Object],required:!1,default:""},components:{type:String,required:!1,default:e=>{if(!m.isSsr){const t=lt(e.el)?document.getElementById(e.el):e.el;return JSON.parse(t.dataset.components)||""}}},initialHtml:{type:String,required:!1,default:e=>{if(!m.isSsr){const t=lt(e.el)?document.getElementById(e.el):e.el;return JSON.parse(t.dataset.html)||""}}},initialDynamics:{type:Object,required:!1,default:e=>{if(!m.isSsr){const t=lt(e.el)?document.getElementById(e.el):e.el;return JSON.parse(t.dataset.dynamics)||{}}}},initialSpladeData:{type:Object,required:!1,default:e=>{if(!m.isSsr){const t=lt(e.el)?document.getElementById(e.el):e.el;return JSON.parse(t.dataset.splade)||{}}}}},setup(e){const t=e;a.provide("stack",0);const n=a.ref(),r=a.ref([]),i=a.ref(null),o=a.inject("$spladeOptions")||{},s=a.computed(()=>m.currentStack.value<1?[]:{filter:"blur(4px)","transition-property":"filter","transition-duration":"150ms","transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"});function l(){i.value=null}function u(d){r[d]=null,m.popStack()}function c(d,h){let p=document.querySelector(`meta[${d}="${h}"]`);return p||(p=document.createElement("meta"),p[d]=h,document.getElementsByTagName("head")[0].appendChild(p),p)}function f(d){const h=d.name?c("name",d.name):c("property",d.property);le(d,(p,v)=>{h[v]=p})}return m.setOnHead(d=>{m.isSsr||(document.title=d.title,d.meta.forEach(h=>{f(h)}))}),m.setOnHtml((d,h)=>{r.value=[],n.value=d,a.nextTick(()=>{m.isSsr||window.scrollTo(0,h),o.transform_anchors&&[...document.querySelectorAll("a")].forEach(p=>{p.href==""||p.href.charAt(0)=="#"||p.__vnode.dynamicProps===null&&(p.hasAttribute("download")||(p.onclick=function(v){v.preventDefault(),m.visit(p.href)}))})})}),m.setOnModal(function(d,h){r.value[m.currentStack.value]={html:d,type:h}}),m.setOnServerError(function(d){i.value=d}),m.init(t.initialHtml,t.initialDynamics,t.initialSpladeData),(d,h)=>(a.openBlock(),a.createElementBlock("div",null,[a.unref(m).isSsr?(a.openBlock(),a.createBlock(J,{key:`visit.${a.unref(m).pageVisitId.value}`,style:a.normalizeStyle(a.unref(s)),html:n.value},null,8,["style","html"])):(a.openBlock(),a.createBlock(a.KeepAlive,{key:0,max:a.unref(o).max_keep_alive},[(a.openBlock(),a.createBlock(J,{key:`visit.${a.unref(m).pageVisitId.value}`,style:a.normalizeStyle(a.unref(s)),html:n.value},null,8,["style","html"]))],1032,["max"])),a.createVNode(J,{html:e.components},null,8,["html"]),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(m).currentStack.value,p=>(a.openBlock(),a.createBlock(J,{key:`modal.${p}`,type:r.value[p].type,html:r.value[p].html,stack:p,"on-top-of-stack":a.unref(m).currentStack.value===p,onClose:v=>u(p)},null,8,["type","html","stack","on-top-of-stack","onClose"]))),128)),i.value?(a.openBlock(),a.createBlock(Va,{key:2,html:i.value,onClose:l},null,8,["html"])):a.createCommentVNode("",!0)]))}};function Ha(e){return()=>a.h(gr,e)}var Ua=Object.prototype,Wa=Ua.hasOwnProperty;function za(e,t){return e!=null&&Wa.call(e,t)}var Ga="[object Symbol]";function ut(e){return typeof e=="symbol"||se(e)&&ae(e)==Ga}var Ka=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Xa=/^\w*$/;function Kt(e,t){if(F(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||ut(e)?!0:Xa.test(e)||!Ka.test(e)||t!=null&&e in Object(t)}var Qa=G["__core-js_shared__"];const Xt=Qa;var vr=function(){var e=/[^.]+$/.exec(Xt&&Xt.keys&&Xt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ya(e){return!!vr&&vr in e}var Ja=Function.prototype,Za=Ja.toString;function ge(e){if(e!=null){try{return Za.call(e)}catch{}try{return e+""}catch{}}return""}var es=/[\\^$.*+?()[\]{}|]/g,ts=/^\[object .+?Constructor\]$/,ns=Function.prototype,rs=Object.prototype,is=ns.toString,os=rs.hasOwnProperty,as=RegExp("^"+is.call(os).replace(es,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ss(e){if(!K(e)||Ya(e))return!1;var t=er(e)?as:ts;return t.test(ge(e))}function ls(e,t){return e==null?void 0:e[t]}function ve(e,t){var n=ls(e,t);return ss(n)?n:void 0}var us=ve(Object,"create");const Ue=us;function cs(){this.__data__=Ue?Ue(null):{},this.size=0}function fs(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ds="__lodash_hash_undefined__",ps=Object.prototype,hs=ps.hasOwnProperty;function ms(e){var t=this.__data__;if(Ue){var n=t[e];return n===ds?void 0:n}return hs.call(t,e)?t[e]:void 0}var gs=Object.prototype,vs=gs.hasOwnProperty;function ys(e){var t=this.__data__;return Ue?t[e]!==void 0:vs.call(t,e)}var bs="__lodash_hash_undefined__";function ws(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Ue&&t===void 0?bs:t,this}function ye(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1}function xs(e,t){var n=this.__data__,r=ct(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Z(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,U),r}var pt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(pt||{}),ce=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(ce||{});function L({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var o;let s=Us(r,n),l=Object.assign(i,{props:s});if(e||t&2&&s.static)return en(l);if(t&1){let u=(o=s.unmount)==null||o?0:1;return U(u,{[0](){return null},[1](){return en({...i,props:{...s,hidden:!0,style:{display:"none"}}})}})}return en(l)}function en({props:e,attrs:t,slots:n,slot:r,name:i}){var o;let{as:s,...l}=$r(e,["unmount","static"]),u=(o=n.default)==null?void 0:o.call(n,r),c={};if(r){let f=!1,d=[];for(let[h,p]of Object.entries(r))typeof p=="boolean"&&(f=!0),p===!0&&d.push(h);f&&(c["data-headlessui-state"]=d.join(" "))}if(s==="template"){if(u=Or(u!=null?u:[]),Object.keys(l).length>0||Object.keys(t).length>0){let[f,...d]=u!=null?u:[];if(!Ws(f)||d.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${i} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).sort((h,p)=>h.localeCompare(p)).map(h=>` - ${h}`).join(` +(function(B,Ne){typeof exports=="object"&&typeof module<"u"?Ne(exports,require("axios"),require("vue")):typeof define=="function"&&define.amd?define(["exports","axios","vue"],Ne):(B=typeof globalThis<"u"?globalThis:B||self,Ne(B.ProtoneMediaLaravelSplade={},B.axios,B.Vue))})(this,function(B,Ne,a){"use strict";const Mr=(e=>e&&typeof e=="object"&&"default"in e?e:{default:e})(Ne),Sd="",Od="";function zi(e,t){for(var r=-1,n=e==null?0:e.length;++r-1&&e%1==0&&e-1&&e%1==0&&e<=So}var Oo="[object Arguments]",$o="[object Array]",Eo="[object Boolean]",_o="[object Date]",To="[object Error]",xo="[object Function]",Ao="[object Map]",Io="[object Number]",Po="[object Object]",Co="[object RegExp]",Bo="[object Set]",ko="[object String]",jo="[object WeakMap]",Do="[object ArrayBuffer]",qo="[object DataView]",Lo="[object Float32Array]",Fo="[object Float64Array]",Mo="[object Int8Array]",Ro="[object Int16Array]",No="[object Int32Array]",Vo="[object Uint8Array]",Ho="[object Uint8ClampedArray]",Uo="[object Uint16Array]",Wo="[object Uint32Array]",P={};P[Lo]=P[Fo]=P[Mo]=P[Ro]=P[No]=P[Vo]=P[Ho]=P[Uo]=P[Wo]=!0,P[Oo]=P[$o]=P[Do]=P[Eo]=P[qo]=P[_o]=P[To]=P[xo]=P[Ao]=P[Io]=P[Po]=P[Co]=P[Bo]=P[ko]=P[jo]=!1;function zo(e){return se(e)&&Ft(e.length)&&!!P[ae(e)]}function Go(e){return function(t){return e(t)}}var Xr=typeof B=="object"&&B&&!B.nodeType&&B,He=Xr&&typeof module=="object"&&module&&!module.nodeType&&module,Ko=He&&He.exports===Xr,Mt=Ko&&Rr.process,Xo=function(){try{var e=He&&He.require&&He.require("util").types;return e||Mt&&Mt.binding&&Mt.binding("util")}catch{}}();const Qr=Xo;var Yr=Qr&&Qr.isTypedArray,Qo=Yr?Go(Yr):zo;const Jr=Qo;var Yo=Object.prototype,Jo=Yo.hasOwnProperty;function Zo(e,t){var r=q(e),n=!r&&Wr(e),i=!r&&!n&&qt(e),o=!r&&!n&&!i&&Jr(e),s=r||n||i||o,l=s?Qi(e.length,String):[],u=l.length;for(var c in e)(t||Jo.call(e,c))&&!(s&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Lt(c,u)))&&l.push(c);return l}var ea=Object.prototype;function ta(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ea;return e===r}function ra(e,t){return function(r){return e(t(r))}}var na=ra(Object.keys,Object);const ia=na;var oa=Object.prototype,aa=oa.hasOwnProperty;function sa(e){if(!ta(e))return ia(e);var t=[];for(var r in Object(e))aa.call(e,r)&&r!="constructor"&&t.push(r);return t}function K(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var la="[object AsyncFunction]",ua="[object Function]",ca="[object GeneratorFunction]",fa="[object Proxy]";function Zr(e){if(!K(e))return!1;var t=ae(e);return t==ua||t==ca||t==la||t==fa}function nt(e){return e!=null&&Ft(e.length)&&!Zr(e)}function it(e){return nt(e)?Zo(e):sa(e)}function Rt(e,t){return e&&Xi(e,t,it)}function da(e,t){return function(r,n){if(r==null)return r;if(!nt(r))return e(r,n);for(var i=r.length,o=t?i:-1,s=Object(r);(t?o--:++o"u";function ya(e,t,r){ue||window.addEventListener("popstate",ba.bind(this)),Object.keys(t).length>0&&ot.value++,zt(r),at(r.head),Gt(e);const n=ue?"":location.href,i=Ht(n,r.head,e,t,{},Vt.value,ot.value);rn(i)}function ba(e){!e.state||(k.value=e.state,Y.value=0,at(k.value.head),Gt(k.value.html,k.value.rememberedState.scrollY))}function Ht(e,t,r,n,i,o,s){const l={url:e,head:t,html:r,dynamics:n,rememberedState:i,pageVisitId:o,dynamicVisitId:s};return k.value=l,l}function wa(e){ue||window.history.pushState(e,"",e.url)}function Sa(e){const t=Ht(e,JSON.parse(JSON.stringify(k.value.head)),k.value.html,k.value.dynamics,{...k.value.rememberedState},k.value.pageVisitId,k.value.dynamicVisitId);ue||window.history.replaceState(t,"",t.url)}function rn(e){ue||window.history.replaceState(e,"",e.url)}const Ut=a.ref(0);function Oa(e,t){Ut.value++;const r=e.request.responseURL;if(e.data.splade.lazy)return;e.data.splade.modal&&Y.value++,zt(e.data.splade),at(e.data.splade.head);const n=r===k.value.url;if(n&&(t=!0),e.data.splade.modal)return Ba(e.data.html,e.data.splade.modal);if(e.data.splade.preventRefresh&&n)return;Y.value=0;let i=e.data.html,o=e.data.dynamics;const s=Object.keys(k.value.dynamics).length>0,l=Object.keys(o).length>0;t?(l&&le(o,(c,f)=>{o[f]+=``}),(!l||!s)&&(i+=``)):(l&&ot.value++,(!l||!s)&&Vt.value++),Gt(i,0);const u=Ht(r,e.data.splade.head,i,o,k.value.rememberedState?{...k.value.rememberedState}:{},Vt.value,ot.value);t?rn(u):wa(u)}function $a(){Y.value--,at(_a(Y.value))}const nn=a.ref({}),on=e=>nn.value[e],Ea=e=>Object.keys(on.value[e]).length>0,an=a.ref({}),_a=e=>an.value[e],sn=a.ref({}),Ta=e=>sn.value[e],Pe=a.ref([]);function xa(e){Pe.value.push(e)}const Aa=a.computed(()=>va(Pe.value));function Ia(e){Pe.value[e].dismissed=!0,Pe.value[e].html=null}const Wt=a.ref(null);function Pa(e,t,r,n){let i,o;const s=new Promise((l,u)=>{i=l,o=u});return Wt.value={title:e,text:t,confirmButton:r,cancelButton:n,resolvePromise:i,rejectPromise:o},s}function Ca(){Wt.value=null}const ln=a.ref({});function zt(e){ln.value=e.shared?e.shared:{},sn.value[Y.value]=e.flash?e.flash:{},an.value[Y.value]=e.head?e.head:{},ha(e.toasts?e.toasts:[],t=>{Pe.value.push(t)}),nn.value[Y.value]=e.errors?e.errors:{}}const un=a.ref(()=>{}),cn=a.ref(()=>{}),fn=a.ref(()=>{}),dn=a.ref(()=>{});function at(e){un.value(e)}function Gt(e,t){cn.value(e,t)}function Ba(e,t){fn.value(e,t)}function ka(e){dn.value(e)}const pn=a.ref({});function hn(e,t,r){pn.value[e]=t,r&&ja(e,t)}function ja(e,t){let r=JSON.parse(localStorage.getItem("splade")||"{}")||{};r[e]=t,localStorage.setItem("splade",JSON.stringify(r))}function Da(e,t){return t?(JSON.parse(localStorage.getItem("splade")||"{}")||{})[e]:pn.value[e]}function st(e,t){ue||document.dispatchEvent(new CustomEvent(`splade:${e}`,{detail:t}))}function Ce(e,t,r,n,i){ue||hn("scrollY",window.scrollY),st("request",{url:e,method:t,data:r,headers:n,replace:i});const o=Mr.default({method:t,url:e,data:r,headers:{"X-Splade":!0,"X-Requested-With":"XMLHttpRequest",Accept:"text/html, application/xhtml+xml",...n},onUploadProgress:s=>{r instanceof FormData&&(s.percentage=Math.round(s.loaded/s.total*100),st("request-progress",{url:e,method:t,data:r,headers:n,replace:i,progress:s}))}});return o.then(s=>{Oa(s,i),st("request-response",{url:e,method:t,data:r,headers:n,replace:i,response:s})}).catch(s=>{st("request-error",{url:e,method:t,data:r,headers:n,replace:i,error:s});const l=s.response.data.splade;l&&(l.lazy||zt(l)),s.response.status!=422&&ka(s.response.data.html?s.response.data.html:s.response.data)}),o}function mn(e){return Ce(e,"GET",{},{},!0)}function qa(e){return Ce(e,"GET",{},{},!1)}function La(e){return Ce(e,"GET",{},{"X-Splade-Modal":"modal"},!1)}function Fa(e){return Ce(e,"GET",{},{"X-Splade-Modal":"slideover"},!1)}function Ma(e,t){return Ce(e,"GET",{},{"X-Splade-Lazy":t},!1)}function Ra(){return mn(k.value.url)}const m={init:ya,replace:mn,visit:qa,modal:La,slideover:Fa,refresh:Ra,request:Ce,lazy:Ma,replaceUrlOfCurrentPage:Sa,htmlForDynamicComponent(e){return k.value.dynamics[e]},setOnHead(e){un.value=e},setOnHtml(e){cn.value=e},setOnModal(e){fn.value=e},setOnServerError(e){dn.value=e},hasValidationErrors:Ea,validationErrors:on,sharedData:ln,flashData:Ta,toasts:Pe,toastsReversed:Aa,confirmModal:Wt,confirm:Pa,clearConfirmModal:Ca,pushToast:xa,dismissToast:Ia,restore:Da,remember:hn,popStack:$a,currentStack:Y,pageVisitId:a.computed(()=>k.value.pageVisitId),dynamicVisitId:a.computed(()=>k.value.dynamicVisitId),isSsr:ue};var Na="[object String]";function lt(e){return typeof e=="string"||!q(e)&&se(e)&&ae(e)==Na}const J={__name:"Render",props:{html:{type:String,required:!1,default:""}},setup(e){const t=e,r=a.ref(null);function n(){r.value=a.h({template:t.html})}return a.watch(()=>t.html,n,{immediate:!0}),(i,o)=>e.html?(a.openBlock(),a.createBlock(a.unref(r),{key:0})):a.createCommentVNode("",!0)}},Va={__name:"ServerError",props:{html:{type:String,required:!0}},emits:["close"],setup(e,{emit:t}){const r=e,n=a.ref(null);function i(){const l=document.createElement("html");l.innerHTML=r.html,l.querySelectorAll("a").forEach(c=>c.setAttribute("target","_top")),document.body.style.overflow="hidden";const u=n.value;if(!u.contentWindow)throw new Error("iframe not yet ready.");u.contentWindow.document.open(),u.contentWindow.document.write(l.outerHTML),u.contentWindow.document.close(),document.addEventListener("keydown",o)}function o(l){l.keyCode===27&&s()}function s(){document.body.style.overflow="visible",document.removeEventListener("keydown",o),t("close")}return a.onMounted(()=>i()),(l,u)=>(a.openBlock(),a.createElementBlock("div",{style:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px","z-index":"200000","box-sizing":"border-box",height:"100vh",width:"100vw","background-color":"rgb(0 0 0 / 0.75)",padding:"2rem"},onClick:s},[a.createElementVNode("iframe",{ref_key:"iframeElement",ref:n,class:"bg-white w-full h-full"},null,512)]))}},gn={__name:"SpladeApp",props:{el:{type:[String,Object],required:!1,default:""},components:{type:String,required:!1,default:e=>{if(!m.isSsr){const t=lt(e.el)?document.getElementById(e.el):e.el;return JSON.parse(t.dataset.components)||""}}},initialHtml:{type:String,required:!1,default:e=>{if(!m.isSsr){const t=lt(e.el)?document.getElementById(e.el):e.el;return JSON.parse(t.dataset.html)||""}}},initialDynamics:{type:Object,required:!1,default:e=>{if(!m.isSsr){const t=lt(e.el)?document.getElementById(e.el):e.el;return JSON.parse(t.dataset.dynamics)||{}}}},initialSpladeData:{type:Object,required:!1,default:e=>{if(!m.isSsr){const t=lt(e.el)?document.getElementById(e.el):e.el;return JSON.parse(t.dataset.splade)||{}}}}},setup(e){const t=e;a.provide("stack",0);const r=a.ref(),n=a.ref([]),i=a.ref(null),o=a.inject("$spladeOptions")||{},s=a.computed(()=>m.currentStack.value<1?[]:{filter:"blur(4px)","transition-property":"filter","transition-duration":"150ms","transition-timing-function":"cubic-bezier(0.4, 0, 0.2, 1)"});function l(){i.value=null}function u(d){n[d]=null,m.popStack()}function c(d,h){let p=document.querySelector(`meta[${d}="${h}"]`);return p||(p=document.createElement("meta"),p[d]=h,document.getElementsByTagName("head")[0].appendChild(p),p)}function f(d){const h=d.name?c("name",d.name):c("property",d.property);le(d,(p,v)=>{h[v]=p})}return m.setOnHead(d=>{m.isSsr||(document.title=d.title,d.meta.forEach(h=>{f(h)}))}),m.setOnHtml((d,h)=>{n.value=[],r.value=d,a.nextTick(()=>{m.isSsr||window.scrollTo(0,h),o.transform_anchors&&[...document.querySelectorAll("a")].forEach(p=>{p.href==""||p.href.charAt(0)=="#"||p.__vnode.dynamicProps===null&&(p.hasAttribute("download")||(p.onclick=function(v){v.preventDefault(),m.visit(p.href)}))})})}),m.setOnModal(function(d,h){n.value[m.currentStack.value]={html:d,type:h}}),m.setOnServerError(function(d){i.value=d}),m.init(t.initialHtml,t.initialDynamics,t.initialSpladeData),(d,h)=>(a.openBlock(),a.createElementBlock("div",null,[a.unref(m).isSsr?(a.openBlock(),a.createBlock(J,{key:`visit.${a.unref(m).pageVisitId.value}`,style:a.normalizeStyle(a.unref(s)),html:r.value},null,8,["style","html"])):(a.openBlock(),a.createBlock(a.KeepAlive,{key:0,max:a.unref(o).max_keep_alive},[(a.openBlock(),a.createBlock(J,{key:`visit.${a.unref(m).pageVisitId.value}`,style:a.normalizeStyle(a.unref(s)),html:r.value},null,8,["style","html"]))],1032,["max"])),a.createVNode(J,{html:e.components},null,8,["html"]),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(m).currentStack.value,p=>(a.openBlock(),a.createBlock(J,{key:`modal.${p}`,type:n.value[p].type,html:n.value[p].html,stack:p,"on-top-of-stack":a.unref(m).currentStack.value===p,onClose:v=>u(p)},null,8,["type","html","stack","on-top-of-stack","onClose"]))),128)),i.value?(a.openBlock(),a.createBlock(Va,{key:2,html:i.value,onClose:l},null,8,["html"])):a.createCommentVNode("",!0)]))}};function Ha(e){return()=>a.h(gn,e)}var Ua=Object.prototype,Wa=Ua.hasOwnProperty;function za(e,t){return e!=null&&Wa.call(e,t)}var Ga="[object Symbol]";function ut(e){return typeof e=="symbol"||se(e)&&ae(e)==Ga}var Ka=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Xa=/^\w*$/;function Kt(e,t){if(q(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||ut(e)?!0:Xa.test(e)||!Ka.test(e)||t!=null&&e in Object(t)}var Qa=G["__core-js_shared__"];const Xt=Qa;var vn=function(){var e=/[^.]+$/.exec(Xt&&Xt.keys&&Xt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ya(e){return!!vn&&vn in e}var Ja=Function.prototype,Za=Ja.toString;function ge(e){if(e!=null){try{return Za.call(e)}catch{}try{return e+""}catch{}}return""}var es=/[\\^$.*+?()[\]{}|]/g,ts=/^\[object .+?Constructor\]$/,rs=Function.prototype,ns=Object.prototype,is=rs.toString,os=ns.hasOwnProperty,as=RegExp("^"+is.call(os).replace(es,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ss(e){if(!K(e)||Ya(e))return!1;var t=Zr(e)?as:ts;return t.test(ge(e))}function ls(e,t){return e==null?void 0:e[t]}function ve(e,t){var r=ls(e,t);return ss(r)?r:void 0}var us=ve(Object,"create");const Ue=us;function cs(){this.__data__=Ue?Ue(null):{},this.size=0}function fs(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ds="__lodash_hash_undefined__",ps=Object.prototype,hs=ps.hasOwnProperty;function ms(e){var t=this.__data__;if(Ue){var r=t[e];return r===ds?void 0:r}return hs.call(t,e)?t[e]:void 0}var gs=Object.prototype,vs=gs.hasOwnProperty;function ys(e){var t=this.__data__;return Ue?t[e]!==void 0:vs.call(t,e)}var bs="__lodash_hash_undefined__";function ws(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ue&&t===void 0?bs:t,this}function ye(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}function xs(e,t){var r=this.__data__,n=ct(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Z(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,U),n}var pt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(pt||{}),ce=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(ce||{});function R({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...i}){var o;let s=Us(n,r),l=Object.assign(i,{props:s});if(e||t&2&&s.static)return er(l);if(t&1){let u=(o=s.unmount)==null||o?0:1;return U(u,{[0](){return null},[1](){return er({...i,props:{...s,hidden:!0,style:{display:"none"}}})}})}return er(l)}function er({props:e,attrs:t,slots:r,slot:n,name:i}){var o;let{as:s,...l}=$n(e,["unmount","static"]),u=(o=r.default)==null?void 0:o.call(r,n),c={};if(n){let f=!1,d=[];for(let[h,p]of Object.entries(n))typeof p=="boolean"&&(f=!0),p===!0&&d.push(h);f&&(c["data-headlessui-state"]=d.join(" "))}if(s==="template"){if(u=On(u!=null?u:[]),Object.keys(l).length>0||Object.keys(t).length>0){let[f,...d]=u!=null?u:[];if(!Ws(f)||d.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${i} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(t)).sort((h,p)=>h.localeCompare(p)).map(h=>` - ${h}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(h=>` - ${h}`).join(` `)].join(` -`));return a.cloneVNode(f,Object.assign({},l,c))}return Array.isArray(u)&&u.length===1?u[0]:u}return a.h(s,Object.assign({},l,c),u)}function Or(e){return e.flatMap(t=>t.type===a.Fragment?Or(t.children):[t])}function Us(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let i in r)i.startsWith("on")&&typeof r[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(r[i])):t[i]=r[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map(r=>[r,void 0])));for(let r in n)Object.assign(t,{[r](i,...o){let s=n[r];for(let l of s){if(i instanceof Event&&i.defaultPrevented)return;l(i,...o)}}});return t}function $r(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function Ws(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let zs=0;function Gs(){return++zs}function be(){return Gs()}var Er=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Er||{});function te(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}let _r=Symbol("Context");var we=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(we||{});function Ks(){return tn()!==null}function tn(){return a.inject(_r,null)}function Xs(e){a.provide(_r,e)}const ht=typeof window>"u"||typeof document>"u";function Be(e){if(ht)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=te(e);if(t)return t.ownerDocument}return document}let nn=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Ge=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Ge||{}),Tr=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Tr||{}),Qs=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Qs||{});function Ys(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(nn))}var xr=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(xr||{});function Js(e,t=0){var n;return e===((n=Be(e))==null?void 0:n.body)?!1:U(t,{[0](){return e.matches(nn)},[1](){let r=e;for(;r!==null;){if(r.matches(nn))return!0;r=r.parentElement}return!1}})}function Ke(e){e==null||e.focus({preventScroll:!0})}let Zs=["textarea","input"].join(",");function el(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Zs))!=null?n:!1}function tl(e,t=n=>n){return e.slice().sort((n,r)=>{let i=t(n),o=t(r);if(i===null||o===null)return 0;let s=i.compareDocumentPosition(o);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function rn(e,t,n=!0,r=null){var i;let o=(i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?i:document,s=Array.isArray(e)?n?tl(e):e:Ys(e);r=r!=null?r:o.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(r))-1;if(t&4)return Math.max(0,s.indexOf(r))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},f=0,d=s.length,h;do{if(f>=d||f+d<=0)return 0;let p=u+f;if(t&16)p=(p+d)%d;else{if(p<0)return 3;if(p>=d)return 1}h=s[p],h==null||h.focus(c),f+=l}while(h!==o.activeElement);return t&6&&el(h)&&h.select(),h.hasAttribute("tabindex")||h.setAttribute("tabindex","0"),2}function on(e,t,n){ht||a.watchEffect(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function nl(e,t,n=a.computed(()=>!0)){function r(o,s){if(!n.value||o.defaultPrevented)return;let l=s(o);if(l===null||!l.ownerDocument.documentElement.contains(l))return;let u=function c(f){return typeof f=="function"?c(f()):Array.isArray(f)||f instanceof Set?f:[f]}(e);for(let c of u){if(c===null)continue;let f=c instanceof HTMLElement?c:te(c);if(f!=null&&f.contains(l))return}return!Js(l,xr.Loose)&&l.tabIndex!==-1&&o.preventDefault(),t(o,l)}let i=a.ref(null);on("mousedown",o=>{var s,l;n.value&&(i.value=((l=(s=o.composedPath)==null?void 0:s.call(o))==null?void 0:l[0])||o.target)},!0),on("click",o=>{!i.value||(r(o,()=>i.value),i.value=null)},!0),on("blur",o=>r(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var mt=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mt||{});let an=a.defineComponent({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...i}=e,o={"aria-hidden":(r&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return L({ourProps:o,theirProps:i,slot:{},attrs:n,slots:t,name:"Hidden"})}}});function rl(e,t,n){ht||a.watchEffect(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}var sn=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(sn||{});function il(){let e=a.ref(0);return rl("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function Ar(e,t,n,r){ht||a.watchEffect(i=>{e=e!=null?e:window,e.addEventListener(t,n,r),i(()=>e.removeEventListener(t,n,r))})}function ol(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}var Pr=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Pr||{});let Xe=Object.assign(a.defineComponent({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:Object,default:a.ref(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=a.ref(null);r({el:i,$el:i});let o=a.computed(()=>Be(i));al({ownerDocument:o},a.computed(()=>Boolean(e.features&16)));let s=sl({ownerDocument:o,container:i,initialFocus:a.computed(()=>e.initialFocus)},a.computed(()=>Boolean(e.features&2)));ll({ownerDocument:o,container:i,containers:e.containers,previousActiveElement:s},a.computed(()=>Boolean(e.features&8)));let l=il();function u(){let c=te(i);!c||U(l.value,{[sn.Forwards]:()=>rn(c,Ge.First),[sn.Backwards]:()=>rn(c,Ge.Last)})}return()=>{let c={},f={ref:i},{features:d,initialFocus:h,containers:p,...v}=e;return a.h(a.Fragment,[Boolean(d&4)&&a.h(an,{as:"button",type:"button",onFocus:u,features:mt.Focusable}),L({ourProps:f,theirProps:{...t,...v},slot:c,attrs:t,slots:n,name:"FocusTrap"}),Boolean(d&4)&&a.h(an,{as:"button",type:"button",onFocus:u,features:mt.Focusable})])}}}),{features:Pr});function al({ownerDocument:e},t){let n=a.ref(null);function r(){var o;n.value||(n.value=(o=e.value)==null?void 0:o.activeElement)}function i(){!n.value||(Ke(n.value),n.value=null)}a.onMounted(()=>{a.watch(t,(o,s)=>{o!==s&&(o?r():i())},{immediate:!0})}),a.onUnmounted(i)}function sl({ownerDocument:e,container:t,initialFocus:n},r){let i=a.ref(null),o=a.ref(!1);return a.onMounted(()=>o.value=!0),a.onUnmounted(()=>o.value=!1),a.onMounted(()=>{a.watch([t,n,r],(s,l)=>{if(s.every((c,f)=>(l==null?void 0:l[f])===c)||!r.value)return;let u=te(t);!u||ol(()=>{var c,f;if(!o.value)return;let d=te(n),h=(c=e.value)==null?void 0:c.activeElement;if(d){if(d===h){i.value=h;return}}else if(u.contains(h)){i.value=h;return}d?Ke(d):rn(u,Ge.First|Ge.NoScroll)===Tr.Error&&console.warn("There are no focusable elements inside the "),i.value=(f=e.value)==null?void 0:f.activeElement})},{immediate:!0,flush:"post"})}),i}function ll({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){var o;Ar((o=e.value)==null?void 0:o.defaultView,"focus",s=>{if(!i.value)return;let l=new Set(n==null?void 0:n.value);l.add(t);let u=r.value;if(!u)return;let c=s.target;c&&c instanceof HTMLElement?ul(l,c)?(r.value=c,Ke(c)):(s.preventDefault(),s.stopPropagation(),Ke(u)):Ke(r.value)},!0)}function ul(e,t){var n;for(let r of e)if((n=r.value)!=null&&n.contains(t))return!0;return!1}let Cr="body > *",je=new Set,fe=new Map;function Ir(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function Br(e){let t=fe.get(e);!t||(t["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}function cl(e,t=a.ref(!0)){a.watchEffect(n=>{if(!t.value||!e.value)return;let r=e.value,i=Be(r);if(i){je.add(r);for(let o of fe.keys())o.contains(r)&&(Br(o),fe.delete(o));i.querySelectorAll(Cr).forEach(o=>{if(o instanceof HTMLElement){for(let s of je)if(o.contains(s))return;je.size===1&&(fe.set(o,{"aria-hidden":o.getAttribute("aria-hidden"),inert:o.inert}),Ir(o))}}),n(()=>{if(je.delete(r),je.size>0)i.querySelectorAll(Cr).forEach(o=>{if(o instanceof HTMLElement&&!fe.has(o)){for(let s of je)if(o.contains(s))return;fe.set(o,{"aria-hidden":o.getAttribute("aria-hidden"),inert:o.inert}),Ir(o)}});else for(let o of fe.keys())Br(o),fe.delete(o)})}})}let jr=Symbol("ForcePortalRootContext");function fl(){return a.inject(jr,!1)}let ln=a.defineComponent({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return a.provide(jr,e.force),()=>{let{force:r,...i}=e;return L({theirProps:i,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}});function dl(e){let t=Be(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}let Dr=a.defineComponent({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=a.ref(null),i=a.computed(()=>Be(r)),o=fl(),s=a.inject(kr,null),l=a.ref(o===!0||s==null?dl(r.value):s.resolveTarget());return a.watchEffect(()=>{o||s!=null&&(l.value=s.resolveTarget())}),a.onUnmounted(()=>{var u,c;let f=(u=i.value)==null?void 0:u.getElementById("headlessui-portal-root");!f||l.value===f&&l.value.children.length<=0&&((c=l.value.parentElement)==null||c.removeChild(l.value))}),()=>{if(l.value===null)return null;let u={ref:r,"data-headlessui-portal":""};return a.h(a.Teleport,{to:l.value},L({ourProps:u,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),kr=Symbol("PortalGroupContext"),pl=a.defineComponent({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let r=a.reactive({resolveTarget(){return e.target}});return a.provide(kr,r),()=>{let{target:i,...o}=e;return L({theirProps:o,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}}),qr=Symbol("StackContext");var un=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(un||{});function hl(){return a.inject(qr,()=>{})}function ml({type:e,enabled:t,element:n,onUpdate:r}){let i=hl();function o(...s){r==null||r(...s),i(...s)}a.onMounted(()=>{a.watch(t,(s,l)=>{s?o(0,e,n):l===!0&&o(1,e,n)},{immediate:!0,flush:"sync"})}),a.onUnmounted(()=>{t.value&&o(1,e,n)}),a.provide(qr,o)}let Fr=Symbol("DescriptionContext");function gl(){let e=a.inject(Fr,null);if(e===null)throw new Error("Missing parent");return e}function vl({slot:e=a.ref({}),name:t="Description",props:n={}}={}){let r=a.ref([]);function i(o){return r.value.push(o),()=>{let s=r.value.indexOf(o);s!==-1&&r.value.splice(s,1)}}return a.provide(Fr,{register:i,slot:e,name:t,props:n}),a.computed(()=>r.value.length>0?r.value.join(" "):void 0)}let yl=a.defineComponent({name:"Description",props:{as:{type:[Object,String],default:"p"}},setup(e,{attrs:t,slots:n}){let r=gl(),i=`headlessui-description-${be()}`;return a.onMounted(()=>a.onUnmounted(r.register(i))),()=>{let{name:o="Description",slot:s=a.ref({}),props:l={}}=r,u=e,c={...Object.entries(l).reduce((f,[d,h])=>Object.assign(f,{[d]:a.unref(h)}),{}),id:i};return L({ourProps:c,theirProps:u,slot:s.value,attrs:t,slots:n,name:o})}}});function cn(){let e=[],t=[],n={enqueue(r){t.push(r)},addEventListener(r,i,o,s){return r.addEventListener(i,o,s),n.add(()=>r.removeEventListener(i,o,s))},requestAnimationFrame(...r){let i=requestAnimationFrame(...r);n.add(()=>cancelAnimationFrame(i))},nextFrame(...r){n.requestAnimationFrame(()=>{n.requestAnimationFrame(...r)})},setTimeout(...r){let i=setTimeout(...r);n.add(()=>clearTimeout(i))},add(r){e.push(r)},dispose(){for(let r of e.splice(0))r()},async workQueue(){for(let r of t.splice(0))await r()}};return n}function bl(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}var wl=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wl||{});let fn=Symbol("DialogContext");function Qe(e){let t=a.inject(fn,null);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Qe),n}return t}let gt="DC8F892D-2EBD-447C-A4C8-A03058436FF4",dn=a.defineComponent({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:gt},initialFocus:{type:Object,default:null}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){var o;let s=a.ref(!1);a.onMounted(()=>{s.value=!0});let l=a.ref(0),u=tn(),c=a.computed(()=>e.open===gt&&u!==null?U(u.value,{[we.Open]:!0,[we.Closed]:!1}):e.open),f=a.ref(new Set),d=a.ref(null),h=a.ref(null),p=a.computed(()=>Be(d));if(i({el:d,$el:d}),!(e.open!==gt||u!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof c.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${c.value===gt?void 0:e.open}`);let v=a.computed(()=>s.value&&c.value?0:1),b=a.computed(()=>v.value===0),w=a.computed(()=>l.value>1),x=a.inject(fn,null)!==null,A=a.computed(()=>w.value?"parent":"leaf");cl(d,a.computed(()=>w.value?b.value:!1)),ml({type:"Dialog",enabled:a.computed(()=>v.value===0),element:d,onUpdate:(y,S,_)=>{if(S==="Dialog")return U(y,{[un.Add](){f.value.add(_),l.value+=1},[un.Remove](){f.value.delete(_),l.value-=1}})}});let P=vl({name:"DialogDescription",slot:a.computed(()=>({open:c.value}))}),E=`headlessui-dialog-${be()}`,O=a.ref(null),g={titleId:O,panelRef:a.ref(null),dialogState:v,setTitleId(y){O.value!==y&&(O.value=y)},close(){t("close",!1)}};return a.provide(fn,g),nl(()=>{var y,S,_;return[...Array.from((S=(y=p.value)==null?void 0:y.querySelectorAll("body > *, [data-headlessui-portal]"))!=null?S:[]).filter(T=>!(!(T instanceof HTMLElement)||T.contains(te(h))||g.panelRef.value&&T.contains(g.panelRef.value))),(_=g.panelRef.value)!=null?_:d.value]},(y,S)=>{g.close(),a.nextTick(()=>S==null?void 0:S.focus())},a.computed(()=>v.value===0&&!w.value)),Ar((o=p.value)==null?void 0:o.defaultView,"keydown",y=>{y.defaultPrevented||y.key===Er.Escape&&v.value===0&&(w.value||(y.preventDefault(),y.stopPropagation(),g.close()))}),a.watchEffect(y=>{var S;if(v.value!==0||x)return;let _=p.value;if(!_)return;let T=cn();function $(k,R,q){let M=k.style.getPropertyValue(R);return Object.assign(k.style,{[R]:q}),T.add(()=>{Object.assign(k.style,{[R]:M})})}let I=_==null?void 0:_.documentElement,D=((S=_.defaultView)!=null?S:window).innerWidth-I.clientWidth;if($(I,"overflow","hidden"),D>0){let k=I.clientWidth-I.offsetWidth,R=D-k;$(I,"paddingRight",`${R}px`)}if(bl()){let k=window.pageYOffset;$(I,"position","fixed"),$(I,"marginTop",`-${k}px`),$(I,"width","100%"),T.add(()=>window.scrollTo(0,k))}y(T.dispose)}),a.watchEffect(y=>{if(v.value!==0)return;let S=te(d);if(!S)return;let _=new IntersectionObserver(T=>{for(let $ of T)$.boundingClientRect.x===0&&$.boundingClientRect.y===0&&$.boundingClientRect.width===0&&$.boundingClientRect.height===0&&g.close()});_.observe(S),y(()=>_.disconnect())}),()=>{let y={...n,ref:d,id:E,role:"dialog","aria-modal":v.value===0?!0:void 0,"aria-labelledby":O.value,"aria-describedby":P.value},{open:S,initialFocus:_,...T}=e,$={open:v.value===0};return a.h(ln,{force:!0},()=>[a.h(Dr,()=>a.h(pl,{target:d.value},()=>a.h(ln,{force:!1},()=>a.h(Xe,{initialFocus:_,containers:f,features:b.value?U(A.value,{parent:Xe.features.RestoreFocus,leaf:Xe.features.All&~Xe.features.FocusLock}):Xe.features.None},()=>L({ourProps:y,theirProps:T,slot:$,attrs:n,slots:r,visible:v.value===0,features:pt.RenderStrategy|pt.Static,name:"Dialog"}))))),a.h(an,{features:mt.Hidden,ref:h})])}}});a.defineComponent({name:"DialogOverlay",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n}){let r=Qe("DialogOverlay"),i=`headlessui-dialog-overlay-${be()}`;function o(s){s.target===s.currentTarget&&(s.preventDefault(),s.stopPropagation(),r.close())}return()=>L({ourProps:{id:i,"aria-hidden":!0,onClick:o},theirProps:e,slot:{open:r.dialogState.value===0},attrs:t,slots:n,name:"DialogOverlay"})}}),a.defineComponent({name:"DialogBackdrop",props:{as:{type:[Object,String],default:"div"}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=Qe("DialogBackdrop"),o=`headlessui-dialog-backdrop-${be()}`,s=a.ref(null);return r({el:s,$el:s}),a.onMounted(()=>{if(i.panelRef.value===null)throw new Error("A component is being used, but a component is missing.")}),()=>{let l=e,u={id:o,ref:s,"aria-hidden":!0};return a.h(ln,{force:!0},()=>a.h(Dr,()=>L({ourProps:u,theirProps:{...t,...l},slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:"DialogBackdrop"})))}}});let pn=a.defineComponent({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n,expose:r}){let i=Qe("DialogPanel"),o=`headlessui-dialog-panel-${be()}`;r({el:i.panelRef,$el:i.panelRef});function s(l){l.stopPropagation()}return()=>{let l={id:o,ref:i.panelRef,onClick:s};return L({ourProps:l,theirProps:e,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:"DialogPanel"})}}});a.defineComponent({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"}},setup(e,{attrs:t,slots:n}){let r=Qe("DialogTitle"),i=`headlessui-dialog-title-${be()}`;return a.onMounted(()=>{r.setTitleId(i),a.onUnmounted(()=>r.setTitleId(null))}),()=>L({ourProps:{id:i},theirProps:e,slot:{open:r.dialogState.value===0},attrs:t,slots:n,name:"DialogTitle"})}});function Sl(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function hn(e,...t){e&&t.length>0&&e.classList.add(...t)}function vt(e,...t){e&&t.length>0&&e.classList.remove(...t)}var mn=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(mn||{});function Ol(e,t){let n=cn();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[o,s]=[r,i].map(l=>{let[u=0]=l.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,f)=>f-c);return u});return o!==0?n.setTimeout(()=>t("finished"),o+s):t("finished"),n.add(()=>t("cancelled")),n.dispose}function Mr(e,t,n,r,i,o){let s=cn(),l=o!==void 0?Sl(o):()=>{};return vt(e,...i),hn(e,...t,...n),s.nextFrame(()=>{vt(e,...n),hn(e,...r),s.add(Ol(e,u=>(vt(e,...r,...t),hn(e,...i),l(u))))}),s.add(()=>vt(e,...t,...n,...r,...i)),s.add(()=>l("cancelled")),s.dispose}function Se(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let gn=Symbol("TransitionContext");var $l=(e=>(e.Visible="visible",e.Hidden="hidden",e))($l||{});function El(){return a.inject(gn,null)!==null}function _l(){let e=a.inject(gn,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}function Tl(){let e=a.inject(vn,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}let vn=Symbol("NestingContext");function yt(e){return"children"in e?yt(e.children):e.value.filter(({state:t})=>t==="visible").length>0}function Rr(e){let t=a.ref([]),n=a.ref(!1);a.onMounted(()=>n.value=!0),a.onUnmounted(()=>n.value=!1);function r(o,s=ce.Hidden){let l=t.value.findIndex(({id:u})=>u===o);l!==-1&&(U(s,{[ce.Unmount](){t.value.splice(l,1)},[ce.Hidden](){t.value[l].state="hidden"}}),!yt(t)&&n.value&&(e==null||e()))}function i(o){let s=t.value.find(({id:l})=>l===o);return s?s.state!=="visible"&&(s.state="visible"):t.value.push({id:o,state:"visible"}),()=>r(o,ce.Unmount)}return{children:t,register:i,unregister:r}}let Lr=pt.RenderStrategy,De=a.defineComponent({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){if(!El()&&Ks())return()=>a.h(ke,{...e,onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave")},r);let o=a.ref(null),s=a.ref("visible"),l=a.computed(()=>e.unmount?ce.Unmount:ce.Hidden);i({el:o,$el:o});let{show:u,appear:c}=_l(),{register:f,unregister:d}=Tl(),h={value:!0},p=be(),v={value:!1},b=Rr(()=>{v.value||(s.value="hidden",d(p),t("afterLeave"))});a.onMounted(()=>{let S=f(p);a.onUnmounted(S)}),a.watchEffect(()=>{if(l.value===ce.Hidden&&!!p){if(u&&s.value!=="visible"){s.value="visible";return}U(s.value,{hidden:()=>d(p),visible:()=>f(p)})}});let w=Se(e.enter),x=Se(e.enterFrom),A=Se(e.enterTo),P=Se(e.entered),E=Se(e.leave),O=Se(e.leaveFrom),g=Se(e.leaveTo);a.onMounted(()=>{a.watchEffect(()=>{if(s.value==="visible"){let S=te(o);if(S instanceof Comment&&S.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function y(S){let _=h.value&&!c.value,T=te(o);!T||!(T instanceof HTMLElement)||_||(v.value=!0,u.value&&t("beforeEnter"),u.value||t("beforeLeave"),S(u.value?Mr(T,w,x,A,P,$=>{v.value=!1,$===mn.Finished&&t("afterEnter")}):Mr(T,E,O,g,P,$=>{v.value=!1,$===mn.Finished&&(yt(b)||(s.value="hidden",d(p),t("afterLeave")))})))}return a.onMounted(()=>{a.watch([u],(S,_,T)=>{y(T),h.value=!1},{immediate:!0})}),a.provide(vn,b),Xs(a.computed(()=>U(s.value,{visible:we.Open,hidden:we.Closed}))),()=>{let{appear:S,show:_,enter:T,enterFrom:$,enterTo:I,entered:D,leave:k,leaveFrom:R,leaveTo:q,...M}=e;return L({theirProps:M,ourProps:{ref:o},slot:{},slots:r,attrs:n,features:Lr,visible:s.value==="visible",name:"TransitionChild"})}}}),xl=De,ke=a.defineComponent({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r}){let i=tn(),o=a.computed(()=>e.show===null&&i!==null?U(i.value,{[we.Open]:!0,[we.Closed]:!1}):e.show);a.watchEffect(()=>{if(![!0,!1].includes(o.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let s=a.ref(o.value?"visible":"hidden"),l=Rr(()=>{s.value="hidden"}),u=a.ref(!0),c={show:o,appear:a.computed(()=>e.appear||!u.value)};return a.onMounted(()=>{a.watchEffect(()=>{u.value=!1,o.value?s.value="visible":yt(l)||(s.value="hidden")})}),a.provide(vn,l),a.provide(gn,c),()=>{let f=$r(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),d={unmount:e.unmount};return L({ourProps:{...d,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[a.h(xl,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...n,...d,...f},r.default)]},attrs:{},features:Lr,visible:s.value==="visible",name:"Transition"})}}});const Al={props:{defaultTitle:{type:String,required:!1,default:""},defaultText:{type:String,required:!1,default:""},defaultConfirmButton:{type:String,required:!1,default:""},defaultCancelButton:{type:String,required:!1,default:""}},data(){return{isOpen:!1}},computed:{hasConfirmModal:()=>!!m.confirmModal.value,title:function(){var e;return(e=m.confirmModal.value)!=null&&e.title?m.confirmModal.value.title:this.defaultTitle},text:function(){var e;return(e=m.confirmModal.value)!=null&&e.text?m.confirmModal.value.text:this.defaultText},confirmButton:function(){var e;return(e=m.confirmModal.value)!=null&&e.confirmButton?m.confirmModal.value.confirmButton:this.defaultConfirmButton},cancelButton:function(){var e;return(e=m.confirmModal.value)!=null&&e.cancelButton?m.confirmModal.value.cancelButton:this.defaultCancelButton}},watch:{hasConfirmModal(e){e&&(this.isOpen=!0)}},methods:{cancel(){m.confirmModal.value.rejectPromise(),this.setIsOpen(!1)},confirm(){m.confirmModal.value.resolvePromise(),this.setIsOpen(!1)},setIsOpen(e){this.isOpen=e},emitClose(){m.clearConfirmModal()}},render(){return this.$slots.default({title:this.title,text:this.text,confirmButton:this.confirmButton,cancelButton:this.cancelButton,isOpen:this.isOpen,setIsOpen:this.setIsOpen,cancel:this.cancel,confirm:this.confirm,emitClose:this.emitClose,Dialog:dn,DialogPanel:pn,TransitionRoot:ke,TransitionChild:De})}};function Nr(e,t){t=Zt(t,e);for(var n=0,r=t.length;e!=null&&n({}),required:!1},remember:{type:String,default:null,required:!1},localStorage:{type:Boolean,default:!1,required:!1}},data(){return{values:{}}},mounted(){if(this.remember){let e=m.restore(this.remember,this.localStorage);e||(e={}),this.values=Object.assign({},{...this.default,...e})}else this.values=Object.assign({},{...this.default})},updated(){this.remember&&m.remember(this.remember,{...this.values},this.localStorage)},render(){const e=this;return this.$slots.default(new Proxy(this.values,{ownKeys(){return Object.keys(e.values)},get(t,n){return yn(e.values,n)},set(t,n,r){Ur(e.values,n,r)}}))}};var kl=function(){return G.Date.now()};const bn=kl;var ql=/\s/;function Fl(e){for(var t=e.length;t--&&ql.test(e.charAt(t)););return t}var Ml=/^\s+/;function Rl(e){return e&&e.slice(0,Fl(e)+1).replace(Ml,"")}var Wr=0/0,Ll=/^[-+]0x[0-9a-f]+$/i,Nl=/^0b[01]+$/i,Vl=/^0o[0-7]+$/i,Hl=parseInt;function wn(e){if(typeof e=="number")return e;if(ut(e))return Wr;if(K(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=K(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Rl(e);var n=Nl.test(e);return n||Vl.test(e)?Hl(e.slice(2),n?2:8):Ll.test(e)?Wr:+e}var Ul="Expected a function",Wl=Math.max,zl=Math.min;function zr(e,t,n){var r,i,o,s,l,u,c=0,f=!1,d=!1,h=!0;if(typeof e!="function")throw new TypeError(Ul);t=wn(t)||0,K(n)&&(f=!!n.leading,d="maxWait"in n,o=d?Wl(wn(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function p(g){var y=r,S=i;return r=i=void 0,c=g,s=e.apply(S,y),s}function v(g){return c=g,l=setTimeout(x,t),f?p(g):s}function b(g){var y=g-u,S=g-c,_=t-y;return d?zl(_,o-S):_}function w(g){var y=g-u,S=g-c;return u===void 0||y>=t||y<0||d&&S>=o}function x(){var g=bn();if(w(g))return A(g);l=setTimeout(x,b(g))}function A(g){return l=void 0,h&&r?p(g):(r=i=void 0,s)}function P(){l!==void 0&&clearTimeout(l),c=0,r=u=i=l=void 0}function E(){return l===void 0?s:A(bn())}function O(){var g=bn(),y=w(g);if(r=arguments,i=this,u=g,y){if(l===void 0)return v(u);if(d)return clearTimeout(l),l=setTimeout(x,t),p(u)}return l===void 0&&(l=setTimeout(x,t)),s}return O.cancel=P,O.flush=E,O}const Gl={props:{url:{type:String,required:!0},method:{type:String,required:!1,default:"GET"},acceptHeader:{type:String,required:!1,default:"application/json"},poll:{type:Number,required:!1,default:null},default:{type:Object,required:!1,default:()=>({})},request:{type:Object,required:!1,default:()=>({})},manual:{type:Boolean,required:!1,default:!1},watchDebounce:{type:Number,required:!1,default:0},watchValue:{validator(){return!0},required:!1,default:null}},data(){return{response:Object.assign({},{...this.default}),processing:!1,debounceFunction:null}},watch:{watchValue:{deep:!0,handler(){this.processing=!0,this.watchDebounce?this.debounceFunction():this.performRequest()}}},mounted(){this.manual||this.$nextTick(this.performRequest)},created(){this.debounceFunction=zr(()=>{this.performRequest()},this.watchDebounce)},methods:{performRequest(){this.processing=!0;const e={url:this.url,method:this.method,headers:{Accept:this.acceptHeader}};Object.keys(this.request).length>0&&(e.data=this.request),Ln.default(e).then(t=>{this.response=t.data,this.processing=!1}).catch(()=>{this.processing=!1}),this.poll&&setTimeout(()=>{this.performRequest()},this.poll)}},render(){return this.$slots.default({processing:this.processing,response:this.response,reload:this.performRequest})}},Kl={data(){return{isActivated:!0}},deactivated(){this.isActivated=!1},activated(){this.isActivated=!0},render(){return this.$slots.default({Dialog:dn,DialogPanel:pn,isActivated:this.isActivated})}},Gr={__name:"OnClickOutside",props:{do:{type:Function,required:!0},opened:{type:Boolean,required:!0},closeOnEscape:{type:Boolean,required:!1,default:!0}},setup(e){const t=e,n=a.ref(null),r=a.ref(null),i=a.ref(null);return a.onMounted(()=>{n.value=o=>{o.target===r.value||r.value.contains(o.target)||t.do()},document.addEventListener("click",n.value),document.addEventListener("touchstart",n.value),t.closeOnEscape&&(i.value=o=>{t.opened&&o.key==="Escape"&&t.do()},document.addEventListener("keydown",i.value))}),a.onBeforeUnmount(()=>{document.removeEventListener("click",n.value),document.removeEventListener("touchstart",n.value),t.closeOnEscape&&document.removeEventListener("keydown",i.value)}),(o,s)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"root",ref:r},[a.renderSlot(o.$slots,"default")],512))}};function V(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Oe(e){var t=V(e).Element;return e instanceof t||e instanceof Element}function H(e){var t=V(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Sn(e){if(typeof ShadowRoot>"u")return!1;var t=V(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var $e=Math.max,bt=Math.min,qe=Math.round;function On(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Kr(){return!/^((?!chrome|android).)*safari/i.test(On())}function Fe(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&H(e)&&(i=e.offsetWidth>0&&qe(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&qe(r.height)/e.offsetHeight||1);var s=Oe(e)?V(e):window,l=s.visualViewport,u=!Kr()&&n,c=(r.left+(u&&l?l.offsetLeft:0))/i,f=(r.top+(u&&l?l.offsetTop:0))/o,d=r.width/i,h=r.height/o;return{width:d,height:h,top:f,right:c+d,bottom:f+h,left:c,x:c,y:f}}function $n(e){var t=V(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Xl(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ql(e){return e===V(e)||!H(e)?$n(e):Xl(e)}function X(e){return e?(e.nodeName||"").toLowerCase():null}function de(e){return((Oe(e)?e.ownerDocument:e.document)||window.document).documentElement}function En(e){return Fe(de(e)).left+$n(e).scrollLeft}function W(e){return V(e).getComputedStyle(e)}function _n(e){var t=W(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Yl(e){var t=e.getBoundingClientRect(),n=qe(t.width)/e.offsetWidth||1,r=qe(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Jl(e,t,n){n===void 0&&(n=!1);var r=H(t),i=H(t)&&Yl(t),o=de(t),s=Fe(e,i,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((X(t)!=="body"||_n(o))&&(l=Ql(t)),H(t)?(u=Fe(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=En(o))),{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function Xr(e){var t=Fe(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function wt(e){return X(e)==="html"?e:e.assignedSlot||e.parentNode||(Sn(e)?e.host:null)||de(e)}function Qr(e){return["html","body","#document"].indexOf(X(e))>=0?e.ownerDocument.body:H(e)&&_n(e)?e:Qr(wt(e))}function Ye(e,t){var n;t===void 0&&(t=[]);var r=Qr(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=V(r),s=i?[o].concat(o.visualViewport||[],_n(r)?r:[]):r,l=t.concat(s);return i?l:l.concat(Ye(wt(s)))}function Zl(e){return["table","td","th"].indexOf(X(e))>=0}function Yr(e){return!H(e)||W(e).position==="fixed"?null:e.offsetParent}function eu(e){var t=/firefox/i.test(On()),n=/Trident/i.test(On());if(n&&H(e)){var r=W(e);if(r.position==="fixed")return null}var i=wt(e);for(Sn(i)&&(i=i.host);H(i)&&["html","body"].indexOf(X(i))<0;){var o=W(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function St(e){for(var t=V(e),n=Yr(e);n&&Zl(n)&&W(n).position==="static";)n=Yr(n);return n&&(X(n)==="html"||X(n)==="body"&&W(n).position==="static")?t:n||eu(e)||t}var z="top",Q="bottom",pe="right",ne="left",Ot="auto",$t=[z,Q,pe,ne],Me="start",Je="end",tu="clippingParents",Jr="viewport",Ze="popper",nu="reference",Zr=$t.reduce(function(e,t){return e.concat([t+"-"+Me,t+"-"+Je])},[]),ru=[].concat($t,[Ot]).reduce(function(e,t){return e.concat([t,t+"-"+Me,t+"-"+Je])},[]),iu="beforeRead",ou="read",au="afterRead",su="beforeMain",lu="main",uu="afterMain",cu="beforeWrite",fu="write",du="afterWrite",Tn=[iu,ou,au,su,lu,uu,cu,fu,du];function pu(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(l){if(!n.has(l)){var u=t.get(l);u&&i(u)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function hu(e){var t=pu(e);return Tn.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function mu(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function he(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=0,r=n&&H(e)?St(e):e;return Oe(r)?t.filter(function(i){return Oe(i)&&Ou(i,r)&&X(i)!=="body"}):[]}function _u(e,t,n,r){var i=t==="clippingParents"?Eu(e):[].concat(t),o=[].concat(i,[n]),s=o[0],l=o.reduce(function(u,c){var f=ti(e,c,r);return u.top=$e(f.top,u.top),u.right=bt(f.right,u.right),u.bottom=bt(f.bottom,u.bottom),u.left=$e(f.left,u.left),u},ti(e,s,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Re(e){return e.split("-")[1]}function ni(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ri(e){var t=e.reference,n=e.element,r=e.placement,i=r?re(r):null,o=r?Re(r):null,s=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,u;switch(i){case z:u={x:s,y:t.y-n.height};break;case Q:u={x:s,y:t.y+t.height};break;case pe:u={x:t.x+t.width,y:l};break;case ne:u={x:t.x-n.width,y:l};break;default:u={x:t.x,y:t.y}}var c=i?ni(i):null;if(c!=null){var f=c==="y"?"height":"width";switch(o){case Me:u[c]=u[c]-(t[f]/2-n[f]/2);break;case Je:u[c]=u[c]+(t[f]/2-n[f]/2);break}}return u}function ii(){return{top:0,right:0,bottom:0,left:0}}function Tu(e){return Object.assign({},ii(),e)}function xu(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}function An(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,s=o===void 0?e.strategy:o,l=n.boundary,u=l===void 0?tu:l,c=n.rootBoundary,f=c===void 0?Jr:c,d=n.elementContext,h=d===void 0?Ze:d,p=n.altBoundary,v=p===void 0?!1:p,b=n.padding,w=b===void 0?0:b,x=Tu(typeof w!="number"?w:xu(w,$t)),A=h===Ze?nu:Ze,P=e.rects.popper,E=e.elements[v?A:h],O=_u(Oe(E)?E:E.contextElement||de(e.elements.popper),u,f,s),g=Fe(e.elements.reference),y=ri({reference:g,element:P,strategy:"absolute",placement:i}),S=xn(Object.assign({},P,y)),_=h===Ze?S:g,T={top:O.top-_.top+x.top,bottom:_.bottom-O.bottom+x.bottom,left:O.left-_.left+x.left,right:_.right-O.right+x.right},$=e.modifiersData.offset;if(h===Ze&&$){var I=$[i];Object.keys(T).forEach(function(D){var k=[pe,Q].indexOf(D)>=0?1:-1,R=[z,Q].indexOf(D)>=0?"y":"x";T[D]+=I[R]*k})}return T}var oi="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Au="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",ai={placement:"bottom",modifiers:[],strategy:"absolute"};function si(){for(var e=arguments.length,t=new Array(e),n=0;n100)){console.error(Au);break}if(f.reset===!0){f.reset=!1,O=-1;continue}var g=f.orderedModifiers[O],y=g.fn,S=g.options,_=S===void 0?{}:S,T=g.name;typeof y=="function"&&(f=y({state:f,options:_,name:T,instance:p})||f)}}},update:mu(function(){return new Promise(function(w){p.forceUpdate(),w(f)})}),destroy:function(){b(),h=!0}};if(!si(l,u))return process.env.NODE_ENV!=="production"&&console.error(oi),p;p.setOptions(c).then(function(w){!h&&c.onFirstUpdate&&c.onFirstUpdate(w)});function v(){f.orderedModifiers.forEach(function(w){var x=w.name,A=w.options,P=A===void 0?{}:A,E=w.effect;if(typeof E=="function"){var O=E({state:f,name:x,instance:p,options:P}),g=function(){};d.push(O||g)}})}function b(){d.forEach(function(w){return w()}),d=[]}return p}}var Et={passive:!0};function Cu(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,l=s===void 0?!0:s,u=V(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(f){f.addEventListener("scroll",n.update,Et)}),l&&u.addEventListener("resize",n.update,Et),function(){o&&c.forEach(function(f){f.removeEventListener("scroll",n.update,Et)}),l&&u.removeEventListener("resize",n.update,Et)}}const Iu={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Cu,data:{}};function Bu(e){var t=e.state,n=e.name;t.modifiersData[n]=ri({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ju={name:"popperOffsets",enabled:!0,phase:"read",fn:Bu,data:{}};var Du={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ku(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:qe(t*i)/i||0,y:qe(n*i)/i||0}}function li(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,l=e.position,u=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,d=e.isFixed,h=s.x,p=h===void 0?0:h,v=s.y,b=v===void 0?0:v,w=typeof f=="function"?f({x:p,y:b}):{x:p,y:b};p=w.x,b=w.y;var x=s.hasOwnProperty("x"),A=s.hasOwnProperty("y"),P=ne,E=z,O=window;if(c){var g=St(n),y="clientHeight",S="clientWidth";if(g===V(n)&&(g=de(n),W(g).position!=="static"&&l==="absolute"&&(y="scrollHeight",S="scrollWidth")),g=g,i===z||(i===ne||i===pe)&&o===Je){E=Q;var _=d&&g===O&&O.visualViewport?O.visualViewport.height:g[y];b-=_-r.height,b*=u?1:-1}if(i===ne||(i===z||i===Q)&&o===Je){P=pe;var T=d&&g===O&&O.visualViewport?O.visualViewport.width:g[S];p-=T-r.width,p*=u?1:-1}}var $=Object.assign({position:l},c&&Du),I=f===!0?ku({x:p,y:b}):{x:p,y:b};if(p=I.x,b=I.y,u){var D;return Object.assign({},$,(D={},D[E]=A?"0":"",D[P]=x?"0":"",D.transform=(O.devicePixelRatio||1)<=1?"translate("+p+"px, "+b+"px)":"translate3d("+p+"px, "+b+"px, 0)",D))}return Object.assign({},$,(t={},t[E]=A?b+"px":"",t[P]=x?p+"px":"",t.transform="",t))}function qu(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,l=n.roundOffsets,u=l===void 0?!0:l;if(process.env.NODE_ENV!=="production"){var c=W(t.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some(function(d){return c.indexOf(d)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',` +`));return a.cloneVNode(f,Object.assign({},l,c))}return Array.isArray(u)&&u.length===1?u[0]:u}return a.h(s,Object.assign({},l,c),u)}function On(e){return e.flatMap(t=>t.type===a.Fragment?On(t.children):[t])}function Us(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let i in n)i.startsWith("on")&&typeof n[i]=="function"?(r[i]!=null||(r[i]=[]),r[i].push(n[i])):t[i]=n[i];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map(n=>[n,void 0])));for(let n in r)Object.assign(t,{[n](i,...o){let s=r[n];for(let l of s){if(i instanceof Event&&i.defaultPrevented)return;l(i,...o)}}});return t}function $n(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}function Ws(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let zs=0;function Gs(){return++zs}function be(){return Gs()}var En=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(En||{});function te(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}let _n=Symbol("Context");var we=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(we||{});function Ks(){return tr()!==null}function tr(){return a.inject(_n,null)}function Xs(e){a.provide(_n,e)}const ht=typeof window>"u"||typeof document>"u";function Be(e){if(ht)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=te(e);if(t)return t.ownerDocument}return document}let rr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Ge=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Ge||{}),Tn=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Tn||{}),Qs=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Qs||{});function Ys(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(rr))}var xn=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(xn||{});function Js(e,t=0){var r;return e===((r=Be(e))==null?void 0:r.body)?!1:U(t,{[0](){return e.matches(rr)},[1](){let n=e;for(;n!==null;){if(n.matches(rr))return!0;n=n.parentElement}return!1}})}function Ke(e){e==null||e.focus({preventScroll:!0})}let Zs=["textarea","input"].join(",");function el(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Zs))!=null?r:!1}function tl(e,t=r=>r){return e.slice().sort((r,n)=>{let i=t(r),o=t(n);if(i===null||o===null)return 0;let s=i.compareDocumentPosition(o);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function nr(e,t,r=!0,n=null){var i;let o=(i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?i:document,s=Array.isArray(e)?r?tl(e):e:Ys(e);n=n!=null?n:o.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(n))-1;if(t&4)return Math.max(0,s.indexOf(n))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},f=0,d=s.length,h;do{if(f>=d||f+d<=0)return 0;let p=u+f;if(t&16)p=(p+d)%d;else{if(p<0)return 3;if(p>=d)return 1}h=s[p],h==null||h.focus(c),f+=l}while(h!==o.activeElement);return t&6&&el(h)&&h.select(),h.hasAttribute("tabindex")||h.setAttribute("tabindex","0"),2}function ir(e,t,r){ht||a.watchEffect(n=>{document.addEventListener(e,t,r),n(()=>document.removeEventListener(e,t,r))})}function rl(e,t,r=a.computed(()=>!0)){function n(o,s){if(!r.value||o.defaultPrevented)return;let l=s(o);if(l===null||!l.ownerDocument.documentElement.contains(l))return;let u=function c(f){return typeof f=="function"?c(f()):Array.isArray(f)||f instanceof Set?f:[f]}(e);for(let c of u){if(c===null)continue;let f=c instanceof HTMLElement?c:te(c);if(f!=null&&f.contains(l))return}return!Js(l,xn.Loose)&&l.tabIndex!==-1&&o.preventDefault(),t(o,l)}let i=a.ref(null);ir("mousedown",o=>{var s,l;r.value&&(i.value=((l=(s=o.composedPath)==null?void 0:s.call(o))==null?void 0:l[0])||o.target)},!0),ir("click",o=>{!i.value||(n(o,()=>i.value),i.value=null)},!0),ir("blur",o=>n(o,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var mt=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(mt||{});let or=a.defineComponent({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:r}){return()=>{let{features:n,...i}=e,o={"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return R({ourProps:o,theirProps:i,slot:{},attrs:r,slots:t,name:"Hidden"})}}});function nl(e,t,r){ht||a.watchEffect(n=>{window.addEventListener(e,t,r),n(()=>window.removeEventListener(e,t,r))})}var ar=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(ar||{});function il(){let e=a.ref(0);return nl("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function An(e,t,r,n){ht||a.watchEffect(i=>{e=e!=null?e:window,e.addEventListener(t,r,n),i(()=>e.removeEventListener(t,r,n))})}function ol(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}var In=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(In||{});let Xe=Object.assign(a.defineComponent({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:Object,default:a.ref(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){let i=a.ref(null);n({el:i,$el:i});let o=a.computed(()=>Be(i));al({ownerDocument:o},a.computed(()=>Boolean(e.features&16)));let s=sl({ownerDocument:o,container:i,initialFocus:a.computed(()=>e.initialFocus)},a.computed(()=>Boolean(e.features&2)));ll({ownerDocument:o,container:i,containers:e.containers,previousActiveElement:s},a.computed(()=>Boolean(e.features&8)));let l=il();function u(){let c=te(i);!c||U(l.value,{[ar.Forwards]:()=>nr(c,Ge.First),[ar.Backwards]:()=>nr(c,Ge.Last)})}return()=>{let c={},f={ref:i},{features:d,initialFocus:h,containers:p,...v}=e;return a.h(a.Fragment,[Boolean(d&4)&&a.h(or,{as:"button",type:"button",onFocus:u,features:mt.Focusable}),R({ourProps:f,theirProps:{...t,...v},slot:c,attrs:t,slots:r,name:"FocusTrap"}),Boolean(d&4)&&a.h(or,{as:"button",type:"button",onFocus:u,features:mt.Focusable})])}}}),{features:In});function al({ownerDocument:e},t){let r=a.ref(null);function n(){var o;r.value||(r.value=(o=e.value)==null?void 0:o.activeElement)}function i(){!r.value||(Ke(r.value),r.value=null)}a.onMounted(()=>{a.watch(t,(o,s)=>{o!==s&&(o?n():i())},{immediate:!0})}),a.onUnmounted(i)}function sl({ownerDocument:e,container:t,initialFocus:r},n){let i=a.ref(null),o=a.ref(!1);return a.onMounted(()=>o.value=!0),a.onUnmounted(()=>o.value=!1),a.onMounted(()=>{a.watch([t,r,n],(s,l)=>{if(s.every((c,f)=>(l==null?void 0:l[f])===c)||!n.value)return;let u=te(t);!u||ol(()=>{var c,f;if(!o.value)return;let d=te(r),h=(c=e.value)==null?void 0:c.activeElement;if(d){if(d===h){i.value=h;return}}else if(u.contains(h)){i.value=h;return}d?Ke(d):nr(u,Ge.First|Ge.NoScroll)===Tn.Error&&console.warn("There are no focusable elements inside the "),i.value=(f=e.value)==null?void 0:f.activeElement})},{immediate:!0,flush:"post"})}),i}function ll({ownerDocument:e,container:t,containers:r,previousActiveElement:n},i){var o;An((o=e.value)==null?void 0:o.defaultView,"focus",s=>{if(!i.value)return;let l=new Set(r==null?void 0:r.value);l.add(t);let u=n.value;if(!u)return;let c=s.target;c&&c instanceof HTMLElement?ul(l,c)?(n.value=c,Ke(c)):(s.preventDefault(),s.stopPropagation(),Ke(u)):Ke(n.value)},!0)}function ul(e,t){var r;for(let n of e)if((r=n.value)!=null&&r.contains(t))return!0;return!1}let Pn="body > *",ke=new Set,fe=new Map;function Cn(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function Bn(e){let t=fe.get(e);!t||(t["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}function cl(e,t=a.ref(!0)){a.watchEffect(r=>{if(!t.value||!e.value)return;let n=e.value,i=Be(n);if(i){ke.add(n);for(let o of fe.keys())o.contains(n)&&(Bn(o),fe.delete(o));i.querySelectorAll(Pn).forEach(o=>{if(o instanceof HTMLElement){for(let s of ke)if(o.contains(s))return;ke.size===1&&(fe.set(o,{"aria-hidden":o.getAttribute("aria-hidden"),inert:o.inert}),Cn(o))}}),r(()=>{if(ke.delete(n),ke.size>0)i.querySelectorAll(Pn).forEach(o=>{if(o instanceof HTMLElement&&!fe.has(o)){for(let s of ke)if(o.contains(s))return;fe.set(o,{"aria-hidden":o.getAttribute("aria-hidden"),inert:o.inert}),Cn(o)}});else for(let o of fe.keys())Bn(o),fe.delete(o)})}})}let kn=Symbol("ForcePortalRootContext");function fl(){return a.inject(kn,!1)}let sr=a.defineComponent({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:r}){return a.provide(kn,e.force),()=>{let{force:n,...i}=e;return R({theirProps:i,ourProps:{},slot:{},slots:t,attrs:r,name:"ForcePortalRoot"})}}});function dl(e){let t=Be(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let r=t.getElementById("headlessui-portal-root");if(r)return r;let n=t.createElement("div");return n.setAttribute("id","headlessui-portal-root"),t.body.appendChild(n)}let jn=a.defineComponent({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:r}){let n=a.ref(null),i=a.computed(()=>Be(n)),o=fl(),s=a.inject(Dn,null),l=a.ref(o===!0||s==null?dl(n.value):s.resolveTarget());return a.watchEffect(()=>{o||s!=null&&(l.value=s.resolveTarget())}),a.onUnmounted(()=>{var u,c;let f=(u=i.value)==null?void 0:u.getElementById("headlessui-portal-root");!f||l.value===f&&l.value.children.length<=0&&((c=l.value.parentElement)==null||c.removeChild(l.value))}),()=>{if(l.value===null)return null;let u={ref:n,"data-headlessui-portal":""};return a.h(a.Teleport,{to:l.value},R({ourProps:u,theirProps:e,slot:{},attrs:r,slots:t,name:"Portal"}))}}}),Dn=Symbol("PortalGroupContext"),pl=a.defineComponent({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:r}){let n=a.reactive({resolveTarget(){return e.target}});return a.provide(Dn,n),()=>{let{target:i,...o}=e;return R({theirProps:o,ourProps:{},slot:{},attrs:t,slots:r,name:"PortalGroup"})}}}),qn=Symbol("StackContext");var lr=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(lr||{});function hl(){return a.inject(qn,()=>{})}function ml({type:e,enabled:t,element:r,onUpdate:n}){let i=hl();function o(...s){n==null||n(...s),i(...s)}a.onMounted(()=>{a.watch(t,(s,l)=>{s?o(0,e,r):l===!0&&o(1,e,r)},{immediate:!0,flush:"sync"})}),a.onUnmounted(()=>{t.value&&o(1,e,r)}),a.provide(qn,o)}let Ln=Symbol("DescriptionContext");function gl(){let e=a.inject(Ln,null);if(e===null)throw new Error("Missing parent");return e}function vl({slot:e=a.ref({}),name:t="Description",props:r={}}={}){let n=a.ref([]);function i(o){return n.value.push(o),()=>{let s=n.value.indexOf(o);s!==-1&&n.value.splice(s,1)}}return a.provide(Ln,{register:i,slot:e,name:t,props:r}),a.computed(()=>n.value.length>0?n.value.join(" "):void 0)}let yl=a.defineComponent({name:"Description",props:{as:{type:[Object,String],default:"p"}},setup(e,{attrs:t,slots:r}){let n=gl(),i=`headlessui-description-${be()}`;return a.onMounted(()=>a.onUnmounted(n.register(i))),()=>{let{name:o="Description",slot:s=a.ref({}),props:l={}}=n,u=e,c={...Object.entries(l).reduce((f,[d,h])=>Object.assign(f,{[d]:a.unref(h)}),{}),id:i};return R({ourProps:c,theirProps:u,slot:s.value,attrs:t,slots:r,name:o})}}});function ur(){let e=[],t=[],r={enqueue(n){t.push(n)},addEventListener(n,i,o,s){return n.addEventListener(i,o,s),r.add(()=>n.removeEventListener(i,o,s))},requestAnimationFrame(...n){let i=requestAnimationFrame(...n);r.add(()=>cancelAnimationFrame(i))},nextFrame(...n){r.requestAnimationFrame(()=>{r.requestAnimationFrame(...n)})},setTimeout(...n){let i=setTimeout(...n);r.add(()=>clearTimeout(i))},add(n){e.push(n)},dispose(){for(let n of e.splice(0))n()},async workQueue(){for(let n of t.splice(0))await n()}};return r}function bl(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}var wl=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wl||{});let cr=Symbol("DialogContext");function Qe(e){let t=a.inject(cr,null);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Qe),r}return t}let gt="DC8F892D-2EBD-447C-A4C8-A03058436FF4",fr=a.defineComponent({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:gt},initialFocus:{type:Object,default:null}},emits:{close:e=>!0},setup(e,{emit:t,attrs:r,slots:n,expose:i}){var o;let s=a.ref(!1);a.onMounted(()=>{s.value=!0});let l=a.ref(0),u=tr(),c=a.computed(()=>e.open===gt&&u!==null?U(u.value,{[we.Open]:!0,[we.Closed]:!1}):e.open),f=a.ref(new Set),d=a.ref(null),h=a.ref(null),p=a.computed(()=>Be(d));if(i({el:d,$el:d}),!(e.open!==gt||u!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof c.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${c.value===gt?void 0:e.open}`);let v=a.computed(()=>s.value&&c.value?0:1),b=a.computed(()=>v.value===0),w=a.computed(()=>l.value>1),x=a.inject(cr,null)!==null,A=a.computed(()=>w.value?"parent":"leaf");cl(d,a.computed(()=>w.value?b.value:!1)),ml({type:"Dialog",enabled:a.computed(()=>v.value===0),element:d,onUpdate:(y,S,_)=>{if(S==="Dialog")return U(y,{[lr.Add](){f.value.add(_),l.value+=1},[lr.Remove](){f.value.delete(_),l.value-=1}})}});let I=vl({name:"DialogDescription",slot:a.computed(()=>({open:c.value}))}),E=`headlessui-dialog-${be()}`,O=a.ref(null),g={titleId:O,panelRef:a.ref(null),dialogState:v,setTitleId(y){O.value!==y&&(O.value=y)},close(){t("close",!1)}};return a.provide(cr,g),rl(()=>{var y,S,_;return[...Array.from((S=(y=p.value)==null?void 0:y.querySelectorAll("body > *, [data-headlessui-portal]"))!=null?S:[]).filter(T=>!(!(T instanceof HTMLElement)||T.contains(te(h))||g.panelRef.value&&T.contains(g.panelRef.value))),(_=g.panelRef.value)!=null?_:d.value]},(y,S)=>{g.close(),a.nextTick(()=>S==null?void 0:S.focus())},a.computed(()=>v.value===0&&!w.value)),An((o=p.value)==null?void 0:o.defaultView,"keydown",y=>{y.defaultPrevented||y.key===En.Escape&&v.value===0&&(w.value||(y.preventDefault(),y.stopPropagation(),g.close()))}),a.watchEffect(y=>{var S;if(v.value!==0||x)return;let _=p.value;if(!_)return;let T=ur();function $(D,M,L){let F=D.style.getPropertyValue(M);return Object.assign(D.style,{[M]:L}),T.add(()=>{Object.assign(D.style,{[M]:F})})}let C=_==null?void 0:_.documentElement,j=((S=_.defaultView)!=null?S:window).innerWidth-C.clientWidth;if($(C,"overflow","hidden"),j>0){let D=C.clientWidth-C.offsetWidth,M=j-D;$(C,"paddingRight",`${M}px`)}if(bl()){let D=window.pageYOffset;$(C,"position","fixed"),$(C,"marginTop",`-${D}px`),$(C,"width","100%"),T.add(()=>window.scrollTo(0,D))}y(T.dispose)}),a.watchEffect(y=>{if(v.value!==0)return;let S=te(d);if(!S)return;let _=new IntersectionObserver(T=>{for(let $ of T)$.boundingClientRect.x===0&&$.boundingClientRect.y===0&&$.boundingClientRect.width===0&&$.boundingClientRect.height===0&&g.close()});_.observe(S),y(()=>_.disconnect())}),()=>{let y={...r,ref:d,id:E,role:"dialog","aria-modal":v.value===0?!0:void 0,"aria-labelledby":O.value,"aria-describedby":I.value},{open:S,initialFocus:_,...T}=e,$={open:v.value===0};return a.h(sr,{force:!0},()=>[a.h(jn,()=>a.h(pl,{target:d.value},()=>a.h(sr,{force:!1},()=>a.h(Xe,{initialFocus:_,containers:f,features:b.value?U(A.value,{parent:Xe.features.RestoreFocus,leaf:Xe.features.All&~Xe.features.FocusLock}):Xe.features.None},()=>R({ourProps:y,theirProps:T,slot:$,attrs:r,slots:n,visible:v.value===0,features:pt.RenderStrategy|pt.Static,name:"Dialog"}))))),a.h(or,{features:mt.Hidden,ref:h})])}}});a.defineComponent({name:"DialogOverlay",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:r}){let n=Qe("DialogOverlay"),i=`headlessui-dialog-overlay-${be()}`;function o(s){s.target===s.currentTarget&&(s.preventDefault(),s.stopPropagation(),n.close())}return()=>R({ourProps:{id:i,"aria-hidden":!0,onClick:o},theirProps:e,slot:{open:n.dialogState.value===0},attrs:t,slots:r,name:"DialogOverlay"})}}),a.defineComponent({name:"DialogBackdrop",props:{as:{type:[Object,String],default:"div"}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){let i=Qe("DialogBackdrop"),o=`headlessui-dialog-backdrop-${be()}`,s=a.ref(null);return n({el:s,$el:s}),a.onMounted(()=>{if(i.panelRef.value===null)throw new Error("A component is being used, but a component is missing.")}),()=>{let l=e,u={id:o,ref:s,"aria-hidden":!0};return a.h(sr,{force:!0},()=>a.h(jn,()=>R({ourProps:u,theirProps:{...t,...l},slot:{open:i.dialogState.value===0},attrs:t,slots:r,name:"DialogBackdrop"})))}}});let dr=a.defineComponent({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:r,expose:n}){let i=Qe("DialogPanel"),o=`headlessui-dialog-panel-${be()}`;n({el:i.panelRef,$el:i.panelRef});function s(l){l.stopPropagation()}return()=>{let l={id:o,ref:i.panelRef,onClick:s};return R({ourProps:l,theirProps:e,slot:{open:i.dialogState.value===0},attrs:t,slots:r,name:"DialogPanel"})}}});a.defineComponent({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"}},setup(e,{attrs:t,slots:r}){let n=Qe("DialogTitle"),i=`headlessui-dialog-title-${be()}`;return a.onMounted(()=>{n.setTitleId(i),a.onUnmounted(()=>n.setTitleId(null))}),()=>R({ourProps:{id:i},theirProps:e,slot:{open:n.dialogState.value===0},attrs:t,slots:r,name:"DialogTitle"})}});function Sl(e){let t={called:!1};return(...r)=>{if(!t.called)return t.called=!0,e(...r)}}function pr(e,...t){e&&t.length>0&&e.classList.add(...t)}function vt(e,...t){e&&t.length>0&&e.classList.remove(...t)}var hr=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(hr||{});function Ol(e,t){let r=ur();if(!e)return r.dispose;let{transitionDuration:n,transitionDelay:i}=getComputedStyle(e),[o,s]=[n,i].map(l=>{let[u=0]=l.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,f)=>f-c);return u});return o!==0?r.setTimeout(()=>t("finished"),o+s):t("finished"),r.add(()=>t("cancelled")),r.dispose}function Fn(e,t,r,n,i,o){let s=ur(),l=o!==void 0?Sl(o):()=>{};return vt(e,...i),pr(e,...t,...r),s.nextFrame(()=>{vt(e,...r),pr(e,...n),s.add(Ol(e,u=>(vt(e,...n,...t),pr(e,...i),l(u))))}),s.add(()=>vt(e,...t,...r,...n,...i)),s.add(()=>l("cancelled")),s.dispose}function Se(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let mr=Symbol("TransitionContext");var $l=(e=>(e.Visible="visible",e.Hidden="hidden",e))($l||{});function El(){return a.inject(mr,null)!==null}function _l(){let e=a.inject(mr,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}function Tl(){let e=a.inject(gr,null);if(e===null)throw new Error("A is used but it is missing a parent .");return e}let gr=Symbol("NestingContext");function yt(e){return"children"in e?yt(e.children):e.value.filter(({state:t})=>t==="visible").length>0}function Mn(e){let t=a.ref([]),r=a.ref(!1);a.onMounted(()=>r.value=!0),a.onUnmounted(()=>r.value=!1);function n(o,s=ce.Hidden){let l=t.value.findIndex(({id:u})=>u===o);l!==-1&&(U(s,{[ce.Unmount](){t.value.splice(l,1)},[ce.Hidden](){t.value[l].state="hidden"}}),!yt(t)&&r.value&&(e==null||e()))}function i(o){let s=t.value.find(({id:l})=>l===o);return s?s.state!=="visible"&&(s.state="visible"):t.value.push({id:o,state:"visible"}),()=>n(o,ce.Unmount)}return{children:t,register:i,unregister:n}}let Rn=pt.RenderStrategy,je=a.defineComponent({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:r,slots:n,expose:i}){if(!El()&&Ks())return()=>a.h(De,{...e,onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave")},n);let o=a.ref(null),s=a.ref("visible"),l=a.computed(()=>e.unmount?ce.Unmount:ce.Hidden);i({el:o,$el:o});let{show:u,appear:c}=_l(),{register:f,unregister:d}=Tl(),h={value:!0},p=be(),v={value:!1},b=Mn(()=>{v.value||(s.value="hidden",d(p),t("afterLeave"))});a.onMounted(()=>{let S=f(p);a.onUnmounted(S)}),a.watchEffect(()=>{if(l.value===ce.Hidden&&!!p){if(u&&s.value!=="visible"){s.value="visible";return}U(s.value,{hidden:()=>d(p),visible:()=>f(p)})}});let w=Se(e.enter),x=Se(e.enterFrom),A=Se(e.enterTo),I=Se(e.entered),E=Se(e.leave),O=Se(e.leaveFrom),g=Se(e.leaveTo);a.onMounted(()=>{a.watchEffect(()=>{if(s.value==="visible"){let S=te(o);if(S instanceof Comment&&S.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function y(S){let _=h.value&&!c.value,T=te(o);!T||!(T instanceof HTMLElement)||_||(v.value=!0,u.value&&t("beforeEnter"),u.value||t("beforeLeave"),S(u.value?Fn(T,w,x,A,I,$=>{v.value=!1,$===hr.Finished&&t("afterEnter")}):Fn(T,E,O,g,I,$=>{v.value=!1,$===hr.Finished&&(yt(b)||(s.value="hidden",d(p),t("afterLeave")))})))}return a.onMounted(()=>{a.watch([u],(S,_,T)=>{y(T),h.value=!1},{immediate:!0})}),a.provide(gr,b),Xs(a.computed(()=>U(s.value,{visible:we.Open,hidden:we.Closed}))),()=>{let{appear:S,show:_,enter:T,enterFrom:$,enterTo:C,entered:j,leave:D,leaveFrom:M,leaveTo:L,...F}=e;return R({theirProps:F,ourProps:{ref:o},slot:{},slots:n,attrs:r,features:Rn,visible:s.value==="visible",name:"TransitionChild"})}}}),xl=je,De=a.defineComponent({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:r,slots:n}){let i=tr(),o=a.computed(()=>e.show===null&&i!==null?U(i.value,{[we.Open]:!0,[we.Closed]:!1}):e.show);a.watchEffect(()=>{if(![!0,!1].includes(o.value))throw new Error('A is used but it is missing a `:show="true | false"` prop.')});let s=a.ref(o.value?"visible":"hidden"),l=Mn(()=>{s.value="hidden"}),u=a.ref(!0),c={show:o,appear:a.computed(()=>e.appear||!u.value)};return a.onMounted(()=>{a.watchEffect(()=>{u.value=!1,o.value?s.value="visible":yt(l)||(s.value="hidden")})}),a.provide(gr,l),a.provide(mr,c),()=>{let f=$n(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),d={unmount:e.unmount};return R({ourProps:{...d,as:"template"},theirProps:{},slot:{},slots:{...n,default:()=>[a.h(xl,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...r,...d,...f},n.default)]},attrs:{},features:Rn,visible:s.value==="visible",name:"Transition"})}}});const Al={props:{defaultTitle:{type:String,required:!1,default:""},defaultText:{type:String,required:!1,default:""},defaultConfirmButton:{type:String,required:!1,default:""},defaultCancelButton:{type:String,required:!1,default:""}},data(){return{isOpen:!1}},computed:{hasConfirmModal:()=>!!m.confirmModal.value,title:function(){var e;return(e=m.confirmModal.value)!=null&&e.title?m.confirmModal.value.title:this.defaultTitle},text:function(){var e;return(e=m.confirmModal.value)!=null&&e.text?m.confirmModal.value.text:this.defaultText},confirmButton:function(){var e;return(e=m.confirmModal.value)!=null&&e.confirmButton?m.confirmModal.value.confirmButton:this.defaultConfirmButton},cancelButton:function(){var e;return(e=m.confirmModal.value)!=null&&e.cancelButton?m.confirmModal.value.cancelButton:this.defaultCancelButton}},watch:{hasConfirmModal(e){e&&(this.isOpen=!0)}},methods:{cancel(){m.confirmModal.value.rejectPromise(),this.setIsOpen(!1)},confirm(){m.confirmModal.value.resolvePromise(),this.setIsOpen(!1)},setIsOpen(e){this.isOpen=e},emitClose(){m.clearConfirmModal()}},render(){return this.$slots.default({title:this.title,text:this.text,confirmButton:this.confirmButton,cancelButton:this.cancelButton,isOpen:this.isOpen,setIsOpen:this.setIsOpen,cancel:this.cancel,confirm:this.confirm,emitClose:this.emitClose,Dialog:fr,DialogPanel:dr,TransitionRoot:De,TransitionChild:je})}};function Nn(e,t){t=Zt(t,e);for(var r=0,n=t.length;e!=null&&r({}),required:!1},remember:{type:String,default:null,required:!1},localStorage:{type:Boolean,default:!1,required:!1}},data(){return{values:{}}},mounted(){if(this.remember){let e=m.restore(this.remember,this.localStorage);e||(e={}),this.values=Object.assign({},{...this.default,...e})}else this.values=Object.assign({},{...this.default})},updated(){this.remember&&m.remember(this.remember,{...this.values},this.localStorage)},render(){const e=this;return this.$slots.default(new Proxy(this.values,{ownKeys(){return Object.keys(e.values)},get(t,r){return vr(e.values,r)},set(t,r,n){Un(e.values,r,n)}}))}};var Dl=function(){return G.Date.now()};const yr=Dl;var ql=/\s/;function Ll(e){for(var t=e.length;t--&&ql.test(e.charAt(t)););return t}var Fl=/^\s+/;function Ml(e){return e&&e.slice(0,Ll(e)+1).replace(Fl,"")}var Wn=0/0,Rl=/^[-+]0x[0-9a-f]+$/i,Nl=/^0b[01]+$/i,Vl=/^0o[0-7]+$/i,Hl=parseInt;function br(e){if(typeof e=="number")return e;if(ut(e))return Wn;if(K(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=K(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ml(e);var r=Nl.test(e);return r||Vl.test(e)?Hl(e.slice(2),r?2:8):Rl.test(e)?Wn:+e}var Ul="Expected a function",Wl=Math.max,zl=Math.min;function zn(e,t,r){var n,i,o,s,l,u,c=0,f=!1,d=!1,h=!0;if(typeof e!="function")throw new TypeError(Ul);t=br(t)||0,K(r)&&(f=!!r.leading,d="maxWait"in r,o=d?Wl(br(r.maxWait)||0,t):o,h="trailing"in r?!!r.trailing:h);function p(g){var y=n,S=i;return n=i=void 0,c=g,s=e.apply(S,y),s}function v(g){return c=g,l=setTimeout(x,t),f?p(g):s}function b(g){var y=g-u,S=g-c,_=t-y;return d?zl(_,o-S):_}function w(g){var y=g-u,S=g-c;return u===void 0||y>=t||y<0||d&&S>=o}function x(){var g=yr();if(w(g))return A(g);l=setTimeout(x,b(g))}function A(g){return l=void 0,h&&n?p(g):(n=i=void 0,s)}function I(){l!==void 0&&clearTimeout(l),c=0,n=u=i=l=void 0}function E(){return l===void 0?s:A(yr())}function O(){var g=yr(),y=w(g);if(n=arguments,i=this,u=g,y){if(l===void 0)return v(u);if(d)return clearTimeout(l),l=setTimeout(x,t),p(u)}return l===void 0&&(l=setTimeout(x,t)),s}return O.cancel=I,O.flush=E,O}const Gl={props:{url:{type:String,required:!0},method:{type:String,required:!1,default:"GET"},acceptHeader:{type:String,required:!1,default:"application/json"},poll:{type:Number,required:!1,default:null},default:{type:Object,required:!1,default:()=>({})},request:{type:Object,required:!1,default:()=>({})},manual:{type:Boolean,required:!1,default:!1},watchDebounce:{type:Number,required:!1,default:0},watchValue:{validator(){return!0},required:!1,default:null}},data(){return{response:Object.assign({},{...this.default}),processing:!1,debounceFunction:null}},watch:{watchValue:{deep:!0,handler(){this.processing=!0,this.watchDebounce?this.debounceFunction():this.performRequest()}}},mounted(){this.manual||this.$nextTick(this.performRequest)},created(){this.debounceFunction=zn(()=>{this.performRequest()},this.watchDebounce)},methods:{performRequest(){this.processing=!0;const e={url:this.url,method:this.method,headers:{Accept:this.acceptHeader}};Object.keys(this.request).length>0&&(e.data=this.request),Mr.default(e).then(t=>{this.response=t.data,this.processing=!1}).catch(()=>{this.processing=!1}),this.poll&&setTimeout(()=>{this.performRequest()},this.poll)}},render(){return this.$slots.default({processing:this.processing,response:this.response,reload:this.performRequest})}},Kl={data(){return{isActivated:!0}},deactivated(){this.isActivated=!1},activated(){this.isActivated=!0},render(){return this.$slots.default({Dialog:fr,DialogPanel:dr,isActivated:this.isActivated})}},Gn={__name:"OnClickOutside",props:{do:{type:Function,required:!0},opened:{type:Boolean,required:!0},closeOnEscape:{type:Boolean,required:!1,default:!0},ignoreInnerTargets:{type:Boolean,required:!1,default:!1}},setup(e){const t=e,r=a.ref(null),n=a.ref(null),i=a.ref(null);return a.onMounted(()=>{r.value=o=>{n.value.children[0].contains(o.target)||t.ignoreInnerTargets&&n.value.contains(o.target)||t.do()},document.addEventListener("click",r.value),document.addEventListener("touchstart",r.value),t.closeOnEscape&&(i.value=o=>{t.opened&&o.key==="Escape"&&t.do()},document.addEventListener("keydown",i.value))}),a.onBeforeUnmount(()=>{document.removeEventListener("click",r.value),document.removeEventListener("touchstart",r.value),t.closeOnEscape&&document.removeEventListener("keydown",i.value)}),(o,s)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"root",ref:n},[a.renderSlot(o.$slots,"default")],512))}};function V(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Oe(e){var t=V(e).Element;return e instanceof t||e instanceof Element}function H(e){var t=V(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function wr(e){if(typeof ShadowRoot>"u")return!1;var t=V(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var $e=Math.max,bt=Math.min,qe=Math.round;function Sr(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Kn(){return!/^((?!chrome|android).)*safari/i.test(Sr())}function Le(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&H(e)&&(i=e.offsetWidth>0&&qe(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&qe(n.height)/e.offsetHeight||1);var s=Oe(e)?V(e):window,l=s.visualViewport,u=!Kn()&&r,c=(n.left+(u&&l?l.offsetLeft:0))/i,f=(n.top+(u&&l?l.offsetTop:0))/o,d=n.width/i,h=n.height/o;return{width:d,height:h,top:f,right:c+d,bottom:f+h,left:c,x:c,y:f}}function Or(e){var t=V(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Xl(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Ql(e){return e===V(e)||!H(e)?Or(e):Xl(e)}function X(e){return e?(e.nodeName||"").toLowerCase():null}function de(e){return((Oe(e)?e.ownerDocument:e.document)||window.document).documentElement}function $r(e){return Le(de(e)).left+Or(e).scrollLeft}function W(e){return V(e).getComputedStyle(e)}function Er(e){var t=W(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Yl(e){var t=e.getBoundingClientRect(),r=qe(t.width)/e.offsetWidth||1,n=qe(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Jl(e,t,r){r===void 0&&(r=!1);var n=H(t),i=H(t)&&Yl(t),o=de(t),s=Le(e,i,r),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((X(t)!=="body"||Er(o))&&(l=Ql(t)),H(t)?(u=Le(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=$r(o))),{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function Xn(e){var t=Le(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function wt(e){return X(e)==="html"?e:e.assignedSlot||e.parentNode||(wr(e)?e.host:null)||de(e)}function Qn(e){return["html","body","#document"].indexOf(X(e))>=0?e.ownerDocument.body:H(e)&&Er(e)?e:Qn(wt(e))}function Ye(e,t){var r;t===void 0&&(t=[]);var n=Qn(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=V(n),s=i?[o].concat(o.visualViewport||[],Er(n)?n:[]):n,l=t.concat(s);return i?l:l.concat(Ye(wt(s)))}function Zl(e){return["table","td","th"].indexOf(X(e))>=0}function Yn(e){return!H(e)||W(e).position==="fixed"?null:e.offsetParent}function eu(e){var t=/firefox/i.test(Sr()),r=/Trident/i.test(Sr());if(r&&H(e)){var n=W(e);if(n.position==="fixed")return null}var i=wt(e);for(wr(i)&&(i=i.host);H(i)&&["html","body"].indexOf(X(i))<0;){var o=W(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function St(e){for(var t=V(e),r=Yn(e);r&&Zl(r)&&W(r).position==="static";)r=Yn(r);return r&&(X(r)==="html"||X(r)==="body"&&W(r).position==="static")?t:r||eu(e)||t}var z="top",Q="bottom",pe="right",re="left",Ot="auto",$t=[z,Q,pe,re],Fe="start",Je="end",tu="clippingParents",Jn="viewport",Ze="popper",ru="reference",Zn=$t.reduce(function(e,t){return e.concat([t+"-"+Fe,t+"-"+Je])},[]),nu=[].concat($t,[Ot]).reduce(function(e,t){return e.concat([t,t+"-"+Fe,t+"-"+Je])},[]),iu="beforeRead",ou="read",au="afterRead",su="beforeMain",lu="main",uu="afterMain",cu="beforeWrite",fu="write",du="afterWrite",_r=[iu,ou,au,su,lu,uu,cu,fu,du];function pu(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(l){if(!r.has(l)){var u=t.get(l);u&&i(u)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function hu(e){var t=pu(e);return _r.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function mu(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function he(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=0,n=r&&H(e)?St(e):e;return Oe(n)?t.filter(function(i){return Oe(i)&&Ou(i,n)&&X(i)!=="body"}):[]}function _u(e,t,r,n){var i=t==="clippingParents"?Eu(e):[].concat(t),o=[].concat(i,[r]),s=o[0],l=o.reduce(function(u,c){var f=ti(e,c,n);return u.top=$e(f.top,u.top),u.right=bt(f.right,u.right),u.bottom=bt(f.bottom,u.bottom),u.left=$e(f.left,u.left),u},ti(e,s,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Me(e){return e.split("-")[1]}function ri(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ni(e){var t=e.reference,r=e.element,n=e.placement,i=n?ne(n):null,o=n?Me(n):null,s=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,u;switch(i){case z:u={x:s,y:t.y-r.height};break;case Q:u={x:s,y:t.y+t.height};break;case pe:u={x:t.x+t.width,y:l};break;case re:u={x:t.x-r.width,y:l};break;default:u={x:t.x,y:t.y}}var c=i?ri(i):null;if(c!=null){var f=c==="y"?"height":"width";switch(o){case Fe:u[c]=u[c]-(t[f]/2-r[f]/2);break;case Je:u[c]=u[c]+(t[f]/2-r[f]/2);break}}return u}function ii(){return{top:0,right:0,bottom:0,left:0}}function Tu(e){return Object.assign({},ii(),e)}function xu(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}function xr(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,s=o===void 0?e.strategy:o,l=r.boundary,u=l===void 0?tu:l,c=r.rootBoundary,f=c===void 0?Jn:c,d=r.elementContext,h=d===void 0?Ze:d,p=r.altBoundary,v=p===void 0?!1:p,b=r.padding,w=b===void 0?0:b,x=Tu(typeof w!="number"?w:xu(w,$t)),A=h===Ze?ru:Ze,I=e.rects.popper,E=e.elements[v?A:h],O=_u(Oe(E)?E:E.contextElement||de(e.elements.popper),u,f,s),g=Le(e.elements.reference),y=ni({reference:g,element:I,strategy:"absolute",placement:i}),S=Tr(Object.assign({},I,y)),_=h===Ze?S:g,T={top:O.top-_.top+x.top,bottom:_.bottom-O.bottom+x.bottom,left:O.left-_.left+x.left,right:_.right-O.right+x.right},$=e.modifiersData.offset;if(h===Ze&&$){var C=$[i];Object.keys(T).forEach(function(j){var D=[pe,Q].indexOf(j)>=0?1:-1,M=[z,Q].indexOf(j)>=0?"y":"x";T[j]+=C[M]*D})}return T}var oi="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Au="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",ai={placement:"bottom",modifiers:[],strategy:"absolute"};function si(){for(var e=arguments.length,t=new Array(e),r=0;r100)){console.error(Au);break}if(f.reset===!0){f.reset=!1,O=-1;continue}var g=f.orderedModifiers[O],y=g.fn,S=g.options,_=S===void 0?{}:S,T=g.name;typeof y=="function"&&(f=y({state:f,options:_,name:T,instance:p})||f)}}},update:mu(function(){return new Promise(function(w){p.forceUpdate(),w(f)})}),destroy:function(){b(),h=!0}};if(!si(l,u))return process.env.NODE_ENV!=="production"&&console.error(oi),p;p.setOptions(c).then(function(w){!h&&c.onFirstUpdate&&c.onFirstUpdate(w)});function v(){f.orderedModifiers.forEach(function(w){var x=w.name,A=w.options,I=A===void 0?{}:A,E=w.effect;if(typeof E=="function"){var O=E({state:f,name:x,instance:p,options:I}),g=function(){};d.push(O||g)}})}function b(){d.forEach(function(w){return w()}),d=[]}return p}}var Et={passive:!0};function Pu(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,s=n.resize,l=s===void 0?!0:s,u=V(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(f){f.addEventListener("scroll",r.update,Et)}),l&&u.addEventListener("resize",r.update,Et),function(){o&&c.forEach(function(f){f.removeEventListener("scroll",r.update,Et)}),l&&u.removeEventListener("resize",r.update,Et)}}const Cu={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Pu,data:{}};function Bu(e){var t=e.state,r=e.name;t.modifiersData[r]=ni({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ku={name:"popperOffsets",enabled:!0,phase:"read",fn:Bu,data:{}};var ju={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Du(e){var t=e.x,r=e.y,n=window,i=n.devicePixelRatio||1;return{x:qe(t*i)/i||0,y:qe(r*i)/i||0}}function li(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,l=e.position,u=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,d=e.isFixed,h=s.x,p=h===void 0?0:h,v=s.y,b=v===void 0?0:v,w=typeof f=="function"?f({x:p,y:b}):{x:p,y:b};p=w.x,b=w.y;var x=s.hasOwnProperty("x"),A=s.hasOwnProperty("y"),I=re,E=z,O=window;if(c){var g=St(r),y="clientHeight",S="clientWidth";if(g===V(r)&&(g=de(r),W(g).position!=="static"&&l==="absolute"&&(y="scrollHeight",S="scrollWidth")),g=g,i===z||(i===re||i===pe)&&o===Je){E=Q;var _=d&&g===O&&O.visualViewport?O.visualViewport.height:g[y];b-=_-n.height,b*=u?1:-1}if(i===re||(i===z||i===Q)&&o===Je){I=pe;var T=d&&g===O&&O.visualViewport?O.visualViewport.width:g[S];p-=T-n.width,p*=u?1:-1}}var $=Object.assign({position:l},c&&ju),C=f===!0?Du({x:p,y:b}):{x:p,y:b};if(p=C.x,b=C.y,u){var j;return Object.assign({},$,(j={},j[E]=A?"0":"",j[I]=x?"0":"",j.transform=(O.devicePixelRatio||1)<=1?"translate("+p+"px, "+b+"px)":"translate3d("+p+"px, "+b+"px, 0)",j))}return Object.assign({},$,(t={},t[E]=A?b+"px":"",t[I]=x?p+"px":"",t.transform="",t))}function qu(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,s=o===void 0?!0:o,l=r.roundOffsets,u=l===void 0?!0:l;if(process.env.NODE_ENV!=="production"){var c=W(t.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some(function(d){return c.indexOf(d)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',` `,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",` -`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var f={placement:re(t.placement),variation:Re(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,li(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,li(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Fu={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qu,data:{}};function Mu(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!H(o)||!X(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var l=i[s];l===!1?o.removeAttribute(s):o.setAttribute(s,l===!0?"":l)}))})}function Ru(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],o=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=s.reduce(function(u,c){return u[c]="",u},{});!H(i)||!X(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(u){i.removeAttribute(u)}))})}}var Lu=[Iu,ju,Fu,{name:"applyStyles",enabled:!0,phase:"write",fn:Mu,effect:Ru,requires:["computeStyles"]}],Nu=Pu({defaultModifiers:Lu});function Vu(e){return e==="x"?"y":"x"}function _t(e,t,n){return $e(e,bt(t,n))}function Hu(e,t,n){var r=_t(e,t,n);return r>n?n:r}function Uu(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,l=s===void 0?!1:s,u=n.boundary,c=n.rootBoundary,f=n.altBoundary,d=n.padding,h=n.tether,p=h===void 0?!0:h,v=n.tetherOffset,b=v===void 0?0:v,w=An(t,{boundary:u,rootBoundary:c,padding:d,altBoundary:f}),x=re(t.placement),A=Re(t.placement),P=!A,E=ni(x),O=Vu(E),g=t.modifiersData.popperOffsets,y=t.rects.reference,S=t.rects.popper,_=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,T=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(!!g){if(o){var D,k=E==="y"?z:ne,R=E==="y"?Q:pe,q=E==="y"?"height":"width",M=g[E],It=M+w[k],xe=M-w[R],Bt=p?-S[q]/2:0,qn=A===Me?y[q]:S[q],tt=A===Me?-S[q]:-y[q],jt=t.elements.arrow,Le=p&&jt?Xr(jt):{width:0,height:0},me=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ii(),nt=me[k],Dt=me[R],Ae=_t(0,y[q],Le[q]),Fn=P?y[q]/2-Bt-Ae-nt-T.mainAxis:qn-Ae-nt-T.mainAxis,hd=P?-y[q]/2+Bt+Ae+Dt+T.mainAxis:tt+Ae+Dt+T.mainAxis,Mn=t.elements.arrow&&St(t.elements.arrow),md=Mn?E==="y"?Mn.clientTop||0:Mn.clientLeft||0:0,Fi=(D=$==null?void 0:$[E])!=null?D:0,gd=M+Fn-Fi-md,vd=M+hd-Fi,Mi=_t(p?bt(It,gd):It,M,p?$e(xe,vd):xe);g[E]=Mi,I[E]=Mi-M}if(l){var Ri,yd=E==="x"?z:ne,bd=E==="x"?Q:pe,Pe=g[O],kt=O==="y"?"height":"width",Li=Pe+w[yd],Ni=Pe-w[bd],Rn=[z,ne].indexOf(x)!==-1,Vi=(Ri=$==null?void 0:$[O])!=null?Ri:0,Hi=Rn?Li:Pe-y[kt]-S[kt]-Vi+T.altAxis,Ui=Rn?Pe+y[kt]+S[kt]-Vi-T.altAxis:Ni,Wi=p&&Rn?Hu(Hi,Pe,Ui):_t(p?Hi:Li,Pe,p?Ui:Ni);g[O]=Wi,I[O]=Wi-Pe}t.modifiersData[r]=I}}const Wu={name:"preventOverflow",enabled:!0,phase:"main",fn:Uu,requiresIfExists:["offset"]};var zu={left:"right",right:"left",bottom:"top",top:"bottom"};function Tt(e){return e.replace(/left|right|bottom|top/g,function(t){return zu[t]})}var Gu={start:"end",end:"start"};function ui(e){return e.replace(/start|end/g,function(t){return Gu[t]})}function Ku(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?ru:u,f=Re(r),d=f?l?Zr:Zr.filter(function(v){return Re(v)===f}):$t,h=d.filter(function(v){return c.indexOf(v)>=0});h.length===0&&(h=d,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var p=h.reduce(function(v,b){return v[b]=An(e,{placement:b,boundary:i,rootBoundary:o,padding:s})[re(b)],v},{});return Object.keys(p).sort(function(v,b){return p[v]-p[b]})}function Xu(e){if(re(e)===Ot)return[];var t=Tt(e);return[ui(e),t,ui(t)]}function Qu(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,l=s===void 0?!0:s,u=n.fallbackPlacements,c=n.padding,f=n.boundary,d=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,v=p===void 0?!0:p,b=n.allowedAutoPlacements,w=t.options.placement,x=re(w),A=x===w,P=u||(A||!v?[Tt(w)]:Xu(w)),E=[w].concat(P).reduce(function(Le,me){return Le.concat(re(me)===Ot?Ku(t,{placement:me,boundary:f,rootBoundary:d,padding:c,flipVariations:v,allowedAutoPlacements:b}):me)},[]),O=t.rects.reference,g=t.rects.popper,y=new Map,S=!0,_=E[0],T=0;T=0,R=k?"width":"height",q=An(t,{placement:$,boundary:f,rootBoundary:d,altBoundary:h,padding:c}),M=k?D?pe:ne:D?Q:z;O[R]>g[R]&&(M=Tt(M));var It=Tt(M),xe=[];if(o&&xe.push(q[I]<=0),l&&xe.push(q[M]<=0,q[It]<=0),xe.every(function(Le){return Le})){_=$,S=!1;break}y.set($,xe)}if(S)for(var Bt=v?3:1,qn=function(me){var nt=E.find(function(Dt){var Ae=y.get(Dt);if(Ae)return Ae.slice(0,me).every(function(Fn){return Fn})});if(nt)return _=nt,"break"},tt=Bt;tt>0;tt--){var jt=qn(tt);if(jt==="break")break}t.placement!==_&&(t.modifiersData[r]._skip=!0,t.placement=_,t.reset=!0)}}const Yu={name:"flip",enabled:!0,phase:"main",fn:Qu,requiresIfExists:["offset"],data:{_skip:!1}},_e=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Ju={components:{OnClickOutside:Gr},props:{spladeId:{type:String,required:!0},placement:{type:String,default:"bottom-start",required:!1},strategy:{type:String,default:"absolute",required:!1},inline:{type:Boolean,default:!1,required:!1},disabled:{type:Boolean,default:!1,required:!1},teleport:{type:Boolean,default:!1,required:!1}},data(){return{opened:!1,popper:null}},computed:{buttonStyle(){return this.inline?{display:"inline"}:{}},wrapperStyle(){const e={position:"relative"};return this.inline&&(e.display="inline"),e}},watch:{opened(){this.popper.update()}},mounted:async function(){this.teleport&&await a.nextTick();const e=this.teleport?document.querySelector(`div[data-splade-dropdown-id="${this.spladeId}"]`):this.$refs.tooltip.children[0];this.popper=Nu(this.$refs.button,e,{placement:this.placement,modifiers:[Yu,Wu],strategy:this.strategy})},methods:{toggle(){this.opened=!this.opened},hide(){this.opened=!1}}},Zu={ref:"tooltip"};function ec(e,t,n,r,i,o){const s=a.resolveComponent("OnClickOutside");return a.openBlock(),a.createBlock(s,{style:a.normalizeStyle(o.wrapperStyle),do:o.hide,opened:i.opened},{default:a.withCtx(()=>[a.createElementVNode("div",{ref:"button",style:a.normalizeStyle(o.buttonStyle)},[a.renderSlot(e.$slots,"button",{toggle:o.toggle,disabled:n.disabled})],4),a.createElementVNode("div",Zu,[a.renderSlot(e.$slots,"default",{hide:o.hide,opened:i.opened})],512)]),_:3},8,["style","do","opened"])}const tc=_e(Ju,[["render",ec]]),nc={__name:"DynamicHtml",props:{keepAliveKey:{type:String,required:!0},name:{type:String,required:!0}},setup(e){const t=a.inject("$splade")||{},n=a.inject("$spladeOptions")||{};return(r,i)=>a.unref(t).isSsr?(a.openBlock(),a.createBlock(J,{key:e.keepAliveKey,html:a.unref(t).htmlForDynamicComponent(e.name)},null,8,["html"])):(a.openBlock(),a.createBlock(a.KeepAlive,{key:0,max:a.unref(n).max_keep_alive},[(a.openBlock(),a.createBlock(J,{key:e.keepAliveKey,html:a.unref(t).htmlForDynamicComponent(e.name)},null,8,["html"]))],1032,["max"]))}};function ci(e){return e&&e.length?e[0]:void 0}const rc={inject:["stack"],computed:{values(){return m.validationErrors(this.stack)}},render(){const e=this;return this.$slots.default({has(t){return N(e.values,t)},first(t){return ci(e.values[t]||[])},all:{...this.values},...this.values})}},ic={props:{private:{type:Boolean,required:!1,default:!1},channel:{type:String,required:!0},listeners:{type:Array,required:!0}},data(){return{subscribed:!1,subscription:null,subscriptions:[],events:[]}},beforeUnmount(){this.subscription&&(window.Echo.leave(this.subscription.subscription.name),this.subscription=null,this.subscriptions=[])},mounted(){this.subscription=this.private?window.Echo.private(this.channel):window.Echo.channel(this.channel),this.subscription.on("pusher:subscription_succeeded",()=>{this.subscribed=!0}),this.listeners.forEach(e=>{const t=this.subscription.listen(e,n=>{const r="splade.redirect",i="splade.refresh",o="splade.toast";let s=null,l=!1,u=[];le(n,c=>{!K(c)||(r in c&&(s=c[r]),i in c&&(l=c[i]),o in c&&u.push(c))}),s?m.visit(s):l?m.refresh():this.events.push({name:e,data:n}),u.length>0&&u.forEach(c=>{m.pushToast(c)}),this.$root.$emit(`event.${e}`,n)});this.subscriptions.push(t)})},render(){return this.$slots.default({subscribed:this.subscribed,events:this.events})}},oc={props:{form:{type:Object,required:!0},field:{type:String,required:!0},multiple:{type:Boolean,required:!0}},data(){return{filenames:[]}},methods:{handleFileInput(e){const t=Object.values(e.target.files);this.form.$put(this.field,this.multiple?t:t[0]),this.filenames=[],t.forEach(n=>{this.filenames.push(n.name)})}}},ac={ref:"file"};function sc(e,t,n,r,i,o){return a.openBlock(),a.createElementBlock("div",ac,[a.renderSlot(e.$slots,"default",{handleFileInput:o.handleFileInput,filenames:i.filenames})],512)}const lc=_e(oc,[["render",sc]]),uc={inject:["stack"],computed:{values(){return m.flashData(this.stack)}},render(){const e=this;return this.$slots.default({has(t){return N(e.values,t)},...this.values})}};function fi(e,t,n){e=e||{},t=t||new FormData,n=n||null;for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&pi(t,di(n,r),e[r]);return t}function di(e,t){return e?e+"["+t+"]":t}function pi(e,t,n){if(Array.isArray(n))return Array.from(n.keys()).forEach(r=>pi(e,di(t,r.toString()),n[r]));if(n instanceof Date)return e.append(t,n.toISOString());if(n instanceof File)return e.append(t,n,n.name);if(n instanceof Blob)return e.append(t,n);if(typeof n=="boolean")return e.append(t,n?"1":"0");if(typeof n=="string")return e.append(t,n);if(typeof n=="number")return e.append(t,`${n}`);if(n==null)return e.append(t,"");fi(n,e,t)}function cc(){this.__data__=new Z,this.size=0}function fc(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function dc(e){return this.__data__.get(e)}function pc(e){return this.__data__.has(e)}var hc=200;function mc(e,t){var n=this.__data__;if(n instanceof Z){var r=n.__data__;if(!We||r.lengthl))return!1;var c=o.get(e),f=o.get(t);if(c&&f)return c==t&&f==e;var d=-1,h=!0,p=n&Oc?new xt:void 0;for(o.set(e,t),o.set(t,e);++d-1?i[o?t[s]:s]:void 0}}function _f(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o({})},confirm:{type:[Boolean,String],required:!1,default:!1},confirmText:{type:String,required:!1,default:""},confirmButton:{type:String,required:!1,default:""},cancelButton:{type:String,required:!1,default:""},stay:{type:Boolean,require:!1,default:!1},restoreOnSuccess:{type:Boolean,required:!1,default:!0},resetOnSuccess:{type:Boolean,required:!1,default:!1},scrollOnError:{type:Boolean,required:!1,default:!0}},emits:["success","error"],data(){return{missingAttributes:[],values:Object.assign({},{...this.default}),processing:!1,wasSuccessful:!1,recentlySuccessful:!1,recentlySuccessfulTimeoutId:null,formElement:null}},computed:{$all(){return this.values},rawErrors(){return m.validationErrors(this.stack)},errors(){return Di(this.rawErrors,e=>e.join(` -`))}},mounted(){let e=document.querySelector(`form[data-splade-id="${this.spladeId}"]`);e||(e=document),this.formElement=e,this.missingAttributes.forEach(t=>{let n="";const r=e.querySelector(`[name="${t}"]`);r?n=r.type==="checkbox"?!1:"":e.querySelector(`[name="${t}[]"]`)?n=[]:(e.querySelector(`[name^="${t}."]`)||e.querySelector(`[name^="${t}["]`))&&(n={}),this.$put(t,n)}),this.missingAttributes=[]},methods:{hasError(e){return e in this.errors},reset(){this.values={}},restore(){this.values=Object.assign({},{...this.default})},$put(e,t){return Ur(this.values,e,t)},focusAndScrollToElement(e){let t=!0;if(e._flatpickr&&(t=!1),e.tagName==="SELECT"&&e.getAttribute("data-choice")&&(t=!1),t){const n=new IntersectionObserver(r=>{let[i]=r;i.isIntersecting&&(setTimeout(()=>i.target.focus(),150),n.disconnect())});n.observe(e)}e.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})},submit(e){if(e){const t=e.submitter;t&&t.name&&this.$put(t.name,t.value)}if(!this.confirm)return this.request();m.confirm(ji(this.confirm)?"":this.confirm,this.confirmText,this.confirmButton,this.cancelButton).then(()=>{this.request()}).catch(()=>{})},async request(){await this.$nextTick(),this.processing=!0,this.wasSuccessful=!1,this.recentlySuccessful=!1,clearTimeout(this.recentlySuccessfulTimeoutId);const e=this.values instanceof FormData?this.values:fi(this.values),t={Accept:"application/json"};this.stay&&(t["X-Splade-Prevent-Refresh"]=!0),m.request(this.action,this.method.toUpperCase(),e,t).then(n=>{this.$emit("success",n),this.restoreOnSuccess&&this.restore(),this.resetOnSuccess&&this.reset(),this.processing=!1,this.wasSuccessful=!0,this.recentlySuccessful=!0,this.recentlySuccessfulTimeoutId=setTimeout(()=>this.recentlySuccessful=!1,2e3)}).catch(async n=>{if(this.processing=!1,this.$emit("error",n),!this.scrollOnError)return;await this.$nextTick();const r=Bi(Object.keys(this.errors),i=>this.formElement.querySelector(`[data-validation-key="${i}"]`));r&&this.focusAndScrollToElement(this.formElement.querySelector(`[data-validation-key="${r}"]`))})}},render(){const e=this;return this.$slots.default(new Proxy({},{ownKeys(){return Object.keys(e.values)},get(t,n){return["$all","$attrs","$put","errors","restore","reset","hasError","processing","rawErrors","submit","wasSuccessful","recentlySuccessful"].includes(n)?e[n]:(N(e.values,n)||(e.missingAttributes.push(n),e.$put(n,"")),yn(e.values,n))},set(t,n,r){return e.$put(n,r)}}))}},jf={props:{flatpickr:{type:[Boolean,Object],required:!1,default:!1},jsFlatpickrOptions:{type:Object,required:!1,default:()=>({})},modelValue:{type:[String,Number],required:!1}},emits:["update:modelValue"],data(){return{disabled:!1,element:null,flatpickrInstance:null,observer:null}},watch:{modelValue(e){this.flatpickrInstance&&this.flatpickrInstance.setDate(e)}},mounted(){this.element=this.$refs.input.querySelector("input"),this.flatpickr&&this.initFlatpickr(this.element),this.disabled=this.element.disabled;const e=this;this.observer=new MutationObserver(function(t){t.forEach(function(n){n.attributeName==="disabled"&&(e.disabled=n.target.disabled)})}),this.observer.observe(this.element,{attributes:!0})},beforeUnmount(){this.observer.disconnect(),this.flatpickrInstance&&this.flatpickrInstance.destroy()},methods:{initFlatpickr(e){import("flatpickr").then(t=>{this.flatpickrInstance=t.default(e,Object.assign({},this.flatpickr,this.jsFlatpickrOptions,{onChange:(n,r)=>{r!=this.modelValue&&this.$emit("update:modelValue",r)}})),this.modelValue&&this.flatpickrInstance.setDate(this.modelValue)})}}},Df={ref:"input"};function kf(e,t,n,r,i,o){return a.openBlock(),a.createElementBlock("div",Df,[a.renderSlot(e.$slots,"default",{disabled:i.disabled})],512)}const qf=_e(jf,[["render",kf]]),Ff={components:{Render:J},props:{name:{type:String,required:!0},url:{type:String,required:!1,default(){return m.isSsr?"":window.location.href}},show:{type:Boolean,required:!1,default:!0}},data(){return{html:null}},watch:{show(e){e?this.request():this.html=null}},mounted(){this.show&&this.request()},methods:{async request(){this.html=null,m.lazy(this.url,this.name).then(e=>{this.html=e.data.html})}}};function Mf(e,t,n,r,i,o){const s=a.resolveComponent("Render");return i.html?(a.openBlock(),a.createBlock(s,{key:0,html:i.html},null,8,["html"])):n.show?a.renderSlot(e.$slots,"default",{key:1}):a.createCommentVNode("",!0)}const Rf=_e(Ff,[["render",Mf]]),Lf=["href","onClick"],Nf={__name:"Link",props:{href:{type:String,required:!0},replace:{type:Boolean,required:!1,default:!1},confirm:{type:[Boolean,String],required:!1,default:!1},confirmText:{type:String,required:!1,default:""},confirmButton:{type:String,required:!1,default:""},cancelButton:{type:String,required:!1,default:""},modal:{type:Boolean,required:!1,default:!1},slideover:{type:Boolean,required:!1,default:!1}},setup(e){const t=e;function n(){if(!t.confirm)return r();m.confirm(ji(t.confirm)?"":t.confirm,t.confirmText,t.confirmButton,t.cancelButton).then(()=>{r()}).catch(()=>{})}function r(){if(t.modal)return m.modal(t.href);if(t.slideover)return m.slideover(t.href);t.replace?m.replace(t.href):m.visit(t.href)}return(i,o)=>(a.openBlock(),a.createElementBlock("a",{href:e.href,onClick:a.withModifiers(n,["prevent"])},[a.renderSlot(i.$slots,"default")],8,Lf))}},Vf={provide(){return{stack:this.stack}},props:{closeButton:{type:Boolean,required:!1,default:!0},type:{type:String,required:!0},stack:{type:Number,required:!0},onTopOfStack:{type:Boolean,required:!1,default:!1},maxWidth:{type:String,required:!1,default:e=>e.type==="modal"?"2xl":"md"}},emits:["close"],data(){return{isOpen:!1}},mounted(){this.setIsOpen(!0)},methods:{emitClose(){this.$emit("close")},close(){this.setIsOpen(!1)},setIsOpen(e){this.isOpen=e}},render(){return this.$slots.default({type:this.type,isOpen:this.isOpen,setIsOpen:this.setIsOpen,close:this.close,stack:this.stack,onTopOfStack:this.onTopOfStack,maxWidth:this.maxWidth,emitClose:this.emitClose,closeButton:this.closeButton,Dialog:dn,DialogPanel:pn,TransitionRoot:ke,TransitionChild:De})}},Hf={props:{choices:{type:[Boolean,Object],required:!1,default:!1},jsChoicesOptions:{type:Object,required:!1,default:()=>({})},multiple:{type:Boolean,required:!1,default:!1},modelValue:{type:[String,Number,Array],required:!1},placeholder:{type:Boolean,required:!1,default:!1}},emits:["update:modelValue"],data(){return{choicesInstance:null,element:null,placeholderText:null}},computed:{hasSelection(){return this.multiple?Array.isArray(this.model)?this.model.length>0:!1:!(this.model===null||this.model==="")}},watch:{modelValue(e,t){if(this.choicesInstance){if(JSON.stringify(e)==JSON.stringify(t))return;this.setValueOnChoices(e)}}},mounted(){this.element=this.$refs.select.querySelector("select"),this.choices&&this.initChoices(this.element)},beforeUnmount(){this.choices&&this.choicesInstance&&this.choicesInstance.destroy()},methods:{setValueOnChoices(e){Array.isArray(e)&&this.choicesInstance.removeActiveItems(),e===null&&(e=""),this.choicesInstance.setChoiceByValue(e),this.updateHasSelectionAttribute(),this.handlePlaceholderVisibility()},getItemOfCurrentModel(){const e=this.modelValue;return Bi(this.choicesInstance._store.choices,t=>t.value==e)},handlePlaceholderVisibility(){if(!this.multiple)return;const e=this.choicesInstance.containerInner.element.querySelector("input.choices__input");this.placeholderText=e.placeholder?e.placeholder:this.placeholderText;const t=this.choicesInstance.getValue().length;e.placeholder=t?"":this.placeholderText?this.placeholderText:"",e.style.minWidth="0",e.style.width=t?"1px":"auto",e.style.paddingTop=t?"0px":"1px",e.style.paddingBottom=t?"0px":"1px"},initChoices(e){const t=Array.from(e.querySelectorAll("option:not([placeholder])")).length,n=this;import("choices.js").then(r=>{const i=Object.assign({},this.choices,this.jsChoicesOptions);n.choicesInstance=new r.default(e,i),this.choicesInstance.containerInner.element.setAttribute("data-select-name",e.name),this.handlePlaceholderVisibility(),this.updateHasSelectionAttribute(),e.addEventListener("change",function(){if(n.$emit("update:modelValue",n.choicesInstance.getValue(!0)),!n.multiple||t<1)return;n.choicesInstance.getValue().length>=t&&n.choicesInstance.hideDropdown()}),e.addEventListener("showDropdown",function(){if(n.multiple||!n.modelValue)return;const o=n.getItemOfCurrentModel(),s=n.choicesInstance.dropdown.element.querySelector(`.choices__item[data-id="${o.id}"]`);n.choicesInstance.choiceList.scrollToChildElement(s,1),n.choicesInstance._highlightChoice(s)}),this.setValueOnChoices(this.modelValue)})},updateHasSelectionAttribute(){this.choicesInstance.containerInner.element.setAttribute("data-has-selection",this.hasSelection)}}},Uf={ref:"select"};function Wf(e,t,n,r,i,o){return a.openBlock(),a.createElementBlock("div",Uf,[a.renderSlot(e.$slots,"default")],512)}const zf=_e(Hf,[["render",Wf]]),Gf={inject:["stack"],render(){const e=m.validationErrors(this.stack),t=m.flashData(this.stack),n=m.sharedData.value,r=Di(e,i=>i.join(` -`));return this.$slots.default({flash:t,errors:r,rawErrors:e,shared:n,hasError(i){return i in e},hasFlash(i){return N(t,i)},hasShared(i){return N(n,i)},hasErrors:Object.keys(e).length>0})}};function ki(e,t,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),t!==void 0&&(e=e>=t?e:t)),e}function Kf(e,t,n){e=Jt(e),t=dt(t);var r=e.length;n=n===void 0?r:ki(Dn(n),0,r);var i=n;return n-=t.length,n>=0&&e.slice(n,i)==t}function Xf(e,t){var n=[];return Nt(e,function(r,i,o){t(r,i,o)&&n.push(r)}),n}function Qf(e,t){var n=F(e)?vi:Xf;return n(e,et(t))}function qi(e,t){return Pt(e,t)}function Yf(e,t){var n=-1,r=rt(e)?Array(e.length):[];return Nt(e,function(i,o,s){r[++n]=t(i,o,s)}),r}function Jf(e,t){var n=F(e)?yr:Yf;return n(e,et(t))}function Ct(e,t,n){return e=Jt(e),n=n==null?0:ki(Dn(n),0,e.length),t=dt(t),e.slice(n,n+t.length)==t}const Zf={props:{striped:{type:Boolean,required:!1,default:!1},columns:{type:Object,required:!0},defaultVisibleToggleableColumns:{type:Array,required:!0},searchDebounce:{type:Number,required:!1,default:350}},data(){return{visibleColumns:[],forcedVisibleSearchInputs:[],debounceUpdateQuery:null}},computed:{columnsAreToggled(){return!qi(this.visibleColumns,this.defaultVisibleToggleableColumns)},hasForcedVisibleSearchInputs(){return this.forcedVisibleSearchInputs.length>0}},created(){this.debounceUpdateQuery=zr(function(e,t,n){this.updateQuery(e,t,n)},this.searchDebounce)},mounted(){const e=this.getCurrentQuery(),t=e.columns||[];le(e,(n,r)=>{if(Ct(r,"filter[")&&!n){const i=r.split("["),o=i[1].substring(0,i[1].length-1);this.forcedVisibleSearchInputs=[...this.forcedVisibleSearchInputs,o]}}),t.length===0?this.visibleColumns=this.defaultVisibleToggleableColumns:this.visibleColumns=t},methods:{reset(){this.forcedVisibleSearchInputs=[],this.visibleColumns=this.defaultVisibleToggleableColumns;let e=this.getCurrentQuery();e.columns=[],e.page=null,e.perPage=null,e.sort=null,le(e,(t,n)=>{Ct(n,"filter[")&&(e[n]=null)}),this.visitWithQueryObject(e,null,!0)},columnIsVisible(e){return this.visibleColumns.includes(e)},toggleColumn(e){const t=!this.columnIsVisible(e),n=Qf(this.columns,i=>i.can_be_hidden?i.key===e?t:this.visibleColumns.includes(i.key):!0);let r=Jf(n,i=>i.key).sort();qi(r,this.defaultVisibleToggleableColumns)&&(r=[]),this.visibleColumns=r.length===0?this.defaultVisibleToggleableColumns:r,this.updateQuery("columns",r,null,!1)},disableSearchInput(e){this.forcedVisibleSearchInputs=this.forcedVisibleSearchInputs.filter(t=>t!=e),this.updateQuery(`filter[${e}]`,null)},showSearchInput(e){this.forcedVisibleSearchInputs=[...this.forcedVisibleSearchInputs,e],a.nextTick(()=>{document.querySelector(`[name="searchInput-${e}"]`).focus()})},isForcedVisible(e){return this.forcedVisibleSearchInputs.includes(e)},getCurrentQuery(){const e=window.location.search;if(!e)return{};let t={};return e.substring(1).split("&").forEach(n=>{const r=decodeURIComponent(n).split("=");let i=r[0];if(!Kf(i,"]")){t[i]=r[1];return}const o=i.split("["),s=o[1].substring(0,o[1].length-1);parseInt(s)==s?(i=o[0],F(t[i])||(t[i]=[]),t[i].push(r[1])):t[i]=r[1]}),t},updateQuery(e,t,n,r){typeof r>"u"&&(r=!0);let i=this.getCurrentQuery();i[e]=t,(Ct(e,"perPage")||Ct(e,"filter["))&&delete i.page,this.visitWithQueryObject(i,n,r)},visitWithQueryObject(e,t,n){typeof n>"u"&&(n=!0);let r={};le(e,(s,l)=>{if(!F(s)){r[l]=s;return}s.length!==0&&s.forEach((u,c)=>{r[`${l}[${c}]`]=u})});let i="";le(r,(s,l)=>{s===null||s===[]||(i&&(i+="&"),i+=`${l}=${s}`)}),i&&(i="?"+i);const o=window.location.pathname+i;if(!n)return m.replaceUrlOfCurrentPage(o);m.replace(o).then(()=>{typeof t<"u"&&t&&a.nextTick(()=>{document.querySelector(`[name="${t.name}"]`).focus()})})}},render(){return this.$slots.default({columnIsVisible:this.columnIsVisible,columnsAreToggled:this.columnsAreToggled,debounceUpdateQuery:this.debounceUpdateQuery,disableSearchInput:this.disableSearchInput,hasForcedVisibleSearchInputs:this.hasForcedVisibleSearchInputs,isForcedVisible:this.isForcedVisible,reset:this.reset,showSearchInput:this.showSearchInput,striped:this.striped,toggleColumn:this.toggleColumn,updateQuery:this.updateQuery,visit:m.visit})}},ed={data(){return{isMounted:!1}},mounted(){this.isMounted=!0}};function td(e,t,n,r,i,o){return i.isMounted?(a.openBlock(),a.createBlock(a.Teleport,a.normalizeProps(a.mergeProps({key:0},e.$attrs)),[a.renderSlot(e.$slots,"default")],16)):a.createCommentVNode("",!0)}const nd=_e(ed,[["render",td]]),rd={props:{autosize:{type:Boolean,required:!1,default:!1},modelValue:{type:[String,Number],required:!1}},data(){return{autosizeInstance:null,element:null}},watch:{modelValue(){!this.autosize||!this.autosizeInstance||import("autosize").then(e=>{a.nextTick(()=>e.default.update(this.element))})}},mounted(){this.element=this.$refs.textarea.querySelector("textarea"),this.autosize&&import("autosize").then(e=>{this.autosizeInstance=e.default(this.element)})},beforeUnmount(){this.autosize&&this.autosizeInstance&&import("autosize").then(e=>{e.default.destroy(this.element)})}},id={ref:"textarea"};function od(e,t,n,r,i,o){return a.openBlock(),a.createElementBlock("div",id,[a.renderSlot(e.$slots,"default")],512)}const ad=_e(rd,[["render",od]]),sd={props:{toastKey:{type:Number,required:!0},autoDismiss:{type:Number,required:!1,default:0}},emits:["dismiss"],data(){return{show:!0}},mounted(){this.autoDismiss&&setTimeout(()=>{this.setShow(!1)},this.autoDismiss*1e3)},methods:{setShow(e){this.show=e},emitDismiss(){this.$emit("dismiss")}},render(){return this.$slots.default({key:this.toastKey,show:this.show,setShow:this.setShow,emitDismiss:this.emitDismiss,TransitionRoot:ke,TransitionChild:De})}},ld=["left-top","center-top","right-top","left-center","center-center","right-center","left-bottom","center-bottom","right-bottom"],ud={computed:{toasts:function(){return m.toastsReversed.value},hasBackdrop:function(){return m.toasts.value.filter(e=>!e.dismissed&&e.backdrop&&e.html).length>0}},methods:{dismissToast(e){m.dismissToast(e)}},render(){return this.$slots.default({positions:ld,toasts:this.toasts,dismissToast:this.dismissToast,hasBackdrop:this.hasBackdrop,Render:J,TransitionRoot:ke,TransitionChild:De})}},cd={props:{default:{type:Object,required:!0}},data(){return{toggles:{...this.default}}},methods:{toggled(e){var t;return(t=this.toggles[e])!=null?t:!1},toggle(e){this.setToggle(e,!this.toggled(e))},setToggle(e,t){this.toggles[e]=t}},render(){const e=this;return this.$slots.default(new Proxy({},{ownKeys(){return Object.keys(e.toggles)},get(t,n){const r=Object.keys(e.toggles);if(r.length===1&&ci(r)==="default"){if(n==="toggled")return e.toggled("default");if(n==="setToggle")return i=>{e.setToggle("default",i)};if(n==="toggle")return()=>{e.toggle("default")}}return n==="setToggle"?(i,o)=>{e.setToggle(i,o)}:n==="toggle"?i=>{e.toggle(i)}:e.toggled(n)}}))}},fd={render(){return this.$slots.default({TransitionRoot:ke,TransitionChild:De})}},kn={injectCSS(e){const t=document.createElement("style");t.type="text/css",t.textContent=` +`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var f={placement:ne(t.placement),variation:Me(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,li(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,li(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Lu={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qu,data:{}};function Fu(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!H(o)||!X(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(s){var l=i[s];l===!1?o.removeAttribute(s):o.setAttribute(s,l===!0?"":l)}))})}function Mu(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=s.reduce(function(u,c){return u[c]="",u},{});!H(i)||!X(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(u){i.removeAttribute(u)}))})}}var Ru=[Cu,ku,Lu,{name:"applyStyles",enabled:!0,phase:"write",fn:Fu,effect:Mu,requires:["computeStyles"]}],Nu=Iu({defaultModifiers:Ru});function Vu(e){return e==="x"?"y":"x"}function _t(e,t,r){return $e(e,bt(t,r))}function Hu(e,t,r){var n=_t(e,t,r);return n>r?r:n}function Uu(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,s=r.altAxis,l=s===void 0?!1:s,u=r.boundary,c=r.rootBoundary,f=r.altBoundary,d=r.padding,h=r.tether,p=h===void 0?!0:h,v=r.tetherOffset,b=v===void 0?0:v,w=xr(t,{boundary:u,rootBoundary:c,padding:d,altBoundary:f}),x=ne(t.placement),A=Me(t.placement),I=!A,E=ri(x),O=Vu(E),g=t.modifiersData.popperOffsets,y=t.rects.reference,S=t.rects.popper,_=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,T=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(!!g){if(o){var j,D=E==="y"?z:re,M=E==="y"?Q:pe,L=E==="y"?"height":"width",F=g[E],Ct=F+w[D],xe=F-w[M],Bt=p?-S[L]/2:0,Dr=A===Fe?y[L]:S[L],tt=A===Fe?-S[L]:-y[L],kt=t.elements.arrow,Re=p&&kt?Xn(kt):{width:0,height:0},me=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ii(),rt=me[D],jt=me[M],Ae=_t(0,y[L],Re[L]),qr=I?y[L]/2-Bt-Ae-rt-T.mainAxis:Dr-Ae-rt-T.mainAxis,hd=I?-y[L]/2+Bt+Ae+jt+T.mainAxis:tt+Ae+jt+T.mainAxis,Lr=t.elements.arrow&&St(t.elements.arrow),md=Lr?E==="y"?Lr.clientTop||0:Lr.clientLeft||0:0,Li=(j=$==null?void 0:$[E])!=null?j:0,gd=F+qr-Li-md,vd=F+hd-Li,Fi=_t(p?bt(Ct,gd):Ct,F,p?$e(xe,vd):xe);g[E]=Fi,C[E]=Fi-F}if(l){var Mi,yd=E==="x"?z:re,bd=E==="x"?Q:pe,Ie=g[O],Dt=O==="y"?"height":"width",Ri=Ie+w[yd],Ni=Ie-w[bd],Fr=[z,re].indexOf(x)!==-1,Vi=(Mi=$==null?void 0:$[O])!=null?Mi:0,Hi=Fr?Ri:Ie-y[Dt]-S[Dt]-Vi+T.altAxis,Ui=Fr?Ie+y[Dt]+S[Dt]-Vi-T.altAxis:Ni,Wi=p&&Fr?Hu(Hi,Ie,Ui):_t(p?Hi:Ri,Ie,p?Ui:Ni);g[O]=Wi,C[O]=Wi-Ie}t.modifiersData[n]=C}}const Wu={name:"preventOverflow",enabled:!0,phase:"main",fn:Uu,requiresIfExists:["offset"]};var zu={left:"right",right:"left",bottom:"top",top:"bottom"};function Tt(e){return e.replace(/left|right|bottom|top/g,function(t){return zu[t]})}var Gu={start:"end",end:"start"};function ui(e){return e.replace(/start|end/g,function(t){return Gu[t]})}function Ku(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,s=r.padding,l=r.flipVariations,u=r.allowedAutoPlacements,c=u===void 0?nu:u,f=Me(n),d=f?l?Zn:Zn.filter(function(v){return Me(v)===f}):$t,h=d.filter(function(v){return c.indexOf(v)>=0});h.length===0&&(h=d,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var p=h.reduce(function(v,b){return v[b]=xr(e,{placement:b,boundary:i,rootBoundary:o,padding:s})[ne(b)],v},{});return Object.keys(p).sort(function(v,b){return p[v]-p[b]})}function Xu(e){if(ne(e)===Ot)return[];var t=Tt(e);return[ui(e),t,ui(t)]}function Qu(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,s=r.altAxis,l=s===void 0?!0:s,u=r.fallbackPlacements,c=r.padding,f=r.boundary,d=r.rootBoundary,h=r.altBoundary,p=r.flipVariations,v=p===void 0?!0:p,b=r.allowedAutoPlacements,w=t.options.placement,x=ne(w),A=x===w,I=u||(A||!v?[Tt(w)]:Xu(w)),E=[w].concat(I).reduce(function(Re,me){return Re.concat(ne(me)===Ot?Ku(t,{placement:me,boundary:f,rootBoundary:d,padding:c,flipVariations:v,allowedAutoPlacements:b}):me)},[]),O=t.rects.reference,g=t.rects.popper,y=new Map,S=!0,_=E[0],T=0;T=0,M=D?"width":"height",L=xr(t,{placement:$,boundary:f,rootBoundary:d,altBoundary:h,padding:c}),F=D?j?pe:re:j?Q:z;O[M]>g[M]&&(F=Tt(F));var Ct=Tt(F),xe=[];if(o&&xe.push(L[C]<=0),l&&xe.push(L[F]<=0,L[Ct]<=0),xe.every(function(Re){return Re})){_=$,S=!1;break}y.set($,xe)}if(S)for(var Bt=v?3:1,Dr=function(me){var rt=E.find(function(jt){var Ae=y.get(jt);if(Ae)return Ae.slice(0,me).every(function(qr){return qr})});if(rt)return _=rt,"break"},tt=Bt;tt>0;tt--){var kt=Dr(tt);if(kt==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}const Yu={name:"flip",enabled:!0,phase:"main",fn:Qu,requiresIfExists:["offset"],data:{_skip:!1}},_e=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r},Ju={components:{OnClickOutside:Gn},props:{spladeId:{type:String,required:!0},placement:{type:String,default:"bottom-start",required:!1},strategy:{type:String,default:"absolute",required:!1},inline:{type:Boolean,default:!1,required:!1},disabled:{type:Boolean,default:!1,required:!1},teleport:{type:Boolean,default:!1,required:!1},closeOnClick:{type:Boolean,default:!1,required:!1}},data(){return{opened:!1,popper:null}},computed:{buttonStyle(){return this.inline?{display:"inline"}:{}},wrapperStyle(){const e={position:"relative"};return this.inline&&(e.display="inline"),e}},watch:{opened(){this.popper.update()}},mounted:async function(){this.teleport&&await a.nextTick();const e=this.teleport?document.querySelector(`div[data-splade-dropdown-id="${this.spladeId}"]`):this.$refs.tooltip.children[0];this.popper=Nu(this.$refs.button,e,{placement:this.placement,modifiers:[Yu,Wu],strategy:this.strategy})},methods:{toggle(){this.opened=!this.opened},hide(){this.opened=!1}}},Zu={ref:"tooltip"};function ec(e,t,r,n,i,o){const s=a.resolveComponent("OnClickOutside");return a.openBlock(),a.createBlock(s,{style:a.normalizeStyle(o.wrapperStyle),do:o.hide,opened:i.opened,"ignore-inner-targets":!r.closeOnClick},{default:a.withCtx(()=>[a.createElementVNode("div",{ref:"button",style:a.normalizeStyle(o.buttonStyle)},[a.renderSlot(e.$slots,"button",{toggle:o.toggle,disabled:r.disabled})],4),a.createElementVNode("div",Zu,[a.renderSlot(e.$slots,"default",{hide:o.hide,opened:i.opened})],512)]),_:3},8,["style","do","opened","ignore-inner-targets"])}const tc=_e(Ju,[["render",ec]]),rc={__name:"DynamicHtml",props:{keepAliveKey:{type:String,required:!0},name:{type:String,required:!0}},setup(e){const t=a.inject("$splade")||{},r=a.inject("$spladeOptions")||{};return(n,i)=>a.unref(t).isSsr?(a.openBlock(),a.createBlock(J,{key:e.keepAliveKey,html:a.unref(t).htmlForDynamicComponent(e.name)},null,8,["html"])):(a.openBlock(),a.createBlock(a.KeepAlive,{key:0,max:a.unref(r).max_keep_alive},[(a.openBlock(),a.createBlock(J,{key:e.keepAliveKey,html:a.unref(t).htmlForDynamicComponent(e.name)},null,8,["html"]))],1032,["max"]))}};function ci(e){return e&&e.length?e[0]:void 0}const nc={inject:["stack"],computed:{values(){return m.validationErrors(this.stack)}},render(){const e=this;return this.$slots.default({has(t){return N(e.values,t)},first(t){return ci(e.values[t]||[])},all:{...this.values},...this.values})}},ic={props:{private:{type:Boolean,required:!1,default:!1},channel:{type:String,required:!0},listeners:{type:Array,required:!0}},data(){return{subscribed:!1,subscription:null,subscriptions:[],events:[]}},beforeUnmount(){this.subscription&&(window.Echo.leave(this.subscription.subscription.name),this.subscription=null,this.subscriptions=[])},mounted(){this.subscription=this.private?window.Echo.private(this.channel):window.Echo.channel(this.channel),this.subscription.on("pusher:subscription_succeeded",()=>{this.subscribed=!0}),this.listeners.forEach(e=>{const t=this.subscription.listen(e,r=>{const n="splade.redirect",i="splade.refresh",o="splade.toast";let s=null,l=!1,u=[];le(r,c=>{!K(c)||(n in c&&(s=c[n]),i in c&&(l=c[i]),o in c&&u.push(c))}),s?m.visit(s):l?m.refresh():this.events.push({name:e,data:r}),u.length>0&&u.forEach(c=>{m.pushToast(c)}),this.$root.$emit(`event.${e}`,r)});this.subscriptions.push(t)})},render(){return this.$slots.default({subscribed:this.subscribed,events:this.events})}},oc={props:{form:{type:Object,required:!0},field:{type:String,required:!0},multiple:{type:Boolean,required:!0}},data(){return{filenames:[]}},methods:{handleFileInput(e){const t=Object.values(e.target.files);this.form.$put(this.field,this.multiple?t:t[0]),this.filenames=[],t.forEach(r=>{this.filenames.push(r.name)})}}},ac={ref:"file"};function sc(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",ac,[a.renderSlot(e.$slots,"default",{handleFileInput:o.handleFileInput,filenames:i.filenames})],512)}const lc=_e(oc,[["render",sc]]),uc={inject:["stack"],computed:{values(){return m.flashData(this.stack)}},render(){const e=this;return this.$slots.default({has(t){return N(e.values,t)},...this.values})}};function fi(e,t,r){e=e||{},t=t||new FormData,r=r||null;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&pi(t,di(r,n),e[n]);return t}function di(e,t){return e?e+"["+t+"]":t}function pi(e,t,r){if(Array.isArray(r))return Array.from(r.keys()).forEach(n=>pi(e,di(t,n.toString()),r[n]));if(r instanceof Date)return e.append(t,r.toISOString());if(r instanceof File)return e.append(t,r,r.name);if(r instanceof Blob)return e.append(t,r);if(typeof r=="boolean")return e.append(t,r?"1":"0");if(typeof r=="string")return e.append(t,r);if(typeof r=="number")return e.append(t,`${r}`);if(r==null)return e.append(t,"");fi(r,e,t)}function cc(){this.__data__=new Z,this.size=0}function fc(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function dc(e){return this.__data__.get(e)}function pc(e){return this.__data__.has(e)}var hc=200;function mc(e,t){var r=this.__data__;if(r instanceof Z){var n=r.__data__;if(!We||n.lengthl))return!1;var c=o.get(e),f=o.get(t);if(c&&f)return c==t&&f==e;var d=-1,h=!0,p=r&Oc?new xt:void 0;for(o.set(e,t),o.set(t,e);++d-1?i[o?t[s]:s]:void 0}}function _f(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o({})},confirm:{type:[Boolean,String],required:!1,default:!1},confirmText:{type:String,required:!1,default:""},confirmButton:{type:String,required:!1,default:""},cancelButton:{type:String,required:!1,default:""},stay:{type:Boolean,require:!1,default:!1},restoreOnSuccess:{type:Boolean,required:!1,default:!0},resetOnSuccess:{type:Boolean,required:!1,default:!1},scrollOnError:{type:Boolean,required:!1,default:!0}},emits:["success","error"],data(){return{missingAttributes:[],values:Object.assign({},{...this.default}),processing:!1,wasSuccessful:!1,recentlySuccessful:!1,recentlySuccessfulTimeoutId:null,formElement:null}},computed:{$all(){return this.values},rawErrors(){return m.validationErrors(this.stack)},errors(){return ji(this.rawErrors,e=>e.join(` +`))}},mounted(){let e=document.querySelector(`form[data-splade-id="${this.spladeId}"]`);e||(e=document),this.formElement=e,this.missingAttributes.forEach(t=>{let r="";const n=e.querySelector(`[name="${t}"]`);n?r=n.type==="checkbox"?!1:"":e.querySelector(`[name="${t}[]"]`)?r=[]:(e.querySelector(`[name^="${t}."]`)||e.querySelector(`[name^="${t}["]`))&&(r={}),this.$put(t,r)}),this.missingAttributes=[]},methods:{hasError(e){return e in this.errors},reset(){this.values={}},restore(){this.values=Object.assign({},{...this.default})},$put(e,t){return Un(this.values,e,t)},focusAndScrollToElement(e){let t=!0;if(e._flatpickr&&(t=!1),e.tagName==="SELECT"&&e.getAttribute("data-choice")&&(t=!1),t){const r=new IntersectionObserver(n=>{let[i]=n;i.isIntersecting&&(setTimeout(()=>i.target.focus(),150),r.disconnect())});r.observe(e)}e.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})},submit(e){if(e){const t=e.submitter;t&&t.name&&this.$put(t.name,t.value)}if(!this.confirm)return this.request();m.confirm(ki(this.confirm)?"":this.confirm,this.confirmText,this.confirmButton,this.cancelButton).then(()=>{this.request()}).catch(()=>{})},async request(){await this.$nextTick(),this.processing=!0,this.wasSuccessful=!1,this.recentlySuccessful=!1,clearTimeout(this.recentlySuccessfulTimeoutId);const e=this.values instanceof FormData?this.values:fi(this.values),t={Accept:"application/json"};this.stay&&(t["X-Splade-Prevent-Refresh"]=!0),m.request(this.action,this.method.toUpperCase(),e,t).then(r=>{this.$emit("success",r),this.restoreOnSuccess&&this.restore(),this.resetOnSuccess&&this.reset(),this.processing=!1,this.wasSuccessful=!0,this.recentlySuccessful=!0,this.recentlySuccessfulTimeoutId=setTimeout(()=>this.recentlySuccessful=!1,2e3)}).catch(async r=>{if(this.processing=!1,this.$emit("error",r),!this.scrollOnError)return;await this.$nextTick();const n=Bi(Object.keys(this.errors),i=>this.formElement.querySelector(`[data-validation-key="${i}"]`));n&&this.focusAndScrollToElement(this.formElement.querySelector(`[data-validation-key="${n}"]`))})}},render(){const e=this;return this.$slots.default(new Proxy({},{ownKeys(){return Object.keys(e.values)},get(t,r){return["$all","$attrs","$put","errors","restore","reset","hasError","processing","rawErrors","submit","wasSuccessful","recentlySuccessful"].includes(r)?e[r]:(N(e.values,r)||(e.missingAttributes.push(r),e.$put(r,"")),vr(e.values,r))},set(t,r,n){return e.$put(r,n)}}))}},kf={props:{flatpickr:{type:[Boolean,Object],required:!1,default:!1},jsFlatpickrOptions:{type:Object,required:!1,default:()=>({})},modelValue:{type:[String,Number],required:!1}},emits:["update:modelValue"],data(){return{disabled:!1,element:null,flatpickrInstance:null,observer:null}},watch:{modelValue(e){this.flatpickrInstance&&this.flatpickrInstance.setDate(e)}},mounted(){this.element=this.$refs.input.querySelector("input"),this.flatpickr&&this.initFlatpickr(this.element),this.disabled=this.element.disabled;const e=this;this.observer=new MutationObserver(function(t){t.forEach(function(r){r.attributeName==="disabled"&&(e.disabled=r.target.disabled)})}),this.observer.observe(this.element,{attributes:!0})},beforeUnmount(){this.observer.disconnect(),this.flatpickrInstance&&this.flatpickrInstance.destroy()},methods:{initFlatpickr(e){import("flatpickr").then(t=>{this.flatpickrInstance=t.default(e,Object.assign({},this.flatpickr,this.jsFlatpickrOptions,{onChange:(r,n)=>{n!=this.modelValue&&this.$emit("update:modelValue",n)}})),this.modelValue&&this.flatpickrInstance.setDate(this.modelValue)})}}},jf={ref:"input"};function Df(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",jf,[a.renderSlot(e.$slots,"default",{disabled:i.disabled})],512)}const qf=_e(kf,[["render",Df]]),Lf={components:{Render:J},props:{name:{type:String,required:!0},url:{type:String,required:!1,default(){return m.isSsr?"":window.location.href}},show:{type:Boolean,required:!1,default:!0}},data(){return{html:null}},watch:{show(e){e?this.request():this.html=null}},mounted(){this.show&&this.request()},methods:{async request(){this.html=null,m.lazy(this.url,this.name).then(e=>{this.html=e.data.html})}}};function Ff(e,t,r,n,i,o){const s=a.resolveComponent("Render");return i.html?(a.openBlock(),a.createBlock(s,{key:0,html:i.html},null,8,["html"])):r.show?a.renderSlot(e.$slots,"default",{key:1}):a.createCommentVNode("",!0)}const Mf=_e(Lf,[["render",Ff]]),Rf=["href","onClick"],Nf={__name:"Link",props:{href:{type:String,required:!0},replace:{type:Boolean,required:!1,default:!1},confirm:{type:[Boolean,String],required:!1,default:!1},confirmText:{type:String,required:!1,default:""},confirmButton:{type:String,required:!1,default:""},cancelButton:{type:String,required:!1,default:""},modal:{type:Boolean,required:!1,default:!1},slideover:{type:Boolean,required:!1,default:!1}},setup(e){const t=e;function r(){if(!t.confirm)return n();m.confirm(ki(t.confirm)?"":t.confirm,t.confirmText,t.confirmButton,t.cancelButton).then(()=>{n()}).catch(()=>{})}function n(){if(t.modal)return m.modal(t.href);if(t.slideover)return m.slideover(t.href);t.replace?m.replace(t.href):m.visit(t.href)}return(i,o)=>(a.openBlock(),a.createElementBlock("a",{href:e.href,onClick:a.withModifiers(r,["prevent"])},[a.renderSlot(i.$slots,"default")],8,Rf))}},Vf={provide(){return{stack:this.stack}},props:{closeButton:{type:Boolean,required:!1,default:!0},type:{type:String,required:!0},stack:{type:Number,required:!0},onTopOfStack:{type:Boolean,required:!1,default:!1},maxWidth:{type:String,required:!1,default:e=>e.type==="modal"?"2xl":"md"}},emits:["close"],data(){return{isOpen:!1}},mounted(){this.setIsOpen(!0)},methods:{emitClose(){this.$emit("close")},close(){this.setIsOpen(!1)},setIsOpen(e){this.isOpen=e}},render(){return this.$slots.default({type:this.type,isOpen:this.isOpen,setIsOpen:this.setIsOpen,close:this.close,stack:this.stack,onTopOfStack:this.onTopOfStack,maxWidth:this.maxWidth,emitClose:this.emitClose,closeButton:this.closeButton,Dialog:fr,DialogPanel:dr,TransitionRoot:De,TransitionChild:je})}},Hf={inject:["stack"],props:{choices:{type:[Boolean,Object],required:!1,default:!1},jsChoicesOptions:{type:Object,required:!1,default:()=>({})},multiple:{type:Boolean,required:!1,default:!1},modelValue:{type:[String,Number,Array],required:!1},placeholder:{type:Boolean,required:!1,default:!1}},emits:["update:modelValue"],data(){return{choicesInstance:null,element:null,placeholderText:null,headlessListener:null}},computed:{hasSelection(){return this.multiple?Array.isArray(this.model)?this.model.length>0:!1:!(this.model===null||this.model==="")}},watch:{modelValue(e,t){if(this.choicesInstance){if(JSON.stringify(e)==JSON.stringify(t))return;this.setValueOnChoices(e)}}},mounted(){this.element=this.$refs.select.querySelector("select"),this.choices&&this.initChoices(this.element)},beforeUnmount(){var e;this.choices&&this.choicesInstance&&(this.headlessListener&&((e=document.querySelector("#headlessui-portal-root"))==null||e.removeEventListener("click",this.headlessListener)),this.choicesInstance.destroy())},methods:{setValueOnChoices(e){Array.isArray(e)&&this.choicesInstance.removeActiveItems(),e===null&&(e=""),this.choicesInstance.setChoiceByValue(e),this.updateHasSelectionAttribute(),this.handlePlaceholderVisibility()},getItemOfCurrentModel(){const e=this.modelValue;return Bi(this.choicesInstance._store.choices,t=>t.value==e)},handlePlaceholderVisibility(){if(!this.multiple)return;const e=this.choicesInstance.containerInner.element.querySelector("input.choices__input");this.placeholderText=e.placeholder?e.placeholder:this.placeholderText;const t=this.choicesInstance.getValue().length;e.placeholder=t?"":this.placeholderText?this.placeholderText:"",e.style.minWidth="0",e.style.width=t?"1px":"auto",e.style.paddingTop=t?"0px":"1px",e.style.paddingBottom=t?"0px":"1px"},initChoices(e){const t=Array.from(e.querySelectorAll("option:not([placeholder])")).length,r=this;import("choices.js").then(n=>{const i=Object.assign({},this.choices,this.jsChoicesOptions);r.choicesInstance=new n.default(e,i),r.stack>0&&(r.headlessListener=function(o){o.target===e&&r.choicesInstance.showDropdown()},document.querySelector("#headlessui-portal-root").addEventListener("click",r.headlessListener,{capture:!0})),this.choicesInstance.containerInner.element.setAttribute("data-select-name",e.name),this.handlePlaceholderVisibility(),this.updateHasSelectionAttribute(),e.addEventListener("change",function(){if(r.$emit("update:modelValue",r.choicesInstance.getValue(!0)),!r.multiple||t<1)return;r.choicesInstance.getValue().length>=t&&r.choicesInstance.hideDropdown()}),e.addEventListener("showDropdown",function(){if(r.multiple||!r.modelValue)return;const o=r.getItemOfCurrentModel(),s=r.choicesInstance.dropdown.element.querySelector(`.choices__item[data-id="${o.id}"]`);r.choicesInstance.choiceList.scrollToChildElement(s,1),r.choicesInstance._highlightChoice(s)}),this.setValueOnChoices(this.modelValue)})},updateHasSelectionAttribute(){this.choicesInstance.containerInner.element.setAttribute("data-has-selection",this.hasSelection)}}},Uf={ref:"select"};function Wf(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",Uf,[a.renderSlot(e.$slots,"default")],512)}const zf=_e(Hf,[["render",Wf]]),Gf={inject:["stack"],render(){const e=m.validationErrors(this.stack),t=m.flashData(this.stack),r=m.sharedData.value,n=ji(e,i=>i.join(` +`));return this.$slots.default({flash:t,errors:n,rawErrors:e,shared:r,hasError(i){return i in e},hasFlash(i){return N(t,i)},hasShared(i){return N(r,i)},hasErrors:Object.keys(e).length>0})}};function Di(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}function Kf(e,t,r){e=Jt(e),t=dt(t);var n=e.length;r=r===void 0?n:Di(kr(r),0,n);var i=r;return r-=t.length,r>=0&&e.slice(r,i)==t}function Xf(e,t){var r=[];return Nt(e,function(n,i,o){t(n,i,o)&&r.push(n)}),r}function Qf(e,t){var r=q(e)?vi:Xf;return r(e,et(t))}function qi(e,t){return It(e,t)}function Yf(e,t){var r=-1,n=nt(e)?Array(e.length):[];return Nt(e,function(i,o,s){n[++r]=t(i,o,s)}),n}function Jf(e,t){var r=q(e)?yn:Yf;return r(e,et(t))}function Pt(e,t,r){return e=Jt(e),r=r==null?0:Di(kr(r),0,e.length),t=dt(t),e.slice(r,r+t.length)==t}const Zf={props:{striped:{type:Boolean,required:!1,default:!1},columns:{type:Object,required:!0},defaultVisibleToggleableColumns:{type:Array,required:!0},searchDebounce:{type:Number,required:!1,default:350},itemsOnThisPage:{type:Number,required:!1,default:0},itemsOnAllPages:{type:Number,required:!1,default:0}},data(){return{selectedItems:[],visibleColumns:[],forcedVisibleSearchInputs:[],debounceUpdateQuery:null,isLoading:!1,processingAction:!1}},computed:{columnsAreToggled(){return!qi(this.visibleColumns,this.defaultVisibleToggleableColumns)},hasForcedVisibleSearchInputs(){return this.forcedVisibleSearchInputs.length>0},allItemsFromAllPagesAreSelected(){return this.selectedItems.length===1&&this.selectedItems[0]==="*"},allVisibleItemsAreSelected(){const e=this.selectedItems.length;return e===1&&this.selectedItems[0]==="*"||e>0&&e===this.itemsOnThisPage},hasSelectedItems(){return this.selectedItems.length>0},totalSelectedItems(){const e=this.selectedItems.length;return e===1&&this.selectedItems[0]==="*"?this.itemsOnAllPages:e}},created(){this.debounceUpdateQuery=zn(function(e,t,r){this.updateQuery(e,t,r)},this.searchDebounce)},mounted(){const e=this.getCurrentQuery(),t=e.columns||[];le(e,(r,n)=>{if(Pt(n,"filter[")&&!r){const i=n.split("["),o=i[1].substring(0,i[1].length-1);this.forcedVisibleSearchInputs=[...this.forcedVisibleSearchInputs,o]}}),t.length===0?this.visibleColumns=this.defaultVisibleToggleableColumns:this.visibleColumns=t},methods:{visitLink(e,t){return t==="modal"?m.modal(e):t==="slideover"?m.slideover(e):m.visit(e)},reset(){this.forcedVisibleSearchInputs=[],this.visibleColumns=this.defaultVisibleToggleableColumns;let e=this.getCurrentQuery();e.columns=[],e.page=null,e.perPage=null,e.sort=null,le(e,(t,r)=>{Pt(r,"filter[")&&(e[r]=null)}),this.visitWithQueryObject(e,null,!0)},columnIsVisible(e){return this.visibleColumns.includes(e)},toggleColumn(e){const t=!this.columnIsVisible(e),r=Qf(this.columns,i=>i.can_be_hidden?i.key===e?t:this.visibleColumns.includes(i.key):!0);let n=Jf(r,i=>i.key).sort();qi(n,this.defaultVisibleToggleableColumns)&&(n=[]),this.visibleColumns=n.length===0?this.defaultVisibleToggleableColumns:n,this.updateQuery("columns",n,null,!1)},disableSearchInput(e){this.forcedVisibleSearchInputs=this.forcedVisibleSearchInputs.filter(t=>t!=e),this.updateQuery(`filter[${e}]`,null)},showSearchInput(e){this.forcedVisibleSearchInputs=[...this.forcedVisibleSearchInputs,e],a.nextTick(()=>{document.querySelector(`[name="searchInput-${e}"]`).focus()})},isForcedVisible(e){return this.forcedVisibleSearchInputs.includes(e)},getCurrentQuery(){const e=window.location.search;if(!e)return{};let t={};return e.substring(1).split("&").forEach(r=>{const n=decodeURIComponent(r).split("=");let i=n[0];if(!Kf(i,"]")){t[i]=n[1];return}const o=i.split("["),s=o[1].substring(0,o[1].length-1);parseInt(s)==s?(i=o[0],q(t[i])||(t[i]=[]),t[i].push(n[1])):t[i]=n[1]}),t},updateQuery(e,t,r,n){typeof n>"u"&&(n=!0);let i=this.getCurrentQuery();i[e]=t,(Pt(e,"perPage")||Pt(e,"filter["))&&delete i.page,this.visitWithQueryObject(i,r,n)},visitWithQueryObject(e,t,r){var l;typeof r>"u"&&(r=!0);let n={};le(e,(u,c)=>{if(!q(u)){n[c]=u;return}u.length!==0&&u.forEach((f,d)=>{n[`${c}[${d}]`]=f})});let i="";le(n,(u,c)=>{u===null||u===[]||(i&&(i+="&"),i+=`${c}=${u}`)}),i&&(i="?"+i);const o=window.location.pathname+i;if(!r)return m.replaceUrlOfCurrentPage(o);this.isLoading=!0;let s=null;typeof t<"u"&&t&&(s=(l=document.querySelector(`[name="${t.name}"]`))==null?void 0:l.value),m.replace(o).then(()=>{this.isLoading=!1,typeof t<"u"&&t&&a.nextTick(()=>{const u=document.querySelector(`[name="${t.name}"]`);u.focus(),s&&(u.value=s)})})},async performBulkAction(e,t,r,n,i){if(t)try{await m.confirm(t===!0?"":t,r,n,i)}catch{return!1}this.isLoading=!0,m.request(e,"POST",{ids:this.selectedItems},{},!1).then(o=>{o.data}).catch(()=>{this.isLoading=!1})},setSelectedItems(e){this.selectedItems=q(e)?e:[]},itemIsSelected(e){return this.selectedItems.length==1&&this.selectedItems[0]=="*"?!0:this.selectedItems.includes(e)},setSelectedItem(e,t){t?this.selectedItems.push(e):this.selectedItems=this.selectedItems.filter(r=>r!==e)}},render(){return this.$slots.default({columnIsVisible:this.columnIsVisible,columnsAreToggled:this.columnsAreToggled,debounceUpdateQuery:this.debounceUpdateQuery,disableSearchInput:this.disableSearchInput,hasForcedVisibleSearchInputs:this.hasForcedVisibleSearchInputs,isForcedVisible:this.isForcedVisible,reset:this.reset,showSearchInput:this.showSearchInput,striped:this.striped,toggleColumn:this.toggleColumn,updateQuery:this.updateQuery,visit:this.visitLink,totalSelectedItems:this.totalSelectedItems,allItemsFromAllPagesAreSelected:this.allItemsFromAllPagesAreSelected,allVisibleItemsAreSelected:this.allVisibleItemsAreSelected,hasSelectedItems:this.hasSelectedItems,setSelectedItems:this.setSelectedItems,itemIsSelected:this.itemIsSelected,setSelectedItem:this.setSelectedItem,performBulkAction:this.performBulkAction,processingAction:this.processingAction,isLoading:this.isLoading})}},ed={data(){return{isMounted:!1}},mounted(){this.isMounted=!0}};function td(e,t,r,n,i,o){return i.isMounted?(a.openBlock(),a.createBlock(a.Teleport,a.normalizeProps(a.mergeProps({key:0},e.$attrs)),[a.renderSlot(e.$slots,"default")],16)):a.createCommentVNode("",!0)}const rd=_e(ed,[["render",td]]),nd={props:{autosize:{type:Boolean,required:!1,default:!1},modelValue:{type:[String,Number],required:!1}},data(){return{autosizeInstance:null,element:null}},watch:{modelValue(){!this.autosize||!this.autosizeInstance||import("autosize").then(e=>{a.nextTick(()=>e.default.update(this.element))})}},mounted(){this.element=this.$refs.textarea.querySelector("textarea"),this.autosize&&import("autosize").then(e=>{this.autosizeInstance=e.default(this.element)})},beforeUnmount(){this.autosize&&this.autosizeInstance&&import("autosize").then(e=>{e.default.destroy(this.element)})}},id={ref:"textarea"};function od(e,t,r,n,i,o){return a.openBlock(),a.createElementBlock("div",id,[a.renderSlot(e.$slots,"default")],512)}const ad=_e(nd,[["render",od]]),sd={props:{toastKey:{type:Number,required:!0},autoDismiss:{type:Number,required:!1,default:0}},emits:["dismiss"],data(){return{show:!0}},mounted(){this.autoDismiss&&setTimeout(()=>{this.setShow(!1)},this.autoDismiss*1e3)},methods:{setShow(e){this.show=e},emitDismiss(){this.$emit("dismiss")}},render(){return this.$slots.default({key:this.toastKey,show:this.show,setShow:this.setShow,emitDismiss:this.emitDismiss,TransitionRoot:De,TransitionChild:je})}},ld=["left-top","center-top","right-top","left-center","center-center","right-center","left-bottom","center-bottom","right-bottom"],ud={computed:{toasts:function(){return m.toastsReversed.value},hasBackdrop:function(){return m.toasts.value.filter(e=>!e.dismissed&&e.backdrop&&e.html).length>0}},methods:{dismissToast(e){m.dismissToast(e)}},render(){return this.$slots.default({positions:ld,toasts:this.toasts,dismissToast:this.dismissToast,hasBackdrop:this.hasBackdrop,Render:J,TransitionRoot:De,TransitionChild:je})}},cd={props:{default:{type:Object,required:!0}},data(){return{toggles:{...this.default}}},methods:{toggled(e){var t;return(t=this.toggles[e])!=null?t:!1},toggle(e){this.setToggle(e,!this.toggled(e))},setToggle(e,t){this.toggles[e]=t}},render(){const e=this;return this.$slots.default(new Proxy({},{ownKeys(){return Object.keys(e.toggles)},get(t,r){const n=Object.keys(e.toggles);if(n.length===1&&ci(n)==="default"){if(r==="toggled")return e.toggled("default");if(r==="setToggle")return i=>{e.setToggle("default",i)};if(r==="toggle")return()=>{e.toggle("default")}}return r==="setToggle"?(i,o)=>{e.setToggle(i,o)}:r==="toggle"?i=>{e.toggle(i)}:e.toggled(r)}}))}},fd={render(){return this.$slots.default({TransitionRoot:De,TransitionChild:je})}},jr={injectCSS(e){const t=document.createElement("style");t.type="text/css",t.textContent=` #nprogress { pointer-events: none; } @@ -66,4 +66,4 @@ 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } - `,document.head.appendChild(t)},timeout:null,start(e,t,n){kn.timeout=setTimeout(()=>n.start(),t)},progress(e,t){t.isStarted()&&e.detail.progress.percentage&&t.set(Math.max(t.status,e.detail.progress.percentage/100*.9))},stop(e,t){clearTimeout(kn.timeout),t.done(),t.remove()},init(e){const t=this;import("nprogress").then(n=>{document.addEventListener("splade:request",r=>t.start(r,e.delay,n.default)),document.addEventListener("splade:request-progress",r=>t.progress(r,n.default)),document.addEventListener("splade:request-response",r=>t.stop(r,n.default)),document.addEventListener("splade:request-error",r=>t.stop(r,n.default)),n.default.configure({showSpinner:e.spinner}),e.css&&this.injectCSS(e.color)})}},dd={install:(e,t)=>{t=t||{},t.max_keep_alive=N(t,"max_keep_alive")?t.max_keep_alive:10,t.prefix=N(t,"prefix")?t.prefix:"Splade",t.transform_anchors=N(t,"transform_anchors")?t.transform_anchors:!1,t.link_component=N(t,"link_component")?t.link_component:"Link",t.progress_bar=N(t,"progress_bar")?t.progress_bar:!1,t.components=N(t,"components")?t.components:{};const n=t.prefix;if(e.component(`${n}Confirm`,Al).component(`${n}Data`,Dl).component(`${n}Defer`,Gl).component(`${n}Dialog`,Kl).component(`${n}Dropdown`,tc).component(`${n}DynamicHtml`,nc).component(`${n}Errors`,rc).component(`${n}Event`,ic).component(`${n}File`,lc).component(`${n}Flash`,uc).component(`${n}Form`,Bf).component(`${n}Input`,qf).component(`${n}Lazy`,Rf).component(`${n}Modal`,Vf).component(`${n}OnClickOutside`,Gr).component(`${n}Render`,J).component(`${n}Select`,zf).component(`${n}State`,Gf).component(`${n}Table`,Zf).component(`${n}Teleport`,nd).component(`${n}Textarea`,ad).component(`${n}Toast`,sd).component(`${n}Toasts`,ud).component(`${n}Toggle`,cd).component(`${n}Transition`,fd).component(t.link_component,Nf),Object.defineProperty(e.config.globalProperties,"$splade",{get:()=>m}),Object.defineProperty(e.config.globalProperties,"$spladeOptions",{get:()=>Object.assign({},{...t})}),e.provide("$splade",e.config.globalProperties.$splade),e.provide("$spladeOptions",e.config.globalProperties.$spladeOptions),t.progress_bar){const r={delay:250,color:"#4B5563",css:!0,spinner:!1};K(t.progress_bar)||(t.progress_bar={}),["delay","color","css","spinner"].forEach(i=>{N(t.progress_bar,i)||(t.progress_bar[i]=r[i])}),kn.init(t.progress_bar)}le(t.components,(r,i)=>{e.component(i,r)})}};function pd(e,t,n){const r={};process.argv.slice(2).forEach(o=>{const s=o.replace(/^-+/,"").split("=");r[s[0]]=s.length===2?s[1]:!0});const i=r.port||9e3;e(async(o,s)=>{if(o.method=="POST"){let l="";o.on("data",u=>l+=u),o.on("end",async()=>{const u=JSON.parse(l),c=n({components:u.components,initialDynamics:u.dynamics,initialHtml:u.html,initialSpladeData:u.splade}),f=await t(c);s.writeHead(200,{"Content-Type":"application/json",Server:"Splade SSR"}),s.write(JSON.stringify({body:f})),s.end()})}}).listen(i,()=>console.log(`Splade SSR server started on port ${i}.`))}B.Splade=m,B.SpladeApp=gr,B.SpladePlugin=dd,B.renderSpladeApp=Ha,B.startServer=pd,Object.defineProperties(B,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); + `,document.head.appendChild(t)},timeout:null,start(e,t,r){jr.timeout=setTimeout(()=>r.start(),t)},progress(e,t){t.isStarted()&&e.detail.progress.percentage&&t.set(Math.max(t.status,e.detail.progress.percentage/100*.9))},stop(e,t){clearTimeout(jr.timeout),t.done(),t.remove()},init(e){const t=this;import("nprogress").then(r=>{document.addEventListener("splade:request",n=>t.start(n,e.delay,r.default)),document.addEventListener("splade:request-progress",n=>t.progress(n,r.default)),document.addEventListener("splade:request-response",n=>t.stop(n,r.default)),document.addEventListener("splade:request-error",n=>t.stop(n,r.default)),r.default.configure({showSpinner:e.spinner}),e.css&&this.injectCSS(e.color)})}},dd={install:(e,t)=>{t=t||{},t.max_keep_alive=N(t,"max_keep_alive")?t.max_keep_alive:10,t.prefix=N(t,"prefix")?t.prefix:"Splade",t.transform_anchors=N(t,"transform_anchors")?t.transform_anchors:!1,t.link_component=N(t,"link_component")?t.link_component:"Link",t.progress_bar=N(t,"progress_bar")?t.progress_bar:!1,t.components=N(t,"components")?t.components:{};const r=t.prefix;if(e.component(`${r}Confirm`,Al).component(`${r}Data`,jl).component(`${r}Defer`,Gl).component(`${r}Dialog`,Kl).component(`${r}Dropdown`,tc).component(`${r}DynamicHtml`,rc).component(`${r}Errors`,nc).component(`${r}Event`,ic).component(`${r}File`,lc).component(`${r}Flash`,uc).component(`${r}Form`,Bf).component(`${r}Input`,qf).component(`${r}Lazy`,Mf).component(`${r}Modal`,Vf).component(`${r}OnClickOutside`,Gn).component(`${r}Render`,J).component(`${r}Select`,zf).component(`${r}State`,Gf).component(`${r}Table`,Zf).component(`${r}Teleport`,rd).component(`${r}Textarea`,ad).component(`${r}Toast`,sd).component(`${r}Toasts`,ud).component(`${r}Toggle`,cd).component(`${r}Transition`,fd).component(t.link_component,Nf),Object.defineProperty(e.config.globalProperties,"$splade",{get:()=>m}),Object.defineProperty(e.config.globalProperties,"$spladeOptions",{get:()=>Object.assign({},{...t})}),e.provide("$splade",e.config.globalProperties.$splade),e.provide("$spladeOptions",e.config.globalProperties.$spladeOptions),t.progress_bar){const n={delay:250,color:"#4B5563",css:!0,spinner:!1};K(t.progress_bar)||(t.progress_bar={}),["delay","color","css","spinner"].forEach(i=>{N(t.progress_bar,i)||(t.progress_bar[i]=n[i])}),jr.init(t.progress_bar)}le(t.components,(n,i)=>{e.component(i,n)})}};function pd(e,t,r){const n={};process.argv.slice(2).forEach(o=>{const s=o.replace(/^-+/,"").split("=");n[s[0]]=s.length===2?s[1]:!0});const i=n.port||9e3;e(async(o,s)=>{if(o.method=="POST"){let l="";o.on("data",u=>l+=u),o.on("end",async()=>{const u=JSON.parse(l),c=r({components:u.components,initialDynamics:u.dynamics,initialHtml:u.html,initialSpladeData:u.splade}),f=await t(c);s.writeHead(200,{"Content-Type":"application/json",Server:"Splade SSR"}),s.write(JSON.stringify({body:f})),s.end()})}}).listen(i,()=>console.log(`Splade SSR server started on port ${i}.`))}B.Splade=m,B.SpladeApp=gn,B.SpladePlugin=dd,B.renderSpladeApp=Ha,B.startServer=pd,Object.defineProperties(B,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}); diff --git a/package-lock.json b/package-lock.json index 67b61514..03a23935 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@protonemedia/laravel-splade", - "version": "0.5.11", + "version": "0.6.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@protonemedia/laravel-splade", - "version": "0.5.11", + "version": "0.6.0", "license": "MIT", "dependencies": { "autosize": "^5.0.1", @@ -37,9 +37,9 @@ "dev": true }, "node_modules/@babel/parser": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.3.tgz", - "integrity": "sha512-pJ9xOlNWHiy9+FuFP09DEAFbAn4JskgRsVcc169w2xRBC3FRGuQEwjeIMMND9L2zc0iEhO/tGv4Zq+km+hxNpQ==", + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.4.tgz", + "integrity": "sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA==", "peer": true, "bin": { "parser": "bin/babel-parser.js" @@ -49,9 +49,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz", - "integrity": "sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA==", + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz", + "integrity": "sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA==", "dependencies": { "regenerator-runtime": "^0.13.4" }, @@ -60,9 +60,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.15.10.tgz", - "integrity": "sha512-FNONeQPy/ox+5NBkcSbYJxoXj9GWu8gVGJTVmUyoOCKQFDTrHVKgNSzChdNt0I8Aj/iKcsDf2r9BFwv+FSNUXg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.15.11.tgz", + "integrity": "sha512-PzMcQLazLBkwDEkrNPi9AbjFt6+3I7HKbiYF2XtWQ7wItrHvEOeO3T8Am434zAozWtVP7lrTue1bEfc2nYWeCA==", "cpu": [ "arm" ], @@ -76,9 +76,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.10.tgz", - "integrity": "sha512-w0Ou3Z83LOYEkwaui2M8VwIp+nLi/NA60lBLMvaJ+vXVMcsARYdEzLNE7RSm4+lSg4zq4d7fAVuzk7PNQ5JFgg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.11.tgz", + "integrity": "sha512-geWp637tUhNmhL3Xgy4Bj703yXB9dqiLJe05lCUfjSFDrQf9C/8pArusyPUbUbPwlC/EAUjBw32sxuIl/11dZw==", "cpu": [ "loong64" ], @@ -92,9 +92,9 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.2.tgz", - "integrity": "sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz", + "integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==", "dev": true, "dependencies": { "ajv": "^6.12.4", @@ -140,16 +140,6 @@ "node": ">=10.10.0" } }, - "node_modules/@humanwhocodes/gitignore-to-minimatch": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz", - "integrity": "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, "node_modules/@humanwhocodes/module-importer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", @@ -228,13 +218,13 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.40.tgz", - "integrity": "sha512-2Dc3Stk0J/VyQ4OUr2yEC53kU28614lZS+bnrCbFSAIftBJ40g/2yQzf4mPBiFuqguMB7hyHaujdgZAQ67kZYA==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.41.tgz", + "integrity": "sha512-oA4mH6SA78DT+96/nsi4p9DX97PHcNROxs51lYk7gb9Z4BPKQ3Mh+BLn6CQZBw857Iuhu28BfMSRHAlPvD4vlw==", "peer": true, "dependencies": { "@babel/parser": "^7.16.4", - "@vue/shared": "3.2.40", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "source-map": "^0.6.1" } @@ -249,27 +239,27 @@ } }, "node_modules/@vue/compiler-dom": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.40.tgz", - "integrity": "sha512-OZCNyYVC2LQJy4H7h0o28rtk+4v+HMQygRTpmibGoG9wZyomQiS5otU7qo3Wlq5UfHDw2RFwxb9BJgKjVpjrQw==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.41.tgz", + "integrity": "sha512-xe5TbbIsonjENxJsYRbDJvthzqxLNk+tb3d/c47zgREDa/PCp6/Y4gC/skM4H6PIuX5DAxm7fFJdbjjUH2QTMw==", "peer": true, "dependencies": { - "@vue/compiler-core": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-core": "3.2.41", + "@vue/shared": "3.2.41" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.40.tgz", - "integrity": "sha512-tzqwniIN1fu1PDHC3CpqY/dPCfN/RN1thpBC+g69kJcrl7mbGiHKNwbA6kJ3XKKy8R6JLKqcpVugqN4HkeBFFg==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.41.tgz", + "integrity": "sha512-+1P2m5kxOeaxVmJNXnBskAn3BenbTmbxBxWOtBq3mQTCokIreuMULFantBUclP0+KnzNCMOvcnKinqQZmiOF8w==", "peer": true, "dependencies": { "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.40", - "@vue/compiler-dom": "3.2.40", - "@vue/compiler-ssr": "3.2.40", - "@vue/reactivity-transform": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/compiler-core": "3.2.41", + "@vue/compiler-dom": "3.2.41", + "@vue/compiler-ssr": "3.2.41", + "@vue/reactivity-transform": "3.2.41", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "magic-string": "^0.25.7", "postcss": "^8.1.10", @@ -286,75 +276,75 @@ } }, "node_modules/@vue/compiler-ssr": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.40.tgz", - "integrity": "sha512-80cQcgasKjrPPuKcxwuCx7feq+wC6oFl5YaKSee9pV3DNq+6fmCVwEEC3vvkf/E2aI76rIJSOYHsWSEIxK74oQ==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.41.tgz", + "integrity": "sha512-Y5wPiNIiaMz/sps8+DmhaKfDm1xgj6GrH99z4gq2LQenfVQcYXmHIOBcs5qPwl7jaW3SUQWjkAPKMfQemEQZwQ==", "peer": true, "dependencies": { - "@vue/compiler-dom": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-dom": "3.2.41", + "@vue/shared": "3.2.41" } }, "node_modules/@vue/reactivity": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.40.tgz", - "integrity": "sha512-N9qgGLlZmtUBMHF9xDT4EkD9RdXde1Xbveb+niWMXuHVWQP5BzgRmE3SFyUBBcyayG4y1lhoz+lphGRRxxK4RA==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.41.tgz", + "integrity": "sha512-9JvCnlj8uc5xRiQGZ28MKGjuCoPhhTwcoAdv3o31+cfGgonwdPNuvqAXLhlzu4zwqavFEG5tvaoINQEfxz+l6g==", "peer": true, "dependencies": { - "@vue/shared": "3.2.40" + "@vue/shared": "3.2.41" } }, "node_modules/@vue/reactivity-transform": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.40.tgz", - "integrity": "sha512-HQUCVwEaacq6fGEsg2NUuGKIhUveMCjOk8jGHqLXPI2w6zFoPrlQhwWEaINTv5kkZDXKEnCijAp+4gNEHG03yw==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.41.tgz", + "integrity": "sha512-mK5+BNMsL4hHi+IR3Ft/ho6Za+L3FA5j8WvreJ7XzHrqkPq8jtF/SMo7tuc9gHjLDwKZX1nP1JQOKo9IEAn54A==", "peer": true, "dependencies": { "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/compiler-core": "3.2.41", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "magic-string": "^0.25.7" } }, "node_modules/@vue/runtime-core": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.40.tgz", - "integrity": "sha512-U1+rWf0H8xK8aBUZhnrN97yoZfHbjgw/bGUzfgKPJl69/mXDuSg8CbdBYBn6VVQdR947vWneQBFzdhasyzMUKg==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.41.tgz", + "integrity": "sha512-0LBBRwqnI0p4FgIkO9q2aJBBTKDSjzhnxrxHYengkAF6dMOjeAIZFDADAlcf2h3GDALWnblbeprYYpItiulSVQ==", "peer": true, "dependencies": { - "@vue/reactivity": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/reactivity": "3.2.41", + "@vue/shared": "3.2.41" } }, "node_modules/@vue/runtime-dom": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.40.tgz", - "integrity": "sha512-AO2HMQ+0s2+MCec8hXAhxMgWhFhOPJ/CyRXnmTJ6XIOnJFLrH5Iq3TNwvVcODGR295jy77I6dWPj+wvFoSYaww==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.41.tgz", + "integrity": "sha512-U7zYuR1NVIP8BL6jmOqmapRAHovEFp7CSw4pR2FacqewXNGqZaRfHoNLQsqQvVQ8yuZNZtxSZy0FFyC70YXPpA==", "peer": true, "dependencies": { - "@vue/runtime-core": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/runtime-core": "3.2.41", + "@vue/shared": "3.2.41", "csstype": "^2.6.8" } }, "node_modules/@vue/server-renderer": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.40.tgz", - "integrity": "sha512-gtUcpRwrXOJPJ4qyBpU3EyxQa4EkV8I4f8VrDePcGCPe4O/hd0BPS7v9OgjIQob6Ap8VDz9G+mGTKazE45/95w==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.41.tgz", + "integrity": "sha512-7YHLkfJdTlsZTV0ae5sPwl9Gn/EGr2hrlbcS/8naXm2CDpnKUwC68i1wGlrYAfIgYWL7vUZwk2GkYLQH5CvFig==", "peer": true, "dependencies": { - "@vue/compiler-ssr": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-ssr": "3.2.41", + "@vue/shared": "3.2.41" }, "peerDependencies": { - "vue": "3.2.40" + "vue": "3.2.41" } }, "node_modules/@vue/shared": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.40.tgz", - "integrity": "sha512-0PLQ6RUtZM0vO3teRfzGi4ltLUO5aO+kLgwh4Um3THSR03rpQWLTuRCkuO5A41ITzwdWeKdPHtSARuPkoo5pCQ==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.41.tgz", + "integrity": "sha512-W9mfWLHmJhkfAmV+7gDjcHeAWALQtgGT3JErxULl0oz6R6+3ug91I7IErs93eCFhPCZPHBs4QJS7YWEV7A3sxw==", "peer": true }, "node_modules/acorn": { @@ -717,9 +707,9 @@ } }, "node_modules/esbuild": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.10.tgz", - "integrity": "sha512-N7wBhfJ/E5fzn/SpNgX+oW2RLRjwaL8Y0ezqNqhjD6w0H2p0rDuEz2FKZqpqLnO8DCaWumKe8dsC/ljvVSSxng==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.11.tgz", + "integrity": "sha512-OgHGuhlfZ//mToxjte1D5iiiQgWfJ2GByVMwEC/IuoXsBGkuyK1+KrjYu0laSpnN/L1UmLUCv0s25vObdc1bVg==", "dev": true, "hasInstallScript": true, "bin": { @@ -729,34 +719,34 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.15.10", - "@esbuild/linux-loong64": "0.15.10", - "esbuild-android-64": "0.15.10", - "esbuild-android-arm64": "0.15.10", - "esbuild-darwin-64": "0.15.10", - "esbuild-darwin-arm64": "0.15.10", - "esbuild-freebsd-64": "0.15.10", - "esbuild-freebsd-arm64": "0.15.10", - "esbuild-linux-32": "0.15.10", - "esbuild-linux-64": "0.15.10", - "esbuild-linux-arm": "0.15.10", - "esbuild-linux-arm64": "0.15.10", - "esbuild-linux-mips64le": "0.15.10", - "esbuild-linux-ppc64le": "0.15.10", - "esbuild-linux-riscv64": "0.15.10", - "esbuild-linux-s390x": "0.15.10", - "esbuild-netbsd-64": "0.15.10", - "esbuild-openbsd-64": "0.15.10", - "esbuild-sunos-64": "0.15.10", - "esbuild-windows-32": "0.15.10", - "esbuild-windows-64": "0.15.10", - "esbuild-windows-arm64": "0.15.10" + "@esbuild/android-arm": "0.15.11", + "@esbuild/linux-loong64": "0.15.11", + "esbuild-android-64": "0.15.11", + "esbuild-android-arm64": "0.15.11", + "esbuild-darwin-64": "0.15.11", + "esbuild-darwin-arm64": "0.15.11", + "esbuild-freebsd-64": "0.15.11", + "esbuild-freebsd-arm64": "0.15.11", + "esbuild-linux-32": "0.15.11", + "esbuild-linux-64": "0.15.11", + "esbuild-linux-arm": "0.15.11", + "esbuild-linux-arm64": "0.15.11", + "esbuild-linux-mips64le": "0.15.11", + "esbuild-linux-ppc64le": "0.15.11", + "esbuild-linux-riscv64": "0.15.11", + "esbuild-linux-s390x": "0.15.11", + "esbuild-netbsd-64": "0.15.11", + "esbuild-openbsd-64": "0.15.11", + "esbuild-sunos-64": "0.15.11", + "esbuild-windows-32": "0.15.11", + "esbuild-windows-64": "0.15.11", + "esbuild-windows-arm64": "0.15.11" } }, "node_modules/esbuild-android-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.10.tgz", - "integrity": "sha512-UI7krF8OYO1N7JYTgLT9ML5j4+45ra3amLZKx7LO3lmLt1Ibn8t3aZbX5Pu4BjWiqDuJ3m/hsvhPhK/5Y/YpnA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.11.tgz", + "integrity": "sha512-rrwoXEiuI1kaw4k475NJpexs8GfJqQUKcD08VR8sKHmuW9RUuTR2VxcupVvHdiGh9ihxL9m3lpqB1kju92Ialw==", "cpu": [ "x64" ], @@ -770,9 +760,9 @@ } }, "node_modules/esbuild-android-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.10.tgz", - "integrity": "sha512-EOt55D6xBk5O05AK8brXUbZmoFj4chM8u3riGflLa6ziEoVvNjRdD7Cnp82NHQGfSHgYR06XsPI8/sMuA/cUwg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.11.tgz", + "integrity": "sha512-/hDubOg7BHOhUUsT8KUIU7GfZm5bihqssvqK5PfO4apag7YuObZRZSzViyEKcFn2tPeHx7RKbSBXvAopSHDZJQ==", "cpu": [ "arm64" ], @@ -786,9 +776,9 @@ } }, "node_modules/esbuild-darwin-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.10.tgz", - "integrity": "sha512-hbDJugTicqIm+WKZgp208d7FcXcaK8j2c0l+fqSJ3d2AzQAfjEYDRM3Z2oMeqSJ9uFxyj/muSACLdix7oTstRA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.11.tgz", + "integrity": "sha512-1DqHD0ms3AhiwkKnjRUzmiW7JnaJJr5FKrPiR7xuyMwnjDqvNWDdMq4rKSD9OC0piFNK6n0LghsglNMe2MwJtA==", "cpu": [ "x64" ], @@ -802,9 +792,9 @@ } }, "node_modules/esbuild-darwin-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.10.tgz", - "integrity": "sha512-M1t5+Kj4IgSbYmunf2BB6EKLkWUq+XlqaFRiGOk8bmBapu9bCDrxjf4kUnWn59Dka3I27EiuHBKd1rSO4osLFQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.11.tgz", + "integrity": "sha512-OMzhxSbS0lwwrW40HHjRCeVIJTURdXFA8c3GU30MlHKuPCcvWNUIKVucVBtNpJySXmbkQMDJdJNrXzNDyvoqvQ==", "cpu": [ "arm64" ], @@ -818,9 +808,9 @@ } }, "node_modules/esbuild-freebsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.10.tgz", - "integrity": "sha512-KMBFMa7C8oc97nqDdoZwtDBX7gfpolkk6Bcmj6YFMrtCMVgoU/x2DI1p74DmYl7CSS6Ppa3xgemrLrr5IjIn0w==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.11.tgz", + "integrity": "sha512-8dKP26r0/Qyez8nTCwpq60QbuYKOeBygdgOAWGCRalunyeqWRoSZj9TQjPDnTTI9joxd3QYw3UhVZTKxO9QdRg==", "cpu": [ "x64" ], @@ -834,9 +824,9 @@ } }, "node_modules/esbuild-freebsd-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.10.tgz", - "integrity": "sha512-m2KNbuCX13yQqLlbSojFMHpewbn8wW5uDS6DxRpmaZKzyq8Dbsku6hHvh2U+BcLwWY4mpgXzFUoENEf7IcioGg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.11.tgz", + "integrity": "sha512-aSGiODiukLGGnSg/O9+cGO2QxEacrdCtCawehkWYTt5VX1ni2b9KoxpHCT9h9Y6wGqNHmXFnB47RRJ8BIqZgmQ==", "cpu": [ "arm64" ], @@ -850,9 +840,9 @@ } }, "node_modules/esbuild-linux-32": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.10.tgz", - "integrity": "sha512-guXrwSYFAvNkuQ39FNeV4sNkNms1bLlA5vF1H0cazZBOLdLFIny6BhT+TUbK/hdByMQhtWQ5jI9VAmPKbVPu1w==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.11.tgz", + "integrity": "sha512-lsrAfdyJBGx+6aHIQmgqUonEzKYeBnyfJPkT6N2dOf1RoXYYV1BkWB6G02tjsrz1d5wZzaTc3cF+TKmuTo/ZwA==", "cpu": [ "ia32" ], @@ -866,9 +856,9 @@ } }, "node_modules/esbuild-linux-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.10.tgz", - "integrity": "sha512-jd8XfaSJeucMpD63YNMO1JCrdJhckHWcMv6O233bL4l6ogQKQOxBYSRP/XLWP+6kVTu0obXovuckJDcA0DKtQA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.11.tgz", + "integrity": "sha512-Y2Rh+PcyVhQqXKBTacPCltINN3uIw2xC+dsvLANJ1SpK5NJUtxv8+rqWpjmBgaNWKQT1/uGpMmA9olALy9PLVA==", "cpu": [ "x64" ], @@ -882,9 +872,9 @@ } }, "node_modules/esbuild-linux-arm": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.10.tgz", - "integrity": "sha512-6N8vThLL/Lysy9y4Ex8XoLQAlbZKUyExCWyayGi2KgTBelKpPgj6RZnUaKri0dHNPGgReJriKVU6+KDGQwn10A==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.11.tgz", + "integrity": "sha512-TJllTVk5aSyqPFvvcHTvf6Wu1ZKhWpJ/qNmZO8LL/XeB+LXCclm7HQHNEIz6MT7IX8PmlC1BZYrOiw2sXSB95A==", "cpu": [ "arm" ], @@ -898,9 +888,9 @@ } }, "node_modules/esbuild-linux-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.10.tgz", - "integrity": "sha512-GByBi4fgkvZFTHFDYNftu1DQ1GzR23jws0oWyCfhnI7eMOe+wgwWrc78dbNk709Ivdr/evefm2PJiUBMiusS1A==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.11.tgz", + "integrity": "sha512-uhcXiTwTmD4OpxJu3xC5TzAAw6Wzf9O1XGWL448EE9bqGjgV1j+oK3lIHAfsHnuIn8K4nDW8yjX0Sv5S++oRuw==", "cpu": [ "arm64" ], @@ -914,9 +904,9 @@ } }, "node_modules/esbuild-linux-mips64le": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.10.tgz", - "integrity": "sha512-BxP+LbaGVGIdQNJUNF7qpYjEGWb0YyHVSKqYKrn+pTwH/SiHUxFyJYSP3pqkku61olQiSBnSmWZ+YUpj78Tw7Q==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.11.tgz", + "integrity": "sha512-WD61y/R1M4BLe4gxXRypoQ0Ci+Vjf714QYzcPNkiYv5I8K8WDz2ZR8Bm6cqKxd6rD+e/rZgPDbhQ9PCf7TMHmA==", "cpu": [ "mips64el" ], @@ -930,9 +920,9 @@ } }, "node_modules/esbuild-linux-ppc64le": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.10.tgz", - "integrity": "sha512-LoSQCd6498PmninNgqd/BR7z3Bsk/mabImBWuQ4wQgmQEeanzWd5BQU2aNi9mBURCLgyheuZS6Xhrw5luw3OkQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.11.tgz", + "integrity": "sha512-JVleZS9oPVLTlBhPTWgOwxFWU/wMUdlBwTbGA4GF8c38sLbS13cupj+C8bLq929jU7EMWry4SaL+tKGIaTlqKg==", "cpu": [ "ppc64" ], @@ -946,9 +936,9 @@ } }, "node_modules/esbuild-linux-riscv64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.10.tgz", - "integrity": "sha512-Lrl9Cr2YROvPV4wmZ1/g48httE8z/5SCiXIyebiB5N8VT7pX3t6meI7TQVHw/wQpqP/AF4SksDuFImPTM7Z32Q==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.11.tgz", + "integrity": "sha512-9aLIalZ2HFHIOZpmVU11sEAS9F8TnHw49daEjcgMpBXHFF57VuT9f9/9LKJhw781Gda0P9jDkuCWJ0tFbErvJw==", "cpu": [ "riscv64" ], @@ -962,9 +952,9 @@ } }, "node_modules/esbuild-linux-s390x": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.10.tgz", - "integrity": "sha512-ReP+6q3eLVVP2lpRrvl5EodKX7EZ1bS1/z5j6hsluAlZP5aHhk6ghT6Cq3IANvvDdscMMCB4QEbI+AjtvoOFpA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.11.tgz", + "integrity": "sha512-sZHtiXXOKsLI3XGBGoYO4qKBzJlb8xNsWmvFiwFMHFzA4AXgDP1KDp7Dawe9C2pavTRBDvl+Ok4n/DHQ59oaTg==", "cpu": [ "s390x" ], @@ -978,9 +968,9 @@ } }, "node_modules/esbuild-netbsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.10.tgz", - "integrity": "sha512-iGDYtJCMCqldMskQ4eIV+QSS/CuT7xyy9i2/FjpKvxAuCzrESZXiA1L64YNj6/afuzfBe9i8m/uDkFHy257hTw==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.11.tgz", + "integrity": "sha512-hUC9yN06K9sg7ju4Vgu9ChAPdsEgtcrcLfyNT5IKwKyfpLvKUwCMZSdF+gRD3WpyZelgTQfJ+pDx5XFbXTlB0A==", "cpu": [ "x64" ], @@ -994,9 +984,9 @@ } }, "node_modules/esbuild-openbsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.10.tgz", - "integrity": "sha512-ftMMIwHWrnrYnvuJQRJs/Smlcb28F9ICGde/P3FUTCgDDM0N7WA0o9uOR38f5Xe2/OhNCgkjNeb7QeaE3cyWkQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.11.tgz", + "integrity": "sha512-0bBo9SQR4t66Wd91LGMAqmWorzO0TTzVjYiifwoFtel8luFeXuPThQnEm5ztN4g0fnvcp7AnUPPzS/Depf17wQ==", "cpu": [ "x64" ], @@ -1010,9 +1000,9 @@ } }, "node_modules/esbuild-sunos-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.10.tgz", - "integrity": "sha512-mf7hBL9Uo2gcy2r3rUFMjVpTaGpFJJE5QTDDqUFf1632FxteYANffDZmKbqX0PfeQ2XjUDE604IcE7OJeoHiyg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.11.tgz", + "integrity": "sha512-EuBdTGlsMTjEl1sQnBX2jfygy7iR6CKfvOzi+gEOfhDqbHXsmY1dcpbVtcwHAg9/2yUZSfMJHMAgf1z8M4yyyw==", "cpu": [ "x64" ], @@ -1026,9 +1016,9 @@ } }, "node_modules/esbuild-windows-32": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.10.tgz", - "integrity": "sha512-ttFVo+Cg8b5+qHmZHbEc8Vl17kCleHhLzgT8X04y8zudEApo0PxPg9Mz8Z2cKH1bCYlve1XL8LkyXGFjtUYeGg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.11.tgz", + "integrity": "sha512-O0/Wo1Wk6dc0rZSxkvGpmTNIycEznHmkObTFz2VHBhjPsO4ZpCgfGxNkCpz4AdAIeMczpTXt/8d5vdJNKEGC+Q==", "cpu": [ "ia32" ], @@ -1042,9 +1032,9 @@ } }, "node_modules/esbuild-windows-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.10.tgz", - "integrity": "sha512-2H0gdsyHi5x+8lbng3hLbxDWR7mKHWh5BXZGKVG830KUmXOOWFE2YKJ4tHRkejRduOGDrBvHBriYsGtmTv3ntA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.11.tgz", + "integrity": "sha512-x977Q4HhNjnHx00b4XLAnTtj5vfbdEvkxaQwC1Zh5AN8g5EX+izgZ6e5QgqJgpzyRNJqh4hkgIJF1pyy1be0mQ==", "cpu": [ "x64" ], @@ -1058,9 +1048,9 @@ } }, "node_modules/esbuild-windows-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.10.tgz", - "integrity": "sha512-S+th4F+F8VLsHLR0zrUcG+Et4hx0RKgK1eyHc08kztmLOES8BWwMiaGdoW9hiXuzznXQ0I/Fg904MNbr11Nktw==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.11.tgz", + "integrity": "sha512-VwUHFACuBahrvntdcMKZteUZ9HaYrBRODoKe4tIWxguQRvvYoYb7iu5LrcRS/FQx8KPZNaa72zuqwVtHeXsITw==", "cpu": [ "arm64" ], @@ -1086,14 +1076,13 @@ } }, "node_modules/eslint": { - "version": "8.24.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.24.0.tgz", - "integrity": "sha512-dWFaPhGhTAiPcCgm3f6LI2MBWbogMnTJzFBbhXVRQDJPkr9pGZvVjlVfXd+vyDcWPA2Ic9L2AXPIQM0+vk/cSQ==", + "version": "8.25.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.25.0.tgz", + "integrity": "sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A==", "dev": true, "dependencies": { - "@eslint/eslintrc": "^1.3.2", + "@eslint/eslintrc": "^1.3.3", "@humanwhocodes/config-array": "^0.10.5", - "@humanwhocodes/gitignore-to-minimatch": "^1.0.2", "@humanwhocodes/module-importer": "^1.0.1", "ajv": "^6.10.0", "chalk": "^4.0.0", @@ -2002,9 +1991,9 @@ } }, "node_modules/postcss": { - "version": "8.4.17", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.17.tgz", - "integrity": "sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q==", + "version": "8.4.18", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz", + "integrity": "sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==", "funding": [ { "type": "opencollective", @@ -2096,9 +2085,9 @@ } }, "node_modules/regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" + "version": "0.13.10", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz", + "integrity": "sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw==" }, "node_modules/regexpp": { "version": "3.2.0", @@ -2420,9 +2409,9 @@ "dev": true }, "node_modules/vite": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/vite/-/vite-3.1.6.tgz", - "integrity": "sha512-qMXIwnehvvcK5XfJiXQUiTxoYAEMKhM+jqCY6ZSTKFBKu1hJnAKEzP3AOcnTerI0cMZYAaJ4wpW1wiXLMDt4mA==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/vite/-/vite-3.1.8.tgz", + "integrity": "sha512-m7jJe3nufUbuOfotkntGFupinL/fmuTNuQmiVE7cH2IZMuf4UbfbGYMUT3jVWgGYuRVLY9j8NnrRqgw5rr5QTg==", "dev": true, "dependencies": { "esbuild": "^0.15.9", @@ -2461,16 +2450,16 @@ } }, "node_modules/vue": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.40.tgz", - "integrity": "sha512-1mGHulzUbl2Nk3pfvI5aXYYyJUs1nm4kyvuz38u4xlQkLUn1i2R7nDbI4TufECmY8v1qNBHYy62bCaM+3cHP2A==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.41.tgz", + "integrity": "sha512-uuuvnrDXEeZ9VUPljgHkqB5IaVO8SxhPpqF2eWOukVrBnRBx2THPSGQBnVRt0GrIG1gvCmFXMGbd7FqcT1ixNQ==", "peer": true, "dependencies": { - "@vue/compiler-dom": "3.2.40", - "@vue/compiler-sfc": "3.2.40", - "@vue/runtime-dom": "3.2.40", - "@vue/server-renderer": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-dom": "3.2.41", + "@vue/compiler-sfc": "3.2.41", + "@vue/runtime-dom": "3.2.41", + "@vue/server-renderer": "3.2.41", + "@vue/shared": "3.2.41" } }, "node_modules/vue-eslint-parser": { @@ -2563,37 +2552,37 @@ "dev": true }, "@babel/parser": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.3.tgz", - "integrity": "sha512-pJ9xOlNWHiy9+FuFP09DEAFbAn4JskgRsVcc169w2xRBC3FRGuQEwjeIMMND9L2zc0iEhO/tGv4Zq+km+hxNpQ==", + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.4.tgz", + "integrity": "sha512-qpVT7gtuOLjWeDTKLkJ6sryqLliBaFpAtGeqw5cs5giLldvh+Ch0plqnUMKoVAUS6ZEueQQiZV+p5pxtPitEsA==", "peer": true }, "@babel/runtime": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.0.tgz", - "integrity": "sha512-eR8Lo9hnDS7tqkO7NsV+mKvCmv5boaXFSZ70DnfhcgiEne8hv9oCEd36Klw74EtizEqLsy4YnW8UWwpBVolHZA==", + "version": "7.19.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz", + "integrity": "sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA==", "requires": { "regenerator-runtime": "^0.13.4" } }, "@esbuild/android-arm": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.15.10.tgz", - "integrity": "sha512-FNONeQPy/ox+5NBkcSbYJxoXj9GWu8gVGJTVmUyoOCKQFDTrHVKgNSzChdNt0I8Aj/iKcsDf2r9BFwv+FSNUXg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.15.11.tgz", + "integrity": "sha512-PzMcQLazLBkwDEkrNPi9AbjFt6+3I7HKbiYF2XtWQ7wItrHvEOeO3T8Am434zAozWtVP7lrTue1bEfc2nYWeCA==", "dev": true, "optional": true }, "@esbuild/linux-loong64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.10.tgz", - "integrity": "sha512-w0Ou3Z83LOYEkwaui2M8VwIp+nLi/NA60lBLMvaJ+vXVMcsARYdEzLNE7RSm4+lSg4zq4d7fAVuzk7PNQ5JFgg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.15.11.tgz", + "integrity": "sha512-geWp637tUhNmhL3Xgy4Bj703yXB9dqiLJe05lCUfjSFDrQf9C/8pArusyPUbUbPwlC/EAUjBw32sxuIl/11dZw==", "dev": true, "optional": true }, "@eslint/eslintrc": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.2.tgz", - "integrity": "sha512-AXYd23w1S/bv3fTs3Lz0vjiYemS08jWkI3hYyS9I1ry+0f+Yjs1wm+sU0BS8qDOPrBIkp4qHYC16I8uVtpLajQ==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz", + "integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==", "dev": true, "requires": { "ajv": "^6.12.4", @@ -2625,12 +2614,6 @@ "minimatch": "^3.0.4" } }, - "@humanwhocodes/gitignore-to-minimatch": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz", - "integrity": "sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==", - "dev": true - }, "@humanwhocodes/module-importer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", @@ -2683,13 +2666,13 @@ "requires": {} }, "@vue/compiler-core": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.40.tgz", - "integrity": "sha512-2Dc3Stk0J/VyQ4OUr2yEC53kU28614lZS+bnrCbFSAIftBJ40g/2yQzf4mPBiFuqguMB7hyHaujdgZAQ67kZYA==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.41.tgz", + "integrity": "sha512-oA4mH6SA78DT+96/nsi4p9DX97PHcNROxs51lYk7gb9Z4BPKQ3Mh+BLn6CQZBw857Iuhu28BfMSRHAlPvD4vlw==", "peer": true, "requires": { "@babel/parser": "^7.16.4", - "@vue/shared": "3.2.40", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "source-map": "^0.6.1" }, @@ -2703,27 +2686,27 @@ } }, "@vue/compiler-dom": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.40.tgz", - "integrity": "sha512-OZCNyYVC2LQJy4H7h0o28rtk+4v+HMQygRTpmibGoG9wZyomQiS5otU7qo3Wlq5UfHDw2RFwxb9BJgKjVpjrQw==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.41.tgz", + "integrity": "sha512-xe5TbbIsonjENxJsYRbDJvthzqxLNk+tb3d/c47zgREDa/PCp6/Y4gC/skM4H6PIuX5DAxm7fFJdbjjUH2QTMw==", "peer": true, "requires": { - "@vue/compiler-core": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-core": "3.2.41", + "@vue/shared": "3.2.41" } }, "@vue/compiler-sfc": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.40.tgz", - "integrity": "sha512-tzqwniIN1fu1PDHC3CpqY/dPCfN/RN1thpBC+g69kJcrl7mbGiHKNwbA6kJ3XKKy8R6JLKqcpVugqN4HkeBFFg==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.41.tgz", + "integrity": "sha512-+1P2m5kxOeaxVmJNXnBskAn3BenbTmbxBxWOtBq3mQTCokIreuMULFantBUclP0+KnzNCMOvcnKinqQZmiOF8w==", "peer": true, "requires": { "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.40", - "@vue/compiler-dom": "3.2.40", - "@vue/compiler-ssr": "3.2.40", - "@vue/reactivity-transform": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/compiler-core": "3.2.41", + "@vue/compiler-dom": "3.2.41", + "@vue/compiler-ssr": "3.2.41", + "@vue/reactivity-transform": "3.2.41", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "magic-string": "^0.25.7", "postcss": "^8.1.10", @@ -2739,72 +2722,72 @@ } }, "@vue/compiler-ssr": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.40.tgz", - "integrity": "sha512-80cQcgasKjrPPuKcxwuCx7feq+wC6oFl5YaKSee9pV3DNq+6fmCVwEEC3vvkf/E2aI76rIJSOYHsWSEIxK74oQ==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.41.tgz", + "integrity": "sha512-Y5wPiNIiaMz/sps8+DmhaKfDm1xgj6GrH99z4gq2LQenfVQcYXmHIOBcs5qPwl7jaW3SUQWjkAPKMfQemEQZwQ==", "peer": true, "requires": { - "@vue/compiler-dom": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-dom": "3.2.41", + "@vue/shared": "3.2.41" } }, "@vue/reactivity": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.40.tgz", - "integrity": "sha512-N9qgGLlZmtUBMHF9xDT4EkD9RdXde1Xbveb+niWMXuHVWQP5BzgRmE3SFyUBBcyayG4y1lhoz+lphGRRxxK4RA==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.41.tgz", + "integrity": "sha512-9JvCnlj8uc5xRiQGZ28MKGjuCoPhhTwcoAdv3o31+cfGgonwdPNuvqAXLhlzu4zwqavFEG5tvaoINQEfxz+l6g==", "peer": true, "requires": { - "@vue/shared": "3.2.40" + "@vue/shared": "3.2.41" } }, "@vue/reactivity-transform": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.40.tgz", - "integrity": "sha512-HQUCVwEaacq6fGEsg2NUuGKIhUveMCjOk8jGHqLXPI2w6zFoPrlQhwWEaINTv5kkZDXKEnCijAp+4gNEHG03yw==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.41.tgz", + "integrity": "sha512-mK5+BNMsL4hHi+IR3Ft/ho6Za+L3FA5j8WvreJ7XzHrqkPq8jtF/SMo7tuc9gHjLDwKZX1nP1JQOKo9IEAn54A==", "peer": true, "requires": { "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/compiler-core": "3.2.41", + "@vue/shared": "3.2.41", "estree-walker": "^2.0.2", "magic-string": "^0.25.7" } }, "@vue/runtime-core": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.40.tgz", - "integrity": "sha512-U1+rWf0H8xK8aBUZhnrN97yoZfHbjgw/bGUzfgKPJl69/mXDuSg8CbdBYBn6VVQdR947vWneQBFzdhasyzMUKg==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.41.tgz", + "integrity": "sha512-0LBBRwqnI0p4FgIkO9q2aJBBTKDSjzhnxrxHYengkAF6dMOjeAIZFDADAlcf2h3GDALWnblbeprYYpItiulSVQ==", "peer": true, "requires": { - "@vue/reactivity": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/reactivity": "3.2.41", + "@vue/shared": "3.2.41" } }, "@vue/runtime-dom": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.40.tgz", - "integrity": "sha512-AO2HMQ+0s2+MCec8hXAhxMgWhFhOPJ/CyRXnmTJ6XIOnJFLrH5Iq3TNwvVcODGR295jy77I6dWPj+wvFoSYaww==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.41.tgz", + "integrity": "sha512-U7zYuR1NVIP8BL6jmOqmapRAHovEFp7CSw4pR2FacqewXNGqZaRfHoNLQsqQvVQ8yuZNZtxSZy0FFyC70YXPpA==", "peer": true, "requires": { - "@vue/runtime-core": "3.2.40", - "@vue/shared": "3.2.40", + "@vue/runtime-core": "3.2.41", + "@vue/shared": "3.2.41", "csstype": "^2.6.8" } }, "@vue/server-renderer": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.40.tgz", - "integrity": "sha512-gtUcpRwrXOJPJ4qyBpU3EyxQa4EkV8I4f8VrDePcGCPe4O/hd0BPS7v9OgjIQob6Ap8VDz9G+mGTKazE45/95w==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.41.tgz", + "integrity": "sha512-7YHLkfJdTlsZTV0ae5sPwl9Gn/EGr2hrlbcS/8naXm2CDpnKUwC68i1wGlrYAfIgYWL7vUZwk2GkYLQH5CvFig==", "peer": true, "requires": { - "@vue/compiler-ssr": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-ssr": "3.2.41", + "@vue/shared": "3.2.41" } }, "@vue/shared": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.40.tgz", - "integrity": "sha512-0PLQ6RUtZM0vO3teRfzGi4ltLUO5aO+kLgwh4Um3THSR03rpQWLTuRCkuO5A41ITzwdWeKdPHtSARuPkoo5pCQ==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.41.tgz", + "integrity": "sha512-W9mfWLHmJhkfAmV+7gDjcHeAWALQtgGT3JErxULl0oz6R6+3ug91I7IErs93eCFhPCZPHBs4QJS7YWEV7A3sxw==", "peer": true }, "acorn": { @@ -3078,172 +3061,172 @@ } }, "esbuild": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.10.tgz", - "integrity": "sha512-N7wBhfJ/E5fzn/SpNgX+oW2RLRjwaL8Y0ezqNqhjD6w0H2p0rDuEz2FKZqpqLnO8DCaWumKe8dsC/ljvVSSxng==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.15.11.tgz", + "integrity": "sha512-OgHGuhlfZ//mToxjte1D5iiiQgWfJ2GByVMwEC/IuoXsBGkuyK1+KrjYu0laSpnN/L1UmLUCv0s25vObdc1bVg==", "dev": true, "requires": { - "@esbuild/android-arm": "0.15.10", - "@esbuild/linux-loong64": "0.15.10", - "esbuild-android-64": "0.15.10", - "esbuild-android-arm64": "0.15.10", - "esbuild-darwin-64": "0.15.10", - "esbuild-darwin-arm64": "0.15.10", - "esbuild-freebsd-64": "0.15.10", - "esbuild-freebsd-arm64": "0.15.10", - "esbuild-linux-32": "0.15.10", - "esbuild-linux-64": "0.15.10", - "esbuild-linux-arm": "0.15.10", - "esbuild-linux-arm64": "0.15.10", - "esbuild-linux-mips64le": "0.15.10", - "esbuild-linux-ppc64le": "0.15.10", - "esbuild-linux-riscv64": "0.15.10", - "esbuild-linux-s390x": "0.15.10", - "esbuild-netbsd-64": "0.15.10", - "esbuild-openbsd-64": "0.15.10", - "esbuild-sunos-64": "0.15.10", - "esbuild-windows-32": "0.15.10", - "esbuild-windows-64": "0.15.10", - "esbuild-windows-arm64": "0.15.10" + "@esbuild/android-arm": "0.15.11", + "@esbuild/linux-loong64": "0.15.11", + "esbuild-android-64": "0.15.11", + "esbuild-android-arm64": "0.15.11", + "esbuild-darwin-64": "0.15.11", + "esbuild-darwin-arm64": "0.15.11", + "esbuild-freebsd-64": "0.15.11", + "esbuild-freebsd-arm64": "0.15.11", + "esbuild-linux-32": "0.15.11", + "esbuild-linux-64": "0.15.11", + "esbuild-linux-arm": "0.15.11", + "esbuild-linux-arm64": "0.15.11", + "esbuild-linux-mips64le": "0.15.11", + "esbuild-linux-ppc64le": "0.15.11", + "esbuild-linux-riscv64": "0.15.11", + "esbuild-linux-s390x": "0.15.11", + "esbuild-netbsd-64": "0.15.11", + "esbuild-openbsd-64": "0.15.11", + "esbuild-sunos-64": "0.15.11", + "esbuild-windows-32": "0.15.11", + "esbuild-windows-64": "0.15.11", + "esbuild-windows-arm64": "0.15.11" } }, "esbuild-android-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.10.tgz", - "integrity": "sha512-UI7krF8OYO1N7JYTgLT9ML5j4+45ra3amLZKx7LO3lmLt1Ibn8t3aZbX5Pu4BjWiqDuJ3m/hsvhPhK/5Y/YpnA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.15.11.tgz", + "integrity": "sha512-rrwoXEiuI1kaw4k475NJpexs8GfJqQUKcD08VR8sKHmuW9RUuTR2VxcupVvHdiGh9ihxL9m3lpqB1kju92Ialw==", "dev": true, "optional": true }, "esbuild-android-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.10.tgz", - "integrity": "sha512-EOt55D6xBk5O05AK8brXUbZmoFj4chM8u3riGflLa6ziEoVvNjRdD7Cnp82NHQGfSHgYR06XsPI8/sMuA/cUwg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.15.11.tgz", + "integrity": "sha512-/hDubOg7BHOhUUsT8KUIU7GfZm5bihqssvqK5PfO4apag7YuObZRZSzViyEKcFn2tPeHx7RKbSBXvAopSHDZJQ==", "dev": true, "optional": true }, "esbuild-darwin-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.10.tgz", - "integrity": "sha512-hbDJugTicqIm+WKZgp208d7FcXcaK8j2c0l+fqSJ3d2AzQAfjEYDRM3Z2oMeqSJ9uFxyj/muSACLdix7oTstRA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.15.11.tgz", + "integrity": "sha512-1DqHD0ms3AhiwkKnjRUzmiW7JnaJJr5FKrPiR7xuyMwnjDqvNWDdMq4rKSD9OC0piFNK6n0LghsglNMe2MwJtA==", "dev": true, "optional": true }, "esbuild-darwin-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.10.tgz", - "integrity": "sha512-M1t5+Kj4IgSbYmunf2BB6EKLkWUq+XlqaFRiGOk8bmBapu9bCDrxjf4kUnWn59Dka3I27EiuHBKd1rSO4osLFQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.11.tgz", + "integrity": "sha512-OMzhxSbS0lwwrW40HHjRCeVIJTURdXFA8c3GU30MlHKuPCcvWNUIKVucVBtNpJySXmbkQMDJdJNrXzNDyvoqvQ==", "dev": true, "optional": true }, "esbuild-freebsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.10.tgz", - "integrity": "sha512-KMBFMa7C8oc97nqDdoZwtDBX7gfpolkk6Bcmj6YFMrtCMVgoU/x2DI1p74DmYl7CSS6Ppa3xgemrLrr5IjIn0w==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.11.tgz", + "integrity": "sha512-8dKP26r0/Qyez8nTCwpq60QbuYKOeBygdgOAWGCRalunyeqWRoSZj9TQjPDnTTI9joxd3QYw3UhVZTKxO9QdRg==", "dev": true, "optional": true }, "esbuild-freebsd-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.10.tgz", - "integrity": "sha512-m2KNbuCX13yQqLlbSojFMHpewbn8wW5uDS6DxRpmaZKzyq8Dbsku6hHvh2U+BcLwWY4mpgXzFUoENEf7IcioGg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.11.tgz", + "integrity": "sha512-aSGiODiukLGGnSg/O9+cGO2QxEacrdCtCawehkWYTt5VX1ni2b9KoxpHCT9h9Y6wGqNHmXFnB47RRJ8BIqZgmQ==", "dev": true, "optional": true }, "esbuild-linux-32": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.10.tgz", - "integrity": "sha512-guXrwSYFAvNkuQ39FNeV4sNkNms1bLlA5vF1H0cazZBOLdLFIny6BhT+TUbK/hdByMQhtWQ5jI9VAmPKbVPu1w==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.15.11.tgz", + "integrity": "sha512-lsrAfdyJBGx+6aHIQmgqUonEzKYeBnyfJPkT6N2dOf1RoXYYV1BkWB6G02tjsrz1d5wZzaTc3cF+TKmuTo/ZwA==", "dev": true, "optional": true }, "esbuild-linux-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.10.tgz", - "integrity": "sha512-jd8XfaSJeucMpD63YNMO1JCrdJhckHWcMv6O233bL4l6ogQKQOxBYSRP/XLWP+6kVTu0obXovuckJDcA0DKtQA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.15.11.tgz", + "integrity": "sha512-Y2Rh+PcyVhQqXKBTacPCltINN3uIw2xC+dsvLANJ1SpK5NJUtxv8+rqWpjmBgaNWKQT1/uGpMmA9olALy9PLVA==", "dev": true, "optional": true }, "esbuild-linux-arm": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.10.tgz", - "integrity": "sha512-6N8vThLL/Lysy9y4Ex8XoLQAlbZKUyExCWyayGi2KgTBelKpPgj6RZnUaKri0dHNPGgReJriKVU6+KDGQwn10A==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.15.11.tgz", + "integrity": "sha512-TJllTVk5aSyqPFvvcHTvf6Wu1ZKhWpJ/qNmZO8LL/XeB+LXCclm7HQHNEIz6MT7IX8PmlC1BZYrOiw2sXSB95A==", "dev": true, "optional": true }, "esbuild-linux-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.10.tgz", - "integrity": "sha512-GByBi4fgkvZFTHFDYNftu1DQ1GzR23jws0oWyCfhnI7eMOe+wgwWrc78dbNk709Ivdr/evefm2PJiUBMiusS1A==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.11.tgz", + "integrity": "sha512-uhcXiTwTmD4OpxJu3xC5TzAAw6Wzf9O1XGWL448EE9bqGjgV1j+oK3lIHAfsHnuIn8K4nDW8yjX0Sv5S++oRuw==", "dev": true, "optional": true }, "esbuild-linux-mips64le": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.10.tgz", - "integrity": "sha512-BxP+LbaGVGIdQNJUNF7qpYjEGWb0YyHVSKqYKrn+pTwH/SiHUxFyJYSP3pqkku61olQiSBnSmWZ+YUpj78Tw7Q==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.11.tgz", + "integrity": "sha512-WD61y/R1M4BLe4gxXRypoQ0Ci+Vjf714QYzcPNkiYv5I8K8WDz2ZR8Bm6cqKxd6rD+e/rZgPDbhQ9PCf7TMHmA==", "dev": true, "optional": true }, "esbuild-linux-ppc64le": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.10.tgz", - "integrity": "sha512-LoSQCd6498PmninNgqd/BR7z3Bsk/mabImBWuQ4wQgmQEeanzWd5BQU2aNi9mBURCLgyheuZS6Xhrw5luw3OkQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.11.tgz", + "integrity": "sha512-JVleZS9oPVLTlBhPTWgOwxFWU/wMUdlBwTbGA4GF8c38sLbS13cupj+C8bLq929jU7EMWry4SaL+tKGIaTlqKg==", "dev": true, "optional": true }, "esbuild-linux-riscv64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.10.tgz", - "integrity": "sha512-Lrl9Cr2YROvPV4wmZ1/g48httE8z/5SCiXIyebiB5N8VT7pX3t6meI7TQVHw/wQpqP/AF4SksDuFImPTM7Z32Q==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.11.tgz", + "integrity": "sha512-9aLIalZ2HFHIOZpmVU11sEAS9F8TnHw49daEjcgMpBXHFF57VuT9f9/9LKJhw781Gda0P9jDkuCWJ0tFbErvJw==", "dev": true, "optional": true }, "esbuild-linux-s390x": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.10.tgz", - "integrity": "sha512-ReP+6q3eLVVP2lpRrvl5EodKX7EZ1bS1/z5j6hsluAlZP5aHhk6ghT6Cq3IANvvDdscMMCB4QEbI+AjtvoOFpA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.11.tgz", + "integrity": "sha512-sZHtiXXOKsLI3XGBGoYO4qKBzJlb8xNsWmvFiwFMHFzA4AXgDP1KDp7Dawe9C2pavTRBDvl+Ok4n/DHQ59oaTg==", "dev": true, "optional": true }, "esbuild-netbsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.10.tgz", - "integrity": "sha512-iGDYtJCMCqldMskQ4eIV+QSS/CuT7xyy9i2/FjpKvxAuCzrESZXiA1L64YNj6/afuzfBe9i8m/uDkFHy257hTw==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.11.tgz", + "integrity": "sha512-hUC9yN06K9sg7ju4Vgu9ChAPdsEgtcrcLfyNT5IKwKyfpLvKUwCMZSdF+gRD3WpyZelgTQfJ+pDx5XFbXTlB0A==", "dev": true, "optional": true }, "esbuild-openbsd-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.10.tgz", - "integrity": "sha512-ftMMIwHWrnrYnvuJQRJs/Smlcb28F9ICGde/P3FUTCgDDM0N7WA0o9uOR38f5Xe2/OhNCgkjNeb7QeaE3cyWkQ==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.11.tgz", + "integrity": "sha512-0bBo9SQR4t66Wd91LGMAqmWorzO0TTzVjYiifwoFtel8luFeXuPThQnEm5ztN4g0fnvcp7AnUPPzS/Depf17wQ==", "dev": true, "optional": true }, "esbuild-sunos-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.10.tgz", - "integrity": "sha512-mf7hBL9Uo2gcy2r3rUFMjVpTaGpFJJE5QTDDqUFf1632FxteYANffDZmKbqX0PfeQ2XjUDE604IcE7OJeoHiyg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.15.11.tgz", + "integrity": "sha512-EuBdTGlsMTjEl1sQnBX2jfygy7iR6CKfvOzi+gEOfhDqbHXsmY1dcpbVtcwHAg9/2yUZSfMJHMAgf1z8M4yyyw==", "dev": true, "optional": true }, "esbuild-windows-32": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.10.tgz", - "integrity": "sha512-ttFVo+Cg8b5+qHmZHbEc8Vl17kCleHhLzgT8X04y8zudEApo0PxPg9Mz8Z2cKH1bCYlve1XL8LkyXGFjtUYeGg==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.15.11.tgz", + "integrity": "sha512-O0/Wo1Wk6dc0rZSxkvGpmTNIycEznHmkObTFz2VHBhjPsO4ZpCgfGxNkCpz4AdAIeMczpTXt/8d5vdJNKEGC+Q==", "dev": true, "optional": true }, "esbuild-windows-64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.10.tgz", - "integrity": "sha512-2H0gdsyHi5x+8lbng3hLbxDWR7mKHWh5BXZGKVG830KUmXOOWFE2YKJ4tHRkejRduOGDrBvHBriYsGtmTv3ntA==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.15.11.tgz", + "integrity": "sha512-x977Q4HhNjnHx00b4XLAnTtj5vfbdEvkxaQwC1Zh5AN8g5EX+izgZ6e5QgqJgpzyRNJqh4hkgIJF1pyy1be0mQ==", "dev": true, "optional": true }, "esbuild-windows-arm64": { - "version": "0.15.10", - "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.10.tgz", - "integrity": "sha512-S+th4F+F8VLsHLR0zrUcG+Et4hx0RKgK1eyHc08kztmLOES8BWwMiaGdoW9hiXuzznXQ0I/Fg904MNbr11Nktw==", + "version": "0.15.11", + "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.11.tgz", + "integrity": "sha512-VwUHFACuBahrvntdcMKZteUZ9HaYrBRODoKe4tIWxguQRvvYoYb7iu5LrcRS/FQx8KPZNaa72zuqwVtHeXsITw==", "dev": true, "optional": true }, @@ -3254,14 +3237,13 @@ "dev": true }, "eslint": { - "version": "8.24.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.24.0.tgz", - "integrity": "sha512-dWFaPhGhTAiPcCgm3f6LI2MBWbogMnTJzFBbhXVRQDJPkr9pGZvVjlVfXd+vyDcWPA2Ic9L2AXPIQM0+vk/cSQ==", + "version": "8.25.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.25.0.tgz", + "integrity": "sha512-DVlJOZ4Pn50zcKW5bYH7GQK/9MsoQG2d5eDH0ebEkE8PbgzTTmtt/VTH9GGJ4BfeZCpBLqFfvsjX35UacUL83A==", "dev": true, "requires": { - "@eslint/eslintrc": "^1.3.2", + "@eslint/eslintrc": "^1.3.3", "@humanwhocodes/config-array": "^0.10.5", - "@humanwhocodes/gitignore-to-minimatch": "^1.0.2", "@humanwhocodes/module-importer": "^1.0.1", "ajv": "^6.10.0", "chalk": "^4.0.0", @@ -3943,9 +3925,9 @@ "dev": true }, "postcss": { - "version": "8.4.17", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.17.tgz", - "integrity": "sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q==", + "version": "8.4.18", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.18.tgz", + "integrity": "sha512-Wi8mWhncLJm11GATDaQKobXSNEYGUHeQLiQqDFG1qQ5UTDPTEvKw0Xt5NsTpktGTwLps3ByrWsBrG0rB8YQ9oA==", "requires": { "nanoid": "^3.3.4", "picocolors": "^1.0.0", @@ -3998,9 +3980,9 @@ } }, "regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" + "version": "0.13.10", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz", + "integrity": "sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw==" }, "regexpp": { "version": "3.2.0", @@ -4211,9 +4193,9 @@ "dev": true }, "vite": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/vite/-/vite-3.1.6.tgz", - "integrity": "sha512-qMXIwnehvvcK5XfJiXQUiTxoYAEMKhM+jqCY6ZSTKFBKu1hJnAKEzP3AOcnTerI0cMZYAaJ4wpW1wiXLMDt4mA==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/vite/-/vite-3.1.8.tgz", + "integrity": "sha512-m7jJe3nufUbuOfotkntGFupinL/fmuTNuQmiVE7cH2IZMuf4UbfbGYMUT3jVWgGYuRVLY9j8NnrRqgw5rr5QTg==", "dev": true, "requires": { "esbuild": "^0.15.9", @@ -4224,16 +4206,16 @@ } }, "vue": { - "version": "3.2.40", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.40.tgz", - "integrity": "sha512-1mGHulzUbl2Nk3pfvI5aXYYyJUs1nm4kyvuz38u4xlQkLUn1i2R7nDbI4TufECmY8v1qNBHYy62bCaM+3cHP2A==", + "version": "3.2.41", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.41.tgz", + "integrity": "sha512-uuuvnrDXEeZ9VUPljgHkqB5IaVO8SxhPpqF2eWOukVrBnRBx2THPSGQBnVRt0GrIG1gvCmFXMGbd7FqcT1ixNQ==", "peer": true, "requires": { - "@vue/compiler-dom": "3.2.40", - "@vue/compiler-sfc": "3.2.40", - "@vue/runtime-dom": "3.2.40", - "@vue/server-renderer": "3.2.40", - "@vue/shared": "3.2.40" + "@vue/compiler-dom": "3.2.41", + "@vue/compiler-sfc": "3.2.41", + "@vue/runtime-dom": "3.2.41", + "@vue/server-renderer": "3.2.41", + "@vue/shared": "3.2.41" } }, "vue-eslint-parser": { diff --git a/package.json b/package.json index 1519b1de..e65be861 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@protonemedia/laravel-splade", - "version": "0.5.11", + "version": "0.6.0", "description": "Laravel Splade: the magic of Inertia.js with the simplicity of Blade.", "private": false, "author": "Pascal Baljet ", diff --git a/src/Commands/SpladeInstallCommand.php b/src/Commands/SpladeInstallCommand.php index e280c557..ced29081 100644 --- a/src/Commands/SpladeInstallCommand.php +++ b/src/Commands/SpladeInstallCommand.php @@ -30,7 +30,7 @@ public function handle(): int // Install NPM packages... $this->updateNodePackages(function ($packages) { return [ - '@protonemedia/laravel-splade' => '^0.5.11', + '@protonemedia/laravel-splade' => '^0.6.0', '@tailwindcss/forms' => '^0.5.2', '@tailwindcss/typography' => '^0.5.2', '@vitejs/plugin-vue' => '^3.0.0',