@unchainedshop/admin-ui 4.5.0 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/{3a5eVLI85fVpycGePEu2L → 4R4_FCxNxvZw_XAhRC-kA}/_buildManifest.js +65 -61
- package/out/_next/static/chunks/003e4643471c4b6d.js +21 -0
- package/out/_next/static/chunks/{4834ec6ac33c6774.js → 00a3bff2b270c318.js} +2 -2
- package/out/_next/static/chunks/049e8a5a6c3a9d56.js +1 -0
- package/out/_next/static/chunks/{59c4f5af8c5f3336.js → 082ab3a1f1910856.js} +2 -2
- package/out/_next/static/chunks/091e9b99a2eb4b4e.js +471 -0
- package/out/_next/static/chunks/0a7036066d4a9367.js +1 -0
- package/out/_next/static/chunks/0ad72aeb247a93bf.js +18 -0
- package/out/_next/static/chunks/0b7e2dbf3863e501.js +8 -0
- package/out/_next/static/chunks/0f06fb41ae902fcd.js +10 -0
- package/out/_next/static/chunks/{10cc84c44c70940f.js → 0fd902fb3a6a2a69.js} +2 -2
- package/out/_next/static/chunks/{afe3660e6a4c68c9.js → 12587eb03cc97bcb.js} +5 -5
- package/out/_next/static/chunks/16b2a124e3ca7825.js +138 -0
- package/out/_next/static/chunks/1b6a09f9c0315b52.js +14 -0
- package/out/_next/static/chunks/1bc1cb9b0dc7ee81.js +2 -0
- package/out/_next/static/chunks/1d815b4154fd879c.js +1 -0
- package/out/_next/static/chunks/1ebef8e9f85897de.js +11 -0
- package/out/_next/static/chunks/{76526584207a694c.js → 1f337f1bc5e40b3e.js} +2 -2
- package/out/_next/static/chunks/230c65a06bfca8bc.js +16 -0
- package/out/_next/static/chunks/23101ef3fba29d4c.js +291 -0
- package/out/_next/static/chunks/23267f72d4c677bd.js +13 -0
- package/out/_next/static/chunks/{ea0ddd2cfc487efa.js → 2426adb87b9bc198.js} +2 -2
- package/out/_next/static/chunks/25e9bc627fb3a5e2.js +15 -0
- package/out/_next/static/chunks/2d4fd5e1ddff0d8a.js +12 -0
- package/out/_next/static/chunks/2f7504bae6a09e6d.js +137 -0
- package/out/_next/static/chunks/2fa4365353bc832c.js +14 -0
- package/out/_next/static/chunks/30811fbbe997036e.js +144 -0
- package/out/_next/static/chunks/{7ddea44a67e3f4d2.js → 320cc644938eb6e3.js} +63 -63
- package/out/_next/static/chunks/34d8d6ba548e747a.js +46 -0
- package/out/_next/static/chunks/3571c6e41584dddf.js +12 -0
- package/out/_next/static/chunks/366c06d5edeeb6fc.js +13 -0
- package/out/_next/static/chunks/37e7709afcc90bb6.js +18 -0
- package/out/_next/static/chunks/3980f673ad8c46eb.js +26 -0
- package/out/_next/static/chunks/3a0cdb3b15998b6b.js +132 -0
- package/out/_next/static/chunks/3a107da8db4a419b.js +15 -0
- package/out/_next/static/chunks/3b5b960ec3c1dde2.js +73 -0
- package/out/_next/static/chunks/3d2bb44387b00d5f.js +22 -0
- package/out/_next/static/chunks/3f7d99a0cc76b497.js +12 -0
- package/out/_next/static/chunks/41525e4f40bff529.js +1 -0
- package/out/_next/static/chunks/4175d4b789ee44f3.js +10 -0
- package/out/_next/static/chunks/421841bb42afc4be.js +1 -0
- package/out/_next/static/chunks/422ee02a73e2338c.js +342 -0
- package/out/_next/static/chunks/430a267b2d2f8d93.js +13 -0
- package/out/_next/static/chunks/{04be98027a2dc21d.js → 43ad9ee279363e7e.js} +2 -2
- package/out/_next/static/chunks/{cbced7e18621ef67.js → 444b5e10046fd993.js} +1 -1
- package/out/_next/static/chunks/44cc864453be04d0.js +5 -0
- package/out/_next/static/chunks/47c0f532d8c0a50a.js +1 -0
- package/out/_next/static/chunks/{75fea4846b0d1901.js → 48cce04f287c76fa.js} +5 -5
- package/out/_next/static/chunks/48d6a1be6d38f646.js +20 -0
- package/out/_next/static/chunks/492e9e9f81a4d037.js +23 -0
- package/out/_next/static/chunks/{ad8739afcbc536aa.js → 493f4e686d795f12.js} +2 -2
- package/out/_next/static/chunks/496d5d6ec78ca987.js +15 -0
- package/out/_next/static/chunks/4a30096edae6e148.js +81 -0
- package/out/_next/static/chunks/4b8061a707740e7d.js +1 -0
- package/out/_next/static/chunks/4dfd973aa778e2bf.js +58 -0
- package/out/_next/static/chunks/4e48099ef87e5231.js +71 -0
- package/out/_next/static/chunks/{fa367315d3daaa98.js → 50453ce161d2e3c3.js} +4 -4
- package/out/_next/static/chunks/516c5d42838b20d4.js +147 -0
- package/out/_next/static/chunks/524d043bdc9c45ed.js +111 -0
- package/out/_next/static/chunks/52bb95ecf48dacae.js +36 -0
- package/out/_next/static/chunks/53180c77bf1bc739.js +1 -0
- package/out/_next/static/chunks/53f314409521f64c.js +22 -0
- package/out/_next/static/chunks/5458003fdf33a49b.js +15 -0
- package/out/_next/static/chunks/{fe2b44ca7d9077b4.js → 553875c3687ce56b.js} +1 -1
- package/out/_next/static/chunks/579afb023750d2b5.js +8 -0
- package/out/_next/static/chunks/589ba731744b3bbb.js +1 -0
- package/out/_next/static/chunks/5a3b1caa9eeb3264.js +14 -0
- package/out/_next/static/chunks/{139f475a3b9f9d93.js → 5a4b1b68dccec912.js} +3 -3
- package/out/_next/static/chunks/5cc2513eaf268333.js +1 -0
- package/out/_next/static/chunks/5cd7bb2ff39b4594.js +1 -0
- package/out/_next/static/chunks/5e77dd248b5c9c6e.js +173 -0
- package/out/_next/static/chunks/6061aff66cb8e709.js +15 -0
- package/out/_next/static/chunks/606e549a9660bede.js +2 -0
- package/out/_next/static/chunks/62a88d1ec189f445.js +12 -0
- package/out/_next/static/chunks/67c5ce5ec36405ab.css +1 -0
- package/out/_next/static/chunks/69f004bf74f62380.js +26 -0
- package/out/_next/static/chunks/6a24d3e3f430cd09.js +16 -0
- package/out/_next/static/chunks/6c5066831a22f782.js +14 -0
- package/out/_next/static/chunks/6d471cc5cbfa0173.js +11 -0
- package/out/_next/static/chunks/6df21a55398055b0.js +1 -0
- package/out/_next/static/chunks/{95ce66067bd793c1.js → 6e7adaa6d233dba1.js} +1 -1
- package/out/_next/static/chunks/73bc11b01d76757c.js +101 -0
- package/out/_next/static/chunks/{8907db8e040efe5d.js → 74ec0d0eb52c7474.js} +3 -3
- package/out/_next/static/chunks/{d6033bf06b65e531.js → 75a0fa46e6b13f37.js} +3 -3
- package/out/_next/static/chunks/76cf755a9c8274a3.js +3 -0
- package/out/_next/static/chunks/782497c760b6c976.js +346 -0
- package/out/_next/static/chunks/79e63c78f38fd3b6.js +14 -0
- package/out/_next/static/chunks/7c2724c66cfbad91.js +1 -0
- package/out/_next/static/chunks/{51b61ef771da7be0.js → 7cefd616b1b6df16.js} +55 -104
- package/out/_next/static/chunks/7f2811f0564c94c7.js +7 -0
- package/out/_next/static/chunks/8021998b05fc1e49.js +1 -0
- package/out/_next/static/chunks/806fc56704287b43.js +90 -0
- package/out/_next/static/chunks/82410cc6bb9b907a.js +16 -0
- package/out/_next/static/chunks/824852d3d8f348c7.js +13 -0
- package/out/_next/static/chunks/82d7e55df083b141.js +50 -0
- package/out/_next/static/chunks/{310f57d562073c82.js → 8304045a8e3301e6.js} +2 -2
- package/out/_next/static/chunks/83df95a61ab53e0a.js +209 -0
- package/out/_next/static/chunks/841860da43e74da5.js +1 -0
- package/out/_next/static/chunks/{568e36a6544f49af.js → 8592c150370d9363.js} +1 -1
- package/out/_next/static/chunks/86a36c145cb81685.js +100 -0
- package/out/_next/static/chunks/887c7cdc7d9c3616.js +1 -0
- package/out/_next/static/chunks/88af33f57c0d6bbb.js +1 -0
- package/out/_next/static/chunks/{bea7d18bcfa278cc.js → 8a7c6e309feb454f.js} +2 -2
- package/out/_next/static/chunks/8ae22de32e4a9fae.js +15 -0
- package/out/_next/static/chunks/8bf50a7a16de5432.js +61 -0
- package/out/_next/static/chunks/8da435d94b20224d.js +2 -0
- package/out/_next/static/chunks/{c488f4183ef1e9e2.js → 8e8ba9e4c57f576c.js} +1 -1
- package/out/_next/static/chunks/8eb8aa4dbd1e97a4.js +1 -0
- package/out/_next/static/chunks/{5bcace73a8d9c6b0.js → 8f72aca434354e4f.js} +1 -1
- package/out/_next/static/chunks/8f8a42fc3a658f09.js +12 -0
- package/out/_next/static/chunks/911216b37df068f0.js +50 -0
- package/out/_next/static/chunks/92692394d04be049.js +1 -0
- package/out/_next/static/chunks/93ed26ea1ec243f1.js +13 -0
- package/out/_next/static/chunks/965bdf7743261653.js +5 -0
- package/out/_next/static/chunks/96a8ab43b5c5ad72.js +88 -0
- package/out/_next/static/chunks/{5763a0bcd3a13fa1.js → 9c09e6f647753146.js} +2 -2
- package/out/_next/static/chunks/9c4a3a5a42cb8c43.js +1 -0
- package/out/_next/static/chunks/9d64dabee2592951.js +1 -0
- package/out/_next/static/chunks/9e593024fd72713f.js +61 -0
- package/out/_next/static/chunks/9ebdb9c036427c47.js +101 -0
- package/out/_next/static/chunks/a07ce58daa89e354.js +342 -0
- package/out/_next/static/chunks/a087355d78d2d46f.js +12 -0
- package/out/_next/static/chunks/a175c6579466cb96.js +8 -0
- package/out/_next/static/chunks/a1dd19867fc87c86.js +13 -0
- package/out/_next/static/chunks/a22c73115bbddb45.js +178 -0
- package/out/_next/static/chunks/a27b5df48cc1079b.js +324 -0
- package/out/_next/static/chunks/a39e40fa902e805e.js +16 -0
- package/out/_next/static/chunks/a6a7cc6fba4cec34.js +20 -0
- package/out/_next/static/chunks/{12a85d4b9d6ed551.js → a7d8e15e4c6d1bb1.js} +11 -11
- package/out/_next/static/chunks/a7f103304201f44c.js +13 -0
- package/out/_next/static/chunks/{b22405aa65784fd1.js → a9623ad9095aa999.js} +2 -2
- package/out/_next/static/chunks/{08687e11efcba80d.js → aac8a0823d648ca4.js} +1 -1
- package/out/_next/static/chunks/{8cf6faffdff55492.js → ac1c0ce88d042d7b.js} +1 -1
- package/out/_next/static/chunks/acbe507f9726578c.js +5 -0
- package/out/_next/static/chunks/b1a25137954ecd81.js +15 -0
- package/out/_next/static/chunks/b1a365ae2ffa2d37.js +119 -0
- package/out/_next/static/chunks/b3137685555456c4.js +15 -0
- package/out/_next/static/chunks/b34678e690fcfd4f.js +13 -0
- package/out/_next/static/chunks/{3af9aa236831b333.js → b350bfa1b158d540.js} +1 -1
- package/out/_next/static/chunks/b46b07c553cbd014.js +1 -0
- package/out/_next/static/chunks/b4cfa7043c712110.js +13 -0
- package/out/_next/static/chunks/b6b0b82bf30ff269.js +19 -0
- package/out/_next/static/chunks/{7260c9ed446105c3.js → b86a988d652c1002.js} +2 -2
- package/out/_next/static/chunks/{d4e8f53e7a153ebf.js → b930222155336289.js} +62 -62
- package/out/_next/static/chunks/bb1f412e19d5fba0.js +16 -0
- package/out/_next/static/chunks/bc0e85787385345f.js +51 -0
- package/out/_next/static/chunks/bdbe2f0a93d5ccae.js +15 -0
- package/out/_next/static/chunks/be93f89956f05503.js +13 -0
- package/out/_next/static/chunks/bedb956d1ff325cf.js +13 -0
- package/out/_next/static/chunks/c10ab1c4641d1475.js +71 -0
- package/out/_next/static/chunks/c1c797c58bf2bcf3.js +14 -0
- package/out/_next/static/chunks/c61c8afe3f048af0.js +12 -0
- package/out/_next/static/chunks/{7f07ebadf2d95f2a.js → c844b9d8b2ef3845.js} +3 -3
- package/out/_next/static/chunks/ca1b851b74352f08.js +13 -0
- package/out/_next/static/chunks/{7a4db36836cf15f9.js → ca6824e16bd47f68.js} +2 -2
- package/out/_next/static/chunks/{c4eaa6f8c3f94ce6.js → ca96c6c93bc5b9ff.js} +1 -1
- package/out/_next/static/chunks/{3a32c0d7bf016b19.js → cac184fdec7f8092.js} +2 -2
- package/out/_next/static/chunks/{a82b5e0a9fd2af1b.js → ccb6281db9301492.js} +1 -1
- package/out/_next/static/chunks/cf22bd7f999c9730.js +1 -0
- package/out/_next/static/chunks/cfcd9d675f3e604d.js +44 -0
- package/out/_next/static/chunks/da2c8907ba5046b3.js +13 -0
- package/out/_next/static/chunks/db033daf6f68cb06.js +12 -0
- package/out/_next/static/chunks/{ca81d31d580397ca.js → db1309e70ffab17a.js} +2 -2
- package/out/_next/static/chunks/dc7555e46dfd342f.js +14 -0
- package/out/_next/static/chunks/{857fcfaa8ec5ff87.js → dddc02f5e3f90a22.js} +1 -1
- package/out/_next/static/chunks/{3c247fb4b62a4c6a.js → dfdf133aa9e1b8e1.js} +2 -2
- package/out/_next/static/chunks/e0fce858df0b1e41.js +13 -0
- package/out/_next/static/chunks/e1d1e16230797849.js +54 -0
- package/out/_next/static/chunks/e20c34f4033050f9.js +8 -0
- package/out/_next/static/chunks/e2832abce178498d.js +10 -0
- package/out/_next/static/chunks/{cf751731977de8a7.js → e2ea777b6b52d20c.js} +26 -26
- package/out/_next/static/chunks/{13ab0c90930f76c0.js → e4641e550815637f.js} +1 -1
- package/out/_next/static/chunks/e47e2b973c14240e.js +60 -0
- package/out/_next/static/chunks/e4fba946a6733841.js +15 -0
- package/out/_next/static/chunks/e6e1aeedff08580f.js +1 -0
- package/out/_next/static/chunks/{58df71393b1870e6.js → e8b5e32e38fdac95.js} +2 -2
- package/out/_next/static/chunks/e945e00d7cbb3e91.js +288 -0
- package/out/_next/static/chunks/{202781ff93ff3a35.js → ea2ae07eeb9e8d90.js} +2 -2
- package/out/_next/static/chunks/ebf7a27d045c3278.js +87 -0
- package/out/_next/static/chunks/ef3f1c3859f8002a.js +5 -0
- package/out/_next/static/chunks/f0193ab028453217.js +22 -0
- package/out/_next/static/chunks/f0da8016bbf55600.js +13 -0
- package/out/_next/static/chunks/f0fb0819c8aa562c.js +14 -0
- package/out/_next/static/chunks/f23f93c1d2a472c8.js +44 -0
- package/out/_next/static/chunks/f4bc4294d572d481.js +14 -0
- package/out/_next/static/chunks/f585cc7fc2c34888.js +5 -0
- package/out/_next/static/chunks/f6baf575a2275500.js +12 -0
- package/out/_next/static/chunks/{aa50958e40ffe559.js → fabd4425b0b9469a.js} +3 -3
- package/out/_next/static/chunks/fb5053e71935a6b0.js +200 -0
- package/out/_next/static/chunks/fbeb41892939ec57.js +12 -0
- package/out/_next/static/chunks/fd3a23f57617580c.js +7 -0
- package/out/_next/static/chunks/{fe2b047fdc80b492.js → fdced80698bf4fa8.js} +2 -2
- package/out/_next/static/chunks/fee55c0e8f07b2bf.js +288 -0
- package/out/_next/static/chunks/{70fd8910b0212107.js → ff8cd9737ad8a1f0.js} +2 -2
- package/out/_next/static/chunks/turbopack-0623c9eb08d4b277.js +4 -0
- package/out/_next/static/chunks/turbopack-0f80c36eadf0d553.js +4 -0
- package/out/_next/static/chunks/turbopack-1006733c229c0b78.js +4 -0
- package/out/_next/static/chunks/turbopack-126a1eaf861a06f7.js +4 -0
- package/out/_next/static/chunks/turbopack-1360a18f3afeaa59.js +4 -0
- package/out/_next/static/chunks/turbopack-146cef4c159b7c52.js +4 -0
- package/out/_next/static/chunks/turbopack-185a963802bcd371.js +4 -0
- package/out/_next/static/chunks/turbopack-19f750e47facd406.js +4 -0
- package/out/_next/static/chunks/turbopack-1fd3b236d6272742.js +4 -0
- package/out/_next/static/chunks/turbopack-2a7c044c3d0c1dd1.js +4 -0
- package/out/_next/static/chunks/turbopack-2a8579b8a376099a.js +4 -0
- package/out/_next/static/chunks/turbopack-3033d6cf16df0f09.js +4 -0
- package/out/_next/static/chunks/turbopack-3bfb41ce5f36bb2c.js +4 -0
- package/out/_next/static/chunks/turbopack-3c4a4525a4b0d520.js +4 -0
- package/out/_next/static/chunks/turbopack-3f41eb11c51b39a6.js +4 -0
- package/out/_next/static/chunks/turbopack-42920ff855b36fda.js +4 -0
- package/out/_next/static/chunks/turbopack-4905d034f67cd1a1.js +4 -0
- package/out/_next/static/chunks/turbopack-4974b1790de5d2cf.js +4 -0
- package/out/_next/static/chunks/turbopack-4e22287de347f2db.js +4 -0
- package/out/_next/static/chunks/turbopack-52809c72270128c0.js +4 -0
- package/out/_next/static/chunks/turbopack-5321b42731719aa0.js +4 -0
- package/out/_next/static/chunks/turbopack-5b2da744ab72f755.js +4 -0
- package/out/_next/static/chunks/turbopack-5bafa263acf1fcdd.js +4 -0
- package/out/_next/static/chunks/turbopack-5f682bd89a2a6b1f.js +4 -0
- package/out/_next/static/chunks/turbopack-6826dba1986b2fbf.js +4 -0
- package/out/_next/static/chunks/turbopack-6a4ed6e7069f7e10.js +4 -0
- package/out/_next/static/chunks/turbopack-710967a98ea59300.js +4 -0
- package/out/_next/static/chunks/turbopack-73460d96f73fcb10.js +4 -0
- package/out/_next/static/chunks/turbopack-780dd2688241a921.js +4 -0
- package/out/_next/static/chunks/turbopack-7e46a4f2f7de31e4.js +4 -0
- package/out/_next/static/chunks/turbopack-8064356710e2c5ce.js +4 -0
- package/out/_next/static/chunks/turbopack-82f9bd6745b5c2e7.js +4 -0
- package/out/_next/static/chunks/turbopack-86a21dc378e90952.js +4 -0
- package/out/_next/static/chunks/turbopack-8abcb49a46136bce.js +4 -0
- package/out/_next/static/chunks/turbopack-8fa5dfca2f9aba0d.js +4 -0
- package/out/_next/static/chunks/turbopack-91682ba005e23133.js +4 -0
- package/out/_next/static/chunks/turbopack-97a8d8bca127f2b4.js +4 -0
- package/out/_next/static/chunks/turbopack-991a2fb09f399f2b.js +4 -0
- package/out/_next/static/chunks/turbopack-9a593a4220f4c2d1.js +4 -0
- package/out/_next/static/chunks/turbopack-9ec8f39a69795795.js +4 -0
- package/out/_next/static/chunks/turbopack-b04e0af4044d6261.js +4 -0
- package/out/_next/static/chunks/turbopack-b172c723088be417.js +4 -0
- package/out/_next/static/chunks/turbopack-b2ecf59aff5ae247.js +4 -0
- package/out/_next/static/chunks/turbopack-b53ee2b5f29450b7.js +4 -0
- package/out/_next/static/chunks/turbopack-b72ff4afbe7cd2da.js +4 -0
- package/out/_next/static/chunks/turbopack-b92797a413303b84.js +4 -0
- package/out/_next/static/chunks/turbopack-bc6ef38f255f0565.js +4 -0
- package/out/_next/static/chunks/turbopack-c132ce116b7a155e.js +4 -0
- package/out/_next/static/chunks/turbopack-c3eaf9bdf8d35529.js +4 -0
- package/out/_next/static/chunks/turbopack-c55dd47b1f30d574.js +4 -0
- package/out/_next/static/chunks/turbopack-c7ea64a67495a61b.js +4 -0
- package/out/_next/static/chunks/turbopack-d3f046679e950cd0.js +4 -0
- package/out/_next/static/chunks/turbopack-d490f12f1c65a699.js +4 -0
- package/out/_next/static/chunks/turbopack-dbdca539895a8c69.js +4 -0
- package/out/_next/static/chunks/turbopack-e31824c793acf7f6.js +4 -0
- package/out/_next/static/chunks/turbopack-e4a27de85ef4882c.js +4 -0
- package/out/_next/static/chunks/turbopack-eecfbdbd2d6c682f.js +4 -0
- package/out/_next/static/chunks/turbopack-f3e96a11b3f0e45b.js +4 -0
- package/out/_next/static/chunks/turbopack-f4ac8216346ac3ed.js +4 -0
- package/out/_next/static/chunks/turbopack-f6c1e6a0168fae1b.js +4 -0
- package/out/_next/static/chunks/turbopack-f6efade6bac7735f.js +4 -0
- package/out/_next/static/chunks/turbopack-f9405d5d3d28bb89.js +4 -0
- package/out/_next/static/chunks/turbopack-fc2efafe768d9e9e.js +4 -0
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +11 -0
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +6 -6
- package/out/_next/static/chunks/00905c73a78a21dd.js +0 -147
- package/out/_next/static/chunks/01d02b25e90598b0.js +0 -2
- package/out/_next/static/chunks/02c10e276b3794d8.js +0 -1
- package/out/_next/static/chunks/02e2cd682442e708.js +0 -13
- package/out/_next/static/chunks/031de97c3f0e2b59.js +0 -1
- package/out/_next/static/chunks/085e068718f90d32.js +0 -15
- package/out/_next/static/chunks/0c4551c5db98ed12.js +0 -61
- package/out/_next/static/chunks/0ffbb5a41e7a0160.js +0 -13
- package/out/_next/static/chunks/15e898361425b60a.js +0 -8
- package/out/_next/static/chunks/1dcd6e5cd4771f52.js +0 -13
- package/out/_next/static/chunks/1e6117ff6ee5d1a8.js +0 -169
- package/out/_next/static/chunks/1f059608af6d1b3b.css +0 -1
- package/out/_next/static/chunks/244b8f024f0ec1fd.js +0 -13
- package/out/_next/static/chunks/245b1167bb6bde63.js +0 -3
- package/out/_next/static/chunks/256fd73425501dc6.js +0 -13
- package/out/_next/static/chunks/29f356784b5a3e67.js +0 -8
- package/out/_next/static/chunks/2e07a27c14c2a4b8.js +0 -81
- package/out/_next/static/chunks/2e0e12d676b0a890.js +0 -1
- package/out/_next/static/chunks/34050796b6c68779.js +0 -13
- package/out/_next/static/chunks/34e3dbda475d3f1e.js +0 -3
- package/out/_next/static/chunks/37267a2724e468c1.js +0 -13
- package/out/_next/static/chunks/380087a616841542.js +0 -384
- package/out/_next/static/chunks/3a272e7466a9d201.js +0 -12
- package/out/_next/static/chunks/3af024cfb92a8792.js +0 -178
- package/out/_next/static/chunks/3d79f3d54b6ae296.js +0 -87
- package/out/_next/static/chunks/3fa12a69fa60b9c5.js +0 -44
- package/out/_next/static/chunks/40112bf83aca468f.js +0 -58
- package/out/_next/static/chunks/413525eea33b273c.js +0 -471
- package/out/_next/static/chunks/48c737829c1f3c6d.js +0 -12
- package/out/_next/static/chunks/49c3599cf0d901eb.js +0 -7
- package/out/_next/static/chunks/4ca87bc2eb02bbd9.js +0 -15
- package/out/_next/static/chunks/4ce05af5adc40970.js +0 -12
- package/out/_next/static/chunks/4e0b72bb034a59f2.js +0 -5
- package/out/_next/static/chunks/4f304e27ee72d765.js +0 -13
- package/out/_next/static/chunks/51efc606a05f45f4.js +0 -3
- package/out/_next/static/chunks/5459c7ce895402f6.js +0 -15
- package/out/_next/static/chunks/550fb9b273a043a3.js +0 -50
- package/out/_next/static/chunks/5512980367472cba.js +0 -1
- package/out/_next/static/chunks/55c1eb73271ee81c.js +0 -12
- package/out/_next/static/chunks/55f254febd304417.js +0 -1
- package/out/_next/static/chunks/58d65e036f9bbded.js +0 -101
- package/out/_next/static/chunks/5aa818ac4d427076.js +0 -2
- package/out/_next/static/chunks/5b84a09b8a285bed.js +0 -214
- package/out/_next/static/chunks/5b861900a381b6d8.js +0 -14
- package/out/_next/static/chunks/5dcd388377c0ba72.js +0 -15
- package/out/_next/static/chunks/5ed6c71214d99aaa.js +0 -51
- package/out/_next/static/chunks/5f51aa6a6178c8b8.js +0 -1
- package/out/_next/static/chunks/6002d569df400f70.js +0 -13
- package/out/_next/static/chunks/64b70da5bbf61f40.js +0 -54
- package/out/_next/static/chunks/666bb1c1343c5a3a.js +0 -1
- package/out/_next/static/chunks/689f229f02e92ca8.js +0 -1
- package/out/_next/static/chunks/6942b062266cfb64.js +0 -54
- package/out/_next/static/chunks/6b9f9eac5e47eb0b.js +0 -18
- package/out/_next/static/chunks/6e9ba2d2ccf4a615.js +0 -15
- package/out/_next/static/chunks/72d8edce9e613802.js +0 -16
- package/out/_next/static/chunks/75f55b3f9ddea465.js +0 -26
- package/out/_next/static/chunks/7716d216533fbf13.js +0 -23
- package/out/_next/static/chunks/77ea7ac2051be889.js +0 -12
- package/out/_next/static/chunks/7806194e170f761f.js +0 -3
- package/out/_next/static/chunks/7b2379c03fe5119a.js +0 -46
- package/out/_next/static/chunks/7b876b18898bfef3.js +0 -36
- package/out/_next/static/chunks/7ba0ca47eb865c3e.js +0 -44
- package/out/_next/static/chunks/7e97bf640bf01281.js +0 -8
- package/out/_next/static/chunks/7f821c13241094a0.js +0 -26
- package/out/_next/static/chunks/804417d9221dec0b.js +0 -7
- package/out/_next/static/chunks/83c4b2c785d33921.js +0 -1
- package/out/_next/static/chunks/84df3e47026f0ff9.js +0 -260
- package/out/_next/static/chunks/8521ace1281a9271.js +0 -19
- package/out/_next/static/chunks/87e677d020ef8ad3.js +0 -22
- package/out/_next/static/chunks/88e592fb9134cd52.js +0 -1
- package/out/_next/static/chunks/89c0b9eae98fd2f9.js +0 -14
- package/out/_next/static/chunks/8a5f559fe8c1c489.js +0 -1
- package/out/_next/static/chunks/8a85d1a34842f474.js +0 -5
- package/out/_next/static/chunks/8f6698bd7762dd32.js +0 -10
- package/out/_next/static/chunks/91f158bdc18dbd39.js +0 -17
- package/out/_next/static/chunks/92e9cdd08480a504.js +0 -15
- package/out/_next/static/chunks/93551622f0e2fac7.js +0 -14
- package/out/_next/static/chunks/955c85fcfc19feab.js +0 -13
- package/out/_next/static/chunks/95ec958769c80141.js +0 -13
- package/out/_next/static/chunks/99c3456878f081a1.js +0 -1
- package/out/_next/static/chunks/9c01e902a5764567.js +0 -177
- package/out/_next/static/chunks/9f038274d30d2a57.js +0 -137
- package/out/_next/static/chunks/a31f7b3528e22647.js +0 -5
- package/out/_next/static/chunks/a66ae6f06537ef1e.js +0 -138
- package/out/_next/static/chunks/a75d3ac4ab6fc231.js +0 -12
- package/out/_next/static/chunks/a8e5bffcf4ef4c20.js +0 -15
- package/out/_next/static/chunks/a920ac15a2d594f7.js +0 -350
- package/out/_next/static/chunks/ac8a9b3b52565e1a.js +0 -344
- package/out/_next/static/chunks/ade3a44d41f1946f.js +0 -1
- package/out/_next/static/chunks/b093f18414d5236c.js +0 -39
- package/out/_next/static/chunks/b29b650c0174b782.js +0 -324
- package/out/_next/static/chunks/b34b4902bf5251c6.js +0 -1
- package/out/_next/static/chunks/b35962ad3916f370.js +0 -2
- package/out/_next/static/chunks/b749302e48077be0.js +0 -173
- package/out/_next/static/chunks/b8e5c90660b0182f.js +0 -10
- package/out/_next/static/chunks/b9764674b052456c.js +0 -20
- package/out/_next/static/chunks/b991d7108bc31ce8.js +0 -9
- package/out/_next/static/chunks/b9afa1474e7509d4.js +0 -1
- package/out/_next/static/chunks/bc146f16dc5ed99c.js +0 -1
- package/out/_next/static/chunks/bc1e8f4d82384ce5.js +0 -119
- package/out/_next/static/chunks/bcc615d3c2bb34d0.js +0 -8
- package/out/_next/static/chunks/bd3df90dcb095a8e.js +0 -1
- package/out/_next/static/chunks/befa1c0c3f618bae.js +0 -13
- package/out/_next/static/chunks/c1ec0f5dfc6e586c.js +0 -13
- package/out/_next/static/chunks/c396aa4364d43307.js +0 -1
- package/out/_next/static/chunks/c67b5639daded978.js +0 -101
- package/out/_next/static/chunks/c737b7dfa6fae933.js +0 -1
- package/out/_next/static/chunks/c76423af87b6cd70.js +0 -13
- package/out/_next/static/chunks/c7aebf8fb25b9bce.js +0 -16
- package/out/_next/static/chunks/ca429edad546a607.js +0 -288
- package/out/_next/static/chunks/cb1fbfc48958c8bf.js +0 -16
- package/out/_next/static/chunks/ce7626c677df8de2.js +0 -20
- package/out/_next/static/chunks/cfaf1820dd733c88.js +0 -15
- package/out/_next/static/chunks/cfbccdc2f1e10ebd.js +0 -16
- package/out/_next/static/chunks/d0deea0d4c18cb40.js +0 -5
- package/out/_next/static/chunks/d16fffc089f67622.js +0 -12
- package/out/_next/static/chunks/d1b20195f9650e9c.js +0 -11
- package/out/_next/static/chunks/d1d17dc54f1fbc98.js +0 -350
- package/out/_next/static/chunks/d3bac908fd5ca4b9.js +0 -15
- package/out/_next/static/chunks/d5012991ea2fe649.js +0 -14
- package/out/_next/static/chunks/d7832ad0847fb759.js +0 -12
- package/out/_next/static/chunks/d7dd8724bf32edde.js +0 -1
- package/out/_next/static/chunks/dcccbe6b602c1167.js +0 -1
- package/out/_next/static/chunks/dcdcdf9e4f182624.js +0 -1
- package/out/_next/static/chunks/e0a3318ef84a9a22.js +0 -15
- package/out/_next/static/chunks/e1a04f2b988c0127.js +0 -1
- package/out/_next/static/chunks/e1ce4026eec14b78.js +0 -15
- package/out/_next/static/chunks/e217b66dc868d845.js +0 -5
- package/out/_next/static/chunks/e47539c2a0895d7a.js +0 -15
- package/out/_next/static/chunks/e75c2ec63514d120.js +0 -21
- package/out/_next/static/chunks/e9dd9722915b85b8.js +0 -1
- package/out/_next/static/chunks/ea401c7d6c4c8018.js +0 -88
- package/out/_next/static/chunks/eafd0f7a9dfe11e3.js +0 -2
- package/out/_next/static/chunks/eb29ea901afbfc86.js +0 -16
- package/out/_next/static/chunks/ee8909f7ba044385.js +0 -54
- package/out/_next/static/chunks/ef59d90c8343c12d.js +0 -132
- package/out/_next/static/chunks/f506e086c9351617.js +0 -14
- package/out/_next/static/chunks/f55e5d6d11872239.js +0 -11
- package/out/_next/static/chunks/f62a9768f2112c4d.js +0 -2
- package/out/_next/static/chunks/f72257357d1663c1.js +0 -22
- package/out/_next/static/chunks/f75099eea82eb76c.js +0 -23
- package/out/_next/static/chunks/f92406dc6e3dd4f0.js +0 -10
- package/out/_next/static/chunks/faf99129142b62c2.js +0 -61
- package/out/_next/static/chunks/fb9a5ef46aee93ac.js +0 -1
- package/out/_next/static/chunks/fce6bd7a365b44ce.js +0 -110
- package/out/_next/static/chunks/fe3b66f8d2b73c1d.js +0 -15
- package/out/_next/static/chunks/ffa630f794b99a72.js +0 -14
- package/out/_next/static/chunks/turbopack-01cb3294c24a3ecc.js +0 -3
- package/out/_next/static/chunks/turbopack-0357eb7d99c5e24e.js +0 -3
- package/out/_next/static/chunks/turbopack-0805de2c19351876.js +0 -3
- package/out/_next/static/chunks/turbopack-0d20b1621e0cba79.js +0 -3
- package/out/_next/static/chunks/turbopack-0dfcc6f1f8e2dcfe.js +0 -3
- package/out/_next/static/chunks/turbopack-0e19d24ba254f756.js +0 -3
- package/out/_next/static/chunks/turbopack-10e1e7d7c0a8f31a.js +0 -3
- package/out/_next/static/chunks/turbopack-13aebffce322aac7.js +0 -3
- package/out/_next/static/chunks/turbopack-1543d2232ae8fb86.js +0 -3
- package/out/_next/static/chunks/turbopack-193a7b840702acb0.js +0 -3
- package/out/_next/static/chunks/turbopack-1b6e21d3fdca305c.js +0 -3
- package/out/_next/static/chunks/turbopack-1f5dfd8da62ecef6.js +0 -3
- package/out/_next/static/chunks/turbopack-20467086caf29a52.js +0 -3
- package/out/_next/static/chunks/turbopack-20b8c3e521a831e7.js +0 -3
- package/out/_next/static/chunks/turbopack-21cf2da835a50044.js +0 -3
- package/out/_next/static/chunks/turbopack-25fbec85946fc41a.js +0 -3
- package/out/_next/static/chunks/turbopack-2a2cfb76653d7c7c.js +0 -3
- package/out/_next/static/chunks/turbopack-2e9162d61eeaaab8.js +0 -3
- package/out/_next/static/chunks/turbopack-325f21b933f34d49.js +0 -3
- package/out/_next/static/chunks/turbopack-338a481ca8a42b9b.js +0 -3
- package/out/_next/static/chunks/turbopack-33cedfb0dce2cf4e.js +0 -3
- package/out/_next/static/chunks/turbopack-3795b8956bcc543a.js +0 -3
- package/out/_next/static/chunks/turbopack-3d9de24b858df62f.js +0 -3
- package/out/_next/static/chunks/turbopack-3dc53a5e7c0e2d96.js +0 -3
- package/out/_next/static/chunks/turbopack-3f4c74805764bbef.js +0 -3
- package/out/_next/static/chunks/turbopack-41776de8eec94593.js +0 -3
- package/out/_next/static/chunks/turbopack-484de5319fa4ecec.js +0 -3
- package/out/_next/static/chunks/turbopack-4955301f9669a83a.js +0 -3
- package/out/_next/static/chunks/turbopack-4c52a8e1ec8eb604.js +0 -3
- package/out/_next/static/chunks/turbopack-52f2cfd4e99de9b5.js +0 -3
- package/out/_next/static/chunks/turbopack-531e65952e160e35.js +0 -3
- package/out/_next/static/chunks/turbopack-55258898f7e1df38.js +0 -3
- package/out/_next/static/chunks/turbopack-580643c8878f324c.js +0 -3
- package/out/_next/static/chunks/turbopack-582e9c42d95204fc.js +0 -3
- package/out/_next/static/chunks/turbopack-61f546628b35ca7b.js +0 -3
- package/out/_next/static/chunks/turbopack-6a1917964a6a1924.js +0 -3
- package/out/_next/static/chunks/turbopack-6edf5a93dc6535fe.js +0 -3
- package/out/_next/static/chunks/turbopack-7727c901486100a8.js +0 -3
- package/out/_next/static/chunks/turbopack-8aad4847184445ee.js +0 -3
- package/out/_next/static/chunks/turbopack-8b91e9b4b0b09054.js +0 -3
- package/out/_next/static/chunks/turbopack-8edab547b7c15ef9.js +0 -3
- package/out/_next/static/chunks/turbopack-98af404d9c3efa32.js +0 -3
- package/out/_next/static/chunks/turbopack-998770c721c402e0.js +0 -3
- package/out/_next/static/chunks/turbopack-a00ae853ecf03d49.js +0 -3
- package/out/_next/static/chunks/turbopack-acd3e165fc135ce1.js +0 -3
- package/out/_next/static/chunks/turbopack-adea8e1228d9939b.js +0 -3
- package/out/_next/static/chunks/turbopack-b18b89191e8baac8.js +0 -3
- package/out/_next/static/chunks/turbopack-b60b0aa72f123c20.js +0 -3
- package/out/_next/static/chunks/turbopack-b8759646f9dac4cf.js +0 -3
- package/out/_next/static/chunks/turbopack-bd784b44cecf0590.js +0 -3
- package/out/_next/static/chunks/turbopack-bf6bd07e5bf1b352.js +0 -3
- package/out/_next/static/chunks/turbopack-c6729d744b67be29.js +0 -3
- package/out/_next/static/chunks/turbopack-c989e237cba219f2.js +0 -3
- package/out/_next/static/chunks/turbopack-ca9613caac33db55.js +0 -3
- package/out/_next/static/chunks/turbopack-ccfbfef3f09872f8.js +0 -3
- package/out/_next/static/chunks/turbopack-cf7aae33c87cefcf.js +0 -3
- package/out/_next/static/chunks/turbopack-d51ea41d29f2b480.js +0 -3
- package/out/_next/static/chunks/turbopack-ded481f51b77ebc0.js +0 -3
- package/out/_next/static/chunks/turbopack-e26afccf9f7d9ed5.js +0 -3
- package/out/_next/static/chunks/turbopack-e6f4a0ecb11dcc02.js +0 -3
- package/out/_next/static/chunks/turbopack-e9c52080703e0502.js +0 -3
- package/out/_next/static/chunks/turbopack-ee4ffb7e172991cc.js +0 -3
- /package/out/_next/static/{3a5eVLI85fVpycGePEu2L → 4R4_FCxNxvZw_XAhRC-kA}/_clientMiddlewareManifest.json +0 -0
- /package/out/_next/static/{3a5eVLI85fVpycGePEu2L → 4R4_FCxNxvZw_XAhRC-kA}/_ssgManifest.js +0 -0
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
value
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
`;e.s(["default",0,l])},33105,e=>{"use strict";var t=e.i(1415);let l=t.forwardRef(function({title:e,titleId:l,...i},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":l},i),e?t.createElement("title",{id:l},e):null,t.createElement("path",{fillRule:"evenodd",d:"M15.988 3.012A2.25 2.25 0 0 1 18 5.25v6.5A2.25 2.25 0 0 1 15.75 14H13.5V7A2.5 2.5 0 0 0 11 4.5H8.128a2.252 2.252 0 0 1 1.884-1.488A2.25 2.25 0 0 1 12.25 1h1.5a2.25 2.25 0 0 1 2.238 2.012ZM11.5 3.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v.25h-3v-.25Z",clipRule:"evenodd"}),t.createElement("path",{fillRule:"evenodd",d:"M2 7a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7Zm2 3.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm0 3.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))});e.s(["ClipboardDocumentListIcon",0,l],33105)},77254,
|
|
20
|
+
`;e.s(["default",0,l])},33105,e=>{"use strict";var t=e.i(1415);let l=t.forwardRef(function({title:e,titleId:l,...i},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":l},i),e?t.createElement("title",{id:l},e):null,t.createElement("path",{fillRule:"evenodd",d:"M15.988 3.012A2.25 2.25 0 0 1 18 5.25v6.5A2.25 2.25 0 0 1 15.75 14H13.5V7A2.5 2.5 0 0 0 11 4.5H8.128a2.252 2.252 0 0 1 1.884-1.488A2.25 2.25 0 0 1 12.25 1h1.5a2.25 2.25 0 0 1 2.238 2.012ZM11.5 3.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v.25h-3v-.25Z",clipRule:"evenodd"}),t.createElement("path",{fillRule:"evenodd",d:"M2 7a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7Zm2 3.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm0 3.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))});e.s(["ClipboardDocumentListIcon",0,l],33105)},77254,16835,e=>{"use strict";var t=e.i(69178),l=e.i(98183),i=e.i(11271),a=e.i(33105),s=e.i(89895),d=e.i(29252),r=e.i(43628),n=e.i(8295),u=e.i(1415),o=e.i(5858),c=e.i(17255),f=e.i(62010),x=e.i(23518),m=e.i(68686),p=e.i(5641),g=e.i(71983),h=e.i(13686);let v=g.gql`
|
|
21
21
|
fragment FilterTextsFragment on FilterTexts {
|
|
22
22
|
_id
|
|
23
23
|
locale
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
${v}
|
|
52
|
-
|
|
52
|
+
`;var y=e.i(11134),_=e.i(19372),w=e.i(12442),M=e.i(81312);let k=({filterId:e})=>{let{formatMessage:i}=(0,l.useIntl)(),{selectedLocale:a}=(0,M.default)(),{translatedFilterTexts:s,loading:d}=(({filterId:e=null,filterOptionValue:t=null})=>{let{data:l,loading:i,error:a}=(0,F.useQuery)(I,{variables:{filterId:e,filterOptionValue:t}});return{translatedFilterTexts:l?.translatedFilterTexts||[],loading:i,error:a}})({filterId:e}),{hasRole:r}=(0,_.default)(),n=i({id:"saved",defaultMessage:"Saved"}),{updateFilterTexts:g}=j(),h=async({title:t,subtitle:l})=>(await g({filterId:e,texts:[{locale:a,title:t,subtitle:l}]}),{success:!0}),v=(0,p.default)({submit:h,successMessage:n,initialValues:{title:"",subtitle:"",...!d&&s?.find(e=>e.locale===a)||{}}});return(0,u.useEffect)(()=>{let e=s?.find(e=>e.locale===a);v.formik.setValues({title:"",subtitle:"",...e||{}})},[s,a]),(0,t.jsx)(y.default,{documentationLabel:i({id:"text",defaultMessage:"Text"}),documentation:(0,t.jsx)(c.FormattedMessage,{id:"filter_text_form_description",defaultMessage:"<ul> <li>You can change the language of filter using the dropdown found at top left corner</li> </ul>",values:{ul:e=>(0,t.jsxs)("ul",{className:"space-y-1",children:[e," "]}),li:e=>(0,t.jsxs)("li",{children:[e," "]})}}),children:(0,t.jsx)(w.default,{children:(0,t.jsxs)(f.default,{form:v,className:"border-slate-300 dark:border-slate-800 pt-2 lg:shadow-sm",children:[(0,t.jsx)("div",{children:(0,t.jsx)(m.default,{name:"title",id:"title",label:i({id:"title",defaultMessage:"Title"}),autoComplete:"on",className:"mt-2 px-4 text-sm"})}),(0,t.jsx)("div",{children:(0,t.jsx)(m.default,{name:"subtitle",id:"subtitle",label:i({id:"subtitle",defaultMessage:"Subtitle"}),autoComplete:"on",className:"mt-5 px-4 text-sm"})}),r(o.IRoleAction.ManageFilters)&&(0,t.jsx)("div",{className:"flex bg-slate-100 dark:bg-slate-900 mt-5",children:(0,t.jsx)(x.default,{label:i({id:"update_filter",defaultMessage:"Update filter"}),className:"my-4 ml-auto mr-4"})})]})})})};var N=e.i(31891);let T=g.gql`
|
|
53
53
|
mutation CreateFilterOption(
|
|
54
54
|
$filterId: ID!
|
|
55
55
|
$option: String!
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
_id
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
|
|
62
|
+
`,$=g.gql`
|
|
63
63
|
fragment FilterOptionFragment on FilterOption {
|
|
64
64
|
_id
|
|
65
65
|
texts(forceLocale: $forceLocale) {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
}
|
|
71
71
|
value
|
|
72
72
|
}
|
|
73
|
-
`,
|
|
73
|
+
`,O=g.gql`
|
|
74
74
|
query FilterOptions($filterId: ID, $forceLocale: Locale) {
|
|
75
75
|
filter(filterId: $filterId) {
|
|
76
76
|
_id
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
${
|
|
83
|
-
`,
|
|
82
|
+
${$}
|
|
83
|
+
`,C=({onCancel:e,onSubmit:i})=>{let{formatMessage:a}=(0,l.useIntl)(),{hasRole:s}=(0,_.default)(),d=a({id:"filter_option_added_success",defaultMessage:"Filter option added successfully"}),r=(0,p.default)({submit:i,successMessage:d,initialValues:{title:"",value:""}});return(0,t.jsxs)(f.default,{form:r,children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(m.default,{name:"value",label:a({id:"filter_option_value",defaultMessage:"Value"}),required:!0}),(0,t.jsx)(m.default,{name:"title",label:a({id:"filter_option_title",defaultMessage:"Title"}),required:!0})]}),(0,t.jsxs)("div",{className:"mt-5 flex justify-end",children:[(0,t.jsx)("button",{onClick:e,type:"button",className:"mr-2 rounded-md border border-slate-100 dark:border-slate-700 bg-white dark:bg-slate-800 px-3 py-1 text-sm font-medium leading-5 text-slate-700 dark:text-slate-500 shadow-xs",children:a({id:"cancel",defaultMessage:"Cancel"})}),(0,t.jsx)("span",{className:"flex items-center",children:(0,t.jsx)(x.default,{className:"m-auto w-full",label:a({id:"add_filter_option",defaultMessage:"Add option"})})})]})]})},D=g.gql`
|
|
84
84
|
mutation RemoveFilterOption($filterId: ID!, $filterOptionValue: String!) {
|
|
85
85
|
removeFilterOption(
|
|
86
86
|
filterId: $filterId
|
|
@@ -89,14 +89,14 @@
|
|
|
89
89
|
_id
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
`;var
|
|
92
|
+
`;var q=e.i(17831),A=e.i(72670),V=e.i(22103),R=e.i(93734);let S=({filterId:e,option:i,onDelete:a})=>{let{formatMessage:s}=(0,l.useIntl)(),[d,r]=(0,u.useState)(!1),{selectedLocale:n}=(0,M.default)(),o=s({id:"saved",defaultMessage:"Saved"}),{updateFilterTexts:c}=j(),x=async({title:t,value:l,subtitle:i})=>(await c({filterId:e,filterOptionValue:l,texts:[{locale:n,title:t,subtitle:i}]}),r(!1),{success:!0}),g=(0,p.default)({submit:x,successMessage:o,initialValues:{title:"",subtitle:"",...i,...i?.texts}});return(0,t.jsx)(f.default,{form:g,children:(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("li",{className:"py-2 px-2",children:(0,t.jsxs)("div",{className:"flex justify-between items-center gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center flex-wrap gap-3",children:[(0,t.jsx)(A.default,{text:i?.value,color:"slate",square:!0,className:"break-all"}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-3",children:[(0,t.jsx)("div",{className:"truncate text-sm text-slate-900 dark:text-slate-200",children:d?(0,t.jsx)(m.default,{name:"title",required:!0,label:s({id:"title",defaultMessage:"Title"})}):i?.texts?.title}),(0,t.jsx)("div",{className:"truncate text-sm text-slate-500 dark:text-slate-200",children:d?(0,t.jsx)(m.default,{name:"subtitle",label:s({id:"subtitle",defaultMessage:"Subtitle"})}):i?.texts?.subtitle&&i?.texts?.subtitle})]})]}),(0,t.jsx)("div",{children:d?(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(R.default,{variant:"secondary",onClick:()=>r(!d),text:s({id:"cancel",defaultMessage:"Cancel"})}),(0,t.jsx)(R.default,{variant:"primary",disabled:!g.formik.isValid,onClick:g.formik.handleSubmit,text:s({id:"save",defaultMessage:"Save"})})]}):(0,t.jsx)(V.default,{onEdit:()=>{r(!d)},onDelete:()=>{a(i?.value)},showEdit:!0,showDelete:!0})})]})})})})},E=({filterId:e,options:i})=>{let{formatMessage:a}=(0,l.useIntl)(),{setModal:s}=(0,N.default)(),{selectedLocale:r}=(0,M.default)(),{removeFilterOption:n}=(()=>{let[e]=(0,h.useMutation)(D);return{removeFilterOption:async({filterId:t,filterOptionValue:l})=>e({variables:{filterOptionValue:l,filterId:t},refetchQueries:["FilterOptions"]})}})(),u=async l=>{await s((0,t.jsx)(q.default,{onCancelClick:async()=>s(""),message:a({id:"delete_filter_option_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this filter option? "}),onOkClick:async()=>{s(""),await n({filterId:e,filterOptionValue:l}),d.toast.success(a({id:"filter_deleted",defaultMessage:"Filter deleted successfully"}))},okText:a({id:"delete_filter_option",defaultMessage:"Delete option"})}))};return(0,t.jsx)("div",{children:(0,t.jsx)("ul",{className:"-my-5 divide-y divide-slate-200 dark:divide-slate-700 pb-3 ",children:i.map(l=>(0,t.jsx)(S,{filterId:e,option:l,onDelete:u},`${l._id}${r}`))})})},P=({filterId:e})=>{let{formatMessage:i}=(0,l.useIntl)(),{selectedLocale:a}=(0,M.default)(),{filterOptions:s}=(({filterId:e=null,locale:t}={})=>{let{data:l,loading:i,error:a}=(0,F.useQuery)(O,{skip:!e,variables:{filterId:e,forceLocale:t}});return{filterOptions:l?.filter?.options||[],loading:i,error:a}})({filterId:e,locale:a}),{setModal:d}=(0,N.default)(),{createFilterOption:r}=(()=>{let[e]=(0,h.useMutation)(T);return{createFilterOption:async({filterId:t,option:l,texts:i})=>e({variables:{filterId:t,option:l,texts:i},refetchQueries:["FilterOptions"]})}})(),{hasRole:n}=(0,_.default)(),u=async({value:t,title:l,subtitle:i})=>(await r({filterId:e,option:t,texts:[{title:l,locale:a,subtitle:i}]}),d(""),{success:!0});return(0,t.jsx)(y.default,{documentationLabel:i({id:"filer_options",defaultMessage:"Filter options"}),sideComponents:n(o.IRoleAction.ManageFilters)?(0,t.jsx)("button",{type:"button",onClick:()=>d((0,t.jsx)(C,{onSubmit:u,onCancel:()=>d("")})),className:"fixed top-0 right-0 z-10 mb-5 mt-5 mr-2 h-9 rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 px-3 py-1 text-sm font-medium leading-5 text-white shadow-xs hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 sm:fixed sm:top-auto sm:right-auto",children:i({id:"add_filter_option",defaultMessage:"Add option"})}):null,children:(0,t.jsx)("div",{className:"mt-8 w-full border-slate-300 dark:border-slate-800 p-3 sm:mt-0 shadow-md bg-white dark:bg-slate-900",children:(0,t.jsx)(E,{filterId:e,options:s})})})},L=({filterKey:e,filterType:i})=>{let{formatMessage:a}=(0,l.useIntl)();return(0,t.jsxs)("div",{className:"mt-5 flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"text-sm",children:a({id:"key",defaultMessage:"Key"})}),(0,t.jsx)("div",{className:"rounded-md border-1 border-slate-200 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 py-1 px-2 text-sm text-slate-700 dark:text-slate-200",children:e})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"text-sm",children:a({id:"filter_type",defaultMessage:"Filter Type"})}),(0,t.jsx)("div",{className:"rounded-md border-1 border-slate-200 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 py-1 px-2 text-sm text-slate-700 dark:text-slate-200",children:i})]})]})};var Q=e.i(35348);let U=g.gql`
|
|
93
93
|
mutation UpdateFilter($filter: UpdateFilterInput!, $filterId: ID!) {
|
|
94
94
|
updateFilter(filter: $filter, filterId: $filterId) {
|
|
95
95
|
...FilterFragment
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
${
|
|
99
|
-
`;var
|
|
98
|
+
${Q.default}
|
|
99
|
+
`;var Z=e.i(18596),B=e.i(47024);let K=({selectedView:e,id:l,...i})=>"text"===e?(0,t.jsx)(B.default,{children:(0,t.jsx)(k,{filterId:l})}):"options"===e?(0,t.jsx)(B.default,{children:(0,t.jsx)(P,{filterId:l})}):"extended"===e?(0,t.jsx)(Z.default,{data:i}):(0,t.jsx)(B.default,{children:(0,t.jsx)(k,{filterId:l})});e.s(["default",0,({filter:e,extendedData:u})=>{let{_id:o,isActive:c,key:f,type:x,created:m,updated:p}=e||{},{formatMessage:g,formatDate:v}=(0,l.useIntl)(),{updateFilter:b}=(()=>{let[e]=(0,h.useMutation)(U);return{updateFilter:async({filterId:t,filter:l})=>e({variables:{filter:l,filterId:t}})}})(),j=[{id:"text",title:g({id:"text",defaultMessage:"Text"}),Icon:(0,t.jsx)(i.DocumentTextIcon,{className:"h-5 w-5"})},{id:"options",title:g({id:"options",defaultMessage:"Options"}),Icon:(0,t.jsx)(a.ClipboardDocumentListIcon,{className:"h-5 w-5"})},null!==u&&{id:"extended",title:g({id:"extended-fields",defaultMessage:"Extended"}),Icon:(0,t.jsx)(s.PuzzlePieceIcon,{className:"h-5 w-5"})}].filter(Boolean),F=[{id:"activate",title:g({id:"activate",defaultMessage:"Activate"}),selectedTitle:g({id:"active",defaultMessage:"Active"}),onClick:async()=>{await b({filterId:o,filter:{isActive:!0}}),d.toast.success(g({id:"filter_activated",defaultMessage:"Filter activated!",description:"shown on successful toggle of filter status"}))},current:c,bgColor:"green"},{id:"deactivate",title:g({id:"deactivate",defaultMessage:"Deactivate"}),onClick:async()=>{await b({filterId:o,filter:{isActive:!1}}),d.toast.success(g({id:"filter_deactivated",defaultMessage:"Filter deactivated!",description:"shown on successful toggle of filter status"}))},selectedTitle:g({id:"deactivated",defaultMessage:"Deactivated"}),current:!c,bgColor:"slate"}];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("div",{children:(0,t.jsx)(L,{filterKey:f,filterType:x})}),(0,t.jsx)("div",{className:"self-end",children:(0,t.jsx)(r.default,{options:F,type:g({id:"filter",defaultMessage:"Filter"})})})]}),(0,t.jsx)(n.default,{tabItems:j,defaultTab:"text",children:(0,t.jsx)(K,{id:e?._id,...u})})]})}],77254);var z=e.i(90575);e.s(["default",0,({filterId:e=null}={})=>{let{customProperties:t,hydrateFragment:l}=(0,z.default)(),{data:i,loading:a,error:s}=(0,F.useQuery)(((e="")=>g.gql`
|
|
100
100
|
query Filter($filterId: ID) {
|
|
101
101
|
filter(filterId: $filterId) {
|
|
102
102
|
...FilterFragment
|
|
@@ -109,11 +109,11 @@
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
${
|
|
112
|
+
${Q.default}
|
|
113
113
|
`)(t?.Filter),{skip:!e,variables:{filterId:e}}),d=i?.filter,r=l(t?.Filter,d);return{filter:d,loading:a,error:s,extendedData:r}}],16835)},52917,e=>{"use strict";var t=e.i(71983),l=e.i(13686);let i=t.gql`
|
|
114
114
|
mutation RemoveFilter($filterId: ID!) {
|
|
115
115
|
removeFilter(filterId: $filterId) {
|
|
116
116
|
_id
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
`;e.s(["default",0,()=>{let[e]=(0,l.useMutation)(i);return{removeFilter:async({filterId:t})=>e({variables:{filterId:t},refetchQueries:["Filters"]})}}])},47897,e=>{"use strict";var t=e.i(69178),l=e.i(49061),i=e.i(5858),a=e.i(98183),s=e.i(29252),d=e.i(19372),r=e.i(23529),n=e.i(33362),u=e.i(51443),o=e.i(71588),c=e.i(77254),f=e.i(16835),x=e.i(52917),m=e.i(17831),p=e.i(31891);e.s(["default",0,({filterId:e})=>{let{formatMessage:g}=(0,a.useIntl)(),{setModal:h}=(0,p.default)(),v=(0,l.useRouter)(),{filter:b,loading:j,extendedData:F}=(0,f.default)({filterId:e}),{hasRole:I}=(0,d.default)(),{removeFilter:y}=(0,x.default)(),_=async()=>{await h((0,t.jsx)(m.default,{onCancelClick:async()=>h(""),message:g({id:"delete_filter_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this filter? "}),onOkClick:async()=>{h(""),await y({filterId:e}),s.toast.success(g({id:"filter_deleted",defaultMessage:"Filter deleted successfully"})),v.push("/filters")},okText:g({id:"delete_filter",defaultMessage:"Delete filter"})}))};return b||j?j?(0,t.jsx)(u.default,{}):(0,t.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,t.jsx)(r.default,{currentPageTitle:b?.key}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(o.default,{headerText:g({id:"filter_detail",defaultMessage:"Filter Detail"}),title:g({id:"filter_detail_title",defaultMessage:"Filter {id}"},{id:b?._id})}),I(i.IRoleAction.ManageFilters)&&(0,t.jsx)(n.default,{onClick:_})]}),(0,t.jsx)(c.default,{filter:b,extendedData:F})]}):(v.push("/404"),null)}])},84375,(e,t,l)=>{let i="/filters/FilterDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([i,()=>e.r(47897)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([i])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/
|
|
119
|
+
`;e.s(["default",0,()=>{let[e]=(0,l.useMutation)(i);return{removeFilter:async({filterId:t})=>e({variables:{filterId:t},refetchQueries:["Filters"]})}}])},47897,e=>{"use strict";var t=e.i(69178),l=e.i(49061),i=e.i(5858),a=e.i(98183),s=e.i(29252),d=e.i(19372),r=e.i(23529),n=e.i(33362),u=e.i(51443),o=e.i(71588),c=e.i(77254),f=e.i(16835),x=e.i(52917),m=e.i(17831),p=e.i(31891);e.s(["default",0,({filterId:e})=>{let{formatMessage:g}=(0,a.useIntl)(),{setModal:h}=(0,p.default)(),v=(0,l.useRouter)(),{filter:b,loading:j,extendedData:F}=(0,f.default)({filterId:e}),{hasRole:I}=(0,d.default)(),{removeFilter:y}=(0,x.default)(),_=async()=>{await h((0,t.jsx)(m.default,{onCancelClick:async()=>h(""),message:g({id:"delete_filter_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this filter? "}),onOkClick:async()=>{h(""),await y({filterId:e}),s.toast.success(g({id:"filter_deleted",defaultMessage:"Filter deleted successfully"})),v.push("/filters")},okText:g({id:"delete_filter",defaultMessage:"Delete filter"})}))};return b||j?j?(0,t.jsx)(u.default,{}):(0,t.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,t.jsx)(r.default,{currentPageTitle:b?.key}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(o.default,{headerText:g({id:"filter_detail",defaultMessage:"Filter Detail"}),title:g({id:"filter_detail_title",defaultMessage:"Filter {id}"},{id:b?._id})}),I(i.IRoleAction.ManageFilters)&&(0,t.jsx)(n.default,{onClick:_})]}),(0,t.jsx)(c.default,{filter:b,extendedData:F})]}):(v.push("/404"),null)}])},84375,(e,t,l)=>{let i="/filters/FilterDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([i,()=>e.r(47897)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([i])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/ca96c6c93bc5b9ff.js"].map(t=>e.l(t))).then(()=>t(64324)))},69209,e=>{e.v(t=>Promise.all(["static/chunks/aac8a0823d648ca4.js"].map(t=>e.l(t))).then(()=>t(3506)))}]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/country/new", [
|
|
2
|
+
"static/chunks/8a7c6e309feb454f.js",
|
|
3
|
+
"static/chunks/8021998b05fc1e49.js",
|
|
4
|
+
"static/chunks/3571c6e41584dddf.js",
|
|
5
|
+
"static/chunks/1bc1cb9b0dc7ee81.js",
|
|
6
|
+
"static/chunks/6450e0b75a6a8e0b.js",
|
|
7
|
+
"static/chunks/8592c150370d9363.js",
|
|
8
|
+
"static/chunks/f764df1e357b1af0.js",
|
|
9
|
+
"static/chunks/ef3f1c3859f8002a.js",
|
|
10
|
+
"static/chunks/47c0f532d8c0a50a.js",
|
|
11
|
+
"static/chunks/75a0fa46e6b13f37.js",
|
|
12
|
+
"static/chunks/turbopack-2a7c044c3d0c1dd1.js"
|
|
13
|
+
])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17362,(e,r,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i={VALID_LOADERS:function(){return s},imageConfigDefault:function(){return d}};for(var t in i)Object.defineProperty(a,t,{enumerable:!0,get:i[t]});let s=["default","imgix","cloudinary","akamai","custom"],d={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumRedirects:3,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1}},76648,(e,r,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let i=e.r(
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17362,(e,r,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i={VALID_LOADERS:function(){return s},imageConfigDefault:function(){return d}};for(var t in i)Object.defineProperty(a,t,{enumerable:!0,get:i[t]});let s=["default","imgix","cloudinary","akamai","custom"],d={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumRedirects:3,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1}},76648,(e,r,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let i=e.r(23726)._(e.r(1415)),t=e.r(17362),s=i.default.createContext(t.imageConfigDefault)},12442,e=>{"use strict";var r=e.i(69178),a=e.i(1415),i=e.i(13071);let t=(0,a.createContext)(!1);e.s(["FormWrapperContext",0,t,"default",0,({children:e,className:a=""})=>(0,r.jsx)(t.Provider,{value:!0,children:(0,r.jsx)("div",{className:"sm:max-w-full",children:(0,r.jsx)("div",{className:(0,i.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",a),children:e})})})])},82028,e=>{"use strict";var r=e.i(69178),a=e.i(13071),i=e.i(4142),t=e.i(88500);e.s(["default",0,e=>{let{options:s,...d}=(0,i.default)(e),{className:l}=e||{className:""};return(0,r.jsx)(t.default,{...d,children:(0,r.jsx)("div",{className:"select-wrap",children:(0,r.jsxs)("select",{className:(0,a.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-slate-300 dark:border-slate-700 py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800 sm:text-sm",l,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!d.error}),disabled:d.disabled,id:d.name,name:d.name,onChange:d.onChange,onBlur:d.onBlur,value:d.value,children:[(0,r.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:d.required,hidden:d.required,children:d.placeholder||d.label}),Object.entries(s).map(([e,a])=>(0,r.jsx)("option",{className:"dark:text-slate-200",value:e,children:a},e))]})})})}])},96459,e=>{"use strict";e.s(["default",0,(e,r,a)=>Object.assign({},...e?.map(e=>({[e[a]]:e[r]}))||[])])},90112,e=>{"use strict";var r=e.i(71983);let a=r.gql`
|
|
2
2
|
fragment AddressFragment on Address {
|
|
3
3
|
firstName
|
|
4
4
|
lastName
|
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
label
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
`;var b=e.i(34502);e.s(["default",0,()=>{let[e,c]=(0,a.useState)(i.IDeliveryProviderType.Shipping),{formatMessage:p}=(0,s.useIntl)(),{createDeliveryProvider:g}=(()=>{let[e,{data:r,error:a,loading:i}]=(0,v.useMutation)(m);return{createDeliveryProvider:async({deliveryProvider:{adapterKey:r,type:a}})=>e({variables:{deliveryProvider:{adapterKey:r,type:a}},refetchQueries:["DeliveryProviders","ShopStatus"]}),newDeliveryProvider:r?.createDeliveryProvider,loading:i,error:a}})(),{deliveryProviderType:h}=(0,b.default)(),{deliveryInterfaces:x}=(({providerType:e=null})=>{let{data:r,loading:a,error:i}=(0,y.useQuery)(f,{skip:!e,variables:{providerType:e}});return{deliveryInterfaces:r?.deliveryInterfaces||[],loading:a,error:i}})({providerType:e}),{hasRole:P}=(0,d.default)(),j=async({adapterKey:e,type:r})=>{let{data:a,error:i}=await g({deliveryProvider:{adapterKey:e,type:r}});return!i&&{success:!0,data:a?.createDeliveryProvider}},_=(0,t.useRouter)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.default,{}),(0,r.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,r.jsx)(n.default,{headerText:p({id:"new_delivery_provider",defaultMessage:"New delivery provider"})}),(0,r.jsx)("div",{className:"mt-6",children:(0,r.jsx)(o.default,{readOnly:!P(i.IRoleAction.ManageDeliveryProviders),providerInterfaces:(0,u.default)(x,"label","value"),providerTypes:(0,u.default)(h,"label","value"),onSubmit:j,onSubmitSuccess:(e,{_id:r})=>{_.replace(`/delivery-provider?deliveryProviderId=${r}`)},onProviderChange:e=>c(e)})})]})]})}],22372)},21633,(e,r,a)=>{let i="/delivery-provider/new";(window.__NEXT_P=window.__NEXT_P||[]).push([i,()=>e.r(22372)]),r.hot&&r.hot.dispose(function(){window.__NEXT_P.push([i])})},8233,e=>{e.v(r=>Promise.all(["static/chunks/
|
|
59
|
+
`;var b=e.i(34502);e.s(["default",0,()=>{let[e,c]=(0,a.useState)(i.IDeliveryProviderType.Shipping),{formatMessage:p}=(0,s.useIntl)(),{createDeliveryProvider:g}=(()=>{let[e,{data:r,error:a,loading:i}]=(0,v.useMutation)(m);return{createDeliveryProvider:async({deliveryProvider:{adapterKey:r,type:a}})=>e({variables:{deliveryProvider:{adapterKey:r,type:a}},refetchQueries:["DeliveryProviders","ShopStatus"]}),newDeliveryProvider:r?.createDeliveryProvider,loading:i,error:a}})(),{deliveryProviderType:h}=(0,b.default)(),{deliveryInterfaces:x}=(({providerType:e=null})=>{let{data:r,loading:a,error:i}=(0,y.useQuery)(f,{skip:!e,variables:{providerType:e}});return{deliveryInterfaces:r?.deliveryInterfaces||[],loading:a,error:i}})({providerType:e}),{hasRole:P}=(0,d.default)(),j=async({adapterKey:e,type:r})=>{let{data:a,error:i}=await g({deliveryProvider:{adapterKey:e,type:r}});return!i&&{success:!0,data:a?.createDeliveryProvider}},_=(0,t.useRouter)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.default,{}),(0,r.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,r.jsx)(n.default,{headerText:p({id:"new_delivery_provider",defaultMessage:"New delivery provider"})}),(0,r.jsx)("div",{className:"mt-6",children:(0,r.jsx)(o.default,{readOnly:!P(i.IRoleAction.ManageDeliveryProviders),providerInterfaces:(0,u.default)(x,"label","value"),providerTypes:(0,u.default)(h,"label","value"),onSubmit:j,onSubmitSuccess:(e,{_id:r})=>{_.replace(`/delivery-provider?deliveryProviderId=${r}`)},onProviderChange:e=>c(e)})})]})]})}],22372)},21633,(e,r,a)=>{let i="/delivery-provider/new";(window.__NEXT_P=window.__NEXT_P||[]).push([i,()=>e.r(22372)]),r.hot&&r.hot.dispose(function(){window.__NEXT_P.push([i])})},8233,e=>{e.v(r=>Promise.all(["static/chunks/ca96c6c93bc5b9ff.js"].map(r=>e.l(r))).then(()=>r(64324)))},69209,e=>{e.v(r=>Promise.all(["static/chunks/aac8a0823d648ca4.js"].map(r=>e.l(r))).then(()=>r(3506)))}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,3506,(e,t,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"default",{enumerable:!0,get:function(){return n}});let r=e.r(
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,3506,(e,t,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"default",{enumerable:!0,get:function(){return n}});let r=e.r(23726),l=e.r(69178),u=r._(e.r(1415)),a=e.r(96651);async function i({Component:e,ctx:t}){return{pageProps:await (0,a.loadGetInitialProps)(e,t)}}class n extends u.default.Component{static{this.origGetInitialProps=i}static{this.getInitialProps=i}render(){let{Component:e,pageProps:t}=this.props;return(0,l.jsx)(e,{...t})}}("function"==typeof o.default||"object"==typeof o.default&&null!==o.default)&&void 0===o.default.__esModule&&(Object.defineProperty(o.default,"__esModule",{value:!0}),Object.assign(o.default,o),t.exports=o.default)}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62458,t=>{"use strict";var e=t.i(69178),a=t.i(13071),o=t.i(49061),r=t.i(81907);t.s(["default",0,({toggleText:t="",toggleKey:n=null,onToggle:s=null,active:i=!1,className:l="",disabled:c=!1,...f})=>{let d=(0,o.useRouter)(),u=d?.query?.[n]==="true"||i;return(0,e.jsxs)("div",{className:(0,a.default)("",l),children:[(0,e.jsxs)("button",{id:n,disabled:c,type:"button",className:(0,a.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!u,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":u}),role:"switch",onClick:s||(()=>{let{skip:t,...e}=d.query;d.push({query:(0,r.normalizeQuery)(e,!u,n)})}),"aria-checked":u?"true":"false",...f,children:[(0,e.jsx)("span",{className:"sr-only",children:t}),(0,e.jsxs)("span",{className:(0,a.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":u,"translate-x-0":!u}),children:[(0,e.jsx)("span",{className:(0,a.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":u,"opacity-100 duration-200 ease-in":!u}),"aria-hidden":"true",children:(0,e.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,e.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,e.jsx)("span",{className:(0,a.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":u,"opacity-0 duration-100 ease-out":!u}),"aria-hidden":"true",children:(0,e.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,e.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,e.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,e.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:t})})]})}])},5411,t=>{"use strict";let e=t=>"[object Object]"===Object.prototype.toString.call(t);t.s(["extractQuery",0,t=>decodeURIComponent(t||[])?.split(",")?.filter(Boolean),"isObject",0,e,"isTruthy",0,t=>!(!t||null==t||e(t)&&!Object.keys(t).length||Array.isArray(t)&&!t.length)])},94388,(t,e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return i}});let o=t.r(1415),r="undefined"==typeof window,n=r?()=>{}:o.useLayoutEffect,s=r?()=>{}:o.useEffect;function i(t){let{headManager:e,reduceComponentsToState:a}=t;function i(){if(e&&e.mountedInstances){let t=o.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(a(t))}}return r&&(e?.mountedInstances?.add(t.children),i()),n(()=>(e?.mountedInstances?.add(t.children),()=>{e?.mountedInstances?.delete(t.children)})),n(()=>(e&&(e._pendingUpdate=i),()=>{e&&(e._pendingUpdate=i)})),s(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},84437,(t,e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o={default:function(){return m},defaultHead:function(){return d}};for(var r in o)Object.defineProperty(a,r,{enumerable:!0,get:o[r]});let n=t.r(11004),s=t.r(11080),i=t.r(69178),l=s._(t.r(1415)),c=n._(t.r(94388)),f=t.r(24312);function d(){return[(0,i.jsx)("meta",{charSet:"utf-8"},"charset"),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function u(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===l.default.Fragment?t.concat(l.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}t.r(59523);let y=["name","httpEquiv","charSet","itemProp"];function p(t){let e,a,o,r;return t.reduce(u,[]).reverse().concat(d().reverse()).filter((e=new Set,a=new Set,o=new Set,r={},t=>{let n=!0,s=!1;if(t.key&&"number"!=typeof t.key&&t.key.indexOf("$")>0){s=!0;let a=t.key.slice(t.key.indexOf("$")+1);e.has(a)?n=!1:e.add(a)}switch(t.type){case"title":case"base":a.has(t.type)?n=!1:a.add(t.type);break;case"meta":for(let e=0,a=y.length;e<a;e++){let a=y[e];if(t.props.hasOwnProperty(a))if("charSet"===a)o.has(a)?n=!1:o.add(a);else{let e=t.props[a],o=r[a]||new Set;("name"!==a||!s)&&o.has(e)?n=!1:(o.add(e),r[a]=o)}}}return n})).reverse().map((t,e)=>{let a=t.key||e;return l.default.cloneElement(t,{key:a})})}let m=function({children:t}){let e=(0,l.useContext)(f.HeadManagerContext);return(0,i.jsx)(c.default,{reduceComponentsToState:p,headManager:e,children:t})};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),e.exports=a.default)},13686,t=>{"use strict";var e=t.i(60097),a=t.i(1415),o=t.i(23009),r=t.i(12609);let n=t.i(9360).canUseDOM?a.useLayoutEffect:a.useEffect;var s=t.i(62497);function i(t,i){let c=(0,s.useApolloClient)(i?.client),[f,d]=a.useState(()=>l(c)),u=a.useRef({result:f,mutationId:0,isMounted:!0,client:c,mutation:t,options:i});n(()=>{Object.assign(u.current,{client:c,options:i,mutation:t})});let y=a.useCallback((t={})=>{let{options:a,mutation:n}=u.current,s={...a,mutation:n},i=t.client||u.current.client;!u.current.result.loading&&u.current.isMounted&&d(u.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:i});let l=++u.current.mutationId,c=(0,o.mergeOptions)(s,t);return(0,r.preventUnhandledRejection)(i.mutate(c).then(a=>{let{data:o,error:r}=a,n=t.onError||u.current.options?.onError;if(r&&n&&n(r,c),l===u.current.mutationId){let t={called:!0,loading:!1,data:o,error:r,client:i};u.current.isMounted&&!(0,e.equal)(u.current.result,t)&&d(u.current.result=t)}let s=t.onCompleted||u.current.options?.onCompleted;return r||s?.(a.data,c),a},a=>{if(l===u.current.mutationId&&u.current.isMounted){let t={loading:!1,error:a,data:void 0,called:!0,client:i};(0,e.equal)(u.current.result,t)||d(u.current.result=t)}let o=t.onError||u.current.options?.onError;throw o&&o(a,c),a}))},[]),p=a.useCallback(()=>{if(u.current.isMounted){let t=l(u.current.client);Object.assign(u.current,{mutationId:0,result:t}),d(t)}},[]);return a.useEffect(()=>{let t=u.current;return t.isMounted=!0,()=>{t.isMounted=!1}},[]),[y,{reset:p,...f}]}function l(t){return{data:void 0,error:void 0,called:!1,loading:!1,client:t}}t.s(["useMutation",()=>i],13686)},68034,t=>{"use strict";function e(){for(var t,e,a=0,o="",r=arguments.length;a<r;a++)(t=arguments[a])&&(e=function t(e){var a,o,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(a=0;a<n;a++)e[a]&&(o=t(e[a]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}(t))&&(o&&(o+=" "),o+=e);return o}t.s(["clsx",()=>e,"default",0,e])},29252,t=>{"use strict";var e=t.i(1415),a=t.i(68034);!function(t){if(!t||"undefined"==typeof document)return;let e=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",e.firstChild?e.insertBefore(a,e.firstChild):e.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62458,t=>{"use strict";var e=t.i(69178),a=t.i(13071),o=t.i(49061),r=t.i(81907);t.s(["default",0,({toggleText:t="",toggleKey:n=null,onToggle:s=null,active:i=!1,className:l="",disabled:c=!1,...f})=>{let d=(0,o.useRouter)(),u=d?.query?.[n]==="true"||i;return(0,e.jsxs)("div",{className:(0,a.default)("",l),children:[(0,e.jsxs)("button",{id:n,disabled:c,type:"button",className:(0,a.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!u,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":u}),role:"switch",onClick:s||(()=>{let{skip:t,...e}=d.query;d.push({query:(0,r.normalizeQuery)(e,!u,n)})}),"aria-checked":u?"true":"false",...f,children:[(0,e.jsx)("span",{className:"sr-only",children:t}),(0,e.jsxs)("span",{className:(0,a.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":u,"translate-x-0":!u}),children:[(0,e.jsx)("span",{className:(0,a.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":u,"opacity-100 duration-200 ease-in":!u}),"aria-hidden":"true",children:(0,e.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,e.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,e.jsx)("span",{className:(0,a.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":u,"opacity-0 duration-100 ease-out":!u}),"aria-hidden":"true",children:(0,e.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,e.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,e.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,e.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:t})})]})}])},5411,t=>{"use strict";let e=t=>"[object Object]"===Object.prototype.toString.call(t);t.s(["extractQuery",0,t=>decodeURIComponent(t||[])?.split(",")?.filter(Boolean),"isObject",0,e,"isTruthy",0,t=>!(!t||null==t||e(t)&&!Object.keys(t).length||Array.isArray(t)&&!t.length)])},94388,(t,e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return i}});let o=t.r(1415),r="undefined"==typeof window,n=r?()=>{}:o.useLayoutEffect,s=r?()=>{}:o.useEffect;function i(t){let{headManager:e,reduceComponentsToState:a}=t;function i(){if(e&&e.mountedInstances){let t=o.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(a(t))}}return r&&(e?.mountedInstances?.add(t.children),i()),n(()=>(e?.mountedInstances?.add(t.children),()=>{e?.mountedInstances?.delete(t.children)})),n(()=>(e&&(e._pendingUpdate=i),()=>{e&&(e._pendingUpdate=i)})),s(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},84437,(t,e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var o={default:function(){return m},defaultHead:function(){return d}};for(var r in o)Object.defineProperty(a,r,{enumerable:!0,get:o[r]});let n=t.r(23726),s=t.r(10902),i=t.r(69178),l=s._(t.r(1415)),c=n._(t.r(94388)),f=t.r(24312);function d(){return[(0,i.jsx)("meta",{charSet:"utf-8"},"charset"),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function u(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===l.default.Fragment?t.concat(l.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}t.r(59523);let y=["name","httpEquiv","charSet","itemProp"];function p(t){let e,a,o,r;return t.reduce(u,[]).reverse().concat(d().reverse()).filter((e=new Set,a=new Set,o=new Set,r={},t=>{let n=!0,s=!1;if(t.key&&"number"!=typeof t.key&&t.key.indexOf("$")>0){s=!0;let a=t.key.slice(t.key.indexOf("$")+1);e.has(a)?n=!1:e.add(a)}switch(t.type){case"title":case"base":a.has(t.type)?n=!1:a.add(t.type);break;case"meta":for(let e=0,a=y.length;e<a;e++){let a=y[e];if(t.props.hasOwnProperty(a))if("charSet"===a)o.has(a)?n=!1:o.add(a);else{let e=t.props[a],o=r[a]||new Set;("name"!==a||!s)&&o.has(e)?n=!1:(o.add(e),r[a]=o)}}}return n})).reverse().map((t,e)=>{let a=t.key||e;return l.default.cloneElement(t,{key:a})})}let m=function({children:t}){let e=(0,l.useContext)(f.HeadManagerContext);return(0,i.jsx)(c.default,{reduceComponentsToState:p,headManager:e,children:t})};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),e.exports=a.default)},13686,t=>{"use strict";var e=t.i(60097),a=t.i(1415),o=t.i(23009),r=t.i(12609);let n=t.i(9360).canUseDOM?a.useLayoutEffect:a.useEffect;var s=t.i(62497);function i(t,i){let c=(0,s.useApolloClient)(i?.client),[f,d]=a.useState(()=>l(c)),u=a.useRef({result:f,mutationId:0,isMounted:!0,client:c,mutation:t,options:i});n(()=>{Object.assign(u.current,{client:c,options:i,mutation:t})});let y=a.useCallback((t={})=>{let{options:a,mutation:n}=u.current,s={...a,mutation:n},i=t.client||u.current.client;!u.current.result.loading&&u.current.isMounted&&d(u.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:i});let l=++u.current.mutationId,c=(0,o.mergeOptions)(s,t);return(0,r.preventUnhandledRejection)(i.mutate(c).then(a=>{let{data:o,error:r}=a,n=t.onError||u.current.options?.onError;if(r&&n&&n(r,c),l===u.current.mutationId){let t={called:!0,loading:!1,data:o,error:r,client:i};u.current.isMounted&&!(0,e.equal)(u.current.result,t)&&d(u.current.result=t)}let s=t.onCompleted||u.current.options?.onCompleted;return r||s?.(a.data,c),a},a=>{if(l===u.current.mutationId&&u.current.isMounted){let t={loading:!1,error:a,data:void 0,called:!0,client:i};(0,e.equal)(u.current.result,t)||d(u.current.result=t)}let o=t.onError||u.current.options?.onError;throw o&&o(a,c),a}))},[]),p=a.useCallback(()=>{if(u.current.isMounted){let t=l(u.current.client);Object.assign(u.current,{mutationId:0,result:t}),d(t)}},[]);return a.useEffect(()=>{let t=u.current;return t.isMounted=!0,()=>{t.isMounted=!1}},[]),[y,{reset:p,...f}]}function l(t){return{data:void 0,error:void 0,called:!1,loading:!1,client:t}}t.s(["useMutation",()=>i],13686)},68034,t=>{"use strict";function e(){for(var t,e,a=0,o="",r=arguments.length;a<r;a++)(t=arguments[a])&&(e=function t(e){var a,o,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(a=0;a<n;a++)e[a]&&(o=t(e[a]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}(t))&&(o&&(o+=" "),o+=e);return o}t.s(["clsx",()=>e,"default",0,e])},29252,t=>{"use strict";var e=t.i(1415),a=t.i(68034);!function(t){if(!t||"undefined"==typeof document)return;let e=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",e.firstChild?e.insertBefore(a,e.firstChild):e.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
2
2
|
`);var o=t=>"number"==typeof t&&!isNaN(t),r=t=>"string"==typeof t||"function"==typeof t?t:null,n=t=>(0,e.isValidElement)(t)||"string"==typeof t||"function"==typeof t||o(t);function s({enter:t,exit:a,appendPosition:o=!1,collapse:r=!0,collapseDuration:n=300}){return function({children:s,position:i,preventExitTransition:l,done:c,nodeRef:f,isIn:d,playToast:u}){let y=o?`${t}--${i}`:t,p=o?`${a}--${i}`:a,m=(0,e.useRef)(0);return(0,e.useLayoutEffect)(()=>{let t=f.current,e=y.split(" "),a=o=>{o.target===f.current&&(u(),t.removeEventListener("animationend",a),t.removeEventListener("animationcancel",a),0===m.current&&"animationcancel"!==o.type&&t.classList.remove(...e))};t.classList.add(...e),t.addEventListener("animationend",a),t.addEventListener("animationcancel",a)},[]),(0,e.useEffect)(()=>{let t=f.current,e=()=>{t.removeEventListener("animationend",e),r?function(t,e,a=300){let{scrollHeight:o,style:r}=t;requestAnimationFrame(()=>{r.minHeight="initial",r.height=o+"px",r.transition=`all ${a}ms`,requestAnimationFrame(()=>{r.height="0",r.padding="0",r.margin="0",setTimeout(e,a)})})}(t,c,n):c()};d||(l?e():(m.current=1,t.className+=` ${p}`,t.addEventListener("animationend",e)))},[d]),e.default.createElement(e.default.Fragment,null,s)}}function i(t,e){return{content:l(t.content,t.props),containerId:t.props.containerId,id:t.props.toastId,theme:t.props.theme,type:t.props.type,data:t.props.data||{},isLoading:t.props.isLoading,icon:t.props.icon,reason:t.removalReason,status:e}}function l(t,a,o=!1){return(0,e.isValidElement)(t)&&"string"!=typeof t.type?(0,e.cloneElement)(t,{closeToast:a.closeToast,toastProps:a,data:a.data,isPaused:o}):"function"==typeof t?t({closeToast:a.closeToast,toastProps:a,data:a.data,isPaused:o}):t}function c({delay:t,isRunning:o,closeToast:r,type:n="default",hide:s,className:i,controlledProgress:l,progress:c,rtl:f,isIn:d,theme:u}){let y=s||l&&0===c,p={animationDuration:`${t}ms`,animationPlayState:o?"running":"paused"};l&&(p.transform=`scaleX(${c})`);let m=(0,a.default)("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${u}`,`Toastify__progress-bar--${n}`,{"Toastify__progress-bar--rtl":f}),g="function"==typeof i?i({rtl:f,type:n,defaultClassName:m}):(0,a.default)(m,i);return e.default.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":y},e.default.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${u} Toastify__progress-bar--${n}`}),e.default.createElement("div",{role:"progressbar","aria-hidden":y?"true":"false","aria-label":"notification timer",className:g,style:p,...{[l&&c>=1?"onTransitionEnd":"onAnimationEnd"]:l&&c<1?null:()=>{d&&r()}}}))}var f=1,d=()=>`${f++}`,u=new Map,y=[],p=new Set,m=t=>p.forEach(e=>e(t));function g(t,e){var a;if(e)return!!(null!=(a=u.get(e))&&a.isToastActive(t));let o=!1;return u.forEach(e=>{e.isToastActive(t)&&(o=!0)}),o}function _(t,e){n(t)&&(u.size>0||y.push({content:t,options:e}),u.forEach(a=>{a.buildToast(t,e)}))}function h(t,e){u.forEach(a=>{null!=e&&null!=e&&e.containerId&&(null==e?void 0:e.containerId)!==a.id||a.toggle(t,null==e?void 0:e.id)})}function b(t,e){return _(t,e),e.toastId}function v(t,e){var a;return{...e,type:e&&e.type||t,toastId:(a=e)&&("string"==typeof a.toastId||o(a.toastId))?a.toastId:d()}}function T(t){return(e,a)=>b(e,v(t,a))}function x(t,e){return b(t,v("default",e))}x.loading=(t,e)=>b(t,v("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...e})),x.promise=function(t,{pending:e,error:a,success:o},r){let n;e&&(n="string"==typeof e?x.loading(e,r):x.loading(e.render,{...r,...e}));let s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},i=(t,e,a)=>{if(null==e)return void x.dismiss(n);let o={type:t,...s,...r,data:a},i="string"==typeof e?{render:e}:e;return n?x.update(n,{...o,...i}):x(i.render,{...o,...i}),a},l="function"==typeof t?t():t;return l.then(t=>i("success",o,t)).catch(t=>i("error",a,t)),l},x.success=T("success"),x.info=T("info"),x.error=T("error"),x.warning=T("warning"),x.warn=x.warning,x.dark=(t,e)=>b(t,v("default",{theme:"dark",...e})),x.dismiss=function(t){!function(t){let e;if(!(u.size>0)){y=y.filter(e=>null!=t&&e.options.toastId!==t);return}if(null==t||"string"==typeof(e=t)||o(e))u.forEach(e=>{e.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){let e=u.get(t.containerId);e?e.removeToast(t.id):u.forEach(e=>{e.removeToast(t.id)})}}(t)},x.clearWaitingQueue=(t={})=>{u.forEach(e=>{e.props.limit&&(!t.containerId||e.id===t.containerId)&&e.clearQueue()})},x.isActive=g,x.update=(t,e={})=>{let a=((t,{containerId:e})=>{var a;return null==(a=u.get(e||1))?void 0:a.toasts.get(t)})(t,e);if(a){let{props:o,content:r}=a,n={delay:100,...o,...e,toastId:e.toastId||t,updateId:d()};n.toastId!==t&&(n.staleId=t);let s=n.render||r;delete n.render,b(s,n)}},x.done=t=>{x.update(t,{progress:1})},x.onChange=function(t){return p.add(t),()=>{p.delete(t)}},x.play=t=>h(!0,t),x.pause=t=>h(!1,t);var k="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,w=({theme:t,type:a,isLoading:o,...r})=>e.default.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${a})`,...r}),E={info:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(t){return e.default.createElement(w,{...t},e.default.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return e.default.createElement("div",{className:"Toastify__spinner"})}},I=t=>{let{isRunning:o,preventExitTransition:r,toastRef:n,eventHandlers:s,playToast:i}=function(t){var a,o;let[r,n]=(0,e.useState)(!1),[s,i]=(0,e.useState)(!1),l=(0,e.useRef)(null),c=(0,e.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:f,pauseOnHover:d,closeToast:y,onClick:p,closeOnClick:m}=t;function g(){n(!0)}function _(){n(!1)}function h(e){let a=l.current;if(c.canDrag&&a){c.didMove=!0,r&&_(),"x"===t.draggableDirection?c.delta=e.clientX-c.start:c.delta=e.clientY-c.start,c.start!==e.clientX&&(c.canCloseOnClick=!1);let o="x"===t.draggableDirection?`${c.delta}px, var(--y)`:`0, calc(${c.delta}px + var(--y))`;a.style.transform=`translate3d(${o},0)`,a.style.opacity=`${1-Math.abs(c.delta/c.removalDistance)}`}}function b(){document.removeEventListener("pointermove",h),document.removeEventListener("pointerup",b);let e=l.current;if(c.canDrag&&c.didMove&&e){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance){i(!0),t.closeToast(!0),t.collapseAll();return}e.style.transition="transform 0.2s, opacity 0.2s",e.style.removeProperty("transform"),e.style.removeProperty("opacity")}}a={id:t.toastId,containerId:t.containerId,fn:n},null==(o=u.get(a.containerId||1))||o.setToggle(a.id,a.fn),(0,e.useEffect)(()=>{if(t.pauseOnFocusLoss)return document.hasFocus()||_(),window.addEventListener("focus",g),window.addEventListener("blur",_),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",_)}},[t.pauseOnFocusLoss]);let v={onPointerDown:function(e){if(!0===t.draggable||t.draggable===e.pointerType){c.didMove=!1,document.addEventListener("pointermove",h),document.addEventListener("pointerup",b);let a=l.current;c.canCloseOnClick=!0,c.canDrag=!0,a.style.transition="none","x"===t.draggableDirection?(c.start=e.clientX,c.removalDistance=a.offsetWidth*(t.draggablePercent/100)):(c.start=e.clientY,c.removalDistance=a.offsetHeight*(80===t.draggablePercent?1.5*t.draggablePercent:t.draggablePercent)/100)}},onPointerUp:function(e){let{top:a,bottom:o,left:r,right:n}=l.current.getBoundingClientRect();"touchend"!==e.nativeEvent.type&&t.pauseOnHover&&e.clientX>=r&&e.clientX<=n&&e.clientY>=a&&e.clientY<=o?_():g()}};return f&&d&&(v.onMouseEnter=_,t.stacked||(v.onMouseLeave=g)),m&&(v.onClick=t=>{p&&p(t),c.canCloseOnClick&&y(!0)}),{playToast:g,pauseToast:_,isRunning:r,preventExitTransition:s,toastRef:l,eventHandlers:v}}(t),{closeButton:f,children:d,autoClose:y,onClick:p,type:m,hideProgressBar:g,closeToast:_,transition:h,position:b,className:v,style:T,progressClassName:x,updateId:k,role:w,progress:I,rtl:C,toastId:O,deleteToast:L,isIn:j,isLoading:z,closeOnClick:N,theme:P,ariaLabel:$}=t,M=(0,a.default)("Toastify__toast",`Toastify__toast-theme--${P}`,`Toastify__toast--${m}`,{"Toastify__toast--rtl":C},{"Toastify__toast--close-on-click":N}),R="function"==typeof v?v({rtl:C,position:b,type:m,defaultClassName:M}):(0,a.default)(M,v),A=function({theme:t,type:a,isLoading:o,icon:r}){let n=null,s={theme:t,type:a};return!1===r||("function"==typeof r?n=r({...s,isLoading:o}):(0,e.isValidElement)(r)?n=(0,e.cloneElement)(r,s):o?n=E.spinner():a in E&&(n=E[a](s))),n}(t),S=!!I||!y,B={closeToast:_,type:m,theme:P},D=null;return!1===f||(D="function"==typeof f?f(B):(0,e.isValidElement)(f)?(0,e.cloneElement)(f,B):function({closeToast:t,theme:a,ariaLabel:o="close"}){return e.default.createElement("button",{className:`Toastify__close-button Toastify__close-button--${a}`,type:"button",onClick:e=>{e.stopPropagation(),t(!0)},"aria-label":o},e.default.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},e.default.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(B)),e.default.createElement(h,{isIn:j,done:L,position:b,preventExitTransition:r,nodeRef:n,playToast:i},e.default.createElement("div",{id:O,tabIndex:0,onClick:p,"data-in":j,className:R,...s,style:T,ref:n,...j&&{role:w,"aria-label":$}},null!=A&&e.default.createElement("div",{className:(0,a.default)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!z})},A),l(d,t,!o),D,!t.customProgressBar&&e.default.createElement(c,{...k&&!S?{key:`p-${k}`}:{},rtl:C,theme:P,delay:y,isRunning:o,isIn:j,closeToast:_,hide:g,type:m,className:x,controlledProgress:S,progress:I||0})))},C=(t,e=!1)=>({enter:`Toastify--animate Toastify__${t}-enter`,exit:`Toastify--animate Toastify__${t}-exit`,appendPosition:e}),O=s(C("bounce",!0));s(C("slide",!0)),s(C("zoom")),s(C("flip"));var L={position:"top-right",transition:O,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:t=>t.altKey&&"KeyT"===t.code};function j(t){let s={...L,...t},l=t.stacked,[c,f]=(0,e.useState)(!0),d=(0,e.useRef)(null),{getToastToRender:p,isToastActive:h,count:b}=function(t){var a;let s,{subscribe:l,getSnapshot:c,setProps:f}=(0,e.useRef)((s=t.containerId||1,{subscribe(e){let a,l,c,f,d,p,g,h,b,v,T,x=(a=1,l=0,c=[],f=[],d=t,p=new Map,g=new Set,h=()=>{f=Array.from(p.values()),g.forEach(t=>t())},b=t=>{var e,a;null==(a=null==(e=t.props)?void 0:e.onClose)||a.call(e,t.removalReason),t.isActive=!1},v=t=>{if(null==t)p.forEach(b);else{let e=p.get(t);e&&b(e)}h()},T=t=>{var e,a;let{toastId:o,updateId:r}=t.props,n=null==r;t.staleId&&p.delete(t.staleId),t.isActive=!0,p.set(o,t),h(),m(i(t,n?"added":"updated")),n&&(null==(a=(e=t.props).onOpen)||a.call(e))},{id:s,props:d,observe:t=>(g.add(t),()=>g.delete(t)),toggle:(t,e)=>{p.forEach(a=>{var o;(null==e||e===a.props.toastId)&&(null==(o=a.toggle)||o.call(a,t))})},removeToast:v,toasts:p,clearQueue:()=>{l-=c.length,c=[]},buildToast:(t,e)=>{let f,u;if((({containerId:t,toastId:e,updateId:a})=>{let o=p.has(e)&&null==a;return(t?t!==s:1!==s)||o})(e))return;let{toastId:y,updateId:g,data:_,staleId:b,delay:x}=e,k=null==g;k&&l++;let w={...d,style:d.toastStyle,key:a++,...Object.fromEntries(Object.entries(e).filter(([t,e])=>null!=e)),toastId:y,updateId:g,data:_,isIn:!1,className:r(e.className||d.toastClassName),progressClassName:r(e.progressClassName||d.progressClassName),autoClose:!e.isLoading&&(f=e.autoClose,u=d.autoClose,!1===f||o(f)&&f>0?f:u),closeToast(t){p.get(y).removalReason=t,v(y)},deleteToast(){let t=p.get(y);if(null!=t){if(m(i(t,"removed")),p.delete(y),--l<0&&(l=0),c.length>0)return void T(c.shift());h()}}};w.closeButton=d.closeButton,!1===e.closeButton||n(e.closeButton)?w.closeButton=e.closeButton:!0===e.closeButton&&(w.closeButton=!n(d.closeButton)||d.closeButton);let E={content:t,props:w,staleId:b};d.limit&&d.limit>0&&l>d.limit&&k?c.push(E):o(x)?setTimeout(()=>{T(E)},x):T(E)},setProps(t){d=t},setToggle:(t,e)=>{let a=p.get(t);a&&(a.toggle=e)},isToastActive:t=>{var e;return null==(e=p.get(t))?void 0:e.isActive},getSnapshot:()=>f});u.set(s,x);let k=x.observe(e);return y.forEach(t=>_(t.content,t.options)),y=[],()=>{k(),u.delete(s)}},setProps(t){var e;null==(e=u.get(s))||e.setProps(t)},getSnapshot(){var t;return null==(t=u.get(s))?void 0:t.getSnapshot()}})).current;f(t);let d=null==(a=(0,e.useSyncExternalStore)(l,c,c))?void 0:a.slice();return{getToastToRender:function(e){if(!d)return[];let a=new Map;return t.newestOnTop&&d.reverse(),d.forEach(t=>{let{position:e}=t.props;a.has(e)||a.set(e,[]),a.get(e).push(t)}),Array.from(a,t=>e(t[0],t[1]))},isToastActive:g,count:null==d?void 0:d.length}}(s),{className:v,style:T,rtl:w,containerId:E,hotKeys:C}=s;function O(){l&&(f(!0),x.play())}return k(()=>{var t;if(l){let e=d.current.querySelectorAll('[data-in="true"]'),a=null==(t=s.position)?void 0:t.includes("top"),o=0,r=0;Array.from(e).reverse().forEach((t,e)=>{t.classList.add("Toastify__toast--stacked"),e>0&&(t.dataset.collapsed=`${c}`),t.dataset.pos||(t.dataset.pos=a?"top":"bot");let n=o*(c?.2:1)+(c?0:12*e);t.style.setProperty("--y",`${a?n:-1*n}px`),t.style.setProperty("--g","12"),t.style.setProperty("--s",`${1-(c?r:0)}`),o+=t.offsetHeight,r+=.025})}},[c,b,l]),(0,e.useEffect)(()=>{function t(t){var e;let a=d.current;C(t)&&(null==(e=a.querySelector('[tabIndex="0"]'))||e.focus(),f(!1),x.pause()),"Escape"===t.key&&(document.activeElement===a||null!=a&&a.contains(document.activeElement))&&(f(!0),x.play())}return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[C]),e.default.createElement("section",{ref:d,className:"Toastify",id:E,onMouseEnter:()=>{l&&(f(!1),x.pause())},onMouseLeave:O,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":s["aria-label"]},p((t,o)=>{var n;let s,i=o.length?{...T}:{...T,pointerEvents:"none"};return e.default.createElement("div",{tabIndex:-1,className:(n=t,s=(0,a.default)("Toastify__toast-container",`Toastify__toast-container--${n}`,{"Toastify__toast-container--rtl":w}),"function"==typeof v?v({position:n,rtl:w,defaultClassName:s}):(0,a.default)(s,r(v))),"data-stacked":l,style:i,key:`c-${t}`},o.map(({content:t,props:a})=>e.default.createElement(I,{...a,stacked:l,collapseAll:O,isIn:h(a.toastId,a.containerId),key:`t-${a.key}`},t)))}))}t.s(["ToastContainer",()=>j,"toast",()=>x])},12609,t=>{"use strict";function e(t){return t.catch(()=>{}),t}t.s(["preventUnhandledRejection",()=>e])},81907,t=>{"use strict";let e=()=>({formatPrice:t=>{if(!t?.currencyCode)return"n/a";if(t?.amount===void 0||t?.amount===null)return"";let{amount:e,currencyCode:a}=t||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:a}).format(e/100)}}),a=t=>t?.label&&t?.version?`${t.label} ${t.version}`:"",o=(...t)=>t.filter(Boolean).join(" "),r=(t,e,a=!0)=>{if(!e)return"";try{return`${new Intl.DisplayNames([t],{type:"region"}).of(e)} ${a?`(${e})`:""}`}catch{return e}},n=(t,e,a=!0)=>{if(!e)return"";try{return`${new Intl.DisplayNames([t],{type:"language"}).of(e)} ${a?`(${e})`:""}`}catch{return e}},s=(t,e,a=!0)=>{if(!e)return"";try{return`${new Intl.DisplayNames([t],{type:"currency"}).of(e)} ${a?`(${e})`:""}`}catch{return e}},i=t=>t&&t?.split(",").reduce((t,e)=>{let[a=null,o=null]=(e||"")?.split("_")||[];return{...t,[a]:o}},null)||{},l=(t,e,a)=>{let o;return o=a?{...t,[a]:e}:t,Object.keys(o)?.map(t=>[t,o[t]].join("="))?.join("&")};t.s(["classNames",()=>o,"convertSortFieldsToQueryFormat",0,t=>Object.entries(i(t))?.map(([t,e])=>({key:t,value:e})),"getInterfaceLabel",()=>a,"getSortKeys",()=>i,"normalizeCountryISOCode",()=>r,"normalizeCurrencyISOCode",()=>s,"normalizeLanguageISOCode",()=>n,"normalizeQuery",()=>l,"useFormatPrice",()=>e])},12442,t=>{"use strict";var e=t.i(69178),a=t.i(1415),o=t.i(13071);let r=(0,a.createContext)(!1);t.s(["FormWrapperContext",0,r,"default",0,({children:t,className:a=""})=>(0,e.jsx)(r.Provider,{value:!0,children:(0,e.jsx)("div",{className:"sm:max-w-full",children:(0,e.jsx)("div",{className:(0,o.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",a),children:t})})})])},68686,t=>{"use strict";var e=t.i(69178),a=t.i(13071),o=t.i(19892),r=t.i(4142),n=t.i(88500);t.s(["default",0,({maxLength:t=0,validators:s=[],...i})=>{let l=(0,r.default)({validators:[...s,t&&(0,o.validateMaxLength)(t)],...i});return(0,e.jsx)(n.default,{...l,children:(0,e.jsx)("input",{className:(0,a.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!l.error,"border-slate-300 placeholder-slate-400":!l.error}),disabled:l.disabled,id:l.name,name:l.name,onChange:l.onChange,onClick:t=>{t.stopPropagation()},onBlur:l.onBlur,placeholder:l.placeholder,autoComplete:l.autoComplete||"off",type:l.type||"text",value:l.value,autoFocus:l.autoFocus})})}])}]);
|