diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a324c7b..76bbb65 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -111,10 +111,10 @@ jobs: run: | cd demo-app composer install --no-progress --prefer-dist --optimize-autoloader - composer require inertiajs/inertia-laravel:${{ matrix.inertia == 'v1' && '^1.3' || '2.x-dev' }} + composer require inertiajs/inertia-laravel:${{ matrix.inertia == 'v1' && '^1.3' || '2.0' }} php artisan about npm ci - npm install @inertiajs/react@${{ matrix.inertia == 'v1' && '1.2.0' || 'next' }} @inertiajs/vue3@${{ matrix.inertia == 'v1' && '1.2.0' || 'next' }} + npm install @inertiajs/react@${{ matrix.inertia == 'v1' && '1.3.0' || '2.0.0' }} @inertiajs/vue3@${{ matrix.inertia == 'v1' && '1.3.0' || '2.0.0' }} npm install --install-links ../react npm install --install-links ../vue test -d node_modules/@inertiaui/modal-react || exit 1 diff --git a/demo-app/package-lock.json b/demo-app/package-lock.json index b6a0364..d737dbe 100644 --- a/demo-app/package-lock.json +++ b/demo-app/package-lock.json @@ -67,9 +67,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.2.tgz", - "integrity": "sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.3.tgz", + "integrity": "sha512-nHIxvKPniQXpmQLb0vhY3VaFb3S0YrTAwpOWJZh1wn3oJPjJk9Asva204PsBdmAE8vpzfHudT8DB0scYvy9q0g==", "dev": true, "license": "MIT", "engines": { @@ -108,14 +108,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.2.tgz", - "integrity": "sha512-zevQbhbau95nkoxSq3f/DC/SC+EEOUZd3DYqfSkMhY2/wfSeaHV1Ew4vk8e+x8lja31IbyuUa2uQ3JONqKbysw==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.3.tgz", + "integrity": "sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/parser": "^7.26.2", - "@babel/types": "^7.26.0", + "@babel/parser": "^7.26.3", + "@babel/types": "^7.26.3", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^3.0.2" @@ -228,13 +228,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.2.tgz", - "integrity": "sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.3.tgz", + "integrity": "sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.26.0" + "@babel/types": "^7.26.3" }, "bin": { "parser": "bin/babel-parser.js" @@ -291,17 +291,17 @@ } }, "node_modules/@babel/traverse": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.9.tgz", - "integrity": "sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==", + "version": "7.26.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.4.tgz", + "integrity": "sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.25.9", - "@babel/generator": "^7.25.9", - "@babel/parser": "^7.25.9", + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.3", + "@babel/parser": "^7.26.3", "@babel/template": "^7.25.9", - "@babel/types": "^7.25.9", + "@babel/types": "^7.26.3", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -310,9 +310,9 @@ } }, "node_modules/@babel/types": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz", - "integrity": "sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.3.tgz", + "integrity": "sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==", "dev": true, "license": "MIT", "dependencies": { @@ -735,9 +735,9 @@ } }, "node_modules/@inertiajs/core": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@inertiajs/core/-/core-1.2.0.tgz", - "integrity": "sha512-6U0gqCPbGGGMcLoDm+ckKipc5gptZMmfVFfPGdO7vlO7yipWf1RD+TKkcZGJklFvfgFMKwK2VPw8GAv1OctuQA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@inertiajs/core/-/core-1.3.0.tgz", + "integrity": "sha512-TJ8R1eUYY473m9DaKlCPRdHTdznFWTDuy5VvEzXg3t/hohbDQedLj46yn/uAqziJPEUZJrSftZzPI2NMzL9tQA==", "dev": true, "license": "MIT", "dependencies": { @@ -748,27 +748,27 @@ } }, "node_modules/@inertiajs/react": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@inertiajs/react/-/react-1.2.0.tgz", - "integrity": "sha512-Q3wTaQJdoUbUB8YIGeQ0y2Tf/k8dNtz9Nu2dYr1pbYUBv++6d45iC/CFB/lIpqVvvUw8XuIai2bdsUcRSIbPCQ==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@inertiajs/react/-/react-1.3.0.tgz", + "integrity": "sha512-K+PF23xP6jjMkubs8PbxT1MroSDdH1z3VTEGbO3685Xyf0QNwoNIF95hnyqJxlWaeG4fB0GAag40gh04fefRUA==", "dev": true, "license": "MIT", "dependencies": { - "@inertiajs/core": "1.2.0", + "@inertiajs/core": "1.3.0", "lodash.isequal": "^4.5.0" }, "peerDependencies": { - "react": "^16.9.0 || ^17.0.0 || ^18.0.0" + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "node_modules/@inertiajs/vue3": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@inertiajs/vue3/-/vue3-1.2.0.tgz", - "integrity": "sha512-Y6AsvwIK/E1pQKAMp8B7i99CbNApcTYb7j8R+TXM/AFQG6yBlQ1Qb9oFMItb6VimXSnDyfO4+FWe/JPLk9OIVA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@inertiajs/vue3/-/vue3-1.3.0.tgz", + "integrity": "sha512-GizqdCM3u4JWunit3uUbW4fEmTLKQTi1W7VvPRdrNy8XDt4Qy2cCmfFjq+aH5tHBSS3fI/ngYuhN7XvwqNaKvw==", "dev": true, "license": "MIT", "dependencies": { - "@inertiajs/core": "1.2.0", + "@inertiajs/core": "1.3.0", "lodash.clonedeep": "^4.5.0", "lodash.isequal": "^4.5.0" }, @@ -795,9 +795,9 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", - "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", "dev": true, "license": "MIT", "dependencies": { @@ -897,9 +897,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.27.3.tgz", - "integrity": "sha512-EzxVSkIvCFxUd4Mgm4xR9YXrcp976qVaHnqom/Tgm+vU79k4vV4eYTjmRvGfeoW8m9LVcsAy/lGjcgVegKEhLQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.28.1.tgz", + "integrity": "sha512-2aZp8AES04KI2dy3Ss6/MDjXbwBzj+i0GqKtWXgw2/Ma6E4jJvujryO6gJAghIRVz7Vwr9Gtl/8na3nDUKpraQ==", "cpu": [ "arm" ], @@ -911,9 +911,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.27.3.tgz", - "integrity": "sha512-LJc5pDf1wjlt9o/Giaw9Ofl+k/vLUaYsE2zeQGH85giX2F+wn/Cg8b3c5CDP3qmVmeO5NzwVUzQQxwZvC2eQKw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.28.1.tgz", + "integrity": "sha512-EbkK285O+1YMrg57xVA+Dp0tDBRB93/BZKph9XhMjezf6F4TpYjaUSuPt5J0fZXlSag0LmZAsTmdGGqPp4pQFA==", "cpu": [ "arm64" ], @@ -925,9 +925,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.27.3.tgz", - "integrity": "sha512-OuRysZ1Mt7wpWJ+aYKblVbJWtVn3Cy52h8nLuNSzTqSesYw1EuN6wKp5NW/4eSre3mp12gqFRXOKTcN3AI3LqA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.28.1.tgz", + "integrity": "sha512-prduvrMKU6NzMq6nxzQw445zXgaDBbMQvmKSJaxpaZ5R1QDM8w+eGxo6Y/jhT/cLoCvnZI42oEqf9KQNYz1fqQ==", "cpu": [ "arm64" ], @@ -939,9 +939,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.27.3.tgz", - "integrity": "sha512-xW//zjJMlJs2sOrCmXdB4d0uiilZsOdlGQIC/jjmMWT47lkLLoB1nsNhPUcnoqyi5YR6I4h+FjBpILxbEy8JRg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.28.1.tgz", + "integrity": "sha512-WsvbOunsUk0wccO/TV4o7IKgloJ942hVFK1CLatwv6TJspcCZb9umQkPdvB7FihmdxgaKR5JyxDjWpCOp4uZlQ==", "cpu": [ "x64" ], @@ -953,9 +953,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.27.3.tgz", - "integrity": "sha512-58E0tIcwZ+12nK1WiLzHOD8I0d0kdrY/+o7yFVPRHuVGY3twBwzwDdTIBGRxLmyjciMYl1B/U515GJy+yn46qw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.28.1.tgz", + "integrity": "sha512-HTDPdY1caUcU4qK23FeeGxCdJF64cKkqajU0iBnTVxS8F7H/7BewvYoG+va1KPSL63kQ1PGNyiwKOfReavzvNA==", "cpu": [ "arm64" ], @@ -967,9 +967,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.27.3.tgz", - "integrity": "sha512-78fohrpcVwTLxg1ZzBMlwEimoAJmY6B+5TsyAZ3Vok7YabRBUvjYTsRXPTjGEvv/mfgVBepbW28OlMEz4w8wGA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.28.1.tgz", + "integrity": "sha512-m/uYasxkUevcFTeRSM9TeLyPe2QDuqtjkeoTpP9SW0XxUWfcYrGDMkO/m2tTw+4NMAF9P2fU3Mw4ahNvo7QmsQ==", "cpu": [ "x64" ], @@ -981,9 +981,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.27.3.tgz", - "integrity": "sha512-h2Ay79YFXyQi+QZKo3ISZDyKaVD7uUvukEHTOft7kh00WF9mxAaxZsNs3o/eukbeKuH35jBvQqrT61fzKfAB/Q==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.28.1.tgz", + "integrity": "sha512-QAg11ZIt6mcmzpNE6JZBpKfJaKkqTm1A9+y9O+frdZJEuhQxiugM05gnCWiANHj4RmbgeVJpTdmKRmH/a+0QbA==", "cpu": [ "arm" ], @@ -995,9 +995,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.27.3.tgz", - "integrity": "sha512-Sv2GWmrJfRY57urktVLQ0VKZjNZGogVtASAgosDZ1aUB+ykPxSi3X1nWORL5Jk0sTIIwQiPH7iE3BMi9zGWfkg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.28.1.tgz", + "integrity": "sha512-dRP9PEBfolq1dmMcFqbEPSd9VlRuVWEGSmbxVEfiq2cs2jlZAl0YNxFzAQS2OrQmsLBLAATDMb3Z6MFv5vOcXg==", "cpu": [ "arm" ], @@ -1009,9 +1009,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.27.3.tgz", - "integrity": "sha512-FPoJBLsPW2bDNWjSrwNuTPUt30VnfM8GPGRoLCYKZpPx0xiIEdFip3dH6CqgoT0RnoGXptaNziM0WlKgBc+OWQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.28.1.tgz", + "integrity": "sha512-uGr8khxO+CKT4XU8ZUH1TTEUtlktK6Kgtv0+6bIFSeiSlnGJHG1tSFSjm41uQ9sAO/5ULx9mWOz70jYLyv1QkA==", "cpu": [ "arm64" ], @@ -1023,9 +1023,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.27.3.tgz", - "integrity": "sha512-TKxiOvBorYq4sUpA0JT+Fkh+l+G9DScnG5Dqx7wiiqVMiRSkzTclP35pE6eQQYjP4Gc8yEkJGea6rz4qyWhp3g==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.28.1.tgz", + "integrity": "sha512-QF54q8MYGAqMLrX2t7tNpi01nvq5RI59UBNx+3+37zoKX5KViPo/gk2QLhsuqok05sSCRluj0D00LzCwBikb0A==", "cpu": [ "arm64" ], @@ -1036,10 +1036,24 @@ "linux" ] }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.28.1.tgz", + "integrity": "sha512-vPul4uodvWvLhRco2w0GcyZcdyBfpfDRgNKU+p35AWEbJ/HPs1tOUrkSueVbBS0RQHAf/A+nNtDpvw95PeVKOA==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.27.3.tgz", - "integrity": "sha512-v2M/mPvVUKVOKITa0oCFksnQQ/TqGrT+yD0184/cWHIu0LoIuYHwox0Pm3ccXEz8cEQDLk6FPKd1CCm+PlsISw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.28.1.tgz", + "integrity": "sha512-pTnTdBuC2+pt1Rmm2SV7JWRqzhYpEILML4PKODqLz+C7Ou2apEV52h19CR7es+u04KlqplggmN9sqZlekg3R1A==", "cpu": [ "ppc64" ], @@ -1051,9 +1065,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.27.3.tgz", - "integrity": "sha512-LdrI4Yocb1a/tFVkzmOE5WyYRgEBOyEhWYJe4gsDWDiwnjYKjNs7PS6SGlTDB7maOHF4kxevsuNBl2iOcj3b4A==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.28.1.tgz", + "integrity": "sha512-vWXy1Nfg7TPBSuAncfInmAI/WZDd5vOklyLJDdIRKABcZWojNDY0NJwruY2AcnCLnRJKSaBgf/GiJfauu8cQZA==", "cpu": [ "riscv64" ], @@ -1065,9 +1079,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.27.3.tgz", - "integrity": "sha512-d4wVu6SXij/jyiwPvI6C4KxdGzuZOvJ6y9VfrcleHTwo68fl8vZC5ZYHsCVPUi4tndCfMlFniWgwonQ5CUpQcA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.28.1.tgz", + "integrity": "sha512-/yqC2Y53oZjb0yz8PVuGOQQNOTwxcizudunl/tFs1aLvObTclTwZ0JhXF2XcPT/zuaymemCDSuuUPXJJyqeDOg==", "cpu": [ "s390x" ], @@ -1079,9 +1093,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.27.3.tgz", - "integrity": "sha512-/6bn6pp1fsCGEY5n3yajmzZQAh+mW4QPItbiWxs69zskBzJuheb3tNynEjL+mKOsUSFK11X4LYF2BwwXnzWleA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.1.tgz", + "integrity": "sha512-fzgeABz7rrAlKYB0y2kSEiURrI0691CSL0+KXwKwhxvj92VULEDQLpBYLHpF49MSiPG4sq5CK3qHMnb9tlCjBw==", "cpu": [ "x64" ], @@ -1093,9 +1107,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.27.3.tgz", - "integrity": "sha512-nBXOfJds8OzUT1qUreT/en3eyOXd2EH5b0wr2bVB5999qHdGKkzGzIyKYaKj02lXk6wpN71ltLIaQpu58YFBoQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.28.1.tgz", + "integrity": "sha512-xQTDVzSGiMlSshpJCtudbWyRfLaNiVPXt1WgdWTwWz9n0U12cI2ZVtWe/Jgwyv/6wjL7b66uu61Vg0POWVfz4g==", "cpu": [ "x64" ], @@ -1107,9 +1121,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.27.3.tgz", - "integrity": "sha512-ogfbEVQgIZOz5WPWXF2HVb6En+kWzScuxJo/WdQTqEgeyGkaa2ui5sQav9Zkr7bnNCLK48uxmmK0TySm22eiuw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.28.1.tgz", + "integrity": "sha512-wSXmDRVupJstFP7elGMgv+2HqXelQhuNf+IS4V+nUpNVi/GUiBgDmfwD0UGN3pcAnWsgKG3I52wMOBnk1VHr/A==", "cpu": [ "arm64" ], @@ -1121,9 +1135,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.27.3.tgz", - "integrity": "sha512-ecE36ZBMLINqiTtSNQ1vzWc5pXLQHlf/oqGp/bSbi7iedcjcNb6QbCBNG73Euyy2C+l/fn8qKWEwxr+0SSfs3w==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.28.1.tgz", + "integrity": "sha512-ZkyTJ/9vkgrE/Rk9vhMXhf8l9D+eAhbAVbsGsXKy2ohmJaWg0LPQLnIxRdRp/bKyr8tXuPlXhIoGlEB5XpJnGA==", "cpu": [ "ia32" ], @@ -1135,9 +1149,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.27.3.tgz", - "integrity": "sha512-vliZLrDmYKyaUoMzEbMTg2JkerfBjn03KmAw9CykO0Zzkzoyd7o3iZNam/TpyWNjNT+Cz2iO3P9Smv2wgrR+Eg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.28.1.tgz", + "integrity": "sha512-ZvK2jBafvttJjoIdKm/Q/Bh7IJ1Ose9IBOwpOXcOvW3ikGTQGmKDgxTC6oCAzW6PynbkKP8+um1du81XJHZ0JA==", "cpu": [ "x64" ], @@ -1214,15 +1228,15 @@ "license": "MIT" }, "node_modules/@vitejs/plugin-react": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.3.tgz", - "integrity": "sha512-NooDe9GpHGqNns1i8XDERg0Vsg5SSYRhRxxyTGogUdkdNt47jal+fbuYi+Yfq6pzRCKXyoPcWisfxE6RIM3GKA==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.4.tgz", + "integrity": "sha512-SCCPBJtYLdE8PX/7ZQAs1QAZ8Jqwih+0VBLum1EGqmCCQal+MIUqLCzj3ZUy8ufbC0cAM4LRlSTm7IQJwWT4ug==", "dev": true, "license": "MIT", "dependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-react-jsx-self": "^7.24.7", - "@babel/plugin-transform-react-jsx-source": "^7.24.7", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-react-jsx-self": "^7.25.9", + "@babel/plugin-transform-react-jsx-source": "^7.25.9", "@types/babel__core": "^7.20.5", "react-refresh": "^0.14.2" }, @@ -1230,20 +1244,20 @@ "node": "^14.18.0 || >=16.0.0" }, "peerDependencies": { - "vite": "^4.2.0 || ^5.0.0" + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0" } }, "node_modules/@vitejs/plugin-vue": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.2.0.tgz", - "integrity": "sha512-7n7KdUEtx/7Yl7I/WVAMZ1bEb0eVvXF3ummWTeLcs/9gvo9pJhuLdouSXGjdZ/MKD1acf1I272+X0RMua4/R3g==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.2.1.tgz", + "integrity": "sha512-cxh314tzaWwOLqVes2gnnCtvBDcM1UMdn+iFR+UjAn411dPT3tOmqrJjbMd7koZpMAmBM/GqeV4n9ge7JSiJJQ==", "dev": true, "license": "MIT", "engines": { "node": "^18.0.0 || >=20.0.0" }, "peerDependencies": { - "vite": "^5.0.0", + "vite": "^5.0.0 || ^6.0.0", "vue": "^3.2.25" } }, @@ -1456,9 +1470,9 @@ } }, "node_modules/axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", + "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", "dev": true, "license": "MIT", "dependencies": { @@ -1511,9 +1525,9 @@ } }, "node_modules/browserslist": { - "version": "4.24.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", - "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", + "version": "4.24.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.3.tgz", + "integrity": "sha512-1CPmv8iobE2fyRMV97dAcMVegvvWKxmq94hkLiAkUGwKVTyDLw33K+ZxiFrREKmmps4rIw6grcCFCnTMSZ/YiA==", "dev": true, "funding": [ { @@ -1531,9 +1545,9 @@ ], "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001669", - "electron-to-chromium": "^1.5.41", - "node-releases": "^2.0.18", + "caniuse-lite": "^1.0.30001688", + "electron-to-chromium": "^1.5.73", + "node-releases": "^2.0.19", "update-browserslist-db": "^1.1.1" }, "bin": { @@ -1543,18 +1557,29 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "node_modules/call-bind-apply-helpers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", + "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", "dev": true, "license": "MIT", "dependencies": { - "es-define-property": "^1.0.0", "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz", + "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "get-intrinsic": "^1.2.6" }, "engines": { "node": ">= 0.4" @@ -1574,9 +1599,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001680", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001680.tgz", - "integrity": "sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==", + "version": "1.0.30001689", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001689.tgz", + "integrity": "sha512-CmeR2VBycfa+5/jOfnp/NpWPGd06nf1XYiefUvhXFfZE4GkRc9jv+eGPS4nT558WS/8lYCzV8SlANCIPvbWP1g==", "dev": true, "funding": [ { @@ -1718,9 +1743,9 @@ "license": "MIT" }, "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dev": true, "license": "MIT", "dependencies": { @@ -1745,24 +1770,6 @@ "node": ">=0.10.0" } }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -1788,9 +1795,9 @@ "license": "MIT" }, "node_modules/dotenv": { - "version": "16.4.5", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", - "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", + "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", "dev": true, "license": "BSD-2-Clause", "engines": { @@ -1800,6 +1807,21 @@ "url": "https://dotenvx.com" } }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -1808,9 +1830,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.63", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.63.tgz", - "integrity": "sha512-ddeXKuY9BHo/mw145axlyWjlJ1UBt4WK3AlvkT7W2AbqfRQoacVoRUCF6wL3uIx/8wT9oLKXzI+rFqHHscByaA==", + "version": "1.5.74", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.74.tgz", + "integrity": "sha512-ck3//9RC+6oss/1Bh9tiAVFy5vfSKbRHAFh7Z3/eTRkEqJeWgymloShB17Vg3Z4nmDNp35vAd1BZ6CMW4Wt6Iw==", "dev": true, "license": "ISC" }, @@ -1835,14 +1857,11 @@ } }, "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "dev": true, "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, "engines": { "node": ">= 0.4" } @@ -1857,6 +1876,19 @@ "node": ">= 0.4" } }, + "node_modules/es-object-atoms": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", + "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/esbuild": { "version": "0.21.5", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", @@ -2069,17 +2101,22 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.6.tgz", + "integrity": "sha512-qxsEs+9A+u85HhllWJJFicJfPDhRmjzoYdl64aMWW9yRIJmSyxdn8IEkuIM530/7T+lv0TIHd8L6Q/ra0tEoeA==", "dev": true, "license": "MIT", "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "dunder-proto": "^1.0.0", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -2133,35 +2170,9 @@ } }, "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "dev": true, "license": "MIT", "engines": { @@ -2172,9 +2183,9 @@ } }, "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "dev": true, "license": "MIT", "engines": { @@ -2211,9 +2222,9 @@ } }, "node_modules/is-core-module": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", - "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "version": "2.16.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.0.tgz", + "integrity": "sha512-urTSINYfAYgcbLb0yDQ6egFm6h3Mo1DcF9EkyXSRjjzdHbsulg01qhwWuXdOoUBuTkbQ80KDboXa0vFJ+BDH+g==", "dev": true, "license": "MIT", "dependencies": { @@ -2293,9 +2304,9 @@ } }, "node_modules/jiti": { - "version": "1.21.6", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", - "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", + "version": "1.21.7", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", + "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", "dev": true, "license": "MIT", "bin": { @@ -2310,9 +2321,9 @@ "license": "MIT" }, "node_modules/jsesc": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", "dev": true, "license": "MIT", "bin": { @@ -2336,9 +2347,9 @@ } }, "node_modules/laravel-vite-plugin": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-1.0.6.tgz", - "integrity": "sha512-B34OqmZc/rV1KvSjst8SsUm/LKHsuDusw8jiZCIhlnTHXbXnK89JUM9pTJuk6E/Vc/1DT2gX7qNfhipak1WS8w==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/laravel-vite-plugin/-/laravel-vite-plugin-1.1.1.tgz", + "integrity": "sha512-HMZXpoSs1OR+7Lw1+g4Iy/s3HF3Ldl8KxxYT2Ot8pEB4XB/QRuZeWgDYJdu552UN03YRSRNK84CLC9NzYRtncA==", "dev": true, "license": "MIT", "dependencies": { @@ -2349,20 +2360,23 @@ "clean-orphaned-assets": "bin/clean.js" }, "engines": { - "node": "^18.0.0 || >=20.0.0" + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" }, "peerDependencies": { - "vite": "^5.0.0" + "vite": "^5.0.0 || ^6.0.0" } }, "node_modules/lilconfig": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", - "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", + "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", "dev": true, "license": "MIT", "engines": { - "node": ">=10" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" } }, "node_modules/lines-and-columns": { @@ -2410,15 +2424,25 @@ } }, "node_modules/magic-string": { - "version": "0.30.13", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.13.tgz", - "integrity": "sha512-8rYBO+MsWkgjDSOvLomYnzhdwEG51olQ4zL5KXnNJWV5MNmrb4rTZdrtkhxjnD/QyZUqR/Z/XDsUs/4ej2nx0g==", + "version": "0.30.17", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", + "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" } }, + "node_modules/math-intrinsics": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.0.0.tgz", + "integrity": "sha512-4MqMiKP90ybymYvsut0CH2g4XWbfLtmlCkXmtmdcDCxNB+mQcu1w/1+L/VD7vi/PSv7X2JYV7SCcR+jiPXnQtA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -2522,9 +2546,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -2541,9 +2565,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", - "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", "dev": true, "license": "MIT" }, @@ -2798,19 +2822,6 @@ } } }, - "node_modules/postcss-load-config/node_modules/lilconfig": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", - "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/antonk52" - } - }, "node_modules/postcss-nested": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", @@ -2963,13 +2974,13 @@ } }, "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "version": "1.22.9", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.9.tgz", + "integrity": "sha512-QxrmX1DzraFIi9PxdG5VkRfRwIgjwyud+z/iBwfRRrVmHc+P9Q7u2lSSpQ6bjr2gy5lrqIiU9vb6iAeGf2400A==", "dev": true, "license": "MIT", "dependencies": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -2992,9 +3003,9 @@ } }, "node_modules/rollup": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.27.3.tgz", - "integrity": "sha512-SLsCOnlmGt9VoZ9Ek8yBK8tAdmPHeppkw+Xa7yDlCEhDTvwYei03JlWo1fdc7YTfLZ4tD8riJCUyAgTbszk1fQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.28.1.tgz", + "integrity": "sha512-61fXYl/qNVinKmGSTHAZ6Yy8I3YIJC/r2m9feHo6SwVAVcLT5MPwOUFe7EuURA/4m0NR8lXG4BBXuo/IZEsjMg==", "dev": true, "license": "MIT", "dependencies": { @@ -3008,24 +3019,25 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.27.3", - "@rollup/rollup-android-arm64": "4.27.3", - "@rollup/rollup-darwin-arm64": "4.27.3", - "@rollup/rollup-darwin-x64": "4.27.3", - "@rollup/rollup-freebsd-arm64": "4.27.3", - "@rollup/rollup-freebsd-x64": "4.27.3", - "@rollup/rollup-linux-arm-gnueabihf": "4.27.3", - "@rollup/rollup-linux-arm-musleabihf": "4.27.3", - "@rollup/rollup-linux-arm64-gnu": "4.27.3", - "@rollup/rollup-linux-arm64-musl": "4.27.3", - "@rollup/rollup-linux-powerpc64le-gnu": "4.27.3", - "@rollup/rollup-linux-riscv64-gnu": "4.27.3", - "@rollup/rollup-linux-s390x-gnu": "4.27.3", - "@rollup/rollup-linux-x64-gnu": "4.27.3", - "@rollup/rollup-linux-x64-musl": "4.27.3", - "@rollup/rollup-win32-arm64-msvc": "4.27.3", - "@rollup/rollup-win32-ia32-msvc": "4.27.3", - "@rollup/rollup-win32-x64-msvc": "4.27.3", + "@rollup/rollup-android-arm-eabi": "4.28.1", + "@rollup/rollup-android-arm64": "4.28.1", + "@rollup/rollup-darwin-arm64": "4.28.1", + "@rollup/rollup-darwin-x64": "4.28.1", + "@rollup/rollup-freebsd-arm64": "4.28.1", + "@rollup/rollup-freebsd-x64": "4.28.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.28.1", + "@rollup/rollup-linux-arm-musleabihf": "4.28.1", + "@rollup/rollup-linux-arm64-gnu": "4.28.1", + "@rollup/rollup-linux-arm64-musl": "4.28.1", + "@rollup/rollup-linux-loongarch64-gnu": "4.28.1", + "@rollup/rollup-linux-powerpc64le-gnu": "4.28.1", + "@rollup/rollup-linux-riscv64-gnu": "4.28.1", + "@rollup/rollup-linux-s390x-gnu": "4.28.1", + "@rollup/rollup-linux-x64-gnu": "4.28.1", + "@rollup/rollup-linux-x64-musl": "4.28.1", + "@rollup/rollup-win32-arm64-msvc": "4.28.1", + "@rollup/rollup-win32-ia32-msvc": "4.28.1", + "@rollup/rollup-win32-x64-msvc": "4.28.1", "fsevents": "~2.3.2" } }, @@ -3073,24 +3085,6 @@ "semver": "bin/semver.js" } }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -3115,16 +3109,73 @@ } }, "node_modules/side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", + "call-bound": "^1.0.2", "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -3297,9 +3348,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.15.tgz", - "integrity": "sha512-r4MeXnfBmSOuKUWmXe6h2CcyfzJCEk4F0pptO5jlnYSIViUkVmsawj80N5h2lO3gwcmSb4n3PuN+e+GC1Guylw==", + "version": "3.4.17", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz", + "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==", "dev": true, "license": "MIT", "dependencies": { @@ -3312,7 +3363,7 @@ "glob-parent": "^6.0.2", "is-glob": "^4.0.3", "jiti": "^1.21.6", - "lilconfig": "^2.1.0", + "lilconfig": "^3.1.3", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", diff --git a/react/package-lock.json b/react/package-lock.json index 29b868d..2f3527e 100644 --- a/react/package-lock.json +++ b/react/package-lock.json @@ -1,12 +1,12 @@ { "name": "@inertiaui/modal-react", - "version": "0.13.1", + "version": "0.14.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@inertiaui/modal-react", - "version": "0.13.1", + "version": "0.14.0", "license": "MIT", "dependencies": { "@headlessui/react": "^2.1.0", @@ -14,7 +14,7 @@ "clsx": "^2.1.1" }, "devDependencies": { - "@inertiajs/react": "^1.2.0||^2.0.0-beta.1", + "@inertiajs/react": "^1.3.0||^2.0.0", "@vitejs/plugin-react": "^4.3.1", "axios": "^1.6.0", "eslint": "^8.57.0", @@ -32,7 +32,7 @@ "vite-plugin-eslint": "^1.8.1" }, "peerDependencies": { - "@inertiajs/react": "^1.2.0||^2.0.0-beta.1", + "@inertiajs/react": "^1.3.0||^2.0.0", "axios": "^1.6.0", "react": "^18.2.0", "react-dom": "^18.2.0" @@ -82,9 +82,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.2.tgz", - "integrity": "sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.3.tgz", + "integrity": "sha512-nHIxvKPniQXpmQLb0vhY3VaFb3S0YrTAwpOWJZh1wn3oJPjJk9Asva204PsBdmAE8vpzfHudT8DB0scYvy9q0g==", "dev": true, "license": "MIT", "engines": { @@ -123,14 +123,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.2.tgz", - "integrity": "sha512-zevQbhbau95nkoxSq3f/DC/SC+EEOUZd3DYqfSkMhY2/wfSeaHV1Ew4vk8e+x8lja31IbyuUa2uQ3JONqKbysw==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.3.tgz", + "integrity": "sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/parser": "^7.26.2", - "@babel/types": "^7.26.0", + "@babel/parser": "^7.26.3", + "@babel/types": "^7.26.3", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^3.0.2" @@ -243,13 +243,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.2.tgz", - "integrity": "sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.3.tgz", + "integrity": "sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.26.0" + "@babel/types": "^7.26.3" }, "bin": { "parser": "bin/babel-parser.js" @@ -306,17 +306,17 @@ } }, "node_modules/@babel/traverse": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.9.tgz", - "integrity": "sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==", + "version": "7.26.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.4.tgz", + "integrity": "sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.25.9", - "@babel/generator": "^7.25.9", - "@babel/parser": "^7.25.9", + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.3", + "@babel/parser": "^7.26.3", "@babel/template": "^7.25.9", - "@babel/types": "^7.25.9", + "@babel/types": "^7.26.3", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -325,9 +325,9 @@ } }, "node_modules/@babel/types": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz", - "integrity": "sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.3.tgz", + "integrity": "sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==", "dev": true, "license": "MIT", "dependencies": { @@ -928,30 +928,29 @@ "license": "BSD-3-Clause" }, "node_modules/@inertiajs/core": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@inertiajs/core/-/core-1.2.0.tgz", - "integrity": "sha512-6U0gqCPbGGGMcLoDm+ckKipc5gptZMmfVFfPGdO7vlO7yipWf1RD+TKkcZGJklFvfgFMKwK2VPw8GAv1OctuQA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@inertiajs/core/-/core-2.0.0.tgz", + "integrity": "sha512-2kvlk731NjwfXUku/ZoXsZNcOzx985icHtTC1dgN+8sAZtJfEg9QBrQ7sBjeLYiWtKgobJdwwpeDaexEneAtLQ==", "dev": true, "license": "MIT", "dependencies": { "axios": "^1.6.0", "deepmerge": "^4.0.0", - "nprogress": "^0.2.0", "qs": "^6.9.0" } }, "node_modules/@inertiajs/react": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@inertiajs/react/-/react-1.2.0.tgz", - "integrity": "sha512-Q3wTaQJdoUbUB8YIGeQ0y2Tf/k8dNtz9Nu2dYr1pbYUBv++6d45iC/CFB/lIpqVvvUw8XuIai2bdsUcRSIbPCQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@inertiajs/react/-/react-2.0.0.tgz", + "integrity": "sha512-7X6TMYe7FcjG05UjRBkPYjTw/U+CrMeVDxxRolncuNYp6LmifPs1xOjTOC5M7gbpKaDEL/LuxNAX7ePJC3cbPg==", "dev": true, "license": "MIT", "dependencies": { - "@inertiajs/core": "1.2.0", + "@inertiajs/core": "2.0.0", "lodash.isequal": "^4.5.0" }, "peerDependencies": { - "react": "^16.9.0 || ^17.0.0 || ^18.0.0" + "react": "^16.9.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "node_modules/@isaacs/cliui": { @@ -1005,9 +1004,9 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", - "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", "dev": true, "license": "MIT", "dependencies": { @@ -1121,40 +1120,40 @@ } }, "node_modules/@react-aria/focus": { - "version": "3.18.4", - "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.18.4.tgz", - "integrity": "sha512-91J35077w9UNaMK1cpMUEFRkNNz0uZjnSwiyBCFuRdaVuivO53wNC9XtWSDNDdcO5cGy87vfJRVAiyoCn/mjqA==", + "version": "3.19.0", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.19.0.tgz", + "integrity": "sha512-hPF9EXoUQeQl1Y21/rbV2H4FdUR2v+4/I0/vB+8U3bT1CJ+1AFj1hc/rqx2DqEwDlEwOHN+E4+mRahQmlybq0A==", "license": "Apache-2.0", "dependencies": { - "@react-aria/interactions": "^3.22.4", - "@react-aria/utils": "^3.25.3", - "@react-types/shared": "^3.25.0", + "@react-aria/interactions": "^3.22.5", + "@react-aria/utils": "^3.26.0", + "@react-types/shared": "^3.26.0", "@swc/helpers": "^0.5.0", "clsx": "^2.0.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "node_modules/@react-aria/interactions": { - "version": "3.22.4", - "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.22.4.tgz", - "integrity": "sha512-E0vsgtpItmknq/MJELqYJwib+YN18Qag8nroqwjk1qOnBa9ROIkUhWJerLi1qs5diXq9LHKehZDXRlwPvdEFww==", + "version": "3.22.5", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.22.5.tgz", + "integrity": "sha512-kMwiAD9E0TQp+XNnOs13yVJghiy8ET8L0cbkeuTgNI96sOAp/63EJ1FSrDf17iD8sdjt41LafwX/dKXW9nCcLQ==", "license": "Apache-2.0", "dependencies": { - "@react-aria/ssr": "^3.9.6", - "@react-aria/utils": "^3.25.3", - "@react-types/shared": "^3.25.0", + "@react-aria/ssr": "^3.9.7", + "@react-aria/utils": "^3.26.0", + "@react-types/shared": "^3.26.0", "@swc/helpers": "^0.5.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "node_modules/@react-aria/ssr": { - "version": "3.9.6", - "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.9.6.tgz", - "integrity": "sha512-iLo82l82ilMiVGy342SELjshuWottlb5+VefO3jOQqQRNYnJBFpUSadswDPbRimSgJUZuFwIEYs6AabkP038fA==", + "version": "3.9.7", + "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.9.7.tgz", + "integrity": "sha512-GQygZaGlmYjmYM+tiNBA5C6acmiDWF52Nqd40bBp0Znk4M4hP+LTmI0lpI1BuKMw45T8RIhrAsICIfKwZvi2Gg==", "license": "Apache-2.0", "dependencies": { "@swc/helpers": "^0.5.0" @@ -1163,44 +1162,44 @@ "node": ">= 12" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "node_modules/@react-aria/utils": { - "version": "3.25.3", - "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.25.3.tgz", - "integrity": "sha512-PR5H/2vaD8fSq0H/UB9inNbc8KDcVmW6fYAfSWkkn+OAdhTTMVKqXXrZuZBWyFfSD5Ze7VN6acr4hrOQm2bmrA==", + "version": "3.26.0", + "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.26.0.tgz", + "integrity": "sha512-LkZouGSjjQ0rEqo4XJosS4L3YC/zzQkfRM3KoqK6fUOmUJ9t0jQ09WjiF+uOoG9u+p30AVg3TrZRUWmoTS+koQ==", "license": "Apache-2.0", "dependencies": { - "@react-aria/ssr": "^3.9.6", - "@react-stately/utils": "^3.10.4", - "@react-types/shared": "^3.25.0", + "@react-aria/ssr": "^3.9.7", + "@react-stately/utils": "^3.10.5", + "@react-types/shared": "^3.26.0", "@swc/helpers": "^0.5.0", "clsx": "^2.0.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "node_modules/@react-stately/utils": { - "version": "3.10.4", - "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.10.4.tgz", - "integrity": "sha512-gBEQEIMRh5f60KCm7QKQ2WfvhB2gLUr9b72sqUdIZ2EG+xuPgaIlCBeSicvjmjBvYZwOjoOEnmIkcx2GHp/HWw==", + "version": "3.10.5", + "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.10.5.tgz", + "integrity": "sha512-iMQSGcpaecghDIh3mZEpZfoFH3ExBwTtuBEcvZ2XnGzCgQjeYXcMdIUwAfVQLXFTdHUHGF6Gu6/dFrYsCzySBQ==", "license": "Apache-2.0", "dependencies": { "@swc/helpers": "^0.5.0" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "node_modules/@react-types/shared": { - "version": "3.25.0", - "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.25.0.tgz", - "integrity": "sha512-OZSyhzU6vTdW3eV/mz5i6hQwQUhkRs7xwY2d1aqPvTdMe0+2cY7Fwp45PAiwYLEj73i9ro2FxF9qC4DvHGSCgQ==", + "version": "3.26.0", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.26.0.tgz", + "integrity": "sha512-6FuPqvhmjjlpEDLTiYx29IJCbCNWPlsyO+ZUmCUXzhUv2ttShOXfw8CmeHWHftT/b2KweAWuzqSlfeXPR76jpw==", "license": "Apache-2.0", "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" + "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1" } }, "node_modules/@rollup/pluginutils": { @@ -1218,9 +1217,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.27.3.tgz", - "integrity": "sha512-EzxVSkIvCFxUd4Mgm4xR9YXrcp976qVaHnqom/Tgm+vU79k4vV4eYTjmRvGfeoW8m9LVcsAy/lGjcgVegKEhLQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.28.1.tgz", + "integrity": "sha512-2aZp8AES04KI2dy3Ss6/MDjXbwBzj+i0GqKtWXgw2/Ma6E4jJvujryO6gJAghIRVz7Vwr9Gtl/8na3nDUKpraQ==", "cpu": [ "arm" ], @@ -1232,9 +1231,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.27.3.tgz", - "integrity": "sha512-LJc5pDf1wjlt9o/Giaw9Ofl+k/vLUaYsE2zeQGH85giX2F+wn/Cg8b3c5CDP3qmVmeO5NzwVUzQQxwZvC2eQKw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.28.1.tgz", + "integrity": "sha512-EbkK285O+1YMrg57xVA+Dp0tDBRB93/BZKph9XhMjezf6F4TpYjaUSuPt5J0fZXlSag0LmZAsTmdGGqPp4pQFA==", "cpu": [ "arm64" ], @@ -1246,9 +1245,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.27.3.tgz", - "integrity": "sha512-OuRysZ1Mt7wpWJ+aYKblVbJWtVn3Cy52h8nLuNSzTqSesYw1EuN6wKp5NW/4eSre3mp12gqFRXOKTcN3AI3LqA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.28.1.tgz", + "integrity": "sha512-prduvrMKU6NzMq6nxzQw445zXgaDBbMQvmKSJaxpaZ5R1QDM8w+eGxo6Y/jhT/cLoCvnZI42oEqf9KQNYz1fqQ==", "cpu": [ "arm64" ], @@ -1260,9 +1259,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.27.3.tgz", - "integrity": "sha512-xW//zjJMlJs2sOrCmXdB4d0uiilZsOdlGQIC/jjmMWT47lkLLoB1nsNhPUcnoqyi5YR6I4h+FjBpILxbEy8JRg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.28.1.tgz", + "integrity": "sha512-WsvbOunsUk0wccO/TV4o7IKgloJ942hVFK1CLatwv6TJspcCZb9umQkPdvB7FihmdxgaKR5JyxDjWpCOp4uZlQ==", "cpu": [ "x64" ], @@ -1274,9 +1273,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.27.3.tgz", - "integrity": "sha512-58E0tIcwZ+12nK1WiLzHOD8I0d0kdrY/+o7yFVPRHuVGY3twBwzwDdTIBGRxLmyjciMYl1B/U515GJy+yn46qw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.28.1.tgz", + "integrity": "sha512-HTDPdY1caUcU4qK23FeeGxCdJF64cKkqajU0iBnTVxS8F7H/7BewvYoG+va1KPSL63kQ1PGNyiwKOfReavzvNA==", "cpu": [ "arm64" ], @@ -1288,9 +1287,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.27.3.tgz", - "integrity": "sha512-78fohrpcVwTLxg1ZzBMlwEimoAJmY6B+5TsyAZ3Vok7YabRBUvjYTsRXPTjGEvv/mfgVBepbW28OlMEz4w8wGA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.28.1.tgz", + "integrity": "sha512-m/uYasxkUevcFTeRSM9TeLyPe2QDuqtjkeoTpP9SW0XxUWfcYrGDMkO/m2tTw+4NMAF9P2fU3Mw4ahNvo7QmsQ==", "cpu": [ "x64" ], @@ -1302,9 +1301,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.27.3.tgz", - "integrity": "sha512-h2Ay79YFXyQi+QZKo3ISZDyKaVD7uUvukEHTOft7kh00WF9mxAaxZsNs3o/eukbeKuH35jBvQqrT61fzKfAB/Q==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.28.1.tgz", + "integrity": "sha512-QAg11ZIt6mcmzpNE6JZBpKfJaKkqTm1A9+y9O+frdZJEuhQxiugM05gnCWiANHj4RmbgeVJpTdmKRmH/a+0QbA==", "cpu": [ "arm" ], @@ -1316,9 +1315,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.27.3.tgz", - "integrity": "sha512-Sv2GWmrJfRY57urktVLQ0VKZjNZGogVtASAgosDZ1aUB+ykPxSi3X1nWORL5Jk0sTIIwQiPH7iE3BMi9zGWfkg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.28.1.tgz", + "integrity": "sha512-dRP9PEBfolq1dmMcFqbEPSd9VlRuVWEGSmbxVEfiq2cs2jlZAl0YNxFzAQS2OrQmsLBLAATDMb3Z6MFv5vOcXg==", "cpu": [ "arm" ], @@ -1330,9 +1329,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.27.3.tgz", - "integrity": "sha512-FPoJBLsPW2bDNWjSrwNuTPUt30VnfM8GPGRoLCYKZpPx0xiIEdFip3dH6CqgoT0RnoGXptaNziM0WlKgBc+OWQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.28.1.tgz", + "integrity": "sha512-uGr8khxO+CKT4XU8ZUH1TTEUtlktK6Kgtv0+6bIFSeiSlnGJHG1tSFSjm41uQ9sAO/5ULx9mWOz70jYLyv1QkA==", "cpu": [ "arm64" ], @@ -1344,9 +1343,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.27.3.tgz", - "integrity": "sha512-TKxiOvBorYq4sUpA0JT+Fkh+l+G9DScnG5Dqx7wiiqVMiRSkzTclP35pE6eQQYjP4Gc8yEkJGea6rz4qyWhp3g==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.28.1.tgz", + "integrity": "sha512-QF54q8MYGAqMLrX2t7tNpi01nvq5RI59UBNx+3+37zoKX5KViPo/gk2QLhsuqok05sSCRluj0D00LzCwBikb0A==", "cpu": [ "arm64" ], @@ -1357,10 +1356,24 @@ "linux" ] }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.28.1.tgz", + "integrity": "sha512-vPul4uodvWvLhRco2w0GcyZcdyBfpfDRgNKU+p35AWEbJ/HPs1tOUrkSueVbBS0RQHAf/A+nNtDpvw95PeVKOA==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.27.3.tgz", - "integrity": "sha512-v2M/mPvVUKVOKITa0oCFksnQQ/TqGrT+yD0184/cWHIu0LoIuYHwox0Pm3ccXEz8cEQDLk6FPKd1CCm+PlsISw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.28.1.tgz", + "integrity": "sha512-pTnTdBuC2+pt1Rmm2SV7JWRqzhYpEILML4PKODqLz+C7Ou2apEV52h19CR7es+u04KlqplggmN9sqZlekg3R1A==", "cpu": [ "ppc64" ], @@ -1372,9 +1385,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.27.3.tgz", - "integrity": "sha512-LdrI4Yocb1a/tFVkzmOE5WyYRgEBOyEhWYJe4gsDWDiwnjYKjNs7PS6SGlTDB7maOHF4kxevsuNBl2iOcj3b4A==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.28.1.tgz", + "integrity": "sha512-vWXy1Nfg7TPBSuAncfInmAI/WZDd5vOklyLJDdIRKABcZWojNDY0NJwruY2AcnCLnRJKSaBgf/GiJfauu8cQZA==", "cpu": [ "riscv64" ], @@ -1386,9 +1399,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.27.3.tgz", - "integrity": "sha512-d4wVu6SXij/jyiwPvI6C4KxdGzuZOvJ6y9VfrcleHTwo68fl8vZC5ZYHsCVPUi4tndCfMlFniWgwonQ5CUpQcA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.28.1.tgz", + "integrity": "sha512-/yqC2Y53oZjb0yz8PVuGOQQNOTwxcizudunl/tFs1aLvObTclTwZ0JhXF2XcPT/zuaymemCDSuuUPXJJyqeDOg==", "cpu": [ "s390x" ], @@ -1400,9 +1413,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.27.3.tgz", - "integrity": "sha512-/6bn6pp1fsCGEY5n3yajmzZQAh+mW4QPItbiWxs69zskBzJuheb3tNynEjL+mKOsUSFK11X4LYF2BwwXnzWleA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.1.tgz", + "integrity": "sha512-fzgeABz7rrAlKYB0y2kSEiURrI0691CSL0+KXwKwhxvj92VULEDQLpBYLHpF49MSiPG4sq5CK3qHMnb9tlCjBw==", "cpu": [ "x64" ], @@ -1414,9 +1427,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.27.3.tgz", - "integrity": "sha512-nBXOfJds8OzUT1qUreT/en3eyOXd2EH5b0wr2bVB5999qHdGKkzGzIyKYaKj02lXk6wpN71ltLIaQpu58YFBoQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.28.1.tgz", + "integrity": "sha512-xQTDVzSGiMlSshpJCtudbWyRfLaNiVPXt1WgdWTwWz9n0U12cI2ZVtWe/Jgwyv/6wjL7b66uu61Vg0POWVfz4g==", "cpu": [ "x64" ], @@ -1428,9 +1441,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.27.3.tgz", - "integrity": "sha512-ogfbEVQgIZOz5WPWXF2HVb6En+kWzScuxJo/WdQTqEgeyGkaa2ui5sQav9Zkr7bnNCLK48uxmmK0TySm22eiuw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.28.1.tgz", + "integrity": "sha512-wSXmDRVupJstFP7elGMgv+2HqXelQhuNf+IS4V+nUpNVi/GUiBgDmfwD0UGN3pcAnWsgKG3I52wMOBnk1VHr/A==", "cpu": [ "arm64" ], @@ -1442,9 +1455,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.27.3.tgz", - "integrity": "sha512-ecE36ZBMLINqiTtSNQ1vzWc5pXLQHlf/oqGp/bSbi7iedcjcNb6QbCBNG73Euyy2C+l/fn8qKWEwxr+0SSfs3w==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.28.1.tgz", + "integrity": "sha512-ZkyTJ/9vkgrE/Rk9vhMXhf8l9D+eAhbAVbsGsXKy2ohmJaWg0LPQLnIxRdRp/bKyr8tXuPlXhIoGlEB5XpJnGA==", "cpu": [ "ia32" ], @@ -1456,9 +1469,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.27.3.tgz", - "integrity": "sha512-vliZLrDmYKyaUoMzEbMTg2JkerfBjn03KmAw9CykO0Zzkzoyd7o3iZNam/TpyWNjNT+Cz2iO3P9Smv2wgrR+Eg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.28.1.tgz", + "integrity": "sha512-ZvK2jBafvttJjoIdKm/Q/Bh7IJ1Ose9IBOwpOXcOvW3ikGTQGmKDgxTC6oCAzW6PynbkKP8+um1du81XJHZ0JA==", "cpu": [ "x64" ], @@ -1479,26 +1492,26 @@ } }, "node_modules/@tanstack/react-virtual": { - "version": "3.10.9", - "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.10.9.tgz", - "integrity": "sha512-OXO2uBjFqA4Ibr2O3y0YMnkrRWGVNqcvHQXmGvMu6IK8chZl3PrDxFXdGZ2iZkSrKh3/qUYoFqYe+Rx23RoU0g==", + "version": "3.11.2", + "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.11.2.tgz", + "integrity": "sha512-OuFzMXPF4+xZgx8UzJha0AieuMihhhaWG0tCqpp6tDzlFwOmNBPYMuLOtMJ1Tr4pXLHmgjcWhG6RlknY2oNTdQ==", "license": "MIT", "dependencies": { - "@tanstack/virtual-core": "3.10.9" + "@tanstack/virtual-core": "3.11.2" }, "funding": { "type": "github", "url": "https://github.com/sponsors/tannerlinsley" }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "node_modules/@tanstack/virtual-core": { - "version": "3.10.9", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.10.9.tgz", - "integrity": "sha512-kBknKOKzmeR7lN+vSadaKWXaLS0SZZG+oqpQ/k80Q6g9REn6zRHS/ZYdrIzHnpHgy/eWs00SujveUN/GJT2qTw==", + "version": "3.11.2", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.11.2.tgz", + "integrity": "sha512-vTtpNt7mKCiZ1pwU9hfKPhpdVO2sVzFQsxoVBGtOSHxlrRRzYr8iQ2TlwbAcRYCcEiZ9ECAM8kBzH0v2+VzfKw==", "license": "MIT", "funding": { "type": "github", @@ -1576,22 +1589,22 @@ "license": "MIT" }, "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.1.tgz", + "integrity": "sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==", "dev": true, "license": "ISC" }, "node_modules/@vitejs/plugin-react": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.3.tgz", - "integrity": "sha512-NooDe9GpHGqNns1i8XDERg0Vsg5SSYRhRxxyTGogUdkdNt47jal+fbuYi+Yfq6pzRCKXyoPcWisfxE6RIM3GKA==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.4.tgz", + "integrity": "sha512-SCCPBJtYLdE8PX/7ZQAs1QAZ8Jqwih+0VBLum1EGqmCCQal+MIUqLCzj3ZUy8ufbC0cAM4LRlSTm7IQJwWT4ug==", "dev": true, "license": "MIT", "dependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-react-jsx-self": "^7.24.7", - "@babel/plugin-transform-react-jsx-source": "^7.24.7", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-react-jsx-self": "^7.25.9", + "@babel/plugin-transform-react-jsx-source": "^7.25.9", "@types/babel__core": "^7.20.5", "react-refresh": "^0.14.2" }, @@ -1599,7 +1612,7 @@ "node": "^14.18.0 || >=16.0.0" }, "peerDependencies": { - "vite": "^4.2.0 || ^5.0.0" + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0" } }, "node_modules/acorn": { @@ -1766,16 +1779,16 @@ } }, "node_modules/array.prototype.flat": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", - "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz", + "integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-shim-unscopables": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -1785,16 +1798,16 @@ } }, "node_modules/array.prototype.flatmap": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", - "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz", + "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-shim-unscopables": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -1821,20 +1834,19 @@ } }, "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", - "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz", + "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==", "dev": true, "license": "MIT", "dependencies": { "array-buffer-byte-length": "^1.0.1", - "call-bind": "^1.0.5", + "call-bind": "^1.0.8", "define-properties": "^1.2.1", - "es-abstract": "^1.22.3", - "es-errors": "^1.2.1", - "get-intrinsic": "^1.2.3", - "is-array-buffer": "^3.0.4", - "is-shared-array-buffer": "^1.0.2" + "es-abstract": "^1.23.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "is-array-buffer": "^3.0.4" }, "engines": { "node": ">= 0.4" @@ -1867,9 +1879,9 @@ } }, "node_modules/axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", + "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", "dev": true, "license": "MIT", "dependencies": { @@ -1924,9 +1936,9 @@ } }, "node_modules/browserslist": { - "version": "4.24.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", - "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", + "version": "4.24.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.3.tgz", + "integrity": "sha512-1CPmv8iobE2fyRMV97dAcMVegvvWKxmq94hkLiAkUGwKVTyDLw33K+ZxiFrREKmmps4rIw6grcCFCnTMSZ/YiA==", "dev": true, "funding": [ { @@ -1944,9 +1956,9 @@ ], "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001669", - "electron-to-chromium": "^1.5.41", - "node-releases": "^2.0.18", + "caniuse-lite": "^1.0.30001688", + "electron-to-chromium": "^1.5.73", + "node-releases": "^2.0.19", "update-browserslist-db": "^1.1.1" }, "bin": { @@ -1957,17 +1969,47 @@ } }, "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz", + "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==", "dev": true, "license": "MIT", "dependencies": { + "call-bind-apply-helpers": "^1.0.0", "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" + "set-function-length": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", + "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz", + "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "get-intrinsic": "^1.2.6" }, "engines": { "node": ">= 0.4" @@ -1998,9 +2040,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001680", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001680.tgz", - "integrity": "sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==", + "version": "1.0.30001689", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001689.tgz", + "integrity": "sha512-CmeR2VBycfa+5/jOfnp/NpWPGd06nf1XYiefUvhXFfZE4GkRc9jv+eGPS4nT558WS/8lYCzV8SlANCIPvbWP1g==", "dev": true, "funding": [ { @@ -2226,9 +2268,9 @@ } }, "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dev": true, "license": "MIT", "dependencies": { @@ -2335,6 +2377,21 @@ "node": ">=6.0.0" } }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -2344,9 +2401,9 @@ "peer": true }, "node_modules/electron-to-chromium": { - "version": "1.5.63", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.63.tgz", - "integrity": "sha512-ddeXKuY9BHo/mw145axlyWjlJ1UBt4WK3AlvkT7W2AbqfRQoacVoRUCF6wL3uIx/8wT9oLKXzI+rFqHHscByaA==", + "version": "1.5.74", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.74.tgz", + "integrity": "sha512-ck3//9RC+6oss/1Bh9tiAVFy5vfSKbRHAFh7Z3/eTRkEqJeWgymloShB17Vg3Z4nmDNp35vAd1BZ6CMW4Wt6Iw==", "dev": true, "license": "ISC" }, @@ -2359,58 +2416,60 @@ "peer": true }, "node_modules/es-abstract": { - "version": "1.23.5", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.5.tgz", - "integrity": "sha512-vlmniQ0WNPwXqA0BnmwV3Ng7HxiGlh6r5U6JcTMNx8OilcAGqVJBHJcPjqOMaczU9fRuRK5Px2BdVyPRnKMMVQ==", + "version": "1.23.6", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.6.tgz", + "integrity": "sha512-Ifco6n3yj2tMZDWNLyloZrytt9lqqlwvS83P3HtaETR0NUOYnIULGGHpktqYGObGy+8wc1okO25p8TjemhImvA==", "dev": true, "license": "MIT", "dependencies": { "array-buffer-byte-length": "^1.0.1", - "arraybuffer.prototype.slice": "^1.0.3", + "arraybuffer.prototype.slice": "^1.0.4", "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", "data-view-buffer": "^1.0.1", "data-view-byte-length": "^1.0.1", "data-view-byte-offset": "^1.0.0", - "es-define-property": "^1.0.0", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.0.0", "es-set-tostringtag": "^2.0.3", - "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.6", - "get-intrinsic": "^1.2.4", + "es-to-primitive": "^1.3.0", + "function.prototype.name": "^1.1.7", + "get-intrinsic": "^1.2.6", "get-symbol-description": "^1.0.2", "globalthis": "^1.0.4", - "gopd": "^1.0.1", + "gopd": "^1.2.0", "has-property-descriptors": "^1.0.2", - "has-proto": "^1.0.3", - "has-symbols": "^1.0.3", + "has-proto": "^1.2.0", + "has-symbols": "^1.1.0", "hasown": "^2.0.2", - "internal-slot": "^1.0.7", + "internal-slot": "^1.1.0", "is-array-buffer": "^3.0.4", "is-callable": "^1.2.7", - "is-data-view": "^1.0.1", + "is-data-view": "^1.0.2", "is-negative-zero": "^2.0.3", - "is-regex": "^1.1.4", + "is-regex": "^1.2.1", "is-shared-array-buffer": "^1.0.3", - "is-string": "^1.0.7", + "is-string": "^1.1.1", "is-typed-array": "^1.1.13", - "is-weakref": "^1.0.2", + "is-weakref": "^1.1.0", + "math-intrinsics": "^1.0.0", "object-inspect": "^1.13.3", "object-keys": "^1.1.1", "object.assign": "^4.1.5", "regexp.prototype.flags": "^1.5.3", - "safe-array-concat": "^1.1.2", - "safe-regex-test": "^1.0.3", - "string.prototype.trim": "^1.2.9", - "string.prototype.trimend": "^1.0.8", + "safe-array-concat": "^1.1.3", + "safe-regex-test": "^1.1.0", + "string.prototype.trim": "^1.2.10", + "string.prototype.trimend": "^1.0.9", "string.prototype.trimstart": "^1.0.8", "typed-array-buffer": "^1.0.2", "typed-array-byte-length": "^1.0.1", - "typed-array-byte-offset": "^1.0.2", - "typed-array-length": "^1.0.6", + "typed-array-byte-offset": "^1.0.3", + "typed-array-length": "^1.0.7", "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.15" + "which-typed-array": "^1.1.16" }, "engines": { "node": ">= 0.4" @@ -2420,14 +2479,11 @@ } }, "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "dev": true, "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, "engines": { "node": ">= 0.4" } @@ -2508,15 +2564,15 @@ } }, "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz", + "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==", "dev": true, "license": "MIT", "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "is-callable": "^1.2.7", + "is-date-object": "^1.0.5", + "is-symbol": "^1.0.4" }, "engines": { "node": ">= 0.4" @@ -3143,16 +3199,17 @@ } }, "node_modules/function.prototype.name": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", - "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.7.tgz", + "integrity": "sha512-2g4x+HqTJKM9zcJqBSpjoRmdcPFtJM60J3xJisTQSXBWka5XqyBN/2tNUgma1mztTXyDuUsEtYe5qcs7xYzYQA==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "functions-have-names": "^1.2.3" + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "functions-have-names": "^1.2.3", + "hasown": "^2.0.2", + "is-callable": "^1.2.7" }, "engines": { "node": ">= 0.4" @@ -3182,17 +3239,22 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.6.tgz", + "integrity": "sha512-qxsEs+9A+u85HhllWJJFicJfPDhRmjzoYdl64aMWW9yRIJmSyxdn8IEkuIM530/7T+lv0TIHd8L6Q/ra0tEoeA==", "dev": true, "license": "MIT", "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "dunder-proto": "^1.0.0", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -3202,15 +3264,15 @@ } }, "node_modules/get-symbol-description": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", - "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz", + "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.5", + "call-bound": "^1.0.3", "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4" + "get-intrinsic": "^1.2.6" }, "engines": { "node": ">= 0.4" @@ -3282,13 +3344,13 @@ } }, "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "dev": true, "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3335,11 +3397,14 @@ } }, "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz", + "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", "dev": true, "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.0" + }, "engines": { "node": ">= 0.4" }, @@ -3348,9 +3413,9 @@ } }, "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "dev": true, "license": "MIT", "engines": { @@ -3446,29 +3511,30 @@ "license": "ISC" }, "node_modules/internal-slot": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", - "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz", + "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==", "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", - "hasown": "^2.0.0", - "side-channel": "^1.0.4" + "hasown": "^2.0.2", + "side-channel": "^1.1.0" }, "engines": { "node": ">= 0.4" } }, "node_modules/is-array-buffer": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", - "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", + "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1" + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" }, "engines": { "node": ">= 0.4" @@ -3494,13 +3560,16 @@ } }, "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz", + "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", "dev": true, "license": "MIT", "dependencies": { - "has-bigints": "^1.0.1" + "has-bigints": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3521,14 +3590,14 @@ } }, "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.1.tgz", + "integrity": "sha512-l9qO6eFlUETHtuihLcYOaLKByJ1f+N4kthcU9YjHy3N+B3hWv0y/2Nd0mu/7lTFnRQHTrSdXF50HQ3bl5fEnng==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "call-bound": "^1.0.2", + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -3551,9 +3620,9 @@ } }, "node_modules/is-core-module": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", - "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "version": "2.16.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.0.tgz", + "integrity": "sha512-urTSINYfAYgcbLb0yDQ6egFm6h3Mo1DcF9EkyXSRjjzdHbsulg01qhwWuXdOoUBuTkbQ80KDboXa0vFJ+BDH+g==", "dev": true, "license": "MIT", "dependencies": { @@ -3567,12 +3636,14 @@ } }, "node_modules/is-data-view": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", - "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz", + "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==", "dev": true, "license": "MIT", "dependencies": { + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", "is-typed-array": "^1.1.13" }, "engines": { @@ -3583,13 +3654,14 @@ } }, "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz", + "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==", "dev": true, "license": "MIT", "dependencies": { - "has-tostringtag": "^1.0.0" + "call-bound": "^1.0.2", + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -3609,13 +3681,16 @@ } }, "node_modules/is-finalizationregistry": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz", - "integrity": "sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz", + "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2" + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3698,13 +3773,14 @@ } }, "node_modules/is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz", + "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==", "dev": true, "license": "MIT", "dependencies": { - "has-tostringtag": "^1.0.0" + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -3724,14 +3800,16 @@ } }, "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", + "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "call-bound": "^1.0.2", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" }, "engines": { "node": ">= 0.4" @@ -3770,13 +3848,14 @@ } }, "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz", + "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==", "dev": true, "license": "MIT", "dependencies": { - "has-tostringtag": "^1.0.0" + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -3786,13 +3865,15 @@ } }, "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz", + "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==", "dev": true, "license": "MIT", "dependencies": { - "has-symbols": "^1.0.2" + "call-bound": "^1.0.2", + "has-symbols": "^1.1.0", + "safe-regex-test": "^1.1.0" }, "engines": { "node": ">= 0.4" @@ -3802,13 +3883,13 @@ } }, "node_modules/is-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.14.tgz", + "integrity": "sha512-lQUsHzcTb7rH57dajbOuZEuMDXjs9f04ZloER4QOpjpKcaw4f98BRUrs8aiO9Z4G7i7B0Xhgarg6SCgYcYi8Nw==", "dev": true, "license": "MIT", "dependencies": { - "which-typed-array": "^1.1.14" + "which-typed-array": "^1.1.16" }, "engines": { "node": ">= 0.4" @@ -3831,27 +3912,30 @@ } }, "node_modules/is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.0.tgz", + "integrity": "sha512-SXM8Nwyys6nT5WP6pltOwKytLV7FqQ4UiibxVmW+EIosHcmCqkkjViTb5SNssDlkCiEYRP1/pdWUKVvZBmsR2Q==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2" + "call-bound": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-weakset": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.3.tgz", - "integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz", + "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", - "get-intrinsic": "^1.2.4" + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" }, "engines": { "node": ">= 0.4" @@ -3875,17 +3959,18 @@ "license": "ISC" }, "node_modules/iterator.prototype": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.3.tgz", - "integrity": "sha512-FW5iMbeQ6rBGm/oKgzq2aW4KvAGpxPzYES8N4g4xNXUKpL1mclMvOe+76AcLDTvD+Ze+sOpVhgdAQEKF4L9iGQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.4.tgz", + "integrity": "sha512-x4WH0BWmrMmg4oHHl+duwubhrvczGlyuGAZu3nvrf0UXOfPu8IhZObFEr7DE/iv01YgVZrsOiRcqw2srkKEDIA==", "dev": true, "license": "MIT", "dependencies": { - "define-properties": "^1.2.1", - "get-intrinsic": "^1.2.1", - "has-symbols": "^1.0.3", - "reflect.getprototypeof": "^1.0.4", - "set-function-name": "^2.0.1" + "define-data-property": "^1.1.4", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.6", + "has-symbols": "^1.1.0", + "reflect.getprototypeof": "^1.0.8", + "set-function-name": "^2.0.2" }, "engines": { "node": ">= 0.4" @@ -3909,9 +3994,9 @@ } }, "node_modules/jiti": { - "version": "1.21.6", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", - "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", + "version": "1.21.7", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", + "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", "dev": true, "license": "MIT", "peer": true, @@ -3939,9 +4024,9 @@ } }, "node_modules/jsesc": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", "dev": true, "license": "MIT", "bin": { @@ -4026,14 +4111,17 @@ } }, "node_modules/lilconfig": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", - "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", + "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", "dev": true, "license": "MIT", "peer": true, "engines": { - "node": ">=10" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" } }, "node_modules/lines-and-columns": { @@ -4096,6 +4184,16 @@ "yallist": "^3.0.2" } }, + "node_modules/math-intrinsics": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.0.0.tgz", + "integrity": "sha512-4MqMiKP90ybymYvsut0CH2g4XWbfLtmlCkXmtmdcDCxNB+mQcu1w/1+L/VD7vi/PSv7X2JYV7SCcR+jiPXnQtA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -4188,9 +4286,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -4214,9 +4312,9 @@ "license": "MIT" }, "node_modules/node-releases": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", - "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", "dev": true, "license": "MIT" }, @@ -4231,13 +4329,6 @@ "node": ">=0.10.0" } }, - "node_modules/nprogress": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/nprogress/-/nprogress-0.2.0.tgz", - "integrity": "sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==", - "dev": true, - "license": "MIT" - }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -4598,14 +4689,14 @@ } }, "node_modules/postcss-import/node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "version": "1.22.9", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.9.tgz", + "integrity": "sha512-QxrmX1DzraFIi9PxdG5VkRfRwIgjwyud+z/iBwfRRrVmHc+P9Q7u2lSSpQ6bjr2gy5lrqIiU9vb6iAeGf2400A==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -4674,20 +4765,6 @@ } } }, - "node_modules/postcss-load-config/node_modules/lilconfig": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", - "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", - "dev": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/antonk52" - } - }, "node_modules/postcss-nested": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", @@ -4749,9 +4826,9 @@ } }, "node_modules/prettier": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", - "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "license": "MIT", "bin": { @@ -4986,19 +5063,20 @@ } }, "node_modules/reflect.getprototypeof": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.6.tgz", - "integrity": "sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.8.tgz", + "integrity": "sha512-B5dj6usc5dkk8uFliwjwDHM8To5/QwdKz9JcBZ8Ic4G1f0YmeeJTtE/ZTdgRFPAfxZFiUaPhZ1Jcs4qeagItGQ==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", + "call-bind": "^1.0.8", "define-properties": "^1.2.1", - "es-abstract": "^1.23.1", + "dunder-proto": "^1.0.0", + "es-abstract": "^1.23.5", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.4", - "globalthis": "^1.0.3", - "which-builtin-type": "^1.1.3" + "gopd": "^1.2.0", + "which-builtin-type": "^1.2.0" }, "engines": { "node": ">= 0.4" @@ -5083,9 +5161,9 @@ } }, "node_modules/rollup": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.27.3.tgz", - "integrity": "sha512-SLsCOnlmGt9VoZ9Ek8yBK8tAdmPHeppkw+Xa7yDlCEhDTvwYei03JlWo1fdc7YTfLZ4tD8riJCUyAgTbszk1fQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.28.1.tgz", + "integrity": "sha512-61fXYl/qNVinKmGSTHAZ6Yy8I3YIJC/r2m9feHo6SwVAVcLT5MPwOUFe7EuURA/4m0NR8lXG4BBXuo/IZEsjMg==", "dev": true, "license": "MIT", "dependencies": { @@ -5099,24 +5177,25 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.27.3", - "@rollup/rollup-android-arm64": "4.27.3", - "@rollup/rollup-darwin-arm64": "4.27.3", - "@rollup/rollup-darwin-x64": "4.27.3", - "@rollup/rollup-freebsd-arm64": "4.27.3", - "@rollup/rollup-freebsd-x64": "4.27.3", - "@rollup/rollup-linux-arm-gnueabihf": "4.27.3", - "@rollup/rollup-linux-arm-musleabihf": "4.27.3", - "@rollup/rollup-linux-arm64-gnu": "4.27.3", - "@rollup/rollup-linux-arm64-musl": "4.27.3", - "@rollup/rollup-linux-powerpc64le-gnu": "4.27.3", - "@rollup/rollup-linux-riscv64-gnu": "4.27.3", - "@rollup/rollup-linux-s390x-gnu": "4.27.3", - "@rollup/rollup-linux-x64-gnu": "4.27.3", - "@rollup/rollup-linux-x64-musl": "4.27.3", - "@rollup/rollup-win32-arm64-msvc": "4.27.3", - "@rollup/rollup-win32-ia32-msvc": "4.27.3", - "@rollup/rollup-win32-x64-msvc": "4.27.3", + "@rollup/rollup-android-arm-eabi": "4.28.1", + "@rollup/rollup-android-arm64": "4.28.1", + "@rollup/rollup-darwin-arm64": "4.28.1", + "@rollup/rollup-darwin-x64": "4.28.1", + "@rollup/rollup-freebsd-arm64": "4.28.1", + "@rollup/rollup-freebsd-x64": "4.28.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.28.1", + "@rollup/rollup-linux-arm-musleabihf": "4.28.1", + "@rollup/rollup-linux-arm64-gnu": "4.28.1", + "@rollup/rollup-linux-arm64-musl": "4.28.1", + "@rollup/rollup-linux-loongarch64-gnu": "4.28.1", + "@rollup/rollup-linux-powerpc64le-gnu": "4.28.1", + "@rollup/rollup-linux-riscv64-gnu": "4.28.1", + "@rollup/rollup-linux-s390x-gnu": "4.28.1", + "@rollup/rollup-linux-x64-gnu": "4.28.1", + "@rollup/rollup-linux-x64-musl": "4.28.1", + "@rollup/rollup-win32-arm64-msvc": "4.28.1", + "@rollup/rollup-win32-ia32-msvc": "4.28.1", + "@rollup/rollup-win32-x64-msvc": "4.28.1", "fsevents": "~2.3.2" } }, @@ -5145,15 +5224,16 @@ } }, "node_modules/safe-array-concat": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", - "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz", + "integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", - "get-intrinsic": "^1.2.4", - "has-symbols": "^1.0.3", + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", + "has-symbols": "^1.1.0", "isarray": "^2.0.5" }, "engines": { @@ -5164,15 +5244,15 @@ } }, "node_modules/safe-regex-test": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", - "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", + "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.6", + "call-bound": "^1.0.2", "es-errors": "^1.3.0", - "is-regex": "^1.1.4" + "is-regex": "^1.2.1" }, "engines": { "node": ">= 0.4" @@ -5258,16 +5338,73 @@ } }, "node_modules/side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -5414,16 +5551,19 @@ } }, "node_modules/string.prototype.trim": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", - "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", + "version": "1.2.10", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz", + "integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "define-data-property": "^1.1.4", "define-properties": "^1.2.1", - "es-abstract": "^1.23.0", - "es-object-atoms": "^1.0.0" + "es-abstract": "^1.23.5", + "es-object-atoms": "^1.0.0", + "has-property-descriptors": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -5433,16 +5573,20 @@ } }, "node_modules/string.prototype.trimend": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", - "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz", + "integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", "define-properties": "^1.2.1", "es-object-atoms": "^1.0.0" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -5630,9 +5774,9 @@ "license": "MIT" }, "node_modules/tailwindcss": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.15.tgz", - "integrity": "sha512-r4MeXnfBmSOuKUWmXe6h2CcyfzJCEk4F0pptO5jlnYSIViUkVmsawj80N5h2lO3gwcmSb4n3PuN+e+GC1Guylw==", + "version": "3.4.17", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz", + "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==", "dev": true, "license": "MIT", "peer": true, @@ -5646,7 +5790,7 @@ "glob-parent": "^6.0.2", "is-glob": "^4.0.3", "jiti": "^1.21.6", - "lilconfig": "^2.1.0", + "lilconfig": "^3.1.3", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", @@ -5669,14 +5813,14 @@ } }, "node_modules/tailwindcss/node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "version": "1.22.9", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.9.tgz", + "integrity": "sha512-QxrmX1DzraFIi9PxdG5VkRfRwIgjwyud+z/iBwfRRrVmHc+P9Q7u2lSSpQ6bjr2gy5lrqIiU9vb6iAeGf2400A==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -5788,17 +5932,17 @@ } }, "node_modules/typed-array-byte-length": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", - "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.2.tgz", + "integrity": "sha512-adiFrvWBKqevPpbl+LErGnoS7juikX0VLSK+s4rcUEqAv2gClx0DB/g0gMUQXMZiG2RhUDUFgQpyXta4AKG9VA==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", + "call-bind": "^1.0.8", "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" + "gopd": "^1.2.0", + "has-proto": "^1.2.0", + "is-typed-array": "^1.1.14" }, "engines": { "node": ">= 0.4" @@ -5808,9 +5952,9 @@ } }, "node_modules/typed-array-byte-offset": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", - "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.3.tgz", + "integrity": "sha512-GsvTyUHTriq6o/bHcTd0vM7OQ9JEdlvluu9YISaA7+KzDzPaIzEeDFNkTfhdE3MYcNhNi0vq/LlegYgIs5yPAw==", "dev": true, "license": "MIT", "dependencies": { @@ -5819,7 +5963,8 @@ "for-each": "^0.3.3", "gopd": "^1.0.1", "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" + "is-typed-array": "^1.1.13", + "reflect.getprototypeof": "^1.0.6" }, "engines": { "node": ">= 0.4" @@ -5829,18 +5974,18 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", - "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz", + "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-proto": "^1.0.3", "is-typed-array": "^1.1.13", - "possible-typed-array-names": "^1.0.0" + "possible-typed-array-names": "^1.0.0", + "reflect.getprototypeof": "^1.0.6" }, "engines": { "node": ">= 0.4" @@ -5850,16 +5995,19 @@ } }, "node_modules/unbox-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz", + "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.2", + "call-bound": "^1.0.3", "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" + "has-symbols": "^1.1.0", + "which-boxed-primitive": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -6023,41 +6171,45 @@ } }, "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz", + "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==", "dev": true, "license": "MIT", "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" + "is-bigint": "^1.1.0", + "is-boolean-object": "^1.2.1", + "is-number-object": "^1.1.1", + "is-string": "^1.1.1", + "is-symbol": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/which-builtin-type": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.4.tgz", - "integrity": "sha512-bppkmBSsHFmIMSl8BO9TbsyzsvGjVoppt8xUiGzwiu/bhDCGxnpOKCxgqj6GuyHE0mINMDecBFPlOm2hzY084w==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz", + "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==", "dev": true, "license": "MIT", "dependencies": { + "call-bound": "^1.0.2", "function.prototype.name": "^1.1.6", "has-tostringtag": "^1.0.2", "is-async-function": "^2.0.0", - "is-date-object": "^1.0.5", - "is-finalizationregistry": "^1.0.2", + "is-date-object": "^1.1.0", + "is-finalizationregistry": "^1.1.0", "is-generator-function": "^1.0.10", - "is-regex": "^1.1.4", + "is-regex": "^1.2.1", "is-weakref": "^1.0.2", "isarray": "^2.0.5", - "which-boxed-primitive": "^1.0.2", + "which-boxed-primitive": "^1.1.0", "which-collection": "^1.0.2", - "which-typed-array": "^1.1.15" + "which-typed-array": "^1.1.16" }, "engines": { "node": ">= 0.4" @@ -6086,9 +6238,9 @@ } }, "node_modules/which-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", - "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "version": "1.1.16", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.16.tgz", + "integrity": "sha512-g+N+GAWiRj66DngFwHvISJd+ITsyphZvD1vChfVg6cEdnzy53GzB3oy0fUNlvhz7H7+MiqhYr26qxQShCpKTTQ==", "dev": true, "license": "MIT", "dependencies": { diff --git a/react/package.json b/react/package.json index fa8b901..7aa9f99 100644 --- a/react/package.json +++ b/react/package.json @@ -1,7 +1,7 @@ { "name": "@inertiaui/modal-react", "author": "Pascal Baljet ", - "version": "0.13.1", + "version": "0.14.0", "private": false, "license": "MIT", "type": "module", @@ -30,7 +30,7 @@ "clsx": "^2.1.1" }, "devDependencies": { - "@inertiajs/react": "^1.2.0||^2.0.0-beta.1", + "@inertiajs/react": "^1.3.0||^2.0.0", "@vitejs/plugin-react": "^4.3.1", "axios": "^1.6.0", "eslint-config-prettier": "^9.0.0", @@ -48,7 +48,7 @@ "vite": "^5.0" }, "peerDependencies": { - "@inertiajs/react": "^1.2.0||^2.0.0-beta.1", + "@inertiajs/react": "^1.3.0||^2.0.0", "axios": "^1.6.0", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/vue/dist/inertiaui-modal.js b/vue/dist/inertiaui-modal.js index 0017d33..a57b0e7 100644 --- a/vue/dist/inertiaui-modal.js +++ b/vue/dist/inertiaui-modal.js @@ -1,12 +1,12 @@ var dt = Object.defineProperty; var ct = (e, t, n) => t in e ? dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n; -var B = (e, t, n) => ct(e, typeof t != "symbol" ? t + "" : t, n); -import * as $e from "vue"; -import { computed as A, provide as xe, openBlock as h, createBlock as C, unref as v, mergeProps as $, createCommentVNode as k, ref as y, onUnmounted as X, onBeforeMount as ft, watch as I, createElementBlock as j, Fragment as we, renderSlot as E, h as W, readonly as mt, markRaw as Te, nextTick as U, inject as be, onBeforeUnmount as ie, onMounted as ce, useAttrs as Fe, defineComponent as O, Comment as pt, cloneVNode as vt, toRefs as je, getCurrentInstance as V, normalizeProps as gt, guardReactiveProps as yt, withCtx as x, reactive as Re, createVNode as S, watchEffect as R, effectScope as Ue, Teleport as ht, toHandlerKey as xt, camelize as wt, normalizeStyle as bt, getCurrentScope as Ct, onScopeDispose as Et, createElementVNode as T, normalizeClass as z, Transition as Ce, resolveDynamicComponent as _e, withModifiers as Ot, toValue as At } from "vue"; -import { router as Y, usePage as qe } from "@inertiajs/vue3"; +var I = (e, t, n) => ct(e, typeof t != "symbol" ? t + "" : t, n); +import * as De from "vue"; +import { computed as B, provide as xe, openBlock as x, createBlock as C, unref as p, mergeProps as k, createCommentVNode as L, ref as h, onUnmounted as H, onBeforeMount as ft, watch as $, createElementBlock as _, Fragment as we, renderSlot as O, h as R, readonly as mt, markRaw as Fe, nextTick as K, inject as be, onBeforeUnmount as se, onMounted as ce, useAttrs as Re, defineComponent as A, Comment as pt, cloneVNode as vt, toRefs as je, getCurrentInstance as Y, normalizeProps as gt, guardReactiveProps as yt, withCtx as w, reactive as Ue, createVNode as S, watchEffect as q, effectScope as _e, Teleport as ht, toHandlerKey as xt, camelize as wt, normalizeStyle as bt, getCurrentScope as Et, onScopeDispose as Ct, createElementVNode as j, normalizeClass as J, Transition as Ee, resolveDynamicComponent as qe, withModifiers as Ot, toValue as At } from "vue"; +import { router as Q, usePage as Ke } from "@inertiajs/vue3"; import { mergeDataIntoQueryString as Mt } from "@inertiajs/core"; import ue from "axios"; -const J = { +const Z = { type: "modal", navigate: !1, modal: { @@ -26,20 +26,20 @@ const J = { position: "right" } }; -class St { +class Bt { constructor() { this.config = {}, this.reset(); } reset() { - this.config = JSON.parse(JSON.stringify(J)); + this.config = JSON.parse(JSON.stringify(Z)); } put(t, n) { if (typeof t == "object") { this.config = { - type: t.type ?? J.type, - navigate: t.navigate ?? J.navigate, - modal: { ...J.modal, ...t.modal ?? {} }, - slideover: { ...J.slideover, ...t.slideover ?? {} } + type: t.type ?? Z.type, + navigate: t.navigate ?? Z.navigate, + modal: { ...Z.modal, ...t.modal ?? {} }, + slideover: { ...Z.slideover, ...t.slideover ?? {} } }; return; } @@ -62,17 +62,17 @@ class St { return o; } } -const fe = new St(), eo = () => fe.reset(), to = (e, t) => fe.put(e, t), Ee = (e) => fe.get(e), q = (e, t) => fe.get(e ? `slideover.${t}` : `modal.${t}`); -function Bt(e, t) { +const fe = new Bt(), eo = () => fe.reset(), to = (e, t) => fe.put(e, t), Ce = (e) => fe.get(e), z = (e, t) => fe.get(e ? `slideover.${t}` : `modal.${t}`); +function St(e, t) { return Array.isArray(e) ? e.filter((n) => !t.includes(n)) : Object.keys(e).reduce((n, o) => (t.includes(o) || (n[o] = e[o]), n), {}); } -function Ke(e, t) { +function Xe(e, t) { return Array.isArray(e) ? e.filter((n) => t.includes(n)) : t.reduce((n, o) => (o in e && (n[o] = e[o]), n), {}); } -function Dt(e) { +function It(e) { return Array.isArray(e) ? e.filter((t) => t !== null) : Object.keys(e).reduce((t, n) => (n in e && e[n] !== null && (t[n] = e[n]), t), {}); } -function It(e, t = 3, n = 10) { +function Pt(e, t = 3, n = 10) { return new Promise((o, l) => { const a = e(); if (a) { @@ -89,7 +89,7 @@ function It(e, t = 3, n = 10) { function le(e) { return e ? (e = e.replace(/_/g, "-"), e = e.replace(/-+/g, "-"), /[A-Z]/.test(e) ? (e = e.replace(/\s+/g, "").replace(/_/g, "").replace(/(?:^|\s|-)+([A-Za-z])/g, (t, n) => n.toUpperCase()), e = e.replace(/(.)(?=[A-Z])/g, "$1-"), e.toLowerCase()) : e) : ""; } -const Xe = { +const ze = { __name: "ModalRenderer", props: { index: { @@ -98,20 +98,20 @@ const Xe = { } }, setup(e) { - const t = e, n = G(), o = A(() => n.stack.value[t.index]); + const t = e, n = te(), o = B(() => n.stack.value[t.index]); return xe("modalContext", o), (l, a) => { var r; - return (r = o.value) != null && r.component ? (h(), C(v(o).component, $({ key: 0 }, o.value.props, { + return (r = o.value) != null && r.component ? (x(), C(p(o).component, k({ key: 0 }, o.value.props, { onModalEvent: a[0] || (a[0] = (i, ...d) => o.value.emit(i, ...d)) - }), null, 16)) : k("", !0); + }), null, 16)) : L("", !0); }; } }, $t = { __name: "ModalRoot", setup(e) { - const t = G(), n = y(!1), o = y(null); - X(Y.on("start", () => n.value = !0)), X(Y.on("finish", () => n.value = !1)), X( - Y.on("navigate", (r) => { + const t = te(), n = h(!1), o = h(null); + H(Q.on("start", () => n.value = !0)), H(Q.on("finish", () => n.value = !1)), H( + Q.on("navigate", (r) => { const i = r.detail.page.props._inertiaui_modal; if (!i) { o.value && t.closeAll(); @@ -122,7 +122,7 @@ const Xe = { console.error("No base url in modal response data so cannot navigate back"); return; } - !n.value && window.location.href !== i.baseUrl && Y.visit(i.baseUrl, { + !n.value && window.location.href !== i.baseUrl && Q.visit(i.baseUrl, { preserveScroll: !0, preserveState: !0 }); @@ -132,11 +132,11 @@ const Xe = { const l = (r) => (t.stack.value.length && (r.headers["X-InertiaUI-Modal-Base-Url"] = t.getBaseUrl()), r); ft(() => { ue.interceptors.request.use(l); - }), X(() => { + }), H(() => { ue.interceptors.request.eject(l); }); - const a = qe(); - return I( + const a = Ke(); + return $( () => { var r; return (r = a.props) == null ? void 0 : r._inertiaui_modal; @@ -145,89 +145,89 @@ const Xe = { var d; r && i && r.component === i.component && r.url === i.url && ((d = t.stack.value[0]) == null || d.updateProps(r.props ?? {})); } - ), (r, i) => (h(), j(we, null, [ - E(r.$slots, "default"), - v(t).stack.value.length ? (h(), C(Xe, { + ), (r, i) => (x(), _(we, null, [ + O(r.$slots, "default"), + p(t).stack.value.length ? (x(), C(ze, { key: 0, index: 0 - })) : k("", !0) + })) : L("", !0) ], 64)); } }; let me = null; -const Q = y(null), b = y([]), de = y({}), Pt = (e) => { +const ee = h(null), E = h([]), de = h({}), Dt = (e) => { me = e; }, no = (e) => { e.resolveComponent && (me = e.resolveComponent); }; class Oe { constructor(t, n, o, l, a) { - B(this, "update", (t, n, o) => { + I(this, "update", (t, n, o) => { const l = this.index.value; - l > -1 && (b.value[l].config = t, b.value[l].onCloseCallback = n, b.value[l].afterLeaveCallback = o); + l > -1 && (E.value[l].config = t, E.value[l].onCloseCallback = n, E.value[l].afterLeaveCallback = o); }); - B(this, "getParentModal", () => { + I(this, "getParentModal", () => { const t = this.index.value; - return t < 1 ? null : b.value.slice(0, t).reverse().find((n) => n.isOpen); + return t < 1 ? null : E.value.slice(0, t).reverse().find((n) => n.isOpen); }); - B(this, "getChildModal", () => { + I(this, "getChildModal", () => { const t = this.index.value; - return t === b.value.length - 1 ? null : b.value.slice(t + 1).find((n) => n.isOpen); + return t === E.value.length - 1 ? null : E.value.slice(t + 1).find((n) => n.isOpen); }); - B(this, "show", () => { + I(this, "show", () => { const t = this.index.value; if (t > -1) { - if (b.value[t].isOpen) + if (E.value[t].isOpen) return; - b.value[t].isOpen = !0, b.value[t].shouldRender = !0; + E.value[t].isOpen = !0, E.value[t].shouldRender = !0; } }); - B(this, "close", () => { + I(this, "close", () => { var n; const t = this.index.value; if (t > -1) { - if (!b.value[t].isOpen) + if (!E.value[t].isOpen) return; Object.keys(this.listeners).forEach((o) => { this.off(o); - }), b.value[t].isOpen = !1, (n = this.onCloseCallback) == null || n.call(this), this.onCloseCallback = null; + }), E.value[t].isOpen = !1, (n = this.onCloseCallback) == null || n.call(this), this.onCloseCallback = null; } }); - B(this, "setOpen", (t) => { + I(this, "setOpen", (t) => { t ? this.show() : this.close(); }); - B(this, "afterLeave", () => { + I(this, "afterLeave", () => { var n; const t = this.index.value; if (t > -1) { - if (b.value[t].isOpen) + if (E.value[t].isOpen) return; - b.value[t].shouldRender = !1, (n = this.afterLeaveCallback) == null || n.call(this), this.afterLeaveCallback = null; + E.value[t].shouldRender = !1, (n = this.afterLeaveCallback) == null || n.call(this), this.afterLeaveCallback = null; } - t === 0 && (b.value = []); + t === 0 && (E.value = []); }); - B(this, "on", (t, n) => { + I(this, "on", (t, n) => { t = le(t), this.listeners[t] = this.listeners[t] ?? [], this.listeners[t].push(n); }); - B(this, "off", (t, n) => { + I(this, "off", (t, n) => { var o; t = le(t), n ? this.listeners[t] = ((o = this.listeners[t]) == null ? void 0 : o.filter((l) => l !== n)) ?? [] : delete this.listeners[t]; }); - B(this, "emit", (t, ...n) => { + I(this, "emit", (t, ...n) => { var o; (o = this.listeners[le(t)]) == null || o.forEach((l) => l(...n)); }); - B(this, "registerEventListenersFromAttrs", (t) => { + I(this, "registerEventListenersFromAttrs", (t) => { const n = []; return Object.keys(t).filter((o) => o.startsWith("on")).forEach((o) => { const l = le(o).replace(/^on-/, ""); this.on(l, t[o]), n.push(() => this.off(l, t[o])); }), () => n.forEach((o) => o()); }); - B(this, "reload", (t = {}) => { + I(this, "reload", (t = {}) => { var o; let n = Object.keys(this.response.props); - t.only && (n = Ke(n, t.only)), t.except && (n = Bt(n, t.except)), (o = this.response) != null && o.url && ue.get(this.response.url, { + t.only && (n = Xe(n, t.only)), t.except && (n = St(n, t.except)), (o = this.response) != null && o.url && ue.get(this.response.url, { headers: { Accept: "text/html, application/xhtml+xml", "X-Inertia": !0, @@ -236,18 +236,18 @@ class Oe { "X-Inertia-Partial-Data": n.join(","), "X-InertiaUI-Modal": !0, "X-InertiaUI-Modal-Use-Router": 0, - "X-InertiaUI-Modal-Base-Url": Q.value + "X-InertiaUI-Modal-Base-Url": ee.value } }).then((l) => { this.updateProps(l.data.props); }); }); - B(this, "updateProps", (t) => { + I(this, "updateProps", (t) => { Object.assign(this.props.value, t); }); - this.id = Oe.generateId(), this.isOpen = !1, this.shouldRender = !1, this.listeners = {}, this.component = t, this.props = y(n.props), this.response = n, this.config = o, this.onCloseCallback = l, this.afterLeaveCallback = a, this.index = A(() => b.value.findIndex((r) => r.id === this.id)), this.onTopOfStack = A(() => { + this.id = Oe.generateId(), this.isOpen = !1, this.shouldRender = !1, this.listeners = {}, this.component = t, this.props = h(n.props), this.response = n, this.config = o, this.onCloseCallback = l, this.afterLeaveCallback = a, this.index = B(() => E.value.findIndex((r) => r.id === this.id)), this.onTopOfStack = B(() => { var i; - return b.value.length < 2 ? !0 : ((i = b.value.map((d) => ({ id: d.id, shouldRender: d.shouldRender })).reverse().find((d) => d.shouldRender)) == null ? void 0 : i.id) === this.id; + return E.value.length < 2 ? !0 : ((i = E.value.map((d) => ({ id: d.id, shouldRender: d.shouldRender })).reverse().find((d) => d.shouldRender)) == null ? void 0 : i.id) === this.id; }); } static generateId() { @@ -263,73 +263,73 @@ function Nt(e, t, n, o) { const l = Ae(null, {}, t, n, o); return l.name = e, de.value[e].callback(l), l; } -function ze(e, t = {}, n = null, o = null) { - return me(e.component).then((l) => Ae(Te(l), e, t, n, o)); +function Ve(e, t = {}, n = null, o = null) { + return me(e.component).then((l) => Ae(Fe(l), e, t, n, o)); } function Lt(e, t, n = {}, o = {}, l = {}, a = null, r = null, i = "brackets", d = !1) { - return new Promise((c, m) => { + return new Promise((c, f) => { if (e.startsWith("#")) { c(Nt(e.substring(1), l, a, r)); return; } - const [u, p] = Mt(t, e || "", n, i); - let s = d && b.value.length === 0; - if (b.value.length === 0 && (Q.value = typeof window < "u" ? window.location.href : ""), o = { + const [u, v] = Mt(t, e || "", n, i); + let s = d && E.value.length === 0; + if (E.value.length === 0 && (ee.value = typeof window < "u" ? window.location.href : ""), o = { ...o, Accept: "text/html, application/xhtml+xml", "X-Requested-With": "XMLHttpRequest", "X-Inertia": !0, - "X-Inertia-Version": qe().version, + "X-Inertia-Version": Ke().version, "X-InertiaUI-Modal": !0, "X-InertiaUI-Modal-Use-Router": s ? 1 : 0, - "X-InertiaUI-Modal-Base-Url": Q.value + "X-InertiaUI-Modal-Base-Url": ee.value }, s) - return Y.visit(u, { + return Q.visit(u, { method: t, - data: p, + data: v, headers: o, preserveScroll: !0, preserveState: !0, - onError: m, - onFinish: () => It(() => b.value[0]).then((f) => { - const g = f.onCloseCallback, w = f.afterLeaveCallback; - f.update( + onError: f, + onFinish: () => Pt(() => E.value[0]).then((m) => { + const g = m.onCloseCallback, y = m.afterLeaveCallback; + m.update( l, () => { a == null || a(), g == null || g(); }, () => { - r == null || r(), w == null || w(); + r == null || r(), y == null || y(); } - ), c(f); + ), c(m); }) }); - ue({ url: u, method: t, data: p, headers: o }).then((f) => c(ze(f.data, l, a, r))).catch(m); + ue({ url: u, method: t, data: v, headers: o }).then((m) => c(Ve(m.data, l, a, r))).catch(f); }); } function Ae(e, t, n, o, l) { const a = new Oe(e, t, n, o, l); - return b.value.push(a), U(() => { + return E.value.push(a), K(() => { a.show(); }), a; } -const Wt = ["closeButton", "closeExplicitly", "maxWidth", "paddingClasses", "panelClasses", "position", "slideover"], oo = (e, t) => (t.resolveComponent && (me = t.resolveComponent), () => W($t, () => W(e, t))); -function G() { +const Tt = ["closeButton", "closeExplicitly", "maxWidth", "paddingClasses", "panelClasses", "position", "slideover"], oo = (e, t) => (t.resolveComponent && (me = t.resolveComponent), () => R($t, () => R(e, t))); +function te() { return { - setComponentResolver: Pt, - getBaseUrl: () => Q.value, - setBaseUrl: (e) => Q.value = e, - stack: mt(b), + setComponentResolver: Dt, + getBaseUrl: () => ee.value, + setBaseUrl: (e) => ee.value = e, + stack: mt(E), push: Ae, - pushFromResponseData: ze, - closeAll: () => [...b.value].reverse().forEach((e) => e.close()), - reset: () => b.value = [], + pushFromResponseData: Ve, + closeAll: () => [...E.value].reverse().forEach((e) => e.close()), + reset: () => E.value = [], visit: Lt, registerLocalModal: kt, removeLocalModal: (e) => delete de.value[e] }; } -const Tt = /* @__PURE__ */ Object.assign({ +const Wt = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, { __name: "HeadlessModal", @@ -371,39 +371,39 @@ const Tt = /* @__PURE__ */ Object.assign({ }, emits: ["modal-event"], setup(e, { expose: t, emit: n }) { - const o = e, l = G(), a = o.name ? y({}) : be("modalContext"), r = A(() => { - var f; - const s = ((f = a.value.config) == null ? void 0 : f.slideover) ?? o.slideover ?? Ee("type") === "slideover"; + const o = e, l = te(), a = o.name ? h({}) : be("modalContext"), r = B(() => { + var m; + const s = ((m = a.value.config) == null ? void 0 : m.slideover) ?? o.slideover ?? Ce("type") === "slideover"; return { slideover: s, - closeButton: o.closeButton ?? q(s, "closeButton"), - closeExplicitly: o.closeExplicitly ?? q(s, "closeExplicitly"), - maxWidth: o.maxWidth ?? q(s, "maxWidth"), - paddingClasses: o.paddingClasses ?? q(s, "paddingClasses"), - panelClasses: o.panelClasses ?? q(s, "panelClasses"), - position: o.position ?? q(s, "position"), + closeButton: o.closeButton ?? z(s, "closeButton"), + closeExplicitly: o.closeExplicitly ?? z(s, "closeExplicitly"), + maxWidth: o.maxWidth ?? z(s, "maxWidth"), + paddingClasses: o.paddingClasses ?? z(s, "paddingClasses"), + panelClasses: o.panelClasses ?? z(s, "panelClasses"), + position: o.position ?? z(s, "position"), ...a.value.config }; }); o.name && (l.registerLocalModal(o.name, function(s) { a.value = s, c(); - }), ie(() => { + }), se(() => { l.removeLocalModal(o.name); })), ce(() => { o.name || c(); }); - const i = y(null); - ie(() => { + const i = h(null); + se(() => { var s; return (s = i.value) == null ? void 0 : s.call(i); }); - const d = Fe(); + const d = Re(); function c() { i.value = a.value.registerEventListenersFromAttrs(d); } - const m = n; - function u(s, ...f) { - m("modal-event", s, ...f); + const f = n; + function u(s, ...m) { + f("modal-event", s, ...m); } t({ emit: u, @@ -416,12 +416,12 @@ const Tt = /* @__PURE__ */ Object.assign({ return (s = a.value) == null ? void 0 : s.close(); }, reload: (...s) => { - var f; - return (f = a.value) == null ? void 0 : f.reload(...s); + var m; + return (m = a.value) == null ? void 0 : m.reload(...s); }, setOpen: (...s) => { - var f; - return (f = a.value) == null ? void 0 : f.setOpen(...s); + var m; + return (m = a.value) == null ? void 0 : m.setOpen(...s); }, getChildModal: () => { var s; @@ -460,32 +460,32 @@ const Tt = /* @__PURE__ */ Object.assign({ return (s = a.value) == null ? void 0 : s.shouldRender; } }); - const p = A(() => { + const v = B(() => { var s; - return (s = l.stack.value.find((f) => f.shouldRender && f.index > a.value.index)) == null ? void 0 : s.index; + return (s = l.stack.value.find((m) => m.shouldRender && m.index > a.value.index)) == null ? void 0 : s.index; }); - return (s, f) => (h(), j(we, null, [ - v(a).shouldRender ? E(s.$slots, "default", { + return (s, m) => (x(), _(we, null, [ + p(a).shouldRender ? O(s.$slots, "default", { key: 0, - id: v(a).id, - afterLeave: v(a).afterLeave, - close: v(a).close, + id: p(a).id, + afterLeave: p(a).afterLeave, + close: p(a).close, config: r.value, emit: u, - getChildModal: v(a).getChildModal, - getParentModal: v(a).getParentModal, - index: v(a).index, - isOpen: v(a).isOpen, - modalContext: v(a), - onTopOfStack: v(a).onTopOfStack, - reload: v(a).reload, - setOpen: v(a).setOpen, - shouldRender: v(a).shouldRender - }) : k("", !0), - p.value ? (h(), C(Xe, { + getChildModal: p(a).getChildModal, + getParentModal: p(a).getParentModal, + index: p(a).index, + isOpen: p(a).isOpen, + modalContext: p(a), + onTopOfStack: p(a).onTopOfStack, + reload: p(a).reload, + setOpen: p(a).setOpen, + shouldRender: p(a).shouldRender + }) : L("", !0), + v.value ? (x(), C(ze, { key: 1, - index: p.value - }, null, 8, ["index"])) : k("", !0) + index: v.value + }, null, 8, ["index"])) : L("", !0) ], 64)); } }); @@ -502,7 +502,7 @@ function Me(e, t) { ); }, (l) => (xe(o, l), l)]; } -function Ve(e, t, n) { +function He(e, t, n) { const o = n.originalEvent.target, l = new CustomEvent(e, { bubbles: !1, cancelable: !0, @@ -510,66 +510,66 @@ function Ve(e, t, n) { }); t && o.addEventListener(e, t, { once: !0 }), o.dispatchEvent(l); } -function He(e) { - return Ct() ? (Et(e), !0) : !1; +function Je(e) { + return Et() ? (Ct(e), !0) : !1; } function Ft(e) { let t = !1, n; - const o = Ue(!0); + const o = _e(!0); return (...l) => (t || (n = o.run(() => e(...l)), t = !0), n); } -function jt(e) { +function Rt(e) { let t = 0, n, o; const l = () => { t -= 1, o && t <= 0 && (o.stop(), n = void 0, o = void 0); }; - return (...a) => (t += 1, n || (o = Ue(!0), n = o.run(() => e(...a))), He(l), n); + return (...a) => (t += 1, n || (o = _e(!0), n = o.run(() => e(...a))), Je(l), n); } -function Se(e) { - return typeof e == "function" ? e() : v(e); +function Be(e) { + return typeof e == "function" ? e() : p(e); } -const _ = typeof window < "u" && typeof document < "u"; +const X = typeof window < "u" && typeof document < "u"; typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope; -const Rt = (e) => typeof e < "u", Ut = Object.prototype.toString, _t = (e) => Ut.call(e) === "[object Object]", qt = () => { -}, Pe = /* @__PURE__ */ Kt(); +const jt = (e) => typeof e < "u", Ut = Object.prototype.toString, _t = (e) => Ut.call(e) === "[object Object]", qt = () => { +}, ke = /* @__PURE__ */ Kt(); function Kt() { var e, t; - return _ && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent)); + return X && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent)); } function Xt(e) { - return V(); + return Y(); } function zt(e, t) { - Xt() && ie(e, t); + Xt() && se(e, t); } -function ee(e) { +function ne(e) { var t; - const n = Se(e); + const n = Be(e); return (t = n == null ? void 0 : n.$el) != null ? t : n; } -const Ze = _ ? window : void 0; -function Je(...e) { +const Se = X ? window : void 0; +function Ye(...e) { let t, n, o, l; - if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, l] = e, t = Ze) : [t, n, o, l] = e, !t) + if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, l] = e, t = Se) : [t, n, o, l] = e, !t) return qt; Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]); const a = [], r = () => { - a.forEach((m) => m()), a.length = 0; - }, i = (m, u, p, s) => (m.addEventListener(u, p, s), () => m.removeEventListener(u, p, s)), d = I( - () => [ee(t), Se(l)], - ([m, u]) => { - if (r(), !m) + a.forEach((f) => f()), a.length = 0; + }, i = (f, u, v, s) => (f.addEventListener(u, v, s), () => f.removeEventListener(u, v, s)), d = $( + () => [ne(t), Be(l)], + ([f, u]) => { + if (r(), !f) return; - const p = _t(u) ? { ...u } : u; + const v = _t(u) ? { ...u } : u; a.push( - ...n.flatMap((s) => o.map((f) => i(m, s, f, p))) + ...n.flatMap((s) => o.map((m) => i(f, s, m, v))) ); }, { immediate: !0, flush: "post" } ), c = () => { d(), r(); }; - return He(c), c; + return Je(c), c; } function Vt(e) { return typeof e == "function" ? e : typeof e == "string" ? (t) => t.key === e : Array.isArray(e) ? (t) => e.includes(t.key) : () => !0; @@ -578,66 +578,66 @@ function Ht(...e) { let t, n, o = {}; e.length === 3 ? (t = e[0], n = e[1], o = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], o = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]); const { - target: l = Ze, + target: l = Se, eventName: a = "keydown", passive: r = !1, dedupe: i = !1 } = o, d = Vt(t); - return Je(l, a, (c) => { - c.repeat && Se(i) || d(c) && n(c); + return Ye(l, a, (c) => { + c.repeat && Be(i) || d(c) && n(c); }, r); } -function Zt() { - const e = y(!1), t = V(); +function Jt() { + const e = h(!1), t = Y(); return t && ce(() => { e.value = !0; }, t), e; } -function Jt(e) { +function Yt(e) { return JSON.parse(JSON.stringify(e)); } -function Yt(e, t, n, o = {}) { +function Gt(e, t, n, o = {}) { var l, a, r; const { clone: i = !1, passive: d = !1, eventName: c, - deep: m = !1, + deep: f = !1, defaultValue: u, - shouldEmit: p - } = o, s = V(), f = n || (s == null ? void 0 : s.emit) || ((l = s == null ? void 0 : s.$emit) == null ? void 0 : l.bind(s)) || ((r = (a = s == null ? void 0 : s.proxy) == null ? void 0 : a.$emit) == null ? void 0 : r.bind(s == null ? void 0 : s.proxy)); + shouldEmit: v + } = o, s = Y(), m = n || (s == null ? void 0 : s.emit) || ((l = s == null ? void 0 : s.$emit) == null ? void 0 : l.bind(s)) || ((r = (a = s == null ? void 0 : s.proxy) == null ? void 0 : a.$emit) == null ? void 0 : r.bind(s == null ? void 0 : s.proxy)); let g = c; g = g || `update:${t.toString()}`; - const w = (D) => i ? typeof i == "function" ? i(D) : Jt(D) : D, M = () => Rt(e[t]) ? w(e[t]) : u, Z = (D) => { - p ? p(D) && f(g, D) : f(g, D); + const y = (M) => i ? typeof i == "function" ? i(M) : Yt(M) : M, b = () => jt(e[t]) ? y(e[t]) : u, P = (M) => { + v ? v(M) && m(g, M) : m(g, M); }; if (d) { - const D = M(), te = y(D); - let ne = !1; - return I( + const M = b(), W = h(M); + let D = !1; + return $( () => e[t], (oe) => { - ne || (ne = !0, te.value = w(oe), U(() => ne = !1)); + D || (D = !0, W.value = y(oe), K(() => D = !1)); } - ), I( - te, + ), $( + W, (oe) => { - !ne && (oe !== e[t] || m) && Z(oe); + !D && (oe !== e[t] || f) && P(oe); }, - { deep: m } - ), te; + { deep: f } + ), W; } else - return A({ + return B({ get() { - return M(); + return b(); }, - set(D) { - Z(D); + set(M) { + P(M); } }); } -function Be(e) { - return e ? e.flatMap((t) => t.type === we ? Be(t.children) : [t]) : []; +function Ie(e) { + return e ? e.flatMap((t) => t.type === we ? Ie(t.children) : [t]) : []; } function pe(e) { if (e === null || typeof e != "object") @@ -661,51 +661,51 @@ function he(e, t, n = ".", o) { } return l; } -function Qt(e) { +function Zt(e) { return (...t) => ( // eslint-disable-next-line unicorn/no-array-reduce t.reduce((n, o) => he(n, o, ""), {}) ); } -const Gt = Qt(), [Ye, lo] = Me("ConfigProvider"); +const Qt = Zt(), [Ge, lo] = Me("ConfigProvider"); let en = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", tn = (e = 21) => { let t = "", n = e; for (; n--; ) t += en[Math.random() * 64 | 0]; return t; }; -const nn = jt(() => { - const e = y(/* @__PURE__ */ new Map()), t = y(), n = A(() => { +const nn = Rt(() => { + const e = h(/* @__PURE__ */ new Map()), t = h(), n = B(() => { for (const r of e.value.values()) if (r) return !0; return !1; - }), o = Ye({ - scrollBody: y(!0) + }), o = Ge({ + scrollBody: h(!0) }); let l = null; const a = () => { - document.body.style.paddingRight = "", document.body.style.marginRight = "", document.body.style.pointerEvents = "", document.body.style.removeProperty("--scrollbar-width"), document.body.style.overflow = t.value ?? "", Pe && (l == null || l()), t.value = void 0; + document.body.style.paddingRight = "", document.body.style.marginRight = "", document.body.style.pointerEvents = "", document.body.style.removeProperty("--scrollbar-width"), document.body.style.overflow = t.value ?? "", ke && (l == null || l()), t.value = void 0; }; - return I(n, (r, i) => { + return $(n, (r, i) => { var d; - if (!_) + if (!X) return; if (!r) { i && a(); return; } t.value === void 0 && (t.value = document.body.style.overflow); - const c = window.innerWidth - document.documentElement.clientWidth, m = { padding: c, margin: 0 }, u = (d = o.scrollBody) != null && d.value ? typeof o.scrollBody.value == "object" ? Gt({ + const c = window.innerWidth - document.documentElement.clientWidth, f = { padding: c, margin: 0 }, u = (d = o.scrollBody) != null && d.value ? typeof o.scrollBody.value == "object" ? Qt({ padding: o.scrollBody.value.padding === !0 ? c : o.scrollBody.value.padding, margin: o.scrollBody.value.margin === !0 ? c : o.scrollBody.value.margin - }, m) : m : { padding: 0, margin: 0 }; - c > 0 && (document.body.style.paddingRight = typeof u.padding == "number" ? `${u.padding}px` : String(u.padding), document.body.style.marginRight = typeof u.margin == "number" ? `${u.margin}px` : String(u.margin), document.body.style.setProperty("--scrollbar-width", `${c}px`), document.body.style.overflow = "hidden"), Pe && (l = Je( + }, f) : f : { padding: 0, margin: 0 }; + c > 0 && (document.body.style.paddingRight = typeof u.padding == "number" ? `${u.padding}px` : String(u.padding), document.body.style.marginRight = typeof u.margin == "number" ? `${u.margin}px` : String(u.margin), document.body.style.setProperty("--scrollbar-width", `${c}px`), document.body.style.overflow = "hidden"), ke && (l = Ye( document, "touchmove", - (p) => ln(p), + (v) => ln(v), { passive: !1 } - )), U(() => { + )), K(() => { document.body.style.pointerEvents = "none", document.body.style.overflow = "hidden"; }); }, { immediate: !0, flush: "sync" }), e; @@ -713,7 +713,7 @@ const nn = jt(() => { function on(e) { const t = tn(6), n = nn(); n.value.set(t, e); - const o = A({ + const o = B({ get: () => n.value.get(t) ?? !1, set: (l) => n.value.set(t, l) }); @@ -721,31 +721,31 @@ function on(e) { n.value.delete(t); }), o; } -function Qe(e) { +function Ze(e) { const t = window.getComputedStyle(e); if (t.overflowX === "scroll" || t.overflowY === "scroll" || t.overflowX === "auto" && e.clientWidth < e.scrollWidth || t.overflowY === "auto" && e.clientHeight < e.scrollHeight) return !0; { const n = e.parentNode; - return !n || n.tagName === "BODY" ? !1 : Qe(n); + return !n || n.tagName === "BODY" ? !1 : Ze(n); } } function ln(e) { const t = e || window.event, n = t.target; - return Qe(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.cancelable && t.preventDefault(), !1); + return n instanceof Element && Ze(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.cancelable && t.preventDefault(), !1); } -function De(e) { - const t = V(), n = t == null ? void 0 : t.type.emits, o = {}; +function Pe(e) { + const t = Y(), n = t == null ? void 0 : t.type.emits, o = {}; return n != null && n.length || console.warn( `No emitted event found. Please check component: ${t == null ? void 0 : t.type.__name}` ), n == null || n.forEach((l) => { o[xt(wt(l))] = (...a) => e(l, ...a); }), o; } -function P() { - const e = V(), t = y(), n = A(() => { +function N() { + const e = Y(), t = h(), n = B(() => { var r, i; - return ["#text", "#comment"].includes((r = t.value) == null ? void 0 : r.$el.nodeName) ? (i = t.value) == null ? void 0 : i.$el.nextElementSibling : ee(t); + return ["#text", "#comment"].includes((r = t.value) == null ? void 0 : r.$el.nodeName) ? (i = t.value) == null ? void 0 : i.$el.nextElementSibling : ne(t); }), o = Object.assign({}, e.exposed), l = {}; for (const r in e.props) Object.defineProperty(l, r, { @@ -779,13 +779,13 @@ var an = function(e) { return null; var t = Array.isArray(e) ? e[0] : e; return t.ownerDocument.body; -}, K = /* @__PURE__ */ new WeakMap(), ae = /* @__PURE__ */ new WeakMap(), re = {}, ve = 0, Ge = function(e) { - return e && (e.host || Ge(e.parentNode)); +}, V = /* @__PURE__ */ new WeakMap(), ae = /* @__PURE__ */ new WeakMap(), re = {}, ve = 0, Qe = function(e) { + return e && (e.host || Qe(e.parentNode)); }, rn = function(e, t) { return t.map(function(n) { if (e.contains(n)) return n; - var o = Ge(n); + var o = Qe(n); return o && e.contains(o) ? o : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null); }).filter(function(n) { return !!n; @@ -797,24 +797,24 @@ var an = function(e) { !u || i.has(u) || (i.add(u), c(u.parentNode)); }; l.forEach(c); - var m = function(u) { - !u || d.has(u) || Array.prototype.forEach.call(u.children, function(p) { - if (i.has(p)) - m(p); + var f = function(u) { + !u || d.has(u) || Array.prototype.forEach.call(u.children, function(v) { + if (i.has(v)) + f(v); else try { - var s = p.getAttribute(o), f = s !== null && s !== "false", g = (K.get(p) || 0) + 1, w = (a.get(p) || 0) + 1; - K.set(p, g), a.set(p, w), r.push(p), g === 1 && f && ae.set(p, !0), w === 1 && p.setAttribute(n, "true"), f || p.setAttribute(o, "true"); - } catch (M) { - console.error("aria-hidden: cannot operate on ", p, M); + var s = v.getAttribute(o), m = s !== null && s !== "false", g = (V.get(v) || 0) + 1, y = (a.get(v) || 0) + 1; + V.set(v, g), a.set(v, y), r.push(v), g === 1 && m && ae.set(v, !0), y === 1 && v.setAttribute(n, "true"), m || v.setAttribute(o, "true"); + } catch (b) { + console.error("aria-hidden: cannot operate on ", v, b); } }); }; - return m(t), i.clear(), ve++, function() { + return f(t), i.clear(), ve++, function() { r.forEach(function(u) { - var p = K.get(u) - 1, s = a.get(u) - 1; - K.set(u, p), a.set(u, s), p || (ae.has(u) || u.removeAttribute(o), ae.delete(u)), s || u.removeAttribute(n); - }), ve--, ve || (K = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), ae = /* @__PURE__ */ new WeakMap(), re = {}); + var v = V.get(u) - 1, s = a.get(u) - 1; + V.set(u, v), a.set(u, s), v || (ae.has(u) || u.removeAttribute(o), ae.delete(u)), s || u.removeAttribute(n); + }), ve--, ve || (V = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), ae = /* @__PURE__ */ new WeakMap(), re = {}); }; }, un = function(e, t, n) { n === void 0 && (n = "data-aria-hidden"); @@ -825,19 +825,19 @@ var an = function(e) { }; function dn(e) { let t; - I(() => ee(e), (n) => { + $(() => ne(e), (n) => { n ? t = un(n) : t && t(); - }), X(() => { + }), H(() => { t && t(); }); } let cn = 0; -function ke(e, t = "radix") { - const n = Ye({ useId: void 0 }); - return $e.useId ? `${t}-${$e.useId()}` : n.useId ? `${t}-${n.useId()}` : `${t}-${++cn}`; +function Ne(e, t = "radix") { + const n = Ge({ useId: void 0 }); + return De.useId ? `${t}-${De.useId()}` : n.useId ? `${t}-${n.useId()}` : `${t}-${++cn}`; } function fn(e, t) { - const n = y(e); + const n = h(e); function o(l) { return t[n.value][l] ?? n.value; } @@ -848,7 +848,7 @@ function fn(e, t) { } }; } -const Ie = O({ +const $e = A({ name: "PrimitiveSlot", inheritAttrs: !1, setup(e, { attrs: t, slots: n }) { @@ -856,20 +856,20 @@ const Ie = O({ var o, l; if (!n.default) return null; - const a = Be(n.default()), r = a.findIndex((m) => m.type !== pt); + const a = Ie(n.default()), r = a.findIndex((f) => f.type !== pt); if (r === -1) return a; const i = a[r]; (o = i.props) == null || delete o.ref; - const d = i.props ? $(t, i.props) : t; + const d = i.props ? k(t, i.props) : t; t.class && (l = i.props) != null && l.class && delete i.props.class; const c = vt(i, d); - for (const m in d) - m.startsWith("on") && (c.props || (c.props = {}), c.props[m] = d[m]); + for (const f in d) + f.startsWith("on") && (c.props || (c.props = {}), c.props[f] = d[f]); return a.length === 1 ? c : (a[r] = c, a); }; } -}), H = O({ +}), G = A({ name: "Primitive", inheritAttrs: !1, props: { @@ -884,13 +884,13 @@ const Ie = O({ }, setup(e, { attrs: t, slots: n }) { const o = e.asChild ? "template" : e.as; - return typeof o == "string" && ["area", "img", "input"].includes(o) ? () => W(o, t) : o !== "template" ? () => W(e.as, t, { default: n.default }) : () => W(Ie, t, { default: n.default }); + return typeof o == "string" && ["area", "img", "input"].includes(o) ? () => R(o, t) : o !== "template" ? () => R(e.as, t, { default: n.default }) : () => R($e, t, { default: n.default }); } }); function et() { - const e = y(), t = A(() => { + const e = h(), t = B(() => { var n, o; - return ["#text", "#comment"].includes((n = e.value) == null ? void 0 : n.$el.nodeName) ? (o = e.value) == null ? void 0 : o.$el.nextElementSibling : ee(e); + return ["#text", "#comment"].includes((n = e.value) == null ? void 0 : n.$el.nodeName) ? (o = e.value) == null ? void 0 : o.$el.nextElementSibling : ne(e); }); return { primitiveElement: e, @@ -898,7 +898,10 @@ function et() { }; } function mn(e, t) { - const n = y({}), o = y("none"), l = e.value ? "mounted" : "unmounted", { state: a, dispatch: r } = fn(l, { + var n; + const o = h({}), l = h("none"), a = h(e), r = e.value ? "mounted" : "unmounted"; + let i; + const d = ((n = t.value) == null ? void 0 : n.ownerDocument.defaultView) ?? Se, { state: c, dispatch: f } = fn(r, { mounted: { UNMOUNT: "unmounted", ANIMATION_OUT: "unmountSuspended" @@ -910,54 +913,61 @@ function mn(e, t) { unmounted: { MOUNT: "mounted" } - }), i = (p) => { - var s; - if (_) { - const f = new CustomEvent(p, { bubbles: !1, cancelable: !1 }); - (s = t.value) == null || s.dispatchEvent(f); + }), u = (y) => { + var b; + if (X) { + const P = new CustomEvent(y, { bubbles: !1, cancelable: !1 }); + (b = t.value) == null || b.dispatchEvent(P); } }; - I( + $( e, - async (p, s) => { - var f; - const g = s !== p; - if (await U(), g) { - const w = o.value, M = se(t.value); - p ? (r("MOUNT"), i("enter"), M === "none" && i("after-enter")) : M === "none" || ((f = n.value) == null ? void 0 : f.display) === "none" ? (r("UNMOUNT"), i("leave"), i("after-leave")) : s && w !== M ? (r("ANIMATION_OUT"), i("leave")) : (r("UNMOUNT"), i("after-leave")); + async (y, b) => { + var P; + const M = b !== y; + if (await K(), M) { + const W = l.value, D = ie(t.value); + y ? (f("MOUNT"), u("enter"), D === "none" && u("after-enter")) : D === "none" || ((P = o.value) == null ? void 0 : P.display) === "none" ? (f("UNMOUNT"), u("leave"), u("after-leave")) : b && W !== D ? (f("ANIMATION_OUT"), u("leave")) : (f("UNMOUNT"), u("after-leave")); } }, { immediate: !0 } ); - const d = (p) => { - const s = se(t.value), f = s.includes( - p.animationName - ), g = a.value === "mounted" ? "enter" : "leave"; - p.target === t.value && f && (i(`after-${g}`), r("ANIMATION_END")), p.target === t.value && s === "none" && r("ANIMATION_END"); - }, c = (p) => { - p.target === t.value && (o.value = se(t.value)); - }, m = I( + const v = (y) => { + const b = ie(t.value), P = b.includes( + y.animationName + ), M = c.value === "mounted" ? "enter" : "leave"; + if (y.target === t.value && P && (u(`after-${M}`), f("ANIMATION_END"), !a.value)) { + const W = t.value.style.animationFillMode; + t.value.style.animationFillMode = "forwards", i = d == null ? void 0 : d.setTimeout(() => { + var D; + ((D = t.value) == null ? void 0 : D.style.animationFillMode) === "forwards" && (t.value.style.animationFillMode = W); + }); + } + y.target === t.value && b === "none" && f("ANIMATION_END"); + }, s = (y) => { + y.target === t.value && (l.value = ie(t.value)); + }, m = $( t, - (p, s) => { - p ? (n.value = getComputedStyle(p), p.addEventListener("animationstart", c), p.addEventListener("animationcancel", d), p.addEventListener("animationend", d)) : (r("ANIMATION_END"), s == null || s.removeEventListener("animationstart", c), s == null || s.removeEventListener("animationcancel", d), s == null || s.removeEventListener("animationend", d)); + (y, b) => { + y ? (o.value = getComputedStyle(y), y.addEventListener("animationstart", s), y.addEventListener("animationcancel", v), y.addEventListener("animationend", v)) : (f("ANIMATION_END"), d == null || d.clearTimeout(i), b == null || b.removeEventListener("animationstart", s), b == null || b.removeEventListener("animationcancel", v), b == null || b.removeEventListener("animationend", v)); }, { immediate: !0 } - ), u = I(a, () => { - const p = se(t.value); - o.value = a.value === "mounted" ? p : "none"; + ), g = $(c, () => { + const y = ie(t.value); + l.value = c.value === "mounted" ? y : "none"; }); - return X(() => { - m(), u(); + return H(() => { + m(), g(); }), { - isPresent: A( - () => ["mounted", "unmountSuspended"].includes(a.value) + isPresent: B( + () => ["mounted", "unmountSuspended"].includes(c.value) ) }; } -function se(e) { +function ie(e) { return e && getComputedStyle(e).animationName || "none"; } -const tt = O({ +const tt = A({ name: "Presence", props: { present: { @@ -971,16 +981,16 @@ const tt = O({ slots: {}, setup(e, { slots: t, expose: n }) { var o; - const { present: l, forceMount: a } = je(e), r = y(), { isPresent: i } = mn(l, r); + const { present: l, forceMount: a } = je(e), r = h(), { isPresent: i } = mn(l, r); n({ present: i }); let d = t.default({ present: i }); - d = Be(d || []); - const c = V(); + d = Ie(d || []); + const c = Y(); if (d && (d == null ? void 0 : d.length) > 1) { - const m = (o = c == null ? void 0 : c.parent) != null && o.type.name ? `<${c.parent.type.name} />` : "component"; + const f = (o = c == null ? void 0 : c.parent) != null && o.type.name ? `<${c.parent.type.name} />` : "component"; throw new Error( [ - `Detected an invalid children for \`${m}\` for \`Presence\` component.`, + `Detected an invalid children for \`${f}\` for \`Presence\` component.`, "", "Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.", "You can apply a few solutions:", @@ -993,14 +1003,14 @@ const tt = O({ `) ); } - return () => a.value || l.value || i.value ? W(t.default({ present: i })[0], { - ref: (m) => { - const u = ee(m); + return () => a.value || l.value || i.value ? R(t.default({ present: i })[0], { + ref: (f) => { + const u = ne(f); return typeof (u == null ? void 0 : u.hasAttribute) > "u" || (u != null && u.hasAttribute("data-radix-popper-content-wrapper") ? r.value = u.firstElementChild : r.value = u), u; } }) : null; } -}), [F, pn] = Me("DialogRoot"), vn = /* @__PURE__ */ O({ +}), [U, pn] = Me("DialogRoot"), vn = /* @__PURE__ */ A({ inheritAttrs: !1, __name: "DialogRoot", props: { @@ -1010,10 +1020,10 @@ const tt = O({ }, emits: ["update:open"], setup(e, { emit: t }) { - const n = e, o = Yt(n, "open", t, { + const n = e, o = Gt(n, "open", t, { defaultValue: n.defaultOpen, passive: n.open === void 0 - }), l = y(), a = y(), { modal: r } = je(n); + }), l = h(), a = h(), { modal: r } = je(n); return pn({ open: o, modal: r, @@ -1031,9 +1041,9 @@ const tt = O({ descriptionId: "", triggerElement: l, contentElement: a - }), (i, d) => E(i.$slots, "default", { open: v(o) }); + }), (i, d) => O(i.$slots, "default", { open: p(o) }); } -}), gn = /* @__PURE__ */ O({ +}), gn = /* @__PURE__ */ A({ __name: "Teleport", props: { to: { default: "body" }, @@ -1041,16 +1051,16 @@ const tt = O({ forceMount: { type: Boolean } }, setup(e) { - const t = Zt(); - return (n, o) => v(t) || n.forceMount ? (h(), C(ht, { + const t = Jt(); + return (n, o) => p(t) || n.forceMount ? (x(), C(ht, { key: 0, to: n.to, disabled: n.disabled }, [ - E(n.$slots, "default") - ], 8, ["to", "disabled"])) : k("", !0); + O(n.$slots, "default") + ], 8, ["to", "disabled"])) : L("", !0); } -}), yn = /* @__PURE__ */ O({ +}), yn = /* @__PURE__ */ A({ __name: "DialogPortal", props: { to: {}, @@ -1059,9 +1069,9 @@ const tt = O({ }, setup(e) { const t = e; - return (n, o) => (h(), C(v(gn), gt(yt(t)), { - default: x(() => [ - E(n.$slots, "default") + return (n, o) => (x(), C(p(gn), gt(yt(t)), { + default: w(() => [ + O(n.$slots, "default") ]), _: 3 }, 16)); @@ -1079,27 +1089,27 @@ function nt(e, t) { } function wn(e, t) { var n; - const o = ((n = t == null ? void 0 : t.value) == null ? void 0 : n.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), l = y(!1), a = y(() => { + const o = ((n = t == null ? void 0 : t.value) == null ? void 0 : n.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), l = h(!1), a = h(() => { }); - return R((r) => { - if (!_) + return q((r) => { + if (!X) return; const i = async (c) => { - const m = c.target; + const f = c.target; if (t != null && t.value) { - if (nt(t.value, m)) { + if (nt(t.value, f)) { l.value = !1; return; } if (c.target && !l.value) { let u = function() { - Ve( + He( hn, e, - p + v ); }; - const p = { originalEvent: c }; + const v = { originalEvent: c }; c.pointerType === "touch" ? (o.removeEventListener("click", a.value), a.value = u, o.addEventListener("click", a.value, { once: !0 })) : u(); @@ -1119,12 +1129,12 @@ function wn(e, t) { } function bn(e, t) { var n; - const o = ((n = t == null ? void 0 : t.value) == null ? void 0 : n.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), l = y(!1); - return R((a) => { - if (!_) + const o = ((n = t == null ? void 0 : t.value) == null ? void 0 : n.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), l = h(!1); + return q((a) => { + if (!X) return; const r = async (i) => { - t != null && t.value && (await U(), !(!t.value || nt(t.value, i.target)) && i.target && !l.value && Ve( + t != null && t.value && (await K(), !(!t.value || nt(t.value, i.target)) && i.target && !l.value && He( xn, e, { originalEvent: i } @@ -1136,11 +1146,11 @@ function bn(e, t) { onBlurCapture: () => l.value = !1 }; } -const N = Re({ +const T = Ue({ layersRoot: /* @__PURE__ */ new Set(), layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(), branches: /* @__PURE__ */ new Set() -}), Cn = /* @__PURE__ */ O({ +}), En = /* @__PURE__ */ A({ __name: "DismissableLayer", props: { disableOutsidePointerEvents: { type: Boolean, default: !1 }, @@ -1149,63 +1159,63 @@ const N = Re({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "dismiss"], setup(e, { emit: t }) { - const n = e, o = t, { forwardRef: l, currentElement: a } = P(), r = A( + const n = e, o = t, { forwardRef: l, currentElement: a } = N(), r = B( () => { - var f; - return ((f = a.value) == null ? void 0 : f.ownerDocument) ?? globalThis.document; + var m; + return ((m = a.value) == null ? void 0 : m.ownerDocument) ?? globalThis.document; } - ), i = A(() => N.layersRoot), d = A(() => a.value ? Array.from(i.value).indexOf(a.value) : -1), c = A(() => N.layersWithOutsidePointerEventsDisabled.size > 0), m = A(() => { - const f = Array.from(i.value), [g] = [...N.layersWithOutsidePointerEventsDisabled].slice(-1), w = f.indexOf(g); - return d.value >= w; - }), u = wn(async (f) => { - const g = [...N.branches].some( - (w) => w == null ? void 0 : w.contains(f.target) + ), i = B(() => T.layersRoot), d = B(() => a.value ? Array.from(i.value).indexOf(a.value) : -1), c = B(() => T.layersWithOutsidePointerEventsDisabled.size > 0), f = B(() => { + const m = Array.from(i.value), [g] = [...T.layersWithOutsidePointerEventsDisabled].slice(-1), y = m.indexOf(g); + return d.value >= y; + }), u = wn(async (m) => { + const g = [...T.branches].some( + (y) => y == null ? void 0 : y.contains(m.target) ); - !m.value || g || (o("pointerDownOutside", f), o("interactOutside", f), await U(), f.defaultPrevented || o("dismiss")); - }, a), p = bn((f) => { - [...N.branches].some( - (g) => g == null ? void 0 : g.contains(f.target) - ) || (o("focusOutside", f), o("interactOutside", f), f.defaultPrevented || o("dismiss")); + !f.value || g || (o("pointerDownOutside", m), o("interactOutside", m), await K(), m.defaultPrevented || o("dismiss")); + }, a), v = bn((m) => { + [...T.branches].some( + (g) => g == null ? void 0 : g.contains(m.target) + ) || (o("focusOutside", m), o("interactOutside", m), m.defaultPrevented || o("dismiss")); }, a); - Ht("Escape", (f) => { - d.value === i.value.size - 1 && (o("escapeKeyDown", f), f.defaultPrevented || o("dismiss")); + Ht("Escape", (m) => { + d.value === i.value.size - 1 && (o("escapeKeyDown", m), m.defaultPrevented || o("dismiss")); }); let s; - return R((f) => { - a.value && (n.disableOutsidePointerEvents && (N.layersWithOutsidePointerEventsDisabled.size === 0 && (s = r.value.body.style.pointerEvents, r.value.body.style.pointerEvents = "none"), N.layersWithOutsidePointerEventsDisabled.add(a.value)), i.value.add(a.value), f(() => { - n.disableOutsidePointerEvents && N.layersWithOutsidePointerEventsDisabled.size === 1 && (r.value.body.style.pointerEvents = s); + return q((m) => { + a.value && (n.disableOutsidePointerEvents && (T.layersWithOutsidePointerEventsDisabled.size === 0 && (s = r.value.body.style.pointerEvents, r.value.body.style.pointerEvents = "none"), T.layersWithOutsidePointerEventsDisabled.add(a.value)), i.value.add(a.value), m(() => { + n.disableOutsidePointerEvents && T.layersWithOutsidePointerEventsDisabled.size === 1 && (r.value.body.style.pointerEvents = s); })); - }), R((f) => { - f(() => { - a.value && (i.value.delete(a.value), N.layersWithOutsidePointerEventsDisabled.delete(a.value)); + }), q((m) => { + m(() => { + a.value && (i.value.delete(a.value), T.layersWithOutsidePointerEventsDisabled.delete(a.value)); }); - }), (f, g) => (h(), C(v(H), { - ref: v(l), - "as-child": f.asChild, - as: f.as, + }), (m, g) => (x(), C(p(G), { + ref: p(l), + "as-child": m.asChild, + as: m.as, "data-dismissable-layer": "", style: bt({ - pointerEvents: c.value ? m.value ? "auto" : "none" : void 0 + pointerEvents: c.value ? f.value ? "auto" : "none" : void 0 }), - onFocusCapture: v(p).onFocusCapture, - onBlurCapture: v(p).onBlurCapture, - onPointerdownCapture: v(u).onPointerDownCapture + onFocusCapture: p(v).onFocusCapture, + onBlurCapture: p(v).onBlurCapture, + onPointerdownCapture: p(u).onPointerDownCapture }, { - default: x(() => [ - E(f.$slots, "default") + default: w(() => [ + O(m.$slots, "default") ]), _: 3 }, 8, ["as-child", "as", "style", "onFocusCapture", "onBlurCapture", "onPointerdownCapture"])); } -}), ge = "focusScope.autoFocusOnMount", ye = "focusScope.autoFocusOnUnmount", Ne = { bubbles: !1, cancelable: !0 }; -function En(e, { select: t = !1 } = {}) { +}), ge = "focusScope.autoFocusOnMount", ye = "focusScope.autoFocusOnUnmount", Le = { bubbles: !1, cancelable: !0 }; +function Cn(e, { select: t = !1 } = {}) { const n = document.activeElement; for (const o of e) - if (L(o, { select: t }), document.activeElement !== n) + if (F(o, { select: t }), document.activeElement !== n) return !0; } function On(e) { - const t = ot(e), n = Le(t, e), o = Le(t.reverse(), e); + const t = ot(e), n = Te(t, e), o = Te(t.reverse(), e); return [n, o]; } function ot(e) { @@ -1218,7 +1228,7 @@ function ot(e) { for (; n.nextNode(); ) t.push(n.currentNode); return t; } -function Le(e, t) { +function Te(e, t) { for (const n of e) if (!An(n, { upTo: t })) return n; @@ -1238,15 +1248,15 @@ function An(e, { upTo: t }) { function Mn(e) { return e instanceof HTMLInputElement && "select" in e; } -function L(e, { select: t = !1 } = {}) { +function F(e, { select: t = !1 } = {}) { if (e && e.focus) { const n = document.activeElement; e.focus({ preventScroll: !0 }), e !== n && Mn(e) && t && e.select(); } } -const Sn = Ft(() => y([])); -function Bn() { - const e = Sn(); +const Bn = Ft(() => h([])); +function Sn() { + const e = Bn(); return { add(t) { const n = e.value[0]; @@ -1262,10 +1272,10 @@ function We(e, t) { const n = [...e], o = n.indexOf(t); return o !== -1 && n.splice(o, 1), n; } -function Dn(e) { +function In(e) { return e.filter((t) => t.tagName !== "A"); } -const In = /* @__PURE__ */ O({ +const Pn = /* @__PURE__ */ A({ __name: "FocusScope", props: { loop: { type: Boolean, default: !1 }, @@ -1275,7 +1285,7 @@ const In = /* @__PURE__ */ O({ }, emits: ["mountAutoFocus", "unmountAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, { currentRef: l, currentElement: a } = P(), r = y(null), i = Bn(), d = Re({ + const n = e, o = t, { currentRef: l, currentElement: a } = N(), r = h(null), i = Sn(), d = Ue({ paused: !1, pause() { this.paused = !0; @@ -1284,73 +1294,73 @@ const In = /* @__PURE__ */ O({ this.paused = !1; } }); - R((m) => { - if (!_) + q((f) => { + if (!X) return; const u = a.value; if (!n.trapped) return; - function p(w) { + function v(y) { if (d.paused || !u) return; - const M = w.target; - u.contains(M) ? r.value = M : L(r.value, { select: !0 }); + const b = y.target; + u.contains(b) ? r.value = b : F(r.value, { select: !0 }); } - function s(w) { + function s(y) { if (d.paused || !u) return; - const M = w.relatedTarget; - M !== null && (u.contains(M) || L(r.value, { select: !0 })); + const b = y.relatedTarget; + b !== null && (u.contains(b) || F(r.value, { select: !0 })); } - function f(w) { - u.contains(r.value) || L(u); + function m(y) { + u.contains(r.value) || F(u); } - document.addEventListener("focusin", p), document.addEventListener("focusout", s); - const g = new MutationObserver(f); - u && g.observe(u, { childList: !0, subtree: !0 }), m(() => { - document.removeEventListener("focusin", p), document.removeEventListener("focusout", s), g.disconnect(); + document.addEventListener("focusin", v), document.addEventListener("focusout", s); + const g = new MutationObserver(m); + u && g.observe(u, { childList: !0, subtree: !0 }), f(() => { + document.removeEventListener("focusin", v), document.removeEventListener("focusout", s), g.disconnect(); }); - }), R(async (m) => { + }), q(async (f) => { const u = a.value; - if (await U(), !u) + if (await K(), !u) return; i.add(d); - const p = document.activeElement; - if (!u.contains(p)) { - const s = new CustomEvent(ge, Ne); - u.addEventListener(ge, (f) => o("mountAutoFocus", f)), u.dispatchEvent(s), s.defaultPrevented || (En(Dn(ot(u)), { + const v = document.activeElement; + if (!u.contains(v)) { + const s = new CustomEvent(ge, Le); + u.addEventListener(ge, (m) => o("mountAutoFocus", m)), u.dispatchEvent(s), s.defaultPrevented || (Cn(In(ot(u)), { select: !0 - }), document.activeElement === p && L(u)); + }), document.activeElement === v && F(u)); } - m(() => { + f(() => { u.removeEventListener(ge, (g) => o("mountAutoFocus", g)); - const s = new CustomEvent(ye, Ne), f = (g) => { + const s = new CustomEvent(ye, Le), m = (g) => { o("unmountAutoFocus", g); }; - u.addEventListener(ye, f), u.dispatchEvent(s), setTimeout(() => { - s.defaultPrevented || L(p ?? document.body, { select: !0 }), u.removeEventListener(ye, f), i.remove(d); + u.addEventListener(ye, m), u.dispatchEvent(s), setTimeout(() => { + s.defaultPrevented || F(v ?? document.body, { select: !0 }), u.removeEventListener(ye, m), i.remove(d); }, 0); }); }); - function c(m) { + function c(f) { if (!n.loop && !n.trapped || d.paused) return; - const u = m.key === "Tab" && !m.altKey && !m.ctrlKey && !m.metaKey, p = document.activeElement; - if (u && p) { - const s = m.currentTarget, [f, g] = On(s); - f && g ? !m.shiftKey && p === g ? (m.preventDefault(), n.loop && L(f, { select: !0 })) : m.shiftKey && p === f && (m.preventDefault(), n.loop && L(g, { select: !0 })) : p === s && m.preventDefault(); + const u = f.key === "Tab" && !f.altKey && !f.ctrlKey && !f.metaKey, v = document.activeElement; + if (u && v) { + const s = f.currentTarget, [m, g] = On(s); + m && g ? !f.shiftKey && v === g ? (f.preventDefault(), n.loop && F(m, { select: !0 })) : f.shiftKey && v === m && (f.preventDefault(), n.loop && F(g, { select: !0 })) : v === s && f.preventDefault(); } } - return (m, u) => (h(), C(v(H), { + return (f, u) => (x(), C(p(G), { ref_key: "currentRef", ref: l, tabindex: "-1", - "as-child": m.asChild, - as: m.as, + "as-child": f.asChild, + as: f.as, onKeydown: c }, { - default: x(() => [ - E(m.$slots, "default") + default: w(() => [ + O(f.$slots, "default") ]), _: 3 }, 8, ["as-child", "as"])); @@ -1359,9 +1369,9 @@ const In = /* @__PURE__ */ O({ function $n(e) { return e ? "open" : "closed"; } -const Pn = "DialogTitle", kn = "DialogContent"; +const Dn = "DialogTitle", kn = "DialogContent"; function Nn({ - titleName: e = Pn, + titleName: e = Dn, contentName: t = kn, componentLink: n = "dialog.html#title", titleId: o, @@ -1380,7 +1390,7 @@ For more information, see https://www.radix-vue.com/components/${n}`, i = `Warni l && c && (document.getElementById(l) || console.warn(i)); }); } -const lt = /* @__PURE__ */ O({ +const lt = /* @__PURE__ */ A({ __name: "DialogContentImpl", props: { forceMount: { type: Boolean }, @@ -1391,8 +1401,8 @@ const lt = /* @__PURE__ */ O({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, l = F(), { forwardRef: a, currentElement: r } = P(); - return l.titleId || (l.titleId = ke(void 0, "radix-vue-dialog-title")), l.descriptionId || (l.descriptionId = ke(void 0, "radix-vue-dialog-description")), ce(() => { + const n = e, o = t, l = U(), { forwardRef: a, currentElement: r } = N(); + return l.titleId || (l.titleId = Ne(void 0, "radix-vue-dialog-title")), l.descriptionId || (l.descriptionId = Ne(void 0, "radix-vue-dialog-description")), ce(() => { l.contentElement = r, document.activeElement !== document.body && (l.triggerElement.value = document.activeElement); }), process.env.NODE_ENV !== "production" && Nn({ titleName: "DialogTitle", @@ -1401,33 +1411,33 @@ const lt = /* @__PURE__ */ O({ titleId: l.titleId, descriptionId: l.descriptionId, contentElement: r - }), (i, d) => (h(), C(v(In), { + }), (i, d) => (x(), C(p(Pn), { "as-child": "", loop: "", trapped: n.trapFocus, onMountAutoFocus: d[5] || (d[5] = (c) => o("openAutoFocus", c)), onUnmountAutoFocus: d[6] || (d[6] = (c) => o("closeAutoFocus", c)) }, { - default: x(() => [ - S(v(Cn), $({ - id: v(l).contentId, - ref: v(a), + default: w(() => [ + S(p(En), k({ + id: p(l).contentId, + ref: p(a), as: i.as, "as-child": i.asChild, "disable-outside-pointer-events": i.disableOutsidePointerEvents, role: "dialog", - "aria-describedby": v(l).descriptionId, - "aria-labelledby": v(l).titleId, - "data-state": v($n)(v(l).open.value) + "aria-describedby": p(l).descriptionId, + "aria-labelledby": p(l).titleId, + "data-state": p($n)(p(l).open.value) }, i.$attrs, { - onDismiss: d[0] || (d[0] = (c) => v(l).onOpenChange(!1)), + onDismiss: d[0] || (d[0] = (c) => p(l).onOpenChange(!1)), onEscapeKeyDown: d[1] || (d[1] = (c) => o("escapeKeyDown", c)), onFocusOutside: d[2] || (d[2] = (c) => o("focusOutside", c)), onInteractOutside: d[3] || (d[3] = (c) => o("interactOutside", c)), onPointerDownOutside: d[4] || (d[4] = (c) => o("pointerDownOutside", c)) }), { - default: x(() => [ - E(i.$slots, "default") + default: w(() => [ + O(i.$slots, "default") ]), _: 3 }, 16, ["id", "as", "as-child", "disable-outside-pointer-events", "aria-describedby", "aria-labelledby", "data-state"]) @@ -1435,7 +1445,7 @@ const lt = /* @__PURE__ */ O({ _: 3 }, 8, ["trapped"])); } -}), Ln = /* @__PURE__ */ O({ +}), Ln = /* @__PURE__ */ A({ __name: "DialogContentModal", props: { forceMount: { type: Boolean }, @@ -1446,30 +1456,30 @@ const lt = /* @__PURE__ */ O({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, l = F(), a = De(o), { forwardRef: r, currentElement: i } = P(); - return dn(i), (d, c) => (h(), C(lt, $({ ...n, ...v(a) }, { - ref: v(r), - "trap-focus": v(l).open.value, + const n = e, o = t, l = U(), a = Pe(o), { forwardRef: r, currentElement: i } = N(); + return dn(i), (d, c) => (x(), C(lt, k({ ...n, ...p(a) }, { + ref: p(r), + "trap-focus": p(l).open.value, "disable-outside-pointer-events": !0, - onCloseAutoFocus: c[0] || (c[0] = (m) => { + onCloseAutoFocus: c[0] || (c[0] = (f) => { var u; - m.defaultPrevented || (m.preventDefault(), (u = v(l).triggerElement.value) == null || u.focus()); + f.defaultPrevented || (f.preventDefault(), (u = p(l).triggerElement.value) == null || u.focus()); }), - onPointerDownOutside: c[1] || (c[1] = (m) => { - const u = m.detail.originalEvent, p = u.button === 0 && u.ctrlKey === !0; - (u.button === 2 || p) && m.preventDefault(); + onPointerDownOutside: c[1] || (c[1] = (f) => { + const u = f.detail.originalEvent, v = u.button === 0 && u.ctrlKey === !0; + (u.button === 2 || v) && f.preventDefault(); }), - onFocusOutside: c[2] || (c[2] = (m) => { - m.preventDefault(); + onFocusOutside: c[2] || (c[2] = (f) => { + f.preventDefault(); }) }), { - default: x(() => [ - E(d.$slots, "default") + default: w(() => [ + O(d.$slots, "default") ]), _: 3 }, 16, ["trap-focus"])); } -}), Wn = /* @__PURE__ */ O({ +}), Tn = /* @__PURE__ */ A({ __name: "DialogContentNonModal", props: { forceMount: { type: Boolean }, @@ -1480,30 +1490,30 @@ const lt = /* @__PURE__ */ O({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = De(t); - P(); - const l = F(), a = y(!1), r = y(!1); - return (i, d) => (h(), C(lt, $({ ...n, ...v(o) }, { + const n = e, o = Pe(t); + N(); + const l = U(), a = h(!1), r = h(!1); + return (i, d) => (x(), C(lt, k({ ...n, ...p(o) }, { "trap-focus": !1, "disable-outside-pointer-events": !1, onCloseAutoFocus: d[0] || (d[0] = (c) => { - var m; - c.defaultPrevented || (a.value || (m = v(l).triggerElement.value) == null || m.focus(), c.preventDefault()), a.value = !1, r.value = !1; + var f; + c.defaultPrevented || (a.value || (f = p(l).triggerElement.value) == null || f.focus(), c.preventDefault()), a.value = !1, r.value = !1; }), onInteractOutside: d[1] || (d[1] = (c) => { - var m; + var f; c.defaultPrevented || (a.value = !0, c.detail.originalEvent.type === "pointerdown" && (r.value = !0)); const u = c.target; - (m = v(l).triggerElement.value) != null && m.contains(u) && c.preventDefault(), c.detail.originalEvent.type === "focusin" && r.value && c.preventDefault(); + (f = p(l).triggerElement.value) != null && f.contains(u) && c.preventDefault(), c.detail.originalEvent.type === "focusin" && r.value && c.preventDefault(); }) }), { - default: x(() => [ - E(i.$slots, "default") + default: w(() => [ + O(i.$slots, "default") ]), _: 3 }, 16)); } -}), at = /* @__PURE__ */ O({ +}), at = /* @__PURE__ */ A({ __name: "DialogContent", props: { forceMount: { type: Boolean }, @@ -1514,25 +1524,25 @@ const lt = /* @__PURE__ */ O({ }, emits: ["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"], setup(e, { emit: t }) { - const n = e, o = t, l = F(), a = De(o), { forwardRef: r } = P(); - return (i, d) => (h(), C(v(tt), { - present: i.forceMount || v(l).open.value + const n = e, o = t, l = U(), a = Pe(o), { forwardRef: r } = N(); + return (i, d) => (x(), C(p(tt), { + present: i.forceMount || p(l).open.value }, { - default: x(() => [ - v(l).modal.value ? (h(), C(Ln, $({ + default: w(() => [ + p(l).modal.value ? (x(), C(Ln, k({ key: 0, - ref: v(r) - }, { ...n, ...v(a), ...i.$attrs }), { - default: x(() => [ - E(i.$slots, "default") + ref: p(r) + }, { ...n, ...p(a), ...i.$attrs }), { + default: w(() => [ + O(i.$slots, "default") ]), _: 3 - }, 16)) : (h(), C(Wn, $({ + }, 16)) : (x(), C(Tn, k({ key: 1, - ref: v(r) - }, { ...n, ...v(a), ...i.$attrs }), { - default: x(() => [ - E(i.$slots, "default") + ref: p(r) + }, { ...n, ...p(a), ...i.$attrs }), { + default: w(() => [ + O(i.$slots, "default") ]), _: 3 }, 16)) @@ -1540,27 +1550,27 @@ const lt = /* @__PURE__ */ O({ _: 3 }, 8, ["present"])); } -}), Tn = /* @__PURE__ */ O({ +}), Wn = /* @__PURE__ */ A({ __name: "DialogOverlayImpl", props: { asChild: { type: Boolean }, as: {} }, setup(e) { - const t = F(); - return on(!0), P(), (n, o) => (h(), C(v(H), { + const t = U(); + return on(!0), N(), (n, o) => (x(), C(p(G), { as: n.as, "as-child": n.asChild, - "data-state": v(t).open.value ? "open" : "closed", + "data-state": p(t).open.value ? "open" : "closed", style: { "pointer-events": "auto" } }, { - default: x(() => [ - E(n.$slots, "default") + default: w(() => [ + O(n.$slots, "default") ]), _: 3 }, 8, ["as", "as-child", "data-state"])); } -}), Fn = /* @__PURE__ */ O({ +}), Fn = /* @__PURE__ */ A({ __name: "DialogOverlay", props: { forceMount: { type: Boolean }, @@ -1568,30 +1578,30 @@ const lt = /* @__PURE__ */ O({ as: {} }, setup(e) { - const t = F(), { forwardRef: n } = P(); + const t = U(), { forwardRef: n } = N(); return (o, l) => { var a; - return (a = v(t)) != null && a.modal.value ? (h(), C(v(tt), { + return (a = p(t)) != null && a.modal.value ? (x(), C(p(tt), { key: 0, - present: o.forceMount || v(t).open.value + present: o.forceMount || p(t).open.value }, { - default: x(() => [ - S(Tn, $(o.$attrs, { - ref: v(n), + default: w(() => [ + S(Wn, k(o.$attrs, { + ref: p(n), as: o.as, "as-child": o.asChild }), { - default: x(() => [ - E(o.$slots, "default") + default: w(() => [ + O(o.$slots, "default") ]), _: 3 }, 16, ["as", "as-child"]) ]), _: 3 - }, 8, ["present"])) : k("", !0); + }, 8, ["present"])) : L("", !0); }; } -}), jn = /* @__PURE__ */ O({ +}), Rn = /* @__PURE__ */ A({ __name: "DialogClose", props: { asChild: { type: Boolean }, @@ -1599,43 +1609,43 @@ const lt = /* @__PURE__ */ O({ }, setup(e) { const t = e; - P(); - const n = F(); - return (o, l) => (h(), C(v(H), $(t, { + N(); + const n = U(); + return (o, l) => (x(), C(p(G), k(t, { type: o.as === "button" ? "button" : void 0, - onClick: l[0] || (l[0] = (a) => v(n).onOpenChange(!1)) + onClick: l[0] || (l[0] = (a) => p(n).onOpenChange(!1)) }), { - default: x(() => [ - E(o.$slots, "default") + default: w(() => [ + O(o.$slots, "default") ]), _: 3 }, 16, ["type"])); } -}), rt = /* @__PURE__ */ O({ +}), rt = /* @__PURE__ */ A({ __name: "DialogTitle", props: { asChild: { type: Boolean }, as: { default: "h2" } }, setup(e) { - const t = e, n = F(); - return P(), (o, l) => (h(), C(v(H), $(t, { - id: v(n).titleId + const t = e, n = U(); + return N(), (o, l) => (x(), C(p(G), k(t, { + id: p(n).titleId }), { - default: x(() => [ - E(o.$slots, "default") + default: w(() => [ + O(o.$slots, "default") ]), _: 3 }, 16, ["id"])); } -}), st = /* @__PURE__ */ O({ +}), it = /* @__PURE__ */ A({ __name: "VisuallyHidden", props: { asChild: { type: Boolean }, as: { default: "span" } }, setup(e) { - return P(), (t, n) => (h(), C(v(H), { + return N(), (t, n) => (x(), C(p(G), { as: t.as, "as-child": t.asChild, style: { @@ -1653,23 +1663,23 @@ const lt = /* @__PURE__ */ O({ wordWrap: "normal" } }, { - default: x(() => [ - E(t.$slots, "default") + default: w(() => [ + O(t.$slots, "default") ]), _: 3 }, 8, ["as", "as-child"])); } -}), [it, ao] = Me("CollectionProvider"); -O({ +}), [st, ao] = Me("CollectionProvider"); +A({ name: "CollectionSlot", setup(e, { slots: t }) { - const n = it(), { primitiveElement: o, currentElement: l } = et(); - return I(l, () => { + const n = st(), { primitiveElement: o, currentElement: l } = et(); + return $(l, () => { n.collectionRef.value = l.value; - }), () => W(Ie, { ref: o }, t); + }), () => R($e, { ref: o }, t); } }); -O({ +A({ name: "CollectionItem", inheritAttrs: !1, props: { @@ -1679,27 +1689,27 @@ O({ } }, setup(e, { slots: t, attrs: n }) { - const o = it(), { primitiveElement: l, currentElement: a } = et(); - return R((r) => { + const o = st(), { primitiveElement: l, currentElement: a } = et(); + return q((r) => { if (a.value) { - const i = Te(a.value); + const i = Fe(a.value); o.itemMap.value.set(i, { ref: a.value, value: e.value }), r(() => o.itemMap.value.delete(i)); } - }), () => W(Ie, { ...n, [o.attrName]: "", ref: l }, t); + }), () => R($e, { ...n, [o.attrName]: "", ref: l }, t); } }); -function Rn() { +function jn() { if (typeof matchMedia == "function") return matchMedia("(pointer:coarse)").matches ? "coarse" : "fine"; } -Rn(); +jn(); const ut = { __name: "CloseButton", setup(e) { - return (t, n) => (h(), C(v(jn), { class: "im-close-button text-gray-400 hover:text-gray-500" }, { - default: x(() => n[0] || (n[0] = [ - T("span", { class: "sr-only" }, "Close", -1), - T("svg", { + return (t, n) => (x(), C(p(Rn), { class: "im-close-button text-gray-400 hover:text-gray-500" }, { + default: w(() => n[0] || (n[0] = [ + j("span", { class: "sr-only" }, "Close", -1), + j("svg", { class: "size-6", xmlns: "http://www.w3.org/2000/svg", fill: "none", @@ -1708,7 +1718,7 @@ const ut = { stroke: "currentColor", "aria-hidden": "true" }, [ - T("path", { + j("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M6 18L18 6M6 6l12 12" @@ -1728,15 +1738,15 @@ const ut = { config: Object }, setup(e) { - return (t, n) => (h(), j("div", Un, [ - T("div", { - class: z(["im-modal-positioner flex min-h-full justify-center", { + return (t, n) => (x(), _("div", Un, [ + j("div", { + class: J(["im-modal-positioner flex min-h-full justify-center", { "items-start": e.config.position === "top", "items-center": e.config.position === "center", "items-end": e.config.position === "bottom" }]) }, [ - S(Ce, { + S(Ee, { appear: "", "enter-from-class": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95", "enter-to-class": "opacity-100 translate-y-0 sm:scale-100", @@ -1744,10 +1754,10 @@ const ut = { "leave-to-class": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95", onAfterLeave: e.modalContext.afterLeave }, { - default: x(() => [ - S(v(at), { + default: w(() => [ + S(p(at), { "aria-describedby": void 0, - class: z({ + class: J({ "im-modal-wrapper w-full transition duration-300 ease-in-out": !0, "blur-sm": !e.modalContext.onTopOfStack, "sm:max-w-sm": e.config.maxWidth == "sm", @@ -1770,20 +1780,20 @@ const ut = { return ((l = e.config) == null ? void 0 : l.closeExplicitly) && o.preventDefault(); }) }, { - default: x(() => [ - S(v(st), { "as-child": "" }, { - default: x(() => [ - S(v(rt)) + default: w(() => [ + S(p(it), { "as-child": "" }, { + default: w(() => [ + S(p(rt)) ]), _: 1 }), - T("div", { - class: z(["im-modal-content relative", [e.config.paddingClasses, e.config.panelClasses]]) + j("div", { + class: J(["im-modal-content relative", [e.config.paddingClasses, e.config.panelClasses]]) }, [ - e.config.closeButton ? (h(), j("div", _n, [ + e.config.closeButton ? (x(), _("div", _n, [ S(ut) - ])) : k("", !0), - E(t.$slots, "default", { + ])) : L("", !0), + O(t.$slots, "default", { modalContext: e.modalContext, config: e.config }) @@ -1807,14 +1817,14 @@ const ut = { config: Object }, setup(e) { - return (t, n) => (h(), j("div", Kn, [ - T("div", { - class: z(["im-slideover-positioner flex min-h-full items-center", { + return (t, n) => (x(), _("div", Kn, [ + j("div", { + class: J(["im-slideover-positioner flex min-h-full items-center", { "justify-start rtl:justify-end": e.config.position === "left", "justify-end rtl:justify-start": e.config.position === "right" }]) }, [ - S(Ce, { + S(Ee, { appear: "", "enter-from-class": "opacity-0 " + (e.config.position === "left" ? "-translate-x-full" : "translate-x-full"), "enter-to-class": "opacity-100 translate-x-0", @@ -1822,10 +1832,10 @@ const ut = { "leave-to-class": "opacity-0 " + (e.config.position === "left" ? "-translate-x-full" : "translate-x-full"), onAfterLeave: e.modalContext.afterLeave }, { - default: x(() => [ - S(v(at), { + default: w(() => [ + S(p(at), { "aria-describedby": void 0, - class: z({ + class: J({ "im-slideover-wrapper w-full transition duration-300 ease-in-out": !0, "blur-sm": !e.modalContext.onTopOfStack, "sm:max-w-sm": e.config.maxWidth == "sm", @@ -1848,20 +1858,20 @@ const ut = { return ((l = e.config) == null ? void 0 : l.closeExplicitly) && o.preventDefault(); }) }, { - default: x(() => [ - S(v(st), { "as-child": "" }, { - default: x(() => [ - S(v(rt)) + default: w(() => [ + S(p(it), { "as-child": "" }, { + default: w(() => [ + S(p(rt)) ]), _: 1 }), - T("div", { - class: z(["im-slideover-content relative", [e.config.paddingClasses, e.config.panelClasses]]) + j("div", { + class: J(["im-slideover-content relative", [e.config.paddingClasses, e.config.panelClasses]]) }, [ - e.config.closeButton ? (h(), j("div", Xn, [ + e.config.closeButton ? (x(), _("div", Xn, [ S(ut) - ])) : k("", !0), - E(t.$slots, "default", { + ])) : L("", !0), + O(t.$slots, "default", { modalContext: e.modalContext, config: e.config }) @@ -1881,7 +1891,7 @@ const ut = { }, ro = { __name: "Modal", setup(e, { expose: t }) { - const n = y(null), o = y(!1); + const n = h(null), o = h(!1); return t({ afterLeave: () => { var l; @@ -1939,39 +1949,39 @@ const ut = { var l; return (l = n.value) == null ? void 0 : l.shouldRender; } - }), (l, a) => (h(), C(Tt, { + }), (l, a) => (x(), C(Wt, { ref_key: "modal", ref: n }, { - default: x(({ + default: w(({ afterLeave: r, close: i, config: d, emit: c, - getChildModal: m, + getChildModal: f, getParentModal: u, - id: p, + id: v, index: s, - isOpen: f, + isOpen: m, modalContext: g, - onTopOfStack: w, - reload: M, - setOpen: Z, - shouldRender: D + onTopOfStack: y, + reload: b, + setOpen: P, + shouldRender: M }) => [ - S(v(vn), { - open: f, - "onUpdate:open": Z + S(p(vn), { + open: m, + "onUpdate:open": P }, { - default: x(() => [ - S(v(yn), null, { - default: x(() => [ - T("div", { - "data-inertiaui-modal-id": p, + default: w(() => [ + S(p(yn), null, { + default: w(() => [ + j("div", { + "data-inertiaui-modal-id": v, "data-inertiaui-modal-index": s, class: "im-dialog relative z-20" }, [ - s === 0 && w ? (h(), C(Ce, { + s === 0 && y ? (x(), C(Ee, { key: 0, appear: !o.value, "enter-active-class": "transition transform ease-in-out duration-300", @@ -1980,34 +1990,34 @@ const ut = { "leave-active-class": "transition transform ease-in-out duration-300", "leave-from-class": "opacity-100", "leave-to-class": "opacity-0", - onAfterAppear: a[0] || (a[0] = (te) => o.value = !0) + onAfterAppear: a[0] || (a[0] = (W) => o.value = !0) }, { - default: x(() => [ - S(v(Fn), { class: "im-backdrop fixed inset-0 z-30 bg-black/75" }) + default: w(() => [ + S(p(Fn), { class: "im-backdrop fixed inset-0 z-30 bg-black/75" }) ]), _: 1 - }, 8, ["appear"])) : k("", !0), - s > 0 && w ? (h(), j("div", Hn)) : k("", !0), - (h(), C(_e(d != null && d.slideover ? zn : qn), { + }, 8, ["appear"])) : L("", !0), + s > 0 && y ? (x(), _("div", Hn)) : L("", !0), + (x(), C(qe(d != null && d.slideover ? zn : qn), { "modal-context": g, config: d }, { - default: x(() => [ - E(l.$slots, "default", { - id: p, + default: w(() => [ + O(l.$slots, "default", { + id: v, afterLeave: r, close: i, config: d, emit: c, - getChildModal: m, + getChildModal: f, getParentModal: u, index: s, - isOpen: f, + isOpen: m, modalContext: g, - onTopOfStack: w, - reload: M, - setOpen: Z, - shouldRender: D + onTopOfStack: y, + reload: b, + setOpen: P, + shouldRender: M }) ]), _: 2 @@ -2023,7 +2033,7 @@ const ut = { _: 3 }, 512)); } -}, so = { +}, io = { __name: "ModalLink", props: { href: { @@ -2093,10 +2103,10 @@ const ut = { }, emits: ["after-leave", "blur", "close", "error", "focus", "start", "success"], setup(e, { emit: t }) { - const n = e, o = y(!1), l = G(), a = y(null); + const n = e, o = h(!1), l = te(), a = h(null); xe("modalContext", a); - const r = t, i = y(!1), d = A(() => n.navigate ?? Ee("navigate")); - I( + const r = t, i = h(!1), d = B(() => n.navigate ?? Ce("navigate")); + $( () => { var g; return (g = a.value) == null ? void 0 : g.onTopOfStack; @@ -2105,32 +2115,32 @@ const ut = { a.value && (g && i.value ? r("focus") : g || r("blur"), i.value = !g); } ); - const c = y(null); - ie(() => { + const c = h(null); + se(() => { var g; return (g = c.value) == null ? void 0 : g.call(c); }); - const m = Fe(); + const f = Re(); function u() { - c.value = a.value.registerEventListenersFromAttrs(m); + c.value = a.value.registerEventListenersFromAttrs(f); } - I(a, (g, w) => { - g && !w && (u(), r("success")); + $(a, (g, y) => { + g && !y && (u(), r("success")); }); - function p() { + function v() { r("close"); } function s() { a.value = null, r("after-leave"); } - function f() { + function m() { o.value || (n.href.startsWith("#") || (o.value = !0, r("start")), l.visit( n.href, n.method, n.data, n.headers, - Dt(Ke(n, Wt)), - p, + It(Xe(n, Tt)), + v, s, n.queryStringArrayFormat, d.value @@ -2138,22 +2148,22 @@ const ut = { a.value = g; }).catch((g) => r("error", g)).finally(() => o.value = !1)); } - return (g, w) => (h(), C(_e(e.as), $(v(m), { + return (g, y) => (x(), C(qe(e.as), k(p(f), { href: e.href, - onClick: Ot(f, ["prevent"]) + onClick: Ot(m, ["prevent"]) }), { - default: x(() => [ - E(g.$slots, "default", { loading: o.value }) + default: w(() => [ + O(g.$slots, "default", { loading: o.value }) ]), _: 3 }, 16, ["href"])); } }; -function io() { +function so() { return At(be("modalContext", null)); } function uo(e, t = {}) { - return G().visit( + return te().visit( e, t.method ?? "get", t.data ?? {}, @@ -2162,7 +2172,7 @@ function uo(e, t = {}) { t.onClose, t.onAfterLeave, t.queryStringArrayFormat ?? "brackets", - t.navigate ?? Ee("navigate") + t.navigate ?? Ce("navigate") ).then((n) => { const o = t.listeners ?? {}; return Object.keys(o).forEach((l) => { @@ -2172,15 +2182,15 @@ function uo(e, t = {}) { }); } export { - Tt as HeadlessModal, + Wt as HeadlessModal, ro as Modal, - so as ModalLink, + io as ModalLink, $t as ModalRoot, - Ee as getConfig, + Ce as getConfig, no as initFromPageProps, to as putConfig, oo as renderApp, eo as resetConfig, - io as useModal, + so as useModal, uo as visitModal }; diff --git a/vue/dist/inertiaui-modal.umd.cjs b/vue/dist/inertiaui-modal.umd.cjs index 702eca3..6980ca6 100644 --- a/vue/dist/inertiaui-modal.umd.cjs +++ b/vue/dist/inertiaui-modal.umd.cjs @@ -1,7 +1,7 @@ -(function(y,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@inertiajs/vue3"),require("@inertiajs/core"),require("axios")):typeof define=="function"&&define.amd?define(["exports","vue","@inertiajs/vue3","@inertiajs/core","axios"],e):(y=typeof globalThis<"u"?globalThis:y||self,e(y.InertiaUIModal={},y.Mo,y.vue3,y.core,y.Axios))})(this,function(y,e,E,Le,W){"use strict";var cn=Object.defineProperty;var fn=(y,e,E)=>e in y?cn(y,e,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[e]=E;var C=(y,e,E)=>fn(y,typeof e!="symbol"?e+"":e,E);function je(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const l in t)if(l!=="default"){const r=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(n,l,r.get?r:{enumerable:!0,get:()=>t[l]})}}return n.default=t,Object.freeze(n)}const ie=je(e),D={type:"modal",navigate:!1,modal:{closeButton:!0,closeExplicitly:!1,maxWidth:"2xl",paddingClasses:"p-4 sm:p-6",panelClasses:"bg-white rounded",position:"center"},slideover:{closeButton:!0,closeExplicitly:!1,maxWidth:"md",paddingClasses:"p-4 sm:p-6",panelClasses:"bg-white min-h-screen",position:"right"}};class We{constructor(){this.config={},this.reset()}reset(){this.config=JSON.parse(JSON.stringify(D))}put(n,l){if(typeof n=="object"){this.config={type:n.type??D.type,navigate:n.navigate??D.navigate,modal:{...D.modal,...n.modal??{}},slideover:{...D.slideover,...n.slideover??{}}};return}const r=n.split(".");let a=this.config;for(let o=0;o"u")return this.config;const l=n.split(".");let r=this.config;for(const a of l){if(r[a]===void 0)return null;r=r[a]}return r}}const F=new We,Fe=()=>F.reset(),Ue=(t,n)=>F.put(t,n),U=t=>F.get(t),A=(t,n)=>F.get(t?`slideover.${n}`:`modal.${n}`);function Re(t,n){return Array.isArray(t)?t.filter(l=>!n.includes(l)):Object.keys(t).reduce((l,r)=>(n.includes(r)||(l[r]=t[r]),l),{})}function se(t,n){return Array.isArray(t)?t.filter(l=>n.includes(l)):n.reduce((l,r)=>(r in t&&(l[r]=t[r]),l),{})}function _e(t){return Array.isArray(t)?t.filter(n=>n!==null):Object.keys(t).reduce((n,l)=>(l in t&&t[l]!==null&&(n[l]=t[l]),n),{})}function Ve(t,n=3,l=10){return new Promise((r,a)=>{const o=t();if(o){r(o);return}let i=n*1e3/l;const u=setInterval(()=>{const c=t();c&&(clearInterval(u),r(c)),--i<=0&&(clearInterval(u),a(new Error("Condition not met in time")))},l)})}function R(t){return t?(t=t.replace(/_/g,"-"),t=t.replace(/-+/g,"-"),/[A-Z]/.test(t)?(t=t.replace(/\s+/g,"").replace(/_/g,"").replace(/(?:^|\s|-)+([A-Za-z])/g,(n,l)=>l.toUpperCase()),t=t.replace(/(.)(?=[A-Z])/g,"$1-"),t.toLowerCase()):t):""}const ue={__name:"ModalRenderer",props:{index:{type:Number,required:!0}},setup(t){const n=t,l=T(),r=e.computed(()=>l.stack.value[n.index]);return e.provide("modalContext",r),(a,o)=>{var i;return(i=r.value)!=null&&i.component?(e.openBlock(),e.createBlock(e.unref(r).component,e.mergeProps({key:0},r.value.props,{onModalEvent:o[0]||(o[0]=(u,...c)=>r.value.emit(u,...c))}),null,16)):e.createCommentVNode("",!0)}}},de={__name:"ModalRoot",setup(t){const n=T(),l=e.ref(!1),r=e.ref(null);e.onUnmounted(E.router.on("start",()=>l.value=!0)),e.onUnmounted(E.router.on("finish",()=>l.value=!1)),e.onUnmounted(E.router.on("navigate",i=>{const u=i.detail.page.props._inertiaui_modal;if(!u){r.value&&n.closeAll();return}r.value=u,n.setBaseUrl(u.baseUrl),n.pushFromResponseData(u,{},()=>{if(!u.baseUrl){console.error("No base url in modal response data so cannot navigate back");return}!l.value&&window.location.href!==u.baseUrl&&E.router.visit(u.baseUrl,{preserveScroll:!0,preserveState:!0})})}));const a=i=>(n.stack.value.length&&(i.headers["X-InertiaUI-Modal-Base-Url"]=n.getBaseUrl()),i);e.onBeforeMount(()=>{W.interceptors.request.use(a)}),e.onUnmounted(()=>{W.interceptors.request.eject(a)});const o=E.usePage();return e.watch(()=>{var i;return(i=o.props)==null?void 0:i._inertiaui_modal},(i,u)=>{var c;i&&u&&i.component===u.component&&i.url===u.url&&((c=n.stack.value[0])==null||c.updateProps(i.props??{}))}),(i,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(i.$slots,"default"),e.unref(n).stack.value.length?(e.openBlock(),e.createBlock(ue,{key:0,index:0})):e.createCommentVNode("",!0)],64))}};let _=null;const $=e.ref(null),x=e.ref([]),V=e.ref({}),qe=t=>{_=t},ze=t=>{t.resolveComponent&&(_=t.resolveComponent)};class J{constructor(n,l,r,a,o){C(this,"update",(n,l,r)=>{const a=this.index.value;a>-1&&(x.value[a].config=n,x.value[a].onCloseCallback=l,x.value[a].afterLeaveCallback=r)});C(this,"getParentModal",()=>{const n=this.index.value;return n<1?null:x.value.slice(0,n).reverse().find(l=>l.isOpen)});C(this,"getChildModal",()=>{const n=this.index.value;return n===x.value.length-1?null:x.value.slice(n+1).find(l=>l.isOpen)});C(this,"show",()=>{const n=this.index.value;if(n>-1){if(x.value[n].isOpen)return;x.value[n].isOpen=!0,x.value[n].shouldRender=!0}});C(this,"close",()=>{var l;const n=this.index.value;if(n>-1){if(!x.value[n].isOpen)return;Object.keys(this.listeners).forEach(r=>{this.off(r)}),x.value[n].isOpen=!1,(l=this.onCloseCallback)==null||l.call(this),this.onCloseCallback=null}});C(this,"setOpen",n=>{n?this.show():this.close()});C(this,"afterLeave",()=>{var l;const n=this.index.value;if(n>-1){if(x.value[n].isOpen)return;x.value[n].shouldRender=!1,(l=this.afterLeaveCallback)==null||l.call(this),this.afterLeaveCallback=null}n===0&&(x.value=[])});C(this,"on",(n,l)=>{n=R(n),this.listeners[n]=this.listeners[n]??[],this.listeners[n].push(l)});C(this,"off",(n,l)=>{var r;n=R(n),l?this.listeners[n]=((r=this.listeners[n])==null?void 0:r.filter(a=>a!==l))??[]:delete this.listeners[n]});C(this,"emit",(n,...l)=>{var r;(r=this.listeners[R(n)])==null||r.forEach(a=>a(...l))});C(this,"registerEventListenersFromAttrs",n=>{const l=[];return Object.keys(n).filter(r=>r.startsWith("on")).forEach(r=>{const a=R(r).replace(/^on-/,"");this.on(a,n[r]),l.push(()=>this.off(a,n[r]))}),()=>l.forEach(r=>r())});C(this,"reload",(n={})=>{var r;let l=Object.keys(this.response.props);n.only&&(l=se(l,n.only)),n.except&&(l=Re(l,n.except)),(r=this.response)!=null&&r.url&&W.get(this.response.url,{headers:{Accept:"text/html, application/xhtml+xml","X-Inertia":!0,"X-Inertia-Partial-Component":this.response.component,"X-Inertia-Version":this.response.version,"X-Inertia-Partial-Data":l.join(","),"X-InertiaUI-Modal":!0,"X-InertiaUI-Modal-Use-Router":0,"X-InertiaUI-Modal-Base-Url":$.value}}).then(a=>{this.updateProps(a.data.props)})});C(this,"updateProps",n=>{Object.assign(this.props.value,n)});this.id=J.generateId(),this.isOpen=!1,this.shouldRender=!1,this.listeners={},this.component=n,this.props=e.ref(l.props),this.response=l,this.config=r,this.onCloseCallback=a,this.afterLeaveCallback=o,this.index=e.computed(()=>x.value.findIndex(i=>i.id===this.id)),this.onTopOfStack=e.computed(()=>{var u;return x.value.length<2?!0:((u=x.value.map(c=>({id:c.id,shouldRender:c.shouldRender})).reverse().find(c=>c.shouldRender))==null?void 0:u.id)===this.id})}static generateId(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?`inertiaui_modal_${crypto.randomUUID()}`:`inertiaui_modal_${Date.now().toString(36)}_${Math.random().toString(36).substr(2,9)}`}}function Ke(t,n){V.value[t]={name:t,callback:n}}function Xe(t,n,l,r){if(!V.value[t])throw new Error(`The local modal "${t}" has not been registered.`);const a=Y(null,{},n,l,r);return a.name=t,V.value[t].callback(a),a}function ce(t,n={},l=null,r=null){return _(t.component).then(a=>Y(e.markRaw(a),t,n,l,r))}function He(t,n,l={},r={},a={},o=null,i=null,u="brackets",c=!1){return new Promise((f,p)=>{if(t.startsWith("#")){f(Xe(t.substring(1),a,o,i));return}const[d,v]=Le.mergeDataIntoQueryString(n,t||"",l,u);let s=c&&x.value.length===0;if(x.value.length===0&&($.value=typeof window<"u"?window.location.href:""),r={...r,Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0,"X-Inertia-Version":E.usePage().version,"X-InertiaUI-Modal":!0,"X-InertiaUI-Modal-Use-Router":s?1:0,"X-InertiaUI-Modal-Base-Url":$.value},s)return E.router.visit(d,{method:n,data:v,headers:r,preserveScroll:!0,preserveState:!0,onError:p,onFinish:()=>Ve(()=>x.value[0]).then(m=>{const h=m.onCloseCallback,g=m.afterLeaveCallback;m.update(a,()=>{o==null||o(),h==null||h()},()=>{i==null||i(),g==null||g()}),f(m)})});W({url:d,method:n,data:v,headers:r}).then(m=>f(ce(m.data,a,o,i))).catch(p)})}function Y(t,n,l,r,a){const o=new J(t,n,l,r,a);return x.value.push(o),e.nextTick(()=>{o.show()}),o}const Ze=["closeButton","closeExplicitly","maxWidth","paddingClasses","panelClasses","position","slideover"],Je=(t,n)=>(n.resolveComponent&&(_=n.resolveComponent),()=>e.h(de,()=>e.h(t,n)));function T(){return{setComponentResolver:qe,getBaseUrl:()=>$.value,setBaseUrl:t=>$.value=t,stack:e.readonly(x),push:Y,pushFromResponseData:ce,closeAll:()=>[...x.value].reverse().forEach(t=>t.close()),reset:()=>x.value=[],visit:He,registerLocalModal:Ke,removeLocalModal:t=>delete V.value[t]}}const fe=Object.assign({inheritAttrs:!1},{__name:"HeadlessModal",props:{name:{type:String,required:!1},slideover:{type:Boolean,default:null},closeButton:{type:Boolean,default:null},closeExplicitly:{type:Boolean,default:null},maxWidth:{type:String,default:null},paddingClasses:{type:[Boolean,String],default:null},panelClasses:{type:[Boolean,String],default:null},position:{type:String,default:null}},emits:["modal-event"],setup(t,{expose:n,emit:l}){const r=t,a=T(),o=r.name?e.ref({}):e.inject("modalContext"),i=e.computed(()=>{var m;const s=((m=o.value.config)==null?void 0:m.slideover)??r.slideover??U("type")==="slideover";return{slideover:s,closeButton:r.closeButton??A(s,"closeButton"),closeExplicitly:r.closeExplicitly??A(s,"closeExplicitly"),maxWidth:r.maxWidth??A(s,"maxWidth"),paddingClasses:r.paddingClasses??A(s,"paddingClasses"),panelClasses:r.panelClasses??A(s,"panelClasses"),position:r.position??A(s,"position"),...o.value.config}});r.name&&(a.registerLocalModal(r.name,function(s){o.value=s,f()}),e.onBeforeUnmount(()=>{a.removeLocalModal(r.name)})),e.onMounted(()=>{r.name||f()});const u=e.ref(null);e.onBeforeUnmount(()=>{var s;return(s=u.value)==null?void 0:s.call(u)});const c=e.useAttrs();function f(){u.value=o.value.registerEventListenersFromAttrs(c)}const p=l;function d(s,...m){p("modal-event",s,...m)}n({emit:d,afterLeave:()=>{var s;return(s=o.value)==null?void 0:s.afterLeave()},close:()=>{var s;return(s=o.value)==null?void 0:s.close()},reload:(...s)=>{var m;return(m=o.value)==null?void 0:m.reload(...s)},setOpen:(...s)=>{var m;return(m=o.value)==null?void 0:m.setOpen(...s)},getChildModal:()=>{var s;return(s=o.value)==null?void 0:s.getChildModal()},getParentModal:()=>{var s;return(s=o.value)==null?void 0:s.getParentModal()},get config(){var s;return(s=o.value)==null?void 0:s.config},get id(){var s;return(s=o.value)==null?void 0:s.id},get index(){var s;return(s=o.value)==null?void 0:s.index},get isOpen(){var s;return(s=o.value)==null?void 0:s.isOpen},get modalContext(){var s;return(s=o.value)==null?void 0:s.modalContext},get onTopOfStack(){var s;return(s=o.value)==null?void 0:s.onTopOfStack},get shouldRender(){var s;return(s=o.value)==null?void 0:s.shouldRender}});const v=e.computed(()=>{var s;return(s=a.stack.value.find(m=>m.shouldRender&&m.index>o.value.index))==null?void 0:s.index});return(s,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(o).shouldRender?e.renderSlot(s.$slots,"default",{key:0,id:e.unref(o).id,afterLeave:e.unref(o).afterLeave,close:e.unref(o).close,config:i.value,emit:d,getChildModal:e.unref(o).getChildModal,getParentModal:e.unref(o).getParentModal,index:e.unref(o).index,isOpen:e.unref(o).isOpen,modalContext:e.unref(o),onTopOfStack:e.unref(o).onTopOfStack,reload:e.unref(o).reload,setOpen:e.unref(o).setOpen,shouldRender:e.unref(o).shouldRender}):e.createCommentVNode("",!0),v.value?(e.openBlock(),e.createBlock(ue,{key:1,index:v.value},null,8,["index"])):e.createCommentVNode("",!0)],64))}});function Q(t,n){const l=typeof t=="string"&&!n?`${t}Context`:n,r=Symbol(l);return[a=>{const o=e.inject(r,a);if(o||o===null)return o;throw new Error(`Injection \`${r.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},a=>(e.provide(r,a),a)]}function me(t,n,l){const r=l.originalEvent.target,a=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:l});n&&r.addEventListener(t,n,{once:!0}),r.dispatchEvent(a)}function pe(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function Ye(t){let n=!1,l;const r=e.effectScope(!0);return(...a)=>(n||(l=r.run(()=>t(...a)),n=!0),l)}function Qe(t){let n=0,l,r;const a=()=>{n-=1,r&&n<=0&&(r.stop(),l=void 0,r=void 0)};return(...o)=>(n+=1,l||(r=e.effectScope(!0),l=r.run(()=>t(...o))),pe(a),l)}function G(t){return typeof t=="function"?t():e.unref(t)}const N=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ge=t=>typeof t<"u",Me=Object.prototype.toString,et=t=>Me.call(t)==="[object Object]",tt=()=>{},ve=nt();function nt(){var t,n;return N&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function lt(t){return e.getCurrentInstance()}function rt(t,n){lt()&&e.onBeforeUnmount(t,n)}function L(t){var n;const l=G(t);return(n=l==null?void 0:l.$el)!=null?n:l}const he=N?window:void 0;function ge(...t){let n,l,r,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([l,r,a]=t,n=he):[n,l,r,a]=t,!n)return tt;Array.isArray(l)||(l=[l]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(p=>p()),o.length=0},u=(p,d,v,s)=>(p.addEventListener(d,v,s),()=>p.removeEventListener(d,v,s)),c=e.watch(()=>[L(n),G(a)],([p,d])=>{if(i(),!p)return;const v=et(d)?{...d}:d;o.push(...l.flatMap(s=>r.map(m=>u(p,s,m,v))))},{immediate:!0,flush:"post"}),f=()=>{c(),i()};return pe(f),f}function at(t){return typeof t=="function"?t:typeof t=="string"?n=>n.key===t:Array.isArray(t)?n=>t.includes(n.key):()=>!0}function ot(...t){let n,l,r={};t.length===3?(n=t[0],l=t[1],r=t[2]):t.length===2?typeof t[1]=="object"?(n=!0,l=t[0],r=t[1]):(n=t[0],l=t[1]):(n=!0,l=t[0]);const{target:a=he,eventName:o="keydown",passive:i=!1,dedupe:u=!1}=r,c=at(n);return ge(a,o,f=>{f.repeat&&G(u)||c(f)&&l(f)},i)}function it(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function st(t){return JSON.parse(JSON.stringify(t))}function ut(t,n,l,r={}){var a,o,i;const{clone:u=!1,passive:c=!1,eventName:f,deep:p=!1,defaultValue:d,shouldEmit:v}=r,s=e.getCurrentInstance(),m=l||(s==null?void 0:s.emit)||((a=s==null?void 0:s.$emit)==null?void 0:a.bind(s))||((i=(o=s==null?void 0:s.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(s==null?void 0:s.proxy));let h=f;h=h||`update:${n.toString()}`;const g=b=>u?typeof u=="function"?u(b):st(b):b,w=()=>Ge(t[n])?g(t[n]):d,j=b=>{v?v(b)&&m(h,b):m(h,b)};if(c){const b=w(),X=e.ref(b);let H=!1;return e.watch(()=>t[n],Z=>{H||(H=!0,X.value=g(Z),e.nextTick(()=>H=!1))}),e.watch(X,Z=>{!H&&(Z!==t[n]||p)&&j(Z)},{deep:p}),X}else return e.computed({get(){return w()},set(b){j(b)}})}function M(t){return t?t.flatMap(n=>n.type===e.Fragment?M(n.children):[n]):[]}function ee(t){if(t===null||typeof t!="object")return!1;const n=Object.getPrototypeOf(t);return n!==null&&n!==Object.prototype&&Object.getPrototypeOf(n)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function te(t,n,l=".",r){if(!ee(n))return te(t,{},l);const a=Object.assign({},n);for(const o in t){if(o==="__proto__"||o==="constructor")continue;const i=t[o];i!=null&&(Array.isArray(i)&&Array.isArray(a[o])?a[o]=[...i,...a[o]]:ee(i)&&ee(a[o])?a[o]=te(i,a[o],(l?`${l}.`:"")+o.toString()):a[o]=i)}return a}function dt(t){return(...n)=>n.reduce((l,r)=>te(l,r,""),{})}const ct=dt(),[ye,mn]=Q("ConfigProvider");let ft="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",mt=(t=21)=>{let n="",l=t;for(;l--;)n+=ft[Math.random()*64|0];return n};const pt=Qe(()=>{const t=e.ref(new Map),n=e.ref(),l=e.computed(()=>{for(const i of t.value.values())if(i)return!0;return!1}),r=ye({scrollBody:e.ref(!0)});let a=null;const o=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=n.value??"",ve&&(a==null||a()),n.value=void 0};return e.watch(l,(i,u)=>{var c;if(!N)return;if(!i){u&&o();return}n.value===void 0&&(n.value=document.body.style.overflow);const f=window.innerWidth-document.documentElement.clientWidth,p={padding:f,margin:0},d=(c=r.scrollBody)!=null&&c.value?typeof r.scrollBody.value=="object"?ct({padding:r.scrollBody.value.padding===!0?f:r.scrollBody.value.padding,margin:r.scrollBody.value.margin===!0?f:r.scrollBody.value.margin},p):p:{padding:0,margin:0};f>0&&(document.body.style.paddingRight=typeof d.padding=="number"?`${d.padding}px`:String(d.padding),document.body.style.marginRight=typeof d.margin=="number"?`${d.margin}px`:String(d.margin),document.body.style.setProperty("--scrollbar-width",`${f}px`),document.body.style.overflow="hidden"),ve&&(a=ge(document,"touchmove",v=>ht(v),{passive:!1})),e.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),t});function vt(t){const n=mt(6),l=pt();l.value.set(n,t);const r=e.computed({get:()=>l.value.get(n)??!1,set:a=>l.value.set(n,a)});return rt(()=>{l.value.delete(n)}),r}function xe(t){const n=window.getComputedStyle(t);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&t.clientWidth1?!0:(n.preventDefault&&n.cancelable&&n.preventDefault(),!1)}function ne(t){const n=e.getCurrentInstance(),l=n==null?void 0:n.type.emits,r={};return l!=null&&l.length||console.warn(`No emitted event found. Please check component: ${n==null?void 0:n.type.__name}`),l==null||l.forEach(a=>{r[e.toHandlerKey(e.camelize(a))]=(...o)=>t(a,...o)}),r}function O(){const t=e.getCurrentInstance(),n=e.ref(),l=e.computed(()=>{var i,u;return["#text","#comment"].includes((i=n.value)==null?void 0:i.$el.nodeName)?(u=n.value)==null?void 0:u.$el.nextElementSibling:L(n)}),r=Object.assign({},t.exposed),a={};for(const i in t.props)Object.defineProperty(a,i,{enumerable:!0,configurable:!0,get:()=>t.props[i]});if(Object.keys(r).length>0)for(const i in r)Object.defineProperty(a,i,{enumerable:!0,configurable:!0,get:()=>r[i]});Object.defineProperty(a,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=a;function o(i){n.value=i,!(i instanceof Element||!i)&&(Object.defineProperty(a,"$el",{enumerable:!0,configurable:!0,get:()=>i.$el}),t.exposed=a)}return{forwardRef:o,currentRef:n,currentElement:l}}var gt=function(t){if(typeof document>"u")return null;var n=Array.isArray(t)?t[0]:t;return n.ownerDocument.body},P=new WeakMap,q=new WeakMap,z={},le=0,we=function(t){return t&&(t.host||we(t.parentNode))},yt=function(t,n){return n.map(function(l){if(t.contains(l))return l;var r=we(l);return r&&t.contains(r)?r:(console.error("aria-hidden",l,"in not contained inside",t,". Doing nothing"),null)}).filter(function(l){return!!l})},xt=function(t,n,l,r){var a=yt(n,Array.isArray(t)?t:[t]);z[l]||(z[l]=new WeakMap);var o=z[l],i=[],u=new Set,c=new Set(a),f=function(d){!d||u.has(d)||(u.add(d),f(d.parentNode))};a.forEach(f);var p=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(v){if(u.has(v))p(v);else try{var s=v.getAttribute(r),m=s!==null&&s!=="false",h=(P.get(v)||0)+1,g=(o.get(v)||0)+1;P.set(v,h),o.set(v,g),i.push(v),h===1&&m&&q.set(v,!0),g===1&&v.setAttribute(l,"true"),m||v.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",v,w)}})};return p(n),u.clear(),le++,function(){i.forEach(function(d){var v=P.get(d)-1,s=o.get(d)-1;P.set(d,v),o.set(d,s),v||(q.has(d)||d.removeAttribute(r),q.delete(d)),s||d.removeAttribute(l)}),le--,le||(P=new WeakMap,P=new WeakMap,q=new WeakMap,z={})}},wt=function(t,n,l){l===void 0&&(l="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),a=gt(t);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live]"))),xt(r,a,l,"aria-hidden")):function(){return null}};function Ct(t){let n;e.watch(()=>L(t),l=>{l?n=wt(l):n&&n()}),e.onUnmounted(()=>{n&&n()})}let bt=0;function Ce(t,n="radix"){const l=ye({useId:void 0});return ie.useId?`${n}-${ie.useId()}`:l.useId?`${n}-${l.useId()}`:`${n}-${++bt}`}function Et(t,n){const l=e.ref(t);function r(a){return n[l.value][a]??l.value}return{state:l,dispatch:a=>{l.value=r(a)}}}const re=e.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:n,slots:l}){return()=>{var r,a;if(!l.default)return null;const o=M(l.default()),i=o.findIndex(p=>p.type!==e.Comment);if(i===-1)return o;const u=o[i];(r=u.props)==null||delete r.ref;const c=u.props?e.mergeProps(n,u.props):n;n.class&&(a=u.props)!=null&&a.class&&delete u.props.class;const f=e.cloneVNode(u,c);for(const p in c)p.startsWith("on")&&(f.props||(f.props={}),f.props[p]=c[p]);return o.length===1?f:(o[i]=f,o)}}}),I=e.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:n,slots:l}){const r=t.asChild?"template":t.as;return typeof r=="string"&&["area","img","input"].includes(r)?()=>e.h(r,n):r!=="template"?()=>e.h(t.as,n,{default:l.default}):()=>e.h(re,n,{default:l.default})}});function be(){const t=e.ref(),n=e.computed(()=>{var l,r;return["#text","#comment"].includes((l=t.value)==null?void 0:l.$el.nodeName)?(r=t.value)==null?void 0:r.$el.nextElementSibling:L(t)});return{primitiveElement:t,currentElement:n}}function Ot(t,n){const l=e.ref({}),r=e.ref("none"),a=t.value?"mounted":"unmounted",{state:o,dispatch:i}=Et(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),u=v=>{var s;if(N){const m=new CustomEvent(v,{bubbles:!1,cancelable:!1});(s=n.value)==null||s.dispatchEvent(m)}};e.watch(t,async(v,s)=>{var m;const h=s!==v;if(await e.nextTick(),h){const g=r.value,w=K(n.value);v?(i("MOUNT"),u("enter"),w==="none"&&u("after-enter")):w==="none"||((m=l.value)==null?void 0:m.display)==="none"?(i("UNMOUNT"),u("leave"),u("after-leave")):s&&g!==w?(i("ANIMATION_OUT"),u("leave")):(i("UNMOUNT"),u("after-leave"))}},{immediate:!0});const c=v=>{const s=K(n.value),m=s.includes(v.animationName),h=o.value==="mounted"?"enter":"leave";v.target===n.value&&m&&(u(`after-${h}`),i("ANIMATION_END")),v.target===n.value&&s==="none"&&i("ANIMATION_END")},f=v=>{v.target===n.value&&(r.value=K(n.value))},p=e.watch(n,(v,s)=>{v?(l.value=getComputedStyle(v),v.addEventListener("animationstart",f),v.addEventListener("animationcancel",c),v.addEventListener("animationend",c)):(i("ANIMATION_END"),s==null||s.removeEventListener("animationstart",f),s==null||s.removeEventListener("animationcancel",c),s==null||s.removeEventListener("animationend",c))},{immediate:!0}),d=e.watch(o,()=>{const v=K(n.value);r.value=o.value==="mounted"?v:"none"});return e.onUnmounted(()=>{p(),d()}),{isPresent:e.computed(()=>["mounted","unmountSuspended"].includes(o.value))}}function K(t){return t&&getComputedStyle(t).animationName||"none"}const Ee=e.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:n,expose:l}){var r;const{present:a,forceMount:o}=e.toRefs(t),i=e.ref(),{isPresent:u}=Ot(a,i);l({present:u});let c=n.default({present:u});c=M(c||[]);const f=e.getCurrentInstance();if(c&&(c==null?void 0:c.length)>1){const p=(r=f==null?void 0:f.parent)!=null&&r.type.name?`<${f.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${p}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(d=>` - ${d}`).join(` +(function(x,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@inertiajs/vue3"),require("@inertiajs/core"),require("axios")):typeof define=="function"&&define.amd?define(["exports","vue","@inertiajs/vue3","@inertiajs/core","axios"],e):(x=typeof globalThis<"u"?globalThis:x||self,e(x.InertiaUIModal={},x.Mo,x.vue3,x.core,x.Axios))})(this,function(x,e,E,Le,U){"use strict";var cn=Object.defineProperty;var fn=(x,e,E)=>e in x?cn(x,e,{enumerable:!0,configurable:!0,writable:!0,value:E}):x[e]=E;var b=(x,e,E)=>fn(x,typeof e!="symbol"?e+"":e,E);function je(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const l in t)if(l!=="default"){const a=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(n,l,a.get?a:{enumerable:!0,get:()=>t[l]})}}return n.default=t,Object.freeze(n)}const se=je(e),L={type:"modal",navigate:!1,modal:{closeButton:!0,closeExplicitly:!1,maxWidth:"2xl",paddingClasses:"p-4 sm:p-6",panelClasses:"bg-white rounded",position:"center"},slideover:{closeButton:!0,closeExplicitly:!1,maxWidth:"md",paddingClasses:"p-4 sm:p-6",panelClasses:"bg-white min-h-screen",position:"right"}};class Fe{constructor(){this.config={},this.reset()}reset(){this.config=JSON.parse(JSON.stringify(L))}put(n,l){if(typeof n=="object"){this.config={type:n.type??L.type,navigate:n.navigate??L.navigate,modal:{...L.modal,...n.modal??{}},slideover:{...L.slideover,...n.slideover??{}}};return}const a=n.split(".");let r=this.config;for(let o=0;o"u")return this.config;const l=n.split(".");let a=this.config;for(const r of l){if(a[r]===void 0)return null;a=a[r]}return a}}const R=new Fe,We=()=>R.reset(),Ue=(t,n)=>R.put(t,n),V=t=>R.get(t),D=(t,n)=>R.get(t?`slideover.${n}`:`modal.${n}`);function Re(t,n){return Array.isArray(t)?t.filter(l=>!n.includes(l)):Object.keys(t).reduce((l,a)=>(n.includes(a)||(l[a]=t[a]),l),{})}function ue(t,n){return Array.isArray(t)?t.filter(l=>n.includes(l)):n.reduce((l,a)=>(a in t&&(l[a]=t[a]),l),{})}function Ve(t){return Array.isArray(t)?t.filter(n=>n!==null):Object.keys(t).reduce((n,l)=>(l in t&&t[l]!==null&&(n[l]=t[l]),n),{})}function _e(t,n=3,l=10){return new Promise((a,r)=>{const o=t();if(o){a(o);return}let i=n*1e3/l;const s=setInterval(()=>{const c=t();c&&(clearInterval(s),a(c)),--i<=0&&(clearInterval(s),r(new Error("Condition not met in time")))},l)})}function _(t){return t?(t=t.replace(/_/g,"-"),t=t.replace(/-+/g,"-"),/[A-Z]/.test(t)?(t=t.replace(/\s+/g,"").replace(/_/g,"").replace(/(?:^|\s|-)+([A-Za-z])/g,(n,l)=>l.toUpperCase()),t=t.replace(/(.)(?=[A-Z])/g,"$1-"),t.toLowerCase()):t):""}const de={__name:"ModalRenderer",props:{index:{type:Number,required:!0}},setup(t){const n=t,l=F(),a=e.computed(()=>l.stack.value[n.index]);return e.provide("modalContext",a),(r,o)=>{var i;return(i=a.value)!=null&&i.component?(e.openBlock(),e.createBlock(e.unref(a).component,e.mergeProps({key:0},a.value.props,{onModalEvent:o[0]||(o[0]=(s,...c)=>a.value.emit(s,...c))}),null,16)):e.createCommentVNode("",!0)}}},ce={__name:"ModalRoot",setup(t){const n=F(),l=e.ref(!1),a=e.ref(null);e.onUnmounted(E.router.on("start",()=>l.value=!0)),e.onUnmounted(E.router.on("finish",()=>l.value=!1)),e.onUnmounted(E.router.on("navigate",i=>{const s=i.detail.page.props._inertiaui_modal;if(!s){a.value&&n.closeAll();return}a.value=s,n.setBaseUrl(s.baseUrl),n.pushFromResponseData(s,{},()=>{if(!s.baseUrl){console.error("No base url in modal response data so cannot navigate back");return}!l.value&&window.location.href!==s.baseUrl&&E.router.visit(s.baseUrl,{preserveScroll:!0,preserveState:!0})})}));const r=i=>(n.stack.value.length&&(i.headers["X-InertiaUI-Modal-Base-Url"]=n.getBaseUrl()),i);e.onBeforeMount(()=>{U.interceptors.request.use(r)}),e.onUnmounted(()=>{U.interceptors.request.eject(r)});const o=E.usePage();return e.watch(()=>{var i;return(i=o.props)==null?void 0:i._inertiaui_modal},(i,s)=>{var c;i&&s&&i.component===s.component&&i.url===s.url&&((c=n.stack.value[0])==null||c.updateProps(i.props??{}))}),(i,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(i.$slots,"default"),e.unref(n).stack.value.length?(e.openBlock(),e.createBlock(de,{key:0,index:0})):e.createCommentVNode("",!0)],64))}};let q=null;const j=e.ref(null),w=e.ref([]),z=e.ref({}),qe=t=>{q=t},ze=t=>{t.resolveComponent&&(q=t.resolveComponent)};class Y{constructor(n,l,a,r,o){b(this,"update",(n,l,a)=>{const r=this.index.value;r>-1&&(w.value[r].config=n,w.value[r].onCloseCallback=l,w.value[r].afterLeaveCallback=a)});b(this,"getParentModal",()=>{const n=this.index.value;return n<1?null:w.value.slice(0,n).reverse().find(l=>l.isOpen)});b(this,"getChildModal",()=>{const n=this.index.value;return n===w.value.length-1?null:w.value.slice(n+1).find(l=>l.isOpen)});b(this,"show",()=>{const n=this.index.value;if(n>-1){if(w.value[n].isOpen)return;w.value[n].isOpen=!0,w.value[n].shouldRender=!0}});b(this,"close",()=>{var l;const n=this.index.value;if(n>-1){if(!w.value[n].isOpen)return;Object.keys(this.listeners).forEach(a=>{this.off(a)}),w.value[n].isOpen=!1,(l=this.onCloseCallback)==null||l.call(this),this.onCloseCallback=null}});b(this,"setOpen",n=>{n?this.show():this.close()});b(this,"afterLeave",()=>{var l;const n=this.index.value;if(n>-1){if(w.value[n].isOpen)return;w.value[n].shouldRender=!1,(l=this.afterLeaveCallback)==null||l.call(this),this.afterLeaveCallback=null}n===0&&(w.value=[])});b(this,"on",(n,l)=>{n=_(n),this.listeners[n]=this.listeners[n]??[],this.listeners[n].push(l)});b(this,"off",(n,l)=>{var a;n=_(n),l?this.listeners[n]=((a=this.listeners[n])==null?void 0:a.filter(r=>r!==l))??[]:delete this.listeners[n]});b(this,"emit",(n,...l)=>{var a;(a=this.listeners[_(n)])==null||a.forEach(r=>r(...l))});b(this,"registerEventListenersFromAttrs",n=>{const l=[];return Object.keys(n).filter(a=>a.startsWith("on")).forEach(a=>{const r=_(a).replace(/^on-/,"");this.on(r,n[a]),l.push(()=>this.off(r,n[a]))}),()=>l.forEach(a=>a())});b(this,"reload",(n={})=>{var a;let l=Object.keys(this.response.props);n.only&&(l=ue(l,n.only)),n.except&&(l=Re(l,n.except)),(a=this.response)!=null&&a.url&&U.get(this.response.url,{headers:{Accept:"text/html, application/xhtml+xml","X-Inertia":!0,"X-Inertia-Partial-Component":this.response.component,"X-Inertia-Version":this.response.version,"X-Inertia-Partial-Data":l.join(","),"X-InertiaUI-Modal":!0,"X-InertiaUI-Modal-Use-Router":0,"X-InertiaUI-Modal-Base-Url":j.value}}).then(r=>{this.updateProps(r.data.props)})});b(this,"updateProps",n=>{Object.assign(this.props.value,n)});this.id=Y.generateId(),this.isOpen=!1,this.shouldRender=!1,this.listeners={},this.component=n,this.props=e.ref(l.props),this.response=l,this.config=a,this.onCloseCallback=r,this.afterLeaveCallback=o,this.index=e.computed(()=>w.value.findIndex(i=>i.id===this.id)),this.onTopOfStack=e.computed(()=>{var s;return w.value.length<2?!0:((s=w.value.map(c=>({id:c.id,shouldRender:c.shouldRender})).reverse().find(c=>c.shouldRender))==null?void 0:s.id)===this.id})}static generateId(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?`inertiaui_modal_${crypto.randomUUID()}`:`inertiaui_modal_${Date.now().toString(36)}_${Math.random().toString(36).substr(2,9)}`}}function Ke(t,n){z.value[t]={name:t,callback:n}}function Xe(t,n,l,a){if(!z.value[t])throw new Error(`The local modal "${t}" has not been registered.`);const r=G(null,{},n,l,a);return r.name=t,z.value[t].callback(r),r}function fe(t,n={},l=null,a=null){return q(t.component).then(r=>G(e.markRaw(r),t,n,l,a))}function He(t,n,l={},a={},r={},o=null,i=null,s="brackets",c=!1){return new Promise((f,m)=>{if(t.startsWith("#")){f(Xe(t.substring(1),r,o,i));return}const[d,v]=Le.mergeDataIntoQueryString(n,t||"",l,s);let u=c&&w.value.length===0;if(w.value.length===0&&(j.value=typeof window<"u"?window.location.href:""),a={...a,Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0,"X-Inertia-Version":E.usePage().version,"X-InertiaUI-Modal":!0,"X-InertiaUI-Modal-Use-Router":u?1:0,"X-InertiaUI-Modal-Base-Url":j.value},u)return E.router.visit(d,{method:n,data:v,headers:a,preserveScroll:!0,preserveState:!0,onError:m,onFinish:()=>_e(()=>w.value[0]).then(p=>{const h=p.onCloseCallback,g=p.afterLeaveCallback;p.update(r,()=>{o==null||o(),h==null||h()},()=>{i==null||i(),g==null||g()}),f(p)})});U({url:d,method:n,data:v,headers:a}).then(p=>f(fe(p.data,r,o,i))).catch(m)})}function G(t,n,l,a,r){const o=new Y(t,n,l,a,r);return w.value.push(o),e.nextTick(()=>{o.show()}),o}const Je=["closeButton","closeExplicitly","maxWidth","paddingClasses","panelClasses","position","slideover"],Ye=(t,n)=>(n.resolveComponent&&(q=n.resolveComponent),()=>e.h(ce,()=>e.h(t,n)));function F(){return{setComponentResolver:qe,getBaseUrl:()=>j.value,setBaseUrl:t=>j.value=t,stack:e.readonly(w),push:G,pushFromResponseData:fe,closeAll:()=>[...w.value].reverse().forEach(t=>t.close()),reset:()=>w.value=[],visit:He,registerLocalModal:Ke,removeLocalModal:t=>delete z.value[t]}}const me=Object.assign({inheritAttrs:!1},{__name:"HeadlessModal",props:{name:{type:String,required:!1},slideover:{type:Boolean,default:null},closeButton:{type:Boolean,default:null},closeExplicitly:{type:Boolean,default:null},maxWidth:{type:String,default:null},paddingClasses:{type:[Boolean,String],default:null},panelClasses:{type:[Boolean,String],default:null},position:{type:String,default:null}},emits:["modal-event"],setup(t,{expose:n,emit:l}){const a=t,r=F(),o=a.name?e.ref({}):e.inject("modalContext"),i=e.computed(()=>{var p;const u=((p=o.value.config)==null?void 0:p.slideover)??a.slideover??V("type")==="slideover";return{slideover:u,closeButton:a.closeButton??D(u,"closeButton"),closeExplicitly:a.closeExplicitly??D(u,"closeExplicitly"),maxWidth:a.maxWidth??D(u,"maxWidth"),paddingClasses:a.paddingClasses??D(u,"paddingClasses"),panelClasses:a.panelClasses??D(u,"panelClasses"),position:a.position??D(u,"position"),...o.value.config}});a.name&&(r.registerLocalModal(a.name,function(u){o.value=u,f()}),e.onBeforeUnmount(()=>{r.removeLocalModal(a.name)})),e.onMounted(()=>{a.name||f()});const s=e.ref(null);e.onBeforeUnmount(()=>{var u;return(u=s.value)==null?void 0:u.call(s)});const c=e.useAttrs();function f(){s.value=o.value.registerEventListenersFromAttrs(c)}const m=l;function d(u,...p){m("modal-event",u,...p)}n({emit:d,afterLeave:()=>{var u;return(u=o.value)==null?void 0:u.afterLeave()},close:()=>{var u;return(u=o.value)==null?void 0:u.close()},reload:(...u)=>{var p;return(p=o.value)==null?void 0:p.reload(...u)},setOpen:(...u)=>{var p;return(p=o.value)==null?void 0:p.setOpen(...u)},getChildModal:()=>{var u;return(u=o.value)==null?void 0:u.getChildModal()},getParentModal:()=>{var u;return(u=o.value)==null?void 0:u.getParentModal()},get config(){var u;return(u=o.value)==null?void 0:u.config},get id(){var u;return(u=o.value)==null?void 0:u.id},get index(){var u;return(u=o.value)==null?void 0:u.index},get isOpen(){var u;return(u=o.value)==null?void 0:u.isOpen},get modalContext(){var u;return(u=o.value)==null?void 0:u.modalContext},get onTopOfStack(){var u;return(u=o.value)==null?void 0:u.onTopOfStack},get shouldRender(){var u;return(u=o.value)==null?void 0:u.shouldRender}});const v=e.computed(()=>{var u;return(u=r.stack.value.find(p=>p.shouldRender&&p.index>o.value.index))==null?void 0:u.index});return(u,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(o).shouldRender?e.renderSlot(u.$slots,"default",{key:0,id:e.unref(o).id,afterLeave:e.unref(o).afterLeave,close:e.unref(o).close,config:i.value,emit:d,getChildModal:e.unref(o).getChildModal,getParentModal:e.unref(o).getParentModal,index:e.unref(o).index,isOpen:e.unref(o).isOpen,modalContext:e.unref(o),onTopOfStack:e.unref(o).onTopOfStack,reload:e.unref(o).reload,setOpen:e.unref(o).setOpen,shouldRender:e.unref(o).shouldRender}):e.createCommentVNode("",!0),v.value?(e.openBlock(),e.createBlock(de,{key:1,index:v.value},null,8,["index"])):e.createCommentVNode("",!0)],64))}});function Z(t,n){const l=typeof t=="string"&&!n?`${t}Context`:n,a=Symbol(l);return[r=>{const o=e.inject(a,r);if(o||o===null)return o;throw new Error(`Injection \`${a.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},r=>(e.provide(a,r),r)]}function pe(t,n,l){const a=l.originalEvent.target,r=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:l});n&&a.addEventListener(t,n,{once:!0}),a.dispatchEvent(r)}function ve(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function Ge(t){let n=!1,l;const a=e.effectScope(!0);return(...r)=>(n||(l=a.run(()=>t(...r)),n=!0),l)}function Ze(t){let n=0,l,a;const r=()=>{n-=1,a&&n<=0&&(a.stop(),l=void 0,a=void 0)};return(...o)=>(n+=1,l||(a=e.effectScope(!0),l=a.run(()=>t(...o))),ve(r),l)}function Q(t){return typeof t=="function"?t():e.unref(t)}const I=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Qe=t=>typeof t<"u",Me=Object.prototype.toString,et=t=>Me.call(t)==="[object Object]",tt=()=>{},he=nt();function nt(){var t,n;return I&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function lt(t){return e.getCurrentInstance()}function at(t,n){lt()&&e.onBeforeUnmount(t,n)}function W(t){var n;const l=Q(t);return(n=l==null?void 0:l.$el)!=null?n:l}const M=I?window:void 0;function ge(...t){let n,l,a,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([l,a,r]=t,n=M):[n,l,a,r]=t,!n)return tt;Array.isArray(l)||(l=[l]),Array.isArray(a)||(a=[a]);const o=[],i=()=>{o.forEach(m=>m()),o.length=0},s=(m,d,v,u)=>(m.addEventListener(d,v,u),()=>m.removeEventListener(d,v,u)),c=e.watch(()=>[W(n),Q(r)],([m,d])=>{if(i(),!m)return;const v=et(d)?{...d}:d;o.push(...l.flatMap(u=>a.map(p=>s(m,u,p,v))))},{immediate:!0,flush:"post"}),f=()=>{c(),i()};return ve(f),f}function rt(t){return typeof t=="function"?t:typeof t=="string"?n=>n.key===t:Array.isArray(t)?n=>t.includes(n.key):()=>!0}function ot(...t){let n,l,a={};t.length===3?(n=t[0],l=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(n=!0,l=t[0],a=t[1]):(n=t[0],l=t[1]):(n=!0,l=t[0]);const{target:r=M,eventName:o="keydown",passive:i=!1,dedupe:s=!1}=a,c=rt(n);return ge(r,o,f=>{f.repeat&&Q(s)||c(f)&&l(f)},i)}function it(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function st(t){return JSON.parse(JSON.stringify(t))}function ut(t,n,l,a={}){var r,o,i;const{clone:s=!1,passive:c=!1,eventName:f,deep:m=!1,defaultValue:d,shouldEmit:v}=a,u=e.getCurrentInstance(),p=l||(u==null?void 0:u.emit)||((r=u==null?void 0:u.$emit)==null?void 0:r.bind(u))||((i=(o=u==null?void 0:u.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(u==null?void 0:u.proxy));let h=f;h=h||`update:${n.toString()}`;const g=C=>s?typeof s=="function"?s(C):st(C):C,y=()=>Qe(t[n])?g(t[n]):d,B=C=>{v?v(C)&&p(h,C):p(h,C)};if(c){const C=y(),P=e.ref(C);let k=!1;return e.watch(()=>t[n],J=>{k||(k=!0,P.value=g(J),e.nextTick(()=>k=!1))}),e.watch(P,J=>{!k&&(J!==t[n]||m)&&B(J)},{deep:m}),P}else return e.computed({get(){return y()},set(C){B(C)}})}function ee(t){return t?t.flatMap(n=>n.type===e.Fragment?ee(n.children):[n]):[]}function te(t){if(t===null||typeof t!="object")return!1;const n=Object.getPrototypeOf(t);return n!==null&&n!==Object.prototype&&Object.getPrototypeOf(n)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function ne(t,n,l=".",a){if(!te(n))return ne(t,{},l);const r=Object.assign({},n);for(const o in t){if(o==="__proto__"||o==="constructor")continue;const i=t[o];i!=null&&(Array.isArray(i)&&Array.isArray(r[o])?r[o]=[...i,...r[o]]:te(i)&&te(r[o])?r[o]=ne(i,r[o],(l?`${l}.`:"")+o.toString()):r[o]=i)}return r}function dt(t){return(...n)=>n.reduce((l,a)=>ne(l,a,""),{})}const ct=dt(),[ye,mn]=Z("ConfigProvider");let ft="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",mt=(t=21)=>{let n="",l=t;for(;l--;)n+=ft[Math.random()*64|0];return n};const pt=Ze(()=>{const t=e.ref(new Map),n=e.ref(),l=e.computed(()=>{for(const i of t.value.values())if(i)return!0;return!1}),a=ye({scrollBody:e.ref(!0)});let r=null;const o=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=n.value??"",he&&(r==null||r()),n.value=void 0};return e.watch(l,(i,s)=>{var c;if(!I)return;if(!i){s&&o();return}n.value===void 0&&(n.value=document.body.style.overflow);const f=window.innerWidth-document.documentElement.clientWidth,m={padding:f,margin:0},d=(c=a.scrollBody)!=null&&c.value?typeof a.scrollBody.value=="object"?ct({padding:a.scrollBody.value.padding===!0?f:a.scrollBody.value.padding,margin:a.scrollBody.value.margin===!0?f:a.scrollBody.value.margin},m):m:{padding:0,margin:0};f>0&&(document.body.style.paddingRight=typeof d.padding=="number"?`${d.padding}px`:String(d.padding),document.body.style.marginRight=typeof d.margin=="number"?`${d.margin}px`:String(d.margin),document.body.style.setProperty("--scrollbar-width",`${f}px`),document.body.style.overflow="hidden"),he&&(r=ge(document,"touchmove",v=>ht(v),{passive:!1})),e.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),t});function vt(t){const n=mt(6),l=pt();l.value.set(n,t);const a=e.computed({get:()=>l.value.get(n)??!1,set:r=>l.value.set(n,r)});return at(()=>{l.value.delete(n)}),a}function xe(t){const n=window.getComputedStyle(t);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&t.clientWidth1?!0:(n.preventDefault&&n.cancelable&&n.preventDefault(),!1)}function le(t){const n=e.getCurrentInstance(),l=n==null?void 0:n.type.emits,a={};return l!=null&&l.length||console.warn(`No emitted event found. Please check component: ${n==null?void 0:n.type.__name}`),l==null||l.forEach(r=>{a[e.toHandlerKey(e.camelize(r))]=(...o)=>t(r,...o)}),a}function O(){const t=e.getCurrentInstance(),n=e.ref(),l=e.computed(()=>{var i,s;return["#text","#comment"].includes((i=n.value)==null?void 0:i.$el.nodeName)?(s=n.value)==null?void 0:s.$el.nextElementSibling:W(n)}),a=Object.assign({},t.exposed),r={};for(const i in t.props)Object.defineProperty(r,i,{enumerable:!0,configurable:!0,get:()=>t.props[i]});if(Object.keys(a).length>0)for(const i in a)Object.defineProperty(r,i,{enumerable:!0,configurable:!0,get:()=>a[i]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=r;function o(i){n.value=i,!(i instanceof Element||!i)&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>i.$el}),t.exposed=r)}return{forwardRef:o,currentRef:n,currentElement:l}}var gt=function(t){if(typeof document>"u")return null;var n=Array.isArray(t)?t[0]:t;return n.ownerDocument.body},$=new WeakMap,K=new WeakMap,X={},ae=0,we=function(t){return t&&(t.host||we(t.parentNode))},yt=function(t,n){return n.map(function(l){if(t.contains(l))return l;var a=we(l);return a&&t.contains(a)?a:(console.error("aria-hidden",l,"in not contained inside",t,". Doing nothing"),null)}).filter(function(l){return!!l})},xt=function(t,n,l,a){var r=yt(n,Array.isArray(t)?t:[t]);X[l]||(X[l]=new WeakMap);var o=X[l],i=[],s=new Set,c=new Set(r),f=function(d){!d||s.has(d)||(s.add(d),f(d.parentNode))};r.forEach(f);var m=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(v){if(s.has(v))m(v);else try{var u=v.getAttribute(a),p=u!==null&&u!=="false",h=($.get(v)||0)+1,g=(o.get(v)||0)+1;$.set(v,h),o.set(v,g),i.push(v),h===1&&p&&K.set(v,!0),g===1&&v.setAttribute(l,"true"),p||v.setAttribute(a,"true")}catch(y){console.error("aria-hidden: cannot operate on ",v,y)}})};return m(n),s.clear(),ae++,function(){i.forEach(function(d){var v=$.get(d)-1,u=o.get(d)-1;$.set(d,v),o.set(d,u),v||(K.has(d)||d.removeAttribute(a),K.delete(d)),u||d.removeAttribute(l)}),ae--,ae||($=new WeakMap,$=new WeakMap,K=new WeakMap,X={})}},wt=function(t,n,l){l===void 0&&(l="data-aria-hidden");var a=Array.from(Array.isArray(t)?t:[t]),r=gt(t);return r?(a.push.apply(a,Array.from(r.querySelectorAll("[aria-live]"))),xt(a,r,l,"aria-hidden")):function(){return null}};function Ct(t){let n;e.watch(()=>W(t),l=>{l?n=wt(l):n&&n()}),e.onUnmounted(()=>{n&&n()})}let bt=0;function Ce(t,n="radix"){const l=ye({useId:void 0});return se.useId?`${n}-${se.useId()}`:l.useId?`${n}-${l.useId()}`:`${n}-${++bt}`}function Et(t,n){const l=e.ref(t);function a(r){return n[l.value][r]??l.value}return{state:l,dispatch:r=>{l.value=a(r)}}}const re=e.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:n,slots:l}){return()=>{var a,r;if(!l.default)return null;const o=ee(l.default()),i=o.findIndex(m=>m.type!==e.Comment);if(i===-1)return o;const s=o[i];(a=s.props)==null||delete a.ref;const c=s.props?e.mergeProps(n,s.props):n;n.class&&(r=s.props)!=null&&r.class&&delete s.props.class;const f=e.cloneVNode(s,c);for(const m in c)m.startsWith("on")&&(f.props||(f.props={}),f.props[m]=c[m]);return o.length===1?f:(o[i]=f,o)}}}),T=e.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:n,slots:l}){const a=t.asChild?"template":t.as;return typeof a=="string"&&["area","img","input"].includes(a)?()=>e.h(a,n):a!=="template"?()=>e.h(t.as,n,{default:l.default}):()=>e.h(re,n,{default:l.default})}});function be(){const t=e.ref(),n=e.computed(()=>{var l,a;return["#text","#comment"].includes((l=t.value)==null?void 0:l.$el.nodeName)?(a=t.value)==null?void 0:a.$el.nextElementSibling:W(t)});return{primitiveElement:t,currentElement:n}}function Bt(t,n){var l;const a=e.ref({}),r=e.ref("none"),o=e.ref(t),i=t.value?"mounted":"unmounted";let s;const c=((l=n.value)==null?void 0:l.ownerDocument.defaultView)??M,{state:f,dispatch:m}=Et(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),d=g=>{var y;if(I){const B=new CustomEvent(g,{bubbles:!1,cancelable:!1});(y=n.value)==null||y.dispatchEvent(B)}};e.watch(t,async(g,y)=>{var B;const C=y!==g;if(await e.nextTick(),C){const P=r.value,k=H(n.value);g?(m("MOUNT"),d("enter"),k==="none"&&d("after-enter")):k==="none"||((B=a.value)==null?void 0:B.display)==="none"?(m("UNMOUNT"),d("leave"),d("after-leave")):y&&P!==k?(m("ANIMATION_OUT"),d("leave")):(m("UNMOUNT"),d("after-leave"))}},{immediate:!0});const v=g=>{const y=H(n.value),B=y.includes(g.animationName),C=f.value==="mounted"?"enter":"leave";if(g.target===n.value&&B&&(d(`after-${C}`),m("ANIMATION_END"),!o.value)){const P=n.value.style.animationFillMode;n.value.style.animationFillMode="forwards",s=c==null?void 0:c.setTimeout(()=>{var k;((k=n.value)==null?void 0:k.style.animationFillMode)==="forwards"&&(n.value.style.animationFillMode=P)})}g.target===n.value&&y==="none"&&m("ANIMATION_END")},u=g=>{g.target===n.value&&(r.value=H(n.value))},p=e.watch(n,(g,y)=>{g?(a.value=getComputedStyle(g),g.addEventListener("animationstart",u),g.addEventListener("animationcancel",v),g.addEventListener("animationend",v)):(m("ANIMATION_END"),c==null||c.clearTimeout(s),y==null||y.removeEventListener("animationstart",u),y==null||y.removeEventListener("animationcancel",v),y==null||y.removeEventListener("animationend",v))},{immediate:!0}),h=e.watch(f,()=>{const g=H(n.value);r.value=f.value==="mounted"?g:"none"});return e.onUnmounted(()=>{p(),h()}),{isPresent:e.computed(()=>["mounted","unmountSuspended"].includes(f.value))}}function H(t){return t&&getComputedStyle(t).animationName||"none"}const Ee=e.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:n,expose:l}){var a;const{present:r,forceMount:o}=e.toRefs(t),i=e.ref(),{isPresent:s}=Bt(r,i);l({present:s});let c=n.default({present:s});c=ee(c||[]);const f=e.getCurrentInstance();if(c&&(c==null?void 0:c.length)>1){const m=(a=f==null?void 0:f.parent)!=null&&a.type.name?`<${f.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${m}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(d=>` - ${d}`).join(` `)].join(` -`))}return()=>o.value||a.value||u.value?e.h(n.default({present:u})[0],{ref:p=>{const d=L(p);return typeof(d==null?void 0:d.hasAttribute)>"u"||(d!=null&&d.hasAttribute("data-radix-popper-content-wrapper")?i.value=d.firstElementChild:i.value=d),d}}):null}}),[k,Bt]=Q("DialogRoot"),kt=e.defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(t,{emit:n}){const l=t,r=ut(l,"open",n,{defaultValue:l.defaultOpen,passive:l.open===void 0}),a=e.ref(),o=e.ref(),{modal:i}=e.toRefs(l);return Bt({open:r,modal:i,openModal:()=>{r.value=!0},onOpenChange:u=>{r.value=u},onOpenToggle:()=>{r.value=!r.value},contentId:"",titleId:"",descriptionId:"",triggerElement:a,contentElement:o}),(u,c)=>e.renderSlot(u.$slots,"default",{open:e.unref(r)})}}),St=e.defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=it();return(l,r)=>e.unref(n)||l.forceMount?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:l.to,disabled:l.disabled},[e.renderSlot(l.$slots,"default")],8,["to","disabled"])):e.createCommentVNode("",!0)}}),Nt=e.defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(l,r)=>(e.openBlock(),e.createBlock(e.unref(St),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),At="dismissableLayer.pointerDownOutside",Pt="dismissableLayer.focusOutside";function Oe(t,n){const l=n.closest("[data-dismissable-layer]"),r=t.dataset.dismissableLayer===""?t:t.querySelector("[data-dismissable-layer]"),a=Array.from(t.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(l&&r===l||a.indexOf(r){});return e.watchEffect(i=>{if(!N)return;const u=async f=>{const p=f.target;if(n!=null&&n.value){if(Oe(n.value,p)){a.value=!1;return}if(f.target&&!a.value){let d=function(){me(At,t,v)};const v={originalEvent:f};f.pointerType==="touch"?(r.removeEventListener("click",o.value),o.value=d,r.addEventListener("click",o.value,{once:!0})):d()}else r.removeEventListener("click",o.value);a.value=!1}},c=window.setTimeout(()=>{r.addEventListener("pointerdown",u)},0);i(()=>{window.clearTimeout(c),r.removeEventListener("pointerdown",u),r.removeEventListener("click",o.value)})}),{onPointerDownCapture:()=>a.value=!0}}function Dt(t,n){var l;const r=((l=n==null?void 0:n.value)==null?void 0:l.ownerDocument)??(globalThis==null?void 0:globalThis.document),a=e.ref(!1);return e.watchEffect(o=>{if(!N)return;const i=async u=>{n!=null&&n.value&&(await e.nextTick(),!(!n.value||Oe(n.value,u.target))&&u.target&&!a.value&&me(Pt,t,{originalEvent:u}))};r.addEventListener("focusin",i),o(()=>r.removeEventListener("focusin",i))}),{onFocusCapture:()=>a.value=!0,onBlurCapture:()=>a.value=!1}}const B=e.reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$t=e.defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(t,{emit:n}){const l=t,r=n,{forwardRef:a,currentElement:o}=O(),i=e.computed(()=>{var m;return((m=o.value)==null?void 0:m.ownerDocument)??globalThis.document}),u=e.computed(()=>B.layersRoot),c=e.computed(()=>o.value?Array.from(u.value).indexOf(o.value):-1),f=e.computed(()=>B.layersWithOutsidePointerEventsDisabled.size>0),p=e.computed(()=>{const m=Array.from(u.value),[h]=[...B.layersWithOutsidePointerEventsDisabled].slice(-1),g=m.indexOf(h);return c.value>=g}),d=It(async m=>{const h=[...B.branches].some(g=>g==null?void 0:g.contains(m.target));!p.value||h||(r("pointerDownOutside",m),r("interactOutside",m),await e.nextTick(),m.defaultPrevented||r("dismiss"))},o),v=Dt(m=>{[...B.branches].some(h=>h==null?void 0:h.contains(m.target))||(r("focusOutside",m),r("interactOutside",m),m.defaultPrevented||r("dismiss"))},o);ot("Escape",m=>{c.value===u.value.size-1&&(r("escapeKeyDown",m),m.defaultPrevented||r("dismiss"))});let s;return e.watchEffect(m=>{o.value&&(l.disableOutsidePointerEvents&&(B.layersWithOutsidePointerEventsDisabled.size===0&&(s=i.value.body.style.pointerEvents,i.value.body.style.pointerEvents="none"),B.layersWithOutsidePointerEventsDisabled.add(o.value)),u.value.add(o.value),m(()=>{l.disableOutsidePointerEvents&&B.layersWithOutsidePointerEventsDisabled.size===1&&(i.value.body.style.pointerEvents=s)}))}),e.watchEffect(m=>{m(()=>{o.value&&(u.value.delete(o.value),B.layersWithOutsidePointerEventsDisabled.delete(o.value))})}),(m,h)=>(e.openBlock(),e.createBlock(e.unref(I),{ref:e.unref(a),"as-child":m.asChild,as:m.as,"data-dismissable-layer":"",style:e.normalizeStyle({pointerEvents:f.value?p.value?"auto":"none":void 0}),onFocusCapture:e.unref(v).onFocusCapture,onBlurCapture:e.unref(v).onBlurCapture,onPointerdownCapture:e.unref(d).onPointerDownCapture},{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),ae="focusScope.autoFocusOnMount",oe="focusScope.autoFocusOnUnmount",Be={bubbles:!1,cancelable:!0};function Tt(t,{select:n=!1}={}){const l=document.activeElement;for(const r of t)if(S(r,{select:n}),document.activeElement!==l)return!0}function Lt(t){const n=ke(t),l=Se(n,t),r=Se(n.reverse(),t);return[l,r]}function ke(t){const n=[],l=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;l.nextNode();)n.push(l.currentNode);return n}function Se(t,n){for(const l of t)if(!jt(l,{upTo:n}))return l}function jt(t,{upTo:n}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(n!==void 0&&t===n)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Wt(t){return t instanceof HTMLInputElement&&"select"in t}function S(t,{select:n=!1}={}){if(t&&t.focus){const l=document.activeElement;t.focus({preventScroll:!0}),t!==l&&Wt(t)&&n&&t.select()}}const Ft=Ye(()=>e.ref([]));function Ut(){const t=Ft();return{add(n){const l=t.value[0];n!==l&&(l==null||l.pause()),t.value=Ne(t.value,n),t.value.unshift(n)},remove(n){var l;t.value=Ne(t.value,n),(l=t.value[0])==null||l.resume()}}}function Ne(t,n){const l=[...t],r=l.indexOf(n);return r!==-1&&l.splice(r,1),l}function Rt(t){return t.filter(n=>n.tagName!=="A")}const _t=e.defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(t,{emit:n}){const l=t,r=n,{currentRef:a,currentElement:o}=O(),i=e.ref(null),u=Ut(),c=e.reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});e.watchEffect(p=>{if(!N)return;const d=o.value;if(!l.trapped)return;function v(g){if(c.paused||!d)return;const w=g.target;d.contains(w)?i.value=w:S(i.value,{select:!0})}function s(g){if(c.paused||!d)return;const w=g.relatedTarget;w!==null&&(d.contains(w)||S(i.value,{select:!0}))}function m(g){d.contains(i.value)||S(d)}document.addEventListener("focusin",v),document.addEventListener("focusout",s);const h=new MutationObserver(m);d&&h.observe(d,{childList:!0,subtree:!0}),p(()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",s),h.disconnect()})}),e.watchEffect(async p=>{const d=o.value;if(await e.nextTick(),!d)return;u.add(c);const v=document.activeElement;if(!d.contains(v)){const s=new CustomEvent(ae,Be);d.addEventListener(ae,m=>r("mountAutoFocus",m)),d.dispatchEvent(s),s.defaultPrevented||(Tt(Rt(ke(d)),{select:!0}),document.activeElement===v&&S(d))}p(()=>{d.removeEventListener(ae,h=>r("mountAutoFocus",h));const s=new CustomEvent(oe,Be),m=h=>{r("unmountAutoFocus",h)};d.addEventListener(oe,m),d.dispatchEvent(s),setTimeout(()=>{s.defaultPrevented||S(v??document.body,{select:!0}),d.removeEventListener(oe,m),u.remove(c)},0)})});function f(p){if(!l.loop&&!l.trapped||c.paused)return;const d=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,v=document.activeElement;if(d&&v){const s=p.currentTarget,[m,h]=Lt(s);m&&h?!p.shiftKey&&v===h?(p.preventDefault(),l.loop&&S(m,{select:!0})):p.shiftKey&&v===m&&(p.preventDefault(),l.loop&&S(h,{select:!0})):v===s&&p.preventDefault()}}return(p,d)=>(e.openBlock(),e.createBlock(e.unref(I),{ref_key:"currentRef",ref:a,tabindex:"-1","as-child":p.asChild,as:p.as,onKeydown:f},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},8,["as-child","as"]))}});function Vt(t){return t?"open":"closed"}const qt="DialogTitle",zt="DialogContent";function Kt({titleName:t=qt,contentName:n=zt,componentLink:l="dialog.html#title",titleId:r,descriptionId:a,contentElement:o}){const i=`Warning: \`${n}\` requires a \`${t}\` for the component to be accessible for screen reader users. +`))}return()=>o.value||r.value||s.value?e.h(n.default({present:s})[0],{ref:m=>{const d=W(m);return typeof(d==null?void 0:d.hasAttribute)>"u"||(d!=null&&d.hasAttribute("data-radix-popper-content-wrapper")?i.value=d.firstElementChild:i.value=d),d}}):null}}),[N,Ot]=Z("DialogRoot"),kt=e.defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(t,{emit:n}){const l=t,a=ut(l,"open",n,{defaultValue:l.defaultOpen,passive:l.open===void 0}),r=e.ref(),o=e.ref(),{modal:i}=e.toRefs(l);return Ot({open:a,modal:i,openModal:()=>{a.value=!0},onOpenChange:s=>{a.value=s},onOpenToggle:()=>{a.value=!a.value},contentId:"",titleId:"",descriptionId:"",triggerElement:r,contentElement:o}),(s,c)=>e.renderSlot(s.$slots,"default",{open:e.unref(a)})}}),St=e.defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=it();return(l,a)=>e.unref(n)||l.forceMount?(e.openBlock(),e.createBlock(e.Teleport,{key:0,to:l.to,disabled:l.disabled},[e.renderSlot(l.$slots,"default")],8,["to","disabled"])):e.createCommentVNode("",!0)}}),Nt=e.defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(t){const n=t;return(l,a)=>(e.openBlock(),e.createBlock(e.unref(St),e.normalizeProps(e.guardReactiveProps(n)),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16))}}),At="dismissableLayer.pointerDownOutside",Pt="dismissableLayer.focusOutside";function Be(t,n){const l=n.closest("[data-dismissable-layer]"),a=t.dataset.dismissableLayer===""?t:t.querySelector("[data-dismissable-layer]"),r=Array.from(t.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(l&&a===l||r.indexOf(a){});return e.watchEffect(i=>{if(!I)return;const s=async f=>{const m=f.target;if(n!=null&&n.value){if(Be(n.value,m)){r.value=!1;return}if(f.target&&!r.value){let d=function(){pe(At,t,v)};const v={originalEvent:f};f.pointerType==="touch"?(a.removeEventListener("click",o.value),o.value=d,a.addEventListener("click",o.value,{once:!0})):d()}else a.removeEventListener("click",o.value);r.value=!1}},c=window.setTimeout(()=>{a.addEventListener("pointerdown",s)},0);i(()=>{window.clearTimeout(c),a.removeEventListener("pointerdown",s),a.removeEventListener("click",o.value)})}),{onPointerDownCapture:()=>r.value=!0}}function Dt(t,n){var l;const a=((l=n==null?void 0:n.value)==null?void 0:l.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=e.ref(!1);return e.watchEffect(o=>{if(!I)return;const i=async s=>{n!=null&&n.value&&(await e.nextTick(),!(!n.value||Be(n.value,s.target))&&s.target&&!r.value&&pe(Pt,t,{originalEvent:s}))};a.addEventListener("focusin",i),o(()=>a.removeEventListener("focusin",i))}),{onFocusCapture:()=>r.value=!0,onBlurCapture:()=>r.value=!1}}const S=e.reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$t=e.defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(t,{emit:n}){const l=t,a=n,{forwardRef:r,currentElement:o}=O(),i=e.computed(()=>{var p;return((p=o.value)==null?void 0:p.ownerDocument)??globalThis.document}),s=e.computed(()=>S.layersRoot),c=e.computed(()=>o.value?Array.from(s.value).indexOf(o.value):-1),f=e.computed(()=>S.layersWithOutsidePointerEventsDisabled.size>0),m=e.computed(()=>{const p=Array.from(s.value),[h]=[...S.layersWithOutsidePointerEventsDisabled].slice(-1),g=p.indexOf(h);return c.value>=g}),d=It(async p=>{const h=[...S.branches].some(g=>g==null?void 0:g.contains(p.target));!m.value||h||(a("pointerDownOutside",p),a("interactOutside",p),await e.nextTick(),p.defaultPrevented||a("dismiss"))},o),v=Dt(p=>{[...S.branches].some(h=>h==null?void 0:h.contains(p.target))||(a("focusOutside",p),a("interactOutside",p),p.defaultPrevented||a("dismiss"))},o);ot("Escape",p=>{c.value===s.value.size-1&&(a("escapeKeyDown",p),p.defaultPrevented||a("dismiss"))});let u;return e.watchEffect(p=>{o.value&&(l.disableOutsidePointerEvents&&(S.layersWithOutsidePointerEventsDisabled.size===0&&(u=i.value.body.style.pointerEvents,i.value.body.style.pointerEvents="none"),S.layersWithOutsidePointerEventsDisabled.add(o.value)),s.value.add(o.value),p(()=>{l.disableOutsidePointerEvents&&S.layersWithOutsidePointerEventsDisabled.size===1&&(i.value.body.style.pointerEvents=u)}))}),e.watchEffect(p=>{p(()=>{o.value&&(s.value.delete(o.value),S.layersWithOutsidePointerEventsDisabled.delete(o.value))})}),(p,h)=>(e.openBlock(),e.createBlock(e.unref(T),{ref:e.unref(r),"as-child":p.asChild,as:p.as,"data-dismissable-layer":"",style:e.normalizeStyle({pointerEvents:f.value?m.value?"auto":"none":void 0}),onFocusCapture:e.unref(v).onFocusCapture,onBlurCapture:e.unref(v).onBlurCapture,onPointerdownCapture:e.unref(d).onPointerDownCapture},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),oe="focusScope.autoFocusOnMount",ie="focusScope.autoFocusOnUnmount",Oe={bubbles:!1,cancelable:!0};function Tt(t,{select:n=!1}={}){const l=document.activeElement;for(const a of t)if(A(a,{select:n}),document.activeElement!==l)return!0}function Lt(t){const n=ke(t),l=Se(n,t),a=Se(n.reverse(),t);return[l,a]}function ke(t){const n=[],l=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const r=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||r?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;l.nextNode();)n.push(l.currentNode);return n}function Se(t,n){for(const l of t)if(!jt(l,{upTo:n}))return l}function jt(t,{upTo:n}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(n!==void 0&&t===n)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function Ft(t){return t instanceof HTMLInputElement&&"select"in t}function A(t,{select:n=!1}={}){if(t&&t.focus){const l=document.activeElement;t.focus({preventScroll:!0}),t!==l&&Ft(t)&&n&&t.select()}}const Wt=Ge(()=>e.ref([]));function Ut(){const t=Wt();return{add(n){const l=t.value[0];n!==l&&(l==null||l.pause()),t.value=Ne(t.value,n),t.value.unshift(n)},remove(n){var l;t.value=Ne(t.value,n),(l=t.value[0])==null||l.resume()}}}function Ne(t,n){const l=[...t],a=l.indexOf(n);return a!==-1&&l.splice(a,1),l}function Rt(t){return t.filter(n=>n.tagName!=="A")}const Vt=e.defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(t,{emit:n}){const l=t,a=n,{currentRef:r,currentElement:o}=O(),i=e.ref(null),s=Ut(),c=e.reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});e.watchEffect(m=>{if(!I)return;const d=o.value;if(!l.trapped)return;function v(g){if(c.paused||!d)return;const y=g.target;d.contains(y)?i.value=y:A(i.value,{select:!0})}function u(g){if(c.paused||!d)return;const y=g.relatedTarget;y!==null&&(d.contains(y)||A(i.value,{select:!0}))}function p(g){d.contains(i.value)||A(d)}document.addEventListener("focusin",v),document.addEventListener("focusout",u);const h=new MutationObserver(p);d&&h.observe(d,{childList:!0,subtree:!0}),m(()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",u),h.disconnect()})}),e.watchEffect(async m=>{const d=o.value;if(await e.nextTick(),!d)return;s.add(c);const v=document.activeElement;if(!d.contains(v)){const u=new CustomEvent(oe,Oe);d.addEventListener(oe,p=>a("mountAutoFocus",p)),d.dispatchEvent(u),u.defaultPrevented||(Tt(Rt(ke(d)),{select:!0}),document.activeElement===v&&A(d))}m(()=>{d.removeEventListener(oe,h=>a("mountAutoFocus",h));const u=new CustomEvent(ie,Oe),p=h=>{a("unmountAutoFocus",h)};d.addEventListener(ie,p),d.dispatchEvent(u),setTimeout(()=>{u.defaultPrevented||A(v??document.body,{select:!0}),d.removeEventListener(ie,p),s.remove(c)},0)})});function f(m){if(!l.loop&&!l.trapped||c.paused)return;const d=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,v=document.activeElement;if(d&&v){const u=m.currentTarget,[p,h]=Lt(u);p&&h?!m.shiftKey&&v===h?(m.preventDefault(),l.loop&&A(p,{select:!0})):m.shiftKey&&v===p&&(m.preventDefault(),l.loop&&A(h,{select:!0})):v===u&&m.preventDefault()}}return(m,d)=>(e.openBlock(),e.createBlock(e.unref(T),{ref_key:"currentRef",ref:r,tabindex:"-1","as-child":m.asChild,as:m.as,onKeydown:f},{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default")]),_:3},8,["as-child","as"]))}});function _t(t){return t?"open":"closed"}const qt="DialogTitle",zt="DialogContent";function Kt({titleName:t=qt,contentName:n=zt,componentLink:l="dialog.html#title",titleId:a,descriptionId:r,contentElement:o}){const i=`Warning: \`${n}\` requires a \`${t}\` for the component to be accessible for screen reader users. If you want to hide the \`${t}\`, you can wrap it with our VisuallyHidden component. -For more information, see https://www.radix-vue.com/components/${l}`,u=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${n}.`;e.onMounted(()=>{var c;document.getElementById(r)||console.warn(i);const f=(c=o.value)==null?void 0:c.getAttribute("aria-describedby");a&&f&&(document.getElementById(a)||console.warn(u))})}const Ae=e.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const l=t,r=n,a=k(),{forwardRef:o,currentElement:i}=O();return a.titleId||(a.titleId=Ce(void 0,"radix-vue-dialog-title")),a.descriptionId||(a.descriptionId=Ce(void 0,"radix-vue-dialog-description")),e.onMounted(()=>{a.contentElement=i,document.activeElement!==document.body&&(a.triggerElement.value=document.activeElement)}),process.env.NODE_ENV!=="production"&&Kt({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:a.titleId,descriptionId:a.descriptionId,contentElement:i}),(u,c)=>(e.openBlock(),e.createBlock(e.unref(_t),{"as-child":"",loop:"",trapped:l.trapFocus,onMountAutoFocus:c[5]||(c[5]=f=>r("openAutoFocus",f)),onUnmountAutoFocus:c[6]||(c[6]=f=>r("closeAutoFocus",f))},{default:e.withCtx(()=>[e.createVNode(e.unref($t),e.mergeProps({id:e.unref(a).contentId,ref:e.unref(o),as:u.as,"as-child":u.asChild,"disable-outside-pointer-events":u.disableOutsidePointerEvents,role:"dialog","aria-describedby":e.unref(a).descriptionId,"aria-labelledby":e.unref(a).titleId,"data-state":e.unref(Vt)(e.unref(a).open.value)},u.$attrs,{onDismiss:c[0]||(c[0]=f=>e.unref(a).onOpenChange(!1)),onEscapeKeyDown:c[1]||(c[1]=f=>r("escapeKeyDown",f)),onFocusOutside:c[2]||(c[2]=f=>r("focusOutside",f)),onInteractOutside:c[3]||(c[3]=f=>r("interactOutside",f)),onPointerDownOutside:c[4]||(c[4]=f=>r("pointerDownOutside",f))}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),Xt=e.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const l=t,r=n,a=k(),o=ne(r),{forwardRef:i,currentElement:u}=O();return Ct(u),(c,f)=>(e.openBlock(),e.createBlock(Ae,e.mergeProps({...l,...e.unref(o)},{ref:e.unref(i),"trap-focus":e.unref(a).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:f[0]||(f[0]=p=>{var d;p.defaultPrevented||(p.preventDefault(),(d=e.unref(a).triggerElement.value)==null||d.focus())}),onPointerDownOutside:f[1]||(f[1]=p=>{const d=p.detail.originalEvent,v=d.button===0&&d.ctrlKey===!0;(d.button===2||v)&&p.preventDefault()}),onFocusOutside:f[2]||(f[2]=p=>{p.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16,["trap-focus"]))}}),Ht=e.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const l=t,r=ne(n);O();const a=k(),o=e.ref(!1),i=e.ref(!1);return(u,c)=>(e.openBlock(),e.createBlock(Ae,e.mergeProps({...l,...e.unref(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:c[0]||(c[0]=f=>{var p;f.defaultPrevented||(o.value||(p=e.unref(a).triggerElement.value)==null||p.focus(),f.preventDefault()),o.value=!1,i.value=!1}),onInteractOutside:c[1]||(c[1]=f=>{var p;f.defaultPrevented||(o.value=!0,f.detail.originalEvent.type==="pointerdown"&&(i.value=!0));const d=f.target;(p=e.unref(a).triggerElement.value)!=null&&p.contains(d)&&f.preventDefault(),f.detail.originalEvent.type==="focusin"&&i.value&&f.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16))}}),Pe=e.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const l=t,r=n,a=k(),o=ne(r),{forwardRef:i}=O();return(u,c)=>(e.openBlock(),e.createBlock(e.unref(Ee),{present:u.forceMount||e.unref(a).open.value},{default:e.withCtx(()=>[e.unref(a).modal.value?(e.openBlock(),e.createBlock(Xt,e.mergeProps({key:0,ref:e.unref(i)},{...l,...e.unref(o),...u.$attrs}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(Ht,e.mergeProps({key:1,ref:e.unref(i)},{...l,...e.unref(o),...u.$attrs}),{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Zt=e.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(t){const n=k();return vt(!0),O(),(l,r)=>(e.openBlock(),e.createBlock(e.unref(I),{as:l.as,"as-child":l.asChild,"data-state":e.unref(n).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),Jt=e.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=k(),{forwardRef:l}=O();return(r,a)=>{var o;return(o=e.unref(n))!=null&&o.modal.value?(e.openBlock(),e.createBlock(e.unref(Ee),{key:0,present:r.forceMount||e.unref(n).open.value},{default:e.withCtx(()=>[e.createVNode(Zt,e.mergeProps(r.$attrs,{ref:e.unref(l),as:r.as,"as-child":r.asChild}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):e.createCommentVNode("",!0)}}}),Yt=e.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;O();const l=k();return(r,a)=>(e.openBlock(),e.createBlock(e.unref(I),e.mergeProps(n,{type:r.as==="button"?"button":void 0,onClick:a[0]||(a[0]=o=>e.unref(l).onOpenChange(!1))}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["type"]))}}),Ie=e.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(t){const n=t,l=k();return O(),(r,a)=>(e.openBlock(),e.createBlock(e.unref(I),e.mergeProps(n,{id:e.unref(l).titleId}),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},16,["id"]))}}),De=e.defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){return O(),(n,l)=>(e.openBlock(),e.createBlock(e.unref(I),{as:n.as,"as-child":n.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child"]))}}),[$e,pn]=Q("CollectionProvider");e.defineComponent({name:"CollectionSlot",setup(t,{slots:n}){const l=$e(),{primitiveElement:r,currentElement:a}=be();return e.watch(a,()=>{l.collectionRef.value=a.value}),()=>e.h(re,{ref:r},n)}}),e.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(t,{slots:n,attrs:l}){const r=$e(),{primitiveElement:a,currentElement:o}=be();return e.watchEffect(i=>{if(o.value){const u=e.markRaw(o.value);r.itemMap.value.set(u,{ref:o.value,value:t.value}),i(()=>r.itemMap.value.delete(u))}}),()=>e.h(re,{...l,[r.attrName]:"",ref:a},n)}});function Qt(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}Qt();const Te={__name:"CloseButton",setup(t){return(n,l)=>(e.openBlock(),e.createBlock(e.unref(Yt),{class:"im-close-button text-gray-400 hover:text-gray-500"},{default:e.withCtx(()=>l[0]||(l[0]=[e.createElementVNode("span",{class:"sr-only"},"Close",-1),e.createElementVNode("svg",{class:"size-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)])),_:1}))}},Gt={class:"im-modal-container fixed inset-0 z-40 overflow-y-auto p-4"},Mt={key:0,class:"absolute right-0 top-0 pr-3 pt-3"},en={__name:"ModalContent",props:{modalContext:Object,config:Object},setup(t){return(n,l)=>(e.openBlock(),e.createElementBlock("div",Gt,[e.createElementVNode("div",{class:e.normalizeClass(["im-modal-positioner flex min-h-full justify-center",{"items-start":t.config.position==="top","items-center":t.config.position==="center","items-end":t.config.position==="bottom"}])},[e.createVNode(e.Transition,{appear:"","enter-from-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-from-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",onAfterLeave:t.modalContext.afterLeave},{default:e.withCtx(()=>[e.createVNode(e.unref(Pe),{"aria-describedby":void 0,class:e.normalizeClass({"im-modal-wrapper w-full transition duration-300 ease-in-out":!0,"blur-sm":!t.modalContext.onTopOfStack,"sm:max-w-sm":t.config.maxWidth=="sm","sm:max-w-md":t.config.maxWidth=="md","sm:max-w-md md:max-w-lg":t.config.maxWidth=="lg","sm:max-w-md md:max-w-xl":t.config.maxWidth=="xl","sm:max-w-md md:max-w-xl lg:max-w-2xl":t.config.maxWidth=="2xl","sm:max-w-md md:max-w-xl lg:max-w-3xl":t.config.maxWidth=="3xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-4xl":t.config.maxWidth=="4xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl":t.config.maxWidth=="5xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl 2xl:max-w-6xl":t.config.maxWidth=="6xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl 2xl:max-w-7xl":t.config.maxWidth=="7xl"}),onEscapeKeyDown:l[0]||(l[0]=r=>{var a;return((a=t.config)==null?void 0:a.closeExplicitly)&&r.preventDefault()}),onInteractOutside:l[1]||(l[1]=r=>{var a;return((a=t.config)==null?void 0:a.closeExplicitly)&&r.preventDefault()})},{default:e.withCtx(()=>[e.createVNode(e.unref(De),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(Ie))]),_:1}),e.createElementVNode("div",{class:e.normalizeClass(["im-modal-content relative",[t.config.paddingClasses,t.config.panelClasses]])},[t.config.closeButton?(e.openBlock(),e.createElementBlock("div",Mt,[e.createVNode(Te)])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{modalContext:t.modalContext,config:t.config})],2)]),_:3},8,["class"])]),_:3},8,["onAfterLeave"])],2)]))}},tn={class:"im-slideover-container fixed inset-0 z-40 overflow-y-auto overflow-x-hidden"},nn={key:0,class:"absolute right-0 top-0 pr-3 pt-3"},ln={__name:"SlideoverContent",props:{modalContext:Object,config:Object},setup(t){return(n,l)=>(e.openBlock(),e.createElementBlock("div",tn,[e.createElementVNode("div",{class:e.normalizeClass(["im-slideover-positioner flex min-h-full items-center",{"justify-start rtl:justify-end":t.config.position==="left","justify-end rtl:justify-start":t.config.position==="right"}])},[e.createVNode(e.Transition,{appear:"","enter-from-class":"opacity-0 "+(t.config.position==="left"?"-translate-x-full":"translate-x-full"),"enter-to-class":"opacity-100 translate-x-0","leave-from-class":"opacity-100 translate-x-0","leave-to-class":"opacity-0 "+(t.config.position==="left"?"-translate-x-full":"translate-x-full"),onAfterLeave:t.modalContext.afterLeave},{default:e.withCtx(()=>[e.createVNode(e.unref(Pe),{"aria-describedby":void 0,class:e.normalizeClass({"im-slideover-wrapper w-full transition duration-300 ease-in-out":!0,"blur-sm":!t.modalContext.onTopOfStack,"sm:max-w-sm":t.config.maxWidth=="sm","sm:max-w-md":t.config.maxWidth=="md","sm:max-w-md md:max-w-lg":t.config.maxWidth=="lg","sm:max-w-md md:max-w-xl":t.config.maxWidth=="xl","sm:max-w-md md:max-w-xl lg:max-w-2xl":t.config.maxWidth=="2xl","sm:max-w-md md:max-w-xl lg:max-w-3xl":t.config.maxWidth=="3xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-4xl":t.config.maxWidth=="4xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl":t.config.maxWidth=="5xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl 2xl:max-w-6xl":t.config.maxWidth=="6xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl 2xl:max-w-7xl":t.config.maxWidth=="7xl"}),onEscapeKeyDown:l[0]||(l[0]=r=>{var a;return((a=t.config)==null?void 0:a.closeExplicitly)&&r.preventDefault()}),onInteractOutside:l[1]||(l[1]=r=>{var a;return((a=t.config)==null?void 0:a.closeExplicitly)&&r.preventDefault()})},{default:e.withCtx(()=>[e.createVNode(e.unref(De),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(Ie))]),_:1}),e.createElementVNode("div",{class:e.normalizeClass(["im-slideover-content relative",[t.config.paddingClasses,t.config.panelClasses]])},[t.config.closeButton?(e.openBlock(),e.createElementBlock("div",nn,[e.createVNode(Te)])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{modalContext:t.modalContext,config:t.config})],2)]),_:3},8,["class"])]),_:3},8,["enter-from-class","leave-to-class","onAfterLeave"])],2)]))}},rn=["data-inertiaui-modal-id","data-inertiaui-modal-index"],an={key:1,class:"im-backdrop fixed inset-0 z-30 bg-black/75"},on={__name:"Modal",setup(t,{expose:n}){const l=e.ref(null),r=e.ref(!1);return n({afterLeave:()=>{var a;return(a=l.value)==null?void 0:a.afterLeave()},close:()=>{var a;return(a=l.value)==null?void 0:a.close()},emit:(...a)=>{var o;return(o=l.value)==null?void 0:o.emit(...a)},getChildModal:()=>{var a;return(a=l.value)==null?void 0:a.getChildModal()},getParentModal:()=>{var a;return(a=l.value)==null?void 0:a.getParentModal()},reload:(...a)=>{var o;return(o=l.value)==null?void 0:o.reload(...a)},setOpen:(...a)=>{var o;return(o=l.value)==null?void 0:o.setOpen(...a)},get config(){var a;return(a=l.value)==null?void 0:a.config},get id(){var a;return(a=l.value)==null?void 0:a.id},get index(){var a;return(a=l.value)==null?void 0:a.index},get isOpen(){var a;return(a=l.value)==null?void 0:a.isOpen},get modalContext(){var a;return(a=l.value)==null?void 0:a.modalContext},get onTopOfStack(){var a;return(a=l.value)==null?void 0:a.onTopOfStack},get shouldRender(){var a;return(a=l.value)==null?void 0:a.shouldRender}}),(a,o)=>(e.openBlock(),e.createBlock(fe,{ref_key:"modal",ref:l},{default:e.withCtx(({afterLeave:i,close:u,config:c,emit:f,getChildModal:p,getParentModal:d,id:v,index:s,isOpen:m,modalContext:h,onTopOfStack:g,reload:w,setOpen:j,shouldRender:b})=>[e.createVNode(e.unref(kt),{open:m,"onUpdate:open":j},{default:e.withCtx(()=>[e.createVNode(e.unref(Nt),null,{default:e.withCtx(()=>[e.createElementVNode("div",{"data-inertiaui-modal-id":v,"data-inertiaui-modal-index":s,class:"im-dialog relative z-20"},[s===0&&g?(e.openBlock(),e.createBlock(e.Transition,{key:0,appear:!r.value,"enter-active-class":"transition transform ease-in-out duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition transform ease-in-out duration-300","leave-from-class":"opacity-100","leave-to-class":"opacity-0",onAfterAppear:o[0]||(o[0]=X=>r.value=!0)},{default:e.withCtx(()=>[e.createVNode(e.unref(Jt),{class:"im-backdrop fixed inset-0 z-30 bg-black/75"})]),_:1},8,["appear"])):e.createCommentVNode("",!0),s>0&&g?(e.openBlock(),e.createElementBlock("div",an)):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c!=null&&c.slideover?ln:en),{"modal-context":h,config:c},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{id:v,afterLeave:i,close:u,config:c,emit:f,getChildModal:p,getParentModal:d,index:s,isOpen:m,modalContext:h,onTopOfStack:g,reload:w,setOpen:j,shouldRender:b})]),_:2},1032,["modal-context","config"]))],8,rn)]),_:2},1024)]),_:2},1032,["open","onUpdate:open"])]),_:3},512))}},sn={__name:"ModalLink",props:{href:{type:String,required:!0},method:{type:String,default:"get"},data:{type:Object,default:()=>({})},as:{type:String,default:"a"},headers:{type:Object,default:()=>({})},queryStringArrayFormat:{type:String,default:"brackets"},navigate:{type:Boolean,default:null},closeButton:{type:Boolean,required:!1,default:null},closeExplicitly:{type:Boolean,required:!1,default:null},maxWidth:{type:String,required:!1,default:null},paddingClasses:{type:[Boolean,String],required:!1,default:null},panelClasses:{type:[Boolean,String],required:!1,default:null},position:{type:String,required:!1,default:null},slideover:{type:Boolean,required:!1,default:null}},emits:["after-leave","blur","close","error","focus","start","success"],setup(t,{emit:n}){const l=t,r=e.ref(!1),a=T(),o=e.ref(null);e.provide("modalContext",o);const i=n,u=e.ref(!1),c=e.computed(()=>l.navigate??U("navigate"));e.watch(()=>{var h;return(h=o.value)==null?void 0:h.onTopOfStack},h=>{o.value&&(h&&u.value?i("focus"):h||i("blur"),u.value=!h)});const f=e.ref(null);e.onBeforeUnmount(()=>{var h;return(h=f.value)==null?void 0:h.call(f)});const p=e.useAttrs();function d(){f.value=o.value.registerEventListenersFromAttrs(p)}e.watch(o,(h,g)=>{h&&!g&&(d(),i("success"))});function v(){i("close")}function s(){o.value=null,i("after-leave")}function m(){r.value||(l.href.startsWith("#")||(r.value=!0,i("start")),a.visit(l.href,l.method,l.data,l.headers,_e(se(l,Ze)),v,s,l.queryStringArrayFormat,c.value).then(h=>{o.value=h}).catch(h=>i("error",h)).finally(()=>r.value=!1))}return(h,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.as),e.mergeProps(e.unref(p),{href:t.href,onClick:e.withModifiers(m,["prevent"])}),{default:e.withCtx(()=>[e.renderSlot(h.$slots,"default",{loading:r.value})]),_:3},16,["href"]))}};function un(){return e.toValue(e.inject("modalContext",null))}function dn(t,n={}){return T().visit(t,n.method??"get",n.data??{},n.headers??{},n.config??{},n.onClose,n.onAfterLeave,n.queryStringArrayFormat??"brackets",n.navigate??U("navigate")).then(l=>{const r=n.listeners??{};return Object.keys(r).forEach(a=>{const o=a.replace(/([A-Z])/g,"-$1").toLowerCase();l.on(o,r[a])}),l})}y.HeadlessModal=fe,y.Modal=on,y.ModalLink=sn,y.ModalRoot=de,y.getConfig=U,y.initFromPageProps=ze,y.putConfig=Ue,y.renderApp=Je,y.resetConfig=Fe,y.useModal=un,y.visitModal=dn,Object.defineProperty(y,Symbol.toStringTag,{value:"Module"})}); +For more information, see https://www.radix-vue.com/components/${l}`,s=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${n}.`;e.onMounted(()=>{var c;document.getElementById(a)||console.warn(i);const f=(c=o.value)==null?void 0:c.getAttribute("aria-describedby");r&&f&&(document.getElementById(r)||console.warn(s))})}const Ae=e.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const l=t,a=n,r=N(),{forwardRef:o,currentElement:i}=O();return r.titleId||(r.titleId=Ce(void 0,"radix-vue-dialog-title")),r.descriptionId||(r.descriptionId=Ce(void 0,"radix-vue-dialog-description")),e.onMounted(()=>{r.contentElement=i,document.activeElement!==document.body&&(r.triggerElement.value=document.activeElement)}),process.env.NODE_ENV!=="production"&&Kt({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:r.titleId,descriptionId:r.descriptionId,contentElement:i}),(s,c)=>(e.openBlock(),e.createBlock(e.unref(Vt),{"as-child":"",loop:"",trapped:l.trapFocus,onMountAutoFocus:c[5]||(c[5]=f=>a("openAutoFocus",f)),onUnmountAutoFocus:c[6]||(c[6]=f=>a("closeAutoFocus",f))},{default:e.withCtx(()=>[e.createVNode(e.unref($t),e.mergeProps({id:e.unref(r).contentId,ref:e.unref(o),as:s.as,"as-child":s.asChild,"disable-outside-pointer-events":s.disableOutsidePointerEvents,role:"dialog","aria-describedby":e.unref(r).descriptionId,"aria-labelledby":e.unref(r).titleId,"data-state":e.unref(_t)(e.unref(r).open.value)},s.$attrs,{onDismiss:c[0]||(c[0]=f=>e.unref(r).onOpenChange(!1)),onEscapeKeyDown:c[1]||(c[1]=f=>a("escapeKeyDown",f)),onFocusOutside:c[2]||(c[2]=f=>a("focusOutside",f)),onInteractOutside:c[3]||(c[3]=f=>a("interactOutside",f)),onPointerDownOutside:c[4]||(c[4]=f=>a("pointerDownOutside",f))}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),Xt=e.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const l=t,a=n,r=N(),o=le(a),{forwardRef:i,currentElement:s}=O();return Ct(s),(c,f)=>(e.openBlock(),e.createBlock(Ae,e.mergeProps({...l,...e.unref(o)},{ref:e.unref(i),"trap-focus":e.unref(r).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:f[0]||(f[0]=m=>{var d;m.defaultPrevented||(m.preventDefault(),(d=e.unref(r).triggerElement.value)==null||d.focus())}),onPointerDownOutside:f[1]||(f[1]=m=>{const d=m.detail.originalEvent,v=d.button===0&&d.ctrlKey===!0;(d.button===2||v)&&m.preventDefault()}),onFocusOutside:f[2]||(f[2]=m=>{m.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},16,["trap-focus"]))}}),Ht=e.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const l=t,a=le(n);O();const r=N(),o=e.ref(!1),i=e.ref(!1);return(s,c)=>(e.openBlock(),e.createBlock(Ae,e.mergeProps({...l,...e.unref(a)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:c[0]||(c[0]=f=>{var m;f.defaultPrevented||(o.value||(m=e.unref(r).triggerElement.value)==null||m.focus(),f.preventDefault()),o.value=!1,i.value=!1}),onInteractOutside:c[1]||(c[1]=f=>{var m;f.defaultPrevented||(o.value=!0,f.detail.originalEvent.type==="pointerdown"&&(i.value=!0));const d=f.target;(m=e.unref(r).triggerElement.value)!=null&&m.contains(d)&&f.preventDefault(),f.detail.originalEvent.type==="focusin"&&i.value&&f.preventDefault()})}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16))}}),Pe=e.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:n}){const l=t,a=n,r=N(),o=le(a),{forwardRef:i}=O();return(s,c)=>(e.openBlock(),e.createBlock(e.unref(Ee),{present:s.forceMount||e.unref(r).open.value},{default:e.withCtx(()=>[e.unref(r).modal.value?(e.openBlock(),e.createBlock(Xt,e.mergeProps({key:0,ref:e.unref(i)},{...l,...e.unref(o),...s.$attrs}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16)):(e.openBlock(),e.createBlock(Ht,e.mergeProps({key:1,ref:e.unref(i)},{...l,...e.unref(o),...s.$attrs}),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Jt=e.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(t){const n=N();return vt(!0),O(),(l,a)=>(e.openBlock(),e.createBlock(e.unref(T),{as:l.as,"as-child":l.asChild,"data-state":e.unref(n).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),Yt=e.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(t){const n=N(),{forwardRef:l}=O();return(a,r)=>{var o;return(o=e.unref(n))!=null&&o.modal.value?(e.openBlock(),e.createBlock(e.unref(Ee),{key:0,present:a.forceMount||e.unref(n).open.value},{default:e.withCtx(()=>[e.createVNode(Jt,e.mergeProps(a.$attrs,{ref:e.unref(l),as:a.as,"as-child":a.asChild}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):e.createCommentVNode("",!0)}}}),Gt=e.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(t){const n=t;O();const l=N();return(a,r)=>(e.openBlock(),e.createBlock(e.unref(T),e.mergeProps(n,{type:a.as==="button"?"button":void 0,onClick:r[0]||(r[0]=o=>e.unref(l).onOpenChange(!1))}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["type"]))}}),Ie=e.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(t){const n=t,l=N();return O(),(a,r)=>(e.openBlock(),e.createBlock(e.unref(T),e.mergeProps(n,{id:e.unref(l).titleId}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},16,["id"]))}}),De=e.defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(t){return O(),(n,l)=>(e.openBlock(),e.createBlock(e.unref(T),{as:n.as,"as-child":n.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child"]))}}),[$e,pn]=Z("CollectionProvider");e.defineComponent({name:"CollectionSlot",setup(t,{slots:n}){const l=$e(),{primitiveElement:a,currentElement:r}=be();return e.watch(r,()=>{l.collectionRef.value=r.value}),()=>e.h(re,{ref:a},n)}}),e.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(t,{slots:n,attrs:l}){const a=$e(),{primitiveElement:r,currentElement:o}=be();return e.watchEffect(i=>{if(o.value){const s=e.markRaw(o.value);a.itemMap.value.set(s,{ref:o.value,value:t.value}),i(()=>a.itemMap.value.delete(s))}}),()=>e.h(re,{...l,[a.attrName]:"",ref:r},n)}});function Zt(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}Zt();const Te={__name:"CloseButton",setup(t){return(n,l)=>(e.openBlock(),e.createBlock(e.unref(Gt),{class:"im-close-button text-gray-400 hover:text-gray-500"},{default:e.withCtx(()=>l[0]||(l[0]=[e.createElementVNode("span",{class:"sr-only"},"Close",-1),e.createElementVNode("svg",{class:"size-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor","aria-hidden":"true"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)])),_:1}))}},Qt={class:"im-modal-container fixed inset-0 z-40 overflow-y-auto p-4"},Mt={key:0,class:"absolute right-0 top-0 pr-3 pt-3"},en={__name:"ModalContent",props:{modalContext:Object,config:Object},setup(t){return(n,l)=>(e.openBlock(),e.createElementBlock("div",Qt,[e.createElementVNode("div",{class:e.normalizeClass(["im-modal-positioner flex min-h-full justify-center",{"items-start":t.config.position==="top","items-center":t.config.position==="center","items-end":t.config.position==="bottom"}])},[e.createVNode(e.Transition,{appear:"","enter-from-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-from-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",onAfterLeave:t.modalContext.afterLeave},{default:e.withCtx(()=>[e.createVNode(e.unref(Pe),{"aria-describedby":void 0,class:e.normalizeClass({"im-modal-wrapper w-full transition duration-300 ease-in-out":!0,"blur-sm":!t.modalContext.onTopOfStack,"sm:max-w-sm":t.config.maxWidth=="sm","sm:max-w-md":t.config.maxWidth=="md","sm:max-w-md md:max-w-lg":t.config.maxWidth=="lg","sm:max-w-md md:max-w-xl":t.config.maxWidth=="xl","sm:max-w-md md:max-w-xl lg:max-w-2xl":t.config.maxWidth=="2xl","sm:max-w-md md:max-w-xl lg:max-w-3xl":t.config.maxWidth=="3xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-4xl":t.config.maxWidth=="4xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl":t.config.maxWidth=="5xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl 2xl:max-w-6xl":t.config.maxWidth=="6xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl 2xl:max-w-7xl":t.config.maxWidth=="7xl"}),onEscapeKeyDown:l[0]||(l[0]=a=>{var r;return((r=t.config)==null?void 0:r.closeExplicitly)&&a.preventDefault()}),onInteractOutside:l[1]||(l[1]=a=>{var r;return((r=t.config)==null?void 0:r.closeExplicitly)&&a.preventDefault()})},{default:e.withCtx(()=>[e.createVNode(e.unref(De),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(Ie))]),_:1}),e.createElementVNode("div",{class:e.normalizeClass(["im-modal-content relative",[t.config.paddingClasses,t.config.panelClasses]])},[t.config.closeButton?(e.openBlock(),e.createElementBlock("div",Mt,[e.createVNode(Te)])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{modalContext:t.modalContext,config:t.config})],2)]),_:3},8,["class"])]),_:3},8,["onAfterLeave"])],2)]))}},tn={class:"im-slideover-container fixed inset-0 z-40 overflow-y-auto overflow-x-hidden"},nn={key:0,class:"absolute right-0 top-0 pr-3 pt-3"},ln={__name:"SlideoverContent",props:{modalContext:Object,config:Object},setup(t){return(n,l)=>(e.openBlock(),e.createElementBlock("div",tn,[e.createElementVNode("div",{class:e.normalizeClass(["im-slideover-positioner flex min-h-full items-center",{"justify-start rtl:justify-end":t.config.position==="left","justify-end rtl:justify-start":t.config.position==="right"}])},[e.createVNode(e.Transition,{appear:"","enter-from-class":"opacity-0 "+(t.config.position==="left"?"-translate-x-full":"translate-x-full"),"enter-to-class":"opacity-100 translate-x-0","leave-from-class":"opacity-100 translate-x-0","leave-to-class":"opacity-0 "+(t.config.position==="left"?"-translate-x-full":"translate-x-full"),onAfterLeave:t.modalContext.afterLeave},{default:e.withCtx(()=>[e.createVNode(e.unref(Pe),{"aria-describedby":void 0,class:e.normalizeClass({"im-slideover-wrapper w-full transition duration-300 ease-in-out":!0,"blur-sm":!t.modalContext.onTopOfStack,"sm:max-w-sm":t.config.maxWidth=="sm","sm:max-w-md":t.config.maxWidth=="md","sm:max-w-md md:max-w-lg":t.config.maxWidth=="lg","sm:max-w-md md:max-w-xl":t.config.maxWidth=="xl","sm:max-w-md md:max-w-xl lg:max-w-2xl":t.config.maxWidth=="2xl","sm:max-w-md md:max-w-xl lg:max-w-3xl":t.config.maxWidth=="3xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-4xl":t.config.maxWidth=="4xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl":t.config.maxWidth=="5xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl 2xl:max-w-6xl":t.config.maxWidth=="6xl","sm:max-w-md md:max-w-xl lg:max-w-3xl xl:max-w-5xl 2xl:max-w-7xl":t.config.maxWidth=="7xl"}),onEscapeKeyDown:l[0]||(l[0]=a=>{var r;return((r=t.config)==null?void 0:r.closeExplicitly)&&a.preventDefault()}),onInteractOutside:l[1]||(l[1]=a=>{var r;return((r=t.config)==null?void 0:r.closeExplicitly)&&a.preventDefault()})},{default:e.withCtx(()=>[e.createVNode(e.unref(De),{"as-child":""},{default:e.withCtx(()=>[e.createVNode(e.unref(Ie))]),_:1}),e.createElementVNode("div",{class:e.normalizeClass(["im-slideover-content relative",[t.config.paddingClasses,t.config.panelClasses]])},[t.config.closeButton?(e.openBlock(),e.createElementBlock("div",nn,[e.createVNode(Te)])):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{modalContext:t.modalContext,config:t.config})],2)]),_:3},8,["class"])]),_:3},8,["enter-from-class","leave-to-class","onAfterLeave"])],2)]))}},an=["data-inertiaui-modal-id","data-inertiaui-modal-index"],rn={key:1,class:"im-backdrop fixed inset-0 z-30 bg-black/75"},on={__name:"Modal",setup(t,{expose:n}){const l=e.ref(null),a=e.ref(!1);return n({afterLeave:()=>{var r;return(r=l.value)==null?void 0:r.afterLeave()},close:()=>{var r;return(r=l.value)==null?void 0:r.close()},emit:(...r)=>{var o;return(o=l.value)==null?void 0:o.emit(...r)},getChildModal:()=>{var r;return(r=l.value)==null?void 0:r.getChildModal()},getParentModal:()=>{var r;return(r=l.value)==null?void 0:r.getParentModal()},reload:(...r)=>{var o;return(o=l.value)==null?void 0:o.reload(...r)},setOpen:(...r)=>{var o;return(o=l.value)==null?void 0:o.setOpen(...r)},get config(){var r;return(r=l.value)==null?void 0:r.config},get id(){var r;return(r=l.value)==null?void 0:r.id},get index(){var r;return(r=l.value)==null?void 0:r.index},get isOpen(){var r;return(r=l.value)==null?void 0:r.isOpen},get modalContext(){var r;return(r=l.value)==null?void 0:r.modalContext},get onTopOfStack(){var r;return(r=l.value)==null?void 0:r.onTopOfStack},get shouldRender(){var r;return(r=l.value)==null?void 0:r.shouldRender}}),(r,o)=>(e.openBlock(),e.createBlock(me,{ref_key:"modal",ref:l},{default:e.withCtx(({afterLeave:i,close:s,config:c,emit:f,getChildModal:m,getParentModal:d,id:v,index:u,isOpen:p,modalContext:h,onTopOfStack:g,reload:y,setOpen:B,shouldRender:C})=>[e.createVNode(e.unref(kt),{open:p,"onUpdate:open":B},{default:e.withCtx(()=>[e.createVNode(e.unref(Nt),null,{default:e.withCtx(()=>[e.createElementVNode("div",{"data-inertiaui-modal-id":v,"data-inertiaui-modal-index":u,class:"im-dialog relative z-20"},[u===0&&g?(e.openBlock(),e.createBlock(e.Transition,{key:0,appear:!a.value,"enter-active-class":"transition transform ease-in-out duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition transform ease-in-out duration-300","leave-from-class":"opacity-100","leave-to-class":"opacity-0",onAfterAppear:o[0]||(o[0]=P=>a.value=!0)},{default:e.withCtx(()=>[e.createVNode(e.unref(Yt),{class:"im-backdrop fixed inset-0 z-30 bg-black/75"})]),_:1},8,["appear"])):e.createCommentVNode("",!0),u>0&&g?(e.openBlock(),e.createElementBlock("div",rn)):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c!=null&&c.slideover?ln:en),{"modal-context":h,config:c},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default",{id:v,afterLeave:i,close:s,config:c,emit:f,getChildModal:m,getParentModal:d,index:u,isOpen:p,modalContext:h,onTopOfStack:g,reload:y,setOpen:B,shouldRender:C})]),_:2},1032,["modal-context","config"]))],8,an)]),_:2},1024)]),_:2},1032,["open","onUpdate:open"])]),_:3},512))}},sn={__name:"ModalLink",props:{href:{type:String,required:!0},method:{type:String,default:"get"},data:{type:Object,default:()=>({})},as:{type:String,default:"a"},headers:{type:Object,default:()=>({})},queryStringArrayFormat:{type:String,default:"brackets"},navigate:{type:Boolean,default:null},closeButton:{type:Boolean,required:!1,default:null},closeExplicitly:{type:Boolean,required:!1,default:null},maxWidth:{type:String,required:!1,default:null},paddingClasses:{type:[Boolean,String],required:!1,default:null},panelClasses:{type:[Boolean,String],required:!1,default:null},position:{type:String,required:!1,default:null},slideover:{type:Boolean,required:!1,default:null}},emits:["after-leave","blur","close","error","focus","start","success"],setup(t,{emit:n}){const l=t,a=e.ref(!1),r=F(),o=e.ref(null);e.provide("modalContext",o);const i=n,s=e.ref(!1),c=e.computed(()=>l.navigate??V("navigate"));e.watch(()=>{var h;return(h=o.value)==null?void 0:h.onTopOfStack},h=>{o.value&&(h&&s.value?i("focus"):h||i("blur"),s.value=!h)});const f=e.ref(null);e.onBeforeUnmount(()=>{var h;return(h=f.value)==null?void 0:h.call(f)});const m=e.useAttrs();function d(){f.value=o.value.registerEventListenersFromAttrs(m)}e.watch(o,(h,g)=>{h&&!g&&(d(),i("success"))});function v(){i("close")}function u(){o.value=null,i("after-leave")}function p(){a.value||(l.href.startsWith("#")||(a.value=!0,i("start")),r.visit(l.href,l.method,l.data,l.headers,Ve(ue(l,Je)),v,u,l.queryStringArrayFormat,c.value).then(h=>{o.value=h}).catch(h=>i("error",h)).finally(()=>a.value=!1))}return(h,g)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.as),e.mergeProps(e.unref(m),{href:t.href,onClick:e.withModifiers(p,["prevent"])}),{default:e.withCtx(()=>[e.renderSlot(h.$slots,"default",{loading:a.value})]),_:3},16,["href"]))}};function un(){return e.toValue(e.inject("modalContext",null))}function dn(t,n={}){return F().visit(t,n.method??"get",n.data??{},n.headers??{},n.config??{},n.onClose,n.onAfterLeave,n.queryStringArrayFormat??"brackets",n.navigate??V("navigate")).then(l=>{const a=n.listeners??{};return Object.keys(a).forEach(r=>{const o=r.replace(/([A-Z])/g,"-$1").toLowerCase();l.on(o,a[r])}),l})}x.HeadlessModal=me,x.Modal=on,x.ModalLink=sn,x.ModalRoot=ce,x.getConfig=V,x.initFromPageProps=ze,x.putConfig=Ue,x.renderApp=Ye,x.resetConfig=We,x.useModal=un,x.visitModal=dn,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})}); diff --git a/vue/package-lock.json b/vue/package-lock.json index 0b7cb72..1a02a58 100644 --- a/vue/package-lock.json +++ b/vue/package-lock.json @@ -1,15 +1,15 @@ { "name": "@inertiaui/modal-vue", - "version": "0.13.1", + "version": "0.14.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@inertiaui/modal-vue", - "version": "0.13.1", + "version": "0.14.0", "license": "MIT", "devDependencies": { - "@inertiajs/vue3": "^1.2.0||^2.0.0-beta.1", + "@inertiajs/vue3": "^1.3.0||^2.0.0", "@vitejs/plugin-vue": "^5.0.0", "@vitest/coverage-v8": "^2.1.1", "@vitest/ui": "^2.1.1", @@ -31,7 +31,7 @@ "vue": "^3.4.x" }, "peerDependencies": { - "@inertiajs/vue3": "^1.2.0||^2.0.0-beta.1", + "@inertiajs/vue3": "^1.3.0||^2.0.0", "axios": "^1.6.0", "vue": "^3.4.x" } @@ -85,13 +85,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.2.tgz", - "integrity": "sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.3.tgz", + "integrity": "sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.26.0" + "@babel/types": "^7.26.3" }, "bin": { "parser": "bin/babel-parser.js" @@ -101,9 +101,9 @@ } }, "node_modules/@babel/types": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz", - "integrity": "sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.3.tgz", + "integrity": "sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==", "dev": true, "license": "MIT", "dependencies": { @@ -681,26 +681,25 @@ "license": "BSD-3-Clause" }, "node_modules/@inertiajs/core": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@inertiajs/core/-/core-1.2.0.tgz", - "integrity": "sha512-6U0gqCPbGGGMcLoDm+ckKipc5gptZMmfVFfPGdO7vlO7yipWf1RD+TKkcZGJklFvfgFMKwK2VPw8GAv1OctuQA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@inertiajs/core/-/core-2.0.0.tgz", + "integrity": "sha512-2kvlk731NjwfXUku/ZoXsZNcOzx985icHtTC1dgN+8sAZtJfEg9QBrQ7sBjeLYiWtKgobJdwwpeDaexEneAtLQ==", "dev": true, "license": "MIT", "dependencies": { "axios": "^1.6.0", "deepmerge": "^4.0.0", - "nprogress": "^0.2.0", "qs": "^6.9.0" } }, "node_modules/@inertiajs/vue3": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@inertiajs/vue3/-/vue3-1.2.0.tgz", - "integrity": "sha512-Y6AsvwIK/E1pQKAMp8B7i99CbNApcTYb7j8R+TXM/AFQG6yBlQ1Qb9oFMItb6VimXSnDyfO4+FWe/JPLk9OIVA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@inertiajs/vue3/-/vue3-2.0.0.tgz", + "integrity": "sha512-U38EM8jqlfX2WmVK/vJWZr+jD71qvnmNPnUuZ+4mS2QNFdNmUeg2M/HbLmvR4WLWsxIl+7GYQySy4sW3tu/uTA==", "dev": true, "license": "MIT", "dependencies": { - "@inertiajs/core": "1.2.0", + "@inertiajs/core": "2.0.0", "lodash.clonedeep": "^4.5.0", "lodash.isequal": "^4.5.0" }, @@ -709,9 +708,9 @@ } }, "node_modules/@internationalized/date": { - "version": "3.5.6", - "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.5.6.tgz", - "integrity": "sha512-jLxQjefH9VI5P9UQuqB6qNKnvFt1Ky1TPIzHGsIlCi7sZZoMR8SdYbBGRvM0y+Jtb+ez4ieBzmiAUcpmPYpyOw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.6.0.tgz", + "integrity": "sha512-+z6ti+CcJnRlLHok/emGEsWQhe7kfSmEW+/6qCzvKY67YPh7YOBfvc7+/+NXq+zJlbArg30tYpqLjNgcAYv2YQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -719,9 +718,9 @@ } }, "node_modules/@internationalized/number": { - "version": "3.5.4", - "resolved": "https://registry.npmjs.org/@internationalized/number/-/number-3.5.4.tgz", - "integrity": "sha512-h9huwWjNqYyE2FXZZewWqmCdkw1HeFds5q4Siuoms3hUQC5iPJK3aBmkFZoDSLN4UD0Bl8G22L/NdHpeOr+/7A==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@internationalized/number/-/number-3.6.0.tgz", + "integrity": "sha512-PtrRcJVy7nw++wn4W2OuePQQfTqDzfusSuY1QTtui4wa7r+rGVtR75pO8CyKvHvzyQYi3Q1uO5sY0AsB4e65Bw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -786,9 +785,9 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", - "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", "dev": true, "license": "MIT", "dependencies": { @@ -929,9 +928,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.27.3.tgz", - "integrity": "sha512-EzxVSkIvCFxUd4Mgm4xR9YXrcp976qVaHnqom/Tgm+vU79k4vV4eYTjmRvGfeoW8m9LVcsAy/lGjcgVegKEhLQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.28.1.tgz", + "integrity": "sha512-2aZp8AES04KI2dy3Ss6/MDjXbwBzj+i0GqKtWXgw2/Ma6E4jJvujryO6gJAghIRVz7Vwr9Gtl/8na3nDUKpraQ==", "cpu": [ "arm" ], @@ -943,9 +942,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.27.3.tgz", - "integrity": "sha512-LJc5pDf1wjlt9o/Giaw9Ofl+k/vLUaYsE2zeQGH85giX2F+wn/Cg8b3c5CDP3qmVmeO5NzwVUzQQxwZvC2eQKw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.28.1.tgz", + "integrity": "sha512-EbkK285O+1YMrg57xVA+Dp0tDBRB93/BZKph9XhMjezf6F4TpYjaUSuPt5J0fZXlSag0LmZAsTmdGGqPp4pQFA==", "cpu": [ "arm64" ], @@ -957,9 +956,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.27.3.tgz", - "integrity": "sha512-OuRysZ1Mt7wpWJ+aYKblVbJWtVn3Cy52h8nLuNSzTqSesYw1EuN6wKp5NW/4eSre3mp12gqFRXOKTcN3AI3LqA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.28.1.tgz", + "integrity": "sha512-prduvrMKU6NzMq6nxzQw445zXgaDBbMQvmKSJaxpaZ5R1QDM8w+eGxo6Y/jhT/cLoCvnZI42oEqf9KQNYz1fqQ==", "cpu": [ "arm64" ], @@ -971,9 +970,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.27.3.tgz", - "integrity": "sha512-xW//zjJMlJs2sOrCmXdB4d0uiilZsOdlGQIC/jjmMWT47lkLLoB1nsNhPUcnoqyi5YR6I4h+FjBpILxbEy8JRg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.28.1.tgz", + "integrity": "sha512-WsvbOunsUk0wccO/TV4o7IKgloJ942hVFK1CLatwv6TJspcCZb9umQkPdvB7FihmdxgaKR5JyxDjWpCOp4uZlQ==", "cpu": [ "x64" ], @@ -985,9 +984,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.27.3.tgz", - "integrity": "sha512-58E0tIcwZ+12nK1WiLzHOD8I0d0kdrY/+o7yFVPRHuVGY3twBwzwDdTIBGRxLmyjciMYl1B/U515GJy+yn46qw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.28.1.tgz", + "integrity": "sha512-HTDPdY1caUcU4qK23FeeGxCdJF64cKkqajU0iBnTVxS8F7H/7BewvYoG+va1KPSL63kQ1PGNyiwKOfReavzvNA==", "cpu": [ "arm64" ], @@ -999,9 +998,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.27.3.tgz", - "integrity": "sha512-78fohrpcVwTLxg1ZzBMlwEimoAJmY6B+5TsyAZ3Vok7YabRBUvjYTsRXPTjGEvv/mfgVBepbW28OlMEz4w8wGA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.28.1.tgz", + "integrity": "sha512-m/uYasxkUevcFTeRSM9TeLyPe2QDuqtjkeoTpP9SW0XxUWfcYrGDMkO/m2tTw+4NMAF9P2fU3Mw4ahNvo7QmsQ==", "cpu": [ "x64" ], @@ -1013,9 +1012,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.27.3.tgz", - "integrity": "sha512-h2Ay79YFXyQi+QZKo3ISZDyKaVD7uUvukEHTOft7kh00WF9mxAaxZsNs3o/eukbeKuH35jBvQqrT61fzKfAB/Q==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.28.1.tgz", + "integrity": "sha512-QAg11ZIt6mcmzpNE6JZBpKfJaKkqTm1A9+y9O+frdZJEuhQxiugM05gnCWiANHj4RmbgeVJpTdmKRmH/a+0QbA==", "cpu": [ "arm" ], @@ -1027,9 +1026,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.27.3.tgz", - "integrity": "sha512-Sv2GWmrJfRY57urktVLQ0VKZjNZGogVtASAgosDZ1aUB+ykPxSi3X1nWORL5Jk0sTIIwQiPH7iE3BMi9zGWfkg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.28.1.tgz", + "integrity": "sha512-dRP9PEBfolq1dmMcFqbEPSd9VlRuVWEGSmbxVEfiq2cs2jlZAl0YNxFzAQS2OrQmsLBLAATDMb3Z6MFv5vOcXg==", "cpu": [ "arm" ], @@ -1041,9 +1040,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.27.3.tgz", - "integrity": "sha512-FPoJBLsPW2bDNWjSrwNuTPUt30VnfM8GPGRoLCYKZpPx0xiIEdFip3dH6CqgoT0RnoGXptaNziM0WlKgBc+OWQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.28.1.tgz", + "integrity": "sha512-uGr8khxO+CKT4XU8ZUH1TTEUtlktK6Kgtv0+6bIFSeiSlnGJHG1tSFSjm41uQ9sAO/5ULx9mWOz70jYLyv1QkA==", "cpu": [ "arm64" ], @@ -1055,9 +1054,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.27.3.tgz", - "integrity": "sha512-TKxiOvBorYq4sUpA0JT+Fkh+l+G9DScnG5Dqx7wiiqVMiRSkzTclP35pE6eQQYjP4Gc8yEkJGea6rz4qyWhp3g==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.28.1.tgz", + "integrity": "sha512-QF54q8MYGAqMLrX2t7tNpi01nvq5RI59UBNx+3+37zoKX5KViPo/gk2QLhsuqok05sSCRluj0D00LzCwBikb0A==", "cpu": [ "arm64" ], @@ -1068,10 +1067,24 @@ "linux" ] }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.28.1.tgz", + "integrity": "sha512-vPul4uodvWvLhRco2w0GcyZcdyBfpfDRgNKU+p35AWEbJ/HPs1tOUrkSueVbBS0RQHAf/A+nNtDpvw95PeVKOA==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.27.3.tgz", - "integrity": "sha512-v2M/mPvVUKVOKITa0oCFksnQQ/TqGrT+yD0184/cWHIu0LoIuYHwox0Pm3ccXEz8cEQDLk6FPKd1CCm+PlsISw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.28.1.tgz", + "integrity": "sha512-pTnTdBuC2+pt1Rmm2SV7JWRqzhYpEILML4PKODqLz+C7Ou2apEV52h19CR7es+u04KlqplggmN9sqZlekg3R1A==", "cpu": [ "ppc64" ], @@ -1083,9 +1096,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.27.3.tgz", - "integrity": "sha512-LdrI4Yocb1a/tFVkzmOE5WyYRgEBOyEhWYJe4gsDWDiwnjYKjNs7PS6SGlTDB7maOHF4kxevsuNBl2iOcj3b4A==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.28.1.tgz", + "integrity": "sha512-vWXy1Nfg7TPBSuAncfInmAI/WZDd5vOklyLJDdIRKABcZWojNDY0NJwruY2AcnCLnRJKSaBgf/GiJfauu8cQZA==", "cpu": [ "riscv64" ], @@ -1097,9 +1110,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.27.3.tgz", - "integrity": "sha512-d4wVu6SXij/jyiwPvI6C4KxdGzuZOvJ6y9VfrcleHTwo68fl8vZC5ZYHsCVPUi4tndCfMlFniWgwonQ5CUpQcA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.28.1.tgz", + "integrity": "sha512-/yqC2Y53oZjb0yz8PVuGOQQNOTwxcizudunl/tFs1aLvObTclTwZ0JhXF2XcPT/zuaymemCDSuuUPXJJyqeDOg==", "cpu": [ "s390x" ], @@ -1111,9 +1124,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.27.3.tgz", - "integrity": "sha512-/6bn6pp1fsCGEY5n3yajmzZQAh+mW4QPItbiWxs69zskBzJuheb3tNynEjL+mKOsUSFK11X4LYF2BwwXnzWleA==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.1.tgz", + "integrity": "sha512-fzgeABz7rrAlKYB0y2kSEiURrI0691CSL0+KXwKwhxvj92VULEDQLpBYLHpF49MSiPG4sq5CK3qHMnb9tlCjBw==", "cpu": [ "x64" ], @@ -1125,9 +1138,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.27.3.tgz", - "integrity": "sha512-nBXOfJds8OzUT1qUreT/en3eyOXd2EH5b0wr2bVB5999qHdGKkzGzIyKYaKj02lXk6wpN71ltLIaQpu58YFBoQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.28.1.tgz", + "integrity": "sha512-xQTDVzSGiMlSshpJCtudbWyRfLaNiVPXt1WgdWTwWz9n0U12cI2ZVtWe/Jgwyv/6wjL7b66uu61Vg0POWVfz4g==", "cpu": [ "x64" ], @@ -1139,9 +1152,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.27.3.tgz", - "integrity": "sha512-ogfbEVQgIZOz5WPWXF2HVb6En+kWzScuxJo/WdQTqEgeyGkaa2ui5sQav9Zkr7bnNCLK48uxmmK0TySm22eiuw==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.28.1.tgz", + "integrity": "sha512-wSXmDRVupJstFP7elGMgv+2HqXelQhuNf+IS4V+nUpNVi/GUiBgDmfwD0UGN3pcAnWsgKG3I52wMOBnk1VHr/A==", "cpu": [ "arm64" ], @@ -1153,9 +1166,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.27.3.tgz", - "integrity": "sha512-ecE36ZBMLINqiTtSNQ1vzWc5pXLQHlf/oqGp/bSbi7iedcjcNb6QbCBNG73Euyy2C+l/fn8qKWEwxr+0SSfs3w==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.28.1.tgz", + "integrity": "sha512-ZkyTJ/9vkgrE/Rk9vhMXhf8l9D+eAhbAVbsGsXKy2ohmJaWg0LPQLnIxRdRp/bKyr8tXuPlXhIoGlEB5XpJnGA==", "cpu": [ "ia32" ], @@ -1167,9 +1180,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.27.3.tgz", - "integrity": "sha512-vliZLrDmYKyaUoMzEbMTg2JkerfBjn03KmAw9CykO0Zzkzoyd7o3iZNam/TpyWNjNT+Cz2iO3P9Smv2wgrR+Eg==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.28.1.tgz", + "integrity": "sha512-ZvK2jBafvttJjoIdKm/Q/Bh7IJ1Ose9IBOwpOXcOvW3ikGTQGmKDgxTC6oCAzW6PynbkKP8+um1du81XJHZ0JA==", "cpu": [ "x64" ], @@ -1191,9 +1204,9 @@ } }, "node_modules/@tanstack/virtual-core": { - "version": "3.10.9", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.10.9.tgz", - "integrity": "sha512-kBknKOKzmeR7lN+vSadaKWXaLS0SZZG+oqpQ/k80Q6g9REn6zRHS/ZYdrIzHnpHgy/eWs00SujveUN/GJT2qTw==", + "version": "3.11.2", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.11.2.tgz", + "integrity": "sha512-vTtpNt7mKCiZ1pwU9hfKPhpdVO2sVzFQsxoVBGtOSHxlrRRzYr8iQ2TlwbAcRYCcEiZ9ECAM8kBzH0v2+VzfKw==", "dev": true, "license": "MIT", "funding": { @@ -1202,13 +1215,13 @@ } }, "node_modules/@tanstack/vue-virtual": { - "version": "3.10.9", - "resolved": "https://registry.npmjs.org/@tanstack/vue-virtual/-/vue-virtual-3.10.9.tgz", - "integrity": "sha512-KU2quiwJQpA0sdflpXw24bhW+x8PG+FlrSJK3Ilobim671HNn4ztLVWUCEz3Inei4dLYq+GW1MK9X6i6ZeirkQ==", + "version": "3.11.2", + "resolved": "https://registry.npmjs.org/@tanstack/vue-virtual/-/vue-virtual-3.11.2.tgz", + "integrity": "sha512-y0b1p1FTlzxcSt/ZdGWY1AZ52ddwSU69pvFRYAELUSdLLxV8QOPe9dyT/KATO43UCb3DAwiyzi96h2IoYstBOQ==", "dev": true, "license": "MIT", "dependencies": { - "@tanstack/virtual-core": "3.10.9" + "@tanstack/virtual-core": "3.11.2" }, "funding": { "type": "github", @@ -1251,30 +1264,30 @@ "license": "MIT" }, "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.1.tgz", + "integrity": "sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==", "dev": true, "license": "ISC" }, "node_modules/@vitejs/plugin-vue": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.2.0.tgz", - "integrity": "sha512-7n7KdUEtx/7Yl7I/WVAMZ1bEb0eVvXF3ummWTeLcs/9gvo9pJhuLdouSXGjdZ/MKD1acf1I272+X0RMua4/R3g==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.2.1.tgz", + "integrity": "sha512-cxh314tzaWwOLqVes2gnnCtvBDcM1UMdn+iFR+UjAn411dPT3tOmqrJjbMd7koZpMAmBM/GqeV4n9ge7JSiJJQ==", "dev": true, "license": "MIT", "engines": { "node": "^18.0.0 || >=20.0.0" }, "peerDependencies": { - "vite": "^5.0.0", + "vite": "^5.0.0 || ^6.0.0", "vue": "^3.2.25" } }, "node_modules/@vitest/coverage-v8": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-2.1.5.tgz", - "integrity": "sha512-/RoopB7XGW7UEkUndRXF87A9CwkoZAJW01pj8/3pgmDVsjMH2IKy6H1A38po9tmUlwhSyYs0az82rbKd9Yaynw==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-2.1.8.tgz", + "integrity": "sha512-2Y7BPlKH18mAZYAW1tYByudlCYrQyl5RGvnnDYJKW5tCiO5qg3KSAy3XAxcxKz900a0ZXxWtKrMuZLe3lKBpJw==", "dev": true, "license": "MIT", "dependencies": { @@ -1295,8 +1308,8 @@ "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "@vitest/browser": "2.1.5", - "vitest": "2.1.5" + "@vitest/browser": "2.1.8", + "vitest": "2.1.8" }, "peerDependenciesMeta": { "@vitest/browser": { @@ -1305,14 +1318,14 @@ } }, "node_modules/@vitest/expect": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.5.tgz", - "integrity": "sha512-nZSBTW1XIdpZvEJyoP/Sy8fUg0b8od7ZpGDkTUcfJ7wz/VoZAFzFfLyxVxGFhUjJzhYqSbIpfMtl/+k/dpWa3Q==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.8.tgz", + "integrity": "sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/spy": "2.1.5", - "@vitest/utils": "2.1.5", + "@vitest/spy": "2.1.8", + "@vitest/utils": "2.1.8", "chai": "^5.1.2", "tinyrainbow": "^1.2.0" }, @@ -1321,13 +1334,13 @@ } }, "node_modules/@vitest/mocker": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.5.tgz", - "integrity": "sha512-XYW6l3UuBmitWqSUXTNXcVBUCRytDogBsWuNXQijc00dtnU/9OqpXWp4OJroVrad/gLIomAq9aW8yWDBtMthhQ==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.8.tgz", + "integrity": "sha512-7guJ/47I6uqfttp33mgo6ga5Gr1VnL58rcqYKyShoRK9ebu8T5Rs6HN3s1NABiBeVTdWNrwUMcHH54uXZBN4zA==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/spy": "2.1.5", + "@vitest/spy": "2.1.8", "estree-walker": "^3.0.3", "magic-string": "^0.30.12" }, @@ -1358,9 +1371,9 @@ } }, "node_modules/@vitest/pretty-format": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.5.tgz", - "integrity": "sha512-4ZOwtk2bqG5Y6xRGHcveZVr+6txkH7M2e+nPFd6guSoN638v/1XQ0K06eOpi0ptVU/2tW/pIU4IoPotY/GZ9fw==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.8.tgz", + "integrity": "sha512-9HiSZ9zpqNLKlbIDRWOnAWqgcA7xu+8YxXSekhr0Ykab7PAYFkhkwoqVArPOtJhPmYeE2YHgKZlj3CP36z2AJQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1371,13 +1384,13 @@ } }, "node_modules/@vitest/runner": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.5.tgz", - "integrity": "sha512-pKHKy3uaUdh7X6p1pxOkgkVAFW7r2I818vHDthYLvUyjRfkKOU6P45PztOch4DZarWQne+VOaIMwA/erSSpB9g==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.8.tgz", + "integrity": "sha512-17ub8vQstRnRlIU5k50bG+QOMLHRhYPAna5tw8tYbj+jzjcspnwnwtPtiOlkuKC4+ixDPTuLZiqiWWQ2PSXHVg==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/utils": "2.1.5", + "@vitest/utils": "2.1.8", "pathe": "^1.1.2" }, "funding": { @@ -1385,13 +1398,13 @@ } }, "node_modules/@vitest/snapshot": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.5.tgz", - "integrity": "sha512-zmYw47mhfdfnYbuhkQvkkzYroXUumrwWDGlMjpdUr4jBd3HZiV2w7CQHj+z7AAS4VOtWxI4Zt4bWt4/sKcoIjg==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.8.tgz", + "integrity": "sha512-20T7xRFbmnkfcmgVEz+z3AU/3b0cEzZOt/zmnvZEctg64/QZbSDJEVm9fLnnlSi74KibmRsO9/Qabi+t0vCRPg==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "2.1.5", + "@vitest/pretty-format": "2.1.8", "magic-string": "^0.30.12", "pathe": "^1.1.2" }, @@ -1400,9 +1413,9 @@ } }, "node_modules/@vitest/spy": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.5.tgz", - "integrity": "sha512-aWZF3P0r3w6DiYTVskOYuhBc7EMc3jvn1TkBg8ttylFFRqNN2XGD7V5a4aQdk6QiUzZQ4klNBSpCLJgWNdIiNw==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.8.tgz", + "integrity": "sha512-5swjf2q95gXeYPevtW0BLk6H8+bPlMb4Vw/9Em4hFxDcaOxS+e0LOX4yqNxoHzMR2akEB2xfpnWUzkZokmgWDg==", "dev": true, "license": "MIT", "dependencies": { @@ -1413,13 +1426,13 @@ } }, "node_modules/@vitest/ui": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@vitest/ui/-/ui-2.1.5.tgz", - "integrity": "sha512-ERgKkDMTfngrZip6VG5h8L9B5D0AH/4+bga4yR1UzGH7c2cxv3LWogw2Dvuwr9cP3/iKDHYys7kIFLDKpxORTg==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/ui/-/ui-2.1.8.tgz", + "integrity": "sha512-5zPJ1fs0ixSVSs5+5V2XJjXLmNzjugHRyV11RqxYVR+oMcogZ9qTuSfKW+OcTV0JeFNznI83BNylzH6SSNJ1+w==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/utils": "2.1.5", + "@vitest/utils": "2.1.8", "fflate": "^0.8.2", "flatted": "^3.3.1", "pathe": "^1.1.2", @@ -1431,17 +1444,17 @@ "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "vitest": "2.1.5" + "vitest": "2.1.8" } }, "node_modules/@vitest/utils": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.5.tgz", - "integrity": "sha512-yfj6Yrp0Vesw2cwJbP+cl04OC+IHFsuQsrsJBL9pyGeQXE56v1UAOQco+SR55Vf1nQzfV0QJg1Qum7AaWUwwYg==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.8.tgz", + "integrity": "sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "2.1.5", + "@vitest/pretty-format": "2.1.8", "loupe": "^3.1.2", "tinyrainbow": "^1.2.0" }, @@ -1807,9 +1820,9 @@ "license": "MIT" }, "node_modules/axios": { - "version": "1.7.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", - "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", + "version": "1.7.9", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.9.tgz", + "integrity": "sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==", "dev": true, "license": "MIT", "dependencies": { @@ -1880,18 +1893,29 @@ "node": ">=8" } }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "node_modules/call-bind-apply-helpers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", + "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", "dev": true, "license": "MIT", "dependencies": { - "es-define-property": "^1.0.0", "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz", + "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "get-intrinsic": "^1.2.6" }, "engines": { "node": ">= 0.4" @@ -2102,9 +2126,9 @@ "license": "MIT" }, "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dev": true, "license": "MIT", "dependencies": { @@ -2146,24 +2170,6 @@ "node": ">=0.10.0" } }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/defu": { "version": "6.1.4", "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.4.tgz", @@ -2210,6 +2216,21 @@ "node": ">=6.0.0" } }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -2283,14 +2304,11 @@ } }, "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "dev": true, "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, "engines": { "node": ">= 0.4" } @@ -2312,6 +2330,19 @@ "dev": true, "license": "MIT" }, + "node_modules/es-object-atoms": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.0.0.tgz", + "integrity": "sha512-MZ4iQ6JwHOBQjahnjwaC1ZtIBH+2ohjamzAO3oaHcXYup7qxjF2fixyH+Q71voWHeOkI2q/TnJao/KfXYIZWbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/esbuild": { "version": "0.21.5", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", @@ -2505,9 +2536,9 @@ } }, "node_modules/eslint-plugin-vue": { - "version": "9.31.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.31.0.tgz", - "integrity": "sha512-aYMUCgivhz1o4tLkRHj5oq9YgYPM4/EJc0M7TAKRLCUA5OYxRLAhYEVD2nLtTwLyixEFI+/QXSvKU9ESZFgqjQ==", + "version": "9.32.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.32.0.tgz", + "integrity": "sha512-b/Y05HYmnB/32wqVcjxjHZzNpwxj1onBOvqW89W+V+XNG1dRuaFbNd3vT9CLbr2LXjEoq+3vn8DanWf7XU22Ug==", "dev": true, "license": "MIT", "dependencies": { @@ -2874,17 +2905,22 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.6.tgz", + "integrity": "sha512-qxsEs+9A+u85HhllWJJFicJfPDhRmjzoYdl64aMWW9yRIJmSyxdn8IEkuIM530/7T+lv0TIHd8L6Q/ra0tEoeA==", "dev": true, "license": "MIT", "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "dunder-proto": "^1.0.0", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -2970,13 +3006,13 @@ } }, "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "dev": true, "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2990,9 +3026,9 @@ "license": "MIT" }, "node_modules/happy-dom": { - "version": "15.11.6", - "resolved": "https://registry.npmjs.org/happy-dom/-/happy-dom-15.11.6.tgz", - "integrity": "sha512-elX7iUTu+5+3b2+NGQc0L3eWyq9jKhuJJ4GpOMxxT/c2pg9O3L5H3ty2VECX0XXZgRmmRqXyOK8brA2hDI6LsQ==", + "version": "15.11.7", + "resolved": "https://registry.npmjs.org/happy-dom/-/happy-dom-15.11.7.tgz", + "integrity": "sha512-KyrFvnl+J9US63TEzwoiJOQzZBJY7KgBushJA8X61DMbNsH+2ONkDuLDnCnwUiPTF42tLoEmrPyoqbenVA5zrg==", "dev": true, "license": "MIT", "dependencies": { @@ -3014,36 +3050,10 @@ "node": ">=8" } }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "dev": true, "license": "MIT", "engines": { @@ -3151,9 +3161,9 @@ } }, "node_modules/is-core-module": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", - "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "version": "2.16.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.0.tgz", + "integrity": "sha512-urTSINYfAYgcbLb0yDQ6egFm6h3Mo1DcF9EkyXSRjjzdHbsulg01qhwWuXdOoUBuTkbQ80KDboXa0vFJ+BDH+g==", "dev": true, "license": "MIT", "peer": true, @@ -3298,9 +3308,9 @@ } }, "node_modules/jiti": { - "version": "1.21.6", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", - "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", + "version": "1.21.7", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", + "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", "dev": true, "license": "MIT", "peer": true, @@ -3399,14 +3409,17 @@ } }, "node_modules/lilconfig": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", - "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", + "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", "dev": true, "license": "MIT", "peer": true, "engines": { - "node": ">=10" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antonk52" } }, "node_modules/lines-and-columns": { @@ -3476,9 +3489,9 @@ "license": "ISC" }, "node_modules/magic-string": { - "version": "0.30.13", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.13.tgz", - "integrity": "sha512-8rYBO+MsWkgjDSOvLomYnzhdwEG51olQ4zL5KXnNJWV5MNmrb4rTZdrtkhxjnD/QyZUqR/Z/XDsUs/4ej2nx0g==", + "version": "0.30.17", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", + "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", "dev": true, "license": "MIT", "dependencies": { @@ -3513,6 +3526,16 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/math-intrinsics": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.0.0.tgz", + "integrity": "sha512-4MqMiKP90ybymYvsut0CH2g4XWbfLtmlCkXmtmdcDCxNB+mQcu1w/1+L/VD7vi/PSv7X2JYV7SCcR+jiPXnQtA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -3614,9 +3637,9 @@ } }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -3666,13 +3689,6 @@ "node": ">=0.10.0" } }, - "node_modules/nprogress": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/nprogress/-/nprogress-0.2.0.tgz", - "integrity": "sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA==", - "dev": true, - "license": "MIT" - }, "node_modules/nth-check": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", @@ -4021,20 +4037,6 @@ } } }, - "node_modules/postcss-load-config/node_modules/lilconfig": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", - "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", - "dev": true, - "license": "MIT", - "peer": true, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/antonk52" - } - }, "node_modules/postcss-nested": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz", @@ -4095,9 +4097,9 @@ } }, "node_modules/prettier": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", - "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "license": "MIT", "bin": { @@ -4260,9 +4262,9 @@ "license": "MIT" }, "node_modules/radix-vue": { - "version": "1.9.10", - "resolved": "https://registry.npmjs.org/radix-vue/-/radix-vue-1.9.10.tgz", - "integrity": "sha512-+4+J1v5A+4wbkyVr7VcjR1Zpm3K2hWJQCLgAiHSdrISaj+hPqYSeppP4yTnXQAI4B99myyihxkiC63YhTuvFBw==", + "version": "1.9.11", + "resolved": "https://registry.npmjs.org/radix-vue/-/radix-vue-1.9.11.tgz", + "integrity": "sha512-C+MtJ66jf8J28DO5bKgNwhGCi6WQYuEosD/tY/Orry9BTDcuF/Mps4HlFd2Tq4YlXF44BEPLQ2Paz89Mz70ZgA==", "dev": true, "license": "MIT", "dependencies": { @@ -4283,9 +4285,9 @@ } }, "node_modules/radix-vue/node_modules/nanoid": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.8.tgz", - "integrity": "sha512-TcJPw+9RV9dibz1hHUzlLVy8N4X9TnwirAjrU08Juo6BNKggzVfP2ZJ/3ZUSq15Xl5i85i+Z89XBO90pB2PghQ==", + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.9.tgz", + "integrity": "sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==", "dev": true, "funding": [ { @@ -4327,14 +4329,14 @@ } }, "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "version": "1.22.9", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.9.tgz", + "integrity": "sha512-QxrmX1DzraFIi9PxdG5VkRfRwIgjwyud+z/iBwfRRrVmHc+P9Q7u2lSSpQ6bjr2gy5lrqIiU9vb6iAeGf2400A==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -4406,9 +4408,9 @@ } }, "node_modules/rollup": { - "version": "4.27.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.27.3.tgz", - "integrity": "sha512-SLsCOnlmGt9VoZ9Ek8yBK8tAdmPHeppkw+Xa7yDlCEhDTvwYei03JlWo1fdc7YTfLZ4tD8riJCUyAgTbszk1fQ==", + "version": "4.28.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.28.1.tgz", + "integrity": "sha512-61fXYl/qNVinKmGSTHAZ6Yy8I3YIJC/r2m9feHo6SwVAVcLT5MPwOUFe7EuURA/4m0NR8lXG4BBXuo/IZEsjMg==", "dev": true, "license": "MIT", "dependencies": { @@ -4422,24 +4424,25 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.27.3", - "@rollup/rollup-android-arm64": "4.27.3", - "@rollup/rollup-darwin-arm64": "4.27.3", - "@rollup/rollup-darwin-x64": "4.27.3", - "@rollup/rollup-freebsd-arm64": "4.27.3", - "@rollup/rollup-freebsd-x64": "4.27.3", - "@rollup/rollup-linux-arm-gnueabihf": "4.27.3", - "@rollup/rollup-linux-arm-musleabihf": "4.27.3", - "@rollup/rollup-linux-arm64-gnu": "4.27.3", - "@rollup/rollup-linux-arm64-musl": "4.27.3", - "@rollup/rollup-linux-powerpc64le-gnu": "4.27.3", - "@rollup/rollup-linux-riscv64-gnu": "4.27.3", - "@rollup/rollup-linux-s390x-gnu": "4.27.3", - "@rollup/rollup-linux-x64-gnu": "4.27.3", - "@rollup/rollup-linux-x64-musl": "4.27.3", - "@rollup/rollup-win32-arm64-msvc": "4.27.3", - "@rollup/rollup-win32-ia32-msvc": "4.27.3", - "@rollup/rollup-win32-x64-msvc": "4.27.3", + "@rollup/rollup-android-arm-eabi": "4.28.1", + "@rollup/rollup-android-arm64": "4.28.1", + "@rollup/rollup-darwin-arm64": "4.28.1", + "@rollup/rollup-darwin-x64": "4.28.1", + "@rollup/rollup-freebsd-arm64": "4.28.1", + "@rollup/rollup-freebsd-x64": "4.28.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.28.1", + "@rollup/rollup-linux-arm-musleabihf": "4.28.1", + "@rollup/rollup-linux-arm64-gnu": "4.28.1", + "@rollup/rollup-linux-arm64-musl": "4.28.1", + "@rollup/rollup-linux-loongarch64-gnu": "4.28.1", + "@rollup/rollup-linux-powerpc64le-gnu": "4.28.1", + "@rollup/rollup-linux-riscv64-gnu": "4.28.1", + "@rollup/rollup-linux-s390x-gnu": "4.28.1", + "@rollup/rollup-linux-x64-gnu": "4.28.1", + "@rollup/rollup-linux-x64-musl": "4.28.1", + "@rollup/rollup-win32-arm64-msvc": "4.28.1", + "@rollup/rollup-win32-ia32-msvc": "4.28.1", + "@rollup/rollup-win32-x64-msvc": "4.28.1", "fsevents": "~2.3.2" } }, @@ -4480,24 +4483,6 @@ "node": ">=10" } }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "dev": true, - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -4522,16 +4507,73 @@ } }, "node_modules/side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", "dev": true, "license": "MIT", "dependencies": { - "call-bind": "^1.0.7", "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -4789,9 +4831,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.15.tgz", - "integrity": "sha512-r4MeXnfBmSOuKUWmXe6h2CcyfzJCEk4F0pptO5jlnYSIViUkVmsawj80N5h2lO3gwcmSb4n3PuN+e+GC1Guylw==", + "version": "3.4.17", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz", + "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==", "dev": true, "license": "MIT", "peer": true, @@ -4805,7 +4847,7 @@ "glob-parent": "^6.0.2", "is-glob": "^4.0.3", "jiti": "^1.21.6", - "lilconfig": "^2.1.0", + "lilconfig": "^3.1.3", "micromatch": "^4.0.8", "normalize-path": "^3.0.0", "object-hash": "^3.0.0", @@ -5128,9 +5170,9 @@ } }, "node_modules/vite-node": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.5.tgz", - "integrity": "sha512-rd0QIgx74q4S1Rd56XIiL2cYEdyWn13cunYBIuqh9mpmQr7gGS0IxXoP8R6OaZtNQQLyXSWbd4rXKYUbhFpK5w==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.8.tgz", + "integrity": "sha512-uPAwSr57kYjAUux+8E2j0q0Fxpn8M9VoyfGiRI8Kfktz9NcYMCenwY5RnZxnF1WTu3TGiYipirIzacLL3VVGFg==", "dev": true, "license": "MIT", "dependencies": { @@ -5183,19 +5225,19 @@ } }, "node_modules/vitest": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.5.tgz", - "integrity": "sha512-P4ljsdpuzRTPI/kbND2sDZ4VmieerR2c9szEZpjc+98Z9ebvnXmM5+0tHEKqYZumXqlvnmfWsjeFOjXVriDG7A==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.8.tgz", + "integrity": "sha512-1vBKTZskHw/aosXqQUlVWWlGUxSJR8YtiyZDJAFeW2kPAeX6S3Sool0mjspO+kXLuxVWlEDDowBAeqeAQefqLQ==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/expect": "2.1.5", - "@vitest/mocker": "2.1.5", - "@vitest/pretty-format": "^2.1.5", - "@vitest/runner": "2.1.5", - "@vitest/snapshot": "2.1.5", - "@vitest/spy": "2.1.5", - "@vitest/utils": "2.1.5", + "@vitest/expect": "2.1.8", + "@vitest/mocker": "2.1.8", + "@vitest/pretty-format": "^2.1.8", + "@vitest/runner": "2.1.8", + "@vitest/snapshot": "2.1.8", + "@vitest/spy": "2.1.8", + "@vitest/utils": "2.1.8", "chai": "^5.1.2", "debug": "^4.3.7", "expect-type": "^1.1.0", @@ -5207,7 +5249,7 @@ "tinypool": "^1.0.1", "tinyrainbow": "^1.2.0", "vite": "^5.0.0", - "vite-node": "2.1.5", + "vite-node": "2.1.8", "why-is-node-running": "^2.3.0" }, "bin": { @@ -5222,8 +5264,8 @@ "peerDependencies": { "@edge-runtime/vm": "*", "@types/node": "^18.0.0 || >=20.0.0", - "@vitest/browser": "2.1.5", - "@vitest/ui": "2.1.5", + "@vitest/browser": "2.1.8", + "@vitest/ui": "2.1.8", "happy-dom": "*", "jsdom": "*" }, diff --git a/vue/package.json b/vue/package.json index fe3f76a..a9c201f 100644 --- a/vue/package.json +++ b/vue/package.json @@ -1,6 +1,6 @@ { "name": "@inertiaui/modal-vue", - "version": "0.13.1", + "version": "0.14.0", "author": "Pascal Baljet ", "private": false, "license": "MIT", @@ -26,7 +26,7 @@ "test": "vitest" }, "devDependencies": { - "@inertiajs/vue3": "^1.2.0||^2.0.0-beta.1", + "@inertiajs/vue3": "^1.3.0||^2.0.0", "@vitejs/plugin-vue": "^5.0.0", "@vitest/coverage-v8": "^2.1.1", "@vitest/ui": "^2.1.1", @@ -48,7 +48,7 @@ "vue": "^3.4.x" }, "peerDependencies": { - "@inertiajs/vue3": "^1.2.0||^2.0.0-beta.1", + "@inertiajs/vue3": "^1.3.0||^2.0.0", "axios": "^1.6.0", "vue": "^3.4.x" }