@unchainedshop/admin-ui 4.6.1 → 4.6.2
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/{4R4_FCxNxvZw_XAhRC-kA → _wcic5Y3loPdQD9mT3zos}/_buildManifest.js +62 -62
- package/out/_next/static/chunks/{4a30096edae6e148.js → 0051e9c34432b0c6.js} +1 -1
- package/out/_next/static/chunks/04258b01517d0f9e.js +13 -0
- package/out/_next/static/chunks/{48cce04f287c76fa.js → 04afca2441229ae6.js} +8 -8
- package/out/_next/static/chunks/0592edfeb1a20ed1.js +1 -0
- package/out/_next/static/chunks/0644143aefa7f14a.js +2 -0
- package/out/_next/static/chunks/0ce5ae8f9ed0754d.js +14 -0
- package/out/_next/static/chunks/{f98be5df0ea84e80.js → 0d9ed91755412d86.js} +1 -1
- package/out/_next/static/chunks/10bed648b282ce94.js +13 -0
- package/out/_next/static/chunks/{e945e00d7cbb3e91.js → 118438252cfc0bd0.js} +3 -3
- package/out/_next/static/chunks/{e0fce858df0b1e41.js → 11cd557e3749cb8b.js} +1 -1
- package/out/_next/static/chunks/146788ff8891517b.js +15 -0
- package/out/_next/static/chunks/157c3fa07e18f5c7.js +12 -0
- package/out/_next/static/chunks/1642b1f34238906c.js +1 -0
- package/out/_next/static/chunks/164ecf9a73b6b4d2.js +5 -0
- package/out/_next/static/chunks/18a777407d3164bc.js +2 -0
- package/out/_next/static/chunks/1b8928b23c220769.js +1 -0
- package/out/_next/static/chunks/1c4ebf0533a6f94b.js +15 -0
- package/out/_next/static/chunks/{23101ef3fba29d4c.js → 1ccb09e78f959ee0.js} +3 -3
- package/out/_next/static/chunks/{3a0cdb3b15998b6b.js → 200d3bc314898b66.js} +2 -2
- package/out/_next/static/chunks/{911216b37df068f0.js → 22b923c43d3aa7cd.js} +2 -2
- package/out/_next/static/chunks/22d51f661194d303.js +14 -0
- package/out/_next/static/chunks/{8a7c6e309feb454f.js → 23ea2d1feef9e998.js} +1 -1
- package/out/_next/static/chunks/25919830eaf2f4e0.js +1 -0
- package/out/_next/static/chunks/{6450e0b75a6a8e0b.js → 259b3147fc998da8.js} +1 -1
- package/out/_next/static/chunks/{230c65a06bfca8bc.js → 25aa5dcd9d2108f9.js} +1 -1
- package/out/_next/static/chunks/2bd8be232a656040.js +1 -0
- package/out/_next/static/chunks/2cb02acde7961c0f.js +13 -0
- package/out/_next/static/chunks/2e57a61928767e1c.js +14 -0
- package/out/_next/static/chunks/{9ebdb9c036427c47.js → 2f0946cb79a66863.js} +1 -1
- package/out/_next/static/chunks/31383dc5ad51cb1a.js +14 -0
- package/out/_next/static/chunks/{887c7cdc7d9c3616.js → 3180e23f59291e6b.js} +1 -1
- package/out/_next/static/chunks/{db1309e70ffab17a.js → 322fd29364e46f13.js} +1 -1
- package/out/_next/static/chunks/324869c4943f493c.js +14 -0
- package/out/_next/static/chunks/{34d8d6ba548e747a.js → 325bf7748981cb5b.js} +1 -1
- package/out/_next/static/chunks/330837992d56bd8a.js +1 -0
- package/out/_next/static/chunks/{a27b5df48cc1079b.js → 3313431063047e6d.js} +2 -2
- package/out/_next/static/chunks/3398dc70e287e1b3.js +5 -0
- package/out/_next/static/chunks/34cdee51a883e092.js +1 -0
- package/out/_next/static/chunks/{9c09e6f647753146.js → 36cdb6dcab6e9762.js} +1 -1
- package/out/_next/static/chunks/{bc0e85787385345f.js → 36d8074195cb4e6d.js} +1 -1
- package/out/_next/static/chunks/37a7b0184a6f532d.js +15 -0
- package/out/_next/static/chunks/38200c8cb2429294.js +1 -0
- package/out/_next/static/chunks/{493f4e686d795f12.js → 3a187b0dc891f9a3.js} +2 -2
- package/out/_next/static/chunks/{82d7e55df083b141.js → 3c92e6cdacf97d33.js} +1 -1
- package/out/_next/static/chunks/3e3146b28645dbf3.js +1 -0
- package/out/_next/static/chunks/3e3aae833d48534d.js +111 -0
- package/out/_next/static/chunks/3f70b074fe0cb7eb.js +5 -0
- package/out/_next/static/chunks/40753fe032e64b67.js +1 -0
- package/out/_next/static/chunks/41e527773c5dca54.js +71 -0
- package/out/_next/static/chunks/43314db8130f3e6e.js +10 -0
- package/out/_next/static/chunks/4555c6599c51b673.js +14 -0
- package/out/_next/static/chunks/46260326ae6424cd.js +18 -0
- package/out/_next/static/chunks/{e1d1e16230797849.js → 46d78c2426dc6443.js} +1 -1
- package/out/_next/static/chunks/{8bf50a7a16de5432.js → 46e3a705a7ded479.js} +1 -1
- package/out/_next/static/chunks/49c2baa6b1e8134d.js +178 -0
- package/out/_next/static/chunks/4ad2124482cfe6d4.js +12 -0
- package/out/_next/static/chunks/{fee55c0e8f07b2bf.js → 4b4c5d792f1f40cb.js} +1 -1
- package/out/_next/static/chunks/4b5f64c67aa70a77.js +1 -0
- package/out/_next/static/chunks/4c5ecbab28345efa.js +1 -0
- package/out/_next/static/chunks/4db79e826af39e32.js +2 -0
- package/out/_next/static/chunks/4f810ce035ebc0e5.js +2 -0
- package/out/_next/static/chunks/4fca6a4e23b2844c.js +8 -0
- package/out/_next/static/chunks/51426d09d291326f.js +8 -0
- package/out/_next/static/chunks/517ea2cf7e5aaa2e.js +1 -0
- package/out/_next/static/chunks/51f135de2961686b.js +11 -0
- package/out/_next/static/chunks/544571f944ab247c.js +7 -0
- package/out/_next/static/chunks/556b12b89f01fbcb.js +13 -0
- package/out/_next/static/chunks/{ebf7a27d045c3278.js → 5578242c14928c74.js} +1 -1
- package/out/_next/static/chunks/56821b9bd58d6cb5.js +14 -0
- package/out/_next/static/chunks/580f9e5b1548023c.js +13 -0
- package/out/_next/static/chunks/59de3ca12ac3e821.js +18 -0
- package/out/_next/static/chunks/5a297caf182b5914.js +2 -0
- package/out/_next/static/chunks/{fdced80698bf4fa8.js → 5a33218a2f2b0467.js} +1 -1
- package/out/_next/static/chunks/5a5a51b65fb24885.js +1 -0
- package/out/_next/static/chunks/5c2f55a0bdd679cc.js +13 -0
- package/out/_next/static/chunks/5c96c3c3f3b16ded.js +1 -0
- package/out/_next/static/chunks/{9e593024fd72713f.js → 5d628e503293cd4b.js} +1 -1
- package/out/_next/static/chunks/5db2e352e17d133b.js +12 -0
- package/out/_next/static/chunks/5f995b4029a14f92.js +13 -0
- package/out/_next/static/chunks/{5a4b1b68dccec912.js → 60a7ef230653c6ab.js} +1 -1
- package/out/_next/static/chunks/6107e0ebb413132e.js +23 -0
- package/out/_next/static/chunks/637c63a979962578.js +2 -0
- package/out/_next/static/chunks/63c03aeeb5583d48.js +46 -0
- package/out/_next/static/chunks/{ea2ae07eeb9e8d90.js → 643f7bdccb4d0c4e.js} +1 -1
- package/out/_next/static/chunks/6521a6bbf0815a09.js +10 -0
- package/out/_next/static/chunks/65cf017dbb3312cc.js +1 -0
- package/out/_next/static/chunks/667b7b1fe2014cf0.js +8 -0
- package/out/_next/static/chunks/{ff8cd9737ad8a1f0.js → 67a359f66966c3b0.js} +1 -1
- package/out/_next/static/chunks/{b350bfa1b158d540.js → 67e92dca9a322f7b.js} +1 -1
- package/out/_next/static/chunks/6adac061cf13080d.js +20 -0
- package/out/_next/static/chunks/{4dfd973aa778e2bf.js → 6c8d6408ab346062.js} +1 -1
- package/out/_next/static/chunks/{30811fbbe997036e.js → 6d7135bc7cc257ba.js} +5 -5
- package/out/_next/static/chunks/{a9623ad9095aa999.js → 6e8c7417ac98d928.js} +3 -3
- package/out/_next/static/chunks/6f49c454238cc7c0.js +22 -0
- package/out/_next/static/chunks/73125bd35499f96a.js +10 -0
- package/out/_next/static/chunks/{082ab3a1f1910856.js → 73bc279e567cf47d.js} +1 -1
- package/out/_next/static/chunks/{b1a365ae2ffa2d37.js → 73e742a9a5b279c8.js} +1 -1
- package/out/_next/static/chunks/75e4c05ea1ac7e7a.js +13 -0
- package/out/_next/static/chunks/{cac184fdec7f8092.js → 78521e875384f740.js} +1 -1
- package/out/_next/static/chunks/7a81ae2408cf80e8.js +12 -0
- package/out/_next/static/chunks/7dd567ab82cd0c67.js +5 -0
- package/out/_next/static/chunks/{74ec0d0eb52c7474.js → 812e693b862919eb.js} +1 -1
- package/out/_next/static/chunks/{3980f673ad8c46eb.js → 830a68ec7600d76c.js} +5 -5
- package/out/_next/static/chunks/8481204b6f8a478a.js +1 -0
- package/out/_next/static/chunks/{7cefd616b1b6df16.js → 8549770725c9379f.js} +3 -3
- package/out/_next/static/chunks/{75a0fa46e6b13f37.js → 87242fd9979883c9.js} +1 -1
- package/out/_next/static/chunks/89d89a0322d3d849.js +14 -0
- package/out/_next/static/chunks/8a14a9f45c09c6e7.js +1 -0
- package/out/_next/static/chunks/{73bc11b01d76757c.js → 8adb9fe625661098.js} +1 -1
- package/out/_next/static/chunks/{049e8a5a6c3a9d56.js → 8b04e2f48fee535f.js} +1 -1
- package/out/_next/static/chunks/8b5e3cc633489785.js +5 -0
- package/out/_next/static/chunks/{5e77dd248b5c9c6e.js → 8b8b53ce0e0b2c59.js} +4 -4
- package/out/_next/static/chunks/{69f004bf74f62380.js → 8bd64278a3d0f346.js} +5 -5
- package/out/_next/static/chunks/8c2fd033108e6699.js +16 -0
- package/out/_next/static/chunks/{fabd4425b0b9469a.js → 8e16fd1270f0c668.js} +1 -1
- package/out/_next/static/chunks/{16b2a124e3ca7825.js → 8ebf7565ecd30de4.js} +1 -1
- package/out/_next/static/chunks/91c2986b677e6f2e.js +13 -0
- package/out/_next/static/chunks/94d9a1b6baaf3a0a.js +15 -0
- package/out/_next/static/chunks/9505a3f621b21ccc.js +16 -0
- package/out/_next/static/chunks/958ce42925e8f006.js +2 -0
- package/out/_next/static/chunks/95ed0d70c975eb05.js +46 -0
- package/out/_next/static/chunks/95fec607bcda13f5.js +12 -0
- package/out/_next/static/chunks/9a1a9b771e72016d.js +12 -0
- package/out/_next/static/chunks/{50453ce161d2e3c3.js → 9ab656d1441f1501.js} +1 -1
- package/out/_next/static/chunks/9ed48f5bee6bd1d0.js +8 -0
- package/out/_next/static/chunks/a1dd8111f5cda5dc.js +10 -0
- package/out/_next/static/chunks/{83df95a61ab53e0a.js → a2bc6bcbb9fa94be.js} +2 -2
- package/out/_next/static/chunks/a346b2c9a094e108.js +1 -0
- package/out/_next/static/chunks/a3ca6fe75e42dad2.js +13 -0
- package/out/_next/static/chunks/a425d2e8aa6de21d.js +22 -0
- package/out/_next/static/chunks/{dfdf133aa9e1b8e1.js → a70ec3c3d4e3597c.js} +1 -1
- package/out/_next/static/chunks/aa91d566909ea2b6.js +19 -0
- package/out/_next/static/chunks/aaa96d2f4e5214c0.js +21 -0
- package/out/_next/static/chunks/{3b5b960ec3c1dde2.js → ab7c6442f2d86a59.js} +1 -1
- package/out/_next/static/chunks/abe5a686260cec44.js +16 -0
- package/out/_next/static/chunks/{96a8ab43b5c5ad72.js → ad184b81ac04fa5d.js} +2 -2
- package/out/_next/static/chunks/{fd3a23f57617580c.js → af276dfcea23702d.js} +1 -1
- package/out/_next/static/chunks/b041b3cb01e454bf.js +46 -0
- package/out/_next/static/chunks/b07bdb43a436410e.js +15 -0
- package/out/_next/static/chunks/{bb1f412e19d5fba0.js → b2bfd5c82b30e902.js} +1 -1
- package/out/_next/static/chunks/b316f8dcd77094ea.js +12 -0
- package/out/_next/static/chunks/{516c5d42838b20d4.js → b5ba366f8cdfe3ea.js} +2 -2
- package/out/_next/static/chunks/b736cf2b052112b7.js +13 -0
- package/out/_next/static/chunks/b76bbba14a9094d0.js +13 -0
- package/out/_next/static/chunks/b960c3c83b1c4bee.js +1 -0
- package/out/_next/static/chunks/{8304045a8e3301e6.js → bba59258102b89aa.js} +1 -1
- package/out/_next/static/chunks/bbd0095470e508e7.js +22 -0
- package/out/_next/static/chunks/bc43d7d4b567b5ea.js +1 -0
- package/out/_next/static/chunks/be18fecf33b8aff4.js +2 -0
- package/out/_next/static/chunks/{091e9b99a2eb4b4e.js → be3b5952132fd7e7.js} +2 -2
- package/out/_next/static/chunks/beb4f08114e1ff0b.js +15 -0
- package/out/_next/static/chunks/{fb5053e71935a6b0.js → bf0397bb49e85f73.js} +2 -2
- package/out/_next/static/chunks/{e8b5e32e38fdac95.js → c0e233fb74a8f51b.js} +1 -1
- package/out/_next/static/chunks/c56caa89756d142b.js +3 -0
- package/out/_next/static/chunks/c6e9803cbaa52fa6.js +2 -0
- package/out/_next/static/chunks/c88c6cd9171a39a6.js +1 -0
- package/out/_next/static/chunks/cd4b1d554140e38a.js +1 -0
- package/out/_next/static/chunks/{86a36c145cb81685.js → ced67effbb174f33.js} +2 -2
- package/out/_next/static/chunks/{3571c6e41584dddf.js → d211a2fd31fe667b.js} +1 -1
- package/out/_next/static/chunks/{a7d8e15e4c6d1bb1.js → d4099cc5c04e160f.js} +1 -1
- package/out/_next/static/chunks/{806fc56704287b43.js → d5d4fe0c2f022c56.js} +1 -1
- package/out/_next/static/chunks/{e47e2b973c14240e.js → d6d09fbd247f490a.js} +1 -1
- package/out/_next/static/chunks/d9f5be23c99d734d.js +1 -0
- package/out/_next/static/chunks/da60c42bca398ee7.js +12 -0
- package/out/_next/static/chunks/db4d5cc8098e3b0d.js +20 -0
- package/out/_next/static/chunks/dc20eb4b7dd7b2f1.js +15 -0
- package/out/_next/static/chunks/{8eb8aa4dbd1e97a4.js → e3ec2c067e9e2964.js} +1 -1
- package/out/_next/static/chunks/e62d073495404c74.js +1 -0
- package/out/_next/static/chunks/e69610d3fe3adf04.js +137 -0
- package/out/_next/static/chunks/eaa73b979cb8d68d.js +71 -0
- package/out/_next/static/chunks/eb4bc8e8a1250b4e.js +12 -0
- package/out/_next/static/chunks/eb8ddf0005de3e5f.js +1 -0
- package/out/_next/static/chunks/ec3efc144e0cf3a0.js +1 -0
- package/out/_next/static/chunks/ee25b5b16cf2ec57.js +1 -0
- package/out/_next/static/chunks/{cfcd9d675f3e604d.js → ee30334e97f8630e.js} +1 -1
- package/out/_next/static/chunks/eee53c3540a0175a.js +15 -0
- package/out/_next/static/chunks/{f23f93c1d2a472c8.js → f085e07fed389435.js} +1 -1
- package/out/_next/static/chunks/f25a3cfe94f73db4.js +13 -0
- package/out/_next/static/chunks/f29010c5dda6d08d.js +14 -0
- package/out/_next/static/chunks/f2f6e1b023b78202.js +15 -0
- package/out/_next/static/chunks/f32b41e426f01f11.js +11 -0
- package/out/_next/static/chunks/f53db7905a0efcb2.js +31 -0
- package/out/_next/static/chunks/{25e9bc627fb3a5e2.js → f5c06cf49cca7807.js} +1 -1
- package/out/_next/static/chunks/fcd4af226ace7c8b.js +13 -0
- package/out/_next/static/chunks/{2426adb87b9bc198.js → fd20130b507a7ded.js} +2 -2
- package/out/_next/static/chunks/fe1fd10dfcaa2cad.js +1 -0
- package/out/_next/static/chunks/{782497c760b6c976.js → ff3dd15001881cd6.js} +2 -2
- package/out/_next/static/chunks/ff5993cac4be61a6.js +13 -0
- package/out/_next/static/chunks/ff7c98808140c2aa.js +1 -0
- package/out/_next/static/chunks/ffde1981ac8d3d29.js +1 -0
- package/out/_next/static/chunks/turbopack-01bbc28bc70261a2.js +4 -0
- package/out/_next/static/chunks/turbopack-0a4df64306bcbd12.js +4 -0
- package/out/_next/static/chunks/turbopack-0ec9aa6183ed6e3c.js +4 -0
- package/out/_next/static/chunks/turbopack-14d4e2a748011f59.js +4 -0
- package/out/_next/static/chunks/turbopack-19a5d97c2ac0c85b.js +4 -0
- package/out/_next/static/chunks/turbopack-20733304f94162eb.js +4 -0
- package/out/_next/static/chunks/turbopack-20dadd71668dfd99.js +4 -0
- package/out/_next/static/chunks/turbopack-22a4ab7a695b7d33.js +4 -0
- package/out/_next/static/chunks/turbopack-26720157d7395ef9.js +4 -0
- package/out/_next/static/chunks/turbopack-272beae610cd6a85.js +4 -0
- package/out/_next/static/chunks/turbopack-356d21428d6bcc63.js +4 -0
- package/out/_next/static/chunks/turbopack-35b927ea75c46712.js +4 -0
- package/out/_next/static/chunks/{turbopack-f6efade6bac7735f.js → turbopack-394df10cb72ec1c5.js} +2 -2
- package/out/_next/static/chunks/turbopack-398241ba6559f9e2.js +4 -0
- package/out/_next/static/chunks/turbopack-3a7bb4a358599896.js +4 -0
- package/out/_next/static/chunks/turbopack-3ab2dc185dce2139.js +4 -0
- package/out/_next/static/chunks/turbopack-3ec91a4d50087e1a.js +4 -0
- package/out/_next/static/chunks/turbopack-3fc3303a0ec531f8.js +4 -0
- package/out/_next/static/chunks/turbopack-446407552f5da2f7.js +4 -0
- package/out/_next/static/chunks/turbopack-46b65df8c1477a1e.js +4 -0
- package/out/_next/static/chunks/turbopack-4efbf905da347977.js +4 -0
- package/out/_next/static/chunks/turbopack-534b80abe841801a.js +4 -0
- package/out/_next/static/chunks/turbopack-540befa1d257629c.js +4 -0
- package/out/_next/static/chunks/turbopack-566392526cc91bc7.js +4 -0
- package/out/_next/static/chunks/turbopack-5f1905a3a1f838d0.js +4 -0
- package/out/_next/static/chunks/turbopack-5f1c504dcc7064df.js +4 -0
- package/out/_next/static/chunks/turbopack-69d3d2f6354a7216.js +4 -0
- package/out/_next/static/chunks/turbopack-73185568a38dcbf0.js +4 -0
- package/out/_next/static/chunks/turbopack-803fcde847c5f0ac.js +4 -0
- package/out/_next/static/chunks/turbopack-83a588fbb91bc0ba.js +4 -0
- package/out/_next/static/chunks/turbopack-8868588a7e891f7a.js +4 -0
- package/out/_next/static/chunks/turbopack-91e8d9a7dadcaa65.js +4 -0
- package/out/_next/static/chunks/turbopack-93164539270c8d27.js +4 -0
- package/out/_next/static/chunks/turbopack-9527dfc1e8011448.js +4 -0
- package/out/_next/static/chunks/turbopack-9c525d44ff8c04ec.js +4 -0
- package/out/_next/static/chunks/turbopack-9c5a37dfb2aa0887.js +4 -0
- package/out/_next/static/chunks/turbopack-a0f57e2acedf0a84.js +4 -0
- package/out/_next/static/chunks/turbopack-a60f328eef765118.js +4 -0
- package/out/_next/static/chunks/turbopack-a79367a4a15a358a.js +4 -0
- package/out/_next/static/chunks/turbopack-a7b5fdf11aaa070c.js +4 -0
- package/out/_next/static/chunks/turbopack-a7cb4918a3f5950c.js +4 -0
- package/out/_next/static/chunks/turbopack-a7edb63282d9777f.js +4 -0
- package/out/_next/static/chunks/turbopack-a803ba4c058164c7.js +4 -0
- package/out/_next/static/chunks/{turbopack-d490f12f1c65a699.js → turbopack-aa3d15949867bd1f.js} +2 -2
- package/out/_next/static/chunks/turbopack-ab5ec2284990b820.js +4 -0
- package/out/_next/static/chunks/turbopack-adc3396fbdf2addd.js +4 -0
- package/out/_next/static/chunks/turbopack-add275c20f4c5f97.js +4 -0
- package/out/_next/static/chunks/turbopack-b122561e017a9274.js +4 -0
- package/out/_next/static/chunks/turbopack-b8014c7253eec832.js +4 -0
- package/out/_next/static/chunks/turbopack-bd24a20dd41588d1.js +4 -0
- package/out/_next/static/chunks/turbopack-c0f1a583ecfd6765.js +4 -0
- package/out/_next/static/chunks/turbopack-c4d1d20785e106aa.js +4 -0
- package/out/_next/static/chunks/turbopack-ccdc6bfa9dc12ff3.js +4 -0
- package/out/_next/static/chunks/turbopack-d0cc2493968e5e1e.js +4 -0
- package/out/_next/static/chunks/turbopack-d6ef4e49b1ea80d5.js +4 -0
- package/out/_next/static/chunks/turbopack-e248c04ef5bc87ea.js +4 -0
- package/out/_next/static/chunks/turbopack-e624be33c21e2398.js +4 -0
- package/out/_next/static/chunks/turbopack-ef156fb0a654a9e7.js +4 -0
- package/out/_next/static/chunks/turbopack-f1b28b068d3e2a2f.js +4 -0
- package/out/_next/static/chunks/turbopack-f86fb6da2f7eccc5.js +4 -0
- package/out/_next/static/chunks/turbopack-f89ba2c35f94946c.js +4 -0
- package/out/_next/static/chunks/turbopack-fbfe3ab8d73b6681.js +4 -0
- package/out/_next/static/chunks/turbopack-fc5549983e046d28.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 +2 -2
- 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 +1 -1
- package/out/_next/static/chunks/003e4643471c4b6d.js +0 -21
- package/out/_next/static/chunks/00a3bff2b270c318.js +0 -13
- package/out/_next/static/chunks/01ebe787a8ddd0f8.js +0 -1
- package/out/_next/static/chunks/054f8ab329a69595.js +0 -1
- package/out/_next/static/chunks/0a7036066d4a9367.js +0 -1
- package/out/_next/static/chunks/0ad72aeb247a93bf.js +0 -18
- package/out/_next/static/chunks/0b7e2dbf3863e501.js +0 -8
- package/out/_next/static/chunks/0f06fb41ae902fcd.js +0 -10
- package/out/_next/static/chunks/0fd902fb3a6a2a69.js +0 -2
- package/out/_next/static/chunks/12587eb03cc97bcb.js +0 -10
- package/out/_next/static/chunks/1b6a09f9c0315b52.js +0 -14
- package/out/_next/static/chunks/1b7969a2d3aaaf50.js +0 -1
- package/out/_next/static/chunks/1bc1cb9b0dc7ee81.js +0 -2
- package/out/_next/static/chunks/1ebef8e9f85897de.js +0 -11
- package/out/_next/static/chunks/1f337f1bc5e40b3e.js +0 -31
- package/out/_next/static/chunks/23267f72d4c677bd.js +0 -13
- package/out/_next/static/chunks/2d4fd5e1ddff0d8a.js +0 -12
- package/out/_next/static/chunks/2f7504bae6a09e6d.js +0 -137
- package/out/_next/static/chunks/2fa4365353bc832c.js +0 -14
- package/out/_next/static/chunks/366c06d5edeeb6fc.js +0 -13
- package/out/_next/static/chunks/37e7709afcc90bb6.js +0 -18
- package/out/_next/static/chunks/3a107da8db4a419b.js +0 -15
- package/out/_next/static/chunks/3d2bb44387b00d5f.js +0 -22
- package/out/_next/static/chunks/3f7d99a0cc76b497.js +0 -12
- package/out/_next/static/chunks/41525e4f40bff529.js +0 -1
- package/out/_next/static/chunks/4175d4b789ee44f3.js +0 -10
- package/out/_next/static/chunks/421841bb42afc4be.js +0 -1
- package/out/_next/static/chunks/430a267b2d2f8d93.js +0 -13
- package/out/_next/static/chunks/43ad9ee279363e7e.js +0 -2
- package/out/_next/static/chunks/444b5e10046fd993.js +0 -1
- package/out/_next/static/chunks/44cc864453be04d0.js +0 -5
- package/out/_next/static/chunks/47c0f532d8c0a50a.js +0 -1
- package/out/_next/static/chunks/48d6a1be6d38f646.js +0 -20
- package/out/_next/static/chunks/492e9e9f81a4d037.js +0 -23
- package/out/_next/static/chunks/496d5d6ec78ca987.js +0 -15
- package/out/_next/static/chunks/4b8061a707740e7d.js +0 -1
- package/out/_next/static/chunks/4e48099ef87e5231.js +0 -71
- package/out/_next/static/chunks/524d043bdc9c45ed.js +0 -111
- package/out/_next/static/chunks/53180c77bf1bc739.js +0 -1
- package/out/_next/static/chunks/53f314409521f64c.js +0 -22
- package/out/_next/static/chunks/5458003fdf33a49b.js +0 -15
- package/out/_next/static/chunks/553875c3687ce56b.js +0 -2
- package/out/_next/static/chunks/5689c09869e48b86.js +0 -1
- package/out/_next/static/chunks/579afb023750d2b5.js +0 -8
- package/out/_next/static/chunks/5a3b1caa9eeb3264.js +0 -14
- package/out/_next/static/chunks/6061aff66cb8e709.js +0 -15
- package/out/_next/static/chunks/606e549a9660bede.js +0 -2
- package/out/_next/static/chunks/62a88d1ec189f445.js +0 -12
- package/out/_next/static/chunks/63420020fcc3c50f.js +0 -1
- package/out/_next/static/chunks/6a24d3e3f430cd09.js +0 -16
- package/out/_next/static/chunks/6c5066831a22f782.js +0 -14
- package/out/_next/static/chunks/6d471cc5cbfa0173.js +0 -11
- package/out/_next/static/chunks/6df21a55398055b0.js +0 -1
- package/out/_next/static/chunks/6e7adaa6d233dba1.js +0 -46
- package/out/_next/static/chunks/72da749fb2eb00ad.js +0 -1
- package/out/_next/static/chunks/79e63c78f38fd3b6.js +0 -14
- package/out/_next/static/chunks/7c2724c66cfbad91.js +0 -1
- package/out/_next/static/chunks/7f2811f0564c94c7.js +0 -7
- package/out/_next/static/chunks/8021998b05fc1e49.js +0 -1
- package/out/_next/static/chunks/82410cc6bb9b907a.js +0 -16
- package/out/_next/static/chunks/824852d3d8f348c7.js +0 -13
- package/out/_next/static/chunks/8250360d92610891.js +0 -1
- package/out/_next/static/chunks/838b910ef7e4c0ca.js +0 -1
- package/out/_next/static/chunks/841860da43e74da5.js +0 -1
- package/out/_next/static/chunks/844f642223bd65be.js +0 -1
- package/out/_next/static/chunks/8592c150370d9363.js +0 -1
- package/out/_next/static/chunks/8ae22de32e4a9fae.js +0 -15
- package/out/_next/static/chunks/8da435d94b20224d.js +0 -2
- package/out/_next/static/chunks/8e8ba9e4c57f576c.js +0 -46
- package/out/_next/static/chunks/8f72aca434354e4f.js +0 -1
- package/out/_next/static/chunks/8f8a42fc3a658f09.js +0 -12
- package/out/_next/static/chunks/92692394d04be049.js +0 -1
- package/out/_next/static/chunks/93ed26ea1ec243f1.js +0 -13
- package/out/_next/static/chunks/965bdf7743261653.js +0 -5
- package/out/_next/static/chunks/9c4a3a5a42cb8c43.js +0 -1
- package/out/_next/static/chunks/a087355d78d2d46f.js +0 -12
- package/out/_next/static/chunks/a175c6579466cb96.js +0 -8
- package/out/_next/static/chunks/a1dd19867fc87c86.js +0 -13
- package/out/_next/static/chunks/a22c73115bbddb45.js +0 -178
- package/out/_next/static/chunks/a39e40fa902e805e.js +0 -16
- package/out/_next/static/chunks/a6a7cc6fba4cec34.js +0 -20
- package/out/_next/static/chunks/a7f103304201f44c.js +0 -13
- package/out/_next/static/chunks/ac1c0ce88d042d7b.js +0 -2
- package/out/_next/static/chunks/acbe507f9726578c.js +0 -5
- package/out/_next/static/chunks/b1a25137954ecd81.js +0 -15
- package/out/_next/static/chunks/b3137685555456c4.js +0 -15
- package/out/_next/static/chunks/b34678e690fcfd4f.js +0 -13
- package/out/_next/static/chunks/b4cfa7043c712110.js +0 -13
- package/out/_next/static/chunks/b6b0b82bf30ff269.js +0 -19
- package/out/_next/static/chunks/b86a988d652c1002.js +0 -2
- package/out/_next/static/chunks/bdbe2f0a93d5ccae.js +0 -15
- package/out/_next/static/chunks/be93f89956f05503.js +0 -13
- package/out/_next/static/chunks/bedb956d1ff325cf.js +0 -13
- package/out/_next/static/chunks/c10ab1c4641d1475.js +0 -71
- package/out/_next/static/chunks/c1c797c58bf2bcf3.js +0 -14
- package/out/_next/static/chunks/c61c8afe3f048af0.js +0 -12
- package/out/_next/static/chunks/c844b9d8b2ef3845.js +0 -3
- package/out/_next/static/chunks/ca1b851b74352f08.js +0 -13
- package/out/_next/static/chunks/ca6824e16bd47f68.js +0 -2
- package/out/_next/static/chunks/ca96c6c93bc5b9ff.js +0 -1
- package/out/_next/static/chunks/ccb6281db9301492.js +0 -1
- package/out/_next/static/chunks/da2c8907ba5046b3.js +0 -13
- package/out/_next/static/chunks/db033daf6f68cb06.js +0 -12
- package/out/_next/static/chunks/dc7555e46dfd342f.js +0 -14
- package/out/_next/static/chunks/dddc02f5e3f90a22.js +0 -46
- package/out/_next/static/chunks/de5bc771274d7fa2.js +0 -1
- package/out/_next/static/chunks/e20c34f4033050f9.js +0 -8
- package/out/_next/static/chunks/e2832abce178498d.js +0 -10
- package/out/_next/static/chunks/e4641e550815637f.js +0 -1
- package/out/_next/static/chunks/e4fba946a6733841.js +0 -15
- package/out/_next/static/chunks/e5f0ab61a0737b88.js +0 -1
- package/out/_next/static/chunks/e6e1aeedff08580f.js +0 -1
- package/out/_next/static/chunks/ef3f1c3859f8002a.js +0 -5
- package/out/_next/static/chunks/f0193ab028453217.js +0 -22
- package/out/_next/static/chunks/f0da8016bbf55600.js +0 -13
- package/out/_next/static/chunks/f0fb0819c8aa562c.js +0 -14
- package/out/_next/static/chunks/f4bc4294d572d481.js +0 -14
- package/out/_next/static/chunks/f585cc7fc2c34888.js +0 -5
- package/out/_next/static/chunks/f6baf575a2275500.js +0 -12
- package/out/_next/static/chunks/f764df1e357b1af0.js +0 -1
- package/out/_next/static/chunks/fbeb41892939ec57.js +0 -12
- package/out/_next/static/chunks/turbopack-0623c9eb08d4b277.js +0 -4
- package/out/_next/static/chunks/turbopack-0f80c36eadf0d553.js +0 -4
- package/out/_next/static/chunks/turbopack-1006733c229c0b78.js +0 -4
- package/out/_next/static/chunks/turbopack-126a1eaf861a06f7.js +0 -4
- package/out/_next/static/chunks/turbopack-1360a18f3afeaa59.js +0 -4
- package/out/_next/static/chunks/turbopack-146cef4c159b7c52.js +0 -4
- package/out/_next/static/chunks/turbopack-185a963802bcd371.js +0 -4
- package/out/_next/static/chunks/turbopack-19f750e47facd406.js +0 -4
- package/out/_next/static/chunks/turbopack-1fd3b236d6272742.js +0 -4
- package/out/_next/static/chunks/turbopack-2a7c044c3d0c1dd1.js +0 -4
- package/out/_next/static/chunks/turbopack-2a8579b8a376099a.js +0 -4
- package/out/_next/static/chunks/turbopack-3033d6cf16df0f09.js +0 -4
- package/out/_next/static/chunks/turbopack-3bfb41ce5f36bb2c.js +0 -4
- package/out/_next/static/chunks/turbopack-3c4a4525a4b0d520.js +0 -4
- package/out/_next/static/chunks/turbopack-3f41eb11c51b39a6.js +0 -4
- package/out/_next/static/chunks/turbopack-42920ff855b36fda.js +0 -4
- package/out/_next/static/chunks/turbopack-4905d034f67cd1a1.js +0 -4
- package/out/_next/static/chunks/turbopack-4974b1790de5d2cf.js +0 -4
- package/out/_next/static/chunks/turbopack-4e22287de347f2db.js +0 -4
- package/out/_next/static/chunks/turbopack-52809c72270128c0.js +0 -4
- package/out/_next/static/chunks/turbopack-5321b42731719aa0.js +0 -4
- package/out/_next/static/chunks/turbopack-5b2da744ab72f755.js +0 -4
- package/out/_next/static/chunks/turbopack-5bafa263acf1fcdd.js +0 -4
- package/out/_next/static/chunks/turbopack-5f682bd89a2a6b1f.js +0 -4
- package/out/_next/static/chunks/turbopack-6826dba1986b2fbf.js +0 -4
- package/out/_next/static/chunks/turbopack-6a4ed6e7069f7e10.js +0 -4
- package/out/_next/static/chunks/turbopack-710967a98ea59300.js +0 -4
- package/out/_next/static/chunks/turbopack-73460d96f73fcb10.js +0 -4
- package/out/_next/static/chunks/turbopack-780dd2688241a921.js +0 -4
- package/out/_next/static/chunks/turbopack-7e46a4f2f7de31e4.js +0 -4
- package/out/_next/static/chunks/turbopack-8064356710e2c5ce.js +0 -4
- package/out/_next/static/chunks/turbopack-82f9bd6745b5c2e7.js +0 -4
- package/out/_next/static/chunks/turbopack-86a21dc378e90952.js +0 -4
- package/out/_next/static/chunks/turbopack-8abcb49a46136bce.js +0 -4
- package/out/_next/static/chunks/turbopack-8fa5dfca2f9aba0d.js +0 -4
- package/out/_next/static/chunks/turbopack-91682ba005e23133.js +0 -4
- package/out/_next/static/chunks/turbopack-97a8d8bca127f2b4.js +0 -4
- package/out/_next/static/chunks/turbopack-991a2fb09f399f2b.js +0 -4
- package/out/_next/static/chunks/turbopack-9a593a4220f4c2d1.js +0 -4
- package/out/_next/static/chunks/turbopack-9ec8f39a69795795.js +0 -4
- package/out/_next/static/chunks/turbopack-b04e0af4044d6261.js +0 -4
- package/out/_next/static/chunks/turbopack-b172c723088be417.js +0 -4
- package/out/_next/static/chunks/turbopack-b2ecf59aff5ae247.js +0 -4
- package/out/_next/static/chunks/turbopack-b53ee2b5f29450b7.js +0 -4
- package/out/_next/static/chunks/turbopack-b72ff4afbe7cd2da.js +0 -4
- package/out/_next/static/chunks/turbopack-b92797a413303b84.js +0 -4
- package/out/_next/static/chunks/turbopack-bc6ef38f255f0565.js +0 -4
- package/out/_next/static/chunks/turbopack-c132ce116b7a155e.js +0 -4
- package/out/_next/static/chunks/turbopack-c3eaf9bdf8d35529.js +0 -4
- package/out/_next/static/chunks/turbopack-c55dd47b1f30d574.js +0 -4
- package/out/_next/static/chunks/turbopack-c7ea64a67495a61b.js +0 -4
- package/out/_next/static/chunks/turbopack-d3f046679e950cd0.js +0 -4
- package/out/_next/static/chunks/turbopack-dbdca539895a8c69.js +0 -4
- package/out/_next/static/chunks/turbopack-e31824c793acf7f6.js +0 -4
- package/out/_next/static/chunks/turbopack-e4a27de85ef4882c.js +0 -4
- package/out/_next/static/chunks/turbopack-eecfbdbd2d6c682f.js +0 -4
- package/out/_next/static/chunks/turbopack-f3e96a11b3f0e45b.js +0 -4
- package/out/_next/static/chunks/turbopack-f4ac8216346ac3ed.js +0 -4
- package/out/_next/static/chunks/turbopack-f6c1e6a0168fae1b.js +0 -4
- package/out/_next/static/chunks/turbopack-f9405d5d3d28bb89.js +0 -4
- package/out/_next/static/chunks/turbopack-fc2efafe768d9e9e.js +0 -4
- /package/out/_next/static/{4R4_FCxNxvZw_XAhRC-kA → _wcic5Y3loPdQD9mT3zos}/_clientMiddlewareManifest.json +0 -0
- /package/out/_next/static/{4R4_FCxNxvZw_XAhRC-kA → _wcic5Y3loPdQD9mT3zos}/_ssgManifest.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55628,e=>{"use strict";var t=e.i(69178),r=e.i(30758),s=e.i(98183),l=e.i(12442);e.s(["default",0,({error:e=null,resetError:n=null})=>{let{formatMessage:a}=(0,s.useIntl)();return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:a({id:"internal_server_error",defaultMessage:"500 Internal Server Error"})})}),(0,t.jsx)(l.default,{children:(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"})})}),(0,t.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-rose-600 dark:text-rose-400",children:a({id:"error_500",defaultMessage:"500 Error"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-slate-500 dark:text-slate-400",children:a({id:"internal_server_error_message",defaultMessage:"Sorry, something went wrong on our end. We are working to fix this."})}),e?.message&&(0,t.jsxs)("details",{className:"mt-4 text-left",children:[(0,t.jsx)("summary",{className:"cursor-pointer text-sm text-slate-600 dark:text-slate-400 hover:text-slate-800 dark:hover:text-slate-300",children:a({id:"show_error_details",defaultMessage:"Show error details"})}),(0,t.jsx)("pre",{className:"mt-2 text-xs text-slate-500 dark:text-slate-400 whitespace-pre-wrap break-all",children:e?.message})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,t.jsxs)(r.default,{href:"/",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),a({id:"back_to_home",defaultMessage:"Back to Home"})]}),n&&(0,t.jsxs)("button",{type:"button",onClick:n,className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-slate-100 dark:bg-slate-700 dark:border-slate-600 py-2 px-4 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:outline-hidden focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-500 dark:text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z",clipRule:"evenodd"})})}),a({id:"try_again",defaultMessage:"Try Again"})]})]})]})})]})})}])},18524,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(55628);class l extends r.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}render(){return this.state.hasError?(0,t.jsx)(s.default,{error:this.state.error,resetError:()=>this.setState({hasError:!1,error:null})}):this.props.children}}e.s(["default",0,l])},55336,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){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:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M10.362 1.093a.75.75 0 0 0-.724 0L2.523 5.018 10 9.143l7.477-4.125-7.115-3.925ZM18 6.443l-7.25 4v8.25l6.862-3.786A.75.75 0 0 0 18 14.25V6.443ZM9.25 18.693v-8.25l-7.25-4v7.807a.75.75 0 0 0 .388.657l6.862 3.786Z"}))});e.s(["CubeIcon",0,r],55336)},90575,19190,e=>{"use strict";var t=e.i(1415);let r=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,r],19190),e.s(["default",0,()=>(0,t.useContext)(r)],90575)},81907,e=>{"use strict";let t=()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}}),r=e=>e?.label&&e?.version?`${e.label} ${e.version}`:"",s=(...e)=>e.filter(Boolean).join(" "),l=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},n=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},a=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},i=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,s=null]=(t||"")?.split("_")||[];return{...e,[r]:s}},null)||{},o=(e,t,r)=>{let s;return s=r?{...e,[r]:t}:e,Object.keys(s)?.map(e=>[e,s[e]].join("="))?.join("&")};e.s(["classNames",()=>s,"convertSortFieldsToQueryFormat",0,e=>Object.entries(i(e))?.map(([e,t])=>({key:e,value:t})),"getInterfaceLabel",()=>r,"getSortKeys",()=>i,"normalizeCountryISOCode",()=>l,"normalizeCurrencyISOCode",()=>a,"normalizeLanguageISOCode",()=>n,"normalizeQuery",()=>o,"useFormatPrice",()=>t])},53162,e=>{"use strict";let t=e.i(1415).default.createContext({setModal:()=>{throw Error("No ModalContext/ModalWrapper ancestor found.")}});e.s(["default",0,t])},31891,e=>{"use strict";var t=e.i(1415),r=e.i(53162);e.s(["default",0,()=>(0,t.useContext)(r.default)])},17831,e=>{"use strict";var t=e.i(69178),r=e.i(98183);e.s(["default",0,({onOkClick:e,onCancelClick:s,okText:l=null,cancelText:n=null,headerText:a=null,message:i=null,icon:o=null,close:u=null})=>{let{formatMessage:d}=(0,r.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:a||d({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:i||d({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:l||d({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:s||u,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:n||d({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},69744,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],69744)},33362,e=>{"use strict";var t=e.i(69178),r=e.i(69744),s=e.i(98183);e.s(["default",0,({onClick:e,text:l=null,Icon:n=null})=>{let{formatMessage:a}=(0,s.useIntl)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:n||(0,t.jsx)(r.XMarkIcon,{className:"h-5 w-5"})}),l||a({id:"delete",defaultMessage:"Delete"})]})}])},71747,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){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:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["TrashIcon",0,r],71747)},14936,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["EllipsisHorizontalIcon",0,r],14936)},21924,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){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:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["PencilIcon",0,r],21924)},38163,e=>{"use strict";var t=e.i(1415),r=e.i(93736);e.s(["default",0,({children:e,container:s=null,className:l=""})=>{let n=(0,t.useRef)(null),[a,i]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");l&&(e.className=l),n.current=e;let t=s||document.body;return t.appendChild(e),i(!0),()=>{n.current&&t.contains(n.current)&&t.removeChild(n.current)}},[s,l]),a&&n.current)?(0,r.createPortal)(e,n.current):null}])},22103,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(98183),l=e.i(14936),n=e.i(21924),a=e.i(71747),i=e.i(38163);e.s(["default",0,({onEdit:e,onDelete:o,editLabel:u,deleteLabel:d,showEdit:c=!0,showDelete:f=!0})=>{let{formatMessage:m}=(0,s.useIntl)(),[g,h]=(0,r.useState)(!1),[x,v]=(0,r.useState)({top:0,left:0}),p=(0,r.useRef)(null),w=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{p.current&&!p.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let b=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),h(!1)};return 0===[c&&e,f&&o].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:w,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),g||(()=>{if(!w.current)return;let e=w.current.getBoundingClientRect(),t=e.bottom+4,r=e.right-192;r<8&&(r=8),t+80>window.innerHeight-8&&(t=e.top-80-4),v({top:t,left:r})})(),h(!g)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors","aria-label":m({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(l.EllipsisHorizontalIcon,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"})}),g&&(0,t.jsx)(i.default,{children:(0,t.jsx)("div",{ref:p,className:"fixed w-48 bg-white dark:bg-slate-800 rounded-md shadow-xl border border-slate-200 dark:border-slate-700 z-[9999]",style:{top:x.top,left:x.left},children:(0,t.jsxs)("div",{className:"py-1",children:[c&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>b(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors",children:[(0,t.jsx)(n.PencilIcon,{className:"mr-3 h-5 w-5"}),u||m({id:"edit",defaultMessage:"Edit"})]}),f&&o&&(0,t.jsxs)("button",{type:"button",onClick:e=>b(e,o),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(a.TrashIcon,{className:"mr-3 h-5 w-5"}),d||m({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},76691,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55628,e=>{"use strict";var t=e.i(69178),r=e.i(30758),s=e.i(98183),l=e.i(12442);e.s(["default",0,({error:e=null,resetError:a=null})=>{let{formatMessage:n}=(0,s.useIntl)();return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:n({id:"internal_server_error",defaultMessage:"500 Internal Server Error"})})}),(0,t.jsx)(l.default,{children:(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"})})}),(0,t.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-rose-600 dark:text-rose-400",children:n({id:"error_500",defaultMessage:"500 Error"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-slate-500 dark:text-slate-400",children:n({id:"internal_server_error_message",defaultMessage:"Sorry, something went wrong on our end. We are working to fix this."})}),e?.message&&(0,t.jsxs)("details",{className:"mt-4 text-left",children:[(0,t.jsx)("summary",{className:"cursor-pointer text-sm text-slate-600 dark:text-slate-400 hover:text-slate-800 dark:hover:text-slate-300",children:n({id:"show_error_details",defaultMessage:"Show error details"})}),(0,t.jsx)("pre",{className:"mt-2 text-xs text-slate-500 dark:text-slate-400 whitespace-pre-wrap break-all",children:e?.message})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,t.jsxs)(r.default,{href:"/",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),n({id:"back_to_home",defaultMessage:"Back to Home"})]}),a&&(0,t.jsxs)("button",{type:"button",onClick:a,className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-slate-100 dark:bg-slate-700 dark:border-slate-600 py-2 px-4 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:outline-hidden focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,t.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-500 dark:text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z",clipRule:"evenodd"})})}),n({id:"try_again",defaultMessage:"Try Again"})]})]})]})})]})})}])},18524,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(55628);class l extends r.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}render(){return this.state.hasError?(0,t.jsx)(s.default,{error:this.state.error,resetError:()=>this.setState({hasError:!1,error:null})}):this.props.children}}e.s(["default",0,l])},55336,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){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:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"M10.362 1.093a.75.75 0 0 0-.724 0L2.523 5.018 10 9.143l7.477-4.125-7.115-3.925ZM18 6.443l-7.25 4v8.25l6.862-3.786A.75.75 0 0 0 18 14.25V6.443ZM9.25 18.693v-8.25l-7.25-4v7.807a.75.75 0 0 0 .388.657l6.862 3.786Z"}))});e.s(["CubeIcon",0,r],55336)},90575,19190,e=>{"use strict";var t=e.i(1415);let r=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,r],19190),e.s(["default",0,()=>(0,t.useContext)(r)],90575)},81907,e=>{"use strict";let t=()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}}),r=e=>e?.label&&e?.version?`${e.label} ${e.version}`:"",s=(...e)=>e.filter(Boolean).join(" "),l=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},a=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},n=(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},i=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,s=null]=(t||"")?.split("_")||[];return{...e,[r]:s}},null)||{},o=(e,t,r)=>{let s;return s=r?{...e,[r]:t}:e,Object.keys(s)?.map(e=>[e,s[e]].join("="))?.join("&")};e.s(["classNames",()=>s,"convertSortFieldsToQueryFormat",0,e=>Object.entries(i(e))?.map(([e,t])=>({key:e,value:t})),"getInterfaceLabel",()=>r,"getSortKeys",()=>i,"normalizeCountryISOCode",()=>l,"normalizeCurrencyISOCode",()=>n,"normalizeLanguageISOCode",()=>a,"normalizeQuery",()=>o,"useFormatPrice",()=>t])},53162,e=>{"use strict";let t=e.i(1415).default.createContext({setModal:()=>{throw Error("No ModalContext/ModalWrapper ancestor found.")}});e.s(["default",0,t])},31891,e=>{"use strict";var t=e.i(1415),r=e.i(53162);e.s(["default",0,()=>(0,t.useContext)(r.default)])},17831,e=>{"use strict";var t=e.i(69178),r=e.i(98183);e.s(["default",0,({onOkClick:e,onCancelClick:s,okText:l=null,cancelText:a=null,headerText:n=null,message:i=null,icon:o=null,close:u=null})=>{let{formatMessage:d}=(0,r.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[o||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:n||d({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:i||d({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:l||d({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:s||u,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:a||d({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},69744,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,r],69744)},33362,e=>{"use strict";var t=e.i(69178),r=e.i(69744),s=e.i(98183);e.s(["default",0,({onClick:e,text:l=null,Icon:a=null})=>{let{formatMessage:n}=(0,s.useIntl)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:a||(0,t.jsx)(r.XMarkIcon,{className:"h-5 w-5"})}),l||n({id:"delete",defaultMessage:"Delete"})]})}])},71747,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){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:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["TrashIcon",0,r],71747)},14936,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))});e.s(["EllipsisHorizontalIcon",0,r],14936)},21924,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){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:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{d:"m2.695 14.762-1.262 3.155a.5.5 0 0 0 .65.65l3.155-1.262a4 4 0 0 0 1.343-.886L17.5 5.501a2.121 2.121 0 0 0-3-3L3.58 13.419a4 4 0 0 0-.885 1.343Z"}))});e.s(["PencilIcon",0,r],21924)},38163,e=>{"use strict";var t=e.i(1415),r=e.i(93736);e.s(["default",0,({children:e,container:s=null,className:l=""})=>{let a=(0,t.useRef)(null),[n,i]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{let e=document.createElement("div");l&&(e.className=l),a.current=e;let t=s||document.body;return t.appendChild(e),i(!0),()=>{a.current&&t.contains(a.current)&&t.removeChild(a.current)}},[s,l]),n&&a.current)?(0,r.createPortal)(e,a.current):null}])},22103,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(98183),l=e.i(14936),a=e.i(21924),n=e.i(71747),i=e.i(38163);e.s(["default",0,({onEdit:e,onDelete:o,editLabel:u,deleteLabel:d,showEdit:c=!0,showDelete:f=!0})=>{let{formatMessage:m}=(0,s.useIntl)(),[g,h]=(0,r.useState)(!1),[x,v]=(0,r.useState)({top:0,left:0}),p=(0,r.useRef)(null),w=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{p.current&&!p.current.contains(e.target)&&h(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]);let b=(e,t)=>{e.stopPropagation(),e.preventDefault(),t&&t(),h(!1)};return 0===[c&&e,f&&o].filter(Boolean).length?null:(0,t.jsxs)("div",{className:"flex justify-end w-full",children:[(0,t.jsx)("button",{ref:w,type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),g||(()=>{if(!w.current)return;let e=w.current.getBoundingClientRect(),t=e.bottom+4,r=e.right-192;r<8&&(r=8),t+80>window.innerHeight-8&&(t=e.top-80-4),v({top:t,left:r})})(),h(!g)},className:"flex items-center justify-center w-8 h-8 rounded-md hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors","aria-label":m({id:"table_actions_menu",defaultMessage:"Actions menu"}),children:(0,t.jsx)(l.EllipsisHorizontalIcon,{className:"w-5 h-5 text-slate-500 dark:text-slate-400"})}),g&&(0,t.jsx)(i.default,{children:(0,t.jsx)("div",{ref:p,className:"fixed w-48 bg-white dark:bg-slate-800 rounded-md shadow-xl border border-slate-200 dark:border-slate-700 z-[9999]",style:{top:x.top,left:x.left},children:(0,t.jsxs)("div",{className:"py-1",children:[c&&e&&(0,t.jsxs)("button",{type:"button",onClick:t=>b(t,e),className:"flex items-center w-full px-4 py-2 text-sm text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors",children:[(0,t.jsx)(a.PencilIcon,{className:"mr-3 h-5 w-5"}),u||m({id:"edit",defaultMessage:"Edit"})]}),f&&o&&(0,t.jsxs)("button",{type:"button",onClick:e=>b(e,o),className:"flex items-center w-full px-4 py-2 text-sm text-rose-500 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/20 transition-colors",children:[(0,t.jsx)(n.TrashIcon,{className:"mr-3 h-5 w-5"}),d||m({id:"delete",defaultMessage:"Delete"})]})]})})})]})}])},76691,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
2
2
|
fragment LanguageFragment on Language {
|
|
3
3
|
_id
|
|
4
4
|
isoCode
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
languagesCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
27
27
|
}
|
|
28
28
|
${s.default}
|
|
29
|
-
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:
|
|
29
|
+
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:a=!0,sort:n=[]}={})=>{let{data:i,loading:o,error:u,fetchMore:d}=(0,r.useQuery)(l,{variables:{queryString:e,limit:t,offset:s,includeInactive:a,sort:n}}),c=i?.languages||[],f=i?.languagesCount,m=c?.length<f;return{languages:c,languagesCount:f,hasMore:m,loading:o,error:u,loadMore:()=>{d({variables:{offset:c?.length}})}}}])},360,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
30
30
|
fragment CountryFragment on Country {
|
|
31
31
|
_id
|
|
32
32
|
isoCode
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
${s.default}
|
|
62
|
-
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:
|
|
62
|
+
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:a=!0,sort:n=[]}={})=>{let{data:i,loading:o,error:u,fetchMore:d}=(0,r.useQuery)(l,{variables:{queryString:e,limit:t,offset:s,includeInactive:a,sort:n}}),c=i?.countries||[],f=i?.countriesCount,m=c?.length<f;return{countries:c,countriesCount:f,hasMore:m,loading:o,error:u,loadMore:()=>{d({variables:{offset:c?.length}})}}}])},81312,79174,58724,e=>{"use strict";var t=e.i(1415),r=e.i(69178),s=e.i(98183),l=e.i(23335),a=e.i(63458),n=e.i(71983),i=e.i(13699);let o=n.gql`
|
|
63
63
|
query ShopInfo {
|
|
64
64
|
shopInfo {
|
|
65
65
|
_id
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
`,u=()=>{let{data:e,loading:t,error:r}=(0,i.useQuery)(o,{fetchPolicy:"cache-first"}),{shopInfo:s}=e||{};return{shopInfo:s,defaultLocale:[s?.language?.isoCode,s?.country?.isoCode?.toUpperCase()].filter(Boolean)?.join("-"),loading:t,error:r}};e.s(["default",0,u],79174);var d=e.i(30060);let c=(0,t.createContext)(void 0);e.s(["AppContextWrapper",0,({children:e,onlyFull:
|
|
99
|
+
`,u=()=>{let{data:e,loading:t,error:r}=(0,i.useQuery)(o,{fetchPolicy:"cache-first"}),{shopInfo:s}=e||{};return{shopInfo:s,defaultLocale:[s?.language?.isoCode,s?.country?.isoCode?.toUpperCase()].filter(Boolean)?.join("-"),loading:t,error:r}};e.s(["default",0,u],79174);var d=e.i(30060);let c=(0,t.createContext)(void 0);e.s(["AppContextWrapper",0,({children:e,onlyFull:n=!1})=>{let i,{languages:o}=(0,l.default)(),{locale:f}=(0,s.useIntl)(),[m,g]=(0,d.default)("selectedLocale",null),{shopInfo:h,loading:x}=u(),{countries:v}=(0,a.default)(),[p,w]=(0,t.useState)(f),b=e=>{g(e),w(e)};(0,t.useEffect)(()=>{m?w(m):x||b(`${h?.language?.isoCode}-${h?.country?.isoCode?.toUpperCase()}`)},[h,x,f]);let y=(i=[],o.forEach(({_id:e,isoCode:t})=>{i.push({_id:e,isoCode:t}),v.forEach(({isoCode:r,_id:s})=>{let l=[t,r.toUpperCase()].join("-");(e=>{try{return new Intl.DateTimeFormat(e).resolvedOptions().locale.toLowerCase()===e.toLowerCase()}catch(e){return!1}})(l)&&i.push({_id:`${s}-${e}`,isoCode:l})})}),i).filter(e=>!n||e.isoCode.includes("-")),j=!!h?.language&&!!h?.country;return(0,r.jsx)(c.Provider,{value:{selectedLocale:p,setSelectedLocale:b,languageDialectList:y,isSystemReady:j,shopInfo:h},children:e})},"default",0,c],58724),e.s(["default",0,()=>{let e=(0,t.useContext)(c);if(!e)throw Error("useLocale must be used within a LocaleProvider");return e}],81312)},47024,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(12442),l=e.i(81312);e.s(["default",0,({children:e,onlyFull:a=!1})=>{let{languageDialectList:n,selectedLocale:i,setSelectedLocale:o}=(0,l.default)(),u=(0,r.useContext)(s.FormWrapperContext),d=n.filter(e=>!a||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${u?"ml-5":""}`,children:(0,t.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-slate-300 dark:border-slate-700 py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800",value:i||"",onChange:e=>{e.stopPropagation(),o(e.target.value)},children:d?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},92699,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});e.s(["CheckIcon",0,r],92699)},58930,e=>{"use strict";var t=e.i(1415);let r=t.forwardRef(function({title:e,titleId:r,...s},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))});e.s(["ChevronDownIcon",0,r],58930)},47426,(e,t,r)=>{"use strict";var s=e.r(1415),l="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=s.useSyncExternalStore,n=s.useRef,i=s.useEffect,o=s.useMemo,u=s.useDebugValue;r.useSyncExternalStoreWithSelector=function(e,t,r,s,d){var c=n(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f}else f=c.current;var m=a(e,(c=o(function(){function e(e){if(!i){if(i=!0,a=e,e=s(e),void 0!==d&&f.hasValue){var t=f.value;if(d(t,e))return n=t}return n=e}if(t=n,l(a,e))return t;var r=s(e);return void 0!==d&&d(t,r)?(a=e,t):(a=e,n=r)}var a,n,i=!1,o=void 0===r?null:r;return[function(){return e(t())},null===o?void 0:function(){return e(o())}]},[t,r,s,d]))[0],c[1]);return i(function(){f.hasValue=!0,f.value=m},[m]),u(m),m}},42806,(e,t,r)=>{"use strict";t.exports=e.r(47426)},35348,e=>{"use strict";var t=e.i(71983);let r=t.gql`
|
|
100
100
|
fragment FilterFragment on Filter {
|
|
101
101
|
_id
|
|
102
102
|
updated
|
|
@@ -141,4 +141,4 @@
|
|
|
141
141
|
filtersCount(includeInactive: $includeInactive, queryString: $queryString)
|
|
142
142
|
}
|
|
143
143
|
${s.default}
|
|
144
|
-
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:
|
|
144
|
+
`;e.s(["default",0,({queryString:e="",limit:t=20,offset:s=0,includeInactive:a=!0,sort:n=[],forceLocale:i=""}={})=>{let{data:o,loading:u,error:d,fetchMore:c,client:f}=(0,r.useQuery)(l,{context:{headers:{forceLocale:i}},variables:{queryString:e,limit:t,offset:s,includeInactive:a,sort:n}}),m=o?.filters||[],g=o?.filtersCount,h=m?.length<g;return{filters:m,filtersCount:g,hasMore:h,loading:u,error:d,loadMore:()=>{c({variables:{offset:m?.length}})},client:f}}])},32933,(e,t,r)=>{let s="/assortments/AssortmentDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(74709)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/c88c6cd9171a39a6.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)))}]);
|
|
@@ -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
|
|
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 d},imageConfigDefault:function(){return s}};for(var t in i)Object.defineProperty(a,t,{enumerable:!0,get:i[t]});let d=["default","imgix","cloudinary","akamai","custom"],s={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 d}});let i=e.r(23726)._(e.r(1415)),t=e.r(17362),d=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:d,...s}=(0,i.default)(e),{className:l}=e||{className:""};return(0,r.jsx)(t.default,{...s,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":!!s.error}),disabled:s.disabled,id:s.name,name:s.name,onChange:s.onChange,onBlur:s.onBlur,value:s.value,children:[(0,r.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:s.required,hidden:s.required,children:s.placeholder||s.label}),Object.entries(d).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
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
`;e.s(["default",0,()=>{let{data:e,loading:r,error:t}=(0,a.useQuery)(i);return{deliveryProviderType:e?.deliveryProviderType?.options||[],loading:r,error:t}}])},40892,e=>{"use strict";var r=e.i(69178),a=e.i(98183),i=e.i(62010),t=e.i(82028),
|
|
21
|
+
`;e.s(["default",0,()=>{let{data:e,loading:r,error:t}=(0,a.useQuery)(i);return{deliveryProviderType:e?.deliveryProviderType?.options||[],loading:r,error:t}}])},40892,e=>{"use strict";var r=e.i(69178),a=e.i(98183),i=e.i(62010),t=e.i(82028),d=e.i(23518),s=e.i(5641),l=e.i(12442);e.s(["default",0,({onSubmit:e,onSubmitSuccess:o,providerTypes:n,providerInterfaces:u,onProviderChange:c,readOnly:v})=>{let{formatMessage:p}=(0,a.useIntl)(),m=p({id:"provider_created_success",defaultMessage:"Provider created successfully!"}),y=(0,s.default)({submit:e,onSubmitSuccess:o,successMessage:m,enableReinitialize:!0,initialValues:{adapterKey:"",type:""}});return(0,r.jsx)(l.default,{children:(0,r.jsx)(i.default,{form:y,children:(0,r.jsxs)("div",{className:"shadow-sm dark:shadow-none sm:max-w-full sm:rounded-lg",children:[(0,r.jsxs)("div",{className:"px-4 pt-4 pb-6",children:[(0,r.jsx)(t.default,{onChange:e=>c(e.target.value),name:"type",disabled:v,required:!0,label:p({id:"type",defaultMessage:"Type"}),options:n,className:"mb-5"}),(0,r.jsx)(t.default,{name:"adapterKey",required:!0,disabled:v,options:u,label:p({id:"adapter",defaultMessage:"Adapter"}),className:"mt-2"})]}),!v&&(0,r.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 space-y-6 bg-slate-50 dark:bg-slate-900 p-6 px-5 text-right",children:(0,r.jsx)(d.default,{label:p({id:"create_provider",defaultMessage:"Create provider"})})})]})})})}])},22372,e=>{"use strict";var r=e.i(69178),a=e.i(1415),i=e.i(5858),t=e.i(49061),d=e.i(98183),s=e.i(19372),l=e.i(23529),o=e.i(40892),n=e.i(71588),u=e.i(96459),c=e.i(71983),v=e.i(13686),p=e.i(90112);let m=c.gql`
|
|
22
22
|
mutation CreateDeliveryProvider(
|
|
23
23
|
$deliveryProvider: CreateDeliveryProviderInput!
|
|
24
24
|
) {
|
|
@@ -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,
|
|
59
|
+
`;var b=e.i(34502);e.s(["default",0,()=>{let[e,c]=(0,a.useState)(i.IDeliveryProviderType.Shipping),{formatMessage:p}=(0,d.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,s.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/c88c6cd9171a39a6.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)))}]);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/products", [
|
|
2
|
+
"static/chunks/259b3147fc998da8.js",
|
|
3
|
+
"static/chunks/38200c8cb2429294.js",
|
|
4
|
+
"static/chunks/4c5ecbab28345efa.js",
|
|
5
|
+
"static/chunks/854229936d29e550.js",
|
|
6
|
+
"static/chunks/95ed0d70c975eb05.js",
|
|
7
|
+
"static/chunks/3398dc70e287e1b3.js",
|
|
8
|
+
"static/chunks/4f810ce035ebc0e5.js",
|
|
9
|
+
"static/chunks/3f70b074fe0cb7eb.js",
|
|
10
|
+
"static/chunks/1d815b4154fd879c.js",
|
|
11
|
+
"static/chunks/34cdee51a883e092.js",
|
|
12
|
+
"static/chunks/b930222155336289.js",
|
|
13
|
+
"static/chunks/1b8928b23c220769.js",
|
|
14
|
+
"static/chunks/65cf017dbb3312cc.js",
|
|
15
|
+
"static/chunks/9d64dabee2592951.js",
|
|
16
|
+
"static/chunks/d211a2fd31fe667b.js",
|
|
17
|
+
"static/chunks/87242fd9979883c9.js",
|
|
18
|
+
"static/chunks/b960c3c83b1c4bee.js",
|
|
19
|
+
"static/chunks/ee25b5b16cf2ec57.js",
|
|
20
|
+
"static/chunks/1ccb09e78f959ee0.js",
|
|
21
|
+
"static/chunks/turbopack-0ec9aa6183ed6e3c.js"
|
|
22
|
+
])
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/423", [
|
|
2
|
+
"static/chunks/a70ec3c3d4e3597c.js",
|
|
3
|
+
"static/chunks/87242fd9979883c9.js",
|
|
4
|
+
"static/chunks/fd20130b507a7ded.js",
|
|
5
|
+
"static/chunks/3398dc70e287e1b3.js",
|
|
6
|
+
"static/chunks/ee25b5b16cf2ec57.js",
|
|
7
|
+
"static/chunks/b960c3c83b1c4bee.js",
|
|
8
|
+
"static/chunks/d211a2fd31fe667b.js",
|
|
9
|
+
"static/chunks/turbopack-3fc3303a0ec531f8.js"
|
|
10
|
+
])
|
|
@@ -190,4 +190,4 @@
|
|
|
190
190
|
}
|
|
191
191
|
${a.default}
|
|
192
192
|
${d.default}
|
|
193
|
-
`;e.s(["default",0,()=>{let[e,{data:r,error:a,loading:d}]=(0,t.useMutation)(o);return{createProduct:async({product:{type:r,tags:t},texts:a})=>e({variables:{product:{type:r,tags:t},texts:a},refetchQueries:["Products","ShopStatus","ShopInfo"]}),newProduct:r?.createProduct,error:a,loading:d}}])},98405,e=>{"use strict";var r=e.i(69178),t=e.i(49061),a=e.i(17255),d=e.i(98183),o=e.i(23529),l=e.i(12442),s=e.i(71588),i=e.i(6356),n=e.i(5858),b=e.i(19372),g=e.i(62010),u=e.i(82028),x=e.i(23518),p=e.i(88611),c=e.i(68686),m=e.i(5641),k=e.i(88246),y=e.i(81312);let f=({onSubmit:e,onSubmitSuccess:t})=>{let{formatMessage:a}=(0,d.useIntl)(),{hasRole:o}=(0,b.default)(),{selectedLocale:l,shopInfo:s}=(0,y.default)(),i=a({id:"product_added",defaultMessage:"Product added successfully!"}),f=(0,m.default)({submit:async r=>{let{title:t,subtitle:a,type:d,tags:o}=r;if(!t||!d)return{success:!1};let s=[{title:t,subtitle:a||"",slug:t.toLowerCase().replace(/\s+/g,"-"),locale:l}];return await e({texts:s,type:d,tags:o||[]})},onSubmitSuccess:t,successMessage:i,initialValues:{title:"",subtitle:"",type:n.IProductType.SimpleProduct,tags:[]}});return(0,r.jsxs)(g.default,{form:f,children:[(0,r.jsxs)("div",{className:"p-5 pb-7 sm:max-w-full flex flex-col gap-3",children:[(0,r.jsx)(c.default,{name:"title",id:"title",label:a({id:"name",defaultMessage:"Name"}),required:!0,className:"block w-full max-w-full rounded-md border-slate-300 dark:border-slate-800 text-sm focus:ring-slate-800 sm:text-sm"}),(0,r.jsx)(c.default,{name:"subtitle",id:"subtitle",label:a({id:"subtitle",defaultMessage:"Subtitle"}),className:"block w-full max-w-full rounded-md border-slate-300 dark:border-slate-800 text-sm focus:ring-slate-800 sm:text-sm"}),(0,r.jsx)(u.default,{className:"mt-1 w-full",label:a({id:"type",defaultMessage:"Type"}),placeholder:a({id:"type",defaultMessage:"Type"}),required:!0,name:"type",options:Object.fromEntries(Object.entries(n.IProductType).map(([e,r])=>[r,e]))}),(0,r.jsx)(p.default,{name:"tags",label:a({id:"tags",defaultMessage:"Tags"}),placeholder:a({id:"enter_tag",defaultMessage:"Enter tag..."}),selectOptions:(s?.adminUiConfig.productTags||[]).map(e=>({value:e,label:e}))}),(0,r.jsx)(k.default,{messageKey:"product_tags_help",defaultMessage:"Add keywords to organize and filter products (e.g., 'electronics', 'outdoor', 'premium'). These work across all languages and help customers find products through search and filters.",className:"mt-1"})]}),o(n.IRoleAction.ManageProducts)&&(0,r.jsx)("div",{className:"border-t border-t-slate-100 dark:border-t-slate-700 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,r.jsx)(x.default,{label:a({id:"add_product",defaultMessage:"Add Product"})})})]})};var h=e.i(32980),v=e.i(47024);e.s(["default",0,()=>{let{createProduct:e}=(0,h.default)(),n=(0,t.useRouter)(),{formatMessage:b}=(0,d.useIntl)(),g=async({texts:r,type:t,tags:a})=>{let{data:d,error:o}=await e({product:{type:t,tags:a},texts:r});return o?{success:!1}:{success:!0,data:d?.createProduct}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.default,{}),(0,r.jsx)(s.default,{headerText:b({id:"new_product_header",defaultMessage:"New product"})}),(0,r.jsxs)("div",{className:"mt-6 lg:grid lg:grid-cols-3 gap-10",children:[(0,r.jsx)("div",{className:"lg:col-span-2",children:(0,r.jsx)(l.default,{children:(0,r.jsx)(v.default,{children:(0,r.jsx)(f,{onSubmit:g,onSubmitSuccess:(e,{...r})=>(n.replace(`/products?slug=${(0,i.default)(r)}`),!0)})})})}),(0,r.jsxs)("div",{className:"mt-10 lg:mt-0 lg:col-span-1 space-y-2",children:[(0,r.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",children:b({id:"product_type",defaultMessage:"Product type"})}),(0,r.jsxs)("div",{className:"text-sm divide-y divide-slate-200 dark:divide-slate-800 dark:text-slate-400 lg:mr-10",children:[(0,r.jsx)("div",{className:"my-2 py-2",children:(0,r.jsx)(a.FormattedMessage,{id:"simple_product_definition",defaultMessage:" <h3>Simple</h3> <p>Simple product is the most commonly used type of product type. It accepts configuration values for price, dimension and warehousing. Most e-commerce product needs are satisfied by this type </p>",values:{h3:e=>(0,r.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,r.jsx)("p",{children:e})}})}),(0,r.jsx)("div",{className:"my-2 py-2",children:(0,r.jsx)(a.FormattedMessage,{id:"plan_product_definition",defaultMessage:" <h3>Plan</h3> <p>Plan product is use when you have a product that is offered per subscription base. Since for this type of product the payment is usually recurring, you can adjust the interval of payment calculation. </p>",values:{h3:e=>(0,r.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,r.jsx)("p",{children:e})}})}),(0,r.jsx)("div",{className:"my-2 py-2",children:(0,r.jsx)(a.FormattedMessage,{id:"bundle_product_definition",defaultMessage:" <h3>Bundle</h3> <p>As the name suggest this product type enables you to create a collection/bundle of products as one and set the price accordingly. This type of product is useful if you have christmas package for example. </p>",values:{h3:e=>(0,r.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,r.jsx)("p",{children:e})}})}),(0,r.jsx)("div",{className:"my-2 py-2",children:(0,r.jsx)(a.FormattedMessage,{id:"configurable_product_definition",defaultMessage:" <h3>Configurable</h3> <p>Configurable Product is used to organize varieties of a product. A product might have a variation in color, size or other distinct property in that case you can use a configurable product type to organize all the variation under one category and outline-solid there difference. </p>",values:{h3:e=>(0,r.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,r.jsx)("p",{children:e})}})})]})]})]})]})}],98405)},432,(e,r,t)=>{let a="/products/new";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(98405)]),r.hot&&r.hot.dispose(function(){window.__NEXT_P.push([a])})},8233,e=>{e.v(r=>Promise.all(["static/chunks/
|
|
193
|
+
`;e.s(["default",0,()=>{let[e,{data:r,error:a,loading:d}]=(0,t.useMutation)(o);return{createProduct:async({product:{type:r,tags:t},texts:a})=>e({variables:{product:{type:r,tags:t},texts:a},refetchQueries:["Products","ShopStatus","ShopInfo"]}),newProduct:r?.createProduct,error:a,loading:d}}])},98405,e=>{"use strict";var r=e.i(69178),t=e.i(49061),a=e.i(17255),d=e.i(98183),o=e.i(23529),l=e.i(12442),s=e.i(71588),i=e.i(6356),n=e.i(5858),b=e.i(19372),g=e.i(62010),u=e.i(82028),x=e.i(23518),p=e.i(88611),c=e.i(68686),m=e.i(5641),k=e.i(88246),y=e.i(81312);let f=({onSubmit:e,onSubmitSuccess:t})=>{let{formatMessage:a}=(0,d.useIntl)(),{hasRole:o}=(0,b.default)(),{selectedLocale:l,shopInfo:s}=(0,y.default)(),i=a({id:"product_added",defaultMessage:"Product added successfully!"}),f=(0,m.default)({submit:async r=>{let{title:t,subtitle:a,type:d,tags:o}=r;if(!t||!d)return{success:!1};let s=[{title:t,subtitle:a||"",slug:t.toLowerCase().replace(/\s+/g,"-"),locale:l}];return await e({texts:s,type:d,tags:o||[]})},onSubmitSuccess:t,successMessage:i,initialValues:{title:"",subtitle:"",type:n.IProductType.SimpleProduct,tags:[]}});return(0,r.jsxs)(g.default,{form:f,children:[(0,r.jsxs)("div",{className:"p-5 pb-7 sm:max-w-full flex flex-col gap-3",children:[(0,r.jsx)(c.default,{name:"title",id:"title",label:a({id:"name",defaultMessage:"Name"}),required:!0,className:"block w-full max-w-full rounded-md border-slate-300 dark:border-slate-800 text-sm focus:ring-slate-800 sm:text-sm"}),(0,r.jsx)(c.default,{name:"subtitle",id:"subtitle",label:a({id:"subtitle",defaultMessage:"Subtitle"}),className:"block w-full max-w-full rounded-md border-slate-300 dark:border-slate-800 text-sm focus:ring-slate-800 sm:text-sm"}),(0,r.jsx)(u.default,{className:"mt-1 w-full",label:a({id:"type",defaultMessage:"Type"}),placeholder:a({id:"type",defaultMessage:"Type"}),required:!0,name:"type",options:Object.fromEntries(Object.entries(n.IProductType).map(([e,r])=>[r,e]))}),(0,r.jsx)(p.default,{name:"tags",label:a({id:"tags",defaultMessage:"Tags"}),placeholder:a({id:"enter_tag",defaultMessage:"Enter tag..."}),selectOptions:(s?.adminUiConfig.productTags||[]).map(e=>({value:e,label:e}))}),(0,r.jsx)(k.default,{messageKey:"product_tags_help",defaultMessage:"Add keywords to organize and filter products (e.g., 'electronics', 'outdoor', 'premium'). These work across all languages and help customers find products through search and filters.",className:"mt-1"})]}),o(n.IRoleAction.ManageProducts)&&(0,r.jsx)("div",{className:"border-t border-t-slate-100 dark:border-t-slate-700 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,r.jsx)(x.default,{label:a({id:"add_product",defaultMessage:"Add Product"})})})]})};var h=e.i(32980),v=e.i(47024);e.s(["default",0,()=>{let{createProduct:e}=(0,h.default)(),n=(0,t.useRouter)(),{formatMessage:b}=(0,d.useIntl)(),g=async({texts:r,type:t,tags:a})=>{let{data:d,error:o}=await e({product:{type:t,tags:a},texts:r});return o?{success:!1}:{success:!0,data:d?.createProduct}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o.default,{}),(0,r.jsx)(s.default,{headerText:b({id:"new_product_header",defaultMessage:"New product"})}),(0,r.jsxs)("div",{className:"mt-6 lg:grid lg:grid-cols-3 gap-10",children:[(0,r.jsx)("div",{className:"lg:col-span-2",children:(0,r.jsx)(l.default,{children:(0,r.jsx)(v.default,{children:(0,r.jsx)(f,{onSubmit:g,onSubmitSuccess:(e,{...r})=>(n.replace(`/products?slug=${(0,i.default)(r)}`),!0)})})})}),(0,r.jsxs)("div",{className:"mt-10 lg:mt-0 lg:col-span-1 space-y-2",children:[(0,r.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",children:b({id:"product_type",defaultMessage:"Product type"})}),(0,r.jsxs)("div",{className:"text-sm divide-y divide-slate-200 dark:divide-slate-800 dark:text-slate-400 lg:mr-10",children:[(0,r.jsx)("div",{className:"my-2 py-2",children:(0,r.jsx)(a.FormattedMessage,{id:"simple_product_definition",defaultMessage:" <h3>Simple</h3> <p>Simple product is the most commonly used type of product type. It accepts configuration values for price, dimension and warehousing. Most e-commerce product needs are satisfied by this type </p>",values:{h3:e=>(0,r.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,r.jsx)("p",{children:e})}})}),(0,r.jsx)("div",{className:"my-2 py-2",children:(0,r.jsx)(a.FormattedMessage,{id:"plan_product_definition",defaultMessage:" <h3>Plan</h3> <p>Plan product is use when you have a product that is offered per subscription base. Since for this type of product the payment is usually recurring, you can adjust the interval of payment calculation. </p>",values:{h3:e=>(0,r.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,r.jsx)("p",{children:e})}})}),(0,r.jsx)("div",{className:"my-2 py-2",children:(0,r.jsx)(a.FormattedMessage,{id:"bundle_product_definition",defaultMessage:" <h3>Bundle</h3> <p>As the name suggest this product type enables you to create a collection/bundle of products as one and set the price accordingly. This type of product is useful if you have christmas package for example. </p>",values:{h3:e=>(0,r.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,r.jsx)("p",{children:e})}})}),(0,r.jsx)("div",{className:"my-2 py-2",children:(0,r.jsx)(a.FormattedMessage,{id:"configurable_product_definition",defaultMessage:" <h3>Configurable</h3> <p>Configurable Product is used to organize varieties of a product. A product might have a variation in color, size or other distinct property in that case you can use a configurable product type to organize all the variation under one category and outline-solid there difference. </p>",values:{h3:e=>(0,r.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,r.jsx)("p",{children:e})}})})]})]})]})]})}],98405)},432,(e,r,t)=>{let a="/products/new";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(98405)]),r.hot&&r.hot.dispose(function(){window.__NEXT_P.push([a])})},8233,e=>{e.v(r=>Promise.all(["static/chunks/c88c6cd9171a39a6.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)))}]);
|
|
@@ -116,4 +116,4 @@
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
${x.default}
|
|
119
|
-
`)(t?.DeliveryProvider),{skip:!e,variables:{deliveryProviderId:e}});return{deliveryProvider:r?.deliveryProvider,loading:s,error:l}})({deliveryProviderId:e}),D=async({configuration:t})=>(await M({deliveryProvider:{configuration:JSON.parse(t||"[]")},deliveryProviderId:e}),!0),S=async()=>{await C((0,t.jsx)(o.default,{onCancelClick:async()=>C(""),message:f({id:"delete_delivery_provider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this delivery provider?"}),onOkClick:async()=>{await C(""),await _({deliveryProviderId:e}),a.toast.success(f({id:"delivery_provider_deleted",defaultMessage:"Delivery provider deleted successfully"})),k("/delivery-provider")},okText:f({id:"delete_delivery_provider",defaultMessage:"Delete delivery provider"})}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.default,{currentPageTitle:(0,j.getInterfaceLabel)(E?.interface)}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(d.default,{headerText:f({id:"update_delivery_configuration",defaultMessage:"Update delivery provider"}),title:f({id:"delivery_provider_title",defaultMessage:"Delivery provider {id}"},{id:E?._id})}),P(s.IRoleAction.ManageDeliveryProviders)&&(0,t.jsx)(b.default,{onClick:S})]}),I?(0,t.jsx)(n.default,{}):(0,t.jsx)(y.default,{readOnly:!P(s.IRoleAction.ManageDeliveryProviders),provider:E,onSubmit:D,onSubmitSuccess:()=>{N("/delivery-provider")},children:E?.type==="PICKUP"&&E.pickUpLocations?.length>0&&(0,t.jsxs)("div",{className:"mt-6",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold mb-2",children:f({id:"pickup_locations",defaultMessage:"Pick-up Locations"})}),(0,t.jsx)("ul",{className:"space-y-2",children:E.pickUpLocations.map(e=>(0,t.jsxs)("li",{className:"border rounded-md p-3 bg-slate-50 dark:bg-slate-800",children:[(0,t.jsx)("div",{className:"font-medium",children:e.name}),e.address&&(0,t.jsxs)("div",{className:"text-sm text-slate-600 dark:text-slate-300",children:[e.address.addressLine,e.address.addressLine2?`, ${e.address.addressLine2}`:"",", ",e.address.city,", ",e.address.regionCode,","," ",e.address.postalCode,", ",e.address.countryCode]})]},e._id))})]})})]})}],36044)},87965,e=>{"use strict";var t=e.i(69178),r=e.i(49061),s=e.i(5858),l=e.i(98183),a=e.i(29252),i=e.i(19372),d=e.i(23529),n=e.i(1516),o=e.i(51443),c=e.i(71588),u=e.i(70998),m=e.i(44449),f=e.i(3600),v=e.i(34502),x=e.i(73685),h=e.i(17831),p=e.i(31891),g=e.i(36044);e.s(["default",0,()=>{let{query:e}=(0,r.useRouter)(),{type:y,deliveryProviderId:b}=e,{formatMessage:j}=(0,l.useIntl)(),{hasRole:w}=(0,i.default)(),{deliveryProviders:k,deliveryProvidersCount:N,loading:C}=(0,f.default)({type:y}),{setModal:P}=(0,p.default)(),{removeDeliveryProvider:_}=(0,x.default)(),{deliveryProviderType:M}=(0,v.default)(),E=async e=>{await P((0,t.jsx)(h.default,{onCancelClick:async()=>P(""),message:j({id:"delete_delivery_provider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this delivery provider?"}),onOkClick:async()=>{P(""),await _({deliveryProviderId:e}),a.toast.success(j({id:"deliveryProviders_deleted",defaultMessage:"DeliveryProviders deleted successfully"}))},okText:j({id:"delete_delivery_provider",defaultMessage:"Delete delivery provider"})}))};return b?(0,t.jsx)(g.default,{deliveryProviderId:b}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.default,{}),(0,t.jsx)(c.default,{headerText:j((N??0)===1?{id:"delivery_provider_count_header_singular",defaultMessage:"1 Delivery Provider"}:{id:"delivery_providers_count_header",defaultMessage:"{count} Delivery Providers"},{count:N??0}),addPath:w(s.IRoleAction.ManageDeliveryProviders)&&"/delivery-provider/new",addButtonText:j({id:"add_delivery_provider",defaultMessage:"Add Delivery Provider"})}),(0,t.jsx)(n.default,{children:(0,t.jsx)(u.default,{providerType:M?.map(({value:e})=>e)})}),C?(0,t.jsx)(o.default,{}):(0,t.jsx)(m.default,{canEdit:w(s.IRoleAction.ViewDeliveryProvider),canDelete:w(s.IRoleAction.ManageDeliveryProviders),providerPath:"/delivery-provider?deliveryProviderId",providers:k,onRemove:E})]})}])},48058,(e,t,r)=>{let s="/delivery-provider";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(87965)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/
|
|
119
|
+
`)(t?.DeliveryProvider),{skip:!e,variables:{deliveryProviderId:e}});return{deliveryProvider:r?.deliveryProvider,loading:s,error:l}})({deliveryProviderId:e}),D=async({configuration:t})=>(await M({deliveryProvider:{configuration:JSON.parse(t||"[]")},deliveryProviderId:e}),!0),S=async()=>{await C((0,t.jsx)(o.default,{onCancelClick:async()=>C(""),message:f({id:"delete_delivery_provider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this delivery provider?"}),onOkClick:async()=>{await C(""),await _({deliveryProviderId:e}),a.toast.success(f({id:"delivery_provider_deleted",defaultMessage:"Delivery provider deleted successfully"})),k("/delivery-provider")},okText:f({id:"delete_delivery_provider",defaultMessage:"Delete delivery provider"})}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.default,{currentPageTitle:(0,j.getInterfaceLabel)(E?.interface)}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(d.default,{headerText:f({id:"update_delivery_configuration",defaultMessage:"Update delivery provider"}),title:f({id:"delivery_provider_title",defaultMessage:"Delivery provider {id}"},{id:E?._id})}),P(s.IRoleAction.ManageDeliveryProviders)&&(0,t.jsx)(b.default,{onClick:S})]}),I?(0,t.jsx)(n.default,{}):(0,t.jsx)(y.default,{readOnly:!P(s.IRoleAction.ManageDeliveryProviders),provider:E,onSubmit:D,onSubmitSuccess:()=>{N("/delivery-provider")},children:E?.type==="PICKUP"&&E.pickUpLocations?.length>0&&(0,t.jsxs)("div",{className:"mt-6",children:[(0,t.jsx)("h3",{className:"text-lg font-semibold mb-2",children:f({id:"pickup_locations",defaultMessage:"Pick-up Locations"})}),(0,t.jsx)("ul",{className:"space-y-2",children:E.pickUpLocations.map(e=>(0,t.jsxs)("li",{className:"border rounded-md p-3 bg-slate-50 dark:bg-slate-800",children:[(0,t.jsx)("div",{className:"font-medium",children:e.name}),e.address&&(0,t.jsxs)("div",{className:"text-sm text-slate-600 dark:text-slate-300",children:[e.address.addressLine,e.address.addressLine2?`, ${e.address.addressLine2}`:"",", ",e.address.city,", ",e.address.regionCode,","," ",e.address.postalCode,", ",e.address.countryCode]})]},e._id))})]})})]})}],36044)},87965,e=>{"use strict";var t=e.i(69178),r=e.i(49061),s=e.i(5858),l=e.i(98183),a=e.i(29252),i=e.i(19372),d=e.i(23529),n=e.i(1516),o=e.i(51443),c=e.i(71588),u=e.i(70998),m=e.i(44449),f=e.i(3600),v=e.i(34502),x=e.i(73685),h=e.i(17831),p=e.i(31891),g=e.i(36044);e.s(["default",0,()=>{let{query:e}=(0,r.useRouter)(),{type:y,deliveryProviderId:b}=e,{formatMessage:j}=(0,l.useIntl)(),{hasRole:w}=(0,i.default)(),{deliveryProviders:k,deliveryProvidersCount:N,loading:C}=(0,f.default)({type:y}),{setModal:P}=(0,p.default)(),{removeDeliveryProvider:_}=(0,x.default)(),{deliveryProviderType:M}=(0,v.default)(),E=async e=>{await P((0,t.jsx)(h.default,{onCancelClick:async()=>P(""),message:j({id:"delete_delivery_provider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this delivery provider?"}),onOkClick:async()=>{P(""),await _({deliveryProviderId:e}),a.toast.success(j({id:"deliveryProviders_deleted",defaultMessage:"DeliveryProviders deleted successfully"}))},okText:j({id:"delete_delivery_provider",defaultMessage:"Delete delivery provider"})}))};return b?(0,t.jsx)(g.default,{deliveryProviderId:b}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.default,{}),(0,t.jsx)(c.default,{headerText:j((N??0)===1?{id:"delivery_provider_count_header_singular",defaultMessage:"1 Delivery Provider"}:{id:"delivery_providers_count_header",defaultMessage:"{count} Delivery Providers"},{count:N??0}),addPath:w(s.IRoleAction.ManageDeliveryProviders)&&"/delivery-provider/new",addButtonText:j({id:"add_delivery_provider",defaultMessage:"Add Delivery Provider"})}),(0,t.jsx)(n.default,{children:(0,t.jsx)(u.default,{providerType:M?.map(({value:e})=>e)})}),C?(0,t.jsx)(o.default,{}):(0,t.jsx)(m.default,{canEdit:w(s.IRoleAction.ViewDeliveryProvider),canDelete:w(s.IRoleAction.ManageDeliveryProviders),providerPath:"/delivery-provider?deliveryProviderId",providers:k,onRemove:E})]})}])},48058,(e,t,r)=>{let s="/delivery-provider";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(87965)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},8233,e=>{e.v(t=>Promise.all(["static/chunks/c88c6cd9171a39a6.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__("/currency/CurrencyDetailPage", [
|
|
2
|
+
"static/chunks/5a33218a2f2b0467.js",
|
|
3
|
+
"static/chunks/259b3147fc998da8.js",
|
|
4
|
+
"static/chunks/d211a2fd31fe667b.js",
|
|
5
|
+
"static/chunks/4f810ce035ebc0e5.js",
|
|
6
|
+
"static/chunks/ff7c98808140c2aa.js",
|
|
7
|
+
"static/chunks/0d9ed91755412d86.js",
|
|
8
|
+
"static/chunks/b960c3c83b1c4bee.js",
|
|
9
|
+
"static/chunks/ee25b5b16cf2ec57.js",
|
|
10
|
+
"static/chunks/87242fd9979883c9.js",
|
|
11
|
+
"static/chunks/3398dc70e287e1b3.js",
|
|
12
|
+
"static/chunks/turbopack-93164539270c8d27.js"
|
|
13
|
+
])
|
|
@@ -40,4 +40,4 @@
|
|
|
40
40
|
label
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
`;var P=e.i(8314);e.s(["default",0,()=>{let[e,c]=(0,t.useState)(r.IPaymentProviderType.Invoice),{formatMessage:p}=(0,s.useIntl)(),{createPaymentProvider:b}=(()=>{let[e,{data:a,loading:t,error:r}]=(0,m.useMutation)(v);return{createPaymentProvider:async({paymentProvider:a})=>e({variables:{paymentProvider:a},refetchQueries:["PaymentProviders","ShopStatus"]}),newPaymentProvider:a?.createPaymentProvider,loading:t,error:r}})(),{paymentProviderType:g}=(0,P.default)(),{paymentInterfaces:h}=(({providerType:e})=>{let{data:a,loading:t,error:r}=(0,y.useQuery)(f,{skip:!e,variables:{providerType:e}});return{paymentInterfaces:a?.paymentInterfaces||[],loading:t,error:r}})({providerType:e}),{hasRole:x}=(0,d.default)(),j=async({adapterKey:e,type:a})=>{let{data:t,error:r}=await b({paymentProvider:{adapterKey:e,type:a}});return!r&&{success:!0,data:t?.createPaymentProvider}},_=(0,i.useRouter)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.default,{}),(0,a.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,a.jsx)(o.default,{headerText:p({id:"new_payment_provider_header",defaultMessage:"New payment provider"})}),(0,a.jsx)("div",{className:"mt-6",children:(0,a.jsx)(n.default,{readOnly:!x(r.IRoleAction.ManagePaymentProviders),providerInterfaces:(0,u.default)(h,"label","value"),providerTypes:(0,u.default)(g,"label","value"),onSubmit:j,onSubmitSuccess:(e,{_id:a})=>{_.replace(`/payment-provider?paymentProviderId=${a}`)},onProviderChange:e=>c(e)})})]})]})}],29216)},55052,(e,a,t)=>{let r="/payment-provider/new";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(29216)]),a.hot&&a.hot.dispose(function(){window.__NEXT_P.push([r])})},8233,e=>{e.v(a=>Promise.all(["static/chunks/
|
|
43
|
+
`;var P=e.i(8314);e.s(["default",0,()=>{let[e,c]=(0,t.useState)(r.IPaymentProviderType.Invoice),{formatMessage:p}=(0,s.useIntl)(),{createPaymentProvider:b}=(()=>{let[e,{data:a,loading:t,error:r}]=(0,m.useMutation)(v);return{createPaymentProvider:async({paymentProvider:a})=>e({variables:{paymentProvider:a},refetchQueries:["PaymentProviders","ShopStatus"]}),newPaymentProvider:a?.createPaymentProvider,loading:t,error:r}})(),{paymentProviderType:g}=(0,P.default)(),{paymentInterfaces:h}=(({providerType:e})=>{let{data:a,loading:t,error:r}=(0,y.useQuery)(f,{skip:!e,variables:{providerType:e}});return{paymentInterfaces:a?.paymentInterfaces||[],loading:t,error:r}})({providerType:e}),{hasRole:x}=(0,d.default)(),j=async({adapterKey:e,type:a})=>{let{data:t,error:r}=await b({paymentProvider:{adapterKey:e,type:a}});return!r&&{success:!0,data:t?.createPaymentProvider}},_=(0,i.useRouter)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.default,{}),(0,a.jsxs)("div",{className:"mx-auto sm:max-w-2xl",children:[(0,a.jsx)(o.default,{headerText:p({id:"new_payment_provider_header",defaultMessage:"New payment provider"})}),(0,a.jsx)("div",{className:"mt-6",children:(0,a.jsx)(n.default,{readOnly:!x(r.IRoleAction.ManagePaymentProviders),providerInterfaces:(0,u.default)(h,"label","value"),providerTypes:(0,u.default)(g,"label","value"),onSubmit:j,onSubmitSuccess:(e,{_id:a})=>{_.replace(`/payment-provider?paymentProviderId=${a}`)},onProviderChange:e=>c(e)})})]})]})}],29216)},55052,(e,a,t)=>{let r="/payment-provider/new";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(29216)]),a.hot&&a.hot.dispose(function(){window.__NEXT_P.push([r])})},8233,e=>{e.v(a=>Promise.all(["static/chunks/c88c6cd9171a39a6.js"].map(a=>e.l(a))).then(()=>a(64324)))},69209,e=>{e.v(a=>Promise.all(["static/chunks/aac8a0823d648ca4.js"].map(a=>e.l(a))).then(()=>a(3506)))}]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/exports", [
|
|
2
|
+
"static/chunks/22b923c43d3aa7cd.js",
|
|
3
|
+
"static/chunks/4c5ecbab28345efa.js",
|
|
4
|
+
"static/chunks/ffde1981ac8d3d29.js",
|
|
5
|
+
"static/chunks/5cd7bb2ff39b4594.js",
|
|
6
|
+
"static/chunks/87242fd9979883c9.js",
|
|
7
|
+
"static/chunks/ee25b5b16cf2ec57.js",
|
|
8
|
+
"static/chunks/d211a2fd31fe667b.js",
|
|
9
|
+
"static/chunks/3398dc70e287e1b3.js",
|
|
10
|
+
"static/chunks/b960c3c83b1c4bee.js",
|
|
11
|
+
"static/chunks/turbopack-ab5ec2284990b820.js"
|
|
12
|
+
])
|