@unchainedshop/admin-ui 4.6.0 → 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/{N9Z2SsJs2tDfugfSzn0XU → _wcic5Y3loPdQD9mT3zos}/_buildManifest.js +65 -61
- package/out/_next/static/chunks/0051e9c34432b0c6.js +81 -0
- package/out/_next/static/chunks/04258b01517d0f9e.js +13 -0
- package/out/_next/static/chunks/{2562397db3d3cad1.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/118438252cfc0bd0.js +288 -0
- package/out/_next/static/chunks/{f0b4a38f0b700d5b.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/1ccb09e78f959ee0.js +291 -0
- package/out/_next/static/chunks/1d815b4154fd879c.js +1 -0
- package/out/_next/static/chunks/200d3bc314898b66.js +132 -0
- package/out/_next/static/chunks/22b923c43d3aa7cd.js +50 -0
- package/out/_next/static/chunks/22d51f661194d303.js +14 -0
- package/out/_next/static/chunks/{bea7d18bcfa278cc.js → 23ea2d1feef9e998.js} +2 -2
- 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/25aa5dcd9d2108f9.js +16 -0
- 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/2f0946cb79a66863.js +101 -0
- package/out/_next/static/chunks/31383dc5ad51cb1a.js +14 -0
- package/out/_next/static/chunks/3180e23f59291e6b.js +1 -0
- package/out/_next/static/chunks/{7ddea44a67e3f4d2.js → 320cc644938eb6e3.js} +63 -63
- package/out/_next/static/chunks/{b6446a534a83781d.js → 322fd29364e46f13.js} +27 -27
- package/out/_next/static/chunks/324869c4943f493c.js +14 -0
- package/out/_next/static/chunks/325bf7748981cb5b.js +46 -0
- package/out/_next/static/chunks/330837992d56bd8a.js +1 -0
- package/out/_next/static/chunks/3313431063047e6d.js +324 -0
- package/out/_next/static/chunks/3398dc70e287e1b3.js +5 -0
- package/out/_next/static/chunks/34cdee51a883e092.js +1 -0
- package/out/_next/static/chunks/{5763a0bcd3a13fa1.js → 36cdb6dcab6e9762.js} +2 -2
- package/out/_next/static/chunks/36d8074195cb4e6d.js +51 -0
- package/out/_next/static/chunks/37a7b0184a6f532d.js +15 -0
- package/out/_next/static/chunks/38200c8cb2429294.js +1 -0
- package/out/_next/static/chunks/{ad8739afcbc536aa.js → 3a187b0dc891f9a3.js} +2 -2
- package/out/_next/static/chunks/3c92e6cdacf97d33.js +50 -0
- 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/{e08282f87c28d042.js → 422ee02a73e2338c.js} +26 -26
- 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/46d78c2426dc6443.js +54 -0
- package/out/_next/static/chunks/46e3a705a7ded479.js +61 -0
- package/out/_next/static/chunks/49c2baa6b1e8134d.js +178 -0
- package/out/_next/static/chunks/4ad2124482cfe6d4.js +12 -0
- package/out/_next/static/chunks/4b4c5d792f1f40cb.js +288 -0
- 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/{0ed1db1732820209.js → 52bb95ecf48dacae.js} +3 -3
- package/out/_next/static/chunks/544571f944ab247c.js +7 -0
- package/out/_next/static/chunks/556b12b89f01fbcb.js +13 -0
- package/out/_next/static/chunks/5578242c14928c74.js +87 -0
- package/out/_next/static/chunks/56821b9bd58d6cb5.js +14 -0
- package/out/_next/static/chunks/580f9e5b1548023c.js +13 -0
- package/out/_next/static/chunks/589ba731744b3bbb.js +1 -0
- package/out/_next/static/chunks/59de3ca12ac3e821.js +18 -0
- package/out/_next/static/chunks/5a297caf182b5914.js +2 -0
- package/out/_next/static/chunks/{fe2b047fdc80b492.js → 5a33218a2f2b0467.js} +2 -2
- 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/5cc2513eaf268333.js +1 -0
- package/out/_next/static/chunks/5cd7bb2ff39b4594.js +1 -0
- package/out/_next/static/chunks/5d628e503293cd4b.js +61 -0
- package/out/_next/static/chunks/5db2e352e17d133b.js +12 -0
- package/out/_next/static/chunks/5f995b4029a14f92.js +13 -0
- package/out/_next/static/chunks/{5e61314918ab1901.js → 60a7ef230653c6ab.js} +2 -2
- package/out/_next/static/chunks/6107e0ebb413132e.js +23 -0
- package/out/_next/static/chunks/{380087a616841542.js → 618f3339425a898e.js} +26 -26
- package/out/_next/static/chunks/637c63a979962578.js +2 -0
- package/out/_next/static/chunks/63c03aeeb5583d48.js +46 -0
- package/out/_next/static/chunks/{202781ff93ff3a35.js → 643f7bdccb4d0c4e.js} +2 -2
- 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/{70fd8910b0212107.js → 67a359f66966c3b0.js} +2 -2
- package/out/_next/static/chunks/67c5ce5ec36405ab.css +1 -0
- package/out/_next/static/chunks/{d2a4c6262906cb68.js → 67e92dca9a322f7b.js} +1 -1
- package/out/_next/static/chunks/6adac061cf13080d.js +20 -0
- package/out/_next/static/chunks/6c8d6408ab346062.js +58 -0
- package/out/_next/static/chunks/6d7135bc7cc257ba.js +144 -0
- package/out/_next/static/chunks/{b22405aa65784fd1.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/{3668ae67081a69e3.js → 73bc279e567cf47d.js} +2 -2
- package/out/_next/static/chunks/73e742a9a5b279c8.js +119 -0
- package/out/_next/static/chunks/75e4c05ea1ac7e7a.js +13 -0
- package/out/_next/static/chunks/76cf755a9c8274a3.js +3 -0
- package/out/_next/static/chunks/{3a32c0d7bf016b19.js → 78521e875384f740.js} +2 -2
- package/out/_next/static/chunks/7a81ae2408cf80e8.js +12 -0
- package/out/_next/static/chunks/7dd567ab82cd0c67.js +5 -0
- package/out/_next/static/chunks/{8907db8e040efe5d.js → 812e693b862919eb.js} +3 -3
- package/out/_next/static/chunks/{2d06af75ece8bc6d.js → 830a68ec7600d76c.js} +5 -5
- package/out/_next/static/chunks/8481204b6f8a478a.js +1 -0
- package/out/_next/static/chunks/8549770725c9379f.js +217 -0
- package/out/_next/static/chunks/{de50b6fcd131b622.js → 87242fd9979883c9.js} +1 -1
- package/out/_next/static/chunks/88af33f57c0d6bbb.js +1 -0
- package/out/_next/static/chunks/89d89a0322d3d849.js +14 -0
- package/out/_next/static/chunks/8a14a9f45c09c6e7.js +1 -0
- package/out/_next/static/chunks/8adb9fe625661098.js +101 -0
- package/out/_next/static/chunks/{48b67c3254c9af38.js → 8b04e2f48fee535f.js} +1 -1
- package/out/_next/static/chunks/8b5e3cc633489785.js +5 -0
- package/out/_next/static/chunks/8b8b53ce0e0b2c59.js +173 -0
- package/out/_next/static/chunks/{c9d2f92c023061f0.js → 8bd64278a3d0f346.js} +5 -5
- package/out/_next/static/chunks/8c2fd033108e6699.js +16 -0
- package/out/_next/static/chunks/{bc4fe1846c66514a.js → 8e16fd1270f0c668.js} +1 -1
- package/out/_next/static/chunks/8ebf7565ecd30de4.js +138 -0
- 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/{06b009dc933923df.js → 9ab656d1441f1501.js} +4 -4
- package/out/_next/static/chunks/9ed48f5bee6bd1d0.js +8 -0
- package/out/_next/static/chunks/{056c259617500a97.js → a07ce58daa89e354.js} +27 -27
- package/out/_next/static/chunks/a1dd8111f5cda5dc.js +10 -0
- package/out/_next/static/chunks/a2bc6bcbb9fa94be.js +209 -0
- 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/{3c247fb4b62a4c6a.js → a70ec3c3d4e3597c.js} +2 -2
- package/out/_next/static/chunks/aa91d566909ea2b6.js +19 -0
- package/out/_next/static/chunks/aaa96d2f4e5214c0.js +21 -0
- package/out/_next/static/chunks/{08687e11efcba80d.js → aac8a0823d648ca4.js} +1 -1
- package/out/_next/static/chunks/ab7c6442f2d86a59.js +73 -0
- package/out/_next/static/chunks/abe5a686260cec44.js +16 -0
- package/out/_next/static/chunks/ad184b81ac04fa5d.js +88 -0
- package/out/_next/static/chunks/af276dfcea23702d.js +7 -0
- package/out/_next/static/chunks/b041b3cb01e454bf.js +46 -0
- package/out/_next/static/chunks/b07bdb43a436410e.js +15 -0
- package/out/_next/static/chunks/b2bfd5c82b30e902.js +16 -0
- package/out/_next/static/chunks/b316f8dcd77094ea.js +12 -0
- package/out/_next/static/chunks/b46b07c553cbd014.js +1 -0
- package/out/_next/static/chunks/{af772d006fb559cc.js → b5ba366f8cdfe3ea.js} +4 -4
- package/out/_next/static/chunks/b736cf2b052112b7.js +13 -0
- package/out/_next/static/chunks/b76bbba14a9094d0.js +13 -0
- package/out/_next/static/chunks/{d4e8f53e7a153ebf.js → b930222155336289.js} +62 -62
- package/out/_next/static/chunks/b960c3c83b1c4bee.js +1 -0
- package/out/_next/static/chunks/{310f57d562073c82.js → bba59258102b89aa.js} +2 -2
- 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/be3b5952132fd7e7.js +471 -0
- package/out/_next/static/chunks/beb4f08114e1ff0b.js +15 -0
- package/out/_next/static/chunks/bf0397bb49e85f73.js +200 -0
- package/out/_next/static/chunks/{58df71393b1870e6.js → c0e233fb74a8f51b.js} +2 -2
- 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/ced67effbb174f33.js +100 -0
- package/out/_next/static/chunks/cf22bd7f999c9730.js +1 -0
- package/out/_next/static/chunks/{b2717f6b4d13c00d.js → d211a2fd31fe667b.js} +2 -2
- package/out/_next/static/chunks/{12a85d4b9d6ed551.js → d4099cc5c04e160f.js} +11 -11
- package/out/_next/static/chunks/d5d4fe0c2f022c56.js +90 -0
- package/out/_next/static/chunks/d6d09fbd247f490a.js +60 -0
- 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/{cf751731977de8a7.js → e2ea777b6b52d20c.js} +26 -26
- package/out/_next/static/chunks/e3ec2c067e9e2964.js +1 -0
- 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/ee30334e97f8630e.js +44 -0
- package/out/_next/static/chunks/eee53c3540a0175a.js +15 -0
- package/out/_next/static/chunks/f085e07fed389435.js +44 -0
- 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/f5c06cf49cca7807.js +15 -0
- package/out/_next/static/chunks/fcd4af226ace7c8b.js +13 -0
- package/out/_next/static/chunks/{fbde3f4a69691196.js → fd20130b507a7ded.js} +2 -2
- package/out/_next/static/chunks/fe1fd10dfcaa2cad.js +1 -0
- package/out/_next/static/chunks/ff3dd15001881cd6.js +346 -0
- 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-369a26cc44caef3b.js → turbopack-394df10cb72ec1c5.js} +2 -2
- package/out/_next/static/chunks/{turbopack-9cc6b7acb7136339.js → turbopack-398241ba6559f9e2.js} +2 -2
- 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-a0ba8198cae7c432.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 +11 -0
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +2 -2
- package/out/_next/static/chunks/0096b9e4072ea982.js +0 -87
- package/out/_next/static/chunks/015a12a268d9d8cc.js +0 -13
- package/out/_next/static/chunks/01d02b25e90598b0.js +0 -2
- package/out/_next/static/chunks/01ebe787a8ddd0f8.js +0 -1
- package/out/_next/static/chunks/0411c4be4ed602e6.js +0 -15
- package/out/_next/static/chunks/0454a7068dba9e50.js +0 -13
- package/out/_next/static/chunks/04be98027a2dc21d.js +0 -2
- package/out/_next/static/chunks/04f6e2039ed872b5.js +0 -13
- package/out/_next/static/chunks/054f8ab329a69595.js +0 -1
- package/out/_next/static/chunks/06d6d8bf5f971763.js +0 -23
- package/out/_next/static/chunks/08542b2ec00cf886.js +0 -14
- package/out/_next/static/chunks/09ba49b4ce40eb8d.js +0 -12
- package/out/_next/static/chunks/0a2a08eb8b29ee43.js +0 -1
- package/out/_next/static/chunks/10e6f9a219fd2d59.js +0 -324
- package/out/_next/static/chunks/115ae5cbbc71c47b.js +0 -13
- package/out/_next/static/chunks/11bc210de354e563.js +0 -8
- package/out/_next/static/chunks/132a6033de66c4c2.js +0 -11
- package/out/_next/static/chunks/1393534a6af8c1bb.js +0 -39
- package/out/_next/static/chunks/13ab0c90930f76c0.js +0 -1
- package/out/_next/static/chunks/17a51698889f206f.js +0 -10
- package/out/_next/static/chunks/180f19d81c896a56.js +0 -1
- package/out/_next/static/chunks/1ac3c2ecd12b3c68.js +0 -13
- package/out/_next/static/chunks/1b7969a2d3aaaf50.js +0 -1
- package/out/_next/static/chunks/1bb121543a6f1fbf.js +0 -1
- package/out/_next/static/chunks/1bfc8f4848828752.js +0 -344
- package/out/_next/static/chunks/1c545b91d2677a38.js +0 -260
- package/out/_next/static/chunks/1cbc5bab7320d121.js +0 -15
- package/out/_next/static/chunks/21e1b4ee63219a13.js +0 -12
- package/out/_next/static/chunks/2204d70f62d21522.js +0 -14
- package/out/_next/static/chunks/22e9c8414771b45f.js +0 -19
- package/out/_next/static/chunks/2d638de705f33182.js +0 -7
- package/out/_next/static/chunks/2e1c75c452faae18.js +0 -16
- package/out/_next/static/chunks/2f00317a0dfc6047.js +0 -10
- package/out/_next/static/chunks/2f23acb4a8a11b35.js +0 -44
- package/out/_next/static/chunks/2fe9dad1269d21d5.js +0 -214
- package/out/_next/static/chunks/311d1921e69f7c93.js +0 -7
- package/out/_next/static/chunks/31b59b4652d398c3.js +0 -3
- package/out/_next/static/chunks/33f61aeaa072ceb3.js +0 -16
- package/out/_next/static/chunks/34d24e57d297f025.js +0 -71
- package/out/_next/static/chunks/34df7e31e89a877f.js +0 -178
- package/out/_next/static/chunks/362c1460ecd452f0.js +0 -12
- package/out/_next/static/chunks/398be80b131c086b.js +0 -2
- package/out/_next/static/chunks/3d870a0e339f83b1.js +0 -266
- package/out/_next/static/chunks/44cc864453be04d0.js +0 -5
- package/out/_next/static/chunks/45f599929bd7f34f.js +0 -17
- package/out/_next/static/chunks/4834ec6ac33c6774.js +0 -13
- package/out/_next/static/chunks/4a41bb5444629faa.js +0 -1
- package/out/_next/static/chunks/4e075951daaf40e9.js +0 -11
- package/out/_next/static/chunks/4ea20a695596f02c.js +0 -13
- package/out/_next/static/chunks/52161e2148039530.js +0 -22
- package/out/_next/static/chunks/53f8dde7813ae201.js +0 -119
- package/out/_next/static/chunks/5573e42eb3314f57.js +0 -1
- package/out/_next/static/chunks/5689c09869e48b86.js +0 -1
- package/out/_next/static/chunks/578069c46ce13bdb.js +0 -14
- package/out/_next/static/chunks/589624f7093b23c5.js +0 -12
- package/out/_next/static/chunks/58efb06a97adf57e.js +0 -12
- package/out/_next/static/chunks/5a15295537deba19.js +0 -14
- package/out/_next/static/chunks/5afccd7f3bb23a0e.js +0 -20
- package/out/_next/static/chunks/5b4e690b002be10d.js +0 -101
- package/out/_next/static/chunks/5bcace73a8d9c6b0.js +0 -1
- package/out/_next/static/chunks/5c2c8884164984d7.js +0 -23
- package/out/_next/static/chunks/61794d8ca01e79e1.js +0 -1
- package/out/_next/static/chunks/63420020fcc3c50f.js +0 -1
- package/out/_next/static/chunks/63d4bf210999c12d.js +0 -15
- package/out/_next/static/chunks/674d5880aaf4d35e.js +0 -1
- package/out/_next/static/chunks/689f229f02e92ca8.js +0 -1
- package/out/_next/static/chunks/6a68747a19752b56.js +0 -22
- package/out/_next/static/chunks/6cca5ebda40e4477.js +0 -12
- package/out/_next/static/chunks/6e7adaa6d233dba1.js +0 -46
- package/out/_next/static/chunks/6fdd5525b8653974.js +0 -16
- package/out/_next/static/chunks/7260c9ed446105c3.js +0 -2
- package/out/_next/static/chunks/72d8edce9e613802.js +0 -16
- package/out/_next/static/chunks/72da749fb2eb00ad.js +0 -1
- package/out/_next/static/chunks/76526584207a694c.js +0 -31
- package/out/_next/static/chunks/777412be81d9c33a.js +0 -1
- package/out/_next/static/chunks/7a033fad4428e1bc.js +0 -18
- package/out/_next/static/chunks/7a4db36836cf15f9.js +0 -2
- package/out/_next/static/chunks/7ac7b6f89a6bb9c1.js +0 -51
- package/out/_next/static/chunks/7af6bc3590a522e4.js +0 -288
- package/out/_next/static/chunks/7ca7a803a8676541.js +0 -16
- package/out/_next/static/chunks/80d9123c9f3abb30.js +0 -1
- package/out/_next/static/chunks/8250360d92610891.js +0 -1
- package/out/_next/static/chunks/82599e21825addc9.js +0 -13
- package/out/_next/static/chunks/83619aa5695889d1.js +0 -58
- package/out/_next/static/chunks/838b910ef7e4c0ca.js +0 -1
- package/out/_next/static/chunks/83c4b2c785d33921.js +0 -1
- package/out/_next/static/chunks/844f642223bd65be.js +0 -1
- package/out/_next/static/chunks/8624972bdb99a2c8.js +0 -3
- package/out/_next/static/chunks/88e592fb9134cd52.js +0 -1
- package/out/_next/static/chunks/8a5f559fe8c1c489.js +0 -1
- package/out/_next/static/chunks/8b556a74079aba4f.js +0 -15
- package/out/_next/static/chunks/8cf6faffdff55492.js +0 -2
- package/out/_next/static/chunks/8e8ba9e4c57f576c.js +0 -46
- package/out/_next/static/chunks/8ecf24ee3683d1cf.js +0 -15
- package/out/_next/static/chunks/90989afd6f01d777.js +0 -5
- package/out/_next/static/chunks/967842635197ec2c.js +0 -8
- package/out/_next/static/chunks/9880e45a71e7b384.js +0 -13
- package/out/_next/static/chunks/995de591fb28d84b.js +0 -15
- package/out/_next/static/chunks/99fee86c1d424573.js +0 -15
- package/out/_next/static/chunks/9a9cf63d3876abbe.js +0 -10
- package/out/_next/static/chunks/9ce91f70bbd92b8b.js +0 -177
- package/out/_next/static/chunks/9f17f97b2086d6b1.js +0 -44
- package/out/_next/static/chunks/a58247d14a314bda.js +0 -1
- package/out/_next/static/chunks/a66ae6f06537ef1e.js +0 -138
- package/out/_next/static/chunks/a70681ab87c1e5ed.js +0 -81
- package/out/_next/static/chunks/a82b5e0a9fd2af1b.js +0 -1
- package/out/_next/static/chunks/a8baa1a74b5a4b17.js +0 -3
- package/out/_next/static/chunks/a96e3623312d7877.js +0 -21
- package/out/_next/static/chunks/b08d768b4e6f0b30.js +0 -14
- package/out/_next/static/chunks/b195fa15dd90d90d.js +0 -5
- package/out/_next/static/chunks/b211df15f812738a.js +0 -5
- package/out/_next/static/chunks/b31abd650a827ab7.js +0 -15
- package/out/_next/static/chunks/b34b4902bf5251c6.js +0 -1
- package/out/_next/static/chunks/b35962ad3916f370.js +0 -2
- package/out/_next/static/chunks/b4cf38e8cafd15dd.js +0 -3
- package/out/_next/static/chunks/b60f1005cfaa1e4d.js +0 -46
- package/out/_next/static/chunks/b6529b2854960106.js +0 -50
- package/out/_next/static/chunks/b69969599c4851a5.js +0 -54
- package/out/_next/static/chunks/b953be094d79c77a.js +0 -471
- package/out/_next/static/chunks/ba782714aa359eb3.js +0 -8
- package/out/_next/static/chunks/bd7dffcbba9388ce.js +0 -1
- package/out/_next/static/chunks/c04e3e14bae51ec0.js +0 -101
- package/out/_next/static/chunks/c2dab8d2d4aa1312.js +0 -12
- package/out/_next/static/chunks/c2e4e35e8bcfe434.js +0 -15
- package/out/_next/static/chunks/c4eaa6f8c3f94ce6.js +0 -1
- package/out/_next/static/chunks/c511954c023d8fa5.js +0 -1
- package/out/_next/static/chunks/c5c35ce15c3a5bbf.js +0 -169
- package/out/_next/static/chunks/c7aebf8fb25b9bce.js +0 -16
- package/out/_next/static/chunks/c7b2620f6802dc60.js +0 -14
- package/out/_next/static/chunks/cb17f9a8eab1a071.js +0 -13
- package/out/_next/static/chunks/cb239694ac3b2a02.js +0 -12
- package/out/_next/static/chunks/cbced7e18621ef67.js +0 -1
- package/out/_next/static/chunks/cd972acf52b0c0b5.css +0 -1
- package/out/_next/static/chunks/cf023c047bfe3172.js +0 -1
- package/out/_next/static/chunks/d213dac8d0245238.js +0 -1
- package/out/_next/static/chunks/d240afc78f4135a8.js +0 -14
- package/out/_next/static/chunks/d2649c1116becc6a.js +0 -13
- package/out/_next/static/chunks/d4f23097ae6ffeb8.js +0 -2
- package/out/_next/static/chunks/d82feacfdc37ffc6.js +0 -3
- package/out/_next/static/chunks/dd41138446700434.js +0 -8
- package/out/_next/static/chunks/dd7d77c8e91e2560.js +0 -132
- package/out/_next/static/chunks/dddc02f5e3f90a22.js +0 -46
- package/out/_next/static/chunks/ddfeca7dae96beb9.js +0 -20
- package/out/_next/static/chunks/de5bc771274d7fa2.js +0 -1
- package/out/_next/static/chunks/e1a04f2b988c0127.js +0 -1
- package/out/_next/static/chunks/e45b45f51794fc91.js +0 -10
- package/out/_next/static/chunks/e5f0ab61a0737b88.js +0 -1
- package/out/_next/static/chunks/e7023915d17ccabc.js +0 -61
- package/out/_next/static/chunks/e7ae256d74cf1a79.js +0 -14
- package/out/_next/static/chunks/e90e3ae24a48fbc3.js +0 -13
- package/out/_next/static/chunks/e9e91f3763dfd8e6.js +0 -14
- package/out/_next/static/chunks/eab07a9d821cca6e.js +0 -15
- package/out/_next/static/chunks/eafd0f7a9dfe11e3.js +0 -2
- package/out/_next/static/chunks/eb8d19d35d559572.js +0 -61
- package/out/_next/static/chunks/ecbb43b35ec68dca.js +0 -173
- package/out/_next/static/chunks/f12fd60740986cd3.js +0 -13
- package/out/_next/static/chunks/f2a520d75ef83d66.js +0 -88
- package/out/_next/static/chunks/f332652322d66970.js +0 -1
- package/out/_next/static/chunks/f3bbb6f5cd572aef.js +0 -71
- package/out/_next/static/chunks/f47bc797e90a14cd.js +0 -9
- package/out/_next/static/chunks/f4da369af633ca2c.js +0 -13
- package/out/_next/static/chunks/f585cc7fc2c34888.js +0 -5
- package/out/_next/static/chunks/f62a9768f2112c4d.js +0 -2
- package/out/_next/static/chunks/f764df1e357b1af0.js +0 -1
- package/out/_next/static/chunks/f9369c39c18227dd.js +0 -137
- package/out/_next/static/chunks/fac4bb5cc7a79e00.js +0 -110
- package/out/_next/static/chunks/fe2b44ca7d9077b4.js +0 -2
- package/out/_next/static/chunks/turbopack-06326531308e420c.js +0 -4
- package/out/_next/static/chunks/turbopack-0b2886eac294208b.js +0 -4
- package/out/_next/static/chunks/turbopack-11490f589626ae95.js +0 -4
- package/out/_next/static/chunks/turbopack-176751ac2097a088.js +0 -4
- package/out/_next/static/chunks/turbopack-18c2df6a9c61dcf4.js +0 -4
- package/out/_next/static/chunks/turbopack-203d6803feb3c33a.js +0 -4
- package/out/_next/static/chunks/turbopack-2665eff1cfad8581.js +0 -4
- package/out/_next/static/chunks/turbopack-2688a09e528b01fb.js +0 -4
- package/out/_next/static/chunks/turbopack-29c231fbc65ef11d.js +0 -4
- package/out/_next/static/chunks/turbopack-2abec513e1b0311b.js +0 -4
- package/out/_next/static/chunks/turbopack-2f20f676ac5b125b.js +0 -4
- package/out/_next/static/chunks/turbopack-36db2f05127f624f.js +0 -4
- package/out/_next/static/chunks/turbopack-38d6ede5d54f26f2.js +0 -4
- package/out/_next/static/chunks/turbopack-41573d526c4a948a.js +0 -4
- package/out/_next/static/chunks/turbopack-439c52b77980c4c7.js +0 -4
- package/out/_next/static/chunks/turbopack-4ad063e3cbffc00c.js +0 -4
- package/out/_next/static/chunks/turbopack-4b488bf64a2e8dd1.js +0 -4
- package/out/_next/static/chunks/turbopack-4c7477517b52ba68.js +0 -4
- package/out/_next/static/chunks/turbopack-5c983e42a1e260e4.js +0 -4
- package/out/_next/static/chunks/turbopack-5f2bcdcaa043728a.js +0 -4
- package/out/_next/static/chunks/turbopack-671122c54887dc69.js +0 -4
- package/out/_next/static/chunks/turbopack-6d75f05ddacb7da2.js +0 -4
- package/out/_next/static/chunks/turbopack-6dc028ecebd94645.js +0 -4
- package/out/_next/static/chunks/turbopack-723604d1148e5320.js +0 -4
- package/out/_next/static/chunks/turbopack-74fa79f5127116c8.js +0 -4
- package/out/_next/static/chunks/turbopack-8003cebb87e02b6f.js +0 -4
- package/out/_next/static/chunks/turbopack-8140fe478fb3e120.js +0 -4
- package/out/_next/static/chunks/turbopack-88086a75b1e60f46.js +0 -4
- package/out/_next/static/chunks/turbopack-88eb03702be93ae0.js +0 -4
- package/out/_next/static/chunks/turbopack-897ba35fba678b73.js +0 -4
- package/out/_next/static/chunks/turbopack-8a1b19f230ba6880.js +0 -4
- package/out/_next/static/chunks/turbopack-8ffb67edeb44d982.js +0 -4
- package/out/_next/static/chunks/turbopack-998a786f942e947d.js +0 -4
- package/out/_next/static/chunks/turbopack-9a2df05b70127c82.js +0 -4
- package/out/_next/static/chunks/turbopack-9b182fc4451b5698.js +0 -4
- package/out/_next/static/chunks/turbopack-a57eed18cbeb25e7.js +0 -4
- package/out/_next/static/chunks/turbopack-a7ff96ea75235751.js +0 -4
- package/out/_next/static/chunks/turbopack-af20a66dd4bceecf.js +0 -4
- package/out/_next/static/chunks/turbopack-b356908061e33334.js +0 -4
- package/out/_next/static/chunks/turbopack-b6ce904246ed7a9f.js +0 -4
- package/out/_next/static/chunks/turbopack-b9cef4be1decb7b2.js +0 -4
- package/out/_next/static/chunks/turbopack-bf2ca10d6641cd12.js +0 -4
- package/out/_next/static/chunks/turbopack-c3399585cf5c035a.js +0 -4
- package/out/_next/static/chunks/turbopack-c44178b57b3e98b5.js +0 -4
- package/out/_next/static/chunks/turbopack-c51548c040a966c5.js +0 -4
- package/out/_next/static/chunks/turbopack-c8e973d3b138f742.js +0 -4
- package/out/_next/static/chunks/turbopack-cc20aca40e453b88.js +0 -4
- package/out/_next/static/chunks/turbopack-d34b6cf8960cacf6.js +0 -4
- package/out/_next/static/chunks/turbopack-d37a5e6c8a834dea.js +0 -4
- package/out/_next/static/chunks/turbopack-d82b95fbbee71ed9.js +0 -4
- package/out/_next/static/chunks/turbopack-d8ed8a779ed564d6.js +0 -4
- package/out/_next/static/chunks/turbopack-dafa04d793b6860d.js +0 -4
- package/out/_next/static/chunks/turbopack-dc4b2a768f14c44e.js +0 -4
- package/out/_next/static/chunks/turbopack-deaa436e60eccde3.js +0 -4
- package/out/_next/static/chunks/turbopack-f58c8e41f737271a.js +0 -4
- package/out/_next/static/chunks/turbopack-f67c925e56a43b50.js +0 -4
- package/out/_next/static/chunks/turbopack-f7b7451c68d69b3c.js +0 -4
- package/out/_next/static/chunks/turbopack-f8e4bfb5ec24c06d.js +0 -4
- package/out/_next/static/chunks/turbopack-f9eebeab42544066.js +0 -4
- /package/out/_next/static/{N9Z2SsJs2tDfugfSzn0XU → _wcic5Y3loPdQD9mT3zos}/_clientMiddlewareManifest.json +0 -0
- /package/out/_next/static/{N9Z2SsJs2tDfugfSzn0XU → _wcic5Y3loPdQD9mT3zos}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,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:s}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:s}).format(t/100)}}),s=e=>e?.label&&e?.version?`${e.label} ${e.version}`:"",a=(...e)=>e.filter(Boolean).join(" "),r=(e,t,s=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${s?`(${t})`:""}`}catch{return t}},l=(e,t,s=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${s?`(${t})`:""}`}catch{return t}},i=(e,t,s=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${s?`(${t})`:""}`}catch{return t}},n=e=>e&&e?.split(",").reduce((e,t)=>{let[s=null,a=null]=(t||"")?.split("_")||[];return{...e,[s]:a}},null)||{},d=(e,t,s)=>{let a;return a=s?{...e,[s]:t}:e,Object.keys(a)?.map(e=>[e,a[e]].join("="))?.join("&")};e.s(["classNames",()=>a,"convertSortFieldsToQueryFormat",0,e=>Object.entries(n(e))?.map(([e,t])=>({key:e,value:t})),"getInterfaceLabel",()=>s,"getSortKeys",()=>n,"normalizeCountryISOCode",()=>r,"normalizeCurrencyISOCode",()=>i,"normalizeLanguageISOCode",()=>l,"normalizeQuery",()=>d,"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),s=e.i(53162);e.s(["default",0,()=>(0,t.useContext)(s.default)])},17831,e=>{"use strict";var t=e.i(69178),s=e.i(98183);e.s(["default",0,({onOkClick:e,onCancelClick:a,okText:r=null,cancelText:l=null,headerText:i=null,message:n=null,icon:d=null,close:o=null})=>{let{formatMessage:u}=(0,s.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[d||(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:i||u({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:n||u({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:r||u({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:a||o,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:l||u({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},69744,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){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:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,s],69744)},33362,e=>{"use strict";var t=e.i(69178),s=e.i(69744),a=e.i(98183);e.s(["default",0,({onClick:e,text:r=null,Icon:l=null})=>{let{formatMessage:i}=(0,a.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:l||(0,t.jsx)(s.XMarkIcon,{className:"h-5 w-5"})}),r||i({id:"delete",defaultMessage:"Delete"})]})}])},8878,e=>{"use strict";var t=e.i(69178),s=e.i(1415);e.s(["default",0,({value:e,duration:a=300})=>{let[r,l]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let t,s;if(0===e)return void l(0);let r=i=>{t||(t=i);let n=Math.min((i-t)/a,1);l(Math.round((1-Math.pow(1-n,3))*e)),n<1&&(s=requestAnimationFrame(r))};return s=requestAnimationFrame(r),()=>{s&&cancelAnimationFrame(s)}},[e,a]),(0,t.jsx)("span",{children:r})}])},1516,e=>{"use strict";var t=e.i(69178),s=e.i(98183);e.s(["default",0,({children:e=null,totalRecords:a=null})=>{let{formatMessage:r}=(0,s.useIntl)();return(0,t.jsxs)("div",{className:"mt-5",children:[null!==a?(0,t.jsx)("div",{className:"text-md text-slate-950 dark:text-slate-100 mb-3",children:r({id:"total_records",defaultMessage:"{total} records found"},{total:a??0})}):null,e&&(0,t.jsx)("div",{className:"flex items-center mt-10",children:(0,t.jsx)("h3",{className:"text-xs leading-6 text-slate-500 dark:text-slate-200",children:e})})]})}])},17255,e=>{"use strict";var t=e.i(1415),s=e.i(31617),a=e.i(21154),r=e.i(69178);function l(e){let{formatMessage:s,textComponent:l=t.Fragment}=(0,a.default)(),{id:i,description:n,defaultMessage:d,values:o,children:u,tagName:c=l,ignoreTag:m}=e,f=s({id:i,description:n,defaultMessage:d},o,{ignoreTag:m});return"function"==typeof u?u(Array.isArray(f)?f:[f]):c?(0,r.jsx)(c,{children:f}):(0,r.jsx)(r.Fragment,{children:f})}l.displayName="FormattedMessage";let i=t.memo(l,function(e,t){let{values:a,...r}=e,{values:l,...i}=t;return(0,s.shallowEqual)(l,a)&&(0,s.shallowEqual)(r,i)});i.displayName="MemoizedFormattedMessage",e.s(["FormattedMessage",0,i],17255)},34365,e=>{"use strict";var t=e.i(69178),s=e.i(1415);let a=s.forwardRef(function({title:e,titleId:t,...a},r){return s.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:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"}))});var r=e.i(13071),l=e.i(17255);e.s(["default",0,({message:e,className:s="",Icon:i=null})=>(0,t.jsx)("div",{className:(0,r.default)("rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-600",s),children:(0,t.jsxs)("div",{className:"grid items-center justify-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:i||(0,t.jsx)(a,{className:"h-6 w-6"})}),(0,t.jsx)(l.FormattedMessage,{id:"no_data_message",defaultMessage:"<p>No <span> {message} available</span> </p>",values:{p:e=>(0,t.jsx)("p",{className:"mt-2 m-auto flex items-center justify-center",children:e}),span:e=>(0,t.jsxs)("span",{className:"capitalize ml-1",children:[" ",e," "]}),message:e}})]})})],34365)},98639,5838,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){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:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});e.s(["ChevronDownIcon",0,s],98639);let a=t.forwardRef(function({title:e,titleId:s,...a},r){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:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))});e.s(["ChevronUpIcon",0,a],5838)},98531,e=>{"use strict";var t=e.i(69178),s=e.i(1415),a=e.i(13071),r=e.i(98183),l=e.i(98639),i=e.i(5838),n=e.i(49061),d=e.i(81907);let o=({onSort:e,sortDirection:s})=>s?"ASC"===s?(0,t.jsx)(i.ChevronUpIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(l.ChevronDownIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"ml-2 w-6 h-6",onClick:e,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})});var u=e.i(34365);let c=e=>{let t=[],a=[],r=[];return s.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?r.push(e):a.push(e)}),{header:t,footer:r,body:a}},m=({className:e="",...l})=>{let[i,n]=(0,s.useState)(c(l)),{formatMessage:d}=(0,r.useIntl)(),o={...i,header:s.default.Children.map(i.header,e=>s.default.cloneElement(e))};return(0,s.useEffect)(()=>{n(c(l))},[l.children]),o.header.length||o.body.length?(0,t.jsxs)("table",{className:(0,a.default)("overflow-hidden my-3 flex w-full flex-row flex-nowrap divide-y divide-slate-200 dark:divide-slate-600 shadow-sm sm:rounded-lg sm:bg-white dark:bg-slate-950",e),...l,children:[(0,t.jsx)("thead",{className:"hidden sm:table-header-group bg-slate-100 dark:bg-slate-700 text-sm text-slate-700 dark:text-slate-200",children:o.header}),o.body.length?(0,t.jsx)("tbody",{className:"space-y-4 sm:space-y-0 flex-1 sm:divide-y divide-slate-200 dark:divide-slate-700 sm:bg-white dark:sm:bg-slate-800 sm:flex-none",children:o.body}):null,o.footer.length?(0,t.jsx)("tfoot",{children:o.footer}):null]}):(0,t.jsx)(u.default,{message:d({id:"data",defaultMessage:"Data"})})};m.Row=({className:e="",children:r=[],header:l=!1,enablesort:i=!1,...n})=>{let d=s.default.Children.map(r,e=>s.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:l,enablesort:i}));return(0,t.jsx)("tr",{className:(0,a.default)("grid grid-cols-1 auto-rows-fr border border-slate-100 dark:border-slate-700 sm:border-0 rounded-md sm:mb-0 sm:table-row sm:rounded-none bg-white dark:bg-slate-800 sm:bg-inherit dark:sm:bg-inherit",e),...n,children:d})},m.Cell=({className:e="",header:s=!1,enablesort:r=!1,children:l,sortKey:i=null,defaultSortDirection:u=null,...c})=>{let m=(0,n.useRouter)(),f=(0,d.getSortKeys)(m.query?.sort),h=s?"th":"td";return(0,t.jsx)(h,{className:(0,a.default)(s?"px-4 py-3 text-left text-slate-500 dark:text-slate-200":"whitespace-nowrap px-4 py-3 text-slate-500 dark:text-slate-200 border-b dark:border-slate-300 last:border-b-0 sm:border-b-0 text-left flex items-center sm:table-cell",e),...c,children:(0,t.jsxs)("div",{className:"flex items-center",children:[l,"th"===h&&r&&i&&(0,t.jsx)(o,{onSort:e=>{var t;let s;e.preventDefault(),((t=f[i])?"ASC"===t?"DESC":null:"ASC")||!f[i]?s={...f,[i]:"ASC"===f[i]?"DESC":"ASC"}:(delete f[i],s=f);let a=Object.entries(s).map(([e,t])=>[e,t].join("_")).join(","),{sort:r,...l}=m.query,n=Object.keys(l).map(e=>[e,l[e]].join("=")).join("&"),o=0===Object.keys(l).length?`${m.basePath}?sort=${a}`:`${m.basePath}?${n}&sort=${a}`;a?m.push(o):m.push({query:(0,d.normalizeQuery)(l)})},sortDirection:Object.keys(f).length?f[i]:u})]})})},e.s(["default",0,m],98531)},68155,e=>{"use strict";e.s(["default",0,(e=500)=>t=>{let s;return(...a)=>{let r;clearTimeout(s),s=setTimeout(()=>t.apply(r,a),e)}}])},33593,e=>{"use strict";var t=e.i(69178),s=e.i(98183),a=e.i(68155);e.s(["default",0,({inputText:e=null,onInputChange:r,defaultValue:l})=>{let{formatMessage:i}=(0,s.useIntl)(),n=(0,a.default)(200)(r);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||i({id:"search",defaultMessage:"Search"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-400 dark: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:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),(0,t.jsx)("input",{onChange:e=>n(e.target.value),id:"search",defaultValue:l,name:"search",className:"block w-full rounded-md border-1 border-slate-300 dark:border-slate-700 text-slate-900 dark:bg-slate-900 dark:text-slate-200 py-3 pl-10 px-4 shadow-xs placeholder:text-slate-400 dark:placeholder:text-slate-400 focus:ring-2 focus:ring-slate-800 focus:outline-hidden sm:text-sm",placeholder:i({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},12763,e=>{"use strict";var t=e.i(69178),s=e.i(98183),a=e.i(49061),r=e.i(33593),l=e.i(38524),i=e.i(72670),n=e.i(81907),d=e.i(5411);e.s(["default",0,({children:e,onSearchChange:o,defaultSearchValue:u,showTagFilter:c=!1,availableTagOptions:m=[]})=>{let{formatMessage:f}=(0,s.useIntl)(),{query:h,push:x}=(0,a.useRouter)(),g=e=>{if((0,d.isTruthy)(e))x({query:(0,n.normalizeQuery)(h,e?.join(","),"tags")});else{let{tags:e,...t}=h;x({query:(0,n.normalizeQuery)(t)})}};return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"my-3 flex flex-col gap-3",children:(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start gap-3",children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsx)(r.default,{onInputChange:o,defaultValue:u})}),c&&(0,t.jsxs)("div",{className:"flex flex-col gap-2 flex-1 sm:border-l sm:border-slate-300 sm:dark:border-slate-700 sm:pl-3",children:[(0,t.jsx)("div",{className:"max-w-xs",children:(0,t.jsx)(l.default,{buttonText:f({id:"apply",defaultMessage:"Apply"}),placeholder:f({id:"enter_tag",defaultMessage:"Enter tag..."}),tagList:h?.tags?.split(","),onChange:g,selectOptions:m,showTagsInline:!1})}),h?.tags?.split(",").filter(Boolean).length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-2",children:h?.tags?.split(",").filter(Boolean).map(e=>(0,t.jsx)(i.default,{text:e,color:"slate",onClick:()=>{let t=h?.tags?.split(",").filter(t=>t!==e);g(t.length>0?t:null)}},e))})]})]})}),e]})}])},39472,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){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:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["CheckCircleIcon",0,s],39472)},3130,24278,e=>{"use strict";var t=e.i(69178),s=e.i(98183),a=e.i(39472),r=e.i(1415);let l=r.forwardRef(function({title:e,titleId:t,...s},a){return r.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:a,"aria-labelledby":t},s),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["XCircleIcon",0,l],24278);var i=e.i(666),n=e.i(30758),d=e.i(25863),o=e.i(53041);let u=({username:e})=>(0,t.jsx)(i.UserCircleIcon,{className:"h-8 w-8 text-slate-800 dark:text-slate-600"});e.s(["default",0,({user:e,contact:r})=>{let{formatMessage:i}=(0,s.useIntl)();return(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"h-8 w-8 rounded-full",children:e?.avatar?(0,t.jsx)(o.default,{src:e.avatar.url,alt:e.name||e.username,width:100,height:100}):(0,t.jsx)(u,{username:e?.username})}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,t.jsx)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:(0,t.jsxs)("span",{className:"flex items-center",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold capitalize",children:(0,t.jsx)(n.default,{href:`/users?userId=${e?._id}`,className:"text-slate-800 dark:text-slate-300 hover:text-slate-900 dark:hover:text-slate-600",children:(0,d.default)(e)})}),e?.primaryEmail?.verified&&(0,t.jsxs)("dl",{className:"self-end",children:[(0,t.jsx)("dt",{className:"sr-only",children:i({id:"account_status",defaultMessage:"Account status"})}),(0,t.jsx)("dd",{className:"mt-3 flex items-center self-end text-sm font-medium capitalize text-slate-900 sm:mr-6 sm:mt-0",children:e?.primaryEmail?.verified?(0,t.jsx)(a.CheckCircleIcon,{className:"h-4 w-4 shrink-0 text-emerald-400","aria-hidden":"true"}):(0,t.jsx)(l,{className:"h-4 w-4 shrink-0 text-rose-400","aria-hidden":"true"})})]})]})}),r?.emailAddress&&(0,t.jsx)("div",{children:r.emailAddress}),r?.telNumber&&(0,t.jsx)("div",{children:r.telNumber})]})]})}],3130)},81751,e=>{"use strict";var t=e.i(69178),s=e.i(13071),a=e.i(98183),r=e.i(53041),l=e.i(71038);e.s(["default",0,({file:e,className:i=""})=>{let{formatMessage:n}=(0,a.useIntl)();return(0,t.jsx)("div",{className:(0,s.default)("h-10 w-10 shrink-0",i),children:e?(0,t.jsx)(r.default,{className:"relative h-10 w-10 rounded-sm",src:e.url,width:100,height:100,alt:n({id:"image_not_available",defaultMessage:"Image not available"})}):(0,t.jsx)(l.default,{})})}])},25863,e=>{"use strict";e.s(["default",0,e=>e?e?.username?e.username:e?.profile?.displayName?e?.profile?.displayName:e?.profile?.address?.firstName||e?.profile?.address?.lastName?`${e?.profile?.address?.firstName} ${e?.profile?.address?.lastName}`:e?.name?e.name:e.isGuest?e?.primaryEmail?.address?.split(".")?.[0]:null:null])},666,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){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:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["UserCircleIcon",0,s],666)},17362,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return l},imageConfigDefault:function(){return i}};for(var r in a)Object.defineProperty(s,r,{enumerable:!0,get:a[r]});let l=["default","imgix","cloudinary","akamai","custom"],i={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,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let a=e.r(23726)._(e.r(1415)),r=e.r(17362),l=a.default.createContext(r.imageConfigDefault)},27946,(e,t,s)=>{"use strict";function a({widthInt:e,heightInt:t,blurWidth:s,blurHeight:a,blurDataURL:r,objectFit:l}){let i=s?40*s:e,n=a?40*a:t,d=i&&n?`viewBox='0 0 ${i} ${n}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${d}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${d?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${r}'/%3E%3C/svg%3E`}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getImageBlurSvg",{enumerable:!0,get:function(){return a}})},6611,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getImgProps",{enumerable:!0,get:function(){return o}}),e.r(59523);let a=e.r(50907),r=e.r(27946),l=e.r(17362),i=["-moz-initial","fill","none","scale-down",void 0];function n(e){return void 0!==e.default}function d(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function o({src:e,sizes:t,unoptimized:s=!1,priority:o=!1,preload:u=!1,loading:c,className:m,quality:f,width:h,height:x,fill:g=!1,style:p,overrideSrc:v,onLoad:j,onLoadingComplete:b,placeholder:w="empty",blurDataURL:y,fetchPriority:k,decoding:N="async",layout:C,objectFit:_,objectPosition:E,lazyBoundary:I,lazyRoot:M,...S},P){var $;let O,R,T,{imgConf:A,showAltText:L,blurComplete:D,defaultLoader:q}=P,z=A||l.imageConfigDefault;if("allSizes"in z)O=z;else{let e=[...z.deviceSizes,...z.imageSizes].sort((e,t)=>e-t),t=z.deviceSizes.sort((e,t)=>e-t),s=z.qualities?.sort((e,t)=>e-t);O={...z,allSizes:e,deviceSizes:t,qualities:s}}if(void 0===q)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let F=S.loader||q;delete S.loader,delete S.srcSet;let B="__next_img_default"in F;if(B){if("custom"===O.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=F;F=t=>{let{config:s,...a}=t;return e(a)}}if(C){"fill"===C&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(p={...p,...e});let s={responsive:"100vw",fill:"100vw"}[C];s&&!t&&(t=s)}let W="",U=d(h),G=d(x);if(($=e)&&"object"==typeof $&&(n($)||void 0!==$.src)){let t=n(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(R=t.blurWidth,T=t.blurHeight,y=y||t.blurDataURL,W=t.src,!g)if(U||G){if(U&&!G){let e=U/t.width;G=Math.round(t.height*e)}else if(!U&&G){let e=G/t.height;U=Math.round(t.width*e)}}else U=t.width,G=t.height}let X=!o&&!u&&("lazy"===c||void 0===c);(!(e="string"==typeof e?e:W)||e.startsWith("data:")||e.startsWith("blob:"))&&(s=!0,X=!1),O.unoptimized&&(s=!0),B&&!O.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(s=!0);let Z=d(f),Q=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:_,objectPosition:E}:{},L?{}:{color:"transparent"},p),V=D||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,r.getImageBlurSvg)({widthInt:U,heightInt:G,blurWidth:R,blurHeight:T,blurDataURL:y||"",objectFit:Q.objectFit})}")`:`url("${w}")`,K=i.includes(Q.objectFit)?"fill"===Q.objectFit?"100% 100%":"cover":Q.objectFit,H=V?{backgroundSize:K,backgroundPosition:Q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:V}:{},J=function({config:e,src:t,unoptimized:s,width:r,quality:l,sizes:i,loader:n}){if(s){let e=(0,a.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")&&e){let s=t.includes("?")?"&":"?";t=`${t}${s}dpl=${e}`}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:d,kind:o}=function({deviceSizes:e,allSizes:t},s,a){if(a){let s=/(^|\s)(1?\d?\d)vw/g,r=[];for(let e;e=s.exec(a);)r.push(parseInt(e[2]));if(r.length){let s=.01*Math.min(...r);return{widths:t.filter(t=>t>=e[0]*s),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof s?{widths:e,kind:"w"}:{widths:[...new Set([s,2*s].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,r,i),u=d.length-1;return{sizes:i||"w"!==o?i:"100vw",srcSet:d.map((s,a)=>`${n({config:e,src:t,quality:l,width:s})} ${"w"===o?s:a+1}${o}`).join(", "),src:n({config:e,src:t,quality:l,width:d[u]})}}({config:O,src:e,unoptimized:s,width:U,quality:Z,sizes:t,loader:F}),Y=X?"lazy":c;return{props:{...S,loading:Y,fetchPriority:k,width:U,height:G,decoding:N,className:m,style:{...Q,...H},sizes:J.sizes,srcSet:J.srcSet,src:v||J.src},meta:{unoptimized:s,preload:u||o,placeholder:w,fill:g}}}},73837,(e,t,s)=>{"use strict";function a(e,t){let s=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-s)<Math.abs(e-s)?t:e,0):s}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"findClosestQuality",{enumerable:!0,get:function(){return a}})},47189,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return i}});let a=e.r(73837),r=e.r(50907);function l({config:e,src:t,width:s,quality:l}){if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
|
|
3
|
+
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let i=(0,a.findClosestQuality)(l,e),n=(0,r.getDeploymentId)();return`${e.path}?url=${encodeURIComponent(t)}&w=${s}&q=${i}${t.startsWith("/")&&n?`&dpl=${n}`:""}`}l.__next_img_default=!0;let i=l},68610,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"Image",{enumerable:!0,get:function(){return b}});let a=e.r(23726),r=e.r(10902),l=e.r(69178),i=r._(e.r(1415)),n=a._(e.r(93736)),d=a._(e.r(84437)),o=e.r(6611),u=e.r(17362),c=e.r(76648);e.r(59523);let m=e.r(73757),f=a._(e.r(47189)),h=e.r(77902),x={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,s,a,r,l,i){let n=e?.src;e&&e["data-loaded-src"]!==n&&(e["data-loaded-src"]=n,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&r(!0),s?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let a=!1,r=!1;s.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>a,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{a=!0,t.preventDefault()},stopPropagation:()=>{r=!0,t.stopPropagation()}})}a?.current&&a.current(e)}}))}function p(e){return i.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,i.forwardRef)(({src:e,srcSet:t,sizes:s,height:a,width:r,decoding:n,className:d,style:o,fetchPriority:u,placeholder:c,loading:m,unoptimized:f,fill:x,onLoadRef:v,onLoadingCompleteRef:j,setBlurComplete:b,setShowAltText:w,sizesInput:y,onLoad:k,onError:N,...C},_)=>{let E=(0,i.useCallback)(e=>{e&&(N&&(e.src=e.src),e.complete&&g(e,c,v,j,b,f,y))},[e,c,v,j,b,N,f,y]),I=(0,h.useMergedRef)(_,E);return(0,l.jsx)("img",{...C,...p(u),loading:m,width:r,height:a,decoding:n,"data-nimg":x?"fill":"1",className:d,style:o,sizes:s,srcSet:t,src:e,ref:I,onLoad:e=>{g(e.currentTarget,c,v,j,b,f,y)},onError:e=>{w(!0),"empty"!==c&&b(!0),N&&N(e)}})});function j({isAppRouter:e,imgAttributes:t}){let s={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...p(t.fetchPriority)};return e&&n.default.preload?(n.default.preload(t.src,s),null):(0,l.jsx)(d.default,{children:(0,l.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...s},"__nimg-"+t.src+t.srcSet+t.sizes)})}let b=(0,i.forwardRef)((e,t)=>{let s=(0,i.useContext)(m.RouterContext),a=(0,i.useContext)(c.ImageConfigContext),r=(0,i.useMemo)(()=>{let e=x||a||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),s=e.deviceSizes.sort((e,t)=>e-t),r=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:s,qualities:r,localPatterns:"u"<typeof window?a?.localPatterns:e.localPatterns}},[a]),{onLoad:n,onLoadingComplete:d}=e,h=(0,i.useRef)(n);(0,i.useEffect)(()=>{h.current=n},[n]);let g=(0,i.useRef)(d);(0,i.useEffect)(()=>{g.current=d},[d]);let[p,b]=(0,i.useState)(!1),[w,y]=(0,i.useState)(!1),{props:k,meta:N}=(0,o.getImgProps)(e,{defaultLoader:f.default,imgConf:r,blurComplete:p,showAltText:w});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v,{...k,unoptimized:N.unoptimized,placeholder:N.placeholder,fill:N.fill,onLoadRef:h,onLoadingCompleteRef:g,setBlurComplete:b,setShowAltText:y,sizesInput:e.sizes,ref:t}),N.preload?(0,l.jsx)(j,{isAppRouter:!s,imgAttributes:k}):null]})});("function"==typeof s.default||"object"==typeof s.default&&null!==s.default)&&void 0===s.default.__esModule&&(Object.defineProperty(s.default,"__esModule",{value:!0}),Object.assign(s.default,s),t.exports=s.default)},537,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a={default:function(){return u},getImageProps:function(){return o}};for(var r in a)Object.defineProperty(s,r,{enumerable:!0,get:a[r]});let l=e.r(23726),i=e.r(6611),n=e.r(68610),d=l._(e.r(47189));function o(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:d.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,s]of Object.entries(t))void 0===s&&delete t[e];return{props:t}}let u=n.Image},78338,(e,t,s)=>{t.exports=e.r(537)},53041,9570,e=>{"use strict";var t=e.i(69178),s=e.i(78338),a=e.i(1415),r=e.i(98183);let l=({src:e,width:t,quality:s=75})=>e?`${e}?w=${t}&q=${s}`:"/no-image.jpg";e.s(["default",0,l],9570);let i=({className:e="w-full h-full",width:s=200,height:a=200})=>(0,t.jsxs)("svg",{width:s,height:a,viewBox:"0 0 200 200",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"10",y:"10",width:"180",height:"180",rx:"8",stroke:"currentColor",strokeWidth:"3",strokeDasharray:"8 4",fill:"transparent",className:"text-slate-800 dark:text-slate-400"}),(0,t.jsx)("rect",{x:"40",y:"40",width:"120",height:"80",rx:"4",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("path",{d:"M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"130",cy:"55",r:"8",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("text",{x:"100",y:"145",textAnchor:"middle",className:"text-slate-800 dark:text-slate-300 text-sm font-semibold",fill:"currentColor",children:"No Image"})]});e.s(["default",0,({fallbackSrc:e="",src:n,...d})=>{let[o,u]=(0,a.useState)(n),[c,m]=(0,a.useState)(!1),{formatMessage:f}=(0,r.useIntl)();return c||!o?(0,t.jsx)("div",{className:d.className||"w-full h-full flex items-center justify-center bg-slate-50 dark:bg-slate-800",children:(0,t.jsx)(i,{width:d.width||200,height:d.height||200,className:"max-w-full max-h-full"})}):(0,t.jsx)(s.default,{src:o,loader:l,alt:f({id:"image-not-found",defaultMessage:"Image not found"}),...d,onError:()=>{e&&o!==e?u(e):m(!0)}})}],53041)},6356,e=>{"use strict";e.s(["default",0,(e={})=>{let{_id:t,texts:s}=e||{};return s||t?`${s?.slug?.split("/").join("")||""}_id_${t}`:null},"parseSlug",0,e=>{if(!e)return null;let[t]=e?.split("_id_")||[];return t},"parseUniqueId",0,e=>{if(!e)return null;let t=e?.split("_id_");return t?.pop()}])},21935,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){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:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});e.s(["PhotoIcon",0,s],21935)},71038,e=>{"use strict";var t=e.i(69178),s=e.i(21935),a=e.i(13071);e.s(["default",0,({className:e="",containerClassName:r="",Icon:l=null})=>(0,t.jsx)("span",{className:(0,a.default)("text-slate-400",r),children:l||(0,t.jsx)(s.PhotoIcon,{className:(0,a.default)(e)})})])},52303,e=>{"use strict";var t=e.i(71983);let s=t.gql`
|
|
4
|
+
fragment ProductBriefFragment on Product {
|
|
5
|
+
texts(forceLocale: $forceLocale) {
|
|
6
|
+
_id
|
|
7
|
+
slug
|
|
8
|
+
title
|
|
9
|
+
subtitle
|
|
10
|
+
description
|
|
11
|
+
vendor
|
|
12
|
+
brand
|
|
13
|
+
labels
|
|
14
|
+
locale
|
|
15
|
+
}
|
|
16
|
+
_id
|
|
17
|
+
sequence
|
|
18
|
+
status
|
|
19
|
+
tags
|
|
20
|
+
sequence
|
|
21
|
+
updated
|
|
22
|
+
published
|
|
23
|
+
media {
|
|
24
|
+
_id
|
|
25
|
+
tags
|
|
26
|
+
file {
|
|
27
|
+
_id
|
|
28
|
+
url
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
... on BundleProduct {
|
|
32
|
+
proxies {
|
|
33
|
+
__typename
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
... on SimpleProduct {
|
|
37
|
+
catalogPrice {
|
|
38
|
+
amount
|
|
39
|
+
currencyCode
|
|
40
|
+
}
|
|
41
|
+
proxies {
|
|
42
|
+
__typename
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
... on PlanProduct {
|
|
46
|
+
catalogPrice {
|
|
47
|
+
amount
|
|
48
|
+
currencyCode
|
|
49
|
+
}
|
|
50
|
+
proxies {
|
|
51
|
+
__typename
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
`;e.s(["default",0,s])},27559,e=>{"use strict";var t=e.i(1415);let s=t.forwardRef(function({title:e,titleId:s,...a},r){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:r,"aria-labelledby":s},a),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))});e.s(["LinkIcon",0,s],27559)},23878,e=>{"use strict";var t=e.i(71983);let s=t.gql`
|
|
56
|
+
fragment TokenFragment on Token {
|
|
57
|
+
_id
|
|
58
|
+
walletAddress
|
|
59
|
+
status
|
|
60
|
+
quantity
|
|
61
|
+
contractAddress
|
|
62
|
+
chainId
|
|
63
|
+
tokenSerialNumber
|
|
64
|
+
invalidatedDate
|
|
65
|
+
expiryDate
|
|
66
|
+
ercMetadata
|
|
67
|
+
accessKey
|
|
68
|
+
isInvalidateable
|
|
69
|
+
}
|
|
70
|
+
`;e.s(["default",0,s])},40981,e=>{"use strict";e.s(["default",0,e=>e?`${e.substr(0,6)}...${e.substr(-4,4)}`:"0x0"])},13167,e=>{"use strict";var t=e.i(69178),s=e.i(27559),a=e.i(13071),r=e.i(1415),l=e.i(98183),i=e.i(71983),n=e.i(13686),d=e.i(23878);let o=i.gql`
|
|
71
|
+
mutation ExportToken(
|
|
72
|
+
$tokenId: ID!
|
|
73
|
+
$quantity: Int! = 1
|
|
74
|
+
$recipientWalletAddress: String!
|
|
75
|
+
) {
|
|
76
|
+
exportToken(
|
|
77
|
+
tokenId: $tokenId
|
|
78
|
+
quantity: $quantity
|
|
79
|
+
recipientWalletAddress: $recipientWalletAddress
|
|
80
|
+
) {
|
|
81
|
+
...TokenFragment
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
${d.default}
|
|
85
|
+
`,u=({isOpen:e,addresses:s,cancel:a,onExport:i})=>{let[n,d]=(0,r.useState)(""),{formatMessage:o}=(0,l.useIntl)();return e&&(0,t.jsxs)("div",{className:"relative z-10","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:[(0,t.jsx)("div",{className:"fixed inset-0 bg-slate-500 bg-opacity/75 transition-opacity"}),(0,t.jsx)("div",{className:"fixed inset-0 z-10 overflow-y-auto",children:(0,t.jsx)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:(0,t.jsxs)("div",{className:"relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6",children:[(0,t.jsx)("div",{children:(0,t.jsx)("fieldset",{className:"space-y-5",children:s?.map(e=>(0,t.jsxs)("div",{className:"relative flex items-start",children:[(0,t.jsx)("div",{className:"flex h-5 items-center",children:(0,t.jsx)("input",{id:e.address,name:"addresses",value:e.address,onChange:()=>{d(e.address)},checked:n?.toLowerCase()===e.address?.toLowerCase(),type:"checkbox",className:"h-4 w-4 rounded-sm border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-slate-950 focus:ring-slate-900"})}),(0,t.jsx)("div",{className:"ml-3 text-sm",children:(0,t.jsx)("label",{htmlFor:"comments",className:"font-medium text-slate-700",children:e.address})})]},e.address))})}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("label",{htmlFor:"Address",className:"block text-sm font-medium text-slate-700",children:o({id:"or_manually_enter_address",defaultMessage:"Or enter address manually"})}),(0,t.jsx)("div",{className:"mt-1",children:(0,t.jsx)("input",{type:"text",onChange:e=>d(e.target.value),value:n,name:"Address",id:"Address",className:"block w-full rounded-md border-slate-300 shadow-xs focus:border-slate-900 focus:ring-slate-900 sm:text-sm",placeholder:"0xF5F72AE7fa1fa990ebaF163208Ed7aD6a3f42DEA"})})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:()=>i(n),className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-950 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2 sm:col-start-2 sm:text-sm",children:o({id:"export",defaultMessage:"Export"})}),(0,t.jsx)("button",{type:"button",onClick:a,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-900 focus:ring-offset-2 sm:col-start-1 sm:mt-0 sm:text-sm",children:o({id:"cancel",defaultMessage:"Cancel"})})]})]})})})]})};e.s(["default",0,({tokenId:e,tokenStatus:i,addresses:d=[]})=>{let{exportToken:c}=(()=>{let[e]=(0,n.useMutation)(o);return{exportToken:async({quantity:t,recipientWalletAddress:s,tokenId:a})=>e({variables:{quantity:t,recipientWalletAddress:s,tokenId:a}})}})(),{formatMessage:m}=(0,l.useIntl)(),[f,h]=(0,r.useState)(!1),x=async t=>{await c({tokenId:e,recipientWalletAddress:t}),h(!1)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{isOpen:f,cancel:()=>{h(!1)},onExport:x,addresses:d}),"DECENTRALIZED"!==i&&(0,t.jsxs)("button",{type:"button",onClick:()=>h(!0),disabled:"EXPORTING"===i,className:(0,a.default)(" text-center inline-flex truncate rounded-md border border-transparent bg-slate-950 px-5 py-1 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2",{"bg-slate-400 hover:bg-slate-500":"EXPORTING"===i}),children:[(0,t.jsx)(s.LinkIcon,{className:"w-6 h-6 mr-2"}),m("CENTRALIZED"===i?{id:"export",defaultMessage:"Export"}:{id:"exporting",defaultMessage:"Exporting..."})]})]})}],13167)},25485,e=>{"use strict";var t=e.i(69178),s=e.i(5858),a=e.i(71983),r=e.i(13699),l=e.i(23878),i=e.i(52303);let n=a.gql`
|
|
86
|
+
query Token($tokenId: ID!, $forceLocale: Locale) {
|
|
87
|
+
token(tokenId: $tokenId) {
|
|
88
|
+
...TokenFragment
|
|
89
|
+
product {
|
|
90
|
+
...ProductBriefFragment
|
|
91
|
+
simulatedPrice {
|
|
92
|
+
amount
|
|
93
|
+
currencyCode
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
user {
|
|
97
|
+
_id
|
|
98
|
+
username
|
|
99
|
+
isGuest
|
|
100
|
+
avatar {
|
|
101
|
+
_id
|
|
102
|
+
url
|
|
103
|
+
}
|
|
104
|
+
name
|
|
105
|
+
primaryEmail {
|
|
106
|
+
verified
|
|
107
|
+
address
|
|
108
|
+
}
|
|
109
|
+
lastContact {
|
|
110
|
+
telNumber
|
|
111
|
+
emailAddress
|
|
112
|
+
}
|
|
113
|
+
profile {
|
|
114
|
+
displayName
|
|
115
|
+
address {
|
|
116
|
+
firstName
|
|
117
|
+
lastName
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
${l.default}
|
|
124
|
+
${i.default}
|
|
125
|
+
`;var d=e.i(23529),o=e.i(71588),u=e.i(98183),c=e.i(51443),m=e.i(30758),f=e.i(6356),h=e.i(53041),x=e.i(9570),g=e.i(39381),p=e.i(72670),v=e.i(70079),j=e.i(3130),b=e.i(40981),w=e.i(81907);let y=({token:e})=>{let{formatMessage:s}=(0,u.useIntl)(),{formatDateTime:a}=(0,v.default)(),{formatPrice:r}=(0,w.useFormatPrice)();return e?(0,t.jsxs)("div",{className:"grid gap-8 bg-white dark:bg-slate-800 p-6 rounded-lg shadow-md",children:[(0,t.jsxs)("div",{className:"border-b border-slate-300 dark:border-slate-700 pb-6",children:[(0,t.jsx)(m.default,{href:`/products?slug=${(0,f.default)(e?.product)}`,className:"block overflow-hidden rounded-lg bg-slate-50 dark:bg-slate-700 hover:opacity-90",children:(0,t.jsx)(h.default,{src:e?.product?.media?.length&&e?.product.media[0].file?.url||"/no-image.jpg",loader:x.default,alt:s({id:"product-image",defaultMessage:"Product image"}),width:200,height:200,layout:"responsive",className:"h-full w-full object-cover"})}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold text-slate-900 dark:text-slate-100",children:e?.product?.texts?.title||"Untitled Product"}),(0,t.jsx)("p",{className:"mt-2 text-lg font-semibold text-slate-800 dark:text-slate-300",children:r(e?.product?.simulatedPrice)}),(0,t.jsxs)("p",{className:"mt-2 text-slate-700 dark:text-slate-400",children:[s({id:"item_quantity",defaultMessage:"Quantity:"})," ",(0,t.jsx)("span",{className:"font-semibold",children:e?.quantity})]})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:s({id:"status",defaultMessage:"Status"})}),(0,t.jsx)(p.default,{text:e?.status==="CENTRALIZED"?"Off-Chain 🏛":"On-Chain ⛓",color:g.TOKEN_STATUSES[e.status],square:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:[s({id:"chain-token-id",defaultMessage:"Token Serial Number"}),":"]}),(0,t.jsx)("p",{className:"text-slate-900 dark:text-slate-100",children:e?.tokenSerialNumber})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:[s({id:"chain-id",defaultMessage:"Chain ID {chainId}"}),":"]}),(0,t.jsx)("p",{className:"text-slate-900 dark:text-slate-100",children:e?.chainId})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:[s({id:"order",defaultMessage:"Order"}),":"]}),(0,t.jsx)(m.default,{href:`/orders?orderId=${e.ercMetadata?.orderId}`,className:"text-slate-800 dark:text-slate-700 hover:underline",children:e?.ercMetadata?.orderId})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:[s({id:"invalidated",defaultMessage:"Invalidated"}),":"]}),(0,t.jsx)("p",{className:"text-slate-900 dark:text-slate-100",children:e?.invalidatedDate?a(e.invalidatedDate):s({id:"not-applicable",defaultMessage:"N/A"})})]}),e?.walletAddress&&(0,t.jsx)("div",{children:(0,t.jsx)("span",{className:"block font-medium text-slate-700 dark:text-slate-300",children:s({id:"wallet-address",defaultMessage:"Wallet {walletAddress}"},{walletAddress:(0,b.default)(e?.walletAddress)})})})]}),(0,t.jsx)("div",{className:"pt-6",children:(0,t.jsx)(j.default,{user:e?.user,contact:e?.user?.lastContact})})]}):null};var k=e.i(13167),N=e.i(33362),C=e.i(17831),_=e.i(31891),E=e.i(13686);let I=a.gql`
|
|
126
|
+
mutation InvalidateToken($tokenId: ID!) {
|
|
127
|
+
invalidateToken(tokenId: $tokenId) {
|
|
128
|
+
...TokenFragment
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
${l.default}
|
|
132
|
+
`;var M=e.i(29252),S=e.i(1415),P=e.i(19372);e.s(["default",0,({tokenId:e})=>{let{formatMessage:a}=(0,u.useIntl)(),{setModal:l}=(0,_.default)(),{token:i,loading:m}=(({tokenId:e})=>{let{data:t,loading:s,error:a}=(0,r.useQuery)(n,{variables:{tokenId:e}});return{token:t?.token,loading:s,error:a}})({tokenId:e}),{invalidateTicket:f}=(()=>{let[e]=(0,E.useMutation)(I);return{invalidateTicket:async({tokenId:t})=>await e({variables:{tokenId:t},refetchQueries:["Tokens","Token"]})}})(),{hasRole:h}=(0,P.default)(),x=(0,S.useCallback)(async()=>{await l((0,t.jsx)(C.default,{onCancelClick:()=>l(""),message:a({id:"delete_paymentProvider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this Payment provider? "}),onOkClick:async()=>{l(""),await f({tokenId:e}),M.toast.success(a({id:"payment_provider_deleted",defaultMessage:"Payment provider deleted successfully"}))},okText:a({id:"delete_payment_provider",defaultMessage:"Delete payment provider"})}))},[e]);return m?(0,t.jsx)(c.default,{}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.default,{currentPageTitle:i?.tokenSerialNumber}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(o.default,{headerText:a({id:"token-id",defaultMessage:"Token Serial Number {tokenSerialNumber}"},{tokenSerialNumber:i?.tokenSerialNumber}),children:"DECENTRALIZED"!==i.status&&h(s.IRoleAction.UpdateToken)&&(0,t.jsx)("div",{className:"mr-2",children:(0,t.jsx)(k.default,{tokenId:i._id,tokenStatus:i.status})})}),!i.invalidatedDate&&i.isInvalidateable&&h(s.IRoleAction.UpdateToken)?(0,t.jsx)(N.default,{onClick:x,text:a({id:"invalidate-token",defaultMessage:"Invalidate"})}):null]}),(0,t.jsx)(y,{token:i})]})}],25485)},12049,e=>{"use strict";var t=e.i(69178),s=e.i(98183),a=e.i(23529),r=e.i(71588),l=e.i(51443),i=e.i(71983),n=e.i(13699),d=e.i(23878),o=e.i(52303),u=e.i(39381);let c=i.gql`
|
|
133
|
+
query Tokens(
|
|
134
|
+
$queryString: String
|
|
135
|
+
$limit: Int
|
|
136
|
+
$offset: Int
|
|
137
|
+
$forceLocale: Locale
|
|
138
|
+
) {
|
|
139
|
+
tokens(queryString: $queryString, limit: $limit, offset: $offset) {
|
|
140
|
+
...TokenFragment
|
|
141
|
+
product {
|
|
142
|
+
...ProductBriefFragment
|
|
143
|
+
simulatedPrice {
|
|
144
|
+
amount
|
|
145
|
+
currencyCode
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
user {
|
|
149
|
+
_id
|
|
150
|
+
username
|
|
151
|
+
isGuest
|
|
152
|
+
primaryEmail {
|
|
153
|
+
address
|
|
154
|
+
verified
|
|
155
|
+
}
|
|
156
|
+
avatar {
|
|
157
|
+
_id
|
|
158
|
+
url
|
|
159
|
+
}
|
|
160
|
+
profile {
|
|
161
|
+
displayName
|
|
162
|
+
address {
|
|
163
|
+
firstName
|
|
164
|
+
lastName
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
tokensCount(queryString: $queryString)
|
|
170
|
+
}
|
|
171
|
+
${d.default}
|
|
172
|
+
${o.default}
|
|
173
|
+
`;var m=e.i(98531),f=e.i(30758),h=e.i(70079),x=e.i(25863),g=e.i(81751),p=e.i(72670);let v=({token:e})=>{let{formatDateTime:s}=(0,h.default)();return(0,t.jsxs)(m.default.Row,{children:[(0,t.jsx)(m.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:(0,t.jsx)(f.default,{href:`/tokens?tokenId=${e._id}`,className:"font-medium text-slate-800 dark:text-slate-700",children:e?._id})})}),(0,t.jsx)(m.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.product?.texts?.title||"N/A"})}),(0,t.jsx)(m.default.Cell,{children:(0,t.jsxs)(f.default,{href:`/users?userId=${e.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(g.default,{file:e.user?.avatar,className:"mr-3"}),(0,t.jsx)("span",{className:"font-medium ml-2",children:(0,x.default)(e.user)})]})}),(0,t.jsx)(m.default.Cell,{children:(0,t.jsx)(p.default,{text:e?.status==="CENTRALIZED"?"Off-Chain 🏛":"On-Chain ⛓",color:u.TOKEN_STATUSES[e.status],square:!0})}),(0,t.jsx)(m.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:(0,t.jsx)(f.default,{href:`/orders?orderId=${e.ercMetadata?.orderId}`,className:"font-medium text-slate-800 dark:text-slate-700",children:e?.ercMetadata?.orderId})})}),(0,t.jsx)(m.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.quantity||"N/A"})}),(0,t.jsx)(m.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm",children:e.invalidatedDate?s(e.invalidatedDate,{dateStyle:"short",timeStyle:"short"}):null})})]},e._id)},j=({tokens:e})=>{let{formatMessage:a}=(0,s.useIntl)();return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(m.default,{className:"min-w-full",children:[(0,t.jsxs)(m.default.Row,{header:!0,children:[(0,t.jsx)(m.default.Cell,{children:a({id:"id",defaultMessage:"ID"})}),(0,t.jsx)(m.default.Cell,{children:a({id:"name",defaultMessage:"Name"})}),(0,t.jsx)(m.default.Cell,{children:a({id:"user",defaultMessage:"User"})}),(0,t.jsx)(m.default.Cell,{children:a({id:"status",defaultMessage:"Status"})}),(0,t.jsx)(m.default.Cell,{children:a({id:"order_id",defaultMessage:"Order"})}),(0,t.jsx)(m.default.Cell,{children:a({id:"quantity",defaultMessage:"Quantity"})}),(0,t.jsx)(m.default.Cell,{children:a({id:"token_invalidation_date",defaultMessage:"Invalidated"})})]}),(e||[]).map(e=>(0,t.jsx)(v,{token:e},e?._id))]})})};var b=e.i(34365),w=e.i(49061),y=e.i(1516),k=e.i(12763),N=e.i(25485),C=e.i(8878);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.useIntl)(),{query:i,push:d}=(0,w.useRouter)(),{queryString:o,tokenId:m,...f}=i,{tokens:h,loading:x,tokensCount:g}=(({queryString:e=null,limit:t=u.DefaultLimit,offset:s=0})=>{let{data:a,loading:r,error:l}=(0,n.useQuery)(c,{variables:{queryString:e,limit:t,offset:s}});return{tokens:a?.tokens||[],loading:r,error:l,tokensCount:a?.tokensCount||0}})({limit:0,offset:0,queryString:o});if(m)return(0,t.jsx)(N.default,{tokenId:m});let p=1===g?e({id:"token_header",defaultMessage:"1 Token"}):e({id:"token_count_header",defaultMessage:"{count} Tokens"},{count:(0,t.jsx)(C.default,{value:g})});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{}),(0,t.jsx)(r.default,{title:e({id:"token_page_title",defaultMessage:"{count, plural, one {# Token} other {# Tokens}}"},{count:g}),headerText:p}),(0,t.jsxs)("div",{className:"mt-5 inline-block min-w-full overflow-x-auto px-1 pb-5",children:[(0,t.jsx)(y.default,{}),(0,t.jsx)(k.default,{onSearchChange:e=>{let{skip:t,...s}=f;e?d({query:{...s,queryString:e}}):d({query:{...f}})},defaultSearchValue:o,children:(0,t.jsxs)(t.Fragment,{children:[x?(0,t.jsx)(l.default,{}):(0,t.jsx)(j,{tokens:h}),!x&&!h?.length&&(0,t.jsx)(b.default,{message:e({id:"token",defaultMessage:"Token"})})]})})]})]})}],12049)},93203,(e,t,s)=>{let a="/tokens";(window.__NEXT_P=window.__NEXT_P||[]).push([a,()=>e.r(12049)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([a])})},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,10 +1,10 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17362,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return l}};for(var i in s)Object.defineProperty(r,i,{enumerable:!0,get:s[i]});let a=["default","imgix","cloudinary","akamai","custom"],l={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,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let s=e.r(
|
|
2
|
-
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=W;W=t=>{let{config:r,...s}=t;return e(s)}}if(C){"fill"===C&&(h=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(x={...x,...e});let r={responsive:"100vw",fill:"100vw"}[C];r&&!t&&(t=r)}let B="",F=o(g),K=o(p);if((R=e)&&"object"==typeof R&&(n(R)||void 0!==R.src)){let t=n(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(A=t.blurWidth,I=t.blurHeight,j=j||t.blurDataURL,B=t.src,!h)if(F||K){if(F&&!K){let e=F/t.width;K=Math.round(t.height*e)}else if(!F&&K){let e=K/t.height;F=Math.round(t.width*e)}}else F=t.width,K=t.height}let V=!d
|
|
3
|
-
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,s.findClosestQuality)(a,e),n=(0,i.getDeploymentId)();return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&n?`&dpl=${n}`:""}`}a.__next_img_default=!0;let l=a},68610,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return v}});let s=e.r(
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17362,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return l}};for(var i in s)Object.defineProperty(r,i,{enumerable:!0,get:s[i]});let a=["default","imgix","cloudinary","akamai","custom"],l={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,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let s=e.r(23726)._(e.r(1415)),i=e.r(17362),a=s.default.createContext(i.imageConfigDefault)},27946,(e,t,r)=>{"use strict";function s({widthInt:e,heightInt:t,blurWidth:r,blurHeight:s,blurDataURL:i,objectFit:a}){let l=r?40*r:e,n=s?40*s:t,o=l&&n?`viewBox='0 0 ${l} ${n}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${o}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${o?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${i}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return s}})},6611,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return u}}),e.r(59523);let s=e.r(50907),i=e.r(27946),a=e.r(17362),l=["-moz-initial","fill","none","scale-down",void 0];function n(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:r=!1,priority:u=!1,preload:d=!1,loading:c,className:m,quality:f,width:g,height:p,fill:h=!1,style:x,overrideSrc:b,onLoad:w,onLoadingComplete:v,placeholder:y="empty",blurDataURL:j,fetchPriority:_,decoding:P="async",layout:C,objectFit:E,objectPosition:S,lazyBoundary:k,lazyRoot:O,...M},N){var R;let $,A,I,{imgConf:z,showAltText:L,blurComplete:T,defaultLoader:D}=N,U=z||a.imageConfigDefault;if("allSizes"in U)$=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t),r=U.qualities?.sort((e,t)=>e-t);$={...U,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===D)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=M.loader||D;delete M.loader,delete M.srcSet;let q="__next_img_default"in W;if(q){if("custom"===$.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
|
|
2
|
+
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=W;W=t=>{let{config:r,...s}=t;return e(s)}}if(C){"fill"===C&&(h=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(x={...x,...e});let r={responsive:"100vw",fill:"100vw"}[C];r&&!t&&(t=r)}let B="",F=o(g),K=o(p);if((R=e)&&"object"==typeof R&&(n(R)||void 0!==R.src)){let t=n(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(A=t.blurWidth,I=t.blurHeight,j=j||t.blurDataURL,B=t.src,!h)if(F||K){if(F&&!K){let e=F/t.width;K=Math.round(t.height*e)}else if(!F&&K){let e=K/t.height;F=Math.round(t.width*e)}}else F=t.width,K=t.height}let V=!u&&!d&&("lazy"===c||void 0===c);(!(e="string"==typeof e?e:B)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,V=!1),$.unoptimized&&(r=!0),q&&!$.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let G=o(f),X=Object.assign(h?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:S}:{},L?{}:{color:"transparent"},x),H=T||"empty"===y?null:"blur"===y?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:F,heightInt:K,blurWidth:A,blurHeight:I,blurDataURL:j||"",objectFit:X.objectFit})}")`:`url("${y}")`,J=l.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Q=H?{backgroundSize:J,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:H}:{},Y=function({config:e,src:t,unoptimized:r,width:i,quality:a,sizes:l,loader:n}){if(r){let e=(0,s.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")&&e){let r=t.includes("?")?"&":"?";t=`${t}${r}dpl=${e}`}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:u}=function({deviceSizes:e,allSizes:t},r,s){if(s){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(s);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,l),d=o.length-1;return{sizes:l||"w"!==u?l:"100vw",srcSet:o.map((r,s)=>`${n({config:e,src:t,quality:a,width:r})} ${"w"===u?r:s+1}${u}`).join(", "),src:n({config:e,src:t,quality:a,width:o[d]})}}({config:$,src:e,unoptimized:r,width:F,quality:G,sizes:t,loader:W}),Z=V?"lazy":c;return{props:{...M,loading:Z,fetchPriority:_,width:F,height:K,decoding:P,className:m,style:{...X,...Q},sizes:Y.sizes,srcSet:Y.srcSet,src:b||Y.src},meta:{unoptimized:r,preload:d||u,placeholder:y,fill:h}}}},73837,(e,t,r)=>{"use strict";function s(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,0):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return s}})},47189,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let s=e.r(73837),i=e.r(50907);function a({config:e,src:t,width:r,quality:a}){if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
|
|
3
|
+
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,s.findClosestQuality)(a,e),n=(0,i.getDeploymentId)();return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&n?`&dpl=${n}`:""}`}a.__next_img_default=!0;let l=a},68610,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return v}});let s=e.r(23726),i=e.r(10902),a=e.r(69178),l=i._(e.r(1415)),n=s._(e.r(93736)),o=s._(e.r(84437)),u=e.r(6611),d=e.r(17362),c=e.r(76648);e.r(59523);let m=e.r(73757),f=s._(e.r(47189)),g=e.r(77902),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function h(e,t,r,s,i,a,l){let n=e?.src;e&&e["data-loaded-src"]!==n&&(e["data-loaded-src"]=n,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let s=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>s,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{s=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}s?.current&&s.current(e)}}))}function x(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,l.forwardRef)(({src:e,srcSet:t,sizes:r,height:s,width:i,decoding:n,className:o,style:u,fetchPriority:d,placeholder:c,loading:m,unoptimized:f,fill:p,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:v,setShowAltText:y,sizesInput:j,onLoad:_,onError:P,...C},E)=>{let S=(0,l.useCallback)(e=>{e&&(P&&(e.src=e.src),e.complete&&h(e,c,b,w,v,f,j))},[e,c,b,w,v,P,f,j]),k=(0,g.useMergedRef)(E,S);return(0,a.jsx)("img",{...C,...x(d),loading:m,width:i,height:s,decoding:n,"data-nimg":p?"fill":"1",className:o,style:u,sizes:r,srcSet:t,src:e,ref:k,onLoad:e=>{h(e.currentTarget,c,b,w,v,f,j)},onError:e=>{y(!0),"empty"!==c&&v(!0),P&&P(e)}})});function w({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...x(t.fetchPriority)};return e&&n.default.preload?(n.default.preload(t.src,r),null):(0,a.jsx)(o.default,{children:(0,a.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let v=(0,l.forwardRef)((e,t)=>{let r=(0,l.useContext)(m.RouterContext),s=(0,l.useContext)(c.ImageConfigContext),i=(0,l.useMemo)(()=>{let e=p||s||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:"u"<typeof window?s?.localPatterns:e.localPatterns}},[s]),{onLoad:n,onLoadingComplete:o}=e,g=(0,l.useRef)(n);(0,l.useEffect)(()=>{g.current=n},[n]);let h=(0,l.useRef)(o);(0,l.useEffect)(()=>{h.current=o},[o]);let[x,v]=(0,l.useState)(!1),[y,j]=(0,l.useState)(!1),{props:_,meta:P}=(0,u.getImgProps)(e,{defaultLoader:f.default,imgConf:i,blurComplete:x,showAltText:y});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b,{..._,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:g,onLoadingCompleteRef:h,setBlurComplete:v,setShowAltText:j,sizesInput:e.sizes,ref:t}),P.preload?(0,a.jsx)(w,{isAppRouter:!r,imgAttributes:_}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},537,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return d},getImageProps:function(){return u}};for(var i in s)Object.defineProperty(r,i,{enumerable:!0,get:s[i]});let a=e.r(23726),l=e.r(6611),n=e.r(68610),o=a._(e.r(47189));function u(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let d=n.Image},78338,(e,t,r)=>{t.exports=e.r(537)},53041,9570,e=>{"use strict";var t=e.i(69178),r=e.i(78338),s=e.i(1415),i=e.i(98183);let a=({src:e,width:t,quality:r=75})=>e?`${e}?w=${t}&q=${r}`:"/no-image.jpg";e.s(["default",0,a],9570);let l=({className:e="w-full h-full",width:r=200,height:s=200})=>(0,t.jsxs)("svg",{width:r,height:s,viewBox:"0 0 200 200",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"10",y:"10",width:"180",height:"180",rx:"8",stroke:"currentColor",strokeWidth:"3",strokeDasharray:"8 4",fill:"transparent",className:"text-slate-800 dark:text-slate-400"}),(0,t.jsx)("rect",{x:"40",y:"40",width:"120",height:"80",rx:"4",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("path",{d:"M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"130",cy:"55",r:"8",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("text",{x:"100",y:"145",textAnchor:"middle",className:"text-slate-800 dark:text-slate-300 text-sm font-semibold",fill:"currentColor",children:"No Image"})]});e.s(["default",0,({fallbackSrc:e="",src:n,...o})=>{let[u,d]=(0,s.useState)(n),[c,m]=(0,s.useState)(!1),{formatMessage:f}=(0,i.useIntl)();return c||!u?(0,t.jsx)("div",{className:o.className||"w-full h-full flex items-center justify-center bg-slate-50 dark:bg-slate-800",children:(0,t.jsx)(l,{width:o.width||200,height:o.height||200,className:"max-w-full max-h-full"})}):(0,t.jsx)(r.default,{src:u,loader:a,alt:f({id:"image-not-found",defaultMessage:"Image not found"}),...o,onError:()=>{e&&u!==e?d(e):m(!0)}})}],53041)},28156,e=>{"use strict";var t=e.i(69178),r=e.i(1415),s=e.i(70882);let i=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[s,a])=>"string"==typeof a||r.default.isValidElement(a)?[...e,[`${t}${s}`,a]]:[...Object.entries(i(Object.assign({},...a),`${t}${s}.`)),...e],[])),a=({submitError:e="",fieldErrors:s=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(i(s)).map(([e,s])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(s)?s:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})})},e))]})});e.s(["default",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:i}=(0,s.default)(),l=i?.errors;return(r||e)&&(0,t.jsx)(a,{submitError:r,fieldErrors:e&&l})}])},97946,e=>{"use strict";var t=e.i(69178),r=e.i(13071),s=e.i(1415),i=e.i(68686);e.s(["default",0,({autoComplete:e="on",...a})=>{let[l,n]=(0,s.useState)(!1),o=e=>{e.preventDefault(),n(!l)};return(0,t.jsxs)("div",{className:(0,r.default)("relative",a.className),children:[(0,t.jsx)(i.default,{autoComplete:e||"on",name:"password",...a,type:l?"text":"password"}),(0,t.jsx)("span",{role:"button",tabIndex:-1,"aria-label":"toggle password visibility",className:"absolute translate-y-[-137%] outline-hidden block right-3",onClick:o,onKeyUp:o,children:l?(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})})})]})}])},71987,e=>{"use strict";e.s(["default",0,e=>{if(window.atob&&Uint8Array){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t+"=".repeat((4-t.length%4)%4),s=window.atob(r),i=s.length,a=new Uint8Array(i);for(let e=0;e<i;e+=1)a[e]=s.charCodeAt(e);return a.buffer}throw Error("The atob and Uint8Array methods are not available")}])},75005,e=>{"use strict";var t=e.i(71987),r=e.i(71983),s=e.i(13686);let i=r.gql`
|
|
4
4
|
mutation CreateWebAuthnCredentialCreationOptions($username: String!) {
|
|
5
5
|
createWebAuthnCredentialCreationOptions(username: $username)
|
|
6
6
|
}
|
|
7
|
-
`,a=e=>window.btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");e.s(["default",0,()=>{let{createWebAuthnCredentialCreationOptions:e}=(()=>{let[e]=(0,s.useMutation)(i);return{createWebAuthnCredentialCreationOptions:async({username:t})=>e({variables:{username:t}})}})();return{generateWebAuthCredentials:async({username:r})=>{let{data:s}=await e({username:r}),{createWebAuthnCredentialCreationOptions:i}=s,l=new TextEncoder;i.challenge=(0,t.default)(i.challenge),i.user={id:l.encode(r),name:r,displayName:r};let n=await navigator.credentials.create({publicKey:i}),o=a(n.response.attestationObject),
|
|
7
|
+
`,a=e=>window.btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");e.s(["default",0,()=>{let{createWebAuthnCredentialCreationOptions:e}=(()=>{let[e]=(0,s.useMutation)(i);return{createWebAuthnCredentialCreationOptions:async({username:t})=>e({variables:{username:t}})}})();return{generateWebAuthCredentials:async({username:r})=>{let{data:s}=await e({username:r}),{createWebAuthnCredentialCreationOptions:i}=s,l=new TextEncoder;i.challenge=(0,t.default)(i.challenge),i.user={id:l.encode(r),name:r,displayName:r};let n=await navigator.credentials.create({publicKey:i}),o=a(n.response.attestationObject),u=a(n.response.clientDataJSON),d=a(n.rawId),c=n.response.getAuthenticatorData?a(n.response.getAuthenticatorData()):"",m=n.response.getPublicKey?a(n.response.getPublicKey()):"";return{id:d,rawId:d,response:{clientDataJSON:u,attestationObject:o,authenticatorData:c,publicKey:m,publicKeyAlgorithm:n.response.getPublicKeyAlgorithm?n.response.getPublicKeyAlgorithm():-7,transports:n.response.getTransports?n.response.getTransports():["internal"]},authenticatorAttachment:n.authenticatorAttachment||"platform",clientExtensionResults:n.getClientExtensionResults?.()||{},type:"public-key",user:{id:r,name:r,displayName:r}}}}}],75005)},52089,e=>{"use strict";var t=e.i(69178),r=e.i(49061),s=e.i(1415),i=e.i(71983),a=e.i(13686);let l=i.gql`
|
|
8
8
|
mutation CreateUser(
|
|
9
9
|
$username: String
|
|
10
10
|
$email: String
|
|
@@ -23,4 +23,4 @@ Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpattern
|
|
|
23
23
|
tokenExpires
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
`;var n=e.i(75005);e.i(27999);var o=e.i(30758),
|
|
26
|
+
`;var n=e.i(75005);e.i(27999);var o=e.i(30758),u=e.i(98183),d=e.i(12442),c=e.i(53041),m=e.i(62010),f=e.i(28156),g=e.i(97946),p=e.i(68686),h=e.i(5641),x=e.i(62458);let b=({onSubmit:e,onSubmitSuccess:r,authenticateWithDevice:i,onAuthenticateWithDeviceChange:a,disableLoginRedirectLink:l=!1,submitButtonText:n=null,formHeaderText:b=null})=>{let{formatMessage:w}=(0,u.useIntl)(),[v,y]=(0,s.useState)(!1),j=(0,h.default)({getSubmitErrorMessage:e=>e?.message?.toLowerCase().includes("email already exists")?(j.formik.setFieldError("email",w({id:"email_exists_error",defaultMessage:"Email already exists"})),w({id:"email_exists_error",defaultMessage:"Email already exists"})):e?.message?.includes("challenge mismatch")||e?.message?.includes("already exists")?(j.formik.setFieldError("username",w({id:"username_or_email_taken",defaultMessage:"Username taken, Please provided different username"})),w({id:"username_or_email_taken",defaultMessage:"Username taken, Please provided different username"})):e?.extensions?.code.includes("PasswordInvalidError")?(j.formik.setFieldError("plainPassword",w({id:"password_insecure",defaultMessage:"Password is invalid, maybe too insecure"})),w({id:"password_insecure",defaultMessage:"Password is invalid, maybe too insecure"})):e?.message||"",submit:e,onSubmitSuccess:r,initialValues:{username:null,email:null,plainPassword:null}});return(0,s.useEffect)(()=>{window.PublicKeyCredential&&y(!0)},[]),(0,t.jsx)("div",{className:"flex min-h-full 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.jsxs)("div",{children:[(0,t.jsx)(c.default,{className:"mx-auto",src:"/logo-light.svg",width:160,height:100,alt:w({id:"unchained_logo",defaultMessage:"Unchained Logo"})}),(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:b||w({id:"sign_up_header",defaultMessage:"Create new account"})})]}),(0,t.jsx)(d.default,{children:(0,t.jsxs)(m.default,{form:j,className:"mt-8 space-y-6 pt-4 pb-8 shadow-sm sm:rounded-lg sm:px-10",children:[(0,t.jsx)("input",{type:"hidden",name:"remember",value:"true"}),(0,t.jsxs)("div",{className:"space-y-6 rounded-md shadow-xs",children:[(0,t.jsx)("div",{children:(0,t.jsx)(p.default,{id:"username",name:"username",required:i,type:"text",label:w({id:"username",defaultMessage:"Username"})})}),!i&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{children:(0,t.jsx)(p.default,{id:"email",name:"email",type:"email",required:!0,label:w({id:"email",defaultMessage:"Email"})})}),(0,t.jsx)("div",{children:(0,t.jsx)(g.default,{id:"plainPassword",name:"plainPassword",autoComplete:"current-password",required:!0,label:w({id:"password",defaultMessage:"Password"})})})]}),v&&(0,t.jsx)(x.default,{onToggle:a,toggleText:w({id:"use_authenticator",defaultMessage:"Use authenticator"}),className:"ml-2 my-3",active:i})]}),(0,t.jsx)(f.default,{}),(0,t.jsx)("div",{className:"my-2",children:(0,t.jsxs)("button",{type:"submit",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-slate-900 group-hover:text-slate-800",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:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"})})}),n||w({id:"sign_up",defaultMessage:"Sign up"})]})}),!l&&(0,t.jsxs)("div",{className:"text-sm text-slate-400 dark:text-slate-200",children:[w({id:"already_got_a_user",defaultMessage:"Already got a user?"}),(0,t.jsx)(o.default,{href:"/log-in",className:" ml-2 font-medium text-slate-950 hover:text-slate-900 dark:text-slate-800 dark:hover:text-slate-400",children:w({id:"log_in",defaultMessage:"Log in"})})]})]})})]})})};e.s(["default",0,({formHeaderText:e,submitButtonText:i,disableLoginRedirectLink:o=!1,successRedirectPath:u="/account"})=>{let{push:d}=(0,r.useRouter)(),{createUser:c}=(()=>{let[e,{data:t,error:r,loading:s,client:i}]=(0,a.useMutation)(l);return{createUser:async({username:t,email:r,plainPassword:s,profile:a,webAuthnPublicKeyCredentials:l})=>{let n={username:null,email:null,profile:a,plainPassword:null,webAuthnPublicKeyCredentials:l};r&&(n.email=r),t&&(n.username=t),n.plainPassword=s;let o=await e({variables:n,refetchQueries:["Users","ShopStatus","ShopInfo"]});return await i.resetStore(),o},newUser:t?.createUser,error:r,loading:s}})(),{generateWebAuthCredentials:m}=(0,n.default)(),[f,g]=(0,s.useState)(!1),p=async e=>{let t=await m({username:e}),{data:r}=await c({username:e,webAuthnPublicKeyCredentials:t});return r},h=async e=>{let{username:t,email:r,plainPassword:s}=e;if(f)return await p(t),{success:!0};let{data:i,error:a}=await c({username:t,email:r,plainPassword:s}),{_id:l}=i?.createUser||{};return l?{success:!0}:{success:!1,data:i,error:a}};return(0,t.jsx)(b,{formHeaderText:e,submitButtonText:i,disableLoginRedirectLink:o,onSubmit:h,onSubmitSuccess:()=>(d(u),!0),authenticateWithDevice:f,onAuthenticateWithDeviceChange:()=>g(e=>!e)})}],52089)},7926,e=>{"use strict";var t=e.i(69178),r=e.i(52089),s=e.i(98183);let i=()=>{let{formatMessage:e}=(0,s.useIntl)();return(0,t.jsx)(r.default,{formHeaderText:e({id:"sign_up_header",defaultMessage:"Create new account"}),submitButtonText:e({id:"sign_up",defaultMessage:"Sign up"})})};i.getLayout=e=>e,e.s(["default",0,i])},40585,(e,t,r)=>{let s="/sign-up";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(7926)]),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,16 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/works", [
|
|
2
|
+
"static/chunks/259b3147fc998da8.js",
|
|
3
|
+
"static/chunks/4c5ecbab28345efa.js",
|
|
4
|
+
"static/chunks/38200c8cb2429294.js",
|
|
5
|
+
"static/chunks/d211a2fd31fe667b.js",
|
|
6
|
+
"static/chunks/4f810ce035ebc0e5.js",
|
|
7
|
+
"static/chunks/3398dc70e287e1b3.js",
|
|
8
|
+
"static/chunks/bc43d7d4b567b5ea.js",
|
|
9
|
+
"static/chunks/87242fd9979883c9.js",
|
|
10
|
+
"static/chunks/b960c3c83b1c4bee.js",
|
|
11
|
+
"static/chunks/ee25b5b16cf2ec57.js",
|
|
12
|
+
"static/chunks/1d815b4154fd879c.js",
|
|
13
|
+
"static/chunks/65cf017dbb3312cc.js",
|
|
14
|
+
"static/chunks/ad184b81ac04fa5d.js",
|
|
15
|
+
"static/chunks/turbopack-a7cb4918a3f5950c.js"
|
|
16
|
+
])
|
|
@@ -10,4 +10,4 @@ https://yarnpkg.com/en/docs/selective-version-resolutions
|
|
|
10
10
|
Duplicate "graphql" modules cannot be used at the same time since different
|
|
11
11
|
versions may have different capabilities and behavior. The data from one
|
|
12
12
|
version used in the function from another could produce confusing and
|
|
13
|
-
spurious results.`)}}return!1};class p{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,l.devAssert)(!1,`Body must be a string. Received: ${(0,c.inspect)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,l.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,l.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}var h=e.i(48739);class d{constructor(e,t={}){const{lexer:n,...i}=t;if(n)this._lexer=n;else{const t=u(e,p)?e:new p(e);this._lexer=new a.Lexer(t)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(h.TokenKind.NAME);return this.node(e,{kind:o.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:o.Kind.DOCUMENT,definitions:this.many(h.TokenKind.SOF,this.parseDefinition,h.TokenKind.EOF)})}parseDefinition(){if(this.peek(h.TokenKind.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===h.TokenKind.BRACE_L)throw(0,i.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===h.TokenKind.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw(0,i.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(h.TokenKind.BRACE_L))return this.node(t,{kind:o.Kind.OPERATION_DEFINITION,operation:r.OperationTypeNode.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseDescription(),i=this.parseOperationType();return this.peek(h.TokenKind.NAME)&&(e=this.parseName()),this.node(t,{kind:o.Kind.OPERATION_DEFINITION,operation:i,description:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(h.TokenKind.NAME);switch(e.value){case"query":return r.OperationTypeNode.QUERY;case"mutation":return r.OperationTypeNode.MUTATION;case"subscription":return r.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(h.TokenKind.PAREN_L,this.parseVariableDefinition,h.TokenKind.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:o.Kind.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(h.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(h.TokenKind.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(h.TokenKind.DOLLAR),this.node(e,{kind:o.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:o.Kind.SELECTION_SET,selections:this.many(h.TokenKind.BRACE_L,this.parseSelection,h.TokenKind.BRACE_R)})}parseSelection(){return this.peek(h.TokenKind.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(h.TokenKind.COLON)?(e=i,t=this.parseName()):t=i,this.node(n,{kind:o.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(h.TokenKind.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(h.TokenKind.PAREN_L,t,h.TokenKind.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(h.TokenKind.COLON),this.node(t,{kind:o.Kind.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(h.TokenKind.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(h.TokenKind.NAME)?this.node(e,{kind:o.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:o.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:o.Kind.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:o.Kind.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case h.TokenKind.BRACKET_L:return this.parseList(e);case h.TokenKind.BRACE_L:return this.parseObject(e);case h.TokenKind.INT:return this.advanceLexer(),this.node(t,{kind:o.Kind.INT,value:t.value});case h.TokenKind.FLOAT:return this.advanceLexer(),this.node(t,{kind:o.Kind.FLOAT,value:t.value});case h.TokenKind.STRING:case h.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case h.TokenKind.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:o.Kind.BOOLEAN,value:!0});case"false":return this.node(t,{kind:o.Kind.BOOLEAN,value:!1});case"null":return this.node(t,{kind:o.Kind.NULL});default:return this.node(t,{kind:o.Kind.ENUM,value:t.value})}case h.TokenKind.DOLLAR:if(e){if(this.expectToken(h.TokenKind.DOLLAR),this._lexer.token.kind===h.TokenKind.NAME){let e=this._lexer.token.value;throw(0,i.syntaxError)(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:o.Kind.STRING,value:e.value,block:e.kind===h.TokenKind.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:o.Kind.LIST,values:this.any(h.TokenKind.BRACKET_L,t,h.TokenKind.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:o.Kind.OBJECT,fields:this.any(h.TokenKind.BRACE_L,t,h.TokenKind.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(h.TokenKind.COLON),this.node(t,{kind:o.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(h.TokenKind.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(h.TokenKind.AT),this.node(t,{kind:o.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(h.TokenKind.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(h.TokenKind.BRACKET_R),e=this.node(t,{kind:o.Kind.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(h.TokenKind.BANG)?this.node(t,{kind:o.Kind.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:o.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(h.TokenKind.STRING)||this.peek(h.TokenKind.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),i=this.many(h.TokenKind.BRACE_L,this.parseOperationTypeDefinition,h.TokenKind.BRACE_R);return this.node(e,{kind:o.Kind.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(h.TokenKind.COLON);let n=this.parseNamedType();return this.node(e,{kind:o.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:o.Kind.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:o.Kind.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(h.TokenKind.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(h.TokenKind.BRACE_L,this.parseFieldDefinition,h.TokenKind.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(h.TokenKind.COLON);let r=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:o.Kind.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:s})}parseArgumentDefs(){return this.optionalMany(h.TokenKind.PAREN_L,this.parseInputValueDef,h.TokenKind.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,n=this.parseDescription(),i=this.parseName();this.expectToken(h.TokenKind.COLON);let r=this.parseTypeReference();this.expectOptionalToken(h.TokenKind.EQUALS)&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:o.Kind.INPUT_VALUE_DEFINITION,description:n,name:i,type:r,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:o.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:o.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(h.TokenKind.EQUALS)?this.delimitedMany(h.TokenKind.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:o.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r})}parseEnumValuesDefinition(){return this.optionalMany(h.TokenKind.BRACE_L,this.parseEnumValueDefinition,h.TokenKind.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:o.Kind.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,i.syntaxError)(this._lexer.source,this._lexer.token.start,`${f(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:o.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(h.TokenKind.BRACE_L,this.parseInputValueDef,h.TokenKind.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===h.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(h.TokenKind.BRACE_L,this.parseOperationTypeDefinition,h.TokenKind.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:o.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:o.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.Kind.UNION_TYPE_EXTENSION,name:t,directives:n,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.Kind.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(h.TokenKind.AT);let n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:o.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:s})}parseDirectiveLocations(){return this.delimitedMany(h.TokenKind.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(s.DirectiveLocation,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,n=this._lexer.token,i=this.expectOptionalToken(h.TokenKind.AT),r=this.parseName();return(!i&&this.expectOptionalToken(h.TokenKind.DOT)&&(e=this.parseName()),(i||e)&&this.expectOptionalToken(h.TokenKind.PAREN_L)&&(t=this.parseName(),this.expectToken(h.TokenKind.COLON),this.expectToken(h.TokenKind.PAREN_R)),i)?t?this.node(n,{kind:o.Kind.DIRECTIVE_ARGUMENT_COORDINATE,name:r,argumentName:t}):this.node(n,{kind:o.Kind.DIRECTIVE_COORDINATE,name:r}):e?t?this.node(n,{kind:o.Kind.ARGUMENT_COORDINATE,name:r,fieldName:e,argumentName:t}):this.node(n,{kind:o.Kind.MEMBER_COORDINATE,name:r,memberName:e}):this.node(n,{kind:o.Kind.TYPE_COORDINATE,name:r})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new r.Location(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,i.syntaxError)(this._lexer.source,t.start,`Expected ${T(e)}, found ${f(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===h.TokenKind.NAME&&t.value===e)this.advanceLexer();else throw(0,i.syntaxError)(this._lexer.source,t.start,`Expected "${e}", found ${f(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===h.TokenKind.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return(0,i.syntaxError)(this._lexer.source,t.start,`Unexpected ${f(t)}.`)}any(e,t,n){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(n);)i.push(t.call(this));return i}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n))return e}return[]}many(e,t,n){this.expectToken(e);let i=[];do i.push(t.call(this));while(!this.expectOptionalToken(n))return i}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e))return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==h.TokenKind.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,i.syntaxError)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function f(e){let t=e.value;return T(e.kind)+(null!=t?` "${t}"`:"")}function T(e){return(0,a.isPunctuatorTokenKind)(e)?`"${e}"`:e}var E=new Map,N=new Map,m=!0,y=!1;function I(e){return e.replace(/[\s,]+/g," ").trim()}function k(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]}),function(e){var t=I(e);if(!E.has(t)){let c,u;var i,r,s,o,a,l=(Object.defineProperty(u=(c=new d(e,{experimentalFragmentVariables:y,allowLegacyFragmentVariables:y})).parseDocument(),"tokenCount",{enumerable:!1,value:c.tokenCount}),u);if(!l||"Document"!==l.kind)throw Error("Not a valid GraphQL document.");E.set(t,((o=new Set((i=new Set,r=[],l.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,n=e.name.value,s=I((t=e.loc).source.body.substring(t.start,t.end)),o=N.get(n);o&&!o.has(s)?m&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||N.set(n,o=new Set),o.add(s),i.has(s)||(i.add(s),r.push(e))}else r.push(e)}),s=(0,n.__assign)((0,n.__assign)({},l),{definitions:r})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var n=e[t];n&&"object"==typeof n&&o.add(n)})}),(a=s.loc)&&(delete a.startToken,delete a.endToken),s))}return E.get(t)}(r)}var _=k;(t=k||(k={})).gql=_,t.resetCaches=function(){E.clear(),N.clear()},t.disableFragmentWarnings=function(){m=!1},t.enableExperimentalFragmentVariables=function(){y=!0},t.disableExperimentalFragmentVariables=function(){y=!1},k.default=k,e.s(["gql",()=>k],71983)},68250,e=>{"use strict";function t(e){try{return e()}catch{}}e.s(["maybe",()=>t])},64705,e=>{"use strict";e.s(["__DEV__",0,!1])},88639,95393,24132,55331,10354,20733,e=>{"use strict";var t=e.i(1415),n=e.i(64705),i=e.i(68250);let r=(0,i.maybe)(()=>globalThis)||(0,i.maybe)(()=>window)||(0,i.maybe)(()=>self)||(0,i.maybe)(()=>e.g)||(0,i.maybe)(function(){return i.maybe.constructor("return this")()});e.s(["global",0,r],95393);let s="4.0.11";e.s(["version",0,s],24132);let o=new Map;function a(e){let t=o.get(e)||1;return o.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}function l(e,t=0){let n=a("stringifyForDisplay");return JSON.stringify(e,(e,t)=>void 0===t?n:t,t).split(JSON.stringify(n)).join("<undefined>")}e.s(["makeUniqueId",()=>a],55331),e.s(["stringifyForDisplay",()=>l],10354);let c="Invariant Violation";class u extends Error{constructor(e=c){super(e),this.name=c,Object.setPrototypeOf(this,u.prototype)}}let p=["debug","log","warn","error","silent"],h=p.indexOf(n.__DEV__?"log":"silent");function d(e,...t){if(!e)throw T(...t)}function f(e){return function(t,...n){if(p.indexOf(e)>=h){let i=console[e]||console.log;if("number"==typeof t){let e=t;(t=m(e))||(t=y(e,n),n=[])}i(t,...n)}}}function T(e,...t){return new u(m(e,t)||y(e,t))}d.debug=f("debug"),d.log=f("log"),d.warn=f("warn"),d.error=f("error");let E=Symbol.for("ApolloErrorMessageHandler_"+s);function N(e){if("string"==typeof e)return e;try{return l(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function m(e,t=[]){if(e)return r[E]&&r[E](e,t.map(N))}function y(e,t=[]){if(e)return"string"==typeof e?t.reduce((e,t)=>e.replace(/%[sdfo]/,N(t)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:s,message:e,args:t.map(N)}))}`}e.s(["invariant",()=>d,"newInvariantError",()=>T],20733);let I=Symbol.for("__APOLLO_CONTEXT__");function k(){d("createContext"in t,37);let e=t.createContext[I];return e||(Object.defineProperty(t.createContext,I,{value:e=t.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}e.s(["getApolloContext",()=>k],88639)},62497,e=>{"use strict";var t=e.i(1415),n=e.i(20733),i=e.i(88639);function r(e){let r=t.useContext((0,i.getApolloContext)()),s=e||r.client;return(0,n.invariant)(!!s,28),s}e.s(["useApolloClient",()=>r])}]);
|
|
13
|
+
spurious results.`)}}return!1};class p{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,l.devAssert)(!1,`Body must be a string. Received: ${(0,c.inspect)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,l.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,l.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}var h=e.i(48739);class d{constructor(e,t={}){const{lexer:n,...i}=t;if(n)this._lexer=n;else{const t=u(e,p)?e:new p(e);this._lexer=new a.Lexer(t)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(h.TokenKind.NAME);return this.node(e,{kind:o.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:o.Kind.DOCUMENT,definitions:this.many(h.TokenKind.SOF,this.parseDefinition,h.TokenKind.EOF)})}parseDefinition(){if(this.peek(h.TokenKind.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===h.TokenKind.BRACE_L)throw(0,i.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===h.TokenKind.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw(0,i.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(h.TokenKind.BRACE_L))return this.node(t,{kind:o.Kind.OPERATION_DEFINITION,operation:r.OperationTypeNode.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseDescription(),i=this.parseOperationType();return this.peek(h.TokenKind.NAME)&&(e=this.parseName()),this.node(t,{kind:o.Kind.OPERATION_DEFINITION,operation:i,description:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(h.TokenKind.NAME);switch(e.value){case"query":return r.OperationTypeNode.QUERY;case"mutation":return r.OperationTypeNode.MUTATION;case"subscription":return r.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(h.TokenKind.PAREN_L,this.parseVariableDefinition,h.TokenKind.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:o.Kind.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(h.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(h.TokenKind.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(h.TokenKind.DOLLAR),this.node(e,{kind:o.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:o.Kind.SELECTION_SET,selections:this.many(h.TokenKind.BRACE_L,this.parseSelection,h.TokenKind.BRACE_R)})}parseSelection(){return this.peek(h.TokenKind.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(h.TokenKind.COLON)?(e=i,t=this.parseName()):t=i,this.node(n,{kind:o.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(h.TokenKind.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(h.TokenKind.PAREN_L,t,h.TokenKind.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(h.TokenKind.COLON),this.node(t,{kind:o.Kind.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(h.TokenKind.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(h.TokenKind.NAME)?this.node(e,{kind:o.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:o.Kind.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:o.Kind.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:o.Kind.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case h.TokenKind.BRACKET_L:return this.parseList(e);case h.TokenKind.BRACE_L:return this.parseObject(e);case h.TokenKind.INT:return this.advanceLexer(),this.node(t,{kind:o.Kind.INT,value:t.value});case h.TokenKind.FLOAT:return this.advanceLexer(),this.node(t,{kind:o.Kind.FLOAT,value:t.value});case h.TokenKind.STRING:case h.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case h.TokenKind.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:o.Kind.BOOLEAN,value:!0});case"false":return this.node(t,{kind:o.Kind.BOOLEAN,value:!1});case"null":return this.node(t,{kind:o.Kind.NULL});default:return this.node(t,{kind:o.Kind.ENUM,value:t.value})}case h.TokenKind.DOLLAR:if(e){if(this.expectToken(h.TokenKind.DOLLAR),this._lexer.token.kind===h.TokenKind.NAME){let e=this._lexer.token.value;throw(0,i.syntaxError)(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:o.Kind.STRING,value:e.value,block:e.kind===h.TokenKind.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:o.Kind.LIST,values:this.any(h.TokenKind.BRACKET_L,t,h.TokenKind.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:o.Kind.OBJECT,fields:this.any(h.TokenKind.BRACE_L,t,h.TokenKind.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(h.TokenKind.COLON),this.node(t,{kind:o.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(h.TokenKind.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(h.TokenKind.AT),this.node(t,{kind:o.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(h.TokenKind.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(h.TokenKind.BRACKET_R),e=this.node(t,{kind:o.Kind.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(h.TokenKind.BANG)?this.node(t,{kind:o.Kind.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:o.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(h.TokenKind.STRING)||this.peek(h.TokenKind.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),i=this.many(h.TokenKind.BRACE_L,this.parseOperationTypeDefinition,h.TokenKind.BRACE_R);return this.node(e,{kind:o.Kind.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(h.TokenKind.COLON);let n=this.parseNamedType();return this.node(e,{kind:o.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:o.Kind.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:o.Kind.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(h.TokenKind.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(h.TokenKind.BRACE_L,this.parseFieldDefinition,h.TokenKind.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(h.TokenKind.COLON);let r=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:o.Kind.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:s})}parseArgumentDefs(){return this.optionalMany(h.TokenKind.PAREN_L,this.parseInputValueDef,h.TokenKind.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,n=this.parseDescription(),i=this.parseName();this.expectToken(h.TokenKind.COLON);let r=this.parseTypeReference();this.expectOptionalToken(h.TokenKind.EQUALS)&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:o.Kind.INPUT_VALUE_DEFINITION,description:n,name:i,type:r,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:o.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:o.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(h.TokenKind.EQUALS)?this.delimitedMany(h.TokenKind.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:o.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r})}parseEnumValuesDefinition(){return this.optionalMany(h.TokenKind.BRACE_L,this.parseEnumValueDefinition,h.TokenKind.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:o.Kind.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,i.syntaxError)(this._lexer.source,this._lexer.token.start,`${f(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:o.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(h.TokenKind.BRACE_L,this.parseInputValueDef,h.TokenKind.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===h.TokenKind.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(h.TokenKind.BRACE_L,this.parseOperationTypeDefinition,h.TokenKind.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:o.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:o.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.Kind.UNION_TYPE_EXTENSION,name:t,directives:n,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.Kind.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(h.TokenKind.AT);let n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:o.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:s})}parseDirectiveLocations(){return this.delimitedMany(h.TokenKind.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(s.DirectiveLocation,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,n=this._lexer.token,i=this.expectOptionalToken(h.TokenKind.AT),r=this.parseName();return(!i&&this.expectOptionalToken(h.TokenKind.DOT)&&(e=this.parseName()),(i||e)&&this.expectOptionalToken(h.TokenKind.PAREN_L)&&(t=this.parseName(),this.expectToken(h.TokenKind.COLON),this.expectToken(h.TokenKind.PAREN_R)),i)?t?this.node(n,{kind:o.Kind.DIRECTIVE_ARGUMENT_COORDINATE,name:r,argumentName:t}):this.node(n,{kind:o.Kind.DIRECTIVE_COORDINATE,name:r}):e?t?this.node(n,{kind:o.Kind.ARGUMENT_COORDINATE,name:r,fieldName:e,argumentName:t}):this.node(n,{kind:o.Kind.MEMBER_COORDINATE,name:r,memberName:e}):this.node(n,{kind:o.Kind.TYPE_COORDINATE,name:r})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new r.Location(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,i.syntaxError)(this._lexer.source,t.start,`Expected ${T(e)}, found ${f(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===h.TokenKind.NAME&&t.value===e)this.advanceLexer();else throw(0,i.syntaxError)(this._lexer.source,t.start,`Expected "${e}", found ${f(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===h.TokenKind.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return(0,i.syntaxError)(this._lexer.source,t.start,`Unexpected ${f(t)}.`)}any(e,t,n){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(n);)i.push(t.call(this));return i}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n))return e}return[]}many(e,t,n){this.expectToken(e);let i=[];do i.push(t.call(this));while(!this.expectOptionalToken(n))return i}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e))return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==h.TokenKind.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,i.syntaxError)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function f(e){let t=e.value;return T(e.kind)+(null!=t?` "${t}"`:"")}function T(e){return(0,a.isPunctuatorTokenKind)(e)?`"${e}"`:e}var E=new Map,N=new Map,m=!0,y=!1;function I(e){return e.replace(/[\s,]+/g," ").trim()}function k(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]}),function(e){var t=I(e);if(!E.has(t)){let c,u;var i,r,s,o,a,l=(Object.defineProperty(u=(c=new d(e,{experimentalFragmentVariables:y,allowLegacyFragmentVariables:y})).parseDocument(),"tokenCount",{enumerable:!1,value:c.tokenCount}),u);if(!l||"Document"!==l.kind)throw Error("Not a valid GraphQL document.");E.set(t,((o=new Set((i=new Set,r=[],l.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,n=e.name.value,s=I((t=e.loc).source.body.substring(t.start,t.end)),o=N.get(n);o&&!o.has(s)?m&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||N.set(n,o=new Set),o.add(s),i.has(s)||(i.add(s),r.push(e))}else r.push(e)}),s=(0,n.__assign)((0,n.__assign)({},l),{definitions:r})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var n=e[t];n&&"object"==typeof n&&o.add(n)})}),(a=s.loc)&&(delete a.startToken,delete a.endToken),s))}return E.get(t)}(r)}var _=k;(t=k||(k={})).gql=_,t.resetCaches=function(){E.clear(),N.clear()},t.disableFragmentWarnings=function(){m=!1},t.enableExperimentalFragmentVariables=function(){y=!0},t.disableExperimentalFragmentVariables=function(){y=!1},k.default=k,e.s(["gql",()=>k],71983)},68250,e=>{"use strict";function t(e){try{return e()}catch{}}e.s(["maybe",()=>t])},64705,e=>{"use strict";e.s(["__DEV__",0,!1])},88639,95393,24132,55331,10354,20733,e=>{"use strict";var t=e.i(1415),n=e.i(64705),i=e.i(68250);let r=(0,i.maybe)(()=>globalThis)||(0,i.maybe)(()=>window)||(0,i.maybe)(()=>self)||(0,i.maybe)(()=>e.g)||(0,i.maybe)(function(){return i.maybe.constructor("return this")()});e.s(["global",0,r],95393);let s="4.1.2";e.s(["version",0,s],24132);let o=new Map;function a(e){let t=o.get(e)||1;return o.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}function l(e,t=0){let n=a("stringifyForDisplay");return JSON.stringify(e,(e,t)=>void 0===t?n:t,t).split(JSON.stringify(n)).join("<undefined>")}e.s(["makeUniqueId",()=>a],55331),e.s(["stringifyForDisplay",()=>l],10354);let c="Invariant Violation";class u extends Error{constructor(e=c){super(e),this.name=c,Object.setPrototypeOf(this,u.prototype)}}let p=["debug","log","warn","error","silent"],h=p.indexOf(n.__DEV__?"log":"silent");function d(e,...t){if(!e)throw T(...t)}function f(e){return function(t,...n){if(p.indexOf(e)>=h){let i=console[e]||console.log;if("number"==typeof t){let e=t;(t=m(e))||(t=y(e,n),n=[])}i(t,...n)}}}function T(e,...t){return new u(m(e,t)||y(e,t))}d.debug=f("debug"),d.log=f("log"),d.warn=f("warn"),d.error=f("error");let E=Symbol.for("ApolloErrorMessageHandler_"+s);function N(e){if("string"==typeof e)return e;try{return l(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function m(e,t=[]){if(e)return r[E]&&r[E](e,t.map(N))}function y(e,t=[]){if(e)return"string"==typeof e?t.reduce((e,t)=>e.replace(/%[sdfo]/,N(t)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:s,message:e,args:t.map(N)}))}`}e.s(["invariant",()=>d,"newInvariantError",()=>T],20733);let I=Symbol.for("__APOLLO_CONTEXT__");function k(){d("createContext"in t,37);let e=t.createContext[I];return e||(Object.defineProperty(t.createContext,I,{value:e=t.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}e.s(["getApolloContext",()=>k],88639)},62497,e=>{"use strict";var t=e.i(1415),n=e.i(20733),i=e.i(88639);function r(e){let r=t.useContext((0,i.getApolloContext)()),s=e||r.client;return(0,n.invariant)(!!s,28),s}e.s(["useApolloClient",()=>r])}]);
|